/*! For license information please see vendor.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[898],{60887:function(e,t,n){"use strict";n.d(t,{LB:function(){return Ke},y9:function(){return pt},g4:function(){return oe},Lg:function(){return ce},uN:function(){return _e},we:function(){return he},LO:function(){return be},pE:function(){return S},ey:function(){return E},VK:function(){return I},_8:function(){return w},hI:function(){return F},j2:function(){return T},Cj:function(){return Je},O1:function(){return Qe},Zj:function(){return tt},VT:function(){return g},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 l={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 c(e){let{id:t,announcement:n}=e;return r.createElement("div",{id:t,style:l,role:"status","aria-live":"assertive","aria-atomic":!0},n)}const u=(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 p(e){let{announcements:t=f,container:n,hiddenTextDescribedById:a,screenReaderInstructions:l=d}=e;const{announce:p,announcement:h}=function(){const[e,t]=(0,r.useState)("");return{announce:(0,r.useCallback)((e=>{null!=e&&t(e)}),[]),announcement:e}}(),m=(0,i.Ld)("DndLiveRegion"),[g,v]=(0,r.useState)(!1);if((0,r.useEffect)((()=>{v(!0)}),[]),function(e){const t=(0,r.useContext)(u);(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;p(t.onDragStart({active:n}))},onDragMove(e){let{active:n,over:r}=e;t.onDragMove&&p(t.onDragMove({active:n,over:r}))},onDragOver(e){let{active:n,over:r}=e;p(t.onDragOver({active:n,over:r}))},onDragEnd(e){let{active:n,over:r}=e;p(t.onDragEnd({active:n,over:r}))},onDragCancel(e){let{active:n,over:r}=e;p(t.onDragCancel({active:n,over:r}))}})),[p,t])),!g)return null;const b=r.createElement(r.Fragment,null,r.createElement(s,{id:a,value:l.draggable}),r.createElement(c,{id:m,announcement:h}));return n?(0,o.createPortal)(b,n):b}var h;function m(){}function g(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"}(h||(h={}));const b=Object.freeze({x:0,y:0});function y(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function A(e,t){const n=(0,i.DC)(e);if(!n)return"0 0";return(n.x-t.left)/t.width*100+"% "+(n.y-t.top)/t.height*100+"%"}function x(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return n-r}function C(e,t){let{data:{value:n}}=e,{data:{value:r}}=t;return r-n}function _(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 w(e,t){if(!e||0===e.length)return null;const[n]=e;return t?n[t]:n}function k(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 S=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=k(t,t.left,t.top),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=y(k(r),o);i.push({id:t,data:{droppableContainer:e,value:n}})}}return i.sort(x)},E=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=_(t),i=[];for(const e of r){const{id:t}=e,r=n.get(t);if(r){const n=_(r),a=o.reduce(((e,t,r)=>e+y(n[r],t)),0),s=Number((a/4).toFixed(4));i.push({id:t,data:{droppableContainer:e,value:s}})}}return i.sort(x)};function B(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 O=e=>{let{collisionRect:t,droppableRects:n,droppableContainers:r}=e;const o=[];for(const e of r){const{id:r}=e,i=n.get(r);if(i){const n=B(i,t);n>0&&o.push({id:r,data:{droppableContainer:e,value:n}})}}return o.sort(C)};function j(e,t){const{top:n,left:r,bottom:o,right:i}=t;return n<=e.y&&e.y<=o&&r<=e.x&&e.x<=i}const T=e=>{let{droppableContainers:t,droppableRects:n,pointerCoordinates:r}=e;if(!r)return[];const o=[];for(const e of t){const{id:t}=e,i=n.get(t);if(i&&j(r,i)){const n=_(i).reduce(((e,t)=>e+y(r,t)),0),a=Number((n/4).toFixed(4));o.push({id:t,data:{droppableContainer:e,value:a}})}}return o.sort(x)};function P(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:b}function M(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 D=M(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 I(e,t){void 0===t&&(t=L);let n=e.getBoundingClientRect();if(t.ignoreTransform){const{getComputedStyle:t}=(0,i.Jj)(e),{transform:r,transformOrigin:o}=t(e);r&&(n=function(e,t,n){const r=R(t);if(!r)return e;const{scaleX:o,scaleY:i,x:a,y:s}=r,l=e.left-a-(1-o)*parseFloat(n),c=e.top-s-(1-i)*parseFloat(n.slice(n.indexOf(" ")+1)),u=o?e.width/o:e.width,d=i?e.height/i:e.height;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l}}(n,r,o))}const{top:r,left:o,width:a,height:s,bottom:l,right:c}=n;return{top:r,left:o,width:a,height:s,bottom:l,right:c}}function N(e){return I(e,{ignoreTransform:!0})}function F(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{getComputedStyle:a}=(0,i.Jj)(o),s=a(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,s)&&n.push(o),function(e,t){return void 0===t&&(t=(0,i.Jj)(e).getComputedStyle(e)),"fixed"===t.position}(o,s)?n:r(o.parentNode)}(e):n}function z(e){const[t]=F(e,1);return null!=t?t:null}function q(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 U(e){return(0,i.FJ)(e)?e.scrollX:e.scrollLeft}function H(e){return(0,i.FJ)(e)?e.scrollY:e.scrollTop}function W(e){return{x:U(e),y:H(e)}}var V;function Y(e){return!(!i.Nq||!e)&&e===document.scrollingElement}function Z(e){const t={x:0,y:0},n=Y(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 G={x:.2,y:.2};function K(e,t,n,r,o){let{top:i,left:a,right:s,bottom:l}=n;void 0===r&&(r=10),void 0===o&&(o=G);const{isTop:c,isBottom:u,isLeft:d,isRight:f}=Z(e),p={x:0,y:0},h={x:0,y:0},m=t.height*o.y,g=t.width*o.x;return!c&&i<=t.top+m?(p.y=V.Backward,h.y=r*Math.abs((t.top+m-i)/m)):!u&&l>=t.bottom-m&&(p.y=V.Forward,h.y=r*Math.abs((t.bottom-m-l)/m)),!f&&s>=t.right-g?(p.x=V.Forward,h.x=r*Math.abs((t.right-g-s)/g)):!d&&a<=t.left+g&&(p.x=V.Backward,h.x=r*Math.abs((t.left+g-a)/g)),{direction:p,speed:h}}function $(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 X(e){return e.reduce(((e,t)=>(0,i.IH)(e,W(t))),b)}function Q(e,t){if(void 0===t&&(t=I),!e)return;const{top:n,left:r,bottom:o,right:i}=t(e);z(e)&&(o<=0||i<=0||n>=window.innerHeight||r>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const J=[["x",["left","right"],function(e){return e.reduce(((e,t)=>e+U(t)),0)}],["y",["top","bottom"],function(e){return e.reduce(((e,t)=>e+H(t)),0)}]];class ee{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=F(t),r=X(n);this.rect={...e},this.width=e.width,this.height=e.height;for(const[e,t,o]of J)for(const i of t)Object.defineProperty(this,i,{get:()=>{const t=o(n),a=r[e]-t;return this.rect[i]+a},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class te{constructor(e){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach((e=>{var t;return null==(t=this.target)?void 0:t.removeEventListener(...e)}))},this.target=e}add(e,t,n){var r;null==(r=this.target)||r.addEventListener(e,t,n),this.listeners.push([e,t,n])}}function ne(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 re,oe;function ie(e){e.preventDefault()}function ae(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"}(re||(re={})),function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"}(oe||(oe={}));const se={start:[oe.Space,oe.Enter],cancel:[oe.Esc],end:[oe.Space,oe.Enter]},le=(e,t)=>{let{currentCoordinates:n}=t;switch(e.code){case oe.Right:return{...n,x:n.x+25};case oe.Left:return{...n,x:n.x-25};case oe.Down:return{...n,y:n.y+25};case oe.Up:return{...n,y:n.y-25}}};class ce{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 te((0,i.r3)(t)),this.windowListeners=new te((0,i.Jj)(t)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(re.Resize,this.handleCancel),this.windowListeners.add(re.VisibilityChange,this.handleCancel),setTimeout((()=>this.listeners.add(re.Keydown,this.handleKeyDown)))}handleStart(){const{activeNode:e,onStart:t}=this.props,n=e.node.current;n&&Q(n),t(b)}handleKeyDown(e){if((0,i.vd)(e)){const{active:t,context:n,options:r}=this.props,{keyboardCodes:o=se,coordinateGetter:a=le,scrollBehavior:s="smooth"}=r,{code:l}=e;if(o.end.includes(l))return void this.handleEnd(e);if(o.cancel.includes(l))return void this.handleCancel(e);const{collisionRect:c}=n.current,u=c?{x:c.left,y:c.top}:b;this.referenceCoordinates||(this.referenceCoordinates=u);const d=a(e,{active:t,context:n.current,currentCoordinates:u});if(d){const t=(0,i.$X)(d,u),r={x:0,y:0},{scrollableAncestors:o}=n.current;for(const n of o){const o=e.code,{isTop:i,isRight:a,isLeft:l,isBottom:c,maxScroll:u,minScroll:f}=Z(n),p=$(n),h={x:Math.min(o===oe.Right?p.right-p.width/2:p.right,Math.max(o===oe.Right?p.left:p.left+p.width/2,d.x)),y:Math.min(o===oe.Down?p.bottom-p.height/2:p.bottom,Math.max(o===oe.Down?p.top:p.top+p.height/2,d.y))},m=o===oe.Right&&!a||o===oe.Left&&!l,g=o===oe.Down&&!c||o===oe.Up&&!i;if(m&&h.x!==d.x){const e=n.scrollLeft+t.x,i=o===oe.Right&&e<=u.x||o===oe.Left&&e>=f.x;if(i&&!t.y)return void n.scrollTo({left:e,behavior:s});r.x=i?n.scrollLeft-e:o===oe.Right?n.scrollLeft-u.x:n.scrollLeft-f.x,r.x&&n.scrollBy({left:-r.x,behavior:s});break}if(g&&h.y!==d.y){const e=n.scrollTop+t.y,i=o===oe.Down&&e<=u.y||o===oe.Up&&e>=f.y;if(i&&!t.x)return void n.scrollTo({top:e,behavior:s});r.y=i?n.scrollTop-e:o===oe.Down?n.scrollTop-u.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 ue(e){return Boolean(e&&"distance"in e)}function de(e){return Boolean(e&&"delay"in e)}ce.activators=[{eventName:"onKeyDown",handler:(e,t,n)=>{let{keyboardCodes:r=se,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 fe{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 te(this.document),this.listeners=new te(n),this.windowListeners=new te((0,i.Jj)(a)),this.initialCoordinates=null!=(r=(0,i.DC)(o))?r:b,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(re.Resize,this.handleCancel),this.windowListeners.add(re.DragStart,ie),this.windowListeners.add(re.VisibilityChange,this.handleCancel),this.windowListeners.add(re.ContextMenu,ie),this.documentListeners.add(re.Keydown,this.handleKeydown),t){if(ue(t))return;if(de(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(re.Click,ae,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(re.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 l=null!=(t=(0,i.DC)(e))?t:b,c=(0,i.$X)(r,l);if(!n&&s){if(de(s))return ne(c,s.tolerance)?this.handleCancel():void 0;if(ue(s))return null!=s.tolerance&&ne(c,s.tolerance)?this.handleCancel():ne(c,s.distance)?this.handleStart():void 0}e.cancelable&&e.preventDefault(),a(l)}handleEnd(){const{onEnd:e}=this.props;this.detach(),e()}handleCancel(){const{onCancel:e}=this.props;this.detach(),e()}handleKeydown(e){e.code===oe.Esc&&this.handleCancel()}removeTextSelection(){var e;null==(e=this.document.getSelection())||e.removeAllRanges()}}const pe={move:{name:"pointermove"},end:{name:"pointerup"}};class he extends fe{constructor(e){const{event:t}=e,n=(0,i.r3)(t.target);super(e,pe,n)}}he.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 me={move:{name:"mousemove"},end:{name:"mouseup"}};var ge;!function(e){e[e.RightClick=2]="RightClick"}(ge||(ge={}));(class extends fe{constructor(e){super(e,me,(0,i.r3)(e.event.target))}}).activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:n}=e,{onActivation:r}=t;return n.button!==ge.RightClick&&(null==r||r({event:n}),!0)}}];const ve={move:{name:"touchmove"},end:{name:"touchend"}};class be extends fe{constructor(e){super(e,ve)}static setup(){return window.addEventListener(ve.move.name,e,{capture:!1,passive:!1}),function(){window.removeEventListener(ve.move.name,e)};function e(){}}}var ye,Ae;function xe(e){let{acceleration:t,activator:n=ye.Pointer,canScroll:o,draggingRect:a,enabled:s,interval:l=5,order:c=Ae.TreeOrder,pointerCoordinates:u,scrollableAncestors:d,scrollableAncestorRects:f,delta:p,threshold:h}=e;const m=function(e){let{delta:t,disabled:n}=e;const r=(0,i.D9)(t);return(0,i.Gj)((e=>{if(n||!r||!e)return Ce;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:p,disabled:!s}),[g,v]=(0,i.Yz)(),b=(0,r.useRef)({x:0,y:0}),y=(0,r.useRef)({x:0,y:0}),A=(0,r.useMemo)((()=>{switch(n){case ye.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case ye.DraggableRect:return a}}),[n,a,u]),x=(0,r.useRef)(null),C=(0,r.useCallback)((()=>{const e=x.current;if(!e)return;const t=b.current.x*y.current.x,n=b.current.y*y.current.y;e.scrollBy(t,n)}),[]),_=(0,r.useMemo)((()=>c===Ae.TreeOrder?[...d].reverse():d),[c,d]);(0,r.useEffect)((()=>{if(s&&d.length&&A){for(const e of _){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}=K(e,r,A,t,h);for(const e of["x","y"])m[e][i[e]]||(a[e]=0,i[e]=0);if(a.x>0||a.y>0)return v(),x.current=e,g(C,l),b.current=a,void(y.current=i)}b.current={x:0,y:0},y.current={x:0,y:0},v()}else v()}),[t,C,o,v,s,l,JSON.stringify(A),JSON.stringify(m),g,d,_,f,JSON.stringify(h)])}be.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"}(ye||(ye={})),function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"}(Ae||(Ae={}));const Ce={x:{[V.Backward]:!1,[V.Forward]:!1},y:{[V.Backward]:!1,[V.Forward]:!1}};var _e,we;!function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"}(_e||(_e={})),function(e){e.Optimized="optimized"}(we||(we={}));const ke=new Map;function Se(e,t){return(0,i.Gj)((n=>e?n||("function"==typeof t?t(e):e):null),[t,e])}function Ee(e){let{callback:t,disabled:n}=e;const o=(0,i.zX)(t),a=(0,r.useMemo)((()=>{if(n||"undefined"==typeof window||void 0===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 Be(e){return new ee(I(e),e)}function Oe(e,t,n){void 0===t&&(t=Be);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)((()=>{if(n||"undefined"==typeof window||void 0===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}}}}),l=Ee({callback:a});return(0,i.LI)((()=>{a(),e?(null==l||l.observe(e),null==s||s.observe(document.body,{childList:!0,subtree:!0})):(null==l||l.disconnect(),null==s||s.disconnect())}),[e]),o}const je=[];function Te(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!==b;t&&!n.current&&(n.current=e),!t&&n.current&&(n.current=null)}),[e]),n.current?(0,i.$X)(e,n.current):b}function Pe(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 Me=[];function De(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 Re=[{sensor:he,options:{}},{sensor:ce,options:{}}],Le={current:{}},Ie={draggable:{measure:N},droppable:{measure:N,strategy:_e.WhileDragging,frequency:we.Optimized},dragOverlay:{measure:I}};class Ne 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 Fe={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new Ne,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:m},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Ie,measureDroppableContainers:m,windowRect:null,measuringScheduled:!1},ze={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:m,draggableNodes:new Map,over:null,measureDroppableContainers:m},qe=(0,r.createContext)(ze),Ue=(0,r.createContext)(Fe);function He(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new Ne}}}function We(e,t){switch(t.type){case h.DragStart:return{...e,draggable:{...e.draggable,initialCoordinates:t.initialCoordinates,active:t.active}};case h.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 h.DragEnd:case h.DragCancel:return{...e,draggable:{...e.draggable,active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}}};case h.RegisterDroppable:{const{element:n}=t,{id:r}=n,o=new Ne(e.droppable.containers);return o.set(r,n),{...e,droppable:{...e.droppable,containers:o}}}case h.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 Ne(e.droppable.containers);return a.set(n,{...i,disabled:o}),{...e,droppable:{...e.droppable,containers:a}}}case h.UnregisterDroppable:{const{id:n,key:r}=t,o=e.droppable.containers.get(n);if(!o||r!==o.key)return e;const i=new Ne(e.droppable.containers);return i.delete(n),{...e,droppable:{...e.droppable,containers:i}}}default:return e}}function Ve(e){let{disabled:t}=e;const{active:n,activatorEvent:o,draggableNodes:a}=(0,r.useContext)(qe),s=(0,i.D9)(o),l=(0,i.D9)(null==n?void 0:n.id);return(0,r.useEffect)((()=>{if(!t&&!o&&s&&null!=l){if(!(0,i.vd)(s))return;if(document.activeElement===s.target)return;const e=a.get(l);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,l,s]),null}function Ye(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)({...b,scaleX:1,scaleY:1});var Ge;!function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"}(Ge||(Ge={}));const Ke=(0,r.memo)((function(e){var t,n,a,s;let{id:l,accessibility:c,autoScroll:d=!0,children:f,sensors:m=Re,collisionDetection:g=O,measuring:v,modifiers:y,...A}=e;const x=(0,r.useReducer)(We,void 0,He),[C,_]=x,[k,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]}(),[E,B]=(0,r.useState)(Ge.Uninitialized),j=E===Ge.Initialized,{draggable:{active:T,nodes:M,translate:R},droppable:{containers:L}}=C,N=T?M.get(T):null,U=(0,r.useRef)({initial:null,translated:null}),H=(0,r.useMemo)((()=>{var e;return null!=T?{id:T,data:null!=(e=null==N?void 0:N.data)?e:Le,rect:U}:null}),[T,N]),V=(0,r.useRef)(null),[Z,G]=(0,r.useState)(null),[K,$]=(0,r.useState)(null),Q=(0,i.Ey)(A,Object.values(A)),J=(0,i.Ld)("DndDescribedBy",l),te=(0,r.useMemo)((()=>L.getEnabled()),[L]),ne=(re=v,(0,r.useMemo)((()=>({draggable:{...Ie.draggable,...null==re?void 0:re.draggable},droppable:{...Ie.droppable,...null==re?void 0:re.droppable},dragOverlay:{...Ie.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,l]=(0,r.useState)(null),c=null!=s,{frequency:u,measure:d,strategy:f}=a,p=(0,r.useRef)(e),h=function(){switch(f){case _e.Always:return!1;case _e.BeforeDragging:return n;default:return!n}}(),m=(0,i.Ey)(h),g=(0,r.useCallback)((function(e){void 0===e&&(e=[]),m.current||l((t=>t?t.concat(e):e))}),[m]),v=(0,r.useRef)(null),b=(0,i.Gj)((t=>{if(h&&!n)return ke;const r=s;if(!t||t===ke||p.current!==e||null!=r){const t=new Map;for(let n of e){if(!n)continue;if(r&&r.length>0&&!r.includes(n.id)&&n.rect.current){t.set(n.id,n.rect.current);continue}const e=n.node.current,o=e?new ee(d(e),e):null;n.rect.current=o,o&&t.set(n.id,o)}return t}return t}),[e,s,n,h,d]);return(0,r.useEffect)((()=>{p.current=e}),[e]),(0,r.useEffect)((()=>{h||requestAnimationFrame((()=>g()))}),[n,h]),(0,r.useEffect)((()=>{c&&l(null)}),[c]),(0,r.useEffect)((()=>{h||"number"!=typeof u||null!==v.current||(v.current=setTimeout((()=>{g(),v.current=null}),u))}),[u,h,g,...o]),{droppableRects:b,measureDroppableContainers:g,measuringScheduled:c}}(te,{dragging:j,dependencies:[R.x,R.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])}(M,T),le=(0,r.useMemo)((()=>K?(0,i.DC)(K):null),[K]),ce=function(){const e=!1===(null==Z?void 0:Z.autoScrollEnabled),t="object"==typeof d?!1===d.enabled:!1===d,n=j&&!e&&!t;if("object"==typeof d)return{...d,enabled:n};return{enabled:n}}(),ue=function(e,t){return Se(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:l,y:c}="boolean"==typeof a?{x:a,y:a}:a;(0,i.LI)((()=>{if(!l&&!c||!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=P(n(e),o);if(l||(r.x=0),c||(r.y=0),s.current=!0,Math.abs(r.x)>0||Math.abs(r.y)>0){const t=z(e);t&&t.scrollBy({top:r.y,left:r.x})}}),[t,l,c,o,n])}({activeNode:T?M.get(T):null,config:ce.layoutShiftCompensation,initialRect:ue,measure:ne.draggable.measure});const de=Oe(se,ne.draggable.measure,ue),fe=Oe(se?se.parentElement:null),pe=(0,r.useRef)({activatorEvent:null,active:null,activeNode:se,collisionRect:null,collisions:null,droppableRects:oe,draggableNodes:M,draggingNode:null,draggingNodeRect:null,droppableContainers:L,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),he=L.getNodeFor(null==(t=pe.current.over)?void 0:t.id),me=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=Ee({callback:a}),l=(0,r.useCallback)((e=>{const n=De(e);null==s||s.disconnect(),n&&(null==s||s.observe(n)),o(n?t(n):null)}),[t,s]),[c,u]=(0,i.wm)(l);return(0,r.useMemo)((()=>({nodeRef:c,rect:n,setRef:u})),[n,c,u])}({measure:ne.dragOverlay.measure}),ge=null!=(n=me.nodeRef.current)?n:se,ve=j?null!=(a=me.rect)?a:de:null,be=Boolean(me.nodeRef.current&&me.rect),ye=P(Ae=be?null:de,Se(Ae));var Ae;const Ce=Pe(ge?(0,i.Jj)(ge):null),we=function(e){const t=(0,r.useRef)(e),n=(0,i.Gj)((n=>e?n&&n!==je&&e&&t.current&&e.parentNode===t.current.parentNode?n:F(e):je),[e]);return(0,r.useEffect)((()=>{t.current=e}),[e]),n}(j?null!=he?he:se:null),Be=function(e,t){void 0===t&&(t=I);const[n]=e,o=Pe(n?(0,i.Jj)(n):null),[a,s]=(0,r.useReducer)((function(){return e.length?e.map((e=>Y(e)?o:new ee(t(e),e))):Me}),Me),l=Ee({callback:s});return e.length>0&&a===Me&&s(),(0,i.LI)((()=>{e.length?e.forEach((e=>null==l?void 0:l.observe(e))):(null==l||l.disconnect(),s())}),[e]),a}(we),Ne=Ye(y,{transform:{x:R.x-ye.x,y:R.y-ye.y,scaleX:1,scaleY:1},activatorEvent:K,active:H,activeNodeRect:de,containerNodeRect:fe,draggingNodeRect:ve,over:pe.current.over,overlayNodeRect:me.rect,scrollableAncestors:we,scrollableAncestorRects:Be,windowRect:Ce}),Fe=le?(0,i.IH)(le,R):null,ze=function(e){const[t,n]=(0,r.useState)(null),o=(0,r.useRef)(e),a=(0,r.useCallback)((e=>{const t=q(e.target);t&&n((e=>e?(e.set(t,W(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=q(e);return t?(t.addEventListener("scroll",a,{passive:!0}),[t,W(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=q(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)),b):X(e):b),[e,t])}(we),Ke=Te(ze),$e=Te(ze,[de]),Xe=(0,i.IH)(Ne,Ke),Qe=ve?D(ve,Ne):null,Je=H&&Qe?g({active:H,collisionRect:Qe,droppableRects:oe,droppableContainers:te,pointerCoordinates:Fe}):null,et=w(Je,"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}}(be?Ne:(0,i.IH)(Ne,$e),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==V.current)return;const i=M.get(V.current);if(!i)return;const a=e.nativeEvent,s=new n({active:V.current,activeNode:i,event:a,options:r,context:pe,onStart(e){const t=V.current;if(null==t)return;const n=M.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),B(Ge.Initializing),_({type:h.DragStart,initialCoordinates:e,active:t}),k({type:"onDragStart",event:i})}))},onMove(e){_({type:h.DragMove,coordinates:e})},onEnd:l(h.DragEnd),onCancel:l(h.DragCancel)});function l(e){return async function(){const{active:t,collisions:n,over:r,scrollAdjustedTranslate:i}=pe.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===h.DragEnd&&"function"==typeof o){await Promise.resolve(o(s))&&(e=h.DragCancel)}}V.current=null,(0,o.unstable_batchedUpdates)((()=>{_({type:e}),B(Ge.Uninitialized),nt(null),G(null),$(null);const t=e===h.DragEnd?"onDragEnd":"onDragCancel";if(s){const e=Q.current[t];null==e||e(s),k({type:t,event:s})}}))}}(0,o.unstable_batchedUpdates)((()=>{G(s),$(e.nativeEvent)}))}),[M]),it=(0,r.useCallback)(((e,t)=>(n,r)=>{const o=n.nativeEvent,i=M.get(r);if(null!==V.current||!i||o.dndKit||o.defaultPrevented)return;const a={active:i};!0===e(n,t.options,a)&&(o.dndKit={capturedBy:t.sensor},V.current=r,ot(n,t))}),[M,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])}(m,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})))}(m),(0,i.LI)((()=>{de&&E===Ge.Initializing&&B(Ge.Initialized)}),[de,E]),(0,r.useEffect)((()=>{const{onDragMove:e}=Q.current,{active:t,activatorEvent:n,collisions:r,over:i}=pe.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),k({type:"onDragMove",event:a})}))}),[Xe.x,Xe.y]),(0,r.useEffect)((()=>{const{active:e,activatorEvent:t,collisions:n,droppableContainers:r,scrollAdjustedTranslate:i}=pe.current;if(!e||null==V.current||!t||!i)return;const{onDragOver:a}=Q.current,s=r.get(et),l=s&&s.rect.current?{id:s.id,rect:s.rect.current,data:s.data,disabled:s.disabled}:null,c={active:e,activatorEvent:t,collisions:n,delta:{x:i.x,y:i.y},over:l};(0,o.unstable_batchedUpdates)((()=>{nt(l),null==a||a(c),k({type:"onDragOver",event:c})}))}),[et]),(0,i.LI)((()=>{pe.current={activatorEvent:K,active:H,activeNode:se,collisionRect:Qe,collisions:Je,droppableRects:oe,draggableNodes:M,draggingNode:ge,draggingNodeRect:ve,droppableContainers:L,over:tt,scrollableAncestors:we,scrollAdjustedTranslate:Xe},U.current={initial:ve,translated:Qe}}),[H,se,Je,Qe,M,ge,ve,oe,L,tt,we,Xe]),xe({...ce,delta:R,draggingRect:Qe,pointerCoordinates:Fe,scrollableAncestors:we,scrollableAncestorRects:Be});const st=(0,r.useMemo)((()=>({active:H,activeNode:se,activeNodeRect:de,activatorEvent:K,collisions:Je,containerNodeRect:fe,dragOverlay:me,draggableNodes:M,droppableContainers:L,droppableRects:oe,over:tt,measureDroppableContainers:ie,scrollableAncestors:we,scrollableAncestorRects:Be,measuringConfiguration:ne,measuringScheduled:ae,windowRect:Ce})),[H,se,de,K,Je,fe,me,M,L,oe,tt,ie,we,Be,ne,ae,Ce]),lt=(0,r.useMemo)((()=>({activatorEvent:K,activators:at,active:H,activeNodeRect:de,ariaDescribedById:{draggable:J},dispatch:_,draggableNodes:M,over:tt,measureDroppableContainers:ie})),[K,at,H,de,_,J,M,tt,ie]);return r.createElement(u.Provider,{value:S},r.createElement(qe.Provider,{value:lt},r.createElement(Ue.Provider,{value:st},r.createElement(Ze.Provider,{value:rt},f)),r.createElement(Ve,{disabled:!1===(null==c?void 0:c.restoreFocus)})),r.createElement(p,{...c,hiddenTextDescribedById:J}))})),$e=(0,r.createContext)(null),Xe="button";function Qe(e){let{id:t,data:n,disabled:o=!1,attributes:a}=e;const s=(0,i.Ld)("Droppable"),{activators:l,activatorEvent:c,active:u,activeNodeRect:d,ariaDescribedById:f,draggableNodes:p,over:h}=(0,r.useContext)(qe),{role:m=Xe,roleDescription:g="draggable",tabIndex:v=0}=null!=a?a:{},b=(null==u?void 0:u.id)===t,y=(0,r.useContext)(b?Ze:$e),[A,x]=(0,i.wm)(),[C,_]=(0,i.wm)(),w=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])}(l,t),k=(0,i.Ey)(n);(0,i.LI)((()=>(p.set(t,{id:t,key:s,node:A,activatorNode:C,data:k}),()=>{const e=p.get(t);e&&e.key===s&&p.delete(t)})),[p,t]);return{active:u,activatorEvent:c,activeNodeRect:d,attributes:(0,r.useMemo)((()=>({role:m,tabIndex:v,"aria-disabled":o,"aria-pressed":!(!b||m!==Xe)||void 0,"aria-roledescription":g,"aria-describedby":f.draggable})),[o,m,v,b,g,f.draggable]),isDragging:b,listeners:o?void 0:w,node:A,over:h,setNodeRef:x,setActivatorNodeRef:_,transform:y}}function Je(){return(0,r.useContext)(Ue)}const et={timeout:25};function tt(e){let{data:t,disabled:n=!1,id:o,resizeObserverConfig:a}=e;const s=(0,i.Ld)("Droppable"),{active:l,dispatch:c,over:u,measureDroppableContainers:d}=(0,r.useContext)(qe),f=(0,r.useRef)({disabled:n}),p=(0,r.useRef)(!1),m=(0,r.useRef)(null),g=(0,r.useRef)(null),{disabled:v,updateMeasurementsFor:b,timeout:y}={...et,...a},A=(0,i.Ey)(null!=b?b:o),x=Ee({callback:(0,r.useCallback)((()=>{p.current?(null!=g.current&&clearTimeout(g.current),g.current=setTimeout((()=>{d(Array.isArray(A.current)?A.current:[A.current]),g.current=null}),y)):p.current=!0}),[y]),disabled:v||!l}),C=(0,r.useCallback)(((e,t)=>{x&&(t&&(x.unobserve(t),p.current=!1),e&&x.observe(e))}),[x]),[_,w]=(0,i.wm)(C),k=(0,i.Ey)(t);return(0,r.useEffect)((()=>{x&&_.current&&(x.disconnect(),p.current=!1,x.observe(_.current))}),[_,x]),(0,i.LI)((()=>(c({type:h.RegisterDroppable,element:{id:o,key:s,disabled:n,node:_,rect:m,data:k}}),()=>c({type:h.UnregisterDroppable,key:s,id:o}))),[o]),(0,r.useEffect)((()=>{n!==f.current.disabled&&(c({type:h.SetDroppableDisabled,id:o,key:s,disabled:n}),f.current.disabled=n)}),[o,s,n,c]),{active:l,rect:m,isOver:(null==u?void 0:u.id)===o,node:_,over:u,setNodeRef:w}}function nt(e){let{animation:t,children:n}=e;const[o,a]=(0,r.useState)(null),[s,l]=(0,r.useState)(null),c=(0,i.D9)(n);return n||o||!c||a(c),(0,i.LI)((()=>{if(!s)return;const e=null==o?void 0:o.key,n=null==o?void 0:o.props.id;null!=e&&null!=n?Promise.resolve(t(n,s)).then((()=>{a(null)})):a(null)}),[t,o,s]),r.createElement(r.Fragment,null,n,o?(0,r.cloneElement)(o,{ref:l}):null)}const rt={x:0,y:0,scaleX:1,scaleY:1};function ot(e){let{children:t}=e;return r.createElement(qe.Provider,{value:ze},r.createElement(Ze.Provider,{value:rt},t))}const it={position:"fixed",touchAction:"none"},at=e=>(0,i.vd)(e)?"transform 250ms ease":void 0,st=(0,r.forwardRef)(((e,t)=>{let{as:n,activatorEvent:o,adjustScale:a,children:s,className:l,rect:c,style:u,transform:d,transition:f=at}=e;if(!c)return null;const p=a?d:{...d,scaleX:1,scaleY:1},h={...it,width:c.width,height:c.height,top:c.top,left:c.left,transform:i.ux.Transform.toString(p),transformOrigin:a&&o?A(o,c):void 0,transition:"function"==typeof f?f(o):f,...u};return r.createElement(n,{className:l,style:h,ref:t},s)})),lt=e=>t=>{let{active:n,dragOverlay:r}=t;const o={},{styles:i,className:a}=e;if(null!=i&&i.active)for(const[e,t]of Object.entries(i.active))void 0!==t&&(o[e]=n.node.style.getPropertyValue(e),n.node.style.setProperty(e,t));if(null!=i&&i.dragOverlay)for(const[e,t]of Object.entries(i.dragOverlay))void 0!==t&&r.node.style.setProperty(e,t);return null!=a&&a.active&&n.node.classList.add(a.active),null!=a&&a.dragOverlay&&r.node.classList.add(a.dragOverlay),function(){for(const[e,t]of Object.entries(o))n.node.style.setProperty(e,t);null!=a&&a.active&&n.node.classList.remove(a.active)}},ct={duration:250,easing:"ease",keyframes:e=>{let{transform:{initial:t,final:n}}=e;return[{transform:i.ux.Transform.toString(t)},{transform:i.ux.Transform.toString(n)}]},sideEffects:lt({styles:{active:{opacity:"0"}}})};function ut(e){let{config:t,draggableNodes:n,droppableContainers:r,measuringConfiguration:o}=e;return(0,i.zX)(((e,a)=>{if(null===t)return;const s=n.get(e);if(!s)return;const l=s.node.current;if(!l)return;const c=De(a);if(!c)return;const{transform:u}=(0,i.Jj)(a).getComputedStyle(a),d=R(u);if(!d)return;const f="function"==typeof t?t:function(e){const{duration:t,easing:n,sideEffects:r,keyframes:o}={...ct,...e};return e=>{let{active:i,dragOverlay:a,transform:s,...l}=e;if(!t)return;const c={x:a.rect.left-i.rect.left,y:a.rect.top-i.rect.top},u={scaleX:1!==s.scaleX?i.rect.width*s.scaleX/a.rect.width:1,scaleY:1!==s.scaleY?i.rect.height*s.scaleY/a.rect.height:1},d={x:s.x-c.x,y:s.y-c.y,...u},f=o({...l,active:i,dragOverlay:a,transform:{initial:s,final:d}}),[p]=f,h=f[f.length-1];if(JSON.stringify(p)===JSON.stringify(h))return;const m=null==r?void 0:r({active:i,dragOverlay:a,...l}),g=a.node.animate(f,{duration:t,easing:n,fill:"forwards"});return new Promise((e=>{g.onfinish=()=>{null==m||m(),e()}}))}}(t);return Q(l,o.draggable.measure),f({active:{id:e,data:s.data,node:l,rect:o.draggable.measure(l)},draggableNodes:n,dragOverlay:{node:a,rect:o.dragOverlay.measure(c)},droppableContainers:r,measuringConfiguration:o,transform:d})}))}let dt=0;function ft(e){return(0,r.useMemo)((()=>{if(null!=e)return dt++,dt}),[e])}const pt=r.memo((e=>{let{adjustScale:t=!1,children:n,dropAnimation:o,style:i,transition:a,modifiers:s,wrapperElement:l="div",className:c,zIndex:u=999}=e;const{activatorEvent:d,active:f,activeNodeRect:p,containerNodeRect:h,draggableNodes:m,droppableContainers:g,dragOverlay:v,over:b,measuringConfiguration:y,scrollableAncestors:A,scrollableAncestorRects:x,windowRect:C}=Je(),_=(0,r.useContext)(Ze),w=ft(null==f?void 0:f.id),k=Ye(s,{activatorEvent:d,active:f,activeNodeRect:p,containerNodeRect:h,draggingNodeRect:v.rect,over:b,overlayNodeRect:v.rect,scrollableAncestors:A,scrollableAncestorRects:x,transform:_,windowRect:C}),S=Se(p),E=ut({config:o,draggableNodes:m,droppableContainers:g,measuringConfiguration:y}),B=S?v.setRef:void 0;return r.createElement(ot,null,r.createElement(nt,{animation:E},f&&w?r.createElement(st,{key:w,id:f.id,ref:B,as:l,activatorEvent:d,adjustScale:t,className:c,transition:a,rect:S,style:{zIndex:u,...i},transform:k},n):null))}))},32339:function(e,t,n){"use strict";n.d(t,{DL:function(){return i},F4:function(){return o}});n(24285);function r(e,t,n){const r={...e};return t.top+e.y<=n.top?r.y=n.top-t.top:t.bottom+e.y>=n.top+n.height&&(r.y=n.top+n.height-t.bottom),t.left+e.x<=n.left?r.x=n.left-t.left:t.right+e.x>=n.left+n.width&&(r.x=n.left+n.width-t.right),r}const o=({containerNodeRect:e,draggingNodeRect:t,transform:n})=>t&&e?r(n,t,e):n,i=({transform:e})=>({...e,x:0})},45587:function(e,t,n){"use strict";n.d(t,{Fo:function(){return h},Rp:function(){return a},U2:function(){return c},is:function(){return w},nB:function(){return x},qw:function(){return d}});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 l(e){return null!==e&&e>=0}const c=e=>{let{rects:t,activeIndex:n,overIndex:r,index:o}=e;const i=a(t,r,n),s=t[o],l=i[o];return l&&s?{x:l.left-s.left,y:l.top-s.top,scaleX:l.width/s.width,scaleY:l.height/s.height}:null},u={scaleX:1,scaleY:1},d=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,...u}:null}const l=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-l,...u}:o<n&&o>=a?{x:0,y:s.height+l,...u}:{x:0,y:0,...u}};const f="Sortable",p=r.createContext({activeIndex:-1,containerId:f,disableTransforms:!1,items:[],overIndex:-1,useDragOverlay:!1,sortedRects:[],strategy:c,disabled:{draggable:!1,droppable:!1}});function h(e){let{children:t,id:n,items:a,strategy:l=c,disabled:u=!1}=e;const{active:d,dragOverlay:h,droppableRects:m,over:g,measureDroppableContainers:v,measuringScheduled:b}=(0,o.Cj)(),y=(0,i.Ld)(f,n),A=Boolean(null!==h.rect),x=(0,r.useMemo)((()=>a.map((e=>"object"==typeof e&&"id"in e?e.id:e))),[a]),C=null!=d,_=d?x.indexOf(d.id):-1,w=g?x.indexOf(g.id):-1,k=(0,r.useRef)(x),S=!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}(x,k.current),E=-1!==w&&-1===_||S,B=function(e){return"boolean"==typeof e?{draggable:e,droppable:e}:e}(u);(0,i.LI)((()=>{S&&C&&!b&&v(x)}),[S,x,C,v,b]),(0,r.useEffect)((()=>{k.current=x}),[x]);const O=(0,r.useMemo)((()=>({activeIndex:_,containerId:y,disabled:B,disableTransforms:E,items:x,overIndex:w,useDragOverlay:A,sortedRects:s(x,m),strategy:l})),[_,y,B.draggable,B.droppable,E,x,w,m,A,l]);return r.createElement(p.Provider,{value:O},t)}const m=e=>{let{id:t,items:n,activeIndex:r,overIndex:o}=e;return a(n,r,o).indexOf(t)},g=e=>{let{containerId:t,isSorting:n,wasDragging:r,index:o,items:i,newIndex:a,previousItems:s,previousContainerId:l,transition:c}=e;return!(!c||!r)&&((s===i||o!==a)&&(!!n||a!==o&&t===l))},v={duration:200,easing:"ease"},b="transform",y=i.ux.Transition.toString({property:b,duration:0,easing:"linear"}),A={roleDescription:"sortable"};function x(e){let{animateLayoutChanges:t=g,attributes:n,disabled:a,data:s,getNewIndex:c=m,id:u,strategy:d,resizeObserverConfig:f,transition:h=v}=e;const{items:x,containerId:C,activeIndex:_,disabled:w,disableTransforms:k,sortedRects:S,overIndex:E,useDragOverlay:B,strategy:O}=(0,r.useContext)(p),j=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,w),T=x.indexOf(u),P=(0,r.useMemo)((()=>({sortable:{containerId:C,index:T,items:x},...s})),[C,s,T,x]),M=(0,r.useMemo)((()=>x.slice(x.indexOf(u))),[x,u]),{rect:D,node:R,isOver:L,setNodeRef:I}=(0,o.Zj)({id:u,data:P,disabled:j.droppable,resizeObserverConfig:{updateMeasurementsFor:M,...f}}),{active:N,activatorEvent:F,activeNodeRect:z,attributes:q,setNodeRef:U,listeners:H,isDragging:W,over:V,setActivatorNodeRef:Y,transform:Z}=(0,o.O1)({id:u,data:P,attributes:{...A,...n},disabled:j.draggable}),G=(0,i.HB)(I,U),K=Boolean(N),$=K&&!k&&l(_)&&l(E),X=!B&&W,Q=X&&$?Z:null,J=$?null!=Q?Q:(null!=d?d:O)({rects:S,activeNodeRect:z,activeIndex:_,overIndex:E,index:T}):null,ee=l(_)&&l(E)?c({id:u,items:x,activeIndex:_,overIndex:E}):T,te=null==N?void 0:N.id,ne=(0,r.useRef)({activeId:te,items:x,newIndex:ee,containerId:C}),re=x!==ne.current.items,oe=t({active:N,containerId:C,isDragging:W,isSorting:K,id:u,index:T,items:x,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[l,c]=(0,r.useState)(null),u=(0,r.useRef)(n);return(0,i.LI)((()=>{if(!t&&n!==u.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)&&c(n)}}n!==u.current&&(u.current=n)}),[t,n,a,s]),(0,r.useEffect)((()=>{l&&requestAnimationFrame((()=>{c(null)}))}),[l]),l}({disabled:!oe,index:T,node:R,rect:D});return(0,r.useEffect)((()=>{K&&ne.current.newIndex!==ee&&(ne.current.newIndex=ee),C!==ne.current.containerId&&(ne.current.containerId=C),x!==ne.current.items&&(ne.current.items=x)}),[K,ee,C,x]),(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:N,activeIndex:_,attributes:q,data:P,rect:D,index:T,newIndex:ee,items:x,isOver:L,isSorting:K,isDragging:W,listeners:H,node:R,overIndex:E,over:V,setNodeRef:G,setActivatorNodeRef:Y,setDroppableNodeRef:I,setDraggableNodeRef:U,transform:null!=ie?ie:J,transition:function(){if(ie||re&&ne.current.newIndex===T)return y;if(X&&!(0,i.vd)(F)||!h)return;if(K||oe)return i.ux.Transition.toString({...h,property:b});return}()}}function C(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],w=(e,t)=>{let{context:{active:n,collisionRect:r,droppableRects:a,droppableContainers:s,over:l,scrollableAncestors:c}}=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 u=(0,o.ey)({active:n,collisionRect:r,droppableRects:a,droppableContainers:t,pointerCoordinates:null});let d=(0,o._8)(u,"id");if(d===(null==l?void 0:l.id)&&u.length>1&&(d=u[1].id),null!=d){const e=s.get(n.id),t=s.get(d),l=t?a.get(t.id):null,u=null==t?void 0:t.node.current;if(u&&l&&e&&t){const n=(0,o.hI)(u).some(((e,t)=>c[t]!==e)),a=k(e,t),s=function(e,t){if(!C(e)||!C(t))return!1;if(!k(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-l.width:0,y:s?r.height-l.height:0},f={x:l.left,y:l.top};return d.x&&d.y?f:(0,i.$X)(f,d)}}}};function k(e,t){return!(!C(e)||!C(t))&&e.data.current.sortable.containerId===t.data.current.sortable.containerId}},24285:function(e,t,n){"use strict";n.d(t,{$X:function(){return w},D9:function(){return y},DC:function(){return S},Ey:function(){return g},FJ:function(){return a},Gj:function(){return v},HB:function(){return o},IH:function(){return _},Jj:function(){return l},LI:function(){return p},Ld:function(){return x},Nq:function(){return i},Re:function(){return u},UG:function(){return s},Yz:function(){return m},qk:function(){return c},r3:function(){return f},so:function(){return O},ux:function(){return E},vZ:function(){return d},vd:function(){return k},wm:function(){return b},zX:function(){return h}});var r=n(67294);function o(...e){return(0,r.useMemo)((()=>t=>{e.forEach((e=>e(t)))}),e)}const i="undefined"!=typeof window&&void 0!==window.document&&void 0!==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 l(e){var t,n;return e?a(e)?e:s(e)&&null!=(t=null==(n=e.ownerDocument)?void 0:n.defaultView)?t:window:window}function c(e){const{Document:t}=l(e);return e instanceof t}function u(e){return!a(e)&&e instanceof l(e).HTMLElement}function d(e){return e instanceof l(e).SVGElement}function f(e){return e?a(e)?e.document:s(e)?c(e)?e:u(e)?e.ownerDocument:document:document:document}const p=i?r.useLayoutEffect:r.useEffect;function h(e){const t=(0,r.useRef)(e);return p((()=>{t.current=e})),(0,r.useCallback)((function(...e){return null==t.current?void 0:t.current(...e)}),[])}function m(){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 g(e,t=[e]){const n=(0,r.useRef)(e);return p((()=>{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 b(e){const t=h(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 y(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e}),[e]),t.current}let A={};function x(e,t){return(0,r.useMemo)((()=>{if(t)return t;const n=null==A[e]?0:A[e]+1;return A[e]=n,`${e}-${n}`}),[e,t])}function C(e){return(t,...n)=>n.reduce(((t,n)=>{const r=Object.entries(n);for(const[n,o]of r){const r=t[n];null!=r&&(t[n]=r+e*o)}return t}),{...t})}const _=C(1),w=C(-1);function k(e){if(!e)return!1;const{KeyboardEvent:t}=l(e.target);return t&&e instanceof t}function S(e){if(function(e){if(!e)return!1;const{TouchEvent:t}=l(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 E=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[E.Translate.toString(e),E.Scale.toString(e)].join(" ")}},Transition:{toString({property:e,duration:t,easing:n}){return`${e} ${t}ms ${n}`}}}),B="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(B)?e:e.querySelector(B)}},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(e){0}}else t.appendChild(document.createTextNode(e));this.ctr++},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 l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function f(e){return e.length}function p(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,v=0,b=0,y=0,A="";function x(e,t,n,r,o,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:i,line:m,column:g,length:a,return:""}}function C(e,t){return a(x("",null,null,"",null,null,0),e,{length:-e.length},t)}function _(){return y=b>0?u(A,--b):0,g--,10===y&&(g=1,m--),y}function w(){return y=b<v?u(A,b++):0,g++,10===y&&(g=1,m++),y}function k(){return u(A,b)}function S(){return b}function E(e,t){return d(A,e,t)}function B(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 m=g=1,v=f(A=e),b=0,[]}function j(e){return A="",e}function T(e){return s(E(b-1,D(91===e?e+2:40===e?e+1:e)))}function P(e){for(;(y=k())&&y<33;)w();return B(e)>2||B(y)>3?"":" "}function M(e,t){for(;--t&&w()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return E(e,S()+(t<6&&32==k()&&32==w()))}function D(e){for(;w();)switch(y){case e:return b;case 34:case 39:34!==e&&39!==e&&D(y);break;case 40:41===e&&D(e);break;case 92:w()}return b}function R(e,t){for(;w()&&e+y!==57&&(e+y!==84||47!==k()););return"/*"+E(t,b-1)+"*"+i(47===e?e:w())}function L(e){for(;!B(k());)w();return E(e,b)}var I="-ms-",N="-moz-",F="-webkit-",z="comm",q="rule",U="decl",H="@keyframes";function W(e,t){for(var n="",r=p(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function V(e,t,n,r){switch(e.type){case"@import":case U:return e.return=e.return||e.value;case z:return"";case H:return e.return=e.value+"{"+W(e.children,r)+"}";case q:e.value=e.props.join(",")}return f(n=W(e.children,r))?e.return=e.value+"{"+n+"}":""}function Y(e){return j(Z("",null,null,null,[""],e=O(e),0,[0],e))}function Z(e,t,n,r,o,a,s,d,p){for(var m=0,g=0,v=s,b=0,y=0,A=0,x=1,C=1,E=1,B=0,O="",j=o,D=a,I=r,N=O;C;)switch(A=B,B=w()){case 40:if(108!=A&&58==u(N,v-1)){-1!=c(N+=l(T(B),"&","&\f"),"&\f")&&(E=-1);break}case 34:case 39:case 91:N+=T(B);break;case 9:case 10:case 13:case 32:N+=P(A);break;case 92:N+=M(S()-1,7);continue;case 47:switch(k()){case 42:case 47:h(K(R(w(),S()),t,n),p);break;default:N+="/"}break;case 123*x:d[m++]=f(N)*E;case 125*x:case 59:case 0:switch(B){case 0:case 125:C=0;case 59+g:y>0&&f(N)-v&&h(y>32?$(N+";",r,n,v-1):$(l(N," ","")+";",r,n,v-2),p);break;case 59:N+=";";default:if(h(I=G(N,t,n,m,g,o,d,O,j=[],D=[],v),a),123===B)if(0===g)Z(N,t,I,I,j,a,v,d,D);else switch(99===b&&110===u(N,3)?100:b){case 100:case 109:case 115:Z(e,I,I,r&&h(G(e,I,I,0,0,o,d,O,o,j=[],v),D),o,D,v,d,r?j:D);break;default:Z(N,I,I,I,[""],D,0,d,D)}}m=g=y=0,x=E=1,O=N="",v=s;break;case 58:v=1+f(N),y=A;default:if(x<1)if(123==B)--x;else if(125==B&&0==x++&&125==_())continue;switch(N+=i(B),B*x){case 38:E=g>0?1:(N+="\f",-1);break;case 44:d[m++]=(f(N)-1)*E,E=1;break;case 64:45===k()&&(N+=T(w())),b=k(),g=v=f(O=N+=L(S())),B++;break;case 45:45===A&&2==f(N)&&(x=0)}}return a}function G(e,t,n,r,i,a,c,u,f,h,m){for(var g=i-1,v=0===i?a:[""],b=p(v),y=0,A=0,C=0;y<r;++y)for(var _=0,w=d(e,g+1,g=o(A=c[y])),k=e;_<b;++_)(k=s(A>0?v[_]+" "+w:l(w,/&\f/g,v[_])))&&(f[C++]=k);return x(e,t,n,0===i?q:u,f,h,m)}function K(e,t,n){return x(e,t,n,z,i(y),d(e,2,-2),0)}function $(e,t,n,r){return x(e,t,n,U,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=k(),38===r&&12===o&&(t[n]=1),!B(o);)w();return E(e,b)},Q=function(e,t){return j(function(e,t){var n=-1,r=44;do{switch(B(r)){case 0:38===r&&12===k()&&(t[n]=1),e[n]+=X(b-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===k()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}}while(r=w());return e}(O(e),t))},J=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)||J.get(n))&&!r){J.set(e,!0);for(var o=[],i=Q(t,o),a=n.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+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^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(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 F+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return F+e+N+e+I+e+e;case 6828:case 4268:return F+e+I+e+e;case 6165:return F+e+I+"flex-"+e+e;case 5187:return F+e+l(e,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+e;case 5443:return F+e+I+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return F+e+I+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return F+e+I+l(e,"shrink","negative")+e;case 5292:return F+e+I+l(e,"basis","preferred-size")+e;case 6060:return"-webkit-box-"+l(e,"-grow","")+F+e+I+l(e,"grow","positive")+e;case 4554:return F+l(e,/([^-])(transform)/g,"$1-webkit-$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,"-webkit-$1"),/(image-set)/,"-webkit-$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,"-webkit-$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+F+e+e;case 4095:case 3583:case 4068:case 2532:return l(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(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1-moz-"+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?ne(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,f(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":-webkit-")+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1-webkit-"+(45===u(e,14)?"inline-":"")+"box$3$1"+"-webkit-$2$3$1"+"-ms-$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return F+e+I+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return F+e+I+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return F+e+I+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return F+e+I+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ne(e.value,e.length);break;case H:return W([C(e,{value:l(e.value,"@","@-webkit-")})],r);case q: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 W([C(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return W([C(e,{props:[l(t,/:(plac\w+)/,":-webkit-input-$1")]}),C(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),C(e,{props:[l(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={},l=[];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;l.push(e)}));var c,u,d,f,h=[V,(f=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],m=(u=[ee,te].concat(o,h),d=p(u),function(e,t,n,r){for(var o="",i=0;i<d;i++)o+=u[i](e,t,n,r)||"";return o});a=function(e,t,n,r){c=n,W(Y(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={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 g.sheet.hydrate(l),g}},33500:function(e,t,n){"use strict";n.d(t,{ms:function(){return I},iv:function(){return P},tZ:function(){return T},F4:function(){return M}});var r=n(67294),o=n.t(r,2),i=n(8417);function a(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var s=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},l=function(e,t,n){s(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)}};var c=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)},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};var d=/[A-Z]|^ms/g,f=/_EMO_([^_]+?)_([^]*?)_EMO_/g,p=function(e){return 45===e.charCodeAt(1)},h=function(e){return null!=e&&"boolean"!=typeof e},m=function(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}((function(e){return p(e)?e:e.replace(d,"-$&").toLowerCase()})),g=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(f,(function(e,t,n){return b={name:t,styles:n,next:b},t}))}return 1===u[e]||p(e)||"number"!=typeof t||0===t?t:t+"px"};function v(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 b={name:n.name,styles:n.styles,next:b},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)b={name:r.name,styles:r.styles,next:b},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+=v(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]+"}":h(a)&&(r+=m(i)+":"+g(i,a)+";");else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var s=v(e,t,a);switch(i){case"animation":case"animationName":r+=m(i)+":"+s+";";break;default:r+=i+"{"+s+"}"}}else for(var l=0;l<a.length;l++)h(a[l])&&(r+=m(i)+":"+g(i,a[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=b,i=n(e);return b=o,v(e,t,i)}}if(null==t)return n;var a=t[n];return void 0!==a?a:n}var b,y=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var A=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="";b=void 0;var i=e[0];null==i||void 0===i.raw?(r=!1,o+=v(n,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=v(n,t,e[a]),r&&(o+=i[a]);y.lastIndex=0;for(var s,l="";null!==(s=y.exec(o));)l+="-"+s[1];return{name:c(o)+l,styles:o,next:b}},x=!!o.useInsertionEffect&&o.useInsertionEffect,C=x||function(e){return e()},_=(x||r.useLayoutEffect,{}.hasOwnProperty),w=(0,r.createContext)("undefined"!=typeof HTMLElement?(0,i.Z)({key:"css"}):null);w.Provider;var k=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(w);return e(t,o,n)}))},S=(0,r.createContext)({});var E="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",B=function(e,t){var n={};for(var r in t)_.call(t,r)&&(n[r]=t[r]);return n[E]=e,n},O=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;s(t,n,r);C((function(){return l(t,n,r)}));return null},j=k((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[E],s=[o],l="";"string"==typeof e.className?l=a(t.registered,s,e.className):null!=e.className&&(l=e.className+" ");var c=A(s,void 0,(0,r.useContext)(S));l+=t.key+"-"+c.name;var u={};for(var d in e)_.call(e,d)&&"css"!==d&&d!==E&&(u[d]=e[d]);return u.ref=n,u.className=l,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(O,{cache:t,serialized:c,isStringTag:"string"==typeof i}),(0,r.createElement)(i,u))}));n(8679);var T=function(e,t){var n=arguments;if(null==t||!_.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=j,i[1]=B(e,t);for(var a=2;a<o;a++)i[a]=n[a];return r.createElement.apply(null,i)};function P(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return A(t)}var M=function(){var e=P.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_"}}},D=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var s in a="",i)i[s]&&s&&(a&&(a+=" "),a+=s);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function R(e,t,n){var r=[],o=a(e,r,n);return r.length<2?n:o+t(r)}var L=function(e){var t=e.cache,n=e.serializedArr;C((function(){for(var e=0;e<n.length;e++)l(t,n[e],!1)}));return null},I=k((function(e,t){var n=[],o=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i=A(r,t.registered);return n.push(i),s(t,i,!1),t.key+"-"+i.name},i={css:o,cx:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return R(t.registered,o,D(n))},theme:(0,r.useContext)(S)},a=e.children(i);return!0,(0,r.createElement)(r.Fragment,null,(0,r.createElement)(L,{cache:t,serializedArr:n}),a)}))},79245:function(e,t){"use strict";var n="facebook",r=[62e3],o="f09a",i="M512 256C512 114.6 397.4 0 256 0S0 114.6 0 256C0 376 82.7 476.8 194.2 504.5V334.2H141.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H287V510.1C413.8 494.8 512 386.9 512 256h0z";t.DF={prefix:"fab",iconName:n,icon:[512,512,r,o,i]},t.ne=t.DF},89853:function(e,t,n){"use strict";var r=n(65620);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.pZ=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},78279:function(e,t){"use strict";var n="instagram",r=[],o="f16d",i="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z";t.DF={prefix:"fab",iconName:n,icon:[448,512,r,o,i]},t.Zz=t.DF},58259:function(e,t){"use strict";var n="linkedin",r=[],o="f08c",i="M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z";t.DF={prefix:"fab",iconName:n,icon:[448,512,r,o,i]},t.D9=t.DF},65620:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="square-facebook",r=["facebook-square"],o="f082",i="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64h98.2V334.2H109.4V256h52.8V222.3c0-87.1 39.4-127.5 125-127.5c16.2 0 44.2 3.2 55.7 6.4V172c-6-.6-16.5-1-29.6-1c-42 0-58.2 15.9-58.2 57.2V256h83.6l-14.4 78.2H255V480H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z";t.definition={prefix:"fab",iconName:n,icon:[448,512,r,o,i]},t.faSquareFacebook=t.definition,t.prefix="fab",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},93508:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="square-whatsapp",r=["whatsapp-square"],o="f40c",i="M92.1 254.6c0 24.9 7 49.2 20.2 70.1l3.1 5-13.3 48.6L152 365.2l4.8 2.9c20.2 12 43.4 18.4 67.1 18.4h.1c72.6 0 133.3-59.1 133.3-131.8c0-35.2-15.2-68.3-40.1-93.2c-25-25-58-38.7-93.2-38.7c-72.7 0-131.8 59.1-131.9 131.8zM274.8 330c-12.6 1.9-22.4 .9-47.5-9.9c-36.8-15.9-61.8-51.5-66.9-58.7c-.4-.6-.7-.9-.8-1.1c-2-2.6-16.2-21.5-16.2-41c0-18.4 9-27.9 13.2-32.3c.3-.3 .5-.5 .7-.8c3.6-4 7.9-5 10.6-5c2.6 0 5.3 0 7.6 .1c.3 0 .5 0 .8 0c2.3 0 5.2 0 8.1 6.8c1.2 2.9 3 7.3 4.9 11.8c3.3 8 6.7 16.3 7.3 17.6c1 2 1.7 4.3 .3 6.9c-3.4 6.8-6.9 10.4-9.3 13c-3.1 3.2-4.5 4.7-2.3 8.6c15.3 26.3 30.6 35.4 53.9 47.1c4 2 6.3 1.7 8.6-1c2.3-2.6 9.9-11.6 12.5-15.5c2.6-4 5.3-3.3 8.9-2s23.1 10.9 27.1 12.9c.8 .4 1.5 .7 2.1 1c2.8 1.4 4.7 2.3 5.5 3.6c.9 1.9 .9 9.9-2.4 19.1c-3.3 9.3-19.1 17.7-26.7 18.8zM448 96c0-35.3-28.7-64-64-64H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96zM148.1 393.9L64 416l22.5-82.2c-13.9-24-21.2-51.3-21.2-79.3C65.4 167.1 136.5 96 223.9 96c42.4 0 82.2 16.5 112.2 46.5c29.9 30 47.9 69.8 47.9 112.2c0 87.4-72.7 158.5-160.1 158.5c-26.6 0-52.7-6.7-75.8-19.3z";t.definition={prefix:"fab",iconName:n,icon:[448,512,r,o,i]},t.faSquareWhatsapp=t.definition,t.prefix="fab",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},77417:function(e,t){"use strict";var n="square-x-twitter",r=[],o="e61a",i="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm297.1 84L257.3 234.6 379.4 396H283.8L209 298.1 123.3 396H75.8l111-126.9L69.7 116h98l67.7 89.5L313.6 116h47.5zM323.3 367.6L153.4 142.9H125.1L296.9 367.6h26.3z";t.DF={prefix:"fab",iconName:n,icon:[448,512,r,o,i]},t.mi=t.DF},1782:function(e,t,n){"use strict";var r=n(93508);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.yh=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},87207:function(e,t){"use strict";var n="angle-down",r=[8964],o="f107",i="M212.7 331.3c6.2 6.2 16.4 6.2 22.6 0l160-160c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4 75.3 148.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l160 160z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.gc=t.DF},97528:function(e,t){"use strict";var n="angle-left",r=[8249],o="f104",i="M52.7 267.3c-6.2-6.2-6.2-16.4 0-22.6l160-160c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6L86.6 256 235.3 404.7c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-160-160z";t.DF={prefix:"fal",iconName:n,icon:[320,512,r,o,i]},t.Ey=t.DF},20282:function(e,t){"use strict";var n="angle-right",r=[8250],o="f105",i="M267.3 244.7c6.2 6.2 6.2 16.4 0 22.6l-160 160c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6L233.4 256 84.7 107.3c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0l160 160z";t.DF={prefix:"fal",iconName:n,icon:[320,512,r,o,i]},t.yO=t.DF},15088:function(e,t){"use strict";var n="angle-up",r=[8963],o="f106",i="M212.7 148.7c6.2-6.2 16.4-6.2 22.6 0l160 160c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L224 182.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l160-160z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.on=t.DF},84307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="arrow-rotate-left",r=[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],o="f0e2",i="M48 192c-8.8 0-16-7.2-16-16V48c0-8.8 7.2-16 16-16s16 7.2 16 16v92.6C103.2 75.5 174.5 32 256 32c123.7 0 224 100.3 224 224s-100.3 224-224 224c-79.9 0-150-41.8-189.7-104.8C59.8 364.8 67.7 352 80 352c6 0 11.4 3.2 14.7 8.2C128.9 413 188.4 448 256 448c106 0 192-86 192-192s-86-192-192-192c-71.1 0-133.1 38.6-166.3 96H176c8.8 0 16 7.2 16 16s-7.2 16-16 16H48z";t.definition={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.faArrowRotateLeft=t.definition,t.prefix="fal",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},5307:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="bag-shopping",r=["shopping-bag"],o="f290",i="M160 96v32H288V96c0-35.3-28.7-64-64-64s-64 28.7-64 64zm-32 64H48c-8.8 0-16 7.2-16 16V416c0 35.3 28.7 64 64 64H352c35.3 0 64-28.7 64-64V176c0-8.8-7.2-16-16-16H320v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V160H160v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V160zm0-32V96c0-53 43-96 96-96s96 43 96 96v32h80c26.5 0 48 21.5 48 48V416c0 53-43 96-96 96H96c-53 0-96-43-96-96V176c0-26.5 21.5-48 48-48h80z";t.definition={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.faBagShopping=t.definition,t.prefix="fal",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},35001:function(e,t){"use strict";var n="bars",r=["navicon"],o="f0c9",i="M0 80c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16C7.2 96 0 88.8 0 80zM0 240c0-8.8 7.2-16 16-16H432c8.8 0 16 7.2 16 16s-7.2 16-16 16H16c-8.8 0-16-7.2-16-16zM448 400c0 8.8-7.2 16-16 16H16c-8.8 0-16-7.2-16-16s7.2-16 16-16H432c8.8 0 16 7.2 16 16z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.xi=t.DF},81596:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="basket-shopping",r=["shopping-basket"],o="f291",i="M327.9 2.2c-7.6 4.5-10.2 14.2-5.8 21.9l98 167.9H155.9l98-167.9c4.5-7.6 1.9-17.4-5.8-21.9s-17.4-1.9-21.9 5.8L118.8 192H65 32 16c-8.8 0-16 7.2-16 16s7.2 16 16 16H40L99.9 463.5C107 492 132.6 512 162 512H414c29.4 0 55-20 62.1-48.5L536 224h24c8.8 0 16-7.2 16-16s-7.2-16-16-16H544 511 457.2L349.8 7.9c-4.5-7.6-14.2-10.2-21.9-5.8zM73 224H503L445.1 455.8C441.5 470 428.7 480 414 480H162c-14.7 0-27.5-10-31-24.2L73 224zm151 80c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304zm64-16c-8.8 0-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304c0-8.8-7.2-16-16-16zm96 16c0-8.8-7.2-16-16-16s-16 7.2-16 16v96c0 8.8 7.2 16 16 16s16-7.2 16-16V304z";t.definition={prefix:"fal",iconName:n,icon:[576,512,r,o,i]},t.faBasketShopping=t.definition,t.prefix="fal",t.iconName=n,t.width=576,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},77672:function(e,t){"use strict";var n="bell-school",r=[],o="f5d5",i="M208 384a176 176 0 1 0 0-352 176 176 0 1 0 0 352zm0 32c-41.2 0-79.7-12-112-32.7V448c0 17.7 14.3 32 32 32H272h16c17.7 0 32-14.3 32-32V383.3C287.7 404 249.2 416 208 416zm64 96H128c-35.3 0-64-28.7-64-64V358.1C24.6 320.2 0 267 0 208C0 93.1 93.1 0 208 0S416 93.1 416 208c0 59-24.6 112.2-64 150.1V448c0 11.7-3.1 22.6-8.6 32H416c17.7 0 32-14.3 32-32v-2.7c-18.6-6.6-32-24.4-32-45.3c0-26.5 21.5-48 48-48s48 21.5 48 48c0 20.9-13.4 38.7-32 45.3V448c0 35.3-28.7 64-64 64H288 272zM256 208a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm-128 0a80 80 0 1 1 160 0 80 80 0 1 1 -160 0zM464 416a16 16 0 1 0 0-32 16 16 0 1 0 0 32z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.km=t.DF},23185:function(e,t){"use strict";var n="bread-loaf",r=[127838],o="f7eb",i="M64 224c-17.7 0-32-14.3-32-32c0-45.8 30.4-77.3 77.4-98.9C156.4 71.4 211.6 64 240 64s83.6 7.4 130.6 29.1c47 21.7 77.4 53.1 77.4 98.9c0 17.7-14.3 32-32 32s-32 14.3-32 32V432c0 8.8-7.2 16-16 16H320 112c-8.8 0-16-7.2-16-16V256c0-17.7-14.3-32-32-32zm352 32H544V432c0 8.8-7.2 16-16 16H413.3c1.8-5 2.7-10.4 2.7-16V288 256zm155.3-31.7c-1.1-.2-2.2-.3-3.3-.3H471.4c5.4-9.4 8.6-20.3 8.6-32c0-64-44-104-96-128h16c28.4 0 83.6 7.4 130.6 29.1c47 21.7 77.4 53.1 77.4 98.9c0 17.7-14.3 32-32 32c-1.6 0-3.2 .1-4.7 .3zM112 480H320h48H528c26.5 0 48-21.5 48-48V288 256c35.3 0 64-28.7 64-64C640 64 464 32 400 32H272 240C176 32 0 64 0 192c0 35.3 28.7 64 64 64v32V432c0 26.5 21.5 48 48 48z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.Fq=t.DF},96174:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="building-columns",r=["bank","institution","museum","university"],o="f19c",i="M263.9 2.1C259-.7 253-.7 248.1 2.1L15.8 133.7C6 139.3 0 149.6 0 160.8C0 178 14 192 31.2 192H256 480.8c17.2 0 31.2-14 31.2-31.2c0-11.2-6-21.6-15.8-27.1L263.9 2.1zM306.6 160c3.5-7.3 5.4-15.4 5.4-24c0-30.9-25.1-56-56-56s-56 25.1-56 56c0 8.6 1.9 16.7 5.4 24H34.3L256 34.4 477.7 160H306.6zM256 112a24 24 0 1 1 0 48 24 24 0 1 1 0-48zM64 352c-8.8 0-16 7.2-16 16s7.2 16 16 16H448c8.8 0 16-7.2 16-16s-7.2-16-16-16V224H416V352H336V224H304V352H208V224H176V352H96V224H64V352zM40 416c-8.8 0-16 7.2-16 16s7.2 16 16 16H472c8.8 0 16-7.2 16-16s-7.2-16-16-16H40zM16 480c-8.8 0-16 7.2-16 16s7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z";t.definition={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.faBuildingColumns=t.definition,t.prefix="fal",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},86276:function(e,t,n){"use strict";var r=n(18962);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.f$=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},18962:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="bus-simple",r=["bus-alt"],o="f55e",i="M33.2 90C49.2 70.2 106.1 32 224 32c126.8 0 175.9 38.1 190.7 57.5c.6 .8 1.3 2.5 1.3 5.6V96H32v-.8c0-3.2 .8-4.6 1.2-5.1zM32 128H416V256H32V128zM416 288v96c0 17.7-14.3 32-32 32H303.2 64c-17.7 0-32-14.3-32-32V288H416zM224 0C100.2 0 32.5 40.1 8.3 69.9C1.8 77.9 0 87.4 0 95.2V384c0 23.7 12.9 44.4 32 55.4V496c0 8.8 7.2 16 16 16s16-7.2 16-16l0-48H303.2 384v48c0 8.8 7.2 16 16 16s16-7.2 16-16V439.4c19.1-11.1 32-31.7 32-55.4V95.2c0-7.8-1.8-17-7.8-25C417.2 40 356.6 0 224 0zM96 376a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm280-24a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z";t.definition={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.faBusSimple=t.definition,t.prefix="fal",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},12038:function(e,t){"use strict";var n="calendar",r=[128197,128198],o="f133",i="M112 0c8.8 0 16 7.2 16 16V64H320V16c0-8.8 7.2-16 16-16s16 7.2 16 16V64h32c35.3 0 64 28.7 64 64v32 32V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 160 128C0 92.7 28.7 64 64 64H96V16c0-8.8 7.2-16 16-16zM416 192H32V448c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V192zM384 96H64c-17.7 0-32 14.3-32 32v32H416V128c0-17.7-14.3-32-32-32z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.fT=t.DF},86821:function(e,t,n){"use strict";var r=n(83093);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.IV=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},83093:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="calendar-days",r=["calendar-alt"],o="f073",i="M112 0c8.8 0 16 7.2 16 16V64H320V16c0-8.8 7.2-16 16-16s16 7.2 16 16V64h32c35.3 0 64 28.7 64 64v32 32V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V192 160 128C0 92.7 28.7 64 64 64H96V16c0-8.8 7.2-16 16-16zM416 192H312v72H416V192zm0 104H312v80H416V296zm0 112H312v72h72c17.7 0 32-14.3 32-32V408zM280 376V296H168v80H280zM168 408v72H280V408H168zm-32-32V296H32v80H136zM32 408v40c0 17.7 14.3 32 32 32h72V408H32zm0-144H136V192H32v72zm136 0H280V192H168v72zM384 96H64c-17.7 0-32 14.3-32 32v32H416V128c0-17.7-14.3-32-32-32z";t.definition={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.faCalendarDays=t.definition,t.prefix="fal",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},80591:function(e,t,n){"use strict";var r=n(10374);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.f8=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},61437:function(e,t){"use strict";var n="chevron-down",r=[],o="f078",i="M267.3 395.3c-6.2 6.2-16.4 6.2-22.6 0l-192-192c-6.2-6.2-6.2-16.4 0-22.6s16.4-6.2 22.6 0L256 361.4 436.7 180.7c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6l-192 192z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.pt=t.DF},37930:function(e,t){"use strict";var n="chevron-up",r=[],o="f077",i="M244.7 116.7c6.2-6.2 16.4-6.2 22.6 0l192 192c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L256 150.6 75.3 331.3c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l192-192z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.mT=t.DF},90891:function(e,t){"use strict";var n="child",r=[],o="f1ae",i="M128 64a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm96 0A64 64 0 1 0 96 64a64 64 0 1 0 128 0zM73.9 240.2c1.9-3.1 3.9-6 6.1-8.9V496c0 8.8 7.2 16 16 16s16-7.2 16-16V384h96V496c0 8.8 7.2 16 16 16s16-7.2 16-16V231.3c2.2 2.8 4.2 5.8 6.1 8.9l44.3 72.2c4.6 7.5 14.5 9.9 22 5.3s9.9-14.5 5.3-22l-44.3-72.2C249.2 184 206.3 160 160 160s-89.2 24-113.4 63.5L2.4 295.6c-4.6 7.5-2.3 17.4 5.3 22s17.4 2.3 22-5.3l44.3-72.2zM208 352H112V204.1c14.5-7.8 31-12.1 48-12.1s33.5 4.3 48 12.1V352z";t.DF={prefix:"fal",iconName:n,icon:[320,512,r,o,i]},t.mn=t.DF},10374:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-check",r=[61533,"check-circle"],o="f058",i="M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM363.3 203.3c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L224 297.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6l64 64c6.2 6.2 16.4 6.2 22.6 0l128-128z";t.definition={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.faCircleCheck=t.definition,t.prefix="fal",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},61889:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-info",r=["info-circle"],o="f05a",i="M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM208 352c-8.8 0-16 7.2-16 16s7.2 16 16 16h96c8.8 0 16-7.2 16-16s-7.2-16-16-16H272V240c0-8.8-7.2-16-16-16H216c-8.8 0-16 7.2-16 16s7.2 16 16 16h24v96H208zm48-168a24 24 0 1 0 0-48 24 24 0 1 0 0 48z";t.definition={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.faCircleInfo=t.definition,t.prefix="fal",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},2898:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="circle-xmark",r=[61532,"times-circle","xmark-circle"],o="f057",i="M256 32a224 224 0 1 1 0 448 224 224 0 1 1 0-448zm0 480A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM180.7 180.7c-6.2 6.2-6.2 16.4 0 22.6L233.4 256l-52.7 52.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L256 278.6l52.7 52.7c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L278.6 256l52.7-52.7c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L256 233.4l-52.7-52.7c-6.2-6.2-16.4-6.2-22.6 0z";t.definition={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.faCircleXmark=t.definition,t.prefix="fal",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},43632:function(e,t){"use strict";var n="city",r=[127961],o="f64f",i="M96 16V64h64V16c0-8.8 7.2-16 16-16s16 7.2 16 16V64 80 96H176 64c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H197.5c4.2 11.9 10.7 22.8 19 32H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64V16C64 7.2 71.2 0 80 0s16 7.2 16 16zM512 192c-17.7 0-32-14.3-32-32V64c0-17.7-14.3-32-32-32H288c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32h32H448 576c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H512zm0-128v64 32h32 32c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H448 320 288c-35.3 0-64-28.7-64-64V64c0-35.3 28.7-64 64-64H448c35.3 0 64 28.7 64 64zM320 392V344c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H344c-13.3 0-24-10.7-24-24zm32-8h32V352H352v32zM344 64h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H344c-13.3 0-24-10.7-24-24V88c0-13.3 10.7-24 24-24zm8 64h32V96H352v32zM320 264V216c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H344c-13.3 0-24-10.7-24-24zm32-8h32V224H352v32zM504 448c-13.3 0-24-10.7-24-24V376c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H504zm8-64v32h32V384H512zm-32-88V248c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H504c-13.3 0-24-10.7-24-24zm32-8h32V256H512v32zM88 352c-13.3 0-24-10.7-24-24V280c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H88zm8-64v32h32V288H96zM64 200V152c0-13.3 10.7-24 24-24h48c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H88c-13.3 0-24-10.7-24-24zm32-8h32V160H96v32z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.SB=t.DF},50187:function(e,t,n){"use strict";var r=n(75476);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.Sv=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},54453:function(e,t){"use strict";var n="dumbbell",r=[],o="f44b",i="M208 64c8.8 0 16 7.2 16 16V256 432c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V368 144 80c0-8.8 7.2-16 16-16h32zM128 413.3V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V272H384V432c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V413.3c5 1.8 10.4 2.7 16 2.7h32c26.5 0 48-21.5 48-48V272h16c8.8 0 16-7.2 16-16s-7.2-16-16-16H608V144c0-26.5-21.5-48-48-48H528c-5.6 0-11 1-16 2.7V80c0-26.5-21.5-48-48-48H432c-26.5 0-48 21.5-48 48V240H256V80c0-26.5-21.5-48-48-48H176c-26.5 0-48 21.5-48 48V98.7C123 97 117.6 96 112 96H80c-26.5 0-48 21.5-48 48v96H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H32v96c0 26.5 21.5 48 48 48h32c5.6 0 11-1 16-2.7zM512 144c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16V256 368c0 8.8-7.2 16-16 16H528c-8.8 0-16-7.2-16-16V144zM480 368v64c0 8.8-7.2 16-16 16H432c-8.8 0-16-7.2-16-16V256 80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v64V368zM128 144V368c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V256 144c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.Fl=t.DF},13943:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="earth-europe",r=["globe-europe"],o="f7a2",i="M477.7 288H439.4c-6.2 0-12.3-2.2-17.1-6.2l-15.9-13.2c-4.6-3.8-5.2-10.5-1.5-15.2c14.6-18.3 1.6-45.4-21.8-45.4h-3.7c-6.3 0-11.4-5.1-11.4-11.4v-9.4c0-18.4-22.2-27.6-35.2-14.6l-32.1 32.1c-2.6 2.6-6.8 2.6-9.4 0l-2.8-2.8c-6.3-6.3-14.8-9.8-23.7-9.8c-10.5 0-20.5 5-26.8 13.4l-10.7 14.3c-2 2.7-5.2 4.3-8.5 4.3c-5.9 0-10.7-4.8-10.7-10.7v-1.6c0-3.3 1.3-6.4 3.6-8.7l18.7-18.7c6.2-6.2 9.7-14.7 9.7-23.5c0-4.3 2.4-8.2 6.2-10.1l59.2-29.6c20.2-10.1 26.9-35.6 14.2-54.3c-8.9-13.2-25.1-19.1-40-15.3l4.5-17.8C394.5 47.5 480 141.8 480 256c0 10.9-.8 21.5-2.3 32zm-7 32c-3.3 11-7.4 21.7-12.3 32H438.6c-10.2 0-20.1-4.1-27.3-11.3l-4-4C396.6 326 382.2 320 367.1 320c-5.9 0-11.7-2.1-16.1-6l-26.6-22.8c-14.5-12.4-33-19.3-52.1-19.3H251.4c-15.8 0-31.2 4.7-44.4 13.4l-27.4 18.3c-22.3 14.8-35.6 39.8-35.6 66.6v3.2c0 21.2 8.4 41.6 23.4 56.6l16 16c11.5 11.5 27.1 17.9 43.3 17.9c11.4 0 21.2 6.5 26.1 16C130.6 478.3 32 378.6 32 256C32 133.8 129.9 34.4 251.5 32l-6.9 27.6c-4.9 19.7 15.4 36.2 33.7 27.3l8.1-3.9c2.4-1.2 5.3-.4 6.8 1.8c1.8 2.7 .8 6.3-2 7.8l-59.2 29.6c-14.7 7.3-23.9 22.3-23.9 38.7c0 .3-.1 .6-.4 .9L189 180.4c-8.3 8.3-13 19.6-13 31.3v1.6c0 23.6 19.1 42.7 42.7 42.7c13.4 0 26.1-6.3 34.1-17.1l10.7-14.3c.3-.4 .7-.6 1.2-.6c.4 0 .8 .2 1.1 .4l2.8 2.8c15.1 15.1 39.6 15.1 54.7 0l15.4-15.4c5.8 15.3 20 26.5 36.9 28c-9.5 17.6-5.6 40 10.3 53.3l15.9 13.2c10.5 8.8 23.8 13.6 37.5 13.6h31.3zm-30.9 64c-35.1 50.3-90.2 85.5-153.8 94c-6.8-26.4-30.8-46-59.3-46c-7.8 0-15.2-3.1-20.7-8.6l-16-16c-9-9-14.1-21.2-14.1-33.9v-3.2c0-16.1 8-31 21.4-39.9l27.4-18.3c7.9-5.3 17.1-8.1 26.6-8.1h20.9c11.5 0 22.5 4.1 31.2 11.6l26.6 22.8c10.3 8.8 23.4 13.7 37 13.7c6.6 0 12.9 2.6 17.5 7.3l4 4c13.2 13.2 31.2 20.7 49.9 20.7h1.2zM256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM187.3 100.7c-6.2-6.2-16.4-6.2-22.6 0l-32 32c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0l32-32c6.2-6.2 6.2-16.4 0-22.6z";t.definition={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.faEarthEurope=t.definition,t.prefix="fal",t.iconName=n,t.width=512,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},40968:function(e,t){"use strict";var n="envelope",r=[128386,9993,61443],o="f0e0",i="M64 96c-17.7 0-32 14.3-32 32v39.9L227.6 311.3c16.9 12.4 39.9 12.4 56.8 0L480 167.9V128c0-17.7-14.3-32-32-32H64zM32 207.6V384c0 17.7 14.3 32 32 32H448c17.7 0 32-14.3 32-32V207.6L303.3 337.1c-28.2 20.6-66.5 20.6-94.6 0L32 207.6zM0 128C0 92.7 28.7 64 64 64H448c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.FU=t.DF},40007:function(e,t){"use strict";var n="euro-sign",r=[8364,"eur","euro"],o="f153",i="M34.3 224c-1.5 10.5-2.3 21.1-2.3 32s.8 21.5 2.3 32H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H41.3C68.8 412.5 154.5 480 256 480h49c8.8 0 16-7.2 16-16s-7.2-16-16-16H256c-83.6 0-154.7-53.4-181.1-128H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H66.7c-1.7-10.4-2.7-21.1-2.7-32s.9-21.6 2.7-32H272c8.8 0 16-7.2 16-16s-7.2-16-16-16H74.9C101.3 117.4 172.4 64 256 64h49c8.8 0 16-7.2 16-16s-7.2-16-16-16H256C154.5 32 68.8 99.5 41.3 192H16c-8.8 0-16 7.2-16 16s7.2 16 16 16H34.3z";t.DF={prefix:"fal",iconName:n,icon:[320,512,r,o,i]},t.QU=t.DF},83061:function(e,t){"use strict";var n="gas-pump",r=[9981],o="f52f",i="M256 32c17.7 0 32 14.3 32 32V192H64V64c0-17.7 14.3-32 32-32H256zm32 192V480H64V224H288zM32 64V480l-16 0c-8.8 0-16 7.2-16 16s7.2 16 16 16H32 64 288h32 16c8.8 0 16-7.2 16-16s-7.2-16-16-16l-16 0V288h16c26.5 0 48 21.5 48 48v48c0 35.3 28.7 64 64 64s64-28.7 64-64V157.1c0-17.9-7.5-35.1-20.8-47.2L410.8 36.2c-6.5-6-16.6-5.5-22.6 1s-5.5 16.6 1 22.6L416 84.4V160c0 35.3 28.7 64 64 64V384c0 17.7-14.3 32-32 32s-32-14.3-32-32V336c0-44.2-35.8-80-80-80H320V64c0-35.3-28.7-64-64-64H96C60.7 0 32 28.7 32 64zM480 192c-17.7 0-32-14.3-32-32V113.7l21.6 19.8c6.6 6.1 10.4 14.6 10.4 23.6V192z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.q1=t.DF},69749:function(e,t,n){"use strict";var r=n(13943);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.bd=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},43022:function(e,t){"use strict";var n="hands-holding-child",r=[],o="e4fa",i="M336 48a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zm-64 0a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 96c-2.9 0-5.7 .2-8.5 .7L307.8 208h24.4l-3.7-63.3c-2.8-.4-5.6-.7-8.5-.7zM304 272.9c-.5 8.8-8.1 15.6-16.9 15s-15.6-8.1-15-16.9l6.4-108.3L251.3 190c-6.2 6.3-16.4 6.3-22.6 0s-6.3-16.4 0-22.6l29.6-29.7C274.6 121.2 296.8 112 320 112s45.4 9.2 61.7 25.6l29.6 29.7c6.2 6.3 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-27.1-27.2L368 271.1c.5 8.8-6.2 16.4-15 16.9s-16.4-6.2-16.9-15L334.1 240H305.9L304 272.9zM64 64c35.3 0 64 28.7 64 64V252.3c0 4.6 .4 9.1 1.3 13.5c2.1-3.2 4.6-6.3 7.4-9.1c21.7-21.7 56.9-21.7 78.6 0L306.6 348c5.1 5.1 9.6 10.6 13.4 16.6c3.8-5.9 8.3-11.5 13.4-16.6l91.3-91.3c21.7-21.7 56.9-21.7 78.6 0c2.8 2.8 5.3 5.9 7.4 9.1c.9-4.4 1.3-8.9 1.3-13.5V128c0-35.3 28.7-64 64-64s64 28.7 64 64V344.2c0 29.7-11.8 58.2-32.8 79.2l-83.9 83.9c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l83.9-83.9c15-15 23.4-35.4 23.4-56.6V128c0-17.7-14.3-32-32-32s-32 14.3-32 32V252.3c0 27.1-10.8 53.1-29.9 72.2l-10.8 10.8-44 44-16 16c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l16-16 0 0 44-44 0 0c9.2-9.2 9.2-24.2 0-33.4s-24.2-9.2-33.4 0L356 370.6c-12.8 12.8-20 30.2-20 48.3V496c0 8.8-7.2 16-16 16s-16-7.2-16-16V418.9c0-18.1-7.2-35.5-20-48.3l-91.3-91.3c-9.2-9.2-24.2-9.2-33.4 0s-9.2 24.2 0 33.4l44 44 16 16c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0l-16-16 0 0-44-44 0 0-10.7-10.8C106.8 305.4 96 279.4 96 252.3V128c0-17.7-14.3-32-32-32s-32 14.3-32 32V344.2c0 21.2 8.4 41.6 23.4 56.6l83.9 83.9c6.2 6.2 6.2 16.4 0 22.6s-16.4 6.2-22.6 0L32.8 423.4C11.8 402.4 0 373.9 0 344.2V128C0 92.7 28.7 64 64 64z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.iZ=t.DF},61026:function(e,t,n){"use strict";var r=n(76123);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.J9=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},97956:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="hospital",r=[127973,62589,"hospital-alt","hospital-wide"],o="f0f8",i="M160 64c0-35.3 28.7-64 64-64H416c35.3 0 64 28.7 64 64V96h96c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H416v0H352 288 224v0H64c-35.3 0-64-28.7-64-64V160c0-35.3 28.7-64 64-64h96V64zM480 336V480h96c17.7 0 32-14.3 32-32V320H528c-8.8 0-16-7.2-16-16s7.2-16 16-16h80V224H528c-8.8 0-16-7.2-16-16s7.2-16 16-16h80V160c0-17.7-14.3-32-32-32H480V336zM160 128H64c-17.7 0-32 14.3-32 32v32h80c8.8 0 16 7.2 16 16s-7.2 16-16 16H32v64h80c8.8 0 16 7.2 16 16s-7.2 16-16 16H32V448c0 17.7 14.3 32 32 32h96V128zM448 336V64c0-17.7-14.3-32-32-32H224c-17.7 0-32 14.3-32 32V480h64V416c0-35.3 28.7-64 64-64s64 28.7 64 64v64h64V336zm-96 80c0-17.7-14.3-32-32-32s-32 14.3-32 32v64h64V416zM304 64h32c13.3 0 24 10.7 24 24v16h16c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H360v16c0 13.3-10.7 24-24 24H304c-13.3 0-24-10.7-24-24V184H264c-13.3 0-24-10.7-24-24V128c0-13.3 10.7-24 24-24h16V88c0-13.3 10.7-24 24-24zm8 56c0 8.8-7.2 16-16 16H272v16h24c8.8 0 16 7.2 16 16v24h16V168c0-8.8 7.2-16 16-16h24V136H344c-8.8 0-16-7.2-16-16V96H312v24z";t.definition={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.faHospital=t.definition,t.prefix="fal",t.iconName=n,t.width=640,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},53197:function(e,t,n){"use strict";var r=n(97956);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.v7=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},76123:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="house",r=[127968,63498,63500,"home","home-alt","home-lg-alt"],o="f015",i="M298.6 4c-6-5.3-15.1-5.3-21.2 0L5.4 244c-6.6 5.8-7.3 16-1.4 22.6s16 7.3 22.6 1.4L64 235V432c0 44.2 35.8 80 80 80H432c44.2 0 80-35.8 80-80V235l37.4 33c6.6 5.8 16.7 5.2 22.6-1.4s5.2-16.7-1.4-22.6L298.6 4zM96 432V206.7L288 37.3 480 206.7V432c0 26.5-21.5 48-48 48H368V320c0-17.7-14.3-32-32-32H240c-17.7 0-32 14.3-32 32V480H144c-26.5 0-48-21.5-48-48zm144 48V320h96V480H240z";t.definition={prefix:"fal",iconName:n,icon:[576,512,r,o,i]},t.faHouse=t.definition,t.prefix="fal",t.iconName=n,t.width=576,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},55356:function(e,t,n){"use strict";var r=n(61889);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.sq=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},93179:function(e,t){"use strict";var n="landmark",r=[127963],o="f66f",i="M263.9 2.1C259-.7 253-.7 248.1 2.1L15.8 133.7C6 139.3 0 149.6 0 160.8C0 178 14 192 31.2 192H480.8c17.2 0 31.2-14 31.2-31.2c0-11.2-6-21.6-15.8-27.1L263.9 2.1zM256 34.4L477.7 160H34.3L256 34.4zM64 352c-8.8 0-16 7.2-16 16s7.2 16 16 16H448c8.8 0 16-7.2 16-16s-7.2-16-16-16V224H416V352H336V224H304V352H208V224H176V352H96V224H64V352zM24 432c0 8.8 7.2 16 16 16H472c8.8 0 16-7.2 16-16s-7.2-16-16-16H40c-8.8 0-16 7.2-16 16zM0 496c0 8.8 7.2 16 16 16H496c8.8 0 16-7.2 16-16s-7.2-16-16-16H16c-8.8 0-16 7.2-16 16z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.wD=t.DF},75476:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="mug-saucer",r=["coffee"],o="f0f4",i="M416 64h16 16V224v32 32c0 35.3-28.7 64-64 64H192c-35.3 0-64-28.7-64-64V64H416zm64 224V256h48c61.9 0 112-50.1 112-112s-50.1-112-112-112H448 432 416 128c-17.7 0-32 14.3-32 32V288c0 53 43 96 96 96H384c53 0 96-43 96-96zm48-64H480V64h48c44.2 0 80 35.8 80 80s-35.8 80-80 80zM16 448c-8.8 0-16 7.2-16 16s7.2 16 16 16H560c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z";t.definition={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.faMugSaucer=t.definition,t.prefix="fal",t.iconName=n,t.width=640,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},86244:function(e,t,n){"use strict";var r=n(22295);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.BQ=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},18702:function(e,t){"use strict";var n="phone",r=[128222,128379],o="f095",i="M375.8 275.2c-16.4-7-35.4-2.4-46.7 11.4l-33.2 40.6c-46-26.7-84.4-65.1-111.1-111.1L225.3 183c13.8-11.3 18.5-30.3 11.4-46.7l-48-112C181.2 6.7 162.3-3.1 143.6 .9l-112 24C13.2 28.8 0 45.1 0 64v0C0 300.7 183.5 494.5 416 510.9c4.5 .3 9.1 .6 13.7 .8c0 0 0 0 0 0c0 0 0 0 .1 0c6.1 .2 12.1 .4 18.3 .4l0 0c18.9 0 35.2-13.2 39.1-31.6l24-112c4-18.7-5.8-37.6-23.4-45.1l-112-48zM447.7 480C218.1 479.8 32 293.7 32 64v0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0c0-3.8 2.6-7 6.3-7.8l112-24c3.7-.8 7.5 1.2 9 4.7l48 112c1.4 3.3 .5 7.1-2.3 9.3l-40.6 33.2c-12.1 9.9-15.3 27.2-7.4 40.8c29.5 50.9 71.9 93.3 122.7 122.7c13.6 7.9 30.9 4.7 40.8-7.4l33.2-40.6c2.3-2.8 6.1-3.7 9.3-2.3l112 48c3.5 1.5 5.5 5.3 4.7 9l-24 112c-.8 3.7-4.1 6.3-7.8 6.3c-.1 0-.2 0-.3 0z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.j1=t.DF},27978:function(e,t){"use strict";var n="plane-departure",r=[128747],o="f5b0",i="M158.7 105.4c11.5-5.2 24.5-5.7 36.4-1.4L375 170c4.2 1.5 8.8 1.3 12.8-.8l88-45c15.8-8.1 33.3-12.3 51-12.3h61c12.7 0 21.1 13.1 15.8 24.6c-15.4 33.4-41.7 60.5-74.6 77L255.6 350.3c-2.2 1.1-4.7 1.7-7.2 1.7H109.3c-4.2 0-8.3-1.7-11.3-4.7L34.1 283.5l23.7-13.6c4.4-2.5 9.8-2.8 14.4-.7l57.2 25.4c4.4 2 9.5 1.8 13.8-.4l115-58.8c5.1-2.6 8.5-7.8 8.7-13.6s-2.6-11.2-7.5-14.3L121.9 122.2l-6.6-14.6 6.6 14.6 36.9-16.8zM206.1 74c-19.7-7.2-41.5-6.4-60.6 2.3L108.6 93.1c-23.3 10.6-25.4 42.8-3.6 56.3l113.5 70.5-83 42.4L85.3 240l-6.1 13.7L85.3 240c-14-6.2-30-5.4-43.3 2.2L18.2 255.7c-18.3 10.5-21.7 35.5-6.8 50.4l63.8 63.8c9 9 21.2 14.1 33.9 14.1H248.4c7.5 0 14.8-1.7 21.5-5.1L543.3 242.2c39.4-19.7 70.9-52.2 89.3-92.2c15.1-32.7-8.8-70-44.8-70h-61c-22.8 0-45.2 5.4-65.5 15.8l-81.8 41.8L206.1 74zM16 480c-8.8 0-16 7.2-16 16s7.2 16 16 16H624c8.8 0 16-7.2 16-16s-7.2-16-16-16H16z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.gR=t.DF},91424:function(e,t){"use strict";var n="school",r=[127979],o="f549",i="M328.9 2.7c-5.4-3.6-12.4-3.6-17.8 0L171.2 96H64C28.7 96 0 124.7 0 160V448c0 35.3 28.7 64 64 64H256h32 64 32H576c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H468.8L328.9 2.7zM384 384c0-35.3-28.7-64-64-64s-64 28.7-64 64v96H64c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32H176c3.2 0 6.2-.9 8.9-2.7L320 35.2l135.1 90.1c2.6 1.8 5.7 2.7 8.9 2.7H576c17.7 0 32 14.3 32 32V448c0 17.7-14.3 32-32 32H384V384zm-32 96H288V384c0-17.7 14.3-32 32-32s32 14.3 32 32v96zM96 192v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32zm64 0v64H128V192h32zm320-32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32H480zm0 32h32v64H480V192zM96 352v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H128c-17.7 0-32 14.3-32 32zm64 0v64H128V352h32zm320-32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32h32c17.7 0 32-14.3 32-32V352c0-17.7-14.3-32-32-32H480zm0 32h32v64H480V352zM320 128a64 64 0 1 1 0 128 64 64 0 1 1 0-128zm0 160a96 96 0 1 0 0-192 96 96 0 1 0 0 192zm16-128c0-8.8-7.2-16-16-16s-16 7.2-16 16v32c0 8.8 7.2 16 16 16h24c8.8 0 16-7.2 16-16s-7.2-16-16-16h-8V160z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.QR=t.DF},90617:function(e,t){"use strict";var n="school-flag",r=[],o="e56e",i="M304 64h80V32H304V64zM272 16c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16V80c0 8.8-7.2 16-16 16H315.5l89.6 64H512c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H352 320 256 224 64c-35.3 0-64-28.7-64-64V224c0-35.3 28.7-64 64-64H170.9L272 87.8V64 16zm48 400c0-17.7-14.3-32-32-32s-32 14.3-32 32v64h64V416zm32 64H512c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32H400c-3.3 0-6.6-1-9.3-3L288 115.7 185.3 189c-2.7 1.9-6 3-9.3 3H64c-17.7 0-32 14.3-32 32V448c0 17.7 14.3 32 32 32H224V416c0-35.3 28.7-64 64-64s64 28.7 64 64v64zM256 240a32 32 0 1 0 64 0 32 32 0 1 0 -64 0zm32 64a64 64 0 1 1 0-128 64 64 0 1 1 0 128zM64 256c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V256zm64 0H96v32h32V256zm320-32h32c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V256c0-17.7 14.3-32 32-32zm0 32v32h32V256H448zM64 384c0-17.7 14.3-32 32-32h32c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V384zm64 0H96v32h32V384zm320-32h32c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H448c-17.7 0-32-14.3-32-32V384c0-17.7 14.3-32 32-32zm0 32v32h32V384H448z";t.DF={prefix:"fal",iconName:n,icon:[576,512,r,o,i]},t.NL=t.DF},1803:function(e,t,n){"use strict";var r=n(5307);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.Di=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},12896:function(e,t,n){"use strict";var r=n(81596);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.Yc=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},88732:function(e,t){"use strict";var n="spinner",r=[],o="f110",i="M256 64a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zm0 480a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM64 256a16 16 0 1 0 -32 0 16 16 0 1 0 32 0zM0 256a48 48 0 1 1 96 0A48 48 0 1 1 0 256zm464 16a16 16 0 1 0 0-32 16 16 0 1 0 0 32zm0-64a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM120.2 391.8A16 16 0 1 0 97.6 414.4a16 16 0 1 0 22.6-22.6zM75 437a48 48 0 1 1 67.9-67.9A48 48 0 1 1 75 437zM97.6 120.2a16 16 0 1 0 22.6-22.6A16 16 0 1 0 97.6 120.2zM142.9 75A48 48 0 1 1 75 142.9 48 48 0 1 1 142.9 75zM414.4 414.4a16 16 0 1 0 -22.6-22.6 16 16 0 1 0 22.6 22.6zm-45.3-45.3A48 48 0 1 1 437 437a48 48 0 1 1 -67.9-67.9z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.LM=t.DF},22295:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="square-parking",r=[127359,"parking"],o="f540",i="M64 64C46.3 64 32 78.3 32 96V416c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H64zM0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM176 288h80c35.3 0 64-28.7 64-64s-28.7-64-64-64H176V288zm80 32H176v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V304 152c0-13.3 10.7-24 24-24h88c53 0 96 43 96 96s-43 96-96 96z";t.definition={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.faSquareParking=t.definition,t.prefix="fal",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},19063:function(e,t,n){"use strict";var r=n(69977);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.LR=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},18129:function(e,t){"use strict";var n="taxi",r=[128662,"cab"],o="f1ba",i="M192 48V64H320V48c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zM160 64V48c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48V64h.4c35.3 0 66.5 23.2 76.6 57l34.3 114.4 .4 1.3C492.6 253.2 512 284.3 512 320v96 16 16 48c0 8.8-7.2 16-16 16s-16-7.2-16-16V448H32v48c0 8.8-7.2 16-16 16s-16-7.2-16-16V448 432 416 320c0-35.7 19.4-66.8 48.3-83.3l.4-1.3L83 121c10.2-33.8 41.3-57 76.6-57h.4zm-.4 32c-21.2 0-39.9 13.9-46 34.2L85.3 224.6c3.5-.4 7.1-.6 10.7-.6H416c3.6 0 7.2 .2 10.7 .6l-28.3-94.4c-6.1-20.3-24.8-34.2-46-34.2H159.6zM74.7 259.9l-.5-.1C49.6 268.7 32 292.3 32 320v96H480V320c0-27.7-17.6-51.3-42.3-60.2l-.5 .1-.1-.3c-6.6-2.3-13.8-3.6-21.2-3.6H96c-7.4 0-14.5 1.3-21.2 3.6l-.1 .3zM80 328a24 24 0 1 1 48 0 24 24 0 1 1 -48 0zm328-24a24 24 0 1 1 0 48 24 24 0 1 1 0-48z";t.DF={prefix:"fal",iconName:n,icon:[512,512,r,o,i]},t.JF=t.DF},26839:function(e,t,n){"use strict";var r=n(1028);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.NB=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},66407:function(e,t,n){"use strict";var r=n(2898);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.nY=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},81492:function(e,t){"use strict";var n="train",r=[128646],o="f238",i="M352 32c35.3 0 64 28.7 64 64V224H32V96c0-35.3 28.7-64 64-64H352zM32 352V256H416v96c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64zM96 0C43 0 0 43 0 96V352c0 46 32.4 84.4 75.6 93.8L36.7 484.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L118.6 448H329.4l59.3 59.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-38.9-38.9C415.6 436.4 448 398 448 352V96c0-53-43-96-96-96H96zM224 368a32 32 0 1 0 0-64 32 32 0 1 0 0 64z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.Dd=t.DF},69977:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="train-subway",r=["subway"],o="f239",i="M208 32l0 192H32V96c0-35.3 28.7-64 64-64H208zm32 0H352c35.3 0 64 28.7 64 64V224H240l0-192zM32 352V256H416v96c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64zM96 0C43 0 0 43 0 96V352c0 46 32.4 84.4 75.6 93.8L36.7 484.7c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L118.6 448H329.4l59.3 59.3c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6l-38.9-38.9C415.6 436.4 448 398 448 352V96c0-53-43-96-96-96H96zm24 352a24 24 0 1 0 0-48 24 24 0 1 0 0 48zm232-24a24 24 0 1 0 -48 0 24 24 0 1 0 48 0z";t.definition={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.faTrainSubway=t.definition,t.prefix="fal",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},96990:function(e,t){"use strict";var n="trash",r=[],o="f1f8",i="M177.7 32h92.5c5.5 0 10.6 2.8 13.6 7.5L299.1 64H148.9l15.3-24.5c2.9-4.7 8.1-7.5 13.6-7.5zM336.9 64L311 22.6C302.2 8.5 286.8 0 270.3 0H177.7C161.2 0 145.8 8.5 137 22.6L111.1 64H64.1 32 16C7.2 64 0 71.2 0 80s7.2 16 16 16H34.3L59.8 452.6C62.1 486.1 90 512 123.6 512H324.4c33.6 0 61.4-25.9 63.8-59.4L413.7 96H432c8.8 0 16-7.2 16-16s-7.2-16-16-16H416 383.9 336.9zm44.8 32L356.3 450.3C355.1 467 341.2 480 324.4 480H123.6c-16.8 0-30.7-13-31.9-29.7L66.4 96H381.6z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.$=t.DF},25085:function(e,t,n){"use strict";var r=n(85478);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.I7=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},85478:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="trash-can",r=[61460,"trash-alt"],o="f2ed",i="M164.2 39.5L148.9 64H299.1L283.8 39.5c-2.9-4.7-8.1-7.5-13.6-7.5H177.7c-5.5 0-10.6 2.8-13.6 7.5zM311 22.6L336.9 64H384h32 16c8.8 0 16 7.2 16 16s-7.2 16-16 16H416V432c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V96H16C7.2 96 0 88.8 0 80s7.2-16 16-16H32 64h47.1L137 22.6C145.8 8.5 161.2 0 177.7 0h92.5c16.6 0 31.9 8.5 40.7 22.6zM64 96V432c0 26.5 21.5 48 48 48H336c26.5 0 48-21.5 48-48V96H64zm80 80V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0V400c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16z";t.definition={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.faTrashCan=t.definition,t.prefix="fal",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},52386:function(e,t){"use strict";var n="trees",r=[],o="f724",i="M167.6 11.9c12.8-15 35.9-15 48.7 0L318.5 131.8c4.1 4.8 6.4 11 6.4 17.4c0 14.8-12 26.8-26.8 26.8H286.1l61.4 67.4c4.5 4.9 7 11.3 7 17.9c0 14.7-11.9 26.6-26.6 26.6H312.7l65.6 84.4C382 377.2 384 383 384 389c0 14.9-12.1 27-27 27H235.1 208v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V416H148.9 27c-14.9 0-27-12.1-27-27c0-6 2-11.8 5.7-16.6L71.3 288H56.2c-14.7 0-26.6-11.9-26.6-26.6c0-6.6 2.5-13 7-17.9L97.9 176H85.9c-14.8 0-26.8-12-26.8-26.8c0-6.4 2.3-12.5 6.4-17.4L167.6 11.9zM235.1 384H346.8L267.4 281.8c-3.7-4.8-4.4-11.4-1.7-16.9s8.3-9 14.4-9h35.7L238 170.8c-4.3-4.7-5.4-11.4-2.8-17.2s8.3-9.5 14.6-9.5h37L192 32.7 97.1 144h37c6.3 0 12.1 3.7 14.6 9.5s1.5 12.6-2.8 17.2L68.3 256H104c6.1 0 11.7 3.5 14.4 9s2 12-1.7 16.9L37.2 384H148.9 176V208c0-8.8 7.2-16 16-16s16 7.2 16 16V384h27.1zM423.5 12.6c12.7-15.4 36.2-15.6 49.1-.4l102 119.7c4.1 4.8 6.4 11 6.4 17.4c0 14.8-12 26.8-26.8 26.8H542.1l61.4 67.4c4.5 4.9 7 11.3 7 17.9c0 14.7-11.9 26.6-26.6 26.6H568.7l65.6 84.4C638 377.2 640 383 640 389c0 14.9-12.1 27-27 27H464v80c0 8.8-7.2 16-16 16s-16-7.2-16-16V400 208c0-8.8 7.2-16 16-16s16 7.2 16 16V384H602.8L523.4 281.8c-3.8-4.8-4.4-11.4-1.7-16.9s8.3-9 14.4-9h35.7L494 170.8c-4.3-4.7-5.4-11.4-2.8-17.2s8.3-9.5 14.6-9.5h37L448.2 32.9 388 106.2c-5.6 6.8-15.7 7.8-22.5 2.2s-7.8-15.7-2.2-22.5l60.2-73.2z";t.DF={prefix:"fal",iconName:n,icon:[640,512,r,o,i]},t.wX=t.DF},60095:function(e,t,n){"use strict";var r=n(84307);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.X7=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},91977:function(e,t,n){"use strict";var r=n(96174);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.bh=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},20271:function(e,t){"use strict";var n="utensils",r=[127860,61685,"cutlery"],o="f2e7",i="M42.6 .2c8.7 1.5 14.6 9.7 13.2 18.4L32.7 157.4c-.4 2.6-.7 5.2-.7 7.9V176c0 26.5 21.5 48 48 48h32 32c26.5 0 48-21.5 48-48V165.3c0-2.6-.2-5.3-.7-7.9L168.2 18.6c-1.5-8.7 4.4-17 13.2-18.4s17 4.4 18.4 13.2l23.1 138.8c.7 4.3 1.1 8.7 1.1 13.2V176c0 44.2-35.8 80-80 80H128V496c0 8.8-7.2 16-16 16s-16-7.2-16-16V256H80c-44.2 0-80-35.8-80-80V165.3c0-4.4 .4-8.8 1.1-13.2L24.2 13.4C25.7 4.7 33.9-1.2 42.6 .2zM88.8 0c8.8 .4 15.6 8 15.2 16.8l-8 160c-.4 8.8-8 15.6-16.8 15.2s-15.6-8-15.2-16.8l8-160C72.5 6.4 80-.4 88.8 0zm46.4 0C144-.4 151.5 6.4 152 15.2l8 160c.4 8.8-6.4 16.3-15.2 16.8s-16.3-6.4-16.8-15.2l-8-160C119.6 8 126.4 .5 135.2 0zM320 176V288c0 17.7 14.3 32 32 32h64V32.2l-.2 .1c-1.7 .4-6.7 1.5-14.3 4.6C391.4 41 379 47.8 367 58.2c-23.2 20.1-47 55.3-47 117.8zM416 0c17.7 0 32 14.3 32 32V320v16 16V496c0 8.8-7.2 16-16 16s-16-7.2-16-16V352H352c-35.3 0-64-28.7-64-64V176C288 32 400 0 416 0z";t.DF={prefix:"fal",iconName:n,icon:[448,512,r,o,i]},t.fk=t.DF},1028:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],o="f00d",i="M324.5 411.1c6.2 6.2 16.4 6.2 22.6 0s6.2-16.4 0-22.6L214.6 256 347.1 123.5c6.2-6.2 6.2-16.4 0-22.6s-16.4-6.2-22.6 0L192 233.4 59.5 100.9c-6.2-6.2-16.4-6.2-22.6 0s-6.2 16.4 0 22.6L169.4 256 36.9 388.5c-6.2 6.2-6.2 16.4 0 22.6s16.4 6.2 22.6 0L192 278.6 324.5 411.1z";t.definition={prefix:"fal",iconName:n,icon:[384,512,r,o,i]},t.faXmark=t.definition,t.prefix="fal",t.iconName=n,t.width=384,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},42519:function(e,t){"use strict";var n="angle-left",r=[8249],o="f104",i="M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 246.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z";t.DF={prefix:"fas",iconName:n,icon:[320,512,r,o,i]},t.Ey=t.DF},64863:function(e,t){"use strict";var n="angle-right",r=[8250],o="f105",i="M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z";t.DF={prefix:"fas",iconName:n,icon:[320,512,r,o,i]},t.yO=t.DF},46598:function(e,t){"use strict";var n="apartment",r=[],o="e468",i="M176 0c-26.5 0-48 21.5-48 48V96H48C21.5 96 0 117.5 0 144V464c0 26.5 21.5 48 48 48h80 32 96V416c0-17.7 14.3-32 32-32s32 14.3 32 32v96h96 32 80c26.5 0 48-21.5 48-48V240c0-26.5-21.5-48-48-48H448V48c0-26.5-21.5-48-48-48H176zM368 320H336c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16zm144 80c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32zM112 320H80c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16zm16 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V368c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32zm112-80H208c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16zM384 80v32c0 8.8-7.2 16-16 16H336c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16zM240 64c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H208c-8.8 0-16-7.2-16-16V80c0-8.8 7.2-16 16-16h32zM384 208c0 8.8-7.2 16-16 16H336c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32zM496 320H464c-8.8 0-16-7.2-16-16V272c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16zM128 208c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32zm112 16H208c-8.8 0-16-7.2-16-16V176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16z";t.DF={prefix:"fas",iconName:n,icon:[576,512,r,o,i]},t.f$=t.DF},61651:function(e,t,n){"use strict";var r=n(59989);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t._o=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},19824:function(e,t){"use strict";var n="arrow-right",r=[8594],o="f061",i="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.eF=t.DF},9743:function(e,t){"use strict";var n="box-archive",r=["archive"],o="f187",i="M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.y3=t.DF},51293:function(e,t){"use strict";var n="bullhorn",r=[128226,128363],o="f0a1",i="M480 32c0-12.9-7.8-24.6-19.8-29.6s-25.7-2.2-34.9 6.9L381.7 53c-48 48-113.1 75-181 75H192 160 64c-35.3 0-64 28.7-64 64v96c0 35.3 28.7 64 64 64l0 128c0 17.7 14.3 32 32 32h64c17.7 0 32-14.3 32-32V352l8.7 0c67.9 0 133 27 181 75l43.6 43.6c9.2 9.2 22.9 11.9 34.9 6.9s19.8-16.6 19.8-29.6V300.4c18.6-8.8 32-32.5 32-60.4s-13.4-51.6-32-60.4V32zm-64 76.7V240 371.3C357.2 317.8 280.5 288 200.7 288H192V192h8.7c79.8 0 156.5-29.8 215.3-83.3z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.Ac=t.DF},23650:function(e,t){"use strict";var n="calendar",r=[128197,128198],o="f133",i="M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.fT=t.DF},903:function(e,t){"use strict";var n="check",r=[10003,10004],o="f00c",i="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.LE=t.DF},31563:function(e,t){"use strict";var n="circle",r=[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],o="f111",i="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.di=t.DF},89540:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="cloud-arrow-down",r=[62337,"cloud-download","cloud-download-alt"],o="f0ed",i="M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z";t.definition={prefix:"fas",iconName:n,icon:[640,512,r,o,i]},t.faCloudArrowDown=t.definition,t.prefix="fas",t.iconName=n,t.width=640,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},2519:function(e,t,n){"use strict";var r=n(89540);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t._m=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},86792:function(e,t){"use strict";var n="compress",r=[],o="f066",i="M160 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H32c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V64zM32 320c-17.7 0-32 14.3-32 32s14.3 32 32 32H96v64c0 17.7 14.3 32 32 32s32-14.3 32-32V352c0-17.7-14.3-32-32-32H32zM352 64c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H352V64zM320 320c-17.7 0-32 14.3-32 32v96c0 17.7 14.3 32 32 32s32-14.3 32-32V384h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H320z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.Qj=t.DF},8352:function(e,t,n){"use strict";var r=n(73539);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.JF=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},89642:function(e,t){"use strict";var n="expand",r=[],o="f065",i="M32 32C14.3 32 0 46.3 0 64v96c0 17.7 14.3 32 32 32s32-14.3 32-32V96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H32zM64 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7 14.3 32 32 32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H64V352zM320 32c-17.7 0-32 14.3-32 32s14.3 32 32 32h64v64c0 17.7 14.3 32 32 32s32-14.3 32-32V64c0-17.7-14.3-32-32-32H320zM448 352c0-17.7-14.3-32-32-32s-32 14.3-32 32v64H320c-17.7 0-32 14.3-32 32s14.3 32 32 32h96c17.7 0 32-14.3 32-32V352z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.TL=t.DF},5094:function(e,t){"use strict";var n=[128065],r="f06e",o="M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z";t.DF={prefix:"fas",iconName:"eye",icon:[576,512,n,r,o]},t.Md=t.DF},73667:function(e,t){"use strict";var n="eye-slash",r=[],o="f070",i="M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c8.4-19.3 10.6-41.4 4.8-63.3c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zM373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5L373 389.9z";t.DF={prefix:"fas",iconName:n,icon:[640,512,r,o,i]},t.Aq=t.DF},34967:function(e,t,n){"use strict";var r=n(98585);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.G8=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},33707:function(e,t){"use strict";var n="file-excel",r=[],o="f1c3",i="M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z";t.DF={prefix:"fas",iconName:n,icon:[384,512,r,o,i]},t.ic=t.DF},72735:function(e,t){"use strict";var n="file-pdf",r=[],o="f1c1",i="M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 144-208 0c-35.3 0-64 28.7-64 64l0 144-48 0c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.gS=t.DF},45935:function(e,t){"use strict";var n="fire",r=[128293],o="f06d",i="M159.3 5.4c7.8-7.3 19.9-7.2 27.7 .1c27.6 25.9 53.5 53.8 77.7 84c11-14.4 23.5-30.1 37-42.9c7.9-7.4 20.1-7.4 28 .1c34.6 33 63.9 76.6 84.5 118c20.3 40.8 33.8 82.5 33.8 111.9C448 404.2 348.2 512 224 512C98.4 512 0 404.1 0 276.5c0-38.4 17.8-85.3 45.4-131.7C73.3 97.7 112.7 48.6 159.3 5.4zM225.7 416c25.3 0 47.7-7 68.8-21c42.1-29.4 53.4-88.2 28.1-134.4c-4.5-9-16-9.6-22.5-2l-25.2 29.3c-6.6 7.6-18.5 7.4-24.7-.5c-16.5-21-46-58.5-62.8-79.8c-6.3-8-18.3-8.1-24.7-.1c-33.8 42.5-50.8 69.3-50.8 99.4C112 375.4 162.6 416 225.7 416z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.Rp=t.DF},93602:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="floppy-disk",r=[128190,128426,"save"],o="f0c7",i="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 288a64 64 0 1 1 0 128 64 64 0 1 1 0-128z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.faFloppyDisk=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},70910:function(e,t){"use strict";var n="house",r=[127968,63498,63500,"home","home-alt","home-lg-alt"],o="f015",i="M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z";t.DF={prefix:"fas",iconName:n,icon:[576,512,r,o,i]},t.wp=t.DF},68266:function(e,t){"use strict";var n="image",r=[],o="f03e",i="M0 96C0 60.7 28.7 32 64 32H448c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96zM323.8 202.5c-4.5-6.6-11.9-10.5-19.8-10.5s-15.4 3.9-19.8 10.5l-87 127.6L170.7 297c-4.6-5.7-11.5-9-18.7-9s-14.2 3.3-18.7 9l-64 80c-5.8 7.2-6.9 17.1-2.9 25.4s12.4 13.6 21.6 13.6h96 32H424c8.9 0 17.1-4.9 21.2-12.8s3.6-17.4-1.4-24.7l-120-176zM112 192a48 48 0 1 0 0-96 48 48 0 1 0 0 96z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.Vm=t.DF},59989:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="left",r=["arrow-alt-left"],o="f355",i="M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l160-160c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 96 184 0c22.1 0 40 17.9 40 40l0 48c0 22.1-17.9 40-40 40l-184 0 0 96c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-160-160z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.faLeft=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},56931:function(e,t){"use strict";var n="lock",r=[128274],o="f023",i="M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.by=t.DF},56930:function(e,t,n){"use strict";var r=n(84500);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.eE=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},56928:function(e,t){"use strict";var n="paper-plane",r=[61913],o="f1d8",i="M498.1 5.6c10.1 7 15.4 19.1 13.5 31.2l-64 416c-1.5 9.7-7.4 18.2-16 23s-18.9 5.4-28 1.6L284 427.7l-68.5 74.1c-8.9 9.7-22.9 12.9-35.2 8.1S160 493.2 160 480V396.4c0-4 1.5-7.8 4.2-10.7L331.8 202.8c5.8-6.3 5.6-16-.4-22s-15.7-6.4-22-.7L106 360.8 17.7 316.6C7.1 311.3 .3 300.7 0 288.9s5.9-22.8 16.1-28.7l448-256c10.7-6.1 23.9-5.5 34 1.4z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.XC=t.DF},92051:function(e,t){"use strict";var n="paperclip",r=[128206],o="f0c6",i="M364.2 83.8c-24.4-24.4-64-24.4-88.4 0l-184 184c-42.1 42.1-42.1 110.3 0 152.4s110.3 42.1 152.4 0l152-152c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-152 152c-64 64-167.6 64-231.6 0s-64-167.6 0-231.6l184-184c46.3-46.3 121.3-46.3 167.6 0s46.3 121.3 0 167.6l-176 176c-28.6 28.6-75 28.6-103.6 0s-28.6-75 0-103.6l144-144c10.9-10.9 28.7-10.9 39.6 0s10.9 28.7 0 39.6l-144 144c-6.7 6.7-6.7 17.7 0 24.4s17.7 6.7 24.4 0l176-176c24.4-24.4 24.4-64 0-88.4z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.Al=t.DF},99956:function(e,t){"use strict";var n="pause",r=[9208],o="f04c",i="M48 64C21.5 64 0 85.5 0 112V400c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48V400c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H240z";t.DF={prefix:"fas",iconName:n,icon:[320,512,r,o,i]},t.XQ=t.DF},50154:function(e,t){"use strict";var n="pen-to-square",r=["edit"],o="f044",i="M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.Y=t.DF},84500:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="person",r=[129485,"male"],o="f183",i="M112 48a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm40 304V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V256.9L59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l58.3-97c17.4-28.9 48.6-46.6 82.3-46.6h29.7c33.7 0 64.9 17.7 82.3 46.6l58.3 97c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9L232 256.9V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V352H152z";t.definition={prefix:"fas",iconName:n,icon:[320,512,r,o,i]},t.faPerson=t.definition,t.prefix="fas",t.iconName=n,t.width=320,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},98585:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="person-dress",r=["female"],o="f182",i="M160 0a48 48 0 1 1 0 96 48 48 0 1 1 0-96zM88 384H70.2c-10.9 0-18.6-10.7-15.2-21.1L93.3 248.1 59.4 304.5c-9.1 15.1-28.8 20-43.9 10.9s-20-28.8-10.9-43.9l53.6-89.2c20.3-33.7 56.7-54.3 96-54.3h11.6c39.3 0 75.7 20.6 96 54.3l53.6 89.2c9.1 15.1 4.2 34.8-10.9 43.9s-34.8 4.2-43.9-10.9l-33.9-56.3L265 362.9c3.5 10.4-4.3 21.1-15.2 21.1H232v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384H152v96c0 17.7-14.3 32-32 32s-32-14.3-32-32V384z";t.definition={prefix:"fas",iconName:n,icon:[320,512,r,o,i]},t.faPersonDress=t.definition,t.prefix="fas",t.iconName=n,t.width=320,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},31587:function(e,t){"use strict";var n="play",r=[9654],o="f04b",i="M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z";t.DF={prefix:"fas",iconName:n,icon:[384,512,r,o,i]},t.zc=t.DF},37518:function(e,t){"use strict";var n="plus",r=[10133,61543,"add"],o="M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,"2b",o]},t.r8=t.DF},22609:function(e,t){"use strict";var n="qrcode",r=[],o="f029",i="M0 80C0 53.5 21.5 32 48 32h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80zM64 96v64h64V96H64zM0 336c0-26.5 21.5-48 48-48h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V336zm64 16v64h64V352H64zM304 32h96c26.5 0 48 21.5 48 48v96c0 26.5-21.5 48-48 48H304c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48zm80 64H320v64h64V96zM256 304c0-8.8 7.2-16 16-16h64c8.8 0 16 7.2 16 16s7.2 16 16 16h32c8.8 0 16-7.2 16-16s7.2-16 16-16s16 7.2 16 16v96c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s-7.2-16-16-16s-16 7.2-16 16v64c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V304zM368 480a16 16 0 1 1 0-32 16 16 0 1 1 0 32zm64 0a16 16 0 1 1 0-32 16 16 0 1 1 0 32z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.rt=t.DF},11717:function(e,t,n){"use strict";var r=n(93602);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.r6=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},53502:function(e,t){"use strict";var n="spinner",r=[],o="f110",i="M304 48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zm0 416a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM48 304a48 48 0 1 0 0-96 48 48 0 1 0 0 96zm464-48a48 48 0 1 0 -96 0 48 48 0 1 0 96 0zM142.9 437A48 48 0 1 0 75 369.1 48 48 0 1 0 142.9 437zm0-294.2A48 48 0 1 0 75 75a48 48 0 1 0 67.9 67.9zM369.1 437A48 48 0 1 0 437 369.1 48 48 0 1 0 369.1 437z";t.DF={prefix:"fas",iconName:n,icon:[512,512,r,o,i]},t.LM=t.DF},73539:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="square-envelope",r=["envelope-square"],o="f199",i="M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM218 271.7L64.2 172.4C66 156.4 79.5 144 96 144H352c16.5 0 30 12.4 31.8 28.4L230 271.7c-1.8 1.2-3.9 1.8-6 1.8s-4.2-.6-6-1.8zm29.4 26.9L384 210.4V336c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V210.4l136.6 88.2c7 4.5 15.1 6.9 23.4 6.9s16.4-2.4 23.4-6.9z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.faSquareEnvelope=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},91022:function(e,t,n){"use strict";var r=n(79066);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.NB=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},9244:function(e,t){"use strict";var n="trash",r=[],o="f1f8",i="M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z";t.DF={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.$=t.DF},34216:function(e,t,n){"use strict";var r=n(16140);t.DF={prefix:r.prefix,iconName:r.iconName,icon:[r.width,r.height,r.aliases,r.unicode,r.svgPathData]},t.I7=t.DF,r.prefix,r.iconName,r.width,r.height,r.aliases,r.unicode,r.svgPathData,r.aliases},16140:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="trash-can",r=[61460,"trash-alt"],o="f2ed",i="M135.2 17.7C140.6 6.8 151.7 0 163.8 0H284.2c12.1 0 23.2 6.8 28.6 17.7L320 32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 96 0 81.7 0 64S14.3 32 32 32h96l7.2-14.3zM32 128H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V128zm96 64c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16V432c0 8.8 7.2 16 16 16s16-7.2 16-16V208c0-8.8-7.2-16-16-16z";t.definition={prefix:"fas",iconName:n,icon:[448,512,r,o,i]},t.faTrashCan=t.definition,t.prefix="fas",t.iconName=n,t.width=448,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},79066:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="xmark",r=[128473,10005,10006,10060,215,"close","multiply","remove","times"],o="f00d",i="M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z";t.definition={prefix:"fas",iconName:n,icon:[384,512,r,o,i]},t.faXmark=t.definition,t.prefix="fas",t.iconName=n,t.width=384,t.height=512,t.ligatures=r,t.unicode=o,t.svgPathData=i,t.aliases=r},99603:function(e,t,n){"use strict";function r(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 o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(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 s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||u(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 c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(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 u(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}function d(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,{G:function(){return Mn}});var f=function(){},p={},h={},m=null,g={mark:f,measure:f};try{"undefined"!=typeof window&&(p=window),"undefined"!=typeof document&&(h=document),"undefined"!=typeof MutationObserver&&(m=MutationObserver),"undefined"!=typeof performance&&(g=performance)}catch(e){}var v,b,y,A,x,C=(p.navigator||{}).userAgent,_=void 0===C?"":C,w=p,k=h,S=m,E=g,B=(w.document,!!k.documentElement&&!!k.head&&"function"==typeof k.addEventListener&&"function"==typeof k.createElement),O=~_.indexOf("MSIE")||~_.indexOf("Trident/"),j="svg-inline--fa",T="data-fa-i2svg",P="data-fa-pseudo-element",M="data-prefix",D="data-icon",R="fontawesome-i2svg",L=["HTML","HEAD","STYLE","SCRIPT"],I=function(){try{return!0}catch(e){return!1}}(),N="classic",F="sharp",z=[N,F];function q(e){return new Proxy(e,{get:function(e,t){return t in e?e[t]:e.classic}})}var U=q((s(v={},N,{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit",fakd:"kit","fa-kit":"kit","fa-kit-duotone":"kit"}),s(v,F,{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"}),v)),H=q((s(b={},N,{solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"}),s(b,F,{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"}),b)),W=q((s(y={},N,{fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"}),s(y,F,{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"}),y)),V=q((s(A={},N,{"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"}),s(A,F,{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"}),A)),Y=/fa(s|r|l|t|d|b|k|ss|sr|sl|st)?[\-\ ]/,Z="fa-layers-text",G=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp|Kit)?.*/i,K=q((s(x={},N,{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"}),s(x,F,{900:"fass",400:"fasr",300:"fasl",100:"fast"}),x)),$=[1,2,3,4,5,6,7,8,9,10],X=$.concat([11,12,13,14,15,16,17,18,19,20]),Q=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],J="duotone-group",ee="swap-opacity",te="primary",ne="secondary",re=new Set;Object.keys(H.classic).map(re.add.bind(re)),Object.keys(H.sharp).map(re.add.bind(re));var oe=[].concat(z,c(re),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",J,ee,te,ne]).concat($.map((function(e){return"".concat(e,"x")}))).concat(X.map((function(e){return"w-".concat(e)}))),ie=w.FontAwesomeConfig||{};if(k&&"function"==typeof k.querySelector){[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=l(e,2),n=t[0],r=t[1],o=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=k.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=o&&(ie[r]=o)}))}var ae={styleDefault:"solid",familyDefault:"classic",cssPrefix:"fa",replacementClass:j,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};ie.familyPrefix&&(ie.cssPrefix=ie.familyPrefix);var se=o(o({},ae),ie);se.autoReplaceSvg||(se.observeMutations=!1);var le={};Object.keys(ae).forEach((function(e){Object.defineProperty(le,e,{enumerable:!0,set:function(t){se[e]=t,ce.forEach((function(e){return e(le)}))},get:function(){return se[e]}})})),Object.defineProperty(le,"familyPrefix",{enumerable:!0,set:function(e){se.cssPrefix=e,ce.forEach((function(e){return e(le)}))},get:function(){return se.cssPrefix}}),w.FontAwesomeConfig=le;var ce=[];var ue=16,de={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function fe(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function pe(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function he(e){return e.classList?pe(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function me(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ge(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ve(e){return e.size!==de.size||e.x!==de.x||e.y!==de.y||e.rotate!==de.rotate||e.flipX||e.flipY}function be(){var e="fa",t=j,n=le.cssPrefix,r=le.replacementClass,o=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0s);\n          animation-delay: var(--fa-animation-delay, 0s);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    -webkit-transition-delay: 0s;\n            transition-delay: 0s;\n    -webkit-transition-duration: 0s;\n            transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||r!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),a=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");o=o.replace(i,".".concat(n,"-")).replace(a,"--".concat(n,"-")).replace(s,".".concat(r))}return o}var ye=!1;function Ae(){le.autoAddCss&&!ye&&(!function(e){if(e&&B){var t=k.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=k.head.childNodes,r=null,o=n.length-1;o>-1;o--){var i=n[o],a=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(a)>-1&&(r=i)}k.head.insertBefore(t,r)}}(be()),ye=!0)}var xe={mixout:function(){return{dom:{css:be,insertCss:Ae}}},hooks:function(){return{beforeDOMElementCreation:function(){Ae()},beforeI2svg:function(){Ae()}}}},Ce=w||{};Ce.___FONT_AWESOME___||(Ce.___FONT_AWESOME___={}),Ce.___FONT_AWESOME___.styles||(Ce.___FONT_AWESOME___.styles={}),Ce.___FONT_AWESOME___.hooks||(Ce.___FONT_AWESOME___.hooks={}),Ce.___FONT_AWESOME___.shims||(Ce.___FONT_AWESOME___.shims=[]);var _e=Ce.___FONT_AWESOME___,we=[],ke=!1;function Se(e){B&&(ke?setTimeout(e,0):we.push(e))}function Ee(e){var t=e.tag,n=e.attributes,r=void 0===n?{}:n,o=e.children,i=void 0===o?[]:o;return"string"==typeof e?me(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(me(e[n]),'" ')}),"").trim()}(r),">").concat(i.map(Ee).join(""),"</").concat(t,">")}function Be(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}B&&((ke=(k.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(k.readyState))||k.addEventListener("DOMContentLoaded",(function e(){k.removeEventListener("DOMContentLoaded",e),ke=1,we.map((function(e){return e()}))})));var Oe=function(e,t,n,r){var o,i,a,s=Object.keys(e),l=s.length,c=void 0!==r?function(e,t){return function(n,r,o,i){return e.call(t,n,r,o,i)}}(t,r):t;for(void 0===n?(o=1,a=e[s[0]]):(o=0,a=n);o<l;o++)a=c(a,e[i=s[o]],i,e);return a};function je(e){var t=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);return 1===t.length?t[0].toString(16):null}function Te(e){return Object.keys(e).reduce((function(t,n){var r=e[n];return!!r.icon?t[r.iconName]=r.icon:t[n]=r,t}),{})}function Pe(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.skipHooks,i=void 0!==r&&r,a=Te(t);"function"!=typeof _e.hooks.addPack||i?_e.styles[e]=o(o({},_e.styles[e]||{}),a):_e.hooks.addPack(e,Te(t)),"fas"===e&&Pe("fa",t)}var Me,De,Re,Le=_e.styles,Ie=_e.shims,Ne=(s(Me={},N,Object.values(W.classic)),s(Me,F,Object.values(W.sharp)),Me),Fe=null,ze={},qe={},Ue={},He={},We={},Ve=(s(De={},N,Object.keys(U.classic)),s(De,F,Object.keys(U.sharp)),De);function Ye(e,t){var n,r=t.split("-"),o=r[0],i=r.slice(1).join("-");return o!==e||""===i||(n=i,~oe.indexOf(n))?null:i}var Ze,Ge=function(){var e=function(e){return Oe(Le,(function(t,n,r){return t[r]=Oe(n,e,{}),t}),{})};ze=e((function(e,t,n){(t[3]&&(e[t[3]]=n),t[2])&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n}));return e})),qe=e((function(e,t,n){(e[n]=n,t[2])&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n}));return e})),We=e((function(e,t,n){var r=t[2];return e[n]=n,r.forEach((function(t){e[t]=n})),e}));var t="far"in Le||le.autoFetchSvg,n=Oe(Ie,(function(e,n){var r=n[0],o=n[1],i=n[2];return"far"!==o||t||(o="fas"),"string"==typeof r&&(e.names[r]={prefix:o,iconName:i}),"number"==typeof r&&(e.unicodes[r.toString(16)]={prefix:o,iconName:i}),e}),{names:{},unicodes:{}});Ue=n.names,He=n.unicodes,Fe=Je(le.styleDefault,{family:le.familyDefault})};function Ke(e,t){return(ze[e]||{})[t]}function $e(e,t){return(We[e]||{})[t]}function Xe(e){return Ue[e]||{prefix:null,iconName:null}}function Qe(){return Fe}Ze=function(e){Fe=Je(e.styleDefault,{family:le.familyDefault})},ce.push(Ze),Ge();function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.family,r=void 0===n?N:n,o=U[r][e],i=H[r][e]||H[r][o],a=e in _e.styles?e:null;return i||a||null}var et=(s(Re={},N,Object.keys(W.classic)),s(Re,F,Object.keys(W.sharp)),Re);function tt(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.skipLookups,o=void 0!==r&&r,i=(s(t={},N,"".concat(le.cssPrefix,"-").concat(N)),s(t,F,"".concat(le.cssPrefix,"-").concat(F)),t),a=null,l=N;(e.includes(i.classic)||e.some((function(e){return et.classic.includes(e)})))&&(l=N),(e.includes(i.sharp)||e.some((function(e){return et.sharp.includes(e)})))&&(l=F);var c=e.reduce((function(e,t){var n=Ye(le.cssPrefix,t);if(Le[t]?(t=Ne[l].includes(t)?V[l][t]:t,a=t,e.prefix=t):Ve[l].indexOf(t)>-1?(a=t,e.prefix=Je(t,{family:l})):n?e.iconName=n:t!==le.replacementClass&&t!==i.classic&&t!==i.sharp&&e.rest.push(t),!o&&e.prefix&&e.iconName){var r="fa"===a?Xe(e.iconName):{},s=$e(e.prefix,e.iconName);r.prefix&&(a=null),e.iconName=r.iconName||s||e.iconName,e.prefix=r.prefix||e.prefix,"far"!==e.prefix||Le.far||!Le.fas||le.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return(e.includes("fa-brands")||e.includes("fab"))&&(c.prefix="fab"),(e.includes("fa-duotone")||e.includes("fad"))&&(c.prefix="fad"),c.prefix||l!==F||!Le.fass&&!le.autoFetchSvg||(c.prefix="fass",c.iconName=$e(c.prefix,c.iconName)||c.iconName),"fa"!==c.prefix&&"fa"!==a||(c.prefix=Qe()||"fas"),c}var nt=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n,r;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.reduce(this._pullDefinitions,{});Object.keys(i).forEach((function(t){e.definitions[t]=o(o({},e.definitions[t]||{}),i[t]),Pe(t,i[t]);var n=W.classic[t];n&&Pe(n,i[t]),Ge()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var r=n[t],o=r.prefix,i=r.iconName,a=r.icon,s=a[2];e[o]||(e[o]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[o][t]=a)})),e[o][i]=a})),e}}],n&&a(t.prototype,n),r&&a(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),rt=[],ot={},it={},at=Object.keys(it);function st(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=ot[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(r))})),t}function lt(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=ot[e]||[];o.forEach((function(e){e.apply(null,n)}))}function ct(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return it[e]?it[e].apply(null,t):void 0}function ut(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Qe();if(t)return t=$e(n,t)||t,Be(dt.definitions,n,t)||Be(_e.styles,n,t)}var dt=new nt,ft={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return B?(lt("beforeI2svg",e),ct("pseudoElements2svg",e),ct("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===le.autoReplaceSvg&&(le.autoReplaceSvg=!0),le.observeMutations=!0,Se((function(){ht({autoReplaceSvgRoot:t}),lt("watch",e)}))}},pt={noAuto:function(){le.autoReplaceSvg=!1,le.observeMutations=!1,lt("noAuto")},config:le,dom:ft,parse:{icon:function(e){if(null===e)return null;if("object"===i(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:$e(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Je(e[0]);return{prefix:n,iconName:$e(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(le.cssPrefix,"-"))>-1||e.match(Y))){var r=tt(e.split(" "),{skipLookups:!0});return{prefix:r.prefix||Qe(),iconName:$e(r.prefix,r.iconName)||r.iconName}}if("string"==typeof e){var o=Qe();return{prefix:o,iconName:$e(o,e)||e}}}},library:dt,findIconDefinition:ut,toHtml:Ee},ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?k:t;(Object.keys(_e.styles).length>0||le.autoFetchSvg)&&B&&le.autoReplaceSvg&&pt.dom.i2svg({node:n})};function mt(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return Ee(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(B){var t=k.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function gt(e){var t=e.icons,n=t.main,r=t.mask,i=e.prefix,a=e.iconName,s=e.transform,l=e.symbol,c=e.title,u=e.maskId,d=e.titleId,f=e.extra,p=e.watchable,h=void 0!==p&&p,m=r.found?r:n,g=m.width,v=m.height,b="fak"===i,y=[le.replacementClass,a?"".concat(le.cssPrefix,"-").concat(a):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),A={children:[],attributes:o(o({},f.attributes),{},{"data-prefix":i,"data-icon":a,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(v)})},x=b&&!~f.classes.indexOf("fa-fw")?{width:"".concat(g/v*16*.0625,"em")}:{};h&&(A.attributes[T]=""),c&&(A.children.push({tag:"title",attributes:{id:A.attributes["aria-labelledby"]||"title-".concat(d||fe())},children:[c]}),delete A.attributes.title);var C=o(o({},A),{},{prefix:i,iconName:a,main:n,mask:r,maskId:u,transform:s,symbol:l,styles:o(o({},x),f.styles)}),_=r.found&&n.found?ct("generateAbstractMask",C)||{children:[],attributes:{}}:ct("generateAbstractIcon",C)||{children:[],attributes:{}},w=_.children,k=_.attributes;return C.children=w,C.attributes=k,l?function(e){var t=e.prefix,n=e.iconName,r=e.children,i=e.attributes,a=e.symbol,s=!0===a?"".concat(t,"-").concat(le.cssPrefix,"-").concat(n):a;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:o(o({},i),{},{id:s}),children:r}]}]}(C):function(e){var t=e.children,n=e.main,r=e.mask,i=e.attributes,a=e.styles,s=e.transform;if(ve(s)&&n.found&&!r.found){var l={x:n.width/n.height/2,y:.5};i.style=ge(o(o({},a),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:i,children:t}]}(C)}function vt(e){var t=e.content,n=e.width,r=e.height,i=e.transform,a=e.title,s=e.extra,l=e.watchable,c=void 0!==l&&l,u=o(o(o({},s.attributes),a?{title:a}:{}),{},{class:s.classes.join(" ")});c&&(u[T]="");var d=o({},s.styles);ve(i)&&(d.transform=function(e){var t=e.transform,n=e.width,r=void 0===n?16:n,o=e.height,i=void 0===o?16:o,a=e.startCentered,s=void 0!==a&&a,l="";return l+=s&&O?"translate(".concat(t.x/ue-r/2,"em, ").concat(t.y/ue-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/ue,"em), calc(-50% + ").concat(t.y/ue,"em)) "):"translate(".concat(t.x/ue,"em, ").concat(t.y/ue,"em) "),l+="scale(".concat(t.size/ue*(t.flipX?-1:1),", ").concat(t.size/ue*(t.flipY?-1:1),") "),l+"rotate(".concat(t.rotate,"deg) ")}({transform:i,startCentered:!0,width:n,height:r}),d["-webkit-transform"]=d.transform);var f=ge(d);f.length>0&&(u.style=f);var p=[];return p.push({tag:"span",attributes:u,children:[t]}),a&&p.push({tag:"span",attributes:{class:"sr-only"},children:[a]}),p}function bt(e){var t=e.content,n=e.title,r=e.extra,i=o(o(o({},r.attributes),n?{title:n}:{}),{},{class:r.classes.join(" ")}),a=ge(r.styles);a.length>0&&(i.style=a);var s=[];return s.push({tag:"span",attributes:i,children:[t]}),n&&s.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),s}var yt=_e.styles;function At(e){var t=e[0],n=e[1],r=l(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(r)?{tag:"g",attributes:{class:"".concat(le.cssPrefix,"-").concat(J)},children:[{tag:"path",attributes:{class:"".concat(le.cssPrefix,"-").concat(ne),fill:"currentColor",d:r[0]}},{tag:"path",attributes:{class:"".concat(le.cssPrefix,"-").concat(te),fill:"currentColor",d:r[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:r}}}}var xt={found:!1,width:512,height:512};function Ct(e,t){var n=t;return"fa"===t&&null!==le.styleDefault&&(t=Qe()),new Promise((function(r,i){ct("missingIconAbstract");if("fa"===n){var a=Xe(e)||{};e=a.iconName||e,t=a.prefix||t}if(e&&t&&yt[t]&&yt[t][e])return r(At(yt[t][e]));!function(e,t){I||le.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),r(o(o({},xt),{},{icon:le.showMissingIcons&&e&&ct("missingIconAbstract")||{}}))}))}var _t=function(){},wt=le.measurePerformance&&E&&E.mark&&E.measure?E:{mark:_t,measure:_t},kt='FA "6.5.1"',St=function(e){wt.mark("".concat(kt," ").concat(e," ends")),wt.measure("".concat(kt," ").concat(e),"".concat(kt," ").concat(e," begins"),"".concat(kt," ").concat(e," ends"))},Et=function(e){return wt.mark("".concat(kt," ").concat(e," begins")),function(){return St(e)}},Bt=function(){};function Ot(e){return"string"==typeof(e.getAttribute?e.getAttribute(T):null)}function jt(e){return k.createElementNS("http://www.w3.org/2000/svg",e)}function Tt(e){return k.createElement(e)}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,r=void 0===n?"svg"===e.tag?jt:Tt:n;if("string"==typeof e)return k.createTextNode(e);var o=r(e.tag);Object.keys(e.attributes||[]).forEach((function(t){o.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){o.appendChild(Pt(e,{ceFn:r}))})),o}var Mt={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(Pt(e),t)})),null===t.getAttribute(T)&&le.keepOriginalSource){var n=k.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~he(t).indexOf(le.replacementClass))return Mt.replace(e);var r=new RegExp("".concat(le.cssPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var o=n[0].attributes.class.split(" ").reduce((function(e,t){return t===le.replacementClass||t.match(r)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=o.toSvg.join(" "),0===o.toNode.length?t.removeAttribute("class"):t.setAttribute("class",o.toNode.join(" "))}var i=n.map((function(e){return Ee(e)})).join("\n");t.setAttribute(T,""),t.innerHTML=i}};function Dt(e){e()}function Rt(e,t){var n="function"==typeof t?t:Bt;if(0===e.length)n();else{var r=Dt;"async"===le.mutateApproach&&(r=w.requestAnimationFrame||Dt),r((function(){var t=!0===le.autoReplaceSvg?Mt.replace:Mt[le.autoReplaceSvg]||Mt.replace,r=Et("mutate");e.map(t),r(),n()}))}}var Lt=!1;function It(){Lt=!0}function Nt(){Lt=!1}var Ft=null;function zt(e){if(S&&le.observeMutations){var t=e.treeCallback,n=void 0===t?Bt:t,r=e.nodeCallback,o=void 0===r?Bt:r,i=e.pseudoElementsCallback,a=void 0===i?Bt:i,s=e.observeMutationsRoot,l=void 0===s?k:s;Ft=new S((function(e){if(!Lt){var t=Qe();pe(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!Ot(e.addedNodes[0])&&(le.searchPseudoElements&&a(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&le.searchPseudoElements&&a(e.target.parentNode),"attributes"===e.type&&Ot(e.target)&&~Q.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(M):null,n=e.getAttribute?e.getAttribute(D):null;return t&&n}(e.target)){var r=tt(he(e.target)),i=r.prefix,s=r.iconName;e.target.setAttribute(M,i||t),s&&e.target.setAttribute(D,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(le.replacementClass)&&o(e.target);var l}))}})),B&&Ft.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function qt(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),r=n[0],o=n.slice(1);return r&&o.length>0&&(e[r]=o.join(":").trim()),e}),{})),n}function Ut(e){var t=e.getAttribute("data-prefix"),n=e.getAttribute("data-icon"),r=void 0!==e.innerText?e.innerText.trim():"",o=tt(he(e));return o.prefix||(o.prefix=Qe()),t&&n&&(o.prefix=t,o.iconName=n),o.iconName&&o.prefix||(o.prefix&&r.length>0&&(o.iconName=function(e,t){return(qe[e]||{})[t]}(o.prefix,e.innerText)||Ke(o.prefix,je(e.innerText))),!o.iconName&&le.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(o.iconName=e.firstChild.data)),o}function Ht(e){var t=pe(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),r=e.getAttribute("data-fa-title-id");return le.autoA11y&&(n?t["aria-labelledby"]="".concat(le.replacementClass,"-title-").concat(r||fe()):(t["aria-hidden"]="true",t.focusable="false")),t}function Wt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Ut(e),r=n.iconName,i=n.prefix,a=n.rest,s=Ht(e),l=st("parseNodeAttributes",{},e),c=t.styleParser?qt(e):[];return o({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:i,transform:de,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:c,attributes:s}},l)}var Vt=_e.styles;function Yt(e){var t="nest"===le.autoReplaceSvg?Wt(e,{styleParser:!1}):Wt(e);return~t.extra.classes.indexOf(Z)?ct("generateLayersText",e,t):ct("generateSvgReplacementMutation",e,t)}var Zt=new Set;function Gt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!B)return Promise.resolve();var n=k.documentElement.classList,r=function(e){return n.add("".concat(R,"-").concat(e))},o=function(e){return n.remove("".concat(R,"-").concat(e))},i=le.autoFetchSvg?Zt:z.map((function(e){return"fa-".concat(e)})).concat(Object.keys(Vt));i.includes("fa")||i.push("fa");var a=[".".concat(Z,":not([").concat(T,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(T,"])")}))).join(", ");if(0===a.length)return Promise.resolve();var s=[];try{s=pe(e.querySelectorAll(a))}catch(e){}if(!(s.length>0))return Promise.resolve();r("pending"),o("complete");var l=Et("onTree"),c=s.reduce((function(e,t){try{var n=Yt(t);n&&e.push(n)}catch(e){I||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){Rt(n,(function(){r("active"),r("complete"),o("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function Kt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Yt(e).then((function(e){e&&Rt([e],t)}))}z.map((function(e){Zt.add("fa-".concat(e))})),Object.keys(U.classic).map(Zt.add.bind(Zt)),Object.keys(U.sharp).map(Zt.add.bind(Zt)),Zt=c(Zt);var $t=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?de:n,i=t.symbol,a=void 0!==i&&i,s=t.mask,l=void 0===s?null:s,c=t.maskId,u=void 0===c?null:c,d=t.title,f=void 0===d?null:d,p=t.titleId,h=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,v=t.attributes,b=void 0===v?{}:v,y=t.styles,A=void 0===y?{}:y;if(e){var x=e.prefix,C=e.iconName,_=e.icon;return mt(o({type:"icon"},e),(function(){return lt("beforeDOMElementCreation",{iconDefinition:e,params:t}),le.autoA11y&&(f?b["aria-labelledby"]="".concat(le.replacementClass,"-title-").concat(h||fe()):(b["aria-hidden"]="true",b.focusable="false")),gt({icons:{main:At(_),mask:l?At(l.icon):{found:!1,width:null,height:null,icon:{}}},prefix:x,iconName:C,transform:o(o({},de),r),symbol:a,title:f,maskId:u,titleId:h,extra:{attributes:b,styles:A,classes:g}})}))}},Xt={mixout:function(){return{icon:(e=$t,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(t||{}).icon?t:ut(t||{}),i=n.mask;return i&&(i=(i||{}).icon?i:ut(i||{})),e(r,o(o({},n),{},{mask:i}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=Gt,e.nodeCallback=Kt,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?k:t,r=e.callback;return Gt(n,void 0===r?function(){}:r)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,r=t.title,o=t.titleId,i=t.prefix,a=t.transform,s=t.symbol,c=t.mask,u=t.maskId,d=t.extra;return new Promise((function(t,f){Promise.all([Ct(n,i),c.iconName?Ct(c.iconName,c.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(c){var f=l(c,2),p=f[0],h=f[1];t([e,gt({icons:{main:p,mask:h},prefix:i,iconName:n,transform:a,symbol:s,maskId:u,title:r,titleId:o,extra:d,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,r=e.attributes,o=e.main,i=e.transform,a=ge(e.styles);return a.length>0&&(r.style=a),ve(i)&&(t=ct("generateAbstractTransformGrouping",{main:o,transform:i,containerWidth:o.width,iconWidth:o.width})),n.push(t||o.icon),{children:n,attributes:r}}}},Qt={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,r=void 0===n?[]:n;return mt({type:"layer"},(function(){lt("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(le.cssPrefix,"-layers")].concat(c(r)).join(" ")},children:n}]}))}}}},Jt={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,r=void 0===n?null:n,o=t.classes,i=void 0===o?[]:o,a=t.attributes,s=void 0===a?{}:a,l=t.styles,u=void 0===l?{}:l;return mt({type:"counter",content:e},(function(){return lt("beforeDOMElementCreation",{content:e,params:t}),bt({content:e.toString(),title:r,extra:{attributes:s,styles:u,classes:["".concat(le.cssPrefix,"-layers-counter")].concat(c(i))}})}))}}}},en={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,r=void 0===n?de:n,i=t.title,a=void 0===i?null:i,s=t.classes,l=void 0===s?[]:s,u=t.attributes,d=void 0===u?{}:u,f=t.styles,p=void 0===f?{}:f;return mt({type:"text",content:e},(function(){return lt("beforeDOMElementCreation",{content:e,params:t}),vt({content:e,transform:o(o({},de),r),title:a,extra:{attributes:d,styles:p,classes:["".concat(le.cssPrefix,"-layers-text")].concat(c(l))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,r=t.transform,o=t.extra,i=null,a=null;if(O){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();i=l.width/s,a=l.height/s}return le.autoA11y&&!n&&(o.attributes["aria-hidden"]="true"),Promise.resolve([e,vt({content:e.innerHTML,width:i,height:a,transform:r,title:n,extra:o,watchable:!0})])}}},tn=new RegExp('"',"ug"),nn=[1105920,1112319];function rn(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(r,i){if(null!==e.getAttribute(n))return r();var a,s,l,c=pe(e.children).filter((function(e){return e.getAttribute(P)===t}))[0],u=w.getComputedStyle(e,t),d=u.getPropertyValue("font-family").match(G),f=u.getPropertyValue("font-weight"),p=u.getPropertyValue("content");if(c&&!d)return e.removeChild(c),r();if(d&&"none"!==p&&""!==p){var h=u.getPropertyValue("content"),m=~["Sharp"].indexOf(d[2])?F:N,g=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(d[2])?H[m][d[2].toLowerCase()]:K[m][f],v=function(e){var t,n,r,o,i,a=e.replace(tn,""),s=(n=0,o=(t=a).length,(i=t.charCodeAt(n))>=55296&&i<=56319&&o>n+1&&(r=t.charCodeAt(n+1))>=56320&&r<=57343?1024*(i-55296)+r-56320+65536:i),l=s>=nn[0]&&s<=nn[1],c=2===a.length&&a[0]===a[1];return{value:je(c?a[0]:a),isSecondary:l||c}}(h),b=v.value,y=v.isSecondary,A=d[0].startsWith("FontAwesome"),x=Ke(g,b),C=x;if(A){var _=(s=He[a=b],l=Ke("fas",a),s||(l?{prefix:"fas",iconName:l}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(x=_.iconName,g=_.prefix)}if(!x||y||c&&c.getAttribute(M)===g&&c.getAttribute(D)===C)r();else{e.setAttribute(n,C),c&&e.removeChild(c);var S={iconName:null,title:null,titleId:null,prefix:null,transform:de,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},E=S.extra;E.attributes[P]=t,Ct(x,g).then((function(i){var a=gt(o(o({},S),{},{icons:{main:i,mask:{prefix:null,iconName:null,rest:[]}},prefix:g,iconName:C,extra:E,watchable:!0})),s=k.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===t?e.insertBefore(s,e.firstChild):e.appendChild(s),s.outerHTML=a.map((function(e){return Ee(e)})).join("\n"),e.removeAttribute(n),r()})).catch(i)}}else r()}))}function on(e){return Promise.all([rn(e,"::before"),rn(e,"::after")])}function an(e){return!(e.parentNode===document.head||~L.indexOf(e.tagName.toUpperCase())||e.getAttribute(P)||e.parentNode&&"svg"===e.parentNode.tagName)}function sn(e){if(B)return new Promise((function(t,n){var r=pe(e.querySelectorAll("*")).filter(an).map(on),o=Et("searchPseudoElements");It(),Promise.all(r).then((function(){o(),Nt(),t()})).catch((function(){o(),Nt(),n()}))}))}var ln=!1,cn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),r=n[0],o=n.slice(1).join("-");if(r&&"h"===o)return e.flipX=!0,e;if(r&&"v"===o)return e.flipY=!0,e;if(o=parseFloat(o),isNaN(o))return e;switch(r){case"grow":e.size=e.size+o;break;case"shrink":e.size=e.size-o;break;case"left":e.x=e.x-o;break;case"right":e.x=e.x+o;break;case"up":e.y=e.y-o;break;case"down":e.y=e.y+o;break;case"rotate":e.rotate=e.rotate+o}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},un={mixout:function(){return{parse:{transform:function(e){return cn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=cn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,r=e.containerWidth,i=e.iconWidth,a={transform:"translate(".concat(r/2," 256)")},s="translate(".concat(32*n.x,", ").concat(32*n.y,") "),l="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),c="rotate(".concat(n.rotate," 0 0)"),u={outer:a,inner:{transform:"".concat(s," ").concat(l," ").concat(c)},path:{transform:"translate(".concat(i/2*-1," -256)")}};return{tag:"g",attributes:o({},u.outer),children:[{tag:"g",attributes:o({},u.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:o(o({},t.icon.attributes),u.path)}]}]}}}},dn={x:0,y:0,width:"100%",height:"100%"};function fn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var pn={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),r=n?tt(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return r.prefix||(r.prefix=Qe()),e.mask=r,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,r=e.attributes,i=e.main,a=e.mask,s=e.maskId,l=e.transform,c=i.width,u=i.icon,d=a.width,f=a.icon,p=function(e){var t=e.transform,n=e.containerWidth,r=e.iconWidth,o={transform:"translate(".concat(n/2," 256)")},i="translate(".concat(32*t.x,", ").concat(32*t.y,") "),a="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),s="rotate(".concat(t.rotate," 0 0)");return{outer:o,inner:{transform:"".concat(i," ").concat(a," ").concat(s)},path:{transform:"translate(".concat(r/2*-1," -256)")}}}({transform:l,containerWidth:d,iconWidth:c}),h={tag:"rect",attributes:o(o({},dn),{},{fill:"white"})},m=u.children?{children:u.children.map(fn)}:{},g={tag:"g",attributes:o({},p.inner),children:[fn(o({tag:u.tag,attributes:o(o({},u.attributes),p.path)},m))]},v={tag:"g",attributes:o({},p.outer),children:[g]},b="mask-".concat(s||fe()),y="clip-".concat(s||fe()),A={tag:"mask",attributes:o(o({},dn),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,v]},x={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},A]};return n.push(x,{tag:"rect",attributes:o({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(b,")")},dn)}),{children:n,attributes:r}}}},hn={provides:function(e){var t=!1;w.matchMedia&&(t=w.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},r={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:o(o({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var i=o(o({},r),{},{attributeName:"opacity"}),a={tag:"circle",attributes:o(o({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||a.children.push({tag:"animate",attributes:o(o({},r),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:o(o({},i),{},{values:"1;0;1;1;0;1;"})}),e.push(a),e.push({tag:"path",attributes:o(o({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:o(o({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:o(o({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:o(o({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};!function(e,t){var n=t.mixoutsTo;rt=e,ot={},Object.keys(it).forEach((function(e){-1===at.indexOf(e)&&delete it[e]})),rt.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(n[e]=t[e]),"object"===i(t[e])&&Object.keys(t[e]).forEach((function(r){n[e]||(n[e]={}),n[e][r]=t[e][r]}))})),e.hooks){var r=e.hooks();Object.keys(r).forEach((function(e){ot[e]||(ot[e]=[]),ot[e].push(r[e])}))}e.provides&&e.provides(it)}))}([xe,Xt,Qt,Jt,en,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=sn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?k:t;le.searchPseudoElements&&sn(n)}}},{mixout:function(){return{dom:{unwatch:function(){It(),ln=!0}}}},hooks:function(){return{bootstrap:function(){zt(st("mutationObserverCallbacks",{}))},noAuto:function(){Ft&&Ft.disconnect()},watch:function(e){var t=e.observeMutationsRoot;ln?Nt():zt(st("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},un,pn,hn,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),r=null!==n&&(""===n||n);return e.symbol=r,e}}}}],{mixoutsTo:pt});var mn=pt.parse,gn=pt.icon,vn=n(45697),bn=n.n(vn),yn=n(67294);function An(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 xn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?An(Object(n),!0).forEach((function(t){_n(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):An(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Cn(e){return Cn="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},Cn(e)}function _n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wn(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 kn(e){return function(e){if(Array.isArray(e))return Sn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Sn(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 Sn(e,t)}(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 Sn(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 En(e){return t=e,(t-=0)==t?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1);var t}var Bn=["style"];function On(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,r=t.indexOf(":"),o=En(t.slice(0,r)),i=t.slice(r+1).trim();return o.startsWith("webkit")?e[(n=o,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[o]=i,e}),{})}var jn=!1;try{jn=!0}catch(e){}function Tn(e){return e&&"object"===Cn(e)&&e.prefix&&e.iconName&&e.icon?e:mn.icon?mn.icon(e):null===e?null:e&&"object"===Cn(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function Pn(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?_n({},e,t):{}}var Mn=yn.forwardRef((function(e,t){var n=e.icon,r=e.mask,o=e.symbol,i=e.className,a=e.title,s=e.titleId,l=e.maskId,c=Tn(n),u=Pn("classes",[].concat(kn(function(e){var t,n=e.beat,r=e.fade,o=e.beatFade,i=e.bounce,a=e.shake,s=e.flash,l=e.spin,c=e.spinPulse,u=e.spinReverse,d=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,m=e.listItem,g=e.flip,v=e.size,b=e.rotation,y=e.pull,A=(_n(t={"fa-beat":n,"fa-fade":r,"fa-beat-fade":o,"fa-bounce":i,"fa-shake":a,"fa-flash":s,"fa-spin":l,"fa-spin-reverse":u,"fa-spin-pulse":c,"fa-pulse":d,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":m,"fa-flip":!0===g,"fa-flip-horizontal":"horizontal"===g||"both"===g,"fa-flip-vertical":"vertical"===g||"both"===g},"fa-".concat(v),null!=v),_n(t,"fa-rotate-".concat(b),null!=b&&0!==b),_n(t,"fa-pull-".concat(y),null!=y),_n(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(A).map((function(e){return A[e]?e:null})).filter((function(e){return e}))}(e)),kn(i.split(" ")))),d=Pn("transform","string"==typeof e.transform?mn.transform(e.transform):e.transform),f=Pn("mask",Tn(r)),p=gn(c,xn(xn(xn(xn({},u),d),f),{},{symbol:o,title:a,titleId:s,maskId:l}));if(!p)return function(){var e;!jn&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var h=p.abstract,m={ref:t};return Object.keys(e).forEach((function(t){Mn.defaultProps.hasOwnProperty(t)||(m[t]=e[t])})),Dn(h[0],m)}));Mn.displayName="FontAwesomeIcon",Mn.propTypes={beat:bn().bool,border:bn().bool,beatFade:bn().bool,bounce:bn().bool,className:bn().string,fade:bn().bool,flash:bn().bool,mask:bn().oneOfType([bn().object,bn().array,bn().string]),maskId:bn().string,fixedWidth:bn().bool,inverse:bn().bool,flip:bn().oneOf([!0,!1,"horizontal","vertical","both"]),icon:bn().oneOfType([bn().object,bn().array,bn().string]),listItem:bn().bool,pull:bn().oneOf(["right","left"]),pulse:bn().bool,rotation:bn().oneOf([0,90,180,270]),shake:bn().bool,size:bn().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:bn().bool,spinPulse:bn().bool,spinReverse:bn().bool,symbol:bn().oneOfType([bn().bool,bn().string]),title:bn().string,titleId:bn().string,transform:bn().oneOfType([bn().string,bn().object]),swapOpacity:bn().bool},Mn.defaultProps={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1};var Dn=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var o=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var r=n.attributes[t];switch(t){case"class":e.attrs.className=r,delete n.attributes.class;break;case"style":e.attrs.style=On(r);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=r:e.attrs[En(t)]=r}return e}),{attrs:{}}),a=r.style,s=void 0===a?{}:a,l=wn(r,Bn);return i.attrs.style=xn(xn({},i.attrs.style),s),t.apply(void 0,[n.tag,xn(xn({},i.attrs),l)].concat(kn(o)))}.bind(null,yn.createElement)},15897:function(e,t,n){"use strict";t.__esModule=!0;var r=n(67294),o=(a(r),a(n(45697))),i=a(n(47815));a(n(42473));function a(e){return e&&e.__esModule?e:{default:e}}function s(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)}var u=1073741823;function d(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}t.default=function(e,t){var n,a,f="__create-react-context-"+(0,i.default)()+"__",p=function(e){function n(){var t,r;s(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return t=r=l(this,e.call.apply(e,[this].concat(i))),r.emitter=d(r.props.value),l(r,t)}return c(n,e),n.prototype.getChildContext=function(){var e;return(e={})[f]=this.emitter,e},n.prototype.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n=this.props.value,r=e.value,o=void 0;!function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(n,r)?(o="function"==typeof t?t(n,r):u,0!==(o|=0)&&this.emitter.set(e.value,o)):o=0}},n.prototype.render=function(){return this.props.children},n}(r.Component);p.childContextTypes=((n={})[f]=o.default.object.isRequired,n);var h=function(t){function n(){var e,r;s(this,n);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=r=l(this,t.call.apply(t,[this].concat(i))),r.state={value:r.getValue()},r.onUpdate=function(e,t){0!=((0|r.observedBits)&t)&&r.setState({value:r.getValue()})},l(r,e)}return c(n,t),n.prototype.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?u:t},n.prototype.componentDidMount=function(){this.context[f]&&this.context[f].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?u:e},n.prototype.componentWillUnmount=function(){this.context[f]&&this.context[f].off(this.onUpdate)},n.prototype.getValue=function(){return this.context[f]?this.context[f].get():e},n.prototype.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(r.Component);return h.contextTypes=((a={})[f]=o.default.object,a),{Provider:p,Consumer:h}},e.exports=t.default},88740:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(67294)),o=i(n(15897));function i(e){return e&&e.__esModule?e:{default:e}}t.default=r.default.createContext||o.default,e.exports=t.default},58166:function(e,t,n){"use strict";n.d(t,{DQ:function(){return hd}});var r=n(67294),o=n(45697),i=n.n(o);let a=C();const s=e=>b(e,a);let l=C();s.write=e=>b(e,l);let c=C();s.onStart=e=>b(e,c);let u=C();s.onFrame=e=>b(e,u);let d=C();s.onFinish=e=>b(e,d);let f=[];s.setTimeout=(e,t)=>{let n=s.now()+t,r=()=>{let e=f.findIndex((e=>e.cancel==r));~e&&f.splice(e,1),g-=~e?1:0},o={time:n,handler:e,cancel:r};return f.splice(p(n),0,o),g+=1,y(),o};let p=e=>~(~f.findIndex((t=>t.time>e))||~f.length);s.cancel=e=>{c.delete(e),u.delete(e),a.delete(e),l.delete(e),d.delete(e)},s.sync=e=>{v=!0,s.batchedUpdates(e),v=!1},s.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,s.onStart(n)}return r.handler=e,r.cancel=()=>{c.delete(n),t=null},r};let h="undefined"!=typeof window?window.requestAnimationFrame:()=>{};s.use=e=>h=e,s.now="undefined"!=typeof performance?()=>performance.now():Date.now,s.batchedUpdates=e=>e(),s.catch=console.error,s.frameLoop="always",s.advance=()=>{"demand"!==s.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):x()};let m=-1,g=0,v=!1;function b(e,t){v?(t.delete(e),e(0)):(t.add(e),y())}function y(){m<0&&(m=0,"demand"!==s.frameLoop&&h(A))}function A(){~m&&(h(A),s.batchedUpdates(x))}function x(){let e=m;m=s.now();let t=p(m);t&&(_(f.splice(0,t),(e=>e.handler())),g-=t),c.flush(),a.flush(e?Math.min(64,m-e):16.667),u.flush(),l.flush(),d.flush(),g||(m=-1)}function C(){let e=new Set,t=e;return{add(n){g+=t!=e||e.has(n)?0:1,e.add(n)},delete(n){return g-=t==e&&e.has(n)?1:0,e.delete(n)},flush(n){t.size&&(e=new Set,g-=t.size,_(t,(t=>t(n)&&e.add(t))),g+=e.size,t=e)}}}function _(e,t){e.forEach((e=>{try{t(e)}catch(e){s.catch(e)}}))}function w(){}const k={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function S(e,t){if(k.arr(e)){if(!k.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}const E=(e,t)=>e.forEach(t);function B(e,t,n){if(k.arr(e))for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);else for(const r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}const O=e=>k.und(e)?[]:k.arr(e)?e:[e];function j(e,t){if(e.size){const n=Array.from(e);e.clear(),E(n,t)}}const T=(e,...t)=>j(e,(e=>e(...t))),P=()=>"undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent);let M,D,R=null,L=!1,I=w;var N=Object.freeze({__proto__:null,get createStringInterpolator(){return M},get to(){return D},get colors(){return R},get skipAnimation(){return L},get willAdvance(){return I},assign:e=>{e.to&&(D=e.to),e.now&&(s.now=e.now),void 0!==e.colors&&(R=e.colors),null!=e.skipAnimation&&(L=e.skipAnimation),e.createStringInterpolator&&(M=e.createStringInterpolator),e.requestAnimationFrame&&s.use(e.requestAnimationFrame),e.batchedUpdates&&(s.batchedUpdates=e.batchedUpdates),e.willAdvance&&(I=e.willAdvance),e.frameLoop&&(s.frameLoop=e.frameLoop)}});const F=new Set;let z=[],q=[],U=0;const H={get idle(){return!F.size&&!z.length},start(e){U>e.priority?(F.add(e),s.onStart(W)):(V(e),s(Z))},advance:Z,sort(e){if(U)s.onFrame((()=>H.sort(e)));else{const t=z.indexOf(e);~t&&(z.splice(t,1),Y(e))}},clear(){z=[],F.clear()}};function W(){F.forEach(V),F.clear(),s(Z)}function V(e){z.includes(e)||Y(e)}function Y(e){z.splice(function(e,t){const n=e.findIndex(t);return n<0?e.length:n}(z,(t=>t.priority>e.priority)),0,e)}function Z(e){const t=q;for(let n=0;n<z.length;n++){const r=z[n];U=r.priority,r.idle||(I(r),r.advance(e),r.idle||t.push(r))}return U=0,q=z,q.length=0,z=t,z.length>0}const G="[-+]?\\d*\\.?\\d+",K=G+"%";function $(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}const X=new RegExp("rgb"+$(G,G,G)),Q=new RegExp("rgba"+$(G,G,G,G)),J=new RegExp("hsl"+$(G,K,K)),ee=new RegExp("hsla"+$(G,K,K,G)),te=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ne=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,re=/^#([0-9a-fA-F]{6})$/,oe=/^#([0-9a-fA-F]{8})$/;function ie(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}function ae(e,t,n){const r=n<.5?n*(1+t):n+t-n*t,o=2*n-r,i=ie(o,r,e+1/3),a=ie(o,r,e),s=ie(o,r,e-1/3);return Math.round(255*i)<<24|Math.round(255*a)<<16|Math.round(255*s)<<8}function se(e){const t=parseInt(e,10);return t<0?0:t>255?255:t}function le(e){return(parseFloat(e)%360+360)%360/360}function ce(e){const t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ue(e){const t=parseFloat(e);return t<0?0:t>100?1:t/100}function de(e){let t=function(e){let t;return"number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=re.exec(e))?parseInt(t[1]+"ff",16)>>>0:R&&void 0!==R[e]?R[e]:(t=X.exec(e))?(se(t[1])<<24|se(t[2])<<16|se(t[3])<<8|255)>>>0:(t=Q.exec(e))?(se(t[1])<<24|se(t[2])<<16|se(t[3])<<8|ce(t[4]))>>>0:(t=te.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=oe.exec(e))?parseInt(t[1],16)>>>0:(t=ne.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=J.exec(e))?(255|ae(le(t[1]),ue(t[2]),ue(t[3])))>>>0:(t=ee.exec(e))?(ae(le(t[1]),ue(t[2]),ue(t[3]))|ce(t[4]))>>>0:null}(e);return null===t?e:(t=t||0,`rgba(${(4278190080&t)>>>24}, ${(16711680&t)>>>16}, ${(65280&t)>>>8}, ${(255&t)/255})`)}const fe=(e,t,n)=>{if(k.fun(e))return e;if(k.arr(e))return fe({range:e,output:t,extrapolate:n});if(k.str(e.output[0]))return M(e);const r=e,o=r.output,i=r.range||[0,1],a=r.extrapolateLeft||r.extrapolate||"extend",s=r.extrapolateRight||r.extrapolate||"extend",l=r.easing||(e=>e);return e=>{const t=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(e,i);return function(e,t,n,r,o,i,a,s,l){let c=l?l(e):e;if(c<t){if("identity"===a)return c;"clamp"===a&&(c=t)}if(c>n){if("identity"===s)return c;"clamp"===s&&(c=n)}if(r===o)return r;if(t===n)return e<=t?r:o;t===-1/0?c=-c:n===1/0?c-=t:c=(c-t)/(n-t);c=i(c),r===-1/0?c=-c:o===1/0?c+=r:c=c*(o-r)+r;return c}(e,i[t],i[t+1],o[t],o[t+1],l,a,s,r.map)}};function pe(){return pe=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},pe.apply(this,arguments)}const he=Symbol.for("FluidValue.get"),me=Symbol.for("FluidValue.observers"),ge=e=>Boolean(e&&e[he]),ve=e=>e&&e[he]?e[he]():e,be=e=>e[me]||null;function ye(e,t){let n=e[me];n&&n.forEach((e=>{!function(e,t){e.eventObserved?e.eventObserved(t):e(t)}(e,t)}))}class Ae{constructor(e){if(this[he]=void 0,this[me]=void 0,!e&&!(e=this.get))throw Error("Unknown getter");xe(this,e)}}const xe=(e,t)=>we(e,he,t);function Ce(e,t){if(e[he]){let n=e[me];n||we(e,me,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function _e(e,t){let n=e[me];if(n&&n.has(t)){const r=n.size-1;r?n.delete(t):e[me]=null,e.observerRemoved&&e.observerRemoved(r,t)}}const we=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),ke=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Se=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,Ee=new RegExp(`(${ke.source})(%|[a-z]+)`,"i"),Be=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,Oe=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,je=e=>{const[t,n]=Te(e);if(!t||P())return e;const r=window.getComputedStyle(document.documentElement).getPropertyValue(t);if(r)return r.trim();if(n&&n.startsWith("--")){const t=window.getComputedStyle(document.documentElement).getPropertyValue(n);return t||e}return n&&Oe.test(n)?je(n):n||e},Te=e=>{const t=Oe.exec(e);if(!t)return[,];const[,n,r]=t;return[n,r]};let Pe;const Me=(e,t,n,r,o)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${o})`,De=e=>{Pe||(Pe=R?new RegExp(`(${Object.keys(R).join("|")})(?!\\w)`,"g"):/^\b$/);const t=e.output.map((e=>ve(e).replace(Oe,je).replace(Se,de).replace(Pe,de))),n=t.map((e=>e.match(ke).map(Number))),r=n[0].map(((e,t)=>n.map((e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})))).map((t=>fe(pe({},e,{output:t}))));return e=>{var n;const o=!Ee.test(t[0])&&(null==(n=t.find((e=>Ee.test(e))))?void 0:n.replace(ke,""));let i=0;return t[0].replace(ke,(()=>`${r[i++](e)}${o||""}`)).replace(Be,Me)}},Re="react-spring: ",Le=e=>{const t=e;let n=!1;if("function"!=typeof t)throw new TypeError(`${Re}once requires a function parameter`);return(...e)=>{n||(t(...e),n=!0)}},Ie=Le(console.warn);const Ne=Le(console.warn);function Fe(e){return k.str(e)&&("#"==e[0]||/\d/.test(e)||!P()&&Oe.test(e)||e in(R||{}))}const ze="undefined"!=typeof window&&window.document&&window.document.createElement?r.useLayoutEffect:r.useEffect;function qe(){const e=(0,r.useState)()[1],t=(()=>{const e=(0,r.useRef)(!1);return ze((()=>(e.current=!0,()=>{e.current=!1})),[]),e})();return()=>{t.current&&e(Math.random())}}const Ue=e=>(0,r.useEffect)(e,He),He=[];function We(e){const t=(0,r.useRef)();return(0,r.useEffect)((()=>{t.current=e})),t.current}const Ve=Symbol.for("Animated:node"),Ye=e=>e&&e[Ve],Ze=(e,t)=>{return n=e,r=Ve,o=t,Object.defineProperty(n,r,{value:o,writable:!0,configurable:!0});var n,r,o},Ge=e=>e&&e[Ve]&&e[Ve].getPayload();class Ke{constructor(){this.payload=void 0,Ze(this,this)}getPayload(){return this.payload||[]}}class $e extends Ke{constructor(e){super(),this.done=!0,this.elapsedTime=void 0,this.lastPosition=void 0,this.lastVelocity=void 0,this.v0=void 0,this.durationProgress=0,this._value=e,k.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new $e(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return k.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){const{done:e}=this;this.done=!1,k.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}}class Xe extends $e{constructor(e){super(0),this._string=null,this._toString=void 0,this._toString=fe({output:[e,e]})}static create(e){return new Xe(e)}getValue(){let e=this._string;return null==e?this._string=this._toString(this._value):e}setValue(e){if(k.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=fe({output:[this.getValue(),e]})),this._value=0,super.reset()}}const Qe={dependencies:null};class Je extends Ke{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){const t={};return B(this.source,((n,r)=>{var o;(o=n)&&o[Ve]===o?t[r]=n.getValue(e):ge(n)?t[r]=ve(n):e||(t[r]=n)})),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&E(this.payload,(e=>e.reset()))}_makePayload(e){if(e){const t=new Set;return B(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){Qe.dependencies&&ge(e)&&Qe.dependencies.add(e);const t=Ge(e);t&&E(t,(e=>this.add(e)))}}class et extends Je{constructor(e){super(e)}static create(e){return new et(e)}getValue(){return this.source.map((e=>e.getValue()))}setValue(e){const t=this.getPayload();return e.length==t.length?t.map(((t,n)=>t.setValue(e[n]))).some(Boolean):(super.setValue(e.map(tt)),!0)}}function tt(e){return(Fe(e)?Xe:$e).create(e)}function nt(e){const t=Ye(e);return t?t.constructor:k.arr(e)?et:Fe(e)?Xe:$e}function rt(){return rt=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},rt.apply(this,arguments)}const ot=(e,t)=>{const n=!k.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,r.forwardRef)(((o,i)=>{const a=(0,r.useRef)(null),l=n&&(0,r.useCallback)((e=>{a.current=function(e,t){e&&(k.fun(e)?e(t):e.current=t);return t}(i,e)}),[i]),[c,u]=function(e,t){const n=new Set;Qe.dependencies=n,e.style&&(e=rt({},e,{style:t.createAnimatedStyle(e.style)}));return e=new Je(e),Qe.dependencies=null,[e,n]}(o,t),d=qe(),f=()=>{const e=a.current;if(n&&!e)return;!1===(!!e&&t.applyAnimatedValues(e,c.getValue(!0)))&&d()},p=new it(f,u),h=(0,r.useRef)();ze((()=>(h.current=p,E(u,(e=>Ce(e,p))),()=>{h.current&&(E(h.current.deps,(e=>_e(e,h.current))),s.cancel(h.current.update))}))),(0,r.useEffect)(f,[]),Ue((()=>()=>{const e=h.current;E(e.deps,(t=>_e(t,e)))}));const m=t.getComponentProps(c.getValue());return r.createElement(e,rt({},m,{ref:l}))}))};class it{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&s.write(this.update)}}const at=Symbol.for("AnimatedComponent"),st=e=>k.str(e)?e:e&&k.str(e.displayName)?e.displayName:k.fun(e)&&e.name||null;function lt(){return lt=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},lt.apply(this,arguments)}function ct(e,...t){return k.fun(e)?e(...t):e}const ut=(e,t)=>!0===e||!!(t&&e&&(k.fun(e)?e(t):O(e).includes(t))),dt=(e,t)=>k.obj(e)?t&&e[t]:e,ft=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,pt=e=>e,ht=(e,t=pt)=>{let n=mt;e.default&&!0!==e.default&&(e=e.default,n=Object.keys(e));const r={};for(const o of n){const n=t(e[o],o);k.und(n)||(r[o]=n)}return r},mt=["config","onProps","onStart","onChange","onPause","onResume","onRest"],gt={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function vt(e){const t=function(e){const t={};let n=0;if(B(e,((e,r)=>{gt[r]||(t[r]=e,n++)})),n)return t}(e);if(t){const n={to:t};return B(e,((e,r)=>r in t||(n[r]=e))),n}return lt({},e)}function bt(e){return e=ve(e),k.arr(e)?e.map(bt):Fe(e)?N.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function yt(e){for(const t in e)return!0;return!1}function At(e){return k.fun(e)||k.arr(e)&&k.obj(e[0])}function xt(e,t){var n;null==(n=e.ref)||n.delete(e),null==t||t.delete(e)}function Ct(e,t){var n;t&&e.ref!==t&&(null==(n=e.ref)||n.delete(e),t.add(e),e.ref=t)}const _t={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},wt=1.70158,kt=1.525*wt,St=wt+1,Et=2*Math.PI/3,Bt=2*Math.PI/4.5,Ot=e=>{const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},jt=lt({},_t.default,{mass:1,damping:1,easing:{linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>St*e*e*e-wt*e*e,easeOutBack:e=>1+St*Math.pow(e-1,3)+wt*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(7.189819*e-kt)/2:(Math.pow(2*e-2,2)*((kt+1)*(2*e-2)+kt)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*Et),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*Et)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*Bt)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*Bt)/2+1,easeInBounce:e=>1-Ot(1-e),easeOutBounce:Ot,easeInOutBounce:e=>e<.5?(1-Ot(1-2*e))/2:(1+Ot(2*e-1))/2}.linear,clamp:!1});class Tt{constructor(){this.tension=void 0,this.friction=void 0,this.frequency=void 0,this.damping=void 0,this.mass=void 0,this.velocity=0,this.restVelocity=void 0,this.precision=void 0,this.progress=void 0,this.duration=void 0,this.easing=void 0,this.clamp=void 0,this.bounce=void 0,this.decay=void 0,this.round=void 0,Object.assign(this,jt)}}function Pt(e,t){if(k.und(t.decay)){const n=!k.und(t.tension)||!k.und(t.friction);!n&&k.und(t.frequency)&&k.und(t.damping)&&k.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}const Mt=[];class Dt{constructor(){this.changed=!1,this.values=Mt,this.toValues=null,this.fromValues=Mt,this.to=void 0,this.from=void 0,this.config=new Tt,this.immediate=!1}}function Rt(e,{key:t,props:n,defaultProps:r,state:o,actions:i}){return new Promise(((a,l)=>{var c;let u,d,f=ut(null!=(c=n.cancel)?c:null==r?void 0:r.cancel,t);if(f)m();else{k.und(n.pause)||(o.paused=ut(n.pause,t));let e=null==r?void 0:r.pause;!0!==e&&(e=o.paused||ut(e,t)),u=ct(n.delay||0,t),e?(o.resumeQueue.add(h),i.pause()):(i.resume(),h())}function p(){o.resumeQueue.add(h),o.timeouts.delete(d),d.cancel(),u=d.time-s.now()}function h(){u>0&&!N.skipAnimation?(o.delayed=!0,d=s.setTimeout(m,u),o.pauseQueue.add(p),o.timeouts.add(d)):m()}function m(){o.delayed&&(o.delayed=!1),o.pauseQueue.delete(p),o.timeouts.delete(d),e<=(o.cancelId||0)&&(f=!0);try{i.start(lt({},n,{callId:e,cancel:f}),a)}catch(e){l(e)}}}))}const Lt=(e,t)=>1==t.length?t[0]:t.some((e=>e.cancelled))?Ft(e.get()):t.every((e=>e.noop))?It(e.get()):Nt(e.get(),t.every((e=>e.finished))),It=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),Nt=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),Ft=e=>({value:e,cancelled:!0,finished:!1});function zt(e,t,n,r){const{callId:o,parentId:i,onRest:a}=t,{asyncTo:l,promise:c}=n;return i||e!==l||t.reset?n.promise=(async()=>{n.asyncId=o,n.asyncTo=e;const u=ht(t,((e,t)=>"onRest"===t?void 0:e));let d,f;const p=new Promise(((e,t)=>(d=e,f=t))),h=e=>{const t=o<=(n.cancelId||0)&&Ft(r)||o!==n.asyncId&&Nt(r,!1);if(t)throw e.result=t,f(e),e},m=(e,t)=>{const i=new Ut,a=new Ht;return(async()=>{if(N.skipAnimation)throw qt(n),a.result=Nt(r,!1),f(a),a;h(i);const s=k.obj(e)?lt({},e):lt({},t,{to:e});s.parentId=o,B(u,((e,t)=>{k.und(s[t])&&(s[t]=e)}));const l=await r.start(s);return h(i),n.paused&&await new Promise((e=>{n.resumeQueue.add(e)})),l})()};let g;if(N.skipAnimation)return qt(n),Nt(r,!1);try{let t;t=k.arr(e)?(async e=>{for(const t of e)await m(t)})(e):Promise.resolve(e(m,r.stop.bind(r))),await Promise.all([t.then(d),p]),g=Nt(r.get(),!0,!1)}catch(e){if(e instanceof Ut)g=e.result;else{if(!(e instanceof Ht))throw e;g=e.result}}finally{o==n.asyncId&&(n.asyncId=i,n.asyncTo=i?l:void 0,n.promise=i?c:void 0)}return k.fun(a)&&s.batchedUpdates((()=>{a(g,r,r.item)})),g})():c}function qt(e,t){j(e.timeouts,(e=>e.cancel())),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}class Ut extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise."),this.result=void 0}}class Ht extends Error{constructor(){super("SkipAnimationSignal"),this.result=void 0}}const Wt=e=>e instanceof Yt;let Vt=1;class Yt extends Ae{constructor(...e){super(...e),this.id=Vt++,this.key=void 0,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){const e=Ye(this);return e&&e.getValue()}to(...e){return N.to(this,e)}interpolate(...e){return Ie(`${Re}The "interpolate" function is deprecated in v9 (use "to" instead)`),N.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){ye(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||H.sort(this),ye(this,{type:"priority",parent:this,priority:e})}}const Zt=Symbol.for("SpringPhase"),Gt=e=>(1&e[Zt])>0,Kt=e=>(2&e[Zt])>0,$t=e=>(4&e[Zt])>0,Xt=(e,t)=>t?e[Zt]|=3:e[Zt]&=-3,Qt=(e,t)=>t?e[Zt]|=4:e[Zt]&=-5;class Jt extends Yt{constructor(e,t){if(super(),this.key=void 0,this.animation=new Dt,this.queue=void 0,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!k.und(e)||!k.und(t)){const n=k.obj(e)?lt({},e):lt({},t,{from:e});k.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(Kt(this)||this._state.asyncTo)||$t(this)}get goal(){return ve(this.animation.to)}get velocity(){const e=Ye(this);return e instanceof $e?e.lastVelocity||0:e.getPayload().map((e=>e.lastVelocity||0))}get hasAnimated(){return Gt(this)}get isAnimating(){return Kt(this)}get isPaused(){return $t(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1;const r=this.animation;let{config:o,toValues:i}=r;const a=Ge(r.to);!a&&ge(r.to)&&(i=O(ve(r.to))),r.values.forEach(((s,l)=>{if(s.done)return;const c=s.constructor==Xe?1:a?a[l].lastPosition:i[l];let u=r.immediate,d=c;if(!u){if(d=s.lastPosition,o.tension<=0)return void(s.done=!0);let t=s.elapsedTime+=e;const n=r.fromValues[l],i=null!=s.v0?s.v0:s.v0=k.arr(o.velocity)?o.velocity[l]:o.velocity;let a;if(k.und(o.duration))if(o.decay){const e=!0===o.decay?.998:o.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),u=Math.abs(s.lastPosition-d)<.1,a=i*r}else{a=null==s.lastVelocity?i:s.lastVelocity;const t=o.precision||(n==c?.005:Math.min(1,.001*Math.abs(c-n))),r=o.restVelocity||t/10,l=o.clamp?0:o.bounce,f=!k.und(l),p=n==c?s.v0>0:n<c;let h,m=!1;const g=1,v=Math.ceil(e/g);for(let e=0;e<v&&(h=Math.abs(a)>r,h||(u=Math.abs(c-d)<=t,!u));++e){f&&(m=d==c||d>c==p,m&&(a=-a*l,d=c));a+=(1e-6*-o.tension*(d-c)+.001*-o.friction*a)/o.mass*g,d+=a*g}}else{let r=1;o.duration>0&&(this._memoizedDuration!==o.duration&&(this._memoizedDuration=o.duration,s.durationProgress>0&&(s.elapsedTime=o.duration*s.durationProgress,t=s.elapsedTime+=e)),r=(o.progress||0)+t/this._memoizedDuration,r=r>1?1:r<0?0:r,s.durationProgress=r),d=n+o.easing(r)*(c-n),a=(d-s.lastPosition)/e,u=1==r}s.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),u=!0)}a&&!a[l].done&&(u=!1),u?s.done=!0:t=!1,s.setValue(d,o.round)&&(n=!0)}));const s=Ye(this),l=s.getValue();if(t){const e=ve(r.to);l===e&&!n||o.decay?n&&o.decay&&this._onChange(l):(s.setValue(e),this._onChange(e)),this._stop()}else n&&this._onChange(l)}set(e){return s.batchedUpdates((()=>{this._stop(),this._focus(e),this._set(e)})),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(Kt(this)){const{to:e,config:t}=this.animation;s.batchedUpdates((()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()}))}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return k.und(e)?(n=this.queue||[],this.queue=[]):n=[k.obj(e)?e:lt({},t,{to:e})],Promise.all(n.map((e=>this._update(e)))).then((e=>Lt(this,e)))}stop(e){const{to:t}=this.animation;return this._focus(this.get()),qt(this._state,e&&this._lastCallId),s.batchedUpdates((()=>this._stop(t,e))),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){const t=this.key||"";let{to:n,from:r}=e;n=k.obj(n)?n[t]:n,(null==n||At(n))&&(n=void 0),r=k.obj(r)?r[t]:r,null==r&&(r=void 0);const o={to:n,from:r};return Gt(this)||(e.reverse&&([n,r]=[r,n]),r=ve(r),k.und(r)?Ye(this)||this._set(n):this._set(r)),o}_update(e,t){let n=lt({},e);const{key:r,defaultProps:o}=this;n.default&&Object.assign(o,ht(n,((e,t)=>/^on/.test(t)?dt(e,r):e))),sn(this,n,"onProps"),ln(this,"onProps",n,this);const i=this._prepareNode(n);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");const a=this._state;return Rt(++this._lastCallId,{key:r,props:n,defaultProps:o,state:a,actions:{pause:()=>{$t(this)||(Qt(this,!0),T(a.pauseQueue),ln(this,"onPause",Nt(this,en(this,this.animation.to)),this))},resume:()=>{$t(this)&&(Qt(this,!1),Kt(this)&&this._resume(),T(a.resumeQueue),ln(this,"onResume",Nt(this,en(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then((e=>{if(n.loop&&e.finished&&(!t||!e.noop)){const e=tn(n);if(e)return this._update(e,!0)}return e}))}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(Ft(this));const r=!k.und(e.to),o=!k.und(e.from);if(r||o){if(!(t.callId>this._lastToId))return n(Ft(this));this._lastToId=t.callId}const{key:i,defaultProps:a,animation:l}=this,{to:c,from:u}=l;let{to:d=c,from:f=u}=e;!o||r||t.default&&!k.und(d)||(d=f),t.reverse&&([d,f]=[f,d]);const p=!S(f,u);p&&(l.from=f),f=ve(f);const h=!S(d,c);h&&this._focus(d);const m=At(t.to),{config:g}=l,{decay:v,velocity:b}=g;(r||o)&&(g.velocity=0),t.config&&!m&&function(e,t,n){n&&(Pt(n=lt({},n),t),t=lt({},n,t)),Pt(e,t),Object.assign(e,t);for(const t in jt)null==e[t]&&(e[t]=jt[t]);let{mass:r,frequency:o,damping:i}=e;k.und(o)||(o<.01&&(o=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/o,2)*r,e.friction=4*Math.PI*i*r/o)}(g,ct(t.config,i),t.config!==a.config?ct(a.config,i):void 0);let y=Ye(this);if(!y||k.und(d))return n(Nt(this,!0));const A=k.und(t.reset)?o&&!t.default:!k.und(f)&&ut(t.reset,i),x=A?f:this.get(),C=bt(d),_=k.num(C)||k.arr(C)||Fe(C),w=!m&&(!_||ut(a.immediate||t.immediate,i));if(h){const e=nt(d);if(e!==y.constructor){if(!w)throw Error(`Cannot animate between ${y.constructor.name} and ${e.name}, as the "to" prop suggests`);y=this._set(C)}}const B=y.constructor;let j=ge(d),P=!1;if(!j){const e=A||!Gt(this)&&p;(h||e)&&(P=S(bt(x),C),j=!P),(S(l.immediate,w)||w)&&S(g.decay,v)&&S(g.velocity,b)||(j=!0)}if(P&&Kt(this)&&(l.changed&&!A?j=!0:j||this._stop(c)),!m&&((j||ge(c))&&(l.values=y.getPayload(),l.toValues=ge(d)?null:B==Xe?[1]:O(C)),l.immediate!=w&&(l.immediate=w,w||A||this._set(c)),j)){const{onRest:e}=l;E(an,(e=>sn(this,t,e)));const r=Nt(this,en(this,c));T(this._pendingCalls,r),this._pendingCalls.add(n),l.changed&&s.batchedUpdates((()=>{l.changed=!A,null==e||e(r,this),A?ct(a.onRest,r):null==l.onStart||l.onStart(r,this)}))}A&&this._set(x),m?n(zt(t.to,t,this._state,this)):j?this._start():Kt(this)&&!h?this._pendingCalls.add(n):n(It(x))}_focus(e){const t=this.animation;e!==t.to&&(be(this)&&this._detach(),t.to=e,be(this)&&this._attach())}_attach(){let e=0;const{to:t}=this.animation;ge(t)&&(Ce(t,this),Wt(t)&&(e=t.priority+1)),this.priority=e}_detach(){const{to:e}=this.animation;ge(e)&&_e(e,this)}_set(e,t=!0){const n=ve(e);if(!k.und(n)){const e=Ye(this);if(!e||!S(n,e.getValue())){const r=nt(n);e&&e.constructor==r?e.setValue(n):Ze(this,r.create(n)),e&&s.batchedUpdates((()=>{this._onChange(n,t)}))}}return Ye(this)}_onStart(){const e=this.animation;e.changed||(e.changed=!0,ln(this,"onStart",Nt(this,en(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),ct(this.animation.onChange,e,this)),ct(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){const e=this.animation;Ye(this).reset(ve(e.to)),e.immediate||(e.fromValues=e.values.map((e=>e.lastPosition))),Kt(this)||(Xt(this,!0),$t(this)||this._resume())}_resume(){N.skipAnimation?this.finish():H.start(this)}_stop(e,t){if(Kt(this)){Xt(this,!1);const n=this.animation;E(n.values,(e=>{e.done=!0})),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),ye(this,{type:"idle",parent:this});const r=t?Ft(this.get()):Nt(this.get(),en(this,null!=e?e:n.to));T(this._pendingCalls,r),n.changed&&(n.changed=!1,ln(this,"onRest",r,this))}}}function en(e,t){const n=bt(t);return S(bt(e.get()),n)}function tn(e,t=e.loop,n=e.to){let r=ct(t);if(r){const o=!0!==r&&vt(r),i=(o||e).reverse,a=!o||o.reset;return nn(lt({},e,{loop:t,default:!1,pause:void 0,to:!i||At(n)?n:void 0,from:a?e.from:void 0,reset:a},o))}}function nn(e){const{to:t,from:n}=e=vt(e),r=new Set;return k.obj(t)&&on(t,r),k.obj(n)&&on(n,r),e.keys=r.size?Array.from(r):null,e}function rn(e){const t=nn(e);return k.und(t.default)&&(t.default=ht(t)),t}function on(e,t){B(e,((e,n)=>null!=e&&t.add(n)))}const an=["onStart","onRest","onChange","onPause","onResume"];function sn(e,t,n){e.animation[n]=t[n]!==ft(t,n)?dt(t[n],e.key):void 0}function ln(e,t,...n){var r,o,i,a;null==(r=(o=e.animation)[t])||r.call(o,...n),null==(i=(a=e.defaultProps)[t])||i.call(a,...n)}const cn=["onStart","onChange","onRest"];let un=1;class dn{constructor(e,t){this.id=un++,this.springs={},this.queue=[],this.ref=void 0,this._flush=void 0,this._initialProps=void 0,this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._item=void 0,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start(lt({default:!0},e))}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every((e=>e.idle&&!e.isDelayed&&!e.isPaused))}get item(){return this._item}set item(e){this._item=e}get(){const e={};return this.each(((t,n)=>e[n]=t.get())),e}set(e){for(const t in e){const n=e[t];k.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(nn(e)),this}start(e){let{queue:t}=this;return e?t=O(e).map(nn):this.queue=[],this._flush?this._flush(this,t):(bn(this,t),fn(this,t))}stop(e,t){if(e!==!!e&&(t=e),t){const n=this.springs;E(O(t),(t=>n[t].stop(!!e)))}else qt(this._state,this._lastAsyncId),this.each((t=>t.stop(!!e)));return this}pause(e){if(k.und(e))this.start({pause:!0});else{const t=this.springs;E(O(e),(e=>t[e].pause()))}return this}resume(e){if(k.und(e))this.start({pause:!1});else{const t=this.springs;E(O(e),(e=>t[e].resume()))}return this}each(e){B(this.springs,e)}_onFrame(){const{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,o=this._changed.size>0;(r&&!this._started||o&&!this._started)&&(this._started=!0,j(e,(([e,t])=>{t.value=this.get(),e(t,this,this._item)})));const i=!r&&this._started,a=o||i&&n.size?this.get():null;o&&t.size&&j(t,(([e,t])=>{t.value=a,e(t,this,this._item)})),i&&(this._started=!1,j(n,(([e,t])=>{t.value=a,e(t,this,this._item)})))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}s.onFrame(this._onFrame)}}function fn(e,t){return Promise.all(t.map((t=>pn(e,t)))).then((t=>Lt(e,t)))}async function pn(e,t,n){const{keys:r,to:o,from:i,loop:a,onRest:l,onResolve:c}=t,u=k.obj(t.default)&&t.default;a&&(t.loop=!1),!1===o&&(t.to=null),!1===i&&(t.from=null);const d=k.arr(o)||k.fun(o)?o:void 0;d?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):E(cn,(n=>{const r=t[n];if(k.fun(r)){const o=e._events[n];t[n]=({finished:e,cancelled:t})=>{const n=o.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):o.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}}));const f=e._state;t.pause===!f.paused?(f.paused=t.pause,T(t.pause?f.pauseQueue:f.resumeQueue)):f.paused&&(t.pause=!0);const p=(r||Object.keys(e.springs)).map((n=>e.springs[n].start(t))),h=!0===t.cancel||!0===ft(t,"cancel");(d||h&&f.asyncId)&&p.push(Rt(++e._lastAsyncId,{props:t,state:f,actions:{pause:w,resume:w,start(t,n){h?(qt(f,e._lastAsyncId),n(Ft(e))):(t.onRest=l,n(zt(d,t,f,e)))}}})),f.paused&&await new Promise((e=>{f.resumeQueue.add(e)}));const m=Lt(e,await Promise.all(p));if(a&&m.finished&&(!n||!m.noop)){const n=tn(t,a,o);if(n)return bn(e,[n]),pn(e,n,!0)}return c&&s.batchedUpdates((()=>c(m,e,e.item))),m}function hn(e,t){const n=lt({},e.springs);return t&&E(O(t),(e=>{k.und(e.keys)&&(e=nn(e)),k.obj(e.to)||(e=lt({},e,{to:void 0})),vn(n,e,(e=>gn(e)))})),mn(e,n),n}function mn(e,t){B(t,((t,n)=>{e.springs[n]||(e.springs[n]=t,Ce(t,e))}))}function gn(e,t){const n=new Jt;return n.key=e,t&&Ce(n,t),n}function vn(e,t,n){t.keys&&E(t.keys,(r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)}))}function bn(e,t){E(t,(t=>{vn(e.springs,t,(t=>gn(t,e)))}))}function yn(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}const An=["children"],xn=e=>{let{children:t}=e,n=yn(e,An);const o=(0,r.useContext)(Cn),i=n.pause||!!o.pause,a=n.immediate||!!o.immediate;n=function(e,t){const[n]=(0,r.useState)((()=>({inputs:t,result:e()}))),o=(0,r.useRef)(),i=o.current;let a=i;a?Boolean(t&&a.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.inputs))||(a={inputs:t,result:e()}):a=n;return(0,r.useEffect)((()=>{o.current=a,i==n&&(n.inputs=n.result=void 0)}),[a]),a.result}((()=>({pause:i,immediate:a})),[i,a]);const{Provider:s}=Cn;return r.createElement(s,{value:n},t)},Cn=(_n=xn,wn={},Object.assign(_n,r.createContext(wn)),_n.Provider._context=_n,_n.Consumer._context=_n,_n);var _n,wn;xn.Provider=Cn.Provider,xn.Consumer=Cn.Consumer;const kn=()=>{const e=[],t=function(t){Ne(`${Re}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);const r=[];return E(e,((e,o)=>{if(k.und(t))r.push(e.start());else{const i=n(t,e,o);i&&r.push(e.start(i))}})),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){const n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return E(e,(e=>e.pause(...arguments))),this},t.resume=function(){return E(e,(e=>e.resume(...arguments))),this},t.set=function(t){E(e,(e=>e.set(t)))},t.start=function(t){const n=[];return E(e,((e,r)=>{if(k.und(t))n.push(e.start());else{const o=this._getProps(t,e,r);o&&n.push(e.start(o))}})),n},t.stop=function(){return E(e,(e=>e.stop(...arguments))),this},t.update=function(t){return E(e,((e,n)=>e.update(this._getProps(t,e,n)))),this};const n=function(e,t,n){return k.fun(e)?e(n,t):e};return t._getProps=n,t};function Sn(e,t,n){const o=k.fun(t)&&t;o&&!n&&(n=[]);const i=(0,r.useMemo)((()=>o||3==arguments.length?kn():void 0),[]),a=(0,r.useRef)(0),s=qe(),l=(0,r.useMemo)((()=>({ctrls:[],queue:[],flush(e,t){const n=hn(e,t);return a.current>0&&!l.queue.length&&!Object.keys(n).some((t=>!e.springs[t]))?fn(e,t):new Promise((r=>{mn(e,n),l.queue.push((()=>{r(fn(e,t))})),s()}))}})),[]),c=(0,r.useRef)([...l.ctrls]),u=[],d=We(e)||0;function f(e,n){for(let r=e;r<n;r++){const e=c.current[r]||(c.current[r]=new dn(null,l.flush)),n=o?o(r,e):t[r];n&&(u[r]=rn(n))}}(0,r.useMemo)((()=>{E(c.current.slice(e,d),(e=>{xt(e,i),e.stop(!0)})),c.current.length=e,f(d,e)}),[e]),(0,r.useMemo)((()=>{f(0,Math.min(d,e))}),n);const p=c.current.map(((e,t)=>hn(e,u[t]))),h=(0,r.useContext)(xn),m=We(h),g=h!==m&&yt(h);ze((()=>{a.current++,l.ctrls=c.current;const{queue:e}=l;e.length&&(l.queue=[],E(e,(e=>e()))),E(c.current,((e,t)=>{null==i||i.add(e),g&&e.start({default:h});const n=u[t];n&&(Ct(e,n.ref),e.ref?e.queue.push(n):e.start(n))}))})),Ue((()=>()=>{E(l.ctrls,(e=>e.stop(!0)))}));const v=p.map((e=>lt({},e)));return i?[v,i]:v}function En(e,t){const n=k.fun(e),[[r],o]=Sn(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,o]:r}let Bn;!function(e){e.MOUNT="mount",e.ENTER="enter",e.UPDATE="update",e.LEAVE="leave"}(Bn||(Bn={}));class On extends Yt{constructor(e,t){super(),this.key=void 0,this.idle=!0,this.calc=void 0,this._active=new Set,this.source=e,this.calc=fe(...t);const n=this._get(),r=nt(n);Ze(this,r.create(n))}advance(e){const t=this._get();S(t,this.get())||(Ye(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&Tn(this._active)&&Pn(this)}_get(){const e=k.arr(this.source)?this.source.map(ve):O(ve(this.source));return this.calc(...e)}_start(){this.idle&&!Tn(this._active)&&(this.idle=!1,E(Ge(this),(e=>{e.done=!1})),N.skipAnimation?(s.batchedUpdates((()=>this.advance())),Pn(this)):H.start(this))}_attach(){let e=1;E(O(this.source),(t=>{ge(t)&&Ce(t,this),Wt(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))})),this.priority=e,this._start()}_detach(){E(O(this.source),(e=>{ge(e)&&_e(e,this)})),this._active.clear(),Pn(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=O(this.source).reduce(((e,t)=>Math.max(e,(Wt(t)?t.priority:0)+1)),0))}}function jn(e){return!1!==e.idle}function Tn(e){return!e.size||Array.from(e).every(jn)}function Pn(e){e.idle||(e.idle=!0,E(Ge(e),(e=>{e.done=!0})),ye(e,{type:"idle",parent:e}))}N.assign({createStringInterpolator:De,to:(e,t)=>new On(e,t)});H.advance;var Mn=n(73935);function Dn(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}const Rn=["style","children","scrollTop","scrollLeft"],Ln=/^--/;function In(e,t){return null==t||"boolean"==typeof t||""===t?"":"number"!=typeof t||0===t||Ln.test(e)||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}const Nn={};let Fn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};const zn=["Webkit","Ms","Moz","O"];Fn=Object.keys(Fn).reduce(((e,t)=>(zn.forEach((n=>e[((e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1))(n,t)]=e[t])),e)),Fn);const qn=["x","y","z"],Un=/^(matrix|translate|scale|rotate|skew)/,Hn=/^(translate)/,Wn=/^(rotate|skew)/,Vn=(e,t)=>k.num(e)&&0!==e?e+t:e,Yn=(e,t)=>k.arr(e)?e.every((e=>Yn(e,t))):k.num(e)?e===t:parseFloat(e)===t;class Zn extends Je{constructor(e){let{x:t,y:n,z:r}=e,o=Dn(e,qn);const i=[],a=[];(t||n||r)&&(i.push([t||0,n||0,r||0]),a.push((e=>[`translate3d(${e.map((e=>Vn(e,"px"))).join(",")})`,Yn(e,0)]))),B(o,((e,t)=>{if("transform"===t)i.push([e||""]),a.push((e=>[e,""===e]));else if(Un.test(t)){if(delete o[t],k.und(e))return;const n=Hn.test(t)?"px":Wn.test(t)?"deg":"";i.push(O(e)),a.push("rotate3d"===t?([e,t,r,o])=>[`rotate3d(${e},${t},${r},${Vn(o,n)})`,Yn(o,0)]:e=>[`${t}(${e.map((e=>Vn(e,n))).join(",")})`,Yn(e,t.startsWith("scale")?1:0)])}})),i.length&&(o.transform=new Gn(i,a)),super(o)}}class Gn extends Ae{constructor(e,t){super(),this._value=null,this.inputs=e,this.transforms=t}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return E(this.inputs,((n,r)=>{const o=ve(n[0]),[i,a]=this.transforms[r](k.arr(o)?o:n.map(ve));e+=" "+i,t=t&&a})),t?"none":e}observerAdded(e){1==e&&E(this.inputs,(e=>E(e,(e=>ge(e)&&Ce(e,this)))))}observerRemoved(e){0==e&&E(this.inputs,(e=>E(e,(e=>ge(e)&&_e(e,this)))))}eventObserved(e){"change"==e.type&&(this._value=null),ye(this,e)}}const Kn=["scrollTop","scrollLeft"];N.assign({batchedUpdates:Mn.unstable_batchedUpdates,createStringInterpolator:De,colors:{transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199}});const $n=((e,{applyAnimatedValues:t=(()=>!1),createAnimatedStyle:n=(e=>new Je(e)),getComponentProps:r=(e=>e)}={})=>{const o={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},i=e=>{const t=st(e)||"Anonymous";return(e=k.str(e)?i[e]||(i[e]=ot(e,o)):e[at]||(e[at]=ot(e,o))).displayName=`Animated(${t})`,e};return B(e,((t,n)=>{k.arr(e)&&(n=st(t)),i[n]=i(t)})),{animated:i}})(["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","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;const n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,r=t,{style:o,children:i,scrollTop:a,scrollLeft:s}=r,l=Dn(r,Rn),c=Object.values(l),u=Object.keys(l).map((t=>n||e.hasAttribute(t)?t:Nn[t]||(Nn[t]=t.replace(/([A-Z])/g,(e=>"-"+e.toLowerCase())))));void 0!==i&&(e.textContent=i);for(let t in o)if(o.hasOwnProperty(t)){const n=In(t,o[t]);Ln.test(t)?e.style.setProperty(t,n):e.style[t]=n}u.forEach(((t,n)=>{e.setAttribute(t,c[n])})),void 0!==a&&(e.scrollTop=a),void 0!==s&&(e.scrollLeft=s)},createAnimatedStyle:e=>new Zn(e),getComponentProps:e=>Dn(e,Kn)}),Xn=$n.animated;var Qn=n(85893);function Jn(){return Jn=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},Jn.apply(this,arguments)}var er={pointerEvents:"none",position:"absolute",zIndex:10,top:0,left:0},tr=function(e,t){return"translate("+e+"px, "+t+"px)"},nr=(0,r.memo)((function(e){var t,n=e.position,o=e.anchor,i=e.children,a=Rc(),s=bc(),l=s.animate,c=s.config,u=jc(),d=u[0],f=u[1],p=(0,r.useRef)(!1),h=void 0,m=!1,g=f.width>0&&f.height>0,v=Math.round(n[0]),b=Math.round(n[1]);g&&("top"===o?(v-=f.width/2,b-=f.height+14):"right"===o?(v+=14,b-=f.height/2):"bottom"===o?(v-=f.width/2,b+=14):"left"===o?(v-=f.width+14,b-=f.height/2):"center"===o&&(v-=f.width/2,b-=f.height/2),h={transform:tr(v,b)},p.current||(m=!0),p.current=[v,b]);var y=En({to:h,config:c,immediate:!l||m}),A=Jn({},er,a.tooltip,{transform:null!=(t=y.transform)?t:tr(v,b)});return(0,Qn.jsx)(Xn.div,{ref:d,style:A,children:i})}));nr.displayName="TooltipWrapper";var rr=(0,r.memo)((function(e){var t=e.size,n=void 0===t?12:t,r=e.color,o=e.style;return(0,Qn.jsx)("span",{style:Jn({display:"block",width:n,height:n,background:r},void 0===o?{}:o)})})),or=(0,r.memo)((function(e){var t,n=e.id,r=e.value,o=e.format,i=e.enableChip,a=void 0!==i&&i,s=e.color,l=e.renderContent,c=Rc(),u=Tc(o);if("function"==typeof l)t=l();else{var d=r;void 0!==u&&void 0!==d&&(d=u(d)),t=(0,Qn.jsxs)("div",{style:c.tooltip.basic,children:[a&&(0,Qn.jsx)(rr,{color:s,style:c.tooltip.chip}),void 0!==d?(0,Qn.jsxs)("span",{children:[n,": ",(0,Qn.jsx)("strong",{children:""+d})]}):n]})}return(0,Qn.jsx)("div",{style:c.tooltip.container,children:t})})),ir={width:"100%",borderCollapse:"collapse"};(0,r.memo)((function(e){var t,n=e.title,r=e.rows,o=void 0===r?[]:r,i=e.renderContent,a=Rc();return o.length?(t="function"==typeof i?i():(0,Qn.jsxs)("div",{children:[n&&n,(0,Qn.jsx)("table",{style:Jn({},ir,a.tooltip.table),children:(0,Qn.jsx)("tbody",{children:o.map((function(e,t){return(0,Qn.jsx)("tr",{children:e.map((function(e,t){return(0,Qn.jsx)("td",{style:a.tooltip.tableCell,children:e},t)}))},t)}))})})]}),(0,Qn.jsx)("div",{style:a.tooltip.container,children:t})):null})).displayName="TableTooltip";var ar=(0,r.memo)((function(e){var t=e.x0,n=e.x1,o=e.y0,i=e.y1,a=Rc(),s=bc(),l=s.animate,c=s.config,u=(0,r.useMemo)((function(){return Jn({},a.crosshair.line,{pointerEvents:"none"})}),[a.crosshair.line]),d=En({x1:t,x2:n,y1:o,y2:i,config:c,immediate:!l});return(0,Qn.jsx)(Xn.line,Jn({},d,{fill:"none",style:u}))}));ar.displayName="CrosshairLine",(0,r.memo)((function(e){var t,n,r=e.width,o=e.height,i=e.type,a=e.x,s=e.y;return"cross"===i?(t={x0:a,x1:a,y0:0,y1:o},n={x0:0,x1:r,y0:s,y1:s}):"top-left"===i?(t={x0:a,x1:a,y0:0,y1:s},n={x0:0,x1:a,y0:s,y1:s}):"top"===i?t={x0:a,x1:a,y0:0,y1:s}:"top-right"===i?(t={x0:a,x1:a,y0:0,y1:s},n={x0:a,x1:r,y0:s,y1:s}):"right"===i?n={x0:a,x1:r,y0:s,y1:s}:"bottom-right"===i?(t={x0:a,x1:a,y0:s,y1:o},n={x0:a,x1:r,y0:s,y1:s}):"bottom"===i?t={x0:a,x1:a,y0:s,y1:o}:"bottom-left"===i?(t={x0:a,x1:a,y0:s,y1:o},n={x0:0,x1:a,y0:s,y1:s}):"left"===i?n={x0:0,x1:a,y0:s,y1:s}:"x"===i?t={x0:a,x1:a,y0:0,y1:o}:"y"===i&&(n={x0:0,x1:r,y0:s,y1:s}),(0,Qn.jsxs)(Qn.Fragment,{children:[t&&(0,Qn.jsx)(ar,{x0:t.x0,x1:t.x1,y0:t.y0,y1:t.y1}),n&&(0,Qn.jsx)(ar,{x0:n.x0,x1:n.x1,y0:n.y0,y1:n.y1})]})})).displayName="Crosshair";var sr=(0,r.createContext)({showTooltipAt:function(){},showTooltipFromEvent:function(){},hideTooltip:function(){}}),lr={isVisible:!1,position:[null,null],content:null,anchor:null},cr=(0,r.createContext)(lr),ur=function(e){var t=(0,r.useState)(lr),n=t[0],o=t[1],i=(0,r.useCallback)((function(e,t,n){var r=t[0],i=t[1];void 0===n&&(n="top"),o({isVisible:!0,position:[r,i],anchor:n,content:e})}),[o]),a=(0,r.useCallback)((function(t,n,r){void 0===r&&(r="top");var i=e.current.getBoundingClientRect(),a=e.current.offsetWidth,s=a===i.width?1:a/i.width,l=(n.clientX-i.left)*s,c=(n.clientY-i.top)*s;"left"!==r&&"right"!==r||(r=l<i.width/2?"right":"left"),o({isVisible:!0,position:[l,c],anchor:r,content:t})}),[e,o]),s=(0,r.useCallback)((function(){o(lr)}),[o]);return{actions:(0,r.useMemo)((function(){return{showTooltipAt:i,showTooltipFromEvent:a,hideTooltip:s}}),[i,a,s]),state:n}},dr=function(){var e=(0,r.useContext)(sr);if(void 0===e)throw new Error("useTooltip must be used within a TooltipProvider");return e},fr=function(){var e=function(){var e=(0,r.useContext)(cr);if(void 0===e)throw new Error("useTooltipState must be used within a TooltipProvider");return e}();return function(e){return e.isVisible}(e)?(0,Qn.jsx)(nr,{position:e.position,anchor:e.anchor,children:e.content}):null},pr=function(e){var t=e.container,n=e.children,r=ur(t),o=r.actions,i=r.state;return(0,Qn.jsx)(sr.Provider,{value:o,children:(0,Qn.jsx)(cr.Provider,{value:i,children:n})})},hr=n(82492),mr=n.n(hr),gr=n(27361),vr=n.n(gr),br=n(36968),yr=n.n(br),Ar=n(47037),xr=n.n(Ar),Cr=n(10928),_r=n.n(Cr);n(1469);function wr(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}const kr=Symbol("implicit");function Sr(e){for(var t=e.length/6|0,n=new Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}function Er(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function Br(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function Or(){}var jr=.7,Tr=1/jr,Pr="\\s*([+-]?\\d+)\\s*",Mr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Dr="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Rr=/^#([0-9a-f]{3,8})$/,Lr=new RegExp(`^rgb\\(${Pr},${Pr},${Pr}\\)$`),Ir=new RegExp(`^rgb\\(${Dr},${Dr},${Dr}\\)$`),Nr=new RegExp(`^rgba\\(${Pr},${Pr},${Pr},${Mr}\\)$`),Fr=new RegExp(`^rgba\\(${Dr},${Dr},${Dr},${Mr}\\)$`),zr=new RegExp(`^hsl\\(${Mr},${Dr},${Dr}\\)$`),qr=new RegExp(`^hsla\\(${Mr},${Dr},${Dr},${Mr}\\)$`),Ur={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function Hr(){return this.rgb().formatHex()}function Wr(){return this.rgb().formatRgb()}function Vr(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=Rr.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?Yr(t):3===n?new $r(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?Zr(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?Zr(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=Lr.exec(e))?new $r(t[1],t[2],t[3],1):(t=Ir.exec(e))?new $r(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=Nr.exec(e))?Zr(t[1],t[2],t[3],t[4]):(t=Fr.exec(e))?Zr(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=zr.exec(e))?no(t[1],t[2]/100,t[3]/100,1):(t=qr.exec(e))?no(t[1],t[2]/100,t[3]/100,t[4]):Ur.hasOwnProperty(e)?Yr(Ur[e]):"transparent"===e?new $r(NaN,NaN,NaN,0):null}function Yr(e){return new $r(e>>16&255,e>>8&255,255&e,1)}function Zr(e,t,n,r){return r<=0&&(e=t=n=NaN),new $r(e,t,n,r)}function Gr(e){return e instanceof Or||(e=Vr(e)),e?new $r((e=e.rgb()).r,e.g,e.b,e.opacity):new $r}function Kr(e,t,n,r){return 1===arguments.length?Gr(e):new $r(e,t,n,null==r?1:r)}function $r(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function Xr(){return`#${to(this.r)}${to(this.g)}${to(this.b)}`}function Qr(){const e=Jr(this.opacity);return`${1===e?"rgb(":"rgba("}${eo(this.r)}, ${eo(this.g)}, ${eo(this.b)}${1===e?")":`, ${e})`}`}function Jr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function eo(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function to(e){return((e=eo(e))<16?"0":"")+e.toString(16)}function no(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new oo(e,t,n,r)}function ro(e){if(e instanceof oo)return new oo(e.h,e.s,e.l,e.opacity);if(e instanceof Or||(e=Vr(e)),!e)return new oo;if(e instanceof oo)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new oo(a,s,l,e.opacity)}function oo(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function io(e){return(e=(e||0)%360)<0?e+360:e}function ao(e){return Math.max(0,Math.min(1,e||0))}function so(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}function lo(e,t,n,r,o){var i=e*e,a=i*e;return((1-3*e+3*i-a)*t+(4-6*i+3*a)*n+(1+3*e+3*i-3*a)*r+a*o)/6}Er(Or,Vr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:Hr,formatHex:Hr,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return ro(this).formatHsl()},formatRgb:Wr,toString:Wr}),Er($r,Kr,Br(Or,{brighter(e){return e=null==e?Tr:Math.pow(Tr,e),new $r(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?jr:Math.pow(jr,e),new $r(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new $r(eo(this.r),eo(this.g),eo(this.b),Jr(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Xr,formatHex:Xr,formatHex8:function(){return`#${to(this.r)}${to(this.g)}${to(this.b)}${to(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Qr,toString:Qr})),Er(oo,(function(e,t,n,r){return 1===arguments.length?ro(e):new oo(e,t,n,null==r?1:r)}),Br(Or,{brighter(e){return e=null==e?Tr:Math.pow(Tr,e),new oo(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?jr:Math.pow(jr,e),new oo(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new $r(so(e>=240?e-240:e+120,o,r),so(e,o,r),so(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new oo(io(this.h),ao(this.s),ao(this.l),Jr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=Jr(this.opacity);return`${1===e?"hsl(":"hsla("}${io(this.h)}, ${100*ao(this.s)}%, ${100*ao(this.l)}%${1===e?")":`, ${e})`}`}}));var co=e=>()=>e;function uo(e,t){return function(n){return e+n*t}}function fo(e){return 1==(e=+e)?po:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):co(isNaN(t)?n:t)}}function po(e,t){var n=t-e;return n?uo(e,n):co(isNaN(e)?t:e)}(function e(t){var n=fo(t);function r(e,t){var r=n((e=Kr(e)).r,(t=Kr(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=po(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r})(1);function ho(e){return function(t){var n,r,o=t.length,i=new Array(o),a=new Array(o),s=new Array(o);for(n=0;n<o;++n)r=Kr(t[n]),i[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return i=e(i),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=i(e),r.g=a(e),r.b=s(e),r+""}}}var mo=ho((function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),o=e[r],i=e[r+1],a=r>0?e[r-1]:2*o-i,s=r<t-1?e[r+2]:2*i-o;return lo((n-r/t)*t,a,o,i,s)}})),go=(ho((function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),o=e[(r+t-1)%t],i=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return lo((n-r/t)*t,o,i,a,s)}})),e=>mo(e[e.length-1])),vo=new Array(3).concat("d8b365f5f5f55ab4ac","a6611adfc27d80cdc1018571","a6611adfc27df5f5f580cdc1018571","8c510ad8b365f6e8c3c7eae55ab4ac01665e","8c510ad8b365f6e8c3f5f5f5c7eae55ab4ac01665e","8c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e","8c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e","5430058c510abf812ddfc27df6e8c3c7eae580cdc135978f01665e003c30","5430058c510abf812ddfc27df6e8c3f5f5f5c7eae580cdc135978f01665e003c30").map(Sr),bo=go(vo),yo=new Array(3).concat("af8dc3f7f7f77fbf7b","7b3294c2a5cfa6dba0008837","7b3294c2a5cff7f7f7a6dba0008837","762a83af8dc3e7d4e8d9f0d37fbf7b1b7837","762a83af8dc3e7d4e8f7f7f7d9f0d37fbf7b1b7837","762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b7837","762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b7837","40004b762a839970abc2a5cfe7d4e8d9f0d3a6dba05aae611b783700441b","40004b762a839970abc2a5cfe7d4e8f7f7f7d9f0d3a6dba05aae611b783700441b").map(Sr),Ao=go(yo),xo=new Array(3).concat("e9a3c9f7f7f7a1d76a","d01c8bf1b6dab8e1864dac26","d01c8bf1b6daf7f7f7b8e1864dac26","c51b7de9a3c9fde0efe6f5d0a1d76a4d9221","c51b7de9a3c9fde0eff7f7f7e6f5d0a1d76a4d9221","c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221","c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221","8e0152c51b7dde77aef1b6dafde0efe6f5d0b8e1867fbc414d9221276419","8e0152c51b7dde77aef1b6dafde0eff7f7f7e6f5d0b8e1867fbc414d9221276419").map(Sr),Co=go(xo),_o=new Array(3).concat("998ec3f7f7f7f1a340","5e3c99b2abd2fdb863e66101","5e3c99b2abd2f7f7f7fdb863e66101","542788998ec3d8daebfee0b6f1a340b35806","542788998ec3d8daebf7f7f7fee0b6f1a340b35806","5427888073acb2abd2d8daebfee0b6fdb863e08214b35806","5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b35806","2d004b5427888073acb2abd2d8daebfee0b6fdb863e08214b358067f3b08","2d004b5427888073acb2abd2d8daebf7f7f7fee0b6fdb863e08214b358067f3b08").map(Sr),wo=go(_o),ko=new Array(3).concat("ef8a62f7f7f767a9cf","ca0020f4a58292c5de0571b0","ca0020f4a582f7f7f792c5de0571b0","b2182bef8a62fddbc7d1e5f067a9cf2166ac","b2182bef8a62fddbc7f7f7f7d1e5f067a9cf2166ac","b2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac","b2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac","67001fb2182bd6604df4a582fddbc7d1e5f092c5de4393c32166ac053061","67001fb2182bd6604df4a582fddbc7f7f7f7d1e5f092c5de4393c32166ac053061").map(Sr),So=go(ko),Eo=new Array(3).concat("ef8a62ffffff999999","ca0020f4a582bababa404040","ca0020f4a582ffffffbababa404040","b2182bef8a62fddbc7e0e0e09999994d4d4d","b2182bef8a62fddbc7ffffffe0e0e09999994d4d4d","b2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d","b2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d","67001fb2182bd6604df4a582fddbc7e0e0e0bababa8787874d4d4d1a1a1a","67001fb2182bd6604df4a582fddbc7ffffffe0e0e0bababa8787874d4d4d1a1a1a").map(Sr),Bo=go(Eo),Oo=new Array(3).concat("fc8d59ffffbf91bfdb","d7191cfdae61abd9e92c7bb6","d7191cfdae61ffffbfabd9e92c7bb6","d73027fc8d59fee090e0f3f891bfdb4575b4","d73027fc8d59fee090ffffbfe0f3f891bfdb4575b4","d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4","d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4","a50026d73027f46d43fdae61fee090e0f3f8abd9e974add14575b4313695","a50026d73027f46d43fdae61fee090ffffbfe0f3f8abd9e974add14575b4313695").map(Sr),jo=go(Oo),To=new Array(3).concat("fc8d59ffffbf91cf60","d7191cfdae61a6d96a1a9641","d7191cfdae61ffffbfa6d96a1a9641","d73027fc8d59fee08bd9ef8b91cf601a9850","d73027fc8d59fee08bffffbfd9ef8b91cf601a9850","d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850","d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850","a50026d73027f46d43fdae61fee08bd9ef8ba6d96a66bd631a9850006837","a50026d73027f46d43fdae61fee08bffffbfd9ef8ba6d96a66bd631a9850006837").map(Sr),Po=go(To),Mo=new Array(3).concat("fc8d59ffffbf99d594","d7191cfdae61abdda42b83ba","d7191cfdae61ffffbfabdda42b83ba","d53e4ffc8d59fee08be6f59899d5943288bd","d53e4ffc8d59fee08bffffbfe6f59899d5943288bd","d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd","d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd","9e0142d53e4ff46d43fdae61fee08be6f598abdda466c2a53288bd5e4fa2","9e0142d53e4ff46d43fdae61fee08bffffbfe6f598abdda466c2a53288bd5e4fa2").map(Sr),Do=go(Mo),Ro=new Array(3).concat("deebf79ecae13182bd","eff3ffbdd7e76baed62171b5","eff3ffbdd7e76baed63182bd08519c","eff3ffc6dbef9ecae16baed63182bd08519c","eff3ffc6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b5084594","f7fbffdeebf7c6dbef9ecae16baed64292c62171b508519c08306b").map(Sr),Lo=go(Ro),Io=new Array(3).concat("e5f5e0a1d99b31a354","edf8e9bae4b374c476238b45","edf8e9bae4b374c47631a354006d2c","edf8e9c7e9c0a1d99b74c47631a354006d2c","edf8e9c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45005a32","f7fcf5e5f5e0c7e9c0a1d99b74c47641ab5d238b45006d2c00441b").map(Sr),No=go(Io),Fo=new Array(3).concat("f0f0f0bdbdbd636363","f7f7f7cccccc969696525252","f7f7f7cccccc969696636363252525","f7f7f7d9d9d9bdbdbd969696636363252525","f7f7f7d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525","fffffff0f0f0d9d9d9bdbdbd969696737373525252252525000000").map(Sr),zo=go(Fo),qo=new Array(3).concat("fee6cefdae6be6550d","feeddefdbe85fd8d3cd94701","feeddefdbe85fd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3ce6550da63603","feeddefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d948018c2d04","fff5ebfee6cefdd0a2fdae6bfd8d3cf16913d94801a636037f2704").map(Sr),Uo=go(qo),Ho=new Array(3).concat("efedf5bcbddc756bb1","f2f0f7cbc9e29e9ac86a51a3","f2f0f7cbc9e29e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8756bb154278f","f2f0f7dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a34a1486","fcfbfdefedf5dadaebbcbddc9e9ac8807dba6a51a354278f3f007d").map(Sr),Wo=go(Ho),Vo=new Array(3).concat("fee0d2fc9272de2d26","fee5d9fcae91fb6a4acb181d","fee5d9fcae91fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4ade2d26a50f15","fee5d9fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181d99000d","fff5f0fee0d2fcbba1fc9272fb6a4aef3b2ccb181da50f1567000d").map(Sr),Yo=go(Vo),Zo=new Array(3).concat("e5f5f999d8c92ca25f","edf8fbb2e2e266c2a4238b45","edf8fbb2e2e266c2a42ca25f006d2c","edf8fbccece699d8c966c2a42ca25f006d2c","edf8fbccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45005824","f7fcfde5f5f9ccece699d8c966c2a441ae76238b45006d2c00441b").map(Sr),Go=go(Zo),Ko=new Array(3).concat("e0ecf49ebcda8856a7","edf8fbb3cde38c96c688419d","edf8fbb3cde38c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68856a7810f7c","edf8fbbfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d6e016b","f7fcfde0ecf4bfd3e69ebcda8c96c68c6bb188419d810f7c4d004b").map(Sr),$o=go(Ko),Xo=new Array(3).concat("e0f3dba8ddb543a2ca","f0f9e8bae4bc7bccc42b8cbe","f0f9e8bae4bc7bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc443a2ca0868ac","f0f9e8ccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe08589e","f7fcf0e0f3dbccebc5a8ddb57bccc44eb3d32b8cbe0868ac084081").map(Sr),Qo=go(Xo),Jo=new Array(3).concat("fee8c8fdbb84e34a33","fef0d9fdcc8afc8d59d7301f","fef0d9fdcc8afc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59e34a33b30000","fef0d9fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301f990000","fff7ecfee8c8fdd49efdbb84fc8d59ef6548d7301fb300007f0000").map(Sr),ei=go(Jo),ti=new Array(3).concat("ece2f0a6bddb1c9099","f6eff7bdc9e167a9cf02818a","f6eff7bdc9e167a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf1c9099016c59","f6eff7d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016450","fff7fbece2f0d0d1e6a6bddb67a9cf3690c002818a016c59014636").map(Sr),ni=go(ti),ri=new Array(3).concat("ece7f2a6bddb2b8cbe","f1eef6bdc9e174a9cf0570b0","f1eef6bdc9e174a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf2b8cbe045a8d","f1eef6d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0034e7b","fff7fbece7f2d0d1e6a6bddb74a9cf3690c00570b0045a8d023858").map(Sr),oi=go(ri),ii=new Array(3).concat("e7e1efc994c7dd1c77","f1eef6d7b5d8df65b0ce1256","f1eef6d7b5d8df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0dd1c77980043","f1eef6d4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125691003f","f7f4f9e7e1efd4b9dac994c7df65b0e7298ace125698004367001f").map(Sr),ai=go(ii),si=new Array(3).concat("fde0ddfa9fb5c51b8a","feebe2fbb4b9f768a1ae017e","feebe2fbb4b9f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1c51b8a7a0177","feebe2fcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a0177","fff7f3fde0ddfcc5c0fa9fb5f768a1dd3497ae017e7a017749006a").map(Sr),li=go(si),ci=new Array(3).concat("edf8b17fcdbb2c7fb8","ffffcca1dab441b6c4225ea8","ffffcca1dab441b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c42c7fb8253494","ffffccc7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea80c2c84","ffffd9edf8b1c7e9b47fcdbb41b6c41d91c0225ea8253494081d58").map(Sr),ui=go(ci),di=new Array(3).concat("f7fcb9addd8e31a354","ffffccc2e69978c679238443","ffffccc2e69978c67931a354006837","ffffccd9f0a3addd8e78c67931a354006837","ffffccd9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443005a32","ffffe5f7fcb9d9f0a3addd8e78c67941ab5d238443006837004529").map(Sr),fi=go(di),pi=new Array(3).concat("fff7bcfec44fd95f0e","ffffd4fed98efe9929cc4c02","ffffd4fed98efe9929d95f0e993404","ffffd4fee391fec44ffe9929d95f0e993404","ffffd4fee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c028c2d04","ffffe5fff7bcfee391fec44ffe9929ec7014cc4c02993404662506").map(Sr),hi=go(pi),mi=new Array(3).concat("ffeda0feb24cf03b20","ffffb2fecc5cfd8d3ce31a1c","ffffb2fecc5cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cf03b20bd0026","ffffb2fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cb10026","ffffccffeda0fed976feb24cfd8d3cfc4e2ae31a1cbd0026800026").map(Sr),gi=go(mi),vi=Sr("1f77b4ff7f0e2ca02cd627289467bd8c564be377c27f7f7fbcbd2217becf"),bi=Sr("7fc97fbeaed4fdc086ffff99386cb0f0027fbf5b17666666"),yi=Sr("1b9e77d95f027570b3e7298a66a61ee6ab02a6761d666666"),Ai=Sr("a6cee31f78b4b2df8a33a02cfb9a99e31a1cfdbf6fff7f00cab2d66a3d9affff99b15928"),xi=Sr("fbb4aeb3cde3ccebc5decbe4fed9a6ffffcce5d8bdfddaecf2f2f2"),Ci=Sr("b3e2cdfdcdaccbd5e8f4cae4e6f5c9fff2aef1e2cccccccc"),_i=Sr("e41a1c377eb84daf4a984ea3ff7f00ffff33a65628f781bf999999"),wi=Sr("66c2a5fc8d628da0cbe78ac3a6d854ffd92fe5c494b3b3b3"),ki=Sr("8dd3c7ffffb3bebadafb807280b1d3fdb462b3de69fccde5d9d9d9bc80bdccebc5ffed6f");function Si(e){var t=e.length;return function(n){return e[Math.max(0,Math.min(t-1,Math.floor(n*t)))]}}var Ei=Si(Sr("44015444025645045745055946075a46085c460a5d460b5e470d60470e6147106347116447136548146748166848176948186a481a6c481b6d481c6e481d6f481f70482071482173482374482475482576482677482878482979472a7a472c7a472d7b472e7c472f7d46307e46327e46337f463480453581453781453882443983443a83443b84433d84433e85423f854240864241864142874144874045884046883f47883f48893e49893e4a893e4c8a3d4d8a3d4e8a3c4f8a3c508b3b518b3b528b3a538b3a548c39558c39568c38588c38598c375a8c375b8d365c8d365d8d355e8d355f8d34608d34618d33628d33638d32648e32658e31668e31678e31688e30698e306a8e2f6b8e2f6c8e2e6d8e2e6e8e2e6f8e2d708e2d718e2c718e2c728e2c738e2b748e2b758e2a768e2a778e2a788e29798e297a8e297b8e287c8e287d8e277e8e277f8e27808e26818e26828e26828e25838e25848e25858e24868e24878e23888e23898e238a8d228b8d228c8d228d8d218e8d218f8d21908d21918c20928c20928c20938c1f948c1f958b1f968b1f978b1f988b1f998a1f9a8a1e9b8a1e9c891e9d891f9e891f9f881fa0881fa1881fa1871fa28720a38620a48621a58521a68522a78522a88423a98324aa8325ab8225ac8226ad8127ad8128ae8029af7f2ab07f2cb17e2db27d2eb37c2fb47c31b57b32b67a34b67935b77937b87838b9773aba763bbb753dbc743fbc7340bd7242be7144bf7046c06f48c16e4ac16d4cc26c4ec36b50c46a52c56954c56856c66758c7655ac8645cc8635ec96260ca6063cb5f65cb5e67cc5c69cd5b6ccd5a6ece5870cf5773d05675d05477d1537ad1517cd2507fd34e81d34d84d44b86d54989d5488bd6468ed64590d74393d74195d84098d83e9bd93c9dd93ba0da39a2da37a5db36a8db34aadc32addc30b0dd2fb2dd2db5de2bb8de29bade28bddf26c0df25c2df23c5e021c8e020cae11fcde11dd0e11cd2e21bd5e21ad8e219dae319dde318dfe318e2e418e5e419e7e419eae51aece51befe51cf1e51df4e61ef6e620f8e621fbe723fde725")),Bi=Si(Sr("00000401000501010601010802010902020b02020d03030f03031204041405041606051806051a07061c08071e0907200a08220b09240c09260d0a290e0b2b100b2d110c2f120d31130d34140e36150e38160f3b180f3d19103f1a10421c10441d11471e114920114b21114e22115024125325125527125829115a2a115c2c115f2d11612f116331116533106734106936106b38106c390f6e3b0f703d0f713f0f72400f74420f75440f764510774710784910784a10794c117a4e117b4f127b51127c52137c54137d56147d57157e59157e5a167e5c167f5d177f5f187f601880621980641a80651a80671b80681c816a1c816b1d816d1d816e1e81701f81721f817320817521817621817822817922827b23827c23827e24828025828125818326818426818627818827818928818b29818c29818e2a81902a81912b81932b80942c80962c80982d80992d809b2e7f9c2e7f9e2f7fa02f7fa1307ea3307ea5317ea6317da8327daa337dab337cad347cae347bb0357bb2357bb3367ab5367ab73779b83779ba3878bc3978bd3977bf3a77c03a76c23b75c43c75c53c74c73d73c83e73ca3e72cc3f71cd4071cf4070d0416fd2426fd3436ed5446dd6456cd8456cd9466bdb476adc4869de4968df4a68e04c67e24d66e34e65e44f64e55064e75263e85362e95462ea5661eb5760ec5860ed5a5fee5b5eef5d5ef05f5ef1605df2625df2645cf3655cf4675cf4695cf56b5cf66c5cf66e5cf7705cf7725cf8745cf8765cf9785df9795df97b5dfa7d5efa7f5efa815ffb835ffb8560fb8761fc8961fc8a62fc8c63fc8e64fc9065fd9266fd9467fd9668fd9869fd9a6afd9b6bfe9d6cfe9f6dfea16efea36ffea571fea772fea973feaa74feac76feae77feb078feb27afeb47bfeb67cfeb77efeb97ffebb81febd82febf84fec185fec287fec488fec68afec88cfeca8dfecc8ffecd90fecf92fed194fed395fed597fed799fed89afdda9cfddc9efddea0fde0a1fde2a3fde3a5fde5a7fde7a9fde9aafdebacfcecaefceeb0fcf0b2fcf2b4fcf4b6fcf6b8fcf7b9fcf9bbfcfbbdfcfdbf")),Oi=Si(Sr("00000401000501010601010802010a02020c02020e03021004031204031405041706041907051b08051d09061f0a07220b07240c08260d08290e092b10092d110a30120a32140b34150b37160b39180c3c190c3e1b0c411c0c431e0c451f0c48210c4a230c4c240c4f260c51280b53290b552b0b572d0b592f0a5b310a5c320a5e340a5f3609613809623909633b09643d09653e0966400a67420a68440a68450a69470b6a490b6a4a0c6b4c0c6b4d0d6c4f0d6c510e6c520e6d540f6d550f6d57106e59106e5a116e5c126e5d126e5f136e61136e62146e64156e65156e67166e69166e6a176e6c186e6d186e6f196e71196e721a6e741a6e751b6e771c6d781c6d7a1d6d7c1d6d7d1e6d7f1e6c801f6c82206c84206b85216b87216b88226a8a226a8c23698d23698f24699025689225689326679526679727669827669a28659b29649d29649f2a63a02a63a22b62a32c61a52c60a62d60a82e5fa92e5eab2f5ead305dae305cb0315bb1325ab3325ab43359b63458b73557b93556ba3655bc3754bd3853bf3952c03a51c13a50c33b4fc43c4ec63d4dc73e4cc83f4bca404acb4149cc4248ce4347cf4446d04545d24644d34743d44842d54a41d74b3fd84c3ed94d3dda4e3cdb503bdd513ade5238df5337e05536e15635e25734e35933e45a31e55c30e65d2fe75e2ee8602de9612bea632aeb6429eb6628ec6726ed6925ee6a24ef6c23ef6e21f06f20f1711ff1731df2741cf3761bf37819f47918f57b17f57d15f67e14f68013f78212f78410f8850ff8870ef8890cf98b0bf98c0af98e09fa9008fa9207fa9407fb9606fb9706fb9906fb9b06fb9d07fc9f07fca108fca309fca50afca60cfca80dfcaa0ffcac11fcae12fcb014fcb216fcb418fbb61afbb81dfbba1ffbbc21fbbe23fac026fac228fac42afac62df9c72ff9c932f9cb35f8cd37f8cf3af7d13df7d340f6d543f6d746f5d949f5db4cf4dd4ff4df53f4e156f3e35af3e55df2e661f2e865f2ea69f1ec6df1ed71f1ef75f1f179f2f27df2f482f3f586f3f68af4f88ef5f992f6fa96f8fb9af9fc9dfafda1fcffa4")),ji=Si(Sr("0d088710078813078916078a19068c1b068d1d068e20068f2206902406912605912805922a05932c05942e05952f059631059733059735049837049938049a3a049a3c049b3e049c3f049c41049d43039e44039e46039f48039f4903a04b03a14c02a14e02a25002a25102a35302a35502a45601a45801a45901a55b01a55c01a65e01a66001a66100a76300a76400a76600a76700a86900a86a00a86c00a86e00a86f00a87100a87201a87401a87501a87701a87801a87a02a87b02a87d03a87e03a88004a88104a78305a78405a78606a68707a68808a68a09a58b0aa58d0ba58e0ca48f0da4910ea3920fa39410a29511a19613a19814a099159f9a169f9c179e9d189d9e199da01a9ca11b9ba21d9aa31e9aa51f99a62098a72197a82296aa2395ab2494ac2694ad2793ae2892b02991b12a90b22b8fb32c8eb42e8db52f8cb6308bb7318ab83289ba3388bb3488bc3587bd3786be3885bf3984c03a83c13b82c23c81c33d80c43e7fc5407ec6417dc7427cc8437bc9447aca457acb4679cc4778cc4977cd4a76ce4b75cf4c74d04d73d14e72d24f71d35171d45270d5536fd5546ed6556dd7566cd8576bd9586ada5a6ada5b69db5c68dc5d67dd5e66de5f65de6164df6263e06363e16462e26561e26660e3685fe4695ee56a5de56b5de66c5ce76e5be76f5ae87059e97158e97257ea7457eb7556eb7655ec7754ed7953ed7a52ee7b51ef7c51ef7e50f07f4ff0804ef1814df1834cf2844bf3854bf3874af48849f48948f58b47f58c46f68d45f68f44f79044f79143f79342f89441f89540f9973ff9983ef99a3efa9b3dfa9c3cfa9e3bfb9f3afba139fba238fca338fca537fca636fca835fca934fdab33fdac33fdae32fdaf31fdb130fdb22ffdb42ffdb52efeb72dfeb82cfeba2cfebb2bfebd2afebe2afec029fdc229fdc328fdc527fdc627fdc827fdca26fdcb26fccd25fcce25fcd025fcd225fbd324fbd524fbd724fad824fada24f9dc24f9dd25f8df25f8e125f7e225f7e425f6e626f6e826f5e926f5eb27f4ed27f3ee27f3f027f2f227f1f426f1f525f0f724f0f921"));const Ti=Math.PI/180,Pi=180/Math.PI;var Mi=-.14861,Di=1.78277,Ri=-.29227,Li=-.90649,Ii=1.97294,Ni=-1.7884503806,Fi=3.5172982438,zi=-.6557636667999999;function qi(e){if(e instanceof Hi)return new Hi(e.h,e.s,e.l,e.opacity);e instanceof $r||(e=Gr(e));var t=e.r/255,n=e.g/255,r=e.b/255,o=(zi*r+Ni*t-Fi*n)/(zi+Ni-Fi),i=r-o,a=(Ii*(n-o)-Ri*i)/Li,s=Math.sqrt(a*a+i*i)/(Ii*o*(1-o)),l=s?Math.atan2(a,i)*Pi-120:NaN;return new Hi(l<0?l+360:l,s,o,e.opacity)}function Ui(e,t,n,r){return 1===arguments.length?qi(e):new Hi(e,t,n,null==r?1:r)}function Hi(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function Wi(e){return function t(n){function r(t,r){var o=e((t=Ui(t)).h,(r=Ui(r)).h),i=po(t.s,r.s),a=po(t.l,r.l),s=po(t.opacity,r.opacity);return function(e){return t.h=o(e),t.s=i(e),t.l=a(Math.pow(e,n)),t.opacity=s(e),t+""}}return n=+n,r.gamma=t,r}(1)}Er(Hi,Ui,Br(Or,{brighter(e){return e=null==e?Tr:Math.pow(Tr,e),new Hi(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?jr:Math.pow(jr,e),new Hi(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=isNaN(this.h)?0:(this.h+120)*Ti,t=+this.l,n=isNaN(this.s)?0:this.s*t*(1-t),r=Math.cos(e),o=Math.sin(e);return new $r(255*(t+n*(Mi*r+Di*o)),255*(t+n*(Ri*r+Li*o)),255*(t+n*(Ii*r)),this.opacity)}}));Wi((function(e,t){var n=t-e;return n?uo(e,n>180||n<-180?n-360*Math.round(n/360):n):co(isNaN(e)?t:e)}));var Vi=Wi(po),Yi=Vi(Ui(-100,.75,.35),Ui(80,1.5,.8)),Zi=Vi(Ui(260,.75,.35),Ui(80,1.5,.8)),Gi=Ui();function Ki(e){(e<0||e>1)&&(e-=Math.floor(e));var t=Math.abs(e-.5);return Gi.h=360*e-100,Gi.s=1.5-1.5*t,Gi.l=.8-.9*t,Gi+""}var $i=Vi(Ui(300,.5,0),Ui(-240,.5,1)),Xi=Kr(),Qi=Math.PI/3,Ji=2*Math.PI/3;function ea(e){var t;return e=(.5-e)*Math.PI,Xi.r=255*(t=Math.sin(e))*t,Xi.g=255*(t=Math.sin(e+Qi))*t,Xi.b=255*(t=Math.sin(e+Ji))*t,Xi+""}n(23560);var ta=n(82569),na=n.n(ta);function ra(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function oa(e){this._context=e}function ia(){}function aa(e){this._context=e}function sa(e){this._context=e}function la(e,t){this._basis=new oa(e),this._beta=t}oa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:ra(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:ra(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},aa.prototype={areaStart:ia,areaEnd:ia,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:ra(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},sa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:ra(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},la.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,o=e[0],i=t[0],a=e[n]-o,s=t[n]-i,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(o+r*a),this._beta*t[l]+(1-this._beta)*(i+r*s));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var ca=function e(t){function n(e){return 1===t?new oa(e):new la(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function ua(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function da(e,t){this._context=e,this._k=(1-t)/6}da.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ua(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:ua(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var fa=function e(t){function n(e){return new da(e,t)}return n.tension=function(t){return e(+t)},n}(0);function pa(e,t){this._context=e,this._k=(1-t)/6}pa.prototype={areaStart:ia,areaEnd:ia,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ua(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ha=function e(t){function n(e){return new pa(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ma(e,t){this._context=e,this._k=(1-t)/6}ma.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ua(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ga=function e(t){function n(e){return new ma(e,t)}return n.tension=function(t){return e(+t)},n}(0);Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI;function va(e,t,n){var r=e._x1,o=e._y1,i=e._x2,a=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,o=(o*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>1e-12){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);i=(i*c+e._x1*e._l23_2a-t*e._l12_2a)/u,a=(a*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,o,i,a,e._x2,e._y2)}function ba(e,t){this._context=e,this._alpha=t}ba.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:va(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ya=function e(t){function n(e){return t?new ba(e,t):new da(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Aa(e,t){this._context=e,this._alpha=t}Aa.prototype={areaStart:ia,areaEnd:ia,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:va(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var xa=function e(t){function n(e){return t?new Aa(e,t):new pa(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function Ca(e,t){this._context=e,this._alpha=t}Ca.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:va(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var _a=function e(t){function n(e){return t?new Ca(e,t):new ma(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function wa(e){this._context=e}function ka(e){this._context=e}function Sa(e){return e<0?-1:1}function Ea(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(Sa(i)+Sa(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function Ba(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function Oa(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function ja(e){this._context=e}function Ta(e){this._context=new Pa(e)}function Pa(e){this._context=e}function Ma(e){this._context=e}function Da(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function Ra(e,t){this._context=e,this._t=t}function La(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function Ia(e){var t=e.map(Na);return La(e).sort((function(e,n){return t[e]-t[n]}))}function Na(e){for(var t,n=0,r=-1,o=e.length;++r<o;)(t=+e[r][1])&&(n+=t);return n}function Fa(e){for(var t,n=-1,r=0,o=e.length,i=-1/0;++n<o;)(t=+e[n][1])>i&&(i=t,r=n);return r}function za(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function qa(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function Ua(e){return(e=qa(Math.abs(e)))?e[1]:NaN}wa.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},ka.prototype={areaStart:ia,areaEnd:ia,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},ja.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Oa(this,this._t0,Ba(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,Oa(this,Ba(this,n=Ea(this,e,t)),n);break;default:Oa(this,this._t0,n=Ea(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(Ta.prototype=Object.create(ja.prototype)).point=function(e,t){ja.prototype.point.call(this,t,e)},Pa.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},Ma.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=Da(e),o=Da(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},Ra.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var Ha,Wa=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Va(e){if(!(t=Wa.exec(e)))throw new Error("invalid format: "+e);var t;return new Ya({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function Ya(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function Za(e,t){var n=qa(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}Va.prototype=Ya.prototype,Ya.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var Ga={"%":function(e,t){return(100*e).toFixed(t)},b:function(e){return Math.round(e).toString(2)},c:function(e){return e+""},d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:function(e,t){return e.toExponential(t)},f:function(e,t){return e.toFixed(t)},g:function(e,t){return e.toPrecision(t)},o:function(e){return Math.round(e).toString(8)},p:function(e,t){return Za(100*e,t)},r:Za,s:function(e,t){var n=qa(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(Ha=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+qa(e,Math.max(0,t+i-1))[0]},X:function(e){return Math.round(e).toString(16).toUpperCase()},x:function(e){return Math.round(e).toString(16)}};function Ka(e){return e}var $a,Xa,Qa,Ja=Array.prototype.map,es=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function ts(e){var t,n,r=void 0===e.grouping||void 0===e.thousands?Ka:(t=Ja.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var o=e.length,i=[],a=0,s=t[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(e.substring(o-=s,o+s)),!((l+=s+1)>r));)s=t[a=(a+1)%t.length];return i.reverse().join(n)}),o=void 0===e.currency?"":e.currency[0]+"",i=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",s=void 0===e.numerals?Ka:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(Ja.call(e.numerals,String)),l=void 0===e.percent?"%":e.percent+"",c=void 0===e.minus?"-":e.minus+"",u=void 0===e.nan?"NaN":e.nan+"";function d(e){var t=(e=Va(e)).fill,n=e.align,d=e.sign,f=e.symbol,p=e.zero,h=e.width,m=e.comma,g=e.precision,v=e.trim,b=e.type;"n"===b?(m=!0,b="g"):Ga[b]||(void 0===g&&(g=12),v=!0,b="g"),(p||"0"===t&&"="===n)&&(p=!0,t="0",n="=");var y="$"===f?o:"#"===f&&/[boxX]/.test(b)?"0"+b.toLowerCase():"",A="$"===f?i:/[%p]/.test(b)?l:"",x=Ga[b],C=/[defgprs%]/.test(b);function _(e){var o,i,l,f=y,_=A;if("c"===b)_=x(e)+_,e="";else{var w=(e=+e)<0||1/e<0;if(e=isNaN(e)?u:x(Math.abs(e),g),v&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),w&&0==+e&&"+"!==d&&(w=!1),f=(w?"("===d?d:c:"-"===d||"("===d?"":d)+f,_=("s"===b?es[8+Ha/3]:"")+_+(w&&"("===d?")":""),C)for(o=-1,i=e.length;++o<i;)if(48>(l=e.charCodeAt(o))||l>57){_=(46===l?a+e.slice(o+1):e.slice(o))+_,e=e.slice(0,o);break}}m&&!p&&(e=r(e,1/0));var k=f.length+e.length+_.length,S=k<h?new Array(h-k+1).join(t):"";switch(m&&p&&(e=r(S+e,S.length?h-_.length:1/0),S=""),n){case"<":e=f+e+_+S;break;case"=":e=f+S+e+_;break;case"^":e=S.slice(0,k=S.length>>1)+f+e+_+S.slice(k);break;default:e=S+f+e+_}return s(e)}return g=void 0===g?6:/[gprs]/.test(b)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),_.toString=function(){return e+""},_}return{format:d,formatPrefix:function(e,t){var n=d(((e=Va(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(Ua(t)/3))),o=Math.pow(10,-r),i=es[8+r/3];return function(e){return n(o*e)+i}}}}$a=ts({decimal:".",thousands:",",grouping:[3],currency:["$",""],minus:"-"}),Xa=$a.format,Qa=$a.formatPrefix;var ns=new Date,rs=new Date;function os(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=function(t){return e(t=new Date(+t)),t},o.ceil=function(n){return e(n=new Date(n-1)),t(n,1),e(n),n},o.round=function(e){var t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=function(e,n){return t(e=new Date(+e),null==n?1:Math.floor(n)),e},o.range=function(n,r,i){var a,s=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return s;do{s.push(a=new Date(+n)),t(n,i),e(n)}while(a<n&&n<r);return s},o.filter=function(n){return os((function(t){if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),(function(e,r){if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}))},n&&(o.count=function(t,r){return ns.setTime(+t),rs.setTime(+r),e(ns),e(rs),Math.floor(n(ns,rs))},o.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?function(t){return r(t)%e==0}:function(t){return o.count(0,t)%e==0}):o:null}),o}var is=864e5,as=6048e5;function ss(e){return os((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/as}))}var ls=ss(0),cs=ss(1),us=ss(2),ds=ss(3),fs=ss(4),ps=ss(5),hs=ss(6),ms=(ls.range,cs.range,us.range,ds.range,fs.range,ps.range,hs.range,os((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/is}),(function(e){return e.getUTCDate()-1}))),gs=ms;ms.range;function vs(e){return os((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/as}))}var bs=vs(0),ys=vs(1),As=vs(2),xs=vs(3),Cs=vs(4),_s=vs(5),ws=vs(6),ks=bs.range,Ss=(ys.range,As.range,xs.range,Cs.range,_s.range,ws.range,os((function(e){e.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+t)}),(function(e,t){return(t-e-6e4*(t.getTimezoneOffset()-e.getTimezoneOffset()))/is}),(function(e){return e.getDate()-1}))),Es=Ss,Bs=Ss.range,Os=os((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()}));Os.every=function(e){return isFinite(e=Math.floor(e))&&e>0?os((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,n){t.setFullYear(t.getFullYear()+n*e)})):null};var js=Os,Ts=(Os.range,os((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Ts.every=function(e){return isFinite(e=Math.floor(e))&&e>0?os((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,n){t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null};var Ps=Ts;Ts.range;function Ms(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Ds(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Rs(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Ls,Is,Ns={"-":"",_:" ",0:"0"},Fs=/^\s*\d+/,zs=/^%/,qs=/[\\^$*+?|[\]().{}]/g;function Us(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Hs(e){return e.replace(qs,"\\$&")}function Ws(e){return new RegExp("^(?:"+e.map(Hs).join("|")+")","i")}function Vs(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Ys(e,t,n){var r=Fs.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Zs(e,t,n){var r=Fs.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Gs(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Ks(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function $s(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Xs(e,t,n){var r=Fs.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Qs(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Js(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function el(e,t,n){var r=Fs.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function tl(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function nl(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function rl(e,t,n){var r=Fs.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function ol(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function il(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function al(e,t,n){var r=Fs.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function sl(e,t,n){var r=Fs.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function ll(e,t,n){var r=Fs.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function cl(e,t,n){var r=zs.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function ul(e,t,n){var r=Fs.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function dl(e,t,n){var r=Fs.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function fl(e,t){return Us(e.getDate(),t,2)}function pl(e,t){return Us(e.getHours(),t,2)}function hl(e,t){return Us(e.getHours()%12||12,t,2)}function ml(e,t){return Us(1+Es.count(js(e),e),t,3)}function gl(e,t){return Us(e.getMilliseconds(),t,3)}function vl(e,t){return gl(e,t)+"000"}function bl(e,t){return Us(e.getMonth()+1,t,2)}function yl(e,t){return Us(e.getMinutes(),t,2)}function Al(e,t){return Us(e.getSeconds(),t,2)}function xl(e){var t=e.getDay();return 0===t?7:t}function Cl(e,t){return Us(bs.count(js(e)-1,e),t,2)}function _l(e){var t=e.getDay();return t>=4||0===t?Cs(e):Cs.ceil(e)}function wl(e,t){return e=_l(e),Us(Cs.count(js(e),e)+(4===js(e).getDay()),t,2)}function kl(e){return e.getDay()}function Sl(e,t){return Us(ys.count(js(e)-1,e),t,2)}function El(e,t){return Us(e.getFullYear()%100,t,2)}function Bl(e,t){return Us((e=_l(e)).getFullYear()%100,t,2)}function Ol(e,t){return Us(e.getFullYear()%1e4,t,4)}function jl(e,t){var n=e.getDay();return Us((e=n>=4||0===n?Cs(e):Cs.ceil(e)).getFullYear()%1e4,t,4)}function Tl(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Us(t/60|0,"0",2)+Us(t%60,"0",2)}function Pl(e,t){return Us(e.getUTCDate(),t,2)}function Ml(e,t){return Us(e.getUTCHours(),t,2)}function Dl(e,t){return Us(e.getUTCHours()%12||12,t,2)}function Rl(e,t){return Us(1+gs.count(Ps(e),e),t,3)}function Ll(e,t){return Us(e.getUTCMilliseconds(),t,3)}function Il(e,t){return Ll(e,t)+"000"}function Nl(e,t){return Us(e.getUTCMonth()+1,t,2)}function Fl(e,t){return Us(e.getUTCMinutes(),t,2)}function zl(e,t){return Us(e.getUTCSeconds(),t,2)}function ql(e){var t=e.getUTCDay();return 0===t?7:t}function Ul(e,t){return Us(ls.count(Ps(e)-1,e),t,2)}function Hl(e){var t=e.getUTCDay();return t>=4||0===t?fs(e):fs.ceil(e)}function Wl(e,t){return e=Hl(e),Us(fs.count(Ps(e),e)+(4===Ps(e).getUTCDay()),t,2)}function Vl(e){return e.getUTCDay()}function Yl(e,t){return Us(cs.count(Ps(e)-1,e),t,2)}function Zl(e,t){return Us(e.getUTCFullYear()%100,t,2)}function Gl(e,t){return Us((e=Hl(e)).getUTCFullYear()%100,t,2)}function Kl(e,t){return Us(e.getUTCFullYear()%1e4,t,4)}function $l(e,t){var n=e.getUTCDay();return Us((e=n>=4||0===n?fs(e):fs.ceil(e)).getUTCFullYear()%1e4,t,4)}function Xl(){return"+0000"}function Ql(){return"%"}function Jl(e){return+e}function ec(e){return Math.floor(+e/1e3)}!function(e){Ls=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Ws(o),u=Vs(o),d=Ws(i),f=Vs(i),p=Ws(a),h=Vs(a),m=Ws(s),g=Vs(s),v=Ws(l),b=Vs(l),y={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:fl,e:fl,f:vl,g:Bl,G:jl,H:pl,I:hl,j:ml,L:gl,m:bl,M:yl,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:Jl,s:ec,S:Al,u:xl,U:Cl,V:wl,w:kl,W:Sl,x:null,X:null,y:El,Y:Ol,Z:Tl,"%":Ql},A={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:Pl,e:Pl,f:Il,g:Gl,G:$l,H:Ml,I:Dl,j:Rl,L:Ll,m:Nl,M:Fl,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:Jl,s:ec,S:zl,u:ql,U:Ul,V:Wl,w:Vl,W:Yl,x:null,X:null,y:Zl,Y:Kl,Z:Xl,"%":Ql},x={a:function(e,t,n){var r=p.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=v.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return w(e,t,n,r)},d:nl,e:nl,f:ll,g:Qs,G:Xs,H:ol,I:ol,j:rl,L:sl,m:tl,M:il,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:el,Q:ul,s:dl,S:al,u:Zs,U:Gs,V:Ks,w:Ys,W:$s,x:function(e,t,r){return w(e,n,t,r)},X:function(e,t,n){return w(e,r,t,n)},y:Qs,Y:Xs,Z:Js,"%":cl};function C(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=Ns[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function _(e,t){return function(n){var r,o,i=Rs(1900,void 0,1);if(w(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Ds(Rs(i.y,0,1))).getUTCDay(),r=o>4||0===o?cs.ceil(r):cs(r),r=gs.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=Ms(Rs(i.y,0,1))).getDay(),r=o>4||0===o?ys.ceil(r):ys(r),r=Es.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Ds(Rs(i.y,0,1)).getUTCDay():Ms(Rs(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Ds(i)):Ms(i)}}function w(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=x[o in Ns?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return y.x=C(n,y),y.X=C(r,y),y.c=C(t,y),A.x=C(n,A),A.X=C(r,A),A.c=C(t,A),{format:function(e){var t=C(e+="",y);return t.toString=function(){return e},t},parse:function(e){var t=_(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=C(e+="",A);return t.toString=function(){return e},t},utcParse:function(e){var t=_(e+="",!0);return t.toString=function(){return e},t}}}(e),Is=Ls.format,Ls.parse,Ls.utcFormat,Ls.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});n(46871),Object.prototype.hasOwnProperty;n(18446),n(68630),n(78718);function tc(){return tc=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},tc.apply(this,arguments)}function nc(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}var rc={fill:i().string,fontSize:i().number,fontFamily:i().string},oc=i().shape({domain:i().shape({line:i().shape({stroke:i().string.isRequired,strokeWidth:i().number.isRequired,strokeDasharray:i().string}).isRequired}).isRequired,ticks:i().shape({line:i().shape({stroke:i().string.isRequired,strokeWidth:i().number.isRequired,strokeDasharray:i().string}).isRequired,text:i().shape(tc({},rc)).isRequired}).isRequired,legend:i().shape({text:i().shape(tc({},rc)).isRequired}).isRequired}),ic=i().shape({line:i().shape({stroke:i().string.isRequired,strokeWidth:i().number.isRequired,strokeDasharray:i().string}).isRequired}),ac=i().shape({hidden:i().shape({symbol:i().shape({fill:i().string.isRequired,opacity:i().number}).isRequired,text:i().shape(tc({},rc,{opacity:i().number})).isRequired}).isRequired,text:i().shape(tc({},rc)).isRequired}),sc=i().shape({text:i().shape(tc({},rc)).isRequired}),lc=i().shape({text:i().shape(tc({},rc)).isRequired}),cc=i().shape({text:i().shape(tc({},rc)).isRequired}),uc=i().shape({line:i().shape({stroke:i().string.isRequired,strokeWidth:i().number.isRequired,strokeDasharray:i().string}).isRequired}),dc=i().shape({text:i().shape(tc({},rc,{outlineWidth:i().number.isRequired,outlineColor:i().string.isRequired})).isRequired,link:i().shape({stroke:i().string.isRequired,strokeWidth:i().number.isRequired,outlineWidth:i().number.isRequired,outlineColor:i().string.isRequired}).isRequired,outline:i().shape({stroke:i().string.isRequired,strokeWidth:i().number.isRequired,outlineWidth:i().number.isRequired,outlineColor:i().string.isRequired}).isRequired,symbol:i().shape({fill:i().string.isRequired,outlineWidth:i().number.isRequired,outlineColor:i().string.isRequired}).isRequired}),fc=(i().shape({background:i().string.isRequired,fontFamily:i().string.isRequired,fontSize:i().number.isRequired,textColor:i().string.isRequired,axis:oc.isRequired,grid:ic.isRequired,legends:ac.isRequired,labels:sc.isRequired,dots:lc.isRequired,markers:cc,crosshair:uc.isRequired,annotations:dc.isRequired}),{background:"transparent",fontFamily:"sans-serif",fontSize:11,textColor:"#333333",axis:{domain:{line:{stroke:"transparent",strokeWidth:1}},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{}},legend:{text:{fontSize:12}}},grid:{line:{stroke:"#dddddd",strokeWidth:1}},legends:{hidden:{symbol:{fill:"#333333",opacity:.6},text:{fill:"#333333",opacity:.6}},text:{},ticks:{line:{stroke:"#777777",strokeWidth:1},text:{fontSize:10}},title:{text:{}}},labels:{text:{}},markers:{lineColor:"#000000",lineStrokeWidth:1,text:{}},dots:{text:{}},tooltip:{container:{background:"white",color:"inherit",fontSize:"inherit",borderRadius:"2px",boxShadow:"0 1px 2px rgba(0, 0, 0, 0.25)",padding:"5px 9px"},basic:{whiteSpace:"pre",display:"flex",alignItems:"center"},chip:{marginRight:7},table:{},tableCell:{padding:"3px 5px"},tableCellValue:{fontWeight:"bold"}},crosshair:{line:{stroke:"#000000",strokeWidth:1,strokeOpacity:.75,strokeDasharray:"6 6"}},annotations:{text:{fontSize:13,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},link:{stroke:"#000000",strokeWidth:1,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},outline:{fill:"none",stroke:"#000000",strokeWidth:2,outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1},symbol:{fill:"#000000",outlineWidth:2,outlineColor:"#ffffff",outlineOpacity:1}}}),pc=["axis.ticks.text","axis.legend.text","legends.title.text","legends.text","legends.ticks.text","legends.title.text","labels.text","dots.text","markers.text","annotations.text"],hc=function(e,t){var n=mr()({},e,t);return pc.forEach((function(e){void 0===vr()(n,e+".fontFamily")&&yr()(n,e+".fontFamily",n.fontFamily),void 0===vr()(n,e+".fontSize")&&yr()(n,e+".fontSize",n.fontSize),void 0===vr()(n,e+".fill")&&yr()(n,e+".fill",n.textColor)})),n},mc=(0,r.createContext)(),gc=function(e){var t=e.children,n=e.animate,o=e.stiffness,i=e.damping,a=e.config,s=(0,r.useMemo)((function(){var e=xr()(a)?_t[a]:a;return{animate:n,springConfig:{stiffness:o,damping:i},config:e}}),[n,o,i,a]);return(0,Qn.jsx)(mc.Provider,{value:s,children:t})},vc={animate:i().bool,motionStiffness:i().number,motionDamping:i().number,motionConfig:i().oneOfType([i().oneOf(Object.keys(_t)),i().shape({mass:i().number,tension:i().number,friction:i().number,clamp:i().bool,precision:i().number,velocity:i().number,duration:i().number,easing:i().func})])};gc.propTypes={children:i().node.isRequired,animate:vc.animate,stiffness:vc.motionStiffness,damping:vc.motionDamping,config:vc.motionConfig};gc.defaultProps={animate:!0,stiffness:90,damping:15,config:"default"};var bc=function(){return(0,r.useContext)(mc)},yc={nivo:["#d76445","#f47560","#e8c1a0","#97e3d5","#61cdbb","#00b0a7"],BrBG:_r()(vo),PRGn:_r()(yo),PiYG:_r()(xo),PuOr:_r()(_o),RdBu:_r()(ko),RdGy:_r()(Eo),RdYlBu:_r()(Oo),RdYlGn:_r()(To),spectral:_r()(Mo),blues:_r()(Ro),greens:_r()(Io),greys:_r()(Fo),oranges:_r()(qo),purples:_r()(Ho),reds:_r()(Vo),BuGn:_r()(Zo),BuPu:_r()(Ko),GnBu:_r()(Xo),OrRd:_r()(Jo),PuBuGn:_r()(ti),PuBu:_r()(ri),PuRd:_r()(ii),RdPu:_r()(si),YlGnBu:_r()(ci),YlGn:_r()(di),YlOrBr:_r()(pi),YlOrRd:_r()(mi)},Ac=Object.keys(yc),xc=(_r()(vo),_r()(yo),_r()(xo),_r()(_o),_r()(ko),_r()(Eo),_r()(Oo),_r()(To),_r()(Mo),_r()(Ro),_r()(Io),_r()(Fo),_r()(qo),_r()(Ho),_r()(Vo),_r()(Zo),_r()(Ko),_r()(Xo),_r()(Jo),_r()(ti),_r()(ri),_r()(ii),_r()(si),_r()(ci),_r()(di),_r()(pi),_r()(mi),i().oneOfType([i().oneOf(Ac),i().func,i().arrayOf(i().string)]),{basis:function(e){return new oa(e)},basisClosed:function(e){return new aa(e)},basisOpen:function(e){return new sa(e)},bundle:ca,cardinal:fa,cardinalClosed:ha,cardinalOpen:ga,catmullRom:ya,catmullRomClosed:xa,catmullRomOpen:_a,linear:function(e){return new wa(e)},linearClosed:function(e){return new ka(e)},monotoneX:function(e){return new ja(e)},monotoneY:function(e){return new Ta(e)},natural:function(e){return new Ma(e)},step:function(e){return new Ra(e,.5)},stepAfter:function(e){return new Ra(e,1)},stepBefore:function(e){return new Ra(e,0)}}),Cc=Object.keys(xc),_c=(i().oneOf(Cc),Cc.filter((function(e){return e.endsWith("Closed")})),na()(Cc,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed"),na()(Cc,"bundle","basisClosed","basisOpen","cardinalClosed","cardinalOpen","catmullRomClosed","catmullRomOpen","linearClosed")),wc=(i().oneOf(_c),i().arrayOf(i().shape({id:i().string.isRequired})).isRequired,i().arrayOf(i().shape({id:i().string.isRequired,match:i().oneOfType([i().oneOf(["*"]),i().object,i().func]).isRequired})).isRequired,{ascending:Ia,descending:function(e){return Ia(e).reverse()},insideOut:function(e){var t,n,r=e.length,o=e.map(Na),i=function(e){var t=e.map(Fa);return La(e).sort((function(e,n){return t[e]-t[n]}))}(e),a=0,s=0,l=[],c=[];for(t=0;t<r;++t)n=i[t],a<s?(a+=o[n],l.push(n)):(s+=o[n],c.push(n));return c.reverse().concat(l)},none:La,reverse:function(e){return La(e).reverse()}}),kc=Object.keys(wc),Sc=(i().oneOf(kc),{expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}za(e,t)}},diverging:function(e,t){if((s=e.length)>0)for(var n,r,o,i,a,s,l=0,c=e[t[0]].length;l<c;++l)for(i=a=0,n=0;n<s;++n)(o=(r=e[t[n]][l])[1]-r[0])>0?(r[0]=i,r[1]=i+=o):o<0?(r[1]=a,r[0]=a+=o):(r[0]=0,r[1]=o)},none:za,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}za(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<o;++s){for(var u=e[t[s]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,p=0;p<s;++p){var h=e[t[p]];f+=(h[a][1]||0)-(h[a-1][1]||0)}l+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,l&&(i-=c/l)}n[a-1][1]+=n[a-1][0]=i,za(e,t)}}}),Ec=Object.keys(Sc),Bc=(i().oneOf(Ec),i().shape({top:i().number,right:i().number,bottom:i().number,left:i().number}).isRequired,i().oneOf(["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]),function e(){var t=new Map,n=[],r=[],o=kr;function i(e){var i=e+"",a=t.get(i);if(!a){if(o!==kr)return o;t.set(i,a=n.push(e))}return r[(a-1)%r.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Map;for(const r of e){const e=r+"";t.has(e)||t.set(e,n.push(r))}return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(o=e,i):o},i.copy=function(){return e(n,r).unknown(o)},wr.apply(i,arguments),i}(ki),{top:0,right:0,bottom:0,left:0}),Oc=function(e,t,n){return void 0===n&&(n={}),(0,r.useMemo)((function(){var r=tc({},Bc,n);return{margin:r,innerWidth:e-r.left-r.right,innerHeight:t-r.top-r.bottom,outerWidth:e,outerHeight:t}}),[e,t,n.top,n.right,n.bottom,n.left])},jc=function(){var e=(0,r.useRef)(null),t=(0,r.useState)({left:0,top:0,width:0,height:0}),n=t[0],o=t[1],i=(0,r.useState)((function(){return"undefined"!=typeof window?new ResizeObserver((function(e){var t=e[0];return o(t.contentRect)})):null}))[0];return(0,r.useEffect)((function(){return e.current&&null!==i&&i.observe(e.current),function(){null!==i&&i.disconnect()}}),[]),[e,n]},Tc=function(e){return(0,r.useMemo)((function(){return function(e){return"function"==typeof e?e:"string"==typeof e?0===e.indexOf("time:")?Is(e.slice("5")):Xa(e):function(e){return""+e}}(e)}),[e])},Pc=(0,r.createContext)(),Mc={},Dc=function(e){var t=e.theme,n=void 0===t?Mc:t,o=e.children,i=function(e){return(0,r.useMemo)((function(){return hc(fc,e)}),[e])}(n);return(0,Qn.jsx)(Pc.Provider,{value:i,children:o})};Dc.propTypes={children:i().node.isRequired,theme:i().object};var Rc=function(){return(0,r.useContext)(Pc)},Lc=function(e){var t=e.children,n=e.condition,o=e.wrapper;return n?(0,r.cloneElement)(o,{},t):t};Lc.propTypes={children:i().node.isRequired,condition:i().bool.isRequired,wrapper:i().element.isRequired};var Ic={position:"relative"},Nc=function(e){var t=e.children,n=e.theme,o=e.renderWrapper,i=void 0===o||o,a=e.isInteractive,s=void 0===a||a,l=e.animate,c=e.motionStiffness,u=e.motionDamping,d=e.motionConfig,f=(0,r.useRef)(null);return(0,Qn.jsx)(Dc,{theme:n,children:(0,Qn.jsx)(gc,{animate:l,stiffness:c,damping:u,config:d,children:(0,Qn.jsx)(pr,{container:f,children:(0,Qn.jsxs)(Lc,{condition:i,wrapper:(0,Qn.jsx)("div",{style:Ic,ref:f}),children:[t,s&&(0,Qn.jsx)(fr,{})]})})})})};Nc.propTypes={children:i().element.isRequired,isInteractive:i().bool,renderWrapper:i().bool,theme:i().object,animate:i().bool,motionStiffness:i().number,motionDamping:i().number,motionConfig:i().string};i().func.isRequired,i().bool,i().bool,i().object.isRequired,i().bool.isRequired,i().number,i().number,i().string;var Fc=function(e){var t=e.children,n=jc(),r=n[0],o=n[1],i=o.width>0&&o.height>0;return(0,Qn.jsx)("div",{ref:r,style:{width:"100%",height:"100%"},children:i&&t({width:o.width,height:o.height})})};Fc.propTypes={children:i().func.isRequired};var zc=["id","colors"],qc=function(e){var t=e.id,n=e.colors,r=nc(e,zc);return(0,Qn.jsx)("linearGradient",tc({id:t,x1:0,x2:0,y1:0,y2:1},r,{children:n.map((function(e){var t=e.offset,n=e.color,r=e.opacity;return(0,Qn.jsx)("stop",{offset:t+"%",stopColor:n,stopOpacity:void 0!==r?r:1},t)}))}))};qc.propTypes={id:i().string.isRequired,colors:i().arrayOf(i().shape({offset:i().number.isRequired,color:i().string.isRequired,opacity:i().number})).isRequired,gradientTransform:i().string};var Uc={linearGradient:qc},Hc=(0,r.memo)((function(e){var t=e.id,n=e.background,r=e.color,o=e.size,i=e.padding,a=e.stagger,s=o+i,l=o/2,c=i/2;return!0===a&&(s=2*o+2*i),(0,Qn.jsxs)("pattern",{id:t,width:s,height:s,patternUnits:"userSpaceOnUse",children:[(0,Qn.jsx)("rect",{width:s,height:s,fill:n}),(0,Qn.jsx)("circle",{cx:c+l,cy:c+l,r:l,fill:r}),a&&(0,Qn.jsx)("circle",{cx:1.5*i+o+l,cy:1.5*i+o+l,r:l,fill:r})]})}));Hc.displayName="PatternDots",Hc.propTypes={id:i().string.isRequired,color:i().string.isRequired,background:i().string.isRequired,size:i().number.isRequired,padding:i().number.isRequired,stagger:i().bool.isRequired},Hc.defaultProps={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1};Math.PI;var Wc=function(e){return e*Math.PI/180},Vc=(0,r.memo)((function(e){var t=e.id,n=e.spacing,r=e.rotation,o=e.background,i=e.color,a=e.lineWidth,s=Math.round(r)%360,l=Math.abs(n);s>180?s-=360:s>90?s-=180:s<-180?s+=360:s<-90&&(s+=180);var c,u=l,d=l;return 0===s?c="\n                M 0 0 L "+u+" 0\n                M 0 "+d+" L "+u+" "+d+"\n            ":90===s?c="\n                M 0 0 L 0 "+d+"\n                M "+u+" 0 L "+u+" "+d+"\n            ":(u=Math.abs(l/Math.sin(Wc(s))),d=l/Math.sin(Wc(90-s)),c=s>0?"\n                    M 0 "+-d+" L "+2*u+" "+d+"\n                    M "+-u+" "+-d+" L "+u+" "+d+"\n                    M "+-u+" 0 L "+u+" "+2*d+"\n                ":"\n                    M "+-u+" "+d+" L "+u+" "+-d+"\n                    M "+-u+" "+2*d+" L "+2*u+" "+-d+"\n                    M 0 "+2*d+" L "+2*u+" 0\n                "),(0,Qn.jsxs)("pattern",{id:t,width:u,height:d,patternUnits:"userSpaceOnUse",children:[(0,Qn.jsx)("rect",{width:u,height:d,fill:o,stroke:"rgba(255, 0, 0, 0.1)",strokeWidth:0}),(0,Qn.jsx)("path",{d:c,strokeWidth:a,stroke:i,strokeLinecap:"square"})]})}));Vc.displayName="PatternLines",Vc.propTypes={id:i().string.isRequired,spacing:i().number.isRequired,rotation:i().number.isRequired,background:i().string.isRequired,color:i().string.isRequired,lineWidth:i().number.isRequired},Vc.defaultProps={spacing:5,rotation:0,color:"#000000",background:"#ffffff",lineWidth:2};var Yc=(0,r.memo)((function(e){var t=e.id,n=e.background,r=e.color,o=e.size,i=e.padding,a=e.stagger,s=o+i,l=i/2;return!0===a&&(s=2*o+2*i),(0,Qn.jsxs)("pattern",{id:t,width:s,height:s,patternUnits:"userSpaceOnUse",children:[(0,Qn.jsx)("rect",{width:s,height:s,fill:n}),(0,Qn.jsx)("rect",{x:l,y:l,width:o,height:o,fill:r}),a&&(0,Qn.jsx)("rect",{x:1.5*i+o,y:1.5*i+o,width:o,height:o,fill:r})]})}));Yc.displayName="PatternSquares",Yc.propTypes={id:i().string.isRequired,color:i().string.isRequired,background:i().string.isRequired,size:i().number.isRequired,padding:i().number.isRequired,stagger:i().bool.isRequired},Yc.defaultProps={color:"#000000",background:"#ffffff",size:4,padding:4,stagger:!1};var Zc={patternDots:Hc,patternLines:Vc,patternSquares:Yc},Gc=["type"],Kc=tc({},Uc,Zc),$c=function(e){var t=e.defs;return!t||t.length<1?null:(0,Qn.jsx)("defs",{"aria-hidden":!0,children:t.map((function(e){var t=e.type,n=nc(e,Gc);return Kc[t]?(0,r.createElement)(Kc[t],tc({key:n.id},n)):null}))})};$c.propTypes={defs:i().arrayOf(i().shape({type:i().oneOf(Object.keys(Kc)).isRequired,id:i().string.isRequired}))};var Xc=(0,r.memo)($c),Qc=function(e){var t=e.width,n=e.height,r=e.margin,o=e.defs,i=e.children,a=e.role,s=e.ariaLabel,l=e.ariaLabelledBy,c=e.ariaDescribedBy,u=e.isFocusable,d=Rc();return(0,Qn.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:n,role:a,"aria-label":s,"aria-labelledby":l,"aria-describedby":c,focusable:u,tabIndex:u?0:void 0,children:[(0,Qn.jsx)(Xc,{defs:o}),(0,Qn.jsx)("rect",{width:t,height:n,fill:d.background}),(0,Qn.jsx)("g",{transform:"translate("+r.left+","+r.top+")",children:i})]})};Qc.propTypes={width:i().number.isRequired,height:i().number.isRequired,margin:i().shape({top:i().number.isRequired,left:i().number.isRequired}).isRequired,defs:i().array,children:i().oneOfType([i().arrayOf(i().node),i().node]).isRequired,role:i().string,isFocusable:i().bool,ariaLabel:i().string,ariaLabelledBy:i().string,ariaDescribedBy:i().string};var Jc=function(e){var t=e.size,n=e.color,r=e.borderWidth,o=e.borderColor;return(0,Qn.jsx)("circle",{r:t/2,fill:n,stroke:o,strokeWidth:r,style:{pointerEvents:"none"}})};Jc.propTypes={size:i().number.isRequired,color:i().string.isRequired,borderWidth:i().number.isRequired,borderColor:i().string.isRequired};var eu=(0,r.memo)(Jc),tu=function(e){var t=e.x,n=e.y,o=e.symbol,i=void 0===o?eu:o,a=e.size,s=e.datum,l=e.color,c=e.borderWidth,u=e.borderColor,d=e.label,f=e.labelTextAnchor,p=void 0===f?"middle":f,h=e.labelYOffset,m=void 0===h?-12:h,g=Rc(),v=bc(),b=v.animate,y=En({transform:"translate("+t+", "+n+")",config:v.config,immediate:!b});return(0,Qn.jsxs)(Xn.g,{transform:y.transform,style:{pointerEvents:"none"},children:[(0,r.createElement)(i,{size:a,color:l,datum:s,borderWidth:c,borderColor:u}),d&&(0,Qn.jsx)("text",{textAnchor:p,y:m,style:g.dots.text,children:d})]})};tu.propTypes={x:i().number.isRequired,y:i().number.isRequired,datum:i().object.isRequired,size:i().number.isRequired,color:i().string.isRequired,borderWidth:i().number.isRequired,borderColor:i().string.isRequired,symbol:i().oneOfType([i().func,i().object]),label:i().oneOfType([i().string,i().number]),labelTextAnchor:i().oneOf(["start","middle","end"]),labelYOffset:i().number};(0,r.memo)(tu);var nu=function(e){var t=e.width,n=e.height,r=e.axis,o=e.scale,i=e.value,a=e.lineStyle,s=e.textStyle,l=e.legend,c=e.legendPosition,u=e.legendOffsetX,d=e.legendOffsetY,f=e.legendOrientation,p=Rc(),h=0,m=0,g=0,v=0;"y"===r?(g=o(i),m=t):(h=o(i),v=n);var b=null;if(l){var y=function(e){var t=e.width,n=e.height,r=e.position,o=e.offsetX,i=e.offsetY,a=e.orientation,s=0,l=0,c="vertical"===a?-90:0,u="start";if("x"===e.axis)switch(r){case"top-left":s=-o,l=i,u="end";break;case"top":l=-i,u="horizontal"===a?"middle":"start";break;case"top-right":s=o,l=i,u="horizontal"===a?"start":"end";break;case"right":s=o,l=n/2,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=o,l=n-i,u="start";break;case"bottom":l=n+i,u="horizontal"===a?"middle":"end";break;case"bottom-left":l=n-i,s=-o,u="horizontal"===a?"end":"start";break;case"left":s=-o,l=n/2,u="horizontal"===a?"end":"middle"}else switch(r){case"top-left":s=o,l=-i,u="start";break;case"top":s=t/2,l=-i,u="horizontal"===a?"middle":"start";break;case"top-right":s=t-o,l=-i,u="horizontal"===a?"end":"start";break;case"right":s=t+o,u="horizontal"===a?"start":"middle";break;case"bottom-right":s=t-o,l=i,u="end";break;case"bottom":s=t/2,l=i,u="horizontal"===a?"middle":"end";break;case"bottom-left":s=o,l=i,u="horizontal"===a?"start":"end";break;case"left":s=-o,u="horizontal"===a?"end":"middle"}return{x:s,y:l,rotation:c,textAnchor:u}}({axis:r,width:t,height:n,position:c,offsetX:u,offsetY:d,orientation:f});b=(0,Qn.jsx)("text",{transform:"translate("+y.x+", "+y.y+") rotate("+y.rotation+")",textAnchor:y.textAnchor,dominantBaseline:"central",style:s,children:l})}return(0,Qn.jsxs)("g",{transform:"translate("+h+", "+g+")",children:[(0,Qn.jsx)("line",{x1:0,x2:m,y1:0,y2:v,stroke:p.markers.lineColor,strokeWidth:p.markers.lineStrokeWidth,style:a}),b]})};nu.propTypes={width:i().number.isRequired,height:i().number.isRequired,axis:i().oneOf(["x","y"]).isRequired,scale:i().func.isRequired,value:i().oneOfType([i().number,i().string,i().instanceOf(Date)]).isRequired,lineStyle:i().object,textStyle:i().object,legend:i().string,legendPosition:i().oneOf(["top-left","top","top-right","right","bottom-right","bottom","bottom-left","left"]),legendOffsetX:i().number.isRequired,legendOffsetY:i().number.isRequired,legendOrientation:i().oneOf(["horizontal","vertical"]).isRequired},nu.defaultProps={legendPosition:"top-right",legendOffsetX:14,legendOffsetY:14,legendOrientation:"horizontal"};var ru=(0,r.memo)(nu),ou=function(e){var t=e.markers,n=e.width,r=e.height,o=e.xScale,i=e.yScale;return t&&0!==t.length?t.map((function(e,t){return(0,Qn.jsx)(ru,tc({},e,{width:n,height:r,scale:"y"===e.axis?i:o}),t)})):null};ou.propTypes={width:i().number.isRequired,height:i().number.isRequired,xScale:i().func.isRequired,yScale:i().func.isRequired,markers:i().arrayOf(i().shape({axis:i().oneOf(["x","y"]).isRequired,value:i().oneOfType([i().number,i().string,i().instanceOf(Date)]).isRequired,lineStyle:i().object,textStyle:i().object}))};(0,r.memo)(ou),Object.keys(Uc),Object.keys(Zc);function iu(){return iu=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},iu.apply(this,arguments)}var au={nivo:["#e8c1a0","#f47560","#f1e15b","#e8a838","#61cdbb","#97e3d5"],category10:vi,accent:bi,dark2:yi,paired:Ai,pastel1:xi,pastel2:Ci,set1:_i,set2:wi,set3:ki},su=(Object.keys(au),{brown_blueGreen:vo,purpleRed_green:yo,pink_yellowGreen:xo,purple_orange:_o,red_blue:ko,red_grey:Eo,red_yellow_blue:Oo,red_yellow_green:To,spectral:Mo}),lu=(Object.keys(su),{brown_blueGreen:bo,purpleRed_green:Ao,pink_yellowGreen:Co,purple_orange:wo,red_blue:So,red_grey:Bo,red_yellow_blue:jo,red_yellow_green:Po,spectral:Do}),cu={blues:Ro,greens:Io,greys:Fo,oranges:qo,purples:Ho,reds:Vo,blue_green:Zo,blue_purple:Ko,green_blue:Xo,orange_red:Jo,purple_blue_green:ti,purple_blue:ri,purple_red:ii,red_purple:si,yellow_green_blue:ci,yellow_green:di,yellow_orange_brown:pi,yellow_orange_red:mi},uu=(Object.keys(cu),{blues:Lo,greens:No,greys:zo,oranges:Uo,purples:Wo,reds:Yo,turbo:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(34.61+e*(1172.33-e*(10793.56-e*(33300.12-e*(38394.49-14825.05*e)))))))+", "+Math.max(0,Math.min(255,Math.round(23.31+e*(557.33+e*(1225.33-e*(3574.96-e*(1073.77+707.56*e)))))))+", "+Math.max(0,Math.min(255,Math.round(27.2+e*(3211.1-e*(15327.97-e*(27814-e*(22569.18-6838.66*e)))))))+")"},viridis:Ei,inferno:Oi,magma:Bi,plasma:ji,cividis:function(e){return e=Math.max(0,Math.min(1,e)),"rgb("+Math.max(0,Math.min(255,Math.round(-4.54-e*(35.34-e*(2381.73-e*(6402.7-e*(7024.72-2710.57*e)))))))+", "+Math.max(0,Math.min(255,Math.round(32.49+e*(170.73+e*(52.82-e*(131.46-e*(176.58-67.37*e)))))))+", "+Math.max(0,Math.min(255,Math.round(81.24+e*(442.36-e*(2482.43-e*(6167.24-e*(6614.94-2475.67*e)))))))+")"},warm:Yi,cool:Zi,cubehelixDefault:$i,blue_green:Go,blue_purple:$o,green_blue:Qo,orange_red:ei,purple_blue_green:ni,purple_blue:oi,purple_red:ai,red_purple:li,yellow_green_blue:ui,yellow_green:fi,yellow_orange_brown:hi,yellow_orange_red:gi}),du=iu({},au,su,cu),fu=Object.keys(du),pu=iu({},lu,uu,{rainbow:Ki,sinebow:ea});Object.keys(pu),i().oneOfType([i().func,i().arrayOf(i().string),i().shape({scheme:i().oneOf(fu).isRequired,size:i().number}),i().shape({datum:i().string.isRequired}),i().string]),i().oneOfType([i().string,i().func,i().shape({theme:i().string.isRequired}),i().shape({from:i().string.isRequired,modifiers:i().arrayOf(i().array)})]);function hu(){return hu=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},hu.apply(this,arguments)}var mu={top:0,right:0,bottom:0,left:0},gu=function(e){var t,n=e.direction,r=e.itemsSpacing,o=e.padding,i=e.itemCount,a=e.itemWidth,s=e.itemHeight;if("number"!=typeof o&&("object"!=typeof(t=o)||Array.isArray(t)||null===t))throw new Error("Invalid property padding, must be one of: number, object");var l="number"==typeof o?{top:o,right:o,bottom:o,left:o}:hu({},mu,o),c=l.left+l.right,u=l.top+l.bottom,d=a+c,f=s+u,p=(i-1)*r;return"row"===n?d=a*i+p+c:"column"===n&&(f=s*i+p+u),{width:d,height:f,padding:l}},vu=function(e){var t=e.anchor,n=e.translateX,r=e.translateY,o=e.containerWidth,i=e.containerHeight,a=e.width,s=e.height,l=n,c=r;switch(t){case"top":l+=(o-a)/2;break;case"top-right":l+=o-a;break;case"right":l+=o-a,c+=(i-s)/2;break;case"bottom-right":l+=o-a,c+=i-s;break;case"bottom":l+=(o-a)/2,c+=i-s;break;case"bottom-left":c+=i-s;break;case"left":c+=(i-s)/2;break;case"center":l+=(o-a)/2,c+=(i-s)/2}return{x:l,y:c}},bu=function(e){var t,n,r,o,i,a,s=e.direction,l=e.justify,c=e.symbolSize,u=e.symbolSpacing,d=e.width,f=e.height;switch(s){case"left-to-right":t=0,n=(f-c)/2,o=f/2,a="central",l?(r=d,i="end"):(r=c+u,i="start");break;case"right-to-left":t=d-c,n=(f-c)/2,o=f/2,a="central",l?(r=0,i="start"):(r=d-c-u,i="end");break;case"top-to-bottom":t=(d-c)/2,n=0,r=d/2,i="middle",l?(o=f,a="alphabetic"):(o=c+u,a="text-before-edge");break;case"bottom-to-top":t=(d-c)/2,n=f-c,r=d/2,i="middle",l?(o=0,a="text-before-edge"):(o=f-c-u,a="alphabetic")}return{symbolX:t,symbolY:n,labelX:r,labelY:o,labelAnchor:i,labelAlignment:a}},yu={circle:function(e){var t=e.x,n=e.y,r=e.size,o=e.fill,i=e.opacity,a=void 0===i?1:i,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return(0,Qn.jsx)("circle",{r:r/2,cx:t+r/2,cy:n+r/2,fill:o,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})},diamond:function(e){var t=e.x,n=e.y,r=e.size,o=e.fill,i=e.opacity,a=void 0===i?1:i,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return(0,Qn.jsx)("g",{transform:"translate("+t+","+n+")",children:(0,Qn.jsx)("path",{d:"\n                    M"+r/2+" 0\n                    L"+.8*r+" "+r/2+"\n                    L"+r/2+" "+r+"\n                    L"+.2*r+" "+r/2+"\n                    L"+r/2+" 0\n                ",fill:o,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})},square:function(e){var t=e.x,n=e.y,r=e.size,o=e.fill,i=e.opacity,a=void 0===i?1:i,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return(0,Qn.jsx)("rect",{x:t,y:n,fill:o,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,width:r,height:r,style:{pointerEvents:"none"}})},triangle:function(e){var t=e.x,n=e.y,r=e.size,o=e.fill,i=e.opacity,a=void 0===i?1:i,s=e.borderWidth,l=void 0===s?0:s,c=e.borderColor;return(0,Qn.jsx)("g",{transform:"translate("+t+","+n+")",children:(0,Qn.jsx)("path",{d:"\n                M"+r/2+" 0\n                L"+r+" "+r+"\n                L0 "+r+"\n                L"+r/2+" 0\n            ",fill:o,opacity:a,strokeWidth:l,stroke:void 0===c?"transparent":c,style:{pointerEvents:"none"}})})}},Au=function(e){var t,n,o,i,a,s,l,c,u,d,f,p=e.x,h=e.y,m=e.width,g=e.height,v=e.data,b=e.direction,y=void 0===b?"left-to-right":b,A=e.justify,x=void 0!==A&&A,C=e.textColor,_=e.background,w=void 0===_?"transparent":_,k=e.opacity,S=void 0===k?1:k,E=e.symbolShape,B=void 0===E?"square":E,O=e.symbolSize,j=void 0===O?16:O,T=e.symbolSpacing,P=void 0===T?8:T,M=e.symbolBorderWidth,D=void 0===M?0:M,R=e.symbolBorderColor,L=void 0===R?"transparent":R,I=e.onClick,N=e.onMouseEnter,F=e.onMouseLeave,z=e.toggleSerie,q=e.effects,U=(0,r.useState)({}),H=U[0],W=U[1],V=Rc(),Y=(0,r.useCallback)((function(e){if(q){var t=q.filter((function(e){return"hover"===e.on})).reduce((function(e,t){return hu({},e,t.style)}),{});W(t)}null==N||N(v,e)}),[N,v,q]),Z=(0,r.useCallback)((function(e){if(q){var t=q.filter((function(e){return"hover"!==e.on})).reduce((function(e,t){return hu({},e,t.style)}),{});W(t)}null==F||F(v,e)}),[F,v,q]),G=bu({direction:y,justify:x,symbolSize:null!=(t=H.symbolSize)?t:j,symbolSpacing:P,width:m,height:g}),K=G.symbolX,$=G.symbolY,X=G.labelX,Q=G.labelY,J=G.labelAnchor,ee=G.labelAlignment,te=[I,N,F,z].some((function(e){return void 0!==e})),ne="function"==typeof B?B:yu[B];return(0,Qn.jsxs)("g",{transform:"translate("+p+","+h+")",style:{opacity:null!=(n=H.itemOpacity)?n:S},children:[(0,Qn.jsx)("rect",{width:m,height:g,fill:null!=(o=H.itemBackground)?o:w,style:{cursor:te?"pointer":"auto"},onClick:function(e){null==I||I(v,e),null==z||z(v.id)},onMouseEnter:Y,onMouseLeave:Z}),r.createElement(ne,hu({id:v.id,x:K,y:$,size:null!=(i=H.symbolSize)?i:j,fill:null!=(a=null!=(s=v.fill)?s:v.color)?a:"black",borderWidth:null!=(l=H.symbolBorderWidth)?l:D,borderColor:null!=(c=H.symbolBorderColor)?c:L},v.hidden?V.legends.hidden.symbol:void 0)),(0,Qn.jsx)("text",{textAnchor:J,style:hu({},V.legends.text,{fill:null!=(u=null!=(d=null!=(f=H.itemTextColor)?f:C)?d:V.legends.text.fill)?u:"black",dominantBaseline:ee,pointerEvents:"none",userSelect:"none"},v.hidden?V.legends.hidden.text:void 0),x:X,y:Q,children:v.label})]})},xu=function(e){var t=e.data,n=e.x,r=e.y,o=e.direction,i=e.padding,a=void 0===i?0:i,s=e.justify,l=e.effects,c=e.itemWidth,u=e.itemHeight,d=e.itemDirection,f=void 0===d?"left-to-right":d,p=e.itemsSpacing,h=void 0===p?0:p,m=e.itemTextColor,g=e.itemBackground,v=void 0===g?"transparent":g,b=e.itemOpacity,y=void 0===b?1:b,A=e.symbolShape,x=e.symbolSize,C=e.symbolSpacing,_=e.symbolBorderWidth,w=e.symbolBorderColor,k=e.onClick,S=e.onMouseEnter,E=e.onMouseLeave,B=e.toggleSerie,O=gu({itemCount:t.length,itemWidth:c,itemHeight:u,itemsSpacing:h,direction:o,padding:a}).padding,j="row"===o?c+h:0,T="column"===o?u+h:0;return(0,Qn.jsx)("g",{transform:"translate("+n+","+r+")",children:t.map((function(e,t){return(0,Qn.jsx)(Au,{data:e,x:t*j+O.left,y:t*T+O.top,width:c,height:u,direction:f,justify:s,effects:l,textColor:m,background:v,opacity:y,symbolShape:A,symbolSize:x,symbolSpacing:C,symbolBorderWidth:_,symbolBorderColor:w,onClick:k,onMouseEnter:S,onMouseLeave:E,toggleSerie:B},t)}))})},Cu=function(e){var t=e.data,n=e.containerWidth,r=e.containerHeight,o=e.translateX,i=void 0===o?0:o,a=e.translateY,s=void 0===a?0:a,l=e.anchor,c=e.direction,u=e.padding,d=void 0===u?0:u,f=e.justify,p=e.itemsSpacing,h=void 0===p?0:p,m=e.itemWidth,g=e.itemHeight,v=e.itemDirection,b=e.itemTextColor,y=e.itemBackground,A=e.itemOpacity,x=e.symbolShape,C=e.symbolSize,_=e.symbolSpacing,w=e.symbolBorderWidth,k=e.symbolBorderColor,S=e.onClick,E=e.onMouseEnter,B=e.onMouseLeave,O=e.toggleSerie,j=e.effects,T=gu({itemCount:t.length,itemsSpacing:h,itemWidth:m,itemHeight:g,direction:c,padding:d}),P=T.width,M=T.height,D=vu({anchor:l,translateX:i,translateY:s,containerWidth:n,containerHeight:r,width:P,height:M}),R=D.x,L=D.y;return(0,Qn.jsx)(xu,{data:t,x:R,y:L,direction:c,padding:d,justify:f,effects:j,itemsSpacing:h,itemWidth:m,itemHeight:g,itemDirection:v,itemTextColor:b,itemBackground:y,itemOpacity:A,symbolShape:x,symbolSize:C,symbolSpacing:_,symbolBorderWidth:w,symbolBorderColor:k,onClick:S,onMouseEnter:E,onMouseLeave:B,toggleSerie:"boolean"==typeof O?void 0:O})},_u={start:"left",middle:"center",end:"right"},wu=function(e,t){var n=t.data,r=t.containerWidth,o=t.containerHeight,i=t.translateX,a=void 0===i?0:i,s=t.translateY,l=void 0===s?0:s,c=t.anchor,u=t.direction,d=t.padding,f=void 0===d?0:d,p=t.justify,h=void 0!==p&&p,m=t.itemsSpacing,g=void 0===m?0:m,v=t.itemWidth,b=t.itemHeight,y=t.itemDirection,A=void 0===y?"left-to-right":y,x=t.itemTextColor,C=t.symbolSize,_=void 0===C?16:C,w=t.symbolSpacing,k=void 0===w?8:w,S=t.theme,E=gu({itemCount:n.length,itemWidth:v,itemHeight:b,itemsSpacing:g,direction:u,padding:f}),B=E.width,O=E.height,j=E.padding,T=vu({anchor:c,translateX:a,translateY:l,containerWidth:r,containerHeight:o,width:B,height:O}),P=T.x,M=T.y,D="row"===u?v+g:0,R="column"===u?b+g:0;e.save(),e.translate(P,M),e.font=S.legends.text.fontSize+"px "+(S.legends.text.fontFamily||"sans-serif"),n.forEach((function(t,n){var r,o,i=n*D+j.left,a=n*R+j.top,s=bu({direction:A,justify:h,symbolSize:_,symbolSpacing:k,width:v,height:b}),l=s.symbolX,c=s.symbolY,u=s.labelX,d=s.labelY,f=s.labelAnchor,p=s.labelAlignment;e.fillStyle=null!=(r=t.color)?r:"black",e.fillRect(i+l,a+c,_,_),e.textAlign=_u[f],"central"===p&&(e.textBaseline="middle"),e.fillStyle=null!=(o=null!=x?x:S.legends.text.fill)?o:"black",e.fillText(String(t.label),i+u,a+d)})),e.restore()};i().arrayOf(i().object),i().oneOf(["top","top-right","right","bottom-right","bottom","bottom-left","left","top-left","center"]).isRequired,i().number,i().number,i().oneOf(["row","column"]).isRequired,i().number,i().number.isRequired,i().number.isRequired,i().oneOf(["left-to-right","right-to-left","top-to-bottom","bottom-to-top"]),i().string,i().string,i().number,i().oneOfType([i().oneOf(["circle","diamond","square","triangle"]),i().func]),i().number,i().number,i().number,i().string,i().func,i().func,i().func,i().arrayOf(i().shape({on:i().oneOfType([i().oneOf(["hover"])]).isRequired,style:i().shape({itemTextColor:i().string,itemBackground:i().string,itemOpacity:i().number,symbolSize:i().number,symbolBorderWidth:i().number,symbolBorderColor:i().string}).isRequired}));function ku(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Su(e){let t=e,n=e;function r(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){const i=r+o>>>1;n(e[i],t)<0?r=i+1:o=i}return r}return 1===e.length&&(t=(t,n)=>e(t)-n,n=function(e){return(t,n)=>ku(e(t),n)}(e)),{left:r,center:function(e,n,o,i){null==o&&(o=0),null==i&&(i=e.length);const a=r(e,n,o,i-1);return a>o&&t(e[a-1],n)>-t(e[a],n)?a-1:a},right:function(e,t,r,o){for(null==r&&(r=0),null==o&&(o=e.length);r<o;){const i=r+o>>>1;n(e[i],t)>0?o=i:r=i+1}return r}}}const Eu=Su(ku),Bu=Eu.right;Eu.left,Su((function(e){return null===e?NaN:+e})).center;var Ou=Bu,ju=Math.sqrt(50),Tu=Math.sqrt(10),Pu=Math.sqrt(2);function Mu(e,t,n){var r=(t-e)/Math.max(0,n),o=Math.floor(Math.log(r)/Math.LN10),i=r/Math.pow(10,o);return o>=0?(i>=ju?10:i>=Tu?5:i>=Pu?2:1)*Math.pow(10,o):-Math.pow(10,-o)/(i>=ju?10:i>=Tu?5:i>=Pu?2:1)}function Du(e,t,n,r){var o,i=function(e,t,n){var r=Math.abs(t-e)/Math.max(0,n),o=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),i=r/o;return i>=ju?o*=10:i>=Tu?o*=5:i>=Pu&&(o*=2),t<e?-o:o}(e,t,n);switch((r=Va(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ua(t)/3)))-Ua(Math.abs(e)))}(i,a))||(r.precision=o),Qa(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,Ua(t)-Ua(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))||(r.precision=o-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(o=function(e){return Math.max(0,-Ua(Math.abs(e)))}(i))||(r.precision=o-2*("%"===r.type))}return Xa(r)}function Ru(e){var t=e.domain;return e.ticks=function(e){var n=t();return function(e,t,n){var r,o,i,a,s=-1;if(n=+n,(e=+e)==(t=+t)&&n>0)return[e];if((r=t<e)&&(o=e,e=t,t=o),0===(a=Mu(e,t,n))||!isFinite(a))return[];if(a>0){let n=Math.round(e/a),r=Math.round(t/a);for(n*a<e&&++n,r*a>t&&--r,i=new Array(o=r-n+1);++s<o;)i[s]=(n+s)*a}else{a=-a;let n=Math.round(e*a),r=Math.round(t*a);for(n/a<e&&++n,r/a>t&&--r,i=new Array(o=r-n+1);++s<o;)i[s]=(n+s)/a}return r&&i.reverse(),i}(n[0],n[n.length-1],null==e?10:e)},e.tickFormat=function(e,n){var r=t();return Du(r[0],r[r.length-1],null==e?10:e,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,s=i.length-1,l=i[a],c=i[s],u=10;for(c<l&&(o=l,l=c,c=o,o=a,a=s,s=o);u-- >0;){if((o=Mu(l,c,n))===r)return i[a]=l,i[s]=c,t(i);if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function Lu(){var e,t=0,n=1,r=1,o=[.5],i=[0,1];function a(t){return null!=t&&t<=t?i[Ou(o,t,0,r)]:e}function s(){var e=-1;for(o=new Array(r);++e<r;)o[e]=((e+1)*n-(e-r)*t)/(r+1);return a}return a.domain=function(e){return arguments.length?([t,n]=e,t=+t,n=+n,s()):[t,n]},a.range=function(e){return arguments.length?(r=(i=Array.from(e)).length-1,s()):i.slice()},a.invertExtent=function(e){var a=i.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,o[0]]:a>=r?[o[r-1],n]:[o[a-1],o[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return o.slice()},a.copy=function(){return Lu().domain([t,n]).range(i).unknown(e)},wr.apply(Ru(a),arguments)}var Iu=n(96026),Nu=n.n(Iu),Fu=n(88306),zu=n.n(Fu),qu=n(47960),Uu=n.n(qu),Hu=os((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()})),Wu=Hu.range;function Vu(){return Vu=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},Vu.apply(this,arguments)}function Yu(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}var Zu,Gu=(0,r.memo)((function(e){var t=e.years,n=e.legend,r=e.theme;return(0,Qn.jsx)(Qn.Fragment,{children:t.map((function(e){return(0,Qn.jsx)("text",{transform:"translate("+e.x+","+e.y+") rotate("+e.rotation+")",textAnchor:"middle",style:r.labels.text,children:n(e.year)},e.year)}))})})),Ku=(0,r.memo)((function(e){var t=e.path,n=e.borderWidth,r=e.borderColor;return(0,Qn.jsx)("path",{d:t,style:{fill:"none",strokeWidth:n,stroke:r,pointerEvents:"none"}})})),$u=(0,r.memo)((function(e){var t=e.months,n=e.legend,r=e.theme;return(0,Qn.jsx)(Qn.Fragment,{children:t.map((function(e){return(0,Qn.jsx)("text",{transform:"translate("+e.x+","+e.y+") rotate("+e.rotation+")",textAnchor:"middle",style:r.labels.text,children:n(e.year,e.month,e.date)},e.date.toString()+".legend")}))})})),Xu=(0,r.memo)((function(e){var t=e.data,n=e.x,o=e.y,i=e.size,a=e.color,s=e.borderWidth,l=e.borderColor,c=e.isInteractive,u=e.tooltip,d=e.onMouseEnter,f=e.onMouseMove,p=e.onMouseLeave,h=e.onClick,m=e.formatValue,g=dr(),v=g.showTooltipFromEvent,b=g.hideTooltip,y=(0,r.useCallback)((function(e){if("value"in t){var n=Vu({},t,{value:m(t.value),data:Vu({},t.data)});v(r.createElement(u,Vu({},n)),e),null==d||d(t,e)}}),[v,u,t,d,m]),A=(0,r.useCallback)((function(e){if("value"in t){var n=Vu({},t,{value:m(t.value),data:Vu({},t.data)});v(r.createElement(u,Vu({},n)),e),f&&f(t,e)}}),[v,u,t,f,m]),x=(0,r.useCallback)((function(e){"value"in t&&(b(),null==p||p(t,e))}),[b,t,p]),C=(0,r.useCallback)((function(e){return null==h?void 0:h(t,e)}),[t,h]);return(0,Qn.jsx)("rect",{x:n,y:o,width:i,height:i,style:{fill:a,strokeWidth:s,stroke:l},onMouseEnter:c?y:void 0,onMouseMove:c?A:void 0,onMouseLeave:c?x:void 0,onClick:c?C:void 0})})),Qu=(0,r.memo)((function(e){var t=e.value,n=e.day,r=e.color;return void 0===t||isNaN(Number(t))?null:(0,Qn.jsx)(or,{id:n,value:t,color:r,enableChip:!0})})),Ju=Is("%b"),ed={colors:["#61cdbb","#97e3d5","#e8c1a0","#f47560"],align:"center",direction:"horizontal",emptyColor:"#fff",minValue:0,maxValue:"auto",yearSpacing:30,yearLegend:function(e){return e},yearLegendPosition:"before",yearLegendOffset:10,monthBorderWidth:2,monthBorderColor:"#000",monthSpacing:0,monthLegend:function(e,t,n){return Ju(n)},monthLegendPosition:"before",monthLegendOffset:10,daySpacing:0,dayBorderWidth:1,dayBorderColor:"#000",isInteractive:!0,legends:[],tooltip:Qu},td=Vu({},ed,{role:"img"}),nd=Vu({},ed,{pixelRatio:"undefined"!=typeof window&&null!=(Zu=window.devicePixelRatio)?Zu:1}),rd=(Vu({},td,{dayBorderColor:"#fff",dayRadius:0,square:!0,weekdayLegendOffset:75}),zu()((function(e){var t,n=e.date,r=e.cellSize,o=e.yearIndex,i=e.yearSpacing,a=e.monthSpacing,s=e.daySpacing,l=e.direction,c=e.originX,u=e.originY,d=new Date(n.getFullYear(),n.getMonth()+1,0),f=bs.count(js(n),n),p=bs.count(js(d),d),h=n.getDay(),m=d.getDay(),g=c,v=u,b=o*(7*(r+s)+i),y=n.getMonth()*a;"horizontal"===l?(v+=b,g+=y):(v+=y,g+=b);var A={x:g,y:v,width:0,height:0};return"horizontal"===l?(t=["M"+(g+(f+1)*(r+s))+","+(v+h*(r+s)),"H"+(g+f*(r+s))+"V"+(v+7*(r+s)),"H"+(g+p*(r+s))+"V"+(v+(m+1)*(r+s)),"H"+(g+(p+1)*(r+s))+"V"+v,"H"+(g+(f+1)*(r+s))+"Z"].join(""),A.x=g+f*(r+s),A.width=g+(p+1)*(r+s)-A.x,A.height=7*(r+s)):(t=["M"+(g+h*(r+s))+","+(v+(f+1)*(r+s)),"H"+g+"V"+(v+(p+1)*(r+s)),"H"+(g+(m+1)*(r+s))+"V"+(v+p*(r+s)),"H"+(g+7*(r+s))+"V"+(v+f*(r+s)),"H"+(g+h*(r+s))+"Z"].join(""),A.y=v+f*(r+s),A.width=7*(r+s),A.height=v+(p+1)*(r+s)-A.y),{path:t,bbox:A}}),(function(e){var t=e.date,n=e.cellSize,r=e.yearIndex,o=e.yearSpacing,i=e.monthSpacing,a=e.daySpacing,s=e.direction,l=e.originX,c=e.originY;return t.toString()+"."+n+"."+r+"."+o+"."+i+"."+a+"."+s+"."+l+"."+c}))),od=Is("%Y-%m-%d"),id=function(e){var t=e.width,n=e.height,o=e.from,i=e.to,a=e.direction,s=e.yearSpacing,l=e.monthSpacing,c=e.daySpacing,u=e.align;return(0,r.useMemo)((function(){return function(e){var t,n=e.width,r=e.height,o=e.from,i=e.to,a=e.direction,s=e.yearSpacing,l=e.monthSpacing,c=e.daySpacing,u=e.align,d=Uu()(o)?o:new Date(o),f=Uu()(i)?i:new Date(i),p=Nu()(d.getFullYear(),f.getFullYear()+1),h=Math.max.apply(Math,p.map((function(e){return ks(new Date(e,0,1),new Date(e+1,0,1)).length})))+1,m=function(e){var t,n,r=e.width,o=e.height,i=e.yearRange,a=e.yearSpacing,s=e.monthSpacing,l=e.daySpacing,c=e.maxWeeks;return"horizontal"===e.direction?(t=(r-12*s-l*c)/c,n=(o-(i.length-1)*a-i.length*(8*l))/(7*i.length)):(t=(r-(i.length-1)*a-i.length*(8*l))/(7*i.length),n=(o-12*s-l*c)/c),Math.min(t,n)}({width:n,height:r,direction:a,yearRange:p,yearSpacing:s,monthSpacing:l,daySpacing:c,maxWeeks:h}),g=m*h+c*h+12*l,v=7*(m+c)*p.length+s*(p.length-1),b="horizontal"===a?g:v,y="horizontal"===a?v:g,A=function(e,t,n){var r=t.width-e.width,o=t.height-e.height,i=0,a=0;return"center"===n&&(i=r/2,a=o/2),"top"===n&&(i=r/2),"top-right"===n&&(i=r),"right"===n&&(i=r,a=o/2),"bottom-right"===n&&(i=r,a=o),"bottom"===n&&(i=r/2,a=o),"bottom-left"===n&&(a=o),"left"===n&&(a=o/2),[i,a]}({x:0,y:0,width:b,height:y},{x:0,y:0,width:n,height:r},u),x=A[0],C=A[1];t="horizontal"===a?function(e,t,n,r){return function(o,i,a,s){return{x:o+bs.count(js(a),a)*(e+r)+r/2+a.getMonth()*n,y:i+a.getDay()*(e+r)+r/2+s*(t+7*(e+r))}}}(m,s,l,c):function(e,t,n,r){return function(o,i,a,s){var l=bs.count(js(a),a);return{x:o+a.getDay()*(e+r)+r/2+s*(t+7*(e+r)),y:i+l*(e+r)+r/2+a.getMonth()*n}}}(m,s,l,c);var _=[],w=[],k=[];return p.forEach((function(e,n){var r=new Date(e,0,1),o=new Date(e+1,0,1);k=k.concat(Bs(r,o).map((function(e){return Vu({date:e,day:od(e),size:m},t(x,C,e,n))})));var i=Wu(r,o).map((function(e){return Vu({date:e,year:e.getFullYear(),month:e.getMonth()},rd({originX:x,originY:C,date:e,direction:a,yearIndex:n,yearSpacing:s,monthSpacing:l,daySpacing:c,cellSize:m}))}));w=w.concat(i),_.push({year:e,bbox:{x:i[0].bbox.x,y:i[0].bbox.y,width:i[11].bbox.x-i[0].bbox.x+i[11].bbox.width,height:i[11].bbox.y-i[0].bbox.y+i[11].bbox.height}})})),{years:_,months:w,days:k,cellSize:m,calendarWidth:b,calendarHeight:y,originX:x,originY:C}}({width:t,height:n,from:o,to:i,direction:a,yearSpacing:s,monthSpacing:l,daySpacing:c,align:u})}),[t,n,o,i,a,s,l,c,u])},ad=function(e){var t=e.data,n=e.minValue,o=e.maxValue,i=e.colors,a=e.colorScale;return(0,r.useMemo)((function(){if(a)return a;var e=function(e,t,n){var r=e.map((function(e){return e.value}));return["auto"===t?Math.min.apply(Math,r):t,"auto"===n?Math.max.apply(Math,r):n]}(t,n,o);return Lu().domain(e).range(i)}),[t,n,o,i,a])},sd=function(e){var t=e.years,n=e.direction,o=e.yearLegendPosition,i=e.yearLegendOffset;return(0,r.useMemo)((function(){return function(e){var t=e.years,n=e.direction,r=e.position,o=e.offset;return t.map((function(e){var t=0,i=0,a=0;return"horizontal"===n&&"before"===r?(t=e.bbox.x-o,i=e.bbox.y+e.bbox.height/2,a=-90):"horizontal"===n&&"after"===r?(t=e.bbox.x+e.bbox.width+o,i=e.bbox.y+e.bbox.height/2,a=-90):"vertical"===n&&"before"===r?(t=e.bbox.x+e.bbox.width/2,i=e.bbox.y-o):(t=e.bbox.x+e.bbox.width/2,i=e.bbox.y+e.bbox.height+o),Vu({},e,{x:t,y:i,rotation:a})}))}({years:t,direction:n,position:o,offset:i})}),[t,n,o,i])},ld=function(e){var t=e.months,n=e.direction,o=e.monthLegendPosition,i=e.monthLegendOffset;return(0,r.useMemo)((function(){return function(e){var t=e.months,n=e.direction,r=e.position,o=e.offset;return t.map((function(e){var t=0,i=0,a=0;return"horizontal"===n&&"before"===r?(t=e.bbox.x+e.bbox.width/2,i=e.bbox.y-o):"horizontal"===n&&"after"===r?(t=e.bbox.x+e.bbox.width/2,i=e.bbox.y+e.bbox.height+o):"vertical"===n&&"before"===r?(t=e.bbox.x-o,i=e.bbox.y+e.bbox.height/2,a=-90):(t=e.bbox.x+e.bbox.width+o,i=e.bbox.y+e.bbox.height/2,a=-90),Vu({},e,{x:t,y:i,rotation:a})}))}({months:t,direction:n,position:o,offset:i})}),[t,n,o,i])},cd=function(e){var t=e.days,n=e.data,o=e.colorScale,i=e.emptyColor;return(0,r.useMemo)((function(){return function(e){var t=e.days,n=e.data,r=e.colorScale,o=e.emptyColor;return t.map((function(e){var t=n.find((function(t){return t.day===e.day}));return Vu({},e,t?{color:r(t.value),data:t,value:t.value}:{color:o})}))}({days:t,data:n,colorScale:o,emptyColor:i})}),[t,n,o,i])},ud=["months","years"],dd=["isInteractive","renderWrapper","theme"],fd=function(e){var t=e.margin,n=e.width,r=e.height,o=e.align,i=void 0===o?td.align:o,a=e.colors,s=void 0===a?td.colors:a,l=e.colorScale,c=e.data,u=e.direction,d=void 0===u?td.direction:u,f=e.emptyColor,p=void 0===f?td.emptyColor:f,h=e.from,m=e.to,g=e.minValue,v=void 0===g?td.minValue:g,b=e.maxValue,y=void 0===b?td.maxValue:b,A=e.valueFormat,x=e.legendFormat,C=e.yearLegend,_=void 0===C?td.yearLegend:C,w=e.yearLegendOffset,k=void 0===w?td.yearLegendOffset:w,S=e.yearLegendPosition,E=void 0===S?td.yearLegendPosition:S,B=e.yearSpacing,O=void 0===B?td.yearSpacing:B,j=e.monthBorderColor,T=void 0===j?td.monthBorderColor:j,P=e.monthBorderWidth,M=void 0===P?td.monthBorderWidth:P,D=e.monthLegend,R=void 0===D?td.monthLegend:D,L=e.monthLegendOffset,I=void 0===L?td.monthLegendOffset:L,N=e.monthLegendPosition,F=void 0===N?td.monthLegendPosition:N,z=e.monthSpacing,q=void 0===z?td.monthSpacing:z,U=e.dayBorderColor,H=void 0===U?td.dayBorderColor:U,W=e.dayBorderWidth,V=void 0===W?td.dayBorderWidth:W,Y=e.daySpacing,Z=void 0===Y?td.daySpacing:Y,G=e.isInteractive,K=void 0===G?td.isInteractive:G,$=e.tooltip,X=void 0===$?td.tooltip:$,Q=e.onClick,J=e.onMouseEnter,ee=e.onMouseLeave,te=e.onMouseMove,ne=e.legends,re=void 0===ne?td.legends:ne,oe=e.role,ie=void 0===oe?td.role:oe,ae=Rc(),se=Oc(n,r,t),le=se.margin,ce=se.innerWidth,ue=se.innerHeight,de=se.outerWidth,fe=se.outerHeight,pe=id({width:ce,height:ue,from:h,to:m,direction:d,yearSpacing:O,monthSpacing:q,daySpacing:Z,align:i}),he=pe.months,me=pe.years,ge=Yu(pe,ud),ve=ad({data:c,minValue:v,maxValue:y,colors:s,colorScale:l}),be=ld({months:he,direction:d,monthLegendPosition:F,monthLegendOffset:I}),ye=sd({years:me,direction:d,yearLegendPosition:E,yearLegendOffset:k}),Ae=cd({days:ge.days,data:c,colorScale:ve,emptyColor:p}),xe=Tc(x),Ce=Tc(A);return(0,Qn.jsxs)(Qc,{width:de,height:fe,margin:le,role:ie,children:[Ae.map((function(e){return(0,Qn.jsx)(Xu,{data:e,x:e.x,y:e.y,size:e.size,color:e.color,borderWidth:V,borderColor:H,onMouseEnter:J,onMouseLeave:ee,onMouseMove:te,isInteractive:K,tooltip:X,onClick:Q,formatValue:Ce},e.date.toString())})),he.map((function(e){return(0,Qn.jsx)(Ku,{path:e.path,borderWidth:M,borderColor:T},e.date.toString())})),(0,Qn.jsx)($u,{months:be,legend:R,theme:ae}),(0,Qn.jsx)(Gu,{years:ye,legend:_,theme:ae}),re.map((function(e,t){var o=ve.ticks(e.itemCount).map((function(e){return{id:e,label:xe(e),color:ve(e)}}));return(0,Qn.jsx)(Cu,Vu({},e,{containerWidth:n,containerHeight:r,data:o}),t)}))]})},pd=function(e){var t=e.isInteractive,n=void 0===t?td.isInteractive:t,r=e.renderWrapper,o=e.theme,i=Yu(e,dd);return(0,Qn.jsx)(Nc,{isInteractive:n,renderWrapper:r,theme:o,children:(0,Qn.jsx)(fd,Vu({isInteractive:n},i))})},hd=(Is("%Y-%m-%d"),(0,r.memo)((function(e){var t=e.data,n=e.x,o=e.ry,i=void 0===o?5:o,a=e.rx,s=void 0===a?5:a,l=e.y,c=e.width,u=e.height,d=e.color,f=e.borderWidth,p=e.borderColor,h=e.isInteractive,m=e.tooltip,g=e.onMouseEnter,v=e.onMouseMove,b=e.onMouseLeave,y=e.onClick,A=e.formatValue,x=dr(),C=x.showTooltipFromEvent,_=x.hideTooltip,w=(0,r.useCallback)((function(e){if("value"in t){var n=Vu({},t,{value:A(t.value)});C((0,r.createElement)(m,Vu({},n)),e),null==g||g(t,e)}}),[C,m,t,g,A]),k=(0,r.useCallback)((function(e){if("value"in t){var n=Vu({},t,{value:A(t.value)});C((0,r.createElement)(m,Vu({},n)),e),null==v||v(t,e)}}),[C,m,t,v,A]),S=(0,r.useCallback)((function(e){"value"in t&&(_(),null==b||b(t,e))}),[_,t,b]),E=(0,r.useCallback)((function(e){return null==y?void 0:y(t,e)}),[t,y]);return(0,Qn.jsx)("rect",{x:n,y:l,rx:s,ry:i,width:c,height:u,style:{fill:d,strokeWidth:f,stroke:p},onMouseEnter:h?w:void 0,onMouseMove:h?k:void 0,onMouseLeave:h?S:void 0,onClick:h?E:void 0})})),function(e){return(0,Qn.jsx)(Fc,{children:function(t){var n=t.width,r=t.height;return(0,Qn.jsx)(pd,Vu({width:n,height:r},e))}})}),md=["months","years"],gd=function(e,t,n,r,o,i){var a=function(e,t){var n=t.clientX,r=t.clientY,o=e.getBoundingClientRect(),i=e.getBBox(),a=i.width===o.width?1:i.width/o.width;return[(n-o.left)*a,(r-o.top)*a]}(t,e),s=a[0],l=a[1];return n.find((function(e){return"value"in e&&function(e,t,n,r,o,i){return e<=o&&o<=e+n&&t<=i&&i<=t+r}(e.x+i.left-o/2,e.y+i.top-o/2,r+o,r+o,s,l)}))};(0,r.memo)((function(e){var t=e.margin,n=e.width,o=e.height,i=e.pixelRatio,a=void 0===i?nd.pixelRatio:i,s=e.align,l=void 0===s?nd.align:s,c=e.colors,u=void 0===c?nd.colors:c,d=e.colorScale,f=e.data,p=e.direction,h=void 0===p?nd.direction:p,m=e.emptyColor,g=void 0===m?nd.emptyColor:m,v=e.from,b=e.to,y=e.minValue,A=void 0===y?nd.minValue:y,x=e.maxValue,C=void 0===x?nd.maxValue:x,_=e.valueFormat,w=e.legendFormat,k=e.yearLegend,S=void 0===k?nd.yearLegend:k,E=e.yearLegendOffset,B=void 0===E?nd.yearLegendOffset:E,O=e.yearLegendPosition,j=void 0===O?nd.yearLegendPosition:O,T=e.yearSpacing,P=void 0===T?nd.yearSpacing:T,M=e.monthLegend,D=void 0===M?nd.monthLegend:M,R=e.monthLegendOffset,L=void 0===R?nd.monthLegendOffset:R,I=e.monthLegendPosition,N=void 0===I?nd.monthLegendPosition:I,F=e.monthSpacing,z=void 0===F?nd.monthSpacing:F,q=e.dayBorderColor,U=void 0===q?nd.dayBorderColor:q,H=e.dayBorderWidth,W=void 0===H?nd.dayBorderWidth:H,V=e.daySpacing,Y=void 0===V?nd.daySpacing:V,Z=e.isInteractive,G=void 0===Z?nd.isInteractive:Z,K=e.tooltip,$=void 0===K?nd.tooltip:K,X=e.onClick,Q=e.onMouseEnter,J=e.onMouseLeave,ee=e.onMouseMove,te=e.legends,ne=void 0===te?nd.legends:te,re=(0,r.useRef)(null),oe=Oc(n,o,t),ie=oe.innerWidth,ae=oe.innerHeight,se=oe.outerWidth,le=oe.outerHeight,ce=oe.margin,ue=id({width:ie,height:ae,from:v,to:b,direction:h,yearSpacing:P,monthSpacing:z,daySpacing:Y,align:l}),de=ue.months,fe=ue.years,pe=Yu(ue,md),he=ad({data:f,minValue:A,maxValue:C,colors:u,colorScale:d}),me=ld({months:de,direction:h,monthLegendPosition:N,monthLegendOffset:L}),ge=sd({years:fe,direction:h,yearLegendPosition:j,yearLegendOffset:B}),ve=cd({days:pe.days,data:f,colorScale:he,emptyColor:g}),be=(0,r.useState)(null),ye=be[0],Ae=be[1],xe=Rc(),Ce=Tc(_),_e=Tc(w),we=dr(),ke=we.showTooltipFromEvent,Se=we.hideTooltip;(0,r.useEffect)((function(){var e;if(re.current){re.current.width=se*a,re.current.height=le*a;var t=re.current.getContext("2d");t&&(t.scale(a,a),t.fillStyle=xe.background,t.fillRect(0,0,se,le),t.translate(ce.left,ce.top),ve.forEach((function(e){t.fillStyle=e.color,W>0&&(t.strokeStyle=U,t.lineWidth=W),t.beginPath(),t.rect(e.x,e.y,e.size,e.size),t.fill(),W>0&&t.stroke()})),t.textAlign="center",t.textBaseline="middle",t.fillStyle=null!=(e=xe.labels.text.fill)?e:"",t.font=xe.labels.text.fontSize+"px "+xe.labels.text.fontFamily,me.forEach((function(e){t.save(),t.translate(e.x,e.y),t.rotate(Wc(e.rotation)),t.fillText(String(D(e.year,e.month,e.date)),0,0),t.restore()})),ge.forEach((function(e){t.save(),t.translate(e.x,e.y),t.rotate(Wc(e.rotation)),t.fillText(String(S(e.year)),0,0),t.restore()})),ne.forEach((function(e){var n=he.ticks(e.itemCount).map((function(e){return{id:e,label:_e(e),color:he(e)}}));wu(t,Vu({},e,{data:n,containerWidth:ie,containerHeight:ae,theme:xe}))})))}}),[re,ae,ie,se,le,a,ce,ve,U,W,d,S,ge,D,me,ne,xe,_e,he]);var Ee=(0,r.useCallback)((function(e){if(re.current){var t=gd(e,re.current,ve,ve[0].size,W,ce);if(t){if(Ae(t),!("value"in t))return;var n=Vu({},t,{value:Ce(t.value),data:Vu({},t.data)});ke(r.createElement($,Vu({},n)),e),!ye&&(null==Q||Q(t,e)),null==ee||ee(t,e),ye&&(null==J||J(t,e))}else Se(),t&&(null==J||J(t,e))}}),[re,ye,ce,ve,Ae,Ce,W,ke,Se,Q,ee,J,$]),Be=(0,r.useCallback)((function(){Ae(null),Se()}),[Ae,Se]),Oe=(0,r.useCallback)((function(e){if(X&&re.current){var t=gd(e,re.current,ve,ve[0].size,Y,ce);t&&X(t,e)}}),[re,Y,ce,ve,X]);return(0,Qn.jsx)("canvas",{ref:re,width:se*a,height:le*a,style:{width:se,height:le},onMouseEnter:G?Ee:void 0,onMouseMove:G?Ee:void 0,onMouseLeave:G?Be:void 0,onClick:G?Oe:void 0})}))},37054:function(e,t,n){"use strict";n.d(t,{Cd:function(){return $e},Jx:function(){return H},KJ:function(){return B},R:function(){return L},XL:function(){return X},b6:function(){return v},nx:function(){return Le}});var r,o=n(67294),i=n(73935),a=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self&&self,{exports:{}}),s={};a.exports=function(){if(r)return s;r=1;var e=o,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,n,r){var o,s={},c=null,u=null;for(o in void 0!==r&&(c=""+r),void 0!==n.key&&(c=""+n.key),void 0!==n.ref&&(u=n.ref),n)i.call(n,o)&&!l.hasOwnProperty(o)&&(s[o]=n[o]);if(e&&e.defaultProps)for(o in n=e.defaultProps)void 0===s[o]&&(s[o]=n[o]);return{$$typeof:t,type:e,key:c,ref:u,props:s,_owner:a.current}}return s.Fragment=n,s.jsx=c,s.jsxs=c,s}();var l=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}};const c=(0,o.createContext)(null);function u(e,t,n,r){const o={};var i,a;return i=e,a=(e,i)=>{const a=n[i];a!==t[i]&&(o[i]=a,e(r,a))},Object.keys(i).forEach((e=>a(i[e],e))),o}function d(e,t,n){const r=(o=n,i=function(n,r,o){return"function"==typeof e[o]&&n.push(google.maps.event.addListener(t,r,e[o])),n},a=[],Object.keys(o).reduce((function(e,t){return i(e,o[t],t)}),a));var o,i,a;return r}function f(e){google.maps.event.removeListener(e)}function p(e=[]){e.forEach(f)}function h({updaterMap:e,eventMap:t,prevProps:n,nextProps:r,instance:o}){const i=d(r,o,t);return u(e,n,r,o),i}const m={onDblClick:"dblclick",onDragEnd:"dragend",onDragStart:"dragstart",onMapTypeIdChanged:"maptypeid_changed",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseDown:"mousedown",onMouseUp:"mouseup",onRightClick:"rightclick",onTilesLoaded:"tilesloaded",onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onDrag:"drag",onHeadingChanged:"heading_changed",onIdle:"idle",onProjectionChanged:"projection_changed",onResize:"resize",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed"},g={extraMapTypes(e,t){t.forEach((function(t,n){e.mapTypes.set(String(n),t)}))},center(e,t){e.setCenter(t)},clickableIcons(e,t){e.setClickableIcons(t)},heading(e,t){e.setHeading(t)},mapTypeId(e,t){e.setMapTypeId(t)},options(e,t){e.setOptions(t)},streetView(e,t){e.setStreetView(t)},tilt(e,t){e.setTilt(t)},zoom(e,t){e.setZoom(t)}};(0,o.memo)((function({children:e,options:t,id:n,mapContainerStyle:r,mapContainerClassName:i,center:s,onClick:l,onDblClick:u,onDrag:d,onDragEnd:f,onDragStart:p,onMouseMove:h,onMouseOut:m,onMouseOver:g,onMouseDown:v,onMouseUp:b,onRightClick:y,onCenterChanged:A,onLoad:x,onUnmount:C}){const[_,w]=(0,o.useState)(null),k=(0,o.useRef)(null),[S,E]=(0,o.useState)(null),[B,O]=(0,o.useState)(null),[j,T]=(0,o.useState)(null),[P,M]=(0,o.useState)(null),[D,R]=(0,o.useState)(null),[L,I]=(0,o.useState)(null),[N,F]=(0,o.useState)(null),[z,q]=(0,o.useState)(null),[U,H]=(0,o.useState)(null),[W,V]=(0,o.useState)(null),[Y,Z]=(0,o.useState)(null),[G,K]=(0,o.useState)(null);return(0,o.useEffect)((()=>{t&&null!==_&&_.setOptions(t)}),[_,t]),(0,o.useEffect)((()=>{null!==_&&void 0!==s&&_.setCenter(s)}),[_,s]),(0,o.useEffect)((()=>{_&&u&&(null!==B&&google.maps.event.removeListener(B),O(google.maps.event.addListener(_,"dblclick",u)))}),[u]),(0,o.useEffect)((()=>{_&&f&&(null!==j&&google.maps.event.removeListener(j),T(google.maps.event.addListener(_,"dragend",f)))}),[u]),(0,o.useEffect)((()=>{_&&p&&(null!==P&&google.maps.event.removeListener(P),M(google.maps.event.addListener(_,"dragstart",p)))}),[p]),(0,o.useEffect)((()=>{_&&v&&(null!==D&&google.maps.event.removeListener(D),R(google.maps.event.addListener(_,"mousedown",v)))}),[v]),(0,o.useEffect)((()=>{_&&h&&(null!==L&&google.maps.event.removeListener(L),I(google.maps.event.addListener(_,"mousemove",h)))}),[h]),(0,o.useEffect)((()=>{_&&m&&(null!==N&&google.maps.event.removeListener(N),F(google.maps.event.addListener(_,"mouseout",m)))}),[m]),(0,o.useEffect)((()=>{_&&g&&(null!==z&&google.maps.event.removeListener(z),q(google.maps.event.addListener(_,"mouseover",g)))}),[g]),(0,o.useEffect)((()=>{_&&b&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(_,"mouseup",b)))}),[b]),(0,o.useEffect)((()=>{_&&y&&(null!==W&&google.maps.event.removeListener(W),V(google.maps.event.addListener(_,"rightclick",y)))}),[y]),(0,o.useEffect)((()=>{_&&l&&(null!==Y&&google.maps.event.removeListener(Y),Z(google.maps.event.addListener(_,"click",l)))}),[l]),(0,o.useEffect)((()=>{_&&d&&(null!==G&&google.maps.event.removeListener(G),K(google.maps.event.addListener(_,"drag",d)))}),[d]),(0,o.useEffect)((()=>{_&&A&&(null!==S&&google.maps.event.removeListener(S),E(google.maps.event.addListener(_,"center_changed",A)))}),[l]),(0,o.useEffect)((()=>{const e=null===k.current?null:new google.maps.Map(k.current,t);return w(e),null!==e&&x&&x(e),()=>{null!==e&&C&&C(e)}}),[]),a.exports.jsx("div",Object.assign({id:n,ref:k,style:r,className:i},{children:a.exports.jsx(c.Provider,Object.assign({value:_},{children:null!==_?e:a.exports.jsx(a.exports.Fragment,{})}))}))}));class v extends o.PureComponent{constructor(){super(...arguments),this.state={map:null},this.registeredEvents=[],this.mapRef=null,this.getInstance=()=>null===this.mapRef?null:new google.maps.Map(this.mapRef,this.props.options),this.panTo=e=>{const t=this.getInstance();t&&t.panTo(e)},this.setMapCallback=()=>{null!==this.state.map&&this.props.onLoad&&this.props.onLoad(this.state.map)},this.getRef=e=>{this.mapRef=e}}componentDidMount(){const e=this.getInstance();this.registeredEvents=h({updaterMap:g,eventMap:m,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{map:e}}),this.setMapCallback)}componentDidUpdate(e){null!==this.state.map&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:g,eventMap:m,prevProps:e,nextProps:this.props,instance:this.state.map}))}componentWillUnmount(){null!==this.state.map&&(this.props.onUnmount&&this.props.onUnmount(this.state.map),p(this.registeredEvents))}render(){return a.exports.jsx("div",Object.assign({id:this.props.id,ref:this.getRef,style:this.props.mapContainerStyle,className:this.props.mapContainerClassName},{children:a.exports.jsx(c.Provider,Object.assign({value:this.state.map},{children:null!==this.state.map?this.props.children:a.exports.jsx(a.exports.Fragment,{})}))}))}}function b(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}function y(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}const A="undefined"!=typeof document;function x({url:e,id:t,nonce:n}){return A?new Promise((function(r,o){const i=document.getElementById(t),a=window;if(i){const n=i.getAttribute("data-state");if(i.src===e&&"error"!==n){if("ready"===n)return r(t);{const e=a.initMap,n=i.onerror;return a.initMap=function(){e&&e(),r(t)},void(i.onerror=function(e){n&&n(e),o(e)})}}i.remove()}const s=document.createElement("script");s.type="text/javascript",s.src=e,s.id=t,s.async=!0,s.nonce=n,s.onerror=function(e){s.setAttribute("data-state","error"),o(e)},a.initMap=function(){s.setAttribute("data-state","ready"),r(t)},document.head.appendChild(s)})).catch((e=>{throw console.error("injectScript error: ",e),e})):Promise.reject(new Error("document is undefined"))}function C(e){const t=e.href;return!(!t||0!==t.indexOf("https://fonts.googleapis.com/css?family=Roboto")&&0!==t.indexOf("https://fonts.googleapis.com/css?family=Google+Sans+Text"))||("style"===e.tagName.toLowerCase()&&e.styleSheet&&e.styleSheet.cssText&&0===e.styleSheet.cssText.replace("\r\n","").indexOf(".gm-style")?(e.styleSheet.cssText="",!0):"style"===e.tagName.toLowerCase()&&e.innerHTML&&0===e.innerHTML.replace("\r\n","").indexOf(".gm-style")?(e.innerHTML="",!0):"style"===e.tagName.toLowerCase()&&!e.styleSheet&&!e.innerHTML)}function _(){const e=document.getElementsByTagName("head")[0],t=e.insertBefore.bind(e);e.insertBefore=function(n,r){C(n)||Reflect.apply(t,e,[n,r])};const n=e.appendChild.bind(e);e.appendChild=function(t){C(t)||Reflect.apply(n,e,[t])}}function w({googleMapsApiKey:e,googleMapsClientId:t,version:n="weekly",language:r,region:o,libraries:i,channel:a,mapIds:s,authReferrerPolicy:c}){const u=[];return l(e&&t||!(e&&t),"You need to specify either googleMapsApiKey or googleMapsClientId for @react-google-maps/api load script to work. You cannot use both at the same time."),e?u.push(`key=${e}`):t&&u.push(`client=${t}`),n&&u.push(`v=${n}`),r&&u.push(`language=${r}`),o&&u.push(`region=${o}`),i&&i.length&&u.push(`libraries=${i.sort().join(",")}`),a&&u.push(`channel=${a}`),s&&s.length&&u.push(`map_ids=${s.join(",")}`),c&&u.push(`auth_referrer_policy=${c}`),u.push("callback=initMap"),`https://maps.googleapis.com/maps/api/js?${u.join("&")}`}let k=!1;function S(){return a.exports.jsx("div",{children:"Loading..."})}const E={id:"script-loader",version:"weekly"};class B extends o.PureComponent{constructor(){super(...arguments),this.check=(0,o.createRef)(),this.state={loaded:!1},this.cleanupCallback=()=>{delete window.google.maps,this.injectScript()},this.isCleaningUp=()=>y(this,void 0,void 0,(function*(){return new Promise((function(e){if(k){if(A){const t=window.setInterval((function(){k||(window.clearInterval(t),e())}),1)}}else e()}))})),this.cleanup=()=>{k=!0;const e=document.getElementById(this.props.id);e&&e.parentNode&&e.parentNode.removeChild(e),Array.prototype.slice.call(document.getElementsByTagName("script")).filter((function(e){return"string"==typeof e.src&&e.src.includes("maps.googleapis")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("link")).filter((function(e){return"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Google+Sans"===e.href})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)})),Array.prototype.slice.call(document.getElementsByTagName("style")).filter((function(e){return void 0!==e.innerText&&e.innerText.length>0&&e.innerText.includes(".gm-")})).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))},this.injectScript=()=>{this.props.preventGoogleFontsLoading&&_(),l(!!this.props.id,'LoadScript requires "id" prop to be a string: %s',this.props.id);x({id:this.props.id,nonce:this.props.nonce,url:w(this.props)}).then((()=>{this.props.onLoad&&this.props.onLoad(),this.setState((function(){return{loaded:!0}}))})).catch((e=>{this.props.onError&&this.props.onError(e),console.error(`\n          There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${this.props.googleMapsApiKey||"-"}) or Client ID (${this.props.googleMapsClientId||"-"}) to <LoadScript />\n          Otherwise it is a Network issue.\n        `)}))}}componentDidMount(){if(A){if(window.google&&window.google.maps&&!k)return void console.error("google api is already presented");this.isCleaningUp().then(this.injectScript).catch((function(e){console.error("Error at injecting script after cleaning up: ",e)}))}}componentDidUpdate(e){this.props.libraries!==e.libraries&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),A&&e.language!==this.props.language&&(this.cleanup(),this.setState((function(){return{loaded:!1}}),this.cleanupCallback))}componentWillUnmount(){if(A){this.cleanup();const e=()=>{this.check.current||(delete window.google,k=!1)};window.setTimeout(e,1),this.props.onUnmount&&this.props.onUnmount()}}render(){return a.exports.jsxs(a.exports.Fragment,{children:[a.exports.jsx("div",{ref:this.check}),this.state.loaded?this.props.children:this.props.loadingElement||a.exports.jsx(S,{})]})}}let O;B.defaultProps=E;const j=a.exports.jsx(S,{});(0,o.memo)((function(e){var{loadingElement:t,onLoad:n,onError:r,onUnmount:i,children:a}=e,s=b(e,["loadingElement","onLoad","onError","onUnmount","children"]);const{isLoaded:c,loadError:u}=function({id:e=E.id,version:t=E.version,nonce:n,googleMapsApiKey:r,googleMapsClientId:i,language:a,region:s,libraries:c,preventGoogleFontsLoading:u,channel:d,mapIds:f,authReferrerPolicy:p}){const h=(0,o.useRef)(!1),[m,g]=(0,o.useState)(!1),[v,b]=(0,o.useState)(void 0);(0,o.useEffect)((function(){return h.current=!0,()=>{h.current=!1}}),[]),(0,o.useEffect)((function(){A&&u&&_()}),[u]),(0,o.useEffect)((function(){m&&l(!!window.google,"useLoadScript was marked as loaded, but window.google is not present. Something went wrong.")}),[m]);const y=w({version:t,googleMapsApiKey:r,googleMapsClientId:i,language:a,region:s,libraries:c,channel:d,mapIds:f,authReferrerPolicy:p});(0,o.useEffect)((function(){function t(){h.current&&(g(!0),O=y)}A&&(window.google&&window.google.maps&&O===y?t():x({id:e,url:y,nonce:n}).then(t).catch((function(e){h.current&&b(e),console.warn(`\n        There has been an Error with loading Google Maps API script, please check that you provided correct google API key (${r||"-"}) or Client ID (${i||"-"})\n        Otherwise it is a Network issue.\n      `),console.error(e)})))}),[e,y,n]);const C=(0,o.useRef)();return(0,o.useEffect)((function(){C.current&&c!==C.current&&console.warn("Performance warning! LoadScript has been reloaded unintentionally! You should not pass `libraries` prop as new array. Please keep an array of libraries as static class property for Components and PureComponents, or just a const variable outside of component, or somewhere in config files or ENV variables"),C.current=c}),[c]),{isLoaded:m,loadError:v,url:y}}(s);return(0,o.useEffect)((function(){c&&"function"==typeof n&&n()}),[c,n]),(0,o.useEffect)((function(){u&&"function"==typeof r&&r(u)}),[u,r]),(0,o.useEffect)((function(){return()=>{i&&i()}}),[i]),c?a:t||j}));var T;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(T||(T={}));const P={},M={options(e,t){e.setOptions(t)}};(0,o.memo)((function({options:e,onLoad:t,onUnmount:n}){const r=(0,o.useContext)(c),[i,a]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==i&&i.setMap(r)}),[r]),(0,o.useEffect)((()=>{e&&null!==i&&i.setOptions(e)}),[i,e]),(0,o.useEffect)((()=>{const o=new google.maps.TrafficLayer(Object.assign(Object.assign({},e||{}),{map:r}));return a(o),t&&t(o),()=>{null!==i&&(n&&n(i),i.setMap(null))}}),[]),null}));class D extends o.PureComponent{constructor(){super(...arguments),this.state={trafficLayer:null},this.setTrafficLayerCallback=()=>{null!==this.state.trafficLayer&&this.props.onLoad&&this.props.onLoad(this.state.trafficLayer)},this.registeredEvents=[]}componentDidMount(){const e=new google.maps.TrafficLayer(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:M,eventMap:P,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{trafficLayer:e}}),this.setTrafficLayerCallback)}componentDidUpdate(e){null!==this.state.trafficLayer&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:M,eventMap:P,prevProps:e,nextProps:this.props,instance:this.state.trafficLayer}))}componentWillUnmount(){null!==this.state.trafficLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.trafficLayer),p(this.registeredEvents),this.state.trafficLayer.setMap(null))}render(){return null}}D.contextType=c;(0,o.memo)((function({onLoad:e,onUnmount:t}){const n=(0,o.useContext)(c),[r,i]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==r&&r.setMap(n)}),[n]),(0,o.useEffect)((()=>{const r=new google.maps.BicyclingLayer;return i(r),r.setMap(n),e&&e(r),()=>{null!==r&&(t&&t(r),r.setMap(null))}}),[]),null}));class R extends o.PureComponent{constructor(){super(...arguments),this.state={bicyclingLayer:null},this.setBicyclingLayerCallback=()=>{null!==this.state.bicyclingLayer&&(this.state.bicyclingLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.bicyclingLayer))}}componentDidMount(){const e=new google.maps.BicyclingLayer;this.setState((()=>({bicyclingLayer:e})),this.setBicyclingLayerCallback)}componentWillUnmount(){null!==this.state.bicyclingLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.bicyclingLayer),this.state.bicyclingLayer.setMap(null))}render(){return null}}R.contextType=c;(0,o.memo)((function({onLoad:e,onUnmount:t}){const n=(0,o.useContext)(c),[r,i]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==r&&r.setMap(n)}),[n]),(0,o.useEffect)((()=>{const o=new google.maps.TransitLayer;return i(o),o.setMap(n),e&&e(o),()=>{null!==r&&(t&&t(r),this.state.transitLayer.setMap(null))}}),[]),null}));class L extends o.PureComponent{constructor(){super(...arguments),this.state={transitLayer:null},this.setTransitLayerCallback=()=>{null!==this.state.transitLayer&&(this.state.transitLayer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.transitLayer))}}componentDidMount(){const e=new google.maps.TransitLayer;this.setState((function(){return{transitLayer:e}}),this.setTransitLayerCallback)}componentWillUnmount(){null!==this.state.transitLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.transitLayer),this.state.transitLayer.setMap(null))}render(){return null}}L.contextType=c;const I={onCircleComplete:"circlecomplete",onMarkerComplete:"markercomplete",onOverlayComplete:"overlaycomplete",onPolygonComplete:"polygoncomplete",onPolylineComplete:"polylinecomplete",onRectangleComplete:"rectanglecomplete"},N={drawingMode(e,t){e.setDrawingMode(t)},options(e,t){e.setOptions(t)}};(0,o.memo)((function({options:e,drawingMode:t,onCircleComplete:n,onMarkerComplete:r,onOverlayComplete:i,onPolygonComplete:a,onPolylineComplete:s,onRectangleComplete:u,onLoad:d,onUnmount:f}){const p=(0,o.useContext)(c),[h,m]=(0,o.useState)(null),[g,v]=(0,o.useState)(null),[b,y]=(0,o.useState)(null),[A,x]=(0,o.useState)(null),[C,_]=(0,o.useState)(null),[w,k]=(0,o.useState)(null),[S,E]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==h&&h.setMap(p)}),[p]),(0,o.useEffect)((()=>{e&&null!==h&&h.setOptions(e)}),[h,e]),(0,o.useEffect)((()=>{t&&null!==h&&h.setDrawingMode(t)}),[h,t]),(0,o.useEffect)((()=>{h&&n&&(null!==g&&google.maps.event.removeListener(g),v(google.maps.event.addListener(h,"circlecomplete",n)))}),[h,n]),(0,o.useEffect)((()=>{h&&r&&(null!==b&&google.maps.event.removeListener(b),y(google.maps.event.addListener(h,"markercomplete",r)))}),[h,r]),(0,o.useEffect)((()=>{h&&i&&(null!==A&&google.maps.event.removeListener(A),x(google.maps.event.addListener(h,"overlaycomplete",i)))}),[h,i]),(0,o.useEffect)((()=>{h&&a&&(null!==C&&google.maps.event.removeListener(C),_(google.maps.event.addListener(h,"polygoncomplete",a)))}),[h,a]),(0,o.useEffect)((()=>{h&&s&&(null!==w&&google.maps.event.removeListener(w),k(google.maps.event.addListener(h,"polylinecomplete",s)))}),[h,s]),(0,o.useEffect)((()=>{h&&u&&(null!==S&&google.maps.event.removeListener(S),E(google.maps.event.addListener(h,"rectanglecomplete",u)))}),[h,u]),(0,o.useEffect)((()=>{l(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing);const o=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},e||{}),{map:p}));return t&&o.setDrawingMode(t),n&&v(google.maps.event.addListener(o,"circlecomplete",n)),r&&y(google.maps.event.addListener(o,"markercomplete",r)),i&&x(google.maps.event.addListener(o,"overlaycomplete",i)),a&&_(google.maps.event.addListener(o,"polygoncomplete",a)),s&&k(google.maps.event.addListener(o,"polylinecomplete",s)),u&&E(google.maps.event.addListener(o,"rectanglecomplete",u)),m(o),d&&d(o),()=>{null!==h&&(g&&google.maps.event.removeListener(g),b&&google.maps.event.removeListener(b),A&&google.maps.event.removeListener(A),C&&google.maps.event.removeListener(C),w&&google.maps.event.removeListener(w),S&&google.maps.event.removeListener(S),f&&f(h),h.setMap(null))}}),[]),null}));class F extends o.PureComponent{constructor(e){super(e),this.registeredEvents=[],this.state={drawingManager:null},this.setDrawingManagerCallback=()=>{null!==this.state.drawingManager&&this.props.onLoad&&this.props.onLoad(this.state.drawingManager)},l(!!google.maps.drawing,"Did you include prop libraries={['drawing']} in the URL? %s",google.maps.drawing)}componentDidMount(){const e=new google.maps.drawing.DrawingManager(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:N,eventMap:I,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{drawingManager:e}}),this.setDrawingManagerCallback)}componentDidUpdate(e){null!==this.state.drawingManager&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:N,eventMap:I,prevProps:e,nextProps:this.props,instance:this.state.drawingManager}))}componentWillUnmount(){null!==this.state.drawingManager&&(this.props.onUnmount&&this.props.onUnmount(this.state.drawingManager),p(this.registeredEvents),this.state.drawingManager.setMap(null))}render(){return null}}F.contextType=c;const z={onAnimationChanged:"animation_changed",onClick:"click",onClickableChanged:"clickable_changed",onCursorChanged:"cursor_changed",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDraggableChanged:"draggable_changed",onDragStart:"dragstart",onFlatChanged:"flat_changed",onIconChanged:"icon_changed",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onPositionChanged:"position_changed",onRightClick:"rightclick",onShapeChanged:"shape_changed",onTitleChanged:"title_changed",onVisibleChanged:"visible_changed",onZindexChanged:"zindex_changed"},q={animation(e,t){e.setAnimation(t)},clickable(e,t){e.setClickable(t)},cursor(e,t){e.setCursor(t)},draggable(e,t){e.setDraggable(t)},icon(e,t){e.setIcon(t)},label(e,t){e.setLabel(t)},map(e,t){e.setMap(t)},opacity(e,t){e.setOpacity(t)},options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},shape(e,t){e.setShape(t)},title(e,t){e.setTitle(t)},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}},U={};(0,o.memo)((function({position:e,options:t,clusterer:n,noClustererRedraw:r,children:i,draggable:s,visible:l,animation:u,clickable:d,cursor:f,icon:p,label:h,opacity:m,shape:g,title:v,zIndex:b,onClick:y,onDblClick:A,onDrag:x,onDragEnd:C,onDragStart:_,onMouseOut:w,onMouseOver:k,onMouseUp:S,onMouseDown:E,onRightClick:B,onClickableChanged:O,onCursorChanged:j,onAnimationChanged:T,onDraggableChanged:P,onFlatChanged:M,onIconChanged:D,onPositionChanged:R,onShapeChanged:L,onTitleChanged:I,onVisibleChanged:N,onZindexChanged:F,onLoad:z,onUnmount:q}){const H=(0,o.useContext)(c),[W,V]=(0,o.useState)(null),[Y,Z]=(0,o.useState)(null),[G,K]=(0,o.useState)(null),[$,X]=(0,o.useState)(null),[Q,J]=(0,o.useState)(null),[ee,te]=(0,o.useState)(null),[ne,re]=(0,o.useState)(null),[oe,ie]=(0,o.useState)(null),[ae,se]=(0,o.useState)(null),[le,ce]=(0,o.useState)(null),[ue,de]=(0,o.useState)(null),[fe,pe]=(0,o.useState)(null),[he,me]=(0,o.useState)(null),[ge,ve]=(0,o.useState)(null),[be,ye]=(0,o.useState)(null),[Ae,xe]=(0,o.useState)(null),[Ce,_e]=(0,o.useState)(null),[we,ke]=(0,o.useState)(null),[Se,Ee]=(0,o.useState)(null),[Be,Oe]=(0,o.useState)(null),[je,Te]=(0,o.useState)(null),[Pe,Me]=(0,o.useState)(null);(0,o.useEffect)((()=>{null!==W&&W.setMap(H)}),[H]),(0,o.useEffect)((()=>{void 0!==t&&null!==W&&W.setOptions(t)}),[W,t]),(0,o.useEffect)((()=>{void 0!==s&&null!==W&&W.setDraggable(s)}),[W,s]),(0,o.useEffect)((()=>{e&&null!==W&&W.setPosition(e)}),[W,e]),(0,o.useEffect)((()=>{void 0!==l&&null!==W&&W.setVisible(l)}),[W,l]),(0,o.useEffect)((()=>{u&&null!==W&&W.setAnimation(u)}),[W,u]),(0,o.useEffect)((()=>{W&&A&&(null!==Y&&google.maps.event.removeListener(Y),Z(google.maps.event.addListener(W,"dblclick",A)))}),[A]),(0,o.useEffect)((()=>{W&&C&&(null!==G&&google.maps.event.removeListener(G),K(google.maps.event.addListener(W,"dragend",C)))}),[A]),(0,o.useEffect)((()=>{W&&_&&(null!==$&&google.maps.event.removeListener($),X(google.maps.event.addListener(W,"dragstart",_)))}),[_]),(0,o.useEffect)((()=>{W&&E&&(null!==Q&&google.maps.event.removeListener(Q),J(google.maps.event.addListener(W,"mousedown",E)))}),[E]),(0,o.useEffect)((()=>{W&&w&&(null!==ee&&google.maps.event.removeListener(ee),te(google.maps.event.addListener(W,"mouseout",w)))}),[w]),(0,o.useEffect)((()=>{W&&k&&(null!==ne&&google.maps.event.removeListener(ne),re(google.maps.event.addListener(W,"mouseover",k)))}),[k]),(0,o.useEffect)((()=>{W&&S&&(null!==oe&&google.maps.event.removeListener(oe),ie(google.maps.event.addListener(W,"mouseup",S)))}),[S]),(0,o.useEffect)((()=>{W&&B&&(null!==ae&&google.maps.event.removeListener(ae),se(google.maps.event.addListener(W,"rightclick",B)))}),[B]),(0,o.useEffect)((()=>{W&&y&&(null!==le&&google.maps.event.removeListener(le),ce(google.maps.event.addListener(W,"click",y)))}),[y]),(0,o.useEffect)((()=>{W&&x&&(null!==ue&&google.maps.event.removeListener(ue),de(google.maps.event.addListener(W,"drag",x)))}),[x]),(0,o.useEffect)((()=>{W&&O&&(null!==fe&&google.maps.event.removeListener(fe),pe(google.maps.event.addListener(W,"clickable_changed",O)))}),[O]),(0,o.useEffect)((()=>{W&&j&&(null!==he&&google.maps.event.removeListener(he),me(google.maps.event.addListener(W,"cursor_changed",j)))}),[j]),(0,o.useEffect)((()=>{W&&T&&(null!==ge&&google.maps.event.removeListener(ge),ve(google.maps.event.addListener(W,"animation_changed",T)))}),[T]),(0,o.useEffect)((()=>{W&&P&&(null!==be&&google.maps.event.removeListener(be),ye(google.maps.event.addListener(W,"draggable_changed",P)))}),[P]),(0,o.useEffect)((()=>{W&&M&&(null!==Ae&&google.maps.event.removeListener(Ae),xe(google.maps.event.addListener(W,"flat_changed",M)))}),[M]),(0,o.useEffect)((()=>{W&&D&&(null!==Ce&&google.maps.event.removeListener(Ce),_e(google.maps.event.addListener(W,"icon_changed",D)))}),[D]),(0,o.useEffect)((()=>{W&&R&&(null!==we&&google.maps.event.removeListener(we),ke(google.maps.event.addListener(W,"position_changed",R)))}),[R]),(0,o.useEffect)((()=>{W&&L&&(null!==Se&&google.maps.event.removeListener(Se),Ee(google.maps.event.addListener(W,"shape_changed",L)))}),[L]),(0,o.useEffect)((()=>{W&&I&&(null!==Be&&google.maps.event.removeListener(Be),Oe(google.maps.event.addListener(W,"title_changed",I)))}),[I]),(0,o.useEffect)((()=>{W&&N&&(null!==je&&google.maps.event.removeListener(je),Te(google.maps.event.addListener(W,"visible_changed",N)))}),[N]),(0,o.useEffect)((()=>{W&&F&&(null!==Pe&&google.maps.event.removeListener(Pe),Me(google.maps.event.addListener(W,"zindex_changed",F)))}),[F]),(0,o.useEffect)((()=>{const o=Object.assign(Object.assign(Object.assign({},t||U),n?U:{map:H}),{position:e}),i=new google.maps.Marker(o);return n?n.addMarker(i,!!r):i.setMap(H),e&&i.setPosition(e),void 0!==l&&i.setVisible(l),void 0!==s&&i.setDraggable(s),void 0!==d&&i.setClickable(d),"string"==typeof f&&i.setCursor(f),p&&i.setIcon(p),void 0!==h&&i.setLabel(h),void 0!==m&&i.setOpacity(m),g&&i.setShape(g),"string"==typeof v&&i.setTitle(v),"number"==typeof b&&i.setZIndex(b),A&&Z(google.maps.event.addListener(i,"dblclick",A)),C&&K(google.maps.event.addListener(i,"dragend",C)),_&&X(google.maps.event.addListener(i,"dragstart",_)),E&&J(google.maps.event.addListener(i,"mousedown",E)),w&&te(google.maps.event.addListener(i,"mouseout",w)),k&&re(google.maps.event.addListener(i,"mouseover",k)),S&&ie(google.maps.event.addListener(i,"mouseup",S)),B&&se(google.maps.event.addListener(i,"rightclick",B)),y&&ce(google.maps.event.addListener(i,"click",y)),x&&de(google.maps.event.addListener(i,"drag",x)),O&&pe(google.maps.event.addListener(i,"clickable_changed",O)),j&&me(google.maps.event.addListener(i,"cursor_changed",j)),T&&ve(google.maps.event.addListener(i,"animation_changed",T)),P&&ye(google.maps.event.addListener(i,"draggable_changed",P)),M&&xe(google.maps.event.addListener(i,"flat_changed",M)),D&&_e(google.maps.event.addListener(i,"icon_changed",D)),R&&ke(google.maps.event.addListener(i,"position_changed",R)),L&&Ee(google.maps.event.addListener(i,"shape_changed",L)),I&&Oe(google.maps.event.addListener(i,"title_changed",I)),N&&Te(google.maps.event.addListener(i,"visible_changed",N)),F&&Me(google.maps.event.addListener(i,"zindex_changed",F)),V(i),z&&z(i),()=>{null!==Y&&google.maps.event.removeListener(Y),null!==G&&google.maps.event.removeListener(G),null!==$&&google.maps.event.removeListener($),null!==Q&&google.maps.event.removeListener(Q),null!==ee&&google.maps.event.removeListener(ee),null!==ne&&google.maps.event.removeListener(ne),null!==oe&&google.maps.event.removeListener(oe),null!==ae&&google.maps.event.removeListener(ae),null!==le&&google.maps.event.removeListener(le),null!==fe&&google.maps.event.removeListener(fe),null!==he&&google.maps.event.removeListener(he),null!==ge&&google.maps.event.removeListener(ge),null!==be&&google.maps.event.removeListener(be),null!==Ae&&google.maps.event.removeListener(Ae),null!==Ce&&google.maps.event.removeListener(Ce),null!==we&&google.maps.event.removeListener(we),null!==Be&&google.maps.event.removeListener(Be),null!==je&&google.maps.event.removeListener(je),null!==Pe&&google.maps.event.removeListener(Pe),q&&q(i),n?n.removeMarker(i,!!r):i&&i.setMap(null)}}),[]);const De=(0,o.useMemo)((()=>i?o.Children.map(i,(e=>{if(!(0,o.isValidElement)(e))return e;const t=e;return(0,o.cloneElement)(t,{anchor:W})})):null),[i,W]);return a.exports.jsx(a.exports.Fragment,{children:De})||null}));class H extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[]}componentDidMount(){const e=Object.assign(Object.assign(Object.assign({},this.props.options||U),this.props.clusterer?U:{map:this.context}),{position:this.props.position});this.marker=new google.maps.Marker(e),this.props.clusterer?this.props.clusterer.addMarker(this.marker,!!this.props.noClustererRedraw):this.marker.setMap(this.context),this.registeredEvents=h({updaterMap:q,eventMap:z,prevProps:{},nextProps:this.props,instance:this.marker}),this.props.onLoad&&this.props.onLoad(this.marker)}componentDidUpdate(e){this.marker&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:q,eventMap:z,prevProps:e,nextProps:this.props,instance:this.marker}))}componentWillUnmount(){this.marker&&(this.props.onUnmount&&this.props.onUnmount(this.marker),p(this.registeredEvents),this.props.clusterer?this.props.clusterer.removeMarker(this.marker,!!this.props.noClustererRedraw):this.marker&&this.marker.setMap(null))}render(){let e=null;return this.props.children&&(e=o.Children.map(this.props.children,(e=>{if(!(0,o.isValidElement)(e))return e;let t=e;return(0,o.cloneElement)(t,{anchor:this.marker})}))),e||null}}H.contextType=c;var W=function(){function e(t,n){t.getClusterer().extend(e,google.maps.OverlayView),this.cluster=t,this.clusterClassName=this.cluster.getClusterer().getClusterClass(),this.className=this.clusterClassName,this.styles=n,this.center=void 0,this.div=null,this.sums=null,this.visible=!1,this.boundsChangedListener=null,this.url="",this.height=0,this.width=0,this.anchorText=[0,0],this.anchorIcon=[0,0],this.textColor="black",this.textSize=11,this.textDecoration="none",this.fontWeight="bold",this.fontStyle="normal",this.fontFamily="Arial,sans-serif",this.backgroundPosition="0 0",this.cMouseDownInCluster=null,this.cDraggingMapByCluster=null,this.timeOut=null,this.setMap(t.getMap()),this.onBoundsChanged=this.onBoundsChanged.bind(this),this.onMouseDown=this.onMouseDown.bind(this),this.onClick=this.onClick.bind(this),this.onMouseOver=this.onMouseOver.bind(this),this.onMouseOut=this.onMouseOut.bind(this),this.onAdd=this.onAdd.bind(this),this.onRemove=this.onRemove.bind(this),this.draw=this.draw.bind(this),this.hide=this.hide.bind(this),this.show=this.show.bind(this),this.useStyle=this.useStyle.bind(this),this.setCenter=this.setCenter.bind(this),this.getPosFromLatLng=this.getPosFromLatLng.bind(this)}return e.prototype.onBoundsChanged=function(){this.cDraggingMapByCluster=this.cMouseDownInCluster},e.prototype.onMouseDown=function(){this.cMouseDownInCluster=!0,this.cDraggingMapByCluster=!1},e.prototype.onClick=function(e){if(this.cMouseDownInCluster=!1,!this.cDraggingMapByCluster){var t=this.cluster.getClusterer();if(google.maps.event.trigger(t,"click",this.cluster),google.maps.event.trigger(t,"clusterclick",this.cluster),t.getZoomOnClick()){var n=t.getMaxZoom(),r=this.cluster.getBounds(),o=t.getMap();null!==o&&"fitBounds"in o&&o.fitBounds(r),this.timeOut=window.setTimeout((function(){var e=t.getMap();if(null!==e){"fitBounds"in e&&e.fitBounds(r);var o=e.getZoom()||0;null!==n&&o>n&&e.setZoom(n+1)}}),100)}e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}},e.prototype.onMouseOver=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseover",this.cluster)},e.prototype.onMouseOut=function(){google.maps.event.trigger(this.cluster.getClusterer(),"mouseout",this.cluster)},e.prototype.onAdd=function(){var e;this.div=document.createElement("div"),this.div.className=this.className,this.visible&&this.show(),null===(e=this.getPanes())||void 0===e||e.overlayMouseTarget.appendChild(this.div);var t=this.getMap();null!==t&&(this.boundsChangedListener=google.maps.event.addListener(t,"bounds_changed",this.onBoundsChanged),this.div.addEventListener("mousedown",this.onMouseDown),this.div.addEventListener("click",this.onClick),this.div.addEventListener("mouseover",this.onMouseOver),this.div.addEventListener("mouseout",this.onMouseOut))},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.hide(),null!==this.boundsChangedListener&&google.maps.event.removeListener(this.boundsChangedListener),this.div.removeEventListener("mousedown",this.onMouseDown),this.div.removeEventListener("click",this.onClick),this.div.removeEventListener("mouseover",this.onMouseOver),this.div.removeEventListener("mouseout",this.onMouseOut),this.div.parentNode.removeChild(this.div),null!==this.timeOut&&(window.clearTimeout(this.timeOut),this.timeOut=null),this.div=null)},e.prototype.draw=function(){if(this.visible&&null!==this.div&&this.center){var e=this.getPosFromLatLng(this.center);this.div.style.top=null!==e?"".concat(e.y,"px"):"0",this.div.style.left=null!==e?"".concat(e.x,"px"):"0"}},e.prototype.hide=function(){this.div&&(this.div.style.display="none"),this.visible=!1},e.prototype.show=function(){var e;if(this.div&&this.center){var t="",n=this.backgroundPosition.split(" "),r=parseInt(n[0].replace(/^\s+|\s+$/g,""),10),o=parseInt(n[1].replace(/^\s+|\s+$/g,""),10),i=this.getPosFromLatLng(this.center);t=null===this.sums||void 0===this.sums.title||""===this.sums.title?this.cluster.getClusterer().getTitle():this.sums.title,this.div.className=this.className,this.div.style.cursor="pointer",this.div.style.position="absolute",this.div.style.top=null!==i?"".concat(i.y,"px"):"0",this.div.style.left=null!==i?"".concat(i.x,"px"):"0",this.div.style.width="".concat(this.width,"px"),this.div.style.height="".concat(this.height,"px");var a=document.createElement("img");a.alt=t,a.src=this.url,a.width=this.width,a.height=this.height,a.style.position="absolute",a.style.top="".concat(o,"px"),a.style.left="".concat(r,"px"),this.cluster.getClusterer().enableRetinaIcons||(a.style.clip="rect(-".concat(o,"px, -").concat(r+this.width,"px, -").concat(o+this.height,", -").concat(r,")"));var s=document.createElement("div");s.style.position="absolute",s.style.top="".concat(this.anchorText[0],"px"),s.style.left="".concat(this.anchorText[1],"px"),s.style.color=this.textColor,s.style.fontSize="".concat(this.textSize,"px"),s.style.fontFamily=this.fontFamily,s.style.fontWeight=this.fontWeight,s.style.fontStyle=this.fontStyle,s.style.textDecoration=this.textDecoration,s.style.textAlign="center",s.style.width="".concat(this.width,"px"),s.style.lineHeight="".concat(this.height,"px"),s.innerText="".concat(null===(e=this.sums)||void 0===e?void 0:e.text),this.div.innerHTML="",this.div.appendChild(a),this.div.appendChild(s),this.div.title=t,this.div.style.display=""}this.visible=!0},e.prototype.useStyle=function(e){this.sums=e;var t=this.cluster.getClusterer().getStyles(),n=t[Math.min(t.length-1,Math.max(0,e.index-1))];this.url=n.url,this.height=n.height,this.width=n.width,n.className&&(this.className="".concat(this.clusterClassName," ").concat(n.className)),this.anchorText=n.anchorText||[0,0],this.anchorIcon=n.anchorIcon||[this.height/2,this.width/2],this.textColor=n.textColor||"black",this.textSize=n.textSize||11,this.textDecoration=n.textDecoration||"none",this.fontWeight=n.fontWeight||"bold",this.fontStyle=n.fontStyle||"normal",this.fontFamily=n.fontFamily||"Arial,sans-serif",this.backgroundPosition=n.backgroundPosition||"0 0"},e.prototype.setCenter=function(e){this.center=e},e.prototype.getPosFromLatLng=function(e){var t=this.getProjection().fromLatLngToDivPixel(e);return null!==t&&(t.x-=this.anchorIcon[1],t.y-=this.anchorIcon[0]),t},e}(),V=function(){function e(e){this.markerClusterer=e,this.map=this.markerClusterer.getMap(),this.gridSize=this.markerClusterer.getGridSize(),this.minClusterSize=this.markerClusterer.getMinimumClusterSize(),this.averageCenter=this.markerClusterer.getAverageCenter(),this.markers=[],this.center=void 0,this.bounds=null,this.clusterIcon=new W(this,this.markerClusterer.getStyles()),this.getSize=this.getSize.bind(this),this.getMarkers=this.getMarkers.bind(this),this.getCenter=this.getCenter.bind(this),this.getMap=this.getMap.bind(this),this.getClusterer=this.getClusterer.bind(this),this.getBounds=this.getBounds.bind(this),this.remove=this.remove.bind(this),this.addMarker=this.addMarker.bind(this),this.isMarkerInClusterBounds=this.isMarkerInClusterBounds.bind(this),this.calculateBounds=this.calculateBounds.bind(this),this.updateIcon=this.updateIcon.bind(this),this.isMarkerAlreadyAdded=this.isMarkerAlreadyAdded.bind(this)}return e.prototype.getSize=function(){return this.markers.length},e.prototype.getMarkers=function(){return this.markers},e.prototype.getCenter=function(){return this.center},e.prototype.getMap=function(){return this.map},e.prototype.getClusterer=function(){return this.markerClusterer},e.prototype.getBounds=function(){for(var e=new google.maps.LatLngBounds(this.center,this.center),t=this.getMarkers(),n=0;n<t.length;n++){var r=t[n].getPosition();r&&e.extend(r)}return e},e.prototype.remove=function(){this.clusterIcon.setMap(null),this.markers=[],delete this.markers},e.prototype.addMarker=function(e){var t,n;if(this.isMarkerAlreadyAdded(e))return!1;if(this.center){if(this.averageCenter&&(n=e.getPosition())){var r=this.markers.length+1;this.center=new google.maps.LatLng((this.center.lat()*(r-1)+n.lat())/r,(this.center.lng()*(r-1)+n.lng())/r),this.calculateBounds()}}else(n=e.getPosition())&&(this.center=n,this.calculateBounds());e.isAdded=!0,this.markers.push(e);var o=this.markers.length,i=this.markerClusterer.getMaxZoom(),a=null===(t=this.map)||void 0===t?void 0:t.getZoom();if(null!==i&&void 0!==a&&a>i)e.getMap()!==this.map&&e.setMap(this.map);else if(o<this.minClusterSize)e.getMap()!==this.map&&e.setMap(this.map);else if(o===this.minClusterSize)for(var s=0;s<o;s++)this.markers[s].setMap(null);else e.setMap(null);return!0},e.prototype.isMarkerInClusterBounds=function(e){if(null!==this.bounds){var t=e.getPosition();if(t)return this.bounds.contains(t)}return!1},e.prototype.calculateBounds=function(){this.bounds=this.markerClusterer.getExtendedBounds(new google.maps.LatLngBounds(this.center,this.center))},e.prototype.updateIcon=function(){var e,t=this.markers.length,n=this.markerClusterer.getMaxZoom(),r=null===(e=this.map)||void 0===e?void 0:e.getZoom();null!==n&&void 0!==r&&r>n||t<this.minClusterSize?this.clusterIcon.hide():(this.center&&this.clusterIcon.setCenter(this.center),this.clusterIcon.useStyle(this.markerClusterer.getCalculator()(this.markers,this.markerClusterer.getStyles().length)),this.clusterIcon.show())},e.prototype.isMarkerAlreadyAdded=function(e){if(this.markers.includes)return this.markers.includes(e);for(var t=0;t<this.markers.length;t++)if(e===this.markers[t])return!0;return!1},e}();function Y(e,t){var n=e.length,r=n.toString().length,o=Math.min(r,t);return{text:n.toString(),index:o,title:""}}var Z=[53,56,66,78,90],G=function(){function e(t,n,r){void 0===n&&(n=[]),void 0===r&&(r={}),this.getMinimumClusterSize=this.getMinimumClusterSize.bind(this),this.setMinimumClusterSize=this.setMinimumClusterSize.bind(this),this.getEnableRetinaIcons=this.getEnableRetinaIcons.bind(this),this.setEnableRetinaIcons=this.setEnableRetinaIcons.bind(this),this.addToClosestCluster=this.addToClosestCluster.bind(this),this.getImageExtension=this.getImageExtension.bind(this),this.setImageExtension=this.setImageExtension.bind(this),this.getExtendedBounds=this.getExtendedBounds.bind(this),this.getAverageCenter=this.getAverageCenter.bind(this),this.setAverageCenter=this.setAverageCenter.bind(this),this.getTotalClusters=this.getTotalClusters.bind(this),this.fitMapToMarkers=this.fitMapToMarkers.bind(this),this.getIgnoreHidden=this.getIgnoreHidden.bind(this),this.setIgnoreHidden=this.setIgnoreHidden.bind(this),this.getClusterClass=this.getClusterClass.bind(this),this.setClusterClass=this.setClusterClass.bind(this),this.getTotalMarkers=this.getTotalMarkers.bind(this),this.getZoomOnClick=this.getZoomOnClick.bind(this),this.setZoomOnClick=this.setZoomOnClick.bind(this),this.getBatchSizeIE=this.getBatchSizeIE.bind(this),this.setBatchSizeIE=this.setBatchSizeIE.bind(this),this.createClusters=this.createClusters.bind(this),this.onZoomChanged=this.onZoomChanged.bind(this),this.getImageSizes=this.getImageSizes.bind(this),this.setImageSizes=this.setImageSizes.bind(this),this.getCalculator=this.getCalculator.bind(this),this.setCalculator=this.setCalculator.bind(this),this.removeMarkers=this.removeMarkers.bind(this),this.resetViewport=this.resetViewport.bind(this),this.getImagePath=this.getImagePath.bind(this),this.setImagePath=this.setImagePath.bind(this),this.pushMarkerTo=this.pushMarkerTo.bind(this),this.removeMarker=this.removeMarker.bind(this),this.clearMarkers=this.clearMarkers.bind(this),this.setupStyles=this.setupStyles.bind(this),this.getGridSize=this.getGridSize.bind(this),this.setGridSize=this.setGridSize.bind(this),this.getClusters=this.getClusters.bind(this),this.getMaxZoom=this.getMaxZoom.bind(this),this.setMaxZoom=this.setMaxZoom.bind(this),this.getMarkers=this.getMarkers.bind(this),this.addMarkers=this.addMarkers.bind(this),this.getStyles=this.getStyles.bind(this),this.setStyles=this.setStyles.bind(this),this.addMarker=this.addMarker.bind(this),this.onRemove=this.onRemove.bind(this),this.getTitle=this.getTitle.bind(this),this.setTitle=this.setTitle.bind(this),this.repaint=this.repaint.bind(this),this.onIdle=this.onIdle.bind(this),this.redraw=this.redraw.bind(this),this.extend=this.extend.bind(this),this.onAdd=this.onAdd.bind(this),this.draw=this.draw.bind(this),this.extend(e,google.maps.OverlayView),this.markers=[],this.clusters=[],this.listeners=[],this.activeMap=null,this.ready=!1,this.gridSize=r.gridSize||60,this.minClusterSize=r.minimumClusterSize||2,this.maxZoom=r.maxZoom||null,this.styles=r.styles||[],this.title=r.title||"",this.zoomOnClick=!0,void 0!==r.zoomOnClick&&(this.zoomOnClick=r.zoomOnClick),this.averageCenter=!1,void 0!==r.averageCenter&&(this.averageCenter=r.averageCenter),this.ignoreHidden=!1,void 0!==r.ignoreHidden&&(this.ignoreHidden=r.ignoreHidden),this.enableRetinaIcons=!1,void 0!==r.enableRetinaIcons&&(this.enableRetinaIcons=r.enableRetinaIcons),this.imagePath=r.imagePath||"https://developers.google.com/maps/documentation/javascript/examples/markerclusterer/m",this.imageExtension=r.imageExtension||"png",this.imageSizes=r.imageSizes||Z,this.calculator=r.calculator||Y,this.batchSize=r.batchSize||2e3,this.batchSizeIE=r.batchSizeIE||500,this.clusterClass=r.clusterClass||"cluster",-1!==navigator.userAgent.toLowerCase().indexOf("msie")&&(this.batchSize=this.batchSizeIE),this.timerRefStatic=null,this.setupStyles(),this.addMarkers(n,!0),this.setMap(t)}return e.prototype.onZoomChanged=function(){var e,t;this.resetViewport(!1),(null===(e=this.getMap())||void 0===e?void 0:e.getZoom())!==(this.get("minZoom")||0)&&(null===(t=this.getMap())||void 0===t?void 0:t.getZoom())!==this.get("maxZoom")||google.maps.event.trigger(this,"idle")},e.prototype.onIdle=function(){this.redraw()},e.prototype.onAdd=function(){var e=this.getMap();this.activeMap=e,this.ready=!0,this.repaint(),null!==e&&(this.listeners=[google.maps.event.addListener(e,"zoom_changed",this.onZoomChanged),google.maps.event.addListener(e,"idle",this.onIdle)])},e.prototype.onRemove=function(){for(var e=0;e<this.markers.length;e++)this.markers[e].getMap()!==this.activeMap&&this.markers[e].setMap(this.activeMap);for(e=0;e<this.clusters.length;e++)this.clusters[e].remove();this.clusters=[];for(e=0;e<this.listeners.length;e++)google.maps.event.removeListener(this.listeners[e]);this.listeners=[],this.activeMap=null,this.ready=!1},e.prototype.draw=function(){},e.prototype.setupStyles=function(){if(!(this.styles.length>0))for(var e=0;e<this.imageSizes.length;e++)this.styles.push({url:"".concat(this.imagePath+(e+1),".").concat(this.imageExtension),height:this.imageSizes[e],width:this.imageSizes[e]})},e.prototype.fitMapToMarkers=function(){for(var e=this.getMarkers(),t=new google.maps.LatLngBounds,n=0;n<e.length;n++){var r=e[n].getPosition();r&&t.extend(r)}var o=this.getMap();null!==o&&"fitBounds"in o&&o.fitBounds(t)},e.prototype.getGridSize=function(){return this.gridSize},e.prototype.setGridSize=function(e){this.gridSize=e},e.prototype.getMinimumClusterSize=function(){return this.minClusterSize},e.prototype.setMinimumClusterSize=function(e){this.minClusterSize=e},e.prototype.getMaxZoom=function(){return this.maxZoom},e.prototype.setMaxZoom=function(e){this.maxZoom=e},e.prototype.getStyles=function(){return this.styles},e.prototype.setStyles=function(e){this.styles=e},e.prototype.getTitle=function(){return this.title},e.prototype.setTitle=function(e){this.title=e},e.prototype.getZoomOnClick=function(){return this.zoomOnClick},e.prototype.setZoomOnClick=function(e){this.zoomOnClick=e},e.prototype.getAverageCenter=function(){return this.averageCenter},e.prototype.setAverageCenter=function(e){this.averageCenter=e},e.prototype.getIgnoreHidden=function(){return this.ignoreHidden},e.prototype.setIgnoreHidden=function(e){this.ignoreHidden=e},e.prototype.getEnableRetinaIcons=function(){return this.enableRetinaIcons},e.prototype.setEnableRetinaIcons=function(e){this.enableRetinaIcons=e},e.prototype.getImageExtension=function(){return this.imageExtension},e.prototype.setImageExtension=function(e){this.imageExtension=e},e.prototype.getImagePath=function(){return this.imagePath},e.prototype.setImagePath=function(e){this.imagePath=e},e.prototype.getImageSizes=function(){return this.imageSizes},e.prototype.setImageSizes=function(e){this.imageSizes=e},e.prototype.getCalculator=function(){return this.calculator},e.prototype.setCalculator=function(e){this.calculator=e},e.prototype.getBatchSizeIE=function(){return this.batchSizeIE},e.prototype.setBatchSizeIE=function(e){this.batchSizeIE=e},e.prototype.getClusterClass=function(){return this.clusterClass},e.prototype.setClusterClass=function(e){this.clusterClass=e},e.prototype.getMarkers=function(){return this.markers},e.prototype.getTotalMarkers=function(){return this.markers.length},e.prototype.getClusters=function(){return this.clusters},e.prototype.getTotalClusters=function(){return this.clusters.length},e.prototype.addMarker=function(e,t){this.pushMarkerTo(e),t||this.redraw()},e.prototype.addMarkers=function(e,t){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&this.pushMarkerTo(e[n]);t||this.redraw()},e.prototype.pushMarkerTo=function(e){var t=this;e.getDraggable()&&google.maps.event.addListener(e,"dragend",(function(){t.ready&&(e.isAdded=!1,t.repaint())})),e.isAdded=!1,this.markers.push(e)},e.prototype.removeMarker_=function(e){var t=-1;if(this.markers.indexOf)t=this.markers.indexOf(e);else for(var n=0;n<this.markers.length;n++)if(e===this.markers[n]){t=n;break}return-1!==t&&(e.setMap(null),this.markers.splice(t,1),!0)},e.prototype.removeMarker=function(e,t){var n=this.removeMarker_(e);return!t&&n&&this.repaint(),n},e.prototype.removeMarkers=function(e,t){for(var n=!1,r=0;r<e.length;r++)n=n||this.removeMarker_(e[r]);return!t&&n&&this.repaint(),n},e.prototype.clearMarkers=function(){this.resetViewport(!0),this.markers=[]},e.prototype.repaint=function(){var e=this.clusters.slice();this.clusters=[],this.resetViewport(!1),this.redraw(),setTimeout((function(){for(var t=0;t<e.length;t++)e[t].remove()}),0)},e.prototype.getExtendedBounds=function(e){var t=this.getProjection(),n=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getNorthEast().lat(),e.getNorthEast().lng()));null!==n&&(n.x+=this.gridSize,n.y-=this.gridSize);var r=t.fromLatLngToDivPixel(new google.maps.LatLng(e.getSouthWest().lat(),e.getSouthWest().lng()));if(null!==r&&(r.x-=this.gridSize,r.y+=this.gridSize),null!==n){var o=t.fromDivPixelToLatLng(n);null!==o&&e.extend(o)}if(null!==r){var i=t.fromDivPixelToLatLng(r);null!==i&&e.extend(i)}return e},e.prototype.redraw=function(){this.createClusters(0)},e.prototype.resetViewport=function(e){for(var t=0;t<this.clusters.length;t++)this.clusters[t].remove();this.clusters=[];for(t=0;t<this.markers.length;t++){var n=this.markers[t];n.isAdded=!1,e&&n.setMap(null)}},e.prototype.distanceBetweenPoints=function(e,t){var n=(t.lat()-e.lat())*Math.PI/180,r=(t.lng()-e.lng())*Math.PI/180,o=Math.sin(n/2)*Math.sin(n/2)+Math.cos(e.lat()*Math.PI/180)*Math.cos(t.lat()*Math.PI/180)*Math.sin(r/2)*Math.sin(r/2);return 2*Math.atan2(Math.sqrt(o),Math.sqrt(1-o))*6371},e.prototype.isMarkerInBounds=function(e,t){var n=e.getPosition();return!!n&&t.contains(n)},e.prototype.addToClosestCluster=function(e){for(var t,n=4e4,r=null,o=0;o<this.clusters.length;o++){var i=(t=this.clusters[o]).getCenter(),a=e.getPosition();if(i&&a){var s=this.distanceBetweenPoints(i,a);s<n&&(n=s,r=t)}}r&&r.isMarkerInClusterBounds(e)?r.addMarker(e):((t=new V(this)).addMarker(e),this.clusters.push(t))},e.prototype.createClusters=function(e){var t=this;if(this.ready){0===e&&(google.maps.event.trigger(this,"clusteringbegin",this),null!==this.timerRefStatic&&(window.clearTimeout(this.timerRefStatic),delete this.timerRefStatic));for(var n=this.getMap(),r=(null!==n&&"getBounds"in n?n.getBounds():null),o=((null==n?void 0:n.getZoom())||0)>3?new google.maps.LatLngBounds(null==r?void 0:r.getSouthWest(),null==r?void 0:r.getNorthEast()):new google.maps.LatLngBounds(new google.maps.LatLng(85.02070771743472,-178.48388434375),new google.maps.LatLng(-85.08136444384544,178.00048865625)),i=this.getExtendedBounds(o),a=Math.min(e+this.batchSize,this.markers.length),s=e;s<a;s++){var l=this.markers[s];!l.isAdded&&this.isMarkerInBounds(l,i)&&(!this.ignoreHidden||this.ignoreHidden&&l.getVisible())&&this.addToClosestCluster(l)}if(a<this.markers.length)this.timerRefStatic=window.setTimeout((function(){t.createClusters(a)}),0);else{this.timerRefStatic=null,google.maps.event.trigger(this,"clusteringend",this);for(s=0;s<this.clusters.length;s++)this.clusters[s].updateIcon()}}},e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype)this.prototype[t]=e.prototype[t];return this}.apply(e,[t])},e}();const K={onClick:"click",onClusteringBegin:"clusteringbegin",onClusteringEnd:"clusteringend",onMouseOut:"mouseout",onMouseOver:"mouseover"},$={averageCenter(e,t){e.setAverageCenter(t)},batchSizeIE(e,t){e.setBatchSizeIE(t)},calculator(e,t){e.setCalculator(t)},clusterClass(e,t){e.setClusterClass(t)},enableRetinaIcons(e,t){e.setEnableRetinaIcons(t)},gridSize(e,t){e.setGridSize(t)},ignoreHidden(e,t){e.setIgnoreHidden(t)},imageExtension(e,t){e.setImageExtension(t)},imagePath(e,t){e.setImagePath(t)},imageSizes(e,t){e.setImageSizes(t)},maxZoom(e,t){e.setMaxZoom(t)},minimumClusterSize(e,t){e.setMinimumClusterSize(t)},styles(e,t){e.setStyles(t)},title(e,t){e.setTitle(t)},zoomOnClick(e,t){e.setZoomOnClick(t)}};(0,o.memo)((function({children:e}){const[t]=(0,o.useState)(null);return null!==t&&e(t)||null}));class X extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={markerClusterer:null},this.setClustererCallback=()=>{null!==this.state.markerClusterer&&this.props.onLoad&&this.props.onLoad(this.state.markerClusterer)}}componentDidMount(){if(this.context){const e=new G(this.context,[],this.props.options);this.registeredEvents=h({updaterMap:$,eventMap:K,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({markerClusterer:e})),this.setClustererCallback)}}componentDidUpdate(e){this.state.markerClusterer&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:$,eventMap:K,prevProps:e,nextProps:this.props,instance:this.state.markerClusterer}))}componentWillUnmount(){null!==this.state.markerClusterer&&(this.props.onUnmount&&this.props.onUnmount(this.state.markerClusterer),p(this.registeredEvents),this.state.markerClusterer.setMap(null))}render(){return null!==this.state.markerClusterer?this.props.children(this.state.markerClusterer):null}}function Q(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation()}X.contextType=c;var J=function(){function e(t){void 0===t&&(t={}),this.getCloseClickHandler=this.getCloseClickHandler.bind(this),this.closeClickHandler=this.closeClickHandler.bind(this),this.createInfoBoxDiv=this.createInfoBoxDiv.bind(this),this.addClickHandler=this.addClickHandler.bind(this),this.getCloseBoxImg=this.getCloseBoxImg.bind(this),this.getBoxWidths=this.getBoxWidths.bind(this),this.setBoxStyle=this.setBoxStyle.bind(this),this.setPosition=this.setPosition.bind(this),this.getPosition=this.getPosition.bind(this),this.setOptions=this.setOptions.bind(this),this.setContent=this.setContent.bind(this),this.setVisible=this.setVisible.bind(this),this.getContent=this.getContent.bind(this),this.getVisible=this.getVisible.bind(this),this.setZIndex=this.setZIndex.bind(this),this.getZIndex=this.getZIndex.bind(this),this.onRemove=this.onRemove.bind(this),this.panBox=this.panBox.bind(this),this.extend=this.extend.bind(this),this.close=this.close.bind(this),this.draw=this.draw.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.open=this.open.bind(this),this.extend(e,google.maps.OverlayView),this.content=t.content||"",this.disableAutoPan=t.disableAutoPan||!1,this.maxWidth=t.maxWidth||0,this.pixelOffset=t.pixelOffset||new google.maps.Size(0,0),this.position=t.position||new google.maps.LatLng(0,0),this.zIndex=t.zIndex||null,this.boxClass=t.boxClass||"infoBox",this.boxStyle=t.boxStyle||{},this.closeBoxMargin=t.closeBoxMargin||"2px",this.closeBoxURL=t.closeBoxURL||"http://www.google.com/intl/en_us/mapfiles/close.gif",""===t.closeBoxURL&&(this.closeBoxURL=""),this.infoBoxClearance=t.infoBoxClearance||new google.maps.Size(1,1),void 0===t.visible&&(void 0===t.isHidden?t.visible=!0:t.visible=!t.isHidden),this.isHidden=!t.visible,this.alignBottom=t.alignBottom||!1,this.pane=t.pane||"floatPane",this.enableEventPropagation=t.enableEventPropagation||!1,this.div=null,this.closeListener=null,this.moveListener=null,this.mapListener=null,this.contextListener=null,this.eventListeners=null,this.fixedWidthSet=null}return e.prototype.createInfoBoxDiv=function(){var e=this;if(!this.div){this.div=document.createElement("div"),this.setBoxStyle(),"string"==typeof this.content?this.div.innerHTML=this.getCloseBoxImg()+this.content:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(this.content));var t=this.getPanes();if(null!==t&&t[this.pane].appendChild(this.div),this.addClickHandler(),this.div.style.width)this.fixedWidthSet=!0;else if(0!==this.maxWidth&&this.div.offsetWidth>this.maxWidth)this.div.style.width=this.maxWidth+"px",this.fixedWidthSet=!0;else{var n=this.getBoxWidths();this.div.style.width=this.div.offsetWidth-n.left-n.right+"px",this.fixedWidthSet=!1}if(this.panBox(this.disableAutoPan),!this.enableEventPropagation){this.eventListeners=[];for(var r=["mousedown","mouseover","mouseout","mouseup","click","dblclick","touchstart","touchend","touchmove"],o=0;o<r.length;o++)this.eventListeners.push(google.maps.event.addListener(this.div,r[o],Q));this.eventListeners.push(google.maps.event.addListener(this.div,"mouseover",(function(){e.div&&(e.div.style.cursor="default")})))}this.contextListener=google.maps.event.addListener(this.div,"contextmenu",(function(t){t.returnValue=!1,t.preventDefault&&t.preventDefault(),e.enableEventPropagation||Q(t)})),google.maps.event.trigger(this,"domready")}},e.prototype.getCloseBoxImg=function(){var e="";return""!==this.closeBoxURL&&(e='<img alt=""',e+=' aria-hidden="true"',e+=" src='"+this.closeBoxURL+"'",e+=" align=right",e+=" style='",e+=" position: relative;",e+=" cursor: pointer;",e+=" margin: "+this.closeBoxMargin+";",e+="'>"),e},e.prototype.addClickHandler=function(){this.closeListener=this.div&&this.div.firstChild&&""!==this.closeBoxURL?google.maps.event.addListener(this.div.firstChild,"click",this.getCloseClickHandler()):null},e.prototype.closeClickHandler=function(e){e.cancelBubble=!0,e.stopPropagation&&e.stopPropagation(),google.maps.event.trigger(this,"closeclick"),this.close()},e.prototype.getCloseClickHandler=function(){return this.closeClickHandler},e.prototype.panBox=function(e){if(this.div&&!e){var t=this.getMap();if(t instanceof google.maps.Map){var n=0,r=0,o=t.getBounds();o&&!o.contains(this.position)&&t.setCenter(this.position);var i=t.getDiv(),a=i.offsetWidth,s=i.offsetHeight,l=this.pixelOffset.width,c=this.pixelOffset.height,u=this.div.offsetWidth,d=this.div.offsetHeight,f=this.infoBoxClearance.width,p=this.infoBoxClearance.height,h=this.getProjection().fromLatLngToContainerPixel(this.position);null!==h&&(h.x<-l+f?n=h.x+l-f:h.x+u+l+f>a&&(n=h.x+u+l+f-a),this.alignBottom?h.y<-c+p+d?r=h.y+c-p-d:h.y+c+p>s&&(r=h.y+c+p-s):h.y<-c+p?r=h.y+c-p:h.y+d+c+p>s&&(r=h.y+d+c+p-s)),0===n&&0===r||t.panBy(n,r)}}},e.prototype.setBoxStyle=function(){if(this.div){this.div.className=this.boxClass,this.div.style.cssText="";var e=this.boxStyle;for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(this.div.style[t]=e[t]);if(this.div.style.webkitTransform="translateZ(0)",void 0!==this.div.style.opacity&&""!==this.div.style.opacity){var n=parseFloat(this.div.style.opacity||"");this.div.style.msFilter='"progid:DXImageTransform.Microsoft.Alpha(Opacity='+100*n+')"',this.div.style.filter="alpha(opacity="+100*n+")"}this.div.style.position="absolute",this.div.style.visibility="hidden",null!==this.zIndex&&(this.div.style.zIndex=this.zIndex+""),this.div.style.overflow||(this.div.style.overflow="auto")}},e.prototype.getBoxWidths=function(){var e={top:0,bottom:0,left:0,right:0};if(!this.div)return e;if(document.defaultView){var t=this.div.ownerDocument,n=t&&t.defaultView?t.defaultView.getComputedStyle(this.div,""):null;n&&(e.top=parseInt(n.borderTopWidth||"",10)||0,e.bottom=parseInt(n.borderBottomWidth||"",10)||0,e.left=parseInt(n.borderLeftWidth||"",10)||0,e.right=parseInt(n.borderRightWidth||"",10)||0)}else if(document.documentElement.currentStyle){var r=this.div.currentStyle;r&&(e.top=parseInt(r.borderTopWidth||"",10)||0,e.bottom=parseInt(r.borderBottomWidth||"",10)||0,e.left=parseInt(r.borderLeftWidth||"",10)||0,e.right=parseInt(r.borderRightWidth||"",10)||0)}return e},e.prototype.onRemove=function(){this.div&&this.div.parentNode&&(this.div.parentNode.removeChild(this.div),this.div=null)},e.prototype.draw=function(){if(this.createInfoBoxDiv(),this.div){var e=this.getProjection().fromLatLngToDivPixel(this.position);null!==e&&(this.div.style.left=e.x+this.pixelOffset.width+"px",this.alignBottom?this.div.style.bottom=-(e.y+this.pixelOffset.height)+"px":this.div.style.top=e.y+this.pixelOffset.height+"px"),this.isHidden?this.div.style.visibility="hidden":this.div.style.visibility="visible"}},e.prototype.setOptions=function(e){void 0===e&&(e={}),void 0!==e.boxClass&&(this.boxClass=e.boxClass,this.setBoxStyle()),void 0!==e.boxStyle&&(this.boxStyle=e.boxStyle,this.setBoxStyle()),void 0!==e.content&&this.setContent(e.content),void 0!==e.disableAutoPan&&(this.disableAutoPan=e.disableAutoPan),void 0!==e.maxWidth&&(this.maxWidth=e.maxWidth),void 0!==e.pixelOffset&&(this.pixelOffset=e.pixelOffset),void 0!==e.alignBottom&&(this.alignBottom=e.alignBottom),void 0!==e.position&&this.setPosition(e.position),void 0!==e.zIndex&&this.setZIndex(e.zIndex),void 0!==e.closeBoxMargin&&(this.closeBoxMargin=e.closeBoxMargin),void 0!==e.closeBoxURL&&(this.closeBoxURL=e.closeBoxURL),void 0!==e.infoBoxClearance&&(this.infoBoxClearance=e.infoBoxClearance),void 0!==e.isHidden&&(this.isHidden=e.isHidden),void 0!==e.visible&&(this.isHidden=!e.visible),void 0!==e.enableEventPropagation&&(this.enableEventPropagation=e.enableEventPropagation),this.div&&this.draw()},e.prototype.setContent=function(e){this.content=e,this.div&&(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.fixedWidthSet||(this.div.style.width=""),"string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e)),this.fixedWidthSet||(this.div.style.width=this.div.offsetWidth+"px","string"==typeof e?this.div.innerHTML=this.getCloseBoxImg()+e:(this.div.innerHTML=this.getCloseBoxImg(),this.div.appendChild(e))),this.addClickHandler()),google.maps.event.trigger(this,"content_changed")},e.prototype.setPosition=function(e){this.position=e,this.div&&this.draw(),google.maps.event.trigger(this,"position_changed")},e.prototype.setVisible=function(e){this.isHidden=!e,this.div&&(this.div.style.visibility=this.isHidden?"hidden":"visible")},e.prototype.setZIndex=function(e){this.zIndex=e,this.div&&(this.div.style.zIndex=e+""),google.maps.event.trigger(this,"zindex_changed")},e.prototype.getContent=function(){return this.content},e.prototype.getPosition=function(){return this.position},e.prototype.getZIndex=function(){return this.zIndex},e.prototype.getVisible=function(){var e=this.getMap();return null!=e&&!this.isHidden},e.prototype.show=function(){this.isHidden=!1,this.div&&(this.div.style.visibility="visible")},e.prototype.hide=function(){this.isHidden=!0,this.div&&(this.div.style.visibility="hidden")},e.prototype.open=function(e,t){var n=this;t&&(this.position=t.getPosition(),this.moveListener=google.maps.event.addListener(t,"position_changed",(function(){var e=t.getPosition();n.setPosition(e)})),this.mapListener=google.maps.event.addListener(t,"map_changed",(function(){n.setMap(t.map)}))),this.setMap(e),this.div&&this.panBox()},e.prototype.close=function(){if(this.closeListener&&(google.maps.event.removeListener(this.closeListener),this.closeListener=null),this.eventListeners){for(var e=0;e<this.eventListeners.length;e++)google.maps.event.removeListener(this.eventListeners[e]);this.eventListeners=null}this.moveListener&&(google.maps.event.removeListener(this.moveListener),this.moveListener=null),this.mapListener&&(google.maps.event.removeListener(this.mapListener),this.mapListener=null),this.contextListener&&(google.maps.event.removeListener(this.contextListener),this.contextListener=null),this.setMap(null)},e.prototype.extend=function(e,t){return function(e){for(var t in e.prototype)Object.prototype.hasOwnProperty.call(this,t)||(this.prototype[t]=e.prototype[t]);return this}.apply(e,[t])},e}();const ee={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},te={options(e,t){e.setOptions(t)},position(e,t){t instanceof google.maps.LatLng?e.setPosition(t):e.setPosition(new google.maps.LatLng(t.lat,t.lng))},visible(e,t){e.setVisible(t)},zIndex(e,t){e.setZIndex(t)}},ne={};(0,o.memo)((function({children:e,anchor:t,options:n,position:r,zIndex:a,onCloseClick:s,onDomReady:u,onContentChanged:d,onPositionChanged:f,onZindexChanged:p,onLoad:h,onUnmount:m}){const g=(0,o.useContext)(c),[v,y]=(0,o.useState)(null),[A,x]=(0,o.useState)(null),[C,_]=(0,o.useState)(null),[w,k]=(0,o.useState)(null),[S,E]=(0,o.useState)(null),[B,O]=(0,o.useState)(null),j=(0,o.useRef)(null);return(0,o.useEffect)((()=>{g&&null!==v&&(v.close(),t?v.open(g,t):v.getPosition()&&v.open(g))}),[g,v,t]),(0,o.useEffect)((()=>{n&&null!==v&&v.setOptions(n)}),[v,n]),(0,o.useEffect)((()=>{if(r&&null!==v){const e=r instanceof google.maps.LatLng?r:new google.maps.LatLng(r.lat,r.lng);v.setPosition(e)}}),[r]),(0,o.useEffect)((()=>{"number"==typeof a&&null!==v&&v.setZIndex(a)}),[a]),(0,o.useEffect)((()=>{v&&s&&(null!==A&&google.maps.event.removeListener(A),x(google.maps.event.addListener(v,"closeclick",s)))}),[s]),(0,o.useEffect)((()=>{v&&u&&(null!==C&&google.maps.event.removeListener(C),_(google.maps.event.addListener(v,"domready",u)))}),[u]),(0,o.useEffect)((()=>{v&&d&&(null!==w&&google.maps.event.removeListener(w),k(google.maps.event.addListener(v,"content_changed",d)))}),[d]),(0,o.useEffect)((()=>{v&&f&&(null!==S&&google.maps.event.removeListener(S),E(google.maps.event.addListener(v,"position_changed",f)))}),[f]),(0,o.useEffect)((()=>{v&&p&&(null!==B&&google.maps.event.removeListener(B),O(google.maps.event.addListener(v,"zindex_changed",p)))}),[p]),(0,o.useEffect)((()=>{if(g){const e=n||ne,{position:r}=e,o=b(e,["position"]);let i;!r||r instanceof google.maps.LatLng||(i=new google.maps.LatLng(r.lat,r.lng));const a=new J(Object.assign(Object.assign({},o),i?{position:i}:{}));j.current=document.createElement("div"),y(a),s&&x(google.maps.event.addListener(a,"closeclick",s)),u&&_(google.maps.event.addListener(a,"domready",u)),d&&k(google.maps.event.addListener(a,"content_changed",d)),f&&E(google.maps.event.addListener(a,"position_changed",f)),p&&O(google.maps.event.addListener(a,"zindex_changed",p)),a.setContent(j.current),t?a.open(g,t):a.getPosition()?a.open(g):l(!1,"You must provide either an anchor or a position prop for <InfoBox>."),h&&h(a)}return()=>{null!==v&&(A&&google.maps.event.removeListener(A),w&&google.maps.event.removeListener(w),C&&google.maps.event.removeListener(C),S&&google.maps.event.removeListener(S),B&&google.maps.event.removeListener(B),m&&m(v),v.close())}}),[]),j.current?(0,i.createPortal)(o.Children.only(e),j.current):null}));class re extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoBox:null},this.open=(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):l(!1,"You must provide either an anchor or a position prop for <InfoBox>.")},this.setInfoBoxCallback=()=>{null!==this.state.infoBox&&null!==this.containerElement&&(this.state.infoBox.setContent(this.containerElement),this.open(this.state.infoBox,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoBox))}}componentDidMount(){const e=this.props.options||{},{position:t}=e,n=b(e,["position"]);let r;!t||t instanceof google.maps.LatLng||(r=new google.maps.LatLng(t.lat,t.lng));const o=new J(Object.assign(Object.assign({},n),r?{position:r}:{}));this.containerElement=document.createElement("div"),this.registeredEvents=h({updaterMap:te,eventMap:ee,prevProps:{},nextProps:this.props,instance:o}),this.setState({infoBox:o},this.setInfoBoxCallback)}componentDidUpdate(e){const{infoBox:t}=this.state;null!==t&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:te,eventMap:ee,prevProps:e,nextProps:this.props,instance:t}))}componentWillUnmount(){const{onUnmount:e}=this.props,{infoBox:t}=this.state;null!==t&&(e&&e(t),p(this.registeredEvents),t.close())}render(){return this.containerElement?(0,i.createPortal)(o.Children.only(this.props.children),this.containerElement):null}}re.contextType=c;var oe=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n},ie={exports:{}};!function(e,t){e.exports=function(){function e(n,r,o,i,a,s){if(!(a-i<=o)){var l=i+a>>1;t(n,r,l,i,a,s%2),e(n,r,o,i,l-1,s+1),e(n,r,o,l+1,a,s+1)}}function t(e,r,o,i,a,s){for(;a>i;){if(a-i>600){var l=a-i+1,c=o-i+1,u=Math.log(l),d=.5*Math.exp(2*u/3),f=.5*Math.sqrt(u*d*(l-d)/l)*(c-l/2<0?-1:1);t(e,r,o,Math.max(i,Math.floor(o-c*d/l+f)),Math.min(a,Math.floor(o+(l-c)*d/l+f)),s)}var p=r[2*o+s],h=i,m=a;for(n(e,r,i,o),r[2*a+s]>p&&n(e,r,i,a);h<m;){for(n(e,r,h,m),h++,m--;r[2*h+s]<p;)h++;for(;r[2*m+s]>p;)m--}r[2*i+s]===p?n(e,r,i,m):n(e,r,++m,a),m<=o&&(i=m+1),o<=m&&(a=m-1)}}function n(e,t,n,o){r(e,n,o),r(t,2*n,2*o),r(t,2*n+1,2*o+1)}function r(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function o(e,t,n,r,o,i,a){for(var s,l,c=[0,e.length-1,0],u=[];c.length;){var d=c.pop(),f=c.pop(),p=c.pop();if(f-p<=a)for(var h=p;h<=f;h++)s=t[2*h],l=t[2*h+1],s>=n&&s<=o&&l>=r&&l<=i&&u.push(e[h]);else{var m=Math.floor((p+f)/2);s=t[2*m],l=t[2*m+1],s>=n&&s<=o&&l>=r&&l<=i&&u.push(e[m]);var g=(d+1)%2;(0===d?n<=s:r<=l)&&(c.push(p),c.push(m-1),c.push(g)),(0===d?o>=s:i>=l)&&(c.push(m+1),c.push(f),c.push(g))}}return u}function i(e,t,n,r,o,i){for(var s=[0,e.length-1,0],l=[],c=o*o;s.length;){var u=s.pop(),d=s.pop(),f=s.pop();if(d-f<=i)for(var p=f;p<=d;p++)a(t[2*p],t[2*p+1],n,r)<=c&&l.push(e[p]);else{var h=Math.floor((f+d)/2),m=t[2*h],g=t[2*h+1];a(m,g,n,r)<=c&&l.push(e[h]);var v=(u+1)%2;(0===u?n-o<=m:r-o<=g)&&(s.push(f),s.push(h-1),s.push(v)),(0===u?n+o>=m:r+o>=g)&&(s.push(h+1),s.push(d),s.push(v))}}return l}function a(e,t,n,r){var o=e-n,i=t-r;return o*o+i*i}var s=function(e){return e[0]},l=function(e){return e[1]},c=function(t,n,r,o,i){void 0===n&&(n=s),void 0===r&&(r=l),void 0===o&&(o=64),void 0===i&&(i=Float64Array),this.nodeSize=o,this.points=t;for(var a=t.length<65536?Uint16Array:Uint32Array,c=this.ids=new a(t.length),u=this.coords=new i(2*t.length),d=0;d<t.length;d++)c[d]=d,u[2*d]=n(t[d]),u[2*d+1]=r(t[d]);e(c,u,o,0,c.length-1,0)};return c.prototype.range=function(e,t,n,r){return o(this.ids,this.coords,e,t,n,r,this.nodeSize)},c.prototype.within=function(e,t,n){return i(this.ids,this.coords,e,t,n,this.nodeSize)},c}()}(ie);var ae=ie.exports;const se={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},le=Math.fround||(ce=new Float32Array(1),e=>(ce[0]=+e,ce[0]));var ce;class ue{constructor(e){this.options=ye(Object.create(se),e),this.trees=new Array(this.options.maxZoom+1)}load(e){const{log:t,minZoom:n,maxZoom:r,nodeSize:o}=this.options;t&&console.time("total time");const i=`prepare ${e.length} points`;t&&console.time(i),this.points=e;let a=[];for(let t=0;t<e.length;t++)e[t].geometry&&a.push(fe(e[t],t));this.trees[r+1]=new ae(a,Ae,xe,o,Float32Array),t&&console.timeEnd(i);for(let e=r;e>=n;e--){const n=+Date.now();a=this._cluster(a,e),this.trees[e]=new ae(a,Ae,xe,o,Float32Array),t&&console.log("z%d: %d clusters in %dms",e,a.length,+Date.now()-n)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let n=((e[0]+180)%360+360)%360-180;const r=Math.max(-90,Math.min(90,e[1]));let o=180===e[2]?180:((e[2]+180)%360+360)%360-180;const i=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)n=-180,o=180;else if(n>o){const e=this.getClusters([n,r,180,i],t),a=this.getClusters([-180,r,o,i],t);return e.concat(a)}const a=this.trees[this._limitZoom(t)],s=a.range(me(n),ge(i),me(o),ge(r)),l=[];for(const e of s){const t=a.points[e];l.push(t.numPoints?pe(t):this.points[t.index])}return l}getChildren(e){const t=this._getOriginId(e),n=this._getOriginZoom(e),r="No cluster with the specified id.",o=this.trees[n];if(!o)throw new Error(r);const i=o.points[t];if(!i)throw new Error(r);const a=this.options.radius/(this.options.extent*Math.pow(2,n-1)),s=o.within(i.x,i.y,a),l=[];for(const t of s){const n=o.points[t];n.parentId===e&&l.push(n.numPoints?pe(n):this.points[n.index])}if(0===l.length)throw new Error(r);return l}getLeaves(e,t,n){t=t||10,n=n||0;const r=[];return this._appendLeaves(r,e,t,n,0),r}getTile(e,t,n){const r=this.trees[this._limitZoom(e)],o=Math.pow(2,e),{extent:i,radius:a}=this.options,s=a/i,l=(n-s)/o,c=(n+1+s)/o,u={features:[]};return this._addTileFeatures(r.range((t-s)/o,l,(t+1+s)/o,c),r.points,t,n,o,u),0===t&&this._addTileFeatures(r.range(1-s/o,l,1,c),r.points,o,n,o,u),t===o-1&&this._addTileFeatures(r.range(0,l,s/o,c),r.points,-1,n,o,u),u.features.length?u:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const n=this.getChildren(e);if(t++,1!==n.length)break;e=n[0].properties.cluster_id}return t}_appendLeaves(e,t,n,r,o){const i=this.getChildren(t);for(const t of i){const i=t.properties;if(i&&i.cluster?o+i.point_count<=r?o+=i.point_count:o=this._appendLeaves(e,i.cluster_id,n,r,o):o<r?o++:e.push(t),e.length===n)break}return o}_addTileFeatures(e,t,n,r,o,i){for(const a of e){const e=t[a],s=e.numPoints;let l,c,u;if(s)l=he(e),c=e.x,u=e.y;else{const t=this.points[e.index];l=t.properties,c=me(t.geometry.coordinates[0]),u=ge(t.geometry.coordinates[1])}const d={type:1,geometry:[[Math.round(this.options.extent*(c*o-n)),Math.round(this.options.extent*(u*o-r))]],tags:l};let f;s?f=e.id:this.options.generateId?f=e.index:this.points[e.index].id&&(f=this.points[e.index].id),void 0!==f&&(d.id=f),i.features.push(d)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(+e,this.options.maxZoom+1))}_cluster(e,t){const n=[],{radius:r,extent:o,reduce:i,minPoints:a}=this.options,s=r/(o*Math.pow(2,t));for(let r=0;r<e.length;r++){const o=e[r];if(o.zoom<=t)continue;o.zoom=t;const l=this.trees[t+1],c=l.within(o.x,o.y,s),u=o.numPoints||1;let d=u;for(const e of c){const n=l.points[e];n.zoom>t&&(d+=n.numPoints||1)}if(d>u&&d>=a){let e=o.x*u,a=o.y*u,s=i&&u>1?this._map(o,!0):null;const f=(r<<5)+(t+1)+this.points.length;for(const n of c){const r=l.points[n];if(r.zoom<=t)continue;r.zoom=t;const c=r.numPoints||1;e+=r.x*c,a+=r.y*c,r.parentId=f,i&&(s||(s=this._map(o,!0)),i(s,this._map(r)))}o.parentId=f,n.push(de(e/d,a/d,f,d,s))}else if(n.push(o),d>1)for(const e of c){const r=l.points[e];r.zoom<=t||(r.zoom=t,n.push(r))}}return n}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t){if(e.numPoints)return t?ye({},e.properties):e.properties;const n=this.points[e.index].properties,r=this.options.map(n);return t&&r===n?ye({},r):r}}function de(e,t,n,r,o){return{x:le(e),y:le(t),zoom:1/0,id:n,parentId:-1,numPoints:r,properties:o}}function fe(e,t){const[n,r]=e.geometry.coordinates;return{x:le(me(n)),y:le(ge(r)),zoom:1/0,index:t,parentId:-1}}function pe(e){return{type:"Feature",id:e.id,properties:he(e),geometry:{type:"Point",coordinates:[ve(e.x),be(e.y)]}}}function he(e){const t=e.numPoints,n=t>=1e4?`${Math.round(t/1e3)}k`:t>=1e3?Math.round(t/100)/10+"k":t;return ye(ye({},e.properties),{cluster:!0,cluster_id:e.id,point_count:t,point_count_abbreviated:n})}function me(e){return e/360+.5}function ge(e){const t=Math.sin(e*Math.PI/180),n=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return n<0?0:n>1?1:n}function ve(e){return 360*(e-.5)}function be(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function ye(e,t){for(const n in t)e[n]=t[n];return e}function Ae(e){return e.x}function xe(e){return e.y}function Ce(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}class _e{constructor({markers:e,position:t}){this.markers=e,t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0!==this.markers.length||this._position)return this.markers.reduce(((e,t)=>e.extend(t.getPosition())),new google.maps.LatLngBounds(this._position,this._position))}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter((e=>e.getVisible())).length}push(e){this.markers.push(e)}delete(){this.marker&&(this.marker.setMap(null),delete this.marker),this.markers.length=0}}class we{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return ke(e)}}const ke=e=>e.map((e=>new _e({position:e.getPosition(),markers:[e]})));class Se extends we{constructor(e){var{maxZoom:t,radius:n=60}=e,r=Ce(e,["maxZoom","radius"]);super({maxZoom:t}),this.superCluster=new ue(Object.assign({maxZoom:this.maxZoom,radius:n},r)),this.state={zoom:null}}calculate(e){let t=!1;if(!oe(e.markers,this.markers)){t=!0,this.markers=[...e.markers];const n=this.markers.map((e=>({type:"Feature",geometry:{type:"Point",coordinates:[e.getPosition().lng(),e.getPosition().lat()]},properties:{marker:e}})));this.superCluster.load(n)}const n={zoom:e.map.getZoom()};return t||this.state.zoom>this.maxZoom&&n.zoom>this.maxZoom||(t=t||!oe(this.state,n)),this.state=n,t&&(this.clusters=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map(this.transformCluster.bind(this))}transformCluster({geometry:{coordinates:[e,t]},properties:n}){if(n.cluster)return new _e({markers:this.superCluster.getLeaves(n.cluster_id,1/0).map((e=>e.properties.marker)),position:new google.maps.LatLng({lat:t,lng:e})});{const e=n.marker;return new _e({markers:[e],position:e.getPosition()})}}}class Ee{constructor(e,t){this.markers={sum:e.length};const n=t.map((e=>e.count)),r=n.reduce(((e,t)=>e+t),0);this.clusters={count:t.length,markers:{mean:r/t.length,sum:r,min:Math.min(...n),max:Math.max(...n)}}}}class Be{render({count:e,position:t},n){const r=e>Math.max(10,n.clusters.markers.mean)?"#ff0000":"#0000ff",o=window.btoa(`\n  <svg fill="${r}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240">\n    <circle cx="120" cy="120" opacity=".6" r="70" />\n    <circle cx="120" cy="120" opacity=".3" r="90" />\n    <circle cx="120" cy="120" opacity=".2" r="110" />\n  </svg>`);return new google.maps.Marker({position:t,icon:{url:`data:image/svg+xml;base64,${o}`,scaledSize:new google.maps.Size(45,45)},label:{text:String(e),color:"rgba(255,255,255,0.9)",fontSize:"12px"},title:`Cluster of ${e} markers`,zIndex:Number(google.maps.Marker.MAX_ZINDEX)+e})}}class Oe{constructor(){!function(e,t){for(let n in t.prototype)e.prototype[n]=t.prototype[n]}(Oe,google.maps.OverlayView)}}var je;!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(je||(je={}));const Te=(e,t,n)=>{n.fitBounds(t.bounds)};class Pe extends Oe{constructor({map:e,markers:t=[],algorithm:n=new Se({}),renderer:r=new Be,onClusterClick:o=Te}){super(),this.markers=[...t],this.clusters=[],this.algorithm=n,this.renderer=r,this.onClusterClick=o,e&&this.setMap(e)}addMarker(e,t){this.markers.includes(e)||(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach((e=>{this.addMarker(e,!0)})),t||this.render()}removeMarker(e,t){const n=this.markers.indexOf(e);return-1!==n&&(e.setMap(null),this.markers.splice(n,1),t||this.render(),!0)}removeMarkers(e,t){let n=!1;return e.forEach((e=>{n=this.removeMarker(e,!0)||n})),n&&!t&&this.render(),n}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&this.getProjection()){google.maps.event.trigger(this,je.CLUSTERING_BEGIN,this);const{clusters:t,changed:n}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});(n||null==n)&&(this.reset(),this.clusters=t,this.renderClusters()),google.maps.event.trigger(this,je.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach((e=>e.setMap(null))),this.clusters.forEach((e=>e.delete())),this.clusters=[]}renderClusters(){const e=new Ee(this.markers,this.clusters),t=this.getMap();this.clusters.forEach((n=>{1===n.markers.length?n.marker=n.markers[0]:(n.marker=this.renderer.render(n,e),this.onClusterClick&&n.marker.addListener("click",(e=>{google.maps.event.trigger(this,je.CLUSTER_CLICK,n),this.onClusterClick(e,n,t)}))),n.marker.setMap(t)}))}}function Me(e){const t=function(){l(!!o.useContext,"useGoogleMap is React hook and requires React version 16.8+");const e=(0,o.useContext)(c);return l(!!e,"useGoogleMap needs a GoogleMap available up in the tree"),e}(),[n,r]=(0,o.useState)(null);return(0,o.useEffect)((()=>{if(t&&null===n){const n=new Pe(Object.assign(Object.assign({},e),{map:t}));r(n)}}),[t]),n}(0,o.memo)((function({children:e,options:t}){const n=Me(t);return null!==n?e(n):null}));const De={onCloseClick:"closeclick",onContentChanged:"content_changed",onDomReady:"domready",onPositionChanged:"position_changed",onZindexChanged:"zindex_changed"},Re={options(e,t){e.setOptions(t)},position(e,t){e.setPosition(t)},zIndex(e,t){e.setZIndex(t)}};(0,o.memo)((function({children:e,anchor:t,options:n,position:r,zIndex:a,onCloseClick:s,onDomReady:u,onContentChanged:d,onPositionChanged:f,onZindexChanged:p,onLoad:h,onUnmount:m}){const g=(0,o.useContext)(c),[v,b]=(0,o.useState)(null),[y,A]=(0,o.useState)(null),[x,C]=(0,o.useState)(null),[_,w]=(0,o.useState)(null),[k,S]=(0,o.useState)(null),[E,B]=(0,o.useState)(null),O=(0,o.useRef)(null);return(0,o.useEffect)((()=>{null!==v&&(v.close(),t?v.open(g,t):v.getPosition()&&v.open(g))}),[g,v,t]),(0,o.useEffect)((()=>{n&&null!==v&&v.setOptions(n)}),[v,n]),(0,o.useEffect)((()=>{r&&null!==v&&v.setPosition(r)}),[r]),(0,o.useEffect)((()=>{"number"==typeof a&&null!==v&&v.setZIndex(a)}),[a]),(0,o.useEffect)((()=>{v&&s&&(null!==y&&google.maps.event.removeListener(y),A(google.maps.event.addListener(v,"closeclick",s)))}),[s]),(0,o.useEffect)((()=>{v&&u&&(null!==x&&google.maps.event.removeListener(x),C(google.maps.event.addListener(v,"domready",u)))}),[u]),(0,o.useEffect)((()=>{v&&d&&(null!==_&&google.maps.event.removeListener(_),w(google.maps.event.addListener(v,"content_changed",d)))}),[d]),(0,o.useEffect)((()=>{v&&f&&(null!==k&&google.maps.event.removeListener(k),S(google.maps.event.addListener(v,"position_changed",f)))}),[f]),(0,o.useEffect)((()=>{v&&p&&(null!==E&&google.maps.event.removeListener(E),B(google.maps.event.addListener(v,"zindex_changed",p)))}),[p]),(0,o.useEffect)((()=>{const e=new google.maps.InfoWindow(Object.assign({},n||{}));return b(e),O.current=document.createElement("div"),s&&A(google.maps.event.addListener(e,"closeclick",s)),u&&C(google.maps.event.addListener(e,"domready",u)),d&&w(google.maps.event.addListener(e,"content_changed",d)),f&&S(google.maps.event.addListener(e,"position_changed",f)),p&&B(google.maps.event.addListener(e,"zindex_changed",p)),e.setContent(O.current),r&&e.setPosition(r),a&&e.setZIndex(a),t?e.open(g,t):e.getPosition()?e.open(g):l(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>."),h&&h(e),()=>{y&&google.maps.event.removeListener(y),_&&google.maps.event.removeListener(_),x&&google.maps.event.removeListener(x),k&&google.maps.event.removeListener(k),E&&google.maps.event.removeListener(E),m&&m(e),e.close()}}),[]),O.current?(0,i.createPortal)(o.Children.only(e),O.current):null}));class Le extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=null,this.state={infoWindow:null},this.open=(e,t)=>{t?e.open(this.context,t):e.getPosition()?e.open(this.context):l(!1,"You must provide either an anchor (typically render it inside a <Marker>) or a position props for <InfoWindow>.")},this.setInfoWindowCallback=()=>{null!==this.state.infoWindow&&null!==this.containerElement&&(this.state.infoWindow.setContent(this.containerElement),this.open(this.state.infoWindow,this.props.anchor),this.props.onLoad&&this.props.onLoad(this.state.infoWindow))}}componentDidMount(){const e=new google.maps.InfoWindow(Object.assign({},this.props.options||{}));this.containerElement=document.createElement("div"),this.registeredEvents=h({updaterMap:Re,eventMap:De,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({infoWindow:e})),this.setInfoWindowCallback)}componentDidUpdate(e){null!==this.state.infoWindow&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:Re,eventMap:De,prevProps:e,nextProps:this.props,instance:this.state.infoWindow}))}componentWillUnmount(){null!==this.state.infoWindow&&(p(this.registeredEvents),this.props.onUnmount&&this.props.onUnmount(this.state.infoWindow),this.state.infoWindow.close())}render(){return this.containerElement?(0,i.createPortal)(o.Children.only(this.props.children),this.containerElement):null}}Le.contextType=c;const Ie={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Ne={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},visible(e,t){e.setVisible(t)}},Fe={};(0,o.memo)((function({options:e,draggable:t,editable:n,visible:r,path:i,onDblClick:a,onDragEnd:s,onDragStart:l,onMouseDown:u,onMouseMove:d,onMouseOut:f,onMouseOver:p,onMouseUp:h,onRightClick:m,onClick:g,onDrag:v,onLoad:b,onUnmount:y}){const A=(0,o.useContext)(c),[x,C]=(0,o.useState)(null),[_,w]=(0,o.useState)(null),[k,S]=(0,o.useState)(null),[E,B]=(0,o.useState)(null),[O,j]=(0,o.useState)(null),[T,P]=(0,o.useState)(null),[M,D]=(0,o.useState)(null),[R,L]=(0,o.useState)(null),[I,N]=(0,o.useState)(null),[F,z]=(0,o.useState)(null),[q,U]=(0,o.useState)(null),[H,W]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==x&&x.setMap(A)}),[A]),(0,o.useEffect)((()=>{void 0!==e&&null!==x&&x.setOptions(e)}),[x,e]),(0,o.useEffect)((()=>{void 0!==t&&null!==x&&x.setDraggable(t)}),[x,t]),(0,o.useEffect)((()=>{void 0!==n&&null!==x&&x.setEditable(n)}),[x,n]),(0,o.useEffect)((()=>{void 0!==r&&null!==x&&x.setVisible(r)}),[x,r]),(0,o.useEffect)((()=>{void 0!==i&&null!==x&&x.setPath(i)}),[x,i]),(0,o.useEffect)((()=>{x&&a&&(null!==_&&google.maps.event.removeListener(_),w(google.maps.event.addListener(x,"dblclick",a)))}),[a]),(0,o.useEffect)((()=>{x&&s&&(null!==k&&google.maps.event.removeListener(k),S(google.maps.event.addListener(x,"dragend",s)))}),[a]),(0,o.useEffect)((()=>{x&&l&&(null!==E&&google.maps.event.removeListener(E),B(google.maps.event.addListener(x,"dragstart",l)))}),[l]),(0,o.useEffect)((()=>{x&&u&&(null!==O&&google.maps.event.removeListener(O),j(google.maps.event.addListener(x,"mousedown",u)))}),[u]),(0,o.useEffect)((()=>{x&&d&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(x,"mousemove",d)))}),[d]),(0,o.useEffect)((()=>{x&&f&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(x,"mouseout",f)))}),[f]),(0,o.useEffect)((()=>{x&&p&&(null!==R&&google.maps.event.removeListener(R),L(google.maps.event.addListener(x,"mouseover",p)))}),[p]),(0,o.useEffect)((()=>{x&&h&&(null!==I&&google.maps.event.removeListener(I),N(google.maps.event.addListener(x,"mouseup",h)))}),[h]),(0,o.useEffect)((()=>{x&&m&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(x,"rightclick",m)))}),[m]),(0,o.useEffect)((()=>{x&&g&&(null!==q&&google.maps.event.removeListener(q),U(google.maps.event.addListener(x,"click",g)))}),[g]),(0,o.useEffect)((()=>{x&&v&&(null!==H&&google.maps.event.removeListener(H),W(google.maps.event.addListener(x,"drag",v)))}),[v]),(0,o.useEffect)((()=>{const o=new google.maps.Polyline(Object.assign(Object.assign({},e||Fe),{map:A}));return i&&o.setPath(i),void 0!==r&&o.setVisible(r),void 0!==n&&o.setEditable(n),void 0!==t&&o.setDraggable(t),a&&w(google.maps.event.addListener(o,"dblclick",a)),s&&S(google.maps.event.addListener(o,"dragend",s)),l&&B(google.maps.event.addListener(o,"dragstart",l)),u&&j(google.maps.event.addListener(o,"mousedown",u)),d&&P(google.maps.event.addListener(o,"mousemove",d)),f&&D(google.maps.event.addListener(o,"mouseout",f)),p&&L(google.maps.event.addListener(o,"mouseover",p)),h&&N(google.maps.event.addListener(o,"mouseup",h)),m&&z(google.maps.event.addListener(o,"rightclick",m)),g&&U(google.maps.event.addListener(o,"click",g)),v&&W(google.maps.event.addListener(o,"drag",v)),C(o),b&&b(o),()=>{null!==_&&google.maps.event.removeListener(_),null!==k&&google.maps.event.removeListener(k),null!==E&&google.maps.event.removeListener(E),null!==O&&google.maps.event.removeListener(O),null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==R&&google.maps.event.removeListener(R),null!==I&&google.maps.event.removeListener(I),null!==F&&google.maps.event.removeListener(F),null!==q&&google.maps.event.removeListener(q),y&&y(o),o.setMap(null)}}),[]),null}));class ze extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polyline:null},this.setPolylineCallback=()=>{null!==this.state.polyline&&this.props.onLoad&&this.props.onLoad(this.state.polyline)}}componentDidMount(){const e=new google.maps.Polyline(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:Ne,eventMap:Ie,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polyline:e}}),this.setPolylineCallback)}componentDidUpdate(e){null!==this.state.polyline&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:Ne,eventMap:Ie,prevProps:e,nextProps:this.props,instance:this.state.polyline}))}componentWillUnmount(){null!==this.state.polyline&&(this.props.onUnmount&&this.props.onUnmount(this.state.polyline),p(this.registeredEvents),this.state.polyline.setMap(null))}render(){return null}}ze.contextType=c;const qe={onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Ue={draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},path(e,t){e.setPath(t)},paths(e,t){e.setPaths(t)},visible(e,t){e.setVisible(t)}};(0,o.memo)((function({options:e,draggable:t,editable:n,visible:r,path:i,onDblClick:a,onDragEnd:s,onDragStart:l,onMouseDown:u,onMouseMove:d,onMouseOut:f,onMouseOver:p,onMouseUp:h,onRightClick:m,onClick:g,onDrag:v,onLoad:b,onUnmount:y}){const A=(0,o.useContext)(c),[x,C]=(0,o.useState)(null),[_,w]=(0,o.useState)(null),[k,S]=(0,o.useState)(null),[E,B]=(0,o.useState)(null),[O,j]=(0,o.useState)(null),[T,P]=(0,o.useState)(null),[M,D]=(0,o.useState)(null),[R,L]=(0,o.useState)(null),[I,N]=(0,o.useState)(null),[F,z]=(0,o.useState)(null),[q,U]=(0,o.useState)(null),[H,W]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==x&&x.setMap(A)}),[A]),(0,o.useEffect)((()=>{void 0!==e&&null!==x&&x.setOptions(e)}),[x,e]),(0,o.useEffect)((()=>{void 0!==t&&null!==x&&x.setDraggable(t)}),[x,t]),(0,o.useEffect)((()=>{void 0!==n&&null!==x&&x.setEditable(n)}),[x,n]),(0,o.useEffect)((()=>{void 0!==r&&null!==x&&x.setVisible(r)}),[x,r]),(0,o.useEffect)((()=>{void 0!==i&&null!==x&&x.setPath(i)}),[x,i]),(0,o.useEffect)((()=>{x&&a&&(null!==_&&google.maps.event.removeListener(_),w(google.maps.event.addListener(x,"dblclick",a)))}),[a]),(0,o.useEffect)((()=>{x&&s&&(null!==k&&google.maps.event.removeListener(k),S(google.maps.event.addListener(x,"dragend",s)))}),[s]),(0,o.useEffect)((()=>{x&&l&&(null!==E&&google.maps.event.removeListener(E),B(google.maps.event.addListener(x,"dragstart",l)))}),[l]),(0,o.useEffect)((()=>{x&&u&&(null!==O&&google.maps.event.removeListener(O),j(google.maps.event.addListener(x,"mousedown",u)))}),[u]),(0,o.useEffect)((()=>{x&&d&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(x,"mousemove",d)))}),[d]),(0,o.useEffect)((()=>{x&&f&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(x,"mouseout",f)))}),[f]),(0,o.useEffect)((()=>{x&&p&&(null!==R&&google.maps.event.removeListener(R),L(google.maps.event.addListener(x,"mouseover",p)))}),[p]),(0,o.useEffect)((()=>{x&&h&&(null!==I&&google.maps.event.removeListener(I),N(google.maps.event.addListener(x,"mouseup",h)))}),[h]),(0,o.useEffect)((()=>{x&&m&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(x,"rightclick",m)))}),[m]),(0,o.useEffect)((()=>{x&&g&&(null!==q&&google.maps.event.removeListener(q),U(google.maps.event.addListener(x,"click",g)))}),[g]),(0,o.useEffect)((()=>{x&&v&&(null!==H&&google.maps.event.removeListener(H),W(google.maps.event.addListener(x,"drag",v)))}),[v]),(0,o.useEffect)((()=>{const o=new google.maps.Polygon(Object.assign(Object.assign({},e||{}),{map:A}));return i&&o.setPath(i),void 0!==r&&o.setVisible(r),void 0!==n&&o.setEditable(n),void 0!==t&&o.setDraggable(t),a&&w(google.maps.event.addListener(o,"dblclick",a)),s&&S(google.maps.event.addListener(o,"dragend",s)),l&&B(google.maps.event.addListener(o,"dragstart",l)),u&&j(google.maps.event.addListener(o,"mousedown",u)),d&&P(google.maps.event.addListener(o,"mousemove",d)),f&&D(google.maps.event.addListener(o,"mouseout",f)),p&&L(google.maps.event.addListener(o,"mouseover",p)),h&&N(google.maps.event.addListener(o,"mouseup",h)),m&&z(google.maps.event.addListener(o,"rightclick",m)),g&&U(google.maps.event.addListener(o,"click",g)),v&&W(google.maps.event.addListener(o,"drag",v)),C(o),b&&b(o),()=>{null!==_&&google.maps.event.removeListener(_),null!==k&&google.maps.event.removeListener(k),null!==E&&google.maps.event.removeListener(E),null!==O&&google.maps.event.removeListener(O),null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==R&&google.maps.event.removeListener(R),null!==I&&google.maps.event.removeListener(I),null!==F&&google.maps.event.removeListener(F),null!==q&&google.maps.event.removeListener(q),y&&y(o),o.setMap(null)}}),[]),null}));class He extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={polygon:null},this.setPolygonCallback=()=>{null!==this.state.polygon&&this.props.onLoad&&this.props.onLoad(this.state.polygon)}}componentDidMount(){const e=new google.maps.Polygon(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:Ue,eventMap:qe,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{polygon:e}}),this.setPolygonCallback)}componentDidUpdate(e){null!==this.state.polygon&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:Ue,eventMap:qe,prevProps:e,nextProps:this.props,instance:this.state.polygon}))}componentWillUnmount(){null!==this.state.polygon&&(this.props.onUnmount&&this.props.onUnmount(this.state.polygon),p(this.registeredEvents),this.state.polygon&&this.state.polygon.setMap(null))}render(){return null}}He.contextType=c;const We={onBoundsChanged:"bounds_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Ve={bounds(e,t){e.setBounds(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},visible(e,t){e.setVisible(t)}};(0,o.memo)((function({options:e,bounds:t,draggable:n,editable:r,visible:i,onDblClick:a,onDragEnd:s,onDragStart:l,onMouseDown:u,onMouseMove:d,onMouseOut:f,onMouseOver:p,onMouseUp:h,onRightClick:m,onClick:g,onDrag:v,onBoundsChanged:b,onLoad:y,onUnmount:A}){const x=(0,o.useContext)(c),[C,_]=(0,o.useState)(null),[w,k]=(0,o.useState)(null),[S,E]=(0,o.useState)(null),[B,O]=(0,o.useState)(null),[j,T]=(0,o.useState)(null),[P,M]=(0,o.useState)(null),[D,R]=(0,o.useState)(null),[L,I]=(0,o.useState)(null),[N,F]=(0,o.useState)(null),[z,q]=(0,o.useState)(null),[U,H]=(0,o.useState)(null),[W,V]=(0,o.useState)(null),[Y,Z]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==C&&C.setMap(x)}),[x]),(0,o.useEffect)((()=>{void 0!==e&&null!==C&&C.setOptions(e)}),[C,e]),(0,o.useEffect)((()=>{void 0!==n&&null!==C&&C.setDraggable(n)}),[C,n]),(0,o.useEffect)((()=>{void 0!==r&&null!==C&&C.setEditable(r)}),[C,r]),(0,o.useEffect)((()=>{void 0!==i&&null!==C&&C.setVisible(i)}),[C,i]),(0,o.useEffect)((()=>{void 0!==t&&null!==C&&C.setBounds(t)}),[C,t]),(0,o.useEffect)((()=>{C&&a&&(null!==w&&google.maps.event.removeListener(w),k(google.maps.event.addListener(C,"dblclick",a)))}),[a]),(0,o.useEffect)((()=>{C&&s&&(null!==S&&google.maps.event.removeListener(S),E(google.maps.event.addListener(C,"dragend",s)))}),[a]),(0,o.useEffect)((()=>{C&&l&&(null!==B&&google.maps.event.removeListener(B),O(google.maps.event.addListener(C,"dragstart",l)))}),[l]),(0,o.useEffect)((()=>{C&&u&&(null!==j&&google.maps.event.removeListener(j),T(google.maps.event.addListener(C,"mousedown",u)))}),[u]),(0,o.useEffect)((()=>{C&&d&&(null!==P&&google.maps.event.removeListener(P),M(google.maps.event.addListener(C,"mousemove",d)))}),[d]),(0,o.useEffect)((()=>{C&&f&&(null!==D&&google.maps.event.removeListener(D),R(google.maps.event.addListener(C,"mouseout",f)))}),[f]),(0,o.useEffect)((()=>{C&&p&&(null!==L&&google.maps.event.removeListener(L),I(google.maps.event.addListener(C,"mouseover",p)))}),[p]),(0,o.useEffect)((()=>{C&&h&&(null!==N&&google.maps.event.removeListener(N),F(google.maps.event.addListener(C,"mouseup",h)))}),[h]),(0,o.useEffect)((()=>{C&&m&&(null!==z&&google.maps.event.removeListener(z),q(google.maps.event.addListener(C,"rightclick",m)))}),[m]),(0,o.useEffect)((()=>{C&&g&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(C,"click",g)))}),[g]),(0,o.useEffect)((()=>{C&&v&&(null!==W&&google.maps.event.removeListener(W),V(google.maps.event.addListener(C,"drag",v)))}),[v]),(0,o.useEffect)((()=>{C&&b&&(null!==Y&&google.maps.event.removeListener(Y),Z(google.maps.event.addListener(C,"bounds_changed",b)))}),[b]),(0,o.useEffect)((()=>{const o=new google.maps.Rectangle(Object.assign(Object.assign({},e||{}),{map:x}));return void 0!==i&&o.setVisible(i),void 0!==r&&o.setEditable(r),void 0!==n&&o.setDraggable(n),void 0!==t&&o.setBounds(t),a&&k(google.maps.event.addListener(o,"dblclick",a)),s&&E(google.maps.event.addListener(o,"dragend",s)),l&&O(google.maps.event.addListener(o,"dragstart",l)),u&&T(google.maps.event.addListener(o,"mousedown",u)),d&&M(google.maps.event.addListener(o,"mousemove",d)),f&&R(google.maps.event.addListener(o,"mouseout",f)),p&&I(google.maps.event.addListener(o,"mouseover",p)),h&&F(google.maps.event.addListener(o,"mouseup",h)),m&&q(google.maps.event.addListener(o,"rightclick",m)),g&&H(google.maps.event.addListener(o,"click",g)),v&&V(google.maps.event.addListener(o,"drag",v)),b&&Z(google.maps.event.addListener(o,"bounds_changed",b)),_(o),y&&y(o),()=>{null!==w&&google.maps.event.removeListener(w),null!==S&&google.maps.event.removeListener(S),null!==B&&google.maps.event.removeListener(B),null!==j&&google.maps.event.removeListener(j),null!==P&&google.maps.event.removeListener(P),null!==D&&google.maps.event.removeListener(D),null!==L&&google.maps.event.removeListener(L),null!==N&&google.maps.event.removeListener(N),null!==z&&google.maps.event.removeListener(z),null!==U&&google.maps.event.removeListener(U),null!==W&&google.maps.event.removeListener(W),null!==Y&&google.maps.event.removeListener(Y),A&&A(o),o.setMap(null)}}),[]),null}));class Ye extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={rectangle:null},this.setRectangleCallback=()=>{null!==this.state.rectangle&&this.props.onLoad&&this.props.onLoad(this.state.rectangle)}}componentDidMount(){const e=new google.maps.Rectangle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:Ve,eventMap:We,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{rectangle:e}}),this.setRectangleCallback)}componentDidUpdate(e){null!==this.state.rectangle&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:Ve,eventMap:We,prevProps:e,nextProps:this.props,instance:this.state.rectangle}))}componentWillUnmount(){null!==this.state.rectangle&&(this.props.onUnmount&&this.props.onUnmount(this.state.rectangle),p(this.registeredEvents),this.state.rectangle.setMap(null))}render(){return null}}Ye.contextType=c;const Ze={onCenterChanged:"center_changed",onRadiusChanged:"radius_changed",onClick:"click",onDblClick:"dblclick",onDrag:"drag",onDragEnd:"dragend",onDragStart:"dragstart",onMouseDown:"mousedown",onMouseMove:"mousemove",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick"},Ge={center(e,t){e.setCenter(t)},draggable(e,t){e.setDraggable(t)},editable(e,t){e.setEditable(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},radius(e,t){e.setRadius(t)},visible(e,t){e.setVisible(t)}},Ke={};(0,o.memo)((function({options:e,center:t,radius:n,draggable:r,editable:i,visible:a,onDblClick:s,onDragEnd:l,onDragStart:u,onMouseDown:d,onMouseMove:f,onMouseOut:p,onMouseOver:h,onMouseUp:m,onRightClick:g,onClick:v,onDrag:b,onCenterChanged:y,onRadiusChanged:A,onLoad:x,onUnmount:C}){const _=(0,o.useContext)(c),[w,k]=(0,o.useState)(null),[S,E]=(0,o.useState)(null),[B,O]=(0,o.useState)(null),[j,T]=(0,o.useState)(null),[P,M]=(0,o.useState)(null),[D,R]=(0,o.useState)(null),[L,I]=(0,o.useState)(null),[N,F]=(0,o.useState)(null),[z,q]=(0,o.useState)(null),[U,H]=(0,o.useState)(null),[W,V]=(0,o.useState)(null),[Y,Z]=(0,o.useState)(null),[G,K]=(0,o.useState)(null),[$,X]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==w&&w.setMap(_)}),[_]),(0,o.useEffect)((()=>{void 0!==e&&null!==w&&w.setOptions(e)}),[w,e]),(0,o.useEffect)((()=>{void 0!==r&&null!==w&&w.setDraggable(r)}),[w,r]),(0,o.useEffect)((()=>{void 0!==i&&null!==w&&w.setEditable(i)}),[w,i]),(0,o.useEffect)((()=>{void 0!==a&&null!==w&&w.setVisible(a)}),[w,a]),(0,o.useEffect)((()=>{"number"==typeof n&&null!==w&&w.setRadius(n)}),[w,n]),(0,o.useEffect)((()=>{void 0!==t&&null!==w&&w.setCenter(t)}),[w,t]),(0,o.useEffect)((()=>{w&&s&&(null!==S&&google.maps.event.removeListener(S),E(google.maps.event.addListener(w,"dblclick",s)))}),[s]),(0,o.useEffect)((()=>{w&&l&&(null!==B&&google.maps.event.removeListener(B),O(google.maps.event.addListener(w,"dragend",l)))}),[s]),(0,o.useEffect)((()=>{w&&u&&(null!==j&&google.maps.event.removeListener(j),T(google.maps.event.addListener(w,"dragstart",u)))}),[u]),(0,o.useEffect)((()=>{w&&d&&(null!==P&&google.maps.event.removeListener(P),M(google.maps.event.addListener(w,"mousedown",d)))}),[d]),(0,o.useEffect)((()=>{w&&f&&(null!==D&&google.maps.event.removeListener(D),R(google.maps.event.addListener(w,"mousemove",f)))}),[f]),(0,o.useEffect)((()=>{w&&p&&(null!==L&&google.maps.event.removeListener(L),I(google.maps.event.addListener(w,"mouseout",p)))}),[p]),(0,o.useEffect)((()=>{w&&h&&(null!==N&&google.maps.event.removeListener(N),F(google.maps.event.addListener(w,"mouseover",h)))}),[h]),(0,o.useEffect)((()=>{w&&m&&(null!==z&&google.maps.event.removeListener(z),q(google.maps.event.addListener(w,"mouseup",m)))}),[m]),(0,o.useEffect)((()=>{w&&g&&(null!==U&&google.maps.event.removeListener(U),H(google.maps.event.addListener(w,"rightclick",g)))}),[g]),(0,o.useEffect)((()=>{w&&v&&(null!==W&&google.maps.event.removeListener(W),V(google.maps.event.addListener(w,"click",v)))}),[v]),(0,o.useEffect)((()=>{w&&b&&(null!==Y&&google.maps.event.removeListener(Y),Z(google.maps.event.addListener(w,"drag",b)))}),[b]),(0,o.useEffect)((()=>{w&&y&&(null!==G&&google.maps.event.removeListener(G),K(google.maps.event.addListener(w,"center_changed",y)))}),[v]),(0,o.useEffect)((()=>{w&&A&&(null!==$&&google.maps.event.removeListener($),X(google.maps.event.addListener(w,"radius_changed",A)))}),[A]),(0,o.useEffect)((()=>{const o=new google.maps.Circle(Object.assign(Object.assign({},e||Ke),{map:_}));return"number"==typeof n&&o.setRadius(n),void 0!==t&&o.setCenter(t),"number"==typeof n&&o.setRadius(n),void 0!==a&&o.setVisible(a),void 0!==i&&o.setEditable(i),void 0!==r&&o.setDraggable(r),s&&E(google.maps.event.addListener(o,"dblclick",s)),l&&O(google.maps.event.addListener(o,"dragend",l)),u&&T(google.maps.event.addListener(o,"dragstart",u)),d&&M(google.maps.event.addListener(o,"mousedown",d)),f&&R(google.maps.event.addListener(o,"mousemove",f)),p&&I(google.maps.event.addListener(o,"mouseout",p)),h&&F(google.maps.event.addListener(o,"mouseover",h)),m&&q(google.maps.event.addListener(o,"mouseup",m)),g&&H(google.maps.event.addListener(o,"rightclick",g)),v&&V(google.maps.event.addListener(o,"click",v)),b&&Z(google.maps.event.addListener(o,"drag",b)),y&&K(google.maps.event.addListener(o,"center_changed",y)),A&&X(google.maps.event.addListener(o,"radius_changed",A)),k(o),x&&x(o),()=>{null!==S&&google.maps.event.removeListener(S),null!==B&&google.maps.event.removeListener(B),null!==j&&google.maps.event.removeListener(j),null!==P&&google.maps.event.removeListener(P),null!==D&&google.maps.event.removeListener(D),null!==L&&google.maps.event.removeListener(L),null!==N&&google.maps.event.removeListener(N),null!==z&&google.maps.event.removeListener(z),null!==U&&google.maps.event.removeListener(U),null!==W&&google.maps.event.removeListener(W),null!==G&&google.maps.event.removeListener(G),null!==$&&google.maps.event.removeListener($),C&&C(o),o.setMap(null)}}),[]),null}));class $e extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={circle:null},this.setCircleCallback=()=>{null!==this.state.circle&&this.props.onLoad&&this.props.onLoad(this.state.circle)}}componentDidMount(){const e=new google.maps.Circle(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:Ge,eventMap:Ze,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{circle:e}}),this.setCircleCallback)}componentDidUpdate(e){null!==this.state.circle&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:Ge,eventMap:Ze,prevProps:e,nextProps:this.props,instance:this.state.circle}))}componentWillUnmount(){null!==this.state.circle&&(this.props.onUnmount&&this.props.onUnmount(this.state.circle),p(this.registeredEvents),this.state.circle&&this.state.circle.setMap(null))}render(){return null}}$e.contextType=c;const Xe={onClick:"click",onDblClick:"dblclick",onMouseDown:"mousedown",onMouseOut:"mouseout",onMouseOver:"mouseover",onMouseUp:"mouseup",onRightClick:"rightclick",onAddFeature:"addfeature",onRemoveFeature:"removefeature",onRemoveProperty:"removeproperty",onSetGeometry:"setgeometry",onSetProperty:"setproperty"},Qe={add(e,t){e.add(t)},addgeojson(e,t,n){e.addGeoJson(t,n)},contains(e,t){e.contains(t)},foreach(e,t){e.forEach(t)},loadgeojson(e,t,n,r){e.loadGeoJson(t,n,r)},overridestyle(e,t,n){e.overrideStyle(t,n)},remove(e,t){e.remove(t)},revertstyle(e,t){e.revertStyle(t)},controlposition(e,t){e.setControlPosition(t)},controls(e,t){e.setControls(t)},drawingmode(e,t){e.setDrawingMode(t)},map(e,t){e.setMap(t)},style(e,t){e.setStyle(t)},togeojson(e,t){e.toGeoJson(t)}};(0,o.memo)((function({options:e,onClick:t,onDblClick:n,onMouseDown:r,onMouseMove:i,onMouseOut:a,onMouseOver:s,onMouseUp:l,onRightClick:u,onAddFeature:d,onRemoveFeature:f,onRemoveProperty:p,onSetGeometry:h,onSetProperty:m,onLoad:g,onUnmount:v}){const b=(0,o.useContext)(c),[y,A]=(0,o.useState)(null),[x,C]=(0,o.useState)(null),[_,w]=(0,o.useState)(null),[k,S]=(0,o.useState)(null),[E,B]=(0,o.useState)(null),[O,j]=(0,o.useState)(null),[T,P]=(0,o.useState)(null),[M,D]=(0,o.useState)(null),[R,L]=(0,o.useState)(null),[I,N]=(0,o.useState)(null),[F,z]=(0,o.useState)(null),[q,U]=(0,o.useState)(null),[H,W]=(0,o.useState)(null),[V,Y]=(0,o.useState)(null);return(0,o.useEffect)((()=>{null!==y&&y.setMap(b)}),[b]),(0,o.useEffect)((()=>{y&&n&&(null!==x&&google.maps.event.removeListener(x),C(google.maps.event.addListener(y,"dblclick",n)))}),[n]),(0,o.useEffect)((()=>{y&&r&&(null!==_&&google.maps.event.removeListener(_),w(google.maps.event.addListener(y,"mousedown",r)))}),[r]),(0,o.useEffect)((()=>{y&&i&&(null!==k&&google.maps.event.removeListener(k),S(google.maps.event.addListener(y,"mousemove",i)))}),[i]),(0,o.useEffect)((()=>{y&&a&&(null!==E&&google.maps.event.removeListener(E),B(google.maps.event.addListener(y,"mouseout",a)))}),[a]),(0,o.useEffect)((()=>{y&&s&&(null!==O&&google.maps.event.removeListener(O),j(google.maps.event.addListener(y,"mouseover",s)))}),[s]),(0,o.useEffect)((()=>{y&&l&&(null!==T&&google.maps.event.removeListener(T),P(google.maps.event.addListener(y,"mouseup",l)))}),[l]),(0,o.useEffect)((()=>{y&&u&&(null!==M&&google.maps.event.removeListener(M),D(google.maps.event.addListener(y,"rightclick",u)))}),[u]),(0,o.useEffect)((()=>{y&&t&&(null!==R&&google.maps.event.removeListener(R),L(google.maps.event.addListener(y,"click",t)))}),[t]),(0,o.useEffect)((()=>{y&&d&&(null!==I&&google.maps.event.removeListener(I),N(google.maps.event.addListener(y,"addfeature",d)))}),[d]),(0,o.useEffect)((()=>{y&&f&&(null!==F&&google.maps.event.removeListener(F),z(google.maps.event.addListener(y,"removefeature",f)))}),[f]),(0,o.useEffect)((()=>{y&&p&&(null!==q&&google.maps.event.removeListener(q),U(google.maps.event.addListener(y,"removeproperty",p)))}),[p]),(0,o.useEffect)((()=>{y&&h&&(null!==H&&google.maps.event.removeListener(H),W(google.maps.event.addListener(y,"setgeometry",h)))}),[h]),(0,o.useEffect)((()=>{y&&m&&(null!==V&&google.maps.event.removeListener(V),Y(google.maps.event.addListener(y,"setproperty",m)))}),[m]),(0,o.useEffect)((()=>{if(null!==b){const o=new google.maps.Data(Object.assign(Object.assign({},e||{}),{map:b}));n&&C(google.maps.event.addListener(o,"dblclick",n)),r&&w(google.maps.event.addListener(o,"mousedown",r)),i&&S(google.maps.event.addListener(o,"mousemove",i)),a&&B(google.maps.event.addListener(o,"mouseout",a)),s&&j(google.maps.event.addListener(o,"mouseover",s)),l&&P(google.maps.event.addListener(o,"mouseup",l)),u&&D(google.maps.event.addListener(o,"rightclick",u)),t&&L(google.maps.event.addListener(o,"click",t)),d&&N(google.maps.event.addListener(o,"addfeature",d)),f&&z(google.maps.event.addListener(o,"removefeature",f)),p&&U(google.maps.event.addListener(o,"removeproperty",p)),h&&W(google.maps.event.addListener(o,"setgeometry",h)),m&&Y(google.maps.event.addListener(o,"setproperty",m)),A(o),g&&g(o)}return()=>{y&&(null!==x&&google.maps.event.removeListener(x),null!==_&&google.maps.event.removeListener(_),null!==k&&google.maps.event.removeListener(k),null!==E&&google.maps.event.removeListener(E),null!==O&&google.maps.event.removeListener(O),null!==T&&google.maps.event.removeListener(T),null!==M&&google.maps.event.removeListener(M),null!==R&&google.maps.event.removeListener(R),null!==I&&google.maps.event.removeListener(I),null!==F&&google.maps.event.removeListener(F),null!==q&&google.maps.event.removeListener(q),null!==H&&google.maps.event.removeListener(H),null!==V&&google.maps.event.removeListener(V),v&&v(y),y.setMap(null))}}),[]),null}));class Je extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={data:null},this.setDataCallback=()=>{null!==this.state.data&&this.props.onLoad&&this.props.onLoad(this.state.data)}}componentDidMount(){if(null!==this.context){const e=new google.maps.Data(Object.assign(Object.assign({},this.props.options||{}),{map:this.context}));this.registeredEvents=h({updaterMap:Qe,eventMap:Xe,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({data:e})),this.setDataCallback)}}componentDidUpdate(e){null!==this.state.data&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:Qe,eventMap:Xe,prevProps:e,nextProps:this.props,instance:this.state.data}))}componentWillUnmount(){null!==this.state.data&&(this.props.onUnmount&&this.props.onUnmount(this.state.data),p(this.registeredEvents),this.state.data&&this.state.data.setMap(null))}render(){return null}}Je.contextType=c;const et={onClick:"click",onDefaultViewportChanged:"defaultviewport_changed",onStatusChanged:"status_changed"},tt={options(e,t){e.setOptions(t)},url(e,t){e.setUrl(t)},zIndex(e,t){e.setZIndex(t)}};class nt extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={kmlLayer:null},this.setKmlLayerCallback=()=>{null!==this.state.kmlLayer&&this.props.onLoad&&this.props.onLoad(this.state.kmlLayer)}}componentDidMount(){const e=new google.maps.KmlLayer(Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=h({updaterMap:tt,eventMap:et,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{kmlLayer:e}}),this.setKmlLayerCallback)}componentDidUpdate(e){null!==this.state.kmlLayer&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:tt,eventMap:et,prevProps:e,nextProps:this.props,instance:this.state.kmlLayer}))}componentWillUnmount(){null!==this.state.kmlLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.kmlLayer),p(this.registeredEvents),this.state.kmlLayer.setMap(null))}render(){return null}}function rt(e,t){return"function"==typeof t?t(e.offsetWidth,e.offsetHeight):{x:0,y:0}}function ot(e,t){return new t(e.lat,e.lng)}function it(e,t){return new t(new google.maps.LatLng(e.ne.lat,e.ne.lng),new google.maps.LatLng(e.sw.lat,e.sw.lng))}function at(e){if(!e)return"";return(e instanceof google.maps.LatLng?e:new google.maps.LatLng(e.lat,e.lng))+""}function st(e){if(!e)return"";return(e instanceof google.maps.LatLngBounds?e:new google.maps.LatLngBounds(new google.maps.LatLng(e.south,e.east),new google.maps.LatLng(e.north,e.west)))+""}nt.contextType=c;(0,o.memo)((function({position:e,mapPaneName:t,zIndex:n,onLoad:r,onUnmount:a,getPixelPositionOffset:s,children:l}){const u=(0,o.useContext)(c),d=(0,o.useMemo)((()=>{const e=document.createElement("div");return e.style.position="absolute",e}),[]),f=(0,o.useMemo)((()=>function(e,t,n,r){class o extends google.maps.OverlayView{constructor(e,t,n){super(),this.container=e,this.pane=t,this.position=n}onAdd(){var e;const t=null===(e=this.getPanes())||void 0===e?void 0:e[this.pane];null==t||t.appendChild(this.container)}draw(){const e=this.getProjection().fromLatLngToDivPixel(this.position),t=Object.assign({},this.container?rt(this.container,r):{x:0,y:0});null!==e&&(this.container.style.transform=`translate(${e.x+t.x}px, ${e.y+t.y}px)`)}onRemove(){null!==this.container.parentNode&&this.container.parentNode.removeChild(this.container)}}return new o(e,t,n)}(d,t,e,s)),[d,t,e]);return(0,o.useEffect)((()=>(null==r||r(f),null==f||f.setMap(u),()=>{null==a||a(f),null==f||f.setMap(null)})),[u,f]),(0,o.useEffect)((()=>{d.style.zIndex=`${n}`}),[n,d]),i.createPortal(l,d)}));class lt extends o.PureComponent{constructor(e){super(e),this.state={paneEl:null,containerStyle:{position:"absolute"}},this.updatePane=()=>{const e=this.props.mapPaneName,t=this.overlayView.getPanes();l(!!e,"OverlayView requires props.mapPaneName but got %s",e),t?this.setState({paneEl:t[e]}):this.setState({paneEl:null})},this.onAdd=()=>{var e,t;this.updatePane(),null===(t=(e=this.props).onLoad)||void 0===t||t.call(e,this.overlayView)},this.onPositionElement=()=>{const e=function(e,t,n,r){return void 0!==n?function(e,t,n){const r=e&&e.fromLatLngToDivPixel(n.getNorthEast()),o=e&&e.fromLatLngToDivPixel(n.getSouthWest());return r&&o?{left:`${o.x+t.x}px`,top:`${r.y+t.y}px`,width:r.x-o.x-t.x+"px",height:o.y-r.y-t.y+"px"}:{left:"-9999px",top:"-9999px"}}(e,t,(o=n,i=google.maps.LatLngBounds,a=it,o instanceof i?o:a(o,i))):function(e,t,n){const r=e&&e.fromLatLngToDivPixel(n);if(r){const{x:e,y:n}=r;return{left:`${e+t.x}px`,top:`${n+t.y}px`}}return{left:"-9999px",top:"-9999px"}}(e,t,function(e,t,n){return e instanceof t?e:n(e,t)}(r,google.maps.LatLng,ot));var o,i,a}(this.overlayView.getProjection(),Object.assign({x:0,y:0},this.containerRef.current?rt(this.containerRef.current,this.props.getPixelPositionOffset):{}),this.props.bounds,this.props.position),{left:t,top:n,width:r,height:o}=this.state.containerStyle;var i,a;a={left:t,top:n,width:r,height:o},((i=e).left!==a.left||i.top!==a.top||i.width!==a.height||i.height!==a.height)&&this.setState({containerStyle:Object.assign(Object.assign({},e),{position:"absolute"})})},this.draw=()=>{this.onPositionElement()},this.onRemove=()=>{var e,t;this.setState((()=>({paneEl:null}))),null===(t=(e=this.props).onUnmount)||void 0===t||t.call(e,this.overlayView)},this.containerRef=(0,o.createRef)();const t=new google.maps.OverlayView;t.onAdd=this.onAdd,t.draw=this.draw,t.onRemove=this.onRemove,this.overlayView=t}componentDidMount(){this.overlayView.setMap(this.context)}componentDidUpdate(e){const t=at(e.position),n=at(this.props.position),r=st(e.bounds),o=st(this.props.bounds);t===n&&r===o||this.overlayView.draw(),e.mapPaneName!==this.props.mapPaneName&&this.updatePane()}componentWillUnmount(){this.overlayView.setMap(null)}render(){const e=this.state.paneEl;return e?i.createPortal(a.exports.jsx("div",Object.assign({ref:this.containerRef,style:this.state.containerStyle},{children:o.Children.only(this.props.children)})),e):null}}lt.FLOAT_PANE="floatPane",lt.MAP_PANE="mapPane",lt.MARKER_LAYER="markerLayer",lt.OVERLAY_LAYER="overlayLayer",lt.OVERLAY_MOUSE_TARGET="overlayMouseTarget",lt.contextType=c;const ct={onDblClick:"dblclick",onClick:"click"},ut={opacity(e,t){e.setOpacity(t)}};class dt extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={groundOverlay:null},this.setGroundOverlayCallback=()=>{null!==this.state.groundOverlay&&this.props.onLoad&&this.props.onLoad(this.state.groundOverlay)}}componentDidMount(){l(!!this.props.url||!!this.props.bounds,"For GroundOverlay, url and bounds are passed in to constructor and are immutable after instantiated. This is the behavior of Google Maps JavaScript API v3 ( See https://developers.google.com/maps/documentation/javascript/reference#GroundOverlay) Hence, use the corresponding two props provided by `react-google-maps-api`, url and bounds. In some cases, you'll need the GroundOverlay component to reflect the changes of url and bounds. You can leverage the React's key property to remount the component. Typically, just `key={url}` would serve your need. See https://github.com/tomchentw/react-google-maps/issues/655");const e=new google.maps.GroundOverlay(this.props.url,this.props.bounds,Object.assign(Object.assign({},this.props.options),{map:this.context}));this.registeredEvents=h({updaterMap:ut,eventMap:ct,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{groundOverlay:e}}),this.setGroundOverlayCallback)}componentDidUpdate(e){null!==this.state.groundOverlay&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:ut,eventMap:ct,prevProps:e,nextProps:this.props,instance:this.state.groundOverlay}))}componentWillUnmount(){this.state.groundOverlay&&(this.props.onUnmount&&this.props.onUnmount(this.state.groundOverlay),this.state.groundOverlay.setMap(null))}render(){return null}}dt.defaultProps={onLoad:function(){}},dt.contextType=c;const ft={},pt={data(e,t){e.setData(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)}};class ht extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={heatmapLayer:null},this.setHeatmapLayerCallback=()=>{null!==this.state.heatmapLayer&&this.props.onLoad&&this.props.onLoad(this.state.heatmapLayer)}}componentDidMount(){l(!!google.maps.visualization,'Did you include prop libraries={["visualization"]} to <LoadScript />? %s',google.maps.visualization),l(!!this.props.data,"data property is required in HeatmapLayer %s",this.props.data);const e=new google.maps.visualization.HeatmapLayer(Object.assign(Object.assign({},this.props.options||{}),{data:this.props.data,map:this.context}));this.registeredEvents=h({updaterMap:pt,eventMap:ft,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{heatmapLayer:e}}),this.setHeatmapLayerCallback)}componentDidUpdate(e){p(this.registeredEvents),this.registeredEvents=h({updaterMap:pt,eventMap:ft,prevProps:e,nextProps:this.props,instance:this.state.heatmapLayer})}componentWillUnmount(){null!==this.state.heatmapLayer&&(this.props.onUnmount&&this.props.onUnmount(this.state.heatmapLayer),p(this.registeredEvents),this.state.heatmapLayer.setMap(null))}render(){return null}}ht.contextType=c;const mt={onCloseClick:"closeclick",onPanoChanged:"pano_changed",onPositionChanged:"position_changed",onPovChanged:"pov_changed",onResize:"resize",onStatusChanged:"status_changed",onVisibleChanged:"visible_changed",onZoomChanged:"zoom_changed"},gt={register(e,t,n){e.registerPanoProvider(t,n)},links(e,t){e.setLinks(t)},motionTracking(e,t){e.setMotionTracking(t)},options(e,t){e.setOptions(t)},pano(e,t){e.setPano(t)},position(e,t){e.setPosition(t)},pov(e,t){e.setPov(t)},visible(e,t){e.setVisible(t)},zoom(e,t){e.setZoom(t)}};class vt extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={streetViewPanorama:null},this.setStreetViewPanoramaCallback=()=>{null!==this.state.streetViewPanorama&&this.props.onLoad&&this.props.onLoad(this.state.streetViewPanorama)}}componentDidMount(){const e=this.context.getStreetView();this.registeredEvents=h({updaterMap:gt,eventMap:mt,prevProps:{},nextProps:this.props,instance:e}),this.setState((()=>({streetViewPanorama:e})),this.setStreetViewPanoramaCallback)}componentDidUpdate(e){null!==this.state.streetViewPanorama&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:gt,eventMap:mt,prevProps:e,nextProps:this.props,instance:this.state.streetViewPanorama}))}componentWillUnmount(){null!==this.state.streetViewPanorama&&(this.props.onUnmount&&this.props.onUnmount(this.state.streetViewPanorama),p(this.registeredEvents),this.state.streetViewPanorama.setVisible(!1))}render(){return null}}vt.contextType=c;class bt extends o.PureComponent{constructor(){super(...arguments),this.state={streetViewService:null},this.setStreetViewServiceCallback=()=>{null!==this.state.streetViewService&&this.props.onLoad&&this.props.onLoad(this.state.streetViewService)}}componentDidMount(){const e=new google.maps.StreetViewService;this.setState((function(){return{streetViewService:e}}),this.setStreetViewServiceCallback)}componentWillUnmount(){null!==this.state.streetViewService&&this.props.onUnmount&&this.props.onUnmount(this.state.streetViewService)}render(){return null}}bt.contextType=c;class yt extends o.PureComponent{constructor(){super(...arguments),this.state={directionsService:null},this.setDirectionsServiceCallback=()=>{null!==this.state.directionsService&&this.props.onLoad&&this.props.onLoad(this.state.directionsService)}}componentDidMount(){l(!!this.props.options,"DirectionsService expected options object as parameter, but got %s",this.props.options);const e=new google.maps.DirectionsService;this.setState((function(){return{directionsService:e}}),this.setDirectionsServiceCallback)}componentDidUpdate(){null!==this.state.directionsService&&this.state.directionsService.route(this.props.options,this.props.callback)}componentWillUnmount(){null!==this.state.directionsService&&this.props.onUnmount&&this.props.onUnmount(this.state.directionsService)}render(){return null}}const At={onDirectionsChanged:"directions_changed"},xt={directions(e,t){e.setDirections(t)},map(e,t){e.setMap(t)},options(e,t){e.setOptions(t)},panel(e,t){e.setPanel(t)},routeIndex(e,t){e.setRouteIndex(t)}};class Ct extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.state={directionsRenderer:null},this.setDirectionsRendererCallback=()=>{null!==this.state.directionsRenderer&&(this.state.directionsRenderer.setMap(this.context),this.props.onLoad&&this.props.onLoad(this.state.directionsRenderer))}}componentDidMount(){const e=new google.maps.DirectionsRenderer(this.props.options);this.registeredEvents=h({updaterMap:xt,eventMap:At,prevProps:{},nextProps:this.props,instance:e}),this.setState((function(){return{directionsRenderer:e}}),this.setDirectionsRendererCallback)}componentDidUpdate(e){null!==this.state.directionsRenderer&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:xt,eventMap:At,prevProps:e,nextProps:this.props,instance:this.state.directionsRenderer}))}componentWillUnmount(){null!==this.state.directionsRenderer&&(this.props.onUnmount&&this.props.onUnmount(this.state.directionsRenderer),p(this.registeredEvents),this.state.directionsRenderer&&this.state.directionsRenderer.setMap(null))}render(){return a.exports.jsx(a.exports.Fragment,{})}}Ct.contextType=c;class _t extends o.PureComponent{constructor(){super(...arguments),this.state={distanceMatrixService:null},this.setDistanceMatrixServiceCallback=()=>{null!==this.state.distanceMatrixService&&this.props.onLoad&&this.props.onLoad(this.state.distanceMatrixService)}}componentDidMount(){l(!!this.props.options,"DistanceMatrixService expected options object as parameter, but go %s",this.props.options);const e=new google.maps.DistanceMatrixService;this.setState((function(){return{distanceMatrixService:e}}),this.setDistanceMatrixServiceCallback)}componentDidUpdate(){null!==this.state.distanceMatrixService&&this.state.distanceMatrixService.getDistanceMatrix(this.props.options,this.props.callback)}componentWillUnmount(){null!==this.state.distanceMatrixService&&this.props.onUnmount&&this.props.onUnmount(this.state.distanceMatrixService)}render(){return null}}const wt={onPlacesChanged:"places_changed"},kt={bounds(e,t){e.setBounds(t)}};class St extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=(0,o.createRef)(),this.state={searchBox:null},this.setSearchBoxCallback=()=>{null!==this.state.searchBox&&this.props.onLoad&&this.props.onLoad(this.state.searchBox)}}componentDidMount(){if(l(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places),null!==this.containerElement&&null!==this.containerElement.current){const e=this.containerElement.current.querySelector("input");if(null!==e){const t=new google.maps.places.SearchBox(e,this.props.options);this.registeredEvents=h({updaterMap:kt,eventMap:wt,prevProps:{},nextProps:this.props,instance:t}),this.setState((function(){return{searchBox:t}}),this.setSearchBoxCallback)}}}componentDidUpdate(e){null!==this.state.searchBox&&(p(this.registeredEvents),this.registeredEvents=h({updaterMap:kt,eventMap:wt,prevProps:e,nextProps:this.props,instance:this.state.searchBox}))}componentWillUnmount(){null!==this.state.searchBox&&(this.props.onUnmount&&this.props.onUnmount(this.state.searchBox),p(this.registeredEvents))}render(){return a.exports.jsx("div",Object.assign({ref:this.containerElement},{children:o.Children.only(this.props.children)}))}}St.contextType=c;const Et={onPlaceChanged:"place_changed"},Bt={bounds(e,t){e.setBounds(t)},restrictions(e,t){e.setComponentRestrictions(t)},fields(e,t){e.setFields(t)},options(e,t){e.setOptions(t)},types(e,t){e.setTypes(t)}};class Ot extends o.PureComponent{constructor(){super(...arguments),this.registeredEvents=[],this.containerElement=(0,o.createRef)(),this.state={autocomplete:null},this.setAutocompleteCallback=()=>{null!==this.state.autocomplete&&this.props.onLoad&&this.props.onLoad(this.state.autocomplete)}}componentDidMount(){l(!!google.maps.places,'You need to provide libraries={["places"]} prop to <LoadScript /> component %s',google.maps.places);const e=this.containerElement.current.querySelector("input");if(e){const t=new google.maps.places.Autocomplete(e,this.props.options);this.registeredEvents=h({updaterMap:Bt,eventMap:Et,prevProps:{},nextProps:this.props,instance:t}),this.setState((()=>({autocomplete:t})),this.setAutocompleteCallback)}}componentDidUpdate(e){p(this.registeredEvents),this.registeredEvents=h({updaterMap:Bt,eventMap:Et,prevProps:e,nextProps:this.props,instance:this.state.autocomplete})}componentWillUnmount(){null!==this.state.autocomplete&&p(this.registeredEvents)}render(){return a.exports.jsx("div",Object.assign({ref:this.containerElement,className:this.props.className},{children:o.Children.only(this.props.children)}))}}Ot.defaultProps={className:""},Ot.contextType=c},32092:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){return(0,r.useState)(null)}},92029:function(e,t,n){"use strict";var r=n(67294);t.Z=function(e){const t=(0,r.useRef)(e);return(0,r.useEffect)((()=>{t.current=e}),[e]),t}},78146:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(92029);function i(e){const t=(0,o.Z)(e);return(0,r.useCallback)((function(...e){return t.current&&t.current(...e)}),[t])}},55111:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(67294),o=n(78146);function i(e,t,n,i=!1){const a=(0,o.Z)(n);(0,r.useEffect)((()=>{const n="function"==typeof e?e():e;return n.addEventListener(t,a,i),()=>n.removeEventListener(t,a,i)}),[e])}},14357:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){const[,e]=(0,r.useReducer)((e=>!e),!1);return e}},99585:function(e,t,n){"use strict";var r=n(67294);const o=void 0!==n.g&&n.g.navigator&&"ReactNative"===n.g.navigator.product,i="undefined"!=typeof document;t.Z=i||o?r.useLayoutEffect:r.useEffect},35654:function(e,t,n){"use strict";var r=n(67294);const o=e=>e&&"function"!=typeof e?t=>{e.current=t}:e;t.Z=function(e,t){return(0,r.useMemo)((()=>function(e,t){const n=o(e),r=o(t);return e=>{n&&n(e),r&&r(e)}}(e,t)),[e,t])}},6454:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){const e=(0,r.useRef)(!0),t=(0,r.useRef)((()=>e.current));return(0,r.useEffect)((()=>(e.current=!0,()=>{e.current=!1})),[]),t.current}},88833:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){const t=(0,r.useRef)(null);return(0,r.useEffect)((()=>{t.current=e})),t.current}},76852:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){const t=function(e){const t=(0,r.useRef)(e);return t.current=e,t}(e);(0,r.useEffect)((()=>()=>t.current()),[])}},13551:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(67294),o=(n(32092),n(92029),n(78146));n(55111);n(6454),n(88833);n(99585);new WeakMap;var i=n(70861),a=n(85893);const s=["onKeyDown"];const l=r.forwardRef(((e,t)=>{let{onKeyDown:n}=e,r=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,s);const[l]=(0,i.FT)(Object.assign({tagName:"a"},r)),c=(0,o.Z)((e=>{l.onKeyDown(e),null==n||n(e)}));return(u=r.href)&&"#"!==u.trim()&&"button"!==r.role?(0,a.jsx)("a",Object.assign({ref:t},r,{onKeyDown:n})):(0,a.jsx)("a",Object.assign({ref:t},r,l,{onKeyDown:c}));var u}));l.displayName="Anchor";var c=l},70861:function(e,t,n){"use strict";n.d(t,{FT:function(){return a}});var r=n(67294),o=n(85893);const i=["as","disabled"];function a({tagName:e,disabled:t,href:n,target:r,rel:o,role:i,onClick:a,tabIndex:s=0,type:l}){e||(e=null!=n||null!=r||null!=o?"a":"button");const c={tagName:e};if("button"===e)return[{type:l||"button",disabled:t},c];const u=r=>{(t||"a"===e&&function(e){return!e||"#"===e.trim()}(n))&&r.preventDefault(),t?r.stopPropagation():null==a||a(r)};return"a"===e&&(n||(n="#"),t&&(n=void 0)),[{role:null!=i?i:"button",disabled:void 0,tabIndex:t?void 0:s,href:n,target:"a"===e?r:void 0,"aria-disabled":t||void 0,rel:"a"===e?o:void 0,onClick:u,onKeyDown:e=>{" "===e.key&&(e.preventDefault(),u(e))}},c]}const s=r.forwardRef(((e,t)=>{let{as:n,disabled:r}=e,s=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,i);const[l,{tagName:c}]=a(Object.assign({tagName:n,disabled:r},s));return(0,o.jsx)(c,Object.assign({},s,l,{ref:t}))}));s.displayName="Button",t.ZP=s},52747:function(e,t,n){"use strict";n.d(t,{$F:function(){return o},PB:function(){return r}});function r(e){return`data-rr-ui-${e}`}function o(e){return`rrUi${e}`}},83577:function(e,t,n){"use strict";const r=n(67294).createContext(null);t.Z=r},28256:function(e,t,n){"use strict";n.d(t,{d:function(){return f}});var r=n(67294),o=n(32092),i=n(83577),a=n(83318),s=n(5680),l=n(90012),c=n(85893);const u=["children"];const d=()=>{};function f(e={}){const t=(0,r.useContext)(i.Z),[n,c]=(0,o.Z)(),u=(0,r.useRef)(!1),{flip:f,offset:p,rootCloseEvent:h,fixed:m=!1,placement:g,popperConfig:v={},enableEventListeners:b=!0,usePopper:y=!!t}=e,A=null==(null==t?void 0:t.show)?!!e.show:t.show;A&&!u.current&&(u.current=!0);const{placement:x,setMenu:C,menuElement:_,toggleElement:w}=t||{},k=(0,a.Z)(w,_,(0,l.ZP)({placement:g||x||"bottom-start",enabled:y,enableEvents:null==b?A:b,offset:p,flip:f,fixed:m,arrowElement:n,popperConfig:v})),S=Object.assign({ref:C||d,"aria-labelledby":null==w?void 0:w.id},k.attributes.popper,{style:k.styles.popper}),E={show:A,placement:x,hasShown:u.current,toggle:null==t?void 0:t.toggle,popper:y?k:null,arrowProps:y?Object.assign({ref:c},k.attributes.arrow,{style:k.styles.arrow}):{}};return(0,s.Z)(_,(e=>{null==t||t.toggle(!1,e)}),{clickTrigger:h,disabled:!A}),[S,E]}function p(e){let{children:t}=e,n=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,u);const[r,o]=f(n);return(0,c.jsx)(c.Fragment,{children:t(r,o)})}p.displayName="DropdownMenu",p.defaultProps={usePopper:!0},t.Z=p},541:function(e,t,n){"use strict";n.d(t,{Jr:function(){return c},bt:function(){return s}});var r=n(67294),o=n(16769),i=n(83577),a=n(85893);const s=e=>{var t;return"menu"===(null==(t=e.getAttribute("role"))?void 0:t.toLowerCase())},l=()=>{};function c(){const e=(0,o.gP)(),{show:t=!1,toggle:n=l,setToggle:a,menuElement:c}=(0,r.useContext)(i.Z)||{},u=(0,r.useCallback)((e=>{n(!t,e)}),[t,n]),d={id:e,ref:a||l,onClick:u,"aria-expanded":!!t};return c&&s(c)&&(d["aria-haspopup"]=!0),[d,{show:t,toggle:n}]}function u({children:e}){const[t,n]=c();return(0,a.jsx)(a.Fragment,{children:e(t,n)})}u.displayName="DropdownToggle",t.ZP=u},78756:function(e,t,n){"use strict";n.d(t,{sD:function(){return u}});var r=n(35654),o=n(78146),i=n(99585),a=n(67294),s=n(77514),l=n(85893);function c({children:e,in:t,onExited:n,onEntered:s,transition:l}){const[c,u]=(0,a.useState)(!t);t&&c&&u(!1);const d=function({in:e,onTransition:t}){const n=(0,a.useRef)(null),r=(0,a.useRef)(!0),s=(0,o.Z)(t);return(0,i.Z)((()=>{if(!n.current)return;let t=!1;return s({in:e,element:n.current,initial:r.current,isStale:()=>t}),()=>{t=!0}}),[e,s]),(0,i.Z)((()=>(r.current=!1,()=>{r.current=!0})),[]),n}({in:!!t,onTransition:e=>{Promise.resolve(l(e)).then((()=>{e.isStale()||(e.in?null==s||s(e.element,e.initial):(u(!0),null==n||n(e.element)))}),(t=>{throw e.in||u(!0),t}))}}),f=(0,r.Z)(d,e.ref);return c&&!t?null:(0,a.cloneElement)(e,{ref:f})}function u(e,t,n){return e?(0,l.jsx)(e,Object.assign({},n)):t?(0,l.jsx)(c,Object.assign({},n,{transition:t})):(0,l.jsx)(s.Z,Object.assign({},n))}},16664:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(67216);function o(e){void 0===e&&(e=(0,r.Z)());try{var t=e.activeElement;return t&&t.nodeName?t:null}catch(t){return e.body}}var i=n(90424),a=n(23004),s=n(72950),l=n(67294),c=n(73935),u=n(6454),d=n(76852),f=n(88833),p=n(78146),h=n(88083),m=n(54194),g=n(12963),v=n(78756),b=n(96899),y=n(85893);const A=["show","role","className","style","children","backdrop","keyboard","onBackdropClick","onEscapeKeyDown","transition","runTransition","backdropTransition","runBackdropTransition","autoFocus","enforceFocus","restoreFocus","restoreFocusOptions","renderDialog","renderBackdrop","manager","container","onShow","onHide","onExit","onExited","onExiting","onEnter","onEntering","onEntered"];let x;function C(e){const t=(0,g.Z)(),n=e||function(e){return x||(x=new h.Z({ownerDocument:null==e?void 0:e.document})),x}(t),r=(0,l.useRef)({dialog:null,backdrop:null});return Object.assign(r.current,{add:()=>n.add(r.current),remove:()=>n.remove(r.current),isTopModal:()=>n.isTopModal(r.current),setDialogRef:(0,l.useCallback)((e=>{r.current.dialog=e}),[]),setBackdropRef:(0,l.useCallback)((e=>{r.current.backdrop=e}),[])})}const _=(0,l.forwardRef)(((e,t)=>{let{show:n=!1,role:r="dialog",className:h,style:x,children:_,backdrop:w=!0,keyboard:k=!0,onBackdropClick:S,onEscapeKeyDown:E,transition:B,runTransition:O,backdropTransition:j,runBackdropTransition:T,autoFocus:P=!0,enforceFocus:M=!0,restoreFocus:D=!0,restoreFocusOptions:R,renderDialog:L,renderBackdrop:I=(e=>(0,y.jsx)("div",Object.assign({},e))),manager:N,container:F,onShow:z,onHide:q=(()=>{}),onExit:U,onExited:H,onExiting:W,onEnter:V,onEntering:Y,onEntered:Z}=e,G=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,A);const K=(0,g.Z)(),$=(0,m.Z)(F),X=C(N),Q=(0,u.Z)(),J=(0,f.Z)(n),[ee,te]=(0,l.useState)(!n),ne=(0,l.useRef)(null);(0,l.useImperativeHandle)(t,(()=>X),[X]),a.Z&&!J&&n&&(ne.current=o(null==K?void 0:K.document)),n&&ee&&te(!1);const re=(0,p.Z)((()=>{if(X.add(),ce.current=(0,s.Z)(document,"keydown",se),le.current=(0,s.Z)(document,"focus",(()=>setTimeout(ie)),!0),z&&z(),P){var e,t;const n=o(null!=(e=null==(t=X.dialog)?void 0:t.ownerDocument)?e:null==K?void 0:K.document);X.dialog&&n&&!(0,i.Z)(X.dialog,n)&&(ne.current=n,X.dialog.focus())}})),oe=(0,p.Z)((()=>{var e;(X.remove(),null==ce.current||ce.current(),null==le.current||le.current(),D)&&(null==(e=ne.current)||null==e.focus||e.focus(R),ne.current=null)}));(0,l.useEffect)((()=>{n&&$&&re()}),[n,$,re]),(0,l.useEffect)((()=>{ee&&oe()}),[ee,oe]),(0,d.Z)((()=>{oe()}));const ie=(0,p.Z)((()=>{if(!M||!Q()||!X.isTopModal())return;const e=o(null==K?void 0:K.document);X.dialog&&e&&!(0,i.Z)(X.dialog,e)&&X.dialog.focus()})),ae=(0,p.Z)((e=>{e.target===e.currentTarget&&(null==S||S(e),!0===w&&q())})),se=(0,p.Z)((e=>{k&&(0,b.k)(e)&&X.isTopModal()&&(null==E||E(e),e.defaultPrevented||q())})),le=(0,l.useRef)(),ce=(0,l.useRef)();if(!$)return null;const ue=Object.assign({role:r,ref:X.setDialogRef,"aria-modal":"dialog"===r||void 0},G,{style:x,className:h,tabIndex:-1});let de=L?L(ue):(0,y.jsx)("div",Object.assign({},ue,{children:l.cloneElement(_,{role:"document"})}));de=(0,v.sD)(B,O,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!n,onExit:U,onExiting:W,onExited:(...e)=>{te(!0),null==H||H(...e)},onEnter:V,onEntering:Y,onEntered:Z,children:de});let fe=null;return w&&(fe=I({ref:X.setBackdropRef,onClick:ae}),fe=(0,v.sD)(j,T,{in:!!n,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:fe})),(0,y.jsx)(y.Fragment,{children:c.createPortal((0,y.jsxs)(y.Fragment,{children:[fe,de]}),$)})}));_.displayName="Modal";var w=Object.assign(_,{Manager:h.Z})},88083:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(91505);const o=(0,n(52747).PB)("modal-open");var i=class{constructor({ownerDocument:e,handleContainerOverflow:t=!0,isRTL:n=!1}={}){this.handleContainerOverflow=t,this.isRTL=n,this.modals=[],this.ownerDocument=e}getScrollbarWidth(){return function(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}(this.ownerDocument)}getElement(){return(this.ownerDocument||document).body}setModalAttributes(e){}removeModalAttributes(e){}setContainerStyle(e){const t={overflow:"hidden"},n=this.isRTL?"paddingLeft":"paddingRight",i=this.getElement();e.style={overflow:i.style.overflow,[n]:i.style[n]},e.scrollBarWidth&&(t[n]=`${parseInt((0,r.Z)(i,n)||"0",10)+e.scrollBarWidth}px`),i.setAttribute(o,""),(0,r.Z)(i,t)}reset(){[...this.modals].forEach((e=>this.remove(e)))}removeContainerStyle(e){const t=this.getElement();t.removeAttribute(o),Object.assign(t.style,e.style)}add(e){let t=this.modals.indexOf(e);return-1!==t?t:(t=this.modals.length,this.modals.push(e),this.setModalAttributes(e),0!==t||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),t)}remove(e){const t=this.modals.indexOf(e);-1!==t&&(this.modals.splice(t,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(e))}isTopModal(e){return!!this.modals.length&&this.modals[this.modals.length-1]===e}}},86056:function(e,t,n){"use strict";const r=n(67294).createContext(null);r.displayName="NavContext",t.Z=r},77514:function(e,t,n){"use strict";var r=n(78146),o=n(35654),i=n(67294);t.Z=function({children:e,in:t,onExited:n,mountOnEnter:a,unmountOnExit:s}){const l=(0,i.useRef)(null),c=(0,i.useRef)(t),u=(0,r.Z)(n);(0,i.useEffect)((()=>{t?c.current=!0:u(l.current)}),[t,u]);const d=(0,o.Z)(l,e.ref),f=(0,i.cloneElement)(e,{ref:d});return t?f:s||!c.current&&a?null:f}},87126:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});const r=n(67294).createContext(null),o=(e,t=null)=>null!=e?String(e):t||null;t.Z=r},76626:function(e,t,n){"use strict";const r=n(67294).createContext(null);t.Z=r},25963:function(e,t,n){"use strict";n.d(t,{W:function(){return f}});var r=n(67294),o=n(76626),i=n(87126),a=n(77514),s=n(85893);const l=["active","eventKey","mountOnEnter","transition","unmountOnExit","role","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],c=["activeKey","getControlledId","getControllerId"],u=["as"];function d(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}function f(e){let{active:t,eventKey:n,mountOnEnter:a,transition:s,unmountOnExit:u,role:f="tabpanel",onEnter:p,onEntering:h,onEntered:m,onExit:g,onExiting:v,onExited:b}=e,y=d(e,l);const A=(0,r.useContext)(o.Z);if(!A)return[Object.assign({},y,{role:f}),{eventKey:n,isActive:t,mountOnEnter:a,transition:s,unmountOnExit:u,onEnter:p,onEntering:h,onEntered:m,onExit:g,onExiting:v,onExited:b}];const{activeKey:x,getControlledId:C,getControllerId:_}=A,w=d(A,c),k=(0,i.h)(n);return[Object.assign({},y,{role:f,id:C(n),"aria-labelledby":_(n)}),{eventKey:n,isActive:null==t&&null!=k?(0,i.h)(x)===k:t,transition:s||w.transition,mountOnEnter:null!=a?a:w.mountOnEnter,unmountOnExit:null!=u?u:w.unmountOnExit,onEnter:p,onEntering:h,onEntered:m,onExit:g,onExiting:v,onExited:b}]}const p=r.forwardRef(((e,t)=>{let{as:n="div"}=e,r=d(e,u);const[l,{isActive:c,onEnter:p,onEntering:h,onEntered:m,onExit:g,onExiting:v,onExited:b,mountOnEnter:y,unmountOnExit:A,transition:x=a.Z}]=f(r);return(0,s.jsx)(o.Z.Provider,{value:null,children:(0,s.jsx)(i.Z.Provider,{value:null,children:(0,s.jsx)(x,{in:c,onEnter:p,onEntering:h,onEntered:m,onExit:g,onExiting:v,onExited:b,mountOnEnter:y,unmountOnExit:A,children:(0,s.jsx)(n,Object.assign({},l,{ref:t,hidden:!c,"aria-hidden":!c}))})})})}));p.displayName="TabPanel",t.Z=p},83916:function(e,t,n){"use strict";var r=n(67294),o=n(97121),i=n(16769),a=n(76626),s=n(87126),l=n(25963),c=n(85893);const u=e=>{const{id:t,generateChildId:n,onSelect:l,activeKey:u,defaultActiveKey:d,transition:f,mountOnEnter:p,unmountOnExit:h,children:m}=e,[g,v]=(0,o.$c)(u,d,l),b=(0,i.gP)(t),y=(0,r.useMemo)((()=>n||((e,t)=>b?`${b}-${t}-${e}`:null)),[b,n]),A=(0,r.useMemo)((()=>({onSelect:v,activeKey:g,transition:f,mountOnEnter:p||!1,unmountOnExit:h||!1,getControlledId:e=>y(e,"tabpane"),getControllerId:e=>y(e,"tab")})),[v,g,f,p,h,y]);return(0,c.jsx)(a.Z.Provider,{value:A,children:(0,c.jsx)(s.Z.Provider,{value:v||null,children:m})})};u.Panel=l.Z,t.Z=u},90012:function(e,t,n){"use strict";function r(e={}){return Array.isArray(e)?e:Object.keys(e).map((t=>(e[t].name=t,e[t])))}function o({enabled:e,enableEvents:t,placement:n,flip:o,offset:i,fixed:a,containerPadding:s,arrowElement:l,popperConfig:c={}}){var u,d,f,p,h;const m=function(e){const t={};return Array.isArray(e)?(null==e||e.forEach((e=>{t[e.name]=e})),t):e||t}(c.modifiers);return Object.assign({},c,{placement:n,enabled:e,strategy:a?"fixed":c.strategy,modifiers:r(Object.assign({},m,{eventListeners:{enabled:t,options:null==(u=m.eventListeners)?void 0:u.options},preventOverflow:Object.assign({},m.preventOverflow,{options:s?Object.assign({padding:s},null==(d=m.preventOverflow)?void 0:d.options):null==(f=m.preventOverflow)?void 0:f.options}),offset:{options:Object.assign({offset:i},null==(p=m.offset)?void 0:p.options)},arrow:Object.assign({},m.arrow,{enabled:!!l,options:Object.assign({},null==(h=m.arrow)?void 0:h.options,{element:l})}),flip:Object.assign({enabled:!!o},m.flip)}))})}n.d(t,{ZP:function(){return o}})},5680:function(e,t,n){"use strict";n.d(t,{f:function(){return d}});var r=n(90424),o=n(72950),i=n(67216),a=n(67294),s=n(78146),l=n(42473),c=n.n(l);const u=()=>{};const d=e=>e&&("current"in e?e.current:e),f={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};t.Z=function(e,t=u,{disabled:n,clickTrigger:l="click"}={}){const p=(0,a.useRef)(!1),h=(0,a.useRef)(!1),m=(0,a.useCallback)((t=>{const n=d(e);c()(!!n,"ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"),p.current=!n||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(t)||!function(e){return 0===e.button}(t)||!!(0,r.Z)(n,t.target)||h.current,h.current=!1}),[e]),g=(0,s.Z)((t=>{const n=d(e);n&&(0,r.Z)(n,t.target)&&(h.current=!0)})),v=(0,s.Z)((e=>{p.current||t(e)}));(0,a.useEffect)((()=>{var t,r;if(n||null==e)return;const a=(0,i.Z)(d(e)),s=a.defaultView||window;let c=null!=(t=s.event)?t:null==(r=s.parent)?void 0:r.event,p=null;f[l]&&(p=(0,o.Z)(a,f[l],g,!0));const h=(0,o.Z)(a,l,m,!0),b=(0,o.Z)(a,l,(e=>{e!==c?v(e):c=void 0}));let y=[];return"ontouchstart"in a.documentElement&&(y=[].slice.call(a.body.children).map((e=>(0,o.Z)(e,"mousemove",u)))),()=>{null==p||p(),h(),b(),y.forEach((e=>e()))}}),[e,n,l,m,g,v])}},83318:function(e,t,n){"use strict";n.d(t,{Z:function(){return ke}});var r=n(67294),o=Object.prototype.hasOwnProperty;function i(e,t,n){for(n of e.keys())if(a(n,t))return n}function a(e,t){var n,r,s;if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&a(e[r],t[r]););return-1===r}if(n===Set){if(e.size!==t.size)return!1;for(r of e){if((s=r)&&"object"==typeof s&&!(s=i(t,s)))return!1;if(!t.has(s))return!1}return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e){if((s=r[0])&&"object"==typeof s&&!(s=i(t,s)))return!1;if(!a(r[1],t.get(s)))return!1}return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return-1===r}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return-1===r}if(!n||"object"==typeof e){for(n in r=0,e){if(o.call(e,n)&&++r&&!o.call(t,n))return!1;if(!(n in t)||!a(e[n],t[n]))return!1}return Object.keys(t).length===r}}return e!=e&&t!=t}var s=n(6454);var l=function(e){const t=(0,s.Z)();return[e[0],(0,r.useCallback)((n=>{if(t())return e[1](n)}),[t,e[1]])]};function c(e){return e.split("-")[0]}function u(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function d(e){return e instanceof u(e).Element||e instanceof Element}function f(e){return e instanceof u(e).HTMLElement||e instanceof HTMLElement}function p(e){return"undefined"!=typeof ShadowRoot&&(e instanceof u(e).ShadowRoot||e instanceof ShadowRoot)}var h=Math.max,m=Math.min,g=Math.round;function v(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function b(){return!/^((?!chrome|android).)*safari/i.test(v())}function y(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),o=1,i=1;t&&f(e)&&(o=e.offsetWidth>0&&g(r.width)/e.offsetWidth||1,i=e.offsetHeight>0&&g(r.height)/e.offsetHeight||1);var a=(d(e)?u(e):window).visualViewport,s=!b()&&n,l=(r.left+(s&&a?a.offsetLeft:0))/o,c=(r.top+(s&&a?a.offsetTop:0))/i,p=r.width/o,h=r.height/i;return{width:p,height:h,top:c,right:l+p,bottom:c+h,left:l,x:l,y:c}}function A(e){var t=y(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function x(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&p(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function C(e){return e?(e.nodeName||"").toLowerCase():null}function _(e){return u(e).getComputedStyle(e)}function w(e){return["table","td","th"].indexOf(C(e))>=0}function k(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function S(e){return"html"===C(e)?e:e.assignedSlot||e.parentNode||(p(e)?e.host:null)||k(e)}function E(e){return f(e)&&"fixed"!==_(e).position?e.offsetParent:null}function B(e){for(var t=u(e),n=E(e);n&&w(n)&&"static"===_(n).position;)n=E(n);return n&&("html"===C(n)||"body"===C(n)&&"static"===_(n).position)?t:n||function(e){var t=/firefox/i.test(v());if(/Trident/i.test(v())&&f(e)&&"fixed"===_(e).position)return null;var n=S(e);for(p(n)&&(n=n.host);f(n)&&["html","body"].indexOf(C(n))<0;){var r=_(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function O(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function j(e,t,n){return h(e,m(t,n))}function T(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function P(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var M="top",D="bottom",R="right",L="left",I="auto",N=[M,D,R,L],F="start",z="end",q="viewport",U="popper",H=N.reduce((function(e,t){return e.concat([t+"-"+F,t+"-"+z])}),[]),W=[].concat(N,[I]).reduce((function(e,t){return e.concat([t,t+"-"+F,t+"-"+z])}),[]),V=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];var Y={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,i=n.elements.arrow,a=n.modifiersData.popperOffsets,s=c(n.placement),l=O(s),u=[L,R].indexOf(s)>=0?"height":"width";if(i&&a){var d=function(e,t){return T("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:P(e,N))}(o.padding,n),f=A(i),p="y"===l?M:L,h="y"===l?D:R,m=n.rects.reference[u]+n.rects.reference[l]-a[l]-n.rects.popper[u],g=a[l]-n.rects.reference[l],v=B(i),b=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=m/2-g/2,x=d[p],C=b-f[u]-d[h],_=b/2-f[u]/2+y,w=j(x,_,C),k=l;n.modifiersData[r]=((t={})[k]=w,t.centerOffset=w-_,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&x(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(e){return e.split("-")[1]}var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function K(e){var t,n=e.popper,r=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=a.x,h=void 0===p?0:p,m=a.y,v=void 0===m?0:m,b="function"==typeof d?d({x:h,y:v}):{x:h,y:v};h=b.x,v=b.y;var y=a.hasOwnProperty("x"),A=a.hasOwnProperty("y"),x=L,C=M,w=window;if(c){var S=B(n),E="clientHeight",O="clientWidth";if(S===u(n)&&"static"!==_(S=k(n)).position&&"absolute"===s&&(E="scrollHeight",O="scrollWidth"),o===M||(o===L||o===R)&&i===z)C=D,v-=(f&&S===w&&w.visualViewport?w.visualViewport.height:S[E])-r.height,v*=l?1:-1;if(o===L||(o===M||o===D)&&i===z)x=R,h-=(f&&S===w&&w.visualViewport?w.visualViewport.width:S[O])-r.width,h*=l?1:-1}var j,T=Object.assign({position:s},c&&G),P=!0===d?function(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:g(n*o)/o||0,y:g(r*o)/o||0}}({x:h,y:v},u(n)):{x:h,y:v};return h=P.x,v=P.y,l?Object.assign({},T,((j={})[C]=A?"0":"",j[x]=y?"0":"",j.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+v+"px)":"translate3d("+h+"px, "+v+"px, 0)",j)):Object.assign({},T,((t={})[C]=A?v+"px":"",t[x]=y?h+"px":"",t.transform="",t))}var $={passive:!0};var X={left:"right",right:"left",bottom:"top",top:"bottom"};function Q(e){return e.replace(/left|right|bottom|top/g,(function(e){return X[e]}))}var J={start:"end",end:"start"};function ee(e){return e.replace(/start|end/g,(function(e){return J[e]}))}function te(e){var t=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ne(e){return y(k(e)).left+te(e).scrollLeft}function re(e){var t=_(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function oe(e){return["html","body","#document"].indexOf(C(e))>=0?e.ownerDocument.body:f(e)&&re(e)?e:oe(S(e))}function ie(e,t){var n;void 0===t&&(t=[]);var r=oe(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=u(r),a=o?[i].concat(i.visualViewport||[],re(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(ie(S(a)))}function ae(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function se(e,t,n){return t===q?ae(function(e,t){var n=u(e),r=k(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=b();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+ne(e),y:l}}(e,n)):d(t)?function(e,t){var n=y(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):ae(function(e){var t,n=k(e),r=te(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=h(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=h(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+ne(e),l=-r.scrollTop;return"rtl"===_(o||n).direction&&(s+=h(n.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(k(e)))}function le(e,t,n,r){var o="clippingParents"===t?function(e){var t=ie(S(e)),n=["absolute","fixed"].indexOf(_(e).position)>=0&&f(e)?B(e):e;return d(n)?t.filter((function(e){return d(e)&&x(e,n)&&"body"!==C(e)})):[]}(e):[].concat(t),i=[].concat(o,[n]),a=i[0],s=i.reduce((function(t,n){var o=se(e,n,r);return t.top=h(o.top,t.top),t.right=m(o.right,t.right),t.bottom=m(o.bottom,t.bottom),t.left=h(o.left,t.left),t}),se(e,a,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function ce(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?c(o):null,a=o?Z(o):null,s=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(i){case M:t={x:s,y:n.y-r.height};break;case D:t={x:s,y:n.y+n.height};break;case R:t={x:n.x+n.width,y:l};break;case L:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=i?O(i):null;if(null!=u){var d="y"===u?"height":"width";switch(a){case F:t[u]=t[u]-(n[d]/2-r[d]/2);break;case z:t[u]=t[u]+(n[d]/2-r[d]/2)}}return t}function ue(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,i=n.strategy,a=void 0===i?e.strategy:i,s=n.boundary,l=void 0===s?"clippingParents":s,c=n.rootBoundary,u=void 0===c?q:c,f=n.elementContext,p=void 0===f?U:f,h=n.altBoundary,m=void 0!==h&&h,g=n.padding,v=void 0===g?0:g,b=T("number"!=typeof v?v:P(v,N)),A=p===U?"reference":U,x=e.rects.popper,C=e.elements[m?A:p],_=le(d(C)?C:C.contextElement||k(e.elements.popper),l,u,a),w=y(e.elements.reference),S=ce({reference:w,element:x,strategy:"absolute",placement:o}),E=ae(Object.assign({},x,S)),B=p===U?E:w,O={top:_.top-B.top+b.top,bottom:B.bottom-_.bottom+b.bottom,left:_.left-B.left+b.left,right:B.right-_.right+b.right},j=e.modifiersData.offset;if(p===U&&j){var L=j[o];Object.keys(O).forEach((function(e){var t=[R,D].indexOf(e)>=0?1:-1,n=[M,D].indexOf(e)>=0?"y":"x";O[e]+=L[n]*t}))}return O}function de(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fe(e){return[M,R,D,L].some((function(t){return e[t]>=0}))}var pe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=W.reduce((function(e,n){return e[n]=function(e,t,n){var r=c(e),o=[L,M].indexOf(r)>=0?-1:1,i="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[L,R].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,i),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var he={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0!==a&&a,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.padding,p=n.tether,g=void 0===p||p,v=n.tetherOffset,b=void 0===v?0:v,y=ue(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:d}),x=c(t.placement),C=Z(t.placement),_=!C,w=O(x),k="x"===w?"y":"x",S=t.modifiersData.popperOffsets,E=t.rects.reference,T=t.rects.popper,P="function"==typeof b?b(Object.assign({},t.rects,{placement:t.placement})):b,I="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(i){var q,U="y"===w?M:L,H="y"===w?D:R,W="y"===w?"height":"width",V=S[w],Y=V+y[U],G=V-y[H],K=g?-T[W]/2:0,$=C===F?E[W]:T[W],X=C===F?-T[W]:-E[W],Q=t.elements.arrow,J=g&&Q?A(Q):{width:0,height:0},ee=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},te=ee[U],ne=ee[H],re=j(0,E[W],J[W]),oe=_?E[W]/2-K-re-te-I.mainAxis:$-re-te-I.mainAxis,ie=_?-E[W]/2+K+re+ne+I.mainAxis:X+re+ne+I.mainAxis,ae=t.elements.arrow&&B(t.elements.arrow),se=ae?"y"===w?ae.clientTop||0:ae.clientLeft||0:0,le=null!=(q=null==N?void 0:N[w])?q:0,ce=V+ie-le,de=j(g?m(Y,V+oe-le-se):Y,V,g?h(G,ce):G);S[w]=de,z[w]=de-V}if(s){var fe,pe="x"===w?M:L,he="x"===w?D:R,me=S[k],ge="y"===k?"height":"width",ve=me+y[pe],be=me-y[he],ye=-1!==[M,L].indexOf(x),Ae=null!=(fe=null==N?void 0:N[k])?fe:0,xe=ye?ve:me-E[ge]-T[ge]-Ae+I.altAxis,Ce=ye?me+E[ge]+T[ge]-Ae-I.altAxis:be,_e=g&&ye?function(e,t,n){var r=j(e,t,n);return r>n?n:r}(xe,me,Ce):j(g?xe:ve,me,g?Ce:be);S[k]=_e,z[k]=_e-me}t.modifiersData[r]=z}},requiresIfExists:["offset"]};function me(e,t,n){void 0===n&&(n=!1);var r,o,i=f(t),a=f(t)&&function(e){var t=e.getBoundingClientRect(),n=g(t.width)/e.offsetWidth||1,r=g(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),s=k(t),l=y(e,a,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(i||!i&&!n)&&(("body"!==C(t)||re(s))&&(c=(r=t)!==u(r)&&f(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:te(r)),f(t)?((d=y(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):s&&(d.x=ne(s))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function ge(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}var ve={placement:"bottom",modifiers:[],strategy:"absolute"};function be(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ye(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,i=void 0===o?ve:o;return function(e,t,n){void 0===n&&(n=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},ve,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(n){var o="function"==typeof n?n(s.options):n;f(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:d(e)?ie(e):e.contextElement?ie(e.contextElement):[],popper:ie(t)};var a,c,p=function(e){var t=ge(e);return V.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((a=[].concat(r,s.options.modifiers),c=a.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return s.orderedModifiers=p.filter((function(e){return e.enabled})),s.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:r}),a=function(){};l.push(i||a)}})),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(be(t,n)){s.rects={reference:me(t,B(n),"fixed"===s.options.strategy),popper:A(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(e){return s.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var o=s.orderedModifiers[r],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,r=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(s)}))},function(){return a||(a=new Promise((function(e){Promise.resolve().then((function(){a=void 0,e(o())}))}))),a}),destroy:function(){f(),c=!0}};if(!be(e,t))return u;function f(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}const Ae=ye({defaultModifiers:[{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ue(t,{elementContext:"reference"}),s=ue(t,{altBoundary:!0}),l=de(a,r),c=de(s,o,i),u=fe(l),d=fe(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=ce({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,i=n.adaptive,a=void 0===i||i,s=n.roundOffsets,l=void 0===s||s,u={placement:c(t.placement),variation:Z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,K(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,K(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,l=u(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,$)})),s&&l.addEventListener("resize",n.update,$),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,$)})),s&&l.removeEventListener("resize",n.update,$)}},data:{}},pe,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,d=n.boundary,f=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,m=void 0===h||h,g=n.allowedAutoPlacements,v=t.options.placement,b=c(v),y=l||(b===v||!m?[Q(v)]:function(e){if(c(e)===I)return[];var t=Q(e);return[ee(e),t,ee(t)]}(v)),A=[v].concat(y).reduce((function(e,n){return e.concat(c(n)===I?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,i=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?W:l,d=Z(r),f=d?s?H:H.filter((function(e){return Z(e)===d})):N,p=f.filter((function(e){return u.indexOf(e)>=0}));0===p.length&&(p=f);var h=p.reduce((function(t,n){return t[n]=ue(e,{placement:n,boundary:o,rootBoundary:i,padding:a})[c(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:d,rootBoundary:f,padding:u,flipVariations:m,allowedAutoPlacements:g}):n)}),[]),x=t.rects.reference,C=t.rects.popper,_=new Map,w=!0,k=A[0],S=0;S<A.length;S++){var E=A[S],B=c(E),O=Z(E)===F,j=[M,D].indexOf(B)>=0,T=j?"width":"height",P=ue(t,{placement:E,boundary:d,rootBoundary:f,altBoundary:p,padding:u}),z=j?O?R:L:O?D:M;x[T]>C[T]&&(z=Q(z));var q=Q(z),U=[];if(i&&U.push(P[B]<=0),s&&U.push(P[z]<=0,P[q]<=0),U.every((function(e){return e}))){k=E,w=!1;break}_.set(E,U)}if(w)for(var V=function(e){var t=A.find((function(t){var n=_.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},Y=m?3:1;Y>0;Y--){if("break"===V(Y))break}t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},he,Y]}),xe=["enabled","placement","strategy","modifiers"];const Ce={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},_e={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:n}=e.elements;if("removeAttribute"in t){const e=(t.getAttribute("aria-describedby")||"").split(",").filter((e=>e.trim()!==n.id));e.length?t.setAttribute("aria-describedby",e.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:n,reference:r}=e.elements,o=null==(t=n.getAttribute("role"))?void 0:t.toLowerCase();if(n.id&&"tooltip"===o&&"setAttribute"in r){const e=r.getAttribute("aria-describedby");if(e&&-1!==e.split(",").indexOf(n.id))return;r.setAttribute("aria-describedby",e?`${e},${n.id}`:n.id)}}},we=[];var ke=function(e,t,n={}){let{enabled:o=!0,placement:i="bottom",strategy:s="absolute",modifiers:c=we}=n,u=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}(n,xe);const d=(0,r.useRef)(c),f=(0,r.useRef)(),p=(0,r.useCallback)((()=>{var e;null==(e=f.current)||e.update()}),[]),h=(0,r.useCallback)((()=>{var e;null==(e=f.current)||e.forceUpdate()}),[]),[m,g]=l((0,r.useState)({placement:i,update:p,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),v=(0,r.useMemo)((()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:e})=>{const t={},n={};Object.keys(e.elements).forEach((r=>{t[r]=e.styles[r],n[r]=e.attributes[r]})),g({state:e,styles:t,attributes:n,update:p,forceUpdate:h,placement:e.placement})}})),[p,h,g]),b=(0,r.useMemo)((()=>(a(d.current,c)||(d.current=c),d.current)),[c]);return(0,r.useEffect)((()=>{f.current&&o&&f.current.setOptions({placement:i,strategy:s,modifiers:[...b,v,Ce]})}),[s,i,v,o,b]),(0,r.useEffect)((()=>{if(o&&null!=e&&null!=t)return f.current=Ae(e,t,Object.assign({},u,{placement:i,strategy:s,modifiers:[...b,_e,v]})),()=>{null!=f.current&&(f.current.destroy(),f.current=void 0,g((e=>Object.assign({},e,{attributes:{},styles:{popper:{}}}))))}}),[o,e,t]),m}},54194:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(67216),o=n(23004),i=n(67294),a=n(12963);const s=(e,t)=>o.Z?null==e?(t||(0,r.Z)()).body:("function"==typeof e&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function l(e,t){const n=(0,a.Z)(),[r,o]=(0,i.useState)((()=>s(e,null==n?void 0:n.document)));if(!r){const t=s(e);t&&o(t)}return(0,i.useEffect)((()=>{t&&r&&t(r)}),[t,r]),(0,i.useEffect)((()=>{const t=s(e);t!==r&&o(t)}),[e,r]),r}},12963:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294),o=n(23004);const i=(0,r.createContext)(o.Z?window:void 0);i.Provider;function a(){return(0,r.useContext)(i)}},96899:function(e,t,n){"use strict";function r(e){return"Escape"===e.code||27===e.keyCode}n.d(t,{k:function(){return r}})},97121:function(e,t,n){"use strict";n.d(t,{$c:function(){return o}});var r=n(67294);function o(e,t,n){const o=(0,r.useRef)(void 0!==e),[i,a]=(0,r.useState)(t),s=void 0!==e,l=o.current;return o.current=s,!s&&l&&i!==t&&a(t),[s?e:i,(0,r.useCallback)(((...e)=>{const[t,...r]=e;let o=null==n?void 0:n(t,...r);return a(t),o}),[n])]}},15103:function(e,t,n){"use strict";n.d(t,{S1:function(){return Xt}});var r=function(){return r=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},r.apply(this,arguments)};function o(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function i(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function a(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(i(arguments[t]));return e}var s=n(12343),l=n(62844),c=n(57321),u="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,d=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/],f=function(){function e(t){void 0===t&&(t={}),this._options=t,this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n();if(r){var o=r.getIntegration(e);if(o){var i=r.getClient(),f=i?i.getOptions():{},p=function(e,t){void 0===e&&(e={});void 0===t&&(t={});return{allowUrls:a(e.whitelistUrls||[],e.allowUrls||[],t.whitelistUrls||[],t.allowUrls||[]),denyUrls:a(e.blacklistUrls||[],e.denyUrls||[],t.blacklistUrls||[],t.denyUrls||[]),ignoreErrors:a(e.ignoreErrors||[],t.ignoreErrors||[],d),ignoreInternal:void 0===e.ignoreInternal||e.ignoreInternal}}(o._options,f);return function(e,t){if(t.ignoreInternal&&function(e){try{return"SentryError"===e.exception.values[0].type}catch(e){}return!1}(e))return u&&s.kg.warn("Event dropped due to being internal Sentry Error.\nEvent: "+(0,l.jH)(e)),!0;if(function(e,t){if(!t||!t.length)return!1;return function(e){if(e.message)return[e.message];if(e.exception)try{var t=e.exception.values&&e.exception.values[0]||{},n=t.type,r=void 0===n?"":n,o=t.value,i=void 0===o?"":o;return[""+i,r+": "+i]}catch(t){return u&&s.kg.error("Cannot extract message for event "+(0,l.jH)(e)),[]}return[]}(e).some((function(e){return t.some((function(t){return(0,c.zC)(e,t)}))}))}(e,t.ignoreErrors))return u&&s.kg.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: "+(0,l.jH)(e)),!0;if(function(e,t){if(!t||!t.length)return!1;var n=h(e);return!!n&&t.some((function(e){return(0,c.zC)(n,e)}))}(e,t.denyUrls))return u&&s.kg.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: "+(0,l.jH)(e)+".\nUrl: "+h(e)),!0;if(!function(e,t){if(!t||!t.length)return!0;var n=h(e);return!n||t.some((function(e){return(0,c.zC)(n,e)}))}(e,t.allowUrls))return u&&s.kg.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: "+(0,l.jH)(e)+".\nUrl: "+h(e)),!0;return!1}(t,p)?null:t}}return t}))},e.id="InboundFilters",e}();function p(e){void 0===e&&(e=[]);for(var t=e.length-1;t>=0;t--){var n=e[t];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}function h(e){try{if(e.stacktrace)return p(e.stacktrace.frames);var t;try{t=e.exception.values[0].stacktrace.frames}catch(e){}return t?p(t):null}catch(t){return u&&s.kg.error("Cannot extract url for event "+(0,l.jH)(e)),null}}var m,g=n(20535),v=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){m=Function.prototype.toString,Function.prototype.toString=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=(0,g.HK)(this)||this;return m.apply(n,e)}},e.id="FunctionToString",e}(),b=n(6242);var y=n(82991),A=n(50832),x=n(88795),C=n(67597);function _(e){if(!e.length)return[];var t=e,n=t[0].function||"",r=t[t.length-1].function||"";return-1===n.indexOf("captureMessage")&&-1===n.indexOf("captureException")||(t=t.slice(1)),-1!==r.indexOf("sentryWrapped")&&(t=t.slice(0,-1)),t.slice(0,50).map((function(e){return(0,A.pi)((0,A.pi)({},e),{filename:e.filename||t[0].filename,function:e.function||"?"})})).reverse()}var w="<anonymous>";function k(e){try{return e&&"function"==typeof e&&e.name||w}catch(e){return w}}function S(){if(!("fetch"in(0,y.R)()))return!1;try{return new Headers,new Request(""),new Response,!0}catch(e){return!1}}function E(e){return e&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString())}function B(){if(!S())return!1;try{return new Request("_",{referrerPolicy:"origin"}),!0}catch(e){return!1}}var O,j=(0,y.R)(),T={},P={};function M(e){if(!P[e])switch(P[e]=!0,e){case"console":!function(){if(!("console"in j))return;s.RU.forEach((function(e){e in j.console&&(0,g.hl)(j.console,e,(function(t){return function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];R("console",{args:n,level:e}),t&&t.apply(j.console,n)}}))}))}();break;case"dom":!function(){if(!("document"in j))return;var e=R.bind(null,"dom"),t=z(e,!0);j.document.addEventListener("click",t,!1),j.document.addEventListener("keypress",t,!1),["EventTarget","Node"].forEach((function(t){var n=j[t]&&j[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,g.hl)(n,"addEventListener",(function(t){return function(n,r,o){if("click"===n||"keypress"==n)try{var i=this,a=i.__sentry_instrumentation_handlers__=i.__sentry_instrumentation_handlers__||{},s=a[n]=a[n]||{refCount:0};if(!s.handler){var l=z(e);s.handler=l,t.call(this,n,l,o)}s.refCount+=1}catch(e){}return t.call(this,n,r,o)}})),(0,g.hl)(n,"removeEventListener",(function(e){return function(t,n,r){if("click"===t||"keypress"==t)try{var o=this,i=o.__sentry_instrumentation_handlers__||{},a=i[t];a&&(a.refCount-=1,a.refCount<=0&&(e.call(this,t,a.handler,r),a.handler=void 0,delete i[t]),0===Object.keys(i).length&&delete o.__sentry_instrumentation_handlers__)}catch(e){}return e.call(this,t,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in j))return;var e=XMLHttpRequest.prototype;(0,g.hl)(e,"open",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this,o=t[1],i=r.__sentry_xhr__={method:(0,C.HD)(t[0])?t[0].toUpperCase():t[0],url:t[1]};(0,C.HD)(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(r.__sentry_own_request__=!0);var a=function(){if(4===r.readyState){try{i.status_code=r.status}catch(e){}R("xhr",{args:t,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:r})}};return"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?(0,g.hl)(r,"onreadystatechange",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return a(),e.apply(r,t)}})):r.addEventListener("readystatechange",a),e.apply(r,t)}})),(0,g.hl)(e,"send",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return this.__sentry_xhr__&&void 0!==t[0]&&(this.__sentry_xhr__.body=t[0]),R("xhr",{args:t,startTimestamp:Date.now(),xhr:this}),e.apply(this,t)}}))}();break;case"fetch":!function(){if(!function(){if(!S())return!1;var e=(0,y.R)();if(E(e.fetch))return!0;var t=!1,n=e.document;if(n&&"function"==typeof n.createElement)try{var r=n.createElement("iframe");r.hidden=!0,n.head.appendChild(r),r.contentWindow&&r.contentWindow.fetch&&(t=E(r.contentWindow.fetch)),n.head.removeChild(r)}catch(e){x.h&&s.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return t}())return;(0,g.hl)(j,"fetch",(function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r={args:t,fetchData:{method:L(t),url:I(t)},startTimestamp:Date.now()};return R("fetch",(0,A.pi)({},r)),e.apply(j,t).then((function(e){return R("fetch",(0,A.pi)((0,A.pi)({},r),{endTimestamp:Date.now(),response:e})),e}),(function(e){throw R("fetch",(0,A.pi)((0,A.pi)({},r),{endTimestamp:Date.now(),error:e})),e}))}}))}();break;case"history":!function(){if(!function(){var e=(0,y.R)(),t=e.chrome,n=t&&t.app&&t.app.runtime,r="history"in e&&!!e.history.pushState&&!!e.history.replaceState;return!n&&r}())return;var e=j.onpopstate;function t(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t.length>2?t[2]:void 0;if(r){var o=O,i=String(r);O=i,R("history",{from:o,to:i})}return e.apply(this,t)}}j.onpopstate=function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=j.location.href,o=O;if(O=r,R("history",{from:o,to:r}),e)try{return e.apply(this,t)}catch(e){}},(0,g.hl)(j.history,"pushState",t),(0,g.hl)(j.history,"replaceState",t)}();break;case"error":q=j.onerror,j.onerror=function(e,t,n,r,o){return R("error",{column:r,error:o,line:n,msg:e,url:t}),!!q&&q.apply(this,arguments)};break;case"unhandledrejection":U=j.onunhandledrejection,j.onunhandledrejection=function(e){return R("unhandledrejection",e),!U||U.apply(this,arguments)};break;default:return void(x.h&&s.kg.warn("unknown instrumentation type:",e))}}function D(e,t){T[e]=T[e]||[],T[e].push(t),M(e)}function R(e,t){var n,r;if(e&&T[e])try{for(var o=(0,A.XA)(T[e]||[]),i=o.next();!i.done;i=o.next()){var a=i.value;try{a(t)}catch(t){x.h&&s.kg.error("Error while triggering instrumentation handler.\nType: "+e+"\nName: "+k(a)+"\nError:",t)}}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}}function L(e){return void 0===e&&(e=[]),"Request"in j&&(0,C.V9)(e[0],Request)&&e[0].method?String(e[0].method).toUpperCase():e[1]&&e[1].method?String(e[1].method).toUpperCase():"GET"}function I(e){return void 0===e&&(e=[]),"string"==typeof e[0]?e[0]:"Request"in j&&(0,C.V9)(e[0],Request)?e[0].url:String(e[0])}var N,F;function z(e,t){return void 0===t&&(t=!1),function(n){if(n&&F!==n&&!function(e){if("keypress"!==e.type)return!1;try{var t=e.target;if(!t||!t.tagName)return!0;if("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable)return!1}catch(e){}return!0}(n)){var r="keypress"===n.type?"input":n.type;(void 0===N||function(e,t){if(!e)return!0;if(e.type!==t.type)return!0;try{if(e.target!==t.target)return!0}catch(e){}return!1}(F,n))&&(e({event:n,name:r,global:t}),F=n),clearTimeout(N),N=j.setTimeout((function(){N=void 0}),1e3)}}}var q=null;var U=null;var 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)t.hasOwnProperty(n)&&(e[n]=t[n])},H(e,t)};function W(e,t){function n(){this.constructor=e}H(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var V=function(){return V=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},V.apply(this,arguments)};function Y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Z(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(Y(arguments[t]));return e}var G="6.19.7",K=n(46769),$=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){return e.__proto__=t,e}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(e,n)||(e[n]=t[n]);return e});var X=function(e){function t(t){var n=this.constructor,r=e.call(this,t)||this;return r.message=t,r.name=n.prototype.constructor.name,$(r,n.prototype),r}return(0,A.ZT)(t,e),t}(Error),Q=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+))?@)([\w.-]+)(?::(\d+))?\/(.+)/;function J(e,t){void 0===t&&(t=!1);var n=e.host,r=e.path,o=e.pass,i=e.port,a=e.projectId;return e.protocol+"://"+e.publicKey+(t&&o?":"+o:"")+"@"+n+(i?":"+i:"")+"/"+(r?r+"/":r)+a}function ee(e){return"user"in e&&!("publicKey"in e)&&(e.publicKey=e.user),{user:e.publicKey||"",protocol:e.protocol,publicKey:e.publicKey||"",pass:e.pass||"",host:e.host,port:e.port||"",path:e.path||"",projectId:e.projectId}}function te(e){var t="string"==typeof e?function(e){var t=Q.exec(e);if(!t)throw new X("Invalid Sentry Dsn: "+e);var n=(0,A.CR)(t.slice(1),6),r=n[0],o=n[1],i=n[2],a=void 0===i?"":i,s=n[3],l=n[4],c=void 0===l?"":l,u="",d=n[5],f=d.split("/");if(f.length>1&&(u=f.slice(0,-1).join("/"),d=f.pop()),d){var p=d.match(/^\d+/);p&&(d=p[0])}return ee({host:s,pass:a,path:u,projectId:d,port:c,protocol:r,publicKey:o})}(e):ee(e);return function(e){if(x.h){var t=e.port,n=e.projectId,r=e.protocol;if(["protocol","publicKey","host","projectId"].forEach((function(t){if(!e[t])throw new X("Invalid Sentry Dsn: "+t+" missing")})),!n.match(/^\d+$/))throw new X("Invalid Sentry Dsn: Invalid projectId "+n);if(!function(e){return"http"===e||"https"===e}(r))throw new X("Invalid Sentry Dsn: Invalid protocol "+r);if(t&&isNaN(parseInt(t,10)))throw new X("Invalid Sentry Dsn: Invalid port "+t)}}(t),t}var ne=n(96893),re=n(21170);function oe(e,t,n){void 0===t&&(t=1/0),void 0===n&&(n=1/0);try{return ae("",e,t,n)}catch(e){return{ERROR:"**non-serializable** ("+e+")"}}}function ie(e,t,n){void 0===t&&(t=3),void 0===n&&(n=102400);var r,o=oe(e,t);return r=o,function(e){return~-encodeURI(e).split(/%..|./).length}(JSON.stringify(r))>n?ie(e,t-1,n):o}function ae(e,t,r,o,i){var a,s;void 0===r&&(r=1/0),void 0===o&&(o=1/0),void 0===i&&(a="function"==typeof WeakSet,s=a?new WeakSet:[],i=[function(e){if(a)return!!s.has(e)||(s.add(e),!1);for(var t=0;t<s.length;t++)if(s[t]===e)return!0;return s.push(e),!1},function(e){if(a)s.delete(e);else for(var t=0;t<s.length;t++)if(s[t]===e){s.splice(t,1);break}}]);var l=(0,A.CR)(i,2),c=l[0],u=l[1],d=t;if(d&&"function"==typeof d.toJSON)try{return d.toJSON()}catch(e){}if(null===t||["number","boolean","string"].includes(typeof t)&&!(0,C.i2)(t))return t;var f=function(e,t){try{return"domain"===e&&t&&"object"==typeof t&&t._events?"[Domain]":"domainEmitter"===e?"[DomainEmitter]":void 0!==n.g&&t===n.g?"[Global]":"undefined"!=typeof window&&t===window?"[Window]":"undefined"!=typeof document&&t===document?"[Document]":(0,C.Cy)(t)?"[SyntheticEvent]":"number"==typeof t&&t!=t?"[NaN]":void 0===t?"[undefined]":"function"==typeof t?"[Function: "+k(t)+"]":"symbol"==typeof t?"["+String(t)+"]":"bigint"==typeof t?"[BigInt: "+String(t)+"]":"[object "+Object.getPrototypeOf(t).constructor.name+"]"}catch(e){return"**non-serializable** ("+e+")"}}(e,t);if(!f.startsWith("[object "))return f;if(0===r)return f.replace("object ","");if(c(t))return"[Circular ~]";var p=Array.isArray(t)?[]:{},h=0,m=(0,C.VZ)(t)||(0,C.cO)(t)?(0,g.Sh)(t):t;for(var v in m)if(Object.prototype.hasOwnProperty.call(m,v)){if(h>=o){p[v]="[MaxProperties ~]";break}var b=m[v];p[v]=ae(v,b,r-1,o,i),h+=1}return u(t),p}var se=[];function le(e){return e.reduce((function(e,t){return e.every((function(e){return t.name!==e.name}))&&e.push(t),e}),[])}function ce(e){var t={};return function(e){var t=e.defaultIntegrations&&a(e.defaultIntegrations)||[],n=e.integrations,r=a(le(t));Array.isArray(n)?r=a(r.filter((function(e){return n.every((function(t){return t.name!==e.name}))})),le(n)):"function"==typeof n&&(r=n(r),r=Array.isArray(r)?r:[r]);var o=r.map((function(e){return e.name})),i="Debug";return-1!==o.indexOf(i)&&r.push.apply(r,a(r.splice(o.indexOf(i),1))),r}(e).forEach((function(e){t[e.name]=e,function(e){-1===se.indexOf(e.name)&&(e.setupOnce(K.c,b.Gd),se.push(e.name),u&&s.kg.log("Integration installed: "+e.name))}(e)})),(0,g.xp)(t,"initialized",!0),t}var ue="Not capturing exception because it's already been captured.",de=function(){function e(e,t){this._integrations={},this._numProcessing=0,this._backend=new e(t),this._options=t,t.dsn&&(this._dsn=te(t.dsn))}return e.prototype.captureException=function(e,t,n){var r=this;if(!(0,l.YO)(e)){var o=t&&t.event_id;return this._process(this._getBackend().eventFromException(e,t).then((function(e){return r._captureEvent(e,t,n)})).then((function(e){o=e}))),o}u&&s.kg.log(ue)},e.prototype.captureMessage=function(e,t,n,r){var o=this,i=n&&n.event_id,a=(0,C.pt)(e)?this._getBackend().eventFromMessage(String(e),t,n):this._getBackend().eventFromException(e,n);return this._process(a.then((function(e){return o._captureEvent(e,n,r)})).then((function(e){i=e}))),i},e.prototype.captureEvent=function(e,t,n){if(!(t&&t.originalException&&(0,l.YO)(t.originalException))){var r=t&&t.event_id;return this._process(this._captureEvent(e,t,n).then((function(e){r=e}))),r}u&&s.kg.log(ue)},e.prototype.captureSession=function(e){this._isEnabled()?"string"!=typeof e.release?u&&s.kg.warn("Discarded session because of missing or non-string release"):(this._sendSession(e),e.update({init:!1})):u&&s.kg.warn("SDK not enabled, will not capture session.")},e.prototype.getDsn=function(){return this._dsn},e.prototype.getOptions=function(){return this._options},e.prototype.getTransport=function(){return this._getBackend().getTransport()},e.prototype.flush=function(e){var t=this;return this._isClientDoneProcessing(e).then((function(n){return t.getTransport().close(e).then((function(e){return n&&e}))}))},e.prototype.close=function(e){var t=this;return this.flush(e).then((function(e){return t.getOptions().enabled=!1,e}))},e.prototype.setupIntegrations=function(){this._isEnabled()&&!this._integrations.initialized&&(this._integrations=ce(this._options))},e.prototype.getIntegration=function(e){try{return this._integrations[e.id]||null}catch(t){return u&&s.kg.warn("Cannot retrieve integration "+e.id+" from the current Client"),null}},e.prototype._updateSessionFromEvent=function(e,t){var n,i,a=!1,s=!1,l=t.exception&&t.exception.values;if(l){s=!0;try{for(var c=o(l),u=c.next();!u.done;u=c.next()){var d=u.value.mechanism;if(d&&!1===d.handled){a=!0;break}}}catch(e){n={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(n)throw n.error}}}var f="ok"===e.status;(f&&0===e.errors||f&&a)&&(e.update(r(r({},a&&{status:"crashed"}),{errors:e.errors||Number(s||a)})),this.captureSession(e))},e.prototype._sendSession=function(e){this._getBackend().sendSession(e)},e.prototype._isClientDoneProcessing=function(e){var t=this;return new ne.cW((function(n){var r=0,o=setInterval((function(){0==t._numProcessing?(clearInterval(o),n(!0)):(r+=1,e&&r>=e&&(clearInterval(o),n(!1)))}),1)}))},e.prototype._getBackend=function(){return this._backend},e.prototype._isEnabled=function(){return!1!==this.getOptions().enabled&&void 0!==this._dsn},e.prototype._prepareEvent=function(e,t,n){var o=this,i=this.getOptions(),a=i.normalizeDepth,s=void 0===a?3:a,c=i.normalizeMaxBreadth,u=void 0===c?1e3:c,d=r(r({},e),{event_id:e.event_id||(n&&n.event_id?n.event_id:(0,l.DM)()),timestamp:e.timestamp||(0,re.yW)()});this._applyClientOptions(d),this._applyIntegrationsMetadata(d);var f=t;n&&n.captureContext&&(f=K.s.clone(f).update(n.captureContext));var p=(0,ne.WD)(d);return f&&(p=f.applyToEvent(d,n)),p.then((function(e){return e&&(e.sdkProcessingMetadata=r(r({},e.sdkProcessingMetadata),{normalizeDepth:oe(s)+" ("+typeof s+")"})),"number"==typeof s&&s>0?o._normalizeEvent(e,s,u):e}))},e.prototype._normalizeEvent=function(e,t,n){if(!e)return null;var o=r(r(r(r(r({},e),e.breadcrumbs&&{breadcrumbs:e.breadcrumbs.map((function(e){return r(r({},e),e.data&&{data:oe(e.data,t,n)})}))}),e.user&&{user:oe(e.user,t,n)}),e.contexts&&{contexts:oe(e.contexts,t,n)}),e.extra&&{extra:oe(e.extra,t,n)});return e.contexts&&e.contexts.trace&&(o.contexts.trace=e.contexts.trace),o.sdkProcessingMetadata=r(r({},o.sdkProcessingMetadata),{baseClientNormalized:!0}),o},e.prototype._applyClientOptions=function(e){var t=this.getOptions(),n=t.environment,r=t.release,o=t.dist,i=t.maxValueLength,a=void 0===i?250:i;"environment"in e||(e.environment="environment"in t?n:"production"),void 0===e.release&&void 0!==r&&(e.release=r),void 0===e.dist&&void 0!==o&&(e.dist=o),e.message&&(e.message=(0,c.$G)(e.message,a));var s=e.exception&&e.exception.values&&e.exception.values[0];s&&s.value&&(s.value=(0,c.$G)(s.value,a));var l=e.request;l&&l.url&&(l.url=(0,c.$G)(l.url,a))},e.prototype._applyIntegrationsMetadata=function(e){var t=Object.keys(this._integrations);t.length>0&&(e.sdk=e.sdk||{},e.sdk.integrations=a(e.sdk.integrations||[],t))},e.prototype._sendEvent=function(e){this._getBackend().sendEvent(e)},e.prototype._captureEvent=function(e,t,n){return this._processEvent(e,t,n).then((function(e){return e.event_id}),(function(e){u&&s.kg.error(e)}))},e.prototype._processEvent=function(e,t,n){var r=this,o=this.getOptions(),i=o.beforeSend,a=o.sampleRate,s=this.getTransport();function l(e,t){s.recordLostEvent&&s.recordLostEvent(e,t)}if(!this._isEnabled())return(0,ne.$2)(new X("SDK not enabled, will not capture event."));var c="transaction"===e.type;return!c&&"number"==typeof a&&Math.random()>a?(l("sample_rate","event"),(0,ne.$2)(new X("Discarding event because it's not included in the random sample (sampling rate = "+a+")"))):this._prepareEvent(e,n,t).then((function(n){if(null===n)throw l("event_processor",e.type||"event"),new X("An event processor returned null, will not send event.");return t&&t.data&&!0===t.data.__sentry__||c||!i?n:function(e){var t="`beforeSend` method has to return `null` or a valid event.";if((0,C.J8)(e))return e.then((function(e){if(!(0,C.PO)(e)&&null!==e)throw new X(t);return e}),(function(e){throw new X("beforeSend rejected with "+e)}));if(!(0,C.PO)(e)&&null!==e)throw new X(t);return e}(i(n,t))})).then((function(t){if(null===t)throw l("before_send",e.type||"event"),new X("`beforeSend` returned `null`, will not send event.");var o=n&&n.getSession&&n.getSession();return!c&&o&&r._updateSessionFromEvent(o,t),r._sendEvent(t),t})).then(null,(function(e){if(e instanceof X)throw e;throw r.captureException(e,{data:{__sentry__:!0},originalException:e}),new X("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: "+e)}))},e.prototype._process=function(e){var t=this;this._numProcessing+=1,e.then((function(e){return t._numProcessing-=1,e}),(function(e){return t._numProcessing-=1,e}))},e}();!function(){function e(e,t,n){void 0===t&&(t={}),this.dsn=e,this._dsnObject=te(e),this.metadata=t,this._tunnel=n}e.prototype.getDsn=function(){return this._dsnObject},e.prototype.forceEnvelope=function(){return!!this._tunnel},e.prototype.getBaseApiEndpoint=function(){return pe(this._dsnObject)},e.prototype.getStoreEndpoint=function(){return ge(this._dsnObject)},e.prototype.getStoreEndpointWithUrlEncodedAuth=function(){return ve(this._dsnObject)},e.prototype.getEnvelopeEndpointWithUrlEncodedAuth=function(){return be(this._dsnObject,this._tunnel)}}();function fe(e,t,n){return{initDsn:e,metadata:t||{},dsn:te(e),tunnel:n}}function pe(e){var t=e.protocol?e.protocol+":":"",n=e.port?":"+e.port:"";return t+"//"+e.host+n+(e.path?"/"+e.path:"")+"/api/"}function he(e,t){return""+pe(e)+e.projectId+"/"+t+"/"}function me(e){return(0,g._j)({sentry_key:e.publicKey,sentry_version:"7"})}function ge(e){return he(e,"store")}function ve(e){return ge(e)+"?"+me(e)}function be(e,t){return t||function(e){return he(e,"envelope")}(e)+"?"+me(e)}function ye(e,t){return void 0===t&&(t=[]),[e,t]}function Ae(e){var t=(0,A.CR)(e,2),n=t[0],r=t[1],o=JSON.stringify(n);return r.reduce((function(e,t){var n=(0,A.CR)(t,2),r=n[0],o=n[1],i=(0,C.pt)(o)?String(o):JSON.stringify(o);return e+"\n"+JSON.stringify(r)+"\n"+i}),o)}function xe(e){if(e.metadata&&e.metadata.sdk){var t=e.metadata.sdk;return{name:t.name,version:t.version}}}function Ce(e,t){return t?(e.sdk=e.sdk||{},e.sdk.name=e.sdk.name||t.name,e.sdk.version=e.sdk.version||t.version,e.sdk.integrations=a(e.sdk.integrations||[],t.integrations||[]),e.sdk.packages=a(e.sdk.packages||[],t.packages||[]),e):e}function _e(e,t){var n=xe(t),o="aggregates"in e?"sessions":"session";return[ye(r(r({sent_at:(new Date).toISOString()},n&&{sdk:n}),!!t.tunnel&&{dsn:J(t.dsn)}),[[{type:o},e]]),o]}var we,ke=function(){function e(){}return e.prototype.sendEvent=function(e){return(0,ne.WD)({reason:"NoopTransport: Event has been skipped because no Dsn is configured.",status:"skipped"})},e.prototype.close=function(e){return(0,ne.WD)(!0)},e}(),Se=function(){function e(e){this._options=e,this._options.dsn||u&&s.kg.warn("No DSN provided, backend will not do anything."),this._transport=this._setupTransport()}return e.prototype.eventFromException=function(e,t){throw new X("Backend has to implement `eventFromException` method")},e.prototype.eventFromMessage=function(e,t,n){throw new X("Backend has to implement `eventFromMessage` method")},e.prototype.sendEvent=function(e){if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var t=function(e,t){var n=xe(t),o=e.type||"event",i=(e.sdkProcessingMetadata||{}).transactionSampling||{},a=i.method,s=i.rate;return Ce(e,t.metadata.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata,ye(r(r({event_id:e.event_id,sent_at:(new Date).toISOString()},n&&{sdk:n}),!!t.tunnel&&{dsn:J(t.dsn)}),[[{type:o,sample_rates:[{id:a,rate:s}]},e]])}(e,fe(this._options.dsn,this._options._metadata,this._options.tunnel));this._newTransport.send(t).then(null,(function(e){u&&s.kg.error("Error while sending event:",e)}))}else this._transport.sendEvent(e).then(null,(function(e){u&&s.kg.error("Error while sending event:",e)}))},e.prototype.sendSession=function(e){if(this._transport.sendSession)if(this._newTransport&&this._options.dsn&&this._options._experiments&&this._options._experiments.newTransport){var t=i(_e(e,fe(this._options.dsn,this._options._metadata,this._options.tunnel)),1)[0];this._newTransport.send(t).then(null,(function(e){u&&s.kg.error("Error while sending session:",e)}))}else this._transport.sendSession(e).then(null,(function(e){u&&s.kg.error("Error while sending session:",e)}));else u&&s.kg.warn("Dropping session because custom transport doesn't implement sendSession")},e.prototype.getTransport=function(){return this._transport},e.prototype._setupTransport=function(){return new ke},e}();!function(e){e.Fatal="fatal",e.Error="error",e.Warning="warning",e.Log="log",e.Info="info",e.Debug="debug",e.Critical="critical"}(we||(we={}));var Ee="?";function Be(e,t,n,r){var o={filename:e,function:t,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}var Oe=/^\s*at (?:(.*?) ?\((?:address at )?)?((?:file|https?|blob|chrome-extension|address|native|eval|webpack|<anonymous>|[-a-z]+:|.*bundle|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,je=/\((\S*)(?::(\d+))(?::(\d+))\)/,Te=[30,function(e){var t=Oe.exec(e);if(t){if(t[2]&&0===t[2].indexOf("eval")){var n=je.exec(t[2]);n&&(t[2]=n[1],t[3]=n[2],t[4]=n[3])}var r=Y(qe(t[1]||Ee,t[2]),2),o=r[0];return Be(r[1],o,t[3]?+t[3]:void 0,t[4]?+t[4]:void 0)}}],Pe=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:file|https?|blob|chrome|webpack|resource|moz-extension|capacitor).*?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,Me=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,De=[50,function(e){var t,n=Pe.exec(e);if(n){if(n[3]&&n[3].indexOf(" > eval")>-1){var r=Me.exec(n[3]);r&&(n[1]=n[1]||"eval",n[3]=r[1],n[4]=r[2],n[5]="")}var o=n[3],i=n[1]||Ee;return i=(t=Y(qe(i,o),2))[0],Be(o=t[1],i,n[4]?+n[4]:void 0,n[5]?+n[5]:void 0)}}],Re=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,Le=[40,function(e){var t=Re.exec(e);return t?Be(t[2],t[1]||Ee,+t[3],t[4]?+t[4]:void 0):void 0}],Ie=/ line (\d+).*script (?:in )?(\S+)(?:: in function (\S+))?$/i,Ne=[10,function(e){var t=Ie.exec(e);return t?Be(t[2],t[3]||Ee,+t[1]):void 0}],Fe=/ line (\d+), column (\d+)\s*(?:in (?:<anonymous function: ([^>]+)>|([^)]+))\(.*\))? in (.*):\s*$/i,ze=[20,function(e){var t=Fe.exec(e);return t?Be(t[5],t[3]||t[4]||Ee,+t[1],+t[2]):void 0}],qe=function(e,t){var n=-1!==e.indexOf("safari-extension"),r=-1!==e.indexOf("safari-web-extension");return n||r?[-1!==e.indexOf("@")?e.split("@")[0]:Ee,n?"safari-extension:"+t:"safari-web-extension:"+t]:[e,t]};function Ue(e){var t=We(e),n={type:e&&e.name,value:Ye(e)};return t.length&&(n.stacktrace={frames:t}),void 0===n.type&&""===n.value&&(n.value="Unrecoverable error caught"),n}function He(e){return{exception:{values:[Ue(e)]}}}function We(e){var t=e.stacktrace||e.stack||"",n=function(e){if(e){if("number"==typeof e.framesToPop)return e.framesToPop;if(Ve.test(e.message))return 1}return 0}(e);try{return function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.sort((function(e,t){return e[0]-t[0]})).map((function(e){return e[1]}));return function(e,t){var r,o,i,a;void 0===t&&(t=0);var s=[];try{for(var l=(0,A.XA)(e.split("\n").slice(t)),c=l.next();!c.done;c=l.next()){var u=c.value;try{for(var d=(i=void 0,(0,A.XA)(n)),f=d.next();!f.done;f=d.next()){var p=(0,f.value)(u);if(p){s.push(p);break}}}catch(e){i={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}}}catch(e){r={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(r)throw r.error}}return _(s)}}(Ne,ze,Te,Le,De)(t,n)}catch(e){}return[]}var Ve=/Minified React error #\d+;/i;function Ye(e){var t=e&&e.message;return t?t.error&&"string"==typeof t.error.message?t.error.message:t:"No error message"}function Ze(e,t,n,r){var o;if((0,C.VW)(e)&&e.error)return He(e.error);if((0,C.TX)(e)||(0,C.fm)(e)){var i=e;if("stack"in e)o=He(e);else{var a=i.name||((0,C.TX)(i)?"DOMError":"DOMException"),s=i.message?a+": "+i.message:a;o=Ge(s,t,n),(0,l.Db)(o,s)}return"code"in i&&(o.tags=V(V({},o.tags),{"DOMException.code":""+i.code})),o}return(0,C.VZ)(e)?He(e):(0,C.PO)(e)||(0,C.cO)(e)?(o=function(e,t,n){var r={exception:{values:[{type:(0,C.cO)(e)?e.constructor.name:n?"UnhandledRejection":"Error",value:"Non-Error "+(n?"promise rejection":"exception")+" captured with keys: "+(0,g.zf)(e)}]},extra:{__serialized__:ie(e)}};if(t){var o=We(t);o.length&&(r.stacktrace={frames:o})}return r}(e,t,r),(0,l.EG)(o,{synthetic:!0}),o):(o=Ge(e,t,n),(0,l.Db)(o,""+e,void 0),(0,l.EG)(o,{synthetic:!0}),o)}function Ge(e,t,n){var r={message:e};if(n&&t){var o=We(t);o.length&&(r.stacktrace={frames:o})}return r}function Ke(e){var t=[];function n(e){return t.splice(t.indexOf(e),1)[0]}return{$:t,add:function(r){if(!(void 0===e||t.length<e))return(0,ne.$2)(new X("Not adding Promise due to buffer limit reached."));var o=r();return-1===t.indexOf(o)&&t.push(o),o.then((function(){return n(o)})).then(null,(function(){return n(o).then(null,(function(){}))})),o},drain:function(e){return new ne.cW((function(n,r){var o=t.length;if(!o)return n(!0);var i=setTimeout((function(){e&&e>0&&n(!1)}),e);t.forEach((function(e){(0,ne.WD)(e).then((function(){--o||(clearTimeout(i),n(!0))}),r)}))}))}}}function $e(e,t){return e[t]||e.all||0}function Xe(e,t,n){return void 0===n&&(n=Date.now()),$e(e,t)>n}function Qe(e,t,n){var r,o,i,a;void 0===n&&(n=Date.now());var s=(0,A.pi)({},e),l=t["x-sentry-rate-limits"],c=t["retry-after"];if(l)try{for(var u=(0,A.XA)(l.trim().split(",")),d=u.next();!d.done;d=u.next()){var f=d.value.split(":",2),p=parseInt(f[0],10),h=1e3*(isNaN(p)?60:p);if(f[1])try{for(var m=(i=void 0,(0,A.XA)(f[1].split(";"))),g=m.next();!g.done;g=m.next()){s[g.value]=n+h}}catch(e){i={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}else s.all=n+h}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}else c&&(s.all=n+function(e,t){void 0===t&&(t=Date.now());var n=parseInt(""+e,10);if(!isNaN(n))return 1e3*n;var r=Date.parse(""+e);return isNaN(r)?6e4:r-t}(c,n));return s}function Je(e){return e>=200&&e<300?"success":429===e?"rate_limit":e>=400&&e<500?"invalid":e>=500?"failed":"unknown"}function et(e,t,n){void 0===n&&(n=Ke(e.bufferSize||30));var r={};return{send:function(e){var o=function(e){var t=(0,A.CR)(e,2),n=(0,A.CR)(t[1],1);return(0,A.CR)(n[0],1)[0].type}(e),i="event"===o?"error":o,a={category:i,body:Ae(e)};return Xe(r,i)?(0,ne.$2)({status:"rate_limit",reason:tt(r,i)}):n.add((function(){return t(a).then((function(e){var t=e.body,n=e.headers,o=e.reason,a=Je(e.statusCode);return n&&(r=Qe(r,n)),"success"===a?(0,ne.WD)({status:a,reason:o}):(0,ne.$2)({status:a,reason:o||t||("rate_limit"===a?tt(r,i):"Unknown transport error")})}))}))},flush:function(e){return n.drain(e)}}}function tt(e,t){return"Too many "+t+" requests, backing off until: "+new Date($e(e,t)).toISOString()}var nt,rt="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,ot=(0,y.R)();function it(){if(nt)return nt;if(E(ot.fetch))return nt=ot.fetch.bind(ot);var e=ot.document,t=ot.fetch;if(e&&"function"==typeof e.createElement)try{var n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n);var r=n.contentWindow;r&&r.fetch&&(t=r.fetch),e.head.removeChild(n)}catch(e){rt&&s.kg.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",e)}return nt=t.bind(ot)}function at(e,t){if("[object Navigator]"===Object.prototype.toString.call(ot&&ot.navigator)&&"function"==typeof ot.navigator.sendBeacon)return ot.navigator.sendBeacon.bind(ot.navigator)(e,t);if(S()){var n=it();n(e,{body:t,method:"POST",credentials:"omit",keepalive:!0}).then(null,(function(e){console.error(e)}))}else;}function st(e){return"event"===e?"error":e}var lt=(0,y.R)(),ct=function(){function e(e){var t=this;this.options=e,this._buffer=Ke(30),this._rateLimits={},this._outcomes={},this._api=fe(e.dsn,e._metadata,e.tunnel),this.url=ve(this._api.dsn),this.options.sendClientReports&&lt.document&&lt.document.addEventListener("visibilitychange",(function(){"hidden"===lt.document.visibilityState&&t._flushOutcomes()}))}return e.prototype.sendEvent=function(e){return this._sendRequest(function(e,t){var n,o=xe(t),i=e.type||"event",a="transaction"===i||!!t.tunnel,s=(e.sdkProcessingMetadata||{}).transactionSampling||{},l=s.method,c=s.rate;Ce(e,t.metadata.sdk),e.tags=e.tags||{},e.extra=e.extra||{},e.sdkProcessingMetadata&&e.sdkProcessingMetadata.baseClientNormalized||(e.tags.skippedNormalization=!0,e.extra.normalizeDepth=e.sdkProcessingMetadata?e.sdkProcessingMetadata.normalizeDepth:"unset"),delete e.sdkProcessingMetadata;try{n=JSON.stringify(e)}catch(t){e.tags.JSONStringifyError=!0,e.extra.JSONStringifyError=t;try{n=JSON.stringify(oe(e))}catch(e){var u=e;n=JSON.stringify({message:"JSON.stringify error after renormalization",extra:{message:u.message,stack:u.stack}})}}var d={body:n,type:i,url:a?be(t.dsn,t.tunnel):ve(t.dsn)};if(a){var f=ye(r(r({event_id:e.event_id,sent_at:(new Date).toISOString()},o&&{sdk:o}),!!t.tunnel&&{dsn:J(t.dsn)}),[[{type:i,sample_rates:[{id:l,rate:c}]},d.body]]);d.body=Ae(f)}return d}(e,this._api),e)},e.prototype.sendSession=function(e){return this._sendRequest(function(e,t){var n=i(_e(e,t),2),r=n[0],o=n[1];return{body:Ae(r),type:o,url:be(t.dsn,t.tunnel)}}(e,this._api),e)},e.prototype.close=function(e){return this._buffer.drain(e)},e.prototype.recordLostEvent=function(e,t){var n;if(this.options.sendClientReports){var r=st(t)+":"+e;rt&&s.kg.log("Adding outcome: "+r),this._outcomes[r]=(null!=(n=this._outcomes[r])?n:0)+1}},e.prototype._flushOutcomes=function(){if(this.options.sendClientReports){var e=this._outcomes;if(this._outcomes={},Object.keys(e).length){rt&&s.kg.log("Flushing outcomes:\n"+JSON.stringify(e,null,2));var t,n,r,o=be(this._api.dsn,this._api.tunnel),i=Object.keys(e).map((function(t){var n=Y(t.split(":"),2),r=n[0];return{reason:n[1],category:r,quantity:e[t]}})),a=(t=i,ye((n=this._api.tunnel&&J(this._api.dsn))?{dsn:n}:{},[[{type:"client_report"},{timestamp:r||(0,re.yW)(),discarded_events:t}]]));try{at(o,Ae(a))}catch(e){rt&&s.kg.error(e)}}else rt&&s.kg.log("No outcomes to flush")}},e.prototype._handleResponse=function(e){var t=e.requestType,n=e.response,r=e.headers,o=e.resolve,i=e.reject,a=Je(n.status);this._rateLimits=Qe(this._rateLimits,r),this._isRateLimited(t)&&rt&&s.kg.warn("Too many "+t+" requests, backing off until: "+this._disabledUntil(t)),"success"!==a?i(n):o({status:a})},e.prototype._disabledUntil=function(e){var t=st(e);return new Date($e(this._rateLimits,t))},e.prototype._isRateLimited=function(e){var t=st(e);return Xe(this._rateLimits,t)},e}(),ut=function(e){function t(t,n){void 0===n&&(n=it());var r=e.call(this,t)||this;return r._fetch=n,r}return W(t,e),t.prototype._sendRequest=function(e,t){var n=this;if(this._isRateLimited(e.type))return this.recordLostEvent("ratelimit_backoff",e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429});var r={body:e.body,method:"POST",referrerPolicy:B()?"origin":""};return void 0!==this.options.fetchParameters&&Object.assign(r,this.options.fetchParameters),void 0!==this.options.headers&&(r.headers=this.options.headers),this._buffer.add((function(){return new ne.cW((function(t,o){n._fetch(e.url,r).then((function(r){var i={"x-sentry-rate-limits":r.headers.get("X-Sentry-Rate-Limits"),"retry-after":r.headers.get("Retry-After")};n._handleResponse({requestType:e.type,response:r,headers:i,resolve:t,reject:o})})).catch(o)}))})).then(void 0,(function(t){throw t instanceof X?n.recordLostEvent("queue_overflow",e.type):n.recordLostEvent("network_error",e.type),t}))},t}(ct);var dt=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return W(t,e),t.prototype._sendRequest=function(e,t){var n=this;return this._isRateLimited(e.type)?(this.recordLostEvent("ratelimit_backoff",e.type),Promise.reject({event:t,type:e.type,reason:"Transport for "+e.type+" requests locked till "+this._disabledUntil(e.type)+" due to too many requests.",status:429})):this._buffer.add((function(){return new ne.cW((function(t,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var i={"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")};n._handleResponse({requestType:e.type,response:o,headers:i,resolve:t,reject:r})}},o.open("POST",e.url),n.options.headers)Object.prototype.hasOwnProperty.call(n.options.headers,i)&&o.setRequestHeader(i,n.options.headers[i]);o.send(e.body)}))})).then(void 0,(function(t){throw t instanceof X?n.recordLostEvent("queue_overflow",e.type):n.recordLostEvent("network_error",e.type),t}))},t}(ct),ft=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return W(t,e),t.prototype.eventFromException=function(e,t){return function(e,t,n){var r=Ze(e,t&&t.syntheticException||void 0,n);return(0,l.EG)(r),r.level=we.Error,t&&t.event_id&&(r.event_id=t.event_id),(0,ne.WD)(r)}(e,t,this._options.attachStacktrace)},t.prototype.eventFromMessage=function(e,t,n){return void 0===t&&(t=we.Info),function(e,t,n,r){void 0===t&&(t=we.Info);var o=Ge(e,n&&n.syntheticException||void 0,r);return o.level=t,n&&n.event_id&&(o.event_id=n.event_id),(0,ne.WD)(o)}(e,t,n,this._options.attachStacktrace)},t.prototype._setupTransport=function(){if(!this._options.dsn)return e.prototype._setupTransport.call(this);var t,n,r=V(V({},this._options.transportOptions),{dsn:this._options.dsn,tunnel:this._options.tunnel,sendClientReports:this._options.sendClientReports,_metadata:this._options._metadata}),o=fe(r.dsn,r._metadata,r.tunnel),i=be(o.dsn,o.tunnel);if(this._options.transport)return new this._options.transport(r);if(S()){var a=V({},r.fetchParameters);return this._newTransport=(t={requestOptions:a,url:i},void 0===n&&(n=it()),et({bufferSize:t.bufferSize},(function(e){var r=V({body:e.body,method:"POST",referrerPolicy:"origin"},t.requestOptions);return n(t.url,r).then((function(e){return e.text().then((function(t){return{body:t,headers:{"x-sentry-rate-limits":e.headers.get("X-Sentry-Rate-Limits"),"retry-after":e.headers.get("Retry-After")},reason:e.statusText,statusCode:e.status}}))}))}))),new ut(r)}return this._newTransport=function(e){return et({bufferSize:e.bufferSize},(function(t){return new ne.cW((function(n,r){var o=new XMLHttpRequest;for(var i in o.onreadystatechange=function(){if(4===o.readyState){var e={body:o.response,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")},reason:o.statusText,statusCode:o.status};n(e)}},o.open("POST",e.url),e.headers)Object.prototype.hasOwnProperty.call(e.headers,i)&&o.setRequestHeader(i,e.headers[i]);o.send(t.body)}))}))}({url:i,headers:r.headers}),new dt(r)},t}(Se),pt=n(40802),ht=(0,y.R)(),mt=0;function gt(){return mt>0}function vt(){mt+=1,setTimeout((function(){mt-=1}))}function bt(e,t,n){if(void 0===t&&(t={}),"function"!=typeof e)return e;try{var r=e.__sentry_wrapped__;if(r)return r;if((0,g.HK)(e))return e}catch(t){return e}var o=function(){var r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);var o=r.map((function(e){return bt(e,t)}));return e.apply(this,o)}catch(e){throw vt(),(0,pt.$e)((function(n){n.addEventProcessor((function(e){return t.mechanism&&((0,l.Db)(e,void 0,void 0),(0,l.EG)(e,t.mechanism)),e.extra=V(V({},e.extra),{arguments:r}),e})),(0,pt.Tb)(e)})),e}};try{for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(o[i]=e[i])}catch(e){}(0,g.$Q)(o,e),(0,g.xp)(e,"__sentry_wrapped__",o);try{Object.getOwnPropertyDescriptor(o,"name").configurable&&Object.defineProperty(o,"name",{get:function(){return e.name}})}catch(e){}return o}function yt(e){if(void 0===e&&(e={}),ht.document)if(e.eventId)if(e.dsn){var t=ht.document.createElement("script");t.async=!0,t.src=function(e,t){var n=te(e),r=pe(n)+"embed/error-page/",o="dsn="+J(n);for(var i in t)if("dsn"!==i)if("user"===i){if(!t.user)continue;t.user.name&&(o+="&name="+encodeURIComponent(t.user.name)),t.user.email&&(o+="&email="+encodeURIComponent(t.user.email))}else o+="&"+encodeURIComponent(i)+"="+encodeURIComponent(t[i]);return r+"?"+o}(e.dsn,e),e.onLoad&&(t.onload=e.onLoad);var n=ht.document.head||ht.document.body;n&&n.appendChild(t)}else rt&&s.kg.error("Missing dsn option in showReportDialog call");else rt&&s.kg.error("Missing eventId option in showReportDialog call")}var At=n(58464),xt=["fatal","error","warning","log","info","debug","critical"];function Ct(e){return"warn"===e?we.Warning:function(e){return-1!==xt.indexOf(e)}(e)?e:we.Log}var _t=function(){function e(t){this.name=e.id,this._options=V({console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0},t)}return e.prototype.addSentryBreadcrumb=function(e){this._options.sentry&&(0,b.Gd)().addBreadcrumb({category:"sentry."+("transaction"===e.type?"transaction":"event"),event_id:e.event_id,level:e.level,message:(0,l.jH)(e)},{event:e})},e.prototype.setupOnce=function(){this._options.console&&D("console",wt),this._options.dom&&D("dom",function(e){function t(t){var n,r="object"==typeof e?e.serializeAttribute:void 0;"string"==typeof r&&(r=[r]);try{n=t.event.target?(0,At.R)(t.event.target,r):(0,At.R)(t.event,r)}catch(e){n="<unknown>"}0!==n.length&&(0,b.Gd)().addBreadcrumb({category:"ui."+t.name,message:n},{event:t.event,name:t.name,global:t.global})}return t}(this._options.dom)),this._options.xhr&&D("xhr",kt),this._options.fetch&&D("fetch",St),this._options.history&&D("history",Et)},e.id="Breadcrumbs",e}();function wt(e){var t={category:"console",data:{arguments:e.args,logger:"console"},level:Ct(e.level),message:(0,c.nK)(e.args," ")};if("assert"===e.level){if(!1!==e.args[0])return;t.message="Assertion failed: "+((0,c.nK)(e.args.slice(1)," ")||"console.assert"),t.data.arguments=e.args.slice(1)}(0,b.Gd)().addBreadcrumb(t,{input:e.args,level:e.level})}function kt(e){if(e.endTimestamp){if(e.xhr.__sentry_own_request__)return;var t=e.xhr.__sentry_xhr__||{},n=t.method,r=t.url,o=t.status_code,i=t.body;(0,b.Gd)().addBreadcrumb({category:"xhr",data:{method:n,url:r,status_code:o},type:"http"},{xhr:e.xhr,input:i})}else;}function St(e){e.endTimestamp&&(e.fetchData.url.match(/sentry_key/)&&"POST"===e.fetchData.method||(e.error?(0,b.Gd)().addBreadcrumb({category:"fetch",data:e.fetchData,level:we.Error,type:"http"},{data:e.error,input:e.args}):(0,b.Gd)().addBreadcrumb({category:"fetch",data:V(V({},e.fetchData),{status_code:e.response.status}),type:"http"},{input:e.args,response:e.response})))}function Et(e){var t=(0,y.R)(),n=e.from,r=e.to,o=(0,l.en)(t.location.href),i=(0,l.en)(n),a=(0,l.en)(r);i.path||(i=o),o.protocol===a.protocol&&o.host===a.host&&(r=a.relative),o.protocol===i.protocol&&o.host===i.host&&(n=i.relative),(0,b.Gd)().addBreadcrumb({category:"navigation",data:{from:n,to:r}})}var Bt=function(e){function t(t){void 0===t&&(t={});return t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"npm:@sentry/browser",version:G}],version:G},e.call(this,ft,t)||this}return W(t,e),t.prototype.showReportDialog=function(e){void 0===e&&(e={}),(0,y.R)().document&&(this._isEnabled()?yt(V(V({},e),{dsn:e.dsn||this.getDsn()})):rt&&s.kg.error("Trying to call showReportDialog with Sentry Client disabled"))},t.prototype._prepareEvent=function(t,n,r){return t.platform=t.platform||"javascript",e.prototype._prepareEvent.call(this,t,n,r)},t.prototype._sendEvent=function(t){var n=this.getIntegration(_t);n&&n.addSentryBreadcrumb(t),e.prototype._sendEvent.call(this,t)},t}(de),Ot=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],jt=function(){function e(t){this.name=e.id,this._options=V({XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0},t)}return e.prototype.setupOnce=function(){var e=(0,y.R)();this._options.setTimeout&&(0,g.hl)(e,"setTimeout",Tt),this._options.setInterval&&(0,g.hl)(e,"setInterval",Tt),this._options.requestAnimationFrame&&(0,g.hl)(e,"requestAnimationFrame",Pt),this._options.XMLHttpRequest&&"XMLHttpRequest"in e&&(0,g.hl)(XMLHttpRequest.prototype,"send",Mt);var t=this._options.eventTarget;t&&(Array.isArray(t)?t:Ot).forEach(Dt)},e.id="TryCatch",e}();function Tt(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=t[0];return t[0]=bt(r,{mechanism:{data:{function:k(e)},handled:!0,type:"instrument"}}),e.apply(this,t)}}function Pt(e){return function(t){return e.apply(this,[bt(t,{mechanism:{data:{function:"requestAnimationFrame",handler:k(e)},handled:!0,type:"instrument"}})])}}function Mt(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=this,o=["onload","onerror","onprogress","onreadystatechange"];return o.forEach((function(e){e in r&&"function"==typeof r[e]&&(0,g.hl)(r,e,(function(t){var n={mechanism:{data:{function:e,handler:k(t)},handled:!0,type:"instrument"}},r=(0,g.HK)(t);return r&&(n.mechanism.data.handler=k(r)),bt(t,n)}))})),e.apply(this,t)}}function Dt(e){var t=(0,y.R)(),n=t[e]&&t[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&((0,g.hl)(n,"addEventListener",(function(t){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=bt(r.handleEvent.bind(r),{mechanism:{data:{function:"handleEvent",handler:k(r),target:e},handled:!0,type:"instrument"}}))}catch(e){}return t.apply(this,[n,bt(r,{mechanism:{data:{function:"addEventListener",handler:k(r),target:e},handled:!0,type:"instrument"}}),o])}})),(0,g.hl)(n,"removeEventListener",(function(e){return function(t,n,r){var o=n;try{var i=o&&o.__sentry_wrapped__;i&&e.call(this,t,i,r)}catch(e){}return e.call(this,t,o,r)}})))}var Rt=function(){function e(t){this.name=e.id,this._installFunc={onerror:Lt,onunhandledrejection:It},this._options=V({onerror:!0,onunhandledrejection:!0},t)}return e.prototype.setupOnce=function(){Error.stackTraceLimit=50;var e,t=this._options;for(var n in t){var r=this._installFunc[n];r&&t[n]&&(e=n,rt&&s.kg.log("Global Handler attached: "+e),r(),this._installFunc[n]=void 0)}},e.id="GlobalHandlers",e}();function Lt(){D("error",(function(e){var t=Y(zt(),2),n=t[0],r=t[1];if(n.getIntegration(Rt)){var o=e.msg,i=e.url,a=e.line,s=e.column,l=e.error;if(!(gt()||l&&l.__sentry_own_request__)){var c=void 0===l&&(0,C.HD)(o)?function(e,t,n,r){var o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i,i=(0,C.VW)(e)?e.message:e,a="Error",s=i.match(o);s&&(a=s[1],i=s[2]);return Nt({exception:{values:[{type:a,value:i}]}},t,n,r)}(o,i,a,s):Nt(Ze(l||o,void 0,r,!1),i,a,s);c.level=we.Error,Ft(n,l,c,"onerror")}}}))}function It(){D("unhandledrejection",(function(e){var t=Y(zt(),2),n=t[0],r=t[1];if(n.getIntegration(Rt)){var o=e;try{"reason"in e?o=e.reason:"detail"in e&&"reason"in e.detail&&(o=e.detail.reason)}catch(e){}if(gt()||o&&o.__sentry_own_request__)return!0;var i=(0,C.pt)(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: "+String(o)}]}}:Ze(o,void 0,r,!0);i.level=we.Error,Ft(n,o,i,"onunhandledrejection")}}))}function Nt(e,t,n,r){var o=e.exception=e.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},l=s.frames=s.frames||[],c=isNaN(parseInt(r,10))?void 0:r,u=isNaN(parseInt(n,10))?void 0:n,d=(0,C.HD)(t)&&t.length>0?t:(0,At.l)();return 0===l.length&&l.push({colno:c,filename:d,function:"?",in_app:!0,lineno:u}),e}function Ft(e,t,n,r){(0,l.EG)(n,{handled:!1,type:r}),e.captureEvent(n,{originalException:t})}function zt(){var e=(0,b.Gd)(),t=e.getClient();return[e,t&&t.getOptions().attachStacktrace]}var qt=function(){function e(t){void 0===t&&(t={}),this.name=e.id,this._key=t.key||"cause",this._limit=t.limit||5}return e.prototype.setupOnce=function(){(0,K.c)((function(t,n){var r=(0,b.Gd)().getIntegration(e);return r?function(e,t,n,r){if(!(n.exception&&n.exception.values&&r&&(0,C.V9)(r.originalException,Error)))return n;var o=Ut(t,r.originalException,e);return n.exception.values=Z(o,n.exception.values),n}(r._key,r._limit,t,n):t}))},e.id="LinkedErrors",e}();function Ut(e,t,n,r){if(void 0===r&&(r=[]),!(0,C.V9)(t[n],Error)||r.length+1>=e)return r;var o=Ue(t[n]);return Ut(e,t[n],n,Z([o],r))}var Ht=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(t,n){t((function(t){var r=n().getIntegration(e);if(r){try{if(function(e,t){if(!t)return!1;if(function(e,t){var n=e.message,r=t.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!Vt(e,t))return!1;if(!Wt(e,t))return!1;return!0}(e,t))return!0;if(function(e,t){var n=Yt(t),r=Yt(e);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!Vt(e,t))return!1;if(!Wt(e,t))return!1;return!0}(e,t))return!0;return!1}(t,r._previousEvent))return rt&&s.kg.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(e){return r._previousEvent=t}return r._previousEvent=t}return t}))},e.id="Dedupe",e}();function Wt(e,t){var n=Zt(e),r=Zt(t);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(var o=0;o<r.length;o++){var i=r[o],a=n[o];if(i.filename!==a.filename||i.lineno!==a.lineno||i.colno!==a.colno||i.function!==a.function)return!1}return!0}function Vt(e,t){var n=e.fingerprint,r=t.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(e){return!1}}function Yt(e){return e.exception&&e.exception.values&&e.exception.values[0]}function Zt(e){var t=e.exception;if(t)try{return t.values[0].stacktrace.frames}catch(e){return}else if(e.stacktrace)return e.stacktrace.frames}var Gt=(0,y.R)(),Kt=function(){function e(){this.name=e.id}return e.prototype.setupOnce=function(){(0,K.c)((function(t){if((0,b.Gd)().getIntegration(e)){if(!Gt.navigator&&!Gt.location&&!Gt.document)return t;var n=t.request&&t.request.url||Gt.location&&Gt.location.href,r=(Gt.document||{}).referrer,o=(Gt.navigator||{}).userAgent,i=V(V(V({},t.request&&t.request.headers),r&&{Referer:r}),o&&{"User-Agent":o}),a=V(V({},n&&{url:n}),{headers:i});return V(V({},t),{request:a})}return t}))},e.id="UserAgent",e}(),$t=[new f,new v,new jt,new _t,new Rt,new qt,new Ht,new Kt];function Xt(e){if(void 0===e&&(e={}),void 0===e.defaultIntegrations&&(e.defaultIntegrations=$t),void 0===e.release){var t=(0,y.R)();t.SENTRY_RELEASE&&t.SENTRY_RELEASE.id&&(e.release=t.SENTRY_RELEASE.id)}void 0===e.autoSessionTracking&&(e.autoSessionTracking=!0),void 0===e.sendClientReports&&(e.sendClientReports=!0),function(e,t){!0===t.debug&&(u?s.kg.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));var n=(0,b.Gd)(),r=n.getScope();r&&r.update(t.initialScope);var o=new e(t);n.bindClient(o)}(Bt,e),e.autoSessionTracking&&function(){if(void 0===(0,y.R)().document)return void(rt&&s.kg.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));var e=(0,b.Gd)();if(!e.captureSession)return;Qt(e),D("history",(function(e){var t=e.from,n=e.to;void 0!==t&&t!==n&&Qt((0,b.Gd)())}))}()}function Qt(e){e.startSession({ignoreDuration:!0}),e.captureSession()}},6242:function(e,t,n){"use strict";n.d(t,{Gd:function(){return g}});var r=n(68907),o=n(62844),i=n(21170),a=n(12343),s=n(82991),l=n(92448),c="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__,u=n(46769),d=n(20535),f=function(){function e(e){this.errors=0,this.sid=(0,o.DM)(),this.duration=0,this.status="ok",this.init=!0,this.ignoreDuration=!1;var t=(0,i.ph)();this.timestamp=t,this.started=t,e&&this.update(e)}return e.prototype.update=function(e){if(void 0===e&&(e={}),e.user&&(!this.ipAddress&&e.user.ip_address&&(this.ipAddress=e.user.ip_address),this.did||e.did||(this.did=e.user.id||e.user.email||e.user.username)),this.timestamp=e.timestamp||(0,i.ph)(),e.ignoreDuration&&(this.ignoreDuration=e.ignoreDuration),e.sid&&(this.sid=32===e.sid.length?e.sid:(0,o.DM)()),void 0!==e.init&&(this.init=e.init),!this.did&&e.did&&(this.did=""+e.did),"number"==typeof e.started&&(this.started=e.started),this.ignoreDuration)this.duration=void 0;else if("number"==typeof e.duration)this.duration=e.duration;else{var t=this.timestamp-this.started;this.duration=t>=0?t:0}e.release&&(this.release=e.release),e.environment&&(this.environment=e.environment),!this.ipAddress&&e.ipAddress&&(this.ipAddress=e.ipAddress),!this.userAgent&&e.userAgent&&(this.userAgent=e.userAgent),"number"==typeof e.errors&&(this.errors=e.errors),e.status&&(this.status=e.status)},e.prototype.close=function(e){e?this.update({status:e}):"ok"===this.status?this.update({status:"exited"}):this.update()},e.prototype.toJSON=function(){return(0,d.Jr)({sid:""+this.sid,init:this.init,started:new Date(1e3*this.started).toISOString(),timestamp:new Date(1e3*this.timestamp).toISOString(),status:this.status,errors:this.errors,did:"number"==typeof this.did||"string"==typeof this.did?""+this.did:void 0,duration:this.duration,attrs:{release:this.release,environment:this.environment,ip_address:this.ipAddress,user_agent:this.userAgent}})},e}(),p=function(){function e(e,t,n){void 0===t&&(t=new u.s),void 0===n&&(n=4),this._version=n,this._stack=[{}],this.getStackTop().scope=t,e&&this.bindClient(e)}return e.prototype.isOlderThan=function(e){return this._version<e},e.prototype.bindClient=function(e){this.getStackTop().client=e,e&&e.setupIntegrations&&e.setupIntegrations()},e.prototype.pushScope=function(){var e=u.s.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:e}),e},e.prototype.popScope=function(){return!(this.getStack().length<=1)&&!!this.getStack().pop()},e.prototype.withScope=function(e){var t=this.pushScope();try{e(t)}finally{this.popScope()}},e.prototype.getClient=function(){return this.getStackTop().client},e.prototype.getScope=function(){return this.getStackTop().scope},e.prototype.getStack=function(){return this._stack},e.prototype.getStackTop=function(){return this._stack[this._stack.length-1]},e.prototype.captureException=function(e,t){var n=this._lastEventId=t&&t.event_id?t.event_id:(0,o.DM)(),i=t;if(!t){var a=void 0;try{throw new Error("Sentry syntheticException")}catch(e){a=e}i={originalException:e,syntheticException:a}}return this._invokeClient("captureException",e,(0,r.pi)((0,r.pi)({},i),{event_id:n})),n},e.prototype.captureMessage=function(e,t,n){var i=this._lastEventId=n&&n.event_id?n.event_id:(0,o.DM)(),a=n;if(!n){var s=void 0;try{throw new Error(e)}catch(e){s=e}a={originalException:e,syntheticException:s}}return this._invokeClient("captureMessage",e,t,(0,r.pi)((0,r.pi)({},a),{event_id:i})),i},e.prototype.captureEvent=function(e,t){var n=t&&t.event_id?t.event_id:(0,o.DM)();return"transaction"!==e.type&&(this._lastEventId=n),this._invokeClient("captureEvent",e,(0,r.pi)((0,r.pi)({},t),{event_id:n})),n},e.prototype.lastEventId=function(){return this._lastEventId},e.prototype.addBreadcrumb=function(e,t){var n=this.getStackTop(),o=n.scope,s=n.client;if(o&&s){var l=s.getOptions&&s.getOptions()||{},c=l.beforeBreadcrumb,u=void 0===c?null:c,d=l.maxBreadcrumbs,f=void 0===d?100:d;if(!(f<=0)){var p=(0,i.yW)(),h=(0,r.pi)({timestamp:p},e),m=u?(0,a.Cf)((function(){return u(h,t)})):h;null!==m&&o.addBreadcrumb(m,f)}}},e.prototype.setUser=function(e){var t=this.getScope();t&&t.setUser(e)},e.prototype.setTags=function(e){var t=this.getScope();t&&t.setTags(e)},e.prototype.setExtras=function(e){var t=this.getScope();t&&t.setExtras(e)},e.prototype.setTag=function(e,t){var n=this.getScope();n&&n.setTag(e,t)},e.prototype.setExtra=function(e,t){var n=this.getScope();n&&n.setExtra(e,t)},e.prototype.setContext=function(e,t){var n=this.getScope();n&&n.setContext(e,t)},e.prototype.configureScope=function(e){var t=this.getStackTop(),n=t.scope,r=t.client;n&&r&&e(n)},e.prototype.run=function(e){var t=m(this);try{e(this)}finally{m(t)}},e.prototype.getIntegration=function(e){var t=this.getClient();if(!t)return null;try{return t.getIntegration(e)}catch(t){return c&&a.kg.warn("Cannot retrieve integration "+e.id+" from the current Hub"),null}},e.prototype.startSpan=function(e){return this._callExtensionMethod("startSpan",e)},e.prototype.startTransaction=function(e,t){return this._callExtensionMethod("startTransaction",e,t)},e.prototype.traceHeaders=function(){return this._callExtensionMethod("traceHeaders")},e.prototype.captureSession=function(e){if(void 0===e&&(e=!1),e)return this.endSession();this._sendSessionUpdate()},e.prototype.endSession=function(){var e=this.getStackTop(),t=e&&e.scope,n=t&&t.getSession();n&&n.close(),this._sendSessionUpdate(),t&&t.setSession()},e.prototype.startSession=function(e){var t=this.getStackTop(),n=t.scope,o=t.client,i=o&&o.getOptions()||{},a=i.release,l=i.environment,c=((0,s.R)().navigator||{}).userAgent,u=new f((0,r.pi)((0,r.pi)((0,r.pi)({release:a,environment:l},n&&{user:n.getUser()}),c&&{userAgent:c}),e));if(n){var d=n.getSession&&n.getSession();d&&"ok"===d.status&&d.update({status:"exited"}),this.endSession(),n.setSession(u)}return u},e.prototype._sendSessionUpdate=function(){var e=this.getStackTop(),t=e.scope,n=e.client;if(t){var r=t.getSession&&t.getSession();r&&n&&n.captureSession&&n.captureSession(r)}},e.prototype._invokeClient=function(e){for(var t,n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=this.getStackTop(),a=i.scope,s=i.client;s&&s[e]&&(t=s)[e].apply(t,(0,r.fl)(n,[a]))},e.prototype._callExtensionMethod=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=h(),o=r.__SENTRY__;if(o&&o.extensions&&"function"==typeof o.extensions[e])return o.extensions[e].apply(this,t);c&&a.kg.warn("Extension method "+e+" couldn't be found, doing nothing.")},e}();function h(){var e=(0,s.R)();return e.__SENTRY__=e.__SENTRY__||{extensions:{},hub:void 0},e}function m(e){var t=h(),n=b(t);return y(t,e),n}function g(){var e=h();return v(e)&&!b(e).isOlderThan(4)||y(e,new p),(0,l.KV)()?function(e){try{var t=h().__SENTRY__,n=t&&t.extensions&&t.extensions.domain&&t.extensions.domain.active;if(!n)return b(e);if(!v(n)||b(n).isOlderThan(4)){var r=b(e).getStackTop();y(n,new p(r.client,u.s.clone(r.scope)))}return b(n)}catch(t){return b(e)}}(e):b(e)}function v(e){return!!(e&&e.__SENTRY__&&e.__SENTRY__.hub)}function b(e){return(0,s.Y)("hub",(function(){return new p}),e)}function y(e,t){return!!e&&((e.__SENTRY__=e.__SENTRY__||{}).hub=t,!0)}},46769:function(e,t,n){"use strict";n.d(t,{c:function(){return u},s:function(){return l}});var r=n(68907),o=n(67597),i=n(21170),a=n(96893),s=n(82991),l=function(){function e(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}return e.clone=function(t){var n=new e;return t&&(n._breadcrumbs=(0,r.fl)(t._breadcrumbs),n._tags=(0,r.pi)({},t._tags),n._extra=(0,r.pi)({},t._extra),n._contexts=(0,r.pi)({},t._contexts),n._user=t._user,n._level=t._level,n._span=t._span,n._session=t._session,n._transactionName=t._transactionName,n._fingerprint=t._fingerprint,n._eventProcessors=(0,r.fl)(t._eventProcessors),n._requestSession=t._requestSession),n},e.prototype.addScopeListener=function(e){this._scopeListeners.push(e)},e.prototype.addEventProcessor=function(e){return this._eventProcessors.push(e),this},e.prototype.setUser=function(e){return this._user=e||{},this._session&&this._session.update({user:e}),this._notifyScopeListeners(),this},e.prototype.getUser=function(){return this._user},e.prototype.getRequestSession=function(){return this._requestSession},e.prototype.setRequestSession=function(e){return this._requestSession=e,this},e.prototype.setTags=function(e){return this._tags=(0,r.pi)((0,r.pi)({},this._tags),e),this._notifyScopeListeners(),this},e.prototype.setTag=function(e,t){var n;return this._tags=(0,r.pi)((0,r.pi)({},this._tags),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setExtras=function(e){return this._extra=(0,r.pi)((0,r.pi)({},this._extra),e),this._notifyScopeListeners(),this},e.prototype.setExtra=function(e,t){var n;return this._extra=(0,r.pi)((0,r.pi)({},this._extra),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setFingerprint=function(e){return this._fingerprint=e,this._notifyScopeListeners(),this},e.prototype.setLevel=function(e){return this._level=e,this._notifyScopeListeners(),this},e.prototype.setTransactionName=function(e){return this._transactionName=e,this._notifyScopeListeners(),this},e.prototype.setTransaction=function(e){return this.setTransactionName(e)},e.prototype.setContext=function(e,t){var n;return null===t?delete this._contexts[e]:this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),((n={})[e]=t,n)),this._notifyScopeListeners(),this},e.prototype.setSpan=function(e){return this._span=e,this._notifyScopeListeners(),this},e.prototype.getSpan=function(){return this._span},e.prototype.getTransaction=function(){var e=this.getSpan();return e&&e.transaction},e.prototype.setSession=function(e){return e?this._session=e:delete this._session,this._notifyScopeListeners(),this},e.prototype.getSession=function(){return this._session},e.prototype.update=function(t){if(!t)return this;if("function"==typeof t){var n=t(this);return n instanceof e?n:this}return t instanceof e?(this._tags=(0,r.pi)((0,r.pi)({},this._tags),t._tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),t._extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),t._contexts),t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):(0,o.PO)(t)&&(this._tags=(0,r.pi)((0,r.pi)({},this._tags),t.tags),this._extra=(0,r.pi)((0,r.pi)({},this._extra),t.extra),this._contexts=(0,r.pi)((0,r.pi)({},this._contexts),t.contexts),t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this},e.prototype.clear=function(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this},e.prototype.addBreadcrumb=function(e,t){var n="number"==typeof t?Math.min(t,100):100;if(n<=0)return this;var o=(0,r.pi)({timestamp:(0,i.yW)()},e);return this._breadcrumbs=(0,r.fl)(this._breadcrumbs,[o]).slice(-n),this._notifyScopeListeners(),this},e.prototype.clearBreadcrumbs=function(){return this._breadcrumbs=[],this._notifyScopeListeners(),this},e.prototype.applyToEvent=function(e,t){if(this._extra&&Object.keys(this._extra).length&&(e.extra=(0,r.pi)((0,r.pi)({},this._extra),e.extra)),this._tags&&Object.keys(this._tags).length&&(e.tags=(0,r.pi)((0,r.pi)({},this._tags),e.tags)),this._user&&Object.keys(this._user).length&&(e.user=(0,r.pi)((0,r.pi)({},this._user),e.user)),this._contexts&&Object.keys(this._contexts).length&&(e.contexts=(0,r.pi)((0,r.pi)({},this._contexts),e.contexts)),this._level&&(e.level=this._level),this._transactionName&&(e.transaction=this._transactionName),this._span){e.contexts=(0,r.pi)({trace:this._span.getTraceContext()},e.contexts);var n=this._span.transaction&&this._span.transaction.name;n&&(e.tags=(0,r.pi)({transaction:n},e.tags))}return this._applyFingerprint(e),e.breadcrumbs=(0,r.fl)(e.breadcrumbs||[],this._breadcrumbs),e.breadcrumbs=e.breadcrumbs.length>0?e.breadcrumbs:void 0,e.sdkProcessingMetadata=this._sdkProcessingMetadata,this._notifyEventProcessors((0,r.fl)(c(),this._eventProcessors),e,t)},e.prototype.setSDKProcessingMetadata=function(e){return this._sdkProcessingMetadata=(0,r.pi)((0,r.pi)({},this._sdkProcessingMetadata),e),this},e.prototype._notifyEventProcessors=function(e,t,n,i){var s=this;return void 0===i&&(i=0),new a.cW((function(a,l){var c=e[i];if(null===t||"function"!=typeof c)a(t);else{var u=c((0,r.pi)({},t),n);(0,o.J8)(u)?u.then((function(t){return s._notifyEventProcessors(e,t,n,i+1).then(a)})).then(null,l):s._notifyEventProcessors(e,u,n,i+1).then(a).then(null,l)}}))},e.prototype._notifyScopeListeners=function(){var e=this;this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((function(t){t(e)})),this._notifyingListeners=!1)},e.prototype._applyFingerprint=function(e){e.fingerprint=e.fingerprint?Array.isArray(e.fingerprint)?e.fingerprint:[e.fingerprint]:[],this._fingerprint&&(e.fingerprint=e.fingerprint.concat(this._fingerprint)),e.fingerprint&&!e.fingerprint.length&&delete e.fingerprint},e}();function c(){return(0,s.Y)("globalEventProcessors",(function(){return[]}))}function u(e){c().push(e)}},68907:function(e,t,n){"use strict";n.d(t,{fl:function(){return i},pi:function(){return r}});var r=function(){return r=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},r.apply(this,arguments)};function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function i(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(o(arguments[t]));return e}},40802:function(e,t,n){"use strict";n.d(t,{Tb:function(){return s},$e:function(){return l}});function r(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function o(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(r(arguments[t]));return e}var i=n(6242);function a(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=(0,i.Gd)();if(r&&r[e])return r[e].apply(r,o(t));throw new Error("No hub defined or "+e+" was not found on the hub, please open a bug report.")}function s(e,t){return a("captureException",e,{captureContext:t,originalException:e,syntheticException:new Error("Sentry syntheticException")})}function l(e){a("withScope",e)}},58464:function(e,t,n){"use strict";n.d(t,{R:function(){return i},l:function(){return s}});var r=n(82991),o=n(67597);function i(e,t){try{for(var n=e,r=[],o=0,i=0,s=" > ".length,l=void 0;n&&o++<5&&!("html"===(l=a(n,t))||o>1&&i+r.length*s+l.length>=80);)r.push(l),i+=l.length,n=n.parentNode;return r.reverse().join(" > ")}catch(e){return"<unknown>"}}function a(e,t){var n,r,i,a,s,l=e,c=[];if(!l||!l.tagName)return"";c.push(l.tagName.toLowerCase());var u=t&&t.length?t.filter((function(e){return l.getAttribute(e)})).map((function(e){return[e,l.getAttribute(e)]})):null;if(u&&u.length)u.forEach((function(e){c.push("["+e[0]+'="'+e[1]+'"]')}));else if(l.id&&c.push("#"+l.id),(n=l.className)&&(0,o.HD)(n))for(r=n.split(/\s+/),s=0;s<r.length;s++)c.push("."+r[s]);var d=["type","name","title","alt"];for(s=0;s<d.length;s++)i=d[s],(a=l.getAttribute(i))&&c.push("["+i+'="'+a+'"]');return c.join("")}function s(){var e=(0,r.R)();try{return e.document.location.href}catch(e){return""}}},88795:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__},82991:function(e,t,n){"use strict";n.d(t,{R:function(){return i},Y:function(){return a}});var r=n(92448),o={};function i(){return(0,r.KV)()?n.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:o}function a(e,t,n){var r=n||i(),o=r.__SENTRY__=r.__SENTRY__||{};return o[e]||(o[e]=t())}},67597:function(e,t,n){"use strict";n.d(t,{Cy:function(){return g},HD:function(){return c},J8:function(){return m},Kj:function(){return h},PO:function(){return d},TX:function(){return s},V9:function(){return b},VW:function(){return a},VZ:function(){return o},cO:function(){return f},fm:function(){return l},i2:function(){return v},kK:function(){return p},pt:function(){return u}});var r=Object.prototype.toString;function o(e){switch(r.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return b(e,Error)}}function i(e,t){return r.call(e)==="[object "+t+"]"}function a(e){return i(e,"ErrorEvent")}function s(e){return i(e,"DOMError")}function l(e){return i(e,"DOMException")}function c(e){return i(e,"String")}function u(e){return null===e||"object"!=typeof e&&"function"!=typeof e}function d(e){return i(e,"Object")}function f(e){return"undefined"!=typeof Event&&b(e,Event)}function p(e){return"undefined"!=typeof Element&&b(e,Element)}function h(e){return i(e,"RegExp")}function m(e){return Boolean(e&&e.then&&"function"==typeof e.then)}function g(e){return d(e)&&"nativeEvent"in e&&"preventDefault"in e&&"stopPropagation"in e}function v(e){return"number"==typeof e&&e!=e}function b(e,t){try{return e instanceof t}catch(e){return!1}}},12343:function(e,t,n){"use strict";n.d(t,{Cf:function(){return u},RU:function(){return c},kg:function(){return r}});var r,o=n(50832),i=n(88795),a=n(82991),s=(0,a.R)(),l="Sentry Logger ",c=["debug","info","warn","error","log","assert"];function u(e){var t=(0,a.R)();if(!("console"in t))return e();var n=t.console,r={};c.forEach((function(e){var o=n[e]&&n[e].__sentry_original__;e in t.console&&o&&(r[e]=n[e],n[e]=o)}));try{return e()}finally{Object.keys(r).forEach((function(e){n[e]=r[e]}))}}function d(){var e=!1,t={enable:function(){e=!0},disable:function(){e=!1}};return i.h?c.forEach((function(n){t[n]=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];e&&u((function(){var e;(e=s.console)[n].apply(e,(0,o.fl)([l+"["+n+"]:"],t))}))}})):c.forEach((function(e){t[e]=function(){}})),t}r=i.h?(0,a.Y)("logger",d):d()},62844:function(e,t,n){"use strict";n.d(t,{DM:function(){return a},Db:function(){return u},EG:function(){return d},YO:function(){return f},en:function(){return s},jH:function(){return c}});var r=n(50832),o=n(82991),i=n(20535);function a(){var e=(0,o.R)(),t=e.crypto||e.msCrypto;if(void 0!==t&&t.getRandomValues){var n=new Uint16Array(8);t.getRandomValues(n),n[3]=4095&n[3]|16384,n[4]=16383&n[4]|32768;var r=function(e){for(var t=e.toString(16);t.length<4;)t="0"+t;return t};return r(n[0])+r(n[1])+r(n[2])+r(n[3])+r(n[4])+r(n[5])+r(n[6])+r(n[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}function s(e){if(!e)return{};var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{host:t[4],path:t[5],protocol:t[2],relative:t[5]+n+r}}function l(e){return e.exception&&e.exception.values?e.exception.values[0]:void 0}function c(e){var t=e.message,n=e.event_id;if(t)return t;var r=l(e);return r?r.type&&r.value?r.type+": "+r.value:r.type||r.value||n||"<unknown>":n||"<unknown>"}function u(e,t,n){var r=e.exception=e.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=t||""),i.type||(i.type=n||"Error")}function d(e,t){var n=l(e);if(n){var o=n.mechanism;if(n.mechanism=(0,r.pi)((0,r.pi)((0,r.pi)({},{type:"generic",handled:!0}),o),t),t&&"data"in t){var i=(0,r.pi)((0,r.pi)({},o&&o.data),t.data);n.mechanism.data=i}}}function f(e){if(e&&e.__sentry_captured__)return!0;try{(0,i.xp)(e,"__sentry_captured__",!0)}catch(e){}return!1}},92448:function(e,t,n){"use strict";n.d(t,{l$:function(){return i},KV:function(){return o}}),e=n.hmd(e);var r=n(34155);function o(){return!("undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&__SENTRY_BROWSER_BUNDLE__)&&"[object process]"===Object.prototype.toString.call(void 0!==r?r:0)}function i(e,t){return e.require(t)}},20535:function(e,t,n){"use strict";n.d(t,{$Q:function(){return c},HK:function(){return u},Jr:function(){return g},Sh:function(){return f},_j:function(){return d},hl:function(){return s},xp:function(){return l},zf:function(){return m}});var r=n(50832),o=n(58464),i=n(67597),a=n(57321);function s(e,t,n){if(t in e){var r=e[t],o=n(r);if("function"==typeof o)try{c(o,r)}catch(e){}e[t]=o}}function l(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0})}function c(e,t){var n=t.prototype||{};e.prototype=t.prototype=n,l(e,"__sentry_original__",t)}function u(e){return e.__sentry_original__}function d(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}function f(e){var t=e;if((0,i.VZ)(e))t=(0,r.pi)({message:e.message,name:e.name,stack:e.stack},h(e));else if((0,i.cO)(e)){var n=e;t=(0,r.pi)({type:n.type,target:p(n.target),currentTarget:p(n.currentTarget)},h(n)),"undefined"!=typeof CustomEvent&&(0,i.V9)(e,CustomEvent)&&(t.detail=n.detail)}return t}function p(e){try{return(0,i.kK)(e)?(0,o.R)(e):Object.prototype.toString.call(e)}catch(e){return"<unknown>"}}function h(e){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}function m(e,t){void 0===t&&(t=40);var n=Object.keys(f(e));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=t)return(0,a.$G)(n[0],t);for(var r=n.length;r>0;r--){var o=n.slice(0,r).join(", ");if(!(o.length>t))return r===n.length?o:(0,a.$G)(o,t)}return""}function g(e){var t,n;if((0,i.PO)(e)){var o={};try{for(var a=(0,r.XA)(Object.keys(e)),s=a.next();!s.done;s=a.next()){var l=s.value;void 0!==e[l]&&(o[l]=g(e[l]))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return o}return Array.isArray(e)?e.map(g):e}},57321:function(e,t,n){"use strict";n.d(t,{$G:function(){return o},nK:function(){return i},zC:function(){return a}});var r=n(67597);function o(e,t){return void 0===t&&(t=0),"string"!=typeof e||0===t||e.length<=t?e:e.substr(0,t)+"..."}function i(e,t){if(!Array.isArray(e))return"";for(var n=[],r=0;r<e.length;r++){var o=e[r];try{n.push(String(o))}catch(e){n.push("[value cannot be serialized]")}}return n.join(t)}function a(e,t){return!!(0,r.HD)(e)&&((0,r.Kj)(t)?t.test(e):"string"==typeof t&&-1!==e.indexOf(t))}},96893:function(e,t,n){"use strict";n.d(t,{$2:function(){return i},WD:function(){return o},cW:function(){return a}});var r=n(67597);function o(e){return new a((function(t){t(e)}))}function i(e){return new a((function(t,n){n(e)}))}var a=function(){function e(e){var t=this;this._state=0,this._handlers=[],this._resolve=function(e){t._setResult(1,e)},this._reject=function(e){t._setResult(2,e)},this._setResult=function(e,n){0===t._state&&((0,r.J8)(n)?n.then(t._resolve,t._reject):(t._state=e,t._value=n,t._executeHandlers()))},this._executeHandlers=function(){if(0!==t._state){var e=t._handlers.slice();t._handlers=[],e.forEach((function(e){e[0]||(1===t._state&&e[1](t._value),2===t._state&&e[2](t._value),e[0]=!0)}))}};try{e(this._resolve,this._reject)}catch(e){this._reject(e)}}return e.prototype.then=function(t,n){var r=this;return new e((function(e,o){r._handlers.push([!1,function(n){if(t)try{e(t(n))}catch(e){o(e)}else e(n)},function(t){if(n)try{e(n(t))}catch(e){o(e)}else o(t)}]),r._executeHandlers()}))},e.prototype.catch=function(e){return this.then((function(e){return e}),e)},e.prototype.finally=function(t){var n=this;return new e((function(e,r){var o,i;return n.then((function(e){i=!1,o=e,t&&t()}),(function(e){i=!0,o=e,t&&t()})).then((function(){i?r(o):e(o)}))}))},e}()},21170:function(e,t,n){"use strict";n.d(t,{ph:function(){return c},yW:function(){return l}});var r=n(82991),o=n(92448);e=n.hmd(e);var i={nowSeconds:function(){return Date.now()/1e3}};var a=(0,o.KV)()?function(){try{return(0,o.l$)(e,"perf_hooks").performance}catch(e){return}}():function(){var e=(0,r.R)().performance;if(e&&e.now)return{now:function(){return e.now()},timeOrigin:Date.now()-e.now()}}(),s=void 0===a?i:{nowSeconds:function(){return(a.timeOrigin+a.now())/1e3}},l=i.nowSeconds.bind(i),c=s.nowSeconds.bind(s);!function(){var e=(0,r.R)().performance;if(e&&e.now){var t=36e5,n=e.now(),o=Date.now(),i=e.timeOrigin?Math.abs(e.timeOrigin+n-o):t,a=i<t,s=e.timing&&e.timing.navigationStart,l="number"==typeof s?Math.abs(s+n-o):t;return a||l<t?i<=l?("timeOrigin",e.timeOrigin):("navigationStart",s):("dateNow",o)}"none"}()},50832:function(e,t,n){"use strict";n.d(t,{CR:function(){return s},XA:function(){return a},ZT:function(){return o},fl:function(){return l},pi:function(){return i}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=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},i.apply(this,arguments)};function a(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function s(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e}},6235:function(e,t,n){"use strict";n.d(t,{M:function(){return w}});var r,o,i=n(67294),a=n(45697),s=function(){return s=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},s.apply(this,arguments)},l={onActivate:a.func,onAddUndo:a.func,onBeforeAddUndo:a.func,onBeforeExecCommand:a.func,onBeforeGetContent:a.func,onBeforeRenderUI:a.func,onBeforeSetContent:a.func,onBeforePaste:a.func,onBlur:a.func,onChange:a.func,onClearUndos:a.func,onClick:a.func,onContextMenu:a.func,onCommentChange:a.func,onCopy:a.func,onCut:a.func,onDblclick:a.func,onDeactivate:a.func,onDirty:a.func,onDrag:a.func,onDragDrop:a.func,onDragEnd:a.func,onDragGesture:a.func,onDragOver:a.func,onDrop:a.func,onExecCommand:a.func,onFocus:a.func,onFocusIn:a.func,onFocusOut:a.func,onGetContent:a.func,onHide:a.func,onInit:a.func,onKeyDown:a.func,onKeyPress:a.func,onKeyUp:a.func,onLoadContent:a.func,onMouseDown:a.func,onMouseEnter:a.func,onMouseLeave:a.func,onMouseMove:a.func,onMouseOut:a.func,onMouseOver:a.func,onMouseUp:a.func,onNodeChange:a.func,onObjectResizeStart:a.func,onObjectResized:a.func,onObjectSelected:a.func,onPaste:a.func,onPostProcess:a.func,onPostRender:a.func,onPreProcess:a.func,onProgressState:a.func,onRedo:a.func,onRemove:a.func,onReset:a.func,onSaveContent:a.func,onSelectionChange:a.func,onSetAttrib:a.func,onSetContent:a.func,onShow:a.func,onSubmit:a.func,onUndo:a.func,onVisualAid:a.func,onSkinLoadError:a.func,onThemeLoadError:a.func,onModelLoadError:a.func,onPluginLoadError:a.func,onIconsLoadError:a.func,onLanguageLoadError:a.func},c=s({apiKey:a.string,id:a.string,inline:a.bool,init:a.object,initialValue:a.string,onEditorChange:a.func,value:a.string,tagName:a.string,cloudChannel:a.string,plugins:a.oneOfType([a.string,a.array]),toolbar:a.oneOfType([a.string,a.array]),disabled:a.bool,textareaName:a.string,tinymceScriptSrc:a.string,rollback:a.oneOfType([a.number,a.oneOf([!1])]),scriptLoading:a.shape({async:a.bool,defer:a.bool,delay:a.number})},l),u=function(e){return"function"==typeof e},d=function(e){return e in l},f=function(e){return e.substr(2)},p=function(e,t,n,r,o){return function(e,t,n,r,o,i,a){var s=Object.keys(o).filter(d),l=Object.keys(i).filter(d),c=s.filter((function(e){return void 0===i[e]})),u=l.filter((function(e){return void 0===o[e]}));c.forEach((function(e){var t=f(e),r=a[t];n(t,r),delete a[t]})),u.forEach((function(n){var o=r(e,n),i=f(n);a[i]=o,t(i,o)}))}(o,e.on.bind(e),e.off.bind(e),(function(t,n){return function(r){var o;return null===(o=t(n))||void 0===o?void 0:o(r,e)}}),t,n,r)},h=0,m=function(e){var t=Date.now();return e+"_"+Math.floor(1e9*Math.random())+ ++h+String(t)},g=function(e){return null!==e&&("textarea"===e.tagName.toLowerCase()||"input"===e.tagName.toLowerCase())},v=function(e){return void 0===e||""===e?[]:Array.isArray(e)?e:e.split(" ")},b=function(e,t){void 0!==e&&(null!=e.mode&&"object"==typeof e.mode&&"function"==typeof e.mode.set?e.mode.set(t):e.setMode(t))},y=function(){return{listeners:[],scriptId:m("tiny-script"),scriptLoading:!1,scriptLoaded:!1}},A=(r=y(),{load:function(e,t,n,o,i,a){var s=function(){return function(e,t,n,r,o,i){var a=t.createElement("script");a.referrerPolicy="origin",a.type="application/javascript",a.id=e,a.src=n,a.async=r,a.defer=o;var s=function(){a.removeEventListener("load",s),i()};a.addEventListener("load",s),t.head&&t.head.appendChild(a)}(r.scriptId,e,t,n,o,(function(){r.listeners.forEach((function(e){return e()})),r.scriptLoaded=!0}))};r.scriptLoaded?a():(r.listeners.push(a),r.scriptLoading||(r.scriptLoading=!0,i>0?setTimeout(s,i):s()))},reinitialize:function(){r=y()}}),x=function(e){var t=e;return t&&t.tinymce?t.tinymce:null},C=(o=function(e,t){return o=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])},o(e,t)},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}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),_=function(){return _=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},_.apply(this,arguments)},w=function(e){function t(t){var n,r,o,a=this;return(a=e.call(this,t)||this).rollbackTimer=void 0,a.valueCursor=void 0,a.rollbackChange=function(){var e=a.editor,t=a.props.value;e&&t&&t!==a.currentContent&&e.undoManager.ignore((function(){if(e.setContent(t),a.valueCursor&&(!a.inline||e.hasFocus()))try{e.selection.moveToBookmark(a.valueCursor)}catch(e){}})),a.rollbackTimer=void 0},a.handleBeforeInput=function(e){if(void 0!==a.props.value&&a.props.value===a.currentContent&&a.editor&&(!a.inline||a.editor.hasFocus()))try{a.valueCursor=a.editor.selection.getBookmark(3)}catch(e){}},a.handleBeforeInputSpecial=function(e){"Enter"!==e.key&&"Backspace"!==e.key&&"Delete"!==e.key||a.handleBeforeInput(e)},a.handleEditorChange=function(e){var t=a.editor;if(t&&t.initialized){var n=t.getContent();void 0!==a.props.value&&a.props.value!==n&&!1!==a.props.rollback&&(a.rollbackTimer||(a.rollbackTimer=window.setTimeout(a.rollbackChange,"number"==typeof a.props.rollback?a.props.rollback:200))),n!==a.currentContent&&(a.currentContent=n,u(a.props.onEditorChange)&&a.props.onEditorChange(n,t))}},a.handleEditorChangeSpecial=function(e){"Backspace"!==e.key&&"Delete"!==e.key||a.handleEditorChange(e)},a.initialise=function(e){var t,n,r;void 0===e&&(e=0);var o=a.elementRef.current;if(o)if(function(e){if(!("isConnected"in Node.prototype)){for(var t=e,n=e.parentNode;null!=n;)n=(t=n).parentNode;return t===e.ownerDocument}return e.isConnected}(o)){var i=x(a.view);if(!i)throw new Error("tinymce should have been loaded into global scope");var s,l,c=_(_({},a.props.init),{selector:void 0,target:o,readonly:a.props.disabled,inline:a.inline,plugins:(s=null===(t=a.props.init)||void 0===t?void 0:t.plugins,l=a.props.plugins,v(s).concat(v(l))),toolbar:null!==(n=a.props.toolbar)&&void 0!==n?n:null===(r=a.props.init)||void 0===r?void 0:r.toolbar,setup:function(e){a.editor=e,a.bindHandlers({}),a.inline&&!g(o)&&e.once("PostRender",(function(t){e.setContent(a.getInitialValue(),{no_events:!0})})),a.props.init&&u(a.props.init.setup)&&a.props.init.setup(e)},init_instance_callback:function(e){var t,n,r=a.getInitialValue();a.currentContent=null!==(t=a.currentContent)&&void 0!==t?t:e.getContent(),a.currentContent!==r&&(a.currentContent=r,e.setContent(r),e.undoManager.clear(),e.undoManager.add(),e.setDirty(!1));var o=null!==(n=a.props.disabled)&&void 0!==n&&n;b(a.editor,o?"readonly":"design"),a.props.init&&u(a.props.init.init_instance_callback)&&a.props.init.init_instance_callback(e)}});a.inline||(o.style.visibility=""),g(o)&&(o.value=a.getInitialValue()),i.init(c)}else if(0===e)setTimeout((function(){return a.initialise(1)}),1);else{if(!(e<100))throw new Error("tinymce can only be initialised when in a document");setTimeout((function(){return a.initialise(e+1)}),100)}},a.id=a.props.id||m("tiny-react"),a.elementRef=i.createRef(),a.inline=null!==(o=null!==(n=a.props.inline)&&void 0!==n?n:null===(r=a.props.init)||void 0===r?void 0:r.inline)&&void 0!==o&&o,a.boundHandlers={},a}return C(t,e),Object.defineProperty(t.prototype,"view",{get:function(){var e,t;return null!==(t=null===(e=this.elementRef.current)||void 0===e?void 0:e.ownerDocument.defaultView)&&void 0!==t?t:window},enumerable:!1,configurable:!0}),t.prototype.componentDidUpdate=function(e){var t,n,r=this;if(this.rollbackTimer&&(clearTimeout(this.rollbackTimer),this.rollbackTimer=void 0),this.editor&&(this.bindHandlers(e),this.editor.initialized)){if(this.currentContent=null!==(t=this.currentContent)&&void 0!==t?t:this.editor.getContent(),"string"==typeof this.props.initialValue&&this.props.initialValue!==e.initialValue)this.editor.setContent(this.props.initialValue),this.editor.undoManager.clear(),this.editor.undoManager.add(),this.editor.setDirty(!1);else if("string"==typeof this.props.value&&this.props.value!==this.currentContent){var o=this.editor;o.undoManager.transact((function(){var e;if(!r.inline||o.hasFocus())try{e=o.selection.getBookmark(3)}catch(e){}var t=r.valueCursor;if(o.setContent(r.props.value),!r.inline||o.hasFocus())for(var n=0,i=[e,t];n<i.length;n++){var a=i[n];if(a)try{o.selection.moveToBookmark(a),r.valueCursor=a;break}catch(e){}}}))}if(this.props.disabled!==e.disabled){var i=null!==(n=this.props.disabled)&&void 0!==n&&n;b(this.editor,i?"readonly":"design")}}},t.prototype.componentDidMount=function(){var e,t,n,r,o,i;null!==x(this.view)?this.initialise():this.elementRef.current&&this.elementRef.current.ownerDocument&&A.load(this.elementRef.current.ownerDocument,this.getScriptSrc(),null!==(t=null===(e=this.props.scriptLoading)||void 0===e?void 0:e.async)&&void 0!==t&&t,null!==(r=null===(n=this.props.scriptLoading)||void 0===n?void 0:n.defer)&&void 0!==r&&r,null!==(i=null===(o=this.props.scriptLoading)||void 0===o?void 0:o.delay)&&void 0!==i?i:0,this.initialise)},t.prototype.componentWillUnmount=function(){var e=this,t=this.editor;t&&(t.off(this.changeEvents(),this.handleEditorChange),t.off(this.beforeInputEvent(),this.handleBeforeInput),t.off("keypress",this.handleEditorChangeSpecial),t.off("keydown",this.handleBeforeInputSpecial),t.off("NewBlock",this.handleEditorChange),Object.keys(this.boundHandlers).forEach((function(n){t.off(n,e.boundHandlers[n])})),this.boundHandlers={},t.remove(),this.editor=void 0)},t.prototype.render=function(){return this.inline?this.renderInline():this.renderIframe()},t.prototype.changeEvents=function(){var e,t,n;return(null===(n=null===(t=null===(e=x(this.view))||void 0===e?void 0:e.Env)||void 0===t?void 0:t.browser)||void 0===n?void 0:n.isIE())?"change keyup compositionend setcontent CommentChange":"change input compositionend setcontent CommentChange"},t.prototype.beforeInputEvent=function(){return window.InputEvent&&"function"==typeof InputEvent.prototype.getTargetRanges?"beforeinput SelectionChange":"SelectionChange"},t.prototype.renderInline=function(){var e=this.props.tagName,t=void 0===e?"div":e;return i.createElement(t,{ref:this.elementRef,id:this.id})},t.prototype.renderIframe=function(){return i.createElement("textarea",{ref:this.elementRef,style:{visibility:"hidden"},name:this.props.textareaName,id:this.id})},t.prototype.getScriptSrc=function(){if("string"==typeof this.props.tinymceScriptSrc)return this.props.tinymceScriptSrc;var e=this.props.cloudChannel,t=this.props.apiKey?this.props.apiKey:"no-api-key";return"https://cdn.tiny.cloud/1/".concat(t,"/tinymce/").concat(e,"/tinymce.min.js")},t.prototype.getInitialValue=function(){return"string"==typeof this.props.initialValue?this.props.initialValue:"string"==typeof this.props.value?this.props.value:""},t.prototype.bindHandlers=function(e){var t=this;if(void 0!==this.editor){p(this.editor,e,this.props,this.boundHandlers,(function(e){return t.props[e]}));var n=function(e){return void 0!==e.onEditorChange||void 0!==e.value},r=n(e),o=n(this.props);!r&&o?(this.editor.on(this.changeEvents(),this.handleEditorChange),this.editor.on(this.beforeInputEvent(),this.handleBeforeInput),this.editor.on("keydown",this.handleBeforeInputSpecial),this.editor.on("keyup",this.handleEditorChangeSpecial),this.editor.on("NewBlock",this.handleEditorChange)):r&&!o&&(this.editor.off(this.changeEvents(),this.handleEditorChange),this.editor.off(this.beforeInputEvent(),this.handleBeforeInput),this.editor.off("keydown",this.handleBeforeInputSpecial),this.editor.off("keyup",this.handleEditorChangeSpecial),this.editor.off("NewBlock",this.handleEditorChange))}},t.propTypes=c,t.defaultProps={cloudChannel:"6"},t}(i.Component)},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}},7336:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadProgressBar=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.default,n=0,i=function(){t.interceptors.request.use((function(e){return n++,r.default.start(),e}))},s=function(){var e=function(e){return r.default.inc(a(e.loaded,e.total))};t.defaults.onDownloadProgress=e,t.defaults.onUploadProgress=e},l=function(){t.interceptors.response.use((function(e){return 0==--n&&r.default.done(),e}),(function(e){return 0==--n&&r.default.done(),Promise.reject(e)}))};r.default.configure(e),i(),s(),l()},n(2);var r=i(n(3)),o=i(n(4));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(e,t){return Math.floor(1*e)/t}},function(e,t){},function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var i=n.render(!t),c=i.querySelector(r.barSelector),u=r.speed,d=r.easing;return i.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,a(e,u,d)),1===e?(l(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){l(i,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),s=e?"-100":i(n.status||0),c=document.querySelector(r.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},function(t,n){t.exports=e}])},e.exports=r(n(9669))},9669:function(e,t,n){e.exports=n(51609)},55448:function(e,t,n){"use strict";var r=n(64867),o=n(36026),i=n(4372),a=n(15327),s=n(94097),l=n(84109),c=n(67985),u=n(85061);e.exports=function(e){return new Promise((function(t,n){var d=e.data,f=e.headers,p=e.responseType;r.isFormData(d)&&delete f["Content-Type"];var h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";f.Authorization="Basic "+btoa(m+":"+g)}var v=s(e.baseURL,e.url);function b(){if(h){var r="getAllResponseHeaders"in h?l(h.getAllResponseHeaders()):null,i={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,i),h=null}}if(h.open(e.method.toUpperCase(),a(v,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=b:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(b)},h.onabort=function(){h&&(n(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function(){n(u("Network Error",e,null,h)),h=null},h.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var y=(e.withCredentials||c(v))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;y&&(f[e.xsrfHeaderName]=y)}"setRequestHeader"in h&&r.forEach(f,(function(e,t){void 0===d&&"content-type"===t.toLowerCase()?delete f[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),p&&"json"!==p&&(h.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){h&&(h.abort(),n(e),h=null)})),d||(d=null),h.send(d)}))}},51609:function(e,t,n){"use strict";var r=n(64867),o=n(91849),i=n(30321),a=n(47185);function s(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var l=s(n(45655));l.Axios=i,l.create=function(e){return s(a(l.defaults,e))},l.Cancel=n(65263),l.CancelToken=n(14972),l.isCancel=n(26502),l.all=function(e){return Promise.all(e)},l.spread=n(8713),l.isAxiosError=n(16268),e.exports=l,e.exports.default=l},65263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},14972:function(e,t,n){"use strict";var r=n(65263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},26502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},30321:function(e,t,n){"use strict";var r=n(64867),o=n(15327),i=n(80782),a=n(13572),s=n(47185),l=n(54875),c=l.validators;function u(e){this.defaults=e,this.interceptors={request:new i,response:new i}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&l.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var u=[a,void 0];for(Array.prototype.unshift.apply(u,n),u=u.concat(i),o=Promise.resolve(e);u.length;)o=o.then(u.shift(),u.shift());return o}for(var d=e;n.length;){var f=n.shift(),p=n.shift();try{d=f(d)}catch(e){p(e);break}}try{o=a(d)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},u.prototype.getUri=function(e){return e=s(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,n){return this.request(s(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,n,r){return this.request(s(r||{},{method:e,url:t,data:n}))}})),e.exports=u},80782:function(e,t,n){"use strict";var r=n(64867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},94097:function(e,t,n){"use strict";var r=n(91793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},85061:function(e,t,n){"use strict";var r=n(80481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},13572:function(e,t,n){"use strict";var r=n(64867),o=n(18527),i=n(26502),a=n(45655);function s(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return s(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return s(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(s(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},80481:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},47185:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){t=t||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],s=["validateStatus"];function l(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function c(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=l(void 0,t[e]))})),r.forEach(i,c),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=l(void 0,e[o])):n[o]=l(void 0,t[o])})),r.forEach(s,(function(r){r in t?n[r]=l(e[r],t[r]):r in e&&(n[r]=l(void 0,e[r]))}));var u=o.concat(i).concat(a).concat(s),d=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===u.indexOf(e)}));return r.forEach(d,c),n}},36026:function(e,t,n){"use strict";var r=n(85061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},18527:function(e,t,n){"use strict";var r=n(64867),o=n(45655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},45655:function(e,t,n){"use strict";var r=n(34155),o=n(64867),i=n(16016),a=n(80481),s={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var c,u={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(c=n(55448)),c),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e)?e:o.isArrayBufferView(e)?e.buffer:o.isURLSearchParams(e)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):o.isObject(e)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(e,t,n){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,r=t&&t.forcedJSONParsing,i=!n&&"json"===this.responseType;if(i||r&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},o.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){u.headers[e]=o.merge(s)})),e.exports=u},91849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},15327:function(e,t,n){"use strict";var r=n(64867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},91793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},16268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},67985:function(e,t,n){"use strict";var r=n(64867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},16016:function(e,t,n){"use strict";var r=n(64867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},84109:function(e,t,n){"use strict";var r=n(64867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},54875:function(e,t,n){"use strict";var r=n(88593),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function s(e,t){for(var n=t?t.split("."):a,r=e.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(e,t,n){var o=t&&s(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,s){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,s)}},e.exports={isOlderVersion:s,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var s=e[i],l=void 0===s||a(s,i,e);if(!0!==l)throw new TypeError("option "+i+" must be "+l)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},64867:function(e,t,n){"use strict";var r=n(91849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function s(e){return null!==e&&"object"==typeof e}function l(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function u(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:s,isPlainObject:l,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return s(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:u,merge:function e(){var t={};function n(n,r){l(t[r])&&l(n)?t[r]=e(t[r],n):l(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)u(arguments[r],n);return t},extend:function(e,t,n){return u(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},79742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],r=t[1];return 3*(n+r)/4-r},t.toByteArray=function(e){var t,n,i=l(e),a=i[0],s=i[1],c=new o(function(e,t,n){return 3*(t+n)/4-n}(0,a,s)),u=0,d=s>0?a-4:a;for(n=0;n<d;n+=4)t=r[e.charCodeAt(n)]<<18|r[e.charCodeAt(n+1)]<<12|r[e.charCodeAt(n+2)]<<6|r[e.charCodeAt(n+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===s&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===s&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,r=e.length,o=r%3,i=[],a=16383,s=0,l=r-o;s<l;s+=a)i.push(c(e,s,s+a>l?l:s+a));1===o?(t=e[r-1],i.push(n[t>>2]+n[t<<4&63]+"==")):2===o&&(t=(e[r-2]<<8)+e[r-1],i.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return i.join("")};for(var n=[],r=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)n[a]=i[a],r[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function c(e,t,r){for(var o,i,a=[],s=t;s<r;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(n[(i=o)>>18&63]+n[i>>12&63]+n[i>>6&63]+n[63&i]);return a.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},43734:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var o=r(t),i=r(n);function a(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 s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(){return l=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},l.apply(this,arguments)}function c(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,u(e,t)}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}var d="transitionend",f=1e6,p=1e3;function h(e){return null==e?""+e:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function m(){return{bindType:d,delegateType:d,handle:function(e){if(o.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function g(e){var t=this,n=!1;return o.default(this).one(b.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||b.triggerTransitionEnd(t)}),e),this}function v(){o.default.fn.emulateTransitionEnd=g,o.default.event.special[b.TRANSITION_END]=m()}var b={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(Math.random()*f)}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=o.default(e).css("transition-duration"),n=o.default(e).css("transition-delay"),r=parseFloat(t),i=parseFloat(n);return r||i?(t=t.split(",")[0],n=n.split(",")[0],(parseFloat(t)+parseFloat(n))*p):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){o.default(e).trigger(d)},supportsTransitionEnd:function(){return Boolean(d)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r],i=t[r],a=i&&b.isElement(i)?"element":h(i);if(!new RegExp(o).test(a))throw new Error(e.toUpperCase()+': Option "'+r+'" provided type "'+a+'" but expected type "'+o+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?b.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if(void 0===o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=o.default.fn.jquery.split(" ")[0].split("."),t=1,n=2,r=9,i=1,a=4;if(e[0]<n&&e[1]<r||e[0]===t&&e[1]===r&&e[2]<i||e[0]>=a)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};b.jQueryDetection(),v();var y="alert",A="4.6.2",x="bs.alert",C="."+x,_=".data-api",w=o.default.fn[y],k="alert",S="fade",E="show",B="close"+C,O="closed"+C,j="click"+C+_,T='[data-dismiss="alert"]',P=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){o.default.removeData(this._element,x),this._element=null},t._getRootElement=function(e){var t=b.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=o.default(e).closest("."+k)[0]),n},t._triggerCloseEvent=function(e){var t=o.default.Event(B);return o.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(o.default(e).removeClass(E),o.default(e).hasClass(S)){var n=b.getTransitionDurationFromElement(e);o.default(e).one(b.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){o.default(e).detach().trigger(O).remove()},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(x);r||(r=new e(this),n.data(x,r)),"close"===t&&r[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},s(e,null,[{key:"VERSION",get:function(){return A}}]),e}();o.default(document).on(j,T,P._handleDismiss(new P)),o.default.fn[y]=P._jQueryInterface,o.default.fn[y].Constructor=P,o.default.fn[y].noConflict=function(){return o.default.fn[y]=w,P._jQueryInterface};var M="button",D="4.6.2",R="bs.button",L="."+R,I=".data-api",N=o.default.fn[M],F="active",z="btn",q="focus",U="click"+L+I,H="focus"+L+I+" blur"+L+I,W="load"+L+I,V='[data-toggle^="button"]',Y='[data-toggle="buttons"]',Z='[data-toggle="button"]',G='[data-toggle="buttons"] .btn',K='input:not([type="hidden"])',$=".active",X=".btn",Q=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=o.default(this._element).closest(Y)[0];if(n){var r=this._element.querySelector(K);if(r){if("radio"===r.type)if(r.checked&&this._element.classList.contains(F))e=!1;else{var i=n.querySelector($);i&&o.default(i).removeClass(F)}e&&("checkbox"!==r.type&&"radio"!==r.type||(r.checked=!this._element.classList.contains(F)),this.shouldAvoidTriggerChange||o.default(r).trigger("change")),r.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(F)),e&&o.default(this._element).toggleClass(F))},t.dispose=function(){o.default.removeData(this._element,R),this._element=null},e._jQueryInterface=function(t,n){return this.each((function(){var r=o.default(this),i=r.data(R);i||(i=new e(this),r.data(R,i)),i.shouldAvoidTriggerChange=n,"toggle"===t&&i[t]()}))},s(e,null,[{key:"VERSION",get:function(){return D}}]),e}();o.default(document).on(U,V,(function(e){var t=e.target,n=t;if(o.default(t).hasClass(z)||(t=o.default(t).closest(X)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var r=t.querySelector(K);if(r&&(r.hasAttribute("disabled")||r.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||Q._jQueryInterface.call(o.default(t),"toggle","INPUT"===n.tagName)}})).on(H,V,(function(e){var t=o.default(e.target).closest(X)[0];o.default(t).toggleClass(q,/^focus(in)?$/.test(e.type))})),o.default(window).on(W,(function(){for(var e=[].slice.call(document.querySelectorAll(G)),t=0,n=e.length;t<n;t++){var r=e[t],o=r.querySelector(K);o.checked||o.hasAttribute("checked")?r.classList.add(F):r.classList.remove(F)}for(var i=0,a=(e=[].slice.call(document.querySelectorAll(Z))).length;i<a;i++){var s=e[i];"true"===s.getAttribute("aria-pressed")?s.classList.add(F):s.classList.remove(F)}})),o.default.fn[M]=Q._jQueryInterface,o.default.fn[M].Constructor=Q,o.default.fn[M].noConflict=function(){return o.default.fn[M]=N,Q._jQueryInterface};var J="carousel",ee="4.6.2",te="bs.carousel",ne="."+te,re=".data-api",oe=o.default.fn[J],ie=37,ae=39,se=500,le=40,ce="carousel",ue="active",de="slide",fe="carousel-item-right",pe="carousel-item-left",he="carousel-item-next",me="carousel-item-prev",ge="pointer-event",ve="next",be="prev",ye="left",Ae="right",xe="slide"+ne,Ce="slid"+ne,_e="keydown"+ne,we="mouseenter"+ne,ke="mouseleave"+ne,Se="touchstart"+ne,Ee="touchmove"+ne,Be="touchend"+ne,Oe="pointerdown"+ne,je="pointerup"+ne,Te="dragstart"+ne,Pe="load"+ne+re,Me="click"+ne+re,De=".active",Re=".active.carousel-item",Le=".carousel-item",Ie=".carousel-item img",Ne=".carousel-item-next, .carousel-item-prev",Fe=".carousel-indicators",ze="[data-slide], [data-slide-to]",qe='[data-ride="carousel"]',Ue={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},He={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},We={TOUCH:"touch",PEN:"pen"},Ve=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(Fe),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(ve)},t.nextWhenVisible=function(){var e=o.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(be)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(Ne)&&(b.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(Re);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)o.default(this._element).one(Ce,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?ve:be;this._slide(r,this._items[e])}},t.dispose=function(){o.default(this._element).off(ne),o.default.removeData(this._element,te),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=l({},Ue,e),b.typeCheckConfig(J,e,He),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=le)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&o.default(this._element).on(_e,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&o.default(this._element).on(we,(function(t){return e.pause(t)})).on(ke,(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&We[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-e.touchStartX},r=function(t){e._pointerEvent&&We[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),se+e._config.interval))};o.default(this._element.querySelectorAll(Ie)).on(Te,(function(e){return e.preventDefault()})),this._pointerEvent?(o.default(this._element).on(Oe,(function(e){return t(e)})),o.default(this._element).on(je,(function(e){return r(e)})),this._element.classList.add(ge)):(o.default(this._element).on(Se,(function(e){return t(e)})),o.default(this._element).on(Ee,(function(e){return n(e)})),o.default(this._element).on(Be,(function(e){return r(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case ie:e.preventDefault(),this.prev();break;case ae:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(Le)):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===ve,r=e===be,o=this._getItemIndex(t),i=this._items.length-1;if((r&&0===o||n&&o===i)&&!this._config.wrap)return t;var a=(o+(e===be?-1:1))%this._items.length;return-1===a?this._items[this._items.length-1]:this._items[a]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(this._element.querySelector(Re)),i=o.default.Event(xe,{relatedTarget:e,direction:t,from:r,to:n});return o.default(this._element).trigger(i),i},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(De));o.default(t).removeClass(ue);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&o.default(n).addClass(ue)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(Re);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,r,i,a=this,s=this._element.querySelector(Re),l=this._getItemIndex(s),c=t||s&&this._getItemByDirection(e,s),u=this._getItemIndex(c),d=Boolean(this._interval);if(e===ve?(n=pe,r=he,i=ye):(n=fe,r=me,i=Ae),c&&o.default(c).hasClass(ue))this._isSliding=!1;else if(!this._triggerSlideEvent(c,i).isDefaultPrevented()&&s&&c){this._isSliding=!0,d&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var f=o.default.Event(Ce,{relatedTarget:c,direction:i,from:l,to:u});if(o.default(this._element).hasClass(de)){o.default(c).addClass(r),b.reflow(c),o.default(s).addClass(n),o.default(c).addClass(n);var p=b.getTransitionDurationFromElement(s);o.default(s).one(b.TRANSITION_END,(function(){o.default(c).removeClass(n+" "+r).addClass(ue),o.default(s).removeClass(ue+" "+r+" "+n),a._isSliding=!1,setTimeout((function(){return o.default(a._element).trigger(f)}),0)})).emulateTransitionEnd(p)}else o.default(s).removeClass(ue),o.default(c).addClass(ue),this._isSliding=!1,o.default(this._element).trigger(f);d&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this).data(te),r=l({},Ue,o.default(this).data());"object"==typeof t&&(r=l({},r,t));var i="string"==typeof t?t:r.slide;if(n||(n=new e(this,r),o.default(this).data(te,n)),"number"==typeof t)n.to(t);else if("string"==typeof i){if(void 0===n[i])throw new TypeError('No method named "'+i+'"');n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}))},e._dataApiClickHandler=function(t){var n=b.getSelectorFromElement(this);if(n){var r=o.default(n)[0];if(r&&o.default(r).hasClass(ce)){var i=l({},o.default(r).data(),o.default(this).data()),a=this.getAttribute("data-slide-to");a&&(i.interval=!1),e._jQueryInterface.call(o.default(r),i),a&&o.default(r).data(te).to(a),t.preventDefault()}}},s(e,null,[{key:"VERSION",get:function(){return ee}},{key:"Default",get:function(){return Ue}}]),e}();o.default(document).on(Me,ze,Ve._dataApiClickHandler),o.default(window).on(Pe,(function(){for(var e=[].slice.call(document.querySelectorAll(qe)),t=0,n=e.length;t<n;t++){var r=o.default(e[t]);Ve._jQueryInterface.call(r,r.data())}})),o.default.fn[J]=Ve._jQueryInterface,o.default.fn[J].Constructor=Ve,o.default.fn[J].noConflict=function(){return o.default.fn[J]=oe,Ve._jQueryInterface};var Ye="collapse",Ze="4.6.2",Ge="bs.collapse",Ke="."+Ge,$e=".data-api",Xe=o.default.fn[Ye],Qe="show",Je="collapse",et="collapsing",tt="collapsed",nt="width",rt="height",ot="show"+Ke,it="shown"+Ke,at="hide"+Ke,st="hidden"+Ke,lt="click"+Ke+$e,ct=".show, .collapsing",ut='[data-toggle="collapse"]',dt={toggle:!0,parent:""},ft={toggle:"boolean",parent:"(string|element)"},pt=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(ut)),r=0,o=n.length;r<o;r++){var i=n[r],a=b.getSelectorFromElement(i),s=[].slice.call(document.querySelectorAll(a)).filter((function(t){return t===e}));null!==a&&s.length>0&&(this._selector=a,this._triggerArray.push(i))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){o.default(this._element).hasClass(Qe)?this.hide():this.show()},t.show=function(){var t,n,r=this;if(!(this._isTransitioning||o.default(this._element).hasClass(Qe)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(ct)).filter((function(e){return"string"==typeof r._config.parent?e.getAttribute("data-parent")===r._config.parent:e.classList.contains(Je)}))).length&&(t=null),t&&(n=o.default(t).not(this._selector).data(Ge))&&n._isTransitioning))){var i=o.default.Event(ot);if(o.default(this._element).trigger(i),!i.isDefaultPrevented()){t&&(e._jQueryInterface.call(o.default(t).not(this._selector),"hide"),n||o.default(t).data(Ge,null));var a=this._getDimension();o.default(this._element).removeClass(Je).addClass(et),this._element.style[a]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(tt).attr("aria-expanded",!0),this.setTransitioning(!0);var s=function(){o.default(r._element).removeClass(et).addClass(Je+" "+Qe),r._element.style[a]="",r.setTransitioning(!1),o.default(r._element).trigger(it)},l="scroll"+(a[0].toUpperCase()+a.slice(1)),c=b.getTransitionDurationFromElement(this._element);o.default(this._element).one(b.TRANSITION_END,s).emulateTransitionEnd(c),this._element.style[a]=this._element[l]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&o.default(this._element).hasClass(Qe)){var t=o.default.Event(at);if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",b.reflow(this._element),o.default(this._element).addClass(et).removeClass(Je+" "+Qe);var r=this._triggerArray.length;if(r>0)for(var i=0;i<r;i++){var a=this._triggerArray[i],s=b.getSelectorFromElement(a);null!==s&&(o.default([].slice.call(document.querySelectorAll(s))).hasClass(Qe)||o.default(a).addClass(tt).attr("aria-expanded",!1))}this.setTransitioning(!0);var l=function(){e.setTransitioning(!1),o.default(e._element).removeClass(et).addClass(Je).trigger(st)};this._element.style[n]="";var c=b.getTransitionDurationFromElement(this._element);o.default(this._element).one(b.TRANSITION_END,l).emulateTransitionEnd(c)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){o.default.removeData(this._element,Ge),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=l({},dt,e)).toggle=Boolean(e.toggle),b.typeCheckConfig(Ye,e,ft),e},t._getDimension=function(){return o.default(this._element).hasClass(nt)?nt:rt},t._getParent=function(){var t,n=this;b.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var r='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',i=[].slice.call(t.querySelectorAll(r));return o.default(i).each((function(t,r){n._addAriaAndCollapsedClass(e._getTargetFromElement(r),[r])})),t},t._addAriaAndCollapsedClass=function(e,t){var n=o.default(e).hasClass(Qe);t.length&&o.default(t).toggleClass(tt,!n).attr("aria-expanded",n)},e._getTargetFromElement=function(e){var t=b.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(Ge),i=l({},dt,n.data(),"object"==typeof t&&t?t:{});if(!r&&i.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(i.toggle=!1),r||(r=new e(this,i),n.data(Ge,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Ze}},{key:"Default",get:function(){return dt}}]),e}();o.default(document).on(lt,ut,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=o.default(this),n=b.getSelectorFromElement(this),r=[].slice.call(document.querySelectorAll(n));o.default(r).each((function(){var e=o.default(this),n=e.data(Ge)?"toggle":t.data();pt._jQueryInterface.call(e,n)}))})),o.default.fn[Ye]=pt._jQueryInterface,o.default.fn[Ye].Constructor=pt,o.default.fn[Ye].noConflict=function(){return o.default.fn[Ye]=Xe,pt._jQueryInterface};var ht="dropdown",mt="4.6.2",gt="bs.dropdown",vt="."+gt,bt=".data-api",yt=o.default.fn[ht],At=27,xt=32,Ct=9,_t=38,wt=40,kt=3,St=new RegExp(_t+"|"+wt+"|"+At),Et="disabled",Bt="show",Ot="dropup",jt="dropright",Tt="dropleft",Pt="dropdown-menu-right",Mt="position-static",Dt="hide"+vt,Rt="hidden"+vt,Lt="show"+vt,It="shown"+vt,Nt="click"+vt,Ft="click"+vt+bt,zt="keydown"+vt+bt,qt="keyup"+vt+bt,Ut='[data-toggle="dropdown"]',Ht=".dropdown form",Wt=".dropdown-menu",Vt=".navbar-nav",Yt=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Zt="top-start",Gt="top-end",Kt="bottom-start",$t="bottom-end",Xt="right-start",Qt="left-start",Jt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},en={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},tn=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass(Et)){var t=o.default(this._menu).hasClass(Bt);e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||o.default(this._element).hasClass(Et)||o.default(this._menu).hasClass(Bt))){var n={relatedTarget:this._element},r=o.default.Event(Lt,n),a=e._getParentFromElement(this._element);if(o.default(a).trigger(r),!r.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===i.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var s=this._element;"parent"===this._config.reference?s=a:b.isElement(this._config.reference)&&(s=this._config.reference,void 0!==this._config.reference.jquery&&(s=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(a).addClass(Mt),this._popper=new i.default(s,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(a).closest(Vt).length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass(Bt),o.default(a).toggleClass(Bt).trigger(o.default.Event(It,n))}}},t.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass(Et)&&o.default(this._menu).hasClass(Bt)){var t={relatedTarget:this._element},n=o.default.Event(Dt,t),r=e._getParentFromElement(this._element);o.default(r).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass(Bt),o.default(r).toggleClass(Bt).trigger(o.default.Event(Rt,t)))}},t.dispose=function(){o.default.removeData(this._element,gt),o.default(this._element).off(vt),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;o.default(this._element).on(Nt,(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},t._getConfig=function(e){return e=l({},this.constructor.Default,o.default(this._element).data(),e),b.typeCheckConfig(ht,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(Wt))}return this._menu},t._getPlacement=function(){var e=o.default(this._element.parentNode),t=Kt;return e.hasClass(Ot)?t=o.default(this._menu).hasClass(Pt)?Gt:Zt:e.hasClass(jt)?t=Xt:e.hasClass(Tt)?t=Qt:o.default(this._menu).hasClass(Pt)&&(t=$t),t},t._detectNavbar=function(){return o.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),l({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this).data(gt);if(n||(n=new e(this,"object"==typeof t?t:null),o.default(this).data(gt,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._clearMenus=function(t){if(!t||t.which!==kt&&("keyup"!==t.type||t.which===Ct))for(var n=[].slice.call(document.querySelectorAll(Ut)),r=0,i=n.length;r<i;r++){var a=e._getParentFromElement(n[r]),s=o.default(n[r]).data(gt),l={relatedTarget:n[r]};if(t&&"click"===t.type&&(l.clickEvent=t),s){var c=s._menu;if(o.default(a).hasClass(Bt)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&t.which===Ct)&&o.default.contains(a,t.target))){var u=o.default.Event(Dt,l);o.default(a).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),n[r].setAttribute("aria-expanded","false"),s._popper&&s._popper.destroy(),o.default(c).removeClass(Bt),o.default(a).removeClass(Bt).trigger(o.default.Event(Rt,l)))}}}},e._getParentFromElement=function(e){var t,n=b.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?t.which===xt||t.which!==At&&(t.which!==wt&&t.which!==_t||o.default(t.target).closest(Wt).length):!St.test(t.which))&&!this.disabled&&!o.default(this).hasClass(Et)){var n=e._getParentFromElement(this),r=o.default(n).hasClass(Bt);if(r||t.which!==At){if(t.preventDefault(),t.stopPropagation(),!r||t.which===At||t.which===xt)return t.which===At&&o.default(n.querySelector(Ut)).trigger("focus"),void o.default(this).trigger("click");var i=[].slice.call(n.querySelectorAll(Yt)).filter((function(e){return o.default(e).is(":visible")}));if(0!==i.length){var a=i.indexOf(t.target);t.which===_t&&a>0&&a--,t.which===wt&&a<i.length-1&&a++,a<0&&(a=0),i[a].focus()}}}},s(e,null,[{key:"VERSION",get:function(){return mt}},{key:"Default",get:function(){return Jt}},{key:"DefaultType",get:function(){return en}}]),e}();o.default(document).on(zt,Ut,tn._dataApiKeydownHandler).on(zt,Wt,tn._dataApiKeydownHandler).on(Ft+" "+qt,tn._clearMenus).on(Ft,Ut,(function(e){e.preventDefault(),e.stopPropagation(),tn._jQueryInterface.call(o.default(this),"toggle")})).on(Ft,Ht,(function(e){e.stopPropagation()})),o.default.fn[ht]=tn._jQueryInterface,o.default.fn[ht].Constructor=tn,o.default.fn[ht].noConflict=function(){return o.default.fn[ht]=yt,tn._jQueryInterface};var nn="modal",rn="4.6.2",on="bs.modal",an="."+on,sn=".data-api",ln=o.default.fn[nn],cn=27,un="modal-dialog-scrollable",dn="modal-scrollbar-measure",fn="modal-backdrop",pn="modal-open",hn="fade",mn="show",gn="modal-static",vn="hide"+an,bn="hidePrevented"+an,yn="hidden"+an,An="show"+an,xn="shown"+an,Cn="focusin"+an,_n="resize"+an,wn="click.dismiss"+an,kn="keydown.dismiss"+an,Sn="mouseup.dismiss"+an,En="mousedown.dismiss"+an,Bn="click"+an+sn,On=".modal-dialog",jn=".modal-body",Tn='[data-toggle="modal"]',Pn='[data-dismiss="modal"]',Mn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Dn=".sticky-top",Rn={backdrop:!0,keyboard:!0,focus:!0,show:!0},Ln={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},In=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(On),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){var n=o.default.Event(An,{relatedTarget:e});o.default(this._element).trigger(n),n.isDefaultPrevented()||(this._isShown=!0,o.default(this._element).hasClass(hn)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on(wn,Pn,(function(e){return t.hide(e)})),o.default(this._dialog).on(En,(function(){o.default(t._element).one(Sn,(function(e){o.default(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=o.default.Event(vn);if(o.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var r=o.default(this._element).hasClass(hn);if(r&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off(Cn),o.default(this._element).removeClass(mn),o.default(this._element).off(wn),o.default(this._dialog).off(En),r){var i=b.getTransitionDurationFromElement(this._element);o.default(this._element).one(b.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(i)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return o.default(e).off(an)})),o.default(document).off(Cn),o.default.removeData(this._element,on),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=l({},Rn,e),b.typeCheckConfig(nn,e,Ln),e},t._triggerBackdropTransition=function(){var e=this,t=o.default.Event(bn);if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(gn);var r=b.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(b.TRANSITION_END),o.default(this._element).one(b.TRANSITION_END,(function(){e._element.classList.remove(gn),n||o.default(e._element).one(b.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,r)})).emulateTransitionEnd(r),this._element.focus()}},t._showElement=function(e){var t=this,n=o.default(this._element).hasClass(hn),r=this._dialog?this._dialog.querySelector(jn):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass(un)&&r?r.scrollTop=0:this._element.scrollTop=0,n&&b.reflow(this._element),o.default(this._element).addClass(mn),this._config.focus&&this._enforceFocus();var i=o.default.Event(xn,{relatedTarget:e}),a=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,o.default(t._element).trigger(i)};if(n){var s=b.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(b.TRANSITION_END,a).emulateTransitionEnd(s)}else a()},t._enforceFocus=function(){var e=this;o.default(document).off(Cn).on(Cn,(function(t){document!==t.target&&e._element!==t.target&&0===o.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?o.default(this._element).on(kn,(function(t){e._config.keyboard&&t.which===cn?(t.preventDefault(),e.hide()):e._config.keyboard||t.which!==cn||e._triggerBackdropTransition()})):this._isShown||o.default(this._element).off(kn)},t._setResizeEvent=function(){var e=this;this._isShown?o.default(window).on(_n,(function(t){return e.handleUpdate(t)})):o.default(window).off(_n)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass(pn),e._resetAdjustments(),e._resetScrollbar(),o.default(e._element).trigger(yn)}))},t._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=o.default(this._element).hasClass(hn)?hn:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className=fn,n&&this._backdrop.classList.add(n),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(wn,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),n&&b.reflow(this._backdrop),o.default(this._backdrop).addClass(mn),!e)return;if(!n)return void e();var r=b.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(b.TRANSITION_END,e).emulateTransitionEnd(r)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(mn);var i=function(){t._removeBackdrop(),e&&e()};if(o.default(this._element).hasClass(hn)){var a=b.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(b.TRANSITION_END,i).emulateTransitionEnd(a)}else i()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(Mn)),n=[].slice.call(document.querySelectorAll(Dn));o.default(t).each((function(t,n){var r=n.style.paddingRight,i=o.default(n).css("padding-right");o.default(n).data("padding-right",r).css("padding-right",parseFloat(i)+e._scrollbarWidth+"px")})),o.default(n).each((function(t,n){var r=n.style.marginRight,i=o.default(n).css("margin-right");o.default(n).data("margin-right",r).css("margin-right",parseFloat(i)-e._scrollbarWidth+"px")}));var r=document.body.style.paddingRight,i=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",r).css("padding-right",parseFloat(i)+this._scrollbarWidth+"px")}o.default(document.body).addClass(pn)},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(Mn));o.default(e).each((function(e,t){var n=o.default(t).data("padding-right");o.default(t).removeData("padding-right"),t.style.paddingRight=n||""}));var t=[].slice.call(document.querySelectorAll(""+Dn));o.default(t).each((function(e,t){var n=o.default(t).data("margin-right");void 0!==n&&o.default(t).css("margin-right",n).removeData("margin-right")}));var n=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className=dn,document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,n){return this.each((function(){var r=o.default(this).data(on),i=l({},Rn,o.default(this).data(),"object"==typeof t&&t?t:{});if(r||(r=new e(this,i),o.default(this).data(on,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t](n)}else i.show&&r.show(n)}))},s(e,null,[{key:"VERSION",get:function(){return rn}},{key:"Default",get:function(){return Rn}}]),e}();o.default(document).on(Bn,Tn,(function(e){var t,n=this,r=b.getSelectorFromElement(this);r&&(t=document.querySelector(r));var i=o.default(t).data(on)?"toggle":l({},o.default(t).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var a=o.default(t).one(An,(function(e){e.isDefaultPrevented()||a.one(yn,(function(){o.default(n).is(":visible")&&n.focus()}))}));In._jQueryInterface.call(o.default(t),i,this)})),o.default.fn[nn]=In._jQueryInterface,o.default.fn[nn].Constructor=In,o.default.fn[nn].noConflict=function(){return o.default.fn[nn]=ln,In._jQueryInterface};var Nn=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Fn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},zn=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,qn=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Un(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Nn.indexOf(n)||Boolean(zn.test(e.nodeValue)||qn.test(e.nodeValue));for(var r=t.filter((function(e){return e instanceof RegExp})),o=0,i=r.length;o<i;o++)if(r[o].test(n))return!0;return!1}function Hn(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var r=(new window.DOMParser).parseFromString(e,"text/html"),o=Object.keys(t),i=[].slice.call(r.body.querySelectorAll("*")),a=function(e,n){var r=i[e],a=r.nodeName.toLowerCase();if(-1===o.indexOf(r.nodeName.toLowerCase()))return r.parentNode.removeChild(r),"continue";var s=[].slice.call(r.attributes),l=[].concat(t["*"]||[],t[a]||[]);s.forEach((function(e){Un(e,l)||r.removeAttribute(e.nodeName)}))},s=0,l=i.length;s<l;s++)a(s);return r.body.innerHTML}var Wn="tooltip",Vn="4.6.2",Yn="bs.tooltip",Zn="."+Yn,Gn=o.default.fn[Wn],Kn="bs-tooltip",$n=new RegExp("(^|\\s)"+Kn+"\\S+","g"),Xn=["sanitize","whiteList","sanitizeFn"],Qn="fade",Jn="show",er="show",tr="out",nr=".tooltip-inner",rr=".arrow",or="hover",ir="focus",ar="click",sr="manual",lr={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},cr={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:Fn,popperConfig:null},ur={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},dr={HIDE:"hide"+Zn,HIDDEN:"hidden"+Zn,SHOW:"show"+Zn,SHOWN:"shown"+Zn,INSERTED:"inserted"+Zn,CLICK:"click"+Zn,FOCUSIN:"focusin"+Zn,FOCUSOUT:"focusout"+Zn,MOUSEENTER:"mouseenter"+Zn,MOUSELEAVE:"mouseleave"+Zn},fr=function(){function e(e,t){if(void 0===i.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=o.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o.default(this.getTipElement()).hasClass(Jn))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(t);var n=b.findShadowRoot(this.element),r=o.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!r)return;var a=this.getTipElement(),s=b.getUID(this.constructor.NAME);a.setAttribute("id",s),this.element.setAttribute("aria-describedby",s),this.setContent(),this.config.animation&&o.default(a).addClass(Qn);var l="function"==typeof this.config.placement?this.config.placement.call(this,a,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var u=this._getContainer();o.default(a).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(a).appendTo(u),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new i.default(this.element,a,this._getPopperConfig(c)),o.default(a).addClass(Jn),o.default(a).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var d=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,o.default(e.element).trigger(e.constructor.Event.SHOWN),t===tr&&e._leave(null,e)};if(o.default(this.tip).hasClass(Qn)){var f=b.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(b.TRANSITION_END,d).emulateTransitionEnd(f)}else d()}},t.hide=function(e){var t=this,n=this.getTipElement(),r=o.default.Event(this.constructor.Event.HIDE),i=function(){t._hoverState!==er&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),o.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(o.default(this.element).trigger(r),!r.isDefaultPrevented()){if(o.default(n).removeClass(Jn),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger[ar]=!1,this._activeTrigger[ir]=!1,this._activeTrigger[or]=!1,o.default(this.tip).hasClass(Qn)){var a=b.getTransitionDurationFromElement(n);o.default(n).one(b.TRANSITION_END,i).emulateTransitionEnd(a)}else i();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){o.default(this.getTipElement()).addClass(Kn+"-"+e)},t.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(o.default(e.querySelectorAll(nr)),this.getTitle()),o.default(e).removeClass(Qn+" "+Jn)},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Hn(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?o.default(t).parent().is(e)||e.empty().append(t):e.text(o.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:rr},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:b.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},t._getAttachment=function(e){return lr[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)o.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if(t!==sr){var n=t===or?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===or?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;o.default(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(r,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||o.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?ir:or]=!0),o.default(t.getTipElement()).hasClass(Jn)||t._hoverState===er?t._hoverState=er:(clearTimeout(t._timeout),t._hoverState=er,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===er&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||o.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),o.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?ir:or]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=tr,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===tr&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=o.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Xn.indexOf(e)&&delete t[e]})),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),b.typeCheckConfig(Wn,e,this.constructor.DefaultType),e.sanitize&&(e.template=Hn(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=o.default(this.getTipElement()),t=e.attr("class").match($n);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(o.default(e).removeClass(Qn),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(Yn),i="object"==typeof t&&t;if((r||!/dispose|hide/.test(t))&&(r||(r=new e(this,i),n.data(Yn,r)),"string"==typeof t)){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Vn}},{key:"Default",get:function(){return cr}},{key:"NAME",get:function(){return Wn}},{key:"DATA_KEY",get:function(){return Yn}},{key:"Event",get:function(){return dr}},{key:"EVENT_KEY",get:function(){return Zn}},{key:"DefaultType",get:function(){return ur}}]),e}();o.default.fn[Wn]=fr._jQueryInterface,o.default.fn[Wn].Constructor=fr,o.default.fn[Wn].noConflict=function(){return o.default.fn[Wn]=Gn,fr._jQueryInterface};var pr="popover",hr="4.6.2",mr="bs.popover",gr="."+mr,vr=o.default.fn[pr],br="bs-popover",yr=new RegExp("(^|\\s)"+br+"\\S+","g"),Ar="fade",xr="show",Cr=".popover-header",_r=".popover-body",wr=l({},fr.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),kr=l({},fr.DefaultType,{content:"(string|element|function)"}),Sr={HIDE:"hide"+gr,HIDDEN:"hidden"+gr,SHOW:"show"+gr,SHOWN:"shown"+gr,INSERTED:"inserted"+gr,CLICK:"click"+gr,FOCUSIN:"focusin"+gr,FOCUSOUT:"focusout"+gr,MOUSEENTER:"mouseenter"+gr,MOUSELEAVE:"mouseleave"+gr},Er=function(e){function t(){return e.apply(this,arguments)||this}c(t,e);var n=t.prototype;return n.isWithContent=function(){return this.getTitle()||this._getContent()},n.addAttachmentClass=function(e){o.default(this.getTipElement()).addClass(br+"-"+e)},n.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},n.setContent=function(){var e=o.default(this.getTipElement());this.setElementContent(e.find(Cr),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(_r),t),e.removeClass(Ar+" "+xr)},n._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},n._cleanTipClass=function(){var e=o.default(this.getTipElement()),t=e.attr("class").match(yr);null!==t&&t.length>0&&e.removeClass(t.join(""))},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(mr),r="object"==typeof e?e:null;if((n||!/dispose|hide/.test(e))&&(n||(n=new t(this,r),o.default(this).data(mr,n)),"string"==typeof e)){if(void 0===n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},s(t,null,[{key:"VERSION",get:function(){return hr}},{key:"Default",get:function(){return wr}},{key:"NAME",get:function(){return pr}},{key:"DATA_KEY",get:function(){return mr}},{key:"Event",get:function(){return Sr}},{key:"EVENT_KEY",get:function(){return gr}},{key:"DefaultType",get:function(){return kr}}]),t}(fr);o.default.fn[pr]=Er._jQueryInterface,o.default.fn[pr].Constructor=Er,o.default.fn[pr].noConflict=function(){return o.default.fn[pr]=vr,Er._jQueryInterface};var Br="scrollspy",Or="4.6.2",jr="bs.scrollspy",Tr="."+jr,Pr=".data-api",Mr=o.default.fn[Br],Dr="dropdown-item",Rr="active",Lr="activate"+Tr,Ir="scroll"+Tr,Nr="load"+Tr+Pr,Fr="offset",zr="position",qr='[data-spy="scroll"]',Ur=".nav, .list-group",Hr=".nav-link",Wr=".nav-item",Vr=".list-group-item",Yr=".dropdown",Zr=".dropdown-item",Gr=".dropdown-toggle",Kr={offset:10,method:"auto",target:""},$r={offset:"number",method:"string",target:"(string|element)"},Xr=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" "+Hr+","+this._config.target+" "+Vr+","+this._config.target+" "+Zr,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on(Ir,(function(e){return n._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?Fr:zr,n="auto"===this._config.method?t:this._config.method,r=n===zr?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,i=b.getSelectorFromElement(e);if(i&&(t=document.querySelector(i)),t){var a=t.getBoundingClientRect();if(a.width||a.height)return[o.default(t)[n]().top+r,i]}return null})).filter(Boolean).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){o.default.removeData(this._element,jr),o.default(this._scrollElement).off(Tr),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=l({},Kr,"object"==typeof e&&e?e:{})).target&&b.isElement(e.target)){var t=o.default(e.target).attr("id");t||(t=b.getUID(Br),o.default(e.target).attr("id",t)),e.target="#"+t}return b.typeCheckConfig(Br,e,$r),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&e>=this._offsets[o]&&(void 0===this._offsets[o+1]||e<this._offsets[o+1])&&this._activate(this._targets[o])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),n=o.default([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass(Dr)?(n.closest(Yr).find(Gr).addClass(Rr),n.addClass(Rr)):(n.addClass(Rr),n.parents(Ur).prev(Hr+", "+Vr).addClass(Rr),n.parents(Ur).prev(Wr).children(Hr).addClass(Rr)),o.default(this._scrollElement).trigger(Lr,{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(Rr)})).forEach((function(e){return e.classList.remove(Rr)}))},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this).data(jr);if(n||(n=new e(this,"object"==typeof t&&t),o.default(this).data(jr,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Or}},{key:"Default",get:function(){return Kr}}]),e}();o.default(window).on(Nr,(function(){for(var e=[].slice.call(document.querySelectorAll(qr)),t=e.length;t--;){var n=o.default(e[t]);Xr._jQueryInterface.call(n,n.data())}})),o.default.fn[Br]=Xr._jQueryInterface,o.default.fn[Br].Constructor=Xr,o.default.fn[Br].noConflict=function(){return o.default.fn[Br]=Mr,Xr._jQueryInterface};var Qr="tab",Jr="4.6.2",eo="bs.tab",to="."+eo,no=".data-api",ro=o.default.fn[Qr],oo="dropdown-menu",io="active",ao="disabled",so="fade",lo="show",co="hide"+to,uo="hidden"+to,fo="show"+to,po="shown"+to,ho="click"+to+no,mo=".dropdown",go=".nav, .list-group",vo=".active",bo="> li > .active",yo='[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',Ao=".dropdown-toggle",xo="> .dropdown-menu .active",Co=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass(io)||o.default(this._element).hasClass(ao)||this._element.hasAttribute("disabled"))){var t,n,r=o.default(this._element).closest(go)[0],i=b.getSelectorFromElement(this._element);if(r){var a="UL"===r.nodeName||"OL"===r.nodeName?bo:vo;n=(n=o.default.makeArray(o.default(r).find(a)))[n.length-1]}var s=o.default.Event(co,{relatedTarget:this._element}),l=o.default.Event(fo,{relatedTarget:n});if(n&&o.default(n).trigger(s),o.default(this._element).trigger(l),!l.isDefaultPrevented()&&!s.isDefaultPrevented()){i&&(t=document.querySelector(i)),this._activate(this._element,r);var c=function(){var t=o.default.Event(uo,{relatedTarget:e._element}),r=o.default.Event(po,{relatedTarget:n});o.default(n).trigger(t),o.default(e._element).trigger(r)};t?this._activate(t,t.parentNode,c):c()}}},t.dispose=function(){o.default.removeData(this._element,eo),this._element=null},t._activate=function(e,t,n){var r=this,i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?o.default(t).children(vo):o.default(t).find(bo))[0],a=n&&i&&o.default(i).hasClass(so),s=function(){return r._transitionComplete(e,i,n)};if(i&&a){var l=b.getTransitionDurationFromElement(i);o.default(i).removeClass(lo).one(b.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},t._transitionComplete=function(e,t,n){if(t){o.default(t).removeClass(io);var r=o.default(t.parentNode).find(xo)[0];r&&o.default(r).removeClass(io),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}o.default(e).addClass(io),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),b.reflow(e),e.classList.contains(so)&&e.classList.add(lo);var i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&o.default(i).hasClass(oo)){var a=o.default(e).closest(mo)[0];if(a){var s=[].slice.call(a.querySelectorAll(Ao));o.default(s).addClass(io)}e.setAttribute("aria-expanded",!0)}n&&n()},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(eo);if(r||(r=new e(this),n.data(eo,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t]()}}))},s(e,null,[{key:"VERSION",get:function(){return Jr}}]),e}();o.default(document).on(ho,yo,(function(e){e.preventDefault(),Co._jQueryInterface.call(o.default(this),"show")})),o.default.fn[Qr]=Co._jQueryInterface,o.default.fn[Qr].Constructor=Co,o.default.fn[Qr].noConflict=function(){return o.default.fn[Qr]=ro,Co._jQueryInterface};var _o="toast",wo="4.6.2",ko="bs.toast",So="."+ko,Eo=o.default.fn[_o],Bo="fade",Oo="hide",jo="show",To="showing",Po="click.dismiss"+So,Mo="hide"+So,Do="hidden"+So,Ro="show"+So,Lo="shown"+So,Io='[data-dismiss="toast"]',No={animation:!0,autohide:!0,delay:500},Fo={animation:"boolean",autohide:"boolean",delay:"number"},zo=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this,t=o.default.Event(Ro);if(o.default(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add(Bo);var n=function(){e._element.classList.remove(To),e._element.classList.add(jo),o.default(e._element).trigger(Lo),e._config.autohide&&(e._timeout=setTimeout((function(){e.hide()}),e._config.delay))};if(this._element.classList.remove(Oo),b.reflow(this._element),this._element.classList.add(To),this._config.animation){var r=b.getTransitionDurationFromElement(this._element);o.default(this._element).one(b.TRANSITION_END,n).emulateTransitionEnd(r)}else n()}},t.hide=function(){if(this._element.classList.contains(jo)){var e=o.default.Event(Mo);o.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},t.dispose=function(){this._clearTimeout(),this._element.classList.contains(jo)&&this._element.classList.remove(jo),o.default(this._element).off(Po),o.default.removeData(this._element,ko),this._element=null,this._config=null},t._getConfig=function(e){return e=l({},No,o.default(this._element).data(),"object"==typeof e&&e?e:{}),b.typeCheckConfig(_o,e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;o.default(this._element).on(Po,Io,(function(){return e.hide()}))},t._close=function(){var e=this,t=function(){e._element.classList.add(Oo),o.default(e._element).trigger(Do)};if(this._element.classList.remove(jo),this._config.animation){var n=b.getTransitionDurationFromElement(this._element);o.default(this._element).one(b.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function(t){return this.each((function(){var n=o.default(this),r=n.data(ko);if(r||(r=new e(this,"object"==typeof t&&t),n.data(ko,r)),"string"==typeof t){if(void 0===r[t])throw new TypeError('No method named "'+t+'"');r[t](this)}}))},s(e,null,[{key:"VERSION",get:function(){return wo}},{key:"DefaultType",get:function(){return Fo}},{key:"Default",get:function(){return No}}]),e}();o.default.fn[_o]=zo._jQueryInterface,o.default.fn[_o].Constructor=zo,o.default.fn[_o].noConflict=function(){return o.default.fn[_o]=Eo,zo._jQueryInterface},e.Alert=P,e.Button=Q,e.Carousel=Ve,e.Collapse=pt,e.Dropdown=tn,e.Modal=In,e.Popover=Er,e.Scrollspy=Xr,e.Tab=Co,e.Toast=zo,e.Tooltip=fr,e.Util=b,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(19755),n(28981))},48764:function(e,t,n){"use strict";var r=n(79742),o=n(80645),i=n(5826);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=l.prototype:(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,n){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(e,t,n);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return d(this,e)}return c(this,e,t,n)}function c(e,t,n,r){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError("'offset' is out of bounds");if(t.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r);l.TYPED_ARRAY_SUPPORT?(e=t).__proto__=l.prototype:e=f(e,t);return e}(e,t,n,r):"string"==typeof t?function(e,t,n){"string"==typeof n&&""!==n||(n="utf8");if(!l.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|h(t,n),o=(e=s(e,r)).write(t,n);o!==r&&(e=e.slice(0,o));return e}(e,t,n):function(e,t){if(l.isBuffer(t)){var n=0|p(t.length);return 0===(e=s(e,n)).length||t.copy(e,0,0,n),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(r=t.length)!=r?s(e,0):f(e,t);if("Buffer"===t.type&&i(t.data))return f(e,t.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function d(e,t){if(u(t),e=s(e,t<0?0:0|p(t)),!l.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=s(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return q(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return q(e).length;t=(""+t).toLowerCase(),r=!0}}function m(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return j(this,t,n);case"utf8":case"utf-8":return S(this,t,n);case"ascii":return B(this,t,n);case"latin1":case"binary":return O(this,t,n);case"base64":return k(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function v(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=l.from(t,r)),l.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,o);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function b(e,t,n,r,o){var i,a=1,s=e.length,l=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,n/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(n+l>s&&(n=s-l),i=n;i>=0;i--){for(var d=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){d=!1;break}if(d)return i}return-1}function y(e,t,n,r){n=Number(n)||0;var o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function A(e,t,n,r){return H(q(t,e.length-n),e,n,r)}function x(e,t,n,r){return H(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,r)}function C(e,t,n,r){return x(e,t,n,r)}function _(e,t,n,r){return H(U(t),e,n,r)}function w(e,t,n,r){return H(function(e,t){for(var n,r,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)r=(n=e.charCodeAt(a))>>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function k(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function S(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o<n;){var i,a,s,l,c=e[o],u=null,d=c>239?4:c>223?3:c>191?2:1;if(o+d<=n)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=E)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=E));return n}(r)}t.lW=l,t.h2=50,l.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,n){return c(null,e,t,n)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,n){return function(e,t,n,r){return u(t),t<=0?s(e,t):void 0!==n?"string"==typeof r?s(e,t).fill(n,r):s(e,t).fill(n):s(e,t)}(null,e,t,n)},l.allocUnsafe=function(e){return d(null,e)},l.allocUnsafeSlow=function(e){return d(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,i=Math.min(n,r);o<i;++o)if(e[o]!==t[o]){n=e[o],r=t[o];break}return n<r?-1:r<n?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=l.allocUnsafe(t),o=0;for(n=0;n<e.length;++n){var a=e[n];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,o),o+=a.length}return r},l.byteLength=h,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)g(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)g(this,t,t+3),g(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)g(this,t,t+7),g(this,t+1,t+6),g(this,t+2,t+5),g(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?S(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",n=t.h2;return this.length>0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),"<Buffer "+e+">"},l.prototype.compare=function(e,t,n,r,o){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(r,o),u=e.slice(t,n),d=0;d<s;++d)if(c[d]!==u[d]){i=c[d],a=u[d];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},l.prototype.indexOf=function(e,t,n){return v(this,e,t,n,!0)},l.prototype.lastIndexOf=function(e,t,n){return v(this,e,t,n,!1)},l.prototype.write=function(e,t,n,r){if(void 0===t)r="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var o=this.length-t;if((void 0===n||n>o)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return A(this,e,t,n);case"ascii":return x(this,e,t,n);case"latin1":case"binary":return C(this,e,t,n);case"base64":return _(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var E=4096;function B(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(127&e[o]);return r}function O(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;o<n;++o)r+=String.fromCharCode(e[o]);return r}function j(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var o="",i=t;i<n;++i)o+=z(e[i]);return o}function T(e,t,n){for(var r=e.slice(t,n),o="",i=0;i<r.length;i+=2)o+=String.fromCharCode(r[i]+256*r[i+1]);return o}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>n)throw new RangeError("Trying to access beyond buffer length")}function M(e,t,n,r,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(n+r>e.length)throw new RangeError("Index out of range")}function D(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o<i;++o)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function R(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o<i;++o)e[n+o]=t>>>8*(r?o:3-o)&255}function L(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,r,i){return i||L(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,i){return i||L(e,0,n,8),o.write(e,t,n,r,52,8),n+8}l.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)(n=this.subarray(e,t)).__proto__=l.prototype;else{var o=t-e;n=new l(o,void 0);for(var i=0;i<o;++i)n[i]=this[i+e]}return n},l.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r},l.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],o=1;t>0&&(o*=256);)r+=this[e+--t]*o;return r},l.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],o=1,i=0;++i<t&&(o*=256);)r+=this[e+i]*o;return r>=(o*=128)&&(r-=Math.pow(2,8*t)),r},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i<n&&(o*=256);)this[t+i]=e/o&255;return t+n},l.prototype.writeUIntBE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||M(this,e,t,n,Math.pow(2,8*n)-1,0);var o=n-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):R(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);M(this,e,t,n,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<n&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);M(this,e,t,n,o-1,-o)}var i=n-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):R(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||M(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):R(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var o,i=r-n;if(this===e&&n<t&&t<r)for(o=i-1;o>=0;--o)e[o+t]=this[o+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+i),t);return i},l.prototype.fill=function(e,t,n,r){if("string"==typeof e){if("string"==typeof t?(r=t,t=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!l.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var i;if(t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i<n;++i)this[i]=e;else{var a=l.isBuffer(e)?e:q(new l(e,r).toString()),s=a.length;for(i=0;i<n-t;++i)this[i+t]=a[i%s]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function z(e){return e<16?"0"+e.toString(16):e.toString(16)}function q(e,t){var n;t=t||1/0;for(var r=e.length,o=null,i=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var o=0;o<r&&!(o+n>=t.length||o>=e.length);++o)t[o+n]=e[o];return o}},21924:function(e,t,n){"use strict";var r=n(40210),o=n(55559),i=o(r("String.prototype.indexOf"));e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&i(e,".prototype.")>-1?o(n):n}},55559:function(e,t,n){"use strict";var r=n(58612),o=n(40210),i=n(67771),a=n(14453),s=o("%Function.prototype.apply%"),l=o("%Function.prototype.call%"),c=o("%Reflect.apply%",!0)||r.call(l,s),u=n(24429),d=o("%Math.max%");e.exports=function(e){if("function"!=typeof e)throw new a("a function is required");var t=c(r,l,arguments);return i(t,1+d(0,e.length-(arguments.length-1)),!0)};var f=function(){return c(r,s,arguments)};u?u(e.exports,"apply",{value:f}):e.exports.apply=f},17757:function(e,t,n){e.exports=function(e){"use strict";function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(e){return e&&e.default||e}e=e&&e.hasOwnProperty("default")?e.default:e;var r={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},o=t((function(e){var t={};for(var n in r)r.hasOwnProperty(n)&&(t[r[n]]=n);var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var i in o)if(o.hasOwnProperty(i)){if(!("channels"in o[i]))throw new Error("missing channels property: "+i);if(!("labels"in o[i]))throw new Error("missing channel labels property: "+i);if(o[i].labels.length!==o[i].channels)throw new Error("channel and label counts mismatch: "+i);var a=o[i].channels,s=o[i].labels;delete o[i].channels,delete o[i].labels,Object.defineProperty(o[i],"channels",{value:a}),Object.defineProperty(o[i],"labels",{value:s})}function l(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)+Math.pow(e[2]-t[2],2)}o.rgb.hsl=function(e){var t,n,r=e[0]/255,o=e[1]/255,i=e[2]/255,a=Math.min(r,o,i),s=Math.max(r,o,i),l=s-a;return s===a?t=0:r===s?t=(o-i)/l:o===s?t=2+(i-r)/l:i===s&&(t=4+(r-o)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(a+s)/2,[t,100*(s===a?0:n<=.5?l/(s+a):l/(2-s-a)),100*n]},o.rgb.hsv=function(e){var t,n,r,o,i,a=e[0]/255,s=e[1]/255,l=e[2]/255,c=Math.max(a,s,l),u=c-Math.min(a,s,l),d=function(e){return(c-e)/6/u+.5};return 0===u?o=i=0:(i=u/c,t=d(a),n=d(s),r=d(l),a===c?o=r-n:s===c?o=1/3+t-r:l===c&&(o=2/3+n-t),o<0?o+=1:o>1&&(o-=1)),[360*o,100*i,100*c]},o.rgb.hwb=function(e){var t=e[0],n=e[1],r=e[2];return[o.rgb.hsl(e)[0],1/255*Math.min(t,Math.min(n,r))*100,100*(r=1-1/255*Math.max(t,Math.max(n,r)))]},o.rgb.cmyk=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-r,1-o)))/(1-t)||0),100*((1-r-t)/(1-t)||0),100*((1-o-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var n=t[e];if(n)return n;var o,i=1/0;for(var a in r)if(r.hasOwnProperty(a)){var s=l(e,r[a]);s<i&&(i=s,o=a)}return o},o.keyword.rgb=function(e){return r[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,r=e[2]/255;return[100*(.4124*(t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92)),100*(.2126*t+.7152*n+.0722*r),100*(.0193*t+.1192*n+.9505*r)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),n=t[0],r=t[1],i=t[2];return r/=100,i/=108.883,n=(n/=95.047)>.008856?Math.pow(n,1/3):7.787*n+16/116,[116*(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116)-16,500*(n-r),200*(r-(i=i>.008856?Math.pow(i,1/3):7.787*i+16/116))]},o.hsl.rgb=function(e){var t,n,r,o,i,a=e[0]/360,s=e[1]/100,l=e[2]/100;if(0===s)return[i=255*l,i,i];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),o=[0,0,0];for(var c=0;c<3;c++)(r=a+1/3*-(c-1))<0&&r++,r>1&&r--,i=6*r<1?t+6*(n-t)*r:2*r<1?n:3*r<2?t+(n-t)*(2/3-r)*6:t,o[c]=255*i;return o},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,r=e[2]/100,o=n,i=Math.max(r,.01);return n*=(r*=2)<=1?r:2-r,o*=i<=1?i:2-i,[t,100*(0===r?2*o/(i+o):2*n/(r+n)),(r+n)/2*100]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,r=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),a=255*r*(1-n),s=255*r*(1-n*i),l=255*r*(1-n*(1-i));switch(r*=255,o){case 0:return[r,l,a];case 1:return[s,r,a];case 2:return[a,r,l];case 3:return[a,s,r];case 4:return[l,a,r];case 5:return[r,a,s]}},o.hsv.hsl=function(e){var t,n,r,o=e[0],i=e[1]/100,a=e[2]/100,s=Math.max(a,.01);return r=(2-i)*a,n=i*s,[o,100*(n=(n/=(t=(2-i)*s)<=1?t:2-t)||0),100*(r/=2)]},o.hwb.rgb=function(e){var t,n,r,o,i,a,s,l=e[0]/360,c=e[1]/100,u=e[2]/100,d=c+u;switch(d>1&&(c/=d,u/=d),r=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(r=1-r),o=c+r*((n=1-u)-c),t){default:case 6:case 0:i=n,a=o,s=c;break;case 1:i=o,a=n,s=c;break;case 2:i=c,a=n,s=o;break;case 3:i=c,a=o,s=n;break;case 4:i=o,a=c,s=n;break;case 5:i=n,a=c,s=o}return[255*i,255*a,255*s]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,r=e[2]/100,o=e[3]/100;return[255*(1-Math.min(1,t*(1-o)+o)),255*(1-Math.min(1,n*(1-o)+o)),255*(1-Math.min(1,r*(1-o)+o))]},o.xyz.rgb=function(e){var t,n,r,o=e[0]/100,i=e[1]/100,a=e[2]/100;return n=-.9689*o+1.8758*i+.0415*a,r=.0557*o+-.204*i+1.057*a,t=(t=3.2406*o+-1.5372*i+-.4986*a)>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=n>.0031308?1.055*Math.pow(n,1/2.4)-.055:12.92*n,r=r>.0031308?1.055*Math.pow(r,1/2.4)-.055:12.92*r,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(r=Math.min(Math.max(0,r),1))]},o.xyz.lab=function(e){var t=e[0],n=e[1],r=e[2];return n/=100,r/=108.883,t=(t/=95.047)>.008856?Math.pow(t,1/3):7.787*t+16/116,[116*(n=n>.008856?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(r=r>.008856?Math.pow(r,1/3):7.787*r+16/116))]},o.lab.xyz=function(e){var t,n,r,o=e[0];t=e[1]/500+(n=(o+16)/116),r=n-e[2]/200;var i=Math.pow(n,3),a=Math.pow(t,3),s=Math.pow(r,3);return n=i>.008856?i:(n-16/116)/7.787,t=a>.008856?a:(t-16/116)/7.787,r=s>.008856?s:(r-16/116)/7.787,[t*=95.047,n*=100,r*=108.883]},o.lab.lch=function(e){var t,n=e[0],r=e[1],o=e[2];return(t=360*Math.atan2(o,r)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(r*r+o*o),t]},o.lch.lab=function(e){var t,n=e[0],r=e[1];return t=e[2]/360*2*Math.PI,[n,r*Math.cos(t),r*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],r=e[2],i=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(i=Math.round(i/50)))return 30;var a=30+(Math.round(r/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===i&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],r=e[2];return t===n&&n===r?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(r/255*5)},o.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return e>50&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(e>50));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map((function(e){return e+e})).join(""));var r=parseInt(n,16);return[r>>16&255,r>>8&255,255&r]},o.rgb.hcg=function(e){var t,n=e[0]/255,r=e[1]/255,o=e[2]/255,i=Math.max(Math.max(n,r),o),a=Math.min(Math.min(n,r),o),s=i-a;return t=s<=0?0:i===n?(r-o)/s%6:i===r?2+(o-n)/s:4+(n-r)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?a/(1-s):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=1,o=0;return(r=n<.5?2*t*n:2*t*(1-n))<1&&(o=(n-.5*r)/(1-r)),[e[0],100*r,100*o]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,r=t*n,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,r=e[2]/100;if(0===n)return[255*r,255*r,255*r];var o=[0,0,0],i=t%1*6,a=i%1,s=1-a,l=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-n)*r,[255*(n*o[0]+l),255*(n*o[1]+l),255*(n*o[2]+l)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),r=0;return n>0&&(r=t/n),[e[0],100*r,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,r=0;return n>0&&n<.5?r=t/(2*n):n>=.5&&n<1&&(r=t/(2*(1-n))),[e[0],100*r,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,r=n-t,o=0;return r<1&&(o=(n-r)/(1-r)),[e[0],100*r,100*o]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}));function i(){for(var e={},t=Object.keys(o),n=t.length,r=0;r<n;r++)e[t[r]]={distance:-1,parent:null};return e}function a(e){var t=i(),n=[e];for(t[e].distance=0;n.length;)for(var r=n.pop(),a=Object.keys(o[r]),s=a.length,l=0;l<s;l++){var c=a[l],u=t[c];-1===u.distance&&(u.distance=t[r].distance+1,u.parent=r,n.unshift(c))}return t}function s(e,t){return function(n){return t(e(n))}}function l(e,t){for(var n=[t[e].parent,e],r=o[t[e].parent][e],i=t[e].parent;t[i].parent;)n.unshift(t[i].parent),r=s(o[t[i].parent][i],r),i=t[i].parent;return r.conversion=n,r}o.rgb,o.hsl,o.hsv,o.hwb,o.cmyk,o.xyz,o.lab,o.lch,o.hex,o.keyword,o.ansi16,o.ansi256,o.hcg,o.apple,o.gray;var c=function(e){for(var t=a(e),n={},r=Object.keys(t),o=r.length,i=0;i<o;i++){var s=r[i];null!==t[s].parent&&(n[s]=l(s,t))}return n},u={};function d(e){var t=function(t){return null==t?t:(arguments.length>1&&(t=Array.prototype.slice.call(arguments)),e(t))};return"conversion"in e&&(t.conversion=e.conversion),t}function f(e){var t=function(t){if(null==t)return t;arguments.length>1&&(t=Array.prototype.slice.call(arguments));var n=e(t);if("object"==typeof n)for(var r=n.length,o=0;o<r;o++)n[o]=Math.round(n[o]);return n};return"conversion"in e&&(t.conversion=e.conversion),t}Object.keys(o).forEach((function(e){u[e]={},Object.defineProperty(u[e],"channels",{value:o[e].channels}),Object.defineProperty(u[e],"labels",{value:o[e].labels});var t=c(e);Object.keys(t).forEach((function(n){var r=t[n];u[e][n]=f(r),u[e][n].raw=d(r)}))}));var p=u,h={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},m={getRgba:g,getHsla:v,getRgb:y,getHsl:A,getHwb:b,getAlpha:x,hexString:C,rgbString:_,rgbaString:w,percentString:k,percentaString:S,hslString:E,hslaString:B,hwbString:O,keyword:j};function g(e){if(e){var t=/^#([a-fA-F0-9]{3,4})$/i,n=/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,r=/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i,i=/(\w+)/,a=[0,0,0],s=1,l=e.match(t),c="";if(l){c=(l=l[1])[3];for(var u=0;u<a.length;u++)a[u]=parseInt(l[u]+l[u],16);c&&(s=Math.round(parseInt(c+c,16)/255*100)/100)}else if(l=e.match(n)){for(c=l[2],l=l[1],u=0;u<a.length;u++)a[u]=parseInt(l.slice(2*u,2*u+2),16);c&&(s=Math.round(parseInt(c,16)/255*100)/100)}else if(l=e.match(r)){for(u=0;u<a.length;u++)a[u]=parseInt(l[u+1]);s=parseFloat(l[4])}else if(l=e.match(o)){for(u=0;u<a.length;u++)a[u]=Math.round(2.55*parseFloat(l[u+1]));s=parseFloat(l[4])}else if(l=e.match(i)){if("transparent"==l[1])return[0,0,0,0];if(!(a=h[l[1]]))return}for(u=0;u<a.length;u++)a[u]=T(a[u],0,255);return s=s||0==s?T(s,0,1):1,a[3]=s,a}}function v(e){if(e){var t=/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=parseFloat(n[4]);return[T(parseInt(n[1]),0,360),T(parseFloat(n[2]),0,100),T(parseFloat(n[3]),0,100),T(isNaN(r)?1:r,0,1)]}}}function b(e){if(e){var t=/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/,n=e.match(t);if(n){var r=parseFloat(n[4]);return[T(parseInt(n[1]),0,360),T(parseFloat(n[2]),0,100),T(parseFloat(n[3]),0,100),T(isNaN(r)?1:r,0,1)]}}}function y(e){var t=g(e);return t&&t.slice(0,3)}function A(e){var t=v(e);return t&&t.slice(0,3)}function x(e){var t=g(e);return t||(t=v(e))||(t=b(e))?t[3]:void 0}function C(e,t){return t=void 0!==t&&3===e.length?t:e[3],"#"+P(e[0])+P(e[1])+P(e[2])+(t>=0&&t<1?P(Math.round(255*t)):"")}function _(e,t){return t<1||e[3]&&e[3]<1?w(e,t):"rgb("+e[0]+", "+e[1]+", "+e[2]+")"}function w(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function k(e,t){return t<1||e[3]&&e[3]<1?S(e,t):"rgb("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%)"}function S(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function E(e,t){return t<1||e[3]&&e[3]<1?B(e,t):"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"}function B(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function O(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"}function j(e){return M[e.slice(0,3)]}function T(e,t,n){return Math.min(Math.max(t,e),n)}function P(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var M={};for(var D in h)M[h[D]]=D;var R=function(e){return e instanceof R?e:this instanceof R?(this.valid=!1,this.values={rgb:[0,0,0],hsl:[0,0,0],hsv:[0,0,0],hwb:[0,0,0],cmyk:[0,0,0,0],alpha:1},void("string"==typeof e?(t=m.getRgba(e))?this.setValues("rgb",t):(t=m.getHsla(e))?this.setValues("hsl",t):(t=m.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new R(e);var t};R.prototype={isValid:function(){return this.valid},rgb:function(){return this.setSpace("rgb",arguments)},hsl:function(){return this.setSpace("hsl",arguments)},hsv:function(){return this.setSpace("hsv",arguments)},hwb:function(){return this.setSpace("hwb",arguments)},cmyk:function(){return this.setSpace("cmyk",arguments)},rgbArray:function(){return this.values.rgb},hslArray:function(){return this.values.hsl},hsvArray:function(){return this.values.hsv},hwbArray:function(){var e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e&&(e=(e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return m.hexString(this.values.rgb)},rgbString:function(){return m.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return m.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return m.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return m.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return m.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return m.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return m.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var r=e[n]/255;t[n]=r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return t>n?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return t>=7.1?"AAA":t>=4.5?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,r=e,o=void 0===t?.5:t,i=2*o-1,a=n.alpha()-r.alpha(),s=((i*a==-1?i:(i+a)/(1+i*a))+1)/2,l=1-s;return this.rgb(s*n.red()+l*r.red(),s*n.green()+l*r.green(),s*n.blue()+l*r.blue()).alpha(n.alpha()*o+r.alpha()*(1-o))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new R,r=this.values,o=n.values;for(var i in r)r.hasOwnProperty(i)&&(e=r[i],"[object Array]"===(t={}.toString.call(e))?o[i]=e.slice(0):"[object Number]"===t?o[i]=e:console.error("unexpected color value:",e));return n}},R.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},R.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},R.prototype.getValues=function(e){for(var t=this.values,n={},r=0;r<e.length;r++)n[e.charAt(r)]=t[e][r];return 1!==t.alpha&&(n.a=t.alpha),n},R.prototype.setValues=function(e,t){var n,r,o=this.values,i=this.spaces,a=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)o[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)o[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[i[e][0]]){var l=i[e];for(n=0;n<e.length;n++)o[e][n]=t[l[n]];s=t.alpha}if(o.alpha=Math.max(0,Math.min(1,void 0===s?o.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)r=Math.max(0,Math.min(a[e][n],o[e][n])),o[e][n]=Math.round(r);for(var c in i)c!==e&&(o[c]=p[e][c](o[e]));return!0},R.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},R.prototype.setChannel=function(e,t,n){var r=this.values[e];return void 0===n?r[t]:(n===r[t]||(r[t]=n,this.setValues(e,r)),this)},"undefined"!=typeof window&&(window.Color=R);var L=R;function I(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}var N,F={noop:function(){},uid:(N=0,function(){return N++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return F.valueOrDefault(F.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,r){var o,i,a;if(F.isArray(e))if(i=e.length,r)for(o=i-1;o>=0;o--)t.call(n,e[o],o);else for(o=0;o<i;o++)t.call(n,e[o],o);else if(F.isObject(e))for(i=(a=Object.keys(e)).length,o=0;o<i;o++)t.call(n,e[a[o]],a[o])},arrayEquals:function(e,t){var n,r,o,i;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(o=e[n],i=t[n],o instanceof Array&&i instanceof Array){if(!F.arrayEquals(o,i))return!1}else if(o!==i)return!1;return!0},clone:function(e){if(F.isArray(e))return e.map(F.clone);if(F.isObject(e)){for(var t=Object.create(e),n=Object.keys(e),r=n.length,o=0;o<r;++o)t[n[o]]=F.clone(e[n[o]]);return t}return e},_merger:function(e,t,n,r){if(I(e)){var o=t[e],i=n[e];F.isObject(o)&&F.isObject(i)?F.merge(o,i,r):t[e]=F.clone(i)}},_mergerIf:function(e,t,n){if(I(e)){var r=t[e],o=n[e];F.isObject(r)&&F.isObject(o)?F.mergeIf(r,o):t.hasOwnProperty(e)||(t[e]=F.clone(o))}},merge:function(e,t,n){var r,o,i,a,s,l=F.isArray(t)?t:[t],c=l.length;if(!F.isObject(e))return e;for(r=(n=n||{}).merger||F._merger,o=0;o<c;++o)if(t=l[o],F.isObject(t))for(s=0,a=(i=Object.keys(t)).length;s<a;++s)r(i[s],e,t,n);return e},mergeIf:function(e,t){return F.merge(e,t,{merger:F._mergerIf})},extend:Object.assign||function(e){return F.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){var t=this,n=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return t.apply(this,arguments)},r=function(){this.constructor=n};return r.prototype=t.prototype,n.prototype=new r,n.extend=F.inherits,e&&F.extend(n.prototype,e),n.__super__=t.prototype,n},_deprecated:function(e,t,n,r){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+r+'" instead')}},z=F;F.callCallback=F.callback,F.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},F.getValueOrDefault=F.valueOrDefault,F.getValueAtIndexOrDefault=F.valueAtIndexOrDefault;var q={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return e>=1?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),-r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:1===e?1:(n||(n=.3),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,r=1;return 0===e?0:2==(e/=.5)?1:(n||(n=.45),r<1?(r=1,t=n/4):t=n/(2*Math.PI)*Math.asin(1/r),e<1?r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){var t=1.70158;return e*e*((t+1)*e-t)},easeOutBack:function(e){var t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-q.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*q.easeInBounce(2*e):.5*q.easeOutBounce(2*e-1)+.5}},U={effects:q};z.easingEffects=q;var H=Math.PI,W=H/180,V=2*H,Y=H/2,Z=H/4,G=2*H/3,K={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,r,o,i){if(i){var a=Math.min(i,o/2,r/2),s=t+a,l=n+a,c=t+r-a,u=n+o-a;e.moveTo(t,l),s<c&&l<u?(e.arc(s,l,a,-H,-Y),e.arc(c,l,a,-Y,0),e.arc(c,u,a,0,Y),e.arc(s,u,a,Y,H)):s<c?(e.moveTo(s,n),e.arc(c,l,a,-Y,Y),e.arc(s,l,a,Y,H+Y)):l<u?(e.arc(s,l,a,-H,0),e.arc(s,u,a,0,H)):e.arc(s,l,a,-H,H),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,r,o)},drawPoint:function(e,t,n,r,o,i){var a,s,l,c,u,d=(i||0)*W;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(a=t.toString())||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(r,o),e.rotate(d),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(r,o,n,0,V),e.closePath();break;case"triangle":e.moveTo(r+Math.sin(d)*n,o-Math.cos(d)*n),d+=G,e.lineTo(r+Math.sin(d)*n,o-Math.cos(d)*n),d+=G,e.lineTo(r+Math.sin(d)*n,o-Math.cos(d)*n),e.closePath();break;case"rectRounded":c=n-(u=.516*n),s=Math.cos(d+Z)*c,l=Math.sin(d+Z)*c,e.arc(r-s,o-l,u,d-H,d-Y),e.arc(r+l,o-s,u,d-Y,d),e.arc(r+s,o+l,u,d,d+Y),e.arc(r-l,o+s,u,d+Y,d+H),e.closePath();break;case"rect":if(!i){c=Math.SQRT1_2*n,e.rect(r-c,o-c,2*c,2*c);break}d+=Z;case"rectRot":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,o-l),e.lineTo(r+l,o-s),e.lineTo(r+s,o+l),e.lineTo(r-l,o+s),e.closePath();break;case"crossRot":d+=Z;case"cross":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,o-l),e.lineTo(r+s,o+l),e.moveTo(r+l,o-s),e.lineTo(r-l,o+s);break;case"star":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,o-l),e.lineTo(r+s,o+l),e.moveTo(r+l,o-s),e.lineTo(r-l,o+s),d+=Z,s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,o-l),e.lineTo(r+s,o+l),e.moveTo(r+l,o-s),e.lineTo(r-l,o+s);break;case"line":s=Math.cos(d)*n,l=Math.sin(d)*n,e.moveTo(r-s,o-l),e.lineTo(r+s,o+l);break;case"dash":e.moveTo(r,o),e.lineTo(r+Math.cos(d)*n,o+Math.sin(d)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){var n=1e-6;return e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,r){var o=n.steppedLine;if(o){if("middle"===o){var i=(t.x+n.x)/2;e.lineTo(i,r?n.y:t.y),e.lineTo(i,r?t.y:n.y)}else"after"===o&&!r||"after"!==o&&r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(r?t.controlPointPreviousX:t.controlPointNextX,r?t.controlPointPreviousY:t.controlPointNextY,r?n.controlPointNextX:n.controlPointPreviousX,r?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},$=K;z.clear=K.clear,z.drawRoundedRectangle=function(e){e.beginPath(),K.roundedRect.apply(K,arguments)};var X={_set:function(e,t){return z.merge(this[e]||(this[e]={}),t)}};X._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var Q=X,J=z.valueOrDefault;function ee(e){return!e||z.isNullOrUndef(e.size)||z.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}var te={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,r,o;return z.isObject(e)?(t=+e.top||0,n=+e.right||0,r=+e.bottom||0,o=+e.left||0):t=n=r=o=+e||0,{top:t,right:n,bottom:r,left:o,height:t+r,width:o+n}},_parseFont:function(e){var t=Q.global,n=J(e.fontSize,t.defaultFontSize),r={family:J(e.fontFamily,t.defaultFontFamily),lineHeight:z.options.toLineHeight(J(e.lineHeight,t.defaultLineHeight),n),size:n,style:J(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return r.string=ee(r),r},resolve:function(e,t,n,r){var o,i,a,s=!0;for(o=0,i=e.length;o<i;++o)if(void 0!==(a=e[o])&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&z.isArray(a)&&(a=a[n],s=!1),void 0!==a))return r&&!s&&(r.cacheable=!1),a}},ne={_factorize:function(e){var t,n=[],r=Math.sqrt(e);for(t=1;t<r;t++)e%t==0&&(n.push(t),n.push(e/t));return r===(0|r)&&n.push(r),n.sort((function(e,t){return e-t})).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},re=ne;z.log10=ne.log10;var oe=function(e,t){return{x:function(n){return e+e+t-n},setWidth:function(e){t=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}},ie=function(){return{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},ae=function(e,t,n){return e?oe(t,n):ie()},se=z,le=U,ce=$,ue=te,de=re,fe={getRtlAdapter:ae,overrideTextDirection:function(e,t){var n,r;"ltr"!==t&&"rtl"!==t||(r=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};function pe(e,t,n,r){var o,i,a,s,l,c,u,d,f,p=Object.keys(n);for(o=0,i=p.length;o<i;++o)if(c=n[a=p[o]],t.hasOwnProperty(a)||(t[a]=c),(s=t[a])!==c&&"_"!==a[0]){if(e.hasOwnProperty(a)||(e[a]=s),(u=typeof c)==typeof(l=e[a]))if("string"===u){if((d=L(l)).valid&&(f=L(c)).valid){t[a]=f.mix(d,r).rgbString();continue}}else if(se.isFinite(l)&&se.isFinite(c)){t[a]=l+(c-l)*r;continue}t[a]=c}}se.easing=le,se.canvas=ce,se.options=ue,se.math=de,se.rtl=fe;var he=function(e){se.extend(this,e),this.initialize.apply(this,arguments)};se.extend(he.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=se.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,r=t._start,o=t._view;return n&&1!==e?(o||(o=t._view={}),r||(r=t._start={}),pe(r,o,n,e),t):(t._view=se.extend({},n),t._start=null,t)},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return se.isNumber(this._model.x)&&se.isNumber(this._model.y)}}),he.extend=se.inherits;var me=he,ge=me.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),ve=ge;Object.defineProperty(ge.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(ge.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),Q._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:se.noop,onComplete:se.noop}});var be={animations:[],request:null,addAnimation:function(e,t,n,r){var o,i,a=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,r||(e.animating=!0),o=0,i=a.length;o<i;++o)if(a[o].chart===e)return void(a[o]=t);a.push(t),1===a.length&&this.requestAnimationFrame()},cancelAnimation:function(e){var t=se.findIndex(this.animations,(function(t){return t.chart===e}));-1!==t&&(this.animations.splice(t,1),e.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=se.requestAnimFrame.call(window,(function(){e.request=null,e.startDigest()})))},startDigest:function(){var e=this;e.advance(),e.animations.length>0&&e.requestAnimationFrame()},advance:function(){for(var e,t,n,r,o=this.animations,i=0;i<o.length;)t=(e=o[i]).chart,n=e.numSteps,r=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(r,n),se.callback(e.render,[t,e],t),se.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(se.callback(e.onAnimationComplete,[e],t),t.animating=!1,o.splice(i,1)):++i}},ye=se.options.resolve,Ae=["push","pop","shift","splice","unshift"];function xe(e,t){e._chartjs?e._chartjs.listeners.push(t):(Object.defineProperty(e,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[t]}}),Ae.forEach((function(t){var n="onData"+t.charAt(0).toUpperCase()+t.slice(1),r=e[t];Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),o=r.apply(this,t);return se.each(e._chartjs.listeners,(function(e){"function"==typeof e[n]&&e[n].apply(e,t)})),o}})})))}function Ce(e,t){var n=e._chartjs;if(n){var r=n.listeners,o=r.indexOf(t);-1!==o&&r.splice(o,1),r.length>0||(Ae.forEach((function(t){delete e[t]})),delete e._chartjs)}}var _e=function(e,t){this.initialize(e,t)};se.extend(_e.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this,t=e.getMeta(),n=e.chart,r=n.scales,o=e.getDataset(),i=n.options.scales;null!==t.xAxisID&&t.xAxisID in r&&!o.xAxisID||(t.xAxisID=o.xAxisID||i.xAxes[0].id),null!==t.yAxisID&&t.yAxisID in r&&!o.yAxisID||(t.yAxisID=o.yAxisID||i.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&Ce(this._data,this)},createMetaDataset:function(){var e=this,t=e.datasetElementType;return t&&new t({_chart:e.chart,_datasetIndex:e.index})},createMetaData:function(e){var t=this,n=t.dataElementType;return n&&new n({_chart:t.chart,_datasetIndex:t.index,_index:e})},addElements:function(){var e,t,n=this,r=n.getMeta(),o=n.getDataset().data||[],i=r.data;for(e=0,t=o.length;e<t;++e)i[e]=i[e]||n.createMetaData(e);r.dataset=r.dataset||n.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e=this,t=e.getDataset(),n=t.data||(t.data=[]);e._data!==n&&(e._data&&Ce(e._data,e),n&&Object.isExtensible(n)&&xe(n,e),e._data=n),e.resyncElements()},_configure:function(){var e=this;e._config=se.merge(Object.create(null),[e.chart.options.datasets[e._type],e.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&se._merger(e,t,n)}})},_update:function(e){var t=this;t._configure(),t._cachedDataOpts=null,t.update(e)},update:se.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],r=n.length,o=0;o<r;++o)n[o].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,r=0;for(e.dataset&&e.dataset.draw();r<n;++r)t[r].draw()},getStyle:function(e){var t,n=this,r=n.getMeta(),o=r.dataset;return n._configure(),o&&void 0===e?t=n._resolveDatasetElementOptions(o||{}):(e=e||0,t=n._resolveDataElementOptions(r.data[e]||{},e)),!1!==t.fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,r,o,i,a=this,s=a.chart,l=a._config,c=e.custom||{},u=s.options.elements[a.datasetElementType.prototype._type]||{},d=a._datasetElementOptions,f={},p={chart:s,dataset:a.getDataset(),datasetIndex:a.index,hover:t};for(n=0,r=d.length;n<r;++n)o=d[n],i=t?"hover"+o.charAt(0).toUpperCase()+o.slice(1):o,f[o]=ye([c[i],l[i],u[i]],p);return f},_resolveDataElementOptions:function(e,t){var n=this,r=e&&e.custom,o=n._cachedDataOpts;if(o&&!r)return o;var i,a,s,l,c=n.chart,u=n._config,d=c.options.elements[n.dataElementType.prototype._type]||{},f=n._dataElementOptions,p={},h={chart:c,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},m={cacheable:!r};if(r=r||{},se.isArray(f))for(a=0,s=f.length;a<s;++a)p[l=f[a]]=ye([r[l],u[l],d[l]],h,t,m);else for(a=0,s=(i=Object.keys(f)).length;a<s;++a)p[l=i[a]]=ye([r[l],u[f[l]],u[l],d[l]],h,t,m);return m.cacheable&&(n._cachedDataOpts=Object.freeze(p)),p},removeHoverStyle:function(e){se.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,r=e.custom||{},o=e._model,i=se.getHoverColor;e.$previousStyle={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderWidth:o.borderWidth},o.backgroundColor=ye([r.hoverBackgroundColor,t.hoverBackgroundColor,i(o.backgroundColor)],void 0,n),o.borderColor=ye([r.hoverBorderColor,t.hoverBorderColor,i(o.borderColor)],void 0,n),o.borderWidth=ye([r.hoverBorderWidth,t.hoverBorderWidth,o.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,r,o,i,a=this.getMeta().dataset,s={};if(a){for(i=a._model,o=this._resolveDatasetElementOptions(a,!0),e=0,t=(r=Object.keys(o)).length;e<t;++e)s[n=r[e]]=i[n],i[n]=o[n];a.$previousStyle=s}},resyncElements:function(){var e=this,t=e.getMeta(),n=e.getDataset().data,r=t.data.length,o=n.length;o<r?t.data.splice(o,r-o):o>r&&e.insertElements(r,o-r)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),_e.extend=se.inherits;var we=_e,ke=2*Math.PI;function Se(e,t){var n=t.startAngle,r=t.endAngle,o=t.pixelMargin,i=o/t.outerRadius,a=t.x,s=t.y;e.beginPath(),e.arc(a,s,t.outerRadius,n-i,r+i),t.innerRadius>o?(i=o/t.innerRadius,e.arc(a,s,t.innerRadius-o,r+i,n-i,!0)):e.arc(a,s,o,r+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function Ee(e,t,n,r){var o,i=n.endAngle;for(r&&(n.endAngle=n.startAngle+ke,Se(e,n),n.endAngle=i,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=ke,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+ke,n.startAngle,!0),o=0;o<n.fullCircles;++o)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+ke),o=0;o<n.fullCircles;++o)e.stroke()}function Be(e,t,n){var r="inner"===t.borderAlign;r?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&Ee(e,t,n,r),r&&Se(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}Q._set("global",{elements:{arc:{backgroundColor:Q.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var Oe=me.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var r=se.getAngleFromPoint(n,{x:e,y:t}),o=r.angle,i=r.distance,a=n.startAngle,s=n.endAngle;s<a;)s+=ke;for(;o>s;)o-=ke;for(;o<a;)o+=ke;var l=o>=a&&o<=s,c=i>=n.innerRadius&&i<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,r="inner"===n.borderAlign?.33:0,o={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-r,0),pixelMargin:r,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/ke)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,o.fullCircles){for(o.endAngle=o.startAngle+ke,t.beginPath(),t.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),t.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),t.closePath(),e=0;e<o.fullCircles;++e)t.fill();o.endAngle=o.startAngle+n.circumference%ke}t.beginPath(),t.arc(o.x,o.y,o.outerRadius,o.startAngle,o.endAngle),t.arc(o.x,o.y,o.innerRadius,o.endAngle,o.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&Be(t,n,o),t.restore()}}),je=se.valueOrDefault,Te=Q.global.defaultColor;Q._set("global",{elements:{line:{tension:.4,backgroundColor:Te,borderWidth:3,borderColor:Te,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var Pe=me.extend({_type:"line",draw:function(){var e,t,n,r=this,o=r._view,i=r._chart.ctx,a=o.spanGaps,s=r._children.slice(),l=Q.global,c=l.elements.line,u=-1,d=r._loop;if(s.length){if(r._loop){for(e=0;e<s.length;++e)if(t=se.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),d=a;break}d&&s.push(s[0])}for(i.save(),i.lineCap=o.borderCapStyle||c.borderCapStyle,i.setLineDash&&i.setLineDash(o.borderDash||c.borderDash),i.lineDashOffset=je(o.borderDashOffset,c.borderDashOffset),i.lineJoin=o.borderJoinStyle||c.borderJoinStyle,i.lineWidth=je(o.borderWidth,c.borderWidth),i.strokeStyle=o.borderColor||l.defaultColor,i.beginPath(),(n=s[0]._view).skip||(i.moveTo(n.x,n.y),u=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===u?se.previousItem(s,e):s[u],n.skip||(u!==e-1&&!a||-1===u?i.moveTo(n.x,n.y):se.canvas.lineTo(i,t._view,n),u=e);d&&i.closePath(),i.stroke(),i.restore()}}}),Me=se.valueOrDefault,De=Q.global.defaultColor;function Re(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}function Le(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius}Q._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:De,borderColor:De,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var Ie=me.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:Re,inXRange:Re,inYRange:Le,getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,r=t.pointStyle,o=t.rotation,i=t.radius,a=t.x,s=t.y,l=Q.global,c=l.defaultColor;t.skip||(void 0===e||se.canvas._isPointInArea(t,e))&&(n.strokeStyle=t.borderColor||c,n.lineWidth=Me(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||c,se.canvas.drawPoint(n,r,i,a,s,o))}}),Ne=Q.global.defaultColor;function Fe(e){return e&&void 0!==e.width}function ze(e){var t,n,r,o,i;return Fe(e)?(i=e.width/2,t=e.x-i,n=e.x+i,r=Math.min(e.y,e.base),o=Math.max(e.y,e.base)):(i=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),r=e.y-i,o=e.y+i),{left:t,top:r,right:n,bottom:o}}function qe(e,t,n){return e===t?n:e===n?t:e}function Ue(e){var t=e.borderSkipped,n={};return t?(e.horizontal?e.base>e.x&&(t=qe(t,"left","right")):e.base<e.y&&(t=qe(t,"bottom","top")),n[t]=!0,n):n}function He(e,t,n){var r,o,i,a,s=e.borderWidth,l=Ue(e);return se.isObject(s)?(r=+s.top||0,o=+s.right||0,i=+s.bottom||0,a=+s.left||0):r=o=i=a=+s||0,{t:l.top||r<0?0:r>n?n:r,r:l.right||o<0?0:o>t?t:o,b:l.bottom||i<0?0:i>n?n:i,l:l.left||a<0?0:a>t?t:a}}function We(e){var t=ze(e),n=t.right-t.left,r=t.bottom-t.top,o=He(e,n/2,r/2);return{outer:{x:t.left,y:t.top,w:n,h:r},inner:{x:t.left+o.l,y:t.top+o.t,w:n-o.l-o.r,h:r-o.t-o.b}}}function Ve(e,t,n){var r=null===t,o=null===n,i=!(!e||r&&o)&&ze(e);return i&&(r||t>=i.left&&t<=i.right)&&(o||n>=i.top&&n<=i.bottom)}Q._set("global",{elements:{rectangle:{backgroundColor:Ne,borderColor:Ne,borderSkipped:"bottom",borderWidth:0}}});var Ye=me.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=We(t),r=n.outer,o=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(r.x,r.y,r.w,r.h),r.w===o.w&&r.h===o.h||(e.save(),e.beginPath(),e.rect(r.x,r.y,r.w,r.h),e.clip(),e.fillStyle=t.borderColor,e.rect(o.x,o.y,o.w,o.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return Ve(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return Fe(n)?Ve(n,e,null):Ve(n,null,t)},inXRange:function(e){return Ve(this._view,e,null)},inYRange:function(e){return Ve(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return Fe(n)?(e=n.x,t=(n.y+n.base)/2):(e=(n.x+n.base)/2,t=n.y),{x:e,y:t}},getArea:function(){var e=this._view;return Fe(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),Ze={},Ge=Oe,Ke=Pe,$e=Ie,Xe=Ye;Ze.Arc=Ge,Ze.Line=Ke,Ze.Point=$e,Ze.Rectangle=Xe;var Qe=se._deprecated,Je=se.valueOrDefault;function et(e,t){var n,r,o,i,a=e._length;for(o=1,i=t.length;o<i;++o)a=Math.min(a,Math.abs(t[o]-t[o-1]));for(o=0,i=e.getTicks().length;o<i;++o)r=e.getPixelForTick(o),a=o>0?Math.min(a,Math.abs(r-n)):a,n=r;return a}function tt(e,t,n){var r,o,i=n.barThickness,a=t.stackCount,s=t.pixels[e],l=se.isNullOrUndef(i)?et(t.scale,t.pixels):-1;return se.isNullOrUndef(i)?(r=l*n.categoryPercentage,o=n.barPercentage):(r=i*a,o=1),{chunk:r/a,ratio:o,start:s-r/2}}function nt(e,t,n){var r,o=t.pixels,i=o[e],a=e>0?o[e-1]:null,s=e<o.length-1?o[e+1]:null,l=n.categoryPercentage;return null===a&&(a=i-(null===s?t.end-t.start:s-i)),null===s&&(s=i+i-a),r=i-(i-Math.min(a,s))/2*l,{chunk:Math.abs(s-a)/2*l/t.stackCount,ratio:n.barPercentage,start:r}}Q._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),Q._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var rt=we.extend({dataElementType:Ze.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;we.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,Qe("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Qe("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Qe("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Qe("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Qe("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,r=this,o=r.getMeta().data;for(r._ruler=r.getRuler(),t=0,n=o.length;t<n;++t)r.updateElement(o[t],t,e)},updateElement:function(e,t,n){var r=this,o=r.getMeta(),i=r.getDataset(),a=r._resolveDataElementOptions(e,t);e._xScale=r.getScaleForId(o.xAxisID),e._yScale=r.getScaleForId(o.yAxisID),e._datasetIndex=r.index,e._index=t,e._model={backgroundColor:a.backgroundColor,borderColor:a.borderColor,borderSkipped:a.borderSkipped,borderWidth:a.borderWidth,datasetLabel:i.label,label:r.chart.data.labels[t]},se.isArray(i.data[t])&&(e._model.borderSkipped=null),r._updateElementGeometry(e,t,n,a),e.pivot()},_updateElementGeometry:function(e,t,n,r){var o=this,i=e._model,a=o._getValueScale(),s=a.getBasePixel(),l=a.isHorizontal(),c=o._ruler||o.getRuler(),u=o.calculateBarValuePixels(o.index,t,r),d=o.calculateBarIndexPixels(o.index,t,c,r);i.horizontal=l,i.base=n?s:u.base,i.x=l?n?s:u.head:d.center,i.y=l?d.center:n?s:u.head,i.height=l?d.size:void 0,i.width=l?void 0:d.size},_getStacks:function(e){var t,n,r=this,o=r._getIndexScale(),i=o._getMatchingVisibleMetas(r._type),a=o.options.stacked,s=i.length,l=[];for(t=0;t<s&&(n=i[t],(!1===a||-1===l.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&l.push(n.stack),n.index!==e);++t);return l},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),r=void 0!==t?n.indexOf(t):-1;return-1===r?n.length-1:r},getRuler:function(){var e,t,n=this,r=n._getIndexScale(),o=[];for(e=0,t=n.getMeta().data.length;e<t;++e)o.push(r.getPixelForValue(null,e,n.index));return{pixels:o,start:r._startPixel,end:r._endPixel,stackCount:n.getStackCount(),scale:r}},calculateBarValuePixels:function(e,t,n){var r,o,i,a,s,l,c,u=this,d=u.chart,f=u._getValueScale(),p=f.isHorizontal(),h=d.data.datasets,m=f._getMatchingVisibleMetas(u._type),g=f._parseValue(h[e].data[t]),v=n.minBarLength,b=f.options.stacked,y=u.getMeta().stack,A=void 0===g.start?0:g.max>=0&&g.min>=0?g.min:g.max,x=void 0===g.start?g.end:g.max>=0&&g.min>=0?g.max-g.min:g.min-g.max,C=m.length;if(b||void 0===b&&void 0!==y)for(r=0;r<C&&(o=m[r]).index!==e;++r)o.stack===y&&(i=void 0===(c=f._parseValue(h[o.index].data[t])).start?c.end:c.min>=0&&c.max>=0?c.max:c.min,(g.min<0&&i<0||g.max>=0&&i>0)&&(A+=i));return a=f.getPixelForValue(A),l=(s=f.getPixelForValue(A+x))-a,void 0!==v&&Math.abs(l)<v&&(l=v,s=x>=0&&!p||x<0&&p?a-v:a+v),{size:l,base:a,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,r){var o=this,i="flex"===r.barThickness?nt(t,n,r):tt(t,n,r),a=o.getStackIndex(e,o.getMeta().stack),s=i.start+i.chunk*a+i.chunk/2,l=Math.min(Je(r.maxBarThickness,1/0),i.chunk*i.ratio);return{base:s-l/2,head:s+l/2,center:s,size:l}},draw:function(){var e=this,t=e.chart,n=e._getValueScale(),r=e.getMeta().data,o=e.getDataset(),i=r.length,a=0;for(se.canvas.clipArea(t.ctx,t.chartArea);a<i;++a){var s=n._parseValue(o.data[a]);isNaN(s.min)||isNaN(s.max)||r[a].draw()}se.canvas.unclipArea(t.ctx)},_resolveDataElementOptions:function(){var e=this,t=se.extend({},we.prototype._resolveDataElementOptions.apply(e,arguments)),n=e._getIndexScale().options,r=e._getValueScale().options;return t.barPercentage=Je(n.barPercentage,t.barPercentage),t.barThickness=Je(n.barThickness,t.barThickness),t.categoryPercentage=Je(n.categoryPercentage,t.categoryPercentage),t.maxBarThickness=Je(n.maxBarThickness,t.maxBarThickness),t.minBarLength=Je(r.minBarLength,t.minBarLength),t}}),ot=se.valueOrDefault,it=se.options.resolve;Q._set("bubble",{hover:{mode:"single"},scales:{xAxes:[{type:"linear",position:"bottom",id:"x-axis-0"}],yAxes:[{type:"linear",position:"left",id:"y-axis-0"}]},tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.datasets[e.datasetIndex].label||"",r=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+r.r+")"}}}});var at=we.extend({dataElementType:Ze.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(e){var t=this,n=t.getMeta().data;se.each(n,(function(n,r){t.updateElement(n,r,e)}))},updateElement:function(e,t,n){var r=this,o=r.getMeta(),i=e.custom||{},a=r.getScaleForId(o.xAxisID),s=r.getScaleForId(o.yAxisID),l=r._resolveDataElementOptions(e,t),c=r.getDataset().data[t],u=r.index,d=n?a.getPixelForDecimal(.5):a.getPixelForValue("object"==typeof c?c:NaN,t,u),f=n?s.getBasePixel():s.getPixelForValue(c,t,u);e._xScale=a,e._yScale=s,e._options=l,e._datasetIndex=u,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:i.skip||isNaN(d)||isNaN(f),x:d,y:f},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,r=se.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=ot(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=ot(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=ot(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,r=n.chart,o=n.getDataset(),i=e.custom||{},a=o.data[t]||{},s=we.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:r,dataIndex:t,dataset:o,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=se.extend({},s)),s.radius=it([i.radius,a.r,n._config.radius,r.options.elements.point.radius],l,t),s}}),st=se.valueOrDefault,lt=Math.PI,ct=2*lt,ut=lt/2;Q._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,r,o=document.createElement("ul"),i=e.data,a=i.datasets,s=i.labels;if(o.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(r=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return o.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var o=e.getDatasetMeta(0),i=o.controller.getStyle(r);return{text:n,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(t.datasets[0].data[r])||o.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,o,i=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(o=a.getDatasetMeta(n)).data[i]&&(o.data[i].hidden=!o.data[i].hidden);a.update()}},cutoutPercentage:50,rotation:-ut,circumference:ct,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],r=": "+t.datasets[e.datasetIndex].data[e.index];return se.isArray(n)?(n=n.slice())[0]+=r:n+=r,n}}}});var dt=we.extend({dataElementType:Ze.Arc,linkScales:se.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,r,o,i=this,a=i.chart,s=a.chartArea,l=a.options,c=1,u=1,d=0,f=0,p=i.getMeta(),h=p.data,m=l.cutoutPercentage/100||0,g=l.circumference,v=i._getRingWeight(i.index);if(g<ct){var b=l.rotation%ct,y=(b+=b>=lt?-ct:b<-lt?ct:0)+g,A=Math.cos(b),x=Math.sin(b),C=Math.cos(y),_=Math.sin(y),w=b<=0&&y>=0||y>=ct,k=b<=ut&&y>=ut||y>=ct+ut,S=b<=-ut&&y>=-ut||y>=lt+ut,E=b===-lt||y>=lt?-1:Math.min(A,A*m,C,C*m),B=S?-1:Math.min(x,x*m,_,_*m),O=w?1:Math.max(A,A*m,C,C*m),j=k?1:Math.max(x,x*m,_,_*m);c=(O-E)/2,u=(j-B)/2,d=-(O+E)/2,f=-(j+B)/2}for(r=0,o=h.length;r<o;++r)h[r]._options=i._resolveDataElementOptions(h[r],r);for(a.borderWidth=i.getMaxBorderWidth(),t=(s.right-s.left-a.borderWidth)/c,n=(s.bottom-s.top-a.borderWidth)/u,a.outerRadius=Math.max(Math.min(t,n)/2,0),a.innerRadius=Math.max(a.outerRadius*m,0),a.radiusLength=(a.outerRadius-a.innerRadius)/(i._getVisibleDatasetWeightTotal()||1),a.offsetX=d*a.outerRadius,a.offsetY=f*a.outerRadius,p.total=i.calculateTotal(),i.outerRadius=a.outerRadius-a.radiusLength*i._getRingWeightOffset(i.index),i.innerRadius=Math.max(i.outerRadius-a.radiusLength*v,0),r=0,o=h.length;r<o;++r)i.updateElement(h[r],r,e)},updateElement:function(e,t,n){var r=this,o=r.chart,i=o.chartArea,a=o.options,s=a.animation,l=(i.left+i.right)/2,c=(i.top+i.bottom)/2,u=a.rotation,d=a.rotation,f=r.getDataset(),p=n&&s.animateRotate||e.hidden?0:r.calculateCircumference(f.data[t])*(a.circumference/ct),h=n&&s.animateScale?0:r.innerRadius,m=n&&s.animateScale?0:r.outerRadius,g=e._options||{};se.extend(e,{_datasetIndex:r.index,_index:t,_model:{backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,borderAlign:g.borderAlign,x:l+o.offsetX,y:c+o.offsetY,startAngle:u,endAngle:d,circumference:p,outerRadius:m,innerRadius:h,label:se.valueAtIndexOrDefault(f.label,t,o.data.labels[t])}});var v=e._model;n&&s.animateRotate||(v.startAngle=0===t?a.rotation:r.getMeta().data[t-1]._model.endAngle,v.endAngle=v.startAngle+v.circumference),e.pivot()},calculateTotal:function(){var e,t=this.getDataset(),n=this.getMeta(),r=0;return se.each(n.data,(function(n,o){e=t.data[o],isNaN(e)||n.hidden||(r+=Math.abs(e))})),r},calculateCircumference:function(e){var t=this.getMeta().total;return t>0&&!isNaN(e)?ct*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,r,o,i,a,s,l,c=this,u=0,d=c.chart;if(!e)for(t=0,n=d.data.datasets.length;t<n;++t)if(d.isDatasetVisible(t)){e=(r=d.getDatasetMeta(t)).data,t!==c.index&&(i=r.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)o=e[t],i?(i._configure(),a=i._resolveDataElementOptions(o,t)):a=o._options,"inner"!==a.borderAlign&&(s=a.borderWidth,u=(l=a.hoverBorderWidth)>(u=s>u?s:u)?l:u);return u},setHoverStyle:function(e){var t=e._model,n=e._options,r=se.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=st(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=st(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=st(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(st(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});Q._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),Q._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var ft=rt.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),pt=se.valueOrDefault,ht=se.options.resolve,mt=se.canvas._isPointInArea;function gt(e,t){var n=e&&e.options.ticks||{},r=n.reverse,o=void 0===n.min?t:0,i=void 0===n.max?t:0;return{start:r?i:o,end:r?o:i}}function vt(e,t,n){var r=n/2,o=gt(e,r),i=gt(t,r);return{top:i.end,right:o.end,bottom:i.start,left:o.start}}function bt(e){var t,n,r,o;return se.isObject(e)?(t=e.top,n=e.right,r=e.bottom,o=e.left):t=n=r=o=e,{top:t,right:n,bottom:r,left:o}}Q._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var yt=we.extend({datasetElementType:Ze.Line,dataElementType:Ze.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,r=this,o=r.getMeta(),i=o.dataset,a=o.data||[],s=r.chart.options,l=r._config,c=r._showLine=pt(l.showLine,s.showLines);for(r._xScale=r.getScaleForId(o.xAxisID),r._yScale=r.getScaleForId(o.yAxisID),c&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),i._scale=r._yScale,i._datasetIndex=r.index,i._children=a,i._model=r._resolveDatasetElementOptions(i),i.pivot()),t=0,n=a.length;t<n;++t)r.updateElement(a[t],t,e);for(c&&0!==i._model.tension&&r.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r,o,i=this,a=i.getMeta(),s=e.custom||{},l=i.getDataset(),c=i.index,u=l.data[t],d=i._xScale,f=i._yScale,p=a.dataset._model,h=i._resolveDataElementOptions(e,t);r=d.getPixelForValue("object"==typeof u?u:NaN,t,c),o=n?f.getBasePixel():i.calculatePointY(u,t,c),e._xScale=d,e._yScale=f,e._options=h,e._datasetIndex=c,e._index=t,e._model={x:r,y:o,skip:s.skip||isNaN(r)||isNaN(o),radius:h.radius,pointStyle:h.pointStyle,rotation:h.rotation,backgroundColor:h.backgroundColor,borderColor:h.borderColor,borderWidth:h.borderWidth,tension:pt(s.tension,p?p.tension:0),steppedLine:!!p&&p.steppedLine,hitRadius:h.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,r=e.custom||{},o=t.chart.options,i=o.elements.line,a=we.prototype._resolveDatasetElementOptions.apply(t,arguments);return a.spanGaps=pt(n.spanGaps,o.spanGaps),a.tension=pt(n.lineTension,i.tension),a.steppedLine=ht([r.steppedLine,n.steppedLine,i.stepped]),a.clip=bt(pt(n.clip,vt(t._xScale,t._yScale,a.borderWidth))),a},calculatePointY:function(e,t,n){var r,o,i,a,s,l,c,u=this,d=u.chart,f=u._yScale,p=0,h=0;if(f.options.stacked){for(s=+f.getRightValue(e),c=(l=d._getSortedVisibleDatasetMetas()).length,r=0;r<c&&(i=l[r]).index!==n;++r)o=d.data.datasets[i.index],"line"===i.type&&i.yAxisID===f.id&&((a=+f.getRightValue(o.data[t]))<0?h+=a||0:p+=a||0);return s<0?f.getPixelForValue(h+s):f.getPixelForValue(p+s)}return f.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,r,o=this,i=o.chart,a=o.getMeta(),s=a.dataset._model,l=i.chartArea,c=a.data||[];function u(e,t,n){return Math.max(Math.min(e,n),t)}if(s.spanGaps&&(c=c.filter((function(e){return!e._model.skip}))),"monotone"===s.cubicInterpolationMode)se.splineCurveMonotone(c);else for(e=0,t=c.length;e<t;++e)n=c[e]._model,r=se.splineCurve(se.previousItem(c,e)._model,n,se.nextItem(c,e)._model,s.tension),n.controlPointPreviousX=r.previous.x,n.controlPointPreviousY=r.previous.y,n.controlPointNextX=r.next.x,n.controlPointNextY=r.next.y;if(i.options.elements.line.capBezierPoints)for(e=0,t=c.length;e<t;++e)n=c[e]._model,mt(n,l)&&(e>0&&mt(c[e-1]._model,l)&&(n.controlPointPreviousX=u(n.controlPointPreviousX,l.left,l.right),n.controlPointPreviousY=u(n.controlPointPreviousY,l.top,l.bottom)),e<c.length-1&&mt(c[e+1]._model,l)&&(n.controlPointNextX=u(n.controlPointNextX,l.left,l.right),n.controlPointNextY=u(n.controlPointNextY,l.top,l.bottom)))},draw:function(){var e,t=this,n=t.chart,r=t.getMeta(),o=r.data||[],i=n.chartArea,a=n.canvas,s=0,l=o.length;for(t._showLine&&(e=r.dataset._model.clip,se.canvas.clipArea(n.ctx,{left:!1===e.left?0:i.left-e.left,right:!1===e.right?a.width:i.right+e.right,top:!1===e.top?0:i.top-e.top,bottom:!1===e.bottom?a.height:i.bottom+e.bottom}),r.dataset.draw(),se.canvas.unclipArea(n.ctx));s<l;++s)o[s].draw(i)},setHoverStyle:function(e){var t=e._model,n=e._options,r=se.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=pt(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=pt(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=pt(n.hoverBorderWidth,n.borderWidth),t.radius=pt(n.hoverRadius,n.radius)}}),At=se.options.resolve;Q._set("polarArea",{scale:{type:"radialLinear",angleLines:{display:!1},gridLines:{circular:!0},pointLabels:{display:!1},ticks:{beginAtZero:!0}},animation:{animateRotate:!0,animateScale:!0},startAngle:-.5*Math.PI,legendCallback:function(e){var t,n,r,o=document.createElement("ul"),i=e.data,a=i.datasets,s=i.labels;if(o.setAttribute("class",e.id+"-legend"),a.length)for(t=0,n=a[0].data.length;t<n;++t)(r=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[0].backgroundColor[t],s[t]&&r.appendChild(document.createTextNode(s[t]));return o.outerHTML},legend:{labels:{generateLabels:function(e){var t=e.data;return t.labels.length&&t.datasets.length?t.labels.map((function(n,r){var o=e.getDatasetMeta(0),i=o.controller.getStyle(r);return{text:n,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(t.datasets[0].data[r])||o.data[r].hidden,index:r}})):[]}},onClick:function(e,t){var n,r,o,i=t.index,a=this.chart;for(n=0,r=(a.data.datasets||[]).length;n<r;++n)(o=a.getDatasetMeta(n)).data[i].hidden=!o.data[i].hidden;a.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var xt=we.extend({dataElementType:Ze.Arc,linkScales:se.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r,o=this,i=o.getDataset(),a=o.getMeta(),s=o.chart.options.startAngle||0,l=o._starts=[],c=o._angles=[],u=a.data;for(o._updateRadius(),a.count=o.countVisibleElements(),t=0,n=i.data.length;t<n;t++)l[t]=s,r=o._computeAngle(t),c[t]=r,s+=r;for(t=0,n=u.length;t<n;++t)u[t]._options=o._resolveDataElementOptions(u[t],t),o.updateElement(u[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,r=t.options,o=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(o/2,0),t.innerRadius=Math.max(r.cutoutPercentage?t.outerRadius/100*r.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var r=this,o=r.chart,i=r.getDataset(),a=o.options,s=a.animation,l=o.scale,c=o.data.labels,u=l.xCenter,d=l.yCenter,f=a.startAngle,p=e.hidden?0:l.getDistanceFromCenterForValue(i.data[t]),h=r._starts[t],m=h+(e.hidden?0:r._angles[t]),g=s.animateScale?0:l.getDistanceFromCenterForValue(i.data[t]),v=e._options||{};se.extend(e,{_datasetIndex:r.index,_index:t,_scale:l,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:u,y:d,innerRadius:0,outerRadius:n?g:p,startAngle:n&&s.animateRotate?f:h,endAngle:n&&s.animateRotate?f:m,label:se.valueAtIndexOrDefault(c,t,c[t])}}),e.pivot()},countVisibleElements:function(){var e=this.getDataset(),t=this.getMeta(),n=0;return se.each(t.data,(function(t,r){isNaN(e.data[r])||t.hidden||n++})),n},setHoverStyle:function(e){var t=e._model,n=e._options,r=se.getHoverColor,o=se.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=o(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=o(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=o(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,r=t.getDataset(),o=t.getMeta();if(isNaN(r.data[e])||o.data[e].hidden)return 0;var i={chart:t.chart,dataIndex:e,dataset:r,datasetIndex:t.index};return At([t.chart.options.elements.arc.angle,2*Math.PI/n],i,e)}});Q._set("pie",se.clone(Q.doughnut)),Q._set("pie",{cutoutPercentage:0});var Ct=dt,_t=se.valueOrDefault;Q._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var wt=we.extend({datasetElementType:Ze.Line,dataElementType:Ze.Point,linkScales:se.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,r=this,o=r.getMeta(),i=o.dataset,a=o.data||[],s=r.chart.scale,l=r._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),i._scale=s,i._datasetIndex=r.index,i._children=a,i._loop=!0,i._model=r._resolveDatasetElementOptions(i),i.pivot(),t=0,n=a.length;t<n;++t)r.updateElement(a[t],t,e);for(r.updateBezierControlPoints(),t=0,n=a.length;t<n;++t)a[t].pivot()},updateElement:function(e,t,n){var r=this,o=e.custom||{},i=r.getDataset(),a=r.chart.scale,s=a.getPointPositionForValue(t,i.data[t]),l=r._resolveDataElementOptions(e,t),c=r.getMeta().dataset._model,u=n?a.xCenter:s.x,d=n?a.yCenter:s.y;e._scale=a,e._options=l,e._datasetIndex=r.index,e._index=t,e._model={x:u,y:d,skip:o.skip||isNaN(u)||isNaN(d),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:_t(o.tension,c?c.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this,t=e._config,n=e.chart.options,r=we.prototype._resolveDatasetElementOptions.apply(e,arguments);return r.spanGaps=_t(t.spanGaps,n.spanGaps),r.tension=_t(t.lineTension,n.elements.line.tension),r},updateBezierControlPoints:function(){var e,t,n,r,o=this,i=o.getMeta(),a=o.chart.chartArea,s=i.data||[];function l(e,t,n){return Math.max(Math.min(e,n),t)}for(i.dataset._model.spanGaps&&(s=s.filter((function(e){return!e._model.skip}))),e=0,t=s.length;e<t;++e)n=s[e]._model,r=se.splineCurve(se.previousItem(s,e,!0)._model,n,se.nextItem(s,e,!0)._model,n.tension),n.controlPointPreviousX=l(r.previous.x,a.left,a.right),n.controlPointPreviousY=l(r.previous.y,a.top,a.bottom),n.controlPointNextX=l(r.next.x,a.left,a.right),n.controlPointNextY=l(r.next.y,a.top,a.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,r=se.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=_t(n.hoverBackgroundColor,r(n.backgroundColor)),t.borderColor=_t(n.hoverBorderColor,r(n.borderColor)),t.borderWidth=_t(n.hoverBorderWidth,n.borderWidth),t.radius=_t(n.hoverRadius,n.radius)}});Q._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),Q._set("global",{datasets:{scatter:{showLine:!1}}});var kt={bar:rt,bubble:at,doughnut:dt,horizontalBar:ft,line:yt,polarArea:xt,pie:Ct,radar:wt,scatter:yt};function St(e,t){return e.native?{x:e.x,y:e.y}:se.getRelativePosition(e,t)}function Et(e,t){var n,r,o,i,a,s,l=e._getSortedVisibleDatasetMetas();for(r=0,i=l.length;r<i;++r)for(o=0,a=(n=l[r].data).length;o<a;++o)(s=n[o])._view.skip||t(s)}function Bt(e,t){var n=[];return Et(e,(function(e){e.inRange(t.x,t.y)&&n.push(e)})),n}function Ot(e,t,n,r){var o=Number.POSITIVE_INFINITY,i=[];return Et(e,(function(e){if(!n||e.inRange(t.x,t.y)){var a=e.getCenterPoint(),s=r(t,a);s<o?(i=[e],o=s):s===o&&i.push(e)}})),i}function jt(e){var t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){var o=t?Math.abs(e.x-r.x):0,i=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(o,2)+Math.pow(i,2))}}function Tt(e,t,n){var r=St(t,e);n.axis=n.axis||"x";var o=jt(n.axis),i=n.intersect?Bt(e,r):Ot(e,r,!1,o),a=[];return i.length?(e._getSortedVisibleDatasetMetas().forEach((function(e){var t=e.data[i[0]._index];t&&!t._view.skip&&a.push(t)})),a):[]}var Pt={modes:{single:function(e,t){var n=St(t,e),r=[];return Et(e,(function(e){if(e.inRange(n.x,n.y))return r.push(e),r})),r.slice(0,1)},label:Tt,index:Tt,dataset:function(e,t,n){var r=St(t,e);n.axis=n.axis||"xy";var o=jt(n.axis),i=n.intersect?Bt(e,r):Ot(e,r,!1,o);return i.length>0&&(i=e.getDatasetMeta(i[0]._datasetIndex).data),i},"x-axis":function(e,t){return Tt(e,t,{intersect:!1})},point:function(e,t){return Bt(e,St(t,e))},nearest:function(e,t,n){var r=St(t,e);n.axis=n.axis||"xy";var o=jt(n.axis);return Ot(e,r,n.intersect,o)},x:function(e,t,n){var r=St(t,e),o=[],i=!1;return Et(e,(function(e){e.inXRange(r.x)&&o.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(o=[]),o},y:function(e,t,n){var r=St(t,e),o=[],i=!1;return Et(e,(function(e){e.inYRange(r.y)&&o.push(e),e.inRange(r.x,r.y)&&(i=!0)})),n.intersect&&!i&&(o=[]),o}}},Mt=se.extend;function Dt(e,t){return se.where(e,(function(e){return e.pos===t}))}function Rt(e,t){return e.sort((function(e,n){var r=t?n:e,o=t?e:n;return r.weight===o.weight?r.index-o.index:r.weight-o.weight}))}function Lt(e){var t,n,r,o=[];for(t=0,n=(e||[]).length;t<n;++t)r=e[t],o.push({index:t,box:r,pos:r.position,horizontal:r.isHorizontal(),weight:r.weight});return o}function It(e,t){var n,r,o;for(n=0,r=e.length;n<r;++n)(o=e[n]).width=o.horizontal?o.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,o.height=o.horizontal&&t.hBoxMaxHeight}function Nt(e){var t=Lt(e),n=Rt(Dt(t,"left"),!0),r=Rt(Dt(t,"right")),o=Rt(Dt(t,"top"),!0),i=Rt(Dt(t,"bottom"));return{leftAndTop:n.concat(o),rightAndBottom:r.concat(i),chartArea:Dt(t,"chartArea"),vertical:n.concat(r),horizontal:o.concat(i)}}function Ft(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function zt(e,t,n){var r,o,i=n.box,a=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?i.height:i.width,e[n.pos]+=n.size,i.getPadding){var s=i.getPadding();a.top=Math.max(a.top,s.top),a.left=Math.max(a.left,s.left),a.bottom=Math.max(a.bottom,s.bottom),a.right=Math.max(a.right,s.right)}if(r=t.outerWidth-Ft(a,e,"left","right"),o=t.outerHeight-Ft(a,e,"top","bottom"),r!==e.w||o!==e.h){e.w=r,e.h=o;var l=n.horizontal?[r,e.w]:[o,e.h];return!(l[0]===l[1]||isNaN(l[0])&&isNaN(l[1]))}}function qt(e){var t=e.maxPadding;function n(n){var r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}function Ut(e,t){var n=t.maxPadding;function r(e){var r={left:0,top:0,right:0,bottom:0};return e.forEach((function(e){r[e]=Math.max(t[e],n[e])})),r}return r(e?["left","right"]:["top","bottom"])}function Ht(e,t,n){var r,o,i,a,s,l,c=[];for(r=0,o=e.length;r<o;++r)(a=(i=e[r]).box).update(i.width||t.w,i.height||t.h,Ut(i.horizontal,t)),zt(t,n,i)&&(l=!0,c.length&&(s=!0)),a.fullWidth||c.push(i);return s&&Ht(c,t,n)||l}function Wt(e,t,n){var r,o,i,a,s=n.padding,l=t.x,c=t.y;for(r=0,o=e.length;r<o;++r)a=(i=e[r]).box,i.horizontal?(a.left=a.fullWidth?s.left:t.left,a.right=a.fullWidth?n.outerWidth-s.right:t.left+t.w,a.top=c,a.bottom=c+a.height,a.width=a.right-a.left,c=a.bottom):(a.left=l,a.right=l+a.width,a.top=t.top,a.bottom=t.top+t.h,a.height=a.bottom-a.top,l=a.right);t.x=l,t.y=c}Q._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var Vt={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var r,o=["fullWidth","position","weight"],i=o.length,a=0;a<i;++a)r=o[a],n.hasOwnProperty(r)&&(t[r]=n[r])},update:function(e,t,n){if(e){var r=e.options.layout||{},o=se.options.toPadding(r.padding),i=t-o.width,a=n-o.height,s=Nt(e.boxes),l=s.vertical,c=s.horizontal,u=Object.freeze({outerWidth:t,outerHeight:n,padding:o,availableWidth:i,vBoxMaxWidth:i/2/l.length,hBoxMaxHeight:a/2}),d=Mt({maxPadding:Mt({},o),w:i,h:a,x:o.left,y:o.top},o);It(l.concat(c),u),Ht(l,d,u),Ht(c,d,u)&&Ht(l,d,u),qt(d),Wt(s.leftAndTop,d,u),d.x+=d.w,d.y+=d.h,Wt(s.rightAndBottom,d,u),e.chartArea={left:d.left,top:d.top,right:d.left+d.w,bottom:d.top+d.h},se.each(s.chartArea,(function(t){var n=t.box;Mt(n,e.chartArea),n.update(d.w,d.h)}))}}},Yt={acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},Zt="/*\r\n * DOM element rendering detection\r\n * https://davidwalsh.name/detect-node-insertion\r\n */\r\n@keyframes chartjs-render-animation {\r\n\tfrom { opacity: 0.99; }\r\n\tto { opacity: 1; }\r\n}\r\n\r\n.chartjs-render-monitor {\r\n\tanimation: chartjs-render-animation 0.001s;\r\n}\r\n\r\n/*\r\n * DOM element resizing detection\r\n * https://github.com/marcj/css-element-queries\r\n */\r\n.chartjs-size-monitor,\r\n.chartjs-size-monitor-expand,\r\n.chartjs-size-monitor-shrink {\r\n\tposition: absolute;\r\n\tdirection: ltr;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\tright: 0;\r\n\tbottom: 0;\r\n\toverflow: hidden;\r\n\tpointer-events: none;\r\n\tvisibility: hidden;\r\n\tz-index: -1;\r\n}\r\n\r\n.chartjs-size-monitor-expand > div {\r\n\tposition: absolute;\r\n\twidth: 1000000px;\r\n\theight: 1000000px;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n\r\n.chartjs-size-monitor-shrink > div {\r\n\tposition: absolute;\r\n\twidth: 200%;\r\n\theight: 200%;\r\n\tleft: 0;\r\n\ttop: 0;\r\n}\r\n",Gt=n(Object.freeze({__proto__:null,default:Zt})),Kt="$chartjs",$t="chartjs-",Xt=$t+"size-monitor",Qt=$t+"render-monitor",Jt=$t+"render-animation",en=["animationstart","webkitAnimationStart"],tn={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function nn(e,t){var n=se.getStyle(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?Number(r[1]):void 0}function rn(e,t){var n=e.style,r=e.getAttribute("height"),o=e.getAttribute("width");if(e[Kt]={initial:{height:r,width:o,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===o||""===o){var i=nn(e,"width");void 0!==i&&(e.width=i)}if(null===r||""===r)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var a=nn(e,"height");void 0!==i&&(e.height=a)}return e}var on=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}(),an=!!on&&{passive:!0};function sn(e,t,n){e.addEventListener(t,n,an)}function ln(e,t,n){e.removeEventListener(t,n,an)}function cn(e,t,n,r,o){return{type:e,chart:t,native:o||null,x:void 0!==n?n:null,y:void 0!==r?r:null}}function un(e,t){var n=tn[e.type]||e.type,r=se.getRelativePosition(e,t);return cn(n,t,r.x,r.y,e)}function dn(e,t){var n=!1,r=[];return function(){r=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,se.requestAnimFrame.call(window,(function(){n=!1,e.apply(t,r)})))}}function fn(e){var t=document.createElement("div");return t.className=e||"",t}function pn(e){var t=1e6,n=fn(Xt),r=fn(Xt+"-expand"),o=fn(Xt+"-shrink");r.appendChild(fn()),o.appendChild(fn()),n.appendChild(r),n.appendChild(o),n._reset=function(){r.scrollLeft=t,r.scrollTop=t,o.scrollLeft=t,o.scrollTop=t};var i=function(){n._reset(),e()};return sn(r,"scroll",i.bind(r,"expand")),sn(o,"scroll",i.bind(o,"shrink")),n}function hn(e,t){var n=e[Kt]||(e[Kt]={}),r=n.renderProxy=function(e){e.animationName===Jt&&t()};se.each(en,(function(t){sn(e,t,r)})),n.reflow=!!e.offsetParent,e.classList.add(Qt)}function mn(e){var t=e[Kt]||{},n=t.renderProxy;n&&(se.each(en,(function(t){ln(e,t,n)})),delete t.renderProxy),e.classList.remove(Qt)}function gn(e,t,n){var r=e[Kt]||(e[Kt]={}),o=r.resizer=pn(dn((function(){if(r.resizer){var o=n.options.maintainAspectRatio&&e.parentNode,i=o?o.clientWidth:0;t(cn("resize",n)),o&&o.clientWidth<i&&n.canvas&&t(cn("resize",n))}})));hn(e,(function(){if(r.resizer){var t=e.parentNode;t&&t!==o.parentNode&&t.insertBefore(o,t.firstChild),o._reset()}}))}function vn(e){var t=e[Kt]||{},n=t.resizer;delete t.resizer,mn(e),n&&n.parentNode&&n.parentNode.removeChild(n)}function bn(e,t){var n=e[Kt]||(e[Kt]={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var r=document.createElement("style");r.setAttribute("type","text/css"),r.appendChild(document.createTextNode(t)),e.appendChild(r)}}var yn={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;bn(t.host?t:document.head,Gt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),rn(e,t),n):null},releaseContext:function(e){var t=e.canvas;if(t[Kt]){var n=t[Kt].initial;["height","width"].forEach((function(e){var r=n[e];se.isNullOrUndef(r)?t.removeAttribute(e):t.setAttribute(e,r)})),se.each(n.style||{},(function(e,n){t.style[n]=e})),t.width=t.width,delete t[Kt]}},addEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var o=n[Kt]||(n[Kt]={});sn(r,t,(o.proxies||(o.proxies={}))[e.id+"_"+t]=function(t){n(un(t,e))})}else gn(r,n,e)},removeEventListener:function(e,t,n){var r=e.canvas;if("resize"!==t){var o=((n[Kt]||{}).proxies||{})[e.id+"_"+t];o&&ln(r,t,o)}else vn(r)}};se.addEvent=sn,se.removeEvent=ln;var An=yn._enabled?yn:Yt,xn=se.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},An);Q._set("global",{plugins:{}});var Cn={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),this._cacheId++},unregister:function(e){var t=this._plugins;[].concat(e).forEach((function(e){var n=t.indexOf(e);-1!==n&&t.splice(n,1)})),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var r,o,i,a,s,l=this.descriptors(e),c=l.length;for(r=0;r<c;++r)if("function"==typeof(s=(i=(o=l[r]).plugin)[t])&&((a=[e].concat(n||[])).push(o.options),!1===s.apply(i,a)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var n=[],r=[],o=e&&e.config||{},i=o.options&&o.options.plugins||{};return this._plugins.concat(o.plugins||[]).forEach((function(e){if(-1===n.indexOf(e)){var t=e.id,o=i[t];!1!==o&&(!0===o&&(o=se.clone(Q.global.plugins[t])),n.push(e),r.push({plugin:e,options:o||{}}))}})),t.descriptors=r,t.id=this._cacheId,r},_invalidate:function(e){delete e.$plugins}},_n={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=se.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?se.merge(Object.create(null),[Q.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){var n=this;n.defaults.hasOwnProperty(e)&&(n.defaults[e]=se.extend(n.defaults[e],t))},addScalesToLayout:function(e){se.each(e.scales,(function(t){t.fullWidth=t.options.fullWidth,t.position=t.options.position,t.weight=t.options.weight,Vt.addBox(e,t)}))}},wn=se.valueOrDefault,kn=se.rtl.getRtlAdapter;Q._set("global",{tooltips:{enabled:!0,custom:null,mode:"nearest",position:"average",intersect:!0,backgroundColor:"rgba(0,0,0,0.8)",titleFontStyle:"bold",titleSpacing:2,titleMarginBottom:6,titleFontColor:"#fff",titleAlign:"left",bodySpacing:2,bodyFontColor:"#fff",bodyAlign:"left",footerFontStyle:"bold",footerSpacing:2,footerMarginTop:6,footerFontColor:"#fff",footerAlign:"left",yPadding:6,xPadding:6,caretPadding:2,caretSize:5,cornerRadius:6,multiKeyBackground:"#fff",displayColors:!0,borderColor:"rgba(0,0,0,0)",borderWidth:0,callbacks:{beforeTitle:se.noop,title:function(e,t){var n="",r=t.labels,o=r?r.length:0;if(e.length>0){var i=e[0];i.label?n=i.label:i.xLabel?n=i.xLabel:o>0&&i.index<o&&(n=r[i.index])}return n},afterTitle:se.noop,beforeBody:se.noop,beforeLabel:se.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),se.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:se.noop,afterBody:se.noop,beforeFooter:se.noop,footer:se.noop,afterFooter:se.noop}}});var Sn={average:function(e){if(!e.length)return!1;var t,n,r=0,o=0,i=0;for(t=0,n=e.length;t<n;++t){var a=e[t];if(a&&a.hasValue()){var s=a.tooltipPosition();r+=s.x,o+=s.y,++i}}return{x:r/i,y:o/i}},nearest:function(e,t){var n,r,o,i=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){var l=e[n];if(l&&l.hasValue()){var c=l.getCenterPoint(),u=se.distanceBetweenPoints(t,c);u<s&&(s=u,o=l)}}if(o){var d=o.tooltipPosition();i=d.x,a=d.y}return{x:i,y:a}}};function En(e,t){return t&&(se.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Bn(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function On(e){var t=e._xScale,n=e._yScale||e._scale,r=e._index,o=e._datasetIndex,i=e._chart.getDatasetMeta(o).controller,a=i._getIndexScale(),s=i._getValueScale();return{xLabel:t?t.getLabelForIndex(r,o):"",yLabel:n?n.getLabelForIndex(r,o):"",label:a?""+a.getLabelForIndex(r,o):"",value:s?""+s.getLabelForIndex(r,o):"",index:r,datasetIndex:o,x:e._model.x,y:e._model.y}}function jn(e){var t=Q.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:wn(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:wn(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:wn(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:wn(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:wn(e.titleFontStyle,t.defaultFontStyle),titleFontSize:wn(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:wn(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:wn(e.footerFontStyle,t.defaultFontStyle),footerFontSize:wn(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Tn(e,t){var n=e._chart.ctx,r=2*t.yPadding,o=0,i=t.body,a=i.reduce((function(e,t){return e+t.before.length+t.lines.length+t.after.length}),0);a+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,c=t.titleFontSize,u=t.bodyFontSize,d=t.footerFontSize;r+=s*c,r+=s?(s-1)*t.titleSpacing:0,r+=s?t.titleMarginBottom:0,r+=a*u,r+=a?(a-1)*t.bodySpacing:0,r+=l?t.footerMarginTop:0,r+=l*d,r+=l?(l-1)*t.footerSpacing:0;var f=0,p=function(e){o=Math.max(o,n.measureText(e).width+f)};return n.font=se.fontString(c,t._titleFontStyle,t._titleFontFamily),se.each(t.title,p),n.font=se.fontString(u,t._bodyFontStyle,t._bodyFontFamily),se.each(t.beforeBody.concat(t.afterBody),p),f=t.displayColors?u+2:0,se.each(i,(function(e){se.each(e.before,p),se.each(e.lines,p),se.each(e.after,p)})),f=0,n.font=se.fontString(d,t._footerFontStyle,t._footerFontFamily),se.each(t.footer,p),{width:o+=2*t.xPadding,height:r}}function Pn(e,t){var n,r,o,i,a,s=e._model,l=e._chart,c=e._chart.chartArea,u="center",d="center";s.y<t.height?d="top":s.y>l.height-t.height&&(d="bottom");var f=(c.left+c.right)/2,p=(c.top+c.bottom)/2;"center"===d?(n=function(e){return e<=f},r=function(e){return e>f}):(n=function(e){return e<=t.width/2},r=function(e){return e>=l.width-t.width/2}),o=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},i=function(e){return e-t.width-s.caretSize-s.caretPadding<0},a=function(e){return e<=p?"top":"bottom"},n(s.x)?(u="left",o(s.x)&&(u="center",d=a(s.y))):r(s.x)&&(u="right",i(s.x)&&(u="center",d=a(s.y)));var h=e._options;return{xAlign:h.xAlign?h.xAlign:u,yAlign:h.yAlign?h.yAlign:d}}function Mn(e,t,n,r){var o=e.x,i=e.y,a=e.caretSize,s=e.caretPadding,l=e.cornerRadius,c=n.xAlign,u=n.yAlign,d=a+s,f=l+s;return"right"===c?o-=t.width:"center"===c&&((o-=t.width/2)+t.width>r.width&&(o=r.width-t.width),o<0&&(o=0)),"top"===u?i+=d:i-="bottom"===u?t.height+d:t.height/2,"center"===u?"left"===c?o+=d:"right"===c&&(o-=d):"left"===c?o-=f:"right"===c&&(o+=f),{x:o,y:i}}function Dn(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Rn(e){return En([],Bn(e))}var Ln=me.extend({initialize:function(){this._model=jn(this._options),this._lastActive=[]},getTitle:function(){var e=this,t=e._options.callbacks,n=t.beforeTitle.apply(e,arguments),r=t.title.apply(e,arguments),o=t.afterTitle.apply(e,arguments),i=[];return i=En(i,Bn(n)),i=En(i,Bn(r)),i=En(i,Bn(o))},getBeforeBody:function(){return Rn(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,t){var n=this,r=n._options.callbacks,o=[];return se.each(e,(function(e){var i={before:[],lines:[],after:[]};En(i.before,Bn(r.beforeLabel.call(n,e,t))),En(i.lines,r.label.call(n,e,t)),En(i.after,Bn(r.afterLabel.call(n,e,t))),o.push(i)})),o},getAfterBody:function(){return Rn(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this,t=e._options.callbacks,n=t.beforeFooter.apply(e,arguments),r=t.footer.apply(e,arguments),o=t.afterFooter.apply(e,arguments),i=[];return i=En(i,Bn(n)),i=En(i,Bn(r)),i=En(i,Bn(o))},update:function(e){var t,n,r=this,o=r._options,i=r._model,a=r._model=jn(o),s=r._active,l=r._data,c={xAlign:i.xAlign,yAlign:i.yAlign},u={x:i.x,y:i.y},d={width:i.width,height:i.height},f={x:i.caretX,y:i.caretY};if(s.length){a.opacity=1;var p=[],h=[];f=Sn[o.position].call(r,s,r._eventPosition);var m=[];for(t=0,n=s.length;t<n;++t)m.push(On(s[t]));o.filter&&(m=m.filter((function(e){return o.filter(e,l)}))),o.itemSort&&(m=m.sort((function(e,t){return o.itemSort(e,t,l)}))),se.each(m,(function(e){p.push(o.callbacks.labelColor.call(r,e,r._chart)),h.push(o.callbacks.labelTextColor.call(r,e,r._chart))})),a.title=r.getTitle(m,l),a.beforeBody=r.getBeforeBody(m,l),a.body=r.getBody(m,l),a.afterBody=r.getAfterBody(m,l),a.footer=r.getFooter(m,l),a.x=f.x,a.y=f.y,a.caretPadding=o.caretPadding,a.labelColors=p,a.labelTextColors=h,a.dataPoints=m,u=Mn(a,d=Tn(this,a),c=Pn(this,d),r._chart)}else a.opacity=0;return a.xAlign=c.xAlign,a.yAlign=c.yAlign,a.x=u.x,a.y=u.y,a.width=d.width,a.height=d.height,a.caretX=f.x,a.caretY=f.y,r._model=a,e&&o.custom&&o.custom.call(r,a),r},drawCaret:function(e,t){var n=this._chart.ctx,r=this._view,o=this.getCaretPosition(e,t,r);n.lineTo(o.x1,o.y1),n.lineTo(o.x2,o.y2),n.lineTo(o.x3,o.y3)},getCaretPosition:function(e,t,n){var r,o,i,a,s,l,c=n.caretSize,u=n.cornerRadius,d=n.xAlign,f=n.yAlign,p=e.x,h=e.y,m=t.width,g=t.height;if("center"===f)s=h+g/2,"left"===d?(o=(r=p)-c,i=r,a=s+c,l=s-c):(o=(r=p+m)+c,i=r,a=s-c,l=s+c);else if("left"===d?(r=(o=p+u+c)-c,i=o+c):"right"===d?(r=(o=p+m-u-c)-c,i=o+c):(r=(o=n.caretX)-c,i=o+c),"top"===f)s=(a=h)-c,l=a;else{s=(a=h+g)+c,l=a;var v=i;i=r,r=v}return{x1:r,x2:o,x3:i,y1:a,y2:s,y3:l}},drawTitle:function(e,t,n){var r,o,i,a=t.title,s=a.length;if(s){var l=kn(t.rtl,t.x,t.width);for(e.x=Dn(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",r=t.titleFontSize,o=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=se.fontString(r,t._titleFontStyle,t._titleFontFamily),i=0;i<s;++i)n.fillText(a[i],l.x(e.x),e.y+r/2),e.y+=r+o,i+1===s&&(e.y+=t.titleMarginBottom-o)}},drawBody:function(e,t,n){var r,o,i,a,s,l,c,u,d=t.bodyFontSize,f=t.bodySpacing,p=t._bodyAlign,h=t.body,m=t.displayColors,g=0,v=m?Dn(t,"left"):0,b=kn(t.rtl,t.x,t.width),y=function(t){n.fillText(t,b.x(e.x+g),e.y+d/2),e.y+=d+f},A=b.textAlign(p);for(n.textAlign=p,n.textBaseline="middle",n.font=se.fontString(d,t._bodyFontStyle,t._bodyFontFamily),e.x=Dn(t,A),n.fillStyle=t.bodyFontColor,se.each(t.beforeBody,y),g=m&&"right"!==A?"center"===p?d/2+1:d+2:0,s=0,c=h.length;s<c;++s){for(r=h[s],o=t.labelTextColors[s],i=t.labelColors[s],n.fillStyle=o,se.each(r.before,y),l=0,u=(a=r.lines).length;l<u;++l){if(m){var x=b.x(v);n.fillStyle=t.legendColorBackground,n.fillRect(b.leftForLtr(x,d),e.y,d,d),n.lineWidth=1,n.strokeStyle=i.borderColor,n.strokeRect(b.leftForLtr(x,d),e.y,d,d),n.fillStyle=i.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(x,1),d-2),e.y+1,d-2,d-2),n.fillStyle=o}y(a[l])}se.each(r.after,y)}g=0,se.each(t.afterBody,y),e.y-=f},drawFooter:function(e,t,n){var r,o,i=t.footer,a=i.length;if(a){var s=kn(t.rtl,t.x,t.width);for(e.x=Dn(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",r=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=se.fontString(r,t._footerFontStyle,t._footerFontFamily),o=0;o<a;++o)n.fillText(i[o],s.x(e.x),e.y+r/2),e.y+=r+t.footerSpacing}},drawBackground:function(e,t,n,r){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var o=t.xAlign,i=t.yAlign,a=e.x,s=e.y,l=r.width,c=r.height,u=t.cornerRadius;n.beginPath(),n.moveTo(a+u,s),"top"===i&&this.drawCaret(e,r),n.lineTo(a+l-u,s),n.quadraticCurveTo(a+l,s,a+l,s+u),"center"===i&&"right"===o&&this.drawCaret(e,r),n.lineTo(a+l,s+c-u),n.quadraticCurveTo(a+l,s+c,a+l-u,s+c),"bottom"===i&&this.drawCaret(e,r),n.lineTo(a+u,s+c),n.quadraticCurveTo(a,s+c,a,s+c-u),"center"===i&&"left"===o&&this.drawCaret(e,r),n.lineTo(a,s+u),n.quadraticCurveTo(a,s,a+u,s),n.closePath(),n.fill(),t.borderWidth>0&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},r={x:t.x,y:t.y},o=Math.abs(t.opacity<.001)?0:t.opacity,i=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&i&&(e.save(),e.globalAlpha=o,this.drawBackground(r,t,e,n),r.y+=t.yPadding,se.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(r,t,e),this.drawBody(r,t,e),this.drawFooter(r,t,e),se.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t=this,n=t._options,r=!1;return t._lastActive=t._lastActive||[],"mouseout"===e.type?t._active=[]:(t._active=t._chart.getElementsAtEventForMode(e,n.mode,n),n.reverse&&t._active.reverse()),(r=!se.arrayEquals(t._active,t._lastActive))&&(t._lastActive=t._active,(n.enabled||n.custom)&&(t._eventPosition={x:e.x,y:e.y},t.update(!0),t.pivot())),r}}),In=Sn,Nn=Ln;Nn.positioners=In;var Fn=se.valueOrDefault;function zn(){return se.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){if("xAxes"===e||"yAxes"===e){var o,i,a,s=n[e].length;for(t[e]||(t[e]=[]),o=0;o<s;++o)a=n[e][o],i=Fn(a.type,"xAxes"===e?"category":"linear"),o>=t[e].length&&t[e].push({}),!t[e][o].type||a.type&&a.type!==t[e][o].type?se.merge(t[e][o],[_n.getScaleDefaults(i),a]):se.merge(t[e][o],a)}else se._merger(e,t,n,r)}})}function qn(){return se.merge(Object.create(null),[].slice.call(arguments),{merger:function(e,t,n,r){var o=t[e]||Object.create(null),i=n[e];"scales"===e?t[e]=zn(o,i):"scale"===e?t[e]=se.merge(o,[_n.getScaleDefaults(i.type),i]):se._merger(e,t,n,r)}})}function Un(e){var t=(e=e||Object.create(null)).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=qn(Q.global,Q[e.type],e.options||{}),e}function Hn(e){var t=e.options;se.each(e.scales,(function(t){Vt.removeBox(e,t)})),t=qn(Q.global,Q[e.config.type],t),e.options=e.config.options=t,e.ensureScalesHaveIDs(),e.buildOrUpdateScales(),e.tooltip._options=t.tooltips,e.tooltip.initialize()}function Wn(e,t,n){var r,o=function(e){return e.id===r};do{r=t+n++}while(se.findIndex(e,o)>=0);return r}function Vn(e){return"top"===e||"bottom"===e}function Yn(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}Q._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});var Zn=function(e,t){return this.construct(e,t),this};se.extend(Zn.prototype,{construct:function(e,t){var n=this;t=Un(t);var r=xn.acquireContext(e,t),o=r&&r.canvas,i=o&&o.height,a=o&&o.width;n.id=se.uid(),n.ctx=r,n.canvas=o,n.config=t,n.width=a,n.height=i,n.aspectRatio=i?a/i:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],n.chart=n,n.controller=n,Zn.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),r&&o?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Cn.notify(e,"beforeInit"),se.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Cn.notify(e,"afterInit"),e},clear:function(){return se.canvas.clear(this),this},stop:function(){return be.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,r=t.canvas,o=n.maintainAspectRatio&&t.aspectRatio||null,i=Math.max(0,Math.floor(se.getMaximumWidth(r))),a=Math.max(0,Math.floor(o?i/o:se.getMaximumHeight(r)));if((t.width!==i||t.height!==a)&&(r.width=t.width=i,r.height=t.height=a,r.style.width=i+"px",r.style.height=a+"px",se.retinaScale(t,n.devicePixelRatio),!e)){var s={width:i,height:a};Cn.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,t=e.scales||{},n=e.scale;se.each(t.xAxes,(function(e,n){e.id||(e.id=Wn(t.xAxes,"x-axis-",n))})),se.each(t.yAxes,(function(e,n){e.id||(e.id=Wn(t.yAxes,"y-axis-",n))})),n&&(n.id=n.id||"scale")},buildOrUpdateScales:function(){var e=this,t=e.options,n=e.scales||{},r=[],o=Object.keys(n).reduce((function(e,t){return e[t]=!1,e}),{});t.scales&&(r=r.concat((t.scales.xAxes||[]).map((function(e){return{options:e,dtype:"category",dposition:"bottom"}})),(t.scales.yAxes||[]).map((function(e){return{options:e,dtype:"linear",dposition:"left"}})))),t.scale&&r.push({options:t.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),se.each(r,(function(t){var r=t.options,i=r.id,a=Fn(r.type,t.dtype);Vn(r.position)!==Vn(t.dposition)&&(r.position=t.dposition),o[i]=!0;var s=null;if(i in n&&n[i].type===a)(s=n[i]).options=r,s.ctx=e.ctx,s.chart=e;else{var l=_n.getScaleConstructor(a);if(!l)return;s=new l({id:i,type:a,options:r,ctx:e.ctx,chart:e}),n[s.id]=s}s.mergeTicksOptions(),t.isDefault&&(e.scale=s)})),se.each(o,(function(e,t){e||delete n[t]})),e.scales=n,_n.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,r=[],o=n.data.datasets;for(e=0,t=o.length;e<t;e++){var i=o[e],a=n.getDatasetMeta(e),s=i.type||n.config.type;if(a.type&&a.type!==s&&(n.destroyDatasetMeta(e),a=n.getDatasetMeta(e)),a.type=s,a.order=i.order||0,a.index=e,a.controller)a.controller.updateIndex(e),a.controller.linkScales();else{var l=kt[a.type];if(void 0===l)throw new Error('"'+a.type+'" is not a chart type.');a.controller=new l(n,e),r.push(a.controller)}}return r},resetElements:function(){var e=this;se.each(e.data.datasets,(function(t,n){e.getDatasetMeta(n).controller.reset()}),e)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,r=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),Hn(r),Cn._invalidate(r),!1!==Cn.notify(r,"beforeUpdate")){r.tooltip._data=r.data;var o=r.buildOrUpdateControllers();for(t=0,n=r.data.datasets.length;t<n;t++)r.getDatasetMeta(t).controller.buildOrUpdateElements();r.updateLayout(),r.options.animation&&r.options.animation.duration&&se.each(o,(function(e){e.reset()})),r.updateDatasets(),r.tooltip.initialize(),r.lastActive=[],Cn.notify(r,"afterUpdate"),r._layers.sort(Yn("z","_idx")),r._bufferedRender?r._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:r.render(e)}},updateLayout:function(){var e=this;!1!==Cn.notify(e,"beforeLayout")&&(Vt.update(this,this.width,this.height),e._layers=[],se.each(e.boxes,(function(t){t._configure&&t._configure(),e._layers.push.apply(e._layers,t._layers())}),e),e._layers.forEach((function(e,t){e._idx=t})),Cn.notify(e,"afterScaleUpdate"),Cn.notify(e,"afterLayout"))},updateDatasets:function(){var e=this;if(!1!==Cn.notify(e,"beforeDatasetsUpdate")){for(var t=0,n=e.data.datasets.length;t<n;++t)e.updateDataset(t);Cn.notify(e,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this,n=t.getDatasetMeta(e),r={meta:n,index:e};!1!==Cn.notify(t,"beforeDatasetUpdate",[r])&&(n.controller._update(),Cn.notify(t,"afterDatasetUpdate",[r]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,r=Fn(e.duration,n&&n.duration),o=e.lazy;if(!1!==Cn.notify(t,"beforeRender")){var i=function(e){Cn.notify(t,"afterRender"),se.callback(n&&n.onComplete,[e],t)};if(n&&r){var a=new ve({numSteps:r/16.66,easing:e.easing||n.easing,render:function(e,t){var n=se.easing.effects[t.easing],r=t.currentStep,o=r/t.numSteps;e.draw(n(o),o,r)},onAnimationProgress:n.onProgress,onAnimationComplete:i});be.addAnimation(t,a,r,o)}else t.draw(),i(new ve({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,r=this;if(r.clear(),se.isNullOrUndef(e)&&(e=1),r.transition(e),!(r.width<=0||r.height<=0)&&!1!==Cn.notify(r,"beforeDraw",[e])){for(n=r._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(r.chartArea);for(r.drawDatasets(e);t<n.length;++t)n[t].draw(r.chartArea);r._drawTooltip(e),Cn.notify(r,"afterDraw",[e])}},transition:function(e){for(var t=this,n=0,r=(t.data.datasets||[]).length;n<r;++n)t.isDatasetVisible(n)&&t.getDatasetMeta(n).controller.transition(e);t.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,r=this,o=[];for(t=0,n=(r.data.datasets||[]).length;t<n;++t)e&&!r.isDatasetVisible(t)||o.push(r.getDatasetMeta(t));return o.sort(Yn("order","index")),o},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n,r=this;if(!1!==Cn.notify(r,"beforeDatasetsDraw",[e])){for(n=(t=r._getSortedVisibleDatasetMetas()).length-1;n>=0;--n)r.drawDataset(t[n],e);Cn.notify(r,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n=this,r={meta:e,index:e.index,easingValue:t};!1!==Cn.notify(n,"beforeDatasetDraw",[r])&&(e.controller.draw(t),Cn.notify(n,"afterDatasetDraw",[r]))},_drawTooltip:function(e){var t=this,n=t.tooltip,r={tooltip:n,easingValue:e};!1!==Cn.notify(t,"beforeTooltipDraw",[r])&&(n.draw(),Cn.notify(t,"afterTooltipDraw",[r]))},getElementAtEvent:function(e){return Pt.modes.single(this,e)},getElementsAtEvent:function(e){return Pt.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return Pt.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var r=Pt.modes[t];return"function"==typeof r?r(this,e,n):[]},getDatasetAtEvent:function(e){return Pt.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this,n=t.data.datasets[e];n._meta||(n._meta={});var r=n._meta[t.id];return r||(r=n._meta[t.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n.order||0,index:e}),r},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],r=n._meta&&n._meta[t];r&&(r.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,r=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);r&&(n.unbindEvents(),se.canvas.clear(n),xn.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Cn.notify(n,"destroy"),delete Zn.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Nn({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var e=this,t=e._listeners={},n=function(){e.eventHandler.apply(e,arguments)};se.each(e.options.events,(function(r){xn.addEventListener(e,r,n),t[r]=n})),e.options.responsive&&(n=function(){e.resize()},xn.addEventListener(e,"resize",n),t.resize=n)},unbindEvents:function(){var e=this,t=e._listeners;t&&(delete e._listeners,se.each(t,(function(t,n){xn.removeEventListener(e,n,t)})))},updateHoverStyle:function(e,t,n){var r,o,i,a=n?"set":"remove";for(o=0,i=e.length;o<i;++o)(r=e[o])&&this.getDatasetMeta(r._datasetIndex).controller[a+"HoverStyle"](r);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+a+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Cn.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var r=t.handleEvent(e);n&&(r=n._start?n.handleEvent(e):r|n.handleEvent(e)),Cn.notify(t,"afterEvent",[e]);var o=t._bufferedRequest;return o?t.render(o):r&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t=this,n=t.options||{},r=n.hover,o=!1;return t.lastActive=t.lastActive||[],"mouseout"===e.type?t.active=[]:t.active=t.getElementsAtEventForMode(e,r.mode,r),se.callback(n.onHover||n.hover.onHover,[e.native,t.active],t),"mouseup"!==e.type&&"click"!==e.type||n.onClick&&n.onClick.call(t,e.native,t.active),t.lastActive.length&&t.updateHoverStyle(t.lastActive,r.mode,!1),t.active.length&&r.mode&&t.updateHoverStyle(t.active,r.mode,!0),o=!se.arrayEquals(t.active,t.lastActive),t.lastActive=t.active,o}}),Zn.instances={};var Gn=Zn;Zn.Controller=Zn,Zn.types={},se.configMerge=qn,se.scaleMerge=zn;var Kn=function(){function e(e,t,n){var r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}function t(e){return null!=e&&"none"!==e}function n(n,r,o){var i=document.defaultView,a=se._getParentNode(n),s=i.getComputedStyle(n)[r],l=i.getComputedStyle(a)[r],c=t(s),u=t(l),d=Number.POSITIVE_INFINITY;return c||u?Math.min(c?e(s,n,o):d,u?e(l,a,o):d):"none"}se.where=function(e,t){if(se.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return se.each(e,(function(e){t(e)&&n.push(e)})),n},se.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var r=0,o=e.length;r<o;++r)if(t.call(n,e[r],r,e))return r;return-1},se.findNextWhere=function(e,t,n){se.isNullOrUndef(n)&&(n=-1);for(var r=n+1;r<e.length;r++){var o=e[r];if(t(o))return o}},se.findPreviousWhere=function(e,t,n){se.isNullOrUndef(n)&&(n=e.length);for(var r=n-1;r>=0;r--){var o=e[r];if(t(o))return o}},se.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},se.almostEquals=function(e,t,n){return Math.abs(e-t)<n},se.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&n+t>=e},se.max=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.max(e,t)}),Number.NEGATIVE_INFINITY)},se.min=function(e){return e.reduce((function(e,t){return isNaN(t)?e:Math.min(e,t)}),Number.POSITIVE_INFINITY)},se.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:e>0?1:-1},se.toRadians=function(e){return e*(Math.PI/180)},se.toDegrees=function(e){return e*(180/Math.PI)},se._decimalPlaces=function(e){if(se.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},se.getAngleFromPoint=function(e,t){var n=t.x-e.x,r=t.y-e.y,o=Math.sqrt(n*n+r*r),i=Math.atan2(r,n);return i<-.5*Math.PI&&(i+=2*Math.PI),{angle:i,distance:o}},se.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},se.aliasPixel=function(e){return e%2==0?0:.5},se._alignPixel=function(e,t,n){var r=e.currentDevicePixelRatio,o=n/2;return Math.round((t-o)*r)/r+o},se.splineCurve=function(e,t,n,r){var o=e.skip?t:e,i=t,a=n.skip?t:n,s=Math.sqrt(Math.pow(i.x-o.x,2)+Math.pow(i.y-o.y,2)),l=Math.sqrt(Math.pow(a.x-i.x,2)+Math.pow(a.y-i.y,2)),c=s/(s+l),u=l/(s+l),d=r*(c=isNaN(c)?0:c),f=r*(u=isNaN(u)?0:u);return{previous:{x:i.x-d*(a.x-o.x),y:i.y-d*(a.y-o.y)},next:{x:i.x+f*(a.x-o.x),y:i.y+f*(a.y-o.y)}}},se.EPSILON=Number.EPSILON||1e-14,se.splineCurveMonotone=function(e){var t,n,r,o,i,a,s,l,c,u=(e||[]).map((function(e){return{model:e._model,deltaK:0,mK:0}})),d=u.length;for(t=0;t<d;++t)if(!(r=u[t]).model.skip){if(n=t>0?u[t-1]:null,(o=t<d-1?u[t+1]:null)&&!o.model.skip){var f=o.model.x-r.model.x;r.deltaK=0!==f?(o.model.y-r.model.y)/f:0}!n||n.model.skip?r.mK=r.deltaK:!o||o.model.skip?r.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(r.deltaK)?r.mK=0:r.mK=(n.deltaK+r.deltaK)/2}for(t=0;t<d-1;++t)r=u[t],o=u[t+1],r.model.skip||o.model.skip||(se.almostEquals(r.deltaK,0,this.EPSILON)?r.mK=o.mK=0:(i=r.mK/r.deltaK,a=o.mK/r.deltaK,(l=Math.pow(i,2)+Math.pow(a,2))<=9||(s=3/Math.sqrt(l),r.mK=i*s*r.deltaK,o.mK=a*s*r.deltaK)));for(t=0;t<d;++t)(r=u[t]).model.skip||(n=t>0?u[t-1]:null,o=t<d-1?u[t+1]:null,n&&!n.model.skip&&(c=(r.model.x-n.model.x)/3,r.model.controlPointPreviousX=r.model.x-c,r.model.controlPointPreviousY=r.model.y-c*r.mK),o&&!o.model.skip&&(c=(o.model.x-r.model.x)/3,r.model.controlPointNextX=r.model.x+c,r.model.controlPointNextY=r.model.y+c*r.mK))},se.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},se.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},se.niceNum=function(e,t){var n=Math.floor(se.log10(e)),r=e/Math.pow(10,n);return(t?r<1.5?1:r<3?2:r<7?5:10:r<=1?1:r<=2?2:r<=5?5:10)*Math.pow(10,n)},se.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},se.getRelativePosition=function(e,t){var n,r,o=e.originalEvent||e,i=e.target||e.srcElement,a=i.getBoundingClientRect(),s=o.touches;s&&s.length>0?(n=s[0].clientX,r=s[0].clientY):(n=o.clientX,r=o.clientY);var l=parseFloat(se.getStyle(i,"padding-left")),c=parseFloat(se.getStyle(i,"padding-top")),u=parseFloat(se.getStyle(i,"padding-right")),d=parseFloat(se.getStyle(i,"padding-bottom")),f=a.right-a.left-l-u,p=a.bottom-a.top-c-d;return{x:n=Math.round((n-a.left-l)/f*i.width/t.currentDevicePixelRatio),y:r=Math.round((r-a.top-c)/p*i.height/t.currentDevicePixelRatio)}},se.getConstraintWidth=function(e){return n(e,"max-width","clientWidth")},se.getConstraintHeight=function(e){return n(e,"max-height","clientHeight")},se._calculatePadding=function(e,t,n){return(t=se.getStyle(e,t)).indexOf("%")>-1?n*parseInt(t,10)/100:parseInt(t,10)},se._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},se.getMaximumWidth=function(e){var t=se._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,r=n-se._calculatePadding(t,"padding-left",n)-se._calculatePadding(t,"padding-right",n),o=se.getConstraintWidth(e);return isNaN(o)?r:Math.min(r,o)},se.getMaximumHeight=function(e){var t=se._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,r=n-se._calculatePadding(t,"padding-top",n)-se._calculatePadding(t,"padding-bottom",n),o=se.getConstraintHeight(e);return isNaN(o)?r:Math.min(r,o)},se.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},se.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var r=e.canvas,o=e.height,i=e.width;r.height=o*n,r.width=i*n,e.ctx.scale(n,n),r.style.height||r.style.width||(r.style.height=o+"px",r.style.width=i+"px")}},se.fontString=function(e,t,n){return t+" "+e+"px "+n},se.longestText=function(e,t,n,r){var o=(r=r||{}).data=r.data||{},i=r.garbageCollect=r.garbageCollect||[];r.font!==t&&(o=r.data={},i=r.garbageCollect=[],r.font=t),e.font=t;var a,s,l,c,u,d=0,f=n.length;for(a=0;a<f;a++)if(null!=(c=n[a])&&!0!==se.isArray(c))d=se.measureText(e,o,i,d,c);else if(se.isArray(c))for(s=0,l=c.length;s<l;s++)null==(u=c[s])||se.isArray(u)||(d=se.measureText(e,o,i,d,u));var p=i.length/2;if(p>n.length){for(a=0;a<p;a++)delete o[i[a]];i.splice(0,p)}return d},se.measureText=function(e,t,n,r,o){var i=t[o];return i||(i=t[o]=e.measureText(o).width,n.push(o)),i>r&&(r=i),r},se.numberOfLabelLines=function(e){var t=1;return se.each(e,(function(e){se.isArray(e)&&e.length>t&&(t=e.length)})),t},se.color=L?function(e){return e instanceof CanvasGradient&&(e=Q.global.defaultColor),L(e)}:function(e){return console.error("Color.js not found!"),e},se.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:se.color(e).saturate(.5).darken(.1).rgbString()}};function $n(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Xn(e){this.options=e||{}}se.extend(Xn.prototype,{formats:$n,parse:$n,format:$n,add:$n,diff:$n,startOf:$n,endOf:$n,_create:function(e){return e}}),Xn.override=function(e){se.extend(Xn.prototype,e)};var Qn={_date:Xn},Jn={formatters:{values:function(e){return se.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var o=se.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var a=se.log10(Math.abs(e)),s=Math.floor(a)-Math.floor(o);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var l=-1*Math.floor(o);l=Math.max(Math.min(l,20),0),i=e.toFixed(l)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(se.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},er=se.isArray,tr=se.isNullOrUndef,nr=se.valueOrDefault,rr=se.valueAtIndexOrDefault;function or(e,t){for(var n=[],r=e.length/t,o=0,i=e.length;o<i;o+=r)n.push(e[Math.floor(o)]);return n}function ir(e,t,n){var r,o=e.getTicks().length,i=Math.min(t,o-1),a=e.getPixelForTick(i),s=e._startPixel,l=e._endPixel,c=1e-6;if(!(n&&(r=1===o?Math.max(a-s,l-a):0===t?(e.getPixelForTick(1)-a)/2:(a-e.getPixelForTick(i-1))/2,(a+=i<t?r:-r)<s-c||a>l+c)))return a}function ar(e,t){se.each(e,(function(e){var n,r=e.gc,o=r.length/2;if(o>t){for(n=0;n<o;++n)delete e.data[r[n]];r.splice(0,o)}}))}function sr(e,t,n,r){var o,i,a,s,l,c,u,d,f,p,h,m,g,v=n.length,b=[],y=[],A=[],x=0,C=0;for(o=0;o<v;++o){if(s=n[o].label,l=n[o].major?t.major:t.minor,e.font=c=l.string,u=r[c]=r[c]||{data:{},gc:[]},d=l.lineHeight,f=p=0,tr(s)||er(s)){if(er(s))for(i=0,a=s.length;i<a;++i)h=s[i],tr(h)||er(h)||(f=se.measureText(e,u.data,u.gc,f,h),p+=d)}else f=se.measureText(e,u.data,u.gc,f,s),p=d;b.push(f),y.push(p),A.push(d/2),x=Math.max(f,x),C=Math.max(p,C)}function _(e){return{width:b[e]||0,height:y[e]||0,offset:A[e]||0}}return ar(r,v),m=b.indexOf(x),g=y.indexOf(C),{first:_(0),last:_(v-1),widest:_(m),highest:_(g)}}function lr(e){return e.drawTicks?e.tickMarkLength:0}function cr(e){var t,n;return e.display?(t=se.options._parseFont(e),n=se.options.toPadding(e.padding),t.lineHeight+n.height):0}function ur(e,t){return se.extend(se.options._parseFont({fontFamily:nr(t.fontFamily,e.fontFamily),fontSize:nr(t.fontSize,e.fontSize),fontStyle:nr(t.fontStyle,e.fontStyle),lineHeight:nr(t.lineHeight,e.lineHeight)}),{color:se.options.resolve([t.fontColor,e.fontColor,Q.global.defaultFontColor])})}function dr(e){var t=ur(e,e.minor);return{minor:t,major:e.major.enabled?ur(e,e.major):t}}function fr(e){var t,n,r,o=[];for(n=0,r=e.length;n<r;++n)void 0!==(t=e[n])._index&&o.push(t);return o}function pr(e){var t,n,r=e.length;if(r<2)return!1;for(n=e[0],t=1;t<r;++t)if(e[t]-e[t-1]!==n)return!1;return n}function hr(e,t,n,r){var o,i,a,s,l=pr(e),c=(t.length-1)/r;if(!l)return Math.max(c,1);for(a=0,s=(o=se.math._factorize(l)).length-1;a<s;a++)if((i=o[a])>c)return i;return Math.max(c,1)}function mr(e){var t,n,r=[];for(t=0,n=e.length;t<n;t++)e[t].major&&r.push(t);return r}function gr(e,t,n){var r,o,i=0,a=t[0];for(n=Math.ceil(n),r=0;r<e.length;r++)o=e[r],r===a?(o._index=r,a=t[++i*n]):delete o.label}function vr(e,t,n,r){var o,i,a,s,l=nr(n,0),c=Math.min(nr(r,e.length),e.length),u=0;for(t=Math.ceil(t),r&&(t=(o=r-n)/Math.floor(o/t)),s=l;s<0;)u++,s=Math.round(l+u*t);for(i=Math.max(l,0);i<c;i++)a=e[i],i===s?(a._index=i,u++,s=Math.round(l+u*t)):delete a.label}Q._set("scale",{display:!0,position:"left",offset:!1,gridLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,drawBorder:!0,drawOnChartArea:!0,drawTicks:!0,tickMarkLength:10,zeroLineWidth:1,zeroLineColor:"rgba(0,0,0,0.25)",zeroLineBorderDash:[],zeroLineBorderDashOffset:0,offsetGridLines:!1,borderDash:[],borderDashOffset:0},scaleLabel:{display:!1,labelString:"",padding:{top:4,bottom:4}},ticks:{beginAtZero:!1,minRotation:0,maxRotation:50,mirror:!1,padding:0,reverse:!1,display:!0,autoSkip:!0,autoSkipPadding:0,labelOffset:0,callback:Jn.formatters.values,minor:{},major:{}}});var br=me.extend({zeroLineIndex:0,getPadding:function(){var e=this;return{left:e.paddingLeft||0,top:e.paddingTop||0,right:e.paddingRight||0,bottom:e.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){se.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var r,o,i,a,s,l=this,c=l.options.ticks,u=c.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=se.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),a=l.buildTicks()||[],(!(a=l.afterBuildTicks(a)||a)||!a.length)&&l.ticks)for(a=[],r=0,o=l.ticks.length;r<o;++r)a.push({value:l.ticks[r],major:!1});return l._ticks=a,s=u<a.length,i=l._convertTicksToLabels(s?or(a,u):a),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=c.display&&(c.autoSkip||"auto"===c.source)?l._autoSkip(a):a,s&&(i=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=i,l.afterUpdate(),l.minSize},_configure:function(){var e,t,n=this,r=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,r=!r),n._startPixel=e,n._endPixel=t,n._reversePixels=r,n._length=t-e},afterUpdate:function(){se.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){se.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){se.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){se.callback(this.options.beforeDataLimits,[this])},determineDataLimits:se.noop,afterDataLimits:function(){se.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){se.callback(this.options.beforeBuildTicks,[this])},buildTicks:se.noop,afterBuildTicks:function(e){var t=this;return er(e)&&e.length?se.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=se.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){se.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this,t=e.options.ticks;e.ticks=e.ticks.map(t.userCallback||t.callback,this)},afterTickToLabelConversion:function(){se.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){se.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,r,o,i,a,s=this,l=s.options,c=l.ticks,u=s.getTicks().length,d=c.minRotation||0,f=c.maxRotation,p=d;!s._isVisible()||!c.display||d>=f||u<=1||!s.isHorizontal()?s.labelRotation=d:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,r=Math.min(s.maxWidth,s.chart.width-t),t+6>(o=l.offset?s.maxWidth/u:r/(u-1))&&(o=r/(u-(l.offset?.5:1)),i=s.maxHeight-lr(l.gridLines)-c.padding-cr(l.scaleLabel),a=Math.sqrt(t*t+n*n),p=se.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/o,1)),Math.asin(Math.min(i/a,1))-Math.asin(n/a))),p=Math.max(d,Math.min(f,p))),s.labelRotation=p)},afterCalculateTickRotation:function(){se.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){se.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,r=e.options,o=r.ticks,i=r.scaleLabel,a=r.gridLines,s=e._isVisible(),l="bottom"===r.position,c=e.isHorizontal();if(c?t.width=e.maxWidth:s&&(t.width=lr(a)+cr(i)),c?s&&(t.height=lr(a)+cr(i)):t.height=e.maxHeight,o.display&&s){var u=dr(o),d=e._getLabelSizes(),f=d.first,p=d.last,h=d.widest,m=d.highest,g=.4*u.minor.lineHeight,v=o.padding;if(c){var b=0!==e.labelRotation,y=se.toRadians(e.labelRotation),A=Math.cos(y),x=Math.sin(y),C=x*h.width+A*(m.height-(b?m.offset:0))+(b?0:g);t.height=Math.min(e.maxHeight,t.height+C+v);var _,w,k=e.getPixelForTick(0)-e.left,S=e.right-e.getPixelForTick(e.getTicks().length-1);b?(_=l?A*f.width+x*f.offset:x*(f.height-f.offset),w=l?x*(p.height-p.offset):A*p.width+x*p.offset):(_=f.width/2,w=p.width/2),e.paddingLeft=Math.max((_-k)*e.width/(e.width-k),0)+3,e.paddingRight=Math.max((w-S)*e.width/(e.width-S),0)+3}else{var E=o.mirror?0:h.width+v+g;t.width=Math.min(e.maxWidth,t.width+E),e.paddingTop=f.height/2,e.paddingBottom=p.height/2}}e.handleMargins(),c?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){se.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(tr(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,r,o=this;for(o.ticks=e.map((function(e){return e.value})),o.beforeTickToLabelConversion(),t=o.convertTicksToLabels(e)||o.ticks,o.afterTickToLabelConversion(),n=0,r=e.length;n<r;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=sr(e.ctx,dr(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,r,o;return er(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),r=Math.min(t,n),o=Math.max(t,n)):(t=void 0,n=e=+this.getRightValue(e),r=e,o=e),{min:r,max:o,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:se.noop,getPixelForValue:se.noop,getValueForPixel:se.noop,getPixelForTick:function(e){var t=this,n=t.options.offset,r=t._ticks.length,o=1/Math.max(r-(n?0:1),1);return e<0||e>r-1?null:t.getPixelForDecimal(e*o+(n?o/2:0))},getPixelForDecimal:function(e){var t=this;return t._reversePixels&&(e=1-e),t._startPixel+e*t._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this,t=e.min,n=e.max;return e.beginAtZero?0:t<0&&n<0?n:t>0&&n>0?t:0},_autoSkip:function(e){var t,n,r,o,i=this,a=i.options.ticks,s=i._length,l=a.maxTicksLimit||s/i._tickSize()+1,c=a.major.enabled?mr(e):[],u=c.length,d=c[0],f=c[u-1];if(u>l)return gr(e,c,u/l),fr(e);if(r=hr(c,e,s,l),u>0){for(t=0,n=u-1;t<n;t++)vr(e,r,c[t],c[t+1]);return o=u>1?(f-d)/(u-1):null,vr(e,r,se.isNullOrUndef(o)?0:d-o,d),vr(e,r,f,se.isNullOrUndef(o)?e.length:f+o),fr(e)}return vr(e,r),fr(e)},_tickSize:function(){var e=this,t=e.options.ticks,n=se.toRadians(e.labelRotation),r=Math.abs(Math.cos(n)),o=Math.abs(Math.sin(n)),i=e._getLabelSizes(),a=t.autoSkipPadding||0,s=i?i.widest.width+a:0,l=i?i.highest.height+a:0;return e.isHorizontal()?l*r>s*o?s/r:l/o:l*o<s*r?l/r:s/o},_isVisible:function(){var e,t,n,r=this,o=r.chart,i=r.options.display;if("auto"!==i)return!!i;for(e=0,t=o.data.datasets.length;e<t;++e)if(o.isDatasetVisible(e)&&((n=o.getDatasetMeta(e)).xAxisID===r.id||n.yAxisID===r.id))return!0;return!1},_computeGridLineItems:function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,b=this,y=b.chart,A=b.options,x=A.gridLines,C=A.position,_=x.offsetGridLines,w=b.isHorizontal(),k=b._ticksToDraw,S=k.length+(_?1:0),E=lr(x),B=[],O=x.drawBorder?rr(x.lineWidth,0,0):0,j=O/2,T=se._alignPixel,P=function(e){return T(y,e,O)};for("top"===C?(t=P(b.bottom),s=b.bottom-E,c=t-j,d=P(e.top)+j,p=e.bottom):"bottom"===C?(t=P(b.top),d=e.top,p=P(e.bottom)-j,s=t+j,c=b.top+E):"left"===C?(t=P(b.right),a=b.right-E,l=t-j,u=P(e.left)+j,f=e.right):(t=P(b.left),u=e.left,f=P(e.right)-j,a=t+j,l=b.left+E),n=0;n<S;++n)r=k[n]||{},tr(r.label)&&n<k.length||(n===b.zeroLineIndex&&A.offset===_?(h=x.zeroLineWidth,m=x.zeroLineColor,g=x.zeroLineBorderDash||[],v=x.zeroLineBorderDashOffset||0):(h=rr(x.lineWidth,n,1),m=rr(x.color,n,"rgba(0,0,0,0.1)"),g=x.borderDash||[],v=x.borderDashOffset||0),void 0!==(o=ir(b,r._index||n,_))&&(i=T(y,o,h),w?a=l=u=f=i:s=c=d=p=i,B.push({tx1:a,ty1:s,tx2:l,ty2:c,x1:u,y1:d,x2:f,y2:p,width:h,color:m,borderDash:g,borderDashOffset:v})));return B.ticksLength=S,B.borderValue=t,B},_computeLabelItems:function(){var e,t,n,r,o,i,a,s,l,c,u,d,f=this,p=f.options,h=p.ticks,m=p.position,g=h.mirror,v=f.isHorizontal(),b=f._ticksToDraw,y=dr(h),A=h.padding,x=lr(p.gridLines),C=-se.toRadians(f.labelRotation),_=[];for("top"===m?(i=f.bottom-x-A,a=C?"left":"center"):"bottom"===m?(i=f.top+x+A,a=C?"right":"center"):"left"===m?(o=f.right-(g?0:x)-A,a=g?"left":"right"):(o=f.left+(g?0:x)+A,a=g?"right":"left"),e=0,t=b.length;e<t;++e)r=(n=b[e]).label,tr(r)||(s=f.getPixelForTick(n._index||e)+h.labelOffset,c=(l=n.major?y.major:y.minor).lineHeight,u=er(r)?r.length:1,v?(o=s,d="top"===m?((C?1:.5)-u)*c:(C?0:.5)*c):(i=s,d=(1-u)*c/2),_.push({x:o,y:i,rotation:C,label:r,font:l,textOffset:d,textAlign:a}));return _},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var r,o,i,a,s,l=t.ctx,c=t.chart,u=se._alignPixel,d=n.drawBorder?rr(n.lineWidth,0,0):0,f=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(i=0,a=f.length;i<a;++i)r=(s=f[i]).width,o=s.color,r&&o&&(l.save(),l.lineWidth=r,l.strokeStyle=o,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(d){var p,h,m,g,v=d,b=rr(n.lineWidth,f.ticksLength-1,1),y=f.borderValue;t.isHorizontal()?(p=u(c,t.left,v)-v/2,h=u(c,t.right,b)+b/2,m=g=y):(m=u(c,t.top,v)-v/2,g=u(c,t.bottom,b)+b/2,p=h=y),l.lineWidth=d,l.strokeStyle=rr(n.color,0),l.beginPath(),l.moveTo(p,m),l.lineTo(h,g),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,r,o,i,a,s,l,c=e.ctx,u=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,r=u.length;t<r;++t){if(a=(i=u[t]).font,c.save(),c.translate(i.x,i.y),c.rotate(i.rotation),c.font=a.string,c.fillStyle=a.color,c.textBaseline="middle",c.textAlign=i.textAlign,s=i.label,l=i.textOffset,er(s))for(n=0,o=s.length;n<o;++n)c.fillText(""+s[n],0,l),l+=a.lineHeight;else c.fillText(s,0,l);c.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,r=n.scaleLabel;if(r.display){var o,i,a=nr(r.fontColor,Q.global.defaultFontColor),s=se.options._parseFont(r),l=se.options.toPadding(r.padding),c=s.lineHeight/2,u=n.position,d=0;if(e.isHorizontal())o=e.left+e.width/2,i="bottom"===u?e.bottom-c-l.bottom:e.top+c+l.top;else{var f="left"===u;o=f?e.left+c+l.top:e.right-c-l.top,i=e.top+e.height/2,d=f?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(o,i),t.rotate(d),t.textAlign="center",t.textBaseline="middle",t.fillStyle=a,t.font=s.string,t.fillText(r.labelString,0,0),t.restore()}},draw:function(e){var t=this;t._isVisible()&&(t._drawGrid(e),t._drawTitle(),t._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,r=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==r&&e.draw===e._draw?[{z:r,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(e){var t=this,n=t.isHorizontal();return t.chart._getSortedVisibleDatasetMetas().filter((function(r){return(!e||r.type===e)&&(n?r.xAxisID===t.id:r.yAxisID===t.id)}))}});br.prototype._draw=br.prototype.draw;var yr=br,Ar=se.isNullOrUndef,xr={position:"bottom"},Cr=yr.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),r=t.options.ticks,o=r.min,i=r.max,a=0,s=n.length-1;void 0!==o&&(e=n.indexOf(o))>=0&&(a=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=a,t.maxIndex=s,t.min=n[a],t.max=n[s]},buildTicks:function(){var e=this,t=e._getLabels(),n=e.minIndex,r=e.maxIndex;e.ticks=0===n&&r===t.length-1?t:t.slice(n,r+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart;return r.getDatasetMeta(t).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[t].data[e]):n._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;yr.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,o,i,a=this;return Ar(t)||Ar(n)||(e=a.chart.data.datasets[n].data[t]),Ar(e)||(r=a.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(o=a._getLabels(),e=se.valueOrDefault(r,e),t=-1!==(i=o.indexOf(e))?i:t,isNaN(t)&&(t=e)),a.getPixelForDecimal((t-a._startValue)/a._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=this,n=Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange);return Math.min(Math.max(n,0),t.ticks.length-1)},getBasePixel:function(){return this.bottom}}),_r=xr;Cr._defaults=_r;var wr=se.noop,kr=se.isNullOrUndef;function Sr(e,t){var n,r,o,i,a=[],s=1e-14,l=e.stepSize,c=l||1,u=e.maxTicks-1,d=e.min,f=e.max,p=e.precision,h=t.min,m=t.max,g=se.niceNum((m-h)/u/c)*c;if(g<s&&kr(d)&&kr(f))return[h,m];(i=Math.ceil(m/g)-Math.floor(h/g))>u&&(g=se.niceNum(i*g/u/c)*c),l||kr(p)?n=Math.pow(10,se._decimalPlaces(g)):(n=Math.pow(10,p),g=Math.ceil(g*n)/n),r=Math.floor(h/g)*g,o=Math.ceil(m/g)*g,l&&(!kr(d)&&se.almostWhole(d/g,g/1e3)&&(r=d),!kr(f)&&se.almostWhole(f/g,g/1e3)&&(o=f)),i=(o-r)/g,i=se.almostEquals(i,Math.round(i),g/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,o=Math.round(o*n)/n,a.push(kr(d)?r:d);for(var v=1;v<i;++v)a.push(Math.round((r+v*g)*n)/n);return a.push(kr(f)?o:f),a}var Er=yr.extend({getRightValue:function(e){return"string"==typeof e?+e:yr.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=se.sign(e.min),r=se.sign(e.max);n<0&&r<0?e.max=0:n>0&&r>0&&(e.min=0)}var o=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),o!==i&&e.min>=e.max&&(o?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this,n=t.options.ticks,r=n.stepSize,o=n.maxTicksLimit;return r?e=Math.ceil(t.max/r)-Math.floor(t.min/r)+1:(e=t._computeTickLimit(),o=o||11),o&&(e=Math.min(o,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:wr,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:se.valueOrDefault(t.fixedStepSize,t.stepSize)},o=e.ticks=Sr(r,e);e.handleDirectionalChanges(),e.max=se.max(o),e.min=se.min(o),t.reverse?(o.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),yr.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,o=t.max;yr.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(o-r)/Math.max(n.length-1,1)/2,o+=e),t._startValue=r,t._endValue=o,t._valueRange=o-r}}),Br={position:"left",ticks:{callback:Jn.formatters.linear}},Or=0,jr=1;function Tr(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}function Pr(e,t,n,r){var o,i,a=e.options,s=Tr(t,a.stacked,n),l=s.pos,c=s.neg,u=r.length;for(o=0;o<u;++o)i=e._parseValue(r[o]),isNaN(i.min)||isNaN(i.max)||n.data[o].hidden||(l[o]=l[o]||0,c[o]=c[o]||0,a.relativePoints?l[o]=100:i.min<0||i.max<0?c[o]+=i.min:l[o]+=i.max)}function Mr(e,t,n){var r,o,i=n.length;for(r=0;r<i;++r)o=e._parseValue(n[r]),isNaN(o.min)||isNaN(o.max)||t.data[r].hidden||(e.min=Math.min(e.min,o.min),e.max=Math.max(e.max,o.max))}var Dr=Er.extend({determineDataLimits:function(){var e,t,n,r,o=this,i=o.options,a=o.chart.data.datasets,s=o._getMatchingVisibleMetas(),l=i.stacked,c={},u=s.length;if(o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,void 0===l)for(e=0;!l&&e<u;++e)l=void 0!==(t=s[e]).stack;for(e=0;e<u;++e)n=a[(t=s[e]).index].data,l?Pr(o,c,t,n):Mr(o,t,n);se.each(c,(function(e){r=e.pos.concat(e.neg),o.min=Math.min(o.min,se.min(r)),o.max=Math.max(o.max,se.max(r))})),o.min=se.isFinite(o.min)&&!isNaN(o.min)?o.min:Or,o.max=se.isFinite(o.max)&&!isNaN(o.max)?o.max:jr,o.handleTickRangeOptions()},_computeTickLimit:function(){var e,t=this;return t.isHorizontal()?Math.ceil(t.width/40):(e=se.options._parseFont(t.options.ticks),Math.ceil(t.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){var t=this;return t.getPixelForDecimal((+t.getRightValue(e)-t._startValue)/t._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),Rr=Br;Dr._defaults=Rr;var Lr=se.valueOrDefault,Ir=se.math.log10;function Nr(e,t){var n,r,o=[],i=Lr(e.min,Math.pow(10,Math.floor(Ir(t.min)))),a=Math.floor(Ir(t.max)),s=Math.ceil(t.max/Math.pow(10,a));0===i?(n=Math.floor(Ir(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),o.push(i),i=r*Math.pow(10,n)):(n=Math.floor(Ir(i)),r=Math.floor(i/Math.pow(10,n)));var l=n<0?Math.pow(10,Math.abs(n)):1;do{o.push(i),10==++r&&(r=1,l=++n>=0?1:l),i=Math.round(r*Math.pow(10,n)*l)/l}while(n<a||n===a&&r<s);var c=Lr(e.max,i);return o.push(c),o}var Fr={position:"left",ticks:{callback:Jn.formatters.logarithmic}};function zr(e,t){return se.isFinite(e)&&e>=0?e:t}var qr=yr.extend({determineDataLimits:function(){var e,t,n,r,o,i,a=this,s=a.options,l=a.chart,c=l.data.datasets,u=a.isHorizontal();function d(e){return u?e.xAxisID===a.id:e.yAxisID===a.id}a.min=Number.POSITIVE_INFINITY,a.max=Number.NEGATIVE_INFINITY,a.minNotZero=Number.POSITIVE_INFINITY;var f=s.stacked;if(void 0===f)for(e=0;e<c.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t)&&void 0!==t.stack){f=!0;break}if(s.stacked||f){var p={};for(e=0;e<c.length;e++){var h=[(t=l.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(l.isDatasetVisible(e)&&d(t))for(void 0===p[h]&&(p[h]=[]),o=0,i=(r=c[e].data).length;o<i;o++){var m=p[h];n=a._parseValue(r[o]),isNaN(n.min)||isNaN(n.max)||t.data[o].hidden||n.min<0||n.max<0||(m[o]=m[o]||0,m[o]+=n.max)}}se.each(p,(function(e){if(e.length>0){var t=se.min(e),n=se.max(e);a.min=Math.min(a.min,t),a.max=Math.max(a.max,n)}}))}else for(e=0;e<c.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&d(t))for(o=0,i=(r=c[e].data).length;o<i;o++)n=a._parseValue(r[o]),isNaN(n.min)||isNaN(n.max)||t.data[o].hidden||n.min<0||n.max<0||(a.min=Math.min(n.min,a.min),a.max=Math.max(n.max,a.max),0!==n.min&&(a.minNotZero=Math.min(n.min,a.minNotZero)));a.min=se.isFinite(a.min)?a.min:null,a.max=se.isFinite(a.max)?a.max:null,a.minNotZero=se.isFinite(a.minNotZero)?a.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks,n=1,r=10;e.min=zr(t.min,e.min),e.max=zr(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(Ir(e.min))-1),e.max=Math.pow(10,Math.floor(Ir(e.max))+1)):(e.min=n,e.max=r)),null===e.min&&(e.min=Math.pow(10,Math.floor(Ir(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(Ir(e.min))+1):r),null===e.minNotZero&&(e.min>0?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(Ir(e.max))):e.minNotZero=n)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),r={min:zr(t.min),max:zr(t.max)},o=e.ticks=Nr(r,e);e.max=se.max(o),e.min=se.min(o),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&o.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),yr.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(Ir(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;yr.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=Lr(e.options.ticks.fontSize,Q.global.defaultFontSize)/e._length),e._startValue=Ir(t),e._valueOffset=n,e._valueRange=(Ir(e.max)-Ir(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&e>0&&(n=(Ir(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Ur=Fr;qr._defaults=Ur;var Hr=se.valueOrDefault,Wr=se.valueAtIndexOrDefault,Vr=se.options.resolve,Yr={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:Jn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function Zr(e){var t=e.ticks;return t.display&&e.display?Hr(t.fontSize,Q.global.defaultFontSize)+2*t.backdropPaddingY:0}function Gr(e,t,n){return se.isArray(n)?{w:se.longestText(e,e.font,n),h:n.length*t}:{w:e.measureText(n).width,h:t}}function Kr(e,t,n,r,o){return e===r||e===o?{start:t-n/2,end:t+n/2}:e<r||e>o?{start:t-n,end:t}:{start:t,end:t+n}}function $r(e){var t,n,r,o=se.options._parseFont(e.options.pointLabels),i={l:0,r:e.width,t:0,b:e.height-e.paddingTop},a={};e.ctx.font=o.string,e._pointLabelSizes=[];var s=e.chart.data.labels.length;for(t=0;t<s;t++){r=e.getPointPosition(t,e.drawingArea+5),n=Gr(e.ctx,o.lineHeight,e.pointLabels[t]),e._pointLabelSizes[t]=n;var l=e.getIndexAngle(t),c=se.toDegrees(l)%360,u=Kr(c,r.x,n.w,0,180),d=Kr(c,r.y,n.h,90,270);u.start<i.l&&(i.l=u.start,a.l=l),u.end>i.r&&(i.r=u.end,a.r=l),d.start<i.t&&(i.t=d.start,a.t=l),d.end>i.b&&(i.b=d.end,a.b=l)}e.setReductions(e.drawingArea,i,a)}function Xr(e){return 0===e||180===e?"center":e<180?"left":"right"}function Qr(e,t,n,r){var o,i,a=n.y+r/2;if(se.isArray(t))for(o=0,i=t.length;o<i;++o)e.fillText(t[o],n.x,a),a+=r;else e.fillText(t,n.x,a)}function Jr(e,t,n){90===e||270===e?n.y-=t.h/2:(e>270||e<90)&&(n.y-=t.h)}function eo(e){var t=e.ctx,n=e.options,r=n.pointLabels,o=Zr(n),i=e.getDistanceFromCenterForValue(n.ticks.reverse?e.min:e.max),a=se.options._parseFont(r);t.save(),t.font=a.string,t.textBaseline="middle";for(var s=e.chart.data.labels.length-1;s>=0;s--){var l=0===s?o/2:0,c=e.getPointPosition(s,i+l+5),u=Wr(r.fontColor,s,Q.global.defaultFontColor);t.fillStyle=u;var d=e.getIndexAngle(s),f=se.toDegrees(d);t.textAlign=Xr(f),Jr(f,e._pointLabelSizes[s],c),Qr(t,e.pointLabels[s],c,a.lineHeight)}t.restore()}function to(e,t,n,r){var o,i=e.ctx,a=t.circular,s=e.chart.data.labels.length,l=Wr(t.color,r-1),c=Wr(t.lineWidth,r-1);if((a||s)&&l&&c){if(i.save(),i.strokeStyle=l,i.lineWidth=c,i.setLineDash&&(i.setLineDash(t.borderDash||[]),i.lineDashOffset=t.borderDashOffset||0),i.beginPath(),a)i.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{o=e.getPointPosition(0,n),i.moveTo(o.x,o.y);for(var u=1;u<s;u++)o=e.getPointPosition(u,n),i.lineTo(o.x,o.y)}i.closePath(),i.stroke(),i.restore()}}function no(e){return se.isNumber(e)?e:0}var ro=Er.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=Zr(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var e=this,t=e.chart,n=Number.POSITIVE_INFINITY,r=Number.NEGATIVE_INFINITY;se.each(t.data.datasets,(function(o,i){if(t.isDatasetVisible(i)){var a=t.getDatasetMeta(i);se.each(o.data,(function(t,o){var i=+e.getRightValue(t);isNaN(i)||a.data[o].hidden||(n=Math.min(i,n),r=Math.max(i,r))}))}})),e.min=n===Number.POSITIVE_INFINITY?0:n,e.max=r===Number.NEGATIVE_INFINITY?0:r,e.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/Zr(this.options))},convertTicksToLabels:function(){var e=this;Er.prototype.convertTicksToLabels.call(e),e.pointLabels=e.chart.data.labels.map((function(){var t=se.callback(e.options.pointLabels.callback,arguments,e);return t||0===t?t:""}))},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this,t=e.options;t.display&&t.pointLabels.display?$r(e):e.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var r=this,o=t.l/Math.sin(n.l),i=Math.max(t.r-r.width,0)/Math.sin(n.r),a=-t.t/Math.cos(n.t),s=-Math.max(t.b-(r.height-r.paddingTop),0)/Math.cos(n.b);o=no(o),i=no(i),a=no(a),s=no(s),r.drawingArea=Math.min(Math.floor(e-(o+i)/2),Math.floor(e-(a+s)/2)),r.setCenterPoint(o,i,a,s)},setCenterPoint:function(e,t,n,r){var o=this,i=o.width-t-o.drawingArea,a=e+o.drawingArea,s=n+o.drawingArea,l=o.height-o.paddingTop-r-o.drawingArea;o.xCenter=Math.floor((a+i)/2+o.left),o.yCenter=Math.floor((s+l)/2+o.top+o.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?n+360:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(se.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this,r=n.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(r)*t+n.xCenter,y:Math.sin(r)*t+n.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this,n=t.min,r=t.max;return t.getPointPositionForValue(e||0,t.beginAtZero?0:n<0&&r<0?r:n>0&&r>0?n:0)},_drawGrid:function(){var e,t,n,r=this,o=r.ctx,i=r.options,a=i.gridLines,s=i.angleLines,l=Hr(s.lineWidth,a.lineWidth),c=Hr(s.color,a.color);if(i.pointLabels.display&&eo(r),a.display&&se.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),to(r,a,t,n))})),s.display&&l&&c){for(o.save(),o.lineWidth=l,o.strokeStyle=c,o.setLineDash&&(o.setLineDash(Vr([s.borderDash,a.borderDash,[]])),o.lineDashOffset=Vr([s.borderDashOffset,a.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),o.beginPath(),o.moveTo(r.xCenter,r.yCenter),o.lineTo(n.x,n.y),o.stroke();o.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,o,i=e.getIndexAngle(0),a=se.options._parseFont(n),s=Hr(n.fontColor,Q.global.defaultFontColor);t.save(),t.font=a.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",se.each(e.ticks,(function(i,l){(0!==l||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[l]),n.showLabelBackdrop&&(o=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-o/2-n.backdropPaddingX,-r-a.size/2-n.backdropPaddingY,o+2*n.backdropPaddingX,a.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:se.noop}),oo=Yr;ro._defaults=oo;var io=se._deprecated,ao=se.options.resolve,so=se.valueOrDefault,lo=Number.MIN_SAFE_INTEGER||-9007199254740991,co=Number.MAX_SAFE_INTEGER||9007199254740991,uo={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},fo=Object.keys(uo);function po(e,t){return e-t}function ho(e){var t,n,r,o={},i=[];for(t=0,n=e.length;t<n;++t)o[r=e[t]]||(o[r]=!0,i.push(r));return i}function mo(e){return se.valueOrDefault(e.time.min,e.ticks.min)}function go(e){return se.valueOrDefault(e.time.max,e.ticks.max)}function vo(e,t,n,r){if("linear"===r||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var o,i,a,s,l,c=[],u=[t];for(o=0,i=e.length;o<i;++o)(s=e[o])>t&&s<n&&u.push(s);for(u.push(n),o=0,i=u.length;o<i;++o)l=u[o+1],a=u[o-1],s=u[o],void 0!==a&&void 0!==l&&Math.round((l+a)/2)===s||c.push({time:s,pos:o/(i-1)});return c}function bo(e,t,n){for(var r,o,i,a=0,s=e.length-1;a>=0&&a<=s;){if(o=e[(r=a+s>>1)-1]||null,i=e[r],!o)return{lo:null,hi:i};if(i[t]<n)a=r+1;else{if(!(o[t]>n))return{lo:o,hi:i};s=r-1}}return{lo:i,hi:null}}function yo(e,t,n,r){var o=bo(e,t,n),i=o.lo?o.hi?o.lo:e[e.length-2]:e[0],a=o.lo?o.hi?o.hi:e[e.length-1]:e[1],s=a[t]-i[t],l=s?(n-i[t])/s:0,c=(a[r]-i[r])*l;return i[r]+c}function Ao(e,t){var n=e._adapter,r=e.options.time,o=r.parser,i=o||r.format,a=t;return"function"==typeof o&&(a=o(a)),se.isFinite(a)||(a="string"==typeof i?n.parse(a,i):n.parse(a)),null!==a?+a:(o||"function"!=typeof i||(a=i(t),se.isFinite(a)||(a=n.parse(a))),a)}function xo(e,t){if(se.isNullOrUndef(t))return null;var n=e.options.time,r=Ao(e,e.getRightValue(t));return null===r||n.round&&(r=+e._adapter.startOf(r,n.round)),r}function Co(e,t,n,r){var o,i,a,s=fo.length;for(o=fo.indexOf(e);o<s-1;++o)if(a=(i=uo[fo[o]]).steps?i.steps:co,i.common&&Math.ceil((n-t)/(a*i.size))<=r)return fo[o];return fo[s-1]}function _o(e,t,n,r,o){var i,a;for(i=fo.length-1;i>=fo.indexOf(n);i--)if(a=fo[i],uo[a].common&&e._adapter.diff(o,r,a)>=t-1)return a;return fo[n?fo.indexOf(n):0]}function wo(e){for(var t=fo.indexOf(e)+1,n=fo.length;t<n;++t)if(uo[fo[t]].common)return fo[t]}function ko(e,t,n,r){var o,i=e._adapter,a=e.options,s=a.time,l=s.unit||Co(s.minUnit,t,n,r),c=ao([s.stepSize,s.unitStepSize,1]),u="week"===l&&s.isoWeekday,d=t,f=[];if(u&&(d=+i.startOf(d,"isoWeek",u)),d=+i.startOf(d,u?"day":l),i.diff(n,t,l)>1e5*c)throw t+" and "+n+" are too far apart with stepSize of "+c+" "+l;for(o=d;o<n;o=+i.add(o,c,l))f.push(o);return o!==n&&"ticks"!==a.bounds||f.push(o),f}function So(e,t,n,r,o){var i,a,s=0,l=0;return o.offset&&t.length&&(i=yo(e,"time",t[0],"pos"),s=1===t.length?1-i:(yo(e,"time",t[1],"pos")-i)/2,a=yo(e,"time",t[t.length-1],"pos"),l=1===t.length?a:(a-yo(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}function Eo(e,t,n,r){var o,i,a=e._adapter,s=+a.startOf(t[0].value,r),l=t[t.length-1].value;for(o=s;o<=l;o=+a.add(o,1,r))(i=n[o])>=0&&(t[i].major=!0);return t}function Bo(e,t,n){var r,o,i=[],a={},s=t.length;for(r=0;r<s;++r)a[o=t[r]]=r,i.push({value:o,major:!1});return 0!==s&&n?Eo(e,i,a,n):i}var Oo={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}},jo=yr.extend({initialize:function(){this.mergeTicksOptions(),yr.prototype.initialize.call(this)},update:function(){var e=this,t=e.options,n=t.time||(t.time={}),r=e._adapter=new Qn._date(t.adapters.date);return io("time scale",n.format,"time.format","time.parser"),io("time scale",n.min,"time.min","ticks.min"),io("time scale",n.max,"time.max","ticks.max"),se.mergeIf(n.displayFormats,r.formats()),yr.prototype.update.apply(e,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),yr.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,r,o,i,a,s=this,l=s.chart,c=s._adapter,u=s.options,d=u.time.unit||"day",f=co,p=lo,h=[],m=[],g=[],v=s._getLabels();for(e=0,n=v.length;e<n;++e)g.push(xo(s,v[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if(o=l.data.datasets[e].data,se.isObject(o[0]))for(m[e]=[],t=0,r=o.length;t<r;++t)i=xo(s,o[t]),h.push(i),m[e][t]=i;else m[e]=g.slice(0),a||(h=h.concat(g),a=!0);else m[e]=[];g.length&&(f=Math.min(f,g[0]),p=Math.max(p,g[g.length-1])),h.length&&(h=n>1?ho(h).sort(po):h.sort(po),f=Math.min(f,h[0]),p=Math.max(p,h[h.length-1])),f=xo(s,mo(u))||f,p=xo(s,go(u))||p,f=f===co?+c.startOf(Date.now(),d):f,p=p===lo?+c.endOf(Date.now(),d)+1:p,s.min=Math.min(f,p),s.max=Math.max(f+1,p),s._table=[],s._timestamps={data:h,datasets:m,labels:g}},buildTicks:function(){var e,t,n,r=this,o=r.min,i=r.max,a=r.options,s=a.ticks,l=a.time,c=r._timestamps,u=[],d=r.getLabelCapacity(o),f=s.source,p=a.distribution;for(c="data"===f||"auto"===f&&"series"===p?c.data:"labels"===f?c.labels:ko(r,o,i,d),"ticks"===a.bounds&&c.length&&(o=c[0],i=c[c.length-1]),o=xo(r,mo(a))||o,i=xo(r,go(a))||i,e=0,t=c.length;e<t;++e)(n=c[e])>=o&&n<=i&&u.push(n);return r.min=o,r.max=i,r._unit=l.unit||(s.autoSkip?Co(l.minUnit,r.min,r.max,d):_o(r,u.length,l.minUnit,r.min,r.max)),r._majorUnit=s.major.enabled&&"year"!==r._unit?wo(r._unit):void 0,r._table=vo(r._timestamps.data,o,i,p),r._offsets=So(r._table,u,o,i,a),s.reverse&&u.reverse(),Bo(r,u,r._majorUnit)},getLabelForIndex:function(e,t){var n=this,r=n._adapter,o=n.chart.data,i=n.options.time,a=o.labels&&e<o.labels.length?o.labels[e]:"",s=o.datasets[t].data[e];return se.isObject(s)&&(a=n.getRightValue(s)),i.tooltipFormat?r.format(Ao(n,a),i.tooltipFormat):"string"==typeof a?a:r.format(Ao(n,a),i.displayFormats.datetime)},tickFormatFunction:function(e,t,n,r){var o=this,i=o._adapter,a=o.options,s=a.time.displayFormats,l=s[o._unit],c=o._majorUnit,u=s[c],d=n[t],f=a.ticks,p=c&&u&&d&&d.major,h=i.format(e,r||(p?u:l)),m=p?f.major:f.minor,g=ao([m.callback,m.userCallback,f.callback,f.userCallback]);return g?g(h,t,n):h},convertTicksToLabels:function(e){var t,n,r=[];for(t=0,n=e.length;t<n;++t)r.push(this.tickFormatFunction(e[t].value,t,e));return r},getPixelForOffset:function(e){var t=this,n=t._offsets,r=yo(t._table,"time",e,"pos");return t.getPixelForDecimal((n.start+r)*n.factor)},getPixelForValue:function(e,t,n){var r=this,o=null;if(void 0!==t&&void 0!==n&&(o=r._timestamps.datasets[n][t]),null===o&&(o=xo(r,e)),null!==o)return r.getPixelForOffset(o)},getPixelForTick:function(e){var t=this.getTicks();return e>=0&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this,n=t._offsets,r=t.getDecimalForPixel(e)/n.factor-n.end,o=yo(t._table,"pos",r,"time");return t._adapter._create(o)},_getLabelSize:function(e){var t=this,n=t.options.ticks,r=t.ctx.measureText(e).width,o=se.toRadians(t.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(o),a=Math.sin(o),s=so(n.fontSize,Q.global.defaultFontSize);return{w:r*i+s*a,h:r*a+s*i}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this,n=t.options.time,r=n.displayFormats,o=r[n.unit]||r.millisecond,i=t.tickFormatFunction(e,0,Bo(t,[e],t._majorUnit),o),a=t._getLabelSize(i),s=Math.floor(t.isHorizontal()?t.width/a.w:t.height/a.h);return t.options.offset&&s--,s>0?s:1}}),To=Oo;jo._defaults=To;var Po={category:Cr,linear:Dr,logarithmic:qr,radialLinear:ro,time:jo},Mo={datetime:"MMM D, YYYY, h:mm:ss a",millisecond:"h:mm:ss.SSS a",second:"h:mm:ss a",minute:"h:mm a",hour:"hA",day:"MMM D",week:"ll",month:"MMM YYYY",quarter:"[Q]Q - YYYY",year:"YYYY"};Qn._date.override("function"==typeof e?{_id:"moment",formats:function(){return Mo},parse:function(t,n){return"string"==typeof t&&"string"==typeof n?t=e(t,n):t instanceof e||(t=e(t)),t.isValid()?t.valueOf():null},format:function(t,n){return e(t).format(n)},add:function(t,n,r){return e(t).add(n,r).valueOf()},diff:function(t,n,r){return e(t).diff(e(n),r)},startOf:function(t,n,r){return t=e(t),"isoWeek"===n?t.isoWeekday(r).valueOf():t.startOf(n).valueOf()},endOf:function(t,n){return e(t).endOf(n).valueOf()},_create:function(t){return e(t)}}:{}),Q._set("global",{plugins:{filler:{propagate:!0}}});var Do={dataset:function(e){var t=e.fill,n=e.chart,r=n.getDatasetMeta(t),o=r&&n.isDatasetVisible(t)&&r.dataset._children||[],i=o.length||0;return i?function(e,t){return t<i&&o[t]._view||null}:null},boundary:function(e){var t=e.boundary,n=t?t.x:null,r=t?t.y:null;return se.isArray(t)?function(e,n){return t[n]}:function(e){return{x:null===n?e.x:n,y:null===r?e.y:r}}}};function Ro(e,t,n){var r,o=e._model||{},i=o.fill;if(void 0===i&&(i=!!o.backgroundColor),!1===i||null===i)return!1;if(!0===i)return"origin";if(r=parseFloat(i,10),isFinite(r)&&Math.floor(r)===r)return"-"!==i[0]&&"+"!==i[0]||(r=t+r),!(r===t||r<0||r>=n)&&r;switch(i){case"bottom":return"start";case"top":return"end";case"zero":return"origin";case"origin":case"start":case"end":return i;default:return!1}}function Lo(e){var t,n=e.el._model||{},r=e.el._scale||{},o=e.fill,i=null;if(isFinite(o))return null;if("start"===o?i=void 0===n.scaleBottom?r.bottom:n.scaleBottom:"end"===o?i=void 0===n.scaleTop?r.top:n.scaleTop:void 0!==n.scaleZero?i=n.scaleZero:r.getBasePixel&&(i=r.getBasePixel()),null!=i){if(void 0!==i.x&&void 0!==i.y)return i;if(se.isFinite(i))return{x:(t=r.isHorizontal())?i:null,y:t?null:i}}return null}function Io(e){var t,n,r,o,i,a=e.el._scale,s=a.options,l=a.chart.data.labels.length,c=e.fill,u=[];if(!l)return null;for(t=s.ticks.reverse?a.max:a.min,n=s.ticks.reverse?a.min:a.max,r=a.getPointPositionForValue(0,t),o=0;o<l;++o)i="start"===c||"end"===c?a.getPointPositionForValue(o,"start"===c?t:n):a.getBasePosition(o),s.gridLines.circular&&(i.cx=r.x,i.cy=r.y,i.angle=a.getIndexAngle(o)-Math.PI/2),u.push(i);return u}function No(e){return(e.el._scale||{}).getPointPositionForValue?Io(e):Lo(e)}function Fo(e,t,n){var r,o=e[t].fill,i=[t];if(!n)return o;for(;!1!==o&&-1===i.indexOf(o);){if(!isFinite(o))return o;if(!(r=e[o]))return!1;if(r.visible)return o;i.push(o),o=r.fill}return!1}function zo(e){var t=e.fill,n="dataset";return!1===t?null:(isFinite(t)||(n="boundary"),Do[n](e))}function qo(e){return e&&!e.skip}function Uo(e,t,n,r,o){var i,a,s,l;if(r&&o){for(e.moveTo(t[0].x,t[0].y),i=1;i<r;++i)se.canvas.lineTo(e,t[i-1],t[i]);if(void 0===n[0].angle)for(e.lineTo(n[o-1].x,n[o-1].y),i=o-1;i>0;--i)se.canvas.lineTo(e,n[i],n[i-1],!0);else for(a=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-a,2)+Math.pow(n[0].y-s,2)),i=o-1;i>0;--i)e.arc(a,s,l,n[i].angle,n[i-1].angle,!0)}}function Ho(e,t,n,r,o,i){var a,s,l,c,u,d,f,p,h=t.length,m=r.spanGaps,g=[],v=[],b=0,y=0;for(e.beginPath(),a=0,s=h;a<s;++a)u=n(c=t[l=a%h]._view,l,r),d=qo(c),f=qo(u),i&&void 0===p&&d&&(s=h+(p=a+1)),d&&f?(b=g.push(c),y=v.push(u)):b&&y&&(m?(d&&g.push(c),f&&v.push(u)):(Uo(e,g,v,b,y),b=y=0,g=[],v=[]));Uo(e,g,v,b,y),e.closePath(),e.fillStyle=o,e.fill()}var Wo={id:"filler",afterDatasetsUpdate:function(e,t){var n,r,o,i,a=(e.data.datasets||[]).length,s=t.propagate,l=[];for(r=0;r<a;++r)i=null,(o=(n=e.getDatasetMeta(r)).dataset)&&o._model&&o instanceof Ze.Line&&(i={visible:e.isDatasetVisible(r),fill:Ro(o,r,a),chart:e,el:o}),n.$filler=i,l.push(i);for(r=0;r<a;++r)(i=l[r])&&(i.fill=Fo(l,r,s),i.boundary=No(i),i.mapper=zo(i))},beforeDatasetsDraw:function(e){var t,n,r,o,i,a,s,l=e._getSortedVisibleDatasetMetas(),c=e.ctx;for(n=l.length-1;n>=0;--n)(t=l[n].$filler)&&t.visible&&(o=(r=t.el)._view,i=r._children||[],a=t.mapper,s=o.backgroundColor||Q.global.defaultColor,a&&s&&i.length&&(se.canvas.clipArea(c,e.chartArea),Ho(c,i,a,o,s,r._loop),se.canvas.unclipArea(c)))}},Vo=se.rtl.getRtlAdapter,Yo=se.noop,Zo=se.valueOrDefault;function Go(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}Q._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,o=r.getDatasetMeta(n);o.hidden=null===o.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var o=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:o.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:o.borderCapStyle,lineDash:o.borderDash,lineDashOffset:o.borderDashOffset,lineJoin:o.borderJoinStyle,lineWidth:o.borderWidth,strokeStyle:o.borderColor,pointStyle:o.pointStyle,rotation:o.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,o=document.createElement("ul"),i=e.data.datasets;for(o.setAttribute("class",e.id+"-legend"),t=0,n=i.length;t<n;t++)(r=o.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=i[t].backgroundColor,i[t].label&&r.appendChild(document.createTextNode(i[t].label));return o.outerHTML}});var Ko=me.extend({initialize:function(e){var t=this;se.extend(t,e),t.legendHitBoxes=[],t._hoveredItem=null,t.doughnutMode=!1},beforeUpdate:Yo,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Yo,beforeSetDimensions:Yo,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Yo,beforeBuildLabels:Yo,buildLabels:function(){var e=this,t=e.options.labels||{},n=se.callback(t.generateLabels,[e.chart],e)||[];t.filter&&(n=n.filter((function(n){return t.filter(n,e.chart.data)}))),e.options.reverse&&n.reverse(),e.legendItems=n},afterBuildLabels:Yo,beforeFit:Yo,fit:function(){var e=this,t=e.options,n=t.labels,r=t.display,o=e.ctx,i=se.options._parseFont(n),a=i.size,s=e.legendHitBoxes=[],l=e.minSize,c=e.isHorizontal();if(c?(l.width=e.maxWidth,l.height=r?10:0):(l.width=r?10:0,l.height=e.maxHeight),r){if(o.font=i.string,c){var u=e.lineWidths=[0],d=0;o.textAlign="left",o.textBaseline="middle",se.each(e.legendItems,(function(e,t){var r=Go(n,a)+a/2+o.measureText(e.text).width;(0===t||u[u.length-1]+r+2*n.padding>l.width)&&(d+=a+n.padding,u[u.length-(t>0?0:1)]=0),s[t]={left:0,top:0,width:r,height:a},u[u.length-1]+=r+n.padding})),l.height+=d}else{var f=n.padding,p=e.columnWidths=[],h=e.columnHeights=[],m=n.padding,g=0,v=0;se.each(e.legendItems,(function(e,t){var r=Go(n,a)+a/2+o.measureText(e.text).width;t>0&&v+a+2*f>l.height&&(m+=g+n.padding,p.push(g),h.push(v),g=0,v=0),g=Math.max(g,r),v+=a+f,s[t]={left:0,top:0,width:r,height:a}})),m+=g,p.push(g),h.push(v),l.width+=m}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:Yo,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var e=this,t=e.options,n=t.labels,r=Q.global,o=r.defaultColor,i=r.elements.line,a=e.height,s=e.columnHeights,l=e.width,c=e.lineWidths;if(t.display){var u,d=Vo(t.rtl,e.left,e.minSize.width),f=e.ctx,p=Zo(n.fontColor,r.defaultFontColor),h=se.options._parseFont(n),m=h.size;f.textAlign=d.textAlign("left"),f.textBaseline="middle",f.lineWidth=.5,f.strokeStyle=p,f.fillStyle=p,f.font=h.string;var g=Go(n,m),v=e.legendHitBoxes,b=function(e,t,r){if(!(isNaN(g)||g<=0)){f.save();var a=Zo(r.lineWidth,i.borderWidth);if(f.fillStyle=Zo(r.fillStyle,o),f.lineCap=Zo(r.lineCap,i.borderCapStyle),f.lineDashOffset=Zo(r.lineDashOffset,i.borderDashOffset),f.lineJoin=Zo(r.lineJoin,i.borderJoinStyle),f.lineWidth=a,f.strokeStyle=Zo(r.strokeStyle,o),f.setLineDash&&f.setLineDash(Zo(r.lineDash,i.borderDash)),n&&n.usePointStyle){var s=g*Math.SQRT2/2,l=d.xPlus(e,g/2),c=t+m/2;se.canvas.drawPoint(f,r.pointStyle,s,l,c,r.rotation)}else f.fillRect(d.leftForLtr(e,g),t,g,m),0!==a&&f.strokeRect(d.leftForLtr(e,g),t,g,m);f.restore()}},y=function(e,t,n,r){var o=m/2,i=d.xPlus(e,g+o),a=t+o;f.fillText(n.text,i,a),n.hidden&&(f.beginPath(),f.lineWidth=2,f.moveTo(i,a),f.lineTo(d.xPlus(i,r),a),f.stroke())},A=function(e,r){switch(t.align){case"start":return n.padding;case"end":return e-r;default:return(e-r+n.padding)/2}},x=e.isHorizontal();u=x?{x:e.left+A(l,c[0]),y:e.top+n.padding,line:0}:{x:e.left+n.padding,y:e.top+A(a,s[0]),line:0},se.rtl.overrideTextDirection(e.ctx,t.textDirection);var C=m+n.padding;se.each(e.legendItems,(function(t,r){var o=f.measureText(t.text).width,i=g+m/2+o,p=u.x,h=u.y;d.setWidth(e.minSize.width),x?r>0&&p+i+n.padding>e.left+e.minSize.width&&(h=u.y+=C,u.line++,p=u.x=e.left+A(l,c[u.line])):r>0&&h+C>e.top+e.minSize.height&&(p=u.x=p+e.columnWidths[u.line]+n.padding,u.line++,h=u.y=e.top+A(a,s[u.line]));var _=d.x(p);b(_,h,t),v[r].left=d.leftForLtr(_,v[r].width),v[r].top=h,y(_,h,t,o),x?u.x+=i+n.padding:u.y+=C})),se.rtl.restoreTextDirection(e.ctx,t.textDirection)}},_getLegendItemAt:function(e,t){var n,r,o,i=this;if(e>=i.left&&e<=i.right&&t>=i.top&&t<=i.bottom)for(o=i.legendHitBoxes,n=0;n<o.length;++n)if(e>=(r=o[n]).left&&e<=r.left+r.width&&t>=r.top&&t<=r.top+r.height)return i.legendItems[n];return null},handleEvent:function(e){var t,n=this,r=n.options,o="mouseup"===e.type?"click":e.type;if("mousemove"===o){if(!r.onHover&&!r.onLeave)return}else{if("click"!==o)return;if(!r.onClick)return}t=n._getLegendItemAt(e.x,e.y),"click"===o?t&&r.onClick&&r.onClick.call(n,e.native,t):(r.onLeave&&t!==n._hoveredItem&&(n._hoveredItem&&r.onLeave.call(n,e.native,n._hoveredItem),n._hoveredItem=t),r.onHover&&t&&r.onHover.call(n,e.native,t))}});function $o(e,t){var n=new Ko({ctx:e.ctx,options:t,chart:e});Vt.configure(e,n,t),Vt.addBox(e,n),e.legend=n}var Xo={id:"legend",_element:Ko,beforeInit:function(e){var t=e.options.legend;t&&$o(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(se.mergeIf(t,Q.global.legend),n?(Vt.configure(e,n,t),n.options=t):$o(e,t)):n&&(Vt.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},Qo=se.noop;Q._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Jo=me.extend({initialize:function(e){var t=this;se.extend(t,e),t.legendHitBoxes=[]},beforeUpdate:Qo,update:function(e,t,n){var r=this;return r.beforeUpdate(),r.maxWidth=e,r.maxHeight=t,r.margins=n,r.beforeSetDimensions(),r.setDimensions(),r.afterSetDimensions(),r.beforeBuildLabels(),r.buildLabels(),r.afterBuildLabels(),r.beforeFit(),r.fit(),r.afterFit(),r.afterUpdate(),r.minSize},afterUpdate:Qo,beforeSetDimensions:Qo,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:Qo,beforeBuildLabels:Qo,buildLabels:Qo,afterBuildLabels:Qo,beforeFit:Qo,fit:function(){var e,t=this,n=t.options,r=t.minSize={},o=t.isHorizontal();n.display?(e=(se.isArray(n.text)?n.text.length:1)*se.options._parseFont(n).lineHeight+2*n.padding,t.width=r.width=o?t.maxWidth:e,t.height=r.height=o?e:t.maxHeight):t.width=r.width=t.height=r.height=0},afterFit:Qo,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this,t=e.ctx,n=e.options;if(n.display){var r,o,i,a=se.options._parseFont(n),s=a.lineHeight,l=s/2+n.padding,c=0,u=e.top,d=e.left,f=e.bottom,p=e.right;t.fillStyle=se.valueOrDefault(n.fontColor,Q.global.defaultFontColor),t.font=a.string,e.isHorizontal()?(o=d+(p-d)/2,i=u+l,r=p-d):(o="left"===n.position?d+l:p-l,i=u+(f-u)/2,r=f-u,c=Math.PI*("left"===n.position?-.5:.5)),t.save(),t.translate(o,i),t.rotate(c),t.textAlign="center",t.textBaseline="middle";var h=n.text;if(se.isArray(h))for(var m=0,g=0;g<h.length;++g)t.fillText(h[g],0,m,r),m+=s;else t.fillText(h,0,0,r);t.restore()}}});function ei(e,t){var n=new Jo({ctx:e.ctx,options:t,chart:e});Vt.configure(e,n,t),Vt.addBox(e,n),e.titleBlock=n}var ti={},ni=Wo,ri=Xo,oi={id:"title",_element:Jo,beforeInit:function(e){var t=e.options.title;t&&ei(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(se.mergeIf(t,Q.global.title),n?(Vt.configure(e,n,t),n.options=t):ei(e,t)):n&&(Vt.removeBox(e,n),delete e.titleBlock)}};for(var ii in ti.filler=ni,ti.legend=ri,ti.title=oi,Gn.helpers=se,Kn(),Gn._adapters=Qn,Gn.Animation=ve,Gn.animationService=be,Gn.controllers=kt,Gn.DatasetController=we,Gn.defaults=Q,Gn.Element=me,Gn.elements=Ze,Gn.Interaction=Pt,Gn.layouts=Vt,Gn.platform=xn,Gn.plugins=Cn,Gn.Scale=yr,Gn.scaleService=_n,Gn.Ticks=Jn,Gn.Tooltip=Nn,Gn.helpers.each(Po,(function(e,t){Gn.scaleService.registerScaleType(t,e,e._defaults)})),ti)ti.hasOwnProperty(ii)&&Gn.plugins.register(ti[ii]);Gn.platform.initialize();var ai=Gn;return"undefined"!=typeof window&&(window.Chart=Gn),Gn.Chart=Gn,Gn.Legend=ti.legend._element,Gn.Title=ti.title._element,Gn.pluginService=Gn.plugins,Gn.PluginBase=Gn.Element.extend({}),Gn.canvasHelpers=Gn.helpers.canvas,Gn.layoutService=Gn.layouts,Gn.LinearScaleBase=Er,Gn.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],(function(e){Gn[e]=function(t,n){return new Gn(t,Gn.helpers.merge(n||{},{type:e.charAt(0).toLowerCase()+e.slice(1)}))}})),ai}(function(){try{return n(30381)}catch(e){}}())},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)}()},13038:function(e,t,n){var r;r=function(e){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";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(1),i=n(2),a=n(9),s=n(10),l=n(11),c=n(12),u=n(13),d=n(14),f=n(15),p=i({componentDidMount:function(){this.init()},componentDidUpdate:function(e){var t=this,n=(t.props.options||{}).phoneRegionCode,r=t.props.value,o=t.properties;t.updateRegisteredEvents(t.props),e.value!==r&&null!=r&&(r=r.toString())!==t.properties.result&&(t.properties.initValue=r,t.onInput(r,!0)),(e.options||{}).phoneRegionCode!==n&&n&&n!==t.properties.phoneRegionCode&&(t.properties.phoneRegionCode=n,t.initPhoneFormatter(),t.onInput(t.properties.result)),d.setSelection(t.element,t.state.cursorPosition,o.document)},updateRegisteredEvents:function(e){var t=this,n=t.registeredEvents,r=n.onKeyDown,o=n.onChange,i=n.onFocus,a=n.onBlur,s=n.onInit;e.onInit&&e.onInit!==s&&(t.registeredEvents.onInit=e.onInit),e.onChange&&e.onChange!==o&&(t.registeredEvents.onChange=e.onChange),e.onFocus&&e.onFocus!==i&&(t.registeredEvents.onFocus=e.onFocus),e.onBlur&&e.onBlur!==a&&(t.registeredEvents.onBlur=e.onBlur),e.onKeyDown&&e.onKeyDown!==r&&(t.registeredEvents.onKeyDown=e.onKeyDown)},getInitialState:function(){var e=this,t=e.props,n=t.value,r=t.options,o=t.onKeyDown,i=t.onChange,a=t.onFocus,s=t.onBlur,l=t.onInit;return e.registeredEvents={onInit:l||d.noop,onChange:i||d.noop,onFocus:a||d.noop,onBlur:s||d.noop,onKeyDown:o||d.noop},r||(r={}),r.initValue=n,e.properties=f.assign({},r),{value:e.properties.result,cursorPosition:0}},init:function(){var e=this,t=e.properties;if(!(t.numeral||t.phone||t.creditCard||t.time||t.date||0!==t.blocksLength||t.prefix))return e.onInput(t.initValue),void e.registeredEvents.onInit(e);t.maxLength=d.getMaxLength(t.blocks),e.isAndroid=d.isAndroid(),e.initPhoneFormatter(),e.initDateFormatter(),e.initTimeFormatter(),e.initNumeralFormatter(),(t.initValue||t.prefix&&!t.noImmediatePrefix)&&e.onInput(t.initValue),e.registeredEvents.onInit(e)},initNumeralFormatter:function(){var e=this.properties;e.numeral&&(e.numeralFormatter=new a(e.numeralDecimalMark,e.numeralIntegerScale,e.numeralDecimalScale,e.numeralThousandsGroupStyle,e.numeralPositiveOnly,e.stripLeadingZeroes,e.prefix,e.signBeforePrefix,e.tailPrefix,e.delimiter))},initTimeFormatter:function(){var e=this.properties;e.time&&(e.timeFormatter=new l(e.timePattern,e.timeFormat),e.blocks=e.timeFormatter.getBlocks(),e.blocksLength=e.blocks.length,e.maxLength=d.getMaxLength(e.blocks))},initDateFormatter:function(){var e=this.properties;e.date&&(e.dateFormatter=new s(e.datePattern,e.dateMin,e.dateMax),e.blocks=e.dateFormatter.getBlocks(),e.blocksLength=e.blocks.length,e.maxLength=d.getMaxLength(e.blocks))},initPhoneFormatter:function(){var e=this.properties;if(e.phone)try{e.phoneFormatter=new c(new e.root.Cleave.AsYouTypeFormatter(e.phoneRegionCode),e.delimiter)}catch(e){throw new Error("Please include phone-type-formatter.{country}.js lib")}},setRawValue:function(e){var t=this.properties;e=null!=e?e.toString():"",t.numeral&&(e=e.replace(".",t.numeralDecimalMark)),t.postDelimiterBackspace=!1,this.onChange({target:{value:e},stopPropagation:d.noop,preventDefault:d.noop,persist:d.noop})},getRawValue:function(){var e=this.properties,t=e.result;return e.rawValueTrimPrefix&&(t=d.getPrefixStrippedValue(t,e.prefix,e.prefixLength,e.result,e.delimiter,e.delimiters,e.noImmediatePrefix,e.tailPrefix,e.signBeforePrefix)),t=e.numeral?e.numeralFormatter?e.numeralFormatter.getRawValue(t):"":d.stripDelimiters(t,e.delimiter,e.delimiters)},getISOFormatDate:function(){var e=this.properties;return e.date?e.dateFormatter.getISOFormatDate():""},getISOFormatTime:function(){var e=this.properties;return e.time?e.timeFormatter.getISOFormatTime():""},onInit:function(e){return e},onKeyDown:function(e){var t=this,n=t.properties,r=e.which||e.keyCode;t.lastInputValue=n.result,t.isBackward=8===r,t.registeredEvents.onKeyDown(e)},onFocus:function(e){var t=this,n=t.properties;n.prefix&&n.noImmediatePrefix&&!e.target.value&&t.onInput(n.prefix),e.target.rawValue=t.getRawValue(),e.target.value=n.result,t.registeredEvents.onFocus(e),d.fixPrefixCursor(t.element,n.prefix,n.delimiter,n.delimiters)},onBlur:function(e){var t=this,n=t.properties;e.target.rawValue=t.getRawValue(),e.target.value=n.result,t.registeredEvents.onBlur(e)},onChange:function(e){var t=this,n=t.properties;t.isBackward=t.isBackward||"deleteContentBackward"===e.inputType;var r=d.getPostDelimiter(t.lastInputValue,n.delimiter,n.delimiters);t.isBackward&&r?n.postDelimiterBackspace=r:n.postDelimiterBackspace=!1,t.onInput(e.target.value),e.target.rawValue=t.getRawValue(),e.target.value=n.result,t.registeredEvents.onChange(e)},onInput:function(e,t){var n=this,r=n.properties,o=d.getPostDelimiter(e,r.delimiter,r.delimiters);return t||r.numeral||!r.postDelimiterBackspace||o||(e=d.headStr(e,e.length-r.postDelimiterBackspace.length)),r.phone?(!r.prefix||r.noImmediatePrefix&&!e.length?r.result=r.phoneFormatter.format(e):r.result=r.prefix+r.phoneFormatter.format(e).slice(r.prefix.length),void n.updateValueState()):r.numeral?(r.prefix&&r.noImmediatePrefix&&0===e.length?r.result="":r.result=r.numeralFormatter.format(e),void n.updateValueState()):(r.date&&(e=r.dateFormatter.getValidatedDate(e)),r.time&&(e=r.timeFormatter.getValidatedTime(e)),e=d.stripDelimiters(e,r.delimiter,r.delimiters),e=d.getPrefixStrippedValue(e,r.prefix,r.prefixLength,r.result,r.delimiter,r.delimiters,r.noImmediatePrefix,r.tailPrefix,r.signBeforePrefix),e=r.numericOnly?d.strip(e,/[^\d]/g):e,e=r.uppercase?e.toUpperCase():e,e=r.lowercase?e.toLowerCase():e,r.prefix&&(r.tailPrefix?e+=r.prefix:e=r.prefix+e,0===r.blocksLength)?(r.result=e,void n.updateValueState()):(r.creditCard&&n.updateCreditCardPropsByValue(e),e=r.maxLength>0?d.headStr(e,r.maxLength):e,r.result=d.getFormattedValue(e,r.blocks,r.blocksLength,r.delimiter,r.delimiters,r.delimiterLazyShow),void n.updateValueState()))},updateCreditCardPropsByValue:function(e){var t,n=this.properties;d.headStr(n.result,4)!==d.headStr(e,4)&&(t=u.getInfo(e,n.creditCardStrictMode),n.blocks=t.blocks,n.blocksLength=n.blocks.length,n.maxLength=d.getMaxLength(n.blocks),n.creditCardType!==t.type&&(n.creditCardType=t.type,n.onCreditCardTypeChanged.call(this,n.creditCardType)))},updateValueState:function(){var e=this,t=e.properties;if(e.element){var n=e.element.selectionEnd,r=e.element.value,o=t.result;e.lastInputValue=o,n=d.getNextCursorPosition(n,r,o,t.delimiter,t.delimiters),e.isAndroid?window.setTimeout((function(){e.setState({value:o,cursorPosition:n})}),1):e.setState({value:o,cursorPosition:n})}else e.setState({value:t.result})},render:function(){var e=this,t=e.props,n=(t.value,t.options,t.onKeyDown,t.onFocus,t.onBlur,t.onChange,t.onInit,t.htmlRef),i=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}(t,["value","options","onKeyDown","onFocus","onBlur","onChange","onInit","htmlRef"]);return o.createElement("input",r({type:"text",ref:function(t){e.element=t,n&&n.apply(this,arguments)},value:e.state.value,onKeyDown:e.onKeyDown,onChange:e.onChange,onFocus:e.onFocus,onBlur:e.onBlur},i))}});e.exports=p},function(t,n){t.exports=e},function(e,t,n){"use strict";var r=n(1),o=n(3);if(void 0===r)throw Error("create-react-class could not find the React object. If you are using script tags, make sure that React is being loaded before create-react-class.");var i=(new r.Component).updater;e.exports=o(r.Component,r.isValidElement,i)},function(e,t,n){"use strict";var r=n(4),o=n(5),i=n(6),a="mixins";e.exports=function(e,t,n){var s=[],l={mixins:"DEFINE_MANY",statics:"DEFINE_MANY",propTypes:"DEFINE_MANY",contextTypes:"DEFINE_MANY",childContextTypes:"DEFINE_MANY",getDefaultProps:"DEFINE_MANY_MERGED",getInitialState:"DEFINE_MANY_MERGED",getChildContext:"DEFINE_MANY_MERGED",render:"DEFINE_ONCE",componentWillMount:"DEFINE_MANY",componentDidMount:"DEFINE_MANY",componentWillReceiveProps:"DEFINE_MANY",shouldComponentUpdate:"DEFINE_ONCE",componentWillUpdate:"DEFINE_MANY",componentDidUpdate:"DEFINE_MANY",componentWillUnmount:"DEFINE_MANY",UNSAFE_componentWillMount:"DEFINE_MANY",UNSAFE_componentWillReceiveProps:"DEFINE_MANY",UNSAFE_componentWillUpdate:"DEFINE_MANY",updateComponent:"OVERRIDE_BASE"},c={getDerivedStateFromProps:"DEFINE_MANY_MERGED"},u={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)f(e,t[n])},childContextTypes:function(e,t){e.childContextTypes=r({},e.childContextTypes,t)},contextTypes:function(e,t){e.contextTypes=r({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=h(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){e.propTypes=r({},e.propTypes,t)},statics:function(e,t){!function(e,t){if(t)for(var n in t){var r=t[n];if(t.hasOwnProperty(n)){if(i(!(n in u),'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\'t be on the "statics" key. Define it as an instance property instead; it will still be accessible on the constructor.',n),n in e){var o=c.hasOwnProperty(n)?c[n]:null;return i("DEFINE_MANY_MERGED"===o,"ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n),void(e[n]=h(e[n],r))}e[n]=r}}}(e,t)},autobind:function(){}};function d(e,t){var n=l.hasOwnProperty(t)?l[t]:null;y.hasOwnProperty(t)&&i("OVERRIDE_BASE"===n,"ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",t),e&&i("DEFINE_MANY"===n||"DEFINE_MANY_MERGED"===n,"ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",t)}function f(e,n){if(n){i("function"!=typeof n,"ReactClass: You're attempting to use a component class or function as a mixin. Instead, just use a regular object."),i(!t(n),"ReactClass: You're attempting to use a component as a mixin. Instead, just use a regular object.");var r=e.prototype,o=r.__reactAutoBindPairs;for(var s in n.hasOwnProperty(a)&&u.mixins(e,n.mixins),n)if(n.hasOwnProperty(s)&&s!==a){var c=n[s],f=r.hasOwnProperty(s);if(d(f,s),u.hasOwnProperty(s))u[s](e,c);else{var p=l.hasOwnProperty(s);if("function"!=typeof c||p||f||!1===n.autobind)if(f){var g=l[s];i(p&&("DEFINE_MANY_MERGED"===g||"DEFINE_MANY"===g),"ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.",g,s),"DEFINE_MANY_MERGED"===g?r[s]=h(r[s],c):"DEFINE_MANY"===g&&(r[s]=m(r[s],c))}else r[s]=c;else o.push(s,c),r[s]=c}}}}function p(e,t){for(var n in i(e&&t&&"object"==typeof e&&"object"==typeof t,"mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects."),t)t.hasOwnProperty(n)&&(i(void 0===e[n],"mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.",n),e[n]=t[n]);return e}function h(e,t){return function(){var n=e.apply(this,arguments),r=t.apply(this,arguments);if(null==n)return r;if(null==r)return n;var o={};return p(o,n),p(o,r),o}}function m(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}function g(e,t){return t.bind(e)}var v={componentDidMount:function(){this.__isMounted=!0}},b={componentWillUnmount:function(){this.__isMounted=!1}},y={replaceState:function(e,t){this.updater.enqueueReplaceState(this,e,t)},isMounted:function(){return!!this.__isMounted}},A=function(){};return r(A.prototype,e.prototype,y),function(e){var t=function(e,r,a){this.__reactAutoBindPairs.length&&function(e){for(var t=e.__reactAutoBindPairs,n=0;n<t.length;n+=2){var r=t[n],o=t[n+1];e[r]=g(e,o)}}(this),this.props=e,this.context=r,this.refs=o,this.updater=a||n,this.state=null;var s=this.getInitialState?this.getInitialState():null;i("object"==typeof s&&!Array.isArray(s),"%s.getInitialState(): must return an object or null",t.displayName||"ReactCompositeComponent"),this.state=s};for(var r in t.prototype=new A,t.prototype.constructor=t,t.prototype.__reactAutoBindPairs=[],s.forEach(f.bind(null,t)),f(t,v),f(t,e),f(t,b),t.getDefaultProps&&(t.defaultProps=t.getDefaultProps()),i(t.prototype.render,"createClass(...): Class specification must implement a `render` method."),l)t.prototype[r]||(t.prototype[r]=null);return t}}},function(e,t){"use strict";var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,o=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var a,s,l=i(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))r.call(a,u)&&(l[u]=a[u]);if(n){s=n(a);for(var d=0;d<s.length;d++)o.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},function(e,t){"use strict";e.exports={}},function(e,t){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},function(e,t,n){"use strict";var r=n(8);e.exports=r},function(e,t){"use strict";function n(e){return function(){return e}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(e){return e},e.exports=r},function(e,t){"use strict";var n=function e(t,n,r,o,i,a,s,l,c,u){var d=this;d.numeralDecimalMark=t||".",d.numeralIntegerScale=n>0?n:0,d.numeralDecimalScale=r>=0?r:2,d.numeralThousandsGroupStyle=o||e.groupStyle.thousand,d.numeralPositiveOnly=!!i,d.stripLeadingZeroes=!1!==a,d.prefix=s||""===s?s:"",d.signBeforePrefix=!!l,d.tailPrefix=!!c,d.delimiter=u||""===u?u:",",d.delimiterRE=u?new RegExp("\\"+u,"g"):""};n.groupStyle={thousand:"thousand",lakh:"lakh",wan:"wan",none:"none"},n.prototype={getRawValue:function(e){return e.replace(this.delimiterRE,"").replace(this.numeralDecimalMark,".")},format:function(e){var t,r,o,i,a=this,s="";switch(e=e.replace(/[A-Za-z]/g,"").replace(a.numeralDecimalMark,"M").replace(/[^\dM-]/g,"").replace(/^\-/,"N").replace(/\-/g,"").replace("N",a.numeralPositiveOnly?"":"-").replace("M",a.numeralDecimalMark),a.stripLeadingZeroes&&(e=e.replace(/^(-)?0+(?=\d)/,"$1")),r="-"===e.slice(0,1)?"-":"",o=void 0!==a.prefix?a.signBeforePrefix?r+a.prefix:a.prefix+r:r,i=e,e.indexOf(a.numeralDecimalMark)>=0&&(i=(t=e.split(a.numeralDecimalMark))[0],s=a.numeralDecimalMark+t[1].slice(0,a.numeralDecimalScale)),"-"===r&&(i=i.slice(1)),a.numeralIntegerScale>0&&(i=i.slice(0,a.numeralIntegerScale)),a.numeralThousandsGroupStyle){case n.groupStyle.lakh:i=i.replace(/(\d)(?=(\d\d)+\d$)/g,"$1"+a.delimiter);break;case n.groupStyle.wan:i=i.replace(/(\d)(?=(\d{4})+$)/g,"$1"+a.delimiter);break;case n.groupStyle.thousand:i=i.replace(/(\d)(?=(\d{3})+$)/g,"$1"+a.delimiter)}return a.tailPrefix?r+i.toString()+(a.numeralDecimalScale>0?s.toString():"")+a.prefix:o+i.toString()+(a.numeralDecimalScale>0?s.toString():"")}},e.exports=n},function(e,t){"use strict";var n=function(e,t,n){var r=this;r.date=[],r.blocks=[],r.datePattern=e,r.dateMin=t.split("-").reverse().map((function(e){return parseInt(e,10)})),2===r.dateMin.length&&r.dateMin.unshift(0),r.dateMax=n.split("-").reverse().map((function(e){return parseInt(e,10)})),2===r.dateMax.length&&r.dateMax.unshift(0),r.initBlocks()};n.prototype={initBlocks:function(){var e=this;e.datePattern.forEach((function(t){"Y"===t?e.blocks.push(4):e.blocks.push(2)}))},getISOFormatDate:function(){var e=this,t=e.date;return t[2]?t[2]+"-"+e.addLeadingZero(t[1])+"-"+e.addLeadingZero(t[0]):""},getBlocks:function(){return this.blocks},getValidatedDate:function(e){var t=this,n="";return e=e.replace(/[^\d]/g,""),t.blocks.forEach((function(r,o){if(e.length>0){var i=e.slice(0,r),a=i.slice(0,1),s=e.slice(r);switch(t.datePattern[o]){case"d":"00"===i?i="01":parseInt(a,10)>3?i="0"+a:parseInt(i,10)>31&&(i="31");break;case"m":"00"===i?i="01":parseInt(a,10)>1?i="0"+a:parseInt(i,10)>12&&(i="12")}n+=i,e=s}})),this.getFixedDateString(n)},getFixedDateString:function(e){var t,n,r,o=this,i=o.datePattern,a=[],s=0,l=0,c=0,u=0,d=0,f=0,p=!1;return 4===e.length&&"y"!==i[0].toLowerCase()&&"y"!==i[1].toLowerCase()&&(d=2-(u="d"===i[0]?0:2),t=parseInt(e.slice(u,u+2),10),n=parseInt(e.slice(d,d+2),10),a=this.getFixedDate(t,n,0)),8===e.length&&(i.forEach((function(e,t){switch(e){case"d":s=t;break;case"m":l=t;break;default:c=t}})),f=2*c,u=s<=c?2*s:2*s+2,d=l<=c?2*l:2*l+2,t=parseInt(e.slice(u,u+2),10),n=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(f,f+4),10),p=4===e.slice(f,f+4).length,a=this.getFixedDate(t,n,r)),4!==e.length||"y"!==i[0]&&"y"!==i[1]||(f=2-(d="m"===i[0]?0:2),n=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(f,f+2),10),p=2===e.slice(f,f+2).length,a=[0,n,r]),6!==e.length||"Y"!==i[0]&&"Y"!==i[1]||(f=2-.5*(d="m"===i[0]?0:4),n=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(f,f+4),10),p=4===e.slice(f,f+4).length,a=[0,n,r]),a=o.getRangeFixedDate(a),o.date=a,0===a.length?e:i.reduce((function(e,t){switch(t){case"d":return e+(0===a[0]?"":o.addLeadingZero(a[0]));case"m":return e+(0===a[1]?"":o.addLeadingZero(a[1]));case"y":return e+(p?o.addLeadingZeroForYear(a[2],!1):"");case"Y":return e+(p?o.addLeadingZeroForYear(a[2],!0):"")}}),"")},getRangeFixedDate:function(e){var t=this,n=t.datePattern,r=t.dateMin||[],o=t.dateMax||[];return!e.length||r.length<3&&o.length<3||n.find((function(e){return"y"===e.toLowerCase()}))&&0===e[2]?e:o.length&&(o[2]<e[2]||o[2]===e[2]&&(o[1]<e[1]||o[1]===e[1]&&o[0]<e[0]))?o:r.length&&(r[2]>e[2]||r[2]===e[2]&&(r[1]>e[1]||r[1]===e[1]&&r[0]>e[0]))?r:e},getFixedDate:function(e,t,n){return e=Math.min(e,31),t=Math.min(t,12),n=parseInt(n||0,10),(t<7&&t%2==0||t>8&&t%2==1)&&(e=Math.min(e,2===t?this.isLeapYear(n)?29:28:30)),[e,t,n]},isLeapYear:function(e){return e%4==0&&e%100!=0||e%400==0},addLeadingZero:function(e){return(e<10?"0":"")+e},addLeadingZeroForYear:function(e,t){return t?(e<10?"000":e<100?"00":e<1e3?"0":"")+e:(e<10?"0":"")+e}},e.exports=n},function(e,t){"use strict";var n=function(e,t){var n=this;n.time=[],n.blocks=[],n.timePattern=e,n.timeFormat=t,n.initBlocks()};n.prototype={initBlocks:function(){var e=this;e.timePattern.forEach((function(){e.blocks.push(2)}))},getISOFormatTime:function(){var e=this,t=e.time;return t[2]?e.addLeadingZero(t[0])+":"+e.addLeadingZero(t[1])+":"+e.addLeadingZero(t[2]):""},getBlocks:function(){return this.blocks},getTimeFormatOptions:function(){return"12"===String(this.timeFormat)?{maxHourFirstDigit:1,maxHours:12,maxMinutesFirstDigit:5,maxMinutes:60}:{maxHourFirstDigit:2,maxHours:23,maxMinutesFirstDigit:5,maxMinutes:60}},getValidatedTime:function(e){var t=this,n="";e=e.replace(/[^\d]/g,"");var r=t.getTimeFormatOptions();return t.blocks.forEach((function(o,i){if(e.length>0){var a=e.slice(0,o),s=a.slice(0,1),l=e.slice(o);switch(t.timePattern[i]){case"h":parseInt(s,10)>r.maxHourFirstDigit?a="0"+s:parseInt(a,10)>r.maxHours&&(a=r.maxHours+"");break;case"m":case"s":parseInt(s,10)>r.maxMinutesFirstDigit?a="0"+s:parseInt(a,10)>r.maxMinutes&&(a=r.maxMinutes+"")}n+=a,e=l}})),this.getFixedTimeString(n)},getFixedTimeString:function(e){var t,n,r,o=this,i=o.timePattern,a=[],s=0,l=0,c=0,u=0,d=0,f=0;return 6===e.length&&(i.forEach((function(e,t){switch(e){case"s":s=2*t;break;case"m":l=2*t;break;case"h":c=2*t}})),f=c,d=l,u=s,t=parseInt(e.slice(u,u+2),10),n=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(f,f+2),10),a=this.getFixedTime(r,n,t)),4===e.length&&o.timePattern.indexOf("s")<0&&(i.forEach((function(e,t){switch(e){case"m":l=2*t;break;case"h":c=2*t}})),f=c,d=l,t=0,n=parseInt(e.slice(d,d+2),10),r=parseInt(e.slice(f,f+2),10),a=this.getFixedTime(r,n,t)),o.time=a,0===a.length?e:i.reduce((function(e,t){switch(t){case"s":return e+o.addLeadingZero(a[2]);case"m":return e+o.addLeadingZero(a[1]);case"h":return e+o.addLeadingZero(a[0])}}),"")},getFixedTime:function(e,t,n){return n=Math.min(parseInt(n||0,10),60),t=Math.min(t,60),[e=Math.min(e,60),t,n]},addLeadingZero:function(e){return(e<10?"0":"")+e}},e.exports=n},function(e,t){"use strict";var n=function(e,t){var n=this;n.delimiter=t||""===t?t:" ",n.delimiterRE=t?new RegExp("\\"+t,"g"):"",n.formatter=e};n.prototype={setFormatter:function(e){this.formatter=e},format:function(e){var t=this;t.formatter.clear();for(var n,r="",o=!1,i=0,a=(e=(e=(e=e.replace(/[^\d+]/g,"")).replace(/^\+/,"B").replace(/\+/g,"").replace("B","+")).replace(t.delimiterRE,"")).length;i<a;i++)n=t.formatter.inputDigit(e.charAt(i)),/[\s()-]/g.test(n)?(r=n,o=!0):o||(r=n);return r=(r=r.replace(/[()]/g,"")).replace(/[\s-]/g,t.delimiter)}},e.exports=n},function(e,t){"use strict";var n={blocks:{uatp:[4,5,6],amex:[4,6,5],diners:[4,6,4],discover:[4,4,4,4],mastercard:[4,4,4,4],dankort:[4,4,4,4],instapayment:[4,4,4,4],jcb15:[4,6,5],jcb:[4,4,4,4],maestro:[4,4,4,4],visa:[4,4,4,4],mir:[4,4,4,4],unionPay:[4,4,4,4],general:[4,4,4,4]},re:{uatp:/^(?!1800)1\d{0,14}/,amex:/^3[47]\d{0,13}/,discover:/^(?:6011|65\d{0,2}|64[4-9]\d?)\d{0,12}/,diners:/^3(?:0([0-5]|9)|[689]\d?)\d{0,11}/,mastercard:/^(5[1-5]\d{0,2}|22[2-9]\d{0,1}|2[3-7]\d{0,2})\d{0,12}/,dankort:/^(5019|4175|4571)\d{0,12}/,instapayment:/^63[7-9]\d{0,13}/,jcb15:/^(?:2131|1800)\d{0,11}/,jcb:/^(?:35\d{0,2})\d{0,12}/,maestro:/^(?:5[0678]\d{0,2}|6304|67\d{0,2})\d{0,12}/,mir:/^220[0-4]\d{0,12}/,visa:/^4\d{0,15}/,unionPay:/^(62|81)\d{0,14}/},getStrictBlocks:function(e){var t=e.reduce((function(e,t){return e+t}),0);return e.concat(19-t)},getInfo:function(e,t){var r=n.blocks,o=n.re;for(var i in t=!!t,o)if(o[i].test(e)){var a=r[i];return{type:i,blocks:t?this.getStrictBlocks(a):a}}return{type:"unknown",blocks:t?this.getStrictBlocks(r.general):r.general}}};e.exports=n},function(e,t){"use strict";var n={noop:function(){},strip:function(e,t){return e.replace(t,"")},getPostDelimiter:function(e,t,n){if(0===n.length)return e.slice(-t.length)===t?t:"";var r="";return n.forEach((function(t){e.slice(-t.length)===t&&(r=t)})),r},getDelimiterREByDelimiter:function(e){return new RegExp(e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1"),"g")},getNextCursorPosition:function(e,t,n,r,o){return t.length===e?n.length:e+this.getPositionOffset(e,t,n,r,o)},getPositionOffset:function(e,t,n,r,o){var i,a,s;return i=this.stripDelimiters(t.slice(0,e),r,o),a=this.stripDelimiters(n.slice(0,e),r,o),0!=(s=i.length-a.length)?s/Math.abs(s):0},stripDelimiters:function(e,t,n){var r=this;if(0===n.length){var o=t?r.getDelimiterREByDelimiter(t):"";return e.replace(o,"")}return n.forEach((function(t){t.split("").forEach((function(t){e=e.replace(r.getDelimiterREByDelimiter(t),"")}))})),e},headStr:function(e,t){return e.slice(0,t)},getMaxLength:function(e){return e.reduce((function(e,t){return e+t}),0)},getPrefixStrippedValue:function(e,t,n,r,o,i,a,s,l){if(0===n)return e;if(e===t&&""!==e)return"";if(l&&"-"==e.slice(0,1)){var c="-"==r.slice(0,1)?r.slice(1):r;return"-"+this.getPrefixStrippedValue(e.slice(1),t,n,c,o,i,a,s,l)}if(r.slice(0,n)!==t&&!s)return a&&!r&&e?e:"";if(r.slice(-n)!==t&&s)return a&&!r&&e?e:"";var u=this.stripDelimiters(r,o,i);return e.slice(0,n)===t||s?e.slice(-n)!==t&&s?u.slice(0,-n-1):s?e.slice(0,-n):e.slice(n):u.slice(n)},getFirstDiffIndex:function(e,t){for(var n=0;e.charAt(n)===t.charAt(n);)if(""===e.charAt(n++))return-1;return n},getFormattedValue:function(e,t,n,r,o,i){var a="",s=o.length>0,l="";return 0===n?e:(t.forEach((function(t,c){if(e.length>0){var u=e.slice(0,t),d=e.slice(t);l=s?o[i?c-1:c]||l:r,i?(c>0&&(a+=l),a+=u):(a+=u,u.length===t&&c<n-1&&(a+=l)),e=d}})),a)},fixPrefixCursor:function(e,t,n,r){if(e){var o=e.value,i=n||r[0]||" ";if(e.setSelectionRange&&t&&!(t.length+i.length<=o.length)){var a=2*o.length;setTimeout((function(){e.setSelectionRange(a,a)}),1)}}},checkFullSelection:function(e){try{return(window.getSelection()||document.getSelection()||{}).toString().length===e.length}catch(e){}return!1},setSelection:function(e,t,n){if(e===this.getActiveElement(n)&&!(e&&e.value.length<=t))if(e.createTextRange){var r=e.createTextRange();r.move("character",t),r.select()}else try{e.setSelectionRange(t,t)}catch(e){console.warn("The input element type does not support selection")}},getActiveElement:function(e){var t=e.activeElement;return t&&t.shadowRoot?this.getActiveElement(t.shadowRoot):t},isAndroid:function(){return navigator&&/android/i.test(navigator.userAgent)},isAndroidBackspaceKeydown:function(e,t){return!!(this.isAndroid()&&e&&t)&&t===e.slice(0,-1)}};e.exports=n},function(e,t){"use strict";var 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},o={assign:function(e,t){return t=t||{},(e=e||{}).creditCard=!!t.creditCard,e.creditCardStrictMode=!!t.creditCardStrictMode,e.creditCardType="",e.onCreditCardTypeChanged=t.onCreditCardTypeChanged||function(){},e.phone=!!t.phone,e.phoneRegionCode=t.phoneRegionCode||"AU",e.phoneFormatter={},e.time=!!t.time,e.timePattern=t.timePattern||["h","m","s"],e.timeFormat=t.timeFormat||"24",e.timeFormatter={},e.date=!!t.date,e.datePattern=t.datePattern||["d","m","Y"],e.dateMin=t.dateMin||"",e.dateMax=t.dateMax||"",e.dateFormatter={},e.numeral=!!t.numeral,e.numeralIntegerScale=t.numeralIntegerScale>0?t.numeralIntegerScale:0,e.numeralDecimalScale=t.numeralDecimalScale>=0?t.numeralDecimalScale:2,e.numeralDecimalMark=t.numeralDecimalMark||".",e.numeralThousandsGroupStyle=t.numeralThousandsGroupStyle||"thousand",e.numeralPositiveOnly=!!t.numeralPositiveOnly,e.stripLeadingZeroes=!1!==t.stripLeadingZeroes,e.signBeforePrefix=!!t.signBeforePrefix,e.tailPrefix=!!t.tailPrefix,e.swapHiddenInput=!!t.swapHiddenInput,e.numericOnly=e.creditCard||e.date||!!t.numericOnly,e.uppercase=!!t.uppercase,e.lowercase=!!t.lowercase,e.prefix=e.creditCard||e.date?"":t.prefix||"",e.noImmediatePrefix=!!t.noImmediatePrefix,e.prefixLength=e.prefix.length,e.rawValueTrimPrefix=!!t.rawValueTrimPrefix,e.copyDelimiter=!!t.copyDelimiter,e.initValue=void 0!==t.initValue&&null!==t.initValue?t.initValue.toString():"",e.delimiter=t.delimiter||""===t.delimiter?t.delimiter:t.date?"/":t.time?":":t.numeral?",":(t.phone," "),e.delimiterLength=e.delimiter.length,e.delimiterLazyShow=!!t.delimiterLazyShow,e.delimiters=t.delimiters||[],e.blocks=t.blocks||[],e.blocksLength=e.blocks.length,e.root="object"===(void 0===n.g?"undefined":r(n.g))&&n.g?n.g:window,e.document=t.document||e.root.document,e.maxLength=0,e.backspace=!1,e.result="",e.onValueChanged=t.onValueChanged||function(){},e}};e.exports=o}])},e.exports=r(n(67294))},52034:function(e,t,n){e.exports=n(13038)},81781:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"#nprogress{pointer-events:none}#nprogress .bar{background:#29d;height:2px;left:0;position:fixed;top:0;width:100%;z-index:1031}#nprogress .peg{-webkit-box-shadow:0 0 10px #29d,0 0 5px #29d;box-shadow:0 0 10px #29d,0 0 5px #29d;display:block;height:100%;opacity:1;position:absolute;right:0;-webkit-transform:rotate(3deg) translateY(-4px);-ms-transform:rotate(3deg) translateY(-4px);transform:rotate(3deg) translateY(-4px);width:100px}#nprogress .spinner{display:block;position:fixed;right:15px;top:15px;z-index:1031}#nprogress .spinner-icon{-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite;border-color:#29d transparent transparent #29d;border-radius:50%;border-style:solid;border-width:2px;-webkit-box-sizing:border-box;box-sizing:border-box;height:18px;width:18px}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(1turn)}}@keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}","",{version:3,sources:["webpack://./node_modules/axios-progress-bar/dist/nprogress.css"],names:[],mappings:"AACA,WACE,mBACF,CAEA,gBACE,eAAgB,CAQhB,UAAW,CAHX,MAAO,CAHP,cAAe,CAEf,KAAM,CAGN,UAAW,CAJX,YAMF,CAGA,gBAME,6CAAuC,CAAvC,qCAAuC,CALvC,aAAc,CAId,WAAY,CAEZ,SAAY,CALZ,iBAAkB,CAClB,OAAU,CAMV,+CAAoD,CAChD,2CAAgD,CAC5C,uCAA4C,CAPpD,WAQF,CAGA,oBACE,aAAc,CACd,cAAe,CAGf,UAAW,CADX,QAAS,CADT,YAGF,CAEA,yBAUE,uDAA0D,CAClD,+CAAkD,CAJ1D,8CAAuB,CACvB,iBAAkB,CADlB,kBAAuB,CAAvB,gBAAuB,CAJvB,6BAAsB,CAAtB,qBAAsB,CADtB,WAAY,CADZ,UAWF,CAEA,yBACE,eAAgB,CAChB,iBACF,CAEA,sFAEE,iBACF,CAEA,qCACE,GAAO,8BAAiC,CACxC,GAAO,+BAAmC,CAC5C,CACA,6BACE,GAAO,8BAAuB,CAAvB,sBAAyB,CAChC,GAAO,+BAAyB,CAAzB,uBAA2B,CACpC",sourcesContent:["/* Make clicks pass-through */\n#nprogress {\n  pointer-events: none;\n}\n\n#nprogress .bar {\n  background: #29d;\n\n  position: fixed;\n  z-index: 1031;\n  top: 0;\n  left: 0;\n\n  width: 100%;\n  height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress .peg {\n  display: block;\n  position: absolute;\n  right: 0px;\n  width: 100px;\n  height: 100%;\n  box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n  opacity: 1.0;\n\n  -webkit-transform: rotate(3deg) translate(0px, -4px);\n      -ms-transform: rotate(3deg) translate(0px, -4px);\n          transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress .spinner {\n  display: block;\n  position: fixed;\n  z-index: 1031;\n  top: 15px;\n  right: 15px;\n}\n\n#nprogress .spinner-icon {\n  width: 18px;\n  height: 18px;\n  box-sizing: border-box;\n\n  border: solid 2px transparent;\n  border-top-color: #29d;\n  border-left-color: #29d;\n  border-radius: 50%;\n\n  -webkit-animation: nprogress-spinner 400ms linear infinite;\n          animation: nprogress-spinner 400ms linear infinite;\n}\n\n.nprogress-custom-parent {\n  overflow: hidden;\n  position: relative;\n}\n\n.nprogress-custom-parent #nprogress .spinner,\n.nprogress-custom-parent #nprogress .bar {\n  position: absolute;\n}\n\n@-webkit-keyframes nprogress-spinner {\n  0%   { -webkit-transform: rotate(0deg); }\n  100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress-spinner {\n  0%   { transform: rotate(0deg); }\n  100% { transform: rotate(360deg); }\n}\n\n"],sourceRoot:""}]),t.Z=a},57845:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'/*!\n * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser\n * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)\n * Version: v3.21.5\n * Url: https://xdsoft.net/jodit/\n * License(s): MIT\n */.jodit-wysiwyg{outline:0}.jodit-wysiwyg ::-moz-selection,.jodit-wysiwyg::-moz-selection{background:#b5d6fd;color:#4c4c4c}.jodit-wysiwyg ::selection,.jodit-wysiwyg::selection{background:#b5d6fd;color:#4c4c4c}.jodit-container:not(.jodit_inline) .jodit-wysiwyg{margin:0;outline:0;overflow-x:auto;padding:8px;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg img{max-width:100%;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media{position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media *{position:relative;z-index:0}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.jodit-form{color:#4c4c4c;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px}.jodit-form.jodit_error{border-color:#ff3b3b;-webkit-box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3);box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3)}@media (max-width:768px){.jodit-form{min-width:150px}}.jodit-form button{background:#d6d6d6;border:none;color:#4c4c4c;cursor:pointer;font-size:16px;height:36px;line-height:1;margin-bottom:8px;margin-top:8px;outline:none;padding:8px;text-decoration:none;-webkit-transition:background .2s ease 0s;-o-transition:background .2s ease 0s;transition:background .2s ease 0s}.jodit-form button:hover{background-color:#ecebe9;color:#4c4c4c}.jodit-form button:active{background:#ecebe9;color:#4c4c4c}.jodit-form label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px;text-align:left;white-space:nowrap}.jodit-form label:last-child{margin-bottom:0}.jodit-form .jodit-form__center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit .jodit-input,.jodit .jodit-select,.jodit .jodit-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit .jodit-input[disabled],.jodit .jodit-select[disabled],.jodit .jodit-textarea[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-input_has-error_true,.jodit .jodit-select_has-error_true,.jodit .jodit-textarea_has-error_true{border-color:#ff3b3b}.jodit .jodit-input:focus{border-color:#66afe9;outline:0}.jodit-checkbox{border:0;cursor:pointer;height:16px;margin:0 4px 0 0;outline:none;padding:0;position:relative;width:16px;z-index:2}.jodit-select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg data-name=\'Layer 1\' xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 4.95 10\'%3E%3Cpath style=\'fill:%23fff\' d=\'M0 0h4.95v10H0z\'/%3E%3Cpath d=\'m1.41 4.67 1.07-1.49 1.06 1.49H1.41zm2.13.66L2.48 6.82 1.41 5.33h2.13z\' style=\'fill:%23444\'/%3E%3C/svg%3E");background-position:98% 50%;background-repeat:no-repeat;padding-right:16px}.jodit-textarea{height:auto}.jodit-form__group,.jodit-textarea{min-width:180px}.jodit-form__group{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-form__group>label{margin-bottom:8px}.jodit-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#dadada;border:0;border-radius:.25rem;color:#4c4c4c;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:32px;justify-content:center;line-height:1;margin:0;padding:0 8px;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto}.jodit-button svg{display:inline-block;height:24px;width:24px}.jodit-button svg+span{margin-left:4px}.jodit-button:active,.jodit-button:focus{outline:0}.jodit-button.disabled{opacity:.7}.jodit-buttons{-webkit-box-pack:justify;-ms-flex-pack:justify;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:space-between;margin-bottom:8px}.jodit-button .jodit_icon,.jodit-button svg,.jodit-dialog__header .jodit_icon,.jodit-dialog__header svg{display:inline-block;height:16px;vertical-align:middle;width:16px}.jodit-switcher{display:inline-block;height:32px;position:relative;width:60px}.jodit-switcher input{height:0;opacity:0;width:0}.jodit-switcher .jodit-switcher__slider{background-color:#dadada;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.jodit-switcher .jodit-switcher__slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:24px;left:4px;position:absolute;-webkit-transition:.4s;-o-transition:.4s;transition:.4s;width:24px}input:checked+.jodit-switcher__slider{background-color:#2196f3}input:checked+.jodit-switcher__slider:before{-webkit-transform:translateX(28px);-ms-transform:translateX(28px);transform:translateX(28px)}input:focus+.jodit-switcher__slider{-webkit-box-shadow:0 0 1px #2196f3;box-shadow:0 0 1px #2196f3}.jodit-button-group{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-button-group input{display:none}.jodit-button-group button{-webkit-box-flex:1;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;justify-content:center;text-align:center}.jodit-button-group button+button{margin-left:-1px}.jodit-button-group button:first-child,.jodit-button-group input:first-child+button{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.jodit-button-group button:last-child,.jodit-button-group input:last-child+button{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.jodit-button-group input[type=checkbox]:checked+button,.jodit-button-group input[type=checkbox]:not(:checked)+button+button{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05)}.jodit_text_icons .jodit_icon{font-size:14px;width:auto}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;width:auto}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a i{width:auto}.jodit_text_icons.jodit-dialog .jodit-button,.jodit_text_icons.jodit-dialog .jodit-dialog__header a{color:rgba(0,0,0,.75);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;padding:8px;width:auto}.jodit_text_icons.jodit-dialog .jodit-button .jodit_icon,.jodit_text_icons.jodit-dialog .jodit-dialog__header a .jodit_icon{width:auto}.jodit-grid{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.jodit-grid.jodit-grid_column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (max-width:480px){.jodit-grid.jodit-grid_xs-column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-grid [class*=jodit_col-]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.jodit-grid .jodit_col-lg-5-5{width:100%}.jodit-grid .jodit_col-lg-4-5{width:80%}.jodit-grid .jodit_col-lg-3-5{width:60%}.jodit-grid .jodit_col-lg-2-5{width:40%}.jodit-grid .jodit_col-lg-1-5{width:20%}.jodit-grid .jodit_col-lg-4-4{width:100%}.jodit-grid .jodit_col-lg-3-4{width:75%}.jodit-grid .jodit_col-lg-2-4{width:50%}.jodit-grid .jodit_col-lg-1-4{width:25%}@media (max-width:992px){.jodit-grid .jodit_col-md-5-5{width:100%}.jodit-grid .jodit_col-md-4-5{width:80%}.jodit-grid .jodit_col-md-3-5{width:60%}.jodit-grid .jodit_col-md-2-5{width:40%}.jodit-grid .jodit_col-md-1-5{width:20%}.jodit-grid .jodit_col-md-4-4{width:100%}.jodit-grid .jodit_col-md-3-4{width:75%}.jodit-grid .jodit_col-md-2-4{width:50%}.jodit-grid .jodit_col-md-1-4{width:25%}}@media (max-width:768px){.jodit-grid .jodit_col-sm-5-5{width:100%}.jodit-grid .jodit_col-sm-4-5{width:80%}.jodit-grid .jodit_col-sm-3-5{width:60%}.jodit-grid .jodit_col-sm-2-5{width:40%}.jodit-grid .jodit_col-sm-1-5{width:20%}.jodit-grid .jodit_col-sm-4-4{width:100%}.jodit-grid .jodit_col-sm-3-4{width:75%}.jodit-grid .jodit_col-sm-2-4{width:50%}.jodit-grid .jodit_col-sm-1-4{width:25%}}@media (max-width:480px){.jodit-grid .jodit_col-xs-5-5{width:100%}.jodit-grid .jodit_col-xs-4-5{width:80%}.jodit-grid .jodit_col-xs-3-5{width:60%}.jodit-grid .jodit_col-xs-2-5{width:40%}.jodit-grid .jodit_col-xs-1-5{width:20%}.jodit-grid .jodit_col-xs-4-4{width:100%}.jodit-grid .jodit_col-xs-3-4{width:75%}.jodit-grid .jodit_col-xs-2-4{width:50%}.jodit-grid .jodit_col-xs-1-4{width:25%}}@-webkit-keyframes a{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.jodit-icon_loader{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;display:inline-block;height:48px;vertical-align:middle;width:48px;will-change:transform}.jodit-icon{fill:#4c4c4c;background:50% no-repeat;background-size:contain;height:14px;overflow:visible;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;width:14px}.jodit-icon,.jodit-icon_close{stroke:#4c4c4c}svg.jodit-icon{height:auto;isolation:isolate}.jodit-icon_text{font-size:14px}.jodit,.jodit *,.jodit-container,.jodit-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit .jodit-workplace,.jodit-container .jodit-workplace{overflow:auto;position:relative}.jodit .jodit-workplace .jodit-wysiwyg,.jodit .jodit-workplace .jodit-wysiwyg_iframe,.jodit-container .jodit-workplace .jodit-wysiwyg,.jodit-container .jodit-workplace .jodit-wysiwyg_iframe{height:100%;width:100%}.jodit-wysiwyg [contenteditable=false]{cursor:default}.jodit-container:not(.jodit_inline){border:1px solid #dadada;border-radius:3px}.jodit-container:not(.jodit_inline) .jodit-workplace{border:0 solid #dadada;max-height:100%}.jodit-container:not(.jodit_inline).jodit_disabled{background:#dadada}.jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:.4}.jodit_disabled,.jodit_lock{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_vertical_middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-box,.jodit-context-menu{background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.jodit-context-menu{-webkit-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);display:inline-block;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:10000001;z-index:30000005}.jodit-context-menu__content{overflow-scrolling:touch;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px}.jodit-context-menu_padding_false .jodit-context-menu__content{padding:0}.jodit-context-menu_max-height_false .jodit-context-menu__content{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.jodit-context-menu .jodit-ui-button{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-context-menu__actions{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px}.jodit-context-menu__actions button{width:100%}.jodit-context-menu_theme_dark .jodit-context-menu__content{background-color:#575757}.jodit-popup{background:0 0;border:0;-webkit-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);width:auto;z-index:10000001}.jodit-popup__content{overflow-scrolling:touch;background:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px}.jodit-popup_padding_false .jodit-popup__content{padding:0}.jodit-popup_max-height_false .jodit-popup__content{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.jodit-ui-button-icon-text__icon{display:none}.jodit-ui-button-icon-text__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-ui-button-icon-text__text{display:none}.jodit-ui-button-icon-text__text:not(:empty){-webkit-box-flex:1;-ms-flex-positive:1;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-ui-button-icon-text__icon:not(:empty)+.jodit-ui-button-icon-text__text:not(:empty){margin-left:8px}.jodit-ui-button-icon-text__icon:empty+.jodit-ui-button-icon-text__text:not(:empty){padding:0 8px}.jodit-ui-button-clear,.jodit-ui-button_clear{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-style:normal;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-ui-button-sizes{height:34px;min-width:34px}.jodit-ui-button-sizes .jodit-icon{height:14px;width:14px}.jodit-ui-button-sizes button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button-sizes_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_tiny{height:16px;min-width:16px}.jodit-ui-button-sizes_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button-sizes_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button-sizes_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_xsmall{height:22px;min-width:22px}.jodit-ui-button-sizes_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button-sizes_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button-sizes_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_small{height:28px;min-width:28px}.jodit-ui-button-sizes_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button-sizes_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button-sizes_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_large{height:40px;min-width:40px}.jodit-ui-button-sizes_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button-sizes_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button-sizes_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button-variants_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button-variants_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default [disabled]{opacity:.7}.jodit-ui-button-variants_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button-variants_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button-variants_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button-variants_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button-variants_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button-variants_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success [disabled]{opacity:.7}.jodit-ui-button-variants_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button-variants_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button-variants_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button-variants_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger [disabled]{opacity:.7}.jodit-ui-button-variants_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button-variants_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-button-style{border-radius:3px;padding:0 8px}.jodit-ui-button,.jodit-ui-button-style{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;color:rgba(0,0,0,.75);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;justify-content:center}.jodit-ui-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-style:normal;height:34px;min-width:34px;outline:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-ui-button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:active:not([disabled]),.jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-ui-button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-ui-button[disabled]{opacity:.3;pointer-events:none}.jodit-ui-button .jodit-icon{height:14px;width:14px}.jodit-ui-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button_text-icons_true button{padding:0 8px}.jodit-ui-button_size_tiny{height:16px;min-width:16px}.jodit-ui-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button_size_xsmall{height:22px;min-width:22px}.jodit-ui-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button_size_small{height:28px;min-width:28px}.jodit-ui-button_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button_size_large{height:40px;min-width:40px}.jodit-ui-button_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button__icon{display:none}.jodit-ui-button__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-ui-button__text{display:none}.jodit-ui-button__text:not(:empty){-webkit-box-flex:1;-ms-flex-positive:1;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-ui-button_context_menu .jodit-ui-button__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-ui-button_context_menu .jodit-ui-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-ui-button__icon:not(:empty)+.jodit-ui-button__text:not(:empty){margin-left:8px}.jodit-ui-button__icon:empty+.jodit-ui-button__text:not(:empty){padding:0 8px}.jodit-ui-button:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-ui-button_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default [disabled]{opacity:.7}.jodit-ui-button_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary [disabled]{opacity:.7}.jodit-ui-button_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary [disabled]{opacity:.7}.jodit-ui-button_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success [disabled]{opacity:.7}.jodit-ui-button_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger [disabled]{opacity:.7}.jodit-ui-button_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-list{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-ui-list,.jodit-ui-list_mode_vertical .jodit-ui-group{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-ui-group{background-color:transparent;border:0}.jodit-ui-list_mode_vertical .jodit-toolbar-button{height:auto;min-height:38px}.jodit-ui-list_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:38px;width:100%}.jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-ui-separator{border-left:0;border-right:1px solid #dadada;cursor:default;margin:2px;padding:0}.jodit-ui-break{-ms-flex-preferred-size:100%;border-top:1px solid #dadada;flex-basis:100%;height:0!important;width:0}.jodit-ui-spacer{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-ui-group{-webkit-box-flex:0;-ms-flex-negative:0;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex:0 0 auto;flex:0 0 auto;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.jodit-ui-group_line_true{-webkit-box-pack:stretch;-ms-flex-pack:stretch;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:stretch}.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-left:0;border-right:1px solid #dadada;content:"";cursor:default;margin:2px;padding:0}.jodit-ui-group:last-child{border-bottom:0}.jodit-ui-button-group{margin-bottom:8px}.jodit-ui-button-group__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-button-group__options{-webkit-box-pack:start;-ms-flex-pack:start;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:flex-start}.jodit-ui-button-group .jodit-ui-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.jodit-ui-button-group .jodit-ui-button+.jodit-ui-button{border-bottom-left-radius:0;border-left:1px solid hsla(0,0%,86%,.4);border-top-left-radius:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:#dcdcdc;border-left:0;-webkit-box-shadow:inset 0 0 3px 0 #4c4c4c;box-shadow:inset 0 0 3px 0 #4c4c4c;color:#4c4c4c;outline:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled])+.jodit-ui-button{border:0}.jodit-ui-tooltip{background:#727171;background-clip:padding-box;border-radius:2px;color:#fff;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-size:11px;line-height:1.4;max-width:120px;opacity:0;padding:2px 4px;position:fixed;text-rendering:optimizeLegibility;-webkit-transition:opacity .2s ease 0s;-o-transition:opacity .2s ease 0s;transition:opacity .2s ease 0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;width:auto;z-index:30000006}@media (max-width:768px){.jodit-ui-tooltip{display:none}}.jodit-ui-tooltip.jodit-ui-tooltip_visible_true{opacity:1}.jodit-dialog{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:0;position:absolute;width:0;will-change:left,top,width,height}.jodit-dialog_moved_true{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-dialog *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-dialog .jodit_elfinder,.jodit-dialog .jodit_elfinder *{-webkit-box-sizing:initial;box-sizing:initial}.jodit-dialog__overlay{background-color:rgba(0,0,0,.5);display:none;height:100%;left:0;overflow:auto;position:fixed;text-align:center;top:0;white-space:nowrap;width:100%;z-index:20000003}.jodit-dialog_static_true .jodit-dialog__overlay{display:none}.jodit-dialog_active_true,.jodit-dialog_modal_true .jodit-dialog__overlay{display:block}.jodit-dialog__panel{-webkit-box-orient:vertical;-webkit-box-direction:normal;background-color:#fff;-webkit-box-shadow:0 8px 16px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);box-shadow:0 8px 16px rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-flow:column nowrap;flex-flow:column nowrap;left:0;max-height:100%;max-width:100%;min-height:100px;min-width:200px;position:fixed;text-align:left;top:0;white-space:normal;z-index:20000004}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__panel{height:100%!important;left:0!important;max-width:100%;top:0!important;width:100%!important}}.jodit-dialog_static_true{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:auto;position:static;width:auto}.jodit-dialog_static_true .jodit-dialog__panel{border:1px solid #dadada;-webkit-box-shadow:none;box-shadow:none;left:auto!important;position:relative;top:auto!important;width:100%!important}.jodit-dialog_theme_dark,.jodit-dialog_theme_dark .jodit-dialog__panel{background-color:#353535;color:#fff}.jodit-dialog__header{-webkit-box-pack:justify;-ms-flex-pack:justify;border-bottom:1px solid #dadada;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between;min-height:50px;text-align:left}.jodit-dialog__header-title,.jodit-dialog__header-toolbar{-webkit-box-align:center;-ms-flex-align:center;-ms-flex-negative:3;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 8px;vertical-align:top}@media (max-width:480px){.jodit-dialog__header-toolbar{padding-left:0}}.jodit-dialog__header-button{-ms-flex-preferred-size:48px;color:#222;flex-basis:48px;font-size:28px;height:48px;line-height:48px;text-align:center;text-decoration:none;-webkit-transition:background-color .2s ease 0s;-o-transition:background-color .2s ease 0s;transition:background-color .2s ease 0s}.jodit-dialog__header-button:hover{background-color:#ecebe9}.jodit-dialog__header .jodit_toolbar{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.jodit-dialog__header .jodit_toolbar>li.jodit-toolbar-button .jodit-input{padding-left:8px;width:auto}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__header{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-dialog_slim_true .jodit-dialog__header{min-height:10px}.jodit-dialog_slim_true .jodit-dialog__header-title,.jodit-dialog_slim_true .jodit-dialog__header-toolbar{padding:0 2px}.jodit-dialog_theme_dark .jodit-dialog__header{border-color:#4c4c4c}.jodit-dialog_fullsize_true .jodit-dialog__header{cursor:default}.jodit-dialog__content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:100px;overflow:auto}.jodit-dialog__content .jodit-form__group{margin-bottom:12px;padding:0 8px}.jodit-dialog__content .jodit-form__group:first-child{margin-top:8px}.jodit-dialog__content .jodit-form__group label+.jodit-grid,.jodit-dialog__content .jodit-form__group label+.jodit-input_group,.jodit-dialog__content .jodit-form__group label+.jodit-select,.jodit-dialog__content .jodit-form__group label+input{margin-top:4px}.jodit-dialog__content .jodit-form__group .jodit-input_group{border-collapse:separate;display:table;width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group>*{display:table-cell;height:34px;vertical-align:middle}.jodit-dialog__content .jodit-form__group .jodit-input_group>input{margin:0!important}.jodit-dialog__content .jodit-form__group .jodit-input_group>input:not([class*=col-]){width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons{font-size:0;vertical-align:middle;white-space:nowrap;width:1%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons>.jodit-button{border:1px solid #dadada;border-radius:0;height:34px;line-height:34px;margin-left:-1px}.jodit-dialog__footer{-webkit-box-pack:justify;-ms-flex-pack:justify;display:none;-ms-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:space-between;padding:8px}.jodit-dialog__footer button{margin-right:4px}.jodit-dialog__footer button:last-child{margin-right:0}.jodit-dialog__column{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-dialog__resizer{display:none;position:relative}.jodit-dialog__resizer svg{fill:#a5a5a5;bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:12px}.jodit-dialog_resizable_true .jodit-dialog__resizer{display:block}@media (max-width:480px){.jodit-dialog__resizer{display:none}}.jodit-dialog_prompt{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_prompt label{display:block;margin-bottom:4px}.jodit-dialog_alert{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_footer_true .jodit-dialog__footer{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit_fullsize .jodit-dialog__panel{bottom:0!important;height:100%!important;left:0!important;right:0!important;top:0!important;width:100%!important}.jodit_fullsize .jodit-dialog__panel .jodit-dialog__resizer{display:none}.jodit-toolbar__box:not(:empty){background-color:#fff;border-bottom:1px solid #dadada;border-radius:3px 3px 0 0;overflow:hidden}.jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after,.jodit-toolbar__box:not(:empty):not(:empty){background-color:#f9f9f9}.jodit-ui-messages{bottom:0;height:0;overflow:visible;position:absolute;right:0;width:0;z-index:3}.jodit-ui-message{background:#cfe2ff;border:1px solid #b6d4fe;border-radius:.375rem;bottom:0;color:#084298;cursor:pointer;display:block;font-size:1rem;opacity:0;padding:.5rem 1rem;position:absolute;right:4px;-webkit-transition:opacity .1s linear,bottom .3s linear,-webkit-transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,-webkit-transform .1s ease-out;-o-transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out,-webkit-transform .1s ease-out;white-space:pre}.jodit-ui-message_active_true{opacity:1}.jodit-ui-message:active{-webkit-transform:scale(.76);-ms-transform:scale(.76);transform:scale(.76)}.jodit-ui-message_variant_danger,.jodit-ui-message_variant_error{background:#f8d7da;border-color:#f5c2c7;color:#842029}.jodit-ui-message_variant_secondary{background:#e2e3e5;border-color:#d3d6d8;color:#41464b}.jodit-ui-message_variant_success{background:#d1e7dd;border-color:#badbcc;color:#0f5132}.jodit-ui-label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-input{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-ui-input__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-input__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-input__input_has-error_true{border-color:#ff3b3b}.jodit-ui-input__input:focus{outline:0}.jodit-ui-input_theme_dark .jodit-ui-input__input{background-color:#dadada}.jodit-ui-input_has-error_true .jodit-ui-input__input{border-color:#ff3b3b}.jodit-ui-input__error,.jodit-ui-input__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-input__error,.jodit-ui-input_has-error_true .jodit-ui-input__label{color:#ff3b3b}.jodit-ui-input__wrapper{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:stretch;-ms-flex-pack:stretch;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-input__wrapper{min-width:140px}}.jodit-ui-input_theme_dark .jodit-ui-input__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-input_focused_true .jodit-ui-input__wrapper{border-color:#1e88e5}.jodit-ui-input__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-input__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-input__icon:not(:empty)+.jodit-ui-input__input{padding-left:0}.jodit-ui-input__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-input__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-input__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-input_theme_dark .jodit-ui-input__clear svg,.jodit-ui-input_theme_dark .jodit-ui-input__icon svg{fill:#4c4c4c}.jodit-ui-block .jodit-ui-input{margin-bottom:0}.jodit-ui-select{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-ui-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-select__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-select__input_has-error_true{border-color:#ff3b3b}.jodit-ui-select__input:focus{outline:0}.jodit-ui-select_theme_dark .jodit-ui-select__input{background-color:#dadada}.jodit-ui-select_has-error_true .jodit-ui-select__input{border-color:#ff3b3b}.jodit-ui-select__error,.jodit-ui-select__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-select__error,.jodit-ui-select_has-error_true .jodit-ui-select__label{color:#ff3b3b}.jodit-ui-select__wrapper{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:stretch;-ms-flex-pack:stretch;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-select__wrapper{min-width:140px}}.jodit-ui-select_theme_dark .jodit-ui-select__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-select_focused_true .jodit-ui-select__wrapper{border-color:#1e88e5}.jodit-ui-select__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-select__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-select__icon:not(:empty)+.jodit-ui-select__input{padding-left:0}.jodit-ui-select__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-select__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-select__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-select_theme_dark .jodit-ui-select__clear svg,.jodit-ui-select_theme_dark .jodit-ui-select__icon svg{fill:#4c4c4c}.jodit-ui-select__input{background-image:url(data:image/svg+xml;base64,PHN2ZyBkYXRhLW5hbWU9IkxheWVyIDEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDQuOTUgMTAiPjxwYXRoIHN0eWxlPSJmaWxsOiNmZmYiIGQ9Ik0wIDBoNC45NXYxMEgweiIvPjxwYXRoIGQ9Im0xLjQxIDQuNjcgMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxem0yLjEzLjY2TDIuNDggNi44MiAxLjQxIDUuMzNoMi4xM3oiIHN0eWxlPSJmaWxsOiM0NDQiLz48L3N2Zz4=);background-position:98% 50%;background-repeat:no-repeat;padding-right:16px}.jodit-ui-select_size_tiny{margin-bottom:0}.jodit-ui-select_size_tiny .jodit-ui-select__input{height:17.77778px;line-height:17.77778px}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper{border:0}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper select{outline:0}.jodit-ui-select_width_auto{width:auto}.jodit-ui-select_width_auto .jodit-ui-select__wrapper{min-width:auto}.jodit-ui-text-area{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px;width:100%}.jodit-ui-text-area__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-text-area__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-text-area__input_has-error_true{border-color:#ff3b3b}.jodit-ui-text-area__input:focus{outline:0}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__input{background-color:#dadada}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__input{border-color:#ff3b3b}.jodit-ui-text-area__error,.jodit-ui-text-area__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:2px}.jodit-ui-text-area__error,.jodit-ui-text-area_has-error_true .jodit-ui-text-area__label{color:#ff3b3b}.jodit-ui-text-area__wrapper{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:stretch;-ms-flex-pack:stretch;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-text-area__wrapper{min-width:140px}}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-text-area_focused_true .jodit-ui-text-area__wrapper{border-color:#1e88e5}.jodit-ui-text-area__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-text-area__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-text-area__icon:not(:empty)+.jodit-ui-text-area__input{padding-left:0}.jodit-ui-text-area__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-text-area__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-text-area__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__clear svg,.jodit-ui-text-area_theme_dark .jodit-ui-text-area__icon svg{fill:#4c4c4c}.jodit-ui-text-area__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-ui-text-area__input{height:100%;min-height:60px}.jodit-ui-checkbox{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-webkit-box-pack:end;-ms-flex-pack:end;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;justify-content:flex-end;margin-bottom:8px}.jodit-ui-checkbox__input{margin-right:8px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper{display:inline-block;height:34px;margin-right:8px;position:relative;width:60px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper input{height:0;opacity:0;width:0}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider{background-color:#ccc;border-radius:34px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:26px;left:4px;position:absolute;-webkit-transition:.4s;-o-transition:.4s;transition:.4s;width:26px}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider{background-color:#2196f3}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_focused_true .jodit-ui-checkbox__switch-slider{-webkit-box-shadow:0 0 1px #2196f3;box-shadow:0 0 1px #2196f3}.jodit-ui-block .jodit-ui-checkbox{margin-bottom:0}.jodit-ui-file-input{overflow:hidden;position:relative}.jodit-ui-file-input__input{bottom:0;cursor:pointer;font-size:400px;margin:0 -8px 0 0;opacity:0;padding:0;position:absolute;right:0;top:0}.jodit-ui-block{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:stretch;-ms-flex-pack:stretch;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:stretch;margin-bottom:8px}.jodit-ui-block_width_full{width:100%}.jodit-ui-block_align_full{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.jodit-ui-block_align_right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.jodit-ui-block_padding_true{padding:8px}@-webkit-keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}@keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit-progress-bar{border-radius:1px;height:2px;left:0;opacity:.7;position:absolute;top:0;z-index:2147483647}.jodit-progress-bar div{background:#b91f1f;height:2px;position:relative;-webkit-transition:width .5s ease-out,opacity .5s linear;-o-transition:width .5s ease-out,opacity .5s linear;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit-progress-bar div:after,.jodit-progress-bar div:before{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;border-radius:100%;-webkit-box-shadow:1px 0 6px 1px #b91f1f;box-shadow:1px 0 6px 1px #b91f1f;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{clip:rect(-6px,90px,14px,-6px);right:-80px;width:180px}.jodit-progress-bar div:after{clip:rect(-6px,22px,14px,8px);right:0;width:20px}.jodit-toolbar-collection,.jodit-toolbar-editor-collection{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);background-image:repeating-linear-gradient(transparent,transparent 37px,#dadada 38px);position:relative}.jodit-toolbar-collection_mode_horizontal:after,.jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-collection_size_tiny.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px);background-image:repeating-linear-gradient(transparent,transparent 19px,#dadada 20px)}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px);background-image:repeating-linear-gradient(transparent,transparent 25px,#dadada 26px)}.jodit-toolbar-collection_size_small.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_small.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px);background-image:repeating-linear-gradient(transparent,transparent 31px,#dadada 32px)}.jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);background-image:repeating-linear-gradient(transparent,transparent 37px,#dadada 38px)}.jodit-toolbar-collection_size_large.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_large.jodit-toolbar-collection_mode_horizontal,.jodit-toolbar-editor-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px);background-image:repeating-linear-gradient(transparent,transparent 43px,#dadada 44px)}.jodit-toolbar-collection_mode_vertical .jodit-ui-group,.jodit-toolbar-editor-collection_mode_vertical .jodit-ui-group{-webkit-box-orient:vertical;-webkit-box-direction:normal;background-color:transparent;border:0;-ms-flex-direction:column;flex-direction:column}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button,.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:38px}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__button,.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:38px;width:100%}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-toolbar-collection .jodit-toolbar-button,.jodit-toolbar-collection .jodit-toolbar-content,.jodit-toolbar-editor-collection .jodit-toolbar-button,.jodit-toolbar-editor-collection .jodit-toolbar-content{margin:2px 1px;padding:0}.jodit-dialog .jodit-toolbar-collection_mode_horizontal,.jodit-dialog .jodit-toolbar-editor-collection_mode_horizontal{background-image:none}.jodit-toolbar-button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:1px solid transparent;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;height:34px;justify-content:center;min-width:34px;overflow:hidden}.jodit-toolbar-button__icon{display:none}.jodit-toolbar-button__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-button__text{display:none}.jodit-toolbar-button__text:not(:empty){-webkit-box-flex:1;-ms-flex-positive:1;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-toolbar-button__icon:not(:empty)+.jodit-toolbar-button__text:not(:empty){margin-left:8px}.jodit-toolbar-button__icon:empty+.jodit-toolbar-button__text:not(:empty){padding:0}.jodit-toolbar-button .jodit-icon{height:14px;width:14px}.jodit-toolbar-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-button_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_tiny{height:16px;min-width:16px}.jodit-toolbar-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_small{height:28px;min-width:28px}.jodit-toolbar-button_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-button_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_large{height:40px;min-width:40px}.jodit-toolbar-button_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-button_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-button__button{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;justify-content:center;outline:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-button__button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:active:not([disabled]),.jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-button__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border-radius:0 3px 3px 0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;justify-content:center;opacity:.4;width:14px}.jodit-toolbar-button__trigger:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:active:not([disabled]),.jodit-toolbar-button__trigger[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-button__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger svg{width:10px}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger{width:8px}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg{width:4px}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger{width:10px}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg{width:6px}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger{width:12px}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg{width:8px}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger{width:16px}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg{width:12px}.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button{border-radius:3px 0 0 3px}.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:#dadada}.jodit-toolbar-button_stroke_false svg{stroke:none}.jodit-toolbar-content{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;height:34px;justify-content:center;min-width:34px;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-content:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:hover:not([disabled]){background-color:#dcdcdc}.jodit-toolbar-content:active:not([disabled]),.jodit-toolbar-content[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-content[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-content[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-content .jodit-icon{height:14px;width:14px}.jodit-toolbar-content button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-content_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_tiny{height:16px;min-width:16px}.jodit-toolbar-content_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-content_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-content_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-content_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-content_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-content_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_small{height:28px;min-width:28px}.jodit-toolbar-content_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-content_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-content_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_large{height:40px;min-width:40px}.jodit-toolbar-content_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-content_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-content_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-content__icon{display:none}.jodit-toolbar-content__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-content__text{display:none}.jodit-toolbar-content__text:not(:empty){-webkit-box-flex:1;-ms-flex-positive:1;-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;justify-content:center}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:-8px}.jodit-toolbar-content__icon:not(:empty)+.jodit-toolbar-content__text:not(:empty){margin-left:8px}.jodit-toolbar-content__icon:empty+.jodit-toolbar-content__text:not(:empty){padding:0 8px}.jodit-toolbar-content:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-toolbar-content_variant_default{background-color:#e3e3e3;color:#212529}.jodit-toolbar-content_variant_default svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default [disabled]{opacity:.7}.jodit-toolbar-content_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_primary{background-color:#007bff;color:#fff}.jodit-toolbar-content_variant_primary svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary [disabled]{opacity:.7}.jodit-toolbar-content_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-toolbar-content_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-toolbar-content_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-toolbar-content_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary [disabled]{opacity:.7}.jodit-toolbar-content_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_success{background-color:#28a745;color:#fff}.jodit-toolbar-content_variant_success svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success [disabled]{opacity:.7}.jodit-toolbar-content_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-toolbar-content_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-toolbar-content_variant_danger{background-color:#dc3545;color:#fff}.jodit-toolbar-content_variant_danger svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger [disabled]{opacity:.7}.jodit-toolbar-content_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-toolbar-content_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-toolbar-content:hover:not([disabled]){background-color:transparent;opacity:1;outline:0}.jodit-filebrowser{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;height:100%}.jodit-filebrowser_no-files_true{padding:8px}@media (max-width:480px){.jodit-filebrowser{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-flow:column-reverse;flex-flow:column-reverse}}.jodit-dialog .jodit-dialog__header-title.jodit-filebrowser__title-box{padding-left:8px}.jodit-dialog .jodit-dialog__header-title.jodit-filebrowser__title-box,.jodit-filebrowser-preview{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-filebrowser-preview{-webkit-box-pack:center;-ms-flex-pack:center;height:100%;justify-content:center;margin:auto;max-height:100%;max-width:Min(100%,1000px);min-height:Min(100%,500px);min-width:400px;position:relative;text-align:center}@media (max-width:768px){.jodit-filebrowser-preview{height:100%;max-height:100%;max-width:100%;min-height:auto;min-width:auto}}.jodit-filebrowser-preview__box{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-flex:1;-ms-flex-positive:1;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;flex-grow:1;justify-content:center}.jodit-filebrowser-preview__navigation{cursor:pointer;height:100%;left:0;position:absolute;top:0}.jodit-filebrowser-preview__navigation_arrow_next{left:auto;right:0}.jodit-filebrowser-preview__navigation svg{fill:#9e9ba7;height:45px;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:fill .3s linear;-o-transition:fill .3s linear;transition:fill .3s linear;width:45px}.jodit-filebrowser-preview__navigation:hover svg{fill:#000}.jodit-filebrowser-preview img{max-height:100%;max-width:100%}.jodit-image-editor{height:100%;overflow:hidden;padding:8px;width:100%}@media (max-width:768px){.jodit-image-editor{height:auto}}.jodit-image-editor>div,.jodit-image-editor>div>div{height:100%}@media (max-width:768px){.jodit-image-editor>div,.jodit-image-editor>div>div{height:auto;min-height:200px}}.jodit-image-editor *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-image-editor .jodit-image-editor__slider-title{background-color:#f9f9f9;border-bottom:1px solid hsla(0,0%,62%,.31);color:#333;cursor:pointer;font-weight:700;line-height:1em;padding:.8em 1em;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-shadow:#f3f3f3 0 1px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.jodit-image-editor .jodit-image-editor__slider-title svg{display:inline-block;margin-right:8px;vertical-align:middle;width:16px}.jodit-image-editor .jodit-image-editor__slider-content{display:none}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title svg{fill:#fff}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-content{display:block}.jodit-image-editor__area{background-color:#eee;background-image:-o-linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada),-o-linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada);background-image:linear-gradient(45deg,#dadada 25%,transparent 0,transparent 75%,#dadada 0,#dadada),linear-gradient(45deg,#dadada 25%,transparent 0,transparent 75%,#dadada 0,#dadada);background-position:0 0,15px 15px;background-size:30px 30px;display:none;height:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.jodit-image-editor__area.jodit-image-editor_active{display:block}.jodit-image-editor__area .jodit-image-editor__box{height:100%;overflow:hidden;pointer-events:none;position:relative;z-index:1}.jodit-image-editor__area .jodit-image-editor__box img{max-height:100%;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-image-editor__area .jodit-image-editor__croper,.jodit-image-editor__area .jodit-image-editor__resizer{background-repeat:no-repeat;border:1px solid #fff;-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:8px;width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright{background-color:#8c7878;border:1px solid #383838;border-radius:50%;bottom:-8px;-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:-8px;width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright:active,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit-image-editor__area.jodit-image-editor__area_crop{background:#eee;height:100%;line-height:100%;position:relative;text-align:center}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box{height:100%;line-height:100%;overflow:visible;pointer-events:all;text-align:left}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box img{height:100%;max-height:100%;max-width:100%;width:100%}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box:after{background:hsla(0,0%,100%,.3);bottom:0;content:"";left:0;margin:auto;position:absolute;right:0;top:0;z-index:1}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper{cursor:move;pointer-events:all}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper i.jodit-image-editor__sizes{background:rgba(0,0,0,.2);border-radius:.4em;bottom:-30px;color:#fff;display:block;font-size:12px;left:100%;padding:9px 6px;position:absolute;text-align:center;text-shadow:none;white-space:pre}.jodit-image-editor__area.jodit-image-editor__area_crop.jodit-image-editor_active{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center}.jodit-filebrowser-files{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-filebrowser-files .jodit-button{border-radius:0}.jodit-filebrowser-files_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-filebrowser-files_loading_true:after{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:-24px;margin-top:-24px;opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-filebrowser-files_active_true{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-filebrowser-files::-webkit-scrollbar{width:4px}.jodit-filebrowser-files::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-files::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-filebrowser-files_active_true{-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;padding:4px;width:100%}.jodit-filebrowser-files__item{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0;height:150px;justify-content:center;margin:4px;overflow:hidden;position:relative;text-align:center;-webkit-transition:border .1s linear,bottom .1s linear;-o-transition:border .1s linear,bottom .1s linear;transition:border .1s linear,bottom .1s linear;width:150px}@media (max-width:480px){.jodit-filebrowser-files__item{width:calc(50% - 8px)}}.jodit-filebrowser-files__item img{max-width:100%}.jodit-filebrowser-files__item:hover{border-color:#433b5c}.jodit-filebrowser-files__item_active_true{background-color:#b5b5b5;border-color:#1e88e5}.jodit-filebrowser-files__item_active_true .jodit-filebrowser-files__item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit-filebrowser-files__item-info{background-color:#e9e9e9;bottom:0;color:#333;font-size:14px;left:0;line-height:16px;opacity:.85;overflow:visible;padding:.3em .6em;position:absolute;right:0;text-align:left;text-shadow:#eee 0 1px 0;-webkit-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;white-space:normal}.jodit-filebrowser-files__item-info>span{display:block;font-size:.75em;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.jodit-filebrowser-files__item-info>span.jodit-filebrowser-files__item-info-filename{font-size:.9em;font-weight:700}.jodit-filebrowser-files__item:hover:not(.jodit-filebrowser-files__item_active_true) .jodit-filebrowser-files__item-info{bottom:-100px}.jodit-filebrowser-files_view_list{scroll-behavior:smooth}.jodit-filebrowser-files_view_list a{border-width:0 0 1px;display:block;height:26px;line-height:26px;margin:0;text-align:left;white-space:nowrap;width:100%}.jodit-filebrowser-files_view_list a img{display:inline-block;margin-left:4px;max-width:16px;min-width:16px;vertical-align:middle}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info{background-color:transparent;display:inline-block;font-size:0;height:100%;line-height:inherit;margin-left:4px;padding:0;position:static;vertical-align:middle;width:calc(100% - 20px)}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info>span{display:inline-block;font-size:12px;height:100%}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filename{width:50%}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filechanged,.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filesize{width:25%}.jodit-filebrowser-files_view_list a:hover{background-color:#433b5c}.jodit-filebrowser-files_view_list a:hover .jodit-filebrowser-files__item-info{color:#fff;text-shadow:none}.jodit-filebrowser-files_view_list a:before{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit-filebrowser-tree{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-filebrowser-tree .jodit-button{border-radius:0}.jodit-filebrowser-tree_active_true{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-filebrowser-tree_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-filebrowser-tree_loading_true:after{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:-24px;margin-top:-24px;opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-filebrowser-tree::-webkit-scrollbar{width:4px}.jodit-filebrowser-tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-filebrowser-tree_active_true{-webkit-box-orient:vertical;-webkit-box-direction:normal;background-color:#3f3f3f;-ms-flex-direction:column;flex-direction:column;max-width:290px;min-width:200px;overflow-y:auto;width:31%;z-index:2}@media (max-width:480px){.jodit-filebrowser-tree_active_true{height:100px;max-width:100%;width:auto}}.jodit-filebrowser-tree_active_true::-webkit-scrollbar{width:4px}.jodit-filebrowser-tree_active_true::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-tree_active_true::-webkit-scrollbar-thumb{background-color:hsla(0,0%,50%,.5);outline:1px solid #708090}.jodit-filebrowser-tree__item{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;border-bottom:1px solid #474747;color:#b1b1b1;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between;min-height:38px;padding:4px 8px;position:relative;text-decoration:none;-webkit-transition:background-color .2s ease 0s;-o-transition:background-color .2s ease 0s;transition:background-color .2s ease 0s;word-break:break-all}.jodit-filebrowser-tree__item-title{-webkit-box-flex:1;color:#b1b1b1;-ms-flex:1;flex:1}.jodit-filebrowser-tree__item .jodit-icon_folder{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:16px;justify-content:center;margin-left:4px;opacity:.3;width:16px}.jodit-filebrowser-tree__item .jodit-icon_folder svg{fill:#b1b1b1!important;stroke:#b1b1b1!important;height:12px;width:12px}.jodit-filebrowser-tree__item .jodit-icon_folder:hover{background:#696969}.jodit-filebrowser-tree__item:hover{background-color:#ecebe9}.jodit-filebrowser-tree__item:hover-title{color:#222}.jodit-filebrowser-tree__item:hover i.jodit-icon_folder{opacity:.6}.jodit-filebrowser-tree__source-title{background:#5a5a5a;border-bottom:1px solid #484848;color:#969696;display:block;font-size:12px;padding:2px 4px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;word-break:break-all}a+.jodit-filebrowser-tree__source-title{margin-top:8px}.jodit-status-bar{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:start;-ms-flex-pack:start;align-items:center;background-color:#f9f9f9;border-radius:0 0 3px 3px;color:rgba(0,0,0,.75);display:-webkit-box;display:-ms-flexbox;display:flex;font-size:11px;height:20px;justify-content:flex-start;overflow:hidden;padding:0 4px;text-transform:uppercase}.jodit-status-bar_resize-handle_true{padding-right:14px}.jodit-status-bar:before{-webkit-box-flex:1;-webkit-box-ordinal-group:2;-ms-flex-order:1;content:"";-ms-flex:auto;flex:auto;order:1}.jodit-status-bar .jodit-status-bar__item{-webkit-box-ordinal-group:1;-ms-flex-order:0;line-height:1.57142857em;margin:0 8px 0 0;order:0;padding:0}.jodit-status-bar .jodit-status-bar__item,.jodit-status-bar .jodit-status-bar__item>span{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item.jodit-status-bar__item-right{-webkit-box-ordinal-group:3;-ms-flex-order:2;margin:0 0 0 8px;order:2}.jodit-status-bar .jodit-status-bar__item a{border-radius:3px;cursor:default;text-decoration:none}.jodit-status-bar .jodit-status-bar__item a:hover{background-color:#dadada;text-decoration:none}.jodit-status-bar a.jodit-status-bar-link{cursor:pointer}.jodit-status-bar a.jodit-status-bar-link,.jodit-status-bar a.jodit-status-bar-link:hover,.jodit-status-bar a.jodit-status-bar-link:visited{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:hover{text-decoration:underline}.jodit-workplace+.jodit-status-bar:not(:empty){border-top:1px solid #dadada}.jodit_disabled .jodit-status-bar{opacity:.4}.jodit-drag-and-drop__file-box,.jodit_uploadfile_button{border:1px dashed #dadada;margin:8px 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit-drag-and-drop__file-box:hover,.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit-drag-and-drop__file-box input,.jodit_uploadfile_button input{bottom:0;cursor:pointer;font-size:400px;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0}@media (max-width:768px){.jodit-drag-and-drop__file-box{max-width:100%;min-width:180px;width:auto}}.jodit-about{padding:20px}.jodit-about a{color:#459ce7;text-decoration:none}.jodit-about a:focus,.jodit-about a:hover{color:#23527c;outline:0;text-decoration:underline}.jodit-about div{margin-bottom:4px}.jodit-add-new-line{display:block;height:1px;outline:none;position:fixed;top:0;z-index:1}.jodit-add-new-line,.jodit-add-new-line *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-add-new-line:after{background-color:#6b6b6b;content:"";display:block;height:1px;width:100%}.jodit-add-new-line span{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background:hsla(40,7%,92%,.3);border:1px solid #6b6b6b;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:30px;justify-content:center;left:calc(100% - 30px);position:absolute;width:30px}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line_after span{bottom:0}.jodit-add-new-line svg{fill:#6b6b6b;width:16px}.jodit-source__mode .jodit-add-new-line{display:none!important}.jodit-color-picker{margin:0;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-color-picker__group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:4px;max-width:240px;white-space:normal}.jodit-color-picker__color-item{border:1px solid transparent;display:block;height:24px;text-align:center;text-decoration:none;vertical-align:middle;width:24px}.jodit-color-picker__color-item:hover{border-color:#000}.jodit-color-picker__color-item:active,.jodit-color-picker__color-item_active_true{border:2px solid #1e88e5}.jodit-color-picker__native svg{display:inline-block;height:16px;margin-right:4px;width:16px}.jodit-color-picker__native input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:18px;padding:0;width:18px}.jodit-color-picker__native input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit-color-picker__native input input[type=color]::-webkit-color-swatch{border:none}.jodit-tabs{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px}.jodit-tabs .jodit-tabs__buttons{-webkit-box-pack:center;-ms-flex-pack:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;line-height:18px;margin-bottom:4px;margin-top:4px}.jodit-tabs .jodit-tabs__buttons>*{cursor:pointer;margin-left:4px}.jodit-tabs .jodit-tabs__buttons>:only-of-type{width:100%}.jodit-tabs .jodit-tabs__buttons>:first-child{margin-left:0}@media (max-width:480px){.jodit-tabs .jodit-tabs__buttons{display:block}.jodit-tabs .jodit-tabs__buttons>*{margin-left:0;width:100%}}.jodit-tabs__button{min-width:80px}.jodit-tabs__button_columns_3{width:33.33333%}.jodit-tabs__button_columns_2{width:50%}.jodit-tabs .jodit-tabs__wrapper .jodit-tab{display:none}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_active{display:block}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_empty{min-height:100px;min-width:220px}.jodit_fullsize-box_true{overflow:visible!important;position:static!important;z-index:100000!important}body.jodit_fullsize-box_true,html.jodit_fullsize-box_true{height:0!important;overflow:hidden!important;width:0!important}html.jodit_fullsize-box_true{position:fixed!important}.jodit_fullsize{bottom:0;left:0;max-width:none!important;position:absolute;right:0;top:0;z-index:100000}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit__area,.jodit_fullsize .jodit_editor{height:100%}.jodit-properties__lock>svg,.jodit-properties__unlock>svg{fill:#222;display:inline-block;font-size:8px;font-style:normal;height:14px;line-height:14px;overflow:hidden;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;vertical-align:middle;width:14px}.jodit-properties .jodit-properties_view_box{padding:8px}.jodit-properties .jodit-properties_view_box .jodit-properties_image_view{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#f6f6f6;display:-webkit-box;display:-ms-flexbox;display:flex;height:150px;justify-content:center;margin:0 0 8px;padding:0}.jodit-properties .jodit-properties_view_box .jodit-properties_image_view img{max-height:100%;max-width:100%}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;align-items:center;-ms-flex-direction:row;flex-direction:row;margin:0!important;min-width:auto;padding:0!important}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group a{cursor:pointer;display:inline-block}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group .jodit-input{width:calc(50% - 8px)!important}.jodit-popup-inline__container{min-width:700px;z-index:1300}.jodit-paste-storage{max-width:600px;padding:8px}@media (max-width:768px){.jodit-paste-storage{max-width:100%}}.jodit-paste-storage>div{border:1px solid #dadada;max-height:300px;max-width:100%}.jodit-paste-storage>div:first-child{margin-bottom:8px}.jodit-paste-storage>div:first-child a{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#4c4c4c;display:block;margin:0;max-width:100%;outline:none;overflow:hidden;padding:4px;text-decoration:none;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:pre}.jodit-paste-storage>div:first-child a.jodit_active{background-color:#575757;color:#fff}.jodit-paste-storage>div:first-child a:focus{outline:none}.jodit-paste-storage>div:last-child{overflow:auto;padding:8px}.jodit-paste-storage>div:last-child li,.jodit-paste-storage>div:last-child ul{margin:0}.jodit-placeholder{color:#a5a5a5;display:block;left:0;padding:8px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;width:100%;z-index:1}.jodit__preview-box table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit__preview-box table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit__preview-box table tr td,.jodit__preview-box table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-table-resizer{cursor:col-resize;margin-left:-4px;padding-left:4px;padding-right:4px;position:absolute;z-index:3}.jodit-table-resizer:after{border:0;content:"";display:block;height:100%;width:0}.jodit-table-resizer_moved{background-color:#b5d6fd;z-index:2}.jodit-table-resizer_moved:after{border-right:1px solid moved}[data-jodit_iframe_wrapper]{display:block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-jodit_iframe_wrapper] iframe{position:relative}[data-jodit_iframe_wrapper]:after{background:transparent;bottom:0;content:"";cursor:pointer;display:block;left:0;position:absolute;right:0;top:0;z-index:1}[data-jodit_iframe_wrapper][data-jodit-wrapper_active=true] iframe{z-index:2}.jodit_lock [data-jodit-wrapper_active=true] iframe{z-index:1}.jodit-resizer{font-size:0;height:100px;left:0;outline:3px solid #98c1f1;pointer-events:none;position:absolute;top:0;width:100px}.jodit-resizer,.jodit-resizer *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-resizer>span{background-color:#a5a5a5;color:#fff;display:inline-block;font-size:12px;height:24px;left:50%;line-height:24px;margin-left:-35px;margin-top:-12px;opacity:0;overflow:visible;position:absolute;text-align:center;top:50%;-webkit-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear;width:70px}.jodit-resizer>div{background-color:#5ba4f3;display:inline-block;height:10px;pointer-events:all;position:absolute;width:10px;z-index:4}.jodit-resizer>div:hover{background-color:#537ebb}.jodit-resizer>div:first-child{cursor:nwse-resize;left:-5px;top:-5px}.jodit-resizer>div:nth-child(2){cursor:nesw-resize;right:-5px;top:-5px}.jodit-resizer>div:nth-child(3){bottom:-5px;cursor:nwse-resize;right:-5px}.jodit-resizer>div:nth-child(4){bottom:-5px;cursor:nesw-resize;left:-5px}.jodit-ui-search{height:0;position:absolute;right:0;top:0;width:0}.jodit-ui-search_sticky_true{position:fixed}.jodit-ui-search__box{background-color:#f9f9f9;border:solid #dadada;border-width:0 0 1px 1px;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100vw;padding:4px;position:absolute;right:0;width:320px}.jodit-ui-search__box input{background-color:transparent;border:0;height:100%;margin:0;outline:none;padding:0 8px;width:100%}.jodit-ui-search__box input[data-ref=replace]{display:none}.jodit-ui-search__box input:not(:focus)+input:not(:focus){border-top:1px solid #dadada}.jodit-ui-search__buttons,.jodit-ui-search__counts,.jodit-ui-search__inputs{height:30px}.jodit-ui-search__inputs{padding-right:4px;width:60%}.jodit-ui-search__counts{border-left:1px solid #dadada;color:#dadada;width:15%}.jodit-ui-search__buttons,.jodit-ui-search__counts{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center}.jodit-ui-search__buttons{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:0}.jodit-ui-search__buttons button{background-color:transparent;border:1px solid transparent;height:100%;margin-right:1%;width:32%}.jodit-ui-search__buttons button[data-ref=replace-btn]{border:1px solid #dadada;display:none;margin-top:2px;width:100%}.jodit-ui-search__buttons button:hover{background-color:#ecebe9}.jodit-ui-search__buttons button:focus{border:1px solid rgba(181,214,253,.995)}.jodit-ui-search__buttons button:active{border:1px solid #b5d6fd;-webkit-transform:scale(.95);-ms-transform:scale(.95);transform:scale(.95)}.jodit-ui-search_empty-query_true [data-ref=next],.jodit-ui-search_empty-query_true [data-ref=prev]{opacity:.5}.jodit-ui-search_replace_true .jodit-ui-search__counts,.jodit-ui-search_replace_true .jodit-ui-search__inputs{height:60px}.jodit-ui-search_replace_true .jodit-ui-search__counts input,.jodit-ui-search_replace_true .jodit-ui-search__inputs input{height:50%;-webkit-transition:background-color .1s linear;-o-transition:background-color .1s linear;transition:background-color .1s linear}.jodit-ui-search_replace_true .jodit-ui-search__counts input:focus,.jodit-ui-search_replace_true .jodit-ui-search__inputs input:focus{-webkit-box-shadow:inset 0 0 3px 0 #dadada;box-shadow:inset 0 0 3px 0 #dadada}.jodit-ui-search_replace_true .jodit-ui-search__counts input[data-ref=replace],.jodit-ui-search_replace_true .jodit-ui-search__inputs input[data-ref=replace]{display:block}.jodit-ui-search_replace_true .jodit-ui-search__buttons{-ms-flex-wrap:wrap;flex-wrap:wrap}.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref=replace-btn]{display:block}[jd-tmp-selection]{background-color:#7fffd4}.jodit-container:not(.jodit_inline){min-height:100px}.jodit-container:not(.jodit_inline) .jodit-workplace{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:auto;min-height:50px;overflow:hidden}.jodit-container:not(.jodit_inline) .jodit-editor__resize{position:relative}.jodit-container:not(.jodit_inline) .jodit-editor__resize svg{fill:#a5a5a5;bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:12px}.jodit-source{-webkit-box-flex:1;background-color:#323232;display:none;-ms-flex:auto;flex:auto;overflow:auto;position:relative}.jodit-source,.jodit-source .jodit-source__mirror-fake{min-height:100%}.jodit-source *{font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace}.jodit-container.jodit-source__mode .jodit-wysiwyg,.jodit-container.jodit-source__mode .jodit-wysiwyg_iframe{display:none!important}.jodit-container.jodit-source__mode .jodit-source{display:block!important}.jodit-container.jodit_split_mode .jodit-workplace{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.jodit-container.jodit_split_mode .jodit-source,.jodit-container.jodit_split_mode .jodit-wysiwyg,.jodit-container.jodit_split_mode .jodit-wysiwyg_iframe{-webkit-box-flex:1;display:block!important;-ms-flex:1;flex:1;width:50%}.jodit-source__mirror{background:#323232;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#f0f0f0;height:100%;line-height:1.5;font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;margin:0;min-height:100%;outline:none;overflow:auto;padding:8px;resize:none;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;white-space:pre-wrap;width:100%;z-index:2}.jodit-source__mirror::-moz-selection{background:#bdbdbd}.jodit-source__mirror::selection{background:#bdbdbd}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit-toolbar__box{border-bottom:1px solid #dadada;left:auto;position:fixed;position:sticky;top:0;z-index:3}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit-symbols{padding:8px;width:460px}.jodit-symbols__container{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-symbols__container_table{width:88%}.jodit-symbols__container_preview{width:12%}.jodit-symbols__preview{border:1px solid #dadada;font-size:34px;padding:20px 0;text-align:center}.jodit-symbols__table{border:0;border-spacing:0;table-layout:fixed}.jodit-symbols__table td{padding:0}.jodit-symbols__table td a{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#4c4c4c;cursor:pointer;display:inline-block;font-size:16px;height:21.6px;line-height:21.6px;text-align:center;text-decoration:none;vertical-align:top;width:21.6px}.jodit-symbols__table td a:focus,.jodit-symbols__table td a:hover{outline:2px solid #dadada}.jodit-context table,.jodit-wysiwyg table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit-context table tr,.jodit-wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-context table tr td,.jodit-context table tr th,.jodit-wysiwyg table tr td,.jodit-wysiwyg table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-form__inserter .jodit-form__table-creator-box{display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-width:768px){.jodit-form__inserter .jodit-form__table-creator-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container{font-size:0;margin:0;min-width:180px;padding:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span{border:1px solid #dadada;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:18px;margin-bottom:2px;margin-left:2px;vertical-align:top;width:18px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span:first-child{margin-left:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span.jodit_hovered{background:#7a450f;border-color:#7a450f}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options{font-size:14px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label{padding-top:0;text-align:left}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input{margin-right:8px}.jodit-form__inserter label{font-size:14px;margin:0;padding:8px;text-align:center}.jodit-xpath{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-left:-4px}.jodit-xpath,.jodit-xpath__item{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-xpath__item{height:11px;line-height:10px}.jodit-xpath__item a{color:#4c4c4c;font-size:11px;margin-left:2px;outline:0;padding:0 3px}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal,.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal,.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal,.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#6b6b6b 38px);background-image:repeating-linear-gradient(transparent,transparent 37px,#6b6b6b 38px)}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal:after,.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after,.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal:after,.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty),.jodit_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after,.jodit_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after,.jodit_theme_dark .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container,.jodit_theme_dark.jodit-container{background-color:#575757;border-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container.jodit_disabled,.jodit_theme_dark.jodit-container.jodit_disabled{background-color:#575757}.jodit-dialog_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace,.jodit_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit-dialog_theme_dark .jodit-popup__content,.jodit_theme_dark .jodit-popup__content{background:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__text,.jodit-dialog_theme_dark .jodit-ui-button__text,.jodit_theme_dark .jodit-toolbar-button__text,.jodit_theme_dark .jodit-ui-button__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar-button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-button__button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button__button:hover:not([disabled]),.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button__button:hover:not([disabled]),.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button__button:hover:not([disabled]),.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-status-bar,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty),.jodit_theme_dark .jodit-status-bar,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-status-bar,.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a,.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty),.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover,.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited,.jodit_theme_dark .jodit-status-bar,.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a,.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item span,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover,.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty),.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover,.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty),.jodit_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit-dialog_theme_dark .jodit-icon,.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-toolbar-button__trigger,.jodit-dialog_theme_dark .jodit__upload-button svg,.jodit_theme_dark .jodit-icon,.jodit_theme_dark .jodit-toolbar-button .jodit-toolbar-button__trigger,.jodit_theme_dark .jodit__upload-button svg{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-icon-close,.jodit_theme_dark .jodit-icon-close{stroke:silver}.jodit-dialog_theme_dark .jodit-wysiwyg,.jodit-dialog_theme_dark .jodit-wysiwyg_iframe,.jodit_theme_dark .jodit-wysiwyg,.jodit_theme_dark .jodit-wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form input[type=text],.jodit-dialog_theme_dark .jodit-form input[type=url],.jodit-dialog_theme_dark .jodit-form textarea,.jodit_theme_dark .jodit-form input[type=text],.jodit_theme_dark .jodit-form input[type=url],.jodit_theme_dark .jodit-form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form button,.jodit_theme_dark .jodit-form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit-dialog_theme_dark .jodit-placeholder,.jodit_theme_dark .jodit-placeholder{color:hsla(0,5%,81%,.8)}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box,.jodit-dialog_theme_dark .jodit_uploadfile_button,.jodit_theme_dark .jodit-drag-and-drop__file-box,.jodit_theme_dark .jodit_uploadfile_button{color:#d1cccc}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box:hover,.jodit-dialog_theme_dark .jodit_uploadfile_button:hover,.jodit_theme_dark .jodit-drag-and-drop__file-box:hover,.jodit_theme_dark .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit-dialog_theme_dark .jodit-add-new-line:before,.jodit_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span,.jodit_theme_dark .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span svg,.jodit_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit-dialog_theme_dark .jodit-resizer>i,.jodit_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit-dialog_theme_dark .jodit-input,.jodit-dialog_theme_dark .jodit-select,.jodit_theme_dark .jodit-input,.jodit_theme_dark .jodit-select{background-color:#787878;border-color:#444;color:#444}.jodit-dialog_theme_dark.jodit-dialog,.jodit_theme_dark.jodit-dialog{background-color:#575757}.jodit-dialog_theme_dark.jodit-dialog .jodit-dialog__header,.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item,.jodit_theme_dark.jodit-dialog .jodit-dialog__header,.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:#444}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info,.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:#d1cccc}',"",{version:3,sources:["webpack://./node_modules/jodit/build/jodit.min.css"],names:[],mappings:"AAAA;;;;;;EAME,CACD,eAAe,SAAS,CAAC,+DAAgE,kBAAkB,CAAC,aAAa,CAAC,qDAAqD,kBAAkB,CAAC,aAAa,CAAC,mDAAmD,QAAQ,CAAC,SAAS,CAAC,eAAe,CAAC,WAAW,CAAC,iBAAiB,CAAC,uDAAuD,cAAc,CAAC,iBAAiB,CAAC,+DAA+D,iBAAiB,CAAC,iEAAiE,iBAAiB,CAAC,SAAS,CAAC,sEAAsE,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,YAAY,aAAa,CAAC,mHAAuH,CAAC,cAAc,CAAC,wBAAwB,oBAAoB,CAAC,oDAAoD,CAAC,4CAA4C,CAAC,yBAAyB,YAAY,eAAe,CAAC,CAAC,mBAAmB,kBAAkB,CAAC,WAAW,CAAC,aAAa,CAAC,cAAc,CAAC,cAAc,CAAC,WAAW,CAAC,aAAa,CAAC,iBAAiB,CAAC,cAAc,CAAC,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,yCAAyC,CAAC,oCAAoC,CAAC,iCAAiC,CAAC,yBAAyB,wBAAwB,CAAC,aAAa,CAAC,0BAA0B,kBAAkB,CAAC,aAAa,CAAC,kBAAkB,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,6BAA6B,eAAe,CAAC,gCAAgC,uBAAuB,CAAC,oBAAoB,CAAC,sBAAsB,CAA8xB,gEAAuB,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,mHAAuH,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,aAAa,CAAC,UAAU,CAA4I,8FAAiC,wBAAwB,CAAC,aAAa,CAAkH,6GAAsC,oBAAoB,CAAC,0BAA0B,oBAAoB,CAAC,SAAS,CAAC,gBAAgB,QAAQ,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAwB,CAAC,YAAY,CAAC,SAAS,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,cAAc,sTAA8X,CAAC,2BAA2B,CAAC,2BAA2B,CAAC,kBAAyB,CAAC,gBAAgB,WAAW,CAAoC,mCAAgB,eAAe,CAAC,mBAAwE,2BAA2B,CAAC,4BAA4B,CAA7G,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,yBAAyB,CAAC,qBAAoB,CAAqB,iBAApB,CAAsC,yBAAyB,iBAAiB,CAAC,cAAc,wBAAwB,CAAC,qBAAqB,CAAqM,uBAAuB,CAAC,oBAAoB,CAAhP,kBAAkB,CAAC,wBAAwB,CAAC,QAAQ,CAAC,oBAAoB,CAAC,aAAa,CAAC,cAAc,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,WAAkB,CAA8C,sBAAsB,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,UAAU,CAAC,kBAAkB,oBAAoB,CAAC,WAAW,CAAC,UAAU,CAAC,uBAAuB,eAAuB,CAAC,yCAAyC,SAAS,CAAC,uBAAuB,UAAU,CAAC,eAA0G,wBAAwB,CAAC,qBAAqB,CAAzI,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,oBAAoB,CAAC,gBAAgB,CAAgD,6BAA6B,CAAC,iBAAiB,CAAC,wGAAwG,oBAAoB,CAAC,WAAW,CAAC,qBAAqB,CAAC,UAAU,CAAC,gBAAgB,oBAAoB,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,sBAAsB,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,wCAAwC,wBAAwB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,cAAc,CAAC,+CAA+C,qBAAqB,CAAC,iBAAiB,CAAC,UAAU,CAAC,UAAU,CAAC,WAAyB,CAAC,QAAQ,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,cAAc,CAAC,UAAwB,CAAC,sCAAsC,wBAAwB,CAAC,6CAA6C,kCAAqE,CAAC,8BAAiE,CAAC,0BAA6D,CAAC,oCAAoC,kCAAkC,CAAC,0BAA0B,CAAC,oBAAoB,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,0BAA0B,YAAY,CAAC,2BAAgF,kBAAkB,CAAmB,uBAAuB,CAAC,oBAAoB,CAAtI,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAoB,UAAU,CAAC,MAAM,CAA8C,sBAAsB,CAAC,iBAAiB,CAAC,kCAAkC,gBAAgB,CAAC,oFAAoF,4BAA4B,CAAC,cAAc,CAAC,yBAAyB,CAAC,kFAAkF,2BAA2B,CAAC,aAAa,CAAC,wBAAwB,CAAC,6HAA6H,qBAAqB,CAAC,2EAA2E,CAAC,mEAAmE,CAAC,8BAA8B,cAAc,CAAC,UAAU,CAAC,2CAA2C,wBAAwB,CAAC,qDAAqD,mHAAuH,CAAC,UAAU,CAAC,uDAAuD,UAAU,CAAmN,oGAArK,qBAAqB,CAAC,mHAAuH,CAAC,WAAW,CAAC,UAAsO,CAAC,4HAA4H,UAAU,CAAC,YAAY,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,UAAU,CAAC,8BAA8B,2BAA2B,CAAC,4BAA4B,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,yBAAyB,iCAAiC,2BAA2B,CAAC,4BAA4B,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,CAAC,gCAAgC,kBAAkB,CAAC,iBAAiB,CAAC,aAAa,CAAC,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,yBAAyB,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,CAAC,yBAAyB,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,CAAC,yBAAyB,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,UAAU,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,8BAA8B,SAAS,CAAC,CAAC,qBAAqB,GAAG,+BAA+B,CAAC,uBAAuB,CAAC,CAAC,aAAa,GAAG,+BAA+B,CAAC,uBAAuB,CAAC,CAAC,mBAAmB,2CAA2C,CAAC,mCAAmC,CAAC,ogOAAogO,CAAC,yBAAyB,CAAC,oBAAoB,CAAC,WAAW,CAAC,qBAAqB,CAAC,UAAU,CAAC,qBAAqB,CAAC,YAAY,YAAY,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,WAAW,CAAC,gBAAgB,CAAC,sCAAsC,CAAC,kCAAkC,CAAC,8BAA8B,CAAC,UAAU,CAA4B,8BAAf,cAA+C,CAAC,eAAe,WAAW,CAAC,iBAAiB,CAAC,iBAAiB,cAAc,CAAC,oDAAoD,6BAA6B,CAAC,qBAAqB,CAAC,0DAA0D,aAAa,CAAC,iBAAiB,CAAC,8LAA8L,WAAW,CAAC,UAAU,CAAC,uCAAuC,cAAc,CAAC,oCAAoC,wBAAwB,CAAC,iBAAiB,CAAC,qDAAqD,sBAAsB,CAAC,eAAe,CAAC,mDAAmD,kBAAkB,CAAC,oEAAoE,UAAU,CAAC,4BAA4B,kCAAkC,CAAC,+BAA+B,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,cAAc,sBAAsB,CAAC,uBAAuB,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,+BAA+B,cAAc,CAAC,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC,eAAe,CAAC,UAAU,CAAC,oBAAoB,iHAAiH,CAAC,yGAAyG,CAAC,oBAAoB,CAAC,cAAc,CAAC,+BAA+B,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,6BAA6B,wBAAwB,CAAC,eAAe,CAAC,mHAAuH,CAAC,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,+DAA+D,SAAS,CAAC,kEAAkE,8BAA8B,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,qCAAqC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,6BAA6B,mHAAuH,CAAC,cAAc,CAAC,oCAAoC,UAAU,CAAC,4DAA4D,wBAAwB,CAAC,aAAa,cAAc,CAAC,QAAQ,CAAC,iHAAiH,CAAC,yGAAyG,CAAC,oBAAoB,CAAC,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC,eAAe,CAAC,cAAc,CAAC,+BAA+B,CAAC,uBAAuB,CAAC,UAAU,CAAC,gBAAgB,CAAC,sBAAsB,wBAAwB,CAAC,eAAe,CAAC,mHAAuH,CAAC,cAAc,CAAC,gBAAgB,CAAC,aAAa,CAAC,WAAW,CAAC,iDAAiD,SAAS,CAAC,oDAAoD,8BAA8B,CAAC,2BAA2B,CAAC,sBAAsB,CAAC,iCAAiC,YAAY,CAAC,6CAA6C,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,iCAAiC,YAAY,CAAC,6CAAuH,kBAAkB,CAAC,mBAAmB,CAAoJ,uBAAuB,CAAC,oBAAoB,CAAhT,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAwC,WAAW,CAAC,mHAAuH,CAAC,cAAc,CAA8C,sBAAsB,CAAC,yEAAyE,qBAAqB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,gFAAgF,6BAA6B,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAgB,CAAC,0FAA0F,eAAe,CAAC,oFAAoF,aAAa,CAAC,8CAA8C,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,uBAAuB,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,SAAS,CAAC,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,uBAAuB,WAAW,CAAC,cAAc,CAAC,mCAAmC,WAAW,CAAC,UAAU,CAAC,8BAA8B,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,8CAA8C,aAAa,CAAC,iCAAiC,WAAW,CAAC,cAAc,CAAC,6CAA6C,UAAU,CAAC,SAAS,CAAC,wCAAwC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,wDAAwD,aAAa,CAAC,mCAAmC,WAAW,CAAC,cAAc,CAAC,+CAA+C,WAAW,CAAC,UAAU,CAAC,0CAA0C,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,0DAA0D,aAAa,CAAC,kCAAkC,WAAW,CAAC,cAAc,CAAC,8CAA8C,WAAW,CAAC,UAAU,CAAC,yCAAyC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,yDAAyD,aAAa,CAAC,kCAAkC,WAAW,CAAC,cAAc,CAAC,8CAA8C,WAAW,CAAC,UAAU,CAAC,yCAAyC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,yDAAyD,aAAa,CAAC,0CAA0C,wBAAwB,CAAC,aAAa,CAAC,8CAA8C,YAAY,CAAC,cAAc,CAAC,qDAAqD,UAAU,CAAC,gEAAgE,wBAAwB,CAAC,aAAa,CAAC,oEAAoE,YAAY,CAAC,cAAc,CAAC,iEAAiE,wBAAwB,CAAC,aAAa,CAAC,qEAAqE,YAAY,CAAC,cAAc,CAAC,gEAAgE,0BAA0B,CAAC,0CAA0C,wBAAwB,CAAC,UAAU,CAAC,8CAA8C,SAAS,CAAC,WAAW,CAAC,qDAAqD,UAAU,CAAC,gEAAgE,wBAAwB,CAAC,UAAU,CAAC,oEAAoE,SAAS,CAAC,WAAW,CAAC,iEAAiE,wBAAwB,CAAC,UAAU,CAAC,qEAAqE,SAAS,CAAC,WAAW,CAAC,gEAAgE,0BAA0B,CAAC,4CAA4C,wBAAwB,CAAC,eAAe,CAAC,aAAa,CAAC,gDAAgD,YAAY,CAAC,cAAc,CAAC,uDAAuD,UAAU,CAAC,kEAAkE,wBAAwB,CAAC,aAAa,CAAC,sEAAsE,YAAY,CAAC,cAAc,CAAC,mEAAmE,wBAAwB,CAAC,aAAa,CAAC,uEAAuE,YAAY,CAAC,cAAc,CAAC,kEAAkE,0BAA0B,CAAC,0CAA0C,wBAAwB,CAAC,UAAU,CAAC,8CAA8C,SAAS,CAAC,WAAW,CAAC,qDAAqD,UAAU,CAAC,gEAAgE,wBAAwB,CAAC,UAAU,CAAC,oEAAoE,SAAS,CAAC,WAAW,CAAC,iEAAiE,wBAAwB,CAAC,UAAU,CAAC,qEAAqE,SAAS,CAAC,WAAW,CAAC,gEAAgE,0BAA0B,CAAC,yCAAyC,wBAAwB,CAAC,UAAU,CAAC,6CAA6C,SAAS,CAAC,WAAW,CAAC,oDAAoD,UAAU,CAAC,+DAA+D,wBAAwB,CAAC,UAAU,CAAC,mEAAmE,SAAS,CAAC,WAAW,CAAC,gEAAgE,wBAAwB,CAAC,UAAU,CAAC,oEAAoE,SAAS,CAAC,WAAW,CAAC,+DAA+D,0BAA0B,CAAC,uBAAuB,iBAAiB,CAAC,aAAa,CAAwP,wCAAuB,wBAAwB,CAAC,qBAAqB,CAAoH,uBAAuB,CAAC,oBAAoB,CAA/J,kBAAkB,CAAC,qBAAqB,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAA8C,sBAAsB,CAAC,iBAAiB,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,cAAc,CAAC,iBAAiB,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAW,aAAa,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,+CAA+C,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAC,uCAAuC,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAsF,4FAA7C,kCAAkC,CAAC,SAA0G,CAAC,0DAA0D,kCAAkC,CAAC,2BAA2B,UAAU,CAAC,mBAAmB,CAAC,6BAA6B,WAAW,CAAC,UAAU,CAAC,wBAAwB,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,wCAAwC,aAAa,CAAC,2BAA2B,WAAW,CAAC,cAAc,CAAC,uCAAuC,UAAU,CAAC,SAAS,CAAC,kCAAkC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,kDAAkD,aAAa,CAAC,6BAA6B,WAAW,CAAC,cAAc,CAAC,yCAAyC,WAAW,CAAC,UAAU,CAAC,oCAAoC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,oDAAoD,aAAa,CAAC,4BAA4B,WAAW,CAAC,cAAc,CAAC,wCAAwC,WAAW,CAAC,UAAU,CAAC,mCAAmC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,mDAAmD,aAAa,CAAC,4BAA4B,WAAW,CAAC,cAAc,CAAC,wCAAwC,WAAW,CAAC,UAAU,CAAC,mCAAmC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,mDAAmD,aAAa,CAAC,uBAAuB,YAAY,CAAC,mCAAmC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,uBAAuB,YAAY,CAAC,mCAA6G,kBAAkB,CAAC,mBAAmB,CAAoJ,uBAAuB,CAAC,oBAAoB,CAAhT,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAwC,WAAW,CAAC,mHAAuH,CAAC,cAAc,CAA8C,sBAAsB,CAAC,qDAAqD,qBAAqB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,4DAA4D,6BAA6B,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAgB,CAAC,sEAAsE,eAAe,CAAC,gEAAgE,aAAa,CAAC,uCAAuC,0BAA0B,CAAC,iCAAiC,wBAAwB,CAAC,aAAa,CAAC,qCAAqC,YAAY,CAAC,cAAc,CAAC,4CAA4C,UAAU,CAAC,uDAAuD,wBAAwB,CAAC,aAAa,CAAC,2DAA2D,YAAY,CAAC,cAAc,CAAC,wDAAwD,wBAAwB,CAAC,aAAa,CAAC,4DAA4D,YAAY,CAAC,cAAc,CAAC,uDAAuD,0BAA0B,CAAC,iCAAiC,wBAAwB,CAAC,UAAU,CAAC,qCAAqC,SAAS,CAAC,WAAW,CAAC,4CAA4C,UAAU,CAAC,uDAAuD,wBAAwB,CAAC,UAAU,CAAC,2DAA2D,SAAS,CAAC,WAAW,CAAC,wDAAwD,wBAAwB,CAAC,UAAU,CAAC,4DAA4D,SAAS,CAAC,WAAW,CAAC,uDAAuD,0BAA0B,CAAC,mCAAmC,wBAAwB,CAAC,eAAe,CAAC,aAAa,CAAC,uCAAuC,YAAY,CAAC,cAAc,CAAC,8CAA8C,UAAU,CAAC,yDAAyD,wBAAwB,CAAC,aAAa,CAAC,6DAA6D,YAAY,CAAC,cAAc,CAAC,0DAA0D,wBAAwB,CAAC,aAAa,CAAC,8DAA8D,YAAY,CAAC,cAAc,CAAC,yDAAyD,0BAA0B,CAAC,iCAAiC,wBAAwB,CAAC,UAAU,CAAC,qCAAqC,SAAS,CAAC,WAAW,CAAC,4CAA4C,UAAU,CAAC,uDAAuD,wBAAwB,CAAC,UAAU,CAAC,2DAA2D,SAAS,CAAC,WAAW,CAAC,wDAAwD,wBAAwB,CAAC,UAAU,CAAC,4DAA4D,SAAS,CAAC,WAAW,CAAC,uDAAuD,0BAA0B,CAAC,gCAAgC,wBAAwB,CAAC,UAAU,CAAC,oCAAoC,SAAS,CAAC,WAAW,CAAC,2CAA2C,UAAU,CAAC,sDAAsD,wBAAwB,CAAC,UAAU,CAAC,0DAA0D,SAAS,CAAC,WAAW,CAAC,uDAAuD,wBAAwB,CAAC,UAAU,CAAC,2DAA2D,SAAS,CAAC,WAAW,CAAC,sDAAsD,0BAA0B,CAAC,eAAe,mBAAmB,CAAC,mBAAmB,CAAC,YAAqH,CAAC,4DAAzG,2BAA2B,CAAC,4BAA4B,CAAC,yBAAyB,CAAC,qBAAiN,CAA3L,6CAA6C,4BAA4B,CAAC,QAAiH,CAAC,mDAAmD,WAAW,CAAC,eAAoD,CAAC,2DAA2D,cAAc,CAAC,WAAW,CAAC,eAAoD,CAAC,UAAU,CAAC,qEAAqE,qBAAqB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,oBAAoB,aAAa,CAAC,8BAA8B,CAAC,cAAc,CAAC,UAAU,CAAC,SAAS,CAAC,gBAA6C,4BAA4B,CAAzD,4BAA4B,CAA8B,eAAe,CAAC,kBAAkB,CAAC,OAAO,CAAC,iBAAiB,kBAAkB,CAAC,UAAU,CAAC,MAAM,CAAC,gBAA0F,kBAAkB,CAAiC,mBAAmB,CAAhJ,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAoB,iBAAiB,CAAC,aAAa,CAAqB,aAAa,CAAC,kBAAkB,CAAC,cAAc,CAAC,cAAc,CAAC,0BAA+E,wBAAwB,CAAC,qBAAqB,CAAnG,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,uBAAuB,CAAC,8FAA8F,aAAa,CAAC,8BAA8B,CAAC,UAAU,CAAC,cAAc,CAAC,UAAU,CAAC,SAAS,CAAC,2BAA2B,eAAe,CAAC,uBAAuB,iBAAiB,CAAC,8BAA8B,aAAa,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAyB,CAAC,gCAAqF,sBAAsB,CAAC,mBAAmB,CAA/F,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA4C,0BAA0B,CAAC,yDAAyD,4BAA4B,CAAC,yBAAyB,CAAC,yDAAyD,2BAA2B,CAAC,uCAAuC,CAAC,wBAAwB,CAAC,2EAA2E,wBAAwB,CAAC,aAAa,CAAC,0CAA0C,CAAC,kCAAkC,CAAC,aAAa,CAAC,SAAS,CAAC,4FAA4F,QAAQ,CAAC,kBAAoD,kBAAkB,CAAC,2BAA2B,CAAC,iBAAiB,CAAC,UAAU,CAAC,mHAAuH,CAAC,cAAc,CAAC,cAAc,CAAC,eAAe,CAAC,eAAe,CAAC,SAAS,CAAC,eAA+B,CAAC,cAAc,CAA5V,iCAAiC,CAA4T,sCAAsC,CAAC,iCAAiC,CAAC,8BAA8B,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,UAAU,CAAC,gBAAgB,CAAC,yBAAyB,kBAAkB,YAAY,CAAC,CAAC,gDAAgD,SAAS,CAAC,cAAc,QAAQ,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,YAAY,CAAC,mHAAuH,CAAC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,iCAAiC,CAAC,yBAAyB,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,gBAAgB,6BAA6B,CAAC,qBAAqB,CAAC,8DAA8D,0BAA0B,CAAC,kBAAkB,CAAC,uBAAuB,+BAA+B,CAAC,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,gBAAgB,CAAC,iDAAiD,YAAY,CAAC,0EAA0E,aAAa,CAAC,qBAAsP,2BAA2B,CAAC,4BAA4B,CAAzR,qBAAqB,CAAC,uEAA8E,CAAC,+DAAsE,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,2BAA2B,CAAC,uBAAuB,CAAC,MAAM,CAAC,eAAe,CAAC,cAAc,CAAC,gBAAgB,CAAC,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,KAAK,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,yBAAyB,qEAAqE,qBAAqB,CAAC,gBAAgB,CAAC,cAAc,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC,0BAA0B,6BAA6B,CAAC,qBAAqB,CAAC,aAAa,CAAC,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,+CAA+C,wBAAwB,CAAC,uBAAuB,CAAC,eAAe,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,oBAAoB,CAA8D,uEAA8C,wBAAwB,CAAC,UAAU,CAAC,sBAAuH,wBAAwB,CAAC,qBAAqB,CAA/I,+BAA+B,CAAC,WAAW,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,6BAA6B,CAAC,eAAe,CAAC,eAAe,CAAgR,0DAAnP,wBAAwB,CAAC,qBAAqB,CAAyE,mBAAmB,CAA3F,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAqB,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,gBAAgB,CAAC,QAAQ,CAAC,aAAa,CAAC,kBAAmS,CAAC,yBAAyB,8BAA8B,cAAc,CAAC,CAAC,6BAAwC,4BAA4B,CAAvC,UAAU,CAA8B,eAAe,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,+CAA+C,CAAC,0CAA0C,CAAC,uCAAuC,CAAC,mCAAmC,wBAAwB,CAAC,qCAAqC,sBAAsB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,eAAe,CAAC,0EAA0E,gBAAgB,CAAC,UAAU,CAAC,yBAAyB,sEAAsE,2BAA2B,CAAC,4BAA4B,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,CAAC,8CAA8C,eAAe,CAA2E,0GAAsD,aAAqB,CAAC,+CAA+C,oBAAoB,CAAC,kDAAkD,cAAc,CAAC,uBAAuB,kBAAkB,CAAC,UAAU,CAAC,MAAM,CAAC,gBAAgB,CAAC,aAAa,CAAC,0CAA0C,kBAA2B,CAAC,aAAa,CAAC,sDAAsD,cAAc,CAAmQ,mPAAsD,cAAsB,CAAC,6DAA6D,wBAAwB,CAAC,aAAa,CAAC,UAAU,CAAC,+DAA+D,kBAAkB,CAAC,WAAW,CAAC,qBAAqB,CAAC,mEAAmE,kBAAkB,CAAC,sFAAsF,UAAU,CAAC,qEAAqE,WAAW,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,mFAAmF,wBAAwB,CAAC,eAAe,CAAC,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,sBAAyE,wBAAwB,CAAC,qBAAqB,CAAjG,YAAY,CAAC,oBAAoB,CAAC,gBAAgB,CAAgD,6BAA6B,CAAC,WAAW,CAAC,6BAA6B,gBAAwB,CAAC,wCAAwC,cAAc,CAAC,sBAAsB,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,uBAAuB,YAAY,CAAC,iBAAiB,CAAC,2BAA2B,YAAY,CAAC,QAAQ,CAAC,kBAAkB,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,OAAO,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,UAAU,CAAC,oDAAoD,aAAa,CAAC,yBAAyB,uBAAuB,YAAY,CAAC,CAAC,qBAAqB,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,oBAAoB,CAAC,2BAA2B,aAAa,CAAC,iBAAyB,CAAC,oBAAoB,eAAe,CAAC,eAAe,CAAC,WAAW,CAAC,oBAAoB,CAAC,gDAAgD,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,qCAAqC,kBAAkB,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,eAAe,CAAC,oBAAoB,CAAC,4DAA4D,YAAY,CAAC,gCAAgC,qBAAqB,CAAC,+BAA+B,CAAC,yBAAyB,CAAC,eAAe,CAAsE,mHAAuE,wBAAwB,CAAC,mBAAmB,QAAQ,CAAC,QAAQ,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,kBAAkB,kBAAkB,CAAC,wBAAwB,CAAC,qBAAsB,CAAC,QAAQ,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,cAAc,CAAC,SAAS,CAAC,kBAAmB,CAAC,iBAAiB,CAAC,SAAiB,CAAC,sFAAsF,CAAC,8EAA8E,CAAC,yEAAyE,CAAC,sEAAsE,CAAC,qGAAqG,CAAC,eAAe,CAAC,8BAA8B,SAAS,CAAC,yBAAyB,4BAA4B,CAAC,wBAAwB,CAAC,oBAAoB,CAAwF,iEAAgC,kBAAkB,CAAC,oBAAoB,CAAC,aAAa,CAAC,oCAAoC,kBAAkB,CAAC,oBAAoB,CAAC,aAAa,CAAC,kCAAkC,kBAAkB,CAAC,oBAAoB,CAAC,aAAa,CAAC,gBAAgB,aAAa,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAyB,CAAC,gBAAqE,2BAA2B,CAAC,4BAA4B,CAA7G,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,yBAAyB,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,uBAAuB,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,qBAAqB,CAAC,QAAQ,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,mHAAuH,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,aAAa,CAAC,UAAU,CAAC,iCAAiC,wBAAwB,CAAC,aAAa,CAAC,sCAAsC,oBAAoB,CAAC,6BAA6B,SAAS,CAAC,kDAAkD,wBAAwB,CAAC,sDAAsD,oBAAoB,CAA6F,8CAAuB,aAAa,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAyB,CAAsC,6EAAsD,aAAa,CAAC,yBAAyB,wBAAwB,CAAC,qBAAqB,CAAwH,wBAAwB,CAAC,qBAAqB,CAArK,kBAAkB,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,uBAAuB,CAAC,eAAe,CAAC,yBAAyB,yBAAyB,eAAe,CAAC,CAAC,oDAAoD,wBAAwB,CAAC,oBAAoB,CAAC,sDAAsD,oBAAoB,CAAC,kCAAkC,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,aAAa,CAAC,sCAAsC,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC,yDAAyD,cAAc,CAAC,uBAAuB,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,UAAU,CAAC,iBAAiB,CAAC,8BAA8B,SAAS,CAAC,4BAA4B,CAAC,wBAAwB,CAAC,oBAAoB,CAAC,2BAA2B,YAAY,CAAC,WAAW,CAAC,UAAU,CAAoE,2GAAqD,YAAY,CAAC,gCAAgC,eAAe,CAAC,iBAAsE,2BAA2B,CAAC,4BAA4B,CAA7G,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,yBAAyB,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,wBAAwB,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,qBAAqB,CAAC,QAAQ,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,mHAAuH,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,aAAa,CAAC,UAAU,CAAC,kCAAkC,wBAAwB,CAAC,aAAa,CAAC,uCAAuC,oBAAoB,CAAC,8BAA8B,SAAS,CAAC,oDAAoD,wBAAwB,CAAC,wDAAwD,oBAAoB,CAA8F,gDAAwB,aAAa,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAyB,CAAuC,gFAAwD,aAAa,CAAC,0BAA0B,wBAAwB,CAAC,qBAAqB,CAAwH,wBAAwB,CAAC,qBAAqB,CAArK,kBAAkB,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,uBAAuB,CAAC,eAAe,CAAC,yBAAyB,0BAA0B,eAAe,CAAC,CAAC,sDAAsD,wBAAwB,CAAC,oBAAoB,CAAC,wDAAwD,oBAAoB,CAAC,mCAAmC,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,aAAa,CAAC,uCAAuC,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC,2DAA2D,cAAc,CAAC,wBAAwB,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,UAAU,CAAC,iBAAiB,CAAC,+BAA+B,SAAS,CAAC,4BAA4B,CAAC,wBAAwB,CAAC,oBAAoB,CAAC,4BAA4B,YAAY,CAAC,WAAW,CAAC,UAAU,CAAsE,+GAAuD,YAAY,CAAC,wBAAwB,wWAAob,CAAC,2BAA2B,CAAC,2BAA2B,CAAC,kBAAyB,CAAC,2BAA2B,eAAe,CAAC,mDAAmD,iBAAqB,CAAC,sBAA0B,CAAC,2DAA2D,QAAQ,CAAC,kEAAkE,SAAS,CAAC,4BAA4B,UAAU,CAAC,sDAAsD,cAAc,CAAC,oBAAyE,2BAA2B,CAAC,4BAA4B,CAA7G,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,yBAAyB,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,UAAU,CAAC,2BAA2B,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,qBAAqB,CAAC,QAAQ,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,mHAAuH,CAAC,cAAc,CAAC,WAAW,CAAC,gBAAgB,CAAC,YAAY,CAAC,aAAa,CAAC,UAAU,CAAC,qCAAqC,wBAAwB,CAAC,aAAa,CAAC,0CAA0C,oBAAoB,CAAC,iCAAiC,SAAS,CAAC,0DAA0D,wBAAwB,CAAC,8DAA8D,oBAAoB,CAAiG,sDAA2B,aAAa,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAyB,CAA0C,yFAA8D,aAAa,CAAC,6BAA6B,wBAAwB,CAAC,qBAAqB,CAAwH,wBAAwB,CAAC,qBAAqB,CAArK,kBAAkB,CAAC,qBAAqB,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,uBAAuB,CAAC,eAAe,CAAC,yBAAyB,6BAA6B,eAAe,CAAC,CAAC,4DAA4D,wBAAwB,CAAC,oBAAoB,CAAC,8DAA8D,oBAAoB,CAAC,sCAAsC,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,aAAa,CAAC,0CAA0C,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC,iEAAiE,cAAc,CAAC,2BAA2B,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,UAAU,CAAC,iBAAiB,CAAC,kCAAkC,SAAS,CAAC,4BAA4B,CAAC,wBAAwB,CAAC,oBAAoB,CAAC,+BAA+B,YAAY,CAAC,WAAW,CAAC,UAAU,CAA4E,2HAA6D,YAAY,CAAC,6BAA6B,kBAAkB,CAAC,UAAU,CAAC,MAAM,CAAC,2BAA2B,WAAW,CAAC,eAAe,CAAC,mBAAmB,wBAAwB,CAAC,qBAAqB,CAAyE,6BAA6B,CAAC,6BAA6B,CAA2D,oBAAoB,CAAC,iBAAiB,CAApO,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA6D,8BAA8B,CAAC,0BAA0B,CAAwC,wBAAwB,CAAC,iBAAiB,CAAC,0BAA0B,gBAAgB,CAAC,2DAA2D,oBAAoB,CAAC,WAAW,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,UAAU,CAAC,iEAAiE,QAAQ,CAAC,SAAS,CAAC,OAAO,CAAC,iEAAiE,qBAAqB,CAAC,kBAAkB,CAAC,QAAQ,CAAC,cAAc,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,cAAc,CAAC,wEAAwE,qBAAqB,CAAC,iBAAiB,CAAC,UAAU,CAAC,UAAU,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,cAAc,CAAC,UAAU,CAAC,gGAAgG,wBAAwB,CAAC,uGAAuG,kCAAkC,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,gGAAgG,kCAAkC,CAAC,0BAA0B,CAAC,mCAAmC,eAAe,CAAC,qBAAqB,eAAe,CAAC,iBAAiB,CAAC,4BAA4B,QAAQ,CAAC,cAAc,CAAC,eAAe,CAAC,iBAAyB,CAAC,SAAS,CAAC,SAAS,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,gBAAgB,wBAAwB,CAAC,qBAAqB,CAAyE,wBAAwB,CAAC,qBAAqB,CAAtH,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,uBAAuB,CAAC,iBAAiB,CAAC,2BAA2B,UAAU,CAAC,2BAA2B,wBAAwB,CAAC,qBAAqB,CAAC,6BAA6B,CAAC,4BAA4B,oBAAoB,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,6BAA6B,WAAW,CAAC,qBAAqB,IAAI,UAAU,CAAC,IAAI,SAAS,CAAC,GAAG,UAAU,CAAC,CAAC,aAAa,IAAI,UAAU,CAAC,IAAI,SAAS,CAAC,GAAG,UAAU,CAAC,CAAC,oBAAoB,iBAAiB,CAAC,UAAU,CAAC,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAAK,CAAC,kBAAkB,CAAC,wBAAwB,kBAAkB,CAAC,UAAU,CAAC,iBAAiB,CAAC,wDAAwD,CAAC,mDAAmD,CAAC,gDAAgD,CAAC,yBAAyB,CAA0R,6DAA3P,2CAA2C,CAAC,mCAAmC,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,gCAAgC,CAAC,UAAU,CAAC,oBAAoB,CAAC,UAAU,CAAC,UAAU,CAAC,iBAAiB,CAAC,KAA+R,CAAC,+BAA+B,8BAA8B,CAAC,WAAW,CAAC,WAAW,CAAC,8BAA8B,6BAA6B,CAAC,OAAO,CAAC,UAAU,CAAC,2DAAgH,2BAA2B,CAAC,4BAA4B,CAA7G,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,yBAAyB,CAAC,qBAAqB,CAA4Z,2FAAiD,0FAAgL,CAAC,qFAA6K,CAAC,iBAAiB,CAAwJ,uGAAuD,qBAAqB,CAAC,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,MAAM,CAAC,iBAAiB,CAAC,UAAU,CAA+wB,gVAA2F,0FAA0F,CAAC,qFAAuF,CAAqxB,wVAA6F,0FAA0F,CAAC,qFAAuF,CAAkxB,oVAA4F,0FAA0F,CAAC,qFAAuF,CAAqxB,wVAA6F,0FAA0F,CAAC,qFAAuF,CAAkxB,oVAA4F,0FAA0F,CAAC,qFAAuF,CAAC,uHAA6J,2BAA2B,CAAC,4BAA4B,CAA9F,4BAA4B,CAAC,QAAQ,CAA0D,yBAAyB,CAAC,qBAAqB,CAAgI,mIAAqE,WAAW,CAAC,eAAoD,CAAkK,mJAA3F,cAAc,CAAC,WAAW,CAAC,eAAoD,CAAC,UAAkL,CAAC,uKAAuK,qBAAqB,CAAC,kBAAkB,CAAC,oBAAoB,CAAoO,gNAAwD,cAAc,CAAC,SAAS,CAAC,uHAAuH,qBAAqB,CAAC,sBAAsB,wBAAwB,CAAC,qBAAqB,CAAoI,uBAAuB,CAAC,oBAAoB,CAA/K,kBAAkB,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,WAAW,CAA8C,sBAAsB,CAAC,cAAc,CAAC,eAAe,CAAC,4BAA4B,YAAY,CAAC,wCAAwC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,4BAA4B,YAAY,CAAC,wCAAkH,kBAAkB,CAAC,mBAAmB,CAAoJ,uBAAuB,CAAC,oBAAoB,CAAhT,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAwC,WAAW,CAAC,mHAAuH,CAAC,cAAc,CAA8C,sBAAsB,CAAC,+DAA+D,qBAAqB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,sEAAsE,6BAA6B,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAgB,CAAC,gFAAgF,eAAe,CAAC,0EAAwF,SAAS,CAAC,kCAAkC,WAAW,CAAC,UAAU,CAAC,6BAA6B,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,6CAA6C,aAAa,CAAC,gCAAgC,WAAW,CAAC,cAAc,CAAC,4CAA4C,UAAU,CAAC,SAAS,CAAC,uCAAuC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,uDAAuD,aAAa,CAAC,kCAAkC,WAAW,CAAC,cAAc,CAAC,8CAA8C,WAAW,CAAC,UAAU,CAAC,yCAAyC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,yDAAyD,aAAa,CAAC,iCAAiC,WAAW,CAAC,cAAc,CAAC,6CAA6C,WAAW,CAAC,UAAU,CAAC,wCAAwC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,wDAAwD,aAAa,CAAC,iCAAiC,WAAW,CAAC,cAAc,CAAC,6CAA6C,WAAW,CAAC,UAAU,CAAC,wCAAwC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,wDAAwD,aAAa,CAAC,8BAA8B,wBAAwB,CAAC,qBAAqB,CAAwV,uBAAuB,CAAC,oBAAoB,CAAnY,kBAAkB,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,cAAc,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,iBAAiB,CAA8C,sBAAsB,CAAC,SAAS,CAAW,aAAa,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,4DAA4D,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAC,oDAAoD,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAmG,sHAA7C,kCAAkC,CAAC,SAAuH,CAAC,uEAAuE,kCAAkC,CAAC,wCAAwC,UAAU,CAAC,mBAAmB,CAAC,+BAA+B,wBAAwB,CAAC,qBAAqB,CAA8H,uBAAuB,CAAC,oBAAoB,CAAzK,kBAAkB,CAAC,yBAAyB,CAAC,cAAc,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,WAAW,CAA8C,sBAAsB,CAAC,UAAU,CAAC,UAAU,CAAC,6DAA6D,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAC,qDAAqD,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAoG,wHAA7C,kCAAkC,CAAC,SAAwH,CAAC,wEAAwE,kCAAkC,CAAC,yCAAyC,UAAU,CAAC,mBAAmB,CAAC,mCAAmC,UAAU,CAAC,+DAA+D,SAAS,CAAC,mEAAmE,SAAS,CAAC,iEAAiE,UAAU,CAAC,qEAAqE,SAAS,CAAC,gEAAgE,UAAU,CAAC,oEAAoE,SAAS,CAAC,gEAAgE,UAAU,CAAC,oEAAoE,UAAU,CAAC,sEAAsE,yBAAyB,CAAC,8DAA8D,oBAAoB,CAAC,uCAAuC,WAAW,CAAC,uBAAuB,wBAAwB,CAAC,qBAAqB,CAAwX,uBAAuB,CAAC,oBAAoB,CAAna,kBAAkB,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,cAAc,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,cAAc,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,WAAW,CAA8C,sBAAsB,CAAC,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,qDAAqD,wBAAwB,CAAC,SAAS,CAAC,SAAS,CAAC,6CAA6C,wBAA4C,CAA4F,wGAA0D,kCAAkC,CAAC,SAAS,CAAC,gEAAgE,kCAAkC,CAAC,iCAAiC,UAAU,CAAC,mBAAmB,CAAC,mCAAmC,WAAW,CAAC,UAAU,CAAC,8BAA8B,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,8CAA8C,aAAa,CAAC,iCAAiC,WAAW,CAAC,cAAc,CAAC,6CAA6C,UAAU,CAAC,SAAS,CAAC,wCAAwC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,wDAAwD,aAAa,CAAC,mCAAmC,WAAW,CAAC,cAAc,CAAC,+CAA+C,WAAW,CAAC,UAAU,CAAC,0CAA0C,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,0DAA0D,aAAa,CAAC,kCAAkC,WAAW,CAAC,cAAc,CAAC,8CAA8C,WAAW,CAAC,UAAU,CAAC,yCAAyC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,yDAAyD,aAAa,CAAC,kCAAkC,WAAW,CAAC,cAAc,CAAC,8CAA8C,WAAW,CAAC,UAAU,CAAC,yCAAyC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,cAAc,CAAC,SAAS,CAAC,yDAAyD,aAAa,CAAC,6BAA6B,YAAY,CAAC,yCAAyC,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,6BAA6B,YAAY,CAAC,yCAAmH,kBAAkB,CAAC,mBAAmB,CAAoJ,uBAAuB,CAAC,oBAAoB,CAAhT,0BAA0B,CAAC,0BAA0B,CAAC,mBAAmB,CAAwC,WAAW,CAAC,mHAAuH,CAAC,cAAc,CAA8C,sBAAsB,CAAC,iEAAiE,qBAAqB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,wEAAwE,6BAA6B,CAAC,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,QAAgB,CAAC,kFAAkF,eAAe,CAAC,4EAA4E,aAAa,CAAC,6CAA6C,0BAA0B,CAAC,uCAAuC,wBAAwB,CAAC,aAAa,CAAC,2CAA2C,YAAY,CAAC,cAAc,CAAC,kDAAkD,UAAU,CAAC,6DAA6D,wBAAwB,CAAC,aAAa,CAAC,iEAAiE,YAAY,CAAC,cAAc,CAAC,8DAA8D,wBAAwB,CAAC,aAAa,CAAC,kEAAkE,YAAY,CAAC,cAAc,CAAC,6DAA6D,0BAA0B,CAAC,uCAAuC,wBAAwB,CAAC,UAAU,CAAC,2CAA2C,SAAS,CAAC,WAAW,CAAC,kDAAkD,UAAU,CAAC,6DAA6D,wBAAwB,CAAC,UAAU,CAAC,iEAAiE,SAAS,CAAC,WAAW,CAAC,8DAA8D,wBAAwB,CAAC,UAAU,CAAC,kEAAkE,SAAS,CAAC,WAAW,CAAC,6DAA6D,0BAA0B,CAAC,yCAAyC,wBAAwB,CAAC,eAAe,CAAC,aAAa,CAAC,6CAA6C,YAAY,CAAC,cAAc,CAAC,oDAAoD,UAAU,CAAC,+DAA+D,wBAAwB,CAAC,aAAa,CAAC,mEAAmE,YAAY,CAAC,cAAc,CAAC,gEAAgE,wBAAwB,CAAC,aAAa,CAAC,oEAAoE,YAAY,CAAC,cAAc,CAAC,+DAA+D,0BAA0B,CAAC,uCAAuC,wBAAwB,CAAC,UAAU,CAAC,2CAA2C,SAAS,CAAC,WAAW,CAAC,kDAAkD,UAAU,CAAC,6DAA6D,wBAAwB,CAAC,UAAU,CAAC,iEAAiE,SAAS,CAAC,WAAW,CAAC,8DAA8D,wBAAwB,CAAC,UAAU,CAAC,kEAAkE,SAAS,CAAC,WAAW,CAAC,6DAA6D,0BAA0B,CAAC,sCAAsC,wBAAwB,CAAC,UAAU,CAAC,0CAA0C,SAAS,CAAC,WAAW,CAAC,iDAAiD,UAAU,CAAC,4DAA4D,wBAAwB,CAAC,UAAU,CAAC,gEAAgE,SAAS,CAAC,WAAW,CAAC,6DAA6D,wBAAwB,CAAC,UAAU,CAAC,iEAAiE,SAAS,CAAC,WAAW,CAAC,4DAA4D,0BAA0B,CAAC,6CAA6C,4BAA4B,CAAC,SAAS,CAAC,SAAS,CAAC,mBAAmB,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,mHAAuH,CAAC,WAAW,CAAC,iCAAiC,WAAW,CAAC,yBAAyB,mBAAmB,2BAA2B,CAAC,6BAA6B,CAAC,4BAA4B,CAAC,wBAAwB,CAAC,CAAC,uEAA8L,gBAAgB,CAAC,kGAAxI,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAqY,CAAvW,2BAA8J,uBAAuB,CAAC,oBAAoB,CAAxD,WAAW,CAA8C,sBAAsB,CAAC,WAAW,CAAC,eAAe,CAAC,0BAA0B,CAAC,0BAA0B,CAAC,eAAe,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,yBAAyB,2BAA2B,WAAW,CAAC,eAAe,CAAC,cAAc,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC,gCAAgC,wBAAwB,CAAC,qBAAqB,CAAyE,kBAAkB,CAAC,mBAAmB,CAAa,uBAAuB,CAAC,oBAAoB,CAAvK,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAwC,WAAW,CAA8C,sBAAsB,CAAC,uCAAuC,cAAc,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,kDAAkD,SAAS,CAAC,OAAO,CAAC,2CAA2C,YAAY,CAAC,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,kCAAkC,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,kCAAkC,CAAC,6BAA6B,CAAC,0BAA0B,CAAC,UAAU,CAAC,iDAAiD,SAAS,CAAC,+BAA+B,eAAe,CAAC,cAAc,CAAC,oBAAoB,WAAW,CAAC,eAAe,CAAC,WAAW,CAAC,UAAU,CAAC,yBAAyB,oBAAoB,WAAW,CAAC,CAAC,oDAAoD,WAAW,CAAC,yBAAyB,oDAAoD,WAAW,CAAC,gBAAgB,CAAC,CAAC,sBAAsB,6BAA6B,CAAC,qBAAqB,CAAC,sDAAsD,wBAAwB,CAAC,0CAA0C,CAAC,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,eAAe,CAAC,gBAAgB,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,0DAA0D,oBAAoB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,wDAAwD,YAAY,CAAC,4GAA4G,wBAAwB,CAAC,UAAU,CAAC,wBAAwB,CAAC,gHAAgH,SAAS,CAAC,8GAA8G,aAAa,CAAC,0BAA0B,qBAAqB,CAAC,oMAAoM,CAAC,sLAA8L,CAAC,iCAAiC,CAAC,yBAAyB,CAAC,YAAY,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,UAAU,CAAC,oDAAoD,aAAa,CAAC,mDAAmD,WAAW,CAAC,eAAe,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,SAAS,CAAC,uDAAuD,eAAe,CAAC,cAAc,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAA8P,6GAAuD,2BAA2B,CAAC,qBAAqB,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,YAAY,CAAC,SAAS,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,SAAS,CAA4V,qJAAjR,wBAAwB,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,WAAmB,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,WAAW,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,UAAkB,CAAC,UAAU,CAAC,SAAqW,CAAC,mKAAmK,qBAAqB,CAAC,wDAAwD,eAAe,CAAC,WAAW,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,iFAAiF,WAAW,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,eAAe,CAAC,qFAAqF,WAAW,CAAC,eAAe,CAAC,cAAc,CAAC,UAAU,CAAC,uFAAuF,6BAA6B,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,6GAA6G,WAAW,CAAC,kBAAkB,CAAC,yIAAyI,yBAAyB,CAAC,kBAAkB,CAAC,YAAY,CAAC,UAAU,CAAC,aAAa,CAAC,cAAc,CAAC,SAAS,CAAC,eAAe,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,eAAe,CAAC,kFAAkF,wBAAwB,CAAC,qBAAqB,CAAyE,uBAAuB,CAAC,oBAAoB,CAApH,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA8C,sBAAsB,CAAC,yBAAyB,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,uCAAuC,eAAe,CAAC,6CAA6C,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,4CAA4C,2CAA2C,CAAC,mCAAmC,CAAC,ogOAAogO,CAAC,yBAAyB,CAAC,UAAU,CAAC,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAyB,CAAC,gBAAwB,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,UAAU,CAAC,qBAAqB,CAAC,qCAAqC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,4CAA4C,SAAiB,CAAC,kDAAkD,+CAA+C,CAAC,kDAAkD,wBAAwB,CAAC,yBAAyB,CAAC,qCAAqC,wBAAwB,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,cAAc,CAAC,eAAe,CAAC,WAAmB,CAAC,UAAU,CAAC,+BAA+B,wBAAwB,CAAC,qBAAqB,CAA2H,uBAAuB,CAAC,oBAAoB,CAAtK,kBAAkB,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,WAAW,CAAC,YAAY,CAA8C,sBAAsB,CAAC,UAAkB,CAAC,eAAe,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,sDAAsD,CAAC,iDAAiD,CAAC,8CAA8C,CAAC,WAAW,CAAC,yBAAyB,+BAA+B,qBAAqB,CAAC,CAAC,mCAAmC,cAAc,CAAC,qCAAqC,oBAAoB,CAAC,2CAA2C,wBAAwB,CAAC,oBAAoB,CAAC,+EAA+E,wBAAwB,CAAC,UAAU,CAAC,gBAAgB,CAAC,oCAAoC,wBAAwB,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,MAAM,CAAC,gBAAgB,CAAC,WAAW,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,OAAO,CAAC,eAAe,CAAC,wBAAwB,CAAC,mCAAmC,CAAC,8BAA8B,CAAC,2BAA2B,CAAC,kBAAkB,CAAC,yCAAyC,aAAa,CAAC,eAAe,CAAC,eAAe,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,qFAAqF,cAAc,CAAC,eAAe,CAAC,yHAAyH,aAAa,CAAC,mCAAmC,sBAAsB,CAAC,qCAAqC,oBAAoB,CAAC,aAAa,CAAC,WAAW,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,kBAAkB,CAAC,UAAU,CAAC,yCAAyC,oBAAoB,CAAC,eAAe,CAAC,cAAc,CAAC,cAAc,CAAC,qBAAqB,CAAC,yEAAyE,4BAA4B,CAAC,oBAAoB,CAAC,WAAW,CAAC,WAAW,CAAC,mBAAmB,CAAC,eAAe,CAAC,SAAS,CAAC,eAAe,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,8EAA8E,oBAAoB,CAAC,cAAc,CAAC,WAAW,CAAC,kFAAkF,SAAS,CAAC,uKAAuK,SAAS,CAAC,2CAA2C,wBAAwB,CAAC,+EAA+E,UAAU,CAAC,gBAAgB,CAAC,4CAA4C,UAAU,CAAC,oBAAoB,CAAC,WAAW,CAAC,qBAAqB,CAAC,wBAAwB,YAAY,CAAC,WAAW,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,sCAAsC,eAAe,CAAC,oCAAoC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,4CAA4C,UAAU,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,2CAA2C,2CAA2C,CAAC,mCAAmC,CAAC,ogOAAogO,CAAC,yBAAyB,CAAC,UAAU,CAAC,oBAAoB,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAyB,CAAC,gBAAwB,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,qBAAqB,CAAC,UAAU,CAAC,qBAAqB,CAAC,2CAA2C,SAAiB,CAAC,iDAAiD,+CAA+C,CAAC,iDAAiD,wBAAwB,CAAC,yBAAyB,CAAC,oCAA6D,2BAA2B,CAAC,4BAA4B,CAAjF,wBAAwB,CAA0D,yBAAyB,CAAC,qBAAqB,CAAC,eAAe,CAAC,eAAe,CAAC,eAAe,CAAC,SAAS,CAAC,SAAS,CAAC,yBAAyB,oCAAoC,YAAY,CAAC,cAAc,CAAC,UAAU,CAAC,CAAC,uDAAuD,SAAiB,CAAC,6DAA6D,+CAA+C,CAAC,6DAA6D,kCAAkC,CAAC,yBAAyB,CAAC,8BAA8B,wBAAwB,CAAC,qBAAqB,CAAuH,wBAAwB,CAAC,qBAAqB,CAApK,kBAAkB,CAAC,+BAA+B,CAAC,aAAa,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAgD,6BAA6B,CAAC,eAAe,CAAC,eAAuB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,+CAA+C,CAAC,0CAA0C,CAAC,uCAAuC,CAAC,oBAAoB,CAAC,oCAAkD,kBAAkB,CAAhC,aAAa,CAAoB,UAAU,CAAC,MAAM,CAAC,iDAAiD,wBAAwB,CAAC,qBAAqB,CAAiG,uBAAuB,CAAC,oBAAoB,CAA5I,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,WAAuB,CAA8C,sBAAsB,CAAC,eAAuB,CAAC,UAAU,CAAC,UAAsB,CAAC,qDAAqD,sBAAsB,CAAC,wBAAwB,CAAC,WAAW,CAAC,UAAU,CAAC,uDAAuD,kBAAkB,CAAC,oCAAoC,wBAAwB,CAAC,0CAA0C,UAAU,CAAC,wDAAwD,UAAU,CAAC,sCAAsC,kBAAkB,CAAC,+BAA+B,CAAC,aAAa,CAAC,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,wCAAwC,cAAc,CAAC,kBAAkB,wBAAwB,CAAC,qBAAqB,CAA6K,sBAAsB,CAAC,mBAAmB,CAAtN,kBAAkB,CAAC,wBAAwB,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,cAAc,CAAC,WAAW,CAA4C,0BAA0B,CAAC,eAAe,CAAC,aAAqB,CAAC,wBAAwB,CAAC,qCAAqC,kBAAkB,CAAC,yBAAoC,kBAAkB,CAAyB,2BAA2B,CAAC,gBAAgB,CAAlG,UAAU,CAAoB,aAAa,CAAC,SAAS,CAA8C,OAAO,CAAC,0CAAoF,2BAA2B,CAAC,gBAAgB,CAAtF,wBAAwB,CAAC,gBAAgB,CAA8C,OAAO,CAAC,SAAS,CAAiM,yFAAtJ,mHAAuH,CAAC,cAAc,CAAC,cAAmN,CAAC,uEAAwF,2BAA2B,CAAC,gBAAgB,CAA7D,gBAAgB,CAA8C,OAAO,CAAC,4CAA4C,iBAAiB,CAAC,cAAc,CAAC,oBAAoB,CAAC,kDAAkD,wBAAwB,CAAC,oBAAoB,CAAC,0CAA0C,cAAc,CAAiM,4IAAkD,4BAA4B,CAAC,qBAAqB,CAAC,gDAAgD,yBAAyB,CAAC,+CAA+C,4BAA4B,CAAC,kCAAkC,UAAU,CAAqJ,wDAAyB,yBAAyB,CAAC,YAAY,CAAC,eAAe,CAAC,cAAc,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,UAAU,CAA+D,oEAA+B,wBAAwB,CAAC,oEAAoE,QAAQ,CAAC,cAAc,CAAC,eAAe,CAAC,MAAM,CAAC,QAAQ,CAAC,SAAS,CAAC,SAAS,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,yBAAyB,+BAA+B,cAAc,CAAC,eAAe,CAAC,UAAU,CAAC,CAAC,aAAa,YAAY,CAAC,eAAe,aAAa,CAAC,oBAAoB,CAAC,0CAA0C,aAAa,CAAC,SAAS,CAAC,yBAAyB,CAAC,iBAAiB,iBAAyB,CAAC,oBAAoB,aAAa,CAAC,UAAU,CAAC,YAAY,CAAC,cAAc,CAAC,KAAK,CAAC,SAAS,CAAC,0CAA0C,6BAA6B,CAAC,qBAAqB,CAAC,0BAA0B,wBAAwB,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,UAAU,CAAC,yBAAyB,wBAAwB,CAAC,qBAAqB,CAA2J,uBAAuB,CAAC,oBAAoB,CAAtM,kBAAkB,CAAC,6BAA6B,CAAC,wBAAwB,CAAC,cAAc,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,WAAW,CAA8C,sBAAsB,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,UAAU,CAAC,+BAA+B,kBAAkB,CAAC,+BAA+B,QAAQ,CAAC,wBAAwB,YAAY,CAAC,UAAU,CAAC,wCAAwC,sBAAsB,CAAC,oBAAoB,QAAQ,CAAC,eAAe,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,2BAA2B,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,kBAAkB,CAAC,cAAc,CAAC,iBAAyB,CAAC,eAAuB,CAAC,kBAAkB,CAAC,gCAAgC,4BAA4B,CAAC,aAAa,CAAC,WAAW,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,UAAU,CAAC,sCAAsC,iBAAiB,CAAiE,mFAA4C,wBAAwB,CAAC,gCAAgC,oBAAoB,CAAC,WAAW,CAAC,gBAAgB,CAAC,UAAU,CAAC,kCAAkC,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,WAAW,CAAC,WAAW,CAAC,SAAS,CAAC,UAAU,CAAC,4EAA4E,SAAS,CAAC,0EAA0E,WAAW,CAAC,YAAY,mHAAuH,CAAC,cAAc,CAAC,iCAAsF,uBAAuB,CAAC,oBAAoB,CAAjG,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA8C,sBAAsB,CAAC,gBAAgB,CAAC,iBAAyB,CAAC,cAAc,CAAC,mCAAmC,cAAc,CAAC,eAAuB,CAAC,+CAA+C,UAAU,CAAC,8CAA8C,aAAa,CAAC,yBAAyB,iCAAiC,aAAa,CAAC,mCAAmC,aAAa,CAAC,UAAU,CAAC,CAAC,oBAAoB,cAAc,CAAC,8BAA8B,eAAe,CAAC,8BAA8B,SAAS,CAAC,4CAA4C,YAAY,CAAC,6DAA6D,aAAa,CAAC,4DAA4D,gBAAgB,CAAC,eAAe,CAAC,yBAAyB,0BAA0B,CAAC,yBAAyB,CAAC,wBAAwB,CAAC,0DAA0D,kBAAkB,CAAC,yBAAyB,CAAC,iBAAiB,CAAC,6BAA6B,wBAAwB,CAAC,gBAAgB,QAAQ,CAAC,MAAM,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,yBAAyB,oBAAoB,CAAC,2DAA2D,WAAW,CAAC,0DAA0D,SAAS,CAAC,oBAAoB,CAAC,aAAa,CAAC,iBAAiB,CAAC,WAAW,CAAC,gBAAgB,CAAC,eAAe,CAAC,sCAAsC,CAAC,kCAAkC,CAAC,8BAA8B,CAAC,qBAAqB,CAAC,UAAU,CAAC,6CAA6C,WAAW,CAAC,0EAA0E,wBAAwB,CAAC,qBAAqB,CAA+G,uBAAuB,CAAC,oBAAoB,CAA1J,kBAAkB,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,YAAY,CAA8C,sBAAsB,CAAC,cAAc,CAAC,SAAS,CAAC,8EAA8E,eAAe,CAAC,cAAc,CAAC,6FAA6F,wBAAwB,CAAC,qBAAqB,CAAoB,6BAA6B,CAAC,4BAA4B,CAA7E,kBAAkB,CAA4D,sBAAsB,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,cAAc,CAAC,mBAAmB,CAAC,+FAA+F,cAAc,CAAC,oBAAoB,CAAC,0GAA0G,+BAA+B,CAAC,+BAA+B,eAAe,CAAC,YAAY,CAAC,qBAAqB,eAAe,CAAC,WAAW,CAAC,yBAAyB,qBAAqB,cAAc,CAAC,CAAC,yBAAyB,wBAAwB,CAAC,gBAAgB,CAAC,cAAc,CAAC,qCAAqC,iBAAiB,CAAC,uCAAuC,4BAA4B,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,aAAa,CAAC,aAAa,CAAC,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,eAAe,CAAC,WAAmB,CAAC,oBAAoB,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,eAAe,CAAC,oDAAoD,wBAAwB,CAAC,UAAU,CAAC,6CAA6C,YAAY,CAAC,oCAAoC,aAAa,CAAC,WAAW,CAAC,8EAA8E,QAAQ,CAAC,mBAAmB,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,WAAW,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,KAAK,CAAC,kCAAkC,CAAC,+BAA+B,CAAC,8BAA8B,CAAC,0BAA0B,CAAC,UAAU,CAAC,SAAS,CAAC,0BAA0B,WAAW,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,6BAA6B,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAgM,gEAAgC,wBAAwB,CAAC,aAAa,CAAC,YAAY,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,qBAAqB,iBAAiB,CAAC,gBAAwB,CAAC,gBAAwB,CAAC,iBAAyB,CAAC,iBAAiB,CAAC,SAAS,CAAC,2BAA2B,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,OAAO,CAAC,2BAA2B,wBAAwB,CAAC,SAAS,CAAC,iCAAiC,4BAA4B,CAAC,4BAA4B,aAAa,CAAC,iBAAiB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,mCAAmC,iBAAiB,CAAC,kCAAkC,sBAAsB,CAAC,QAAQ,CAAC,UAAU,CAAC,cAAc,CAAC,aAAa,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,mEAAmE,SAAS,CAAC,oDAAoD,SAAS,CAAC,eAAe,WAAW,CAAC,YAAY,CAAC,MAAM,CAAC,yBAAyB,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,KAAK,CAAC,WAAW,CAAC,gCAAgC,6BAA6B,CAAC,qBAAqB,CAAC,oBAAoB,wBAAwB,CAAC,UAAU,CAAC,oBAAoB,CAAC,cAAc,CAAC,WAAW,CAAC,QAAQ,CAAC,gBAAgB,CAAC,iBAAyB,CAAC,gBAAwB,CAAC,SAAS,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,OAAO,CAAC,qCAAqC,CAAC,gCAAgC,CAAC,6BAA6B,CAAC,UAAU,CAAC,mBAAmB,wBAAwB,CAAC,oBAAoB,CAAC,WAAW,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,yBAAyB,wBAAwB,CAAC,+BAA+B,kBAAkB,CAAC,SAAkB,CAAC,QAAiB,CAAC,gCAAgC,kBAAkB,CAAC,UAAmB,CAAC,QAAiB,CAAC,gCAAgC,WAAoB,CAAC,kBAAkB,CAAC,UAAmB,CAAC,gCAAgC,WAAoB,CAAC,kBAAkB,CAAC,SAAkB,CAAC,iBAAiB,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,6BAA6B,cAAc,CAAC,sBAAsB,wBAAwB,CAAsB,oBAAwB,CAAxB,wBAAwB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,eAAe,CAAC,WAAmB,CAAC,iBAAiB,CAAC,OAAO,CAAC,WAAW,CAAC,4BAA4B,4BAA4B,CAAC,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,YAAY,CAAC,aAAa,CAAC,UAAU,CAAC,8CAA8C,YAAY,CAAC,0DAA0D,4BAA4B,CAA4E,4EAAyB,WAAW,CAAC,yBAAyB,iBAAyB,CAAC,SAAS,CAAC,yBAAyB,6BAA6B,CAAC,aAAa,CAAC,SAAS,CAAC,mDAAmD,wBAAwB,CAAC,qBAAqB,CAAyE,uBAAuB,CAAC,oBAAoB,CAApH,kBAAkB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA8C,sBAAsB,CAAC,0BAA0B,kBAAkB,CAAC,UAAU,CAAC,MAAM,CAAC,cAAc,CAAC,iCAAiC,4BAA4B,CAAC,4BAA4B,CAAC,WAAW,CAAC,eAAe,CAAC,SAAS,CAAC,uDAAuD,wBAAwB,CAAC,YAAY,CAAC,cAAc,CAAC,UAAU,CAAC,uCAAuC,wBAAwB,CAAC,uCAAuC,uCAAuC,CAAC,wCAAwC,wBAAwB,CAAC,4BAA6B,CAAC,wBAAyB,CAAC,oBAAqB,CAAC,oGAAoG,UAAU,CAA4E,8GAAuD,WAAmB,CAA4M,0HAA6D,UAAU,CAAC,8CAA+C,CAAC,yCAA0C,CAAC,sCAAuC,CAAkJ,sIAAmE,0CAA0C,CAAC,kCAAkC,CAAC,8JAA8J,aAAa,CAAC,wDAAwD,kBAAkB,CAAC,cAAc,CAAC,qFAAqF,aAAa,CAAC,mBAAmB,wBAAwB,CAAC,oCAAoC,gBAAgB,CAAC,qDAA0G,2BAA2B,CAAC,4BAA4B,CAA7G,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAA0D,yBAAyB,CAAC,qBAAqB,CAAC,WAAW,CAAC,eAAe,CAAC,eAAe,CAAC,0DAA0D,iBAAiB,CAAC,8DAA8D,YAAY,CAAC,QAAQ,CAAC,kBAAkB,CAAC,WAAW,CAAC,eAAe,CAAC,iBAAiB,CAAC,OAAO,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,UAAU,CAAC,cAAoD,kBAAkB,CAAxD,wBAAwB,CAAC,YAAY,CAAoB,aAAa,CAAC,SAAS,CAAC,aAAa,CAAC,iBAAiB,CAAC,uDAAuD,eAAe,CAAC,gBAAgB,4EAA4E,CAAC,6GAA6G,sBAAsB,CAAC,kDAAkD,uBAAuB,CAAC,mDAAmD,6BAA6B,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,yJAAiL,kBAAkB,CAA1C,uBAAuB,CAAoB,UAAU,CAAC,MAAM,CAAC,SAAS,CAAC,sBAAsB,kBAAkB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,eAAe,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,aAAa,CAAC,WAAW,CAAC,eAAe,CAAC,4EAA4E,CAAC,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,aAAa,CAAC,WAAW,CAAC,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,YAAY,CAAC,oBAAoB,CAAC,UAAU,CAAC,SAAS,CAAC,sCAAsC,kBAAkB,CAAC,iCAAiC,kBAAkB,CAAC,4BAA4B,YAAY,CAAC,kCAAkC,+BAA+B,CAAC,SAAS,CAAC,cAAc,CAAC,eAAe,CAAC,KAAK,CAAC,SAAS,CAAC,0CAA0C,aAAa,CAAC,eAAe,WAAW,CAAC,WAAW,CAAC,0BAA0B,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,gCAAgC,SAAS,CAAC,kCAAkC,SAAS,CAAC,wBAAwB,wBAAwB,CAAC,cAAc,CAAC,cAAc,CAAC,iBAAiB,CAAC,sBAAsB,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,yBAAyB,SAAS,CAAC,2BAA2B,4BAA4B,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,aAAa,CAAC,cAAc,CAAC,oBAAoB,CAAC,cAAc,CAAC,aAAqB,CAAC,kBAA0B,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,YAAoB,CAA4D,kEAAiC,yBAAyB,CAAC,0CAA0C,WAAW,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,gDAAgD,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAA+iB,4GAA2B,wBAAwB,CAAC,aAAa,CAAC,YAAY,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,qDAAqD,mBAAmB,CAAC,mBAAmB,CAAC,YAAY,CAAC,yBAAyB,qDAAqD,2BAA2B,CAAC,4BAA4B,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,CAAC,4EAA4E,WAAW,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,qFAAqF,wBAAwB,CAAC,6BAA6B,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,WAAW,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAC,UAAU,CAAC,iGAAiG,aAAa,CAAC,mGAAmG,kBAAkB,CAAC,oBAAoB,CAAC,0EAA0E,cAAc,CAAC,gFAAgF,aAAa,CAAC,eAAe,CAAC,sFAAsF,gBAAgB,CAAC,4BAA4B,cAAc,CAAC,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,aAAa,wBAAwB,CAAC,qBAAqB,CAAC,kBAAkB,CAAsD,gBAAwB,CAAC,gCAA9E,mBAAmB,CAAC,mBAAmB,CAAC,YAAsJ,CAAhH,mBAAwE,WAAW,CAAC,gBAA4B,CAAC,qBAAqB,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,SAAS,CAAC,aAAa,CAAuuC,4QAAmE,0FAAgL,CAAC,qFAA6K,CAAuS,oSAAyE,wBAAwB,CAA+E,2GAAkD,oBAAoB,CAA0H,yLAAyF,wBAAwB,CAAmJ,uOAAgH,0BAA0B,CAAwF,2EAAkC,wBAAwB,CAAC,oBAAoB,CAAkF,yGAAiD,wBAAwB,CAAmG,mJAAsE,oBAAoB,CAAmE,uFAAwC,kBAAkB,CAA8L,4LAAyC,aAAa,CAA0gC,wzBAAkE,wBAAwB,CAA4U,wNAAiE,wBAAwB,CAAC,oBAAkC,CAAsiE,o0DAAiG,aAAa,CAA6E,2GAAkD,kBAAkB,CAA8Y,uTAA4C,WAAW,CAAC,aAAa,CAA0D,+EAAoC,aAAa,CAA8O,gKAAwC,wBAAwB,CAAC,aAAa,CAA0lB,6RAAuC,mCAAmC,CAAC,oBAAoB,CAAC,aAAa,CAA+F,iFAAlD,mCAAmC,CAAC,aAAoG,CAAqE,iFAAqC,uBAAuB,CAAsM,sMAA2C,aAAa,CAA0R,8NAAiD,mCAAmC,CAA8E,iGAA6C,wBAAwB,CAAsG,6FAA2C,6BAA6B,CAAC,oBAAoB,CAAoE,qGAA+C,YAAY,CAA6F,6EAAmC,6BAA6B,CAAC,mBAAmB,CAA+Q,4IAAgC,wBAAwB,CAAC,iBAAiB,CAAC,UAAU,CAAgE,qEAA+B,wBAAwB,CAA8Q,sTAA+F,iBAAiB,CAAqI,+MAAoG,wBAAwB",sourcesContent:['/*!\n * jodit - Jodit is awesome and usefully wysiwyg editor with filebrowser\n * Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/)\n * Version: v3.21.5\n * Url: https://xdsoft.net/jodit/\n * License(s): MIT\n */\n\t.jodit-wysiwyg{outline:0}.jodit-wysiwyg ::-moz-selection, .jodit-wysiwyg::-moz-selection{background:#b5d6fd;color:#4c4c4c}.jodit-wysiwyg ::selection,.jodit-wysiwyg::selection{background:#b5d6fd;color:#4c4c4c}.jodit-container:not(.jodit_inline) .jodit-wysiwyg{margin:0;outline:0;overflow-x:auto;padding:8px;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg img{max-width:100%;position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media{position:relative}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media *{position:relative;z-index:0}.jodit-container:not(.jodit_inline) .jodit-wysiwyg jodit-media:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:1}.jodit-form{color:#4c4c4c;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-form.jodit_error{border-color:#ff3b3b;-webkit-box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3);box-shadow:inset 0 0 3px 0 hsla(0,0%,74%,.3)}@media (max-width:768px){.jodit-form{min-width:150px}}.jodit-form button{background:#d6d6d6;border:none;color:#4c4c4c;cursor:pointer;font-size:16px;height:36px;line-height:1;margin-bottom:8px;margin-top:8px;outline:none;padding:8px;text-decoration:none;-webkit-transition:background .2s ease 0s;-o-transition:background .2s ease 0s;transition:background .2s ease 0s}.jodit-form button:hover{background-color:#ecebe9;color:#4c4c4c}.jodit-form button:active{background:#ecebe9;color:#4c4c4c}.jodit-form label{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:8px;text-align:left;white-space:nowrap}.jodit-form label:last-child{margin-bottom:0}.jodit-form .jodit-form__center{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit .jodit-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit .jodit-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit .jodit-textarea{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #dadada;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit .jodit-input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-select[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-textarea[disabled]{background-color:#f0f0f0;color:#dadada}.jodit .jodit-input_has-error_true{border-color:#ff3b3b}.jodit .jodit-select_has-error_true{border-color:#ff3b3b}.jodit .jodit-textarea_has-error_true{border-color:#ff3b3b}.jodit .jodit-input:focus{border-color:#66afe9;outline:0}.jodit-checkbox{border:0;cursor:pointer;height:16px;margin:0 calc(8px/2) 0 0;outline:none;padding:0;position:relative;width:16px;z-index:2}.jodit-select{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg id=\'Layer_1\' data-name=\'Layer 1\' xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 4.95 10\'%3E%3Cdefs%3E%3Cstyle%3E.cls-2{fill:%23444}%3C/style%3E%3C/defs%3E%3Cpath style=\'fill:%23fff\' d=\'M0 0h4.95v10H0z\'/%3E%3Cpath class=\'cls-2\' d=\'m1.41 4.67 1.07-1.49 1.06 1.49H1.41zM3.54 5.33 2.48 6.82 1.41 5.33h2.13z\'/%3E%3C/svg%3E");background-position:98% 50%;background-repeat:no-repeat;padding-right:calc(8px*2)}.jodit-textarea{height:auto}.jodit-form__group{min-width:180px}.jodit-textarea{min-width:180px}.jodit-form__group{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-form__group{margin-bottom:8px}.jodit-form__group>label{margin-bottom:8px}.jodit-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#dadada;border:0;border-radius:.25rem;color:#4c4c4c;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;height:calc(8px*4);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:1;margin:0;padding:0 8px;position:relative;text-decoration:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:auto}.jodit-button svg{display:inline-block;height:24px;width:24px}.jodit-button svg+span{margin-left:calc(8px/2)}.jodit-button:active,.jodit-button:focus{outline:0}.jodit-button.disabled{opacity:.7}.jodit-buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-bottom:8px}.jodit-button .jodit_icon,.jodit-button svg,.jodit-dialog__header .jodit_icon,.jodit-dialog__header svg{display:inline-block;height:16px;vertical-align:middle;width:16px}.jodit-switcher{display:inline-block;height:32px;position:relative;width:60px}.jodit-switcher input{height:0;opacity:0;width:0}.jodit-switcher .jodit-switcher__slider{background-color:#dadada;border-radius:32px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.jodit-switcher .jodit-switcher__slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:calc(32px - 4px*2);left:4px;position:absolute;-webkit-transition:.4s;-o-transition:.4s;transition:.4s;width:calc(32px - 4px*2)}input:checked+.jodit-switcher__slider{background-color:#2196f3}input:checked+.jodit-switcher__slider:before{-webkit-transform:translateX(calc(60px - 4px*2 - calc(32px - 4px*2)));-ms-transform:translateX(calc(60px - 4px*2 - calc(32px - 4px*2)));transform:translateX(calc(60px - 4px*2 - calc(32px - 4px*2)))}input:focus+.jodit-switcher__slider{-webkit-box-shadow:0 0 1px #2196f3;box-shadow:0 0 1px #2196f3}.jodit-button-group{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-button-group input{display:none}.jodit-button-group button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex:1;flex:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.jodit-button-group button+button{margin-left:-1px}.jodit-button-group button:first-child,.jodit-button-group input:first-child+button{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0}.jodit-button-group button:last-child,.jodit-button-group input:last-child+button{border-bottom-left-radius:0;border-left:0;border-top-left-radius:0}.jodit-button-group input[type=checkbox]:checked+button,.jodit-button-group input[type=checkbox]:not(:checked)+button+button{background-image:none;-webkit-box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05);box-shadow:inset 0 2px 4px rgba(0,0,0,.3),0 1px 2px rgba(0,0,0,.05)}.jodit_text_icons .jodit_icon{font-size:14px;width:auto}.jodit_text_icons .jodit_icon:first-letter{text-transform:uppercase}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;width:auto}.jodit_text_icons .jodit-tabs .jodit-tabs__buttons>a i{width:auto}.jodit_text_icons.jodit-dialog .jodit-button{color:rgba(0,0,0,.75);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;padding:8px;width:auto}.jodit_text_icons.jodit-dialog .jodit-dialog__header a{color:rgba(0,0,0,.75);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;padding:8px;width:auto}.jodit_text_icons.jodit-dialog .jodit-button .jodit_icon,.jodit_text_icons.jodit-dialog .jodit-dialog__header a .jodit_icon{width:auto}.jodit-grid{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.jodit-grid.jodit-grid_column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@media (max-width:480px){.jodit-grid.jodit-grid_xs-column{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-grid [class*=jodit_col-]{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.jodit-grid .jodit_col-lg-5-5{width:100%}.jodit-grid .jodit_col-lg-4-5{width:80%}.jodit-grid .jodit_col-lg-3-5{width:60%}.jodit-grid .jodit_col-lg-2-5{width:40%}.jodit-grid .jodit_col-lg-1-5{width:20%}.jodit-grid .jodit_col-lg-4-4{width:100%}.jodit-grid .jodit_col-lg-3-4{width:75%}.jodit-grid .jodit_col-lg-2-4{width:50%}.jodit-grid .jodit_col-lg-1-4{width:25%}@media (max-width:992px){.jodit-grid .jodit_col-md-5-5{width:100%}.jodit-grid .jodit_col-md-4-5{width:80%}.jodit-grid .jodit_col-md-3-5{width:60%}.jodit-grid .jodit_col-md-2-5{width:40%}.jodit-grid .jodit_col-md-1-5{width:20%}.jodit-grid .jodit_col-md-4-4{width:100%}.jodit-grid .jodit_col-md-3-4{width:75%}.jodit-grid .jodit_col-md-2-4{width:50%}.jodit-grid .jodit_col-md-1-4{width:25%}}@media (max-width:768px){.jodit-grid .jodit_col-sm-5-5{width:100%}.jodit-grid .jodit_col-sm-4-5{width:80%}.jodit-grid .jodit_col-sm-3-5{width:60%}.jodit-grid .jodit_col-sm-2-5{width:40%}.jodit-grid .jodit_col-sm-1-5{width:20%}.jodit-grid .jodit_col-sm-4-4{width:100%}.jodit-grid .jodit_col-sm-3-4{width:75%}.jodit-grid .jodit_col-sm-2-4{width:50%}.jodit-grid .jodit_col-sm-1-4{width:25%}}@media (max-width:480px){.jodit-grid .jodit_col-xs-5-5{width:100%}.jodit-grid .jodit_col-xs-4-5{width:80%}.jodit-grid .jodit_col-xs-3-5{width:60%}.jodit-grid .jodit_col-xs-2-5{width:40%}.jodit-grid .jodit_col-xs-1-5{width:20%}.jodit-grid .jodit_col-xs-4-4{width:100%}.jodit-grid .jodit_col-xs-3-4{width:75%}.jodit-grid .jodit_col-xs-2-4{width:50%}.jodit-grid .jodit_col-xs-1-4{width:25%}}@-webkit-keyframes a{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes a{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.jodit-icon_loader{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;display:inline-block;height:48px;vertical-align:middle;width:48px;will-change:transform}.jodit-icon{fill:#4c4c4c;background:50% no-repeat;background-size:contain;height:14px;overflow:visible;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;width:14px}.jodit-icon{stroke:#4c4c4c}.jodit-icon_close{stroke:#4c4c4c}svg.jodit-icon{height:auto;isolation:isolate}.jodit-icon_text{font-size:14px}.jodit,.jodit *,.jodit-container,.jodit-container *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit .jodit-workplace,.jodit-container .jodit-workplace{overflow:auto;position:relative}.jodit .jodit-workplace .jodit-wysiwyg,.jodit .jodit-workplace .jodit-wysiwyg_iframe,.jodit-container .jodit-workplace .jodit-wysiwyg,.jodit-container .jodit-workplace .jodit-wysiwyg_iframe{height:100%;width:100%}.jodit-wysiwyg [contenteditable=false]{cursor:default}.jodit-container:not(.jodit_inline){border:1px solid #dadada;border-radius:3px}.jodit-container:not(.jodit_inline) .jodit-workplace{border:0 solid #dadada;max-height:100%}.jodit-container:not(.jodit_inline).jodit_disabled{background:#dadada}.jodit-container:not(.jodit_inline).jodit_disabled .jodit-workplace{opacity:.4}.jodit_disabled,.jodit_lock{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.jodit_hidden{display:none!important}.jodit_vertical_middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-box,.jodit-context-menu{background:0 0;border:0;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.jodit-context-menu{-webkit-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);display:inline-block;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);z-index:10000001;z-index:30000005}.jodit-context-menu__content{overflow-scrolling:touch;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px}.jodit-context-menu_padding_false .jodit-context-menu__content{padding:0}.jodit-context-menu_max-height_false .jodit-context-menu__content{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.jodit-context-menu .jodit-ui-button{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-context-menu__actions{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-context-menu__actions button{width:100%}.jodit-context-menu_theme_dark .jodit-context-menu__content{background-color:#575757}.jodit-popup{background:0 0;border:0;-webkit-box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);box-shadow:0 4px 1px -2px rgba(76,76,76,.2),0 3px 3px 0 rgba(76,76,76,.15),0 1px 4px 0 rgba(76,76,76,.13);display:inline-block;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;position:fixed;-webkit-transform:translateZ(0);transform:translateZ(0);width:auto;z-index:10000001}.jodit-popup__content{overflow-scrolling:touch;background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;max-height:300px;overflow:auto;padding:8px}.jodit-popup_padding_false .jodit-popup__content{padding:0}.jodit-popup_max-height_false .jodit-popup__content{max-height:-webkit-fit-content;max-height:-moz-fit-content;max-height:fit-content}.jodit-ui-button-icon-text__icon{display:none}.jodit-ui-button-icon-text__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-ui-button-icon-text__text{display:none}.jodit-ui-button-icon-text__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-ui-button-icon-text_context_menu .jodit-ui-button-icon-text__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-ui-button-icon-text__icon:not(:empty)+.jodit-ui-button-icon-text__text:not(:empty){margin-left:8px}.jodit-ui-button-icon-text__icon:empty+.jodit-ui-button-icon-text__text:not(:empty){padding:0 8px}.jodit-ui-button-clear,.jodit-ui-button_clear{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;font-style:normal;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-ui-button-sizes{height:34px;min-width:34px}.jodit-ui-button-sizes .jodit-icon{height:14px;width:14px}.jodit-ui-button-sizes button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button-sizes_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_tiny{height:16px;min-width:16px}.jodit-ui-button-sizes_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button-sizes_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button-sizes_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_xsmall{height:22px;min-width:22px}.jodit-ui-button-sizes_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button-sizes_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button-sizes_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_small{height:28px;min-width:28px}.jodit-ui-button-sizes_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button-sizes_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button-sizes_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button-sizes_size_large{height:40px;min-width:40px}.jodit-ui-button-sizes_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button-sizes_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button-sizes_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button-variants_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button-variants_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default [disabled]{opacity:.7}.jodit-ui-button-variants_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button-variants_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button-variants_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button-variants_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button-variants_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button-variants_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary [disabled]{opacity:.7}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button-variants_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button-variants_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button-variants_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button-variants_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button-variants_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success [disabled]{opacity:.7}.jodit-ui-button-variants_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button-variants_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button-variants_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button-variants_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button-variants_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger [disabled]{opacity:.7}.jodit-ui-button-variants_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button-variants_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button-variants_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button-variants_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-button-style{border-radius:3px;padding:0 8px}.jodit-ui-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:rgba(0,0,0,.75);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button-style{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:rgba(0,0,0,.75);display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;font-style:normal;height:34px;min-width:34px;outline:0;padding:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-ui-button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-ui-button:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-ui-button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-ui-button[disabled]{opacity:.3;pointer-events:none}.jodit-ui-button .jodit-icon{height:14px;width:14px}.jodit-ui-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-ui-button_text-icons_true button{padding:0 8px}.jodit-ui-button_size_tiny{height:16px;min-width:16px}.jodit-ui-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-ui-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-ui-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-ui-button_size_xsmall{height:22px;min-width:22px}.jodit-ui-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-ui-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-ui-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-ui-button_size_small{height:28px;min-width:28px}.jodit-ui-button_size_small .jodit-icon{height:12px;width:12px}.jodit-ui-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-ui-button_size_small_text-icons_true button{padding:0 8px}.jodit-ui-button_size_large{height:40px;min-width:40px}.jodit-ui-button_size_large .jodit-icon{height:16px;width:16px}.jodit-ui-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-ui-button_size_large_text-icons_true button{padding:0 8px}.jodit-ui-button__icon{display:none}.jodit-ui-button__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-ui-button__text{display:none}.jodit-ui-button__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-button_context_menu .jodit-ui-button__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-ui-button_context_menu .jodit-ui-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-ui-button__icon:not(:empty)+.jodit-ui-button__text:not(:empty){margin-left:8px}.jodit-ui-button__icon:empty+.jodit-ui-button__text:not(:empty){padding:0 8px}.jodit-ui-button:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-ui-button_variant_default{background-color:#e3e3e3;color:#212529}.jodit-ui-button_variant_default svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default [disabled]{opacity:.7}.jodit-ui-button_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_primary{background-color:#007bff;color:#fff}.jodit-ui-button_variant_primary svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary [disabled]{opacity:.7}.jodit-ui-button_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-ui-button_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-ui-button_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-ui-button_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-ui-button_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary [disabled]{opacity:.7}.jodit-ui-button_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-ui-button_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-ui-button_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-ui-button_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-ui-button_variant_success{background-color:#28a745;color:#fff}.jodit-ui-button_variant_success svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success [disabled]{opacity:.7}.jodit-ui-button_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-ui-button_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-ui-button_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-ui-button_variant_danger{background-color:#dc3545;color:#fff}.jodit-ui-button_variant_danger svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger [disabled]{opacity:.7}.jodit-ui-button_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-ui-button_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-ui-button_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-ui-button_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-ui-list{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-ui-group{background-color:transparent;border:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-ui-list_mode_vertical .jodit-toolbar-button{height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2)}.jodit-ui-list_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2);width:100%}.jodit-ui-list_mode_vertical .jodit-toolbar-button__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-ui-separator{border-left:0;border-right:1px solid #dadada;cursor:default;margin:2px;padding:0}.jodit-ui-break{border-top:1px solid #dadada;-ms-flex-preferred-size:100%;flex-basis:100%;height:0!important;width:0}.jodit-ui-spacer{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-ui-group{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:100%}.jodit-ui-group_line_true{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch}.jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-left:0;border-right:1px solid #dadada;content:"";cursor:default;margin:2px;padding:0}.jodit-ui-group:last-child{border-bottom:0}.jodit-ui-button-group{margin-bottom:8px}.jodit-ui-button-group__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-button-group__options{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.jodit-ui-button-group .jodit-ui-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.jodit-ui-button-group .jodit-ui-button+.jodit-ui-button{border-bottom-left-radius:0;border-left:1px solid hsla(0,0%,86%,.4);border-top-left-radius:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled]){background-color:#dcdcdc;border-left:0;-webkit-box-shadow:inset 0 0 3px 0 #4c4c4c;box-shadow:inset 0 0 3px 0 #4c4c4c;color:#4c4c4c;outline:0}.jodit-ui-button-group .jodit-ui-button[aria-pressed=true]:not([disabled])+.jodit-ui-button{border:0}.jodit-ui-tooltip{text-rendering:optimizeLegibility;background:#727171;background-clip:padding-box;border-radius:2px;color:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-size:11px;line-height:1.4;max-width:120px;opacity:0;padding:calc(8px/4) calc(8px/2);position:fixed;-webkit-transition:opacity .2s ease 0s;-o-transition:opacity .2s ease 0s;transition:opacity .2s ease 0s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:normal;width:auto;z-index:30000006}@media (max-width:768px){.jodit-ui-tooltip{display:none}}.jodit-ui-tooltip.jodit-ui-tooltip_visible_true{opacity:1}.jodit-dialog{border:0;-webkit-box-sizing:border-box;box-sizing:border-box;display:none;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:0;position:absolute;width:0;will-change:left,top,width,height}.jodit-dialog_moved_true{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-dialog *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-dialog .jodit_elfinder,.jodit-dialog .jodit_elfinder *{-webkit-box-sizing:initial;box-sizing:initial}.jodit-dialog__overlay{background-color:rgba(0,0,0,.5);display:none;height:100%;left:0;overflow:auto;position:fixed;text-align:center;top:0;white-space:nowrap;width:100%;z-index:20000003}.jodit-dialog_static_true .jodit-dialog__overlay{display:none}.jodit-dialog_active_true,.jodit-dialog_modal_true .jodit-dialog__overlay{display:block}.jodit-dialog__panel{background-color:#fff;-webkit-box-shadow:0 8px calc(8px*2) rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);box-shadow:0 8px calc(8px*2) rgba(0,0,0,.19),0 6px 6px rgba(0,0,0,.23);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-flow:column nowrap;flex-flow:column nowrap;left:0;max-height:100%;max-width:100%;min-height:100px;min-width:200px;position:fixed;text-align:left;top:0;white-space:normal;z-index:20000004}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__panel{height:100%!important;left:0!important;max-width:100%;top:0!important;width:100%!important}}.jodit-dialog_static_true{-webkit-box-sizing:border-box;box-sizing:border-box;display:block;height:auto;position:static;width:auto}.jodit-dialog_static_true .jodit-dialog__panel{border:1px solid #dadada;-webkit-box-shadow:none;box-shadow:none;left:auto!important;position:relative;top:auto!important;width:100%!important}.jodit-dialog_theme_dark{background-color:#353535;color:#fff}.jodit-dialog_theme_dark .jodit-dialog__panel{background-color:#353535;color:#fff}.jodit-dialog__header{border-bottom:1px solid #dadada;cursor:move;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-height:50px;text-align:left}.jodit-dialog__header-title{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:3;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 8px;vertical-align:top}.jodit-dialog__header-toolbar{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-negative:3;flex-shrink:3;font-size:18px;font-weight:400;line-height:48px;margin:0;padding:0 8px;vertical-align:top}@media (max-width:480px){.jodit-dialog__header-toolbar{padding-left:0}}.jodit-dialog__header-button{color:#222;-ms-flex-preferred-size:48px;flex-basis:48px;font-size:28px;height:48px;line-height:48px;text-align:center;text-decoration:none;-webkit-transition:background-color .2s ease 0s;-o-transition:background-color .2s ease 0s;transition:background-color .2s ease 0s}.jodit-dialog__header-button:hover{background-color:#ecebe9}.jodit-dialog__header .jodit_toolbar{background:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.jodit-dialog__header .jodit_toolbar>li.jodit-toolbar-button .jodit-input{padding-left:8px;width:auto}@media (max-width:480px){.jodit-dialog:not(.jodit-dialog_adaptive_false) .jodit-dialog__header{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-dialog_slim_true .jodit-dialog__header{min-height:10px}.jodit-dialog_slim_true .jodit-dialog__header-title{padding:0 calc(8px/4)}.jodit-dialog_slim_true .jodit-dialog__header-toolbar{padding:0 calc(8px/4)}.jodit-dialog_theme_dark .jodit-dialog__header{border-color:#4c4c4c}.jodit-dialog_fullsize_true .jodit-dialog__header{cursor:default}.jodit-dialog__content{-webkit-box-flex:1;-ms-flex:1;flex:1;min-height:100px;overflow:auto}.jodit-dialog__content .jodit-form__group{margin-bottom:calc(8px*1.5);padding:0 8px}.jodit-dialog__content .jodit-form__group:first-child{margin-top:8px}.jodit-dialog__content .jodit-form__group label+.jodit-grid{margin-top:calc(8px/2)}.jodit-dialog__content .jodit-form__group label+.jodit-input_group{margin-top:calc(8px/2)}.jodit-dialog__content .jodit-form__group label+.jodit-select{margin-top:calc(8px/2)}.jodit-dialog__content .jodit-form__group label+input{margin-top:calc(8px/2)}.jodit-dialog__content .jodit-form__group .jodit-input_group{border-collapse:separate;display:table;width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group>*{display:table-cell;height:34px;vertical-align:middle}.jodit-dialog__content .jodit-form__group .jodit-input_group>input{margin:0!important}.jodit-dialog__content .jodit-form__group .jodit-input_group>input:not([class*=col-]){width:100%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons{font-size:0;vertical-align:middle;white-space:nowrap;width:1%}.jodit-dialog__content .jodit-form__group .jodit-input_group-buttons>.jodit-button{border:1px solid #dadada;border-radius:0;height:34px;line-height:34px;margin-left:-1px}.jodit-dialog__footer{display:none;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:8px}.jodit-dialog__footer button{margin-right:calc(8px/2)}.jodit-dialog__footer button:last-child{margin-right:0}.jodit-dialog__column{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-dialog__resizer{display:none;position:relative}.jodit-dialog__resizer svg{fill:#a5a5a5;bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:12px}.jodit-dialog_resizable_true .jodit-dialog__resizer{display:block}@media (max-width:480px){.jodit-dialog__resizer{display:none}}.jodit-dialog_prompt{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_prompt label{display:block;margin-bottom:calc(8px/2)}.jodit-dialog_alert{max-width:300px;min-width:200px;padding:8px;word-break:break-all}.jodit-dialog_footer_true .jodit-dialog__footer{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit_fullsize .jodit-dialog__panel{bottom:0!important;height:100%!important;left:0!important;right:0!important;top:0!important;width:100%!important}.jodit_fullsize .jodit-dialog__panel .jodit-dialog__resizer{display:none}.jodit-toolbar__box:not(:empty){background-color:#fff;border-bottom:1px solid #dadada;border-radius:3px 3px 0 0;overflow:hidden}.jodit-toolbar__box:not(:empty):not(:empty){background-color:#f9f9f9}.jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#f9f9f9}.jodit-ui-messages{bottom:0;height:0;overflow:visible;position:absolute;right:0;width:0;z-index:3}.jodit-ui-message{background:#cfe2ff;border:1px solid #b6d4fe;border-radius:0.375rem;bottom:0;color:#084298;cursor:pointer;display:block;font-size:1rem;opacity:0;padding:0.5rem 1rem;position:absolute;right:calc(8px/2);-webkit-transition:opacity .1s linear,bottom .3s linear,-webkit-transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,-webkit-transform .1s ease-out;-o-transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out;transition:opacity .1s linear,bottom .3s linear,transform .1s ease-out,-webkit-transform .1s ease-out;white-space:pre}.jodit-ui-message_active_true{opacity:1}.jodit-ui-message:active{-webkit-transform:scale(.76);-ms-transform:scale(.76);transform:scale(.76)}.jodit-ui-message_variant_danger{background:#f8d7da;border-color:#f5c2c7;color:#842029}.jodit-ui-message_variant_error{background:#f8d7da;border-color:#f5c2c7;color:#842029}.jodit-ui-message_variant_secondary{background:#e2e3e5;border-color:#d3d6d8;color:#41464b}.jodit-ui-message_variant_success{background:#d1e7dd;border-color:#badbcc;color:#0f5132}.jodit-ui-label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-input{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-ui-input__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-input__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-input__input_has-error_true{border-color:#ff3b3b}.jodit-ui-input__input:focus{outline:0}.jodit-ui-input_theme_dark .jodit-ui-input__input{background-color:#dadada}.jodit-ui-input_has-error_true .jodit-ui-input__input{border-color:#ff3b3b}.jodit-ui-input__error{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-input__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-input__error{color:#ff3b3b}.jodit-ui-input_has-error_true .jodit-ui-input__label{color:#ff3b3b}.jodit-ui-input__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-input__wrapper{min-width:140px}}.jodit-ui-input_theme_dark .jodit-ui-input__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-input_focused_true .jodit-ui-input__wrapper{border-color:#1e88e5}.jodit-ui-input__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-input__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-input__icon:not(:empty)+.jodit-ui-input__input{padding-left:0}.jodit-ui-input__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-input__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-input__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-input_theme_dark .jodit-ui-input__clear svg{fill:#4c4c4c}.jodit-ui-input_theme_dark .jodit-ui-input__icon svg{fill:#4c4c4c}.jodit-ui-block .jodit-ui-input{margin-bottom:0}.jodit-ui-select{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px}.jodit-ui-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-select__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-select__input_has-error_true{border-color:#ff3b3b}.jodit-ui-select__input:focus{outline:0}.jodit-ui-select_theme_dark .jodit-ui-select__input{background-color:#dadada}.jodit-ui-select_has-error_true .jodit-ui-select__input{border-color:#ff3b3b}.jodit-ui-select__error{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-select__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-select__error{color:#ff3b3b}.jodit-ui-select_has-error_true .jodit-ui-select__label{color:#ff3b3b}.jodit-ui-select__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-select__wrapper{min-width:140px}}.jodit-ui-select_theme_dark .jodit-ui-select__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-select_focused_true .jodit-ui-select__wrapper{border-color:#1e88e5}.jodit-ui-select__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-select__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-select__icon:not(:empty)+.jodit-ui-select__input{padding-left:0}.jodit-ui-select__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-select__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-select__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-select_theme_dark .jodit-ui-select__clear svg{fill:#4c4c4c}.jodit-ui-select_theme_dark .jodit-ui-select__icon svg{fill:#4c4c4c}.jodit-ui-select__input{background-image:url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0ye2ZpbGw6IzQ0NH08L3N0eWxlPjwvZGVmcz48cGF0aCBzdHlsZT0iZmlsbDojZmZmIiBkPSJNMCAwaDQuOTV2MTBIMHoiLz48cGF0aCBjbGFzcz0iY2xzLTIiIGQ9Im0xLjQxIDQuNjcgMS4wNy0xLjQ5IDEuMDYgMS40OUgxLjQxek0zLjU0IDUuMzMgMi40OCA2LjgyIDEuNDEgNS4zM2gyLjEzeiIvPjwvc3ZnPg==);background-position:98% 50%;background-repeat:no-repeat;padding-right:calc(8px*2)}.jodit-ui-select_size_tiny{margin-bottom:0}.jodit-ui-select_size_tiny .jodit-ui-select__input{height:calc(32px/1.8);line-height:calc(32px/1.8)}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper{border:0}.jodit-ui-select_variant_outline .jodit-ui-select__wrapper select{outline:0}.jodit-ui-select_width_auto{width:auto}.jodit-ui-select_width_auto .jodit-ui-select__wrapper{min-width:auto}.jodit-ui-text-area{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;margin-bottom:8px;width:100%}.jodit-ui-text-area__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:0;border-radius:0;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;height:32px;line-height:32px;outline:none;padding:0 8px;width:100%}.jodit-ui-text-area__input[disabled]{background-color:#f0f0f0;color:#dadada}.jodit-ui-text-area__input_has-error_true{border-color:#ff3b3b}.jodit-ui-text-area__input:focus{outline:0}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__input{background-color:#dadada}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__input{border-color:#ff3b3b}.jodit-ui-text-area__error{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-text-area__label{color:#a5a5a5;display:block;font-size:.8em;margin-bottom:calc(8px/4)}.jodit-ui-text-area__error{color:#ff3b3b}.jodit-ui-text-area_has-error_true .jodit-ui-text-area__label{color:#ff3b3b}.jodit-ui-text-area__wrapper{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#fff;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;min-width:200px}@media (max-width:480px){.jodit-ui-text-area__wrapper{min-width:140px}}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__wrapper{background-color:#dadada;border-color:#dadada}.jodit-ui-text-area_focused_true .jodit-ui-text-area__wrapper{border-color:#1e88e5}.jodit-ui-text-area__icon:not(:empty){-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding:0 8px}.jodit-ui-text-area__icon:not(:empty) svg{fill:#dadada;height:16px;width:16px}.jodit-ui-text-area__icon:not(:empty)+.jodit-ui-text-area__input{padding-left:0}.jodit-ui-text-area__clear{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;opacity:.8;padding:0 8px 0 0}.jodit-ui-text-area__clear:active{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.jodit-ui-text-area__clear svg{fill:#dadada;height:12px;width:12px}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__clear svg{fill:#4c4c4c}.jodit-ui-text-area_theme_dark .jodit-ui-text-area__icon svg{fill:#4c4c4c}.jodit-ui-text-area__wrapper{-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-ui-text-area__input{height:100%;min-height:60px}.jodit-ui-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-bottom:8px}.jodit-ui-checkbox__input{margin-right:8px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper{display:inline-block;height:34px;margin-right:8px;position:relative;width:60px}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__wrapper input{height:0;opacity:0;width:0}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider{background-color:#ccc;border-radius:34px;bottom:0;cursor:pointer;left:0;position:absolute;right:0;top:0;-webkit-transition:.4s;-o-transition:.4s;transition:.4s}.jodit-ui-checkbox_switch_true .jodit-ui-checkbox__switch-slider:before{background-color:#fff;border-radius:50%;bottom:4px;content:"";height:26px;left:4px;position:absolute;-webkit-transition:.4s;-o-transition:.4s;transition:.4s;width:26px}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider{background-color:#2196f3}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_checked_true .jodit-ui-checkbox__switch-slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.jodit-ui-checkbox_switch_true.jodit-ui-checkbox_focused_true .jodit-ui-checkbox__switch-slider{-webkit-box-shadow:0 0 1px #2196f3;box-shadow:0 0 1px #2196f3}.jodit-ui-block .jodit-ui-checkbox{margin-bottom:0}.jodit-ui-file-input{overflow:hidden;position:relative}.jodit-ui-file-input__input{bottom:0;cursor:pointer;font-size:400px;margin:0 calc(8px*-1) 0 0;opacity:0;padding:0;position:absolute;right:0;top:0}.jodit-ui-block{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:stretch;-ms-flex-pack:stretch;justify-content:stretch;margin-bottom:8px}.jodit-ui-block_width_full{width:100%}.jodit-ui-block_align_full{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.jodit-ui-block_align_right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.jodit-ui-block_padding_true{padding:8px}@-webkit-keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}@keyframes b{30%{opacity:.6}60%{opacity:0}to{opacity:.6}}.jodit-progress-bar{border-radius:1px;height:2px;left:0;opacity:.7;position:absolute;top:0;z-index:2147483647}.jodit-progress-bar div{background:#b91f1f;height:2px;position:relative;-webkit-transition:width .5s ease-out,opacity .5s linear;-o-transition:width .5s ease-out,opacity .5s linear;transition:width .5s ease-out,opacity .5s linear;will-change:width,opacity}.jodit-progress-bar div:after{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;border-radius:100%;-webkit-box-shadow:#b91f1f 1px 0 6px 1px;box-shadow:#b91f1f 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{-webkit-animation:b 2s ease-out 0s infinite;animation:b 2s ease-out 0s infinite;border-radius:100%;-webkit-box-shadow:#b91f1f 1px 0 6px 1px;box-shadow:#b91f1f 1px 0 6px 1px;content:"";display:inline-block;height:2px;opacity:.6;position:absolute;top:0}.jodit-progress-bar div:before{clip:rect(-6px,90px,14px,-6px);right:-80px;width:180px}.jodit-progress-bar div:after{clip:rect(-6px,22px,14px,8px);right:0;width:20px}.jodit-toolbar-collection,.jodit-toolbar-editor-collection{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#dadada calc(14px + calc((14px - 4px)*2) + 2px*2));background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#dadada calc(14px + calc((14px - 4px)*2) + 2px*2));position:relative}.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#dadada calc(14px + calc((14px - 4px)*2) + 2px*2));background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#dadada calc(14px + calc((14px - 4px)*2) + 2px*2));position:relative}.jodit-toolbar-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#fff;bottom:0;content:"";display:block;height:1px;left:0;position:absolute;width:100%}.jodit-toolbar-collection_size_tiny.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px);background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px);background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px);background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-editor-collection_size_tiny.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px);background-image:repeating-linear-gradient(transparent 0,transparent 19px,#dadada 20px)}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px);background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px);background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px);background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-editor-collection_size_xsmall.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px);background-image:repeating-linear-gradient(transparent 0,transparent 25px,#dadada 26px)}.jodit-toolbar-collection_size_small.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px);background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px);background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-editor-collection_size_small.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px);background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-editor-collection_size_small.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px);background-image:repeating-linear-gradient(transparent 0,transparent 31px,#dadada 32px)}.jodit-toolbar-collection_size_middle.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-editor-collection_size_middle.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px);background-image:repeating-linear-gradient(transparent 0,transparent 37px,#dadada 38px)}.jodit-toolbar-collection_size_large.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px);background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px);background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-editor-collection_size_large.jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px);background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-editor-collection_size_large.jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px);background-image:repeating-linear-gradient(transparent 0,transparent 43px,#dadada 44px)}.jodit-toolbar-collection_mode_vertical .jodit-ui-group,.jodit-toolbar-editor-collection_mode_vertical .jodit-ui-group{background-color:transparent;border:0;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2)}.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button{height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2)}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2);width:100%}.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__button{cursor:pointer;height:auto;min-height:calc(14px + calc((14px - 4px)*2) + 2px*2);width:100%}.jodit-toolbar-collection_mode_vertical .jodit-toolbar-button__text:not(:empty),.jodit-toolbar-editor-collection_mode_vertical .jodit-toolbar-button__text:not(:empty){-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left}.jodit-toolbar-collection .jodit-toolbar-button{margin:2px 1px;padding:0}.jodit-toolbar-collection .jodit-toolbar-content{margin:2px 1px;padding:0}.jodit-toolbar-editor-collection .jodit-toolbar-button{margin:2px 1px;padding:0}.jodit-toolbar-editor-collection .jodit-toolbar-content{margin:2px 1px;padding:0}.jodit-dialog .jodit-toolbar-collection_mode_horizontal,.jodit-dialog .jodit-toolbar-editor-collection_mode_horizontal{background-image:none}.jodit-toolbar-button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid transparent;border-radius:3px;display:-webkit-box;display:-ms-flexbox;display:flex;height:34px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-width:34px;overflow:hidden}.jodit-toolbar-button__icon{display:none}.jodit-toolbar-button__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-button__text{display:none}.jodit-toolbar-button__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-button_context_menu .jodit-toolbar-button__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-toolbar-button__icon:not(:empty)+.jodit-toolbar-button__text:not(:empty){margin-left:8px}.jodit-toolbar-button__icon:empty+.jodit-toolbar-button__text:not(:empty){padding:0 8px;padding:0}.jodit-toolbar-button .jodit-icon{height:14px;width:14px}.jodit-toolbar-button button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-button_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_tiny{height:16px;min-width:16px}.jodit-toolbar-button_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-button_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-button_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-button_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-button_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-button_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_small{height:28px;min-width:28px}.jodit-toolbar-button_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-button_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-button_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-button_size_large{height:40px;min-width:40px}.jodit-toolbar-button_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-button_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-button_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-button__button{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;outline:0;padding:0;padding:0 8px;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-button__button:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__button:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__button[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__button[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-button__button[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:0 3px 3px 0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;opacity:.4;width:14px}.jodit-toolbar-button__trigger:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-button__trigger:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-button__trigger[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-button__trigger[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-button__trigger svg{width:10px}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger{width:8px}.jodit-toolbar-button_size_tiny .jodit-toolbar-button__trigger svg{width:4px}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger{width:10px}.jodit-toolbar-button_size_xsmall .jodit-toolbar-button__trigger svg{width:6px}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger{width:12px}.jodit-toolbar-button_size_small .jodit-toolbar-button__trigger svg{width:8px}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger{width:16px}.jodit-toolbar-button_size_large .jodit-toolbar-button__trigger svg{width:12px}.jodit-toolbar-button_with-trigger_true .jodit-toolbar-button__button{border-radius:3px 0 0 3px}.jodit-toolbar-button_with-trigger_true:hover:not([disabled]){border-color:#dadada}.jodit-toolbar-button_stroke_false svg{stroke:none}.jodit-toolbar-content{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:0 0;border:1px solid transparent;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:rgba(0,0,0,.75);cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-style:normal;height:34px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;min-width:34px;outline:0;padding:0;position:relative;text-align:center;text-decoration:none;text-transform:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-toolbar-content:focus-visible:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:hover:not([disabled]){background-color:#dcdcdc;opacity:1;outline:0}.jodit-toolbar-content:active:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-content[aria-pressed=true]:not([disabled]){background-color:hsla(0,0%,86%,.4);outline:0}.jodit-toolbar-content[aria-pressed=true]:hover:not([disabled]){background-color:hsla(0,0%,86%,.6)}.jodit-toolbar-content[disabled]{opacity:.3;pointer-events:none}.jodit-toolbar-content .jodit-icon{height:14px;width:14px}.jodit-toolbar-content button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:34px;min-width:34px;padding:0}.jodit-toolbar-content_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_tiny{height:16px;min-width:16px}.jodit-toolbar-content_size_tiny .jodit-icon{height:8px;width:8px}.jodit-toolbar-content_size_tiny button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:16px;min-width:16px;padding:0}.jodit-toolbar-content_size_tiny_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_xsmall{height:22px;min-width:22px}.jodit-toolbar-content_size_xsmall .jodit-icon{height:10px;width:10px}.jodit-toolbar-content_size_xsmall button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:22px;min-width:22px;padding:0}.jodit-toolbar-content_size_xsmall_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_small{height:28px;min-width:28px}.jodit-toolbar-content_size_small .jodit-icon{height:12px;width:12px}.jodit-toolbar-content_size_small button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:28px;min-width:28px;padding:0}.jodit-toolbar-content_size_small_text-icons_true button{padding:0 8px}.jodit-toolbar-content_size_large{height:40px;min-width:40px}.jodit-toolbar-content_size_large .jodit-icon{height:16px;width:16px}.jodit-toolbar-content_size_large button{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:40px;min-width:40px;padding:0}.jodit-toolbar-content_size_large_text-icons_true button{padding:0 8px}.jodit-toolbar-content__icon{display:none}.jodit-toolbar-content__icon:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.jodit-toolbar-content__text{display:none}.jodit-toolbar-content__text:not(:empty){display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text{-webkit-box-pack:left;-ms-flex-pack:left;justify-content:left;padding-left:8px;position:relative}.jodit-toolbar-content_context_menu .jodit-toolbar-content__text:before{border-left:1px solid #dadada;content:"";height:35px;left:0;position:absolute;top:calc(8px*-1)}.jodit-toolbar-content__icon:not(:empty)+.jodit-toolbar-content__text:not(:empty){margin-left:8px}.jodit-toolbar-content__icon:empty+.jodit-toolbar-content__text:not(:empty){padding:0 8px}.jodit-toolbar-content:focus:not([disabled]){outline:1px dashed #b5d6fd}.jodit-toolbar-content_variant_default{background-color:#e3e3e3;color:#212529}.jodit-toolbar-content_variant_default svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default [disabled]{opacity:.7}.jodit-toolbar-content_variant_default:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_default:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_default:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_default:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_primary{background-color:#007bff;color:#fff}.jodit-toolbar-content_variant_primary svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary [disabled]{opacity:.7}.jodit-toolbar-content_variant_primary:hover:not([disabled]){background-color:#0069d9;color:#fff}.jodit-toolbar-content_variant_primary:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]){background-color:#0062cc;color:#fff}.jodit-toolbar-content_variant_primary:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_primary:focus:not([disabled]){outline:1px dashed #0062cc}.jodit-toolbar-content_variant_secondary{background-color:#d8d8d8;border-radius:0;color:#212529}.jodit-toolbar-content_variant_secondary svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary [disabled]{opacity:.7}.jodit-toolbar-content_variant_secondary:hover:not([disabled]){background-color:#c9cdd1;color:#212529}.jodit-toolbar-content_variant_secondary:hover:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]){background-color:#dae0e5;color:#212529}.jodit-toolbar-content_variant_secondary:active:not([disabled]) svg{fill:#212529;stroke:#212529}.jodit-toolbar-content_variant_secondary:focus:not([disabled]){outline:1px dashed #dae0e5}.jodit-toolbar-content_variant_success{background-color:#28a745;color:#fff}.jodit-toolbar-content_variant_success svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success [disabled]{opacity:.7}.jodit-toolbar-content_variant_success:hover:not([disabled]){background-color:#218838;color:#fff}.jodit-toolbar-content_variant_success:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]){background-color:#1e7e34;color:#fff}.jodit-toolbar-content_variant_success:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_success:focus:not([disabled]){outline:1px dashed #1e7e34}.jodit-toolbar-content_variant_danger{background-color:#dc3545;color:#fff}.jodit-toolbar-content_variant_danger svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger [disabled]{opacity:.7}.jodit-toolbar-content_variant_danger:hover:not([disabled]){background-color:#c82333;color:#fff}.jodit-toolbar-content_variant_danger:hover:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]){background-color:#bd2130;color:#fff}.jodit-toolbar-content_variant_danger:active:not([disabled]) svg{fill:#fff;stroke:#fff}.jodit-toolbar-content_variant_danger:focus:not([disabled]){outline:1px dashed #bd2130}.jodit-toolbar-content:hover:not([disabled]){background-color:transparent;opacity:1;outline:0}.jodit-filebrowser{display:-webkit-box;display:-ms-flexbox;display:flex;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;height:100%}.jodit-filebrowser_no-files_true{padding:8px}@media (max-width:480px){.jodit-filebrowser{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-flow:column-reverse;flex-flow:column-reverse}}.jodit-dialog .jodit-dialog__header-title.jodit-filebrowser__title-box{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;padding-left:8px}.jodit-filebrowser-preview{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:auto;max-height:100%;max-width:Min(100%,1000px);min-height:Min(100%,500px);min-width:400px;position:relative;text-align:center}@media (max-width:768px){.jodit-filebrowser-preview{height:100%;max-height:100%;max-width:100%;min-height:auto;min-width:auto}}.jodit-filebrowser-preview__box{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-filebrowser-preview__navigation{cursor:pointer;height:100%;left:0;position:absolute;top:0}.jodit-filebrowser-preview__navigation_arrow_next{left:auto;right:0}.jodit-filebrowser-preview__navigation svg{fill:#9e9ba7;height:45px;position:relative;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:fill .3s linear;-o-transition:fill .3s linear;transition:fill .3s linear;width:45px}.jodit-filebrowser-preview__navigation:hover svg{fill:#000}.jodit-filebrowser-preview img{max-height:100%;max-width:100%}.jodit-image-editor{height:100%;overflow:hidden;padding:8px;width:100%}@media (max-width:768px){.jodit-image-editor{height:auto}}.jodit-image-editor>div,.jodit-image-editor>div>div{height:100%}@media (max-width:768px){.jodit-image-editor>div,.jodit-image-editor>div>div{height:auto;min-height:200px}}.jodit-image-editor *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-image-editor .jodit-image-editor__slider-title{background-color:#f9f9f9;border-bottom:1px solid hsla(0,0%,62%,.31);color:#333;cursor:pointer;font-weight:700;line-height:1em;padding:.8em 1em;-o-text-overflow:ellipsis;text-overflow:ellipsis;text-shadow:#f3f3f3 0 1px 0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.jodit-image-editor .jodit-image-editor__slider-title svg{display:inline-block;margin-right:8px;vertical-align:middle;width:16px}.jodit-image-editor .jodit-image-editor__slider-content{display:none}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title{background-color:#5d5d5d;color:#fff;text-shadow:#000 0 1px 0}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-title svg{fill:#fff}.jodit-image-editor .jodit-image-editor__slider.jodit-image-editor_active .jodit-image-editor__slider-content{display:block}.jodit-image-editor__area{background-color:#eee;background-image:-o-linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada),-o-linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada);background-image:linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada),linear-gradient(45deg,#dadada 25%,transparent 25%,transparent 75%,#dadada 75%,#dadada);background-position:0 0,15px 15px;background-size:30px 30px;display:none;height:100%;overflow:hidden;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.jodit-image-editor__area.jodit-image-editor_active{display:block}.jodit-image-editor__area .jodit-image-editor__box{height:100%;overflow:hidden;pointer-events:none;position:relative;z-index:1}.jodit-image-editor__area .jodit-image-editor__box img{max-height:100%;max-width:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-image-editor__area .jodit-image-editor__croper{background-repeat:no-repeat;border:1px solid #fff;-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:8px;width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__resizer{background-repeat:no-repeat;border:1px solid #fff;-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;height:100px;left:20px;pointer-events:none;position:absolute;top:8px;width:100px;z-index:2}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright{background-color:#8c7878;border:1px solid #383838;border-radius:50%;bottom:calc(8px*-1);-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:calc(8px*-1);width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright{background-color:#8c7878;border:1px solid #383838;border-radius:50%;bottom:calc(8px*-1);-webkit-box-shadow:0 0 11px #000;box-shadow:0 0 11px #000;cursor:se-resize;display:inline-block;height:20px;pointer-events:all;position:absolute;right:calc(8px*-1);width:20px;z-index:4}.jodit-image-editor__area .jodit-image-editor__croper i.jodit_bottomright:active,.jodit-image-editor__area .jodit-image-editor__resizer i.jodit_bottomright:active{border:1px solid #ff0}.jodit-image-editor__area.jodit-image-editor__area_crop{background:#eee;height:100%;line-height:100%;position:relative;text-align:center}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box{height:100%;line-height:100%;overflow:visible;pointer-events:all;text-align:left}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box img{height:100%;max-height:100%;max-width:100%;width:100%}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box:after{background:hsla(0,0%,100%,.3);bottom:0;content:"";left:0;margin:auto;position:absolute;right:0;top:0;z-index:1}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper{cursor:move;pointer-events:all}.jodit-image-editor__area.jodit-image-editor__area_crop .jodit-image-editor__box .jodit-image-editor__croper i.jodit-image-editor__sizes{background:rgba(0,0,0,.2);border-radius:.4em;bottom:-30px;color:#fff;display:block;font-size:12px;left:100%;padding:9px 6px;position:absolute;text-align:center;text-shadow:none;white-space:pre}.jodit-image-editor__area.jodit-image-editor__area_crop.jodit-image-editor_active{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-filebrowser-files{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-filebrowser-files .jodit-button{border-radius:0}.jodit-filebrowser-files_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-filebrowser-files_loading_true:after{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:calc(48px/-2);margin-top:calc(48px/-2);opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-filebrowser-files_active_true{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-filebrowser-files::-webkit-scrollbar{width:calc(8px/2)}.jodit-filebrowser-files::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-files::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-filebrowser-files_active_true{-ms-flex-line-pack:start;align-content:flex-start;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow-y:auto;padding:calc(8px/2);width:100%}.jodit-filebrowser-files__item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:1px solid #dadada;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:0;height:150px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:calc(8px/2);overflow:hidden;position:relative;text-align:center;-webkit-transition:border .1s linear,bottom .1s linear;-o-transition:border .1s linear,bottom .1s linear;transition:border .1s linear,bottom .1s linear;width:150px}@media (max-width:480px){.jodit-filebrowser-files__item{width:calc(50% - 8px)}}.jodit-filebrowser-files__item img{max-width:100%}.jodit-filebrowser-files__item:hover{border-color:#433b5c}.jodit-filebrowser-files__item_active_true{background-color:#b5b5b5;border-color:#1e88e5}.jodit-filebrowser-files__item_active_true .jodit-filebrowser-files__item-info{background-color:#b5b5b5;color:#fff;text-shadow:none}.jodit-filebrowser-files__item-info{background-color:#e9e9e9;bottom:0;color:#333;font-size:14px;left:0;line-height:16px;opacity:.85;overflow:visible;padding:.3em .6em;position:absolute;right:0;text-align:left;text-shadow:#eee 0 1px 0;-webkit-transition:opacity .4s ease;-o-transition:opacity .4s ease;transition:opacity .4s ease;white-space:normal}.jodit-filebrowser-files__item-info>span{display:block;font-size:.75em;overflow:hidden;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.jodit-filebrowser-files__item-info>span.jodit-filebrowser-files__item-info-filename{font-size:.9em;font-weight:700}.jodit-filebrowser-files__item:hover:not(.jodit-filebrowser-files__item_active_true) .jodit-filebrowser-files__item-info{bottom:-100px}.jodit-filebrowser-files_view_list{scroll-behavior:smooth}.jodit-filebrowser-files_view_list a{border-width:0 0 1px;display:block;height:26px;line-height:26px;margin:0;text-align:left;white-space:nowrap;width:100%}.jodit-filebrowser-files_view_list a img{display:inline-block;margin-left:4px;max-width:16px;min-width:16px;vertical-align:middle}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info{background-color:transparent;display:inline-block;font-size:0;height:100%;line-height:inherit;margin-left:4px;padding:0;position:static;vertical-align:middle;width:calc(100% - 20px)}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info>span{display:inline-block;font-size:12px;height:100%}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filename{width:50%}.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filechanged,.jodit-filebrowser-files_view_list a .jodit-filebrowser-files__item-info-filesize{width:25%}.jodit-filebrowser-files_view_list a:hover{background-color:#433b5c}.jodit-filebrowser-files_view_list a:hover .jodit-filebrowser-files__item-info{color:#fff;text-shadow:none}.jodit-filebrowser-files_view_list a:before{content:"";display:inline-block;height:100%;vertical-align:middle}.jodit-filebrowser-tree{display:none;height:100%;overflow-anchor:auto;position:relative;vertical-align:top}.jodit-filebrowser-tree .jodit-button{border-radius:0}.jodit-filebrowser-tree_active_true{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-filebrowser-tree_loading_true:before{content:"";height:100%;left:0;position:absolute;top:0;width:100%}.jodit-filebrowser-tree_loading_true:after{-webkit-animation:a 2s ease-out 0s infinite;animation:a 2s ease-out 0s infinite;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAABRsSURBVHja7F1/aJfVGn/33RgUg8FiNfK2WCykyS7GLoYyUbwYipZMumgLo+iPS9HlXhSHkRXdislESxMz0mapuaFo2myjkfnNlTQ2FJdTu8NvLVcrdbpcfGvxrfs823m/vXt3fjznvOedzr0PPJzzPe+7d+97Ps95nuc851fGAw884CD98ccfI1Jqmc3UpEyQz4FkMqRTgYshn8fymZ57SyGbzf5mENIOz9+ngE9Atg/SLkhPQHoWeEDn3SmpSZlJnvf7ypUrTpb7IyMjY+gGN6WWmaY84l2T3c+u58D1csjOgvwsyBdBvsDRo2zgMl/ZNM59vcAJ4Dj8nzikLa5QmBLv28YCfPd3li7gPHBMwKdcEwhCJgN6FoLOWJtUgiWovALG04FXsbI44xbgw8AplbaU/Q+ZQNgGf0gA/JWhC1aQyle1eN91rPRKKKuEsjzZvSph0m2RiutpIYRrfZC8B+l7kB6jgq0CnQIy9X39v2NYQW5FeUFQlQVN/aALyiYBPw/5M5B+Dvw02vMggqcDukEl57F3xHf9H747+4bA5oD6dzqaYEgAqIDbBl9RhvZ4H/B5yL+IDp3oXhmwNkm3lTLn80VIz+O3QFqm2/rHwgeI6QDOa006LZ3Q4lHNNwK3AVeYAD4WgmHQUivYNzWyb7xufICYaavXVbuKZ6MXfwRVJ+TnXW+Am/oMnNaO3/Y5pPitcyh/a6LqtXwAt+J01LVFEzAJ0jpIj7JunJYd1wHchnBQHUSC3Uan8WPgPVgHlBiBCcAkH4Da2i2DjwGZlcy5W0K17zLwVb9NgaY4iJpawJs+BCnWwUo3SKXT4oOAP8IHCFsIfMCguj8JaQ2kOaaA227d10ALuIR1gHVxErjctPtHBd8btSR3A4MIgSePAZxqVPeQlthq7ZRuZVABCVkLuGkJpGgKsY4ybfUEVO84qhsoAzSgrUfHZ1UQVe99B6o2oMYdwg7latAq5iROGoueQExW6UE0gCe/ANIh9SZ6jqkWsN3STZ0rHWEgpkNmEvILxqQbSAXaAPxqSBswQkbpbpo6fGPR0m3GBYjBIIwqNjCTEAr4wkBQUA0AjKNrdZCu0okAqgQhTKCDhFxV91BNgsDuYx3WQZptG3xtDUCJEDKvthGuLVEJlq4gUMyAylfQERadPrhKOHTmB3Ces4RFEXNsgW8UClbZcEhxqPQIpHOord2k1ZsAH4YvYNJXN3EgWX4Ocw4LbIEvDQSJfADJtULWxSuj+BBUP4DaC6D0DkyFg6JKTVo/5brvXqzbo2zSi3af3/9bGgrW1Ar5kH4MXEzVHEHVf5CuYZC4fti9AoI/gXX8Eda5Tp9f9I4xWWsnOoc5zNMv1okjmKp/vzay3epNJ4+YmALdoWBPWTHksc5zTU1AekqYt7LcWTruTYTZQdmQHoB0GuXv/de8L8e7xrsuA8kPNtx3AZIOxp3APc7wvD6kvi+//DLh3nvPPfegWs1jf4dBGGxpOA+hlOXzgw7VBjEBnDKcs4jzDOZDOmjqD2SJQFGBx9JaSOcQ7xVO2RIJhf86AfB+Z3huHs7Ra2pra+ugtubTp0+jMLgC0e6/ftddd6EgzMO5iGwSaq4NITCdLczy6GzXAj8KnDIxAaM0AKeViwCtgbRSNgGUJwQyDaACngO4w6S/CXgb8KEvvvgiFUaw59y5c64mWXvnnXdmsijdYxjpdP6cXh6oS0g1Bb48zpFEzValA3663pcuXaoleSzFltBIlWhRmWx+v6yMcQJ4PU7A/Oyzz/qca0R33HEHrjlAEJa73rns24JqA0keTUGTjglIJpNOxsMPP6wLfiGkx53hxRbcewwXc1BAx0u4gGMNcP2nn36acq4juv322ytZ5K7UlhBo5LER3AvcTXU60wKgYbsyWTCi3LTV6wLvKesGrvrkk0/qneucCgoKHoJkHbxvYRAhMMij/zMbVzZRTMAvv/wycj4AoRv4Mk7oII4HkLp+vC6drwxt/FrgKeMBfKTe3t69UMFTgPG9B3WcQdMeBsvjhJJqnYGqjMrKSmr/tZxNWAi87o9i+1l5O6SPNjc3dzrjlPLz83HyC/aWpqk0gWZUUHZtJvxuUZmAtAYgtHycr/a6qIXz2DQI5OH1UDRjPIOPdOHChU6o+JmQXW+68JYS4vUB/bozvN5RGAImdwPZA3AC51RKrMAfyBHFGCRBnz4oe7ypqemgc4PQxYsX0YytuOWWW3BRaa3DWd0U1A/w/Z4KvBx4jcoExAitE6dzPStr3RR/QKQ5fOUJ4PsaGxtvGPC9dOnSJfyu+7ALa9MJFPx+lkU05YNBBDVdg0uwKc4eAWCZ83cC8jM+/PDDLucGpr6+Pvy+GWz/ASs9AMFvd7ax1ATEFOBjmLdSBraN3gBwHHhmQ0NDrzMB6PLly73MUYubOs3EiB/GJebyTEB6QogCnGrV6KAFR7AVeP4HH3ww4EwgunLlCn7vfACi1UQDqMb5PWUvm5qAB3HESXNomKz2GaOHv/DAgQNJZwJSf38/fvdC3J5G1iPQnf3jK5sGvx80MQHP69hxHWZ/2wN8//vvv3/BmcD0008/XWCaoEcUJ6C0eoUWeFbXBOBCzTKKJ2/YExgEXrRv374eJyLn6tWrWA+LAJRBy+o/rQUQUx0TsFwzRKzLK/bu3dseQf8nDQwMYH2sCOL0ibx9Vr6cagIKmf0nxe8pguC7vn/Pnj2bIshH088//4z1st+m+veUI6ZFFBOwLGj/XqIh0O4/HkEtJgDmcZ4/EED9e69VKk0ACoDN1u/jqrq6uv4IZjElk0msnypbwPs0wTKVCUBnYbLuMC5REA7v3r37vQhikhBgPTWrTAEFeB9NZt3C0SbAr/6DdPM4jF7/PyNotUzBU26vgAo8x+7zri3jmgAgnOJdKYrVB9QEb+zcubMrgpVOv/76K9bXGzrACwTJfw1D+9k8EzAXOE8GviEPAK+JIDXSAlhvA7yWTWztvMfiXM65PBNQrgLfUBi2v/vuu70RnPo0ODjYC0BtN3D2VNfLR5gAz04eRn17yb0p4A0RlIEI6y+la/MV1xf4fYACSEtDiP031dbWRrY/AP32229dAGCTrs1XrHHEaesFXh+gXCfooyEM2yIIrdC2ADZ/1D1eM+CagHLJ5ExTxrl9hyLsrDiDWI99EjApgPvLRwhAmQh4HV/Axwe3bt06GMEXnFKpFK4tOBgQcH95WdoEAE01nc8Xi8VEArA3gs4q7VWpfsHaCpEg4GrnoeXhOEKUw3u4yZYqbGo4Lk2KR5hZpcOsXjO9GIm0AYFycTErmoDJVLWu0Tto3bJly0CEmT36/fffkzh/UKfVE3yLkix3Xx+v5FjYaaslgiwUZxDrdbrm38guF6EAFFKAF5kEwcFPrRFcoVCrIdAiKsSlYUWqFi/zBwTXOiKsQqGOIKe1cQRmSAPkmYIv0ADY9Yuif+GYgC5Wv9kB1L6X8lAA8k3BFwhB94YNG1IRXPYJutwpINwBpNjSI/O5AhDQGUxEUIVKCRMBEGiFIQG4yX+Daf+fPacvwihUM2Czfm/KcgMLtjZZhudEY//hks2VVJlZ7tJvi5SMMApVA9gMsOVkXYvDFiO6fggFACUqJ6qKcaMBbD5uAH2AlE0fIKJxRSnUAGizcykePtWzjOo1VA2gpa0V2CVRALBbURDwQV4qiGAKVQDyLZ571JfFum0lFqTJvScvgilUytPxAxSY9boawMbD3OtFEUahaoAinQap0gA4JSzhPswSFz733HOZEVT2KZlMYr0WesGV7KpOoQRqgG6DVi4rx5EqjFWfjSCz3vqLHd9IoGyYnoBjNwpAwhBoWXlpJAChCECpv66p5ycJBCSBcwI7daZ7E83FtAiuUGgaT/WLACaYhk4MBCVk0UDKWb2c3+URVqFogOm8OqccqMW5d+Dmm29OuGsDOyw7gmUvvfRSFBCySFevXsX6LBO1cIoG8NEQ5u7KoFbLi0Kz3fODI7JGeHbwTSJADcxCq1cAWnR39yYIQUWEmVX1X2G6SYTgnhavABwL0uoF91dUV1dnR9AFp/7+fjysq0IGvIEGODYkAOwa7t/XYXl3kDzgBRF8Vgg3eczT2SqGYP97vBoA83ELrd6/WPSJCDsr6v8Jw91BRdfS6za9ewQ1qVo9RQv47plXU1NTHEFoTpcvX8aTwueJgKdoAI4wpE8Y9e4SdtgdGLK4S1gm8L8jGAO1fqy/TNmiUE1hQIwPj9AADOQk7ugRdJ9ADj+2bt26aI6AAV26dAnr7THqnsFEYTgEnBRtFl0fwk6hOcCrIjiNaBXOAKIcuq3hG4w4fTXma+lNOEHEZFs4hcA8+eqrr0a+gAZdvHgRbf+TsrMDDMxBr2v/eT7A0L5+8HN7AKdPFhncHMGqZftfB84Wga0yBwKtsN1hk4B5PsCIrd0C2HwRz924cWNlBK2afvzxx0rX89c5Qo4gCNv85bwDI7r8XUKqynfL/KmHazZt2pQbQSymH374AffuqeEB7gWXCrzHFCCmXf5niE4NWxPkJFAJ41GmtRHMUtWP9TNJdYScgQZYo3NoFEYF21WmgAq8776KzZs3Px1BPZq+//57rJcKXhg3oClo90b/qCeHvqLjA2j6B+u2bNlSFkH+J3333XdlAMo6ntq3cJroK6K4gOzgyP2oBaj2nqIdPGXYKzjw5ptvToqgd5yenh5U+Qcgmy07UdxQA7QD7xfFClSnh68Oelag6H5n+Fj6j9566638iQz++fPn8wGMRq/dV4EviwVwrq0W9QpUJsAdINof5LRQxfNLgBu2bt06IaePffvttzjDp8EZ3r6dDL7sQEkfyAdVW82rjo9H/hdkB2y2ft89eEB149tvvz2hlqh/8803OazlTzMFX6ENcKLvU7LgEMUEuIc9vqLb+inBJE8ezyo+un379gkxaPT111/jdx4FEGbJwOd1A2VdQ9896Pj1qIJDMSJI6yHpNGnpGlHFqVgp77zzzg29tjCRSBQx8KfKWrmJBvDkO4HXU3oI7pQwFUDpc/8s9ABk14uB23bs2HFDTiU7d+7cAqj4NrbESxtojeAQYjWoOnyaqwF4AsFSnDm81lT1y2YZ+cpwLmHDzp07a3bt2nVDTCrt6urKBq5hDl8eBXCTHgGjtWxTaVK8IEYFjKWrvVPIdU8VE2kMgUCsBD6ye/fukvEM/ldffVUCFX4EsitVtl3UYjU0wDHg1dQIodQJFJShKXgE0j5dLaACn6MJkKcDH6+rq6uur68fV72EM2fO5Jw9e7YasseBp5u0cKoQsDxO9Vrqqn6R2hdGAjWEoBvSR03B9wPNA95HGDVcBXxqz549D40H8E+fPo3vecoZntGTreqzmwgBRyDw2Plu3TBxxmuvvcYFUQYwy+OQ5UoV6DITQzEJnGsdbLSyfvHixdfVptSnTp2qZMJaqtsVVtWbAiP0zap498ryt956q5OxYcMGyj/gpbhbxS5IlwSJBQQYYsZVzWtREBYtWnTN9ic+efIkOq1LmM9SZDKplioQgrJ6ZpZTVODd32kBIEoZL0UvvdFdCBoUfGo8gXM0/UHgHTireeHChaFrhePHj+N0dzxqdxnwg2xwS0vD6YIvwAOnd89nvhkZeJduu+02J2Pjxo0UKZO9GM7w+cjdFMIgCmiqAXj39bO5DPFYLNY8b948ayeXtLW1lbIT1mcxzjVZUGtqCjh44Bj/34H7ZXjJhCItAAHAd1Mc0fvcPYAqCPhBhIHDF5jP0MF2QkmwE02HTMjs2bPTpqOlpSXPVeHABSwoVcLsOebzTWZH2fADOClO7ZqB3yfDTWUSUACyiHZG9UJY0SiNH7PKIjsiqt6BooegIhTMOYxHUTweN3q26EAN/wkr3t+qvEaKczbvxzoXPcf7brL/a9oNFKXYPZzpnUpGlX6dbqHIDIRNlIWXsuibbjdQkGLdzoQ0YfJ/uJFAamsndllw19HZzDlxVGFmkcqilFnSEFotnnKNOlZPGQX0lWOdzoa01xR47nCwDtBEpwbHoedj94wy0KSKCOoIQhgaQrXZgkoYdMCXPAvrcr57WITuXEHlcLCu00cQGjza7BEcRjbRAFSNQAXXVAh0zuY1BV/Q2r3pekixnz+oGRomvVtMV9Vr3I/98RXAC73LzoM4grIWb1sIxgp8iSnAOlsIKdZhynB8QG8wiKIBDPyCQ5C9F0cRKY6gDFwZ2DaFIEzwCS3e3b/nXlzKras1dFr/KA2go/5FLVRwfzdzDtfodgupZoFqGohbqIYGPsH+Yx3NxF6V7D2omkXlmMZM1T8PDMXfoUl4BruKkHaaaANbtj2MnoEJ+L6/72RdvGe8Kt9kjqBOj4SsAUyvce7BCSV/Ba6C/EBYXcSg5oIKtqkj5ikbgLSKqfwWaheRWqZ6j1gIAFPuQW2AI3lTIN0b1CSonMSwYgCU6wqQ8NunsOHcQcozVKZIVwhiKjVuMEihY0YwevgPSDG0eUy3ezjWYOsEhRRAHWPf/A93Egc1MKTj+FGEIGZhIEgJiMzPYPlmHNxgjmLTtRSCsOw+o2YWzcNvbTYIBVsVgrQGsAW+6cCSJx9nUcS/QbrfVAjCDgQZ/P1+yOM33Q9pPMizqCaAKgSxsMCntk6B2sdVyYsh/QvwC7hriY4QhCkUGi0e3/kF/AYow29pJ8YArJkAihDEwgRfVyNw8rif7X+B74Y8qs03nOGNDq0IgQ3Afff0sXecAfm72bv3UFoxpdWbtH7V32cFcfgoLcyCEKQdJ9zVHNL/AM9ijOP808MYD/CP7UvuO8ZGP+OMB3nP4T1PNfYvey/KXAPKd2XpevA27iWYANk9g8yZamblOa5A4FQtZ/jEsjybWsBTaX1sQkbcA/iACAQd0E2EQgU8RUiyKC02qGnQjS6qwPP9LQJwiLFLuUwQcBuaIiYQuBjTPc8wk/32VtYJFq104xQnmLlJMPuNNr3fUEuQQtDUVm8DeNcc/F+AAQBKd8HaIWdjwQAAAABJRU5ErkJggg==) no-repeat 50%;background-size:100% 100%;content:"";display:inline-block;height:48px;left:50%;margin-left:calc(48px/-2);margin-top:calc(48px/-2);opacity:.7;position:absolute;top:50%;vertical-align:middle;width:48px;will-change:transform}.jodit-filebrowser-tree::-webkit-scrollbar{width:calc(8px/2)}.jodit-filebrowser-tree::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-tree::-webkit-scrollbar-thumb{background-color:#a9a9a9;outline:1px solid #708090}.jodit-filebrowser-tree_active_true{background-color:#3f3f3f;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;max-width:290px;min-width:200px;overflow-y:auto;width:31%;z-index:2}@media (max-width:480px){.jodit-filebrowser-tree_active_true{height:100px;max-width:100%;width:auto}}.jodit-filebrowser-tree_active_true::-webkit-scrollbar{width:calc(8px/2)}.jodit-filebrowser-tree_active_true::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.jodit-filebrowser-tree_active_true::-webkit-scrollbar-thumb{background-color:hsla(0,0%,50%,.5);outline:1px solid #708090}.jodit-filebrowser-tree__item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #474747;color:#b1b1b1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;min-height:38px;padding:calc(8px/2) 8px;position:relative;text-decoration:none;-webkit-transition:background-color .2s ease 0s;-o-transition:background-color .2s ease 0s;transition:background-color .2s ease 0s;word-break:break-all}.jodit-filebrowser-tree__item-title{color:#b1b1b1;-webkit-box-flex:1;-ms-flex:1;flex:1}.jodit-filebrowser-tree__item .jodit-icon_folder{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:calc(12px + 4px);-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-left:calc(8px/2);opacity:.3;width:calc(12px + 4px)}.jodit-filebrowser-tree__item .jodit-icon_folder svg{fill:#b1b1b1!important;stroke:#b1b1b1!important;height:12px;width:12px}.jodit-filebrowser-tree__item .jodit-icon_folder:hover{background:#696969}.jodit-filebrowser-tree__item:hover{background-color:#ecebe9}.jodit-filebrowser-tree__item:hover-title{color:#222}.jodit-filebrowser-tree__item:hover i.jodit-icon_folder{opacity:.6}.jodit-filebrowser-tree__source-title{background:#5a5a5a;border-bottom:1px solid #484848;color:#969696;display:block;font-size:12px;padding:2px 4px;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;word-break:break-all}a+.jodit-filebrowser-tree__source-title{margin-top:8px}.jodit-status-bar{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f9f9f9;border-radius:0 0 3px 3px;color:rgba(0,0,0,.75);display:-webkit-box;display:-ms-flexbox;display:flex;font-size:11px;height:20px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;overflow:hidden;padding:0 calc(8px/2);text-transform:uppercase}.jodit-status-bar_resize-handle_true{padding-right:14px}.jodit-status-bar:before{content:"";-webkit-box-flex:1;-ms-flex:auto;flex:auto;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.jodit-status-bar .jodit-status-bar__item{line-height:1.57142857em;margin:0 8px 0 0;-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0;padding:0}.jodit-status-bar .jodit-status-bar__item{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item>span{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-size:11px}.jodit-status-bar .jodit-status-bar__item.jodit-status-bar__item-right{margin:0 0 0 8px;-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}.jodit-status-bar .jodit-status-bar__item a{border-radius:3px;cursor:default;text-decoration:none}.jodit-status-bar .jodit-status-bar__item a:hover{background-color:#dadada;text-decoration:none}.jodit-status-bar a.jodit-status-bar-link{cursor:pointer}.jodit-status-bar a.jodit-status-bar-link{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:hover{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:visited{background-color:transparent;color:rgba(0,0,0,.75)}.jodit-status-bar a.jodit-status-bar-link:hover{text-decoration:underline}.jodit-workplace+.jodit-status-bar:not(:empty){border-top:1px solid #dadada}.jodit_disabled .jodit-status-bar{opacity:.4}.jodit-drag-and-drop__file-box{border:1px dashed #dadada;margin:8px 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit_uploadfile_button{border:1px dashed #dadada;margin:8px 0;overflow:hidden;padding:25px 0;position:relative;text-align:center;width:100%}.jodit-drag-and-drop__file-box:hover{background-color:#ecebe9}.jodit_uploadfile_button:hover{background-color:#ecebe9}.jodit-drag-and-drop__file-box input,.jodit_uploadfile_button input{bottom:0;cursor:pointer;font-size:400px;left:0;margin:0;opacity:0;padding:0;position:absolute;right:0;top:0}@media (max-width:768px){.jodit-drag-and-drop__file-box{max-width:100%;min-width:180px;width:auto}}.jodit-about{padding:20px}.jodit-about a{color:#459ce7;text-decoration:none}.jodit-about a:focus,.jodit-about a:hover{color:#23527c;outline:0;text-decoration:underline}.jodit-about div{margin-bottom:calc(8px/2)}.jodit-add-new-line{display:block;height:1px;outline:none;position:fixed;top:0;z-index:1}.jodit-add-new-line,.jodit-add-new-line *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-add-new-line:after{background-color:#6b6b6b;content:"";display:block;height:1px;width:100%}.jodit-add-new-line span{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:hsla(40,7%,92%,.3);border:1px solid #6b6b6b;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:30px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;left:calc(100% - 30px);position:absolute;width:30px}.jodit-add-new-line span:hover{background:#ecebe9}.jodit-add-new-line_after span{bottom:0}.jodit-add-new-line svg{fill:#6b6b6b;width:16px}.jodit-source__mode .jodit-add-new-line{display:none!important}.jodit-color-picker{margin:0;text-align:left;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-color-picker__group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-bottom:calc(8px/2);max-width:calc(24px*10);white-space:normal}.jodit-color-picker__color-item{border:1px solid transparent;display:block;height:24px;text-align:center;text-decoration:none;vertical-align:middle;width:24px}.jodit-color-picker__color-item:hover{border-color:#000}.jodit-color-picker__color-item:active{border:2px solid #1e88e5}.jodit-color-picker__color-item_active_true{border:2px solid #1e88e5}.jodit-color-picker__native svg{display:inline-block;height:16px;margin-right:4px;width:16px}.jodit-color-picker__native input{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;height:18px;padding:0;width:18px}.jodit-color-picker__native input[type=color]::-webkit-color-swatch-wrapper{padding:0}.jodit-color-picker__native input input[type=color]::-webkit-color-swatch{border:none}.jodit-tabs{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px}.jodit-tabs .jodit-tabs__buttons{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;line-height:18px;margin-bottom:calc(8px/2);margin-top:4px}.jodit-tabs .jodit-tabs__buttons>*{cursor:pointer;margin-left:calc(8px/2)}.jodit-tabs .jodit-tabs__buttons>:only-of-type{width:100%}.jodit-tabs .jodit-tabs__buttons>:first-child{margin-left:0}@media (max-width:480px){.jodit-tabs .jodit-tabs__buttons{display:block}.jodit-tabs .jodit-tabs__buttons>*{margin-left:0;width:100%}}.jodit-tabs__button{min-width:80px}.jodit-tabs__button_columns_3{width:33.33333%}.jodit-tabs__button_columns_2{width:50%}.jodit-tabs .jodit-tabs__wrapper .jodit-tab{display:none}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_active{display:block}.jodit-tabs .jodit-tabs__wrapper .jodit-tab.jodit-tab_empty{min-height:100px;min-width:220px}.jodit_fullsize-box_true{overflow:visible!important;position:static!important;z-index:100000!important}body.jodit_fullsize-box_true,html.jodit_fullsize-box_true{height:0!important;overflow:hidden!important;width:0!important}html.jodit_fullsize-box_true{position:fixed!important}.jodit_fullsize{bottom:0;left:0;max-width:none!important;position:absolute;right:0;top:0;z-index:100000}.jodit_fullsize .toolbar{width:100%!important}.jodit_fullsize .jodit__area,.jodit_fullsize .jodit_editor{height:100%}.jodit-properties__lock>svg,.jodit-properties__unlock>svg{fill:#222;display:inline-block;font-size:8px;font-style:normal;height:14px;line-height:14px;overflow:hidden;-webkit-transform-origin:0 0!important;-ms-transform-origin:0 0!important;transform-origin:0 0!important;vertical-align:middle;width:14px}.jodit-properties .jodit-properties_view_box{padding:8px}.jodit-properties .jodit-properties_view_box .jodit-properties_image_view{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:#f6f6f6;display:-webkit-box;display:-ms-flexbox;display:flex;height:150px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:0 0 8px;padding:0}.jodit-properties .jodit-properties_view_box .jodit-properties_image_view img{max-height:100%;max-width:100%}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group{-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;margin:0!important;min-width:auto;padding:0!important}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group a{cursor:pointer;display:inline-block}.jodit-properties .jodit-properties_view_box .jodit-properties_image_sizes.jodit-form__group .jodit-input{width:calc(50% - 8px)!important}.jodit-popup-inline__container{min-width:700px;z-index:1300}.jodit-paste-storage{max-width:600px;padding:8px}@media (max-width:768px){.jodit-paste-storage{max-width:100%}}.jodit-paste-storage>div{border:1px solid #dadada;max-height:300px;max-width:100%}.jodit-paste-storage>div:first-child{margin-bottom:8px}.jodit-paste-storage>div:first-child a{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#4c4c4c;display:block;margin:0;max-width:100%;outline:none;overflow:hidden;padding:calc(8px/2);text-decoration:none;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:pre}.jodit-paste-storage>div:first-child a.jodit_active{background-color:#575757;color:#fff}.jodit-paste-storage>div:first-child a:focus{outline:none}.jodit-paste-storage>div:last-child{overflow:auto;padding:8px}.jodit-paste-storage>div:last-child li,.jodit-paste-storage>div:last-child ul{margin:0}.jodit-placeholder{color:#a5a5a5;display:block;left:0;padding:8px;pointer-events:none;position:absolute;top:0;-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important;width:100%;z-index:1}.jodit__preview-box table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit__preview-box table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit__preview-box table tr td{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit__preview-box table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-table-resizer{cursor:col-resize;margin-left:calc(8px/-2);padding-left:calc(8px/2);padding-right:calc(8px/2);position:absolute;z-index:3}.jodit-table-resizer:after{border:0;content:"";display:block;height:100%;width:0}.jodit-table-resizer_moved{background-color:#b5d6fd;z-index:2}.jodit-table-resizer_moved:after{border-right:1px solid moved}[data-jodit_iframe_wrapper]{display:block;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[data-jodit_iframe_wrapper] iframe{position:relative}[data-jodit_iframe_wrapper]:after{background:transparent;bottom:0;content:"";cursor:pointer;display:block;left:0;position:absolute;right:0;top:0;z-index:1}[data-jodit_iframe_wrapper][data-jodit-wrapper_active=true] iframe{z-index:2}.jodit_lock [data-jodit-wrapper_active=true] iframe{z-index:1}.jodit-resizer{font-size:0;height:100px;left:0;outline:3px solid #98c1f1;pointer-events:none;position:absolute;top:0;width:100px}.jodit-resizer,.jodit-resizer *{-webkit-box-sizing:border-box;box-sizing:border-box}.jodit-resizer>span{background-color:#a5a5a5;color:#fff;display:inline-block;font-size:12px;height:24px;left:50%;line-height:24px;margin-left:calc(70px/-2);margin-top:calc(24px/-2);opacity:0;overflow:visible;position:absolute;text-align:center;top:50%;-webkit-transition:opacity .2s linear;-o-transition:opacity .2s linear;transition:opacity .2s linear;width:70px}.jodit-resizer>div{background-color:#5ba4f3;display:inline-block;height:10px;pointer-events:all;position:absolute;width:10px;z-index:4}.jodit-resizer>div:hover{background-color:#537ebb}.jodit-resizer>div:first-child{cursor:nwse-resize;left:calc(10px/-2);top:calc(10px/-2)}.jodit-resizer>div:nth-child(2){cursor:nesw-resize;right:calc(10px/-2);top:calc(10px/-2)}.jodit-resizer>div:nth-child(3){bottom:calc(10px/-2);cursor:nwse-resize;right:calc(10px/-2)}.jodit-resizer>div:nth-child(4){bottom:calc(10px/-2);cursor:nesw-resize;left:calc(10px/-2)}.jodit-ui-search{height:0;position:absolute;right:0;top:0;width:0}.jodit-ui-search_sticky_true{position:fixed}.jodit-ui-search__box{background-color:#f9f9f9;border:solid #dadada;border-width:0 0 1px 1px;display:-webkit-box;display:-ms-flexbox;display:flex;max-width:100vw;padding:calc(8px/2);position:absolute;right:0;width:320px}.jodit-ui-search__box input{background-color:transparent;border:0;height:100%;margin:0;outline:none;padding:0 8px;width:100%}.jodit-ui-search__box input[data-ref=replace]{display:none}.jodit-ui-search__box input:not(:focus)+input:not(:focus){border-top:1px solid #dadada}.jodit-ui-search__buttons{height:30px}.jodit-ui-search__counts{height:30px}.jodit-ui-search__inputs{height:30px}.jodit-ui-search__inputs{padding-right:calc(8px/2);width:60%}.jodit-ui-search__counts{border-left:1px solid #dadada;color:#dadada;width:15%}.jodit-ui-search__buttons,.jodit-ui-search__counts{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.jodit-ui-search__buttons{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-left:0}.jodit-ui-search__buttons button{background-color:transparent;border:1px solid transparent;height:100%;margin-right:1%;width:32%}.jodit-ui-search__buttons button[data-ref=replace-btn]{border:1px solid #dadada;display:none;margin-top:2px;width:100%}.jodit-ui-search__buttons button:hover{background-color:#ecebe9}.jodit-ui-search__buttons button:focus{border:1px solid rgba(181,214,253,.995)}.jodit-ui-search__buttons button:active{border:1px solid #b5d6fd;-webkit-transform:scale(0.95);-ms-transform:scale(0.95);transform:scale(0.95)}.jodit-ui-search_empty-query_true [data-ref=next],.jodit-ui-search_empty-query_true [data-ref=prev]{opacity:.5}.jodit-ui-search_replace_true .jodit-ui-search__counts{height:calc(30px*2)}.jodit-ui-search_replace_true .jodit-ui-search__inputs{height:calc(30px*2)}.jodit-ui-search_replace_true .jodit-ui-search__counts input{height:50%;-webkit-transition:background-color 0.1s linear;-o-transition:background-color 0.1s linear;transition:background-color 0.1s linear}.jodit-ui-search_replace_true .jodit-ui-search__inputs input{height:50%;-webkit-transition:background-color 0.1s linear;-o-transition:background-color 0.1s linear;transition:background-color 0.1s linear}.jodit-ui-search_replace_true .jodit-ui-search__counts input:focus{-webkit-box-shadow:inset 0 0 3px 0 #dadada;box-shadow:inset 0 0 3px 0 #dadada}.jodit-ui-search_replace_true .jodit-ui-search__inputs input:focus{-webkit-box-shadow:inset 0 0 3px 0 #dadada;box-shadow:inset 0 0 3px 0 #dadada}.jodit-ui-search_replace_true .jodit-ui-search__counts input[data-ref=replace],.jodit-ui-search_replace_true .jodit-ui-search__inputs input[data-ref=replace]{display:block}.jodit-ui-search_replace_true .jodit-ui-search__buttons{-ms-flex-wrap:wrap;flex-wrap:wrap}.jodit-ui-search_replace_true .jodit-ui-search__buttons button[data-ref=replace-btn]{display:block}[jd-tmp-selection]{background-color:#7fffd4}.jodit-container:not(.jodit_inline){min-height:100px}.jodit-container:not(.jodit_inline) .jodit-workplace{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:auto;min-height:50px;overflow:hidden}.jodit-container:not(.jodit_inline) .jodit-editor__resize{position:relative}.jodit-container:not(.jodit_inline) .jodit-editor__resize svg{fill:#a5a5a5;bottom:0;cursor:nwse-resize;height:12px;overflow:hidden;position:absolute;right:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:12px}.jodit-source{background-color:#323232;display:none;-webkit-box-flex:1;-ms-flex:auto;flex:auto;overflow:auto;position:relative}.jodit-source,.jodit-source .jodit-source__mirror-fake{min-height:100%}.jodit-source *{font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace}.jodit-container.jodit-source__mode .jodit-wysiwyg,.jodit-container.jodit-source__mode .jodit-wysiwyg_iframe{display:none!important}.jodit-container.jodit-source__mode .jodit-source{display:block!important}.jodit-container.jodit_split_mode .jodit-workplace{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.jodit-container.jodit_split_mode .jodit-source,.jodit-container.jodit_split_mode .jodit-wysiwyg,.jodit-container.jodit_split_mode .jodit-wysiwyg_iframe{display:block!important;-webkit-box-flex:1;-ms-flex:1;flex:1;width:50%}.jodit-source__mirror{background:#323232;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#f0f0f0;height:100%;line-height:1.5;font:12px/normal Monaco,Menlo,Ubuntu Mono,Consolas,source-code-pro,monospace;margin:0;min-height:100%;outline:none;overflow:auto;padding:8px;resize:none;-moz-tab-size:2em;-o-tab-size:2em;tab-size:2em;white-space:pre-wrap;width:100%;z-index:2}.jodit-source__mirror::-moz-selection{background:#bdbdbd}.jodit-source__mirror::selection{background:#bdbdbd}.jodit_sticky-dummy_toolbar{display:none}.jodit_sticky>.jodit-toolbar__box{border-bottom:1px solid #dadada;left:auto;position:fixed;position:sticky;top:0;z-index:3}.jodit_sticky .jodit_sticky-dummy_toolbar{display:block}.jodit-symbols{padding:8px;width:460px}.jodit-symbols__container{display:-webkit-box;display:-ms-flexbox;display:flex}.jodit-symbols__container_table{width:88%}.jodit-symbols__container_preview{width:12%}.jodit-symbols__preview{border:1px solid #dadada;font-size:34px;padding:20px 0;text-align:center}.jodit-symbols__table{border:0;border-spacing:0;table-layout:fixed}.jodit-symbols__table td{padding:0}.jodit-symbols__table td a{border:1px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;color:#4c4c4c;cursor:pointer;display:inline-block;font-size:16px;height:calc(18px*1.2);line-height:calc(18px*1.2);text-align:center;text-decoration:none;vertical-align:top;width:calc(18px*1.2)}.jodit-symbols__table td a:focus{outline:2px solid #dadada}.jodit-symbols__table td a:hover{outline:2px solid #dadada}.jodit-context table,.jodit-wysiwyg table{border:none;border-collapse:collapse;empty-cells:show;margin-bottom:1em;margin-top:1em;max-width:100%}.jodit-context table tr,.jodit-wysiwyg table tr{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.jodit-context table tr td{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-context table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-wysiwyg table tr td{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-wysiwyg table tr th{border:1px solid #dadada;min-width:2em;padding:.4em;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;vertical-align:middle}.jodit-form__inserter .jodit-form__table-creator-box{display:-webkit-box;display:-ms-flexbox;display:flex}@media (max-width:768px){.jodit-form__inserter .jodit-form__table-creator-box{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container{font-size:0;margin:0;min-width:180px;padding:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span{border:1px solid #dadada;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:18px;margin-bottom:2px;margin-left:2px;vertical-align:top;width:18px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span:first-child{margin-left:0}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__container>div>span.jodit_hovered{background:#7a450f;border-color:#7a450f}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options{font-size:14px}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label{padding-top:0;text-align:left}.jodit-form__inserter .jodit-form__table-creator-box .jodit-form__options label input{margin-right:8px}.jodit-form__inserter label{font-size:14px;margin:0;padding:8px;text-align:center}.jodit-xpath{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-left:calc(8px/-2)}.jodit-xpath__item{display:-webkit-box;display:-ms-flexbox;display:flex;height:11px;line-height:calc(11px - 1px)}.jodit-xpath__item a{color:#4c4c4c;font-size:11px;margin-left:2px;outline:0;padding:0 3px}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2));background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2));background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2));background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal{background-image:-o-repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2));background-image:repeating-linear-gradient(transparent 0,transparent calc(calc(14px + calc((14px - 4px)*2) + 2px*2) - 1px),#6b6b6b calc(14px + calc((14px - 4px)*2) + 2px*2))}.jodit-dialog_theme_dark .jodit-toolbar-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar-editor-collection_mode_horizontal:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar__box:not(:empty){border-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit_theme_dark .jodit-toolbar__box:not(:empty) .jodit-toolbar-editor-collection:after{background-color:#6b6b6b}.jodit-dialog_theme_dark .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit_theme_dark .jodit-ui-group_separated_true:not(:last-child):not(.jodit-ui-group_before-spacer_true):after{border-right-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container{background-color:#575757;border-color:#6b6b6b}.jodit_theme_dark.jodit-container{background-color:#575757;border-color:#6b6b6b}.jodit-dialog_theme_dark.jodit-container.jodit_disabled{background-color:#575757}.jodit_theme_dark.jodit-container.jodit_disabled{background-color:#575757}.jodit-dialog_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit_theme_dark.jodit-container:not(.jodit_inline) .jodit-workplace{border-color:#575757}.jodit-dialog_theme_dark .jodit-popup__content{background:#787878}.jodit_theme_dark .jodit-popup__content{background:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-ui-button__text{color:#d1cccc}.jodit_theme_dark .jodit-toolbar-button__text{color:#d1cccc}.jodit_theme_dark .jodit-ui-button__text{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar-button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-ui-button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-ui-button__button:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-toolbar-button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-toolbar-button__button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-toolbar-button__trigger:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-ui-button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-ui-button__button:hover:not([disabled]){background-color:#787878}.jodit_theme_dark .jodit-ui-button__trigger:hover:not([disabled]){background-color:#787878}.jodit-dialog_theme_dark .jodit-status-bar{background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit_theme_dark .jodit-status-bar{background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){background-color:#5f5c5c;border-color:#6b6b6b;color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item a{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar .jodit-status-bar__item span{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover{color:#d1cccc}.jodit-dialog_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover{color:#d1cccc}.jodit-dialog_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit_theme_dark .jodit-status-bar{color:#d1cccc}.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item a{color:#d1cccc}.jodit_theme_dark .jodit-status-bar .jodit-status-bar__item span{color:#d1cccc}.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link{color:#d1cccc}.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:hover{color:#d1cccc}.jodit_theme_dark .jodit-status-bar a.jodit-status-bar-link:visited{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty){color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item a{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) .jodit-status-bar__item span{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:hover{color:#d1cccc}.jodit_theme_dark .jodit-workplace+.jodit-status-bar:not(:empty) a.jodit-status-bar-link:visited{color:#d1cccc}.jodit-dialog_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit_theme_dark .jodit-toolbar__box:not(:empty){background:#5f5c5c}.jodit-dialog_theme_dark .jodit-icon{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-toolbar-button .jodit-toolbar-button__trigger{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit__upload-button svg{fill:silver;stroke:silver}.jodit_theme_dark .jodit-icon{fill:silver;stroke:silver}.jodit_theme_dark .jodit-toolbar-button .jodit-toolbar-button__trigger{fill:silver;stroke:silver}.jodit_theme_dark .jodit__upload-button svg{fill:silver;stroke:silver}.jodit-dialog_theme_dark .jodit-icon-close{stroke:silver}.jodit_theme_dark .jodit-icon-close{stroke:silver}.jodit-dialog_theme_dark .jodit-wysiwyg{background-color:#575757;color:#d1cccc}.jodit-dialog_theme_dark .jodit-wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit_theme_dark .jodit-wysiwyg{background-color:#575757;color:#d1cccc}.jodit_theme_dark .jodit-wysiwyg_iframe{background-color:#575757;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form input[type=text]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form input[type=url]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_theme_dark .jodit-form input[type=text]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_theme_dark .jodit-form input[type=url]{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit_theme_dark .jodit-form textarea{background-color:rgba(81,81,81,.41);border-color:#686767;color:#d1cccc}.jodit-dialog_theme_dark .jodit-form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit_theme_dark .jodit-form button{background-color:hsla(0,0%,41%,.75);color:#d1cccc}.jodit-dialog_theme_dark .jodit-placeholder{color:hsla(0,5%,81%,.8)}.jodit_theme_dark .jodit-placeholder{color:hsla(0,5%,81%,.8)}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box{color:#d1cccc}.jodit-dialog_theme_dark .jodit_uploadfile_button{color:#d1cccc}.jodit_theme_dark .jodit-drag-and-drop__file-box{color:#d1cccc}.jodit_theme_dark .jodit_uploadfile_button{color:#d1cccc}.jodit-dialog_theme_dark .jodit-drag-and-drop__file-box:hover{background-color:hsla(0,0%,41%,.75)}.jodit-dialog_theme_dark .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit_theme_dark .jodit-drag-and-drop__file-box:hover{background-color:hsla(0,0%,41%,.75)}.jodit_theme_dark .jodit_uploadfile_button:hover{background-color:hsla(0,0%,41%,.75)}.jodit-dialog_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit_theme_dark .jodit-add-new-line:before{border-top-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit_theme_dark .jodit-add-new-line span{background:hsla(0,0%,41%,.75);border-color:#686767}.jodit-dialog_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit_theme_dark .jodit-add-new-line span svg{fill:#d1cccc}.jodit-dialog_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit_theme_dark .jodit-resizer>i{background:hsla(0,0%,41%,.75);border-color:silver}.jodit-dialog_theme_dark .jodit-input{background-color:#787878;border-color:#444;color:#444}.jodit-dialog_theme_dark .jodit-select{background-color:#787878;border-color:#444;color:#444}.jodit_theme_dark .jodit-input{background-color:#787878;border-color:#444;color:#444}.jodit_theme_dark .jodit-select{background-color:#787878;border-color:#444;color:#444}.jodit-dialog_theme_dark.jodit-dialog{background-color:#575757}.jodit_theme_dark.jodit-dialog{background-color:#575757}.jodit-dialog_theme_dark.jodit-dialog .jodit-dialog__header{border-color:#444}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:#444}.jodit_theme_dark.jodit-dialog .jodit-dialog__header{border-color:#444}.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item{border-color:#444}.jodit-dialog_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:#d1cccc}.jodit_theme_dark.jodit-dialog .jodit-filebrowser__files.active .jodit-filebrowser__files-item-info{background-color:#d1cccc}'],sourceRoot:""}]),t.Z=a},85863:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i),s=n(61667),l=n.n(s),c=n(30286),u=n(1488),d=n(67110),f=n(9719),p=n(17994),h=a()(o()),m=l()(c.Z),g=l()(u.Z),v=l()(d.Z),b=l()(f.Z),y=l()(p.Z);h.push([e.id,".pnlm-container{background:#f4f4f4 url("+m+") repeat;contain:content;cursor:default;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;height:100%;line-height:1.4;margin:0;outline:0;overflow:hidden;padding:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-o-user-select:none;-ms-user-select:none;user-select:none;width:100%}.pnlm-container *{-webkit-box-sizing:content-box;box-sizing:content-box}.pnlm-ui{height:100%;position:absolute;width:100%;z-index:1}.pnlm-grab{cursor:-webkit-grab;cursor:grab;cursor:url("+g+") 12 8,default}.pnlm-grabbing{cursor:-webkit-grabbing;cursor:grabbing;cursor:url("+v+") 12 8,default}.pnlm-sprite{background-image:url("+b+')}.pnlm-container:-moz-full-screen{height:100%!important;position:static!important;width:100%!important}.pnlm-container:-webkit-full-screen{height:100%!important;position:static!important;width:100%!important}.pnlm-container:-ms-fullscreen{height:100%!important;position:static!important;width:100%!important}.pnlm-container:fullscreen{height:100%!important;position:static!important;width:100%!important}.pnlm-render-container{cursor:inherit;height:100%;position:absolute;width:100%}.pnlm-controls{background-color:#fff;border:1px solid rgba(0,0,0,.4);border-radius:3px;cursor:pointer;margin-top:4px;-webkit-transform:translateZ(9999px);transform:translateZ(9999px);z-index:2}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{left:4px;position:absolute;top:0;z-index:1}.pnlm-zoom-controls{height:52px;width:26px}.pnlm-zoom-in{border-radius:3px 3px 0 0;top:0}.pnlm-zoom-in,.pnlm-zoom-out{height:50%;position:absolute;width:100%}.pnlm-zoom-out{background-position:0 -26px;border-radius:0 0 3px 3px;border-top:1px solid rgba(0,0,0,.1);bottom:0}.pnlm-fullscreen-toggle-button,.pnlm-hot-spot-debug-indicator,.pnlm-orientation-button{height:26px;width:26px}.pnlm-hot-spot-debug-indicator{background-color:hsla(0,0%,100%,.5);border-radius:13px;display:none;height:26px;left:50%;margin:-13px 0 0 -13px;position:absolute;top:50%;width:26px}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{background-color:rgba(0,0,0,.7);border-radius:0 3px 3px 0;bottom:4px;color:#fff;display:none;padding-right:10px;position:absolute;text-align:left;-webkit-transform:translateZ(9999px);transform:translateZ(9999px);z-index:2}.pnlm-title-box{font-size:20px;margin-bottom:3px}.pnlm-author-box,.pnlm-title-box{display:table;padding-left:5px;position:relative}.pnlm-author-box{font-size:12px}.pnlm-load-box{background-color:rgba(0,0,0,.7);border-radius:3px;color:#fff;display:none;font-size:20px;height:150px;left:50%;margin:-75px 0 0 -100px;position:absolute;text-align:center;top:50%;width:200px}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{display:none;height:20px;left:50%;margin:-10px 0 0 -10px;position:absolute;top:50%;width:20px}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-timing-function:linear;-webkit-animation-timing-function:linear;background-color:#fff;height:10px;position:relative;width:10px}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}@-webkit-keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{background-color:rgba(0,0,0,.7);border-radius:3px;color:#fff;cursor:pointer;display:table;font-size:20px;height:100px;left:50%;margin:-50px 0 0 -100px;position:absolute;text-align:center;top:50%;width:200px}.pnlm-load-button:hover{background-color:rgba(0,0,0,.8)}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{background-color:#000;border-radius:3px;color:#fff;display:table;font-size:15px;height:150px;left:50%;margin:-75px 0 0 -100px;position:absolute;table-layout:fixed;text-align:center;top:50%;width:200px}.pnlm-info-box a{word-wrap:break-word;color:#fff;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;padding:0 5px;vertical-align:middle}.pnlm-error-msg{display:none}.pnlm-about-msg{background:rgba(0,0,0,.7);border-radius:3px;color:#fff;display:none;font-size:11px;left:50px;line-height:11px;opacity:0;padding:5px 8px;position:absolute;top:50px;-moz-transition:opacity .3s ease-in-out;-webkit-transition:opacity .3s ease-in-out;-o-transition:opacity .3s ease-in-out;-ms-transition:opacity .3s ease-in-out;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:active,.pnlm-about-msg a:hover{color:#eee}.pnlm-hotspot-base{cursor:default;position:absolute;top:0;vertical-align:middle;visibility:hidden;z-index:1}.pnlm-hotspot{border-radius:13px;height:26px;width:26px}.pnlm-hotspot:hover{background-color:hsla(0,0%,100%,.2)}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{background-color:rgba(0,0,0,.7);border-radius:3px;color:#fff;cursor:default;margin-left:-220px;max-width:200px;padding:5px 10px;position:absolute;text-align:center;visibility:hidden}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{border:10px solid transparent;border-top-color:rgba(0,0,0,.7);bottom:-20px;content:"";height:0;left:-10px;margin:0 50%;position:absolute;width:0}.pnlm-compass{background-image:url('+y+");border-radius:25px;bottom:4px;cursor:default;display:none;height:50px;position:absolute;right:4px;width:50px}.pnlm-world{left:50%;position:absolute;top:50%}.pnlm-face{position:absolute;-webkit-transform-origin:0 0 0;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{height:100%;position:absolute;width:100%}.pnlm-preview-img{background-position:50%;background-size:cover}.pnlm-lbar{border:1px solid #fff;height:6px;margin:0 auto;width:150px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{left:0;position:absolute;top:0}.pnlm-pointer{cursor:pointer}","",{version:3,sources:["webpack://./node_modules/pannellum-react/es/pannellum/css/pannellum.css"],names:[],mappings:"AAAA,gBASI,iEAAoD,CASpD,eAAgB,CAbhB,cAAe,CAGf,oEAA6E,CAD7E,WAAY,CAUZ,eAAgB,CAhBhB,QAAS,CAeT,SAAU,CAbV,eAAgB,CADhB,SAAU,CAEV,iBAAkB,CAelB,qBAAkB,CAAlB,iBAAkB,CATlB,wBAAyB,CACzB,uBAAwB,CACxB,qBAAsB,CACtB,mBAAoB,CACpB,oBAAqB,CACrB,gBAAiB,CATjB,UAcJ,CAEA,kBACI,8BAAuB,CAAvB,sBACJ,CAEA,SAGI,WAAY,CAFZ,iBAAkB,CAClB,UAAW,CAEX,SACJ,CAEA,WACI,mBAAY,CAAZ,WAAY,CACZ,2DACJ,CAEA,eACI,uBAAgB,CAAhB,eAAgB,CAChB,2DACJ,CAEA,aACI,wDACJ,CAEA,iCACI,qBAAuB,CAEvB,yBAA2B,CAD3B,oBAEJ,CACA,oCACI,qBAAuB,CAEvB,yBAA2B,CAD3B,oBAEJ,CACA,+BACI,qBAAuB,CAEvB,yBAA2B,CAD3B,oBAEJ,CACA,2BACI,qBAAuB,CAEvB,yBAA2B,CAD3B,oBAEJ,CAEA,uBACI,cAAe,CAIf,WAAY,CADZ,iBAAkB,CAElB,UACJ,CAEA,eAEI,qBAAsB,CAEtB,+BAA6B,CAC7B,iBAAkB,CAClB,cAAe,CALf,cAAe,CAQf,oCAAqC,CACrC,4BAA6B,CAH7B,SAIJ,CAEA,oBACI,wBACJ,CAEA,yBAGI,QAAS,CAFT,iBAAkB,CAClB,KAAM,CAEN,SACJ,CAEA,oBAEI,WAAY,CADZ,UAEJ,CAEA,cAKI,yBAA0B,CAD1B,KAEJ,CAEA,6BANI,UAAW,CACX,iBAAkB,CAFlB,UAgBJ,CATA,eAKI,2BAA4B,CAG5B,yBAA0B,CAD1B,mCAAkC,CAHlC,QAKJ,CAEA,uFAEI,WAAY,CADZ,UAEJ,CAEA,+BAOI,mCAA0C,CAC1C,kBAAmB,CACnB,YAAa,CAJb,WAAY,CAFZ,QAAS,CAGT,sBAAuB,CALvB,iBAAkB,CAClB,OAAQ,CAER,UAMJ,CAEA,kCACI,4BACJ,CAEA,gCACI,4BACJ,CAEA,wCACI,2BACJ,CAEA,sCACI,2BACJ,CAEA,oBAGI,+BAAiC,CACjC,yBAA0B,CAF1B,UAAW,CAIX,UAAW,CAEX,YAAa,CAHb,kBAAmB,CAJnB,iBAAkB,CAMlB,eAAgB,CAIhB,oCAAqC,CACrC,4BAA6B,CAH7B,SAIJ,CAEA,gBAEI,cAAe,CAGf,iBACJ,CAEA,iCALI,aAAc,CACd,gBAAiB,CAHjB,iBAYJ,CALA,iBAEI,cAGJ,CAEA,eAOI,+BAAiC,CACjC,iBAAkB,CAIlB,UAAW,CADX,YAAa,CADb,cAAe,CALf,YAAa,CAFb,QAAS,CAGT,uBAAwB,CALxB,iBAAkB,CAQlB,iBAAkB,CAPlB,OAAQ,CAER,WASJ,CAEA,iBACI,aACJ,CAEA,WAOI,YAAa,CAFb,WAAY,CAFZ,QAAS,CAGT,sBAAuB,CALvB,iBAAkB,CAClB,OAAQ,CAER,UAIJ,CAEA,cACI,uBAAwB,CACxB,+BAAgC,CAGhC,kCAAmC,CACnC,0CAA2C,CAH3C,sBAAuB,CACvB,8BAA+B,CAG/B,gCAAiC,CACjC,wCAAyC,CAGzC,qBAAsB,CAFtB,WAAY,CAGZ,iBAAkB,CAFlB,UAGJ,CAEA,mBACI,GAAM,MAAM,CAAC,KAAM,CACnB,IAAK,SAAS,CAAC,KAAM,CACrB,IAAK,SAAS,CAAC,QAAS,CACxB,IAAK,MAAM,CAAC,QAAS,CACrB,GAAI,MAAM,CAAC,KAAM,CACrB,CAEA,2BACI,GAAM,MAAM,CAAC,KAAM,CACnB,IAAK,SAAS,CAAC,KAAM,CACrB,IAAK,SAAS,CAAC,QAAS,CACxB,IAAK,MAAM,CAAC,QAAS,CACrB,GAAI,MAAM,CAAC,KAAM,CACrB,CAEA,kBAOI,+BAAgC,CAChC,iBAAkB,CAIlB,UAAW,CACX,cAAe,CAFf,aAAc,CADd,cAAe,CALf,YAAa,CAFb,QAAS,CAGT,uBAAwB,CALxB,iBAAkB,CAQlB,iBAAkB,CAPlB,OAAQ,CAER,WAUJ,CAEA,wBACI,+BACJ,CAEA,oBACI,kBAAmB,CACnB,qBACJ,CAEA,eAQI,qBAAsB,CACtB,iBAAkB,CAGlB,UAAW,CAFX,aAAc,CATd,cAAe,CAKf,YAAa,CAFb,QAAS,CAGT,uBAAwB,CALxB,iBAAkB,CAWlB,kBAAmB,CAFnB,iBAAkB,CARlB,OAAQ,CAER,WASJ,CAEA,iBAEI,oBAAqB,CADrB,UAAW,CAEX,wBACJ,CAEA,iBACI,kBAAmB,CAEnB,aAAoB,CADpB,qBAEJ,CAEA,gBACI,YACJ,CAEA,gBAKI,yBAA2B,CAC3B,iBAAkB,CAHlB,UAAW,CAOX,YAAa,CATb,cAAe,CAQf,SAAU,CAPV,gBAAiB,CASjB,SAAU,CAPV,eAAwB,CAGxB,iBAAkB,CAClB,QAAS,CAIT,uCAAwC,CACxC,0CAA2C,CAC3C,qCAAsC,CACtC,sCAAuC,CACvC,kCAAmC,CACnC,SACJ,CAEA,iDACI,UACJ,CAEA,iDACI,UACJ,CAEA,mBAGI,cAAe,CAFf,iBAAkB,CAIlB,KAAM,CADN,qBAAsB,CAFtB,iBAAkB,CAIlB,SACJ,CACA,cAGI,kBAAmB,CAFnB,WAAY,CACZ,UAEJ,CACA,oBACI,mCACJ,CACA,wBACI,4BACJ,CACA,yBACI,4BACJ,CAEA,sBAII,+BAAiC,CADjC,iBAAkB,CAElB,UAAW,CAKX,cAAe,CADf,kBAAmB,CAFnB,eAAgB,CAChB,gBAAiB,CANjB,iBAAkB,CAIlB,iBAAkB,CALlB,iBAUJ,CACA,4BACI,kBACJ,CACA,kCAOI,6BAAiE,CAAjE,+BAAiE,CACjE,YAAa,CAPb,UAAW,CAGX,QAAS,CAKT,UAAW,CACX,YAAa,CARb,iBAAkB,CAClB,OAQJ,CAEA,cAOI,wDAAwC,CADxC,kBAAmB,CADnB,UAAW,CAGX,cAAe,CACf,YAAa,CANb,WAAY,CAFZ,iBAAkB,CAGlB,SAAU,CAFV,UAQJ,CAEA,YAEI,QAAS,CADT,iBAAkB,CAElB,OACJ,CACA,WACI,iBAAkB,CAClB,8BAA+B,CAC/B,sBACJ,CAEA,gCAEI,WAAY,CADZ,iBAAkB,CAElB,UACJ,CAEA,kBAEI,uBAA2B,CAD3B,qBAEJ,CAEA,WAGI,qBAAsB,CACtB,UAAW,CAFX,aAAc,CADd,WAIJ,CAEA,gBACI,eAAgB,CAChB,WAAY,CACZ,OACJ,CAEA,WACI,cACJ,CAEA,eAGI,MAAO,CAFP,iBAAkB,CAClB,KAEJ,CAEA,cACI,cACJ",sourcesContent:[".pnlm-container {\n    margin: 0;\n    padding: 0;\n    overflow: hidden;\n    position: relative;\n    cursor: default;\n    width: 100%;\n    height: 100%;\n    font-family: Helvetica, \"Nimbus Sans L\", \"Liberation Sans\", Arial, sans-serif;\n    background: #f4f4f4 url('img/background.svg') repeat;\n    -webkit-user-select: none;\n    -khtml-user-select: none;\n    -moz-user-select: none;\n    -o-user-select: none;\n    -ms-user-select: none;\n    user-select: none;\n    outline: 0;\n    line-height: 1.4;\n    contain: content;\n    touch-action: none;\n}\n\n.pnlm-container * {\n    box-sizing: content-box;\n}\n\n.pnlm-ui {\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    z-index: 1;\n}\n\n.pnlm-grab {\n    cursor: grab;\n    cursor: url('img/grab.svg') 12 8, default;\n}\n\n.pnlm-grabbing {\n    cursor: grabbing;\n    cursor: url('img/grabbing.svg') 12 8, default;\n}\n\n.pnlm-sprite {\n    background-image: url('img/sprites.svg');\n}\n\n.pnlm-container:-moz-full-screen {\n    height: 100% !important;\n    width: 100% !important;\n    position: static !important;\n}\n.pnlm-container:-webkit-full-screen {\n    height: 100% !important;\n    width: 100% !important;\n    position: static !important;\n}\n.pnlm-container:-ms-fullscreen {\n    height: 100% !important;\n    width: 100% !important;\n    position: static !important;\n}\n.pnlm-container:fullscreen {\n    height: 100% !important;\n    width: 100% !important;\n    position: static !important;\n}\n\n.pnlm-render-container {\n    cursor: inherit;\n    \n    /* Fix display bug in Safari 7 */\n    position: absolute;\n    height: 100%;\n    width: 100%;\n}\n\n.pnlm-controls {\n    margin-top: 4px;\n    background-color: #fff;\n    border: 1px solid #999;\n    border-color: rgba(0,0,0,0.4);\n    border-radius: 3px;\n    cursor: pointer;\n    z-index: 2;\n    /* Fix Safari fullscreen bug */\n    -webkit-transform: translateZ(9999px);\n    transform: translateZ(9999px);\n}\n\n.pnlm-control:hover {\n    background-color: #f8f8f8;\n}\n\n.pnlm-controls-container {\n    position: absolute;\n    top: 0;\n    left: 4px;\n    z-index: 1;\n}\n\n.pnlm-zoom-controls {\n    width: 26px;\n    height: 52px;\n}\n\n.pnlm-zoom-in {\n    width: 100%;\n    height: 50%;\n    position: absolute;\n    top: 0;\n    border-radius: 3px 3px 0 0;\n}\n\n.pnlm-zoom-out {\n    width: 100%;\n    height: 50%;\n    position: absolute;\n    bottom: 0;\n    background-position: 0 -26px;\n    border-top: 1px solid #ddd;\n    border-top-color: rgba(0,0,0,0.10);\n    border-radius: 0 0 3px 3px;\n}\n\n.pnlm-fullscreen-toggle-button, .pnlm-orientation-button, .pnlm-hot-spot-debug-indicator {\n    width: 26px;\n    height: 26px;\n}\n\n.pnlm-hot-spot-debug-indicator {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    width: 26px;\n    height: 26px;\n    margin: -13px 0 0 -13px;\n    background-color: rgba(255, 255, 255, 0.5);\n    border-radius: 13px;\n    display: none;\n}\n\n.pnlm-orientation-button-inactive {\n    background-position: 0 -156px;\n}\n\n.pnlm-orientation-button-active {\n    background-position: 0 -182px;\n}\n\n.pnlm-fullscreen-toggle-button-inactive {\n    background-position: 0 -52px;\n}\n\n.pnlm-fullscreen-toggle-button-active {\n    background-position: 0 -78px;\n}\n\n.pnlm-panorama-info {\n    position: absolute;\n    bottom: 4px;\n    background-color: rgba(0,0,0,0.7);\n    border-radius: 0 3px 3px 0;\n    padding-right: 10px;\n    color: #fff;\n    text-align: left;\n    display: none;\n    z-index: 2;\n    /* Fix Safari fullscreen bug */\n    -webkit-transform: translateZ(9999px);\n    transform: translateZ(9999px);\n}\n\n.pnlm-title-box {\n    position: relative;\n    font-size: 20px;\n    display: table;\n    padding-left: 5px;\n    margin-bottom: 3px;\n}\n\n.pnlm-author-box {\n    position: relative;\n    font-size: 12px;\n    display: table;\n    padding-left: 5px;\n}\n\n.pnlm-load-box {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    width: 200px;\n    height: 150px;\n    margin: -75px 0 0 -100px;\n    background-color: rgba(0,0,0,0.7);\n    border-radius: 3px;\n    text-align: center;\n    font-size: 20px;\n    display: none;\n    color: #fff;\n}\n\n.pnlm-load-box p {\n    margin: 20px 0;\n}\n\n.pnlm-lbox {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    width: 20px;\n    height: 20px;\n    margin: -10px 0 0 -10px;\n    display: none;\n}\n\n.pnlm-loading {\n    animation-duration: 1.5s;\n    -webkit-animation-duration: 1.5s;\n    animation-name: pnlm-mv;\n    -webkit-animation-name: pnlm-mv;\n    animation-iteration-count: infinite;\n    -webkit-animation-iteration-count: infinite;\n    animation-timing-function: linear;\n    -webkit-animation-timing-function: linear;\n    height: 10px;\n    width: 10px;\n    background-color: #fff;\n    position: relative;\n}\n\n@keyframes pnlm-mv {\n    from {left:0;top:0;}\n    25% {left:10px;top:0;}\n    50% {left:10px;top:10px;}\n    75% {left:0;top:10px;}\n    to {left:0;top:0;}\n}\n\n@-webkit-keyframes pnlm-mv {\n    from {left:0;top:0;}\n    25% {left:10px;top:0;}\n    50% {left:10px;top:10px;}\n    75% {left:0;top:10px;}\n    to {left:0;top:0;}\n}\n\n.pnlm-load-button {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    width: 200px;\n    height: 100px;\n    margin: -50px 0 0 -100px;\n    background-color: rgba(0,0,0,.7);\n    border-radius: 3px;\n    text-align: center;\n    font-size: 20px;\n    display: table;\n    color: #fff;\n    cursor: pointer;\n}\n\n.pnlm-load-button:hover {\n    background-color: rgba(0,0,0,.8);\n}\n\n.pnlm-load-button p {\n    display: table-cell;\n    vertical-align: middle;\n}\n\n.pnlm-info-box {\n    font-size: 15px;\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    width: 200px;\n    height: 150px;\n    margin: -75px 0 0 -100px;\n    background-color: #000;\n    border-radius: 3px;\n    display: table;\n    text-align: center;\n    color: #fff;\n    table-layout: fixed;\n}\n\n.pnlm-info-box a {\n    color: #fff;\n    word-wrap: break-word;\n    overflow-wrap: break-word;\n}\n\n.pnlm-info-box p {\n    display: table-cell;\n    vertical-align: middle;\n    padding: 0 5px 0 5px;\n}\n\n.pnlm-error-msg {\n    display: none;\n}\n\n.pnlm-about-msg {\n    font-size: 11px;\n    line-height: 11px;\n    color: #fff;\n    padding: 5px 8px 5px 8px;\n    background: rgba(0,0,0,0.7);\n    border-radius: 3px;\n    position: absolute;\n    top: 50px;\n    left: 50px;\n    display: none;\n    opacity: 0;\n    -moz-transition: opacity .3s ease-in-out;\n    -webkit-transition: opacity .3s ease-in-out;\n    -o-transition: opacity .3s ease-in-out;\n    -ms-transition: opacity .3s ease-in-out;\n    transition: opacity .3s ease-in-out;\n    z-index: 1;\n}\n\n.pnlm-about-msg a:link, .pnlm-about-msg a:visited {\n    color: #fff;\n}\n\n.pnlm-about-msg a:hover, .pnlm-about-msg a:active {\n    color: #eee;\n}\n\n.pnlm-hotspot-base {\n    position: absolute;\n    visibility: hidden;\n    cursor: default;\n    vertical-align: middle;\n    top: 0;\n    z-index: 1;\n}\n.pnlm-hotspot {\n    height: 26px;\n    width: 26px;\n    border-radius: 13px;\n}\n.pnlm-hotspot:hover {\n    background-color: rgba(255,255,255,0.2);\n}\n.pnlm-hotspot.pnlm-info {\n    background-position: 0 -104px;\n}\n.pnlm-hotspot.pnlm-scene {\n    background-position: 0 -130px;\n}\n\ndiv.pnlm-tooltip span {\n    visibility: hidden;\n    position: absolute;\n    border-radius: 3px;\n    background-color: rgba(0,0,0,0.7);\n    color: #fff;\n    text-align: center;\n    max-width: 200px;\n    padding: 5px 10px;\n    margin-left: -220px;\n    cursor: default;\n}\ndiv.pnlm-tooltip:hover span{\n    visibility: visible;\n}\ndiv.pnlm-tooltip:hover span:after {\n    content: '';\n    position: absolute;\n    width: 0;\n    height: 0;\n    border-width: 10px;\n    border-style: solid;\n    border-color: rgba(0,0,0,0.7) transparent transparent transparent;\n    bottom: -20px;\n    left: -10px;\n    margin: 0 50%;\n}\n\n.pnlm-compass {\n    position: absolute;\n    width: 50px;\n    height: 50px;\n    right: 4px;\n    bottom: 4px;\n    border-radius: 25px;\n    background-image: url('img/compass.svg');\n    cursor: default;\n    display: none;\n}\n\n.pnlm-world {\n    position: absolute;\n    left: 50%;\n    top: 50%;\n}\n.pnlm-face {\n    position: absolute;\n    -webkit-transform-origin: 0 0 0;\n    transform-origin: 0 0 0;\n}\n\n.pnlm-dragfix, .pnlm-preview-img {\n    position: absolute;\n    height: 100%;\n    width: 100%;\n}\n\n.pnlm-preview-img {\n    background-size: cover;\n    background-position: center;\n}\n\n.pnlm-lbar {\n    width: 150px;\n    margin: 0 auto;\n    border: #fff 1px solid;\n    height: 6px;\n}\n\n.pnlm-lbar-fill {\n    background: #fff;\n    height: 100%;\n    width: 0;\n}\n\n.pnlm-lmsg {\n    font-size: 12px;\n}\n\n.pnlm-fade-img {\n    position: absolute;\n    top: 0;\n    left: 0;\n}\n\n.pnlm-pointer {\n    cursor: pointer;\n}\n"],sourceRoot:""}]),t.Z=h},62777:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'#textInfo .tooltip-content{background-color:#333;bottom:80px;color:#fff;font-size:1.6em;left:-70px;line-height:1.2em;opacity:0;padding:.8em;pointer-events:none;position:absolute;-webkit-transform:rotate(15deg);transform:rotate(15deg);-webkit-transform-origin:50% calc(100% + 6em);transform-origin:50% calc(100% + 6em);-webkit-transition:opacity .5s,-webkit-transform .5s;transition:opacity .5s,-webkit-transform .5s;transition:opacity .5s,transform .5s;transition:opacity .5s,transform .5s,-webkit-transform .5s;-webkit-transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39);transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39);width:200px}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;-webkit-transform:translateZ(0) rotate3d(0,0,0,0);transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer}#textInfo .hotspot .out:before{speak:none;-webkit-font-smoothing:antialiased;display:block;font-size:48px;font-style:normal;font-variant:normal;font-weight:400;line-height:90px;text-transform:none}#textInfo .hotspot .out{border:5px solid hsla(0,0%,100%,.8);border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;height:60px;-webkit-transition:-webkit-transform .1s ease-out,border .2s;-moz-transition:-moz-transform .1s ease-out,border .2s;-webkit-transition:border .2s,-webkit-transform .1s ease-out;transition:border .2s,-webkit-transform .1s ease-out;transition:transform .1s ease-out,border .2s;transition:transform .1s ease-out,border .2s,-webkit-transform .1s ease-out;width:60px}#textInfo .hotspot .in{background-color:hsla(0,0%,100%,.8);border-radius:50%;height:40px;left:10px;position:absolute;top:10px;-webkit-transition:-webkit-transform .1s ease-out,background .2s;-moz-transition:-moz-transform .1s ease-out,background .2s;-webkit-transition:background .2s,-webkit-transform .1s ease-out;transition:background .2s,-webkit-transform .1s ease-out;transition:transform .1s ease-out,background .2s;transition:transform .1s ease-out,background .2s,-webkit-transform .1s ease-out;width:40px}#textInfo .hotspot .out:after{border-radius:50%;-webkit-box-shadow:0 0 0 2px hsla(0,0%,100%,.1);box-shadow:0 0 0 2px hsla(0,0%,100%,.1);-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;content:"";height:100%;left:0;opacity:0;padding:0;pointer-events:none;position:absolute;top:0;width:100%;z-index:-1}#textInfo .hotspot .out:after,#textInfo .hotspot:hover .out{-webkit-transform:scale(.9);-moz-transform:scale(.9);-ms-transform:scale(.9);transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid #fff;color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;-webkit-transform:scale(.8);-moz-transform:scale(.8);-ms-transform:scale(.8);transform:scale(.8)}#textInfo .hotspot:hover .out:after{-webkit-animation:sonarEffect 1.2s ease-out;-moz-animation:sonarEffect 1.2s ease-out;animation:sonarEffect 1.2s ease-out}@-webkit-keyframes sonarEffect{0%{opacity:.5}20%{-webkit-box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);opacity:.8}to{-webkit-box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);opacity:0;-webkit-transform:scale(1.5)}}@-moz-keyframes sonarEffect{0%{opacity:.5}20%{box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);opacity:.8}to{box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);opacity:0;-moz-transform:scale(1.5)}}@keyframes sonarEffect{0%{opacity:.5}20%{-webkit-box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);opacity:.8}to{-webkit-box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);box-shadow:0 0 0 2px hsla(0,0%,100%,.1),0 0 10px 10px rgba(37,170,225,.8),0 0 0 10px hsla(0,0%,100%,.5);opacity:0;-webkit-transform:scale(1.5);transform:scale(1.5)}}',"",{version:3,sources:["webpack://./node_modules/pannellum-react/es/pannellum/css/style-textInfo.css"],names:[],mappings:"AAAA,2BAOI,qBAAsB,CAHtB,WAAY,CAIZ,UAAW,CAPX,eAAgB,CAEhB,UAAW,CAMX,iBAAkB,CAElB,SAAU,CADV,YAAa,CAJb,mBAAoB,CAJpB,iBAAkB,CAYlB,+BAA2C,CAC3C,uBAAmC,CAHnC,6CAA8C,CAC9C,qCAAsC,CAGtC,oDAAwD,CACxD,4CAAwC,CAAxC,oCAAwC,CAAxC,0DAAwC,CACxC,qEAA0E,CAC1E,6DAAkE,CAdlE,WAeJ,CAEA,gBACI,SACJ,CAEA,iCACI,SAAU,CACV,kBAAmB,CACnB,iDAA4D,CAC5D,yCACJ,CAEA,mBAEI,6BAAsB,CAAtB,qBAAsB,CADtB,cAEJ,CAEA,+BACI,UAAW,CAQX,kCAAmC,CADnC,aAAc,CANd,cAAe,CAEf,iBAAkB,CAElB,mBAAoB,CADpB,eAAmB,CAFnB,gBAAiB,CAIjB,mBAGJ,CAEA,wBAII,mCAAyC,CADzC,iBAAkB,CAKlB,6BAAsB,CAAtB,qBAAsB,CANtB,WAAY,CAGZ,4DAAgE,CAChE,sDAA0D,CAC1D,4DAAgD,CAAhD,oDAAgD,CAAhD,4CAAgD,CAAhD,2EAAgD,CANhD,UAQJ,CAEA,uBAMI,mCAAyC,CACzC,iBAAkB,CALlB,WAAY,CAGZ,SAAU,CAFV,iBAAkB,CAClB,QAAS,CAIT,gEAAoE,CACpE,0DAA8D,CAC9D,gEAAoD,CAApD,wDAAoD,CAApD,gDAAoD,CAApD,+EAAoD,CATpD,UAUJ,CAEA,8BAWI,iBAAkB,CANlB,+CAA8C,CAA9C,uCAA8C,CAQ9C,8BAA+B,CAC/B,2BAA4B,CAC5B,sBAAuB,CAHvB,UAAW,CAFX,WAAY,CARZ,MAAO,CAIP,SAAU,CAHV,SAAU,CAIV,mBAAoB,CACpB,iBAAkB,CAPlB,KAAM,CAQN,UAAW,CALX,UAgBJ,CAEA,4DANI,2BAA6B,CAC7B,wBAA0B,CAC1B,uBAAyB,CACzB,mBAUJ,CAPA,8BACI,qBAAwC,CAKxC,UACJ,CAEA,6BACI,qBAAwC,CACxC,2BAA6B,CAC7B,wBAA0B,CAC1B,uBAAyB,CACzB,mBACJ,CAEA,oCACI,2CAA4C,CAC5C,wCAAyC,CACzC,mCACJ,CAEA,+BACI,GACI,UACJ,CACA,IAEI,+GAAyH,CAAzH,uGAAyH,CADzH,UAEJ,CACA,GACI,+GAAyH,CAAzH,uGAAyH,CAEzH,SAAU,CADV,4BAEJ,CACJ,CAEA,4BACI,GACI,UACJ,CACA,IAEI,uGAAyH,CADzH,UAEJ,CACA,GACI,uGAAyH,CAEzH,SAAU,CADV,yBAEJ,CACJ,CAEA,uBACI,GACI,UACJ,CACA,IAEI,+GAAyH,CAAzH,uGAAyH,CADzH,UAEJ,CACA,GACI,+GAAyH,CAAzH,uGAAyH,CAEzH,SAAU,CADV,4BAAqB,CAArB,oBAEJ,CACJ",sourcesContent:["#textInfo .tooltip-content {\n    font-size: 1.6em;\n    position: absolute;\n    left: -70px;\n    bottom: 80px;\n    width: 200px;\n    pointer-events: none;\n    background-color: #333;\n    color: #fff;\n    line-height: 1.2em;\n    padding: .8em;\n    opacity: 0;\n    -webkit-transform-origin: 50% calc(100% + 6em);\n    transform-origin: 50% calc(100% + 6em);\n    -webkit-transform: rotate3d(0, 0, 1, 15deg);\n    transform: rotate3d(0, 0, 1, 15deg);\n    -webkit-transition: opacity 0.5s, -webkit-transform 0.5s;\n    transition: opacity 0.5s, transform 0.5s;\n    -webkit-transition-timing-function: ease, cubic-bezier(.17, .67, .4, 1.39);\n    transition-timing-function: ease, cubic-bezier(.17, .67, .4, 1.39);\n}\n\n#textInfo:hover {\n    z-index: 3;\n}\n\n#textInfo:hover .tooltip-content {\n    opacity: 1;\n    pointer-events: all;\n    -webkit-transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0);\n    transform: translate3d(0, 0, 0) rotate3d(0, 0, 0, 0);\n}\n\n#textInfo .hotspot {\n    cursor: pointer;\n    box-sizing: border-box;\n}\n\n#textInfo .hotspot .out:before {\n    speak: none;\n    font-size: 48px;\n    line-height: 90px;\n    font-style: normal;\n    font-weight: normal;\n    font-variant: normal;\n    text-transform: none;\n    display: block;\n    -webkit-font-smoothing: antialiased;\n}\n\n#textInfo .hotspot .out {\n    width: 60px;\n    height: 60px;\n    border-radius: 50%;\n    border: 5px solid rgba(255, 255, 255, .8);\n    -webkit-transition: -webkit-transform ease-out 0.1s, border 0.2s;\n    -moz-transition: -moz-transform ease-out 0.1s, border 0.2s;\n    transition: transform ease-out 0.1s, border 0.2s;\n    box-sizing: border-box;\n}\n\n#textInfo .hotspot .in {\n    width: 40px;\n    height: 40px;\n    position: absolute;\n    top: 10px;\n    left: 10px;\n    background-color: rgba(255, 255, 255, .8);\n    border-radius: 50%;\n    -webkit-transition: -webkit-transform ease-out 0.1s, background 0.2s;\n    -moz-transition: -moz-transform ease-out 0.1s, background 0.2s;\n    transition: transform ease-out 0.1s, background 0.2s;\n}\n\n#textInfo .hotspot .out:after {\n    top: 0;\n    left: 0;\n    padding: 0;\n    z-index: -1;\n    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);\n    opacity: 0;\n    pointer-events: none;\n    position: absolute;\n    width: 100%;\n    height: 100%;\n    border-radius: 50%;\n    content: '';\n    -webkit-box-sizing: content-box;\n    -moz-box-sizing: content-box;\n    box-sizing: content-box;\n    -webkit-transform: scale(0.9);\n    -moz-transform: scale(0.9);\n    -ms-transform: scale(0.9);\n    transform: scale(0.9);\n}\n\n#textInfo .hotspot:hover .out {\n    border: 5px solid rgba(255, 255, 255, 1);\n    -webkit-transform: scale(0.9);\n    -moz-transform: scale(0.9);\n    -ms-transform: scale(0.9);\n    transform: scale(0.9);\n    color: #fff;\n}\n\n#textInfo .hotspot:hover .in {\n    background-color: rgba(255, 255, 255, 1);\n    -webkit-transform: scale(0.8);\n    -moz-transform: scale(0.8);\n    -ms-transform: scale(0.8);\n    transform: scale(0.8);\n}\n\n#textInfo .hotspot:hover .out:after {\n    -webkit-animation: sonarEffect 1.2s ease-out;\n    -moz-animation: sonarEffect 1.2s ease-out;\n    animation: sonarEffect 1.2s ease-out;\n}\n\n@-webkit-keyframes sonarEffect {\n    0% {\n        opacity: 0.5;\n    }\n    20% {\n        opacity: 0.8;\n        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px rgba(37, 170, 225, .8), 0 0 0 10px rgba(255, 255, 255, 0.5);\n    }\n    100% {\n        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px rgba(37, 170, 225, .8), 0 0 0 10px rgba(255, 255, 255, 0.5);\n        -webkit-transform: scale(1.5);\n        opacity: 0;\n    }\n}\n\n@-moz-keyframes sonarEffect {\n    0% {\n        opacity: 0.5;\n    }\n    20% {\n        opacity: 0.8;\n        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px rgba(37, 170, 225, .8), 0 0 0 10px rgba(255, 255, 255, 0.5);\n    }\n    100% {\n        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px rgba(37, 170, 225, .8), 0 0 0 10px rgba(255, 255, 255, 0.5);\n        -moz-transform: scale(1.5);\n        opacity: 0;\n    }\n}\n\n@keyframes sonarEffect {\n    0% {\n        opacity: 0.5;\n    }\n    20% {\n        opacity: 0.8;\n        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px rgba(37, 170, 225, .8), 0 0 0 10px rgba(255, 255, 255, 0.5);\n    }\n    100% {\n        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1), 0 0 10px 10px rgba(37, 170, 225, .8), 0 0 0 10px rgba(255, 255, 255, 0.5);\n        transform: scale(1.5);\n        opacity: 0;\n    }\n}"],sourceRoot:""}]),t.Z=a},93455:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"/*! ========================================================================\n * Bootstrap Toggle: bootstrap2-toggle.css v2.2.0\n * http://www.bootstraptoggle.com\n * ========================================================================\n * Copyright 2014 Min Hur, The New York Times Company\n * Licensed under MIT\n * ======================================================================== */label.checkbox .toggle,label.checkbox.inline .toggle{margin-left:-20px;margin-right:5px}.toggle{height:20px;min-width:40px;overflow:hidden;position:relative}.toggle-group{bottom:0;left:0;position:absolute;top:0;transition:left .35s;-webkit-transition:left .35s;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:200%}.toggle.off .toggle-group{left:-100%}.toggle-on{left:0;right:50%}.toggle-off,.toggle-on{border:0;border-radius:0;bottom:0;margin:0;position:absolute;top:0}.toggle-off{left:50%;right:0}.toggle-handle{border-width:0 1px;height:100%;margin:0 auto;padding-bottom:0;padding-top:0;position:relative;width:0}.toggle-handle.btn-mini,.toggle-handle.btn-xs{top:-2px}.toggle.btn{min-width:30px}.toggle-on.btn{padding-right:24px}.toggle-off.btn,.toggle-on.btn{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.toggle-off.btn{padding-left:24px}.toggle.btn-large{min-width:40px}.toggle-on.btn-large{padding-right:35px}.toggle-off.btn-large{padding-left:35px}.toggle.btn-lg{min-width:40px}.toggle-on.btn-lg{padding-right:35px}.toggle-off.btn-lg{padding-left:35px}.toggle.btn-small{min-width:25px}.toggle-on.btn-small{padding-right:20px}.toggle-off.btn-small{padding-left:20px}.toggle.btn-sm{min-width:25px}.toggle-on.btn-sm{padding-right:20px}.toggle-off.btn-sm{padding-left:20px}.toggle.btn-mini{min-width:20px}.toggle-on.btn-mini{padding-right:12px}.toggle-off.btn-mini{padding-left:12px}.toggle.btn-xs{min-width:20px}.toggle-on.btn-xs{padding-right:12px}.toggle-off.btn-xs{padding-left:12px}.slow .toggle-group{transition:left .7s;-webkit-transition:left .7s}.fast .toggle-group{transition:left .1s;-webkit-transition:left .1s}.quick .toggle-group{transition:none;-webkit-transition:none}.toggle-off[disabled],.toggle-on.disabled,.toggle-on[disabled]{cursor:not-allowed!important}","",{version:3,sources:["webpack://./node_modules/react-bootstrap-toggle/dist/bootstrap2-toggle.css"],names:[],mappings:"AAAA;;;;;;6EAM6E,CAG7E,qDAEC,iBAAkB,CAClB,gBACD,CAEA,QAEC,WAAY,CADZ,cAAe,CAGf,eAAgB,CADhB,iBAED,CAEA,cAIC,QAAS,CACT,MAAO,CAJP,iBAAkB,CAElB,KAAM,CAGN,oBAAsB,CACtB,4BAA8B,CAC9B,qBAAsB,CACtB,wBAAyB,CACzB,oBAAiB,CAAjB,gBAAiB,CARjB,UASD,CAEA,0BACC,UACD,CAEA,WAIC,MAAO,CACP,SAID,CAEA,uBAJC,QAAS,CACT,eAAgB,CALhB,QAAS,CAGT,QAAS,CALT,iBAAkB,CAClB,KAkBD,CATA,YAIC,QAAS,CACT,OAID,CAEA,eAOC,kBAAmB,CAFnB,WAAY,CAHZ,aAAc,CAEd,gBAAmB,CADnB,aAAgB,CAFhB,iBAAkB,CAKlB,OAED,CAMA,8CACC,QACD,CAEA,YAAc,cAAiB,CAC/B,eAAiB,kBAAyD,CAC1E,+BADqD,wBAAmB,CAAnB,qBAAmB,CAAnB,kBAAmB,CAAlC,mBAAa,CAAb,mBAAa,CAAb,YACoC,CAA1E,gBAAkB,iBAAwD,CAE1E,kBAAoB,cAAiB,CACrC,qBAAuB,kBAAqB,CAC5C,sBAAwB,iBAAoB,CAE5C,eAAiB,cAAiB,CAClC,kBAAoB,kBAAqB,CACzC,mBAAqB,iBAAoB,CAGzC,kBAAoB,cAAiB,CACrC,qBAAuB,kBAAqB,CAC5C,sBAAwB,iBAAoB,CAE5C,eAAiB,cAAiB,CAClC,kBAAoB,kBAAqB,CACzC,mBAAqB,iBAAoB,CAEzC,iBAAmB,cAAiB,CACpC,oBAAsB,kBAAqB,CAC3C,qBAAuB,iBAAoB,CAE3C,eAAiB,cAAiB,CAClC,kBAAoB,kBAAqB,CACzC,mBAAqB,iBAAoB,CAEzC,oBAAsB,mBAAqB,CAAE,2BAA+B,CAC5E,oBAAsB,mBAAqB,CAAE,2BAA+B,CAC5E,qBAAuB,eAAgB,CAAE,uBAA0B,CAGnE,+DAA6C,4BAA8B",sourcesContent:["/*! ========================================================================\n * Bootstrap Toggle: bootstrap2-toggle.css v2.2.0\n * http://www.bootstraptoggle.com\n * ========================================================================\n * Copyright 2014 Min Hur, The New York Times Company\n * Licensed under MIT\n * ======================================================================== */\n\n\nlabel.checkbox .toggle,\nlabel.checkbox.inline .toggle {\n\tmargin-left: -20px;\n\tmargin-right: 5px;\n}\n\n.toggle {\n\tmin-width: 40px;\n\theight: 20px;\n\tposition: relative;\n\toverflow: hidden;\n}\n\n.toggle-group {\n\tposition: absolute;\n\twidth: 200%;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\ttransition: left 0.35s;\n\t-webkit-transition: left 0.35s;\n\t-moz-user-select: none;\n\t-webkit-user-select: none;\n\tuser-select: none;\n}\n\n.toggle.off .toggle-group {\n\tleft: -100%;\n}\n\n.toggle-on {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 0;\n\tright: 50%;\n\tmargin: 0;\n\tborder: 0;\n\tborder-radius: 0;\n}\n\n.toggle-off {\n\tposition: absolute;\n\ttop: 0;\n\tbottom: 0;\n\tleft: 50%;\n\tright: 0;\n\tmargin: 0;\n\tborder: 0;\n\tborder-radius: 0;\n}\n\n.toggle-handle {\n\tposition: relative;\n\tmargin: 0 auto;\n\tpadding-top: 0px;\n\tpadding-bottom: 0px;\n\theight: 100%;\n\twidth: 0px;\n\tborder-width: 0 1px;\n}\n\n.toggle-handle.btn-mini  {\n\ttop: -2px;\n}\n\n.toggle-handle.btn-xs {\n\ttop: -2px;\n}\n\n.toggle.btn { min-width: 30px; }\n.toggle-on.btn { padding-right: 24px; display: flex; align-items: center; }\n.toggle-off.btn { padding-left: 24px; display: flex; align-items: center; }\n\n.toggle.btn-large { min-width: 40px; }\n.toggle-on.btn-large { padding-right: 35px; }\n.toggle-off.btn-large { padding-left: 35px; }\n\n.toggle.btn-lg { min-width: 40px; }\n.toggle-on.btn-lg { padding-right: 35px; }\n.toggle-off.btn-lg { padding-left: 35px; }\n\n\n.toggle.btn-small { min-width: 25px; }\n.toggle-on.btn-small { padding-right: 20px; }\n.toggle-off.btn-small { padding-left: 20px; }\n\n.toggle.btn-sm { min-width: 25px; }\n.toggle-on.btn-sm { padding-right: 20px; }\n.toggle-off.btn-sm { padding-left: 20px; }\n\n.toggle.btn-mini { min-width: 20px; }\n.toggle-on.btn-mini { padding-right: 12px; }\n.toggle-off.btn-mini { padding-left: 12px; }\n\n.toggle.btn-xs { min-width: 20px; }\n.toggle-on.btn-xs { padding-right: 12px; }\n.toggle-off.btn-xs { padding-left: 12px; }\n\n.slow .toggle-group { transition: left 0.7s; -webkit-transition: left 0.7s; }\n.fast .toggle-group { transition: left 0.1s; -webkit-transition: left 0.1s; }\n.quick .toggle-group { transition: none; -webkit-transition: none; }\n\n.toggle-on[disabled], .toggle-on.disabled { cursor: not-allowed!important }\n.toggle-off[disabled], .toggle-on.disabled { cursor: not-allowed!important }\n"],sourceRoot:""}]),t.Z=a},93301:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{margin-left:-8px;position:absolute}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{border:8px solid transparent;-webkit-box-sizing:content-box;box-sizing:content-box;height:0;position:absolute;width:1px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{border-bottom-color:#aeaeae;border-width:8px;content:"";left:-8px;z-index:-1}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{margin-top:-8px;top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#f0f0f0;border-top:none}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#aeaeae;top:-1px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{border-top-color:#aeaeae;bottom:-1px}.react-datepicker-wrapper{border:0;display:inline-block;padding:0}.react-datepicker{background-color:#fff;border:1px solid #aeaeae;border-radius:.3rem;color:#000;display:inline-block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.8rem;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{left:50px;position:absolute}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{margin-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{margin-bottom:10px}.react-datepicker-popper[data-placement^=right]{margin-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{margin-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding-top:8px;position:relative;text-align:center}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 2px}.react-datepicker-time__header,.react-datepicker-year-header,.react-datepicker__current-month{color:#000;font-size:.944rem;font-weight:700;margin-top:0}.react-datepicker-time__header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-datepicker__navigation{background:none;border:.45rem solid transparent;cursor:pointer;height:10px;line-height:1.7rem;overflow:hidden;padding:0;position:absolute;text-align:center;text-indent:-999em;top:10px;width:0;width:10px;z-index:1}.react-datepicker__navigation--previous{border-right-color:#ccc;left:10px}.react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__navigation--previous--disabled,.react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__navigation--next{border-left-color:#ccc;right:10px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:95px}.react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__navigation--next--disabled,.react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}.react-datepicker__navigation--years{display:block;margin-left:auto;margin-right:auto;position:relative;top:0}.react-datepicker__navigation--years-previous{border-top-color:#ccc;top:4px}.react-datepicker__navigation--years-previous:hover{border-top-color:#b3b3b3}.react-datepicker__navigation--years-upcoming{border-bottom-color:#ccc;top:-4px}.react-datepicker__navigation--years-upcoming:hover{border-bottom-color:#b3b3b3}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__input-time-container{clear:both;float:left;margin:5px 0 10px 15px;text-align:left;width:100%}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{display:inline-block;margin-left:5px}.react-datepicker__time-container{border-left:1px solid #aeaeae;float:right;width:85px}.react-datepicker__time-container--with-today-button{border:1px solid #aeaeae;border-radius:.3rem;display:inline;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{background:#fff;border-bottom-right-radius:.3rem;position:relative}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{border-bottom-right-radius:.3rem;margin:0 auto;overflow-x:hidden;text-align:center;width:85px}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{-webkit-box-sizing:content-box;box-sizing:content-box;height:calc(195px + .85rem);list-style:none;margin:0;overflow-y:scroll;padding-left:0;padding-right:0;width:100%}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{background-color:#f0f0f0;cursor:pointer}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{background-color:transparent;cursor:default}.react-datepicker__week-number{color:#ccc;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__month--in-range,.react-datepicker__month--in-selecting-range,.react-datepicker__month--selected,.react-datepicker__quarter--in-range,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__month--in-range:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--selected:hover,.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--selected:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{background-color:transparent;cursor:default}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{background-color:#3dcc4a;border-radius:.3rem;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected,.react-datepicker__month-text--in-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--selected,.react-datepicker__quarter-text--in-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--selected,.react-datepicker__year-text--in-range,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__year-text--in-range:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{background-color:#2a87d0;border-radius:.3rem;color:#fff}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range{background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range\n.react-datepicker__month-text--in-range,.react-datepicker__month--selecting-range\n.react-datepicker__quarter-text--in-range,.react-datepicker__month--selecting-range\n.react-datepicker__year-text--in-range,.react-datepicker__month--selecting-range .react-datepicker__day--in-range{background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{color:#ccc;cursor:default}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{display:inline-block;position:relative;width:100%}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid transparent;border-radius:.3rem}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{border-top-color:#ccc;border-width:.45rem;float:right;margin-left:20px;position:relative;top:8px}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;border:1px solid #aeaeae;border-radius:.3rem;left:25%;position:absolute;text-align:center;top:30px;width:50%;z-index:1}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{display:block;line-height:20px;margin-left:auto;margin-right:auto;width:100%}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{left:15px;position:absolute}.react-datepicker__close-icon{background-color:transparent;border:0;cursor:pointer;display:table-cell;height:100%;outline:0;padding:0 6px 0 0;position:absolute;right:0;top:0;vertical-align:middle}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;color:#fff;content:"\\00d7";cursor:pointer;display:table-cell;font-size:12px;height:16px;line-height:1;padding:2px;text-align:center;vertical-align:middle;width:16px}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;clear:left;cursor:pointer;font-weight:700;padding:5px 0;text-align:center}.react-datepicker__portal{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(0,0,0,.8);display:-webkit-box;display:-ms-flexbox;display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:3rem;width:3rem}@media (max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:2rem;width:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker__portal .react-datepicker__navigation{border:.81rem solid transparent}.react-datepicker__portal .react-datepicker__navigation--previous{border-right-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--previous--disabled,.react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__portal .react-datepicker__navigation--next{border-left-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--next--disabled,.react-datepicker__portal .react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}',"",{version:3,sources:["webpack://./node_modules/react-datepicker/dist/react-datepicker.css"],names:[],mappings:"AAAA,wSAGE,gBAAiB,CACjB,iBACF,CAEA,mnBAOE,4BAA6B,CAF7B,8BAAuB,CAAvB,sBAAuB,CAGvB,QAAS,CAFT,iBAAkB,CAGlB,SACF,CAEA,2UAOE,2BAA4B,CAF5B,gBAAiB,CAFjB,UAAW,CAGX,SAAU,CAFV,UAIF,CAEA,6EAEE,eAAgB,CADhB,KAEF,CAEA,iKAEE,2BAA4B,CAD5B,eAEF,CAEA,oFAEE,2BAA4B,CAD5B,QAEF,CAEA,2NAGE,QAAS,CACT,kBACF,CAEA,kdAKE,kBAAmB,CACnB,qBACF,CAEA,uPAIE,wBAAyB,CADzB,WAEF,CAEA,0BAGE,QAAS,CAFT,oBAAqB,CACrB,SAEF,CAEA,kBAGE,qBAAsB,CAEtB,wBAAyB,CACzB,mBAAqB,CAFrB,UAAW,CAGX,oBAAqB,CANrB,qDAA2D,CAC3D,eAAiB,CAMjB,iBACF,CAEA,yDACE,SACF,CAEA,+DACE,aACF,CAEA,8GAEE,+BAAiC,CACjC,gCACF,CAEA,4BAEE,SAAU,CADV,iBAEF,CAEA,yBACE,SACF,CAEA,iDACE,eACF,CAEA,6JACE,SAAU,CACV,UACF,CAEA,8CACE,kBACF,CAEA,gDACE,eACF,CAEA,4EACE,SAAU,CACV,UACF,CAEA,+CACE,gBACF,CAEA,2EACE,SAAU,CACV,UACF,CAEA,0BAEE,wBAAyB,CACzB,+BAAgC,CAChC,4BAA8B,CAC9B,eAAgB,CAChB,iBAAkB,CALlB,iBAMF,CAEA,gCACE,kBAAmB,CACnB,gBAAiB,CACjB,iBACF,CAEA,2EACE,wBACF,CAEA,0EACE,6BACF,CAEA,gUAME,oBAAqB,CACrB,YACF,CAEA,8FAIE,UAAW,CAEX,iBAAmB,CADnB,eAAiB,CAFjB,YAIF,CAEA,+BAGE,eAAgB,CAFhB,sBAAuB,CACvB,kBAEF,CAEA,8BACE,eAAgB,CAQhB,+BAAiC,CALjC,cAAe,CAOf,WAAY,CATZ,kBAAmB,CAYnB,eAAgB,CANhB,SAAU,CAHV,iBAAkB,CAFlB,iBAAkB,CAUlB,kBAAmB,CAPnB,QAAS,CACT,OAAQ,CAKR,UAAW,CAFX,SAKF,CAEA,wCAEE,uBAAwB,CADxB,SAEF,CAEA,8CACE,0BACF,CAEA,0GACE,0BAA2B,CAC3B,cACF,CAEA,oCAEE,sBAAuB,CADvB,UAEF,CAEA,2GACE,UACF,CAEA,0CACE,yBACF,CAEA,kGACE,yBAA0B,CAC1B,cACF,CAEA,qCAGE,aAAc,CACd,gBAAiB,CACjB,iBAAkB,CAJlB,iBAAkB,CAClB,KAIF,CAEA,8CAEE,qBAAsB,CADtB,OAEF,CAEA,oDACE,wBACF,CAEA,8CAEE,wBAAyB,CADzB,QAEF,CAEA,oDACE,2BACF,CAEA,mCACE,UACF,CAEA,wBACE,YAAc,CACd,iBACF,CAEA,gCACE,mBAAa,CAAb,mBAAa,CAAb,YAAa,CACb,kBAAe,CAAf,cAAe,CACf,eACF,CAEA,qDACE,oBAAqB,CAErB,UAAW,CADX,UAEF,CAEA,yBACE,YAAc,CACd,iBACF,CAEA,gHAEE,oBAAqB,CAErB,UAAW,CADX,UAEF,CAEA,wCACE,UAAW,CAEX,UAAW,CACX,sBAAuB,CACvB,eAAgB,CAHhB,UAIF,CAMA,wJACE,oBACF,CAEA,8GACE,oBAAqB,CACrB,gBACF,CAEA,oHACE,UACF,CAEA,oTAEE,uBAAwB,CACxB,QACF,CAEA,+HACE,yBACF,CAEA,kHAEE,oBAAqB,CADrB,eAEF,CAEA,kCAEE,6BAA8B,CAD9B,WAAY,CAEZ,UACF,CAEA,qDAEE,wBAAyB,CACzB,mBAAqB,CAFrB,cAAe,CAGf,iBAAkB,CAClB,WAAY,CACZ,KACF,CAEA,0DAEE,eAAiB,CACjB,gCAAkC,CAFlC,iBAGF,CAEA,sFAKE,gCAAkC,CAFlC,aAAc,CADd,iBAAkB,CAElB,iBAAkB,CAHlB,UAKF,CAEA,qHAQE,8BAAuB,CAAvB,sBAAuB,CALvB,2BAAkC,CAFlC,eAAgB,CAChB,QAAS,CAET,iBAAkB,CAElB,cAAiB,CADjB,eAAkB,CAElB,UAEF,CAEA,yJACE,WAAY,CACZ,gBAAiB,CACjB,kBACF,CAEA,+JAEE,wBAAyB,CADzB,cAEF,CAEA,mKACE,wBAAyB,CACzB,UAAY,CACZ,eACF,CAEA,yKACE,wBACF,CAEA,mKACE,UACF,CAEA,yKAEE,4BAA6B,CAD7B,cAEF,CAEA,+BACE,UAAW,CACX,oBAAqB,CAErB,kBAAmB,CAEnB,cAAgB,CADhB,iBAAkB,CAFlB,YAIF,CAEA,wEACE,cACF,CAEA,8EAEE,wBAAyB,CADzB,mBAEF,CAEA,qDAEE,kBACF,CAEA,gFAGE,UAAW,CACX,oBAAqB,CAErB,kBAAmB,CAEnB,cAAgB,CADhB,iBAAkB,CAFlB,YAIF,CAEA,4OAKE,wBAAyB,CADzB,mBAAqB,CAErB,UACF,CAEA,gRAIE,wBACF,CAEA,wEAEE,UAAW,CACX,mBACF,CAEA,oFAGE,4BAA6B,CAD7B,cAEF,CAEA,kHAIE,cACF,CAEA,0IAKE,wBAAyB,CADzB,mBAEF,CAEA,8IAIE,eACF,CAEA,sKAKE,wBAAyB,CADzB,mBAAqB,CAErB,UACF,CAEA,8LAIE,wBACF,CAEA,0MAIE,UACF,CAEA,0MAIE,WACF,CAEA,sfAWE,wBAAyB,CADzB,mBAAqB,CAErB,UACF,CAEA,8jBAUE,wBACF,CAEA,8LAKE,wBAAyB,CADzB,mBAAqB,CAErB,UACF,CAEA,sNAIE,wBACF,CAEA,kMAIE,oCACF,CAEA;;;kHAIE,wBAAyB,CACzB,UACF,CAEA,0JAKE,UAAW,CADX,cAEF,CAEA,kLAIE,4BACF,CAEA,gkBAKE,wBACF,CAEA,0EAEE,wBACF,CAEA,mCAEE,oBAAqB,CADrB,iBAAkB,CAElB,UACF,CAEA,6GAGE,4BAA6B,CAC7B,mBACF,CAEA,+HAGE,cACF,CAEA,qhBAME,wBACF,CAEA,iJAGE,qBAAsB,CAKtB,mBAAqB,CAJrB,WAAY,CACZ,gBAAiB,CAEjB,iBAAkB,CADlB,OAGF,CAEA,0GAGE,wBAAyB,CAQzB,wBAAyB,CADzB,mBAAqB,CAJrB,QAAS,CAFT,iBAAkB,CAKlB,iBAAkB,CAFlB,QAAS,CAFT,SAAU,CAGV,SAIF,CAEA,4HAGE,cACF,CAEA,8IAGE,YAAa,CACb,iBACF,CAEA,oGAKE,aAAc,CAFd,gBAAiB,CAGjB,gBAAiB,CACjB,iBAAkB,CAHlB,UAIF,CAEA,8IAGE,4BAA8B,CAC9B,6BACF,CAEA,2IAOE,+BAAiC,CACjC,gCAAkC,CALlC,wBAAyB,CACzB,qBAAsB,CACtB,oBAAqB,CACrB,gBAGF,CAEA,sHAGE,qBACF,CAEA,gQAGE,2BACF,CAEA,gQAGE,wBACF,CAEA,kIAIE,SAAU,CADV,iBAEF,CAEA,8BAEE,4BAA6B,CAC7B,QAAS,CAFT,cAAe,CASf,kBAAmB,CADnB,WAAY,CALZ,SAAU,CACV,iBAAwB,CACxB,iBAAkB,CAElB,OAAQ,CADR,KAAM,CAIN,qBACF,CAEA,oCAEE,wBAAyB,CAEzB,iBAAkB,CADlB,UAAW,CAUX,eAAgB,CAZhB,cAAe,CAUf,kBAAmB,CAHnB,cAAe,CAHf,WAAY,CAIZ,aAAc,CAFd,WAAY,CAGZ,iBAAkB,CAElB,qBAAsB,CANtB,UAQF,CAEA,gCACE,kBAAmB,CACnB,4BAA6B,CAK7B,UAAW,CAJX,cAAe,CAEf,eAAiB,CACjB,aAAc,CAFd,iBAIF,CAEA,0BAOE,uBAAuB,CAAvB,oBAAuB,CACvB,wBAAmB,CAAnB,qBAAmB,CAAnB,kBAAmB,CAJnB,+BAAoC,CAKpC,mBAAa,CAAb,mBAAa,CAAb,YAAa,CANb,YAAa,CAIb,sBAAuB,CAFvB,MAAO,CAJP,cAAe,CAKf,KAAM,CAJN,WAAY,CAQZ,kBACF,CAEA,8JAIE,gBAAiB,CADjB,UAEF,CAEA,4CACE,8JAIE,gBAAiB,CADjB,UAEF,CACF,CAEA,oHAEE,iBACF,CAEA,wDACE,+BACF,CAEA,kEACE,uBACF,CAEA,wEACE,0BACF,CAEA,8JACE,0BAA2B,CAC3B,cACF,CAEA,8DACE,sBACF,CAEA,oEACE,yBACF,CAEA,sJACE,yBAA0B,CAC1B,cACF",sourcesContent:['.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n  margin-left: -8px;\n  position: absolute;\n}\n\n.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n.react-datepicker__month-read-view--down-arrow::before,\n.react-datepicker__month-year-read-view--down-arrow::before {\n  box-sizing: content-box;\n  position: absolute;\n  border: 8px solid transparent;\n  height: 0;\n  width: 1px;\n}\n\n.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n.react-datepicker__month-read-view--down-arrow::before,\n.react-datepicker__month-year-read-view--down-arrow::before {\n  content: "";\n  z-index: -1;\n  border-width: 8px;\n  left: -8px;\n  border-bottom-color: #aeaeae;\n}\n\n.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle {\n  top: 0;\n  margin-top: -8px;\n}\n\n.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle, .react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before {\n  border-top: none;\n  border-bottom-color: #f0f0f0;\n}\n\n.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before {\n  top: -1px;\n  border-bottom-color: #aeaeae;\n}\n\n.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n  bottom: 0;\n  margin-bottom: -8px;\n}\n\n.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow, .react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n.react-datepicker__month-read-view--down-arrow::before,\n.react-datepicker__month-year-read-view--down-arrow::before {\n  border-bottom: none;\n  border-top-color: #fff;\n}\n\n.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before, .react-datepicker__year-read-view--down-arrow::before,\n.react-datepicker__month-read-view--down-arrow::before,\n.react-datepicker__month-year-read-view--down-arrow::before {\n  bottom: -1px;\n  border-top-color: #aeaeae;\n}\n\n.react-datepicker-wrapper {\n  display: inline-block;\n  padding: 0;\n  border: 0;\n}\n\n.react-datepicker {\n  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;\n  font-size: 0.8rem;\n  background-color: #fff;\n  color: #000;\n  border: 1px solid #aeaeae;\n  border-radius: 0.3rem;\n  display: inline-block;\n  position: relative;\n}\n\n.react-datepicker--time-only .react-datepicker__triangle {\n  left: 35px;\n}\n\n.react-datepicker--time-only .react-datepicker__time-container {\n  border-left: 0;\n}\n\n.react-datepicker--time-only .react-datepicker__time,\n.react-datepicker--time-only .react-datepicker__time-box {\n  border-bottom-left-radius: 0.3rem;\n  border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker__triangle {\n  position: absolute;\n  left: 50px;\n}\n\n.react-datepicker-popper {\n  z-index: 1;\n}\n\n.react-datepicker-popper[data-placement^="bottom"] {\n  margin-top: 10px;\n}\n\n.react-datepicker-popper[data-placement="bottom-end"] .react-datepicker__triangle, .react-datepicker-popper[data-placement="top-end"] .react-datepicker__triangle {\n  left: auto;\n  right: 50px;\n}\n\n.react-datepicker-popper[data-placement^="top"] {\n  margin-bottom: 10px;\n}\n\n.react-datepicker-popper[data-placement^="right"] {\n  margin-left: 8px;\n}\n\n.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle {\n  left: auto;\n  right: 42px;\n}\n\n.react-datepicker-popper[data-placement^="left"] {\n  margin-right: 8px;\n}\n\n.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle {\n  left: 42px;\n  right: auto;\n}\n\n.react-datepicker__header {\n  text-align: center;\n  background-color: #f0f0f0;\n  border-bottom: 1px solid #aeaeae;\n  border-top-left-radius: 0.3rem;\n  padding-top: 8px;\n  position: relative;\n}\n\n.react-datepicker__header--time {\n  padding-bottom: 8px;\n  padding-left: 5px;\n  padding-right: 5px;\n}\n\n.react-datepicker__header--time:not(.react-datepicker__header--time--only) {\n  border-top-left-radius: 0;\n}\n\n.react-datepicker__header:not(.react-datepicker__header--has-time-select) {\n  border-top-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-dropdown-container--select,\n.react-datepicker__month-dropdown-container--select,\n.react-datepicker__month-year-dropdown-container--select,\n.react-datepicker__year-dropdown-container--scroll,\n.react-datepicker__month-dropdown-container--scroll,\n.react-datepicker__month-year-dropdown-container--scroll {\n  display: inline-block;\n  margin: 0 2px;\n}\n\n.react-datepicker__current-month,\n.react-datepicker-time__header,\n.react-datepicker-year-header {\n  margin-top: 0;\n  color: #000;\n  font-weight: bold;\n  font-size: 0.944rem;\n}\n\n.react-datepicker-time__header {\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: hidden;\n}\n\n.react-datepicker__navigation {\n  background: none;\n  line-height: 1.7rem;\n  text-align: center;\n  cursor: pointer;\n  position: absolute;\n  top: 10px;\n  width: 0;\n  padding: 0;\n  border: 0.45rem solid transparent;\n  z-index: 1;\n  height: 10px;\n  width: 10px;\n  text-indent: -999em;\n  overflow: hidden;\n}\n\n.react-datepicker__navigation--previous {\n  left: 10px;\n  border-right-color: #ccc;\n}\n\n.react-datepicker__navigation--previous:hover {\n  border-right-color: #b3b3b3;\n}\n\n.react-datepicker__navigation--previous--disabled, .react-datepicker__navigation--previous--disabled:hover {\n  border-right-color: #e6e6e6;\n  cursor: default;\n}\n\n.react-datepicker__navigation--next {\n  right: 10px;\n  border-left-color: #ccc;\n}\n\n.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button) {\n  right: 95px;\n}\n\n.react-datepicker__navigation--next:hover {\n  border-left-color: #b3b3b3;\n}\n\n.react-datepicker__navigation--next--disabled, .react-datepicker__navigation--next--disabled:hover {\n  border-left-color: #e6e6e6;\n  cursor: default;\n}\n\n.react-datepicker__navigation--years {\n  position: relative;\n  top: 0;\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.react-datepicker__navigation--years-previous {\n  top: 4px;\n  border-top-color: #ccc;\n}\n\n.react-datepicker__navigation--years-previous:hover {\n  border-top-color: #b3b3b3;\n}\n\n.react-datepicker__navigation--years-upcoming {\n  top: -4px;\n  border-bottom-color: #ccc;\n}\n\n.react-datepicker__navigation--years-upcoming:hover {\n  border-bottom-color: #b3b3b3;\n}\n\n.react-datepicker__month-container {\n  float: left;\n}\n\n.react-datepicker__year {\n  margin: 0.4rem;\n  text-align: center;\n}\n\n.react-datepicker__year-wrapper {\n  display: flex;\n  flex-wrap: wrap;\n  max-width: 180px;\n}\n\n.react-datepicker__year .react-datepicker__year-text {\n  display: inline-block;\n  width: 4rem;\n  margin: 2px;\n}\n\n.react-datepicker__month {\n  margin: 0.4rem;\n  text-align: center;\n}\n\n.react-datepicker__month .react-datepicker__month-text,\n.react-datepicker__month .react-datepicker__quarter-text {\n  display: inline-block;\n  width: 4rem;\n  margin: 2px;\n}\n\n.react-datepicker__input-time-container {\n  clear: both;\n  width: 100%;\n  float: left;\n  margin: 5px 0 10px 15px;\n  text-align: left;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__caption {\n  display: inline-block;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__input-container {\n  display: inline-block;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input {\n  display: inline-block;\n  margin-left: 10px;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input {\n  width: auto;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]::-webkit-inner-spin-button,\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]::-webkit-outer-spin-button {\n  -webkit-appearance: none;\n  margin: 0;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"] {\n  -moz-appearance: textfield;\n}\n\n.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter {\n  margin-left: 5px;\n  display: inline-block;\n}\n\n.react-datepicker__time-container {\n  float: right;\n  border-left: 1px solid #aeaeae;\n  width: 85px;\n}\n\n.react-datepicker__time-container--with-today-button {\n  display: inline;\n  border: 1px solid #aeaeae;\n  border-radius: 0.3rem;\n  position: absolute;\n  right: -72px;\n  top: 0;\n}\n\n.react-datepicker__time-container .react-datepicker__time {\n  position: relative;\n  background: white;\n  border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box {\n  width: 85px;\n  overflow-x: hidden;\n  margin: 0 auto;\n  text-align: center;\n  border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list {\n  list-style: none;\n  margin: 0;\n  height: calc(195px + (1.7rem / 2));\n  overflow-y: scroll;\n  padding-right: 0px;\n  padding-left: 0px;\n  width: 100%;\n  box-sizing: content-box;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item {\n  height: 30px;\n  padding: 5px 10px;\n  white-space: nowrap;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover {\n  cursor: pointer;\n  background-color: #f0f0f0;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected {\n  background-color: #216ba5;\n  color: white;\n  font-weight: bold;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover {\n  background-color: #216ba5;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled {\n  color: #ccc;\n}\n\n.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover {\n  cursor: default;\n  background-color: transparent;\n}\n\n.react-datepicker__week-number {\n  color: #ccc;\n  display: inline-block;\n  width: 1.7rem;\n  line-height: 1.7rem;\n  text-align: center;\n  margin: 0.166rem;\n}\n\n.react-datepicker__week-number.react-datepicker__week-number--clickable {\n  cursor: pointer;\n}\n\n.react-datepicker__week-number.react-datepicker__week-number--clickable:hover {\n  border-radius: 0.3rem;\n  background-color: #f0f0f0;\n}\n\n.react-datepicker__day-names,\n.react-datepicker__week {\n  white-space: nowrap;\n}\n\n.react-datepicker__day-name,\n.react-datepicker__day,\n.react-datepicker__time-name {\n  color: #000;\n  display: inline-block;\n  width: 1.7rem;\n  line-height: 1.7rem;\n  text-align: center;\n  margin: 0.166rem;\n}\n\n.react-datepicker__month--selected, .react-datepicker__month--in-selecting-range, .react-datepicker__month--in-range,\n.react-datepicker__quarter--selected,\n.react-datepicker__quarter--in-selecting-range,\n.react-datepicker__quarter--in-range {\n  border-radius: 0.3rem;\n  background-color: #216ba5;\n  color: #fff;\n}\n\n.react-datepicker__month--selected:hover, .react-datepicker__month--in-selecting-range:hover, .react-datepicker__month--in-range:hover,\n.react-datepicker__quarter--selected:hover,\n.react-datepicker__quarter--in-selecting-range:hover,\n.react-datepicker__quarter--in-range:hover {\n  background-color: #1d5d90;\n}\n\n.react-datepicker__month--disabled,\n.react-datepicker__quarter--disabled {\n  color: #ccc;\n  pointer-events: none;\n}\n\n.react-datepicker__month--disabled:hover,\n.react-datepicker__quarter--disabled:hover {\n  cursor: default;\n  background-color: transparent;\n}\n\n.react-datepicker__day,\n.react-datepicker__month-text,\n.react-datepicker__quarter-text,\n.react-datepicker__year-text {\n  cursor: pointer;\n}\n\n.react-datepicker__day:hover,\n.react-datepicker__month-text:hover,\n.react-datepicker__quarter-text:hover,\n.react-datepicker__year-text:hover {\n  border-radius: 0.3rem;\n  background-color: #f0f0f0;\n}\n\n.react-datepicker__day--today,\n.react-datepicker__month-text--today,\n.react-datepicker__quarter-text--today,\n.react-datepicker__year-text--today {\n  font-weight: bold;\n}\n\n.react-datepicker__day--highlighted,\n.react-datepicker__month-text--highlighted,\n.react-datepicker__quarter-text--highlighted,\n.react-datepicker__year-text--highlighted {\n  border-radius: 0.3rem;\n  background-color: #3dcc4a;\n  color: #fff;\n}\n\n.react-datepicker__day--highlighted:hover,\n.react-datepicker__month-text--highlighted:hover,\n.react-datepicker__quarter-text--highlighted:hover,\n.react-datepicker__year-text--highlighted:hover {\n  background-color: #32be3f;\n}\n\n.react-datepicker__day--highlighted-custom-1,\n.react-datepicker__month-text--highlighted-custom-1,\n.react-datepicker__quarter-text--highlighted-custom-1,\n.react-datepicker__year-text--highlighted-custom-1 {\n  color: magenta;\n}\n\n.react-datepicker__day--highlighted-custom-2,\n.react-datepicker__month-text--highlighted-custom-2,\n.react-datepicker__quarter-text--highlighted-custom-2,\n.react-datepicker__year-text--highlighted-custom-2 {\n  color: green;\n}\n\n.react-datepicker__day--selected, .react-datepicker__day--in-selecting-range, .react-datepicker__day--in-range,\n.react-datepicker__month-text--selected,\n.react-datepicker__month-text--in-selecting-range,\n.react-datepicker__month-text--in-range,\n.react-datepicker__quarter-text--selected,\n.react-datepicker__quarter-text--in-selecting-range,\n.react-datepicker__quarter-text--in-range,\n.react-datepicker__year-text--selected,\n.react-datepicker__year-text--in-selecting-range,\n.react-datepicker__year-text--in-range {\n  border-radius: 0.3rem;\n  background-color: #216ba5;\n  color: #fff;\n}\n\n.react-datepicker__day--selected:hover, .react-datepicker__day--in-selecting-range:hover, .react-datepicker__day--in-range:hover,\n.react-datepicker__month-text--selected:hover,\n.react-datepicker__month-text--in-selecting-range:hover,\n.react-datepicker__month-text--in-range:hover,\n.react-datepicker__quarter-text--selected:hover,\n.react-datepicker__quarter-text--in-selecting-range:hover,\n.react-datepicker__quarter-text--in-range:hover,\n.react-datepicker__year-text--selected:hover,\n.react-datepicker__year-text--in-selecting-range:hover,\n.react-datepicker__year-text--in-range:hover {\n  background-color: #1d5d90;\n}\n\n.react-datepicker__day--keyboard-selected,\n.react-datepicker__month-text--keyboard-selected,\n.react-datepicker__quarter-text--keyboard-selected,\n.react-datepicker__year-text--keyboard-selected {\n  border-radius: 0.3rem;\n  background-color: #2a87d0;\n  color: #fff;\n}\n\n.react-datepicker__day--keyboard-selected:hover,\n.react-datepicker__month-text--keyboard-selected:hover,\n.react-datepicker__quarter-text--keyboard-selected:hover,\n.react-datepicker__year-text--keyboard-selected:hover {\n  background-color: #1d5d90;\n}\n\n.react-datepicker__day--in-selecting-range ,\n.react-datepicker__month-text--in-selecting-range ,\n.react-datepicker__quarter-text--in-selecting-range ,\n.react-datepicker__year-text--in-selecting-range {\n  background-color: rgba(33, 107, 165, 0.5);\n}\n\n.react-datepicker__month--selecting-range .react-datepicker__day--in-range , .react-datepicker__month--selecting-range\n.react-datepicker__month-text--in-range , .react-datepicker__month--selecting-range\n.react-datepicker__quarter-text--in-range , .react-datepicker__month--selecting-range\n.react-datepicker__year-text--in-range {\n  background-color: #f0f0f0;\n  color: #000;\n}\n\n.react-datepicker__day--disabled,\n.react-datepicker__month-text--disabled,\n.react-datepicker__quarter-text--disabled,\n.react-datepicker__year-text--disabled {\n  cursor: default;\n  color: #ccc;\n}\n\n.react-datepicker__day--disabled:hover,\n.react-datepicker__month-text--disabled:hover,\n.react-datepicker__quarter-text--disabled:hover,\n.react-datepicker__year-text--disabled:hover {\n  background-color: transparent;\n}\n\n.react-datepicker__month-text.react-datepicker__month--selected:hover, .react-datepicker__month-text.react-datepicker__month--in-range:hover, .react-datepicker__month-text.react-datepicker__quarter--selected:hover, .react-datepicker__month-text.react-datepicker__quarter--in-range:hover,\n.react-datepicker__quarter-text.react-datepicker__month--selected:hover,\n.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,\n.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,\n.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover {\n  background-color: #216ba5;\n}\n\n.react-datepicker__month-text:hover,\n.react-datepicker__quarter-text:hover {\n  background-color: #f0f0f0;\n}\n\n.react-datepicker__input-container {\n  position: relative;\n  display: inline-block;\n  width: 100%;\n}\n\n.react-datepicker__year-read-view,\n.react-datepicker__month-read-view,\n.react-datepicker__month-year-read-view {\n  border: 1px solid transparent;\n  border-radius: 0.3rem;\n}\n\n.react-datepicker__year-read-view:hover,\n.react-datepicker__month-read-view:hover,\n.react-datepicker__month-year-read-view:hover {\n  cursor: pointer;\n}\n\n.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow {\n  border-top-color: #b3b3b3;\n}\n\n.react-datepicker__year-read-view--down-arrow,\n.react-datepicker__month-read-view--down-arrow,\n.react-datepicker__month-year-read-view--down-arrow {\n  border-top-color: #ccc;\n  float: right;\n  margin-left: 20px;\n  top: 8px;\n  position: relative;\n  border-width: 0.45rem;\n}\n\n.react-datepicker__year-dropdown,\n.react-datepicker__month-dropdown,\n.react-datepicker__month-year-dropdown {\n  background-color: #f0f0f0;\n  position: absolute;\n  width: 50%;\n  left: 25%;\n  top: 30px;\n  z-index: 1;\n  text-align: center;\n  border-radius: 0.3rem;\n  border: 1px solid #aeaeae;\n}\n\n.react-datepicker__year-dropdown:hover,\n.react-datepicker__month-dropdown:hover,\n.react-datepicker__month-year-dropdown:hover {\n  cursor: pointer;\n}\n\n.react-datepicker__year-dropdown--scrollable,\n.react-datepicker__month-dropdown--scrollable,\n.react-datepicker__month-year-dropdown--scrollable {\n  height: 150px;\n  overflow-y: scroll;\n}\n\n.react-datepicker__year-option,\n.react-datepicker__month-option,\n.react-datepicker__month-year-option {\n  line-height: 20px;\n  width: 100%;\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n}\n\n.react-datepicker__year-option:first-of-type,\n.react-datepicker__month-option:first-of-type,\n.react-datepicker__month-year-option:first-of-type {\n  border-top-left-radius: 0.3rem;\n  border-top-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-option:last-of-type,\n.react-datepicker__month-option:last-of-type,\n.react-datepicker__month-year-option:last-of-type {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n  border-bottom-left-radius: 0.3rem;\n  border-bottom-right-radius: 0.3rem;\n}\n\n.react-datepicker__year-option:hover,\n.react-datepicker__month-option:hover,\n.react-datepicker__month-year-option:hover {\n  background-color: #ccc;\n}\n\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming {\n  border-bottom-color: #b3b3b3;\n}\n\n.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,\n.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous {\n  border-top-color: #b3b3b3;\n}\n\n.react-datepicker__year-option--selected,\n.react-datepicker__month-option--selected,\n.react-datepicker__month-year-option--selected {\n  position: absolute;\n  left: 15px;\n}\n\n.react-datepicker__close-icon {\n  cursor: pointer;\n  background-color: transparent;\n  border: 0;\n  outline: 0;\n  padding: 0px 6px 0px 0px;\n  position: absolute;\n  top: 0;\n  right: 0;\n  height: 100%;\n  display: table-cell;\n  vertical-align: middle;\n}\n\n.react-datepicker__close-icon::after {\n  cursor: pointer;\n  background-color: #216ba5;\n  color: #fff;\n  border-radius: 50%;\n  height: 16px;\n  width: 16px;\n  padding: 2px;\n  font-size: 12px;\n  line-height: 1;\n  text-align: center;\n  display: table-cell;\n  vertical-align: middle;\n  content: "\\00d7";\n}\n\n.react-datepicker__today-button {\n  background: #f0f0f0;\n  border-top: 1px solid #aeaeae;\n  cursor: pointer;\n  text-align: center;\n  font-weight: bold;\n  padding: 5px 0;\n  clear: left;\n}\n\n.react-datepicker__portal {\n  position: fixed;\n  width: 100vw;\n  height: 100vh;\n  background-color: rgba(0, 0, 0, 0.8);\n  left: 0;\n  top: 0;\n  justify-content: center;\n  align-items: center;\n  display: flex;\n  z-index: 2147483647;\n}\n\n.react-datepicker__portal .react-datepicker__day-name,\n.react-datepicker__portal .react-datepicker__day,\n.react-datepicker__portal .react-datepicker__time-name {\n  width: 3rem;\n  line-height: 3rem;\n}\n\n@media (max-width: 400px), (max-height: 550px) {\n  .react-datepicker__portal .react-datepicker__day-name,\n  .react-datepicker__portal .react-datepicker__day,\n  .react-datepicker__portal .react-datepicker__time-name {\n    width: 2rem;\n    line-height: 2rem;\n  }\n}\n\n.react-datepicker__portal .react-datepicker__current-month,\n.react-datepicker__portal .react-datepicker-time__header {\n  font-size: 1.44rem;\n}\n\n.react-datepicker__portal .react-datepicker__navigation {\n  border: 0.81rem solid transparent;\n}\n\n.react-datepicker__portal .react-datepicker__navigation--previous {\n  border-right-color: #ccc;\n}\n\n.react-datepicker__portal .react-datepicker__navigation--previous:hover {\n  border-right-color: #b3b3b3;\n}\n\n.react-datepicker__portal .react-datepicker__navigation--previous--disabled, .react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover {\n  border-right-color: #e6e6e6;\n  cursor: default;\n}\n\n.react-datepicker__portal .react-datepicker__navigation--next {\n  border-left-color: #ccc;\n}\n\n.react-datepicker__portal .react-datepicker__navigation--next:hover {\n  border-left-color: #b3b3b3;\n}\n\n.react-datepicker__portal .react-datepicker__navigation--next--disabled, .react-datepicker__portal .react-datepicker__navigation--next--disabled:hover {\n  border-left-color: #e6e6e6;\n  cursor: default;\n}\n'],sourceRoot:""}]),t.Z=a},28661:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{margin-left:-8px;position:absolute}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{border:8px solid transparent;-webkit-box-sizing:content-box;box-sizing:content-box;height:0;position:absolute;width:1px}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{border-bottom-color:#aeaeae;border-width:8px;content:"";left:-8px;z-index:-1}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle{margin-top:-8px;top:0}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#f0f0f0;border-top:none}.react-datepicker-popper[data-placement^=bottom] .react-datepicker__triangle:before{border-bottom-color:#aeaeae;top:-1px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle,.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow:before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^=top] .react-datepicker__triangle:before,.react-datepicker__month-read-view--down-arrow:before,.react-datepicker__month-year-read-view--down-arrow:before,.react-datepicker__year-read-view--down-arrow:before{border-top-color:#aeaeae;bottom:-1px}.react-datepicker-wrapper{border:0;display:inline-block;padding:0}.react-datepicker{background-color:#fff;border:1px solid #aeaeae;border-radius:.3rem;color:#000;display:inline-block;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:.8rem;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__triangle{left:50px;position:absolute}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^=bottom]{margin-top:10px}.react-datepicker-popper[data-placement=bottom-end] .react-datepicker__triangle,.react-datepicker-popper[data-placement=top-end] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^=top]{margin-bottom:10px}.react-datepicker-popper[data-placement^=right]{margin-left:8px}.react-datepicker-popper[data-placement^=right] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^=left]{margin-right:8px}.react-datepicker-popper[data-placement^=left] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding-top:8px;position:relative;text-align:center}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__year-dropdown-container--select{display:inline-block;margin:0 2px}.react-datepicker-time__header,.react-datepicker-year-header,.react-datepicker__current-month{color:#000;font-size:.944rem;font-weight:700;margin-top:0}.react-datepicker-time__header{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.react-datepicker__navigation{background:none;border:.45rem solid transparent;cursor:pointer;height:10px;line-height:1.7rem;overflow:hidden;padding:0;position:absolute;text-align:center;text-indent:-999em;top:10px;width:0;width:10px;z-index:1}.react-datepicker__navigation--previous{border-right-color:#ccc;left:10px}.react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__navigation--previous--disabled,.react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__navigation--next{border-left-color:#ccc;right:10px}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:95px}.react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__navigation--next--disabled,.react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}.react-datepicker__navigation--years{display:block;margin-left:auto;margin-right:auto;position:relative;top:0}.react-datepicker__navigation--years-previous{border-top-color:#ccc;top:4px}.react-datepicker__navigation--years-previous:hover{border-top-color:#b3b3b3}.react-datepicker__navigation--years-upcoming{border-bottom-color:#ccc;top:-4px}.react-datepicker__navigation--years-upcoming:hover{border-bottom-color:#b3b3b3}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;margin:2px;width:4rem}.react-datepicker__input-time-container{clear:both;float:left;margin:5px 0 10px 15px;text-align:left;width:100%}.react-datepicker__input-time-container .react-datepicker-time__caption,.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type=time]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{display:inline-block;margin-left:5px}.react-datepicker__time-container{border-left:1px solid #aeaeae;float:right;width:85px}.react-datepicker__time-container--with-today-button{border:1px solid #aeaeae;border-radius:.3rem;display:inline;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{background:#fff;border-bottom-right-radius:.3rem;position:relative}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{border-bottom-right-radius:.3rem;margin:0 auto;overflow-x:hidden;text-align:center;width:85px}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{-webkit-box-sizing:content-box;box-sizing:content-box;height:calc(195px + .85rem);list-style:none;margin:0;overflow-y:scroll;padding-left:0;padding-right:0;width:100%}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{background-color:#f0f0f0;cursor:pointer}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:#fff;font-weight:700}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{background-color:transparent;cursor:default}.react-datepicker__week-number{color:#ccc;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day,.react-datepicker__day-name,.react-datepicker__time-name{color:#000;display:inline-block;line-height:1.7rem;margin:.166rem;text-align:center;width:1.7rem}.react-datepicker__month--in-range,.react-datepicker__month--in-selecting-range,.react-datepicker__month--selected,.react-datepicker__quarter--in-range,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__month--in-range:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--selected:hover,.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--selected:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{background-color:transparent;cursor:default}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{background-color:#f0f0f0;border-radius:.3rem}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:700}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{background-color:#3dcc4a;border-radius:.3rem;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:#f0f}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--in-range,.react-datepicker__day--in-selecting-range,.react-datepicker__day--selected,.react-datepicker__month-text--in-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--selected,.react-datepicker__quarter-text--in-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--selected,.react-datepicker__year-text--in-range,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--selected{background-color:#216ba5;border-radius:.3rem;color:#fff}.react-datepicker__day--in-range:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--selected:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__year-text--in-range:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--selected:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{background-color:#2a87d0;border-radius:.3rem;color:#fff}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range,.react-datepicker__month-text--in-selecting-range,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__year-text--in-selecting-range{background-color:rgba(33,107,165,.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range,.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range,.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range,.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range{background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{color:#ccc;cursor:default}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{display:inline-block;position:relative;width:100%}.react-datepicker__month-read-view,.react-datepicker__month-year-read-view,.react-datepicker__year-read-view{border:1px solid transparent;border-radius:.3rem}.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover,.react-datepicker__year-read-view:hover{cursor:pointer}.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker__year-read-view--down-arrow{border-top-color:#ccc;border-width:.45rem;float:right;margin-left:20px;position:relative;top:8px}.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown,.react-datepicker__year-dropdown{background-color:#f0f0f0;border:1px solid #aeaeae;border-radius:.3rem;left:25%;position:absolute;text-align:center;top:30px;width:50%;z-index:1}.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover,.react-datepicker__year-dropdown:hover{cursor:pointer}.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable,.react-datepicker__year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__month-option,.react-datepicker__month-year-option,.react-datepicker__year-option{display:block;line-height:20px;margin-left:auto;margin-right:auto;width:100%}.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type,.react-datepicker__year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type,.react-datepicker__year-option:last-of-type{border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover,.react-datepicker__year-option:hover{background-color:#ccc}.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected,.react-datepicker__year-option--selected{left:15px;position:absolute}.react-datepicker__close-icon{background-color:transparent;border:0;cursor:pointer;display:table-cell;height:100%;outline:0;padding:0 6px 0 0;position:absolute;right:0;top:0;vertical-align:middle}.react-datepicker__close-icon:after{background-color:#216ba5;border-radius:50%;color:#fff;content:"\\00d7";cursor:pointer;display:table-cell;font-size:12px;height:16px;line-height:1;padding:2px;text-align:center;vertical-align:middle;width:16px}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;clear:left;cursor:pointer;font-weight:700;padding:5px 0;text-align:center}.react-datepicker__portal{-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:rgba(0,0,0,.8);display:-webkit-box;display:-ms-flexbox;display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:2147483647}.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:3rem;width:3rem}@media (max-height:550px),(max-width:400px){.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__time-name{line-height:2rem;width:2rem}}.react-datepicker__portal .react-datepicker-time__header,.react-datepicker__portal .react-datepicker__current-month{font-size:1.44rem}.react-datepicker__portal .react-datepicker__navigation{border:.81rem solid transparent}.react-datepicker__portal .react-datepicker__navigation--previous{border-right-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--previous--disabled,.react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__portal .react-datepicker__navigation--next{border-left-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--next--disabled,.react-datepicker__portal .react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}',"",{version:3,sources:["webpack://./node_modules/react-datepicker/dist/react-datepicker.min.css"],names:[],mappings:"AAAA,wSAA4S,gBAAgB,CAAC,iBAAiB,CAAC,mnBAAyqB,4BAA4B,CAArE,8BAAsB,CAAtB,sBAAsB,CAAgD,QAAQ,CAAvD,iBAAiB,CAAuC,SAAS,CAAC,2UAAqY,2BAA0B,CAArD,gBAAgB,CAAtC,UAAU,CAA6B,SAAS,CAArC,UAAiE,CAAC,6EAAqF,eAAc,CAApB,KAAqB,CAAC,iKAAsL,2BAA0B,CAA1C,eAA2C,CAAC,oFAAgG,2BAA0B,CAAnC,QAAoC,CAAC,2NAA6N,QAAQ,CAAC,kBAAkB,CAAC,kdAA0d,kBAAkB,CAAC,qBAAqB,CAAC,uPAAyQ,wBAAuB,CAAnC,WAAoC,CAAC,0BAAyD,QAAO,CAAtC,oBAAoB,CAAC,SAAkB,CAAC,kBAA0F,qBAAqB,CAAY,wBAAwB,CAAC,mBAAmB,CAAvD,UAAU,CAA8C,oBAAoB,CAA1K,qDAAuD,CAAC,eAAe,CAAoG,iBAAiB,CAAC,yDAAyD,SAAS,CAAC,+DAA+D,aAAa,CAAC,8GAA8G,+BAAgC,CAAC,gCAAiC,CAAC,4BAA8C,SAAQ,CAA1B,iBAA2B,CAAC,yBAAyB,SAAS,CAAC,iDAAmD,eAAe,CAAC,6JAAiK,SAAS,CAAC,UAAU,CAAC,8CAAgD,kBAAkB,CAAC,gDAAkD,eAAe,CAAC,4EAA8E,SAAS,CAAC,UAAU,CAAC,+CAAiD,gBAAgB,CAAC,2EAA6E,SAAS,CAAC,UAAU,CAAC,0BAA4C,wBAAwB,CAAC,+BAA+B,CAAC,4BAA4B,CAAC,eAAe,CAAC,iBAAgB,CAAxI,iBAAyI,CAAC,gCAAgC,kBAAkB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,2EAA2E,wBAAwB,CAAC,0EAA0E,6BAA6B,CAAC,gUAAgU,oBAAoB,CAAC,YAAY,CAAC,8FAA2G,UAAU,CAAkB,iBAAgB,CAAjC,eAAgB,CAAxC,YAA0D,CAAC,+BAAyE,eAAc,CAAxD,sBAAsB,CAAC,kBAAkC,CAAC,8BAA8B,eAAe,CAAkG,+BAA+B,CAA3F,cAAc,CAAwF,WAAW,CAAtJ,kBAAkB,CAAmK,eAAc,CAA5G,SAAS,CAA5C,iBAAiB,CAAlD,iBAAiB,CAA8H,kBAAkB,CAA9G,QAAQ,CAAC,OAAO,CAAiE,UAAU,CAAhC,SAAmE,CAAC,wCAAkD,uBAAsB,CAAhC,SAAiC,CAAC,8CAA8C,0BAA0B,CAAC,0GAA0G,0BAA0B,CAAC,cAAc,CAAC,oCAA+C,sBAAqB,CAAhC,UAAiC,CAAC,2GAA2G,UAAU,CAAC,0CAA0C,yBAAyB,CAAC,kGAAkG,yBAAyB,CAAC,cAAc,CAAC,qCAA6D,aAAa,CAAC,gBAAgB,CAAC,iBAAgB,CAAvE,iBAAiB,CAAC,KAAsD,CAAC,8CAAsD,qBAAoB,CAA5B,OAA6B,CAAC,oDAAoD,wBAAwB,CAAC,8CAAuD,wBAAuB,CAAhC,QAAiC,CAAC,oDAAoD,2BAA2B,CAAC,mCAAmC,UAAU,CAAC,wBAAwB,YAAY,CAAC,iBAAiB,CAAC,gCAAgC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,kBAAc,CAAd,cAAc,CAAC,eAAe,CAAC,qDAAqD,oBAAoB,CAAY,UAAS,CAApB,UAAqB,CAAC,yBAAyB,YAAY,CAAC,iBAAiB,CAAC,gHAAgH,oBAAoB,CAAY,UAAS,CAApB,UAAqB,CAAC,wCAAwC,UAAU,CAAY,UAAU,CAAC,sBAAsB,CAAC,eAAc,CAA3D,UAA4D,CAA8F,wJAAgF,oBAAoB,CAAC,8GAA8G,oBAAoB,CAAC,gBAAgB,CAAC,oHAAoH,UAAU,CAAC,oTAAwT,uBAAuB,CAAC,QAAQ,CAAC,+HAAiI,yBAAyB,CAAC,kHAAkI,oBAAmB,CAAnC,eAAoC,CAAC,kCAA8C,6BAA6B,CAAzC,WAAW,CAA+B,UAAU,CAAC,qDAAoE,wBAAwB,CAAC,mBAAoB,CAA5D,cAAc,CAA+C,iBAAiB,CAAC,WAAW,CAAC,KAAK,CAAC,0DAA4E,eAAgB,CAAC,gCAAgC,CAAnE,iBAAoE,CAAC,sFAAmJ,gCAAgC,CAAhE,aAAa,CAA/B,iBAAiB,CAAe,iBAAiB,CAA5D,UAA8F,CAAC,qHAAgP,8BAAqB,CAArB,sBAAqB,CAAvH,2BAAiC,CAA1D,eAAe,CAAC,QAAQ,CAAmC,iBAAiB,CAAmB,cAAgB,CAAlC,eAAiB,CAAkB,UAAiC,CAAC,yJAAyJ,WAAW,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,+JAA8K,wBAAuB,CAAtC,cAAuC,CAAC,mKAAmK,wBAAwB,CAAC,UAAW,CAAC,eAAgB,CAAC,yKAAyK,wBAAwB,CAAC,mKAAmK,UAAU,CAAC,yKAAwL,4BAA2B,CAA1C,cAA2C,CAAC,+BAA+B,UAAU,CAAC,oBAAoB,CAAc,kBAAkB,CAAmB,cAAa,CAA/B,iBAAiB,CAAjD,YAAgE,CAAC,wEAAwE,cAAc,CAAC,8EAAkG,wBAAuB,CAA3C,mBAA4C,CAAC,qDAAqD,kBAAkB,CAAC,gFAAgF,UAAU,CAAC,oBAAoB,CAAc,kBAAkB,CAAmB,cAAa,CAA/B,iBAAiB,CAAjD,YAAgE,CAAC,4OAAgQ,wBAAwB,CAA5C,mBAAmB,CAA0B,UAAU,CAAC,gRAAgR,wBAAwB,CAAC,wEAAwE,UAAU,CAAC,mBAAmB,CAAC,oFAAmG,4BAA2B,CAA1C,cAA2C,CAAC,kHAAkH,cAAc,CAAC,0IAA8J,wBAAuB,CAA3C,mBAA4C,CAAC,8IAA8I,eAAgB,CAAC,sKAA0L,wBAAwB,CAA5C,mBAAmB,CAA0B,UAAU,CAAC,8LAA8L,wBAAwB,CAAC,0MAA0M,UAAa,CAAC,0MAA0M,WAAW,CAAC,sfAA0gB,wBAAwB,CAA5C,mBAAmB,CAA0B,UAAU,CAAC,8jBAA8jB,wBAAwB,CAAC,8LAAkN,wBAAwB,CAA5C,mBAAmB,CAA0B,UAAU,CAAC,sNAAsN,wBAAwB,CAAC,kMAAsM,oCAAqC,CAAC,kUAAsU,wBAAwB,CAAC,UAAU,CAAC,0JAAyK,UAAS,CAAxB,cAAyB,CAAC,kLAAkL,4BAA4B,CAAC,gkBAAgkB,wBAAwB,CAAC,0EAA0E,wBAAwB,CAAC,mCAAqD,oBAAoB,CAAtC,iBAAiB,CAAsB,UAAU,CAAC,6GAA6G,4BAA4B,CAAC,mBAAmB,CAAC,+HAA+H,cAAc,CAAC,qhBAAqhB,wBAAwB,CAAC,iJAAiJ,qBAAqB,CAAwD,mBAAkB,CAAzE,WAAW,CAAC,gBAAgB,CAAS,iBAAiB,CAAzB,OAA6C,CAAC,0GAA0G,wBAAwB,CAA+F,wBAAuB,CAA3C,mBAAmB,CAAjE,QAAQ,CAApC,iBAAiB,CAAuC,iBAAiB,CAApC,QAAQ,CAA3B,SAAS,CAAmB,SAAwE,CAAC,4HAA4H,cAAc,CAAC,8IAA8I,YAAY,CAAC,iBAAiB,CAAC,oGAAgI,aAAa,CAAzC,gBAAgB,CAA0B,gBAAgB,CAAC,iBAAgB,CAA1D,UAA2D,CAAC,8IAA8I,4BAA4B,CAAC,6BAA6B,CAAC,2IAAgO,+BAA+B,CAAC,gCAA+B,CAApJ,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,gBAAiF,CAAC,sHAAsH,qBAAqB,CAAC,gQAAgQ,2BAA2B,CAAC,gQAAgQ,wBAAwB,CAAC,kIAAoJ,SAAQ,CAA1B,iBAA2B,CAAC,8BAA6C,4BAA4B,CAAC,QAAQ,CAApD,cAAc,CAAqH,kBAAkB,CAA9B,WAAW,CAA7E,SAAS,CAAC,iBAAuB,CAAC,iBAAiB,CAAO,OAAO,CAAb,KAAK,CAAwC,qBAAqB,CAAC,oCAAoD,wBAAwB,CAAY,iBAAiB,CAA5B,UAAU,CAA8I,eAAc,CAA9M,cAAc,CAAyI,kBAAkB,CAAjE,cAAc,CAAjD,WAAW,CAAuC,aAAa,CAAxC,WAAW,CAA8B,iBAAiB,CAAoB,qBAAqB,CAA9G,UAA8H,CAAC,gCAAgC,kBAAkB,CAAC,4BAA4B,CAAiE,UAAS,CAAzE,cAAc,CAAmB,eAAgB,CAAC,aAAa,CAAhD,iBAA2D,CAAC,0BAAgH,uBAAsB,CAAtB,oBAAsB,CAAC,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAvF,+BAAgC,CAAwD,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAjH,YAAY,CAA+C,sBAAsB,CAAnC,MAAM,CAA/E,cAAc,CAAkE,KAAK,CAAtE,WAAW,CAAmH,kBAAkB,CAAC,8JAAyK,gBAAe,CAA1B,UAA2B,CAAC,4CAA+C,8JAAyK,gBAAe,CAA1B,UAA2B,CAAC,CAAC,oHAAoH,iBAAiB,CAAC,wDAAwD,+BAA+B,CAAC,kEAAkE,uBAAuB,CAAC,wEAAwE,0BAA0B,CAAC,8JAA8J,0BAA0B,CAAC,cAAc,CAAC,8DAA8D,sBAAsB,CAAC,oEAAoE,yBAAyB,CAAC,sJAAsJ,yBAAyB,CAAC,cAAc",sourcesContent:['.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle,.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle,.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{margin-left:-8px;position:absolute}.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle,.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle,.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before,.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before,.react-datepicker__year-read-view--down-arrow::before,.react-datepicker__month-read-view--down-arrow::before,.react-datepicker__month-year-read-view--down-arrow::before{box-sizing:content-box;position:absolute;border:8px solid transparent;height:0;width:1px}.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before,.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before,.react-datepicker__year-read-view--down-arrow::before,.react-datepicker__month-read-view--down-arrow::before,.react-datepicker__month-year-read-view--down-arrow::before{content:"";z-index:-1;border-width:8px;left:-8px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle{top:0;margin-top:-8px}.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle,.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before{border-top:none;border-bottom-color:#f0f0f0}.react-datepicker-popper[data-placement^="bottom"] .react-datepicker__triangle::before{top:-1px;border-bottom-color:#aeaeae}.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle,.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{bottom:0;margin-bottom:-8px}.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle,.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow,.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before,.react-datepicker__year-read-view--down-arrow::before,.react-datepicker__month-read-view--down-arrow::before,.react-datepicker__month-year-read-view--down-arrow::before{border-bottom:none;border-top-color:#fff}.react-datepicker-popper[data-placement^="top"] .react-datepicker__triangle::before,.react-datepicker__year-read-view--down-arrow::before,.react-datepicker__month-read-view--down-arrow::before,.react-datepicker__month-year-read-view--down-arrow::before{bottom:-1px;border-top-color:#aeaeae}.react-datepicker-wrapper{display:inline-block;padding:0;border:0}.react-datepicker{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:.8rem;background-color:#fff;color:#000;border:1px solid #aeaeae;border-radius:.3rem;display:inline-block;position:relative}.react-datepicker--time-only .react-datepicker__triangle{left:35px}.react-datepicker--time-only .react-datepicker__time-container{border-left:0}.react-datepicker--time-only .react-datepicker__time,.react-datepicker--time-only .react-datepicker__time-box{border-bottom-left-radius:0.3rem;border-bottom-right-radius:0.3rem}.react-datepicker__triangle{position:absolute;left:50px}.react-datepicker-popper{z-index:1}.react-datepicker-popper[data-placement^="bottom"]{margin-top:10px}.react-datepicker-popper[data-placement="bottom-end"] .react-datepicker__triangle,.react-datepicker-popper[data-placement="top-end"] .react-datepicker__triangle{left:auto;right:50px}.react-datepicker-popper[data-placement^="top"]{margin-bottom:10px}.react-datepicker-popper[data-placement^="right"]{margin-left:8px}.react-datepicker-popper[data-placement^="right"] .react-datepicker__triangle{left:auto;right:42px}.react-datepicker-popper[data-placement^="left"]{margin-right:8px}.react-datepicker-popper[data-placement^="left"] .react-datepicker__triangle{left:42px;right:auto}.react-datepicker__header{text-align:center;background-color:#f0f0f0;border-bottom:1px solid #aeaeae;border-top-left-radius:.3rem;padding-top:8px;position:relative}.react-datepicker__header--time{padding-bottom:8px;padding-left:5px;padding-right:5px}.react-datepicker__header--time:not(.react-datepicker__header--time--only){border-top-left-radius:0}.react-datepicker__header:not(.react-datepicker__header--has-time-select){border-top-right-radius:.3rem}.react-datepicker__year-dropdown-container--select,.react-datepicker__month-dropdown-container--select,.react-datepicker__month-year-dropdown-container--select,.react-datepicker__year-dropdown-container--scroll,.react-datepicker__month-dropdown-container--scroll,.react-datepicker__month-year-dropdown-container--scroll{display:inline-block;margin:0 2px}.react-datepicker__current-month,.react-datepicker-time__header,.react-datepicker-year-header{margin-top:0;color:#000;font-weight:bold;font-size:.944rem}.react-datepicker-time__header{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.react-datepicker__navigation{background:none;line-height:1.7rem;text-align:center;cursor:pointer;position:absolute;top:10px;width:0;padding:0;border:.45rem solid transparent;z-index:1;height:10px;width:10px;text-indent:-999em;overflow:hidden}.react-datepicker__navigation--previous{left:10px;border-right-color:#ccc}.react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__navigation--previous--disabled,.react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__navigation--next{right:10px;border-left-color:#ccc}.react-datepicker__navigation--next--with-time:not(.react-datepicker__navigation--next--with-today-button){right:95px}.react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__navigation--next--disabled,.react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}.react-datepicker__navigation--years{position:relative;top:0;display:block;margin-left:auto;margin-right:auto}.react-datepicker__navigation--years-previous{top:4px;border-top-color:#ccc}.react-datepicker__navigation--years-previous:hover{border-top-color:#b3b3b3}.react-datepicker__navigation--years-upcoming{top:-4px;border-bottom-color:#ccc}.react-datepicker__navigation--years-upcoming:hover{border-bottom-color:#b3b3b3}.react-datepicker__month-container{float:left}.react-datepicker__year{margin:.4rem;text-align:center}.react-datepicker__year-wrapper{display:flex;flex-wrap:wrap;max-width:180px}.react-datepicker__year .react-datepicker__year-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__month{margin:.4rem;text-align:center}.react-datepicker__month .react-datepicker__month-text,.react-datepicker__month .react-datepicker__quarter-text{display:inline-block;width:4rem;margin:2px}.react-datepicker__input-time-container{clear:both;width:100%;float:left;margin:5px 0 10px 15px;text-align:left}.react-datepicker__input-time-container .react-datepicker-time__caption{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container{display:inline-block}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input{display:inline-block;margin-left:10px}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input{width:auto}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]::-webkit-inner-spin-button,.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__input input[type="time"]{-moz-appearance:textfield}.react-datepicker__input-time-container .react-datepicker-time__input-container .react-datepicker-time__delimiter{margin-left:5px;display:inline-block}.react-datepicker__time-container{float:right;border-left:1px solid #aeaeae;width:85px}.react-datepicker__time-container--with-today-button{display:inline;border:1px solid #aeaeae;border-radius:0.3rem;position:absolute;right:-72px;top:0}.react-datepicker__time-container .react-datepicker__time{position:relative;background:white;border-bottom-right-radius:0.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box{width:85px;overflow-x:hidden;margin:0 auto;text-align:center;border-bottom-right-radius:0.3rem}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list{list-style:none;margin:0;height:calc(195px + (1.7rem / 2));overflow-y:scroll;padding-right:0px;padding-left:0px;width:100%;box-sizing:content-box}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item{height:30px;padding:5px 10px;white-space:nowrap}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item:hover{cursor:pointer;background-color:#f0f0f0}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected{background-color:#216ba5;color:white;font-weight:bold}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--selected:hover{background-color:#216ba5}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled{color:#ccc}.react-datepicker__time-container .react-datepicker__time .react-datepicker__time-box ul.react-datepicker__time-list li.react-datepicker__time-list-item--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__week-number{color:#ccc;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__week-number.react-datepicker__week-number--clickable{cursor:pointer}.react-datepicker__week-number.react-datepicker__week-number--clickable:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day-names,.react-datepicker__week{white-space:nowrap}.react-datepicker__day-name,.react-datepicker__day,.react-datepicker__time-name{color:#000;display:inline-block;width:1.7rem;line-height:1.7rem;text-align:center;margin:.166rem}.react-datepicker__month--selected,.react-datepicker__month--in-selecting-range,.react-datepicker__month--in-range,.react-datepicker__quarter--selected,.react-datepicker__quarter--in-selecting-range,.react-datepicker__quarter--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__month--selected:hover,.react-datepicker__month--in-selecting-range:hover,.react-datepicker__month--in-range:hover,.react-datepicker__quarter--selected:hover,.react-datepicker__quarter--in-selecting-range:hover,.react-datepicker__quarter--in-range:hover{background-color:#1d5d90}.react-datepicker__month--disabled,.react-datepicker__quarter--disabled{color:#ccc;pointer-events:none}.react-datepicker__month--disabled:hover,.react-datepicker__quarter--disabled:hover{cursor:default;background-color:transparent}.react-datepicker__day,.react-datepicker__month-text,.react-datepicker__quarter-text,.react-datepicker__year-text{cursor:pointer}.react-datepicker__day:hover,.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover,.react-datepicker__year-text:hover{border-radius:.3rem;background-color:#f0f0f0}.react-datepicker__day--today,.react-datepicker__month-text--today,.react-datepicker__quarter-text--today,.react-datepicker__year-text--today{font-weight:bold}.react-datepicker__day--highlighted,.react-datepicker__month-text--highlighted,.react-datepicker__quarter-text--highlighted,.react-datepicker__year-text--highlighted{border-radius:.3rem;background-color:#3dcc4a;color:#fff}.react-datepicker__day--highlighted:hover,.react-datepicker__month-text--highlighted:hover,.react-datepicker__quarter-text--highlighted:hover,.react-datepicker__year-text--highlighted:hover{background-color:#32be3f}.react-datepicker__day--highlighted-custom-1,.react-datepicker__month-text--highlighted-custom-1,.react-datepicker__quarter-text--highlighted-custom-1,.react-datepicker__year-text--highlighted-custom-1{color:magenta}.react-datepicker__day--highlighted-custom-2,.react-datepicker__month-text--highlighted-custom-2,.react-datepicker__quarter-text--highlighted-custom-2,.react-datepicker__year-text--highlighted-custom-2{color:green}.react-datepicker__day--selected,.react-datepicker__day--in-selecting-range,.react-datepicker__day--in-range,.react-datepicker__month-text--selected,.react-datepicker__month-text--in-selecting-range,.react-datepicker__month-text--in-range,.react-datepicker__quarter-text--selected,.react-datepicker__quarter-text--in-selecting-range,.react-datepicker__quarter-text--in-range,.react-datepicker__year-text--selected,.react-datepicker__year-text--in-selecting-range,.react-datepicker__year-text--in-range{border-radius:.3rem;background-color:#216ba5;color:#fff}.react-datepicker__day--selected:hover,.react-datepicker__day--in-selecting-range:hover,.react-datepicker__day--in-range:hover,.react-datepicker__month-text--selected:hover,.react-datepicker__month-text--in-selecting-range:hover,.react-datepicker__month-text--in-range:hover,.react-datepicker__quarter-text--selected:hover,.react-datepicker__quarter-text--in-selecting-range:hover,.react-datepicker__quarter-text--in-range:hover,.react-datepicker__year-text--selected:hover,.react-datepicker__year-text--in-selecting-range:hover,.react-datepicker__year-text--in-range:hover{background-color:#1d5d90}.react-datepicker__day--keyboard-selected,.react-datepicker__month-text--keyboard-selected,.react-datepicker__quarter-text--keyboard-selected,.react-datepicker__year-text--keyboard-selected{border-radius:.3rem;background-color:#2a87d0;color:#fff}.react-datepicker__day--keyboard-selected:hover,.react-datepicker__month-text--keyboard-selected:hover,.react-datepicker__quarter-text--keyboard-selected:hover,.react-datepicker__year-text--keyboard-selected:hover{background-color:#1d5d90}.react-datepicker__day--in-selecting-range ,.react-datepicker__month-text--in-selecting-range ,.react-datepicker__quarter-text--in-selecting-range ,.react-datepicker__year-text--in-selecting-range {background-color:rgba(33,107,165,0.5)}.react-datepicker__month--selecting-range .react-datepicker__day--in-range ,.react-datepicker__month--selecting-range .react-datepicker__month-text--in-range ,.react-datepicker__month--selecting-range .react-datepicker__quarter-text--in-range ,.react-datepicker__month--selecting-range .react-datepicker__year-text--in-range {background-color:#f0f0f0;color:#000}.react-datepicker__day--disabled,.react-datepicker__month-text--disabled,.react-datepicker__quarter-text--disabled,.react-datepicker__year-text--disabled{cursor:default;color:#ccc}.react-datepicker__day--disabled:hover,.react-datepicker__month-text--disabled:hover,.react-datepicker__quarter-text--disabled:hover,.react-datepicker__year-text--disabled:hover{background-color:transparent}.react-datepicker__month-text.react-datepicker__month--selected:hover,.react-datepicker__month-text.react-datepicker__month--in-range:hover,.react-datepicker__month-text.react-datepicker__quarter--selected:hover,.react-datepicker__month-text.react-datepicker__quarter--in-range:hover,.react-datepicker__quarter-text.react-datepicker__month--selected:hover,.react-datepicker__quarter-text.react-datepicker__month--in-range:hover,.react-datepicker__quarter-text.react-datepicker__quarter--selected:hover,.react-datepicker__quarter-text.react-datepicker__quarter--in-range:hover{background-color:#216ba5}.react-datepicker__month-text:hover,.react-datepicker__quarter-text:hover{background-color:#f0f0f0}.react-datepicker__input-container{position:relative;display:inline-block;width:100%}.react-datepicker__year-read-view,.react-datepicker__month-read-view,.react-datepicker__month-year-read-view{border:1px solid transparent;border-radius:.3rem}.react-datepicker__year-read-view:hover,.react-datepicker__month-read-view:hover,.react-datepicker__month-year-read-view:hover{cursor:pointer}.react-datepicker__year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__year-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view:hover .react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__year-read-view--down-arrow,.react-datepicker__month-year-read-view:hover .react-datepicker__month-read-view--down-arrow{border-top-color:#b3b3b3}.react-datepicker__year-read-view--down-arrow,.react-datepicker__month-read-view--down-arrow,.react-datepicker__month-year-read-view--down-arrow{border-top-color:#ccc;float:right;margin-left:20px;top:8px;position:relative;border-width:.45rem}.react-datepicker__year-dropdown,.react-datepicker__month-dropdown,.react-datepicker__month-year-dropdown{background-color:#f0f0f0;position:absolute;width:50%;left:25%;top:30px;z-index:1;text-align:center;border-radius:.3rem;border:1px solid #aeaeae}.react-datepicker__year-dropdown:hover,.react-datepicker__month-dropdown:hover,.react-datepicker__month-year-dropdown:hover{cursor:pointer}.react-datepicker__year-dropdown--scrollable,.react-datepicker__month-dropdown--scrollable,.react-datepicker__month-year-dropdown--scrollable{height:150px;overflow-y:scroll}.react-datepicker__year-option,.react-datepicker__month-option,.react-datepicker__month-year-option{line-height:20px;width:100%;display:block;margin-left:auto;margin-right:auto}.react-datepicker__year-option:first-of-type,.react-datepicker__month-option:first-of-type,.react-datepicker__month-year-option:first-of-type{border-top-left-radius:.3rem;border-top-right-radius:.3rem}.react-datepicker__year-option:last-of-type,.react-datepicker__month-option:last-of-type,.react-datepicker__month-year-option:last-of-type{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-bottom-left-radius:.3rem;border-bottom-right-radius:.3rem}.react-datepicker__year-option:hover,.react-datepicker__month-option:hover,.react-datepicker__month-year-option:hover{background-color:#ccc}.react-datepicker__year-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-option:hover .react-datepicker__navigation--years-upcoming,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-upcoming{border-bottom-color:#b3b3b3}.react-datepicker__year-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-option:hover .react-datepicker__navigation--years-previous,.react-datepicker__month-year-option:hover .react-datepicker__navigation--years-previous{border-top-color:#b3b3b3}.react-datepicker__year-option--selected,.react-datepicker__month-option--selected,.react-datepicker__month-year-option--selected{position:absolute;left:15px}.react-datepicker__close-icon{cursor:pointer;background-color:transparent;border:0;outline:0;padding:0px 6px 0px 0px;position:absolute;top:0;right:0;height:100%;display:table-cell;vertical-align:middle}.react-datepicker__close-icon::after{cursor:pointer;background-color:#216ba5;color:#fff;border-radius:50%;height:16px;width:16px;padding:2px;font-size:12px;line-height:1;text-align:center;display:table-cell;vertical-align:middle;content:"\\00d7"}.react-datepicker__today-button{background:#f0f0f0;border-top:1px solid #aeaeae;cursor:pointer;text-align:center;font-weight:bold;padding:5px 0;clear:left}.react-datepicker__portal{position:fixed;width:100vw;height:100vh;background-color:rgba(0,0,0,0.8);left:0;top:0;justify-content:center;align-items:center;display:flex;z-index:2147483647}.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:3rem;line-height:3rem}@media (max-width: 400px), (max-height: 550px){.react-datepicker__portal .react-datepicker__day-name,.react-datepicker__portal .react-datepicker__day,.react-datepicker__portal .react-datepicker__time-name{width:2rem;line-height:2rem}}.react-datepicker__portal .react-datepicker__current-month,.react-datepicker__portal .react-datepicker-time__header{font-size:1.44rem}.react-datepicker__portal .react-datepicker__navigation{border:.81rem solid transparent}.react-datepicker__portal .react-datepicker__navigation--previous{border-right-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--previous:hover{border-right-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--previous--disabled,.react-datepicker__portal .react-datepicker__navigation--previous--disabled:hover{border-right-color:#e6e6e6;cursor:default}.react-datepicker__portal .react-datepicker__navigation--next{border-left-color:#ccc}.react-datepicker__portal .react-datepicker__navigation--next:hover{border-left-color:#b3b3b3}.react-datepicker__portal .react-datepicker__navigation--next--disabled,.react-datepicker__portal .react-datepicker__navigation--next--disabled:hover{border-left-color:#e6e6e6;cursor:default}\n'],sourceRoot:""}]),t.Z=a},75641:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li:before{pointer-events:none}.ql-clipboard{height:1px;left:-100000px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{word-wrap:break-word;-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;line-height:1.42;outline:none;overflow-y:auto;padding:12px 15px;-o-tab-size:4;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;margin:0;padding:0}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li:before{content:"\\2022"}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li:before,.ql-editor ul[data-checked=true]>li:before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li:before{content:"\\2611"}.ql-editor ul[data-checked=false]>li:before{content:"\\2610"}.ql-editor li:before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl):before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl:before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-increment:list-0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li:before{content:counter(list-0,decimal) ". "}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) ". "}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) ". "}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) ". "}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) ". "}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) ". "}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) ". "}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) ". "}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) ". "}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) ". "}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank:before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:"";display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:none;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:none}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow,.ql-snow *{-webkit-box-sizing:border-box;box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;-webkit-transform:translateY(10px);transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{-webkit-transform:translateY(-10px);transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:"";display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{margin-bottom:5px;margin-top:5px;padding:5px 10px;white-space:pre-wrap}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label:before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;padding:2px 4px;width:24px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{margin-top:-9px;position:absolute;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=""]):before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=""]):before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item:before,.ql-snow .ql-picker.ql-header .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]:before{content:"Heading 1"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]:before{content:"Heading 2"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]:before{content:"Heading 3"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]:before{content:"Heading 4"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]:before{content:"Heading 5"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]:before{content:"Heading 6"}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]:before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]:before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]:before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]:before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]:before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]:before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item:before,.ql-snow .ql-picker.ql-font .ql-picker-label:before{content:"Sans Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]:before{content:"Serif"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]:before{content:"Monospace"}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]:before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]:before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item:before,.ql-snow .ql-picker.ql-size .ql-picker-label:before{content:"Normal"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]:before{content:"Small"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]:before{content:"Large"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]:before{content:"Huge"}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]:before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]:before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]:before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;-webkit-box-shadow:0 2px 8px rgba(0,0,0,.2);box-shadow:0 2px 8px rgba(0,0,0,.2)}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label,.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;-webkit-box-shadow:0 0 5px #ddd;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip:before{content:"Visit URL:";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{border:1px solid #ccc;display:none;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action:after{border-right:1px solid #ccc;content:"Edit";margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove:before{content:"Remove";margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action:after{border-right:0;content:"Save";padding-right:0}.ql-snow .ql-tooltip[data-mode=link]:before{content:"Enter link:"}.ql-snow .ql-tooltip[data-mode=formula]:before{content:"Enter formula:"}.ql-snow .ql-tooltip[data-mode=video]:before{content:"Enter video:"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}',"",{version:3,sources:["webpack://./node_modules/react-quill/dist/quill.snow.css"],names:[],mappings:"AAAA;;;;;EAKE,CACF,cACE,6BAAsB,CAAtB,qBAAsB,CACtB,sCAAyC,CACzC,cAAe,CACf,WAAY,CACZ,QAAW,CACX,iBACF,CACA,sCACE,iBACF,CACA,gEACE,mBACF,CACA,cAEE,UAAW,CADX,cAAe,CAEf,iBAAkB,CAClB,iBAAkB,CAClB,OACF,CACA,gBACE,QAAS,CACT,SACF,CACA,WAWE,oBAAqB,CAVrB,6BAAsB,CAAtB,qBAAsB,CAEtB,WAAY,CADZ,gBAAiB,CAEjB,YAAa,CACb,eAAgB,CAChB,iBAAkB,CAClB,aAAW,CAAX,UAAW,CACX,eAAgB,CAChB,eAAgB,CAChB,oBAEF,CACA,aACE,WACF,CACA,kKAaE,4EAA6E,CAF7E,QAAS,CACT,SAEF,CACA,4BAEE,kBACF,CACA,kCAEE,oBACF,CACA,wBACE,eACF,CACA,mEAEE,mBACF,CACA,6EAEE,kBACF,CACA,uFAEE,UAAW,CACX,cAAe,CACf,kBACF,CACA,2CACE,eACF,CACA,4CACE,eACF,CACA,qBACE,oBAAqB,CACrB,kBAAmB,CACnB,WACF,CACA,4CACE,kBAAmB,CACnB,iBAAmB,CACnB,gBACF,CACA,sCACE,gBAAkB,CAClB,mBACF,CACA,gFAEE,kBACF,CACA,oEAEE,mBACF,CACA,iBAEE,wBAAyB,CADzB,4EAEF,CACA,wBACE,oCACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,qEACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,8DACF,CACA,6BACE,wBACF,CACA,oCACE,oCACF,CACA,6BACE,uDACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,gDACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,yCACF,CACA,6BACE,wBACF,CACA,oCACE,oCACF,CACA,6BACE,kCACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,2BACF,CACA,6BACE,wBACF,CACA,oCACE,wCACF,CACA,6BACE,oBACF,CACA,6BACE,wBACF,CACA,oCACE,oCACF,CACA,+CACE,gBACF,CACA,iDACE,kBACF,CACA,wDACE,iBACF,CACA,0DACE,mBACF,CACA,+CACE,gBACF,CACA,iDACE,kBACF,CACA,wDACE,iBACF,CACA,0DACE,mBACF,CACA,+CACE,gBACF,CACA,iDACE,mBACF,CACA,wDACE,iBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,+CACE,iBACF,CACA,iDACE,mBACF,CACA,wDACE,kBACF,CACA,0DACE,oBACF,CACA,qBACE,aAAc,CACd,cACF,CACA,qCACE,aACF,CACA,oCACE,iBACF,CACA,wBACE,qBACF,CACA,sBACE,wBACF,CACA,yBACE,qBACF,CACA,yBACE,qBACF,CACA,wBACE,wBACF,CACA,uBACE,qBACF,CACA,yBACE,qBACF,CACA,2BACE,UACF,CACA,yBACE,aACF,CACA,4BACE,UACF,CACA,4BACE,UACF,CACA,2BACE,aACF,CACA,0BACE,UACF,CACA,4BACE,UACF,CACA,0BACE,yCACF,CACA,8BACE,wCACF,CACA,0BACE,eACF,CACA,0BACE,eACF,CACA,yBACE,eACF,CACA,6BACE,aAAc,CACd,kBACF,CACA,4BACE,iBACF,CACA,6BACE,kBACF,CACA,2BACE,gBACF,CACA,2BACE,oBAAsB,CACtB,8BAA+B,CAC/B,iBAAkB,CAClB,SAAU,CACV,mBAAoB,CACpB,iBAAkB,CAClB,UACF,CACA,qDAEE,UAAW,CACX,UAAW,CACX,aACF,CACA,uDAEE,eAAgB,CAChB,WAAY,CACZ,cAAe,CACf,oBAAqB,CACrB,UAAW,CACX,WAAY,CACZ,eAAgB,CAChB,UACF,CACA,+DAEE,UAAW,CACX,WACF,CACA,iFAEE,YACF,CACA,6FAEE,YACF,CACA,6jBAcE,UACF,CACA,kgDA4BE,SACF,CACA,kgDA4BE,WACF,CACA,wBACE,mGAEE,UACF,CACA,8PAIE,SACF,CACA,8PAIE,WACF,CACF,CAIA,oBACE,6BAAsB,CAAtB,qBACF,CACA,oBACE,YACF,CACA,6CAEE,iBACF,CACA,qBACE,iBAAkB,CAClB,kCAA2B,CAA3B,0BACF,CACA,uBACE,cAAe,CACf,oBACF,CACA,6BACE,mCAA4B,CAA5B,2BACF,CACA,qBACE,oBAAqB,CACrB,qBACF,CACA,2BACE,UAAW,CACX,UAAW,CACX,aACF,CACA,oBACE,SAAU,CACV,WAAY,CACZ,oBAAqB,CACrB,qBAAsB,CACtB,cACF,CACA,0BACE,SAAU,CACV,WAAY,CACZ,oBAAqB,CACrB,cACF,CACA,8CAEE,SACF,CACA,mBACE,SACF,CACA,kBACE,iBACF,CACA,8CAEE,cACF,CACA,yBACE,UACF,CACA,sCACE,YACF,CACA,gDACE,cACF,CACA,iDACE,YACF,CACA,uBACE,aACF,CACA,uBACE,eACF,CACA,uBACE,gBACF,CACA,uBACE,aACF,CACA,uBACE,eACF,CACA,uBACE,eACF,CACA,sBACE,yBACF,CACA,+BACE,0BAA2B,CAC3B,iBAAkB,CAClB,cAAe,CACf,iBACF,CACA,iDAEE,wBAAyB,CACzB,iBACF,CACA,wBAEE,iBAAkB,CAClB,cAAe,CACf,gBAAiB,CAHjB,oBAIF,CACA,yBACE,aAAc,CACd,eACF,CACA,kCACE,wBAAyB,CACzB,aAAc,CACd,gBACF,CACA,wBACE,cACF,CACA,oBACE,UAAW,CACX,oBAAqB,CACrB,UAAW,CACX,cAAe,CACf,eAAgB,CAChB,WAAY,CACZ,iBAAkB,CAClB,qBACF,CACA,0BACE,cAAe,CACf,oBAAqB,CACrB,WAAY,CACZ,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,UACF,CACA,iCACE,oBAAqB,CACrB,gBACF,CACA,4BACE,qBAAsB,CACtB,YAAa,CACb,cAAe,CACf,eAAgB,CAChB,iBAAkB,CAClB,kBACF,CACA,4CACE,cAAe,CACf,aAAc,CACd,kBAAmB,CACnB,eACF,CACA,iDACE,UAAW,CACX,SACF,CACA,0DACE,SACF,CACA,4DACE,WACF,CACA,mDACE,aAAc,CACd,eAAgB,CAChB,QAAS,CACT,SACF,CACA,mDAEE,UACF,CACA,qFAEE,eACF,CACA,6FAEE,SACF,CACA,4CACE,aACF,CACA,yCACE,WAAY,CAEZ,eAAgB,CADhB,UAEF,CACA,6CACE,eAAgB,CAChB,WACF,CACA,0CACE,4BAA6B,CAC7B,UAAW,CACX,WAAY,CACZ,UAAW,CACX,SAAY,CACZ,UACF,CACA,mEAEE,eAAgB,CADhB,iBAAkB,CAElB,OAAQ,CACR,OAAQ,CACR,UACF,CACA,+fAME,wBACF,CACA,8BACE,UACF,CACA,2GAEE,gBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,2IAEE,mBACF,CACA,qEACE,aACF,CACA,qEACE,eACF,CACA,qEACE,gBACF,CACA,qEACE,aACF,CACA,qEACE,eACF,CACA,qEACE,eACF,CACA,4BACE,WACF,CACA,uGAEE,oBACF,CACA,2IAEE,eACF,CACA,mJAEE,mBACF,CACA,qEACE,yCACF,CACA,yEACE,wCACF,CACA,4BACE,UACF,CACA,uGAEE,gBACF,CACA,2IAEE,eACF,CACA,2IAEE,eACF,CACA,yIAEE,cACF,CACA,qEACE,cACF,CACA,qEACE,cACF,CACA,oEACE,cACF,CACA,wDACE,qBACF,CACA,mDACE,qBACF,CACA,oBACE,qBAAsB,CACtB,6BAAsB,CAAtB,qBAAsB,CACtB,qDAA+D,CAC/D,WACF,CACA,gCACE,iBACF,CACA,qCACE,4BACF,CACA,uCACE,4BAA6B,CAC7B,2CAAqC,CAArC,mCACF,CAIA,0HACE,iBACF,CACA,4HAEE,iBACF,CACA,0CACE,YACF,CACA,qBACE,qBAAsB,CACtB,qBAAsB,CACtB,+BAA4B,CAA5B,uBAA4B,CAC5B,UAAW,CACX,gBAAiB,CACjB,kBACF,CACA,4BACE,oBAAqB,CACrB,gBAAiB,CACjB,gBACF,CACA,sCAEE,qBAAsB,CADtB,YAAa,CAEb,cAAe,CACf,WAAY,CACZ,QAAW,CACX,eAAgB,CAChB,WACF,CACA,kCACE,oBAAqB,CACrB,eAAgB,CAChB,iBAAkB,CAClB,sBAAuB,CACvB,kBACF,CACA,uCACE,2BAA4B,CAC5B,cAAe,CACf,gBAAiB,CACjB,iBACF,CACA,wCACE,gBAAiB,CACjB,eACF,CACA,uBACE,gBACF,CACA,yFAEE,YACF,CACA,iDACE,oBACF,CACA,kDACE,cAAiB,CACjB,cAAe,CACf,eACF,CACA,4CACE,qBACF,CACA,+CACE,wBACF,CACA,6CACE,sBACF,CACA,WACE,UACF,CACA,sBACE,qBACF",sourcesContent:["/*!\n * Quill Editor v1.3.7\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */\n.ql-container {\n  box-sizing: border-box;\n  font-family: Helvetica, Arial, sans-serif;\n  font-size: 13px;\n  height: 100%;\n  margin: 0px;\n  position: relative;\n}\n.ql-container.ql-disabled .ql-tooltip {\n  visibility: hidden;\n}\n.ql-container.ql-disabled .ql-editor ul[data-checked] > li::before {\n  pointer-events: none;\n}\n.ql-clipboard {\n  left: -100000px;\n  height: 1px;\n  overflow-y: hidden;\n  position: absolute;\n  top: 50%;\n}\n.ql-clipboard p {\n  margin: 0;\n  padding: 0;\n}\n.ql-editor {\n  box-sizing: border-box;\n  line-height: 1.42;\n  height: 100%;\n  outline: none;\n  overflow-y: auto;\n  padding: 12px 15px;\n  tab-size: 4;\n  -moz-tab-size: 4;\n  text-align: left;\n  white-space: pre-wrap;\n  word-wrap: break-word;\n}\n.ql-editor > * {\n  cursor: text;\n}\n.ql-editor p,\n.ql-editor ol,\n.ql-editor ul,\n.ql-editor pre,\n.ql-editor blockquote,\n.ql-editor h1,\n.ql-editor h2,\n.ql-editor h3,\n.ql-editor h4,\n.ql-editor h5,\n.ql-editor h6 {\n  margin: 0;\n  padding: 0;\n  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol,\n.ql-editor ul {\n  padding-left: 1.5em;\n}\n.ql-editor ol > li,\n.ql-editor ul > li {\n  list-style-type: none;\n}\n.ql-editor ul > li::before {\n  content: '\\2022';\n}\n.ql-editor ul[data-checked=true],\n.ql-editor ul[data-checked=false] {\n  pointer-events: none;\n}\n.ql-editor ul[data-checked=true] > li *,\n.ql-editor ul[data-checked=false] > li * {\n  pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before,\n.ql-editor ul[data-checked=false] > li::before {\n  color: #777;\n  cursor: pointer;\n  pointer-events: all;\n}\n.ql-editor ul[data-checked=true] > li::before {\n  content: '\\2611';\n}\n.ql-editor ul[data-checked=false] > li::before {\n  content: '\\2610';\n}\n.ql-editor li::before {\n  display: inline-block;\n  white-space: nowrap;\n  width: 1.2em;\n}\n.ql-editor li:not(.ql-direction-rtl)::before {\n  margin-left: -1.5em;\n  margin-right: 0.3em;\n  text-align: right;\n}\n.ql-editor li.ql-direction-rtl::before {\n  margin-left: 0.3em;\n  margin-right: -1.5em;\n}\n.ql-editor ol li:not(.ql-direction-rtl),\n.ql-editor ul li:not(.ql-direction-rtl) {\n  padding-left: 1.5em;\n}\n.ql-editor ol li.ql-direction-rtl,\n.ql-editor ul li.ql-direction-rtl {\n  padding-right: 1.5em;\n}\n.ql-editor ol li {\n  counter-reset: list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n  counter-increment: list-0;\n}\n.ql-editor ol li:before {\n  content: counter(list-0, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n  counter-increment: list-1;\n}\n.ql-editor ol li.ql-indent-1:before {\n  content: counter(list-1, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-1 {\n  counter-reset: list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-2 {\n  counter-increment: list-2;\n}\n.ql-editor ol li.ql-indent-2:before {\n  content: counter(list-2, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-2 {\n  counter-reset: list-3 list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-3 {\n  counter-increment: list-3;\n}\n.ql-editor ol li.ql-indent-3:before {\n  content: counter(list-3, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-3 {\n  counter-reset: list-4 list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-4 {\n  counter-increment: list-4;\n}\n.ql-editor ol li.ql-indent-4:before {\n  content: counter(list-4, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-4 {\n  counter-reset: list-5 list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-5 {\n  counter-increment: list-5;\n}\n.ql-editor ol li.ql-indent-5:before {\n  content: counter(list-5, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-5 {\n  counter-reset: list-6 list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-6 {\n  counter-increment: list-6;\n}\n.ql-editor ol li.ql-indent-6:before {\n  content: counter(list-6, decimal) '. ';\n}\n.ql-editor ol li.ql-indent-6 {\n  counter-reset: list-7 list-8 list-9;\n}\n.ql-editor ol li.ql-indent-7 {\n  counter-increment: list-7;\n}\n.ql-editor ol li.ql-indent-7:before {\n  content: counter(list-7, lower-alpha) '. ';\n}\n.ql-editor ol li.ql-indent-7 {\n  counter-reset: list-8 list-9;\n}\n.ql-editor ol li.ql-indent-8 {\n  counter-increment: list-8;\n}\n.ql-editor ol li.ql-indent-8:before {\n  content: counter(list-8, lower-roman) '. ';\n}\n.ql-editor ol li.ql-indent-8 {\n  counter-reset: list-9;\n}\n.ql-editor ol li.ql-indent-9 {\n  counter-increment: list-9;\n}\n.ql-editor ol li.ql-indent-9:before {\n  content: counter(list-9, decimal) '. ';\n}\n.ql-editor .ql-indent-1:not(.ql-direction-rtl) {\n  padding-left: 3em;\n}\n.ql-editor li.ql-indent-1:not(.ql-direction-rtl) {\n  padding-left: 4.5em;\n}\n.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right {\n  padding-right: 3em;\n}\n.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right {\n  padding-right: 4.5em;\n}\n.ql-editor .ql-indent-2:not(.ql-direction-rtl) {\n  padding-left: 6em;\n}\n.ql-editor li.ql-indent-2:not(.ql-direction-rtl) {\n  padding-left: 7.5em;\n}\n.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right {\n  padding-right: 6em;\n}\n.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right {\n  padding-right: 7.5em;\n}\n.ql-editor .ql-indent-3:not(.ql-direction-rtl) {\n  padding-left: 9em;\n}\n.ql-editor li.ql-indent-3:not(.ql-direction-rtl) {\n  padding-left: 10.5em;\n}\n.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right {\n  padding-right: 9em;\n}\n.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right {\n  padding-right: 10.5em;\n}\n.ql-editor .ql-indent-4:not(.ql-direction-rtl) {\n  padding-left: 12em;\n}\n.ql-editor li.ql-indent-4:not(.ql-direction-rtl) {\n  padding-left: 13.5em;\n}\n.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right {\n  padding-right: 12em;\n}\n.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right {\n  padding-right: 13.5em;\n}\n.ql-editor .ql-indent-5:not(.ql-direction-rtl) {\n  padding-left: 15em;\n}\n.ql-editor li.ql-indent-5:not(.ql-direction-rtl) {\n  padding-left: 16.5em;\n}\n.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right {\n  padding-right: 15em;\n}\n.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right {\n  padding-right: 16.5em;\n}\n.ql-editor .ql-indent-6:not(.ql-direction-rtl) {\n  padding-left: 18em;\n}\n.ql-editor li.ql-indent-6:not(.ql-direction-rtl) {\n  padding-left: 19.5em;\n}\n.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right {\n  padding-right: 18em;\n}\n.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right {\n  padding-right: 19.5em;\n}\n.ql-editor .ql-indent-7:not(.ql-direction-rtl) {\n  padding-left: 21em;\n}\n.ql-editor li.ql-indent-7:not(.ql-direction-rtl) {\n  padding-left: 22.5em;\n}\n.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right {\n  padding-right: 21em;\n}\n.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right {\n  padding-right: 22.5em;\n}\n.ql-editor .ql-indent-8:not(.ql-direction-rtl) {\n  padding-left: 24em;\n}\n.ql-editor li.ql-indent-8:not(.ql-direction-rtl) {\n  padding-left: 25.5em;\n}\n.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right {\n  padding-right: 24em;\n}\n.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right {\n  padding-right: 25.5em;\n}\n.ql-editor .ql-indent-9:not(.ql-direction-rtl) {\n  padding-left: 27em;\n}\n.ql-editor li.ql-indent-9:not(.ql-direction-rtl) {\n  padding-left: 28.5em;\n}\n.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right {\n  padding-right: 27em;\n}\n.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right {\n  padding-right: 28.5em;\n}\n.ql-editor .ql-video {\n  display: block;\n  max-width: 100%;\n}\n.ql-editor .ql-video.ql-align-center {\n  margin: 0 auto;\n}\n.ql-editor .ql-video.ql-align-right {\n  margin: 0 0 0 auto;\n}\n.ql-editor .ql-bg-black {\n  background-color: #000;\n}\n.ql-editor .ql-bg-red {\n  background-color: #e60000;\n}\n.ql-editor .ql-bg-orange {\n  background-color: #f90;\n}\n.ql-editor .ql-bg-yellow {\n  background-color: #ff0;\n}\n.ql-editor .ql-bg-green {\n  background-color: #008a00;\n}\n.ql-editor .ql-bg-blue {\n  background-color: #06c;\n}\n.ql-editor .ql-bg-purple {\n  background-color: #93f;\n}\n.ql-editor .ql-color-white {\n  color: #fff;\n}\n.ql-editor .ql-color-red {\n  color: #e60000;\n}\n.ql-editor .ql-color-orange {\n  color: #f90;\n}\n.ql-editor .ql-color-yellow {\n  color: #ff0;\n}\n.ql-editor .ql-color-green {\n  color: #008a00;\n}\n.ql-editor .ql-color-blue {\n  color: #06c;\n}\n.ql-editor .ql-color-purple {\n  color: #93f;\n}\n.ql-editor .ql-font-serif {\n  font-family: Georgia, Times New Roman, serif;\n}\n.ql-editor .ql-font-monospace {\n  font-family: Monaco, Courier New, monospace;\n}\n.ql-editor .ql-size-small {\n  font-size: 0.75em;\n}\n.ql-editor .ql-size-large {\n  font-size: 1.5em;\n}\n.ql-editor .ql-size-huge {\n  font-size: 2.5em;\n}\n.ql-editor .ql-direction-rtl {\n  direction: rtl;\n  text-align: inherit;\n}\n.ql-editor .ql-align-center {\n  text-align: center;\n}\n.ql-editor .ql-align-justify {\n  text-align: justify;\n}\n.ql-editor .ql-align-right {\n  text-align: right;\n}\n.ql-editor.ql-blank::before {\n  color: rgba(0,0,0,0.6);\n  content: attr(data-placeholder);\n  font-style: italic;\n  left: 15px;\n  pointer-events: none;\n  position: absolute;\n  right: 15px;\n}\n.ql-snow.ql-toolbar:after,\n.ql-snow .ql-toolbar:after {\n  clear: both;\n  content: '';\n  display: table;\n}\n.ql-snow.ql-toolbar button,\n.ql-snow .ql-toolbar button {\n  background: none;\n  border: none;\n  cursor: pointer;\n  display: inline-block;\n  float: left;\n  height: 24px;\n  padding: 3px 5px;\n  width: 28px;\n}\n.ql-snow.ql-toolbar button svg,\n.ql-snow .ql-toolbar button svg {\n  float: left;\n  height: 100%;\n}\n.ql-snow.ql-toolbar button:active:hover,\n.ql-snow .ql-toolbar button:active:hover {\n  outline: none;\n}\n.ql-snow.ql-toolbar input.ql-image[type=file],\n.ql-snow .ql-toolbar input.ql-image[type=file] {\n  display: none;\n}\n.ql-snow.ql-toolbar button:hover,\n.ql-snow .ql-toolbar button:hover,\n.ql-snow.ql-toolbar button:focus,\n.ql-snow .ql-toolbar button:focus,\n.ql-snow.ql-toolbar button.ql-active,\n.ql-snow .ql-toolbar button.ql-active,\n.ql-snow.ql-toolbar .ql-picker-label:hover,\n.ql-snow .ql-toolbar .ql-picker-label:hover,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active,\n.ql-snow.ql-toolbar .ql-picker-item:hover,\n.ql-snow .ql-toolbar .ql-picker-item:hover,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected {\n  color: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,\n.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill {\n  fill: #06c;\n}\n.ql-snow.ql-toolbar button:hover .ql-stroke,\n.ql-snow .ql-toolbar button:hover .ql-stroke,\n.ql-snow.ql-toolbar button:focus .ql-stroke,\n.ql-snow .ql-toolbar button:focus .ql-stroke,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,\n.ql-snow.ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar button:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow .ql-toolbar button:focus .ql-stroke-miter,\n.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,\n.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,\n.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter {\n  stroke: #06c;\n}\n@media (pointer: coarse) {\n  .ql-snow.ql-toolbar button:hover:not(.ql-active),\n  .ql-snow .ql-toolbar button:hover:not(.ql-active) {\n    color: #444;\n  }\n  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,\n  .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,\n  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,\n  .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill {\n    fill: #444;\n  }\n  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n  .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,\n  .ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,\n  .ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter {\n    stroke: #444;\n  }\n}\n.ql-snow {\n  box-sizing: border-box;\n}\n.ql-snow * {\n  box-sizing: border-box;\n}\n.ql-snow .ql-hidden {\n  display: none;\n}\n.ql-snow .ql-out-bottom,\n.ql-snow .ql-out-top {\n  visibility: hidden;\n}\n.ql-snow .ql-tooltip {\n  position: absolute;\n  transform: translateY(10px);\n}\n.ql-snow .ql-tooltip a {\n  cursor: pointer;\n  text-decoration: none;\n}\n.ql-snow .ql-tooltip.ql-flip {\n  transform: translateY(-10px);\n}\n.ql-snow .ql-formats {\n  display: inline-block;\n  vertical-align: middle;\n}\n.ql-snow .ql-formats:after {\n  clear: both;\n  content: '';\n  display: table;\n}\n.ql-snow .ql-stroke {\n  fill: none;\n  stroke: #444;\n  stroke-linecap: round;\n  stroke-linejoin: round;\n  stroke-width: 2;\n}\n.ql-snow .ql-stroke-miter {\n  fill: none;\n  stroke: #444;\n  stroke-miterlimit: 10;\n  stroke-width: 2;\n}\n.ql-snow .ql-fill,\n.ql-snow .ql-stroke.ql-fill {\n  fill: #444;\n}\n.ql-snow .ql-empty {\n  fill: none;\n}\n.ql-snow .ql-even {\n  fill-rule: evenodd;\n}\n.ql-snow .ql-thin,\n.ql-snow .ql-stroke.ql-thin {\n  stroke-width: 1;\n}\n.ql-snow .ql-transparent {\n  opacity: 0.4;\n}\n.ql-snow .ql-direction svg:last-child {\n  display: none;\n}\n.ql-snow .ql-direction.ql-active svg:last-child {\n  display: inline;\n}\n.ql-snow .ql-direction.ql-active svg:first-child {\n  display: none;\n}\n.ql-snow .ql-editor h1 {\n  font-size: 2em;\n}\n.ql-snow .ql-editor h2 {\n  font-size: 1.5em;\n}\n.ql-snow .ql-editor h3 {\n  font-size: 1.17em;\n}\n.ql-snow .ql-editor h4 {\n  font-size: 1em;\n}\n.ql-snow .ql-editor h5 {\n  font-size: 0.83em;\n}\n.ql-snow .ql-editor h6 {\n  font-size: 0.67em;\n}\n.ql-snow .ql-editor a {\n  text-decoration: underline;\n}\n.ql-snow .ql-editor blockquote {\n  border-left: 4px solid #ccc;\n  margin-bottom: 5px;\n  margin-top: 5px;\n  padding-left: 16px;\n}\n.ql-snow .ql-editor code,\n.ql-snow .ql-editor pre {\n  background-color: #f0f0f0;\n  border-radius: 3px;\n}\n.ql-snow .ql-editor pre {\n  white-space: pre-wrap;\n  margin-bottom: 5px;\n  margin-top: 5px;\n  padding: 5px 10px;\n}\n.ql-snow .ql-editor code {\n  font-size: 85%;\n  padding: 2px 4px;\n}\n.ql-snow .ql-editor pre.ql-syntax {\n  background-color: #23241f;\n  color: #f8f8f2;\n  overflow: visible;\n}\n.ql-snow .ql-editor img {\n  max-width: 100%;\n}\n.ql-snow .ql-picker {\n  color: #444;\n  display: inline-block;\n  float: left;\n  font-size: 14px;\n  font-weight: 500;\n  height: 24px;\n  position: relative;\n  vertical-align: middle;\n}\n.ql-snow .ql-picker-label {\n  cursor: pointer;\n  display: inline-block;\n  height: 100%;\n  padding-left: 8px;\n  padding-right: 2px;\n  position: relative;\n  width: 100%;\n}\n.ql-snow .ql-picker-label::before {\n  display: inline-block;\n  line-height: 22px;\n}\n.ql-snow .ql-picker-options {\n  background-color: #fff;\n  display: none;\n  min-width: 100%;\n  padding: 4px 8px;\n  position: absolute;\n  white-space: nowrap;\n}\n.ql-snow .ql-picker-options .ql-picker-item {\n  cursor: pointer;\n  display: block;\n  padding-bottom: 5px;\n  padding-top: 5px;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n  color: #ccc;\n  z-index: 2;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill {\n  fill: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke {\n  stroke: #ccc;\n}\n.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n  display: block;\n  margin-top: -1px;\n  top: 100%;\n  z-index: 1;\n}\n.ql-snow .ql-color-picker,\n.ql-snow .ql-icon-picker {\n  width: 28px;\n}\n.ql-snow .ql-color-picker .ql-picker-label,\n.ql-snow .ql-icon-picker .ql-picker-label {\n  padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-label svg,\n.ql-snow .ql-icon-picker .ql-picker-label svg {\n  right: 4px;\n}\n.ql-snow .ql-icon-picker .ql-picker-options {\n  padding: 4px 0px;\n}\n.ql-snow .ql-icon-picker .ql-picker-item {\n  height: 24px;\n  width: 24px;\n  padding: 2px 4px;\n}\n.ql-snow .ql-color-picker .ql-picker-options {\n  padding: 3px 5px;\n  width: 152px;\n}\n.ql-snow .ql-color-picker .ql-picker-item {\n  border: 1px solid transparent;\n  float: left;\n  height: 16px;\n  margin: 2px;\n  padding: 0px;\n  width: 16px;\n}\n.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg {\n  position: absolute;\n  margin-top: -9px;\n  right: 0;\n  top: 50%;\n  width: 18px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before {\n  content: attr(data-label);\n}\n.ql-snow .ql-picker.ql-header {\n  width: 98px;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item::before {\n  content: 'Normal';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n  content: 'Heading 1';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n  content: 'Heading 2';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n  content: 'Heading 3';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n  content: 'Heading 4';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n  content: 'Heading 5';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before,\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n  content: 'Heading 6';\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before {\n  font-size: 2em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before {\n  font-size: 1.5em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before {\n  font-size: 1.17em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before {\n  font-size: 1em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before {\n  font-size: 0.83em;\n}\n.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before {\n  font-size: 0.67em;\n}\n.ql-snow .ql-picker.ql-font {\n  width: 108px;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item::before {\n  content: 'Sans Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n  content: 'Serif';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before,\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n  content: 'Monospace';\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before {\n  font-family: Georgia, Times New Roman, serif;\n}\n.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before {\n  font-family: Monaco, Courier New, monospace;\n}\n.ql-snow .ql-picker.ql-size {\n  width: 98px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item::before {\n  content: 'Normal';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n  content: 'Small';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n  content: 'Large';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before,\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n  content: 'Huge';\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before {\n  font-size: 10px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before {\n  font-size: 18px;\n}\n.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before {\n  font-size: 32px;\n}\n.ql-snow .ql-color-picker.ql-background .ql-picker-item {\n  background-color: #fff;\n}\n.ql-snow .ql-color-picker.ql-color .ql-picker-item {\n  background-color: #000;\n}\n.ql-toolbar.ql-snow {\n  border: 1px solid #ccc;\n  box-sizing: border-box;\n  font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;\n  padding: 8px;\n}\n.ql-toolbar.ql-snow .ql-formats {\n  margin-right: 15px;\n}\n.ql-toolbar.ql-snow .ql-picker-label {\n  border: 1px solid transparent;\n}\n.ql-toolbar.ql-snow .ql-picker-options {\n  border: 1px solid transparent;\n  box-shadow: rgba(0,0,0,0.2) 0 2px 8px;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label {\n  border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options {\n  border-color: #ccc;\n}\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,\n.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover {\n  border-color: #000;\n}\n.ql-toolbar.ql-snow + .ql-container.ql-snow {\n  border-top: 0px;\n}\n.ql-snow .ql-tooltip {\n  background-color: #fff;\n  border: 1px solid #ccc;\n  box-shadow: 0px 0px 5px #ddd;\n  color: #444;\n  padding: 5px 12px;\n  white-space: nowrap;\n}\n.ql-snow .ql-tooltip::before {\n  content: \"Visit URL:\";\n  line-height: 26px;\n  margin-right: 8px;\n}\n.ql-snow .ql-tooltip input[type=text] {\n  display: none;\n  border: 1px solid #ccc;\n  font-size: 13px;\n  height: 26px;\n  margin: 0px;\n  padding: 3px 5px;\n  width: 170px;\n}\n.ql-snow .ql-tooltip a.ql-preview {\n  display: inline-block;\n  max-width: 200px;\n  overflow-x: hidden;\n  text-overflow: ellipsis;\n  vertical-align: top;\n}\n.ql-snow .ql-tooltip a.ql-action::after {\n  border-right: 1px solid #ccc;\n  content: 'Edit';\n  margin-left: 16px;\n  padding-right: 8px;\n}\n.ql-snow .ql-tooltip a.ql-remove::before {\n  content: 'Remove';\n  margin-left: 8px;\n}\n.ql-snow .ql-tooltip a {\n  line-height: 26px;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-preview,\n.ql-snow .ql-tooltip.ql-editing a.ql-remove {\n  display: none;\n}\n.ql-snow .ql-tooltip.ql-editing input[type=text] {\n  display: inline-block;\n}\n.ql-snow .ql-tooltip.ql-editing a.ql-action::after {\n  border-right: 0px;\n  content: 'Save';\n  padding-right: 0px;\n}\n.ql-snow .ql-tooltip[data-mode=link]::before {\n  content: \"Enter link:\";\n}\n.ql-snow .ql-tooltip[data-mode=formula]::before {\n  content: \"Enter formula:\";\n}\n.ql-snow .ql-tooltip[data-mode=video]::before {\n  content: \"Enter video:\";\n}\n.ql-snow a {\n  color: #06c;\n}\n.ql-container.ql-snow {\n  border: 1px solid #ccc;\n}\n"],sourceRoot:""}]),t.Z=a},91396:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i),s=n(61667),l=n.n(s),c=n(8873),u=n(3961),d=n(71844),f=n(77457),p=n(2109),h=a()(o()),m=l()(c.Z),g=l()(u.Z),v=l()(u.Z,{hash:"?#iefix"}),b=l()(d.Z),y=l()(f.Z),A=l()(p.Z,{hash:"#slick"});h.push([e.id,'@charset "UTF-8";.slick-loading .slick-list{background:#fff url('+m+") 50% no-repeat}@font-face{font-family:slick;font-style:normal;font-weight:400;src:url("+g+");src:url("+v+') format("embedded-opentype"),url('+b+') format("woff"),url('+y+') format("truetype"),url('+A+') format("svg")}.slick-next,.slick-prev{border:none;cursor:pointer;display:block;font-size:0;height:20px;line-height:0;padding:0;position:absolute;top:50%;-webkit-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%);width:20px}.slick-next,.slick-next:focus,.slick-next:hover,.slick-prev,.slick-prev:focus,.slick-prev:hover{background:transparent;color:transparent;outline:none}.slick-next:focus:before,.slick-next:hover:before,.slick-prev:focus:before,.slick-prev:hover:before{opacity:1}.slick-next.slick-disabled:before,.slick-prev.slick-disabled:before{opacity:.25}.slick-next:before,.slick-prev:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#fff;font-family:slick;font-size:20px;line-height:1;opacity:.75}.slick-prev{left:-25px}[dir=rtl] .slick-prev{left:auto;right:-25px}.slick-prev:before{content:"←"}[dir=rtl] .slick-prev:before{content:"→"}.slick-next{right:-25px}[dir=rtl] .slick-next{left:-25px;right:auto}.slick-next:before{content:"→"}[dir=rtl] .slick-next:before{content:"←"}.slick-dotted.slick-slider{margin-bottom:30px}.slick-dots{bottom:-25px;display:block;list-style:none;margin:0;padding:0;position:absolute;text-align:center;width:100%}.slick-dots li{display:inline-block;margin:0 5px;padding:0;position:relative}.slick-dots li,.slick-dots li button{cursor:pointer;height:20px;width:20px}.slick-dots li button{background:transparent;border:0;color:transparent;display:block;font-size:0;line-height:0;outline:none;padding:5px}.slick-dots li button:focus,.slick-dots li button:hover{outline:none}.slick-dots li button:focus:before,.slick-dots li button:hover:before{opacity:1}.slick-dots li button:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#000;content:"•";font-family:slick;font-size:6px;height:20px;left:0;line-height:20px;opacity:.25;position:absolute;text-align:center;top:0;width:20px}.slick-dots li.slick-active button:before{color:#000;opacity:.75}',"",{version:3,sources:["webpack://./node_modules/slick-carousel/slick/slick-theme.css"],names:[],mappings:"AAwFA,gBAGA,CAzFA,2BAEI,qEACJ,CAGA,WAEI,iBAAoB,CAEpB,iBAAkB,CADlB,eAAmB,CAGnB,2CAA6B,CAC7B,+OACJ,CAEA,wBAqBI,WAAY,CAHZ,cAAe,CATf,aAAc,CANd,WAAY,CASZ,WAAY,CARZ,aAAc,CASd,SAAU,CAPV,iBAAkB,CAClB,OAAQ,CAOR,kCAAqC,CACrC,8BAAiC,CACjC,0BAA6B,CAL7B,UAaJ,CACA,gGAFI,sBAAuB,CAHvB,iBAAkB,CAElB,YAWJ,CACA,oGAKI,SACJ,CACA,oEAGI,WACJ,CAEA,sCAUI,kCAAmC,CACnC,iCAAkC,CAHlC,UAAY,CALZ,iBAAoB,CACpB,cAAe,CACf,aAAc,CAEd,WAKJ,CAEA,YAEI,UACJ,CACA,sBAGI,SAAU,CADV,WAEJ,CACA,mBAEI,WACJ,CACA,6BAEI,WACJ,CAEA,YAEI,WACJ,CACA,sBAGI,UAAW,CADX,UAEJ,CACA,mBAEI,WACJ,CACA,6BAEI,WACJ,CAGA,2BAEI,kBACJ,CAEA,YAGI,YAAa,CAEb,aAAc,CAMd,eAAgB,CAFhB,QAAS,CADT,SAAU,CANV,iBAAkB,CAWlB,iBAAkB,CANlB,UAOJ,CACA,eAII,oBAAqB,CAIrB,YAAa,CACb,SAAU,CAPV,iBAUJ,CACA,qCAFI,cAAe,CAJf,WAAY,CADZ,UAwBJ,CAjBA,sBAgBI,sBAAuB,CAFvB,QAAS,CADT,iBAAkB,CARlB,aAAc,CAHd,WAAY,CACZ,aAAc,CAYd,YAAa,CANb,WAQJ,CACA,wDAGI,YACJ,CACA,sEAGI,SACJ,CACA,6BAmBI,kCAAmC,CACnC,iCAAkC,CAHlC,UAAY,CAJZ,WAAY,CAXZ,iBAAoB,CACpB,aAAc,CAQd,WAAY,CAHZ,MAAO,CAJP,gBAAiB,CAYjB,WAAY,CAVZ,iBAAkB,CAQlB,iBAAkB,CAPlB,KAAM,CAGN,UAWJ,CACA,0CAGI,UAAY,CADZ,WAEJ",sourcesContent:["@charset 'UTF-8';\n/* Slider */\n.slick-loading .slick-list\n{\n    background: #fff url('./ajax-loader.gif') center center no-repeat;\n}\n\n/* Icons */\n@font-face\n{\n    font-family: 'slick';\n    font-weight: normal;\n    font-style: normal;\n\n    src: url('./fonts/slick.eot');\n    src: url('./fonts/slick.eot?#iefix') format('embedded-opentype'), url('./fonts/slick.woff') format('woff'), url('./fonts/slick.ttf') format('truetype'), url('./fonts/slick.svg#slick') format('svg');\n}\n/* Arrows */\n.slick-prev,\n.slick-next\n{\n    font-size: 0;\n    line-height: 0;\n\n    position: absolute;\n    top: 50%;\n\n    display: block;\n\n    width: 20px;\n    height: 20px;\n    padding: 0;\n    -webkit-transform: translate(0, -50%);\n    -ms-transform: translate(0, -50%);\n    transform: translate(0, -50%);\n\n    cursor: pointer;\n\n    color: transparent;\n    border: none;\n    outline: none;\n    background: transparent;\n}\n.slick-prev:hover,\n.slick-prev:focus,\n.slick-next:hover,\n.slick-next:focus\n{\n    color: transparent;\n    outline: none;\n    background: transparent;\n}\n.slick-prev:hover:before,\n.slick-prev:focus:before,\n.slick-next:hover:before,\n.slick-next:focus:before\n{\n    opacity: 1;\n}\n.slick-prev.slick-disabled:before,\n.slick-next.slick-disabled:before\n{\n    opacity: .25;\n}\n\n.slick-prev:before,\n.slick-next:before\n{\n    font-family: 'slick';\n    font-size: 20px;\n    line-height: 1;\n\n    opacity: .75;\n    color: white;\n\n    -webkit-font-smoothing: antialiased;\n    -moz-osx-font-smoothing: grayscale;\n}\n\n.slick-prev\n{\n    left: -25px;\n}\n[dir='rtl'] .slick-prev\n{\n    right: -25px;\n    left: auto;\n}\n.slick-prev:before\n{\n    content: '←';\n}\n[dir='rtl'] .slick-prev:before\n{\n    content: '→';\n}\n\n.slick-next\n{\n    right: -25px;\n}\n[dir='rtl'] .slick-next\n{\n    right: auto;\n    left: -25px;\n}\n.slick-next:before\n{\n    content: '→';\n}\n[dir='rtl'] .slick-next:before\n{\n    content: '←';\n}\n\n/* Dots */\n.slick-dotted.slick-slider\n{\n    margin-bottom: 30px;\n}\n\n.slick-dots\n{\n    position: absolute;\n    bottom: -25px;\n\n    display: block;\n\n    width: 100%;\n    padding: 0;\n    margin: 0;\n\n    list-style: none;\n\n    text-align: center;\n}\n.slick-dots li\n{\n    position: relative;\n\n    display: inline-block;\n\n    width: 20px;\n    height: 20px;\n    margin: 0 5px;\n    padding: 0;\n\n    cursor: pointer;\n}\n.slick-dots li button\n{\n    font-size: 0;\n    line-height: 0;\n\n    display: block;\n\n    width: 20px;\n    height: 20px;\n    padding: 5px;\n\n    cursor: pointer;\n\n    color: transparent;\n    border: 0;\n    outline: none;\n    background: transparent;\n}\n.slick-dots li button:hover,\n.slick-dots li button:focus\n{\n    outline: none;\n}\n.slick-dots li button:hover:before,\n.slick-dots li button:focus:before\n{\n    opacity: 1;\n}\n.slick-dots li button:before\n{\n    font-family: 'slick';\n    font-size: 6px;\n    line-height: 20px;\n\n    position: absolute;\n    top: 0;\n    left: 0;\n\n    width: 20px;\n    height: 20px;\n\n    content: '•';\n    text-align: center;\n\n    opacity: .25;\n    color: black;\n\n    -webkit-font-smoothing: antialiased;\n    -moz-osx-font-smoothing: grayscale;\n}\n.slick-dots li.slick-active button:before\n{\n    opacity: .75;\n    color: black;\n}\n"],sourceRoot:""}]),t.Z=h},96731:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'.slick-slider{-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-touch-action:pan-y;touch-action:pan-y;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-khtml-user-select:none}.slick-list,.slick-slider{display:block;position:relative}.slick-list{margin:0;overflow:hidden;padding:0}.slick-list:focus{outline:none}.slick-list.dragging{cursor:pointer;cursor:hand}.slick-slider .slick-list,.slick-slider .slick-track{-webkit-transform:translateZ(0);-moz-transform:translateZ(0);-ms-transform:translateZ(0);-o-transform:translateZ(0);transform:translateZ(0)}.slick-track{display:block;left:0;margin-left:auto;margin-right:auto;position:relative;top:0}.slick-track:after,.slick-track:before{content:"";display:table}.slick-track:after{clear:both}.slick-loading .slick-track{visibility:hidden}.slick-slide{display:none;float:left;height:100%;min-height:1px}[dir=rtl] .slick-slide{float:right}.slick-slide img{display:block}.slick-slide.slick-loading img{display:none}.slick-slide.dragging img{pointer-events:none}.slick-initialized .slick-slide{display:block}.slick-loading .slick-slide{visibility:hidden}.slick-vertical .slick-slide{border:1px solid transparent;display:block;height:auto}.slick-arrow.slick-hidden{display:none}',"",{version:3,sources:["webpack://./node_modules/slick-carousel/slick/slick.css"],names:[],mappings:"AACA,cAYI,0BAA2B,CAI3B,uCAAwC,CAXxC,6BAAsB,CAAtB,qBAAsB,CAStB,sBAAuB,CACnB,kBAAmB,CARvB,wBAAyB,CACtB,qBAAsB,CACrB,oBAAqB,CACjB,gBAAiB,CAGzB,uBAIJ,CAEA,0BAfI,aAAc,CAFd,iBA0BJ,CATA,YAOI,QAAS,CAFT,eAAgB,CAGhB,SACJ,CACA,kBAEI,YACJ,CACA,qBAEI,cAAe,CACf,WACJ,CAEA,qDAGI,+BAAuC,CACpC,4BAAoC,CACnC,2BAAmC,CAClC,0BAAkC,CAC/B,uBACZ,CAEA,aAMI,aAAc,CAFd,MAAO,CAGP,gBAAiB,CACjB,iBAAkB,CANlB,iBAAkB,CAClB,KAMJ,CACA,uCAKI,UAAW,CAFX,aAGJ,CACA,mBAEI,UACJ,CACA,4BAEI,iBACJ,CAEA,aAEI,YAAa,CACb,UAAW,CAEX,WAAY,CACZ,cACJ,CACA,uBAEI,WACJ,CACA,iBAEI,aACJ,CACA,+BAEI,YACJ,CACA,0BAEI,mBACJ,CACA,gCAEI,aACJ,CACA,4BAEI,iBACJ,CACA,6BAMI,4BAA6B,CAJ7B,aAAc,CAEd,WAGJ,CACA,0BACI,YACJ",sourcesContent:["/* Slider */\n.slick-slider\n{\n    position: relative;\n\n    display: block;\n    box-sizing: border-box;\n\n    -webkit-user-select: none;\n       -moz-user-select: none;\n        -ms-user-select: none;\n            user-select: none;\n\n    -webkit-touch-callout: none;\n    -khtml-user-select: none;\n    -ms-touch-action: pan-y;\n        touch-action: pan-y;\n    -webkit-tap-highlight-color: transparent;\n}\n\n.slick-list\n{\n    position: relative;\n\n    display: block;\n    overflow: hidden;\n\n    margin: 0;\n    padding: 0;\n}\n.slick-list:focus\n{\n    outline: none;\n}\n.slick-list.dragging\n{\n    cursor: pointer;\n    cursor: hand;\n}\n\n.slick-slider .slick-track,\n.slick-slider .slick-list\n{\n    -webkit-transform: translate3d(0, 0, 0);\n       -moz-transform: translate3d(0, 0, 0);\n        -ms-transform: translate3d(0, 0, 0);\n         -o-transform: translate3d(0, 0, 0);\n            transform: translate3d(0, 0, 0);\n}\n\n.slick-track\n{\n    position: relative;\n    top: 0;\n    left: 0;\n\n    display: block;\n    margin-left: auto;\n    margin-right: auto;\n}\n.slick-track:before,\n.slick-track:after\n{\n    display: table;\n\n    content: '';\n}\n.slick-track:after\n{\n    clear: both;\n}\n.slick-loading .slick-track\n{\n    visibility: hidden;\n}\n\n.slick-slide\n{\n    display: none;\n    float: left;\n\n    height: 100%;\n    min-height: 1px;\n}\n[dir='rtl'] .slick-slide\n{\n    float: right;\n}\n.slick-slide img\n{\n    display: block;\n}\n.slick-slide.slick-loading img\n{\n    display: none;\n}\n.slick-slide.dragging img\n{\n    pointer-events: none;\n}\n.slick-initialized .slick-slide\n{\n    display: block;\n}\n.slick-loading .slick-slide\n{\n    visibility: hidden;\n}\n.slick-vertical .slick-slide\n{\n    display: block;\n\n    height: auto;\n\n    border: 1px solid transparent;\n}\n.slick-arrow.slick-hidden {\n    display: none;\n}\n"],sourceRoot:""}]),t.Z=a},70251:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,'.tox{-webkit-tap-highlight-color:transparent;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:content-box;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){-webkit-tap-highlight-color:inherit;background:0 0;border:0;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:inherit;box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;float:none;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;height:auto;line-height:inherit;margin:0;max-width:none;outline:0;padding:0;position:static;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{-webkit-box-orient:vertical;-webkit-box-direction:normal;border:2px solid #eee;border-radius:10px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox-tinymce,.tox.tox-tinymce-inline{-webkit-box-shadow:none;box-shadow:none}.tox.tox-tinymce-inline{border:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;-webkit-box-shadow:none;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.tox .accessibility-issue__header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{-webkit-box-align:stretch;-ms-flex-align:stretch;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:stretch;border:1px solid #eee;border-radius:6px;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#eee;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,108,231,.1);border-color:#006ce7;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.1);border-color:rgba(255,165,0,.5);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.5)}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);border-color:rgba(204,0,0,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.4)}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);border-color:rgba(120,171,70,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.4)}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar,.tox .tox-bar{-webkit-box-flex:0;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border:1px solid #006ce7;border-radius:6px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button:before{border-radius:6px;bottom:-1px;-webkit-box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:"";left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;-webkit-box-shadow:none;box-shadow:none;color:hsla(0,0%,100%,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;-webkit-box-shadow:none;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled):before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;-webkit-box-shadow:none;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;-webkit-box-shadow:none;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-position:0 0;background-repeat:repeat;border:1px solid #f0f0f0;border-radius:6px;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary,.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;-webkit-box-shadow:none;box-shadow:none}.tox .tox-button--secondary[disabled]{border-color:#f0f0f0;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled),.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{fill:currentColor;display:block}.tox .tox-button-link{background:0;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;-webkit-box-shadow:unset;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled),.tox .tox-button--naked[disabled]{background-color:rgba(34,47,62,.12);border-color:transparent;-webkit-box-shadow:unset;box-shadow:unset}.tox .tox-button--naked:hover:not(:disabled){color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;-webkit-box-shadow:unset;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:transparent;-webkit-box-shadow:unset;box-shadow:unset;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:6px;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;border-radius:6px;-webkit-box-shadow:0 0 0 2px transparent;box-shadow:0 0 0 2px transparent;-webkit-box-sizing:content-box;box-sizing:content-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:24px;justify-content:center;padding:3px;width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.3);display:block}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg,.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:#006ce7;display:none}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg,.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg,.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;-webkit-box-shadow:inset 0 0 0 1px #006ce7;box-shadow:inset 0 0 0 1px #006ce7;padding:3px}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--grid .tox-collection__group,.tox .tox-collection--toolbar .tox-collection__group{display:-webkit-box;display:-ms-flexbox;display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{-ms-flex-wrap:wrap;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto}.tox .tox-collection--list .tox-collection__group{border:solid #e3e3e3;border-width:1px 0 0;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none}.tox .tox-collection__group-heading,.tox .tox-collection__item{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.tox .tox-collection__item{-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-radius:3px;color:#222f3e;display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--grid .tox-collection__item,.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#cce2fa;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled),.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{-webkit-box-flex:1;color:currentColor;-ms-flex:1;flex:1;font-style:normal;font-weight:400;word-break:break-all}.tox .tox-collection__item-accessory,.tox .tox-collection__item-label{display:inline-block;font-size:14px;line-height:24px;text-transform:none}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);height:24px}.tox .tox-collection__item-caret{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:24px}.tox .tox-collection__item-caret:after{content:"";font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark,.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--horizontal{-webkit-box-flex:0;-ms-flex-negative:0;background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;-webkit-box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);-ms-flex:0 0 auto;flex:0 0 auto;flex-shrink:0;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal,.tox .tox-collection--horizontal .tox-collection__group{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tox .tox-collection--horizontal .tox-collection__group{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-collection__item-container--row{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-flex:1;-webkit-box-orient:horizontal;-webkit-box-direction:normal;align-items:center;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:row;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{-ms-flex-item-align:center;-webkit-box-flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;align-self:center;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{-ms-flex-item-align:start;align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{-ms-flex-item-align:center;align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{-ms-flex-item-align:end;align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;-webkit-transform:rotateY(180deg);transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;-webkit-box-sizing:content-box;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{-webkit-box-sizing:border-box;box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:-webkit-gradient(linear,left top,left bottom,from(red),color-stop(#ff0080),color-stop(#f0f),color-stop(#8000ff),color-stop(#00f),color-stop(#0080ff),color-stop(#0ff),color-stop(#00ff80),color-stop(#0f0),color-stop(#80ff00),color-stop(#ff0),color-stop(#ff8000),to(red));background:linear-gradient(180deg,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;-webkit-box-sizing:content-box;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.tox .tox-rgb-form,.tox .tox-rgb-form div{-webkit-box-pack:justify;-ms-flex-pack:justify;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between}.tox .tox-rgb-form div{-webkit-box-align:center;-ms-flex-align:center;align-items:center;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{-webkit-box-flex:2;-ms-flex-positive:2;border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-hue-slider,.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-hue-slider,.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px}.tox .tox-swatches__row{display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-swatch{height:30px;-webkit-transition:-webkit-transform .15s,-webkit-box-shadow .15s;transition:-webkit-transform .15s,-webkit-box-shadow .15s;transition:transform .15s,box-shadow .15s;transition:transform .15s,box-shadow .15s,-webkit-transform .15s,-webkit-box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{-webkit-box-shadow:inset 0 0 0 1px hsla(0,0%,50%,.3);box-shadow:inset 0 0 0 1px hsla(0,0%,50%,.3);-webkit-transform:scale(.8);transform:scale(.8)}.tox .tox-swatch--remove{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:transparent;border:0;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#cce2fa}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #eee;border-radius:6px;-webkit-box-shadow:0 4px 8px 0 rgba(34,47,62,.1);box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px;position:relative}.tox .tox-comment__header{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;color:#222f3e;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:none}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay:after{background:#fff;bottom:0;content:"";display:-webkit-box;display:-ms-flexbox;display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{-ms-flex-negative:0;-webkit-box-pack:end;-ms-flex-pack:end;display:-webkit-box;display:-ms-flexbox;display:flex;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{-webkit-box-pack:end;-ms-flex-pack:end;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient:after{background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(#fff));background:linear-gradient(hsla(0,0%,100%,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{-webkit-box-flex:1;-ms-flex-positive:1;background:#fff;bottom:0;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text,.tox .tox-comment__overlay{-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.tox .tox-comment__loading-text{-webkit-box-align:center;-ms-flex-align:center;align-items:center;color:#222f3e;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{-webkit-box-orient:vertical;-webkit-box-direction:normal;bottom:0;-ms-flex-direction:column;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;-webkit-box-shadow:0 0 8px 8px #fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:#fff;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-negative:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;-o-object-fit:cover;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name,.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:hsla(0,0%,100%,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog,.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{-webkit-box-orient:vertical;-webkit-box-direction:normal;border:0 solid #eee;border-radius:10px;-webkit-box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{-ms-flex-item-align:start;align-self:flex-start;margin:8px auto;max-height:calc(100vh - 16px);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:-webkit-grab;cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:-webkit-grabbing;cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:20px;margin:0}.tox .tox-dialog__body,.tox .tox-dialog__title{font-style:normal;font-weight:400;line-height:1.3;text-transform:none}.tox .tox-dialog__body{-webkit-box-flex:1;color:#222f3e;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;font-size:16px;min-width:0;text-align:left}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.tox .tox-dialog__body-nav{-webkit-box-align:start;-ms-flex-align:start;-webkit-box-orient:vertical;-webkit-box-direction:normal;align-items:flex-start;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-overflow-scrolling:touch;-ms-flex-direction:row;flex-direction:row;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{-webkit-box-flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-overflow-scrolling:touch;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;max-height:650px;overflow:auto;padding:16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#006ce7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:active,.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content ul{-webkit-margin-end:0;-webkit-margin-start:0;-webkit-padding-start:2.5rem;display:block;list-style-type:disc;margin-bottom:16px;margin-inline-end:0;margin-inline-start:0;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{font-size:20px}.tox .tox-dialog__body-content .tox-form__group h1,.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{font-size:16px}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:justify;-ms-flex-pack:justify;align-items:center;background-color:#fff;border-top:none;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__busy-spinner,.tox .tox-dialog__footer,.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-dialog__busy-spinner{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background-color:hsla(0,0%,100%,.75);bottom:0;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #eee}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{-webkit-box-flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){-webkit-box-flex:1;-ms-flex:1;flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{-webkit-transition:visibility 0s linear .3s,opacity .3s ease;transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{-webkit-transition-delay:0s;transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{-ms-flex:1;flex:1}.tox .tox-dropzone,.tox .tox-dropzone-container{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-dropzone{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-positive:1;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background:#fff;border:2px dashed #eee;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px}.tox .tox-edit-area{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{-webkit-box-flex:1;background-color:#fff;border:0;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex:1;flex:1;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-editor-container{-webkit-box-flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1 1 auto;flex:1 1 auto;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr -webkit-min-content;grid-template-columns:1fr min-content;z-index:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;-webkit-box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0;-webkit-transition:-webkit-box-shadow .5s;transition:-webkit-box-shadow .5s;transition:box-shadow .5s;transition:box-shadow .5s,-webkit-box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;-webkit-box-shadow:none;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header,.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{-webkit-box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{-webkit-transition:visibility 0s linear .25s,opacity .25s ease;transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{-webkit-transition-delay:0s;transition-delay:0s}.tox .tox-control-wrap{-webkit-box-flex:1;-ms-flex:1;flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{-webkit-box-sizing:border-box;box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border:1px solid rgba(34,47,62,.2);border-radius:6px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span:before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 0),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 0),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 0),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 0);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;-webkit-box-sizing:border-box;box-sizing:border-box;content:"";height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{-webkit-box-flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.tox .tox-form__group{-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{-webkit-box-flex:1;-ms-flex:1;flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__grid,.tox .tox-form__group--collection{display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-form__grid{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-pack:justify;-ms-flex-pack:justify;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - 4px)}.tox .tox-form__grid--3col>.tox-form__group{width:calc(33.33333% - 4px)}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - 4px)}.tox .tox-form__controls-h-stack,.tox .tox-form__group--inline{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-form__group--stretched{-webkit-box-flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{-webkit-box-flex:1;-ms-flex:1;flex:1}.tox .tox-form__group--stretched .tox-navobj{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){-webkit-box-flex:1;-ms-flex:1;flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #eee;border-radius:6px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#006ce7;-webkit-box-shadow:0 0 0 2px rgba(0,108,231,.25);box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;-webkit-box-shadow:unset;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{fill:#222f3e;display:block}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{-webkit-box-flex:1;cursor:default;-ms-flex:1;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border:1px solid #eee;border-radius:6px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;-webkit-box-shadow:0 0 0 2px rgba(0,108,231,.25);box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{-ms-scroll-chaining:none;border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;-ms-touch-action:pinch-zoom;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:-webkit-box;display:-ms-flexbox;display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{-webkit-box-flex:1;-ms-flex:1;flex:1}.tox .tox-image-tools .tox-bar{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{zoom:1;background:#000;opacity:.5;position:absolute}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;-webkit-box-sizing:border-box;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n),.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;-webkit-box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--grid,.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{-webkit-box-flex:0;-ms-flex-negative:0;background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{-webkit-padding-end:8px;-webkit-padding-start:4px;background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{-webkit-box-align:unsafe center;-ms-flex-align:unsafe center;align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-flex:0;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:#222f3e;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#cce2fa}.tox .tox-mbtn--active,.tox .tox-mbtn:focus:not(:disabled){border:0;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#a6ccf7}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#cce2fa;border:0;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;display:none;justify-content:center;width:16px}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:grid;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;-webkit-transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:opacity .15s ease-in,-webkit-transform .1s ease-in;transition:transform .1s ease-in,opacity .15s ease-in;transition:transform .1s ease-in,opacity .15s ease-in,-webkit-transform .1s ease-in}.tox .tox-notification,.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{-webkit-transition:width .1s ease;transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tox .tox-pop--transition{-webkit-transition:.15s ease;transition:.15s ease;-webkit-transition-property:left,right,top,bottom;transition-property:left,right,top,bottom}.tox .tox-pop--transition:after,.tox .tox-pop--transition:before{-webkit-transition:all .15s,visibility 0s,opacity 75ms ease 75ms;transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;-webkit-box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop:after,.tox .tox-pop:before{border-style:solid;content:"";display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset:after,.tox .tox-pop.tox-pop--inset:before{opacity:0;-webkit-transition:all 0s .15s,visibility 0s,opacity 75ms ease;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom:after,.tox .tox-pop.tox-pop--bottom:before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom:after{border-color:#fff transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom:before{border-color:#eee transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top:after,.tox .tox-pop.tox-pop--top:before{left:50%;top:0;-webkit-transform:translateY(-100%);transform:translateY(-100%)}.tox .tox-pop.tox-pop--top:after{border-color:transparent transparent #fff;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top:before{border-color:transparent transparent #eee;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left:after,.tox .tox-pop.tox-pop--left:before{left:0;top:calc(50% - 1px);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left:after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left:before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right:after,.tox .tox-pop.tox-pop--right:before{left:100%;top:calc(50% + 1px);-webkit-transform:translateY(-50%);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right:after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right:before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left:after,.tox .tox-pop.tox-pop--align-left:before{left:20px}.tox .tox-pop.tox-pop--align-right:after,.tox .tox-pop.tox-pop--align-right:before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-height:0}.tox .tox-sidebar,.tox .tox-sidebar-wrap{-webkit-box-orient:horizontal;-webkit-box-direction:normal;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}.tox .tox-sidebar{-webkit-box-pack:end;-ms-flex-pack:end;background-color:#fff;justify-content:flex-end}.tox .tox-sidebar__slider{overflow:hidden}.tox .tox-sidebar__pane,.tox .tox-sidebar__pane-container,.tox .tox-sidebar__slider{display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{-webkit-transition:width .5s ease,opacity .5s ease;transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border:1px solid #4099ff;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-flex:1;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;-webkit-box-shadow:none;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){-webkit-margin-start:8px;margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider,.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{-webkit-margin-start:32px;margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:-webkit-box;display:-ms-flexbox;display:flex}.tox .tox-spinner>div{-webkit-animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:first-child{-webkit-animation-delay:-.32s;animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes tam-bouncing-dots{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes tam-bouncing-dots{0%,80%,to{-webkit-transform:scale(0);transform:scale(0)}40%{-webkit-transform:scale(1);transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-flex:0;align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__text-container{-webkit-box-pack:end;-ms-flex-pack:end;-ms-flex:1 1 auto;flex:1 1 auto;justify-content:flex-end}.tox .tox-statusbar__path,.tox .tox-statusbar__text-container{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;overflow:hidden}.tox .tox-statusbar__path{-ms-flex:1 1 auto;flex:1 1 auto;margin-right:auto;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{-webkit-box-align:end;-ms-flex-align:end;-ms-flex-item-align:stretch;-webkit-box-flex:0;-webkit-box-pack:end;-ms-flex-pack:end;align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{fill:rgba(34,47,62,.5);display:block}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px 5px 1px;-webkit-box-shadow:0 0 0 2px #dee0e2;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{-ms-flex-pack:center;background-color:hsla(0,0%,100%,.6);bottom:0;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn,.tox .tox-throbber__busy-spinner{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center}.tox .tox-tbtn{-webkit-box-flex:0;-ms-flex-pack:center;background:0 0;border:0;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;color:#222f3e;-ms-flex:0 0 auto;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{fill:#222f3e;display:block}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus,.tox .tox-tbtn:hover{background:#cce2fa;border:0;-webkit-box-shadow:none;box-shadow:none}.tox .tox-tbtn:hover{color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;-webkit-box-shadow:none;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{-webkit-transform:none;transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{-webkit-transform:none;transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{-ms-flex-item-align:stretch;align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{-webkit-box-align:center;-ms-flex-align:center;-webkit-box-pack:center;-ms-flex-pack:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{-webkit-margin-start:4px;margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{-webkit-box-shadow:inset 0 0 0 1px #cce2fa;box-shadow:inset 0 0 0 1px #cce2fa}.tox .tox-split-button:focus{background:#cce2fa;-webkit-box-shadow:none;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;-webkit-box-shadow:none;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{-webkit-box-flex:0;-ms-flex-negative:0;background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 22px) calc(100% - 41px);display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:0 0 auto;flex:0 0 auto;flex-shrink:0;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:0;-webkit-transform:perspective(1px);transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 22px) 100%}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{-webkit-transition:height .3s ease,opacity .2s linear .1s;transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{-webkit-transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s;transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{-ms-flex-wrap:nowrap;flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 16px) calc(100% - 51px);border:none;border-radius:6px;-webkit-box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 22px) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{-ms-flex-negative:0;flex-shrink:0;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;-webkit-box-shadow:0 2px 4px rgba(34,47,62,.3);box-shadow:0 2px 4px rgba(34,47,62,.3);color:hsla(0,0%,100%,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-top:8px solid #222f3e;bottom:0}.tox .tox-tooltip--down .tox-tooltip__arrow,.tox .tox-tooltip--up .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;top:0}.tox .tox-tooltip--right .tox-tooltip__arrow{border-left:8px solid #222f3e;right:0}.tox .tox-tooltip--left .tox-tooltip__arrow,.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-top:8px solid transparent;position:absolute;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-right:8px solid #222f3e;left:0}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{-webkit-box-flex:1;border:1px solid #eee;border-radius:6px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;position:relative}.tox .tox-dialog-loading:before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__body-content .tox-collection,.tox .tox-dialog__content-js{-webkit-box-flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1}',"",{version:3,sources:["webpack://./node_modules/tinymce/skins/ui/oxide/skin.min.css"],names:[],mappings:"AAAA,KAAkQ,uCAAuC,CAApS,uBAAe,CAAf,eAAe,CAAC,8BAAsB,CAAtB,sBAAsB,CAAC,aAAa,CAAC,WAAW,CAAC,mHAAuH,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,kBAAkB,CAAyC,oBAAoB,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,yBAA4L,mCAAmC,CAA2J,cAAc,CAAC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAxY,0BAAkB,CAAlB,kBAAkB,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAwU,UAAU,CAAjV,mBAAmB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,mBAAmB,CAAsQ,WAAW,CAAhR,mBAAmB,CAA8P,QAAQ,CAAC,cAAc,CAAC,SAAS,CAAC,SAAS,CAAC,eAAe,CAApR,kBAAkB,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,mBAAkB,CAAsJ,UAArJ,CAAgK,oBAAoB,aAAa,CAAC,eAAe,CAAC,cAAc,aAAa,CAAC,gBAAgB,CAAC,aAAyG,2BAAqB,CAArB,4BAAqB,CAAjH,qBAAqB,CAAC,kBAAkB,CAAiB,6BAAqB,CAArB,qBAAqB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,mHAAuH,CAAC,eAAe,CAAC,iBAAiB,CAAC,4BAA4B,CAAC,qCAAhQ,uBAAe,CAAf,eAAoU,CAApE,wBAAwB,WAAW,CAAiB,gBAAgB,CAAC,8CAA8C,gBAAgB,CAAC,2CAA2C,qBAAqB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,uBAAe,CAAf,eAAe,CAAC,eAAe,CAAC,iBAAiB,mHAAuH,CAAC,YAAY,CAAC,4CAA4C,SAAS,CAAC,yBAAyB,QAAQ,CAAC,kCAAkC,iCAAwB,CAAxB,yBAAyB,CAAC,kCAAkC,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAiB,CAAC,uCAAuC,yBAAmB,CAAnB,sBAAmB,CAAsD,wBAA4B,CAA5B,qBAA4B,CAArG,mBAAmB,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,6BAA6B,CAAC,2CAA2C,kBAAkB,CAAC,+CAA+C,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAiB,CAAC,oEAAoE,iBAAiB,CAAC,kBAAkB,CAAC,kCAAkC,eAAe,CAAC,4FAA4F,mCAAmC,CAAC,oBAAoB,CAAC,aAAa,CAAC,wGAAwG,oBAAoB,CAAC,8EAA8E,aAAa,CAAC,wEAAwE,YAAY,CAAC,sEAAsE,aAAa,CAAC,4FAA4F,mCAAmC,CAAC,+BAA+B,CAAC,aAAa,CAAC,wGAAwG,+BAA+B,CAAC,8EAA8E,aAAa,CAAC,wEAAwE,YAAY,CAAC,sEAAsE,aAAa,CAAC,6FAA6F,iCAAiC,CAAC,6BAA6B,CAAC,aAAa,CAAC,yGAAyG,6BAA6B,CAAC,+EAA+E,UAAU,CAAC,yEAAyE,SAAS,CAAC,uEAAuE,UAAU,CAAC,+FAA+F,oCAAoC,CAAC,gCAAgC,CAAC,aAAa,CAAC,2GAA2G,gCAAgC,CAAC,iFAAiF,aAAa,CAAC,2EAA2E,YAAY,CAAC,yEAAyE,aAAa,CAAC,oJAAoJ,YAAY,CAAC,uFAAuF,eAAe,CAAC,8FAA8F,gBAAgB,CAAC,gFAAgF,uBAAuB,CAAC,4FAA4F,qBAAqB,CAAC,gBAAgB,CAAC,iFAAiF,gBAAgB,CAAC,wFAAwF,iBAAiB,CAAC,0EAA0E,uBAAuB,CAAC,sFAAsF,sBAAsB,CAAC,iBAAiB,CAAgD,kCAA2B,kBAAY,CAAzB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAY,CAAZ,aAAa,CAAC,iBAAiB,wBAAwB,CAAC,qBAAqB,CAAC,uBAAuB,CAAC,wBAAwB,CAA2D,wBAAgB,CAArD,iBAAiB,CAAqC,uBAAe,CAAf,eAAe,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,UAAU,CAAC,cAAc,CAAC,oBAAoB,CAAC,mHAAuH,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,wBAAyB,iBAAiB,CAAC,WAAW,CAAC,uFAA+E,CAA/E,+EAA+E,CAAC,UAAU,CAAC,SAAS,CAAC,SAAS,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,UAAU,CAAC,QAAQ,CAAC,2BAA2B,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAe,CAAf,eAAe,CAAC,wBAA0B,CAAC,kBAAkB,CAAC,sCAAsC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAe,CAAf,eAAe,CAAC,UAAU,CAAC,qDAAsD,SAAS,CAAC,sCAAsC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAe,CAAf,eAAe,CAAC,UAAU,CAAC,uCAAuC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAe,CAAf,eAAe,CAAC,UAAU,CAAC,4BAA2E,uBAAuB,CAAC,wBAAwB,CAA2D,wBAAgB,CAArD,iBAAiB,CAAqD,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,qBAAqB,CAAC,SAAS,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,kEAApV,wBAAwB,CAAC,qBAAqB,CAA6H,uBAAe,CAAf,eAA0T,CAAjJ,sCAAqF,oBAAoB,CAAiB,uBAAuB,CAAoJ,kGAAiD,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,kDAAkD,wBAAwB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,iHAAiH,WAAW,CAAC,2JAAyK,iBAAgB,CAA9B,aAA+B,CAAC,sBAAsB,YAAY,CAAC,WAAW,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,cAAc,CAAC,oBAAoB,CAAC,mHAAuH,CAAC,cAAc,CAAC,eAAe,CAAC,eAAe,CAAC,QAAQ,CAAC,SAAS,CAAC,kBAAkB,CAAC,0BAA0B,cAAc,CAAC,wBAAwB,4BAA4B,CAAC,wBAAwB,CAAC,wBAAgB,CAAhB,gBAAgB,CAAC,aAAa,CAAC,kCAAgH,uBAAuB,CAAC,+EAAtG,mCAAmC,CAAC,wBAAwB,CAAC,wBAAgB,CAAhB,gBAAiL,CAAxI,6CAA2H,aAAa,CAAC,6CAA6C,mCAAmC,CAAC,wBAAwB,CAAC,wBAAgB,CAAhB,gBAAgB,CAAC,aAAa,CAAC,8CAA8C,mCAAmC,CAAC,wBAAwB,CAAC,wBAAgB,CAAhB,gBAAgB,CAAC,aAAa,CAAC,sCAAsC,iBAAiB,CAAC,8DAA8D,aAAa,CAAC,mBAAmB,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,iBAAiB,CAAC,cAAc,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,WAAW,CAAC,cAAc,CAAC,0BAA0B,UAAU,CAAC,eAAe,CAAC,iBAAiB,CAAC,QAAQ,CAAC,SAAS,CAAC,0BAA0B,wBAAkB,CAAlB,qBAAkB,CAAoG,uBAAsB,CAAtB,oBAAsB,CAA5I,kBAAkB,CAAC,iBAAiB,CAAC,wCAAgC,CAAhC,gCAAgC,CAAC,8BAAsB,CAAtB,sBAAsB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,WAAW,CAAC,sBAAsB,CAAC,WAAuB,CAAC,UAAU,CAAC,4DAA0E,sBAAqB,CAAnC,aAAoC,CAA2F,0HAAuE,YAAW,CAAxB,YAAyB,CAAC,6BAA6B,uBAAuB,CAAC,kBAAkB,CAAqN,8PAAwF,sBAAsB,CAAC,8FAA8F,YAAY,CAAC,4FAA4F,aAAa,CAAC,oGAAoG,YAAY,CAAC,wGAAwG,aAAa,CAAC,0DAA0D,iBAAiB,CAAC,0CAAkC,CAAlC,kCAAkC,CAAC,WAAuB,CAAC,yCAAyC,eAAe,CAAC,yCAAyC,aAAa,CAAC,2CAA2C,eAAe,CAAC,mCAAmC,gBAAgB,CAAC,mCAAmC,cAAc,CAAC,qCAAqC,gBAAgB,CAA6E,uGAAvB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,SAAoJ,CAA1I,kDAA+D,kBAAc,CAAd,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,eAAyB,CAAC,kDAAyJ,oBAAoB,CAApB,oBAAoB,CAAC,aAAa,CAAC,8DAA8D,kBAAkB,CAAC,oCAAoC,wBAAwB,CAAC,uBAAuB,CAAC,cAAc,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,mBAA8G,CAAC,+DAA3F,0BAA0B,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,oBAAe,CAAf,gBAAsM,CAArL,2BAA2B,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,iBAAiB,CAAC,aAAa,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAuG,CAAC,iDAAiD,eAAe,CAAmF,qGAAiD,iBAAiB,CAAC,WAAW,CAAC,0DAA0D,qBAAqB,CAAC,aAAa,CAAC,yDAAyD,wBAAwB,CAAC,6DAA6D,wBAAwB,CAAC,aAAa,CAAC,4DAA4D,wBAAwB,CAAC,0DAA0D,wBAAwB,CAAC,aAAa,CAAC,oGAAoG,wBAAwB,CAAC,aAAa,CAAmH,2MAAuG,aAAa,CAAC,qEAAqE,wBAAkB,CAAlB,qBAAkB,CAA0B,uBAAsB,CAAtB,oBAAsB,CAAlE,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,WAAW,CAAC,sBAAsB,CAAC,UAAU,CAAC,6EAA6E,iBAAiB,CAAC,4DAA4D,WAAW,CAAC,UAAU,CAAC,iCAAyE,kBAAM,CAA9C,kBAAkB,CAAsB,UAAM,CAAN,MAAM,CAAgB,iBAAiB,CAAC,eAAe,CAAsC,oBAAoB,CAAC,sEAAvI,oBAAoB,CAAQ,cAAc,CAAmC,gBAAgB,CAAC,mBAA0L,CAAjJ,qCAAqC,uBAAuB,CAAqC,WAAgD,CAAC,iCAAiC,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,eAAe,CAAC,uCAAwC,UAAU,CAAC,WAAW,CAAC,kBAAkB,CAAC,qCAAqC,YAAY,CAAC,2CAA2C,4BAA4B,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,2EAA2E,sBAAsB,CAAuI,8QAAqJ,YAAY,CAAC,iCAAqL,kBAAa,CAAC,mBAAa,CAA/K,qBAAqB,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,6EAAqE,CAArE,qEAAqE,CAAc,iBAAa,CAAb,aAAa,CAAC,aAAa,CAAkB,eAAe,CAAC,eAAe,CAAC,SAAS,CAAC,yFAApG,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAA6B,oBAAgB,CAAhB,gBAA0L,CAA/H,wDAAwD,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAA+B,QAAQ,CAAC,aAAa,CAAC,uDAAuD,WAAW,CAAC,oBAAoB,CAAC,aAAa,CAAC,6DAA6D,kBAAkB,CAAC,6DAA6D,eAAe,CAAC,qCAAqC,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,0CAA0C,wBAAkB,CAAlB,qBAAkB,CAAC,kBAAa,CAAC,6BAAiB,CAAjB,4BAAiB,CAAlD,kBAAkB,CAAC,iBAAa,CAAb,aAAa,CAAC,sBAAiB,CAAjB,kBAAkB,CAAC,qFAAqF,iBAAiB,CAAC,sFAAsF,oBAAwB,CAAxB,iBAAwB,CAAxB,wBAAwB,CAAC,gBAAgB,CAAC,qFAAqF,uBAAsB,CAAtB,oBAAsB,CAAtB,sBAAsB,CAAC,kBAAkB,CAAC,wFAAwF,wBAAiB,CAAjB,qBAAiB,CAAjB,kBAAkB,CAAC,wFAAwF,qBAAoB,CAApB,kBAAoB,CAApB,oBAAoB,CAAC,eAAe,CAAC,6CAA6C,0BAAiB,CAAC,kBAAa,CAAC,2BAAoB,CAApB,4BAAoB,CAApD,iBAAiB,CAAC,iBAAa,CAAb,aAAa,CAAC,yBAAoB,CAApB,qBAAqB,CAAC,wFAAwF,uBAAqB,CAArB,oBAAqB,CAArB,sBAAsB,CAAC,yFAAyF,qBAAmB,CAAnB,kBAAmB,CAAnB,oBAAoB,CAAC,wFAAwF,yBAAoB,CAApB,qBAAqB,CAAC,2FAA2F,0BAAgB,CAAhB,iBAAiB,CAAC,2FAA2F,uBAAkB,CAAlB,mBAAmB,CAAC,0FAA0F,kCAAkC,CAAC,mFAAmF,eAAe,CAAC,wGAAwG,eAAe,CAAC,oDAAoD,gBAAgB,CAAC,gBAAgB,CAAC,gEAAgE,gBAAgB,CAAC,oFAAoF,iCAAiC,CAAC,6EAA6E,gBAAgB,CAAC,kGAAkG,gBAAgB,CAAC,8CAA8C,iBAAiB,CAAC,eAAe,CAAC,0DAA0D,iBAAiB,CAAC,iCAAwB,CAAxB,yBAAyB,CAAC,sEAAsE,gBAAgB,CAAC,iCAA8C,6BAAkB,CAAlB,4BAAkB,CAA/B,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAkB,CAAlB,kBAAkB,CAAC,YAAY,CAAC,QAAQ,CAAC,qBAAqB,6BAAqB,CAArB,qBAAqB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,WAAW,CAAC,8BAA8B,WAAW,CAAC,mDAAmD,WAAW,CAAC,2BAA2B,cAAc,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,8BAAsB,CAAtB,sBAAsB,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,iCAAiC,qBAAqB,CAAC,iBAAiB,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,qBAAqB,6BAAqB,CAArB,qBAAqB,CAAC,WAAW,CAAC,UAAU,CAAC,8BAA8B,uRAAsH,CAAtH,mHAAsH,CAAC,WAAW,CAAC,UAAU,CAAC,mDAAmD,UAAU,CAAC,2BAA2B,eAAe,CAAC,qBAAqB,CAAC,8BAAsB,CAAtB,sBAAsB,CAAC,UAAU,CAAC,UAAU,CAAC,mBAAgC,2BAAqB,CAArB,4BAAqB,CAArB,yBAAqB,CAArB,qBAAmD,CAAC,0CAA9B,wBAA4B,CAA5B,qBAA4B,CAA/D,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAuB,6BAAkJ,CAApH,uBAAuB,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAA4C,iBAAiB,CAAC,aAAa,CAAC,yBAAyB,SAAS,CAAC,qCAAqC,8BAA8B,CAAC,qCAA2D,kBAAW,CAAX,mBAAW,CAAjC,qBAAqB,CAAC,WAAW,CAAC,eAAe,CAAuD,wEAAoC,iBAAiB,CAAC,0CAA0C,gBAAgB,CAAC,wCAAwC,iBAAiB,CAAgD,4DAA8B,gBAAgB,CAAC,oCAAoC,iBAAiB,CAAC,kCAAkC,gBAAgB,CAAC,mHAAmH,qBAAqB,CAAC,qEAAqE,QAAQ,CAAC,WAAgB,CAAC,wBAAwB,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,iBAAiB,WAAW,CAAC,iEAAyC,CAAzC,yDAAyC,CAAzC,yCAAyC,CAAzC,wFAAyC,CAAC,UAAU,CAAC,8CAA8C,oDAA+C,CAA/C,4CAA+C,CAAC,2BAAkB,CAAlB,mBAAmB,CAAC,yBAAyB,wBAAkB,CAAlB,qBAAkB,CAAc,uBAAqB,CAArB,oBAAqB,CAArD,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAsB,CAAC,kCAAkC,cAAc,CAAC,+BAA+B,wBAAkB,CAAlB,qBAAkB,CAA+E,uBAAsB,CAAtB,oBAAsB,CAAvH,kBAAkB,CAAC,4BAA4B,CAAC,QAAQ,CAAC,cAAc,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,WAAW,CAAC,sBAAsB,CAAC,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,mCAAmC,YAAY,CAAC,WAAW,CAAC,UAAU,CAAC,qCAAqC,kBAAkB,CAAC,8CAA8C,gBAAgB,CAAC,wCAAwC,iBAAiB,CAAC,yBAAyB,eAAe,CAAC,iBAAiB,CAAC,4CAA4C,cAAc,CAAC,kBAAkB,eAAe,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,gDAAwC,CAAxC,wCAAwC,CAAC,oBAAwB,CAAC,iBAAiB,CAAC,0BAA0B,wBAAkB,CAAlB,qBAAkB,CAA4B,wBAA4B,CAA5B,qBAA4B,CAA1E,kBAAkB,CAAC,aAAa,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,6BAA6B,CAAC,wBAAwB,aAAa,CAAC,cAAc,CAAC,gBAAgB,CAAC,wBAAwB,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,cAAc,CAAC,iBAAiB,CAAC,mBAAsB,CAAC,iCAAiC,WAAW,CAAC,kBAAkB,CAAC,UAAU,CAAC,4BAA4B,eAAe,CAAC,8BAA8B,uBAAuB,CAAC,cAAc,CAAC,iBAAiB,CAAC,0BAA0B,QAAQ,CAAC,iCAAiC,gBAAgB,CAAC,iBAAiB,CAAC,wCAAyC,eAAe,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,yBAAsC,mBAAa,CAAgB,oBAAwB,CAAxB,iBAAwB,CAAlE,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,aAAa,CAAC,kBAAc,CAAd,cAAc,CAAC,wBAAwB,CAAC,cAAc,CAAC,sCAAsC,iBAAiB,CAAC,UAAU,CAAC,wBAAoD,oBAAwB,CAAxB,iBAAwB,CAApD,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,kBAAc,CAAd,cAAc,CAAC,wBAAwB,CAAC,eAAe,CAAC,kCAAmC,yFAAoD,CAApD,kDAAoD,CAAC,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,UAAU,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,UAAU,CAAC,2BAAuF,kBAAW,CAAX,mBAAW,CAAvE,eAAe,CAAC,QAAQ,CAAoC,WAAW,CAAC,MAAM,CAAC,UAAU,CAAC,iBAAiB,CAAC,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,SAAS,CAAC,2DAAhH,2BAAqB,CAArB,4BAAqB,CAAlC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,yBAAqB,CAArB,qBAAqO,CAArH,gCAAgC,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,aAAa,CAAoC,iBAAiB,CAAC,oCAAoC,mBAAmB,CAAC,+BAAwC,2BAAqB,CAArB,4BAAqB,CAA9B,QAAQ,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,cAAc,CAAC,MAAM,CAAC,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,iCAAiC,qBAAqB,CAAC,mCAA2B,CAA3B,2BAA2B,CAAC,aAAa,CAAC,iBAAiB,CAAC,kDAAkD,cAAc,CAAC,gCAAgC,wBAAkB,CAAlB,qBAAkB,CAA6C,uBAAsB,CAAtB,oBAAsB,CAArF,kBAAkB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAsB,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,0BAAuC,2BAAqB,CAArB,4BAAqB,CAAC,mBAAa,CAAhD,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,aAAa,CAAC,aAAa,CAAC,wBAAwB,UAAU,CAAwD,0MAAmK,eAAe,CAAmD,kLAAiJ,gBAAgB,CAAC,eAAe,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,2BAA2B,sBAAsB,CAAC,2BAA2B,iBAAiB,CAAC,WAAW,CAAC,mBAAgB,CAAhB,gBAAgB,CAAC,qBAAqB,CAAC,UAAU,CAAC,qBAAqB,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,oFAAoF,gBAAgB,CAAuE,8HAAwE,eAAe,CAAC,gDAAgD,gBAAgB,CAAC,sBAAsB,wBAAkB,CAAlB,qBAAkB,CAAuB,uBAAsB,CAAtB,oBAAsB,CAA/D,kBAAkB,CAAC,QAAQ,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAsB,CAAC,MAAM,CAAC,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,gCAAgC,oCAAsC,CAAC,QAAQ,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAA+D,yDAAtB,qBAA6U,CAAvT,iBAA2M,2BAAqB,CAArB,4BAAqB,CAAjI,mBAAc,CAApD,kBAAkB,CAAmC,uFAA+E,CAA/E,+EAA+E,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,eAAe,CAAC,eAAe,CAAC,eAAe,CAAC,iBAAiB,CAAC,UAAU,CAAC,SAAS,CAAC,yCAAyC,8CAA8C,yBAAqB,CAArB,qBAAqB,CAAC,eAAe,CAAC,6BAAgC,CAAC,wBAAwB,CAAC,CAAC,wBAAwB,YAAY,CAAC,yBAAyB,wBAAkB,CAAlB,qBAAkB,CAAoF,wBAA6B,CAA7B,qBAA6B,CAAnI,kBAAkB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,aAAa,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,cAAc,CAAC,6BAA6B,CAAC,kBAAuB,CAAC,iBAAiB,CAAC,qCAAqC,SAAS,CAAC,6BAA6B,mBAAW,CAAX,WAAW,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,oCAAoC,uBAAc,CAAd,eAAe,CAAC,0BAA0B,gBAAgB,CAAC,wBAAwB,mHAAuH,CAAC,cAAc,CAAmD,QAA4B,CAAC,+CAA/E,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAU,mBAA6L,CAAzK,uBAAkD,kBAAM,CAAjC,aAAa,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,cAAc,CAAmD,WAAW,CAAC,eAAmC,CAAC,yCAAyC,oDAAoD,2BAAoB,CAApB,4BAAoB,CAApB,yBAAoB,CAApB,qBAAqB,CAAC,CAAC,2BAA2B,uBAAsB,CAAtB,oBAAsB,CAAc,2BAAqB,CAArB,4BAAqB,CAAzD,sBAAsB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,YAAiB,CAAC,yCAAyC,wDAAwD,6BAAkB,CAAlB,4BAAkB,CAAC,gCAAgC,CAAnD,sBAAkB,CAAlB,kBAAkB,CAAkC,eAAe,CAAC,gBAAgB,CAAC,CAAC,gCAAgC,mCAAmC,CAAC,uBAAuB,CAAC,oBAAoB,CAAC,cAAc,CAAC,eAAe,CAAC,iBAAiB,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,sCAAsC,mCAAmC,CAAC,wCAAwC,+BAA+B,CAAC,aAAa,CAAC,+BAAkE,kBAAM,CAAC,2BAAqB,CAArB,4BAAqB,CAAgC,gCAAgC,CAA/H,6BAAqB,CAArB,qBAAqB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,gBAAgB,CAAC,aAAa,CAAkC,YAAiB,CAAC,iCAAiC,eAAe,CAAC,eAAe,CAAC,4CAA4C,YAAY,CAAC,2CAA2C,eAAe,CAAC,2CAA2C,eAAe,CAAC,YAAY,CAAC,iCAAiC,aAAa,CAAC,cAAc,CAAC,oBAAoB,CAAkH,sHAAnC,aAAa,CAAC,oBAA+F,CAAC,mCAAmC,YAAY,CAAC,kCAAwF,oBAAmB,CAAC,sBAAqB,CAAC,4BAA0B,CAA1H,aAAa,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,2BAA2B,CAAC,mDAAiE,cAA6H,CAAC,sGAA5I,aAAa,CAAgB,iBAAiB,CAAC,eAAe,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,eAAe,CAAC,mBAAkN,CAA9L,mDAAiE,cAA6H,CAAC,kDAAkD,kBAAkB,CAAC,4LAA4L,YAAY,CAAC,yLAAyL,eAAe,CAAC,yLAAyL,eAAe,CAAC,YAAY,CAAC,2BAA2B,YAAY,CAAC,gBAAgB,CAAC,2BAA2B,eAAe,CAAC,qDAAqD,aAAa,CAAC,yCAAyC,iBAAiB,CAAC,yBAAyB,wBAAkB,CAAlB,qBAAkB,CAAoD,wBAA6B,CAA7B,qBAA6B,CAAnG,kBAAkB,CAAC,qBAAqB,CAAC,eAAe,CAAc,6BAA6B,CAAC,gBAAgB,CAA0E,oHAArI,mBAAY,CAAZ,mBAAY,CAAZ,YAA2T,CAAtL,+BAA+B,wBAAkB,CAAlB,qBAAkB,CAA8D,uBAAsB,CAAtB,oBAAsB,CAAtG,kBAAkB,CAAC,oCAAsC,CAAC,QAAQ,CAAc,sBAAsB,CAAC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,SAAS,CAAC,wBAAwB,wBAAwB,CAAC,UAAU,CAAC,iCAAiC,eAAe,CAAC,kBAAkB,CAAC,iCAAiC,4BAA4B,CAAC,4CAA4C,kBAAkB,CAAC,2BAA2B,kBAAkB,CAAC,eAAe,CAAC,oDAAoD,eAAe,CAAC,yBAAyB,iBAAiB,CAAC,UAAU,CAAC,YAAY,CAAC,8BAA2C,kBAAM,CAAC,2BAAoB,CAApB,4BAAoB,CAAxC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,yBAAoB,CAApB,qBAAqB,CAAC,0CAAuD,kBAAK,CAAlB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAK,CAAL,MAAM,CAAC,wDAAwD,kBAAM,CAAN,UAAM,CAAN,MAAM,CAAC,WAAW,CAAC,8BAA8B,SAAS,CAAC,iBAAiB,CAAC,6BAA6B,SAAS,CAAC,kBAAkB,CAAC,iCAAiC,4DAAmD,CAAnD,oDAAoD,CAAC,wDAAwD,2BAAkB,CAAlB,mBAAmB,CAAC,yCAAyC,uEAAuE,cAAc,CAA2C,8FAA8F,eAAe,CAAvJ,CAAyJ,sIAAsI,eAAe,CAAC,gCAAgC,gBAAgB,CAAC,yCAAyC,iEAAiE,aAAa,CAA2C,wFAAwF,gBAAgB,CAAlJ,CAAoJ,0HAA0H,gBAAgB,CAAC,gCAAgC,eAAe,CAAC,6BAA0C,UAAK,CAAL,MAAM,CAAC,gDAAP,kBAAK,CAAlB,mBAAY,CAAZ,mBAAY,CAAZ,YAA0N,CAAtM,mBAAmB,wBAAkB,CAAlB,qBAAkB,CAA2E,2BAAqB,CAArB,4BAAqB,CAAC,mBAAW,CAAC,uBAAsB,CAAtB,oBAAsB,CAArJ,kBAAkB,CAAC,eAAe,CAAC,sBAAsB,CAAC,6BAAqB,CAArB,qBAAqB,CAAc,yBAAqB,CAArB,qBAAqB,CAAC,WAAW,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,YAAY,CAAC,qBAAqB,uBAAuB,CAAC,eAAiB,CAAC,oBAAiC,kBAAM,CAAnB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,eAAe,CAAC,iBAAiB,CAAC,4BAAiF,kBAAM,CAA3D,qBAAqB,CAAC,QAAQ,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,UAAM,CAAN,MAAM,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,0BAA0B,sBAAsB,CAAC,2BAAwC,kBAAa,CAAC,2BAAqB,CAArB,4BAAqB,CAAhD,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAa,CAAb,aAAa,CAAC,yBAAqB,CAArB,qBAAqB,CAAC,eAAe,CAAC,wBAAwB,YAAY,CAAC,6CAAqC,CAArC,qCAAqC,CAAC,SAAS,CAAC,iDAAiD,qBAAqB,CAAC,kBAAkB,CAAC,qFAA6E,CAA7E,6EAA6E,CAAC,aAAa,CAAC,yCAAwB,CAAxB,iCAAwB,CAAxB,yBAAwB,CAAxB,gDAAyB,CAAC,6EAA6E,4BAA4B,CAAC,uBAAc,CAAd,eAAe,CAAC,gFAAgF,qBAAqB,CAA+E,aAAa,CAAC,4LAA5F,qFAA6E,CAA7E,6EAAqR,CAAC,yBAAyB,SAAS,CAAC,iBAAiB,CAAC,wBAAwB,SAAS,CAAC,kBAAkB,CAAC,4BAA4B,8DAAqD,CAArD,sDAAsD,CAAC,mDAAmD,2BAAkB,CAAlB,mBAAmB,CAAC,uBAAuB,kBAAM,CAAN,UAAM,CAAN,MAAM,CAAC,iBAAiB,CAAC,2SAA2S,YAAY,CAAC,2BAA2B,aAAa,CAAC,yCAAyC,iBAAiB,CAAC,OAAO,CAAC,kCAAyB,CAAzB,0BAA0B,CAAC,gDAAgD,SAAS,CAAC,gDAAgD,WAAW,CAAC,8CAA8C,UAAU,CAAC,6MAA6M,kBAAkB,CAAC,wDAAwD,SAAS,CAAC,2LAA2L,iBAAiB,CAAC,kDAAkD,QAAQ,CAAC,wBAAwB,cAAc,CAAC,kCAAkC,6BAAqB,CAArB,qBAAqB,CAAC,cAAc,CAAC,qDAAqD,eAAe,CAAC,sBAAsB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAiB,CAAC,SAAS,CAAC,qCAAqC,UAAU,CAAC,2BAA+F,kCAAgB,CAArD,iBAAiB,CAAqC,uBAAe,CAAf,eAAe,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,WAAW,CAAC,iBAAiB,CAAC,OAAO,CAAC,UAAU,CAAC,sHAAsH,oBAAoB,CAAC,cAAc,CAAC,kCAAmC,sPAA8P,CAAC,6CAA6C,CAAC,yBAAyB,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,iBAAiB,CAAC,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,+CAA+C,kBAAkB,CAAC,oDAAoD,iBAAiB,CAAC,0CAA0C,QAAQ,CAAC,8CAA8C,kBAAkB,CAAC,oCAAoC,SAAS,CAAC,wCAAwC,uBAAuB,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,wBAAwB,aAAa,CAAC,yBAAyB,iBAAiB,CAAC,eAA4B,kBAAM,CAAC,2BAAoB,CAApB,4BAAoB,CAAxC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,yBAAoB,CAApB,qBAAqB,CAAC,sBAAsB,6BAAqB,CAArB,qBAAqB,CAAC,iBAAiB,CAAC,+BAA+B,kBAAK,CAAL,UAAK,CAAL,MAAM,CAAC,6BAA6B,UAAU,CAAgD,uDAAb,mBAAW,CAAX,mBAAW,CAAX,YAA8G,CAAjG,qBAAkC,6BAAkB,CAAlB,4BAAkB,CAAgB,wBAA4B,CAA5B,qBAA4B,CAA9D,sBAAkB,CAAlB,kBAAkB,CAAC,kBAAc,CAAd,cAAc,CAAC,6BAA6B,CAAC,4CAA4C,qBAA2B,CAAC,4CAA4C,2BAAgC,CAAC,4CAA4C,qBAA2B,CAAkE,+DAA8B,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,iCAA8C,kBAAM,CAAC,2BAAoB,CAApB,4BAAoB,CAAxC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,yBAAoB,CAApB,qBAAqB,CAAC,+CAA+C,kBAAK,CAAL,UAAK,CAAL,MAAM,CAAC,6CAA0D,kBAAK,CAAlB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAK,CAAL,MAAM,CAAC,2DAA2D,kBAAM,CAAN,UAAM,CAAN,MAAM,CAAC,WAAW,CAAC,mEAAmE,eAAe,CAAC,6DAA6D,gBAAgB,CAAC,sGAAsG,YAAY,CAAC,+GAA+G,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,qBAAqB,CAAwD,qBAAgB,CAArD,iBAAiB,CAAqC,uBAAe,CAAf,eAAe,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,aAAa,CAAC,mHAAuH,CAAC,cAAc,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,2DAA2D,wBAAwB,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,qGAAqG,qBAAqB,CAAC,oBAAoB,CAAC,gDAAwC,CAAxC,wCAAwC,CAAC,SAAS,CAAC,4BAA4B,cAAc,CAAC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,oBAAoB,4BAA4B,CAAC,QAAQ,CAAC,wBAAwB,CAAC,wBAAgB,CAAhB,gBAAgB,CAAC,aAAa,CAAC,cAAc,CAAC,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC,wBAAsC,YAAW,CAAzB,aAA0B,CAAC,6CAA6C,eAAe,CAAC,uCAAuC,gBAAgB,CAAC,uBAAuB,cAAc,CAAC,iBAAiB,CAAC,sDAAsD,wBAAwB,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,gCAA+C,kBAAM,CAArB,cAAc,CAAC,UAAM,CAAN,MAAM,CAAC,YAAY,CAAC,kCAAkC,wBAAkB,CAAlB,qBAAkB,CAAc,uBAAsB,CAAtB,oBAAsB,CAAtD,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAsB,CAAC,UAAU,CAAC,sCAAsC,YAAY,CAAC,4CAA4C,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,0CAA0C,SAAS,CAAC,oCAAoC,QAAQ,CAAC,sBAAsB,cAAc,CAAC,iBAAiB,CAAC,6BAA6B,uBAAuB,CAAC,oBAAoB,CAAC,eAAe,CAAC,qBAAqB,CAAwD,qBAAgB,CAArD,iBAAiB,CAAqC,uBAAe,CAAf,eAAe,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,aAAa,CAAC,mHAAuH,CAAC,cAAc,CAAC,gBAAgB,CAAC,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,uCAAuC,wBAAwB,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,yCAAyC,YAAY,CAAC,mCAAmC,qBAAqB,CAAC,oBAAoB,CAAC,gDAAwC,CAAxC,wCAAwC,CAAC,SAAS,CAAC,0BAA0B,mBAAmB,CAAC,iBAAiB,CAAC,OAAO,CAAC,kCAAyB,CAAzB,0BAA0B,CAAC,4GAA4G,kBAAkB,CAAC,yCAAyC,SAAS,CAAC,gGAAgG,iBAAiB,CAAC,mCAAmC,QAAQ,CAAC,mBAAmB,2BAA2B,CAAC,wBAAwB,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,gBAA8D,wBAAwB,CAAtE,QAAQ,CAAC,WAAW,CAAC,QAAQ,CAAC,eAAe,CAAC,wBAAwB,CAAC,SAAS,CAAC,2BAAuB,CAAvB,uBAAuB,CAAC,UAAU,CAAC,8DAA8D,YAAY,CAAC,+DAA+D,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,YAAY,CAAC,gCAAgC,4BAA4B,CAAC,0EAA0E,YAAY,CAAC,0BAA0B,eAAe,CAAC,cAAc,CAAC,uBAAuB,qBAAqB,CAAC,YAAY,CAAC,eAAe,CAAC,iBAAiB,CAAC,UAAU,CAAC,gDAAgD,aAAa,CAAC,kCAAkC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAU,CAAC,iBAAiB,CAAC,SAAS,CAAC,8BAA8B,kHAAkH,CAAC,kCAAkC,kBAAK,CAAL,UAAK,CAAL,MAAM,CAAC,+BAA+B,wBAAkB,CAAlB,qBAAkB,CAA0B,uBAAqB,CAArB,oBAAqB,CAAjE,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,WAAW,CAAC,sBAAsB,CAAC,yFAAyF,cAAc,CAAC,0CAAuF,MAAK,CAAlD,eAAe,CAAC,UAAU,CAAC,iBAAwB,CAAC,2CAA2C,qBAAqB,CAAC,WAAW,CAAC,MAAM,CAAC,iBAAiB,CAAC,KAAK,CAAC,UAAU,CAAC,gDAAgD,QAAQ,CAAC,WAAW,CAAC,iBAAiB,CAAC,8CAA8C,wBAAwB,CAAC,gBAAgB,CAAC,UAAU,CAAC,oBAAoB,CAAC,SAAS,CAAC,8CAA8C,wBAAwB,CAAC,gBAAgB,CAAC,UAAU,CAAC,qBAAqB,CAAC,SAAS,CAAC,8CAA8C,wBAAwB,CAAC,gBAAgB,CAAC,UAAU,CAAC,uBAAuB,CAAC,SAAS,CAAC,8CAA8C,wBAAwB,CAAC,gBAAgB,CAAC,UAAU,CAAC,sBAAsB,CAAC,SAAS,CAAC,8BAA8B,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,kBAAc,CAAd,cAAc,CAAC,WAAW,CAAC,kCAAuE,iBAAwB,CAAxB,kBAAwB,CAAxB,wBAAwB,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,WAAW,CAAC,UAAU,CAAC,2EAA2E,WAAgB,CAAC,iEAAiE,mCAAmC,CAAC,+BAA+B,CAAC,qCAAqC,uBAAuB,CAAC,aAAa,CAAC,cAAc,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAgF,4HAA4D,cAAc,CAAC,eAAe,qBAAqB,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,6EAAqE,CAArE,qEAAqE,CAAC,oBAAoB,CAAC,eAAe,CAAC,kBAAkB,CAAC,YAAY,CAAC,mDAAmD,aAAa,CAAmE,yGAAmD,WAAW,CAAC,yCAAyC,2CAA2C,wBAAwB,CAAC,iBAAiB,CAAC,CAAC,0OAA0O,QAAQ,CAAC,kBAAmL,kBAAa,CAAC,mBAAa,CAA5L,6HAA6H,CAAC,qBAAqB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAa,CAAb,aAAa,CAAC,aAAa,CAAC,kBAAc,CAAd,cAAc,CAAC,gBAAgB,CAAC,UAAU,CAAC,qBAAqB,CAAC,iCAAiC,aAAa,CAAC,oBAAiM,uBAAsB,CAAC,yBAAwB,CAA5N,6HAA6H,CAAC,qBAAqB,CAAC,aAAa,CAAC,UAAU,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,eAAe,CAAC,yBAAyB,+BAAyB,CAAzB,4BAAyB,CAAzB,yBAAyB,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,aAAa,CAAC,cAAc,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,cAAc,CAAC,aAAa,CAAC,eAAe,CAAC,kBAAkB,CAAC,+BAA+B,wBAAwB,CAAC,+BAA+B,wBAAwB,CAAC,eAAe,wBAAkB,CAAlB,qBAAkB,CAAsF,kBAAa,CAA8D,uBAAsB,CAAtB,oBAAsB,CAAzM,kBAAkB,CAAC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAa,CAAb,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,WAAW,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,SAAS,CAAC,eAAe,CAAC,aAAa,CAAC,mBAAmB,CAAC,UAAU,CAAC,yBAAyB,4BAA4B,CAAC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,oCAAoC,kBAAyD,CAAC,2DAAvC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAC,aAA8F,CAAhF,uBAAuB,kBAAyD,CAAC,2DAA2D,kBAAkB,CAAC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,6BAA6B,cAAc,CAAC,eAAe,CAAC,YAAY,CAAC,iDAAiD,kBAAkB,CAAC,+BAA+B,wBAAkB,CAAlB,qBAAkB,CAAc,uBAAsB,CAAtB,oBAAsB,CAAtD,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAmC,YAAW,CAA7C,sBAAsB,CAAC,UAAuB,CAAC,uBAAuB,iBAAiB,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,uBAAe,CAAf,eAAe,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,YAAY,CAAgC,4DAA4D,CAAC,cAAc,CAAC,SAAS,CAAC,WAAW,CAAC,qEAAqD,CAArD,6DAAqD,CAArD,qDAAqD,CAArD,mFAAsD,CAAC,gDAAxL,cAAc,CAAC,eAAgO,CAAC,yBAAyB,cAAc,CAAC,yBAAyB,CAAC,2BAA2B,SAAS,CAAC,gCAAgC,wBAAwB,CAAC,oBAAoB,CAAC,aAAa,CAAC,kCAAkC,aAAa,CAAC,kCAAkC,aAAa,CAAC,oCAAoC,YAAY,CAAC,8BAA8B,wBAAwB,CAAC,oBAAoB,CAAC,aAAa,CAAC,gCAAgC,aAAa,CAAC,gCAAgC,aAAa,CAAC,kCAAkC,YAAY,CAAC,6DAA6D,wBAAwB,CAAC,oBAAoB,CAAC,aAAa,CAAC,iEAAiE,aAAa,CAAC,iEAAiE,aAAa,CAAC,qEAAqE,YAAY,CAAC,6BAA6B,wBAAwB,CAAC,oBAAoB,CAAC,aAAa,CAAC,+BAA+B,aAAa,CAAC,+BAA+B,aAAa,CAAC,iCAAiC,YAAY,CAAC,6BAA6B,iBAAiB,CAAC,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,+BAA+B,QAAQ,CAAC,iCAAiC,eAAe,CAAC,6BAA6B,iBAAiB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,iCAAiC,aAAa,CAAC,gCAAgC,gBAAgB,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,yCAAyC,iBAAiB,CAAC,mBAAmB,CAAC,cAAc,CAAC,gBAAgB,CAAC,mBAAmB,CAAC,cAAc,oBAAoB,CAAC,iBAAiB,CAAC,wBAAwB,iCAAwB,CAAxB,yBAAyB,CAAC,iFAAiF,oBAAe,CAAf,gBAAgB,CAAC,0BAA0B,4BAAoB,CAApB,oBAAoB,CAAC,iDAAwC,CAAxC,yCAAyC,CAAC,iEAAmE,gEAAuD,CAAvD,wDAAwD,CAAC,sBAAsB,qBAAqB,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,6EAAqE,CAArE,qEAAqE,CAAC,WAAW,CAAC,eAAe,CAAC,yCAAyC,sBAAsB,CAAC,mCAAmC,4BAA4B,CAAC,kBAAkB,CAAC,yCAA2C,kBAAkB,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ,CAAC,SAAS,CAAC,iBAAiB,CAAC,OAAO,CAAC,uEAAyE,SAAS,CAAC,8DAAqD,CAArD,sDAAsD,CAAC,yEAA2E,QAAQ,CAAC,QAAQ,CAAC,oCAAqC,yCAAqD,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,eAAe,CAAC,qCAAsC,yCAAqD,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,mEAAqE,QAAQ,CAAC,KAAK,CAAC,mCAA0B,CAA1B,2BAA2B,CAAC,iCAAkC,yCAAqD,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,cAAc,CAAC,kCAAmC,yCAAqD,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,qEAAuE,MAAM,CAAC,mBAAmB,CAAC,kCAAyB,CAAzB,0BAA0B,CAAC,kCAAmC,qDAAqD,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,mCAAoC,qDAAqD,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,uEAAyE,SAAS,CAAC,mBAAmB,CAAC,kCAAyB,CAAzB,0BAA0B,CAAC,mCAAoC,qDAAqD,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,oCAAqC,qDAAqD,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,iFAAmF,SAAS,CAAC,mFAAqF,sBAAsB,CAAC,uBAAuD,kBAAW,CAAX,mBAAW,CAAX,WAAW,CAAC,YAAY,CAAC,yCAA5C,6BAAkB,CAAlB,4BAAkB,CAA/B,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAkB,CAAlB,kBAA4I,CAAhG,kBAAwE,oBAAuB,CAAvB,iBAAuB,CAA7E,qBAAqB,CAAiC,wBAAwB,CAAC,0BAAuC,eAAe,CAAgD,oFAAwB,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,kCAAkC,SAAS,CAAC,gCAAgC,SAAS,CAAC,wEAAwE,kDAAyC,CAAzC,0CAA0C,CAAC,mBAAmB,wBAAwB,CAAyC,wBAAgB,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,oBAAoB,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,sCAAsC,WAAW,CAAC,UAAU,CAAC,iBAAiB,wBAAkB,CAAlB,qBAAkB,CAAc,kBAAM,CAAa,uBAAsB,CAAtB,oBAAsB,CAAzE,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,WAAW,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,uBAAuB,4BAA4B,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,WAAW,CAAC,eAAe,CAAC,UAAU,CAAC,yBAAyB,wBAAwB,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,uBAAe,CAAf,eAAe,CAAC,WAAW,CAAC,QAAQ,CAAC,iBAAiB,CAAC,OAAO,CAAC,mDAA2C,CAA3C,2CAA2C,CAAC,UAAU,CAAC,iEAAiE,wBAAsB,CAAtB,uBAAuB,CAAwF,4HAA8D,yBAAuB,CAAvB,wBAAwB,CAAC,sBAAsB,aAAa,CAAC,kBAAkB,mBAAW,CAAX,mBAAW,CAAX,YAAY,CAAC,sBAAsB,qEAA6D,CAA7D,6DAA6D,CAAC,kCAAkC,CAAC,kBAAkB,CAAC,UAAU,CAAC,SAAS,CAAC,kCAAmC,6BAAoB,CAApB,qBAAqB,CAAC,mCAAmC,6BAAoB,CAApB,qBAAqB,CAAC,qCAA6B,UAAY,0BAAiB,CAAjB,kBAAkB,CAAC,IAAI,0BAAiB,CAAjB,kBAAkB,CAAC,CAAnF,6BAA6B,UAAY,0BAAiB,CAAjB,kBAAkB,CAAC,IAAI,0BAAiB,CAAjB,kBAAkB,CAAC,CAAC,uDAAuD,eAAe,CAAC,iDAAiD,gBAAgB,CAAC,oBAAoB,wBAAkB,CAAlB,qBAAkB,CAAyF,kBAAa,CAAxH,kBAAkB,CAAC,qBAAqB,CAAC,4BAA4B,CAAC,uBAAuB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAa,CAAb,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,WAAW,CAAC,eAAe,CAAC,aAAa,CAAC,iBAAiB,CAAC,mBAAmB,CAAC,oCAA+D,oBAAwB,CAAxB,iBAAwB,CAAtC,iBAAa,CAAb,aAAa,CAAC,wBAAwC,CAAC,8DAAvD,kBAAa,CAA1B,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAwC,eAAgJ,CAAhI,0BAAuC,iBAAa,CAAb,aAAa,CAAC,iBAAiB,CAAiB,sBAAsB,CAAC,kBAAkB,CAAC,4BAA4B,cAAc,CAAC,kBAAkB,CAAC,+BAA+B,kBAAa,CAAb,iBAAa,CAAb,aAAa,CAAC,eAAe,CAAC,oFAAoF,uBAAuB,CAAC,oBAAoB,CAAC,kcAAkc,aAAa,CAAC,cAAc,CAAC,kCAAkC,sBAAsB,CAAC,aAAa,CAAC,qBAAqB,CAAC,WAAW,CAAC,sKAAsK,YAAY,CAAC,mCAAmC,qBAAoB,CAApB,kBAAoB,CAAC,2BAAkB,CAAiC,kBAAa,CAAC,oBAAwB,CAAxB,iBAAwB,CAA9G,oBAAoB,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAa,CAAb,aAAa,CAAC,wBAAwB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,iBAAiB,CAAC,uCAAqD,sBAAqB,CAAnC,aAAoC,CAAC,6CAA6C,wBAAwB,CAAC,6BAA6B,CAAC,oCAA2B,CAA3B,4BAA4B,CAAC,2CAA2C,gBAAgB,CAAC,6CAA6C,eAAe,CAAC,6BAA6B,6BAAyB,CAAzB,6BAAyB,CAAzB,8BAAyB,CAAzB,0BAA0B,CAAC,qCAAqC,eAAe,CAAC,mBAAmB,YAAY,CAAC,iCAAgH,oBAAsB,CAAlF,mCAAqC,CAAC,QAAQ,CAAqC,MAAM,CAAC,iBAAiB,CAAC,OAAO,CAAC,KAAK,CAAC,gDAA7I,wBAAkB,CAAlB,qBAAkB,CAA6D,uBAAsB,CAArG,kBAAkB,CAAgD,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAA8W,CAAhT,eAAuH,kBAAa,CAA8D,oBAAsB,CAAtL,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAc,iBAAa,CAAb,aAAa,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,WAAW,CAAwB,oBAAoB,CAAC,SAAS,CAAC,eAAe,CAAC,SAAS,CAAC,mBAAmB,CAAC,UAAU,CAAC,mBAAiC,YAAW,CAAzB,aAA0B,CAAC,6BAA6B,gBAAgB,CAAC,iBAAiB,CAAC,aAAa,CAAkE,0CAA5C,kBAAkB,CAAC,QAAQ,CAAC,uBAAc,CAAd,eAA8F,CAA9E,qBAAiE,aAAa,CAAC,yBAAyB,YAAY,CAAC,sBAAsB,kBAAkB,CAAC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,0BAA0B,YAAY,CAAC,8GAA8G,cAAc,CAAC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAC,uBAAuB,CAAC,kBAAkB,CAAC,8HAA8H,sBAAsB,CAAC,sDAAsD,kBAAkB,CAAC,QAAQ,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,0DAA0D,sBAAa,CAAb,cAAc,CAAC,8DAA8D,YAAY,CAAC,8CAA8C,aAAa,CAAC,kDAAkD,YAAY,CAAC,wBAAwB,sBAAa,CAAb,cAAc,CAAC,mBAAmB,WAAW,CAAC,UAAU,CAAC,mBAAmB,2BAAqB,CAArB,4BAAqB,CAArB,yBAAqB,CAArB,qBAAqB,CAAC,WAAW,CAAC,UAAU,CAAC,uBAAuB,2BAAkB,CAAlB,kBAAkB,CAAC,YAAY,CAAC,UAAU,CAAC,wBAAwB,aAAa,CAAC,WAAW,CAAC,uBAAuB,aAAa,CAAC,cAAc,CAAC,eAAe,CAAC,sBAAsB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,uBAAuB,oBAAoB,CAAC,aAAa,CAAC,UAAU,CAAC,6BAA6B,cAAc,CAAC,eAAe,CAAC,YAAY,CAAC,+BAA+B,wBAAkB,CAAlB,qBAAkB,CAAc,uBAAsB,CAAtB,oBAAsB,CAAtD,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,sBAAsB,CAAC,UAAU,CAAC,mCAAmC,sBAAsB,CAAC,wBAAwB,kBAAkB,CAAC,2CAA2C,wBAAsB,CAAtB,uBAAuB,CAAC,gDAAgD,eAAe,CAAC,sBAAsB,CAAC,kBAAkB,CAAC,SAAS,CAAC,uBAAuB,QAAQ,CAAC,iBAAiB,CAAC,6BAAqB,CAArB,qBAAqB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,oBAAoB,CAAC,eAAe,CAAC,6BAA6B,0CAAiC,CAAjC,kCAAkC,CAAC,6BAA6B,kBAAkB,CAAC,uBAAe,CAAf,eAAe,CAAC,aAAa,CAAC,yBAAyB,eAAe,CAAC,gCAAgC,UAAU,CAAC,oCAAoC,sBAAsB,CAAC,iCAAiC,QAAQ,CAAC,oNAAoN,cAAc,CAAC,uBAAe,CAAf,eAAe,CAAC,uBAAuB,CAAC,4DAA4D,SAAW,CAAC,uFAAuF,UAAU,CAAC,mDAAmD,UAAU,CAAC,2BAA2B,qBAAqB,CAAC,yEAAmT,kBAAa,CAAC,mBAAa,CAArQ,qBAAqB,CAAC,8EAA8E,CAAC,mCAAmC,CAAC,2BAA2B,CAAC,mDAAuD,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,iBAAa,CAAb,aAAa,CAAC,aAAa,CAAC,kBAAc,CAAd,cAAc,CAAC,SAAW,CAAC,kCAAyB,CAAzB,0BAA0B,CAAC,2IAA2I,gCAAgC,CAAC,sCAAsD,CAAC,0DAA0D,QAAQ,CAAC,SAAS,CAAC,gBAAgB,CAAC,aAAa,CAAC,iBAAiB,CAAC,qCAAqC,yDAAgD,CAAhD,iDAAiD,CAAC,uCAAuC,kFAAyE,CAAzE,0EAA0E,CAAC,+CAA+C,gBAAgB,CAAC,uEAAuE,gCAAgC,CAAC,eAAe,CAAC,kBAAkB,CAAC,eAAe,CAAC,6BAA6B,oBAAgB,CAAhB,gBAAgB,CAAC,eAAe,CAAC,2BAA2B,cAAc,CAAC,8BAA8B,qBAAqB,CAAC,kIAAkI,mCAAmC,CAAC,+GAA+G,qBAAqB,CAAC,4CAA4C,qBAAqB,CAAC,mCAAmC,CAAC,mDAAsD,CAAC,WAAW,CAAC,iBAAiB,CAAC,6EAAqE,CAArE,qEAAqE,CAAC,aAAa,CAAC,uCAAuC,mCAAmC,CAAC,mDAAuD,CAAC,aAAa,CAAC,yBAAyB,wBAAkB,CAAlB,qBAAkB,CAAlB,kBAAkB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,kBAAc,CAAd,cAAc,CAAC,QAAU,CAAC,qBAAqB,CAAC,qCAAqC,gBAAgB,CAAC,iDAAiD,mBAAa,CAAb,aAAa,CAAC,oBAAe,CAAf,gBAAgB,CAAC,2DAA2D,kCAAkC,CAAC,qDAAqD,iCAAiC,CAAC,kBAAkB,oBAAoB,CAAC,WAAW,CAAC,iBAAiB,CAAC,wBAAwB,wBAAwB,CAAC,iBAAiB,CAAC,8CAAsC,CAAtC,sCAAsC,CAAC,yBAA2B,CAAC,cAAc,CAAC,iBAAiB,CAAC,eAAe,CAAC,eAAe,CAAC,mBAAmB,CAAC,yBAAyB,iBAAiB,CAAC,4CAAiH,4BAA4B,CAAC,QAA8D,CAAC,sFAAjK,iCAAiC,CAAC,kCAAkC,CAAuC,QAAQ,CAAC,iBAAiB,CAAC,kCAAyB,CAAzB,0BAAqO,CAA1M,0CAA0C,+BAA+B,CAAiG,KAAgC,CAAC,6CAAiF,6BAA6B,CAAoD,OAA0C,CAAC,yFAAhK,mCAAmC,CAA+B,gCAAgC,CAAC,iBAAiB,CAAS,OAAO,CAAC,kCAAyB,CAAzB,0BAAsO,CAA3M,4CAAgF,8BAA8B,CAAkC,MAA2D,CAAC,eAAe,qBAAqB,CAAC,iBAAiB,CAAC,WAAW,CAAC,UAAU,CAAC,4BAA4B,YAAY,CAAC,2BAA2B,eAAe,CAAC,2BAA2B,QAAQ,CAAC,wBAA6E,kBAAM,CAA3D,qBAAqB,CAAC,iBAAiB,CAAC,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAM,CAAN,MAAM,CAAC,iBAAiB,CAAC,gCAAiC,+BAA+B,CAAC,UAAU,CAAC,WAAW,CAAC,iBAAiB,CAAC,UAAU,CAAC,YAAY,CAAC,cAAc,cAAc,CAAkD,4EAA4D,kBAAK,CAAlB,mBAAY,CAAZ,mBAAY,CAAZ,YAAY,CAAC,UAAK,CAAL,MAAM",sourcesContent:['.tox{box-shadow:none;box-sizing:content-box;color:#222f3e;cursor:auto;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-style:normal;font-weight:400;line-height:normal;-webkit-tap-highlight-color:transparent;text-decoration:none;text-shadow:none;text-transform:none;vertical-align:initial;white-space:normal}.tox :not(svg):not(rect){box-sizing:inherit;color:inherit;cursor:inherit;direction:inherit;font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;line-height:inherit;-webkit-tap-highlight-color:inherit;text-align:inherit;text-decoration:inherit;text-shadow:inherit;text-transform:inherit;vertical-align:inherit;white-space:inherit}.tox :not(svg):not(rect){background:0 0;border:0;box-shadow:none;float:none;height:auto;margin:0;max-width:none;outline:0;padding:0;position:static;width:auto}.tox:not([dir=rtl]){direction:ltr;text-align:left}.tox[dir=rtl]{direction:rtl;text-align:right}.tox-tinymce{border:2px solid #eee;border-radius:10px;box-shadow:none;box-sizing:border-box;display:flex;flex-direction:column;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;overflow:hidden;position:relative;visibility:inherit!important}.tox.tox-tinymce-inline{border:none;box-shadow:none;overflow:initial}.tox.tox-tinymce-inline .tox-editor-container{overflow:initial}.tox.tox-tinymce-inline .tox-editor-header{background-color:#fff;border:2px solid #eee;border-radius:10px;box-shadow:none;overflow:hidden}.tox-tinymce-aux{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;z-index:1300}.tox-tinymce :focus,.tox-tinymce-aux :focus{outline:0}button::-moz-focus-inner{border:0}.tox[dir=rtl] .tox-icon--flip svg{transform:rotateY(180deg)}.tox .accessibility-issue__header{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description{align-items:stretch;border:1px solid #eee;border-radius:6px;display:flex;justify-content:space-between}.tox .accessibility-issue__description>div{padding-bottom:4px}.tox .accessibility-issue__description>div>div{align-items:center;display:flex;margin-bottom:4px}.tox .accessibility-issue__description>:last-child:not(:only-child){border-color:#eee;border-style:solid}.tox .accessibility-issue__repair{margin-top:16px}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description{background-color:rgba(0,108,231,.1);border-color:#006ce7;color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--info .accessibility-issue__description>:last-child{border-color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-form__group h2{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info .tox-icon svg{fill:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--info a .tox-icon{color:#006ce7}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description{background-color:rgba(255,165,0,.1);border-color:rgba(255,165,0,.5);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--warn .accessibility-issue__description>:last-child{border-color:rgba(255,165,0,.5)}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-form__group h2{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn .tox-icon svg{fill:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--warn a .tox-icon{color:#cc8500}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description{background-color:rgba(204,0,0,.1);border-color:rgba(204,0,0,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--error .accessibility-issue__description>:last-child{border-color:rgba(204,0,0,.4)}.tox .tox-dialog__body-content .accessibility-issue--error .tox-form__group h2{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--error .tox-icon svg{fill:#c00}.tox .tox-dialog__body-content .accessibility-issue--error a .tox-icon{color:#c00}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description{background-color:rgba(120,171,70,.1);border-color:rgba(120,171,70,.4);color:#222f3e}.tox .tox-dialog__body-content .accessibility-issue--success .accessibility-issue__description>:last-child{border-color:rgba(120,171,70,.4)}.tox .tox-dialog__body-content .accessibility-issue--success .tox-form__group h2{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success .tox-icon svg{fill:#78ab46}.tox .tox-dialog__body-content .accessibility-issue--success a .tox-icon{color:#78ab46}.tox .tox-dialog__body-content .accessibility-issue__header h1,.tox .tox-dialog__body-content .tox-form__group .accessibility-issue__description h2{margin-top:0}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-left:4px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-left:auto}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description{padding:4px 4px 4px 8px}.tox:not([dir=rtl]) .tox-dialog__body-content .accessibility-issue__description>:last-child{border-left-width:1px;padding-left:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header .tox-button{margin-right:4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__header>:nth-last-child(2){margin-right:auto}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description{padding:4px 8px 4px 4px}.tox[dir=rtl] .tox-dialog__body-content .accessibility-issue__description>:last-child{border-right-width:1px;padding-right:4px}.tox .tox-anchorbar{display:flex;flex:0 0 auto}.tox .tox-bar{display:flex;flex:0 0 auto}.tox .tox-button{background-color:#006ce7;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#006ce7;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#fff;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;line-height:24px;margin:0;outline:0;padding:4px 16px;position:relative;text-align:center;text-decoration:none;text-transform:none;white-space:nowrap}.tox .tox-button::before{border-radius:6px;bottom:-1px;box-shadow:inset 0 0 0 2px #fff,0 0 0 1px #006ce7,0 0 0 3px rgba(0,108,231,.25);content:\'\';left:-1px;opacity:0;pointer-events:none;position:absolute;right:-1px;top:-1px}.tox .tox-button[disabled]{background-color:#006ce7;background-image:none;border-color:#006ce7;box-shadow:none;color:rgba(255,255,255,.5);cursor:not-allowed}.tox .tox-button:focus:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:focus-visible:not(:disabled)::before{opacity:1}.tox .tox-button:hover:not(:disabled){background-color:#0060ce;background-image:none;border-color:#0060ce;box-shadow:none;color:#fff}.tox .tox-button:active:not(:disabled){background-color:#0054b4;background-image:none;border-color:#0054b4;box-shadow:none;color:#fff}.tox .tox-button--secondary{background-color:#f0f0f0;background-image:none;background-position:0 0;background-repeat:repeat;border-color:#f0f0f0;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;color:#222f3e;font-size:14px;font-style:normal;font-weight:700;letter-spacing:normal;outline:0;padding:4px 16px;text-decoration:none;text-transform:none}.tox .tox-button--secondary[disabled]{background-color:#f0f0f0;background-image:none;border-color:#f0f0f0;box-shadow:none;color:rgba(34,47,62,.5)}.tox .tox-button--secondary:focus:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:hover:not(:disabled){background-color:#e3e3e3;background-image:none;border-color:#e3e3e3;box-shadow:none;color:#222f3e}.tox .tox-button--secondary:active:not(:disabled){background-color:#d6d6d6;background-image:none;border-color:#d6d6d6;box-shadow:none;color:#222f3e}.tox .tox-button--icon,.tox .tox-button.tox-button--icon,.tox .tox-button.tox-button--secondary.tox-button--icon{padding:4px}.tox .tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--icon .tox-icon svg,.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg{display:block;fill:currentColor}.tox .tox-button-link{background:0;border:none;box-sizing:border-box;cursor:pointer;display:inline-block;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;font-weight:400;line-height:1.3;margin:0;padding:0;white-space:nowrap}.tox .tox-button-link--sm{font-size:14px}.tox .tox-button--naked{background-color:transparent;border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked[disabled]{background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:rgba(34,47,62,.5)}.tox .tox-button--naked:hover:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:focus:not(:disabled){background-color:rgba(34,47,62,.12);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked:active:not(:disabled){background-color:rgba(34,47,62,.18);border-color:transparent;box-shadow:unset;color:#222f3e}.tox .tox-button--naked .tox-icon svg{fill:currentColor}.tox .tox-button--naked.tox-button--icon:hover:not(:disabled){color:#222f3e}.tox .tox-checkbox{align-items:center;border-radius:6px;cursor:pointer;display:flex;height:36px;min-width:36px}.tox .tox-checkbox__input{height:1px;overflow:hidden;position:absolute;top:auto;width:1px}.tox .tox-checkbox__icons{align-items:center;border-radius:6px;box-shadow:0 0 0 2px transparent;box-sizing:content-box;display:flex;height:24px;justify-content:center;padding:calc(4px - 1px);width:24px}.tox .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:block;fill:rgba(34,47,62,.3)}.tox .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:none;fill:#006ce7}.tox .tox-checkbox__icons .tox-checkbox-icon__checked svg{display:none;fill:#006ce7}.tox .tox-checkbox--disabled{color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__checked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__unchecked svg{fill:rgba(34,47,62,.5)}.tox .tox-checkbox--disabled .tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{fill:rgba(34,47,62,.5)}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:checked+.tox-checkbox__icons .tox-checkbox-icon__checked svg{display:block}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__unchecked svg{display:none}.tox input.tox-checkbox__input:indeterminate+.tox-checkbox__icons .tox-checkbox-icon__indeterminate svg{display:block}.tox input.tox-checkbox__input:focus+.tox-checkbox__icons{border-radius:6px;box-shadow:inset 0 0 0 1px #006ce7;padding:calc(4px - 1px)}.tox:not([dir=rtl]) .tox-checkbox__label{margin-left:4px}.tox:not([dir=rtl]) .tox-checkbox__input{left:-10000px}.tox:not([dir=rtl]) .tox-bar .tox-checkbox{margin-left:4px}.tox[dir=rtl] .tox-checkbox__label{margin-right:4px}.tox[dir=rtl] .tox-checkbox__input{right:-10000px}.tox[dir=rtl] .tox-bar .tox-checkbox{margin-right:4px}.tox .tox-collection--toolbar .tox-collection__group{display:flex;padding:0}.tox .tox-collection--grid .tox-collection__group{display:flex;flex-wrap:wrap;max-height:208px;overflow-x:hidden;overflow-y:auto;padding:0}.tox .tox-collection--list .tox-collection__group{border-bottom-width:0;border-color:#e3e3e3;border-left-width:0;border-right-width:0;border-style:solid;border-top-width:1px;padding:4px 0}.tox .tox-collection--list .tox-collection__group:first-child{border-top-width:0}.tox .tox-collection__group-heading{background-color:#fcfcfc;color:rgba(34,47,62,.7);cursor:default;font-size:12px;font-style:normal;font-weight:400;margin-bottom:4px;margin-top:-4px;padding:4px 8px;text-transform:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection__item{align-items:center;border-radius:3px;color:#222f3e;display:flex;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.tox .tox-collection--list .tox-collection__item{padding:4px 8px}.tox .tox-collection--toolbar .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--grid .tox-collection__item{border-radius:3px;padding:4px}.tox .tox-collection--list .tox-collection__item--enabled{background-color:#fff;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--toolbar .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active{background-color:#cce2fa}.tox .tox-collection--grid .tox-collection__item--enabled{background-color:#a6ccf7;color:#222f3e}.tox .tox-collection--grid .tox-collection__item--active:not(.tox-collection__item--state-disabled){background-color:#cce2fa;color:#222f3e}.tox .tox-collection--list .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection--toolbar .tox-collection__item--active:not(.tox-collection__item--state-disabled){color:#222f3e}.tox .tox-collection__item-checkmark,.tox .tox-collection__item-icon{align-items:center;display:flex;height:24px;justify-content:center;width:24px}.tox .tox-collection__item-checkmark svg,.tox .tox-collection__item-icon svg{fill:currentColor}.tox .tox-collection--toolbar-lg .tox-collection__item-icon{height:48px;width:48px}.tox .tox-collection__item-label{color:currentColor;display:inline-block;flex:1;font-size:14px;font-style:normal;font-weight:400;line-height:24px;text-transform:none;word-break:break-all}.tox .tox-collection__item-accessory{color:rgba(34,47,62,.7);display:inline-block;font-size:14px;height:24px;line-height:24px;text-transform:none}.tox .tox-collection__item-caret{align-items:center;display:flex;min-height:24px}.tox .tox-collection__item-caret::after{content:\'\';font-size:0;min-height:inherit}.tox .tox-collection__item-caret svg{fill:#222f3e}.tox .tox-collection__item--state-disabled{background-color:transparent;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-collection__item--state-disabled .tox-collection__item-caret svg{fill:rgba(34,47,62,.5)}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-checkmark svg{display:none}.tox .tox-collection--list .tox-collection__item:not(.tox-collection__item--enabled) .tox-collection__item-accessory+.tox-collection__item-checkmark{display:none}.tox .tox-collection--horizontal{background-color:#fff;border:1px solid #e3e3e3;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:nowrap;margin-bottom:0;overflow-x:auto;padding:0}.tox .tox-collection--horizontal .tox-collection__group{align-items:center;display:flex;flex-wrap:nowrap;margin:0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item{height:28px;margin:6px 1px 5px 0;padding:0 4px}.tox .tox-collection--horizontal .tox-collection__item-label{white-space:nowrap}.tox .tox-collection--horizontal .tox-collection__item-caret{margin-left:4px}.tox .tox-collection__item-container{display:flex}.tox .tox-collection__item-container--row{align-items:center;flex:1 1 auto;flex-direction:row}.tox .tox-collection__item-container--row.tox-collection__item-container--align-left{margin-right:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--align-right{justify-content:flex-end;margin-left:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-top{align-items:flex-start;margin-bottom:auto}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-middle{align-items:center}.tox .tox-collection__item-container--row.tox-collection__item-container--valign-bottom{align-items:flex-end;margin-top:auto}.tox .tox-collection__item-container--column{align-self:center;flex:1 1 auto;flex-direction:column}.tox .tox-collection__item-container--column.tox-collection__item-container--align-left{align-items:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--align-right{align-items:flex-end}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-top{align-self:flex-start}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-middle{align-self:center}.tox .tox-collection__item-container--column.tox-collection__item-container--valign-bottom{align-self:flex-end}.tox:not([dir=rtl]) .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-right:1px solid transparent}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>:not(:first-child){margin-left:8px}.tox:not([dir=rtl]) .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-left:4px}.tox:not([dir=rtl]) .tox-collection__item-accessory{margin-left:16px;text-align:right}.tox:not([dir=rtl]) .tox-collection .tox-collection__item-caret{margin-left:16px}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__group:not(:last-of-type){border-left:1px solid transparent}.tox[dir=rtl] .tox-collection--list .tox-collection__item>:not(:first-child){margin-right:8px}.tox[dir=rtl] .tox-collection--list .tox-collection__item>.tox-collection__item-label:first-child{margin-right:4px}.tox[dir=rtl] .tox-collection__item-accessory{margin-right:16px;text-align:left}.tox[dir=rtl] .tox-collection .tox-collection__item-caret{margin-right:16px;transform:rotateY(180deg)}.tox[dir=rtl] .tox-collection--horizontal .tox-collection__item-caret{margin-right:4px}.tox .tox-color-picker-container{display:flex;flex-direction:row;height:225px;margin:0}.tox .tox-sv-palette{box-sizing:border-box;display:flex;height:100%}.tox .tox-sv-palette-spectrum{height:100%}.tox .tox-sv-palette,.tox .tox-sv-palette-spectrum{width:225px}.tox .tox-sv-palette-thumb{background:0 0;border:1px solid #000;border-radius:50%;box-sizing:content-box;height:12px;position:absolute;width:12px}.tox .tox-sv-palette-inner-thumb{border:1px solid #fff;border-radius:50%;height:10px;position:absolute;width:10px}.tox .tox-hue-slider{box-sizing:border-box;height:100%;width:25px}.tox .tox-hue-slider-spectrum{background:linear-gradient(to bottom,red,#ff0080,#f0f,#8000ff,#00f,#0080ff,#0ff,#00ff80,#0f0,#80ff00,#ff0,#ff8000,red);height:100%;width:100%}.tox .tox-hue-slider,.tox .tox-hue-slider-spectrum{width:20px}.tox .tox-hue-slider-thumb{background:#fff;border:1px solid #000;box-sizing:content-box;height:4px;width:100%}.tox .tox-rgb-form{display:flex;flex-direction:column;justify-content:space-between}.tox .tox-rgb-form div{align-items:center;display:flex;justify-content:space-between;margin-bottom:5px;width:inherit}.tox .tox-rgb-form input{width:6em}.tox .tox-rgb-form input.tox-invalid{border:1px solid red!important}.tox .tox-rgb-form .tox-rgba-preview{border:1px solid #000;flex-grow:2;margin-bottom:0}.tox:not([dir=rtl]) .tox-sv-palette{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider{margin-right:15px}.tox:not([dir=rtl]) .tox-hue-slider-thumb{margin-left:-1px}.tox:not([dir=rtl]) .tox-rgb-form label{margin-right:.5em}.tox[dir=rtl] .tox-sv-palette{margin-left:15px}.tox[dir=rtl] .tox-hue-slider{margin-left:15px}.tox[dir=rtl] .tox-hue-slider-thumb{margin-right:-1px}.tox[dir=rtl] .tox-rgb-form label{margin-left:.5em}.tox .tox-toolbar .tox-swatches,.tox .tox-toolbar__overflow .tox-swatches,.tox .tox-toolbar__primary .tox-swatches{margin:5px 0 6px 11px}.tox .tox-collection--list .tox-collection__group .tox-swatches-menu{border:0;margin:-4px -4px}.tox .tox-swatches__row{display:flex}.tox .tox-swatch{height:30px;transition:transform .15s,box-shadow .15s;width:30px}.tox .tox-swatch:focus,.tox .tox-swatch:hover{box-shadow:0 0 0 1px rgba(127,127,127,.3) inset;transform:scale(.8)}.tox .tox-swatch--remove{align-items:center;display:flex;justify-content:center}.tox .tox-swatch--remove svg path{stroke:#e74c3c}.tox .tox-swatches__picker-btn{align-items:center;background-color:transparent;border:0;cursor:pointer;display:flex;height:30px;justify-content:center;outline:0;padding:0;width:30px}.tox .tox-swatches__picker-btn svg{fill:#222f3e;height:24px;width:24px}.tox .tox-swatches__picker-btn:hover{background:#cce2fa}.tox:not([dir=rtl]) .tox-swatches__picker-btn{margin-left:auto}.tox[dir=rtl] .tox-swatches__picker-btn{margin-right:auto}.tox .tox-comment-thread{background:#fff;position:relative}.tox .tox-comment-thread>:not(:first-child){margin-top:8px}.tox .tox-comment{background:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 4px 8px 0 rgba(34,47,62,.1);padding:8px 8px 16px 8px;position:relative}.tox .tox-comment__header{align-items:center;color:#222f3e;display:flex;justify-content:space-between}.tox .tox-comment__date{color:#222f3e;font-size:12px;line-height:18px}.tox .tox-comment__body{color:#222f3e;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;margin-top:8px;position:relative;text-transform:initial}.tox .tox-comment__body textarea{resize:none;white-space:normal;width:100%}.tox .tox-comment__expander{padding-top:8px}.tox .tox-comment__expander p{color:rgba(34,47,62,.7);font-size:14px;font-style:normal}.tox .tox-comment__body p{margin:0}.tox .tox-comment__buttonspacing{padding-top:16px;text-align:center}.tox .tox-comment-thread__overlay::after{background:#fff;bottom:0;content:"";display:flex;left:0;opacity:.9;position:absolute;right:0;top:0;z-index:5}.tox .tox-comment__reply{display:flex;flex-shrink:0;flex-wrap:wrap;justify-content:flex-end;margin-top:8px}.tox .tox-comment__reply>:first-child{margin-bottom:8px;width:100%}.tox .tox-comment__edit{display:flex;flex-wrap:wrap;justify-content:flex-end;margin-top:16px}.tox .tox-comment__gradient::after{background:linear-gradient(rgba(255,255,255,0),#fff);bottom:0;content:"";display:block;height:5em;margin-top:-40px;position:absolute;width:100%}.tox .tox-comment__overlay{background:#fff;bottom:0;display:flex;flex-direction:column;flex-grow:1;left:0;opacity:.9;position:absolute;right:0;text-align:center;top:0;z-index:5}.tox .tox-comment__loading-text{align-items:center;color:#222f3e;display:flex;flex-direction:column;position:relative}.tox .tox-comment__loading-text>div{padding-bottom:16px}.tox .tox-comment__overlaytext{bottom:0;flex-direction:column;font-size:14px;left:0;padding:1em;position:absolute;right:0;top:0;z-index:10}.tox .tox-comment__overlaytext p{background-color:#fff;box-shadow:0 0 8px 8px #fff;color:#222f3e;text-align:center}.tox .tox-comment__overlaytext div:nth-of-type(2){font-size:.8em}.tox .tox-comment__busy-spinner{align-items:center;background-color:#fff;bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:20}.tox .tox-comment__scroll{display:flex;flex-direction:column;flex-shrink:1;overflow:auto}.tox .tox-conversations{margin:8px}.tox:not([dir=rtl]) .tox-comment__edit{margin-left:8px}.tox:not([dir=rtl]) .tox-comment__buttonspacing>:last-child,.tox:not([dir=rtl]) .tox-comment__edit>:last-child,.tox:not([dir=rtl]) .tox-comment__reply>:last-child{margin-left:8px}.tox[dir=rtl] .tox-comment__edit{margin-right:8px}.tox[dir=rtl] .tox-comment__buttonspacing>:last-child,.tox[dir=rtl] .tox-comment__edit>:last-child,.tox[dir=rtl] .tox-comment__reply>:last-child{margin-right:8px}.tox .tox-user{align-items:center;display:flex}.tox .tox-user__avatar svg{fill:rgba(34,47,62,.7)}.tox .tox-user__avatar img{border-radius:50%;height:36px;object-fit:cover;vertical-align:middle;width:36px}.tox .tox-user__name{color:#222f3e;font-size:14px;font-style:normal;font-weight:700;line-height:18px;text-transform:none}.tox:not([dir=rtl]) .tox-user__avatar img,.tox:not([dir=rtl]) .tox-user__avatar svg{margin-right:8px}.tox:not([dir=rtl]) .tox-user__avatar+.tox-user__name{margin-left:8px}.tox[dir=rtl] .tox-user__avatar img,.tox[dir=rtl] .tox-user__avatar svg{margin-left:8px}.tox[dir=rtl] .tox-user__avatar+.tox-user__name{margin-right:8px}.tox .tox-dialog-wrap{align-items:center;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1100}.tox .tox-dialog-wrap__backdrop{background-color:rgba(255,255,255,.75);bottom:0;left:0;position:absolute;right:0;top:0;z-index:1}.tox .tox-dialog-wrap__backdrop--opaque{background-color:#fff}.tox .tox-dialog{background-color:#fff;border-color:#eee;border-radius:10px;border-style:solid;border-width:0;box-shadow:0 16px 16px -10px rgba(34,47,62,.15),0 0 40px 1px rgba(34,47,62,.15);display:flex;flex-direction:column;max-height:100%;max-width:480px;overflow:hidden;position:relative;width:95vw;z-index:2}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog{align-self:flex-start;margin:8px auto;max-height:calc(100vh - 8px * 2);width:calc(100vw - 16px)}}.tox .tox-dialog-inline{z-index:1100}.tox .tox-dialog__header{align-items:center;background-color:#fff;border-bottom:none;color:#222f3e;display:flex;font-size:16px;justify-content:space-between;padding:8px 16px 0 16px;position:relative}.tox .tox-dialog__header .tox-button{z-index:1}.tox .tox-dialog__draghandle{cursor:grab;height:100%;left:0;position:absolute;top:0;width:100%}.tox .tox-dialog__draghandle:active{cursor:grabbing}.tox .tox-dialog__dismiss{margin-left:auto}.tox .tox-dialog__title{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:20px;font-style:normal;font-weight:400;line-height:1.3;margin:0;text-transform:none}.tox .tox-dialog__body{color:#222f3e;display:flex;flex:1;font-size:16px;font-style:normal;font-weight:400;line-height:1.3;min-width:0;text-align:left;text-transform:none}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body{flex-direction:column}}.tox .tox-dialog__body-nav{align-items:flex-start;display:flex;flex-direction:column;padding:16px 16px}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox .tox-dialog__body-nav{flex-direction:row;-webkit-overflow-scrolling:touch;overflow-x:auto;padding-bottom:0}}.tox .tox-dialog__body-nav-item{border-bottom:2px solid transparent;color:rgba(34,47,62,.7);display:inline-block;font-size:14px;line-height:1.3;margin-bottom:8px;text-decoration:none;white-space:nowrap}.tox .tox-dialog__body-nav-item:focus{background-color:rgba(0,108,231,.1)}.tox .tox-dialog__body-nav-item--active{border-bottom:2px solid #006ce7;color:#006ce7}.tox .tox-dialog__body-content{box-sizing:border-box;display:flex;flex:1;flex-direction:column;max-height:650px;overflow:auto;-webkit-overflow-scrolling:touch;padding:16px 16px}.tox .tox-dialog__body-content>*{margin-bottom:0;margin-top:16px}.tox .tox-dialog__body-content>:first-child{margin-top:0}.tox .tox-dialog__body-content>:last-child{margin-bottom:0}.tox .tox-dialog__body-content>:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog__body-content a{color:#006ce7;cursor:pointer;text-decoration:none}.tox .tox-dialog__body-content a:focus,.tox .tox-dialog__body-content a:hover{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content a:active{color:#0054b4;text-decoration:none}.tox .tox-dialog__body-content svg{fill:#222f3e}.tox .tox-dialog__body-content ul{display:block;list-style-type:disc;margin-bottom:16px;margin-inline-end:0;margin-inline-start:0;padding-inline-start:2.5rem}.tox .tox-dialog__body-content .tox-form__group h1{color:#222f3e;font-size:20px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group h2{color:#222f3e;font-size:16px;font-style:normal;font-weight:700;letter-spacing:normal;margin-bottom:16px;margin-top:2rem;text-transform:none}.tox .tox-dialog__body-content .tox-form__group p{margin-bottom:16px}.tox .tox-dialog__body-content .tox-form__group h1:first-child,.tox .tox-dialog__body-content .tox-form__group h2:first-child,.tox .tox-dialog__body-content .tox-form__group p:first-child{margin-top:0}.tox .tox-dialog__body-content .tox-form__group h1:last-child,.tox .tox-dialog__body-content .tox-form__group h2:last-child,.tox .tox-dialog__body-content .tox-form__group p:last-child{margin-bottom:0}.tox .tox-dialog__body-content .tox-form__group h1:only-child,.tox .tox-dialog__body-content .tox-form__group h2:only-child,.tox .tox-dialog__body-content .tox-form__group p:only-child{margin-bottom:0;margin-top:0}.tox .tox-dialog--width-lg{height:650px;max-width:1200px}.tox .tox-dialog--width-md{max-width:800px}.tox .tox-dialog--width-md .tox-dialog__body-content{overflow:auto}.tox .tox-dialog__body-content--centered{text-align:center}.tox .tox-dialog__footer{align-items:center;background-color:#fff;border-top:none;display:flex;justify-content:space-between;padding:8px 16px}.tox .tox-dialog__footer-end,.tox .tox-dialog__footer-start{display:flex}.tox .tox-dialog__busy-spinner{align-items:center;background-color:rgba(255,255,255,.75);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:3}.tox .tox-dialog__table{border-collapse:collapse;width:100%}.tox .tox-dialog__table thead th{font-weight:700;padding-bottom:8px}.tox .tox-dialog__table tbody tr{border-bottom:1px solid #eee}.tox .tox-dialog__table tbody tr:last-child{border-bottom:none}.tox .tox-dialog__table td{padding-bottom:8px;padding-top:8px}.tox .tox-dialog__iframe.tox-dialog__iframe--opaque{background:#fff}.tox .tox-dialog__popups{position:absolute;width:100%;z-index:1100}.tox .tox-dialog__body-iframe{display:flex;flex:1;flex-direction:column}.tox .tox-dialog__body-iframe .tox-navobj{display:flex;flex:1}.tox .tox-dialog__body-iframe .tox-navobj :nth-child(2){flex:1;height:100%}.tox .tox-dialog-dock-fadeout{opacity:0;visibility:hidden}.tox .tox-dialog-dock-fadein{opacity:1;visibility:visible}.tox .tox-dialog-dock-transition{transition:visibility 0s linear .3s,opacity .3s ease}.tox .tox-dialog-dock-transition.tox-dialog-dock-fadein{transition-delay:0s}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav{margin-right:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox:not([dir=rtl]) .tox-dialog__body-nav-item:not(:first-child){margin-left:8px}}.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-end>*,.tox:not([dir=rtl]) .tox-dialog__footer .tox-dialog__footer-start>*{margin-left:8px}.tox[dir=rtl] .tox-dialog__body{text-align:right}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav{margin-left:0}}@media only screen and (max-width:767px){body:not(.tox-force-desktop) .tox[dir=rtl] .tox-dialog__body-nav-item:not(:first-child){margin-right:8px}}.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-end>*,.tox[dir=rtl] .tox-dialog__footer .tox-dialog__footer-start>*{margin-right:8px}body.tox-dialog__disable-scroll{overflow:hidden}.tox .tox-dropzone-container{display:flex;flex:1}.tox .tox-dropzone{align-items:center;background:#fff;border:2px dashed #eee;box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;min-height:100px;padding:10px}.tox .tox-dropzone p{color:rgba(34,47,62,.7);margin:0 0 16px 0}.tox .tox-edit-area{display:flex;flex:1;overflow:hidden;position:relative}.tox .tox-edit-area__iframe{background-color:#fff;border:0;box-sizing:border-box;flex:1;height:100%;position:absolute;width:100%}.tox.tox-inline-edit-area{border:1px dotted #eee}.tox .tox-editor-container{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.tox .tox-editor-header{display:grid;grid-template-columns:1fr min-content;z-index:1}.tox:not(.tox-tinymce-inline) .tox-editor-header{background-color:#fff;border-bottom:none;box-shadow:0 2px 2px -2px rgba(34,47,62,.1),0 8px 8px -4px rgba(34,47,62,.07);padding:4px 0;transition:box-shadow .5s}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-bottom .tox-editor-header{border-top:1px solid #e3e3e3;box-shadow:none}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on .tox-editor-header{background-color:#fff;box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15);padding:4px 0}.tox:not(.tox-tinymce-inline).tox-tinymce--toolbar-sticky-on.tox-tinymce--toolbar-bottom .tox-editor-header{box-shadow:0 2px 2px -2px rgba(34,47,62,.2),0 8px 8px -4px rgba(34,47,62,.15)}.tox-editor-dock-fadeout{opacity:0;visibility:hidden}.tox-editor-dock-fadein{opacity:1;visibility:visible}.tox-editor-dock-transition{transition:visibility 0s linear .25s,opacity .25s ease}.tox-editor-dock-transition.tox-editor-dock-fadein{transition-delay:0s}.tox .tox-control-wrap{flex:1;position:relative}.tox .tox-control-wrap:not(.tox-control-wrap--status-invalid) .tox-control-wrap__status-icon-invalid,.tox .tox-control-wrap:not(.tox-control-wrap--status-unknown) .tox-control-wrap__status-icon-unknown,.tox .tox-control-wrap:not(.tox-control-wrap--status-valid) .tox-control-wrap__status-icon-valid{display:none}.tox .tox-control-wrap svg{display:block}.tox .tox-control-wrap__status-icon-wrap{position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-control-wrap__status-icon-invalid svg{fill:#c00}.tox .tox-control-wrap__status-icon-unknown svg{fill:orange}.tox .tox-control-wrap__status-icon-valid svg{fill:green}.tox:not([dir=rtl]) .tox-control-wrap--status-invalid .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-unknown .tox-textfield,.tox:not([dir=rtl]) .tox-control-wrap--status-valid .tox-textfield{padding-right:32px}.tox:not([dir=rtl]) .tox-control-wrap__status-icon-wrap{right:4px}.tox[dir=rtl] .tox-control-wrap--status-invalid .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-unknown .tox-textfield,.tox[dir=rtl] .tox-control-wrap--status-valid .tox-textfield{padding-left:32px}.tox[dir=rtl] .tox-control-wrap__status-icon-wrap{left:4px}.tox .tox-autocompleter{max-width:25em}.tox .tox-autocompleter .tox-menu{box-sizing:border-box;max-width:25em}.tox .tox-autocompleter .tox-autocompleter-highlight{font-weight:700}.tox .tox-color-input{display:flex;position:relative;z-index:1}.tox .tox-color-input .tox-textfield{z-index:-1}.tox .tox-color-input span{border-color:rgba(34,47,62,.2);border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;height:24px;position:absolute;top:6px;width:24px}.tox .tox-color-input span:focus:not([aria-disabled=true]),.tox .tox-color-input span:hover:not([aria-disabled=true]){border-color:#006ce7;cursor:pointer}.tox .tox-color-input span::before{background-image:linear-gradient(45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(-45deg,rgba(0,0,0,.25) 25%,transparent 25%),linear-gradient(45deg,transparent 75%,rgba(0,0,0,.25) 75%),linear-gradient(-45deg,transparent 75%,rgba(0,0,0,.25) 75%);background-position:0 0,0 6px,6px -6px,-6px 0;background-size:12px 12px;border:1px solid #fff;border-radius:6px;box-sizing:border-box;content:\'\';height:24px;left:-1px;position:absolute;top:-1px;width:24px;z-index:-1}.tox .tox-color-input span[aria-disabled=true]{cursor:not-allowed}.tox:not([dir=rtl]) .tox-color-input .tox-textfield{padding-left:36px}.tox:not([dir=rtl]) .tox-color-input span{left:6px}.tox[dir=rtl] .tox-color-input .tox-textfield{padding-right:36px}.tox[dir=rtl] .tox-color-input span{right:6px}.tox .tox-label,.tox .tox-toolbar-label{color:rgba(34,47,62,.7);display:block;font-size:14px;font-style:normal;font-weight:400;line-height:1.3;padding:0 8px 0 0;text-transform:none;white-space:nowrap}.tox .tox-toolbar-label{padding:0 8px}.tox[dir=rtl] .tox-label{padding:0 0 0 8px}.tox .tox-form{display:flex;flex:1;flex-direction:column}.tox .tox-form__group{box-sizing:border-box;margin-bottom:4px}.tox .tox-form-group--maximize{flex:1}.tox .tox-form__group--error{color:#c00}.tox .tox-form__group--collection{display:flex}.tox .tox-form__grid{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between}.tox .tox-form__grid--2col>.tox-form__group{width:calc(50% - (8px / 2))}.tox .tox-form__grid--3col>.tox-form__group{width:calc(100% / 3 - (8px / 2))}.tox .tox-form__grid--4col>.tox-form__group{width:calc(25% - (8px / 2))}.tox .tox-form__controls-h-stack{align-items:center;display:flex}.tox .tox-form__group--inline{align-items:center;display:flex}.tox .tox-form__group--stretched{display:flex;flex:1;flex-direction:column}.tox .tox-form__group--stretched .tox-textarea{flex:1}.tox .tox-form__group--stretched .tox-navobj{display:flex;flex:1}.tox .tox-form__group--stretched .tox-navobj :nth-child(2){flex:1;height:100%}.tox:not([dir=rtl]) .tox-form__controls-h-stack>:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-form__controls-h-stack>:not(:first-child){margin-right:4px}.tox .tox-lock.tox-locked .tox-lock-icon__unlock,.tox .tox-lock:not(.tox-locked) .tox-lock-icon__lock{display:none}.tox .tox-listboxfield .tox-listbox--select,.tox .tox-textarea,.tox .tox-textfield,.tox .tox-toolbar-textfield{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-textarea[disabled],.tox .tox-textfield[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listboxfield .tox-listbox--select:focus,.tox .tox-textarea:focus,.tox .tox-textfield:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-toolbar-textfield{border-width:0;margin-bottom:3px;margin-top:2px;max-width:250px}.tox .tox-naked-btn{background-color:transparent;border:0;border-color:transparent;box-shadow:unset;color:#006ce7;cursor:pointer;display:block;margin:0;padding:0}.tox .tox-naked-btn svg{display:block;fill:#222f3e}.tox:not([dir=rtl]) .tox-toolbar-textfield+*{margin-left:4px}.tox[dir=rtl] .tox-toolbar-textfield+*{margin-right:4px}.tox .tox-listboxfield{cursor:pointer;position:relative}.tox .tox-listboxfield .tox-listbox--select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-listbox__select-label{cursor:default;flex:1;margin:0 4px}.tox .tox-listbox__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-listbox__select-chevron svg{fill:#222f3e}.tox .tox-listboxfield .tox-listbox--select{align-items:center;display:flex}.tox:not([dir=rtl]) .tox-listboxfield svg{right:8px}.tox[dir=rtl] .tox-listboxfield svg{left:8px}.tox .tox-selectfield{cursor:pointer;position:relative}.tox .tox-selectfield select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:#fff;border-color:#eee;border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;color:#222f3e;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;font-size:16px;line-height:24px;margin:0;min-height:34px;outline:0;padding:5px 5.5px;resize:none;width:100%}.tox .tox-selectfield select[disabled]{background-color:#f2f2f2;color:rgba(34,47,62,.85);cursor:not-allowed}.tox .tox-selectfield select::-ms-expand{display:none}.tox .tox-selectfield select:focus{background-color:#fff;border-color:#006ce7;box-shadow:0 0 0 2px rgba(0,108,231,.25);outline:0}.tox .tox-selectfield svg{pointer-events:none;position:absolute;top:50%;transform:translateY(-50%)}.tox:not([dir=rtl]) .tox-selectfield select[size="0"],.tox:not([dir=rtl]) .tox-selectfield select[size="1"]{padding-right:24px}.tox:not([dir=rtl]) .tox-selectfield svg{right:8px}.tox[dir=rtl] .tox-selectfield select[size="0"],.tox[dir=rtl] .tox-selectfield select[size="1"]{padding-left:24px}.tox[dir=rtl] .tox-selectfield svg{left:8px}.tox .tox-textarea{-webkit-appearance:textarea;-moz-appearance:textarea;appearance:textarea;white-space:pre-wrap}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201}.tox .tox-help__more-link{list-style:none;margin-top:1em}.tox .tox-imagepreview{background-color:#666;height:380px;overflow:hidden;position:relative;width:100%}.tox .tox-imagepreview.tox-imagepreview__loaded{overflow:auto}.tox .tox-imagepreview__container{display:flex;left:100vw;position:absolute;top:100vw}.tox .tox-imagepreview__image{background:url(data:image/gif;base64,R0lGODdhDAAMAIABAMzMzP///ywAAAAADAAMAAACFoQfqYeabNyDMkBQb81Uat85nxguUAEAOw==)}.tox .tox-image-tools .tox-spacer{flex:1}.tox .tox-image-tools .tox-bar{align-items:center;display:flex;height:60px;justify-content:center}.tox .tox-image-tools .tox-imagepreview,.tox .tox-image-tools .tox-imagepreview+.tox-bar{margin-top:8px}.tox .tox-image-tools .tox-croprect-block{background:#000;opacity:.5;position:absolute;zoom:1}.tox .tox-image-tools .tox-croprect-handle{border:2px solid #fff;height:20px;left:0;position:absolute;top:0;width:20px}.tox .tox-image-tools .tox-croprect-handle-move{border:0;cursor:move;position:absolute}.tox .tox-image-tools .tox-croprect-handle-nw{border-width:2px 0 0 2px;cursor:nw-resize;left:100px;margin:-2px 0 0 -2px;top:100px}.tox .tox-image-tools .tox-croprect-handle-ne{border-width:2px 2px 0 0;cursor:ne-resize;left:200px;margin:-2px 0 0 -20px;top:100px}.tox .tox-image-tools .tox-croprect-handle-sw{border-width:0 0 2px 2px;cursor:sw-resize;left:100px;margin:-20px 2px 0 -2px;top:200px}.tox .tox-image-tools .tox-croprect-handle-se{border-width:0 2px 2px 0;cursor:se-resize;left:200px;margin:-20px 0 0 -20px;top:200px}.tox .tox-insert-table-picker{display:flex;flex-wrap:wrap;width:170px}.tox .tox-insert-table-picker>div{border-color:#eee;border-style:solid;border-width:0 1px 1px 0;box-sizing:border-box;height:17px;width:17px}.tox .tox-collection--list .tox-collection__group .tox-insert-table-picker{margin:-4px -4px}.tox .tox-insert-table-picker .tox-insert-table-picker__selected{background-color:rgba(0,108,231,.5);border-color:rgba(0,108,231,.5)}.tox .tox-insert-table-picker__label{color:rgba(34,47,62,.7);display:block;font-size:14px;padding:4px;text-align:center;width:100%}.tox:not([dir=rtl]) .tox-insert-table-picker>div:nth-child(10n){border-right:0}.tox[dir=rtl] .tox-insert-table-picker>div:nth-child(10n+1){border-right:0}.tox .tox-menu{background-color:#fff;border:1px solid transparent;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);display:inline-block;overflow:hidden;vertical-align:top;z-index:1150}.tox .tox-menu.tox-collection.tox-collection--list{padding:0 4px}.tox .tox-menu.tox-collection.tox-collection--toolbar{padding:8px}.tox .tox-menu.tox-collection.tox-collection--grid{padding:8px}@media only screen and (min-width:768px){.tox .tox-menu .tox-collection__item-label{overflow-wrap:break-word;word-break:normal}}.tox .tox-menu__label blockquote,.tox .tox-menu__label code,.tox .tox-menu__label h1,.tox .tox-menu__label h2,.tox .tox-menu__label h3,.tox .tox-menu__label h4,.tox .tox-menu__label h5,.tox .tox-menu__label h6,.tox .tox-menu__label p{margin:0}.tox .tox-menubar{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;grid-column:1/-1;grid-row:1;padding:0 11px 0 12px}.tox .tox-promotion+.tox-menubar{grid-column:1}.tox .tox-promotion{background:repeating-linear-gradient(transparent 0 1px,transparent 1px 39px) center top 39px/100% calc(100% - 39px) no-repeat;background-color:#fff;grid-column:2;grid-row:1;padding-inline-end:8px;padding-inline-start:4px;padding-top:5px}.tox .tox-promotion-link{align-items:unsafe center;background-color:#e8f1f8;border-radius:5px;color:#086be6;cursor:pointer;display:flex;font-size:14px;height:26.6px;padding:4px 8px;white-space:nowrap}.tox .tox-promotion-link:hover{background-color:#b4d7ff}.tox .tox-promotion-link:focus{background-color:#d9edf7}.tox .tox-mbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:5px 1px 6px 0;outline:0;overflow:hidden;padding:0 4px;text-transform:none;width:auto}.tox .tox-mbtn[disabled]{background-color:transparent;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-mbtn:focus:not(:disabled){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn--active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn:hover:not(:disabled):not(.tox-mbtn--active){background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-mbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-mbtn[disabled] .tox-mbtn__select-label{cursor:not-allowed}.tox .tox-mbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px;display:none}.tox .tox-notification{border-radius:6px;border-style:solid;border-width:1px;box-shadow:none;box-sizing:border-box;display:grid;font-size:14px;font-weight:400;grid-template-columns:minmax(40px,1fr) auto minmax(40px,1fr);margin-top:4px;opacity:0;padding:4px;transition:transform .1s ease-in,opacity 150ms ease-in}.tox .tox-notification p{font-size:14px;font-weight:400}.tox .tox-notification a{cursor:pointer;text-decoration:underline}.tox .tox-notification--in{opacity:1}.tox .tox-notification--success{background-color:#e4eeda;border-color:#d7e6c8;color:#222f3e}.tox .tox-notification--success p{color:#222f3e}.tox .tox-notification--success a{color:#517342}.tox .tox-notification--success svg{fill:#222f3e}.tox .tox-notification--error{background-color:#f5cccc;border-color:#f0b3b3;color:#222f3e}.tox .tox-notification--error p{color:#222f3e}.tox .tox-notification--error a{color:#77181f}.tox .tox-notification--error svg{fill:#222f3e}.tox .tox-notification--warn,.tox .tox-notification--warning{background-color:#fff5cc;border-color:#fff0b3;color:#222f3e}.tox .tox-notification--warn p,.tox .tox-notification--warning p{color:#222f3e}.tox .tox-notification--warn a,.tox .tox-notification--warning a{color:#7a6e25}.tox .tox-notification--warn svg,.tox .tox-notification--warning svg{fill:#222f3e}.tox .tox-notification--info{background-color:#d6e7fb;border-color:#c1dbf9;color:#222f3e}.tox .tox-notification--info p{color:#222f3e}.tox .tox-notification--info a{color:#2a64a6}.tox .tox-notification--info svg{fill:#222f3e}.tox .tox-notification__body{align-self:center;color:#222f3e;font-size:14px;grid-column-end:3;grid-column-start:2;grid-row-end:2;grid-row-start:1;text-align:center;white-space:normal;word-break:break-all;word-break:break-word}.tox .tox-notification__body>*{margin:0}.tox .tox-notification__body>*+*{margin-top:1rem}.tox .tox-notification__icon{align-self:center;grid-column-end:2;grid-column-start:1;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification__icon svg{display:block}.tox .tox-notification__dismiss{align-self:start;grid-column-end:4;grid-column-start:3;grid-row-end:2;grid-row-start:1;justify-self:end}.tox .tox-notification .tox-progress-bar{grid-column-end:4;grid-column-start:1;grid-row-end:3;grid-row-start:2;justify-self:center}.tox .tox-pop{display:inline-block;position:relative}.tox .tox-pop--resizing{transition:width .1s ease}.tox .tox-pop--resizing .tox-toolbar,.tox .tox-pop--resizing .tox-toolbar__group{flex-wrap:nowrap}.tox .tox-pop--transition{transition:.15s ease;transition-property:left,right,top,bottom}.tox .tox-pop--transition::after,.tox .tox-pop--transition::before{transition:all .15s,visibility 0s,opacity 75ms ease 75ms}.tox .tox-pop__dialog{background-color:#fff;border:1px solid #eee;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);min-width:0;overflow:hidden}.tox .tox-pop__dialog>:not(.tox-toolbar){margin:4px 4px 4px 8px}.tox .tox-pop__dialog .tox-toolbar{background-color:transparent;margin-bottom:-1px}.tox .tox-pop::after,.tox .tox-pop::before{border-style:solid;content:\'\';display:block;height:0;opacity:1;position:absolute;width:0}.tox .tox-pop.tox-pop--inset::after,.tox .tox-pop.tox-pop--inset::before{opacity:0;transition:all 0s .15s,visibility 0s,opacity 75ms ease}.tox .tox-pop.tox-pop--bottom::after,.tox .tox-pop.tox-pop--bottom::before{left:50%;top:100%}.tox .tox-pop.tox-pop--bottom::after{border-color:#fff transparent transparent transparent;border-width:8px;margin-left:-8px;margin-top:-1px}.tox .tox-pop.tox-pop--bottom::before{border-color:#eee transparent transparent transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--top::after,.tox .tox-pop.tox-pop--top::before{left:50%;top:0;transform:translateY(-100%)}.tox .tox-pop.tox-pop--top::after{border-color:transparent transparent #fff transparent;border-width:8px;margin-left:-8px;margin-top:1px}.tox .tox-pop.tox-pop--top::before{border-color:transparent transparent #eee transparent;border-width:9px;margin-left:-9px}.tox .tox-pop.tox-pop--left::after,.tox .tox-pop.tox-pop--left::before{left:0;top:calc(50% - 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--left::after{border-color:transparent #fff transparent transparent;border-width:8px;margin-left:-15px}.tox .tox-pop.tox-pop--left::before{border-color:transparent #eee transparent transparent;border-width:10px;margin-left:-19px}.tox .tox-pop.tox-pop--right::after,.tox .tox-pop.tox-pop--right::before{left:100%;top:calc(50% + 1px);transform:translateY(-50%)}.tox .tox-pop.tox-pop--right::after{border-color:transparent transparent transparent #fff;border-width:8px;margin-left:-1px}.tox .tox-pop.tox-pop--right::before{border-color:transparent transparent transparent #eee;border-width:10px;margin-left:-1px}.tox .tox-pop.tox-pop--align-left::after,.tox .tox-pop.tox-pop--align-left::before{left:20px}.tox .tox-pop.tox-pop--align-right::after,.tox .tox-pop.tox-pop--align-right::before{left:calc(100% - 20px)}.tox .tox-sidebar-wrap{display:flex;flex-direction:row;flex-grow:1;min-height:0}.tox .tox-sidebar{background-color:#fff;display:flex;flex-direction:row;justify-content:flex-end}.tox .tox-sidebar__slider{display:flex;overflow:hidden}.tox .tox-sidebar__pane-container{display:flex}.tox .tox-sidebar__pane{display:flex}.tox .tox-sidebar--sliding-closed{opacity:0}.tox .tox-sidebar--sliding-open{opacity:1}.tox .tox-sidebar--sliding-growing,.tox .tox-sidebar--sliding-shrinking{transition:width .5s ease,opacity .5s ease}.tox .tox-selector{background-color:#4099ff;border-color:#4099ff;border-style:solid;border-width:1px;box-sizing:border-box;display:inline-block;height:10px;position:absolute;width:10px}.tox.tox-platform-touch .tox-selector{height:12px;width:12px}.tox .tox-slider{align-items:center;display:flex;flex:1;height:24px;justify-content:center;position:relative}.tox .tox-slider__rail{background-color:transparent;border:1px solid #eee;border-radius:6px;height:10px;min-width:120px;width:100%}.tox .tox-slider__handle{background-color:#006ce7;border:2px solid #0054b4;border-radius:6px;box-shadow:none;height:24px;left:50%;position:absolute;top:50%;transform:translateX(-50%) translateY(-50%);width:14px}.tox .tox-form__controls-h-stack>.tox-slider:not(:first-of-type){margin-inline-start:8px}.tox .tox-form__controls-h-stack>.tox-form__group+.tox-slider{margin-inline-start:32px}.tox .tox-form__controls-h-stack>.tox-slider+.tox-form__group{margin-inline-start:32px}.tox .tox-source-code{overflow:auto}.tox .tox-spinner{display:flex}.tox .tox-spinner>div{animation:tam-bouncing-dots 1.5s ease-in-out 0s infinite both;background-color:rgba(34,47,62,.7);border-radius:100%;height:8px;width:8px}.tox .tox-spinner>div:nth-child(1){animation-delay:-.32s}.tox .tox-spinner>div:nth-child(2){animation-delay:-.16s}@keyframes tam-bouncing-dots{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.tox:not([dir=rtl]) .tox-spinner>div:not(:first-child){margin-left:4px}.tox[dir=rtl] .tox-spinner>div:not(:first-child){margin-right:4px}.tox .tox-statusbar{align-items:center;background-color:#fff;border-top:1px solid #e3e3e3;color:rgba(34,47,62,.7);display:flex;flex:0 0 auto;font-size:14px;font-weight:400;height:25px;overflow:hidden;padding:0 8px;position:relative;text-transform:none}.tox .tox-statusbar__text-container{display:flex;flex:1 1 auto;justify-content:flex-end;overflow:hidden}.tox .tox-statusbar__path{display:flex;flex:1 1 auto;margin-right:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tox .tox-statusbar__path>*{display:inline;white-space:nowrap}.tox .tox-statusbar__wordcount{flex:0 0 auto;margin-left:1ch}.tox .tox-statusbar a,.tox .tox-statusbar__path-item,.tox .tox-statusbar__wordcount{color:rgba(34,47,62,.7);text-decoration:none}.tox .tox-statusbar a:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar a:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__path-item:hover:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:focus:not(:disabled):not([aria-disabled=true]),.tox .tox-statusbar__wordcount:hover:not(:disabled):not([aria-disabled=true]){color:#222f3e;cursor:pointer}.tox .tox-statusbar__branding svg{fill:rgba(34,47,62,.8);height:1.14em;vertical-align:-.28em;width:3.6em}.tox .tox-statusbar__branding a:focus:not(:disabled):not([aria-disabled=true]) svg,.tox .tox-statusbar__branding a:hover:not(:disabled):not([aria-disabled=true]) svg{fill:#222f3e}.tox .tox-statusbar__resize-handle{align-items:flex-end;align-self:stretch;cursor:nwse-resize;display:flex;flex:0 0 auto;justify-content:flex-end;margin-left:auto;margin-right:-8px;padding-bottom:3px;padding-left:1ch;padding-right:3px}.tox .tox-statusbar__resize-handle svg{display:block;fill:rgba(34,47,62,.5)}.tox .tox-statusbar__resize-handle:focus svg{background-color:#dee0e2;border-radius:1px 1px 5px 1px;box-shadow:0 0 0 2px #dee0e2}.tox:not([dir=rtl]) .tox-statusbar__path>*{margin-right:4px}.tox:not([dir=rtl]) .tox-statusbar__branding{margin-left:2ch}.tox[dir=rtl] .tox-statusbar{flex-direction:row-reverse}.tox[dir=rtl] .tox-statusbar__path>*{margin-left:4px}.tox .tox-throbber{z-index:1299}.tox .tox-throbber__busy-spinner{align-items:center;background-color:rgba(255,255,255,.6);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0}.tox .tox-tbtn{align-items:center;background:0 0;border:0;border-radius:3px;box-shadow:none;color:#222f3e;display:flex;flex:0 0 auto;font-size:14px;font-style:normal;font-weight:400;height:28px;justify-content:center;margin:6px 1px 5px 0;outline:0;overflow:hidden;padding:0;text-transform:none;width:34px}.tox .tox-tbtn svg{display:block;fill:#222f3e}.tox .tox-tbtn.tox-tbtn-more{padding-left:5px;padding-right:5px;width:inherit}.tox .tox-tbtn:focus{background:#cce2fa;border:0;box-shadow:none}.tox .tox-tbtn:hover{background:#cce2fa;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:hover svg{fill:#222f3e}.tox .tox-tbtn:active{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn:active svg{fill:#222f3e}.tox .tox-tbtn--disabled,.tox .tox-tbtn--disabled:hover,.tox .tox-tbtn:disabled,.tox .tox-tbtn:disabled:hover{background:0 0;border:0;box-shadow:none;color:rgba(34,47,62,.5);cursor:not-allowed}.tox .tox-tbtn--disabled svg,.tox .tox-tbtn--disabled:hover svg,.tox .tox-tbtn:disabled svg,.tox .tox-tbtn:disabled:hover svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--enabled,.tox .tox-tbtn--enabled:hover{background:#a6ccf7;border:0;box-shadow:none;color:#222f3e}.tox .tox-tbtn--enabled:hover>*,.tox .tox-tbtn--enabled>*{transform:none}.tox .tox-tbtn--enabled svg,.tox .tox-tbtn--enabled:hover svg{fill:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled){color:#222f3e}.tox .tox-tbtn:focus:not(.tox-tbtn--disabled) svg{fill:#222f3e}.tox .tox-tbtn:active>*{transform:none}.tox .tox-tbtn--md{height:42px;width:51px}.tox .tox-tbtn--lg{flex-direction:column;height:56px;width:68px}.tox .tox-tbtn--return{align-self:stretch;height:unset;width:16px}.tox .tox-tbtn--labeled{padding:0 4px;width:unset}.tox .tox-tbtn__vlabel{display:block;font-size:10px;font-weight:400;letter-spacing:-.025em;margin-bottom:4px;white-space:nowrap}.tox .tox-tbtn--select{margin:6px 1px 5px 0;padding:0 4px;width:auto}.tox .tox-tbtn__select-label{cursor:default;font-weight:400;margin:0 4px}.tox .tox-tbtn__select-chevron{align-items:center;display:flex;justify-content:center;width:16px}.tox .tox-tbtn__select-chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-tbtn--bespoke{background:#f7f7f7}.tox .tox-tbtn--bespoke+.tox-tbtn--bespoke{margin-inline-start:4px}.tox .tox-tbtn--bespoke .tox-tbtn__select-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:7em}.tox .tox-split-button{border:0;border-radius:3px;box-sizing:border-box;display:flex;margin:6px 1px 5px 0;overflow:hidden}.tox .tox-split-button:hover{box-shadow:0 0 0 1px #cce2fa inset}.tox .tox-split-button:focus{background:#cce2fa;box-shadow:none;color:#222f3e}.tox .tox-split-button>*{border-radius:0}.tox .tox-split-button__chevron{width:16px}.tox .tox-split-button__chevron svg{fill:rgba(34,47,62,.5)}.tox .tox-split-button .tox-tbtn{margin:0}.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:focus,.tox .tox-split-button.tox-tbtn--disabled .tox-tbtn:hover,.tox .tox-split-button.tox-tbtn--disabled:focus,.tox .tox-split-button.tox-tbtn--disabled:hover{background:0 0;box-shadow:none;color:rgba(34,47,62,.5)}.tox.tox-platform-touch .tox-split-button .tox-tbtn--select{padding:0 0}.tox.tox-platform-touch .tox-split-button .tox-tbtn:not(.tox-tbtn--select):first-child{width:30px}.tox.tox-platform-touch .tox-split-button__chevron{width:20px}.tox .tox-toolbar-overlord{background-color:#fff}.tox .tox-toolbar,.tox .tox-toolbar__overflow,.tox .tox-toolbar__primary{background-color:#fff;background-image:repeating-linear-gradient(#e3e3e3 0 1px,transparent 1px 39px);background-position:center top 40px;background-repeat:no-repeat;background-size:calc(100% - 11px * 2) calc(100% - 41px);display:flex;flex:0 0 auto;flex-shrink:0;flex-wrap:wrap;padding:0 0;transform:perspective(1px)}.tox .tox-toolbar-overlord>.tox-toolbar,.tox .tox-toolbar-overlord>.tox-toolbar__overflow,.tox .tox-toolbar-overlord>.tox-toolbar__primary{background-position:center top 0;background-size:calc(100% - 11px * 2) calc(100% - 0px)}.tox .tox-toolbar__overflow.tox-toolbar__overflow--closed{height:0;opacity:0;padding-bottom:0;padding-top:0;visibility:hidden}.tox .tox-toolbar__overflow--growing{transition:height .3s ease,opacity .2s linear .1s}.tox .tox-toolbar__overflow--shrinking{transition:opacity .3s ease,height .2s linear .1s,visibility 0s linear .3s}.tox .tox-anchorbar,.tox .tox-toolbar-overlord{grid-column:1/-1}.tox .tox-menubar+.tox-toolbar,.tox .tox-menubar+.tox-toolbar-overlord{border-top:1px solid transparent;margin-top:-1px;padding-bottom:1px;padding-top:1px}.tox .tox-toolbar--scrolling{flex-wrap:nowrap;overflow-x:auto}.tox .tox-pop .tox-toolbar{border-width:0}.tox .tox-toolbar--no-divider{background-image:none}.tox .tox-toolbar-overlord .tox-toolbar:not(.tox-toolbar--scrolling):first-child,.tox .tox-toolbar-overlord .tox-toolbar__primary{background-position:center top 39px}.tox .tox-editor-header>.tox-toolbar--scrolling,.tox .tox-toolbar-overlord .tox-toolbar--scrolling:first-child{background-image:none}.tox.tox-tinymce-aux .tox-toolbar__overflow{background-color:#fff;background-position:center top 43px;background-size:calc(100% - 8px * 2) calc(100% - 51px);border:none;border-radius:6px;box-shadow:0 0 2px 0 rgba(34,47,62,.2),0 4px 8px 0 rgba(34,47,62,.15);padding:4px 0}.tox-pop .tox-pop__dialog .tox-toolbar{background-position:center top 43px;background-size:calc(100% - 11px * 2) calc(100% - 51px);padding:4px 0}.tox .tox-toolbar__group{align-items:center;display:flex;flex-wrap:wrap;margin:0 0;padding:0 11px 0 12px}.tox .tox-toolbar__group--pull-right{margin-left:auto}.tox .tox-toolbar--scrolling .tox-toolbar__group{flex-shrink:0;flex-wrap:nowrap}.tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type){border-right:1px solid transparent}.tox[dir=rtl] .tox-toolbar__group:not(:last-of-type){border-left:1px solid transparent}.tox .tox-tooltip{display:inline-block;padding:8px;position:relative}.tox .tox-tooltip__body{background-color:#222f3e;border-radius:6px;box-shadow:0 2px 4px rgba(34,47,62,.3);color:rgba(255,255,255,.75);font-size:14px;font-style:normal;font-weight:400;padding:4px 8px;text-transform:none}.tox .tox-tooltip__arrow{position:absolute}.tox .tox-tooltip--down .tox-tooltip__arrow{border-left:8px solid transparent;border-right:8px solid transparent;border-top:8px solid #222f3e;bottom:0;left:50%;position:absolute;transform:translateX(-50%)}.tox .tox-tooltip--up .tox-tooltip__arrow{border-bottom:8px solid #222f3e;border-left:8px solid transparent;border-right:8px solid transparent;left:50%;position:absolute;top:0;transform:translateX(-50%)}.tox .tox-tooltip--right .tox-tooltip__arrow{border-bottom:8px solid transparent;border-left:8px solid #222f3e;border-top:8px solid transparent;position:absolute;right:0;top:50%;transform:translateY(-50%)}.tox .tox-tooltip--left .tox-tooltip__arrow{border-bottom:8px solid transparent;border-right:8px solid #222f3e;border-top:8px solid transparent;left:0;position:absolute;top:50%;transform:translateY(-50%)}.tox .tox-well{border:1px solid #eee;border-radius:6px;padding:8px;width:100%}.tox .tox-well>:first-child{margin-top:0}.tox .tox-well>:last-child{margin-bottom:0}.tox .tox-well>:only-child{margin:0}.tox .tox-custom-editor{border:1px solid #eee;border-radius:6px;display:flex;flex:1;position:relative}.tox .tox-dialog-loading::before{background-color:rgba(0,0,0,.5);content:"";height:100%;position:absolute;width:100%;z-index:1000}.tox .tox-tab{cursor:pointer}.tox .tox-dialog__content-js{display:flex;flex:1}.tox .tox-dialog__body-content .tox-collection{display:flex;flex:1}\n'],sourceRoot:""}]),t.Z=a},37745:function(e,t,n){"use strict";var r=n(94015),o=n.n(r),i=n(23645),a=n.n(i)()(o());a.push([e.id,"@charset \"UTF-8\";trix-editor{border:1px solid #bbb;border-radius:3px;margin:0;min-height:5em;outline:none;padding:.4em .6em}trix-toolbar *{-webkit-box-sizing:border-box;box-sizing:border-box}trix-toolbar .trix-button-row{-webkit-box-pack:justify;-ms-flex-pack:justify;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;justify-content:space-between;overflow-x:auto}trix-toolbar .trix-button-group{border-color:#ccc #bbb #888;border-radius:3px;border-style:solid;border-width:1px;display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:10px}trix-toolbar .trix-button-group:not(:first-child){margin-left:1.5vw}@media (max-device-width:768px){trix-toolbar .trix-button-group:not(:first-child){margin-left:0}}trix-toolbar .trix-button-group-spacer{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (max-device-width:768px){trix-toolbar .trix-button-group-spacer{display:none}}trix-toolbar .trix-button{background:transparent;border:none;border-bottom:1px solid #ddd;border-radius:0;color:rgba(0,0,0,.6);float:left;font-size:.75em;font-weight:600;margin:0;outline:none;padding:0 .5em;position:relative;white-space:nowrap}trix-toolbar .trix-button:not(:first-child){border-left:1px solid #ccc}trix-toolbar .trix-button.trix-active{background:#cbeefa;color:#000}trix-toolbar .trix-button:not(:disabled){cursor:pointer}trix-toolbar .trix-button:disabled{color:rgba(0,0,0,.125)}@media (max-device-width:768px){trix-toolbar .trix-button{letter-spacing:-.01em;padding:0 .3em}}trix-toolbar .trix-button--icon{font-size:inherit;height:1.6em;max-width:calc(.8em + 4vw);text-indent:-9999px;width:2.6em}@media (max-device-width:768px){trix-toolbar .trix-button--icon{height:2em;max-width:calc(.8em + 3.5vw)}}trix-toolbar .trix-button--icon:before{background-position:50%;background-repeat:no-repeat;background-size:contain;bottom:0;content:\"\";display:inline-block;left:0;opacity:.6;position:absolute;right:0;top:0}@media (max-device-width:768px){trix-toolbar .trix-button--icon:before{left:6%;right:6%}}trix-toolbar .trix-button--icon.trix-active:before{opacity:1}trix-toolbar .trix-button--icon:disabled:before{opacity:.125}trix-toolbar .trix-button--icon-attach:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M16.5 6v11.5a4 4 0 1 1-8 0V5a2.5 2.5 0 0 1 5 0v10.5a1 1 0 1 1-2 0V6H10v9.5a2.5 2.5 0 0 0 5 0V5a4 4 0 1 0-8 0v12.5a5.5 5.5 0 0 0 11 0V6h-1.5z'/%3E%3C/svg%3E\");bottom:4%;top:8%}trix-toolbar .trix-button--icon-bold:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M15.6 11.8c1-.7 1.6-1.8 1.6-2.8a4 4 0 0 0-4-4H7v14h7c2.1 0 3.7-1.7 3.7-3.8 0-1.5-.8-2.8-2.1-3.4zM10 7.5h3a1.5 1.5 0 1 1 0 3h-3v-3zm3.5 9H10v-3h3.5a1.5 1.5 0 1 1 0 3z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-italic:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M10 5v3h2.2l-3.4 8H6v3h8v-3h-2.2l3.4-8H18V5h-8z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-link:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M9.88 13.7a4.3 4.3 0 0 1 0-6.07l3.37-3.37a4.26 4.26 0 0 1 6.07 0 4.3 4.3 0 0 1 0 6.06l-1.96 1.72a.91.91 0 1 1-1.3-1.3l1.97-1.71a2.46 2.46 0 0 0-3.48-3.48l-3.38 3.37a2.46 2.46 0 0 0 0 3.48.91.91 0 1 1-1.3 1.3z'/%3E%3Cpath d='M4.25 19.46a4.3 4.3 0 0 1 0-6.07l1.93-1.9a.91.91 0 1 1 1.3 1.3l-1.93 1.9a2.46 2.46 0 0 0 3.48 3.48l3.37-3.38c.96-.96.96-2.52 0-3.48a.91.91 0 1 1 1.3-1.3 4.3 4.3 0 0 1 0 6.07l-3.38 3.38a4.26 4.26 0 0 1-6.07 0z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-strike:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='m12.73 14 .28.14c.26.15.45.3.57.44.12.14.18.3.18.5 0 .3-.15.56-.44.75-.3.2-.76.3-1.39.3A13.52 13.52 0 0 1 7 14.95v3.37a10.64 10.64 0 0 0 4.84.88c1.26 0 2.35-.19 3.28-.56.93-.37 1.64-.9 2.14-1.57s.74-1.45.74-2.32c0-.26-.02-.51-.06-.75h-5.21zm-5.5-4c-.08-.34-.12-.7-.12-1.1 0-1.29.52-2.3 1.58-3.02 1.05-.72 2.5-1.08 4.34-1.08 1.62 0 3.28.34 4.97 1l-1.3 2.93c-1.47-.6-2.73-.9-3.8-.9-.55 0-.96.08-1.2.26-.26.17-.38.38-.38.64 0 .27.16.52.48.74.17.12.53.3 1.05.53H7.23zM3 13h18v-2H3v2z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-quote:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg version='1' xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-heading-1:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg version='1' xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12 9v3H9v7H6v-7H3V9h9zM8 4h14v3h-6v12h-3V7H8V4z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-code:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18.2 12 15 15.2l1.4 1.4L21 12l-4.6-4.6L15 8.8l3.2 3.2zM5.8 12 9 8.8 7.6 7.4 3 12l4.6 4.6L9 15.2 5.8 12z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-bullet-list:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg version='1' xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M4 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm0 6a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm4 3h14v-2H8v2zm0-6h14v-2H8v2zm0-8v2h14V5H8z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-number-list:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M2 17h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1 3h1.8L2 13.1v.9h3v-1H3.2L5 10.9V10H2v1zm5-6v2h14V5H7zm0 14h14v-2H7v2zm0-6h14v-2H7v2z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-undo:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M12.5 8c-2.6 0-5 1-6.9 2.6L2 7v9h9l-3.6-3.6A8 8 0 0 1 20 16l2.4-.8a10.5 10.5 0 0 0-10-7.2z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-redo:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M18.4 10.6a10.5 10.5 0 0 0-16.9 4.6L4 16a8 8 0 0 1 12.7-3.6L13 16h9V7l-3.6 3.6z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-decrease-nesting-level:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M3 19h19v-2H3v2zm7-6h12v-2H10v2zm-8.3-.3 2.8 2.9L6 14.2 4 12l2-2-1.4-1.5L1 12l.7.7zM3 5v2h19V5H3z'/%3E%3C/svg%3E\")}trix-toolbar .trix-button--icon-increase-nesting-level:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24'%3E%3Cpath d='M3 19h19v-2H3v2zm7-6h12v-2H10v2zm-6.9-1L1 14.2l1.4 1.4L6 12l-.7-.7-2.8-2.8L1 9.9 3.1 12zM3 5v2h19V5H3z'/%3E%3C/svg%3E\")}trix-toolbar .trix-dialogs{position:relative}trix-toolbar .trix-dialog{background:#fff;border-radius:5px;border-top:2px solid #888;-webkit-box-shadow:0 .3em 1em #ccc;box-shadow:0 .3em 1em #ccc;font-size:.75em;left:0;padding:15px 10px;position:absolute;right:0;top:0;z-index:5}trix-toolbar .trix-input--dialog{-webkit-appearance:none;-moz-appearance:none;background-color:#fff;border:1px solid #bbb;border-radius:3px;-webkit-box-shadow:none;box-shadow:none;font-size:inherit;font-weight:400;margin:0 10px 0 0;outline:none;padding:.5em .8em}trix-toolbar .trix-input--dialog.validate:invalid{-webkit-box-shadow:0 0 1.5px 1px red;box-shadow:0 0 1.5px 1px red}trix-toolbar .trix-button--dialog{border-bottom:none;font-size:inherit;padding:.5em}trix-toolbar .trix-dialog--link{max-width:600px}trix-toolbar .trix-dialog__link-fields{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;display:-webkit-box;display:-ms-flexbox;display:flex}trix-toolbar .trix-dialog__link-fields .trix-input{-webkit-box-flex:1;-ms-flex:1;flex:1}trix-toolbar .trix-dialog__link-fields .trix-button-group{-webkit-box-flex:0;-ms-flex:0 0 content;flex:0 0 content;margin:0}trix-editor [data-trix-mutable]:not(.attachment__caption-editor){-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}trix-editor [data-trix-cursor-target]::-moz-selection,trix-editor [data-trix-mutable] ::-moz-selection,trix-editor [data-trix-mutable]::-moz-selection{background:none}trix-editor [data-trix-cursor-target]::selection,trix-editor [data-trix-mutable] ::selection,trix-editor [data-trix-mutable]::selection{background:none}trix-editor [data-trix-mutable].attachment__caption-editor:focus::-moz-selection{background:highlight}trix-editor [data-trix-mutable].attachment__caption-editor:focus::selection{background:highlight}trix-editor [data-trix-mutable].attachment.attachment--file{border-color:transparent}trix-editor [data-trix-mutable].attachment img,trix-editor [data-trix-mutable].attachment.attachment--file{-webkit-box-shadow:0 0 0 2px highlight;box-shadow:0 0 0 2px highlight}trix-editor .attachment{position:relative}trix-editor .attachment:hover{cursor:default}trix-editor .attachment--preview .attachment__caption:hover{cursor:text}trix-editor .attachment__progress{height:20px;left:5%;opacity:.9;position:absolute;top:calc(50% - 10px);-webkit-transition:opacity .2s ease-in;transition:opacity .2s ease-in;width:90%;z-index:1}trix-editor .attachment__progress[value=\"100\"]{opacity:0}trix-editor .attachment__caption-editor{-webkit-appearance:none;-moz-appearance:none;border:none;color:inherit;display:inline-block;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;outline:none;padding:0;text-align:center;vertical-align:top;width:100%}trix-editor .attachment__toolbar{left:0;position:absolute;text-align:center;top:-.9em;width:100%;z-index:1}trix-editor .trix-button-group{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}trix-editor .trix-button{background:transparent;border:none;border-radius:0;color:#666;float:left;font-size:80%;margin:0;outline:none;padding:0 .8em;position:relative;white-space:nowrap}trix-editor .trix-button:not(:first-child){border-left:1px solid #ccc}trix-editor .trix-button.trix-active{background:#cbeefa}trix-editor .trix-button:not(:disabled){cursor:pointer}trix-editor .trix-button--remove{background-color:#fff;border:2px solid highlight;border-radius:50%;-webkit-box-shadow:1px 1px 6px rgba(0,0,0,.25);box-shadow:1px 1px 6px rgba(0,0,0,.25);display:inline-block;height:1.8em;line-height:1.8em;outline:none;padding:0;text-indent:-9999px;width:1.8em}trix-editor .trix-button--remove:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg height='24' width='24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M19 6.4 17.6 5 12 10.6 6.4 5 5 6.4l5.6 5.6L5 17.6 6.4 19l5.6-5.6 5.6 5.6 1.4-1.4-5.6-5.6z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:90%;bottom:0;content:\"\";display:inline-block;left:0;opacity:.7;position:absolute;right:0;top:0}trix-editor .trix-button--remove:hover{border-color:#333}trix-editor .trix-button--remove:hover:before{opacity:1}trix-editor .attachment__metadata-container{position:relative}trix-editor .attachment__metadata{background-color:rgba(0,0,0,.7);border-radius:3px;color:#fff;font-size:.8em;left:50%;max-width:90%;padding:.1em .6em;position:absolute;top:2em;-webkit-transform:translate(-50%);transform:translate(-50%)}trix-editor .attachment__metadata .attachment__name{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap}trix-editor .attachment__metadata .attachment__size{margin-left:.2em;white-space:nowrap}.trix-content{line-height:1.5}.trix-content *{-webkit-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0}.trix-content h1{font-size:1.2em;line-height:1.2}.trix-content blockquote{border:solid #ccc;border-width:0 0 0 .3em;margin-left:.3em;padding-left:.6em}.trix-content [dir=rtl] blockquote,.trix-content blockquote[dir=rtl]{border-width:0 .3em 0 0;margin-right:.3em;padding-right:.6em}.trix-content li{margin-left:1em}.trix-content [dir=rtl] li{margin-right:1em}.trix-content pre{background-color:#eee;display:inline-block;font-family:monospace;font-size:.9em;overflow-x:auto;padding:.5em;vertical-align:top;white-space:pre;width:100%}.trix-content img{height:auto;max-width:100%}.trix-content .attachment{display:inline-block;max-width:100%;position:relative}.trix-content .attachment a{color:inherit;text-decoration:none}.trix-content .attachment a:hover,.trix-content .attachment a:visited:hover{color:inherit}.trix-content .attachment__caption{text-align:center}.trix-content .attachment__caption .attachment__name+.attachment__size:before{content:\" · \"}.trix-content .attachment--preview{text-align:center;width:100%}.trix-content .attachment--preview .attachment__caption{color:#666;font-size:.9em;line-height:1.2}.trix-content .attachment--file{border:1px solid #bbb;border-radius:5px;color:#333;line-height:1;margin:0 2px 2px;padding:.4em 1em}.trix-content .attachment-gallery{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;position:relative}.trix-content .attachment-gallery .attachment{-webkit-box-flex:1;-ms-flex:1 0 33%;flex:1 0 33%;max-width:33%;padding:0 .5em}.trix-content .attachment-gallery.attachment-gallery--2 .attachment,.trix-content .attachment-gallery.attachment-gallery--4 .attachment{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}","",{version:3,sources:["webpack://./node_modules/trix/dist/trix.css"],names:[],mappings:"AA4VI,gBACkB,CAxVtB,YACE,qBAAsB,CACtB,iBAAkB,CAClB,QAAS,CAET,cAAe,CACf,YAAa,CAFb,iBAEe,CACjB,eACE,6BAAsB,CAAtB,qBAAwB,CAC1B,8BAGE,wBAA8B,CAA9B,qBAA8B,CAF9B,mBAAa,CAAb,mBAAa,CAAb,YAAa,CACb,oBAAiB,CAAjB,gBAAiB,CACjB,6BAA8B,CAC9B,eAAkB,CACpB,gCAKE,2BAAyB,CACzB,iBAAkB,CADlB,kBAAyB,CAAzB,gBAAyB,CAJzB,mBAAa,CAAb,mBAAa,CAAb,YAAa,CACb,kBAIoB,CACpB,kDACE,iBAAoB,CACpB,gCACE,kDACE,aAAgB,CAAE,CAC1B,uCACE,kBAAY,CAAZ,mBAAY,CAAZ,WAAc,CACd,gCACE,uCACE,YAAe,CAAE,CACvB,0BAaE,sBAAuB,CAFvB,WAA6B,CAA7B,4BAA6B,CAC7B,eAAgB,CAThB,oBAAyB,CADzB,UAAW,CAEX,eAAiB,CACjB,eAAgB,CAGhB,QAAS,CACT,YAAa,CAFb,cAAgB,CANhB,iBAAkB,CAKlB,kBAOyB,CACzB,4CACE,0BAA6B,CAC/B,sCACE,kBAAmB,CACnB,UAAc,CAChB,yCACE,cAAiB,CACnB,mCACE,sBAA6B,CAC/B,gCACE,0BACE,qBAAuB,CACvB,cAAkB,CAAE,CAC1B,gCACE,iBAAkB,CAElB,YAAa,CACb,0BAA4B,CAC5B,mBAAoB,CAHpB,WAGsB,CACtB,gCACE,gCACE,UAAW,CACX,4BAAgC,CAAE,CACtC,uCASE,uBAA2B,CAC3B,2BAA4B,CAC5B,uBAAwB,CANxB,QAAS,CAGT,UAAW,CAPX,oBAAqB,CAKrB,MAAO,CACP,UAAY,CALZ,iBAAkB,CAElB,OAAQ,CADR,KAQ0B,CAC1B,gCACE,uCAEE,OAAQ,CADR,QACU,CAAE,CAClB,mDACE,SAAY,CACd,gDACE,YAAgB,CACpB,8CACE,kSAAqY,CAErY,SAAU,CADV,MACY,CACd,4CACE,2TAA8Y,CAChZ,8CACE,qMAA0O,CAC5O,4CACE,skBAAqwB,CACvwB,8CACE,qnBAA4tB,CAC9tB,6CACE,0MAAuP,CACzP,iDACE,kNAA+P,CACjQ,4CACE,8PAA+T,CACjU,mDACE,iTAA0a,CAC5a,mDACE,gSAA2U,CAC7U,4CACE,gPAA+S,CACjT,4CACE,qOAAkS,CACpS,8DACE,uPAAsS,CACxS,8DACE,4PAA6S,CAC/S,2BACE,iBAAoB,CACtB,0BAOE,eAAgB,CAGhB,iBAAkB,CADlB,yBAA0B,CAD1B,kCAA4B,CAA5B,0BAA4B,CAH5B,eAAiB,CAFjB,MAAO,CAGP,iBAAkB,CALlB,iBAAkB,CAGlB,OAAQ,CAFR,KAAM,CASN,SAAY,CACd,iCAUE,uBAAwB,CACxB,oBAAqB,CAJrB,qBAAsB,CADtB,qBAAsB,CADtB,iBAAkB,CAGlB,uBAAgB,CAAhB,eAAgB,CAPhB,iBAAkB,CAClB,eAAmB,CAEnB,iBAAkB,CAKlB,YAAa,CANb,iBAQuB,CACvB,kDACE,oCAAkC,CAAlC,4BAAoC,CACxC,kCAGE,kBAAmB,CAFnB,iBAAkB,CAClB,YACqB,CACvB,gCACE,eAAkB,CACpB,uCAEE,0BAAqB,CAArB,uBAAqB,CAArB,oBAAqB,CADrB,mBAAa,CAAb,mBAAa,CAAb,YACuB,CACvB,mDACE,kBAAO,CAAP,UAAO,CAAP,MAAS,CACX,0DACE,kBAAiB,CAAjB,oBAAiB,CAAjB,gBAAiB,CACjB,QAAW,CACf,iEACE,wBAAyB,CACzB,qBAAsB,CACtB,oBAAqB,CACrB,gBAAmB,CAKrB,uJAEE,eAAkB,CAFpB,wIAEE,eAAkB,CAEpB,iFACE,oBAAuB,CACzB,4EACE,oBAAuB,CAEzB,4DAEE,wBAA2B,CAC7B,2GAFE,sCAA+B,CAA/B,8BAGiC,CACnC,wBACE,iBAAoB,CACpB,8BACE,cAAiB,CACrB,4DACE,WAAc,CAChB,kCAGE,WAAY,CAEZ,OAAQ,CAER,UAAY,CANZ,iBAAkB,CAGlB,oBAAqB,CAIrB,sCAAiC,CAAjC,8BAAiC,CAFjC,SAAU,CAJV,SAMmC,CACnC,+CACE,SAAY,CAChB,wCAaE,uBAAwB,CACxB,oBAAqB,CAHrB,WAAY,CAHZ,aAAc,CAPd,oBAAqB,CAKrB,mBAAoB,CADpB,iBAAkB,CAElB,mBAAoB,CAJpB,QAAS,CAST,YAAa,CARb,SAAU,CAKV,iBAAkB,CAClB,kBAAmB,CARnB,UAYuB,CACzB,iCAIE,MAAO,CAHP,iBAAkB,CAKlB,iBAAkB,CAHlB,SAAW,CAEX,UAAW,CAHX,SAIoB,CACtB,+BACE,0BAAoB,CAApB,0BAAoB,CAApB,mBAAsB,CACxB,yBAWE,sBAAuB,CAFvB,WAAY,CACZ,eAAgB,CAPhB,UAAW,CADX,UAAW,CAGX,aAAc,CAEd,QAAS,CACT,YAAa,CAFb,cAAgB,CALhB,iBAAkB,CAGlB,kBAOyB,CACzB,2CACE,0BAA6B,CAC/B,qCACE,kBAAqB,CACvB,wCACE,cAAiB,CACrB,iCASE,qBAAsB,CACtB,0BAA2B,CAF3B,iBAAkB,CAGlB,8CAA2C,CAA3C,sCAA2C,CAT3C,oBAAqB,CAIrB,YAAa,CACb,iBAAkB,CAHlB,YAAa,CADb,SAAU,CAFV,mBAAoB,CAIpB,WAM6C,CAC7C,wCASE,wRAAyW,CACzW,uBAA2B,CAC3B,2BAA4B,CAC5B,mBAAoB,CAPpB,QAAS,CAGT,UAAW,CAPX,oBAAqB,CAKrB,MAAO,CACP,UAAY,CALZ,iBAAkB,CAElB,OAAQ,CADR,KASsB,CACxB,uCACE,iBAAoB,CACpB,8CACE,SAAY,CAClB,4CACE,iBAAoB,CACtB,kCASE,+BAAoC,CACpC,iBAAkB,CAFlB,UAAW,CADX,cAAgB,CALhB,QAAS,CAGT,aAAc,CACd,iBAAoB,CALpB,iBAAkB,CAElB,OAAQ,CACR,iCAA6B,CAA7B,yBAMoB,CACpB,oDACE,oBAAqB,CACrB,cAAe,CAEf,eAAgB,CAChB,sBAAuB,CAFvB,qBAAsB,CAGtB,kBAAqB,CACvB,oDACE,gBAAkB,CAClB,kBAAqB,CAEzB,cACE,eAAkB,CAClB,gBACE,6BAAsB,CAAtB,qBAAsB,CACtB,QAAS,CACT,SAAY,CACd,iBACE,eAAgB,CAChB,eAAkB,CACpB,yBAEE,iBAAwB,CAAxB,uBAAwB,CACxB,gBAAkB,CAClB,iBAAqB,CACvB,qEAGE,uBAAyB,CACzB,iBAAmB,CACnB,kBAAsB,CACxB,iBACE,eAAkB,CACpB,2BACE,gBAAmB,CACrB,kBAQE,qBAAsB,CAPtB,oBAAqB,CAGrB,qBAAsB,CACtB,cAAgB,CAIhB,eAAgB,CAHhB,YAAc,CAHd,kBAAmB,CAInB,eAAgB,CALhB,UAOkB,CACpB,kBAEE,WAAY,CADZ,cACc,CAChB,0BACE,oBAAqB,CAErB,cAAe,CADf,iBACiB,CACjB,4BACE,aAAc,CACd,oBAAuB,CACvB,4EACE,aAAgB,CACtB,mCACE,iBAAoB,CACpB,8EACE,aAAgB,CACpB,mCAEE,iBAAkB,CADlB,UACoB,CACpB,wDACE,UAAW,CACX,cAAgB,CAChB,eAAkB,CACtB,gCAKE,qBAAsB,CACtB,iBAAkB,CALlB,UAAW,CACX,aAAc,CACd,gBAAqB,CACrB,gBAEoB,CACtB,kCACE,mBAAa,CAAb,mBAAa,CAAb,YAAa,CACb,kBAAe,CAAf,cAAe,CACf,iBAAoB,CACpB,8CACE,kBAAa,CAAb,gBAAa,CAAb,YAAa,CAEb,aAAc,CADd,cACgB,CAClB,wIACE,2BAAe,CAAf,cAAe,CACf,aAAgB",sourcesContent:['@charset "UTF-8";\n/*\nTrix 1.3.1\nCopyright © 2020 Basecamp, LLC\nhttp://trix-editor.org/*/\ntrix-editor {\n  border: 1px solid #bbb;\n  border-radius: 3px;\n  margin: 0;\n  padding: 0.4em 0.6em;\n  min-height: 5em;\n  outline: none; }\ntrix-toolbar * {\n  box-sizing: border-box; }\ntrix-toolbar .trix-button-row {\n  display: flex;\n  flex-wrap: nowrap;\n  justify-content: space-between;\n  overflow-x: auto; }\ntrix-toolbar .trix-button-group {\n  display: flex;\n  margin-bottom: 10px;\n  border: 1px solid #bbb;\n  border-top-color: #ccc;\n  border-bottom-color: #888;\n  border-radius: 3px; }\n  trix-toolbar .trix-button-group:not(:first-child) {\n    margin-left: 1.5vw; }\n    @media (max-device-width: 768px) {\n      trix-toolbar .trix-button-group:not(:first-child) {\n        margin-left: 0; } }\ntrix-toolbar .trix-button-group-spacer {\n  flex-grow: 1; }\n  @media (max-device-width: 768px) {\n    trix-toolbar .trix-button-group-spacer {\n      display: none; } }\ntrix-toolbar .trix-button {\n  position: relative;\n  float: left;\n  color: rgba(0, 0, 0, 0.6);\n  font-size: 0.75em;\n  font-weight: 600;\n  white-space: nowrap;\n  padding: 0 0.5em;\n  margin: 0;\n  outline: none;\n  border: none;\n  border-bottom: 1px solid #ddd;\n  border-radius: 0;\n  background: transparent; }\n  trix-toolbar .trix-button:not(:first-child) {\n    border-left: 1px solid #ccc; }\n  trix-toolbar .trix-button.trix-active {\n    background: #cbeefa;\n    color: black; }\n  trix-toolbar .trix-button:not(:disabled) {\n    cursor: pointer; }\n  trix-toolbar .trix-button:disabled {\n    color: rgba(0, 0, 0, 0.125); }\n  @media (max-device-width: 768px) {\n    trix-toolbar .trix-button {\n      letter-spacing: -0.01em;\n      padding: 0 0.3em; } }\ntrix-toolbar .trix-button--icon {\n  font-size: inherit;\n  width: 2.6em;\n  height: 1.6em;\n  max-width: calc(0.8em + 4vw);\n  text-indent: -9999px; }\n  @media (max-device-width: 768px) {\n    trix-toolbar .trix-button--icon {\n      height: 2em;\n      max-width: calc(0.8em + 3.5vw); } }\n  trix-toolbar .trix-button--icon::before {\n    display: inline-block;\n    position: absolute;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    opacity: 0.6;\n    content: "";\n    background-position: center;\n    background-repeat: no-repeat;\n    background-size: contain; }\n    @media (max-device-width: 768px) {\n      trix-toolbar .trix-button--icon::before {\n        right: 6%;\n        left: 6%; } }\n  trix-toolbar .trix-button--icon.trix-active::before {\n    opacity: 1; }\n  trix-toolbar .trix-button--icon:disabled::before {\n    opacity: 0.125; }\ntrix-toolbar .trix-button--icon-attach::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M16.5%206v11.5a4%204%200%201%201-8%200V5a2.5%202.5%200%200%201%205%200v10.5a1%201%200%201%201-2%200V6H10v9.5a2.5%202.5%200%200%200%205%200V5a4%204%200%201%200-8%200v12.5a5.5%205.5%200%200%200%2011%200V6h-1.5z%22%2F%3E%3C%2Fsvg%3E);\n  top: 8%;\n  bottom: 4%; }\ntrix-toolbar .trix-button--icon-bold::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M15.6%2011.8c1-.7%201.6-1.8%201.6-2.8a4%204%200%200%200-4-4H7v14h7c2.1%200%203.7-1.7%203.7-3.8%200-1.5-.8-2.8-2.1-3.4zM10%207.5h3a1.5%201.5%200%201%201%200%203h-3v-3zm3.5%209H10v-3h3.5a1.5%201.5%200%201%201%200%203z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-italic::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M10%205v3h2.2l-3.4%208H6v3h8v-3h-2.2l3.4-8H18V5h-8z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-link::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M9.88%2013.7a4.3%204.3%200%200%201%200-6.07l3.37-3.37a4.26%204.26%200%200%201%206.07%200%204.3%204.3%200%200%201%200%206.06l-1.96%201.72a.91.91%200%201%201-1.3-1.3l1.97-1.71a2.46%202.46%200%200%200-3.48-3.48l-3.38%203.37a2.46%202.46%200%200%200%200%203.48.91.91%200%201%201-1.3%201.3z%22%2F%3E%3Cpath%20d%3D%22M4.25%2019.46a4.3%204.3%200%200%201%200-6.07l1.93-1.9a.91.91%200%201%201%201.3%201.3l-1.93%201.9a2.46%202.46%200%200%200%203.48%203.48l3.37-3.38c.96-.96.96-2.52%200-3.48a.91.91%200%201%201%201.3-1.3%204.3%204.3%200%200%201%200%206.07l-3.38%203.38a4.26%204.26%200%200%201-6.07%200z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-strike::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M12.73%2014l.28.14c.26.15.45.3.57.44.12.14.18.3.18.5%200%20.3-.15.56-.44.75-.3.2-.76.3-1.39.3A13.52%2013.52%200%200%201%207%2014.95v3.37a10.64%2010.64%200%200%200%204.84.88c1.26%200%202.35-.19%203.28-.56.93-.37%201.64-.9%202.14-1.57s.74-1.45.74-2.32c0-.26-.02-.51-.06-.75h-5.21zm-5.5-4c-.08-.34-.12-.7-.12-1.1%200-1.29.52-2.3%201.58-3.02%201.05-.72%202.5-1.08%204.34-1.08%201.62%200%203.28.34%204.97%201l-1.3%202.93c-1.47-.6-2.73-.9-3.8-.9-.55%200-.96.08-1.2.26-.26.17-.38.38-.38.64%200%20.27.16.52.48.74.17.12.53.3%201.05.53H7.23zM3%2013h18v-2H3v2z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-quote::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M6%2017h3l2-4V7H5v6h3zm8%200h3l2-4V7h-6v6h3z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-heading-1::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M12%209v3H9v7H6v-7H3V9h9zM8%204h14v3h-6v12h-3V7H8V4z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-code::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M18.2%2012L15%2015.2l1.4%201.4L21%2012l-4.6-4.6L15%208.8l3.2%203.2zM5.8%2012L9%208.8%207.6%207.4%203%2012l4.6%204.6L9%2015.2%205.8%2012z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-bullet-list::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20version%3D%221%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M4%204a2%202%200%201%200%200%204%202%202%200%200%200%200-4zm0%206a2%202%200%201%200%200%204%202%202%200%200%200%200-4zm0%206a2%202%200%201%200%200%204%202%202%200%200%200%200-4zm4%203h14v-2H8v2zm0-6h14v-2H8v2zm0-8v2h14V5H8z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-number-list::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M2%2017h2v.5H3v1h1v.5H2v1h3v-4H2v1zm1-9h1V4H2v1h1v3zm-1%203h1.8L2%2013.1v.9h3v-1H3.2L5%2010.9V10H2v1zm5-6v2h14V5H7zm0%2014h14v-2H7v2zm0-6h14v-2H7v2z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-undo::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M12.5%208c-2.6%200-5%201-6.9%202.6L2%207v9h9l-3.6-3.6A8%208%200%200%201%2020%2016l2.4-.8a10.5%2010.5%200%200%200-10-7.2z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-redo::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M18.4%2010.6a10.5%2010.5%200%200%200-16.9%204.6L4%2016a8%208%200%200%201%2012.7-3.6L13%2016h9V7l-3.6%203.6z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-decrease-nesting-level::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M3%2019h19v-2H3v2zm7-6h12v-2H10v2zm-8.3-.3l2.8%202.9L6%2014.2%204%2012l2-2-1.4-1.5L1%2012l.7.7zM3%205v2h19V5H3z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-button--icon-increase-nesting-level::before {\n  background-image: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%3E%3Cpath%20d%3D%22M3%2019h19v-2H3v2zm7-6h12v-2H10v2zm-6.9-1L1%2014.2l1.4%201.4L6%2012l-.7-.7-2.8-2.8L1%209.9%203.1%2012zM3%205v2h19V5H3z%22%2F%3E%3C%2Fsvg%3E); }\ntrix-toolbar .trix-dialogs {\n  position: relative; }\ntrix-toolbar .trix-dialog {\n  position: absolute;\n  top: 0;\n  left: 0;\n  right: 0;\n  font-size: 0.75em;\n  padding: 15px 10px;\n  background: #fff;\n  box-shadow: 0 0.3em 1em #ccc;\n  border-top: 2px solid #888;\n  border-radius: 5px;\n  z-index: 5; }\ntrix-toolbar .trix-input--dialog {\n  font-size: inherit;\n  font-weight: normal;\n  padding: 0.5em 0.8em;\n  margin: 0 10px 0 0;\n  border-radius: 3px;\n  border: 1px solid #bbb;\n  background-color: #fff;\n  box-shadow: none;\n  outline: none;\n  -webkit-appearance: none;\n  -moz-appearance: none; }\n  trix-toolbar .trix-input--dialog.validate:invalid {\n    box-shadow: #F00 0px 0px 1.5px 1px; }\ntrix-toolbar .trix-button--dialog {\n  font-size: inherit;\n  padding: 0.5em;\n  border-bottom: none; }\ntrix-toolbar .trix-dialog--link {\n  max-width: 600px; }\ntrix-toolbar .trix-dialog__link-fields {\n  display: flex;\n  align-items: baseline; }\n  trix-toolbar .trix-dialog__link-fields .trix-input {\n    flex: 1; }\n  trix-toolbar .trix-dialog__link-fields .trix-button-group {\n    flex: 0 0 content;\n    margin: 0; }\ntrix-editor [data-trix-mutable]:not(.attachment__caption-editor) {\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none; }\n\ntrix-editor [data-trix-mutable]::-moz-selection,\ntrix-editor [data-trix-cursor-target]::-moz-selection, trix-editor [data-trix-mutable] ::-moz-selection {\n  background: none; }\ntrix-editor [data-trix-mutable]::selection,\ntrix-editor [data-trix-cursor-target]::selection, trix-editor [data-trix-mutable] ::selection {\n  background: none; }\n\ntrix-editor [data-trix-mutable].attachment__caption-editor:focus::-moz-selection {\n  background: highlight; }\ntrix-editor [data-trix-mutable].attachment__caption-editor:focus::selection {\n  background: highlight; }\n\ntrix-editor [data-trix-mutable].attachment.attachment--file {\n  box-shadow: 0 0 0 2px highlight;\n  border-color: transparent; }\ntrix-editor [data-trix-mutable].attachment img {\n  box-shadow: 0 0 0 2px highlight; }\ntrix-editor .attachment {\n  position: relative; }\n  trix-editor .attachment:hover {\n    cursor: default; }\ntrix-editor .attachment--preview .attachment__caption:hover {\n  cursor: text; }\ntrix-editor .attachment__progress {\n  position: absolute;\n  z-index: 1;\n  height: 20px;\n  top: calc(50% - 10px);\n  left: 5%;\n  width: 90%;\n  opacity: 0.9;\n  transition: opacity 200ms ease-in; }\n  trix-editor .attachment__progress[value="100"] {\n    opacity: 0; }\ntrix-editor .attachment__caption-editor {\n  display: inline-block;\n  width: 100%;\n  margin: 0;\n  padding: 0;\n  font-size: inherit;\n  font-family: inherit;\n  line-height: inherit;\n  color: inherit;\n  text-align: center;\n  vertical-align: top;\n  border: none;\n  outline: none;\n  -webkit-appearance: none;\n  -moz-appearance: none; }\ntrix-editor .attachment__toolbar {\n  position: absolute;\n  z-index: 1;\n  top: -0.9em;\n  left: 0;\n  width: 100%;\n  text-align: center; }\ntrix-editor .trix-button-group {\n  display: inline-flex; }\ntrix-editor .trix-button {\n  position: relative;\n  float: left;\n  color: #666;\n  white-space: nowrap;\n  font-size: 80%;\n  padding: 0 0.8em;\n  margin: 0;\n  outline: none;\n  border: none;\n  border-radius: 0;\n  background: transparent; }\n  trix-editor .trix-button:not(:first-child) {\n    border-left: 1px solid #ccc; }\n  trix-editor .trix-button.trix-active {\n    background: #cbeefa; }\n  trix-editor .trix-button:not(:disabled) {\n    cursor: pointer; }\ntrix-editor .trix-button--remove {\n  text-indent: -9999px;\n  display: inline-block;\n  padding: 0;\n  outline: none;\n  width: 1.8em;\n  height: 1.8em;\n  line-height: 1.8em;\n  border-radius: 50%;\n  background-color: #fff;\n  border: 2px solid highlight;\n  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.25); }\n  trix-editor .trix-button--remove::before {\n    display: inline-block;\n    position: absolute;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    opacity: 0.7;\n    content: "";\n    background-image: url(data:image/svg+xml,%3Csvg%20height%3D%2224%22%20width%3D%2224%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M19%206.4L17.6%205%2012%2010.6%206.4%205%205%206.4l5.6%205.6L5%2017.6%206.4%2019l5.6-5.6%205.6%205.6%201.4-1.4-5.6-5.6z%22%2F%3E%3Cpath%20d%3D%22M0%200h24v24H0z%22%20fill%3D%22none%22%2F%3E%3C%2Fsvg%3E);\n    background-position: center;\n    background-repeat: no-repeat;\n    background-size: 90%; }\n  trix-editor .trix-button--remove:hover {\n    border-color: #333; }\n    trix-editor .trix-button--remove:hover::before {\n      opacity: 1; }\ntrix-editor .attachment__metadata-container {\n  position: relative; }\ntrix-editor .attachment__metadata {\n  position: absolute;\n  left: 50%;\n  top: 2em;\n  transform: translate(-50%, 0);\n  max-width: 90%;\n  padding: 0.1em 0.6em;\n  font-size: 0.8em;\n  color: #fff;\n  background-color: rgba(0, 0, 0, 0.7);\n  border-radius: 3px; }\n  trix-editor .attachment__metadata .attachment__name {\n    display: inline-block;\n    max-width: 100%;\n    vertical-align: bottom;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap; }\n  trix-editor .attachment__metadata .attachment__size {\n    margin-left: 0.2em;\n    white-space: nowrap; }\n@charset "UTF-8";\n.trix-content {\n  line-height: 1.5; }\n  .trix-content * {\n    box-sizing: border-box;\n    margin: 0;\n    padding: 0; }\n  .trix-content h1 {\n    font-size: 1.2em;\n    line-height: 1.2; }\n  .trix-content blockquote {\n    border: 0 solid #ccc;\n    border-left-width: 0.3em;\n    margin-left: 0.3em;\n    padding-left: 0.6em; }\n  .trix-content [dir=rtl] blockquote,\n  .trix-content blockquote[dir=rtl] {\n    border-width: 0;\n    border-right-width: 0.3em;\n    margin-right: 0.3em;\n    padding-right: 0.6em; }\n  .trix-content li {\n    margin-left: 1em; }\n  .trix-content [dir=rtl] li {\n    margin-right: 1em; }\n  .trix-content pre {\n    display: inline-block;\n    width: 100%;\n    vertical-align: top;\n    font-family: monospace;\n    font-size: 0.9em;\n    padding: 0.5em;\n    white-space: pre;\n    background-color: #eee;\n    overflow-x: auto; }\n  .trix-content img {\n    max-width: 100%;\n    height: auto; }\n  .trix-content .attachment {\n    display: inline-block;\n    position: relative;\n    max-width: 100%; }\n    .trix-content .attachment a {\n      color: inherit;\n      text-decoration: none; }\n      .trix-content .attachment a:hover, .trix-content .attachment a:visited:hover {\n        color: inherit; }\n  .trix-content .attachment__caption {\n    text-align: center; }\n    .trix-content .attachment__caption .attachment__name + .attachment__size::before {\n      content: \' · \'; }\n  .trix-content .attachment--preview {\n    width: 100%;\n    text-align: center; }\n    .trix-content .attachment--preview .attachment__caption {\n      color: #666;\n      font-size: 0.9em;\n      line-height: 1.2; }\n  .trix-content .attachment--file {\n    color: #333;\n    line-height: 1;\n    margin: 0 2px 2px 2px;\n    padding: 0.4em 1em;\n    border: 1px solid #bbb;\n    border-radius: 5px; }\n  .trix-content .attachment-gallery {\n    display: flex;\n    flex-wrap: wrap;\n    position: relative; }\n    .trix-content .attachment-gallery .attachment {\n      flex: 1 0 33%;\n      padding: 0 0.5em;\n      max-width: 33%; }\n    .trix-content .attachment-gallery.attachment-gallery--2 .attachment, .trix-content .attachment-gallery.attachment-gallery--4 .attachment {\n      flex-basis: 50%;\n      max-width: 50%; }\n'],sourceRoot:""}]),t.Z=a},23645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},94015:function(e){"use strict";function t(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("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(e){s=!0,o=e}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 n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(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 n(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}e.exports=function(e){var n=t(e,4),r=n[1],o=n[3];if(!o)return r;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(a," */"),l=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[r].concat(l).concat([s]).join("\n")}return[r].join("\n")}},61667:function(e){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e)}},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}})},23121:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(81991),o=n(49526),i={date:(0,o.Z)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,o.Z)({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:(0,o.Z)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a=n(21865),s=n(11950),l=n(7219),c={code:"en-US",formatDistance:r.Z,formatLong:i,formatRelative:a.Z,localize:s.Z,match:l.Z,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 c}});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 l=6048e5;function c(e){(0,a.Z)(1,arguments);var t=(0,r.default)(e),n=(0,o.Z)(t).getTime()-s(t).getTime();return Math.round(n/l)+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.default)(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),l=new Date(0);l.setUTCFullYear(n,0,4),l.setUTCHours(0,0,0,0);var c=(0,i.Z)(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.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),l=n(84314);function c(e,t){var n,r,c,u,d,f,p,h;(0,a.Z)(1,arguments);var m=(0,l.j)(),g=(0,s.Z)(null!==(n=null!==(r=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==c?c:m.firstWeekContainsDate)&&void 0!==r?r:null===(p=m.locale)||void 0===p||null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1),v=(0,i.Z)(e,t),b=new Date(0);b.setUTCFullYear(v,0,g),b.setUTCHours(0,0,0,0);var y=(0,o.Z)(b,t);return y}var u=6048e5;function d(e,t){(0,a.Z)(1,arguments);var n=(0,r.default)(e),i=(0,o.Z)(n,t).getTime()-c(n,t).getTime();return Math.round(i/u)+1}},7651:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(19013),o=n(13882),i=n(59025),a=n(83946),s=n(84314);function l(e,t){var n,l,c,u,d,f,p,h;(0,o.Z)(1,arguments);var m=(0,r.default)(e),g=m.getUTCFullYear(),v=(0,s.j)(),b=(0,a.Z)(null!==(n=null!==(l=null!==(c=null!==(u=null==t?void 0:t.firstWeekContainsDate)&&void 0!==u?u:null==t||null===(d=t.locale)||void 0===d||null===(f=d.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==c?c:v.firstWeekContainsDate)&&void 0!==l?l:null===(p=v.locale)||void 0===p||null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==n?n:1);if(!(b>=1&&b<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setUTCFullYear(g+1,0,b),y.setUTCHours(0,0,0,0);var A=(0,i.Z)(y,t),x=new Date(0);x.setUTCFullYear(g,0,b),x.setUTCHours(0,0,0,0);var C=(0,i.Z)(x,t);return m.getTime()>=A.getTime()?g+1:m.getTime()>=C.getTime()?g:g-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 `").concat(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}})},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.default)(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,l,c,u,d,f,p;(0,o.Z)(1,arguments);var h=(0,a.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(f=h.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(e),v=g.getUTCDay(),b=(v<m?7:0)+v-m;return g.setUTCDate(g.getUTCDate()-b),g.setUTCHours(0,0,0,0),g}},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.r(t),n.d(t,{default: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.default)(e),a=(0,r.Z)(t);return isNaN(a)?new Date(NaN):a?(n.setDate(n.getDate()+a),n):n}},78343:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(83946),o=n(51820),i=n(13882),a=36e5;function s(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,n*a)}},51820: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.default)(e).getTime(),a=(0,r.Z)(t);return new Date(n+a)}},58545:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(83946),o=n(51820),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.Z)(e,6e4*n)}},11640:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.default)(e),a=(0,r.Z)(t);if(isNaN(a))return new Date(NaN);if(!a)return n;var s=n.getDate(),l=new Date(n.getTime());l.setMonth(n.getMonth()+a+1,0);var c=l.getDate();return s>=c?l:(n.setFullYear(l.getFullYear(),l.getMonth(),s),n)}},63500:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});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.default)(e,a)}},21593:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(83946),o=n(11640),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,12*n)}},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.r(t),n.d(t,{default: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.default)(e),s=(0,o.default)(t),l=n.getTime()-(0,r.Z)(n),c=s.getTime()-(0,r.Z)(s);return Math.round((l-c)/a)}},84129:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t),a=n.getFullYear()-i.getFullYear(),s=n.getMonth()-i.getMonth();return 12*a+s}},52724:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(584),o=n(24262),i=n(13882),a=6048e5;function s(e,t,n){(0,i.Z)(2,arguments);var s=(0,r.default)(e,n),l=(0,r.default)(t,n),c=s.getTime()-(0,o.Z)(s),u=l.getTime()-(0,o.Z)(l);return Math.round((c-u)/a)}},91857:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()-i.getFullYear()}},83894:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(23,59,59,999),t}},4135:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}},67090:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(84314),o=n(19013),i=n(83946),a=n(13882);function s(e,t){var n,s,l,c,u,d,f,p;(0,a.Z)(1,arguments);var h=(0,r.j)(),m=(0,i.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(f=h.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,o.default)(e),v=g.getDay(),b=6+(v<m?-7:0)-(v-m);return g.setDate(g.getDate()+b),g.setHours(23,59,59,999),g}},42298:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return L}});var r=n(12274),o=n(91218),i=n(19013),a=n(13882),s=864e5;var l=n(33276),c=n(7032),u=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 p={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];default: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)}},h="midnight",m="noon",g="morning",v="afternoon",b="evening",y="night",A={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 p.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,c.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 p.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,u.Z)(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):f(o,t.length)},I:function(e,t,n){var r=(0,l.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"}):p.d(e,t)},D:function(e,t,n){var r=function(e){(0,a.Z)(1,arguments);var t=(0,i.default)(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?m:0===o?h:o/12>=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?b:o>=12?v:o>=4?g:y,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 p.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):p.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"}):p.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):p.s(e,t)},S:function(e,t){return p.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 _(o);default:return _(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 _(o);default:return _(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"+_(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"+_(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):_(e,t)}function _(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 w=A,k=n(97621),S=n(24262),E=n(5267),B=n(83946),O=n(84314),j=n(23121),T=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,P=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,M=/^'([^]*?)'?$/,D=/''/g,R=/[a-zA-Z]/;function L(e,t,n){var s,l,c,u,d,f,p,h,m,g,v,b,y,A,x,C,_,M;(0,a.Z)(2,arguments);var D=String(t),L=(0,O.j)(),N=null!==(s=null!==(l=null==n?void 0:n.locale)&&void 0!==l?l:L.locale)&&void 0!==s?s:j.Z,F=(0,B.Z)(null!==(c=null!==(u=null!==(d=null!==(f=null==n?void 0:n.firstWeekContainsDate)&&void 0!==f?f:null==n||null===(p=n.locale)||void 0===p||null===(h=p.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==d?d:L.firstWeekContainsDate)&&void 0!==u?u:null===(m=L.locale)||void 0===m||null===(g=m.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==c?c:1);if(!(F>=1&&F<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var z=(0,B.Z)(null!==(v=null!==(b=null!==(y=null!==(A=null==n?void 0:n.weekStartsOn)&&void 0!==A?A:null==n||null===(x=n.locale)||void 0===x||null===(C=x.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==y?y:L.weekStartsOn)&&void 0!==b?b:null===(_=L.locale)||void 0===_||null===(M=_.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==v?v:0);if(!(z>=0&&z<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!N.localize)throw new RangeError("locale must contain localize property");if(!N.formatLong)throw new RangeError("locale must contain formatLong property");var q=(0,i.default)(e);if(!(0,r.default)(q))throw new RangeError("Invalid time value");var U=(0,S.Z)(q),H=(0,o.Z)(q,U),W={firstWeekContainsDate:F,weekStartsOn:z,locale:N,_originalDate:q},V=D.match(P).map((function(e){var t=e[0];return"p"===t||"P"===t?(0,k.Z[t])(e,N.formatLong):e})).join("").match(T).map((function(r){if("''"===r)return"'";var o=r[0];if("'"===o)return I(r);var i=w[o];if(i)return null!=n&&n.useAdditionalWeekYearTokens||!(0,E.Do)(r)||(0,E.qp)(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!(0,E.Iu)(r)||(0,E.qp)(r,t,String(e)),i(H,r,N.localize,W);if(o.match(R))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r})).join("");return V}function I(e){var t=e.match(M);return t?t[1].replace(D,"'"):e}},61811:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(84314),o=n(19013),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,o.default)(e),r=(0,o.default)(t),a=n.getTime()-r.getTime();return a<0?-1:a>0?1:a}var s=n(84129),l=n(83894),c=n(4135);function u(e){(0,i.Z)(1,arguments);var t=(0,o.default)(e);return(0,l.default)(t).getTime()===(0,c.default)(t).getTime()}function d(e,t){(0,i.Z)(2,arguments);var n,r=(0,o.default)(e),l=(0,o.default)(t),c=a(r,l),d=Math.abs((0,s.default)(r,l));if(d<1)n=0;else{1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-c*d);var f=a(r,l)===-c;u((0,o.default)(e))&&1===d&&1===a(e,l)&&(f=!1),n=c*(d-Number(f))}return 0===n?0:n}function f(e,t){return(0,i.Z)(2,arguments),(0,o.default)(e).getTime()-(0,o.default)(t).getTime()}var p={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function h(e){return e?p[e]:p.trunc}function m(e,t,n){(0,i.Z)(2,arguments);var r=f(e,t)/1e3;return h(null==n?void 0:n.roundingMethod)(r)}var g=n(23121),v=n(52149);function b(e){return(0,v.Z)({},e)}var y=n(24262),A=1440,x=43200;function C(e,t,n){var s,l;(0,i.Z)(2,arguments);var c=(0,r.j)(),u=null!==(s=null!==(l=null==n?void 0:n.locale)&&void 0!==l?l:c.locale)&&void 0!==s?s:g.Z;if(!u.formatDistance)throw new RangeError("locale must contain formatDistance property");var f=a(e,t);if(isNaN(f))throw new RangeError("Invalid time value");var p,h,C=(0,v.Z)(b(n),{addSuffix:Boolean(null==n?void 0:n.addSuffix),comparison:f});f>0?(p=(0,o.default)(t),h=(0,o.default)(e)):(p=(0,o.default)(e),h=(0,o.default)(t));var _,w=m(h,p),k=((0,y.Z)(h)-(0,y.Z)(p))/1e3,S=Math.round((w-k)/60);if(S<2)return null!=n&&n.includeSeconds?w<5?u.formatDistance("lessThanXSeconds",5,C):w<10?u.formatDistance("lessThanXSeconds",10,C):w<20?u.formatDistance("lessThanXSeconds",20,C):w<40?u.formatDistance("halfAMinute",0,C):w<60?u.formatDistance("lessThanXMinutes",1,C):u.formatDistance("xMinutes",1,C):0===S?u.formatDistance("lessThanXMinutes",1,C):u.formatDistance("xMinutes",S,C);if(S<45)return u.formatDistance("xMinutes",S,C);if(S<90)return u.formatDistance("aboutXHours",1,C);if(S<A){var E=Math.round(S/60);return u.formatDistance("aboutXHours",E,C)}if(S<2520)return u.formatDistance("xDays",1,C);if(S<x){var B=Math.round(S/A);return u.formatDistance("xDays",B,C)}if(S<86400)return _=Math.round(S/x),u.formatDistance("aboutXMonths",_,C);if((_=d(h,p))<12){var O=Math.round(S/x);return u.formatDistance("xMonths",O,C)}var j=_%12,T=Math.floor(_/12);return j<3?u.formatDistance("aboutXYears",T,C):j<9?u.formatDistance("overXYears",T,C):u.formatDistance("almostXYears",T+1,C)}function _(e,t){return(0,i.Z)(1,arguments),C(e,Date.now(),t)}},55855:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getDate();return n}},20466:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getDay();return n}},85817:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getHours();return n}},90259:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var r=n(19013),o=n(584),i=n(13882);function a(e){return(0,i.Z)(1,arguments),(0,o.default)(e,{weekStartsOn:1})}function s(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=t.getFullYear(),o=new Date(0);o.setFullYear(n+1,0,4),o.setHours(0,0,0,0);var s=a(o),l=new Date(0);l.setFullYear(n,0,4),l.setHours(0,0,0,0);var c=a(l);return t.getTime()>=s.getTime()?n+1:t.getTime()>=c.getTime()?n:n-1}function l(e){(0,i.Z)(1,arguments);var t=s(e),n=new Date(0);n.setFullYear(t,0,4),n.setHours(0,0,0,0);var r=a(n);return r}var c=6048e5;function u(e){(0,i.Z)(1,arguments);var t=(0,r.default)(e),n=a(t).getTime()-l(t).getTime();return Math.round(n/c)+1}},39159:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMinutes();return n}},78966:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth();return n}},56605:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=Math.floor(t.getMonth()/3)+1;return n}},77881:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getSeconds();return n}},28789:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getTime();return n}},95570:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){return(0,o.Z)(1,arguments),(0,r.default)(e).getFullYear()}},42699:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()>i.getTime()}},313:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()<i.getTime()}},71381:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(13882);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)}function i(e){return(0,r.Z)(1,arguments),e instanceof Date||"object"===o(e)&&"[object Date]"===Object.prototype.toString.call(e)}},96843:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},3151:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(69119),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},49160:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()&&n.getMonth()===i.getMonth()}},86117:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(94431),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getTime()===i.getTime()}},60792:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e),i=(0,r.default)(t);return n.getFullYear()===i.getFullYear()}},12274:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(71381),o=n(19013),i=n(13882);function a(e){if((0,i.Z)(1,arguments),!(0,r.default)(e)&&"number"!=typeof e)return!1;var t=(0,o.default)(e);return!isNaN(Number(t))}},24257:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e,t){(0,o.Z)(2,arguments);var n=(0,r.default)(e).getTime(),i=(0,r.default)(t.start).getTime(),a=(0,r.default)(t.end).getTime();if(!(i<=a))throw new RangeError("Invalid interval");return n>=i&&n<=a}},49526:function(e,t,n){"use strict";function r(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}}n.d(t,{Z:function(){return r}})},88486:function(e,t,n){"use strict";function r(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=null!=n&&n.width?String(n.width):o;r=e.formattingValues[i]||e.formattingValues[o]}else{var a=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[a]}return r[e.argumentCallback?e.argumentCallback(t):t]}}n.d(t,{Z:function(){return r}})},76723:function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,a=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(a);if(!s)return null;var l,c=s[0],u=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?i(u,(function(e){return e.test(c)})):o(u,(function(e){return e.test(c)}));l=e.valueCallback?e.valueCallback(d):d,l=n.valueCallback?n.valueCallback(l):l;var f=t.slice(c.length);return{value:l,rest:f}}}function o(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}function i(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}n.d(t,{Z:function(){return r}})},60974:function(e,t,n){"use strict";function r(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.match(e.matchPattern);if(!r)return null;var o=r[0],i=t.match(e.parsePattern);if(!i)return null;var a=e.valueCallback?e.valueCallback(i[0]):i[0];a=n.valueCallback?n.valueCallback(a):a;var s=t.slice(o.length);return{value:a,rest:s}}}n.d(t,{Z:function(){return r}})},70879:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r={lessThanXSeconds:{standalone:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"},withPreposition:{one:"weniger als 1 Sekunde",other:"weniger als {{count}} Sekunden"}},xSeconds:{standalone:{one:"1 Sekunde",other:"{{count}} Sekunden"},withPreposition:{one:"1 Sekunde",other:"{{count}} Sekunden"}},halfAMinute:{standalone:"halbe Minute",withPreposition:"halben Minute"},lessThanXMinutes:{standalone:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"},withPreposition:{one:"weniger als 1 Minute",other:"weniger als {{count}} Minuten"}},xMinutes:{standalone:{one:"1 Minute",other:"{{count}} Minuten"},withPreposition:{one:"1 Minute",other:"{{count}} Minuten"}},aboutXHours:{standalone:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"},withPreposition:{one:"etwa 1 Stunde",other:"etwa {{count}} Stunden"}},xHours:{standalone:{one:"1 Stunde",other:"{{count}} Stunden"},withPreposition:{one:"1 Stunde",other:"{{count}} Stunden"}},xDays:{standalone:{one:"1 Tag",other:"{{count}} Tage"},withPreposition:{one:"1 Tag",other:"{{count}} Tagen"}},aboutXWeeks:{standalone:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"},withPreposition:{one:"etwa 1 Woche",other:"etwa {{count}} Wochen"}},xWeeks:{standalone:{one:"1 Woche",other:"{{count}} Wochen"},withPreposition:{one:"1 Woche",other:"{{count}} Wochen"}},aboutXMonths:{standalone:{one:"etwa 1 Monat",other:"etwa {{count}} Monate"},withPreposition:{one:"etwa 1 Monat",other:"etwa {{count}} Monaten"}},xMonths:{standalone:{one:"1 Monat",other:"{{count}} Monate"},withPreposition:{one:"1 Monat",other:"{{count}} Monaten"}},aboutXYears:{standalone:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahre"},withPreposition:{one:"etwa 1 Jahr",other:"etwa {{count}} Jahren"}},xYears:{standalone:{one:"1 Jahr",other:"{{count}} Jahre"},withPreposition:{one:"1 Jahr",other:"{{count}} Jahren"}},overXYears:{standalone:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahre"},withPreposition:{one:"mehr als 1 Jahr",other:"mehr als {{count}} Jahren"}},almostXYears:{standalone:{one:"fast 1 Jahr",other:"fast {{count}} Jahre"},withPreposition:{one:"fast 1 Jahr",other:"fast {{count}} Jahren"}}},o=function(e,t,n){var o,i=null!=n&&n.addSuffix?r[e].withPreposition:r[e].standalone;return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:"vor "+o:o},i=n(49526),a={date:(0,i.Z)({formats:{full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} 'um' {{time}}",long:"{{date}} 'um' {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},s={lastWeek:"'letzten' eeee 'um' p",yesterday:"'gestern um' p",today:"'heute um' p",tomorrow:"'morgen um' p",nextWeek:"eeee 'um' p",other:"P"},l=function(e,t,n,r){return s[e]},c=n(88486),u={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],wide:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},d={narrow:u.narrow,abbreviated:["Jan.","Feb.","März","Apr.","Mai","Juni","Juli","Aug.","Sep.","Okt.","Nov.","Dez."],wide:u.wide},f={ordinalNumber:function(e){return Number(e)+"."},era:(0,c.Z)({values:{narrow:["v.Chr.","n.Chr."],abbreviated:["v.Chr.","n.Chr."],wide:["vor Christus","nach Christus"]},defaultWidth:"wide"}),quarter:(0,c.Z)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1. Quartal","2. Quartal","3. Quartal","4. Quartal"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,c.Z)({values:u,formattingValues:d,defaultWidth:"wide"}),day:(0,c.Z)({values:{narrow:["S","M","D","M","D","F","S"],short:["So","Mo","Di","Mi","Do","Fr","Sa"],abbreviated:["So.","Mo.","Di.","Mi.","Do.","Fr.","Sa."],wide:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},defaultWidth:"wide"}),dayPeriod:(0,c.Z)({values:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachm.",evening:"Abend",night:"Nacht"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"Morgen",afternoon:"Nachmittag",evening:"Abend",night:"Nacht"}},defaultWidth:"wide",formattingValues:{narrow:{am:"vm.",pm:"nm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachm.",evening:"abends",night:"nachts"},abbreviated:{am:"vorm.",pm:"nachm.",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"},wide:{am:"vormittags",pm:"nachmittags",midnight:"Mitternacht",noon:"Mittag",morning:"morgens",afternoon:"nachmittags",evening:"abends",night:"nachts"}},defaultFormattingWidth:"wide"})},p=n(76723),h={code:"de",formatDistance:o,formatLong:a,formatRelative:l,localize:f,match:{ordinalNumber:(0,n(60974).Z)({matchPattern:/^(\d+)(\.)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:(0,p.Z)({matchPatterns:{narrow:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,abbreviated:/^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,wide:/^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/i,/^n/i]},defaultParseWidth:"any"}),quarter:(0,p.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](\.)? Quartal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,p.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,wide:/^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/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:[/^j[aä]/i,/^f/i,/^mär/i,/^ap/i,/^mai/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,p.Z)({matchPatterns:{narrow:/^[smdmf]/i,short:/^(so|mo|di|mi|do|fr|sa)/i,abbreviated:/^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,wide:/^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^so/i,/^mo/i,/^di/i,/^mi/i,/^do/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.Z)({matchPatterns:{narrow:/^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,abbreviated:/^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,wide:/^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i},defaultMatchWidth:"wide",parsePatterns:{any:{am:/^v/i,pm:/^n/i,midnight:/^Mitte/i,noon:/^Mitta/i,morning:/morgens/i,afternoon:/nachmittags/i,evening:/abends/i,night:/nachts/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},89345:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(81991),o=n(21865),i=n(11950),a=n(7219),s=n(49526),l={date:(0,s.Z)({formats:{full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"dd/MM/yyyy"},defaultWidth:"full"}),time:(0,s.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,s.Z)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},c={code:"en-GB",formatDistance:r.Z,formatLong:l,formatRelative:o.Z,localize:i.Z,match:a.Z,options:{weekStartsOn:1,firstWeekContainsDate:4}}},81991:function(e,t){"use strict";var n={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"}};t.Z=function(e,t,r){var o,i=n[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=r&&r.addSuffix?r.comparison&&r.comparison>0?"in "+o:o+" ago":o}},21865:function(e,t){"use strict";var n={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};t.Z=function(e,t,r,o){return n[e]}},11950:function(e,t,n){"use strict";var r=n(88486),o={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:(0,r.Z)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,r.Z)({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:(0,r.Z)({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:(0,r.Z)({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:(0,r.Z)({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"})};t.Z=o},7219:function(e,t,n){"use strict";var r=n(76723),o={ordinalNumber:(0,n(60974).Z)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,r.Z)({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:(0,r.Z)({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:(0,r.Z)({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:(0,r.Z)({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:(0,r.Z)({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"})};t.Z=o},63345:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},o=function(e,t,n){var o,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"en "+o:"hace "+o:o},i=n(49526),a={date:(0,i.Z)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},l={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},c=function(e,t,n,r){return 1!==t.getUTCHours()?l[e]:s[e]},u=n(88486),d={ordinalNumber:function(e,t){return Number(e)+"º"},era:(0,u.Z)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:(0,u.Z)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return Number(e)-1}}),month:(0,u.Z)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,u.Z)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,u.Z)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})},f=n(60974),p=n(76723),h={code:"es",formatDistance:o,formatLong:a,formatRelative:c,localize:d,match:{ordinalNumber:(0,f.Z)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,p.Z)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,p.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,p.Z)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,p.Z)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,p.Z)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}}},75830:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},o=function(e,t,n){var o,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"dans "+o:"il y a "+o:o},i=n(49526),a={date:(0,i.Z)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},l=function(e,t,n,r){return s[e]},c=n(88486),u={ordinalNumber:function(e,t){var n=Number(e),r=null==t?void 0:t.unit;if(0===n)return"0";return n+(1===n?r&&["year","week","hour","minute","second"].includes(r)?"ère":"er":"ème")},era:(0,c.Z)({values:{narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},defaultWidth:"wide"}),quarter:(0,c.Z)({values:{narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,c.Z)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},defaultWidth:"wide"}),day:(0,c.Z)({values:{narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},defaultWidth:"wide"}),dayPeriod:(0,c.Z)({values:{narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},defaultWidth:"wide"})},d=n(76723),f={code:"fr",formatDistance:o,formatLong:a,formatRelative:l,localize:u,match:{ordinalNumber:(0,n(60974).Z)({matchPattern:/^(\d+)(ième|ère|ème|er|e)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e)}}),era:(0,d.Z)({matchPatterns:{narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^av/i,/^ap/i]},defaultParseWidth:"any"}),quarter:(0,d.Z)({matchPatterns:{narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/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,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,d.Z)({matchPatterns:{narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.Z)({matchPatterns:{narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},58160:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r={lessThanXSeconds:{one:"meno di un secondo",other:"meno di {{count}} secondi"},xSeconds:{one:"un secondo",other:"{{count}} secondi"},halfAMinute:"alcuni secondi",lessThanXMinutes:{one:"meno di un minuto",other:"meno di {{count}} minuti"},xMinutes:{one:"un minuto",other:"{{count}} minuti"},aboutXHours:{one:"circa un'ora",other:"circa {{count}} ore"},xHours:{one:"un'ora",other:"{{count}} ore"},xDays:{one:"un giorno",other:"{{count}} giorni"},aboutXWeeks:{one:"circa una settimana",other:"circa {{count}} settimane"},xWeeks:{one:"una settimana",other:"{{count}} settimane"},aboutXMonths:{one:"circa un mese",other:"circa {{count}} mesi"},xMonths:{one:"un mese",other:"{{count}} mesi"},aboutXYears:{one:"circa un anno",other:"circa {{count}} anni"},xYears:{one:"un anno",other:"{{count}} anni"},overXYears:{one:"più di un anno",other:"più di {{count}} anni"},almostXYears:{one:"quasi un anno",other:"quasi {{count}} anni"}},o=function(e,t,n){var o,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"tra "+o:o+" fa":o},i=n(49526),a={date:(0,i.Z)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},defaultWidth:"full"})},s=n(13882),l=n(59025);function c(e,t,n){(0,s.Z)(2,arguments);var r=(0,l.Z)(e,n),o=(0,l.Z)(t,n);return r.getTime()===o.getTime()}var u=["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"];function d(e){return"'"+u[e]+" alle' p"}var f={lastWeek:function(e,t,n){var r=e.getUTCDay();return c(e,t,n)?d(r):function(e){return 0===e?"'domenica scorsa alle' p":"'"+u[e]+" scorso alle' p"}(r)},yesterday:"'ieri alle' p",today:"'oggi alle' p",tomorrow:"'domani alle' p",nextWeek:function(e,t,n){var r=e.getUTCDay();return c(e,t,n)?d(r):function(e){return 0===e?"'domenica prossima alle' p":"'"+u[e]+" prossimo alle' p"}(r)},other:"P"},p=function(e,t,n,r){var o=f[e];return"function"==typeof o?o(t,n,r):o},h=n(88486),m={ordinalNumber:function(e,t){var n=Number(e);return String(n)},era:(0,h.Z)({values:{narrow:["aC","dC"],abbreviated:["a.C.","d.C."],wide:["avanti Cristo","dopo Cristo"]},defaultWidth:"wide"}),quarter:(0,h.Z)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,h.Z)({values:{narrow:["G","F","M","A","M","G","L","A","S","O","N","D"],abbreviated:["gen","feb","mar","apr","mag","giu","lug","ago","set","ott","nov","dic"],wide:["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},defaultWidth:"wide"}),day:(0,h.Z)({values:{narrow:["D","L","M","M","G","V","S"],short:["dom","lun","mar","mer","gio","ven","sab"],abbreviated:["dom","lun","mar","mer","gio","ven","sab"],wide:["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},defaultWidth:"wide"}),dayPeriod:(0,h.Z)({values:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"mattina",afternoon:"pomeriggio",evening:"sera",night:"notte"}},defaultWidth:"wide",formattingValues:{narrow:{am:"m.",pm:"p.",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},abbreviated:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"},wide:{am:"AM",pm:"PM",midnight:"mezzanotte",noon:"mezzogiorno",morning:"di mattina",afternoon:"del pomeriggio",evening:"di sera",night:"di notte"}},defaultFormattingWidth:"wide"})},g=n(76723),v={code:"it",formatDistance:o,formatLong:a,formatRelative:p,localize:m,match:{ordinalNumber:(0,n(60974).Z)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,g.Z)({matchPatterns:{narrow:/^(aC|dC)/i,abbreviated:/^(a\.?\s?C\.?|a\.?\s?e\.?\s?v\.?|d\.?\s?C\.?|e\.?\s?v\.?)/i,wide:/^(avanti Cristo|avanti Era Volgare|dopo Cristo|Era Volgare)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^a/i,/^(d|e)/i]},defaultParseWidth:"any"}),quarter:(0,g.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^t[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,g.Z)({matchPatterns:{narrow:/^[gfmalsond]/i,abbreviated:/^(gen|feb|mar|apr|mag|giu|lug|ago|set|ott|nov|dic)/i,wide:/^(gennaio|febbraio|marzo|aprile|maggio|giugno|luglio|agosto|settembre|ottobre|novembre|dicembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^g/i,/^f/i,/^m/i,/^a/i,/^m/i,/^g/i,/^l/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ge/i,/^f/i,/^mar/i,/^ap/i,/^mag/i,/^gi/i,/^l/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,g.Z)({matchPatterns:{narrow:/^[dlmgvs]/i,short:/^(do|lu|ma|me|gi|ve|sa)/i,abbreviated:/^(dom|lun|mar|mer|gio|ven|sab)/i,wide:/^(domenica|luned[i|ì]|marted[i|ì]|mercoled[i|ì]|gioved[i|ì]|venerd[i|ì]|sabato)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^g/i,/^v/i,/^s/i],any:[/^d/i,/^l/i,/^ma/i,/^me/i,/^g/i,/^v/i,/^s/i]},defaultParseWidth:"any"}),dayPeriod:(0,g.Z)({matchPatterns:{narrow:/^(a|m\.|p|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i,any:/^([ap]\.?\s?m\.?|mezzanotte|mezzogiorno|(di|del) (mattina|pomeriggio|sera|notte))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mezza/i,noon:/^mezzo/i,morning:/mattina/i,afternoon:/pomeriggio/i,evening:/sera/i,night:/notte/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},94638:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},o=function(e,t,n){var o,i=r[e];return o="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",String(t)),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"over "+o:o+" geleden":o},i=n(49526),a={date:(0,i.Z)({formats:{full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},defaultWidth:"full"}),time:(0,i.Z)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}),dateTime:(0,i.Z)({formats:{full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},s={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},l=function(e,t,n,r){return s[e]},c=n(88486),u={ordinalNumber:function(e,t){return Number(e)+"e"},era:(0,c.Z)({values:{narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},defaultWidth:"wide"}),quarter:(0,c.Z)({values:{narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:(0,c.Z)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},defaultWidth:"wide"}),day:(0,c.Z)({values:{narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},defaultWidth:"wide"}),dayPeriod:(0,c.Z)({values:{narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},defaultWidth:"wide"})},d=n(76723),f={code:"nl",formatDistance:o,formatLong:a,formatRelative:l,localize:u,match:{ordinalNumber:(0,n(60974).Z)({matchPattern:/^(\d+)e?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,d.Z)({matchPatterns:{narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},defaultMatchWidth:"wide",parsePatterns:{any:[/^v/,/^n/]},defaultParseWidth:"any"}),quarter:(0,d.Z)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:(0,d.Z)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|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:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},defaultParseWidth:"any"}),day:(0,d.Z)({matchPatterns:{narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},defaultParseWidth:"any"}),dayPeriod:(0,d.Z)({matchPatterns:{any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:4}}},99890:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(19013),o=n(13882);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){var t,n;if((0,o.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==i(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,r.default)(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)})),n||new Date(NaN)}},37950:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(19013),o=n(13882);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function a(e){var t,n;if((0,o.Z)(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==i(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach((function(e){var t=(0,r.default)(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)})),n||new Date(NaN)}},42034:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ma}});var r=n(23121),o=n(91218),i=n(19013),a=n(52149),s=n(97621),l=n(24262),c=n(5267),u=n(83946),d=n(13882);function f(e){return f="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},f(e)}function p(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}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(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=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function A(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 x(e,t,n){return t&&A(e.prototype,t),n&&A(e,n),e}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=function(){function e(){y(this,e),C(this,"subPriority",0)}return x(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),w=function(e){p(n,e);var t=m(n);function n(e,r,o,i,a){var s;return y(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=o,s.priority=i,a&&(s.subPriority=a),s}return x(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}(_),k=function(e){p(n,e);var t=m(n);function n(){var e;y(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return C(v(e=t.call.apply(t,[this].concat(o))),"priority",10),C(v(e),"subPriority",-1),e}return x(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}(_);function S(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)}}var E=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"run",value:function(e,t,n,r){var o=this.parse(e,t,n,r);return o?{setter:new w(o.value,this.validate,this.set,this.priority,this.subPriority),rest:o.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}])&&S(t.prototype,n),r&&S(t,r),e}();function B(e){return B="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},B(e)}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(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 T(e,t){return T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},T(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=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return M(this,n)}}function M(e,t){return!t||"object"!==B(t)&&"function"!=typeof t?D(e):t}function D(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}function L(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=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}}),t&&T(e,t)}(i,e);var t,n,r,o=P(i);function i(){var e;O(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return L(D(e=o.call.apply(o,[this].concat(n))),"priority",140),L(D(e),"incompatibleTokens",["R","u","t","T"]),e}return t=i,(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}}])&&j(t.prototype,n),r&&j(t,r),i}(E),N=n(36948),F=/^(1[0-2]|0?\d)/,z=/^(3[0-1]|[0-2]?\d)/,q=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,U=/^(5[0-3]|[0-4]?\d)/,H=/^(2[0-3]|[0-1]?\d)/,W=/^(2[0-4]|[0-1]?\d)/,V=/^(1[0-1]|0?\d)/,Y=/^(1[0-2]|0?\d)/,Z=/^[0-5]?\d/,G=/^[0-5]?\d/,K=/^\d/,$=/^\d{1,2}/,X=/^\d{1,3}/,Q=/^\d{1,4}/,J=/^-?\d+/,ee=/^-?\d/,te=/^-?\d{1,2}/,ne=/^-?\d{1,3}/,re=/^-?\d{1,4}/,oe=/^([+-])(\d{2})(\d{2})?|Z/,ie=/^([+-])(\d{2})(\d{2})|Z/,ae=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,se=/^([+-])(\d{2}):(\d{2})|Z/,le=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function ce(e,t){return e?{value:t(e.value),rest:e.rest}:e}function ue(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function de(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*N.vh+i*N.yJ+a*N.qk),rest:t.slice(n[0].length)}}function fe(e){return ue(J,e)}function pe(e,t){switch(e){case 1:return ue(K,t);case 2:return ue($,t);case 3:return ue(X,t);case 4:return ue(Q,t);default:return ue(new RegExp("^\\d{1,"+e+"}"),t)}}function he(e,t){switch(e){case 1:return ue(ee,t);case 2:return ue(te,t);case 3:return ue(ne,t);case 4:return ue(re,t);default:return ue(new RegExp("^-?\\d{1,"+e+"}"),t)}}function me(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function ge(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 ve(e){return e%400==0||e%4==0&&e%100!=0}function be(e){return be="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},be(e)}function ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ae(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 xe(e,t){return xe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},xe(e,t)}function Ce(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=ke(e);if(t){var o=ke(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _e(this,n)}}function _e(e,t){return!t||"object"!==be(t)&&"function"!=typeof t?we(e):t}function we(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ke(e)}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ee=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}}),t&&xe(e,t)}(i,e);var t,n,r,o=Ce(i);function i(){var e;ye(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Se(we(e=o.call.apply(o,[this].concat(n))),"priority",130),Se(we(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return ce(pe(4,e),r);case"yo":return ce(n.ordinalNumber(e,{unit:"year"}),r);default:return ce(pe(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=ge(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}}])&&Ae(t.prototype,n),r&&Ae(t,r),i}(E),Be=n(7651),Oe=n(59025);function je(e){return je="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},je(e)}function Te(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(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 Me(e,t){return Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Me(e,t)}function De(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=Ie(e);if(t){var o=Ie(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Re(this,n)}}function Re(e,t){return!t||"object"!==je(t)&&"function"!=typeof t?Le(e):t}function Le(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ie(e){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ie(e)}function Ne(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Fe=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}}),t&&Me(e,t)}(i,e);var t,n,r,o=De(i);function i(){var e;Te(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ne(Le(e=o.call.apply(o,[this].concat(n))),"priority",130),Ne(Le(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return ce(pe(4,e),r);case"Yo":return ce(n.ordinalNumber(e,{unit:"year"}),r);default:return ce(pe(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,Be.Z)(e,r);if(n.isTwoDigitYear){var i=ge(n.year,o);return e.setUTCFullYear(i,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),(0,Oe.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,Oe.Z)(e,r)}}])&&Pe(t.prototype,n),r&&Pe(t,r),i}(E),ze=n(66979);function qe(e){return qe="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},qe(e)}function Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(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 We(e,t){return We=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},We(e,t)}function Ve(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=Ge(e);if(t){var o=Ge(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ye(this,n)}}function Ye(e,t){return!t||"object"!==qe(t)&&"function"!=typeof t?Ze(e):t}function Ze(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ge(e){return Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ge(e)}function Ke(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var $e=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}}),t&&We(e,t)}(i,e);var t,n,r,o=Ve(i);function i(){var e;Ue(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ke(Ze(e=o.call.apply(o,[this].concat(n))),"priority",130),Ke(Ze(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t){return he("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,ze.Z)(r)}}])&&He(t.prototype,n),r&&He(t,r),i}(E);function Xe(e){return Xe="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},Xe(e)}function Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Je(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 et(e,t){return et=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},et(e,t)}function tt(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=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return nt(this,n)}}function nt(e,t){return!t||"object"!==Xe(t)&&"function"!=typeof t?rt(e):t}function rt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ot(e)}function it(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var at=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}}),t&&et(e,t)}(i,e);var t,n,r,o=tt(i);function i(){var e;Qe(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return it(rt(e=o.call.apply(o,[this].concat(n))),"priority",130),it(rt(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t){return he("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}}])&&Je(t.prototype,n),r&&Je(t,r),i}(E);function st(e){return st="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},st(e)}function lt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ct(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 ut(e,t){return ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ut(e,t)}function dt(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=ht(e);if(t){var o=ht(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ft(this,n)}}function ft(e,t){return!t||"object"!==st(t)&&"function"!=typeof t?pt(e):t}function pt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ht(e)}function mt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var gt=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}}),t&&ut(e,t)}(i,e);var t,n,r,o=dt(i);function i(){var e;lt(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mt(pt(e=o.call.apply(o,[this].concat(n))),"priority",120),mt(pt(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return pe(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}}])&&ct(t.prototype,n),r&&ct(t,r),i}(E);function vt(e){return vt="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},vt(e)}function bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yt(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 At(e,t){return At=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},At(e,t)}function xt(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=wt(e);if(t){var o=wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ct(this,n)}}function Ct(e,t){return!t||"object"!==vt(t)&&"function"!=typeof t?_t(e):t}function _t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},wt(e)}function kt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var St=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}}),t&&At(e,t)}(i,e);var t,n,r,o=xt(i);function i(){var e;bt(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return kt(_t(e=o.call.apply(o,[this].concat(n))),"priority",120),kt(_t(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return pe(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}}])&&yt(t.prototype,n),r&&yt(t,r),i}(E);function Et(e){return Et="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},Et(e)}function Bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ot(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 jt(e,t){return jt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},jt(e,t)}function Tt(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=Dt(e);if(t){var o=Dt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Pt(this,n)}}function Pt(e,t){return!t||"object"!==Et(t)&&"function"!=typeof t?Mt(e):t}function Mt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dt(e){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Dt(e)}function Rt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lt=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}}),t&&jt(e,t)}(i,e);var t,n,r,o=Tt(i);function i(){var e;Bt(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Rt(Mt(e=o.call.apply(o,[this].concat(n))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Rt(Mt(e),"priority",110),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return ce(ue(F,e),r);case"MM":return ce(pe(2,e),r);case"Mo":return ce(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}}])&&Ot(t.prototype,n),r&&Ot(t,r),i}(E);function It(e){return It="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},It(e)}function Nt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ft(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 zt(e,t){return zt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},zt(e,t)}function qt(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=Wt(e);if(t){var o=Wt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Ut(this,n)}}function Ut(e,t){return!t||"object"!==It(t)&&"function"!=typeof t?Ht(e):t}function Ht(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(e){return Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Wt(e)}function Vt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Yt=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}}),t&&zt(e,t)}(i,e);var t,n,r,o=qt(i);function i(){var e;Nt(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vt(Ht(e=o.call.apply(o,[this].concat(n))),"priority",110),Vt(Ht(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return ce(ue(F,e),r);case"LL":return ce(pe(2,e),r);case"Lo":return ce(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}}])&&Ft(t.prototype,n),r&&Ft(t,r),i}(E),Zt=n(5230);function Gt(e){return Gt="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},Gt(e)}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $t(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 Xt(e,t){return Xt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Xt(e,t)}function Qt(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=tn(e);if(t){var o=tn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Jt(this,n)}}function Jt(e,t){return!t||"object"!==Gt(t)&&"function"!=typeof t?en(e):t}function en(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tn(e){return tn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},tn(e)}function nn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rn=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}}),t&&Xt(e,t)}(a,e);var t,n,r,o=Qt(a);function a(){var e;Kt(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return nn(en(e=o.call.apply(o,[this].concat(n))),"priority",100),nn(en(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return t=a,n=[{key:"parse",value:function(e,t,n){switch(t){case"w":return ue(U,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return pe(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return(0,Oe.Z)(function(e,t,n){(0,d.Z)(2,arguments);var r=(0,i.default)(e),o=(0,u.Z)(t),a=(0,Zt.Z)(r,n)-o;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,n,r),r)}}],n&&$t(t.prototype,n),r&&$t(t,r),a}(E),on=n(33276);function an(e){return an="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},an(e)}function sn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ln(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 cn(e,t){return cn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},cn(e,t)}function un(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=pn(e);if(t){var o=pn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dn(this,n)}}function dn(e,t){return!t||"object"!==an(t)&&"function"!=typeof t?fn(e):t}function fn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pn(e){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pn(e)}function hn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mn=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}}),t&&cn(e,t)}(a,e);var t,n,r,o=un(a);function a(){var e;sn(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hn(fn(e=o.call.apply(o,[this].concat(n))),"priority",100),hn(fn(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return t=a,n=[{key:"parse",value:function(e,t,n){switch(t){case"I":return ue(U,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return pe(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return(0,ze.Z)(function(e,t){(0,d.Z)(2,arguments);var n=(0,i.default)(e),r=(0,u.Z)(t),o=(0,on.Z)(n)-r;return n.setUTCDate(n.getUTCDate()-7*o),n}(e,n))}}],n&&ln(t.prototype,n),r&&ln(t,r),a}(E);function gn(e){return gn="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},gn(e)}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bn(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 yn(e,t){return yn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yn(e,t)}function An(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=_n(e);if(t){var o=_n(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xn(this,n)}}function xn(e,t){return!t||"object"!==gn(t)&&"function"!=typeof t?Cn(e):t}function Cn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _n(e){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_n(e)}function wn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kn=[31,28,31,30,31,30,31,31,30,31,30,31],Sn=[31,29,31,30,31,30,31,31,30,31,30,31],En=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}}),t&&yn(e,t)}(i,e);var t,n,r,o=An(i);function i(){var e;vn(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return wn(Cn(e=o.call.apply(o,[this].concat(n))),"priority",90),wn(Cn(e),"subPriority",1),wn(Cn(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"d":return ue(z,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return pe(t.length,e)}}},{key:"validate",value:function(e,t){var n=ve(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Sn[r]:t>=1&&t<=kn[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}])&&bn(t.prototype,n),r&&bn(t,r),i}(E);function Bn(e){return Bn="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},Bn(e)}function On(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(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 Tn(e,t){return Tn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Tn(e,t)}function Pn(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=Rn(e);if(t){var o=Rn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Mn(this,n)}}function Mn(e,t){return!t||"object"!==Bn(t)&&"function"!=typeof t?Dn(e):t}function Dn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Rn(e){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Rn(e)}function Ln(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var In=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}}),t&&Tn(e,t)}(i,e);var t,n,r,o=Pn(i);function i(){var e;On(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ln(Dn(e=o.call.apply(o,[this].concat(n))),"priority",90),Ln(Dn(e),"subpriority",1),Ln(Dn(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return ue(q,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return pe(t.length,e)}}},{key:"validate",value:function(e,t){return ve(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}}])&&jn(t.prototype,n),r&&jn(t,r),i}(E),Nn=n(84314);function Fn(e,t,n){var r,o,a,s,l,c,f,p;(0,d.Z)(2,arguments);var h=(0,Nn.j)(),m=(0,u.Z)(null!==(r=null!==(o=null!==(a=null!==(s=null==n?void 0:n.weekStartsOn)&&void 0!==s?s:null==n||null===(l=n.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==a?a:h.weekStartsOn)&&void 0!==o?o:null===(f=h.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==r?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,i.default)(e),v=(0,u.Z)(t),b=g.getUTCDay(),y=v%7,A=(y+7)%7,x=(A<m?7:0)+v-b;return g.setUTCDate(g.getUTCDate()+x),g}function zn(e){return zn="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},zn(e)}function qn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Un(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 Hn(e,t){return Hn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Hn(e,t)}function Wn(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=Zn(e);if(t){var o=Zn(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Vn(this,n)}}function Vn(e,t){return!t||"object"!==zn(t)&&"function"!=typeof t?Yn(e):t}function Yn(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zn(e){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Zn(e)}function Gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Kn=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}}),t&&Hn(e,t)}(i,e);var t,n,r,o=Wn(i);function i(){var e;qn(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Gn(Yn(e=o.call.apply(o,[this].concat(n))),"priority",90),Gn(Yn(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return t=i,(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=Fn(e,n,r)).setUTCHours(0,0,0,0),e}}])&&Un(t.prototype,n),r&&Un(t,r),i}(E);function $n(e){return $n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$n(e)}function Xn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qn(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 Jn(e,t){return Jn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Jn(e,t)}function er(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=rr(e);if(t){var o=rr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return tr(this,n)}}function tr(e,t){return!t||"object"!==$n(t)&&"function"!=typeof t?nr(e):t}function nr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function rr(e){return rr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},rr(e)}function or(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ir=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}}),t&&Jn(e,t)}(i,e);var t,n,r,o=er(i);function i(){var e;Xn(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return or(nr(e=o.call.apply(o,[this].concat(n))),"priority",90),or(nr(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return t=i,(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 ce(pe(t.length,e),o);case"eo":return ce(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=Fn(e,n,r)).setUTCHours(0,0,0,0),e}}])&&Qn(t.prototype,n),r&&Qn(t,r),i}(E);function ar(e){return ar="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},ar(e)}function sr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function lr(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 cr(e,t){return cr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},cr(e,t)}function ur(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=pr(e);if(t){var o=pr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return dr(this,n)}}function dr(e,t){return!t||"object"!==ar(t)&&"function"!=typeof t?fr(e):t}function fr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pr(e){return pr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},pr(e)}function hr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var mr=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}}),t&&cr(e,t)}(i,e);var t,n,r,o=ur(i);function i(){var e;sr(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return hr(fr(e=o.call.apply(o,[this].concat(n))),"priority",90),hr(fr(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return t=i,(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 ce(pe(t.length,e),o);case"co":return ce(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=Fn(e,n,r)).setUTCHours(0,0,0,0),e}}])&&lr(t.prototype,n),r&&lr(t,r),i}(E);function gr(e){return gr="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},gr(e)}function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function br(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 yr(e,t){return yr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},yr(e,t)}function Ar(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=_r(e);if(t){var o=_r(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return xr(this,n)}}function xr(e,t){return!t||"object"!==gr(t)&&"function"!=typeof t?Cr(e):t}function Cr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _r(e){return _r=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_r(e)}function wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kr=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}}),t&&yr(e,t)}(a,e);var t,n,r,o=Ar(a);function a(){var e;vr(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return wr(Cr(e=o.call.apply(o,[this].concat(n))),"priority",90),wr(Cr(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return t=a,n=[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return pe(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return ce(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 ce(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return ce(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return ce(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,d.Z)(2,arguments);var n=(0,u.Z)(t);n%7==0&&(n-=7);var r=1,o=(0,i.default)(e),a=o.getUTCDay(),s=((n%7+7)%7<r?7:0)+n-a;return o.setUTCDate(o.getUTCDate()+s),o}(e,n),e.setUTCHours(0,0,0,0),e}}],n&&br(t.prototype,n),r&&br(t,r),a}(E);function Sr(e){return Sr="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},Sr(e)}function Er(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Br(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 Or(e,t){return Or=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Or(e,t)}function jr(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=Mr(e);if(t){var o=Mr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Tr(this,n)}}function Tr(e,t){return!t||"object"!==Sr(t)&&"function"!=typeof t?Pr(e):t}function Pr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mr(e){return Mr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Mr(e)}function Dr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rr=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}}),t&&Or(e,t)}(i,e);var t,n,r,o=jr(i);function i(){var e;Er(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Dr(Pr(e=o.call.apply(o,[this].concat(n))),"priority",80),Dr(Pr(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return t=i,(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(me(n),0,0,0),e}}])&&Br(t.prototype,n),r&&Br(t,r),i}(E);function Lr(e){return Lr="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},Lr(e)}function Ir(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(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 Fr(e,t){return Fr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fr(e,t)}function zr(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=Hr(e);if(t){var o=Hr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return qr(this,n)}}function qr(e,t){return!t||"object"!==Lr(t)&&"function"!=typeof t?Ur(e):t}function Ur(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hr(e){return Hr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Hr(e)}function Wr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Vr=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}}),t&&Fr(e,t)}(i,e);var t,n,r,o=zr(i);function i(){var e;Ir(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Wr(Ur(e=o.call.apply(o,[this].concat(n))),"priority",80),Wr(Ur(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return t=i,(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(me(n),0,0,0),e}}])&&Nr(t.prototype,n),r&&Nr(t,r),i}(E);function Yr(e){return Yr="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},Yr(e)}function Zr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gr(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 Kr(e,t){return Kr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Kr(e,t)}function $r(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=Jr(e);if(t){var o=Jr(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xr(this,n)}}function Xr(e,t){return!t||"object"!==Yr(t)&&"function"!=typeof t?Qr(e):t}function Qr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jr(e){return Jr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Jr(e)}function eo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var to=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}}),t&&Kr(e,t)}(i,e);var t,n,r,o=$r(i);function i(){var e;Zr(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return eo(Qr(e=o.call.apply(o,[this].concat(n))),"priority",80),eo(Qr(e),"incompatibleTokens",["a","b","t","T"]),e}return t=i,(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(me(n),0,0,0),e}}])&&Gr(t.prototype,n),r&&Gr(t,r),i}(E);function no(e){return no="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},no(e)}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oo(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 io(e,t){return io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},io(e,t)}function ao(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=co(e);if(t){var o=co(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return so(this,n)}}function so(e,t){return!t||"object"!==no(t)&&"function"!=typeof t?lo(e):t}function lo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function co(e){return co=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},co(e)}function uo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fo=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}}),t&&io(e,t)}(i,e);var t,n,r,o=ao(i);function i(){var e;ro(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return uo(lo(e=o.call.apply(o,[this].concat(n))),"priority",70),uo(lo(e),"incompatibleTokens",["H","K","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"h":return ue(Y,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return pe(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}}])&&oo(t.prototype,n),r&&oo(t,r),i}(E);function po(e){return po="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},po(e)}function ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(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 go(e,t){return go=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},go(e,t)}function vo(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=Ao(e);if(t){var o=Ao(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return bo(this,n)}}function bo(e,t){return!t||"object"!==po(t)&&"function"!=typeof t?yo(e):t}function yo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ao(e){return Ao=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ao(e)}function xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Co=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}}),t&&go(e,t)}(i,e);var t,n,r,o=vo(i);function i(){var e;ho(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return xo(yo(e=o.call.apply(o,[this].concat(n))),"priority",70),xo(yo(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"H":return ue(H,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return pe(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}}])&&mo(t.prototype,n),r&&mo(t,r),i}(E);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)}function wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ko(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 So(e,t){return So=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},So(e,t)}function Eo(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=jo(e);if(t){var o=jo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bo(this,n)}}function Bo(e,t){return!t||"object"!==_o(t)&&"function"!=typeof t?Oo(e):t}function Oo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jo(e){return jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},jo(e)}function To(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Po=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}}),t&&So(e,t)}(i,e);var t,n,r,o=Eo(i);function i(){var e;wo(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return To(Oo(e=o.call.apply(o,[this].concat(n))),"priority",70),To(Oo(e),"incompatibleTokens",["h","H","k","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"K":return ue(V,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return pe(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}}])&&ko(t.prototype,n),r&&ko(t,r),i}(E);function Mo(e){return Mo="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},Mo(e)}function Do(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ro(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 Lo(e,t){return Lo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Lo(e,t)}function Io(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=zo(e);if(t){var o=zo(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return No(this,n)}}function No(e,t){return!t||"object"!==Mo(t)&&"function"!=typeof t?Fo(e):t}function Fo(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function zo(e){return zo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},zo(e)}function qo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uo=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}}),t&&Lo(e,t)}(i,e);var t,n,r,o=Io(i);function i(){var e;Do(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return qo(Fo(e=o.call.apply(o,[this].concat(n))),"priority",70),qo(Fo(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"k":return ue(W,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return pe(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}}])&&Ro(t.prototype,n),r&&Ro(t,r),i}(E);function Ho(e){return Ho="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},Ho(e)}function Wo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vo(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 Yo(e,t){return Yo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Yo(e,t)}function Zo(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=$o(e);if(t){var o=$o(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Go(this,n)}}function Go(e,t){return!t||"object"!==Ho(t)&&"function"!=typeof t?Ko(e):t}function Ko(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $o(e){return $o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},$o(e)}function Xo(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qo=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}}),t&&Yo(e,t)}(i,e);var t,n,r,o=Zo(i);function i(){var e;Wo(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Xo(Ko(e=o.call.apply(o,[this].concat(n))),"priority",60),Xo(Ko(e),"incompatibleTokens",["t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"m":return ue(Z,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return pe(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}}])&&Vo(t.prototype,n),r&&Vo(t,r),i}(E);function Jo(e){return Jo="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},Jo(e)}function ei(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ti(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 ni(e,t){return ni=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},ni(e,t)}function ri(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=ai(e);if(t){var o=ai(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return oi(this,n)}}function oi(e,t){return!t||"object"!==Jo(t)&&"function"!=typeof t?ii(e):t}function ii(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ai(e){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},ai(e)}function si(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var li=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}}),t&&ni(e,t)}(i,e);var t,n,r,o=ri(i);function i(){var e;ei(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return si(ii(e=o.call.apply(o,[this].concat(n))),"priority",50),si(ii(e),"incompatibleTokens",["t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t,n){switch(t){case"s":return ue(G,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return pe(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}}])&&ti(t.prototype,n),r&&ti(t,r),i}(E);function ci(e){return ci="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},ci(e)}function ui(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function di(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 fi(e,t){return fi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},fi(e,t)}function pi(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=gi(e);if(t){var o=gi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return hi(this,n)}}function hi(e,t){return!t||"object"!==ci(t)&&"function"!=typeof t?mi(e):t}function mi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function gi(e){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},gi(e)}function vi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bi=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}}),t&&fi(e,t)}(i,e);var t,n,r,o=pi(i);function i(){var e;ui(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return vi(mi(e=o.call.apply(o,[this].concat(n))),"priority",30),vi(mi(e),"incompatibleTokens",["t","T"]),e}return t=i,(n=[{key:"parse",value:function(e,t){return ce(pe(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}}])&&di(t.prototype,n),r&&di(t,r),i}(E);function yi(e){return yi="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},yi(e)}function Ai(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xi(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 Ci(e,t){return Ci=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ci(e,t)}function _i(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=Si(e);if(t){var o=Si(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wi(this,n)}}function wi(e,t){return!t||"object"!==yi(t)&&"function"!=typeof t?ki(e):t}function ki(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Si(e){return Si=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Si(e)}function Ei(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Bi=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}}),t&&Ci(e,t)}(i,e);var t,n,r,o=_i(i);function i(){var e;Ai(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ei(ki(e=o.call.apply(o,[this].concat(n))),"priority",10),Ei(ki(e),"incompatibleTokens",["t","T","x"]),e}return t=i,(n=[{key:"parse",value:function(e,t){switch(t){case"X":return de(oe,e);case"XX":return de(ie,e);case"XXXX":return de(ae,e);case"XXXXX":return de(le,e);default:return de(se,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}])&&xi(t.prototype,n),r&&xi(t,r),i}(E);function Oi(e){return Oi="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},Oi(e)}function ji(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ti(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 Pi(e,t){return Pi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Pi(e,t)}function Mi(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=Li(e);if(t){var o=Li(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Di(this,n)}}function Di(e,t){return!t||"object"!==Oi(t)&&"function"!=typeof t?Ri(e):t}function Ri(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Li(e){return Li=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Li(e)}function Ii(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ni=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}}),t&&Pi(e,t)}(i,e);var t,n,r,o=Mi(i);function i(){var e;ji(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ii(Ri(e=o.call.apply(o,[this].concat(n))),"priority",10),Ii(Ri(e),"incompatibleTokens",["t","T","X"]),e}return t=i,(n=[{key:"parse",value:function(e,t){switch(t){case"x":return de(oe,e);case"xx":return de(ie,e);case"xxxx":return de(ae,e);case"xxxxx":return de(le,e);default:return de(se,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}])&&Ti(t.prototype,n),r&&Ti(t,r),i}(E);function Fi(e){return Fi="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},Fi(e)}function zi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qi(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 Ui(e,t){return Ui=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Ui(e,t)}function Hi(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=Yi(e);if(t){var o=Yi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Wi(this,n)}}function Wi(e,t){return!t||"object"!==Fi(t)&&"function"!=typeof t?Vi(e):t}function Vi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yi(e){return Yi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Yi(e)}function Zi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gi=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}}),t&&Ui(e,t)}(i,e);var t,n,r,o=Hi(i);function i(){var e;zi(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zi(Vi(e=o.call.apply(o,[this].concat(n))),"priority",40),Zi(Vi(e),"incompatibleTokens","*"),e}return t=i,(n=[{key:"parse",value:function(e){return fe(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}])&&qi(t.prototype,n),r&&qi(t,r),i}(E);function Ki(e){return Ki="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},Ki(e)}function $i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xi(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 Qi(e,t){return Qi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Qi(e,t)}function Ji(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=na(e);if(t){var o=na(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ea(this,n)}}function ea(e,t){return!t||"object"!==Ki(t)&&"function"!=typeof t?ta(e):t}function ta(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function na(e){return na=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},na(e)}function ra(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var oa=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}}),t&&Qi(e,t)}(i,e);var t,n,r,o=Ji(i);function i(){var e;$i(this,i);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return ra(ta(e=o.call.apply(o,[this].concat(n))),"priority",20),ra(ta(e),"incompatibleTokens","*"),e}return t=i,(n=[{key:"parse",value:function(e){return fe(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}])&&Xi(t.prototype,n),r&&Xi(t,r),i}(E),ia={G:new I,y:new Ee,Y:new Fe,R:new $e,u:new at,Q:new gt,q:new St,M:new Lt,L:new Yt,w:new rn,I:new mn,d:new En,D:new In,E:new Kn,e:new ir,c:new mr,i:new kr,a:new Rr,b:new Vr,B:new to,h:new fo,H:new Co,K:new Po,k:new Uo,m:new Qo,s:new li,S:new bi,X:new Bi,x:new Ni,t:new Gi,T:new oa};function aa(e){return aa="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},aa(e)}function sa(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return la(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 la(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function la(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 ca=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ua=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,da=/^'([^]*?)'?$/,fa=/''/g,pa=/\S/,ha=/[a-zA-Z]/;function ma(e,t,n,f){var p,h,m,g,v,b,y,A,x,C,_,w,S,E,B,O,j,T;(0,d.Z)(3,arguments);var P=String(e),M=String(t),D=(0,Nn.j)(),R=null!==(p=null!==(h=null==f?void 0:f.locale)&&void 0!==h?h:D.locale)&&void 0!==p?p:r.Z;if(!R.match)throw new RangeError("locale must contain match property");var L=(0,u.Z)(null!==(m=null!==(g=null!==(v=null!==(b=null==f?void 0:f.firstWeekContainsDate)&&void 0!==b?b:null==f||null===(y=f.locale)||void 0===y||null===(A=y.options)||void 0===A?void 0:A.firstWeekContainsDate)&&void 0!==v?v:D.firstWeekContainsDate)&&void 0!==g?g:null===(x=D.locale)||void 0===x||null===(C=x.options)||void 0===C?void 0:C.firstWeekContainsDate)&&void 0!==m?m:1);if(!(L>=1&&L<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var I=(0,u.Z)(null!==(_=null!==(w=null!==(S=null!==(E=null==f?void 0:f.weekStartsOn)&&void 0!==E?E:null==f||null===(B=f.locale)||void 0===B||null===(O=B.options)||void 0===O?void 0:O.weekStartsOn)&&void 0!==S?S:D.weekStartsOn)&&void 0!==w?w:null===(j=D.locale)||void 0===j||null===(T=j.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==_?_:0);if(!(I>=0&&I<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===M)return""===P?(0,i.default)(n):new Date(NaN);var N,F={firstWeekContainsDate:L,weekStartsOn:I,locale:R},z=[new k],q=M.match(ua).map((function(e){var t=e[0];return t in s.Z?(0,s.Z[t])(e,R.formatLong):e})).join("").match(ca),U=[],H=sa(q);try{var W=function(){var t=N.value;null!=f&&f.useAdditionalWeekYearTokens||!(0,c.Do)(t)||(0,c.qp)(t,M,e),null!=f&&f.useAdditionalDayOfYearTokens||!(0,c.Iu)(t)||(0,c.qp)(t,M,e);var n=t[0],r=ia[n];if(r){var o=r.incompatibleTokens;if(Array.isArray(o)){var i=U.find((function(e){return o.includes(e.token)||e.token===n}));if(i)throw new RangeError("The format string mustn't contain `".concat(i.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 a=r.run(P,t,R.match,F);if(!a)return{v:new Date(NaN)};z.push(a.setter),P=a.rest}else{if(n.match(ha))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=ga(t)),0!==P.indexOf(t))return{v:new Date(NaN)};P=P.slice(t.length)}};for(H.s();!(N=H.n()).done;){var V=W();if("object"===aa(V))return V.v}}catch(e){H.e(e)}finally{H.f()}if(P.length>0&&pa.test(P))return new Date(NaN);var Y=z.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 z.filter((function(t){return t.priority===e})).sort((function(e,t){return t.subPriority-e.subPriority}))})).map((function(e){return e[0]})),Z=(0,i.default)(n);if(isNaN(Z.getTime()))return new Date(NaN);var G,K=(0,o.Z)(Z,(0,l.Z)(Z)),$={},X=sa(Y);try{for(X.s();!(G=X.n()).done;){var Q=G.value;if(!Q.validate(K,F))return new Date(NaN);var J=Q.set(K,$,F);Array.isArray(J)?(K=J[0],(0,a.Z)($,J[1])):K=J}}catch(e){X.e(e)}finally{X.f()}return K}function ga(e){return e.match(da)[1].replace(fa,"'")}},23855:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.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 l=f(s.date,r);a=p(l.restDateString,l.year)}if(!a||isNaN(a.getTime()))return new Date(NaN);var c,u=a.getTime(),h=0;if(s.time&&(h=m(s.time),isNaN(h)))return new Date(NaN);if(!s.timezone){var g=new Date(u+h),b=new Date(0);return b.setFullYear(g.getUTCFullYear(),g.getUTCMonth(),g.getUTCDate()),b.setHours(g.getUTCHours(),g.getUTCMinutes(),g.getUTCSeconds(),g.getUTCMilliseconds()),b}return c=v(s.timezone),isNaN(c)?new Date(NaN):new Date(u+h+c)}var s={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,c=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,u=/^([+-])(\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);o?(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 p(e,t){if(null===t)return new Date(NaN);var n=e.match(l);if(!n)return new Date(NaN);var r=!!n[4],o=h(n[1]),i=h(n[2])-1,a=h(n[3]),s=h(n[4]),c=h(n[5])-1;if(r)return function(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}(0,s,c)?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,c):new Date(NaN);var u=new Date(0);return function(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(b[t]||(y(e)?29:28))}(t,i,a)&&function(e,t){return t>=1&&t<=(y(e)?366:365)}(t,o)?(u.setUTCFullYear(t,i,Math.max(o,a)),u):new Date(NaN)}function h(e){return e?parseInt(e):1}function m(e){var t=e.match(c);if(!t)return NaN;var n=g(t[1]),o=g(t[2]),i=g(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 g(e){return e&&parseFloat(e.replace(",","."))||0}function v(e){if("Z"===e)return 0;var t=e.match(u);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 b=[31,null,31,30,31,30,31,31,30,31,30,31];function y(e){return e%400==0||e%4==0&&e%100!=0}},37042:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.default)(e),a=(0,r.Z)(t);return n.setHours(a),n}},4543:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.default)(e),a=(0,r.Z)(t);return n.setMinutes(a),n}},16218:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.default)(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.default)(e),s=(0,r.Z)(t),l=n.getFullYear(),c=n.getDate(),u=new Date(0);u.setFullYear(l,s,15),u.setHours(0,0,0,0);var d=a(u);return n.setMonth(s,Math.min(c,d)),n}},11503:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(83946),o=n(19013),i=n(16218),a=n(13882);function s(e,t){(0,a.Z)(2,arguments);var n=(0,o.default)(e),s=(0,r.Z)(t),l=Math.floor(n.getMonth()/3)+1,c=s-l;return(0,i.default)(n,n.getMonth()+3*c)}},39880:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.default)(e),a=(0,r.Z)(t);return n.setSeconds(a),n}},44749:function(e,t,n){"use strict";n.r(t),n.d(t,{default: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.default)(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.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setHours(0,0,0,0),t}},43703:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e);return t.setDate(1),t.setHours(0,0,0,0),t}},94431:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=t.getMonth(),i=n-n%3;return t.setMonth(i,1),t.setHours(0,0,0,0),t}},584:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return s}});var r=n(19013),o=n(83946),i=n(13882),a=n(84314);function s(e,t){var n,s,l,c,u,d,f,p;(0,i.Z)(1,arguments);var h=(0,a.j)(),m=(0,o.Z)(null!==(n=null!==(s=null!==(l=null!==(c=null==t?void 0:t.weekStartsOn)&&void 0!==c?c:null==t||null===(u=t.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==l?l:h.weekStartsOn)&&void 0!==s?s:null===(f=h.locale)||void 0===f||null===(p=f.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var g=(0,r.default)(e),v=g.getDay(),b=(v<m?7:0)+v-m;return g.setDate(g.getDate()-b),g.setHours(0,0,0,0),g}},38148:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(19013),o=n(13882);function i(e){(0,o.Z)(1,arguments);var t=(0,r.default)(e),n=new Date(0);return n.setFullYear(t.getFullYear(),0,1),n.setHours(0,0,0,0),n}},7069:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(77349),o=n(13882),i=n(83946);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},88330:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(78343),o=n(13882),i=n(83946);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},91218:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(51820),o=n(13882),i=n(83946);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.Z)(e,-n)}},1784:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(58545),o=n(13882),i=n(83946);function a(e,t){(0,o.Z)(2,arguments);var n=(0,i.Z)(t);return(0,r.default)(e,-n)}},54559:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(83946),o=n(11640),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},77982:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(83946),o=n(63500),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},59319:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=n(83946),o=n(21593),i=n(13882);function a(e,t){(0,i.Z)(2,arguments);var n=(0,r.Z)(t);return(0,o.default)(e,-n)}},19013:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=n(13882);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)}function i(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===o(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))}},10251:function(e,t,n){var r=n(82215),o=n(82584),i=n(20609),a=n(98420),s=n(2847),l=n(18923),c=Date.prototype.getTime;function u(e,t,n){var p=n||{};return!!(p.strict?i(e,t):e===t)||(!e||!t||"object"!=typeof e&&"object"!=typeof t?p.strict?i(e,t):e==t:function(e,t,n){var i,p;if(typeof e!=typeof t)return!1;if(d(e)||d(t))return!1;if(e.prototype!==t.prototype)return!1;if(o(e)!==o(t))return!1;var h=a(e),m=a(t);if(h!==m)return!1;if(h||m)return e.source===t.source&&s(e)===s(t);if(l(e)&&l(t))return c.call(e)===c.call(t);var g=f(e),v=f(t);if(g!==v)return!1;if(g||v){if(e.length!==t.length)return!1;for(i=0;i<e.length;i++)if(e[i]!==t[i])return!1;return!0}if(typeof e!=typeof t)return!1;try{var b=r(e),y=r(t)}catch(e){return!1}if(b.length!==y.length)return!1;for(b.sort(),y.sort(),i=b.length-1;i>=0;i--)if(b[i]!=y[i])return!1;for(i=b.length-1;i>=0;i--)if(!u(e[p=b[i]],t[p],n))return!1;return!0}(e,t,p))}function d(e){return null==e}function f(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length)&&("function"==typeof e.copy&&"function"==typeof e.slice&&!(e.length>0&&"number"!=typeof e[0]))}e.exports=u},9996:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function i(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&i(e).forEach((function(t){o[t]=r(e[t],n)})),i(t).forEach((function(i){(function(e,t){return a(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,i)||(a(e,i)&&n.isMergeableObject(t[i])?o[i]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(i,n)(e[i],t[i],n):o[i]=r(t[i],n))})),o}function l(e,n,i){(i=i||{}).arrayMerge=i.arrayMerge||o,i.isMergeableObject=i.isMergeableObject||t,i.cloneUnlessOtherwiseSpecified=r;var a=Array.isArray(n);return a===Array.isArray(e)?a?i.arrayMerge(e,n,i):s(e,n,i):r(n,i)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var c=l;e.exports=c},12296:function(e,t,n){"use strict";var r=n(24429),o=n(33464),i=n(14453),a=n(27296);e.exports=function(e,t,n){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new i("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,c=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(r)r(e,t,{configurable:null===c&&d?d.configurable:!c,enumerable:null===s&&d?d.enumerable:!s,value:n,writable:null===l&&d?d.writable:!l});else{if(!u&&(s||l||c))throw new o("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=n}}},4289:function(e,t,n){"use strict";var r=n(82215),o="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),i=Object.prototype.toString,a=Array.prototype.concat,s=Object.defineProperty,l=n(31044)(),c=s&&l,u=function(e,t,n,r){var o;(!(t in e)||"function"==typeof(o=r)&&"[object Function]"===i.call(o)&&r())&&(c?s(e,t,{configurable:!0,enumerable:!1,value:n,writable:!0}):e[t]=n)},d=function(e,t){var n=arguments.length>2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s<i.length;s+=1)u(e,i[s],t[i[s]],n[i[s]])};d.supportsDescriptors=!!c,e.exports=d},52027:function(e){var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},n=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,o){void 0===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)]:[];void 0===r&&(r=!0);var a=r,s=this.diff_commonPrefix(e,n),l=e.substring(0,s);e=e.substring(s),n=n.substring(s),s=this.diff_commonSuffix(e,n);var c=e.substring(e.length-s);e=e.substring(0,e.length-s),n=n.substring(0,n.length-s);var u=this.diff_compute_(e,n,a,i);return l&&u.unshift(new t.Diff(0,l)),c&&u.push(new t.Diff(0,c)),this.diff_cleanupMerge(u),u},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,l=e.length>r.length?r:e,c=s.indexOf(l);if(-1!=c)return a=[new t.Diff(1,s.substring(0,c)),new t.Diff(0,l),new t.Diff(1,s.substring(c+l.length))],e.length>r.length&&(a[0][0]=a[2][0]=n),a;if(1==l.length)return[new t.Diff(n,e),new t.Diff(1,r)];var u=this.diff_halfMatch_(e,r);if(u){var d=u[0],f=u[1],p=u[2],h=u[3],m=u[4],g=this.diff_main(d,p,o,i),v=this.diff_main(f,h,o,i);return g.concat([new t.Diff(0,m)],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 l=0,c=0,u=0,d="",f="";l<s.length;){switch(s[l][0]){case 1:u++,f+=s[l][1];break;case n:c++,d+=s[l][1];break;case 0:if(c>=1&&u>=1){s.splice(l-c-u,c+u),l=l-c-u;for(var p=this.diff_main(d,f,!1,o),h=p.length-1;h>=0;h--)s.splice(l,0,p[h]);l+=p.length}u=0,c=0,d="",f=""}l++}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),l=s,c=2*s,u=new Array(c),d=new Array(c),f=0;f<c;f++)u[f]=-1,d[f]=-1;u[l+1]=0,d[l+1]=0;for(var p=i-a,h=p%2!=0,m=0,g=0,v=0,b=0,y=0;y<s&&!((new Date).getTime()>o);y++){for(var A=-y+m;A<=y-g;A+=2){for(var x=l+A,C=(E=A==-y||A!=y&&u[x-1]<u[x+1]?u[x+1]:u[x-1]+1)-A;E<i&&C<a&&e.charAt(E)==r.charAt(C);)E++,C++;if(u[x]=E,E>i)g+=2;else if(C>a)m+=2;else if(h){if((k=l+p-A)>=0&&k<c&&-1!=d[k])if(E>=(w=i-d[k]))return this.diff_bisectSplit_(e,r,E,C,o)}}for(var _=-y+v;_<=y-b;_+=2){for(var w,k=l+_,S=(w=_==-y||_!=y&&d[k-1]<d[k+1]?d[k+1]:d[k-1]+1)-_;w<i&&S<a&&e.charAt(i-w-1)==r.charAt(a-S-1);)w++,S++;if(d[k]=w,w>i)b+=2;else if(S>a)v+=2;else if(!h){if((x=l+p-_)>=0&&x<c&&-1!=u[x]){var E;C=l+(E=u[x])-x;if(E>=(w=i-w))return this.diff_bisectSplit_(e,r,E,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),l=t.substring(r),c=this.diff_main(i,a,!1,o),u=this.diff_main(s,l,!1,o);return c.concat(u)},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 l=e.substring(o,a+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(s==i&&(l=e.substring(o),a=e.length),t+=String.fromCharCode(s),r[l]=s,n[s++]=l),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),l=t.indexOf(s);if(-1==l)return i;a+=l,0!=l&&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,l=e.substring(n,n+Math.floor(e.length/4)),c=-1,u="";-1!=(c=t.indexOf(l,c+1));){var d=o.diff_commonPrefix(e.substring(n),t.substring(c)),f=o.diff_commonSuffix(e.substring(0,n),t.substring(0,c));u.length<f+d&&(u=t.substring(c-f,c)+t.substring(c,c+d),r=e.substring(0,n-f),i=e.substring(n+d),a=t.substring(0,c-f),s=t.substring(c+d))}return 2*u.length>=e.length?[r,i,a,s,u]:null}var a,s,l,c,u,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],l=a[1],c=a[2],u=a[3]):(c=a[0],u=a[1],s=a[2],l=a[3]),[s,l,c,u,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var r=!1,o=[],i=0,a=null,s=0,l=0,c=0,u=0,d=0;s<e.length;)0==e[s][0]?(o[i++]=s,l=u,c=d,u=0,d=0,a=e[s][1]):(1==e[s][0]?u+=e[s][1].length:d+=e[s][1].length,a&&a.length<=Math.max(l,c)&&a.length<=Math.max(u,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,l=0,c=0,u=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],p=e[s][1],h=this.diff_commonOverlap_(f,p),m=this.diff_commonOverlap_(p,f);h>=m?(h>=f.length/2||h>=p.length/2)&&(e.splice(s,0,new t.Diff(0,p.substring(0,h))),e[s-1][1]=f.substring(0,f.length-h),e[s+1][1]=p.substring(h),s++):(m>=f.length/2||m>=p.length/2)&&(e.splice(s,0,new t.Diff(0,f.substring(0,m))),e[s-1][0]=1,e[s-1][1]=p.substring(0,p.length-m),e[s+1][0]=n,e[s+1][1]=f.substring(m),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_),l=a&&o.match(t.whitespaceRegex_),c=s&&r.match(t.linebreakRegex_),u=l&&o.match(t.linebreakRegex_),d=c&&e.match(t.blanklineEndRegex_),f=u&&n.match(t.blanklineStartRegex_);return d||f?5:c||u?4:i&&!s&&l?3:s||l?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 l=i.substring(i.length-s);o=o.substring(0,o.length-s),i=l+i.substring(0,i.length-s),a=l+a}for(var c=o,u=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 p=n(o,i)+n(i,a);p>=f&&(f=p,c=o,u=i,d=a)}e[r-1][1]!=c&&(c?e[r-1][1]=c:(e.splice(r-1,1),r--),e[r][1]=u,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,l=!1,c=!1,u=!1,d=!1;s<e.length;)0==e[s][0]?(e[s][1].length<this.Diff_EditCost&&(u||d)?(o[i++]=s,l=u,c=d,a=e[s][1]):(i=0,a=null),u=d=!1):(e[s][0]==n?d=!0:u=!0,a&&(l&&c&&u&&d||a.length<this.Diff_EditCost/2&&l+c+u+d==3)&&(e.splice(o[i-1],0,new t.Diff(n,a)),e[o[i-1]+1][0]=1,i--,a=null,l&&c?(u=d=!0,i=0):(s=--i>0?o[i-1]:-1,u=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="",l="";o<e.length;)switch(e[o][0]){case 1:a++,l+=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(l,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=l.substring(0,r):(e.splice(0,0,new t.Diff(0,l.substring(0,r))),o++),l=l.substring(r),s=s.substring(r)),0!==(r=this.diff_commonSuffix(l,s))&&(e[o][1]=l.substring(l.length-r)+e[o][1],l=l.substring(0,l.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++),l.length&&(e.splice(o,0,new t.Diff(1,l)),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="",l=""}""===e[e.length-1][1]&&e.pop();var c=!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),c=!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),c=!0)),o++;c&&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 l=e[s][0],c=e[s][1].replace(r,"&amp;").replace(o,"&lt;").replace(i,"&gt;").replace(a,"&para;<br>");switch(l){case 1:t[s]='<ins style="background:#e6ffe6;">'+c+"</ins>";break;case n:t[s]='<del style="background:#ffe6e6;">'+c+"</del>";break;case 0:t[s]="<span>"+c+"</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),l=0;l<s.length;l++){var c=s[l].substring(1);switch(s[l].charAt(0)){case"+":try{o[i++]=new t.Diff(1,decodeURI(c))}catch(e){throw new Error("Illegal escape in diff_fromDelta: "+c)}break;case"-":case"=":var u=parseInt(c,10);if(isNaN(u)||u<0)throw new Error("Invalid number in diff_fromDelta: "+c);var d=e.substring(a,a+=u);"="==s[l].charAt(0)?o[i++]=new t.Diff(0,d):o[i++]=new t.Diff(n,d);break;default:if(s[l])throw new Error("Invalid diff operation in diff_fromDelta: "+s[l])}}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 l,c,u=1<<t.length-1;s=-1;for(var d,f=t.length+e.length,p=0;p<t.length;p++){for(l=0,c=f;l<c;)i(p,n+c)<=a?l=c:f=c,c=Math.floor((f-l)/2+l);f=c;var h=Math.max(1,n-c+1),m=Math.min(n+c,e.length)+t.length,g=Array(m+2);g[m+1]=(1<<p)-1;for(var v=m;v>=h;v--){var b=r[e.charAt(v-1)];if(g[v]=0===p?(g[v+1]<<1|1)&b:(g[v+1]<<1|1)&b|(d[v+1]|d[v])<<1|1|d[v+1],g[v]&u){var y=i(p,v-1);if(y<=a){if(a=y,!((s=v-1)>n))break;h=Math.max(1,2*n-s)}}}if(i(p+1,n)>a)break;d=g}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&&void 0===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&&void 0===r&&void 0===o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&r&&"object"==typeof r&&void 0===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=[],l=new t.patch_obj,c=0,u=0,d=0,f=i,p=i,h=0;h<a.length;h++){var m=a[h][0],g=a[h][1];switch(c||0===m||(l.start1=u,l.start2=d),m){case 1:l.diffs[c++]=a[h],l.length2+=g.length,p=p.substring(0,d)+g+p.substring(d);break;case n:l.length1+=g.length,l.diffs[c++]=a[h],p=p.substring(0,d)+p.substring(d+g.length);break;case 0:g.length<=2*this.Patch_Margin&&c&&a.length!=h+1?(l.diffs[c++]=a[h],l.length1+=g.length,l.length2+=g.length):g.length>=2*this.Patch_Margin&&c&&(this.patch_addContext_(l,f),s.push(l),l=new t.patch_obj,c=0,f=p,u=d)}1!==m&&(u+=g.length),m!==n&&(d+=g.length)}return c&&(this.patch_addContext_(l,f),s.push(l)),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,l,c=e[a].start2+o,u=this.diff_text1(e[a].diffs),d=-1;if(u.length>this.Match_MaxBits?-1!=(s=this.match_main(t,u.substring(0,this.Match_MaxBits),c))&&(-1==(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,u,c),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-c,u==(l=-1==d?t.substring(s,s+u.length):t.substring(s,d+this.Match_MaxBits)))t=t.substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+u.length);else{var f=this.diff_main(u,l,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(f)/u.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(f);for(var p,h=0,m=0;m<e[a].diffs.length;m++){var g=e[a].diffs[m];0!==g[0]&&(p=this.diff_xIndex(f,h)),1===g[0]?t=t.substring(0,s+p)+g[1]+t.substring(s+p):g[0]===n&&(t=t.substring(0,s+p)+t.substring(s+this.diff_xIndex(f,h+g[1].length))),g[0]!==n&&(h+=g[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,l="";0!==i.diffs.length;){var c=new t.patch_obj,u=!0;for(c.start1=a-l.length,c.start2=s-l.length,""!==l&&(c.length1=c.length2=l.length,c.diffs.push(new t.Diff(0,l)));0!==i.diffs.length&&c.length1<r-this.Patch_Margin;){var d=i.diffs[0][0],f=i.diffs[0][1];1===d?(c.length2+=f.length,s+=f.length,c.diffs.push(i.diffs.shift()),u=!1):d===n&&1==c.diffs.length&&0==c.diffs[0][0]&&f.length>2*r?(c.length1+=f.length,a+=f.length,u=!1,c.diffs.push(new t.Diff(d,f)),i.diffs.shift()):(f=f.substring(0,r-c.length1-this.Patch_Margin),c.length1+=f.length,a+=f.length,0===d?(c.length2+=f.length,s+=f.length):u=!1,c.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))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var p=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==p&&(c.length1+=p.length,c.length2+=p.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=p:c.diffs.push(new t.Diff(0,p))),u||e.splice(++o,0,c)}}},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 l=new t.patch_obj;for(r.push(l),l.start1=parseInt(s[1],10),""===s[2]?(l.start1--,l.length1=1):"0"==s[2]?l.length1=0:(l.start1--,l.length1=parseInt(s[2],10)),l.start2=parseInt(s[3],10),""===s[4]?(l.start2--,l.length2=1):"0"==s[4]?l.length2=0:(l.start2--,l.length2=parseInt(s[4],10)),i++;i<o.length;){var c=o[i].charAt(0);try{var u=decodeURI(o[i].substring(1))}catch(e){throw new Error("Illegal escape in patch_fromText: "+u)}if("-"==c)l.diffs.push(new t.Diff(n,u));else if("+"==c)l.diffs.push(new t.Diff(1,u));else if(" "==c)l.diffs.push(new t.Diff(0,u));else{if("@"==c)break;if(""!==c)throw new Error('Invalid patch mode "'+c+'" in: '+u)}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},9351:function(e,t,n){"use strict";var r=n(23004),o=!1,i=!1;try{var a={get passive(){return o=!0},get once(){return i=o=!0}};r.Z&&(window.addEventListener("test",a,a),window.removeEventListener("test",a,!0))}catch(e){}t.ZP=function(e,t,n,r){if(r&&"boolean"!=typeof r&&!i){var a=r.once,s=r.capture,l=n;!i&&a&&(l=n.__once||function e(r){this.removeEventListener(t,e,s),n.call(this,r)},n.__once=l),e.addEventListener(t,l,o?r:s)}e.addEventListener(t,n,r)}},23004:function(e,t){"use strict";t.Z=!("undefined"==typeof window||!window.document||!window.document.createElement)},90424:function(e,t,n){"use strict";function r(e,t){return e.contains?e.contains(t):e.compareDocumentPosition?e===t||!!(16&e.compareDocumentPosition(t)):void 0}n.d(t,{Z:function(){return r}})},91505:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(67216);function o(e,t){return function(e){var t=(0,r.Z)(e);return t&&t.defaultView||window}(e).getComputedStyle(e,t)}var i=/([A-Z])/g;var a=/^ms-/;function s(e){return function(e){return e.replace(i,"-$1").toLowerCase()}(e).replace(a,"-ms-")}var l=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;var c=function(e,t){var n="",r="";if("string"==typeof t)return e.style.getPropertyValue(s(t))||o(e).getPropertyValue(s(t));Object.keys(t).forEach((function(o){var i=t[o];i||0===i?!function(e){return!(!e||!l.test(e))}(o)?n+=s(o)+": "+i+";":r+=o+"("+i+") ":e.style.removeProperty(s(o))})),r&&(n+="transform: "+r+";"),e.style.cssText+=";"+n}},11132:function(e,t,n){"use strict";function r(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}n.d(t,{Z:function(){return r}})},72950:function(e,t,n){"use strict";var r=n(9351),o=n(30099);t.Z=function(e,t,n,i){return(0,r.ZP)(e,t,n,i),function(){(0,o.Z)(e,t,n,i)}}},67216:function(e,t,n){"use strict";function r(e){return e&&e.ownerDocument||document}n.d(t,{Z:function(){return r}})},60930:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=Function.prototype.bind.call(Function.prototype.call,[].slice);function o(e,t){return r(e.querySelectorAll(t))}},30099:function(e,t){"use strict";t.Z=function(e,t,n,r){var o=r&&"boolean"!=typeof r?r.capture:r;e.removeEventListener(t,n,o),n.__once&&e.removeEventListener(t,n.__once,o)}},94305:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(91505),o=n(72950);function i(e,t,n){void 0===n&&(n=5);var r=!1,i=setTimeout((function(){r||function(e,t,n,r){if(void 0===n&&(n=!1),void 0===r&&(r=!0),e){var o=document.createEvent("HTMLEvents");o.initEvent(t,n,r),e.dispatchEvent(o)}}(e,"transitionend",!0)}),t+n),a=(0,o.Z)(e,"transitionend",(function(){r=!0}),{once:!0});return function(){clearTimeout(i),a()}}function a(e,t,n,a){var s,l,c;null==n&&(s=e,l=(0,r.Z)(s,"transitionDuration")||"",c=-1===l.indexOf("ms")?1e3:1,n=parseFloat(l)*c||0);var u=i(e,n,a),d=(0,o.Z)(e,"transitionend",t);return function(){u(),d()}}},32025:function(e){var t;self,t=function(){return function(){var e={3099:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},6077:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},1223:function(e,t,n){var r=n(5112),o=n(30),i=n(3070),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},1530:function(e,t,n){"use strict";var r=n(8710).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},5787:function(e){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},9670:function(e,t,n){var r=n(111);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},4019:function(e){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},260:function(e,t,n){"use strict";var r,o=n(4019),i=n(9781),a=n(7854),s=n(111),l=n(6656),c=n(648),u=n(8880),d=n(1320),f=n(3070).f,p=n(9518),h=n(7674),m=n(5112),g=n(9711),v=a.Int8Array,b=v&&v.prototype,y=a.Uint8ClampedArray,A=y&&y.prototype,x=v&&p(v),C=b&&p(b),_=Object.prototype,w=_.isPrototypeOf,k=m("toStringTag"),S=g("TYPED_ARRAY_TAG"),E=o&&!!h&&"Opera"!==c(a.opera),B=!1,O={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},j={BigInt64Array:8,BigUint64Array:8},T=function(e){if(!s(e))return!1;var t=c(e);return l(O,t)||l(j,t)};for(r in O)a[r]||(E=!1);if((!E||"function"!=typeof x||x===Function.prototype)&&(x=function(){throw TypeError("Incorrect invocation")},E))for(r in O)a[r]&&h(a[r],x);if((!E||!C||C===_)&&(C=x.prototype,E))for(r in O)a[r]&&h(a[r].prototype,C);if(E&&p(A)!==C&&h(A,C),i&&!l(C,k))for(r in B=!0,f(C,k,{get:function(){return s(this)?this[S]:void 0}}),O)a[r]&&u(a[r],S,r);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:E,TYPED_ARRAY_TAG:B&&S,aTypedArray:function(e){if(T(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(h){if(w.call(x,e))return e}else for(var t in O)if(l(O,r)){var n=a[t];if(n&&(e===n||w.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportTypedArrayMethod:function(e,t,n){if(i){if(n)for(var r in O){var o=a[r];o&&l(o.prototype,e)&&delete o.prototype[e]}C[e]&&!n||d(C,e,n?t:E&&b[e]||t)}},exportTypedArrayStaticMethod:function(e,t,n){var r,o;if(i){if(h){if(n)for(r in O)(o=a[r])&&l(o,e)&&delete o[e];if(x[e]&&!n)return;try{return d(x,e,n?t:E&&v[e]||t)}catch(e){}}for(r in O)!(o=a[r])||o[e]&&!n||d(o,e,t)}},isView:function(e){if(!s(e))return!1;var t=c(e);return"DataView"===t||l(O,t)||l(j,t)},isTypedArray:T,TypedArray:x,TypedArrayPrototype:C}},3331:function(e,t,n){"use strict";var r=n(7854),o=n(9781),i=n(4019),a=n(8880),s=n(2248),l=n(7293),c=n(5787),u=n(9958),d=n(7466),f=n(7067),p=n(1179),h=n(9518),m=n(7674),g=n(8006).f,v=n(3070).f,b=n(1285),y=n(8003),A=n(9909),x=A.get,C=A.set,_="ArrayBuffer",w="DataView",k="Wrong index",S=r.ArrayBuffer,E=S,B=r.DataView,O=B&&B.prototype,j=Object.prototype,T=r.RangeError,P=p.pack,M=p.unpack,D=function(e){return[255&e]},R=function(e){return[255&e,e>>8&255]},L=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},I=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},N=function(e){return P(e,23,4)},F=function(e){return P(e,52,8)},z=function(e,t){v(e.prototype,t,{get:function(){return x(this)[t]}})},q=function(e,t,n,r){var o=f(n),i=x(e);if(o+t>i.byteLength)throw T(k);var a=x(i.buffer).bytes,s=o+i.byteOffset,l=a.slice(s,s+t);return r?l:l.reverse()},U=function(e,t,n,r,o,i){var a=f(n),s=x(e);if(a+t>s.byteLength)throw T(k);for(var l=x(s.buffer).bytes,c=a+s.byteOffset,u=r(+o),d=0;d<t;d++)l[c+d]=u[i?d:t-d-1]};if(i){if(!l((function(){S(1)}))||!l((function(){new S(-1)}))||l((function(){return new S,new S(1.5),new S(NaN),S.name!=_}))){for(var H,W=(E=function(e){return c(this,E),new S(f(e))}).prototype=S.prototype,V=g(S),Y=0;V.length>Y;)(H=V[Y++])in E||a(E,H,S[H]);W.constructor=E}m&&h(O)!==j&&m(O,j);var Z=new B(new E(2)),G=O.setInt8;Z.setInt8(0,2147483648),Z.setInt8(1,2147483649),!Z.getInt8(0)&&Z.getInt8(1)||s(O,{setInt8:function(e,t){G.call(this,e,t<<24>>24)},setUint8:function(e,t){G.call(this,e,t<<24>>24)}},{unsafe:!0})}else E=function(e){c(this,E,_);var t=f(e);C(this,{bytes:b.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},B=function(e,t,n){c(this,B,w),c(e,E,w);var r=x(e).byteLength,i=u(t);if(i<0||i>r)throw T("Wrong offset");if(i+(n=void 0===n?r-i:d(n))>r)throw T("Wrong length");C(this,{buffer:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(z(E,"byteLength"),z(B,"buffer"),z(B,"byteLength"),z(B,"byteOffset")),s(B.prototype,{getInt8:function(e){return q(this,1,e)[0]<<24>>24},getUint8:function(e){return q(this,1,e)[0]},getInt16:function(e){var t=q(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=q(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return I(q(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return I(q(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return M(q(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return M(q(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,D,t)},setUint8:function(e,t){U(this,1,e,D,t)},setInt16:function(e,t){U(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,L,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,L,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,F,t,arguments.length>2?arguments[2]:void 0)}});y(E,_),y(B,w),e.exports={ArrayBuffer:E,DataView:B}},1048:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(7466),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),l=o(e,s),c=o(t,s),u=arguments.length>2?arguments[2]:void 0,d=a((void 0===u?s:o(u,s))-c,s-l),f=1;for(c<l&&l<c+d&&(f=-1,c+=d-1,l+=d-1);d-- >0;)c in n?n[l]=n[c]:delete n[l],l+=f,c+=f;return n}},1285:function(e,t,n){"use strict";var r=n(7908),o=n(1400),i=n(7466);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),l=a>2?arguments[2]:void 0,c=void 0===l?n:o(l,n);c>s;)t[s++]=e;return t}},8533:function(e,t,n){"use strict";var r=n(2092).forEach,o=n(9341)("forEach");e.exports=o?[].forEach:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}},8457:function(e,t,n){"use strict";var r=n(9974),o=n(7908),i=n(3411),a=n(7659),s=n(7466),l=n(6135),c=n(1246);e.exports=function(e){var t,n,u,d,f,p,h=o(e),m="function"==typeof this?this:Array,g=arguments.length,v=g>1?arguments[1]:void 0,b=void 0!==v,y=c(h),A=0;if(b&&(v=r(v,g>2?arguments[2]:void 0,2)),null==y||m==Array&&a(y))for(n=new m(t=s(h.length));t>A;A++)p=b?v(h[A],A):h[A],l(n,A,p);else for(f=(d=y.call(h)).next,n=new m;!(u=f.call(d)).done;A++)p=b?i(d,v,[u.value,A],!0):u.value,l(n,A,p);return n.length=A,n}},1318:function(e,t,n){var r=n(5656),o=n(7466),i=n(1400),a=function(e){return function(t,n,a){var s,l=r(t),c=o(l.length),u=i(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},2092:function(e,t,n){var r=n(9974),o=n(8361),i=n(7908),a=n(7466),s=n(5417),l=[].push,c=function(e){var t=1==e,n=2==e,c=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,g,v){for(var b,y,A=i(h),x=o(A),C=r(m,g,3),_=a(x.length),w=0,k=v||s,S=t?k(h,_):n||f?k(h,0):void 0;_>w;w++)if((p||w in x)&&(y=C(b=x[w],w,A),e))if(t)S[w]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:l.call(S,b)}else switch(e){case 4:return!1;case 7:l.call(S,b)}return d?-1:c||u?u:S}};e.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterOut:c(7)}},6583:function(e,t,n){"use strict";var r=n(5656),o=n(9958),i=n(7466),a=n(9341),s=Math.min,l=[].lastIndexOf,c=!!l&&1/[1].lastIndexOf(1,-0)<0,u=a("lastIndexOf"),d=c||!u;e.exports=d?function(e){if(c)return l.apply(this,arguments)||0;var t=r(this),n=i(t.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in t&&t[a]===e)return a||0;return-1}:l},1194:function(e,t,n){var r=n(7293),o=n(5112),i=n(7392),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},9341:function(e,t,n){"use strict";var r=n(7293);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},3671:function(e,t,n){var r=n(3099),o=n(7908),i=n(8361),a=n(7466),s=function(e){return function(t,n,s,l){r(n);var c=o(t),u=i(c),d=a(c.length),f=e?d-1:0,p=e?-1:1;if(s<2)for(;;){if(f in u){l=u[f],f+=p;break}if(f+=p,e?f<0:d<=f)throw TypeError("Reduce of empty array with no initial value")}for(;e?f>=0:d>f;f+=p)f in u&&(l=n(l,u[f],f,c));return l}};e.exports={left:s(!1),right:s(!0)}},5417:function(e,t,n){var r=n(111),o=n(3157),i=n(5112)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}},3411:function(e,t,n){var r=n(9670),o=n(9212);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){throw o(e),t}}},7072:function(e,t,n){var r=n(5112)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},4326:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},648:function(e,t,n){var r=n(1694),o=n(4326),i=n(5112)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=r?o:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),i))?n:a?o(t):"Object"==(r=o(t))&&"function"==typeof t.callee?"Arguments":r}},9920:function(e,t,n){var r=n(6656),o=n(3887),i=n(1236),a=n(3070);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},8544:function(e,t,n){var r=n(7293);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},4994:function(e,t,n){"use strict";var r=n(3383).IteratorPrototype,o=n(30),i=n(9114),a=n(8003),s=n(7497),l=function(){return this};e.exports=function(e,t,n){var c=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,c,!1,!0),s[c]=l,e}},8880:function(e,t,n){var r=n(9781),o=n(3070),i=n(9114);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},9114:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},6135:function(e,t,n){"use strict";var r=n(7593),o=n(3070),i=n(9114);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},654:function(e,t,n){"use strict";var r=n(2109),o=n(4994),i=n(9518),a=n(7674),s=n(8003),l=n(8880),c=n(1320),u=n(5112),d=n(1913),f=n(7497),p=n(3383),h=p.IteratorPrototype,m=p.BUGGY_SAFARI_ITERATORS,g=u("iterator"),v="keys",b="values",y="entries",A=function(){return this};e.exports=function(e,t,n,u,p,x,C){o(n,t,u);var _,w,k,S=function(e){if(e===p&&T)return T;if(!m&&e in O)return O[e];switch(e){case v:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},E=t+" Iterator",B=!1,O=e.prototype,j=O[g]||O["@@iterator"]||p&&O[p],T=!m&&j||S(p),P="Array"==t&&O.entries||j;if(P&&(_=i(P.call(new e)),h!==Object.prototype&&_.next&&(d||i(_)===h||(a?a(_,h):"function"!=typeof _[g]&&l(_,g,A)),s(_,E,!0,!0),d&&(f[E]=A))),p==b&&j&&j.name!==b&&(B=!0,T=function(){return j.call(this)}),d&&!C||O[g]===T||l(O,g,T),f[t]=T,p)if(w={values:S(b),keys:x?T:S(v),entries:S(y)},C)for(k in w)(m||B||!(k in O))&&c(O,k,w[k]);else r({target:t,proto:!0,forced:m||B},w);return w}},9781:function(e,t,n){var r=n(7293);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},317:function(e,t,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},8324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},8113:function(e,t,n){var r=n(5005);e.exports=r("navigator","userAgent")||""},7392:function(e,t,n){var r,o,i=n(7854),a=n(8113),s=i.process,l=s&&s.versions,c=l&&l.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2109:function(e,t,n){var r=n(7854),o=n(1236).f,i=n(8880),a=n(1320),s=n(3505),l=n(9920),c=n(4705);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},7293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},7007:function(e,t,n){"use strict";n(4916);var r=n(1320),o=n(7293),i=n(5112),a=n(2261),s=n(8880),l=i("species"),c=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),u="$0"==="a".replace(/./,"$0"),d=i("replace"),f=!!/./[d]&&""===/./[d]("a","$0"),p=!o((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,d){var h=i(e),m=!o((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),g=m&&!o((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[l]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return t=!0,null},n[h](""),!t}));if(!m||!g||"replace"===e&&(!c||!u||f)||"split"===e&&!p){var v=/./[h],b=n(h,""[e],(function(e,t,n,r,o){return t.exec===a?m&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}),{REPLACE_KEEPS_$0:u,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:f}),y=b[0],A=b[1];r(String.prototype,e,y),r(RegExp.prototype,h,2==t?function(e,t){return A.call(e,this,t)}:function(e){return A.call(e,this)})}d&&s(RegExp.prototype[h],"sham",!0)}},9974:function(e,t,n){var r=n(3099);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},5005:function(e,t,n){var r=n(857),o=n(7854),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},1246:function(e,t,n){var r=n(648),o=n(7497),i=n(5112)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},8554:function(e,t,n){var r=n(9670),o=n(1246);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},647:function(e,t,n){var r=n(7908),o=Math.floor,i="".replace,a=/\$([$&'`]|\d\d?|<[^>]*>)/g,s=/\$([$&'`]|\d\d?)/g;e.exports=function(e,t,n,l,c,u){var d=n+e.length,f=l.length,p=s;return void 0!==c&&(c=r(c),p=a),i.call(u,p,(function(r,i){var a;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(d);case"<":a=c[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>f){var u=o(s/10);return 0===u?r:u<=f?void 0===l[u-1]?i.charAt(1):l[u-1]+i.charAt(1):r}a=l[s-1]}return void 0===a?"":a}))}},7854:function(e,t,n){var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},6656:function(e){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},3501:function(e){e.exports={}},490:function(e,t,n){var r=n(5005);e.exports=r("document","documentElement")},4664:function(e,t,n){var r=n(9781),o=n(7293),i=n(317);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},1179:function(e){var t=Math.abs,n=Math.pow,r=Math.floor,o=Math.log,i=Math.LN2;e.exports={pack:function(e,a,s){var l,c,u,d=new Array(s),f=8*s-a-1,p=(1<<f)-1,h=p>>1,m=23===a?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,v=0;for((e=t(e))!=e||e===1/0?(c=e!=e?1:0,l=p):(l=r(o(e)/i),e*(u=n(2,-l))<1&&(l--,u*=2),(e+=l+h>=1?m/u:m*n(2,1-h))*u>=2&&(l++,u/=2),l+h>=p?(c=0,l=p):l+h>=1?(c=(e*u-1)*n(2,a),l+=h):(c=e*n(2,h-1)*n(2,a),l=0));a>=8;d[v++]=255&c,c/=256,a-=8);for(l=l<<a|c,f+=a;f>0;d[v++]=255&l,l/=256,f-=8);return d[--v]|=128*g,d},unpack:function(e,t){var r,o=e.length,i=8*o-t-1,a=(1<<i)-1,s=a>>1,l=i-7,c=o-1,u=e[c--],d=127&u;for(u>>=7;l>0;d=256*d+e[c],c--,l-=8);for(r=d&(1<<-l)-1,d>>=-l,l+=t;l>0;r=256*r+e[c],c--,l-=8);if(0===d)d=1-s;else{if(d===a)return r?NaN:u?-1/0:1/0;r+=n(2,t),d-=s}return(u?-1:1)*r*n(2,d-t)}}},8361:function(e,t,n){var r=n(7293),o=n(4326),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},9587:function(e,t,n){var r=n(111),o=n(7674);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},2788:function(e,t,n){var r=n(5465),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},9909:function(e,t,n){var r,o,i,a=n(8536),s=n(7854),l=n(111),c=n(8880),u=n(6656),d=n(5465),f=n(6200),p=n(3501),h=s.WeakMap;if(a){var m=d.state||(d.state=new h),g=m.get,v=m.has,b=m.set;r=function(e,t){return t.facade=e,b.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return v.call(m,e)}}else{var y=f("state");p[y]=!0,r=function(e,t){return t.facade=e,c(e,y,t),t},o=function(e){return u(e,y)?e[y]:{}},i=function(e){return u(e,y)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},7659:function(e,t,n){var r=n(5112),o=n(7497),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},3157:function(e,t,n){var r=n(4326);e.exports=Array.isArray||function(e){return"Array"==r(e)}},4705:function(e,t,n){var r=n(7293),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==c||n!=l&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},l=i.NATIVE="N",c=i.POLYFILL="P";e.exports=i},111:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},1913:function(e){e.exports=!1},7850:function(e,t,n){var r=n(111),o=n(4326),i=n(5112)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},9212:function(e,t,n){var r=n(9670);e.exports=function(e){var t=e.return;if(void 0!==t)return r(t.call(e)).value}},3383:function(e,t,n){"use strict";var r,o,i,a=n(7293),s=n(9518),l=n(8880),c=n(6656),u=n(5112),d=n(1913),f=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=s(s(i)))!==Object.prototype&&(r=o):p=!0);var h=null==r||a((function(){var e={};return r[f].call(e)!==e}));h&&(r={}),d&&!h||c(r,f)||l(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},7497:function(e){e.exports={}},133:function(e,t,n){var r=n(7293);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},590:function(e,t,n){var r=n(7293),o=n(5112),i=n(1913),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},8536:function(e,t,n){var r=n(7854),o=n(2788),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},1574:function(e,t,n){"use strict";var r=n(9781),o=n(7293),i=n(1956),a=n(5181),s=n(5296),l=n(7908),c=n(8361),u=Object.assign,d=Object.defineProperty;e.exports=!u||o((function(){if(r&&1!==u({b:1},u(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol(),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!=u({},e)[n]||i(u({},t)).join("")!=o}))?function(e,t){for(var n=l(e),o=arguments.length,u=1,d=a.f,f=s.f;o>u;)for(var p,h=c(arguments[u++]),m=d?i(h).concat(d(h)):i(h),g=m.length,v=0;g>v;)p=m[v++],r&&!f.call(h,p)||(n[p]=h[p]);return n}:u},30:function(e,t,n){var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),l=n(490),c=n(317),u=n(6200),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=r?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=h(),void 0===t?n:i(n,t)}},6048:function(e,t,n){var r=n(9781),o=n(3070),i=n(9670),a=n(1956);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,l=0;s>l;)o.f(e,n=r[l++],t[n]);return e}},3070:function(e,t,n){var r=n(9781),o=n(4664),i=n(9670),a=n(7593),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},1236:function(e,t,n){var r=n(9781),o=n(5296),i=n(9114),a=n(5656),s=n(7593),l=n(6656),c=n(4664),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=a(e),t=s(t,!0),c)try{return u(e,t)}catch(e){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},8006:function(e,t,n){var r=n(6324),o=n(748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},5181:function(e,t){t.f=Object.getOwnPropertySymbols},9518:function(e,t,n){var r=n(6656),o=n(7908),i=n(6200),a=n(8544),s=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},6324:function(e,t,n){var r=n(6656),o=n(5656),i=n(1318).indexOf,a=n(3501);e.exports=function(e,t){var n,s=o(e),l=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;t.length>l;)r(s,n=t[l++])&&(~i(c,n)||c.push(n));return c}},1956:function(e,t,n){var r=n(6324),o=n(748);e.exports=Object.keys||function(e){return r(e,o)}},5296:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},7674:function(e,t,n){var r=n(9670),o=n(6077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},288:function(e,t,n){"use strict";var r=n(1694),o=n(648);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},3887:function(e,t,n){var r=n(5005),o=n(8006),i=n(5181),a=n(9670);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},857:function(e,t,n){var r=n(7854);e.exports=r},2248:function(e,t,n){var r=n(1320);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},1320:function(e,t,n){var r=n(7854),o=n(8880),i=n(6656),a=n(3505),s=n(2788),l=n(9909),c=l.get,u=l.enforce,d=String(String).split("String");(e.exports=function(e,t,n,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||i(n,"name")||o(n,"name",t),(l=u(n)).source||(l.source=d.join("string"==typeof t?t:""))),e!==r?(c?!p&&e[t]&&(f=!0):delete e[t],f?e[t]=n:o(e,t,n)):f?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&c(this).source||s(this)}))},7651:function(e,t,n){var r=n(4326),o=n(2261);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},2261:function(e,t,n){"use strict";var r,o,i=n(7066),a=n(2999),s=RegExp.prototype.exec,l=String.prototype.replace,c=s,u=(r=/a/,o=/b*/g,s.call(r,"a"),s.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),d=a.UNSUPPORTED_Y||a.BROKEN_CARET,f=void 0!==/()??/.exec("")[1];(u||f||d)&&(c=function(e){var t,n,r,o,a=this,c=d&&a.sticky,p=i.call(a),h=a.source,m=0,g=e;return c&&(-1===(p=p.replace("y","")).indexOf("g")&&(p+="g"),g=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,m++),n=new RegExp("^(?:"+h+")",p)),f&&(n=new RegExp("^"+h+"$(?!\\s)",p)),u&&(t=a.lastIndex),r=s.call(c?n:a,g),c?r?(r.input=r.input.slice(m),r[0]=r[0].slice(m),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:u&&r&&(a.lastIndex=a.global?r.index+r[0].length:t),f&&r&&r.length>1&&l.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),e.exports=c},7066:function(e,t,n){"use strict";var r=n(9670);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},2999:function(e,t,n){"use strict";var r=n(7293);function o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},4488:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},3505:function(e,t,n){var r=n(7854),o=n(8880);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},6340:function(e,t,n){"use strict";var r=n(5005),o=n(3070),i=n(5112),a=n(9781),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},8003:function(e,t,n){var r=n(3070).f,o=n(6656),i=n(5112)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},6200:function(e,t,n){var r=n(2309),o=n(9711),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,n){var r=n(7854),o=n(3505),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},2309:function(e,t,n){var r=n(1913),o=n(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.9.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},6707:function(e,t,n){var r=n(9670),o=n(3099),i=n(5112)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},8710:function(e,t,n){var r=n(9958),o=n(4488),i=function(e){return function(t,n){var i,a,s=String(o(t)),l=r(n),c=s.length;return l<0||l>=c?e?"":void 0:(i=s.charCodeAt(l))<55296||i>56319||l+1===c||(a=s.charCodeAt(l+1))<56320||a>57343?e?s.charAt(l):i:e?s.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},3197:function(e){"use strict";var t=2147483647,n=/[^\0-\u007E]/,r=/[.\u3002\uFF0E\uFF61]/g,o="Overflow: input needs wider integers to process",i=Math.floor,a=String.fromCharCode,s=function(e){return e+22+75*(e<26)},l=function(e,t,n){var r=0;for(e=n?i(e/700):e>>1,e+=i(e/t);e>455;r+=36)e=i(e/35);return i(r+36*e/(e+38))},c=function(e){var n=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e);var r,c,u=e.length,d=128,f=0,p=72;for(r=0;r<e.length;r++)(c=e[r])<128&&n.push(a(c));var h=n.length,m=h;for(h&&n.push("-");m<u;){var g=t;for(r=0;r<e.length;r++)(c=e[r])>=d&&c<g&&(g=c);var v=m+1;if(g-d>i((t-f)/v))throw RangeError(o);for(f+=(g-d)*v,d=g,r=0;r<e.length;r++){if((c=e[r])<d&&++f>t)throw RangeError(o);if(c==d){for(var b=f,y=36;;y+=36){var A=y<=p?1:y>=p+26?26:y-p;if(b<A)break;var x=b-A,C=36-A;n.push(a(s(A+x%C))),b=i(x/C)}n.push(a(s(b))),p=l(f,v,m==h),f=0,++m}}++f,++d}return n.join("")};e.exports=function(e){var t,o,i=[],a=e.toLowerCase().replace(r,".").split(".");for(t=0;t<a.length;t++)o=a[t],i.push(n.test(o)?"xn--"+c(o):o);return i.join(".")}},6091:function(e,t,n){var r=n(7293),o=n(1361);e.exports=function(e){return r((function(){return!!o[e]()||"​᠎"!="​᠎"[e]()||o[e].name!==e}))}},3111:function(e,t,n){var r=n(4488),o="["+n(1361)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},1400:function(e,t,n){var r=n(9958),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},7067:function(e,t,n){var r=n(9958),o=n(7466);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},5656:function(e,t,n){var r=n(8361),o=n(4488);e.exports=function(e){return r(o(e))}},9958:function(e){var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},7466:function(e,t,n){var r=n(9958),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},7908:function(e,t,n){var r=n(4488);e.exports=function(e){return Object(r(e))}},4590:function(e,t,n){var r=n(3002);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},3002:function(e,t,n){var r=n(9958);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},7593:function(e,t,n){var r=n(111);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},1694:function(e,t,n){var r={};r[n(5112)("toStringTag")]="z",e.exports="[object z]"===String(r)},9843:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(9781),a=n(3832),s=n(260),l=n(3331),c=n(5787),u=n(9114),d=n(8880),f=n(7466),p=n(7067),h=n(4590),m=n(7593),g=n(6656),v=n(648),b=n(111),y=n(30),A=n(7674),x=n(8006).f,C=n(7321),_=n(2092).forEach,w=n(6340),k=n(3070),S=n(1236),E=n(9909),B=n(9587),O=E.get,j=E.set,T=k.f,P=S.f,M=Math.round,D=o.RangeError,R=l.ArrayBuffer,L=l.DataView,I=s.NATIVE_ARRAY_BUFFER_VIEWS,N=s.TYPED_ARRAY_TAG,F=s.TypedArray,z=s.TypedArrayPrototype,q=s.aTypedArrayConstructor,U=s.isTypedArray,H="BYTES_PER_ELEMENT",W="Wrong length",V=function(e,t){for(var n=0,r=t.length,o=new(q(e))(r);r>n;)o[n]=t[n++];return o},Y=function(e,t){T(e,t,{get:function(){return O(this)[t]}})},Z=function(e){var t;return e instanceof R||"ArrayBuffer"==(t=v(e))||"SharedArrayBuffer"==t},G=function(e,t){return U(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},K=function(e,t){return G(e,t=m(t,!0))?u(2,e[t]):P(e,t)},$=function(e,t,n){return!(G(e,t=m(t,!0))&&b(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?T(e,t,n):(e[t]=n.value,e)};i?(I||(S.f=K,k.f=$,Y(z,"buffer"),Y(z,"byteOffset"),Y(z,"byteLength"),Y(z,"length")),r({target:"Object",stat:!0,forced:!I},{getOwnPropertyDescriptor:K,defineProperty:$}),e.exports=function(e,t,n){var i=e.match(/\d+$/)[0]/8,s=e+(n?"Clamped":"")+"Array",l="get"+e,u="set"+e,m=o[s],g=m,v=g&&g.prototype,k={},S=function(e,t){T(e,t,{get:function(){return function(e,t){var n=O(e);return n.view[l](t*i+n.byteOffset,!0)}(this,t)},set:function(e){return function(e,t,r){var o=O(e);n&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[u](t*i+o.byteOffset,r,!0)}(this,t,e)},enumerable:!0})};I?a&&(g=t((function(e,t,n,r){return c(e,g,s),B(b(t)?Z(t)?void 0!==r?new m(t,h(n,i),r):void 0!==n?new m(t,h(n,i)):new m(t):U(t)?V(g,t):C.call(g,t):new m(p(t)),e,g)})),A&&A(g,F),_(x(m),(function(e){e in g||d(g,e,m[e])})),g.prototype=v):(g=t((function(e,t,n,r){c(e,g,s);var o,a,l,u=0,d=0;if(b(t)){if(!Z(t))return U(t)?V(g,t):C.call(g,t);o=t,d=h(n,i);var m=t.byteLength;if(void 0===r){if(m%i)throw D(W);if((a=m-d)<0)throw D(W)}else if((a=f(r)*i)+d>m)throw D(W);l=a/i}else l=p(t),o=new R(a=l*i);for(j(e,{buffer:o,byteOffset:d,byteLength:a,length:l,view:new L(o)});u<l;)S(e,u++)})),A&&A(g,F),v=g.prototype=y(z)),v.constructor!==g&&d(v,"constructor",g),N&&d(v,N,s),k[s]=g,r({global:!0,forced:g!=m,sham:!I},k),H in g||d(g,H,i),H in v||d(v,H,i),w(s)}):e.exports=function(){}},3832:function(e,t,n){var r=n(7854),o=n(7293),i=n(7072),a=n(260).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,l=r.Int8Array;e.exports=!a||!o((function(){l(1)}))||!o((function(){new l(-1)}))||!i((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||o((function(){return 1!==new l(new s(2),1,void 0).length}))},3074:function(e,t,n){var r=n(260).aTypedArrayConstructor,o=n(6707);e.exports=function(e,t){for(var n=o(e,e.constructor),i=0,a=t.length,s=new(r(n))(a);a>i;)s[i]=t[i++];return s}},7321:function(e,t,n){var r=n(7908),o=n(7466),i=n(1246),a=n(7659),s=n(9974),l=n(260).aTypedArrayConstructor;e.exports=function(e){var t,n,c,u,d,f,p=r(e),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m,v=i(p);if(null!=v&&!a(v))for(f=(d=v.call(p)).next,p=[];!(u=f.call(d)).done;)p.push(u.value);for(g&&h>2&&(m=s(m,arguments[2],2)),n=o(p.length),c=new(l(this))(n),t=0;n>t;t++)c[t]=g?m(p[t],t):p[t];return c}},9711:function(e){var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},3307:function(e,t,n){var r=n(133);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(e,t,n){var r=n(7854),o=n(2309),i=n(6656),a=n(9711),s=n(133),l=n(3307),c=o("wks"),u=r.Symbol,d=l?u:u&&u.withoutSetter||a;e.exports=function(e){return i(c,e)||(s&&i(u,e)?c[e]=u[e]:c[e]=d("Symbol."+e)),c[e]}},1361:function(e){e.exports="\t\n\v\f\r                　\u2028\u2029\ufeff"},8264:function(e,t,n){"use strict";var r=n(2109),o=n(7854),i=n(3331),a=n(6340),s="ArrayBuffer",l=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==l},{ArrayBuffer:l}),a(s)},2222:function(e,t,n){"use strict";var r=n(2109),o=n(7293),i=n(3157),a=n(111),s=n(7908),l=n(7466),c=n(6135),u=n(5417),d=n(1194),f=n(5112),p=n(7392),h=f("isConcatSpreadable"),m=9007199254740991,g="Maximum allowed index exceeded",v=p>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),b=d("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!v||!b},{concat:function(e){var t,n,r,o,i,a=s(this),d=u(a,0),f=0;for(t=-1,r=arguments.length;t<r;t++)if(y(i=-1===t?a:arguments[t])){if(f+(o=l(i.length))>m)throw TypeError(g);for(n=0;n<o;n++,f++)n in i&&c(d,f,i[n])}else{if(f>=m)throw TypeError(g);c(d,f++,i)}return d.length=f,d}})},7327:function(e,t,n){"use strict";var r=n(2109),o=n(2092).filter;r({target:"Array",proto:!0,forced:!n(1194)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},2772:function(e,t,n){"use strict";var r=n(2109),o=n(1318).indexOf,i=n(9341),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,l=i("indexOf");r({target:"Array",proto:!0,forced:s||!l},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},6992:function(e,t,n){"use strict";var r=n(5656),o=n(1223),i=n(7497),a=n(9909),s=n(654),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},1249:function(e,t,n){"use strict";var r=n(2109),o=n(2092).map;r({target:"Array",proto:!0,forced:!n(1194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},7042:function(e,t,n){"use strict";var r=n(2109),o=n(111),i=n(3157),a=n(1400),s=n(7466),l=n(5656),c=n(6135),u=n(5112),d=n(1194)("slice"),f=u("species"),p=[].slice,h=Math.max;r({target:"Array",proto:!0,forced:!d},{slice:function(e,t){var n,r,u,d=l(this),m=s(d.length),g=a(e,m),v=a(void 0===t?m:t,m);if(i(d)&&("function"!=typeof(n=d.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(d,g,v);for(r=new(void 0===n?Array:n)(h(v-g,0)),u=0;g<v;g++,u++)g in d&&c(r,u,d[g]);return r.length=u,r}})},561:function(e,t,n){"use strict";var r=n(2109),o=n(1400),i=n(9958),a=n(7466),s=n(7908),l=n(5417),c=n(6135),u=n(1194)("splice"),d=Math.max,f=Math.min,p=9007199254740991,h="Maximum allowed length exceeded";r({target:"Array",proto:!0,forced:!u},{splice:function(e,t){var n,r,u,m,g,v,b=s(this),y=a(b.length),A=o(e,y),x=arguments.length;if(0===x?n=r=0:1===x?(n=0,r=y-A):(n=x-2,r=f(d(i(t),0),y-A)),y+n-r>p)throw TypeError(h);for(u=l(b,r),m=0;m<r;m++)(g=A+m)in b&&c(u,m,b[g]);if(u.length=r,n<r){for(m=A;m<y-r;m++)v=m+n,(g=m+r)in b?b[v]=b[g]:delete b[v];for(m=y;m>y-r+n;m--)delete b[m-1]}else if(n>r)for(m=y-r;m>A;m--)v=m+n-1,(g=m+r-1)in b?b[v]=b[g]:delete b[v];for(m=0;m<n;m++)b[m+A]=arguments[m+2];return b.length=y-r+n,u}})},8309:function(e,t,n){var r=n(9781),o=n(3070).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/,l="name";r&&!(l in i)&&o(i,l,{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(e){return""}}})},489:function(e,t,n){var r=n(2109),o=n(7293),i=n(7908),a=n(9518),s=n(8544);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(e){return a(i(e))}})},1539:function(e,t,n){var r=n(1694),o=n(1320),i=n(288);r||o(Object.prototype,"toString",i,{unsafe:!0})},4916:function(e,t,n){"use strict";var r=n(2109),o=n(2261);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},9714:function(e,t,n){"use strict";var r=n(1320),o=n(9670),i=n(7293),a=n(7066),s="toString",l=RegExp.prototype,c=l.toString,u=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),d=c.name!=s;(u||d)&&r(RegExp.prototype,s,(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in l)?a.call(e):n)}),{unsafe:!0})},8783:function(e,t,n){"use strict";var r=n(8710).charAt,o=n(9909),i=n(654),a="String Iterator",s=o.set,l=o.getterFor(a);i(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},4723:function(e,t,n){"use strict";var r=n(7007),o=n(9670),i=n(7466),a=n(4488),s=n(1530),l=n(7651);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),c=String(this);if(!a.global)return l(a,c);var u=a.unicode;a.lastIndex=0;for(var d,f=[],p=0;null!==(d=l(a,c));){var h=String(d[0]);f[p]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),u)),p++}return 0===p?null:f}]}))},5306:function(e,t,n){"use strict";var r=n(7007),o=n(9670),i=n(7466),a=n(9958),s=n(4488),l=n(1530),c=n(647),u=n(7651),d=Math.max,f=Math.min;r("replace",2,(function(e,t,n,r){var p=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,h=r.REPLACE_KEEPS_$0,m=p?"$":"$0";return[function(n,r){var o=s(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,r){if(!p&&h||"string"==typeof r&&-1===r.indexOf(m)){var s=n(t,e,this,r);if(s.done)return s.value}var g=o(e),v=String(this),b="function"==typeof r;b||(r=String(r));var y=g.global;if(y){var A=g.unicode;g.lastIndex=0}for(var x=[];;){var C=u(g,v);if(null===C)break;if(x.push(C),!y)break;""===String(C[0])&&(g.lastIndex=l(v,i(g.lastIndex),A))}for(var _,w="",k=0,S=0;S<x.length;S++){C=x[S];for(var E=String(C[0]),B=d(f(a(C.index),v.length),0),O=[],j=1;j<C.length;j++)O.push(void 0===(_=C[j])?_:String(_));var T=C.groups;if(b){var P=[E].concat(O,B,v);void 0!==T&&P.push(T);var M=String(r.apply(void 0,P))}else M=c(E,v,B,O,T,r);B>=k&&(w+=v.slice(k,B)+M,k=B+E.length)}return w+v.slice(k)}]}))},3123:function(e,t,n){"use strict";var r=n(7007),o=n(7850),i=n(9670),a=n(4488),s=n(6707),l=n(1530),c=n(7466),u=n(7651),d=n(2261),f=n(7293),p=[].push,h=Math.min,m=4294967295,g=!f((function(){return!RegExp(m,"y")}));r("split",2,(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),i=void 0===n?m:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,l,c,u=[],f=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,g=new RegExp(e.source,f+"g");(s=d.call(g,r))&&!((l=g.lastIndex)>h&&(u.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&p.apply(u,s.slice(1)),c=s[0].length,h=l,u.length>=i));)g.lastIndex===s.index&&g.lastIndex++;return h===r.length?!c&&g.test("")||u.push(""):u.push(r.slice(h)),u.length>i?u.slice(0,i):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var d=i(e),f=String(this),p=s(d,RegExp),v=d.unicode,b=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(g?"y":"g"),y=new p(g?d:"^(?:"+d.source+")",b),A=void 0===o?m:o>>>0;if(0===A)return[];if(0===f.length)return null===u(y,f)?[f]:[];for(var x=0,C=0,_=[];C<f.length;){y.lastIndex=g?C:0;var w,k=u(y,g?f:f.slice(C));if(null===k||(w=h(c(y.lastIndex+(g?0:C)),f.length))===x)C=l(f,C,v);else{if(_.push(f.slice(x,C)),_.length===A)return _;for(var S=1;S<=k.length-1;S++)if(_.push(k[S]),_.length===A)return _;C=x=w}}return _.push(f.slice(x)),_}]}),!g)},3210:function(e,t,n){"use strict";var r=n(2109),o=n(3111).trim;r({target:"String",proto:!0,forced:n(6091)("trim")},{trim:function(){return o(this)}})},2990:function(e,t,n){"use strict";var r=n(260),o=n(1048),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},8927:function(e,t,n){"use strict";var r=n(260),o=n(2092).every,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3105:function(e,t,n){"use strict";var r=n(260),o=n(1285),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("fill",(function(e){return o.apply(i(this),arguments)}))},5035:function(e,t,n){"use strict";var r=n(260),o=n(2092).filter,i=n(3074),a=r.aTypedArray;(0,r.exportTypedArrayMethod)("filter",(function(e){var t=o(a(this),e,arguments.length>1?arguments[1]:void 0);return i(this,t)}))},7174:function(e,t,n){"use strict";var r=n(260),o=n(2092).findIndex,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4345:function(e,t,n){"use strict";var r=n(260),o=n(2092).find,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},2846:function(e,t,n){"use strict";var r=n(260),o=n(2092).forEach,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},4731:function(e,t,n){"use strict";var r=n(260),o=n(1318).includes,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},7209:function(e,t,n){"use strict";var r=n(260),o=n(1318).indexOf,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},6319:function(e,t,n){"use strict";var r=n(7854),o=n(260),i=n(6992),a=n(5112)("iterator"),s=r.Uint8Array,l=i.values,c=i.keys,u=i.entries,d=o.aTypedArray,f=o.exportTypedArrayMethod,p=s&&s.prototype[a],h=!!p&&("values"==p.name||null==p.name),m=function(){return l.call(d(this))};f("entries",(function(){return u.call(d(this))})),f("keys",(function(){return c.call(d(this))})),f("values",m,!h),f(a,m,!h)},8867:function(e,t,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].join;i("join",(function(e){return a.apply(o(this),arguments)}))},7789:function(e,t,n){"use strict";var r=n(260),o=n(6583),i=r.aTypedArray;(0,r.exportTypedArrayMethod)("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},3739:function(e,t,n){"use strict";var r=n(260),o=n(2092).map,i=n(6707),a=r.aTypedArray,s=r.aTypedArrayConstructor;(0,r.exportTypedArrayMethod)("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(i(e,e.constructor)))(t)}))}))},4483:function(e,t,n){"use strict";var r=n(260),o=n(3671).right,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},9368:function(e,t,n){"use strict";var r=n(260),o=n(3671).left,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},2056:function(e,t,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=Math.floor;i("reverse",(function(){for(var e,t=this,n=o(t).length,r=a(n/2),i=0;i<r;)e=t[i],t[i++]=t[--n],t[n]=e;return t}))},3462:function(e,t,n){"use strict";var r=n(260),o=n(7466),i=n(4590),a=n(7908),s=n(7293),l=r.aTypedArray;(0,r.exportTypedArrayMethod)("set",(function(e){l(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),c=0;if(s+t>n)throw RangeError("Wrong length");for(;c<s;)this[t+c]=r[c++]}),s((function(){new Int8Array(1).set({})})))},678:function(e,t,n){"use strict";var r=n(260),o=n(6707),i=n(7293),a=r.aTypedArray,s=r.aTypedArrayConstructor,l=r.exportTypedArrayMethod,c=[].slice;l("slice",(function(e,t){for(var n=c.call(a(this),e,t),r=o(this,this.constructor),i=0,l=n.length,u=new(s(r))(l);l>i;)u[i]=n[i++];return u}),i((function(){new Int8Array(1).slice()})))},7462:function(e,t,n){"use strict";var r=n(260),o=n(2092).some,i=r.aTypedArray;(0,r.exportTypedArrayMethod)("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},3824:function(e,t,n){"use strict";var r=n(260),o=r.aTypedArray,i=r.exportTypedArrayMethod,a=[].sort;i("sort",(function(e){return a.call(o(this),e)}))},5021:function(e,t,n){"use strict";var r=n(260),o=n(7466),i=n(1400),a=n(6707),s=r.aTypedArray;(0,r.exportTypedArrayMethod)("subarray",(function(e,t){var n=s(this),r=n.length,l=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+l*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-l))}))},2974:function(e,t,n){"use strict";var r=n(7854),o=n(260),i=n(7293),a=r.Int8Array,s=o.aTypedArray,l=o.exportTypedArrayMethod,c=[].toLocaleString,u=[].slice,d=!!a&&i((function(){c.call(new a(1))}));l("toLocaleString",(function(){return c.apply(d?u.call(s(this)):s(this),arguments)}),i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])})))},5016:function(e,t,n){"use strict";var r=n(260).exportTypedArrayMethod,o=n(7293),i=n(7854).Uint8Array,a=i&&i.prototype||{},s=[].toString,l=[].join;o((function(){s.call({})}))&&(s=function(){return l.call(this)});var c=a.toString!=s;r("toString",s,c)},2472:function(e,t,n){n(9843)("Uint8",(function(e){return function(t,n,r){return e(this,t,n,r)}}))},4747:function(e,t,n){var r=n(7854),o=n(8324),i=n(8533),a=n(8880);for(var s in o){var l=r[s],c=l&&l.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(e){c.forEach=i}}},3948:function(e,t,n){var r=n(7854),o=n(8324),i=n(6992),a=n(8880),s=n(5112),l=s("iterator"),c=s("toStringTag"),u=i.values;for(var d in o){var f=r[d],p=f&&f.prototype;if(p){if(p[l]!==u)try{a(p,l,u)}catch(e){p[l]=u}if(p[c]||a(p,c,d),o[d])for(var h in i)if(p[h]!==i[h])try{a(p,h,i[h])}catch(e){p[h]=i[h]}}}},1637:function(e,t,n){"use strict";n(6992);var r=n(2109),o=n(5005),i=n(590),a=n(1320),s=n(2248),l=n(8003),c=n(4994),u=n(9909),d=n(5787),f=n(6656),p=n(9974),h=n(648),m=n(9670),g=n(111),v=n(30),b=n(9114),y=n(8554),A=n(1246),x=n(5112),C=o("fetch"),_=o("Headers"),w=x("iterator"),k="URLSearchParams",S="URLSearchParamsIterator",E=u.set,B=u.getterFor(k),O=u.getterFor(S),j=/\+/g,T=Array(4),P=function(e){return T[e-1]||(T[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},M=function(e){try{return decodeURIComponent(e)}catch(t){return e}},D=function(e){var t=e.replace(j," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(P(n--),M);return t}},R=/[!'()~]|%20/g,L={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},I=function(e){return L[e]},N=function(e){return encodeURIComponent(e).replace(R,I)},F=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:D(r.shift()),value:D(r.join("="))}))},z=function(e){this.entries.length=0,F(this.entries,e)},q=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=c((function(e,t){E(this,{type:S,iterator:y(B(e).entries),kind:t})}),"Iterator",(function(){var e=O(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),H=function(){d(this,H,k);var e,t,n,r,o,i,a,s,l,c=arguments.length>0?arguments[0]:void 0,u=this,p=[];if(E(u,{type:k,entries:p,updateURL:function(){},updateSearchParams:z}),void 0!==c)if(g(c))if("function"==typeof(e=A(c)))for(n=(t=e.call(c)).next;!(r=n.call(t)).done;){if((a=(i=(o=y(m(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");p.push({key:a.value+"",value:s.value+""})}else for(l in c)f(c,l)&&p.push({key:l,value:c[l]+""});else F(p,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},W=H.prototype;s(W,{append:function(e,t){q(arguments.length,2);var n=B(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){q(arguments.length,1);for(var t=B(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){q(arguments.length,1);for(var t=B(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){q(arguments.length,1);for(var t=B(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){q(arguments.length,1);for(var t=B(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){q(arguments.length,1);for(var n,r=B(this),o=r.entries,i=!1,a=e+"",s=t+"",l=0;l<o.length;l++)(n=o[l]).key===a&&(i?o.splice(l--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=B(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=B(this).entries,r=p(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(W,w,W.entries),a(W,"toString",(function(){for(var e,t=B(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(N(e.key)+"="+N(e.value));return n.join("&")}),{enumerable:!0}),l(H,k),r({global:!0,forced:!i},{URLSearchParams:H}),i||"function"!=typeof C||"function"!=typeof _||r({global:!0,enumerable:!0,forced:!0},{fetch:function(e){var t,n,r,o=[e];return arguments.length>1&&(g(t=arguments[1])&&(n=t.body,h(n)===k&&((r=t.headers?new _(t.headers):new _).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=v(t,{body:b(0,String(n)),headers:b(0,r)}))),o.push(t)),C.apply(this,o)}}),e.exports={URLSearchParams:H,getState:B}},285:function(e,t,n){"use strict";n(8783);var r,o=n(2109),i=n(9781),a=n(590),s=n(7854),l=n(6048),c=n(1320),u=n(5787),d=n(6656),f=n(1574),p=n(8457),h=n(8710).codeAt,m=n(3197),g=n(8003),v=n(1637),b=n(9909),y=s.URL,A=v.URLSearchParams,x=v.getState,C=b.set,_=b.getterFor("URL"),w=Math.floor,k=Math.pow,S="Invalid scheme",E="Invalid host",B="Invalid port",O=/[A-Za-z]/,j=/[\d+-.A-Za-z]/,T=/\d/,P=/^(0x|0X)/,M=/^[0-7]+$/,D=/^\d+$/,R=/^[\dA-Fa-f]+$/,L=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,I=/[\u0000\t\u000A\u000D #/:?@[\\]]/,N=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,F=/[\t\u000A\u000D]/g,z=function(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return E;if(!(n=U(t.slice(1,-1))))return E;e.host=n}else if($(e)){if(t=m(t),L.test(t))return E;if(null===(n=q(t)))return E;e.host=n}else{if(I.test(t))return E;for(n="",r=p(t),o=0;o<r.length;o++)n+=G(r[o],W);e.host=n}},q=function(e){var t,n,r,o,i,a,s,l=e.split(".");if(l.length&&""==l[l.length-1]&&l.pop(),(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=l[r]))return e;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=P.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?D:8==i?M:R).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},U=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return e.charAt(d)};if(":"==f()){if(":"!=e.charAt(1))return;d+=2,u=++c}for(;f();){if(8==c)return;if(":"!=f()){for(t=n=0;n<4&&R.test(f());)t=16*t+parseInt(f(),16),d++,n++;if("."==f()){if(0==n)return;if(d-=n,c>6)return;for(r=0;f();){if(o=null,r>0){if(!("."==f()&&r<4))return;d++}if(!T.test(f()))return;for(;T.test(f());){if(i=parseInt(f(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==f()){if(d++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!=c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!=c)return;return l},H=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=w(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},V=f({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),Y=f({},V,{"#":1,"?":1,"{":1,"}":1}),Z=f({},Y,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(e,t){var n=h(e,0);return n>32&&n<127&&!d(t,e)?e:encodeURIComponent(e)},K={ftp:21,file:null,http:80,https:443,ws:80,wss:443},$=function(e){return d(K,e.scheme)},X=function(e){return""!=e.username||""!=e.password},Q=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},J=function(e,t){var n;return 2==e.length&&O.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},ee=function(e){var t;return e.length>1&&J(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},te=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&J(t[0],!0)||t.pop()},ne=function(e){return"."===e||"%2e"===e.toLowerCase()},re={},oe={},ie={},ae={},se={},le={},ce={},ue={},de={},fe={},pe={},he={},me={},ge={},ve={},be={},ye={},Ae={},xe={},Ce={},_e={},we=function(e,t,n,o){var i,a,s,l,c,u=n||re,f=0,h="",m=!1,g=!1,v=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(N,"")),t=t.replace(F,""),i=p(t);f<=i.length;){switch(a=i[f],u){case re:if(!a||!O.test(a)){if(n)return S;u=ie;continue}h+=a.toLowerCase(),u=oe;break;case oe:if(a&&(j.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return S;h="",u=ie,f=0;continue}if(n&&($(e)!=d(K,h)||"file"==h&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void($(e)&&K[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?u=ge:$(e)&&o&&o.scheme==e.scheme?u=ae:$(e)?u=ue:"/"==i[f+1]?(u=se,f++):(e.cannotBeABaseURL=!0,e.path.push(""),u=xe)}break;case ie:if(!o||o.cannotBeABaseURL&&"#"!=a)return S;if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,u=_e;break}u="file"==o.scheme?ge:le;continue;case ae:if("/"!=a||"/"!=i[f+1]){u=le;continue}u=de,f++;break;case se:if("/"==a){u=fe;break}u=Ae;continue;case le:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&$(e))u=ce;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",u=Ce;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),u=Ae;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=_e}break;case ce:if(!$(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,u=Ae;continue}u=fe}else u=de;break;case ue:if(u=de,"/"!=a||"/"!=h.charAt(f+1))continue;f++;break;case de:if("/"!=a&&"\\"!=a){u=fe;continue}break;case fe:if("@"==a){m&&(h="%40"+h),m=!0,s=p(h);for(var b=0;b<s.length;b++){var y=s[b];if(":"!=y||v){var A=G(y,Z);v?e.password+=A:e.username+=A}else v=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)){if(m&&""==h)return"Invalid authority";f-=p(h).length+1,h="",u=pe}else h+=a;break;case pe:case he:if(n&&"file"==e.scheme){u=be;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)){if($(e)&&""==h)return E;if(n&&""==h&&(X(e)||null!==e.port))return;if(l=z(e,h))return l;if(h="",u=ye,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return E;if(l=z(e,h))return l;if(h="",u=me,n==he)return}break;case me:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&$(e)||n){if(""!=h){var x=parseInt(h,10);if(x>65535)return B;e.port=$(e)&&x===K[e.scheme]?null:x,h=""}if(n)return;u=ye;continue}return B}h+=a;break;case ge:if(e.scheme="file","/"==a||"\\"==a)u=ve;else{if(!o||"file"!=o.scheme){u=Ae;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",u=Ce;else{if("#"!=a){ee(i.slice(f).join(""))||(e.host=o.host,e.path=o.path.slice(),te(e)),u=Ae;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",u=_e}}break;case ve:if("/"==a||"\\"==a){u=be;break}o&&"file"==o.scheme&&!ee(i.slice(f).join(""))&&(J(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),u=Ae;continue;case be:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&J(h))u=Ae;else if(""==h){if(e.host="",n)return;u=ye}else{if(l=z(e,h))return l;if("localhost"==e.host&&(e.host=""),n)return;h="",u=ye}continue}h+=a;break;case ye:if($(e)){if(u=Ae,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(u=Ae,"/"!=a))continue}else e.fragment="",u=_e;else e.query="",u=Ce;break;case Ae:if(a==r||"/"==a||"\\"==a&&$(e)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(te(e),"/"==a||"\\"==a&&$(e)||e.path.push("")):ne(h)?"/"==a||"\\"==a&&$(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&J(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",u=Ce):"#"==a&&(e.fragment="",u=_e)}else h+=G(a,Y);break;case xe:"?"==a?(e.query="",u=Ce):"#"==a?(e.fragment="",u=_e):a!=r&&(e.path[0]+=G(a,W));break;case Ce:n||"#"!=a?a!=r&&("'"==a&&$(e)?e.query+="%27":e.query+="#"==a?"%23":G(a,W)):(e.fragment="",u=_e);break;case _e:a!=r&&(e.fragment+=G(a,V))}f++}},ke=function(e){var t,n,r=u(this,ke,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=C(r,{type:"URL"});if(void 0!==o)if(o instanceof ke)t=_(o);else if(n=we(t={},String(o)))throw TypeError(n);if(n=we(s,a,null,t))throw TypeError(n);var l=s.searchParams=new A,c=x(l);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(l)||null},i||(r.href=Ee.call(r),r.origin=Be.call(r),r.protocol=Oe.call(r),r.username=je.call(r),r.password=Te.call(r),r.host=Pe.call(r),r.hostname=Me.call(r),r.port=De.call(r),r.pathname=Re.call(r),r.search=Le.call(r),r.searchParams=Ie.call(r),r.hash=Ne.call(r))},Se=ke.prototype,Ee=function(){var e=_(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",X(e)&&(c+=n+(r?":"+r:"")+"@"),c+=H(o),null!==i&&(c+=":"+i)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},Be=function(){var e=_(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&$(e)?t+"://"+H(e.host)+(null!==n?":"+n:""):"null"},Oe=function(){return _(this).scheme+":"},je=function(){return _(this).username},Te=function(){return _(this).password},Pe=function(){var e=_(this),t=e.host,n=e.port;return null===t?"":null===n?H(t):H(t)+":"+n},Me=function(){var e=_(this).host;return null===e?"":H(e)},De=function(){var e=_(this).port;return null===e?"":String(e)},Re=function(){var e=_(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Le=function(){var e=_(this).query;return e?"?"+e:""},Ie=function(){return _(this).searchParams},Ne=function(){var e=_(this).fragment;return e?"#"+e:""},Fe=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&l(Se,{href:Fe(Ee,(function(e){var t=_(this),n=String(e),r=we(t,n);if(r)throw TypeError(r);x(t.searchParams).updateSearchParams(t.query)})),origin:Fe(Be),protocol:Fe(Oe,(function(e){var t=_(this);we(t,String(e)+":",re)})),username:Fe(je,(function(e){var t=_(this),n=p(String(e));if(!Q(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=G(n[r],Z)}})),password:Fe(Te,(function(e){var t=_(this),n=p(String(e));if(!Q(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=G(n[r],Z)}})),host:Fe(Pe,(function(e){var t=_(this);t.cannotBeABaseURL||we(t,String(e),pe)})),hostname:Fe(Me,(function(e){var t=_(this);t.cannotBeABaseURL||we(t,String(e),he)})),port:Fe(De,(function(e){var t=_(this);Q(t)||(""==(e=String(e))?t.port=null:we(t,e,me))})),pathname:Fe(Re,(function(e){var t=_(this);t.cannotBeABaseURL||(t.path=[],we(t,e+"",ye))})),search:Fe(Le,(function(e){var t=_(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",we(t,e,Ce)),x(t.searchParams).updateSearchParams(t.query)})),searchParams:Fe(Ie),hash:Fe(Ne,(function(e){var t=_(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",we(t,e,_e)):t.fragment=null}))}),c(Se,"toJSON",(function(){return Ee.call(this)}),{enumerable:!0}),c(Se,"toString",(function(){return Ee.call(this)}),{enumerable:!0}),y){var ze=y.createObjectURL,qe=y.revokeObjectURL;ze&&c(ke,"createObjectURL",(function(e){return ze.apply(y,arguments)})),qe&&c(ke,"revokeObjectURL",(function(e){return qe.apply(y,arguments)}))}g(ke,"URL"),o({global:!0,forced:!a,sham:!i},{URL:ke})}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};return function(){"use strict";function e(e,n){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,n){if(e){if("string"==typeof e)return t(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?t(e,n):void 0}}(e))||n&&e&&"number"==typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},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,l=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}function t(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 o(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)}}n.r(r),n.d(r,{Dropzone:function(){return A},default:function(){return k}}),n(2222),n(7327),n(2772),n(6992),n(1249),n(7042),n(561),n(8264),n(8309),n(489),n(1539),n(4916),n(9714),n(8783),n(4723),n(5306),n(3123),n(3210),n(2472),n(2990),n(8927),n(3105),n(5035),n(4345),n(7174),n(2846),n(4731),n(7209),n(6319),n(8867),n(7789),n(3739),n(9368),n(4483),n(2056),n(3462),n(678),n(7462),n(3824),n(5021),n(2974),n(5016),n(4747),n(3948),n(285);var i=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,r,i;return n=t,r=[{key:"on",value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:"emit",value:function(t){this._callbacks=this._callbacks||{};for(var n=this._callbacks[t],r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];if(n){var a,s=e(n,!0);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.apply(this,o)}}catch(e){s.e(e)}finally{s.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+t,{args:o})),this}},{key:"makeEvent",value:function(e,t){var n={bubbles:!0,cancelable:!0,detail:t};if("function"==typeof window.CustomEvent)return new CustomEvent(e,n);var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),r}},{key:"off",value:function(e,t){if(!this._callbacks||0===arguments.length)return this._callbacks={},this;var n=this._callbacks[e];if(!n)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(var r=0;r<n.length;r++){var o=n[r];if(o===t){n.splice(r,1);break}}return this}}],r&&o(n.prototype,r),i&&o(n,i),t}();function a(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function s(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 l={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(e,t,n){if(n)return{dzuuid:n.file.upload.uuid,dzchunkindex:n.index,dztotalfilesize:n.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:n.file.upload.totalChunkCount,dzchunkbyteoffset:n.index*this.options.chunkSize}},accept:function(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){var e;this.element.className="".concat(this.element.className," dz-browser-not-supported");var t,n=a(this.element.getElementsByTagName("div"),!0);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(/(^| )dz-message($| )/.test(r.className)){e=r,r.className="dz-message";break}}}catch(e){n.e(e)}finally{n.f()}e||(e=A.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));var o=e.getElementsByTagName("span")[0];return o&&(null!=o.textContent?o.textContent=this.options.dictFallbackMessage:null!=o.innerText&&(o.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,n,r){var o={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},i=e.width/e.height;null==t&&null==n?(t=o.srcWidth,n=o.srcHeight):null==t?t=n*i:null==n&&(n=t/i);var a=(t=Math.min(t,o.srcWidth))/(n=Math.min(n,o.srcHeight));if(o.srcWidth>t||o.srcHeight>n)if("crop"===r)i>a?(o.srcHeight=e.height,o.srcWidth=o.srcHeight*a):(o.srcWidth=e.width,o.srcHeight=o.srcWidth/a);else{if("contain"!==r)throw new Error("Unknown resizeMethod '".concat(r,"'"));i>a?n=t/i:t=n*i}return o.srcX=(e.width-o.srcWidth)/2,o.srcY=(e.height-o.srcHeight)/2,o.trgWidth=t,o.trgHeight=n,o},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:'<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var t=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){e.previewElement=A.createElement(this.options.previewTemplate.trim()),e.previewTemplate=e.previewElement,this.previewsContainer.appendChild(e.previewElement);var n,r=a(e.previewElement.querySelectorAll("[data-dz-name]"),!0);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.textContent=e.name}}catch(e){r.e(e)}finally{r.f()}var i,s=a(e.previewElement.querySelectorAll("[data-dz-size]"),!0);try{for(s.s();!(i=s.n()).done;)(o=i.value).innerHTML=this.filesize(e.size)}catch(e){s.e(e)}finally{s.f()}this.options.addRemoveLinks&&(e._removeLink=A.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),e.previewElement.appendChild(e._removeLink));var l,c=function(n){return n.preventDefault(),n.stopPropagation(),e.status===A.UPLOADING?A.confirm(t.options.dictCancelUploadConfirmation,(function(){return t.removeFile(e)})):t.options.dictRemoveFileConfirmation?A.confirm(t.options.dictRemoveFileConfirmation,(function(){return t.removeFile(e)})):t.removeFile(e)},u=a(e.previewElement.querySelectorAll("[data-dz-remove]"),!0);try{for(u.s();!(l=u.n()).done;)l.value.addEventListener("click",c)}catch(e){u.e(e)}finally{u.f()}}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var n,r=a(e.previewElement.querySelectorAll("[data-dz-thumbnail]"),!0);try{for(r.s();!(n=r.n()).done;){var o=n.value;o.alt=e.name,o.src=t}}catch(e){r.e(e)}finally{r.f()}return setTimeout((function(){return e.previewElement.classList.add("dz-image-preview")}),1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"string"!=typeof t&&t.error&&(t=t.error);var n,r=a(e.previewElement.querySelectorAll("[data-dz-errormessage]"),!0);try{for(r.s();!(n=r.n()).done;)n.value.textContent=t}catch(e){r.e(e)}finally{r.f()}}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t,n){if(e.previewElement){var r,o=a(e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),!0);try{for(o.s();!(r=o.n()).done;){var i=r.value;"PROGRESS"===i.nodeName?i.value=t:i.style.width="".concat(t,"%")}}catch(e){o.e(e)}finally{o.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}};function c(e){return c="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},c(e)}function u(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(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)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function d(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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function g(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?b(e):t}function b(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var A=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}}),t&&m(e,t)}(n,e);var t=g(n);function n(e,r){var o,i,a;if(f(this,n),(o=t.call(this)).element=e,o.version=n.version,o.clickableElements=[],o.listeners=[],o.files=[],"string"==typeof o.element&&(o.element=document.querySelector(o.element)),!o.element||null==o.element.nodeType)throw new Error("Invalid dropzone element.");if(o.element.dropzone)throw new Error("Dropzone already attached.");n.instances.push(b(o)),o.element.dropzone=b(o);var s=null!=(a=n.optionsForElement(o.element))?a:{};if(o.options=n.extend({},l,s,null!=r?r:{}),o.options.previewTemplate=o.options.previewTemplate.replace(/\n*/g,""),o.options.forceFallback||!n.isBrowserSupported())return v(o,o.options.fallback.call(b(o)));if(null==o.options.url&&(o.options.url=o.element.getAttribute("action")),!o.options.url)throw new Error("No URL provided.");if(o.options.acceptedFiles&&o.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(o.options.uploadMultiple&&o.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return o.options.acceptedMimeTypes&&(o.options.acceptedFiles=o.options.acceptedMimeTypes,delete o.options.acceptedMimeTypes),null!=o.options.renameFilename&&(o.options.renameFile=function(e){return o.options.renameFilename.call(b(o),e.name,e)}),"string"==typeof o.options.method&&(o.options.method=o.options.method.toUpperCase()),(i=o.getExistingFallback())&&i.parentNode&&i.parentNode.removeChild(i),!1!==o.options.previewsContainer&&(o.options.previewsContainer?o.previewsContainer=n.getElement(o.options.previewsContainer,"previewsContainer"):o.previewsContainer=o.element),o.options.clickable&&(!0===o.options.clickable?o.clickableElements=[o.element]:o.clickableElements=n.getElements(o.options.clickable,"clickable")),o.init(),o}return h(n,[{key:"getAcceptedFiles",value:function(){return this.files.filter((function(e){return e.accepted})).map((function(e){return e}))}},{key:"getRejectedFiles",value:function(){return this.files.filter((function(e){return!e.accepted})).map((function(e){return e}))}},{key:"getFilesWithStatus",value:function(e){return this.files.filter((function(t){return t.status===e})).map((function(e){return e}))}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(n.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(n.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(n.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter((function(e){return e.status===n.UPLOADING||e.status===n.QUEUED})).map((function(e){return e}))}},{key:"init",value:function(){var e=this;"form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(n.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length&&function t(){e.hiddenFileInput&&e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput),e.hiddenFileInput=document.createElement("input"),e.hiddenFileInput.setAttribute("type","file"),(null===e.options.maxFiles||e.options.maxFiles>1)&&e.hiddenFileInput.setAttribute("multiple","multiple"),e.hiddenFileInput.className="dz-hidden-input",null!==e.options.acceptedFiles&&e.hiddenFileInput.setAttribute("accept",e.options.acceptedFiles),null!==e.options.capture&&e.hiddenFileInput.setAttribute("capture",e.options.capture),e.hiddenFileInput.setAttribute("tabindex","-1"),e.hiddenFileInput.style.visibility="hidden",e.hiddenFileInput.style.position="absolute",e.hiddenFileInput.style.top="0",e.hiddenFileInput.style.left="0",e.hiddenFileInput.style.height="0",e.hiddenFileInput.style.width="0",n.getElement(e.options.hiddenInputContainer,"hiddenInputContainer").appendChild(e.hiddenFileInput),e.hiddenFileInput.addEventListener("change",(function(){var n=e.hiddenFileInput.files;if(n.length){var r,o=u(n,!0);try{for(o.s();!(r=o.n()).done;){var i=r.value;e.addFile(i)}}catch(e){o.e(e)}finally{o.f()}}e.emit("addedfiles",n),t()}))}(),this.URL=null!==window.URL?window.URL:window.webkitURL;var t,r=u(this.events,!0);try{for(r.s();!(t=r.n()).done;){var o=t.value;this.on(o,this.options[o])}}catch(e){r.e(e)}finally{r.f()}this.on("uploadprogress",(function(){return e.updateTotalUploadProgress()})),this.on("removedfile",(function(){return e.updateTotalUploadProgress()})),this.on("canceled",(function(t){return e.emit("complete",t)})),this.on("complete",(function(t){if(0===e.getAddedFiles().length&&0===e.getUploadingFiles().length&&0===e.getQueuedFiles().length)return setTimeout((function(){return e.emit("queuecomplete")}),0)}));var i=function(e){if(function(e){if(e.dataTransfer.types)for(var t=0;t<e.dataTransfer.types.length;t++)if("Files"===e.dataTransfer.types[t])return!0;return!1}(e))return e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(t){return e.emit("dragstart",t)},dragenter:function(t){return i(t),e.emit("dragenter",t)},dragover:function(t){var n;try{n=t.dataTransfer.effectAllowed}catch(e){}return t.dataTransfer.dropEffect="move"===n||"linkMove"===n?"move":"copy",i(t),e.emit("dragover",t)},dragleave:function(t){return e.emit("dragleave",t)},drop:function(t){return i(t),e.drop(t)},dragend:function(t){return e.emit("dragend",t)}}}],this.clickableElements.forEach((function(t){return e.listeners.push({element:t,events:{click:function(r){return(t!==e.element||r.target===e.element||n.elementInside(r.target,e.element.querySelector(".dz-message")))&&e.hiddenFileInput.click(),!0}}})})),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),(null!=this.hiddenFileInput?this.hiddenFileInput.parentNode:void 0)&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,n.instances.splice(n.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e,t=0,n=0;if(this.getActiveFiles().length){var r,o=u(this.getActiveFiles(),!0);try{for(o.s();!(r=o.n()).done;){var i=r.value;t+=i.upload.bytesSent,n+=i.upload.total}}catch(e){o.e(e)}finally{o.f()}e=100*t/n}else e=100;return this.emit("totaluploadprogress",e,n,t)}},{key:"_getParamName",value:function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}},{key:"_renameFile",value:function(e){return"function"!=typeof this.options.renameFile?e.name:this.options.renameFile(e)}},{key:"getFallbackForm",value:function(){var e,t;if(e=this.getExistingFallback())return e;var r='<div class="dz-fallback">';this.options.dictFallbackText&&(r+="<p>".concat(this.options.dictFallbackText,"</p>")),r+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var o=n.createElement(r);return"FORM"!==this.element.tagName?(t=n.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(o):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=t?t:o}},{key:"getExistingFallback",value:function(){for(var e=function(e){var t,n=u(e,!0);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(/(^| )fallback($| )/.test(r.className))return r}}catch(e){n.e(e)}finally{n.f()}},t=0,n=["div","form"];t<n.length;t++){var r,o=n[t];if(r=e(this.element.getElementsByTagName(o)))return r}}},{key:"setupEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.addEventListener(n,r,!1))}return t}()}))}},{key:"removeEventListeners",value:function(){return this.listeners.map((function(e){return function(){var t=[];for(var n in e.events){var r=e.events[n];t.push(e.element.removeEventListener(n,r,!1))}return t}()}))}},{key:"disable",value:function(){var e=this;return this.clickableElements.forEach((function(e){return e.classList.remove("dz-clickable")})),this.removeEventListeners(),this.disabled=!0,this.files.map((function(t){return e.cancelUpload(t)}))}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach((function(e){return e.classList.add("dz-clickable")})),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,n="b";if(e>0){for(var r=["tb","gb","mb","kb","b"],o=0;o<r.length;o++){var i=r[o];if(e>=Math.pow(this.options.filesizeBase,4-o)/10){t=e/Math.pow(this.options.filesizeBase,4-o),n=i;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[n])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(e){if(e.dataTransfer){this.emit("drop",e);for(var t=[],n=0;n<e.dataTransfer.files.length;n++)t[n]=e.dataTransfer.files[n];if(t.length){var r=e.dataTransfer.items;r&&r.length&&null!=r[0].webkitGetAsEntry?this._addFilesFromItems(r):this.handleFiles(t)}this.emit("addedfiles",t)}}},{key:"paste",value:function(e){if(null!=(t=null!=e?e.clipboardData:void 0,n=function(e){return e.items},null!=t?n(t):void 0)){var t,n;this.emit("paste",e);var r=e.clipboardData.items;return r.length?this._addFilesFromItems(r):void 0}}},{key:"handleFiles",value:function(e){var t,n=u(e,!0);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.addFile(r)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_addFilesFromItems",value:function(e){var t=this;return function(){var n,r=[],o=u(e,!0);try{for(o.s();!(n=o.n()).done;){var i,a=n.value;null!=a.webkitGetAsEntry&&(i=a.webkitGetAsEntry())?i.isFile?r.push(t.addFile(a.getAsFile())):i.isDirectory?r.push(t._addFilesFromDirectory(i,i.name)):r.push(void 0):null==a.getAsFile||null!=a.kind&&"file"!==a.kind?r.push(void 0):r.push(t.addFile(a.getAsFile()))}}catch(e){o.e(e)}finally{o.f()}return r}()}},{key:"_addFilesFromDirectory",value:function(e,t){var n=this,r=e.createReader(),o=function(e){return t=console,n="log",r=function(t){return t.log(e)},null!=t&&"function"==typeof t[n]?r(t,n):void 0;var t,n,r};return function e(){return r.readEntries((function(r){if(r.length>0){var o,i=u(r,!0);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.isFile?a.file((function(e){if(!n.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath="".concat(t,"/").concat(e.name),n.addFile(e)})):a.isDirectory&&n._addFilesFromDirectory(a,"".concat(t,"/").concat(a.name))}}catch(e){i.e(e)}finally{i.f()}e()}return null}),o)}()}},{key:"accept",value:function(e,t){this.options.maxFilesize&&e.size>1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):n.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:"addFile",value:function(e){var t=this;e.upload={uuid:n.uuidv4(),progress:0,total:e.size,bytesSent:0,filename:this._renameFile(e)},this.files.push(e),e.status=n.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,(function(n){n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}))}},{key:"enqueueFiles",value:function(e){var t,n=u(e,!0);try{for(n.s();!(t=n.n()).done;){var r=t.value;this.enqueueFile(r)}}catch(e){n.e(e)}finally{n.f()}return null}},{key:"enqueueFile",value:function(e){var t=this;if(e.status!==n.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=n.QUEUED,this.options.autoProcessQueue)return setTimeout((function(){return t.processQueue()}),0)}},{key:"_enqueueThumbnail",value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout((function(){return t._processThumbnailQueue()}),0)}},{key:"_processThumbnailQueue",value:function(){var e=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length){this._processingThumbnail=!0;var t=this._thumbnailQueue.shift();return this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,(function(n){return e.emit("thumbnail",t,n),e._processingThumbnail=!1,e._processThumbnailQueue()}))}}},{key:"removeFile",value:function(e){if(e.status===n.UPLOADING&&this.cancelUpload(e),this.files=x(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);var t,r=u(this.files.slice(),!0);try{for(r.s();!(t=r.n()).done;){var o=t.value;(o.status!==n.UPLOADING||e)&&this.removeFile(o)}}catch(e){r.e(e)}finally{r.f()}return null}},{key:"resizeImage",value:function(e,t,r,o,i){var a=this;return this.createThumbnail(e,t,r,o,!0,(function(t,r){if(null==r)return i(e);var o=a.options.resizeMimeType;null==o&&(o=e.type);var s=r.toDataURL(o,a.options.resizeQuality);return"image/jpeg"!==o&&"image/jpg"!==o||(s=w.restore(e.dataURL,s)),i(n.dataURItoBlob(s))}))}},{key:"createThumbnail",value:function(e,t,n,r,o,i){var a=this,s=new FileReader;s.onload=function(){e.dataURL=s.result,"image/svg+xml"!==e.type?a.createThumbnailFromUrl(e,t,n,r,o,i):null!=i&&i(s.result)},s.readAsDataURL(e)}},{key:"displayExistingFile",value:function(e,t,n,r){var o=this,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4];if(this.emit("addedfile",e),this.emit("complete",e),i){var a=function(t){o.emit("thumbnail",e,t),n&&n()};e.dataURL=t,this.createThumbnailFromUrl(e,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,a,r)}else this.emit("thumbnail",e,t),n&&n()}},{key:"createThumbnailFromUrl",value:function(e,t,n,r,o,i,a){var s=this,l=document.createElement("img");return a&&(l.crossOrigin=a),o="from-image"!=getComputedStyle(document.body).imageOrientation&&o,l.onload=function(){var a=function(e){return e(1)};return"undefined"!=typeof EXIF&&null!==EXIF&&o&&(a=function(e){return EXIF.getData(l,(function(){return e(EXIF.getTag(this,"Orientation"))}))}),a((function(o){e.width=l.width,e.height=l.height;var a=s.options.resize.call(s,e,t,n,r),c=document.createElement("canvas"),u=c.getContext("2d");switch(c.width=a.trgWidth,c.height=a.trgHeight,o>4&&(c.width=a.trgHeight,c.height=a.trgWidth),o){case 2:u.translate(c.width,0),u.scale(-1,1);break;case 3:u.translate(c.width,c.height),u.rotate(Math.PI);break;case 4:u.translate(0,c.height),u.scale(1,-1);break;case 5:u.rotate(.5*Math.PI),u.scale(1,-1);break;case 6:u.rotate(.5*Math.PI),u.translate(0,-c.width);break;case 7:u.rotate(.5*Math.PI),u.translate(c.height,-c.width),u.scale(-1,1);break;case 8:u.rotate(-.5*Math.PI),u.translate(-c.height,0)}_(u,l,null!=a.srcX?a.srcX:0,null!=a.srcY?a.srcY:0,a.srcWidth,a.srcHeight,null!=a.trgX?a.trgX:0,null!=a.trgY?a.trgY:0,a.trgWidth,a.trgHeight);var d=c.toDataURL("image/png");if(null!=i)return i(d,c)}))},null!=i&&(l.onerror=i),l.src=e.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,n=t;if(!(t>=e)){var r=this.getQueuedFiles();if(r.length>0){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,e-t));for(;n<e;){if(!r.length)return;this.processFile(r.shift()),n++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){var t,r=u(e,!0);try{for(r.s();!(t=r.n()).done;){var o=t.value;o.processing=!0,o.status=n.UPLOADING,this.emit("processing",o)}}catch(e){r.e(e)}finally{r.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function(e){return this.files.filter((function(t){return t.xhr===e})).map((function(e){return e}))}},{key:"cancelUpload",value:function(e){if(e.status===n.UPLOADING){var t,r=this._getFilesWithXhr(e.xhr),o=u(r,!0);try{for(o.s();!(t=o.n()).done;)t.value.status=n.CANCELED}catch(e){o.e(e)}finally{o.f()}void 0!==e.xhr&&e.xhr.abort();var i,a=u(r,!0);try{for(a.s();!(i=a.n()).done;){var s=i.value;this.emit("canceled",s)}}catch(e){a.e(e)}finally{a.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else e.status!==n.ADDED&&e.status!==n.QUEUED||(e.status=n.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(e){if("function"==typeof 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 e.apply(this,n)}return e}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(e){var t=this;this._transformFiles(e,(function(r){if(t.options.chunking){var o=r[0];e[0].upload.chunked=t.options.chunking&&(t.options.forceChunking||o.size>t.options.chunkSize),e[0].upload.totalChunkCount=Math.ceil(o.size/t.options.chunkSize)}if(e[0].upload.chunked){var i=e[0],a=r[0];i.upload.chunks=[];var s=function(){for(var r=0;void 0!==i.upload.chunks[r];)r++;if(!(r>=i.upload.totalChunkCount)){var o=r*t.options.chunkSize,s=Math.min(o+t.options.chunkSize,a.size),l={name:t._getParamName(0),data:a.webkitSlice?a.webkitSlice(o,s):a.slice(o,s),filename:i.upload.filename,chunkIndex:r};i.upload.chunks[r]={file:i,index:r,dataBlock:l,status:n.UPLOADING,progress:0,retries:0},t._uploadData(e,[l])}};if(i.upload.finishedChunkUpload=function(r,o){var a=!0;r.status=n.SUCCESS,r.dataBlock=null,r.xhr=null;for(var l=0;l<i.upload.totalChunkCount;l++){if(void 0===i.upload.chunks[l])return s();i.upload.chunks[l].status!==n.SUCCESS&&(a=!1)}a&&t.options.chunksUploaded(i,(function(){t._finished(e,o,null)}))},t.options.parallelChunkUploads)for(var l=0;l<i.upload.totalChunkCount;l++)s();else s()}else{for(var c=[],u=0;u<e.length;u++)c[u]={name:t._getParamName(u),data:r[u],filename:e[u].upload.filename};t._uploadData(e,c)}}))}},{key:"_getChunk",value:function(e,t){for(var n=0;n<e.upload.totalChunkCount;n++)if(void 0!==e.upload.chunks[n]&&e.upload.chunks[n].xhr===t)return e.upload.chunks[n]}},{key:"_uploadData",value:function(e,t){var r,o=this,i=new XMLHttpRequest,a=u(e,!0);try{for(a.s();!(r=a.n()).done;)r.value.xhr=i}catch(e){a.e(e)}finally{a.f()}e[0].upload.chunked&&(e[0].upload.chunks[t[0].chunkIndex].xhr=i);var s=this.resolveOption(this.options.method,e),l=this.resolveOption(this.options.url,e);i.open(s,l,!0),this.resolveOption(this.options.timeout,e)&&(i.timeout=this.resolveOption(this.options.timeout,e)),i.withCredentials=!!this.options.withCredentials,i.onload=function(t){o._finishedUploading(e,i,t)},i.ontimeout=function(){o._handleUploadError(e,i,"Request timedout after ".concat(o.options.timeout/1e3," seconds"))},i.onerror=function(){o._handleUploadError(e,i)},(null!=i.upload?i.upload:i).onprogress=function(t){return o._updateFilesUploadProgress(e,i,t)};var c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(var d in this.options.headers&&n.extend(c,this.options.headers),c){var f=c[d];f&&i.setRequestHeader(d,f)}var p=new FormData;if(this.options.params){var h=this.options.params;for(var m in"function"==typeof h&&(h=h.call(this,e,i,e[0].upload.chunked?this._getChunk(e[0],i):null)),h){var g=h[m];if(Array.isArray(g))for(var v=0;v<g.length;v++)p.append(m,g[v]);else p.append(m,g)}}var b,y=u(e,!0);try{for(y.s();!(b=y.n()).done;){var A=b.value;this.emit("sending",A,i,p)}}catch(e){y.e(e)}finally{y.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",e,i,p),this._addFormElementData(p);for(var x=0;x<t.length;x++){var C=t[x];p.append(C.name,C.data,C.filename)}this.submitRequest(i,p,e)}},{key:"_transformFiles",value:function(e,t){for(var n=this,r=[],o=0,i=function(i){n.options.transformFile.call(n,e[i],(function(n){r[i]=n,++o===e.length&&t(r)}))},a=0;a<e.length;a++)i(a)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName){var t,n=u(this.element.querySelectorAll("input, textarea, select, button"),!0);try{for(n.s();!(t=n.n()).done;){var r=t.value,o=r.getAttribute("name"),i=r.getAttribute("type");if(i&&(i=i.toLowerCase()),null!=o)if("SELECT"===r.tagName&&r.hasAttribute("multiple")){var a,s=u(r.options,!0);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.selected&&e.append(o,l.value)}}catch(e){s.e(e)}finally{s.f()}}else(!i||"checkbox"!==i&&"radio"!==i||r.checked)&&e.append(o,r.value)}}catch(e){n.e(e)}finally{n.f()}}}},{key:"_updateFilesUploadProgress",value:function(e,t,n){if(e[0].upload.chunked){var r=e[0],o=this._getChunk(r,t);n?(o.progress=100*n.loaded/n.total,o.total=n.total,o.bytesSent=n.loaded):(o.progress=100,o.bytesSent=o.total),r.upload.progress=0,r.upload.total=0,r.upload.bytesSent=0;for(var i=0;i<r.upload.totalChunkCount;i++)r.upload.chunks[i]&&void 0!==r.upload.chunks[i].progress&&(r.upload.progress+=r.upload.chunks[i].progress,r.upload.total+=r.upload.chunks[i].total,r.upload.bytesSent+=r.upload.chunks[i].bytesSent);r.upload.progress=r.upload.progress/r.upload.totalChunkCount,this.emit("uploadprogress",r,r.upload.progress,r.upload.bytesSent)}else{var a,s=u(e,!0);try{for(s.s();!(a=s.n()).done;){var l=a.value;l.upload.total&&l.upload.bytesSent&&l.upload.bytesSent==l.upload.total||(n?(l.upload.progress=100*n.loaded/n.total,l.upload.total=n.total,l.upload.bytesSent=n.loaded):(l.upload.progress=100,l.upload.bytesSent=l.upload.total),this.emit("uploadprogress",l,l.upload.progress,l.upload.bytesSent))}}catch(e){s.e(e)}finally{s.f()}}}},{key:"_finishedUploading",value:function(e,t,r){var o;if(e[0].status!==n.CANCELED&&4===t.readyState){if("arraybuffer"!==t.responseType&&"blob"!==t.responseType&&(o=t.responseText,t.getResponseHeader("content-type")&&~t.getResponseHeader("content-type").indexOf("application/json")))try{o=JSON.parse(o)}catch(e){r=e,o="Invalid JSON response from server."}this._updateFilesUploadProgress(e,t),200<=t.status&&t.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t),o):this._finished(e,o,r):this._handleUploadError(e,t,o)}}},{key:"_handleUploadError",value:function(e,t,r){if(e[0].status!==n.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var o=this._getChunk(e[0],t);if(o.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[o.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(e,r||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}},{key:"submitRequest",value:function(e,t,n){1==e.readyState?e.send(t):console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.")}},{key:"_finished",value:function(e,t,r){var o,i=u(e,!0);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.status=n.SUCCESS,this.emit("success",a,t,r),this.emit("complete",a)}}catch(e){i.e(e)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",e,t,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,t,r){var o,i=u(e,!0);try{for(i.s();!(o=i.n()).done;){var a=o.value;a.status=n.ERROR,this.emit("error",a,t,r),this.emit("complete",a)}}catch(e){i.e(e)}finally{i.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,t,r),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=i,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value: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];for(var o=0,i=n;o<i.length;o++){var a=i[o];for(var s in a){var l=a[s];e[s]=l}}return e}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))}}]),n}(i);A.initClass(),A.version="5.9.3",A.options={},A.optionsForElement=function(e){return e.getAttribute("id")?A.options[C(e.getAttribute("id"))]:void 0},A.instances=[],A.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},A.autoDiscover=!0,A.discover=function(){var e;if(document.querySelectorAll)e=document.querySelectorAll(".dropzone");else{e=[];var t=function(t){return function(){var n,r=[],o=u(t,!0);try{for(o.s();!(n=o.n()).done;){var i=n.value;/(^| )dropzone($| )/.test(i.className)?r.push(e.push(i)):r.push(void 0)}}catch(e){o.e(e)}finally{o.f()}return r}()};t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))}return function(){var t,n=[],r=u(e,!0);try{for(r.s();!(t=r.n()).done;){var o=t.value;!1!==A.optionsForElement(o)?n.push(new A(o)):n.push(void 0)}}catch(e){r.e(e)}finally{r.f()}return n}()},A.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],A.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){void 0!==A.blacklistedBrowsers&&(A.blockedBrowsers=A.blacklistedBrowsers);var t,n=u(A.blockedBrowsers,!0);try{for(n.s();!(t=n.n()).done;)t.value.test(navigator.userAgent)&&(e=!1)}catch(e){n.e(e)}finally{n.f()}}else e=!1;else e=!1;return e},A.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),o=new Uint8Array(r),i=0,a=t.length,s=0<=a;s?i<=a:i>=a;s?i++:i--)o[i]=t.charCodeAt(i);return new Blob([r],{type:n})};var x=function(e,t){return e.filter((function(e){return e!==t})).map((function(e){return e}))},C=function(e){return e.replace(/[\-_](\w)/g,(function(e){return e.charAt(1).toUpperCase()}))};A.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},A.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},A.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector or a plain HTML element."));return n},A.getElements=function(e,t){var n,r;if(e instanceof Array){r=[];try{var o,i=u(e,!0);try{for(i.s();!(o=i.n()).done;)n=o.value,r.push(this.getElement(n,t))}catch(e){i.e(e)}finally{i.f()}}catch(e){r=null}}else if("string"==typeof e){r=[];var a,s=u(document.querySelectorAll(e),!0);try{for(s.s();!(a=s.n()).done;)n=a.value,r.push(n)}catch(e){s.e(e)}finally{s.f()}}else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return r},A.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},A.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var n,r=e.type,o=r.replace(/\/.*$/,""),i=u(t,!0);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("."===(a=a.trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(a.toLowerCase(),e.name.length-a.length))return!0}else if(/\/\*$/.test(a)){if(o===a.replace(/\/.*$/,""))return!0}else if(r===a)return!0}}catch(e){i.e(e)}finally{i.f()}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each((function(){return new A(this,e)}))}),A.ADDED="added",A.QUEUED="queued",A.ACCEPTED=A.QUEUED,A.UPLOADING="uploading",A.PROCESSING=A.UPLOADING,A.CANCELED="canceled",A.ERROR="error",A.SUCCESS="success";var _=function(e,t,n,r,o,i,a,s,l,c){var u=function(e){e.naturalWidth;var t=e.naturalHeight,n=document.createElement("canvas");n.width=1,n.height=t;var r=n.getContext("2d");r.drawImage(e,0,0);for(var o=r.getImageData(1,0,1,t).data,i=0,a=t,s=t;s>i;)0===o[4*(s-1)+3]?a=s:i=s,s=a+i>>1;var l=s/t;return 0===l?1:l}(t);return e.drawImage(t,n,r,o,i,a,s,l,c/u)},w=function(){function e(){f(this,e)}return h(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){for(var t="",n=void 0,r=void 0,o="",i=void 0,a=void 0,s=void 0,l="",c=0;i=(n=e[c++])>>2,a=(3&n)<<4|(r=e[c++])>>4,s=(15&r)<<2|(o=e[c++])>>6,l=63&o,isNaN(r)?s=l=64:isNaN(o)&&(l=64),t=t+this.KEY_STR.charAt(i)+this.KEY_STR.charAt(a)+this.KEY_STR.charAt(s)+this.KEY_STR.charAt(l),n=r=o="",i=a=s=l="",c<e.length;);return t}},{key:"restore",value:function(e,t){if(!e.match("data:image/jpeg;base64,"))return t;var n=this.decode64(e.replace("data:image/jpeg;base64,","")),r=this.slice2Segments(n),o=this.exifManipulation(t,r);return"data:image/jpeg;base64,".concat(this.encode64(o))}},{key:"exifManipulation",value:function(e,t){var n=this.getExifArray(t),r=this.insertExif(e,n);return new Uint8Array(r)}},{key:"getExifArray",value:function(e){for(var t=void 0,n=0;n<e.length;){if(255===(t=e[n])[0]&225===t[1])return t;n++}return[]}},{key:"insertExif",value:function(e,t){var n=e.replace("data:image/jpeg;base64,",""),r=this.decode64(n),o=r.indexOf(255,3),i=r.slice(0,o),a=r.slice(o),s=i;return s=(s=s.concat(t)).concat(a)}},{key:"slice2Segments",value:function(e){for(var t=0,n=[];!(255===e[t]&218===e[t+1]);){if(255===e[t]&216===e[t+1])t+=2;else{var r=t+(256*e[t+2]+e[t+3])+2,o=e.slice(t,r);n.push(o),t=r}if(t>e.length)break}return n}},{key:"decode64",value:function(e){var t=void 0,n=void 0,r="",o=void 0,i=void 0,a="",s=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");t=this.KEY_STR.indexOf(e.charAt(s++))<<2|(o=this.KEY_STR.indexOf(e.charAt(s++)))>>4,n=(15&o)<<4|(i=this.KEY_STR.indexOf(e.charAt(s++)))>>2,r=(3&i)<<6|(a=this.KEY_STR.indexOf(e.charAt(s++))),l.push(t),64!==i&&l.push(n),64!==a&&l.push(r),t=n=r="",o=i=a="",s<e.length;);return l}}]),e}();w.initClass(),A._autoDiscoverFunction=function(){if(A.autoDiscover)return A.discover()},function(e,t){var n=!1,r=!0,o=e.document,i=o.documentElement,a=o.addEventListener?"addEventListener":"attachEvent",s=o.addEventListener?"removeEventListener":"detachEvent",l=o.addEventListener?"":"on",c=function r(i){if("readystatechange"!==i.type||"complete"===o.readyState)return("load"===i.type?e:o)[s](l+i.type,r,!1),!n&&(n=!0)?t.call(e,i.type||i):void 0};if("complete"!==o.readyState){if(o.createEventObject&&i.doScroll){try{r=!e.frameElement}catch(e){}r&&function e(){try{i.doScroll("left")}catch(t){return void setTimeout(e,50)}return c("poll")}()}o[a](l+"DOMContentLoaded",c,!1),o[a](l+"readystatechange",c,!1),e[a](l+"load",c,!1)}}(window,A._autoDiscoverFunction),window.Dropzone=A;var k=A}(),r}()},e.exports=t()},62988:function(e,t,n){var r=n(61755),o=n(26665).each;function i(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess()},this.mql.addListener(this.listener)}i.prototype={constuctor:i,addHandler:function(e){var t=new r(e);this.handlers.push(t),this.matches()&&t.on()},removeHandler:function(e){var t=this.handlers;o(t,(function(n,r){if(n.equals(e))return n.destroy(),!t.splice(r,1)}))},matches:function(){return this.mql.matches||this.isUnconditional},clear:function(){o(this.handlers,(function(e){e.destroy()})),this.mql.removeListener(this.listener),this.handlers.length=0},assess:function(){var e=this.matches()?"on":"off";o(this.handlers,(function(t){t[e]()}))}},e.exports=i},38177:function(e,t,n){var r=n(62988),o=n(26665),i=o.each,a=o.isFunction,s=o.isArray;function l(){if(!window.matchMedia)throw new Error("matchMedia not present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches}l.prototype={constructor:l,register:function(e,t,n){var o=this.queries,l=n&&this.browserIsIncapable;return o[e]||(o[e]=new r(e,l)),a(t)&&(t={match:t}),s(t)||(t=[t]),i(t,(function(t){a(t)&&(t={match:t}),o[e].addHandler(t)})),this},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this}},e.exports=l},61755:function(e){function t(e){this.options=e,!e.deferSetup&&this.setup()}t.prototype={constructor:t,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match()},off:function(){this.options.unmatch&&this.options.unmatch()},destroy:function(){this.options.destroy?this.options.destroy():this.off()},equals:function(e){return this.options===e||this.options.match===e}},e.exports=t},26665:function(e){e.exports={isFunction:function(e){return"function"==typeof e},isArray:function(e){return"[object Array]"===Object.prototype.toString.apply(e)},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}}},24974:function(e,t,n){var r=n(38177);e.exports=new r},24429:function(e,t,n){"use strict";var r=n(40210)("%Object.defineProperty%",!0)||!1;if(r)try{r({},"a",{value:1})}catch(e){r=!1}e.exports=r},53981:function(e){"use strict";e.exports=EvalError},81648:function(e){"use strict";e.exports=Error},24726:function(e){"use strict";e.exports=RangeError},26712:function(e){"use strict";e.exports=ReferenceError},33464:function(e){"use strict";e.exports=SyntaxError},14453:function(e){"use strict";e.exports=TypeError},43915:function(e){"use strict";e.exports=URIError},58875:function(e,t,n){var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},64063:function(e){"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var a=i[o];if(!e(t[a],n[a]))return!1}return!0}return t!=t&&n!=n}},30286:function(e,t){"use strict";t.Z="/images/vendor/pannellum-react/es/pannellum/css/background.svg?73c746e88409ccb4b512c5bb4565ffce"},17994:function(e,t){"use strict";t.Z="/images/vendor/pannellum-react/es/pannellum/css/compass.svg?0f193cd39061ea43cc46b2c0767ade10"},1488:function(e,t){"use strict";t.Z="/images/vendor/pannellum-react/es/pannellum/css/grab.svg?6a052e927d39314632fd6836ceedf303"},67110:function(e,t){"use strict";t.Z="/images/vendor/pannellum-react/es/pannellum/css/grabbing.svg?92ec62eb995e792480669b05b336d239"},9719:function(e,t){"use strict";t.Z="/images/vendor/pannellum-react/es/pannellum/css/sprites.svg?c08944fed399e84633d0829846d52b50"},8873:function(e,t){"use strict";t.Z="/images/vendor/slick-carousel/slick/ajax-loader.gif?fb6f3c230cb846e25247dfaa1da94d8f"},3961:function(e,t){"use strict";t.Z="/fonts/vendor/slick-carousel/slick/slick.eot?a4e97f5a2a64f0ab132323fbeb33ae29"},2109:function(e,t){"use strict";t.Z="/fonts/vendor/slick-carousel/slick/slick.svg?2630a3e3eab21c607e21576571b95b9d"},77457:function(e,t){"use strict";t.Z="/fonts/vendor/slick-carousel/slick/slick.ttf?c94f7671dcc99dce43e22a89f486f7c2"},71844:function(e,t){"use strict";t.Z="/fonts/vendor/slick-carousel/slick/slick.woff?295183786cd8a138986521d9f388a286"},93162:function(e,t,n){var r,o,i;o=[],r=function(){"use strict";function t(e,t){return void 0===t?t={autoBom:!1}:"object"!=typeof t&&(console.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)?new Blob(["\ufeff",e],{type:e.type}):e}function r(e,t,n){var r=new XMLHttpRequest;r.open("GET",e),r.responseType="blob",r.onload=function(){l(r.response,t,n)},r.onerror=function(){console.error("could not download file")},r.send()}function o(e){var t=new XMLHttpRequest;t.open("HEAD",e,!1);try{t.send()}catch(e){}return 200<=t.status&&299>=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof n.g&&n.g.global===n.g?n.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,n){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):o(l.href)?r(e,t,n):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){i(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,n,a){if(n=n||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),n);else if(o(e))r(e,n,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}}:function(e,t,n,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return r(e,t,n);var i="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&l||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,f=d.createObjectURL(e);o?o.location=f:location.href=f,o=null,setTimeout((function(){d.revokeObjectURL(f)}),4e4)}});a.saveAs=l.saveAs=l,e.exports=l},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},27959:function(e,t,n){!function(){var e;function t(e){var t=0;return function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}}var r="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,n){return e==Array.prototype||e==Object.prototype||(e[t]=n.value),e};var o,i=function(e){e=["object"==typeof globalThis&&globalThis,e,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof n.g&&n.g];for(var t=0;t<e.length;++t){var r=e[t];if(r&&r.Math==Math)return r}throw Error("Cannot find global object")}(this);function a(e,t){if(t){for(var n=i,o=e.split("."),a=0;a<o.length-1;a++){var s=o[a];s in n||(n[s]={}),n=n[s]}(s=t(a=n[o=o[o.length-1]]))!=a&&null!=s&&r(n,o,{configurable:!0,writable:!0,value:s})}}function s(e){return(e={next:e})[Symbol.iterator]=function(){return this},e}function l(e){var n="undefined"!=typeof Symbol&&Symbol.iterator&&e[Symbol.iterator];return n?n.call(e):{next:t(e)}}if(a("Symbol",(function(e){function t(e,t){this.o=e,r(this,"description",{configurable:!0,writable:!0,value:t})}if(e)return e;t.prototype.toString=function(){return this.o};var n=0;return function e(r){if(this instanceof e)throw new TypeError("Symbol is not a constructor");return new t("jscomp_symbol_"+(r||"")+"_"+n++,r)}})),a("Symbol.iterator",(function(e){if(e)return e;e=Symbol("Symbol.iterator");for(var n="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),o=0;o<n.length;o++){var a=i[n[o]];"function"==typeof a&&"function"!=typeof a.prototype[e]&&r(a.prototype,e,{configurable:!0,writable:!0,value:function(){return s(t(this))}})}return e})),"function"==typeof Object.setPrototypeOf)o=Object.setPrototypeOf;else{var c;e:{var u={};try{u.__proto__={u:!0},c=u.u;break e}catch(e){}c=!1}o=c?function(e,t){if(e.__proto__=t,e.__proto__!==t)throw new TypeError(e+" is not extensible");return e}:null}var d=o;function f(){this.h=!1,this.f=null,this.m=void 0,this.b=1,this.l=this.v=0,this.g=null}function p(e){if(e.h)throw new TypeError("Generator is already running");e.h=!0}function h(e,t){return e.b=3,{value:t}}function m(e){this.a=new f,this.B=e}function g(e,t,n,r){try{var o=t.call(e.a.f,n);if(!(o instanceof Object))throw new TypeError("Iterator result "+o+" is not an object");if(!o.done)return e.a.h=!1,o;var i=o.value}catch(t){return e.a.f=null,e.a.j(t),v(e)}return e.a.f=null,r.call(e.a,i),v(e)}function v(e){for(;e.a.b;)try{var t=e.B(e.a);if(t)return e.a.h=!1,{value:t.value,done:!1}}catch(t){e.a.m=void 0,e.a.j(t)}if(e.a.h=!1,e.a.g){if(t=e.a.g,e.a.g=null,t.A)throw t.w;return{value:t.return,done:!0}}return{value:void 0,done:!0}}function b(e){this.next=function(t){return e.i(t)},this.throw=function(t){return e.j(t)},this.return=function(t){return function(e,t){p(e.a);var n=e.a.f;return n?g(e,"return"in n?n.return:function(e){return{value:e,done:!0}},t,e.a.return):(e.a.return(t),v(e))}(e,t)},this[Symbol.iterator]=function(){return this}}function y(e,t){var n=new b(new m(t));return d&&d(n,e.prototype),n}if(f.prototype.i=function(e){this.m=e},f.prototype.j=function(e){this.g={w:e,A:!0},this.b=this.v||this.l},f.prototype.return=function(e){this.g={return:e},this.b=this.l},m.prototype.i=function(e){return p(this.a),this.a.f?g(this,this.a.f.next,e,this.a.i):(this.a.i(e),v(this))},m.prototype.j=function(e){return p(this.a),this.a.f?g(this,this.a.f.throw,e,this.a.i):(this.a.j(e),v(this))},"undefined"!=typeof Blob&&("undefined"==typeof FormData||!FormData.prototype.keys)){var A=function(e,t){for(var n=0;n<e.length;n++)t(e[n])},x=function(e,t,n){return t instanceof Blob?[String(e),t,void 0!==n?n+"":"string"==typeof t.name?t.name:"blob"]:[String(e),String(t)]},C=function(e,t){if(e.length<t)throw new TypeError(t+" argument required, but only "+e.length+" present.")},_=function(e){var t=l(e);e=t.next().value;var n=t.next().value;return t=t.next().value,n instanceof Blob&&(n=new File([n],t,{type:n.type,lastModified:n.lastModified})),[e,n]},w="object"==typeof globalThis?globalThis:"object"==typeof window?window:"object"==typeof self?self:this,k=w.FormData,S=w.XMLHttpRequest&&w.XMLHttpRequest.prototype.send,E=w.Request&&w.fetch,B=w.navigator&&w.navigator.sendBeacon,O=w.Element&&w.Element.prototype,j=w.Symbol&&Symbol.toStringTag;j&&(Blob.prototype[j]||(Blob.prototype[j]="Blob"),"File"in w&&!File.prototype[j]&&(File.prototype[j]="File"));try{new File([],"")}catch(e){w.File=function(e,t,n){return e=new Blob(e,n),n=n&&void 0!==n.lastModified?new Date(n.lastModified):new Date,Object.defineProperties(e,{name:{value:t},lastModifiedDate:{value:n},lastModified:{value:+n},toString:{value:function(){return"[object File]"}}}),j&&Object.defineProperty(e,j,{value:"File"}),e}}var T=function(e){this.c=[];var t=this;e&&A(e.elements,(function(e){if(e.name&&!e.disabled&&"submit"!==e.type&&"button"!==e.type&&!e.matches("form fieldset[disabled] *"))if("file"===e.type){var n=e.files&&e.files.length?e.files:[new File([],"",{type:"application/octet-stream"})];A(n,(function(n){t.append(e.name,n)}))}else"select-multiple"===e.type||"select-one"===e.type?A(e.options,(function(n){!n.disabled&&n.selected&&t.append(e.name,n.value)})):"checkbox"===e.type||"radio"===e.type?e.checked&&t.append(e.name,e.value):(n="textarea"===e.type?e.value.replace(/\r\n/g,"\n").replace(/\n/g,"\r\n"):e.value,t.append(e.name,n))}))};if((e=T.prototype).append=function(e,t,n){C(arguments,2),this.c.push(x(e,t,n))},e.delete=function(e){C(arguments,1);var t=[];e=String(e),A(this.c,(function(n){n[0]!==e&&t.push(n)})),this.c=t},e.entries=function e(){var t,n=this;return y(e,(function(e){if(1==e.b&&(t=0),3!=e.b)return t<n.c.length?e=h(e,_(n.c[t])):(e.b=0,e=void 0),e;t++,e.b=2}))},e.forEach=function(e,t){C(arguments,1);for(var n=l(this),r=n.next();!r.done;r=n.next()){var o=l(r.value);r=o.next().value,o=o.next().value,e.call(t,o,r,this)}},e.get=function(e){C(arguments,1);var t=this.c;e=String(e);for(var n=0;n<t.length;n++)if(t[n][0]===e)return _(t[n])[1];return null},e.getAll=function(e){C(arguments,1);var t=[];return e=String(e),A(this.c,(function(n){n[0]===e&&t.push(_(n)[1])})),t},e.has=function(e){C(arguments,1),e=String(e);for(var t=0;t<this.c.length;t++)if(this.c[t][0]===e)return!0;return!1},e.keys=function e(){var t,n,r,o,i=this;return y(e,(function(e){if(1==e.b&&(t=l(i),n=t.next()),3!=e.b)return n.done?void(e.b=0):(r=n.value,o=l(r),h(e,o.next().value));n=t.next(),e.b=2}))},e.set=function(e,t,n){C(arguments,2),e=String(e);var r=[],o=x(e,t,n),i=!0;A(this.c,(function(t){t[0]===e?i&&(i=!r.push(o)):r.push(t)})),i&&r.push(o),this.c=r},e.values=function e(){var t,n,r,o,i=this;return y(e,(function(e){if(1==e.b&&(t=l(i),n=t.next()),3!=e.b)return n.done?void(e.b=0):(r=n.value,(o=l(r)).next(),h(e,o.next().value));n=t.next(),e.b=2}))},T.prototype._asNative=function(){for(var e=new k,t=l(this),n=t.next();!n.done;n=t.next()){var r=l(n.value);n=r.next().value,r=r.next().value,e.append(n,r)}return e},T.prototype._blob=function(){for(var e="----formdata-polyfill-"+Math.random(),t=[],n=l(this),r=n.next();!r.done;r=n.next()){var o=l(r.value);r=o.next().value,o=o.next().value,t.push("--"+e+"\r\n"),o instanceof Blob?t.push('Content-Disposition: form-data; name="'+r+'"; filename="'+o.name+'"\r\nContent-Type: '+(o.type||"application/octet-stream")+"\r\n\r\n",o,"\r\n"):t.push('Content-Disposition: form-data; name="'+r+'"\r\n\r\n'+o+"\r\n")}return t.push("--"+e+"--"),new Blob(t,{type:"multipart/form-data; boundary="+e})},T.prototype[Symbol.iterator]=function(){return this.entries()},T.prototype.toString=function(){return"[object FormData]"},O&&!O.matches&&(O.matches=O.matchesSelector||O.mozMatchesSelector||O.msMatchesSelector||O.oMatchesSelector||O.webkitMatchesSelector||function(e){for(var t=(e=(this.document||this.ownerDocument).querySelectorAll(e)).length;0<=--t&&e.item(t)!==this;);return-1<t}),j&&(T.prototype[j]="FormData"),S){var P=w.XMLHttpRequest.prototype.setRequestHeader;w.XMLHttpRequest.prototype.setRequestHeader=function(e,t){P.call(this,e,t),"content-type"===e.toLowerCase()&&(this.s=!0)},w.XMLHttpRequest.prototype.send=function(e){e instanceof T?(e=e._blob(),this.s||this.setRequestHeader("Content-Type",e.type),S.call(this,e)):S.call(this,e)}}E&&(w.fetch=function(e,t){return t&&t.body&&t.body instanceof T&&(t.body=t.body._blob()),E.call(this,e,t)}),B&&(w.navigator.sendBeacon=function(e,t){return t instanceof T&&(t=t._asNative()),B.call(this,e,t)}),w.FormData=T}}()},17648:function(e){"use strict";var t="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,r=Math.max,o="[object Function]",i=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n},a=function(e,t){for(var n=[],r=t||0,o=0;r<e.length;r+=1,o+=1)n[o]=e[r];return n},s=function(e,t){for(var n="",r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};e.exports=function(e){var l=this;if("function"!=typeof l||n.apply(l)!==o)throw new TypeError(t+l);for(var c,u=a(arguments,1),d=function(){if(this instanceof c){var t=l.apply(this,i(u,arguments));return Object(t)===t?t:this}return l.apply(e,i(u,arguments))},f=r(0,l.length-u.length),p=[],h=0;h<f;h++)p[h]="$"+h;if(c=Function("binder","return function ("+s(p,",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var m=function(){};m.prototype=l.prototype,c.prototype=new m,m.prototype=null}return c}},58612:function(e,t,n){"use strict";var r=n(17648);e.exports=Function.prototype.bind||r},25972:function(e){"use strict";var t=function(){return"string"==typeof function(){}.name},n=Object.getOwnPropertyDescriptor;if(n)try{n([],"length")}catch(e){n=null}t.functionsHaveConfigurableNames=function(){if(!t()||!n)return!1;var e=n((function(){}),"name");return!!e&&!!e.configurable};var r=Function.prototype.bind;t.boundFunctionsHaveNames=function(){return t()&&"function"==typeof r&&""!==function(){}.bind().name},e.exports=t},40210:function(e,t,n){"use strict";var r,o=n(81648),i=n(53981),a=n(24726),s=n(26712),l=n(33464),c=n(14453),u=n(43915),d=Function,f=function(e){try{return d('"use strict"; return ('+e+").constructor;")()}catch(e){}},p=Object.getOwnPropertyDescriptor;if(p)try{p({},"")}catch(e){p=null}var h=function(){throw new c},m=p?function(){try{return h}catch(e){try{return p(arguments,"callee").get}catch(e){return h}}}():h,g=n(41405)(),v=n(28185)(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},A="undefined"!=typeof Uint8Array&&b?b(Uint8Array):r,x={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":g&&b?b([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":i,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":d,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g&&b?b(b([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&g&&b?b((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&g&&b?b((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g&&b?b(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":m,"%TypedArray%":A,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":u,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet};if(b)try{null.error}catch(e){var C=b(b(e));x["%Error.prototype%"]=C}var _=function e(t){var n;if("%AsyncFunction%"===t)n=f("async function () {}");else if("%GeneratorFunction%"===t)n=f("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=f("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&b&&(n=b(o.prototype))}return x[t]=n,n},w={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=n(58612),S=n(48824),E=k.call(Function.call,Array.prototype.concat),B=k.call(Function.apply,Array.prototype.splice),O=k.call(Function.call,String.prototype.replace),j=k.call(Function.call,String.prototype.slice),T=k.call(Function.call,RegExp.prototype.exec),P=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,D=function(e){var t=j(e,0,1),n=j(e,-1);if("%"===t&&"%"!==n)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var r=[];return O(e,P,(function(e,t,n,o){r[r.length]=n?O(o,M,"$1"):t||e})),r},R=function(e,t){var n,r=e;if(S(w,r)&&(r="%"+(n=w[r])[0]+"%"),S(x,r)){var o=x[r];if(o===y&&(o=_(r)),void 0===o&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=D(e),r=n.length>0?n[0]:"",o=R("%"+r+"%",t),i=o.name,a=o.value,s=!1,u=o.alias;u&&(r=u[0],B(n,E([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var h=n[d],m=j(h,0,1),g=j(h,-1);if(('"'===m||"'"===m||"`"===m||'"'===g||"'"===g||"`"===g)&&m!==g)throw new l("property names with quotes must have matching quotes");if("constructor"!==h&&f||(s=!0),S(x,i="%"+(r+="."+h)+"%"))a=x[i];else if(null!=a){if(!(h in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(p&&d+1>=n.length){var v=p(a,h);a=(f=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:a[h]}else f=S(a,h),a=a[h];f&&!s&&(x[i]=a)}}return a}},27296:function(e,t,n){"use strict";var r=n(40210)("%Object.getOwnPropertyDescriptor%",!0);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},47815:function(e,t,n){"use strict";var r="__global_unique_id__";e.exports=function(){return n.g[r]=(n.g[r]||0)+1}},31044:function(e,t,n){"use strict";var r=n(24429),o=function(){return!!r};o.hasArrayLengthDefineBug=function(){if(!r)return null;try{return 1!==r([],"length",{value:1}).length}catch(e){return!0}},e.exports=o},28185:function(e){"use strict";var t={__proto__:null,foo:{}},n=Object;e.exports=function(){return{__proto__:t}.foo===t.foo&&!(t instanceof n)}},41405:function(e,t,n){"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(55419);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}},55419:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},96410:function(e,t,n){"use strict";var r=n(55419);e.exports=function(){return r()&&!!Symbol.toStringTag}},48824:function(e,t,n){"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,i=n(58612);e.exports=i.call(r,o)},42358:function(e,t,n){"use strict";n.d(t,{lX:function(){return _},q_:function(){return O},ob:function(){return m},PP:function(){return T},Ep:function(){return h},Hp:function(){return g}});var r=n(87462);function o(e){return"/"===e.charAt(0)}function i(e,t){for(var n=t,r=n+1,o=e.length;r<o;n+=1,r+=1)e[n]=e[r];e.pop()}var a=function(e,t){void 0===t&&(t="");var n,r=e&&e.split("/")||[],a=t&&t.split("/")||[],s=e&&o(e),l=t&&o(t),c=s||l;if(e&&o(e)?a=r:r.length&&(a.pop(),a=a.concat(r)),!a.length)return"/";if(a.length){var u=a[a.length-1];n="."===u||".."===u||""===u}else n=!1;for(var d=0,f=a.length;f>=0;f--){var p=a[f];"."===p?i(a,f):".."===p?(i(a,f),d++):d&&(i(a,f),d--)}if(!c)for(;d--;d)a.unshift("..");!c||""===a[0]||a[0]&&o(a[0])||a.unshift("");var h=a.join("/");return n&&"/"!==h.substr(-1)&&(h+="/"),h};function s(e){return e.valueOf?e.valueOf():Object.prototype.valueOf.call(e)}var l=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));if("object"==typeof t||"object"==typeof n){var r=s(t),o=s(n);return r!==t||o!==n?e(r,o):Object.keys(Object.assign({},t,n)).every((function(r){return e(t[r],n[r])}))}return!1},c=n(38776);function u(e){return"/"===e.charAt(0)?e:"/"+e}function d(e){return"/"===e.charAt(0)?e.substr(1):e}function f(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function p(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function h(e){var t=e.pathname,n=e.search,r=e.hash,o=t||"/";return n&&"?"!==n&&(o+="?"===n.charAt(0)?n:"?"+n),r&&"#"!==r&&(o+="#"===r.charAt(0)?r:"#"+r),o}function m(e,t,n,o){var i;"string"==typeof e?(i=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(n=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}(e),i.state=t):(void 0===(i=(0,r.Z)({},e)).pathname&&(i.pathname=""),i.search?"?"!==i.search.charAt(0)&&(i.search="?"+i.search):i.search="",i.hash?"#"!==i.hash.charAt(0)&&(i.hash="#"+i.hash):i.hash="",void 0!==t&&void 0===i.state&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return n&&(i.key=n),o?i.pathname?"/"!==i.pathname.charAt(0)&&(i.pathname=a(i.pathname,o.pathname)):i.pathname=o.pathname:i.pathname||(i.pathname="/"),i}function g(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&l(e.state,t.state)}function v(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,n,r,o){if(null!=e){var i="function"==typeof e?e(t,n):e;"string"==typeof i?"function"==typeof r?r(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var n=!0;function r(){n&&e.apply(void 0,arguments)}return t.push(r),function(){n=!1,t=t.filter((function(e){return e!==r}))}},notifyListeners:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];t.forEach((function(e){return e.apply(void 0,n)}))}}}var b=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var A="popstate",x="hashchange";function C(){try{return window.history.state||{}}catch(e){return{}}}function _(e){void 0===e&&(e={}),b||(0,c.Z)(!1);var t,n=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),a=e,s=a.forceRefresh,l=void 0!==s&&s,d=a.getUserConfirmation,g=void 0===d?y:d,_=a.keyLength,w=void 0===_?6:_,k=e.basename?p(u(e.basename)):"";function S(e){var t=e||{},n=t.key,r=t.state,o=window.location,i=o.pathname+o.search+o.hash;return k&&(i=f(i,k)),m(i,r,n)}function E(){return Math.random().toString(36).substr(2,w)}var B=v();function O(e){(0,r.Z)(q,e),q.length=n.length,B.notifyListeners(q.location,q.action)}function j(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||M(S(e.state))}function T(){M(S(C()))}var P=!1;function M(e){if(P)P=!1,O();else{B.confirmTransitionTo(e,"POP",g,(function(t){t?O({action:"POP",location:e}):function(e){var t=q.location,n=R.indexOf(t.key);-1===n&&(n=0);var r=R.indexOf(e.key);-1===r&&(r=0);var o=n-r;o&&(P=!0,I(o))}(e)}))}}var D=S(C()),R=[D.key];function L(e){return k+h(e)}function I(e){n.go(e)}var N=0;function F(e){1===(N+=e)&&1===e?(window.addEventListener(A,j),i&&window.addEventListener(x,T)):0===N&&(window.removeEventListener(A,j),i&&window.removeEventListener(x,T))}var z=!1;var q={length:n.length,action:"POP",location:D,createHref:L,push:function(e,t){var r="PUSH",i=m(e,t,E(),q.location);B.confirmTransitionTo(i,r,g,(function(e){if(e){var t=L(i),a=i.key,s=i.state;if(o)if(n.pushState({key:a,state:s},null,t),l)window.location.href=t;else{var c=R.indexOf(q.location.key),u=R.slice(0,c+1);u.push(i.key),R=u,O({action:r,location:i})}else window.location.href=t}}))},replace:function(e,t){var r="REPLACE",i=m(e,t,E(),q.location);B.confirmTransitionTo(i,r,g,(function(e){if(e){var t=L(i),a=i.key,s=i.state;if(o)if(n.replaceState({key:a,state:s},null,t),l)window.location.replace(t);else{var c=R.indexOf(q.location.key);-1!==c&&(R[c]=i.key),O({action:r,location:i})}else window.location.replace(t)}}))},go:I,goBack:function(){I(-1)},goForward:function(){I(1)},block:function(e){void 0===e&&(e=!1);var t=B.setPrompt(e);return z||(F(1),z=!0),function(){return z&&(z=!1,F(-1)),t()}},listen:function(e){var t=B.appendListener(e);return F(1),function(){F(-1),t()}}};return q}var w="hashchange",k={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+d(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:d,decodePath:u},slash:{encodePath:u,decodePath:u}};function S(e){var t=e.indexOf("#");return-1===t?e:e.slice(0,t)}function E(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function B(e){window.location.replace(S(window.location.href)+"#"+e)}function O(e){void 0===e&&(e={}),b||(0,c.Z)(!1);var t=window.history,n=(window.navigator.userAgent.indexOf("Firefox"),e),o=n.getUserConfirmation,i=void 0===o?y:o,a=n.hashType,s=void 0===a?"slash":a,l=e.basename?p(u(e.basename)):"",d=k[s],g=d.encodePath,A=d.decodePath;function x(){var e=A(E());return l&&(e=f(e,l)),m(e)}var C=v();function _(e){(0,r.Z)(z,e),z.length=t.length,C.notifyListeners(z.location,z.action)}var O=!1,j=null;function T(){var e=E(),t=g(e);if(e!==t)B(t);else{var n=x(),r=z.location;if(!O&&function(e,t){return e.pathname===t.pathname&&e.search===t.search&&e.hash===t.hash}(r,n))return;if(j===h(n))return;j=null,function(e){if(O)O=!1,_();else{var t="POP";C.confirmTransitionTo(e,t,i,(function(n){n?_({action:t,location:e}):function(e){var t=z.location,n=R.lastIndexOf(h(t));-1===n&&(n=0);var r=R.lastIndexOf(h(e));-1===r&&(r=0);var o=n-r;o&&(O=!0,L(o))}(e)}))}}(n)}}var P=E(),M=g(P);P!==M&&B(M);var D=x(),R=[h(D)];function L(e){t.go(e)}var I=0;function N(e){1===(I+=e)&&1===e?window.addEventListener(w,T):0===I&&window.removeEventListener(w,T)}var F=!1;var z={length:t.length,action:"POP",location:D,createHref:function(e){var t=document.querySelector("base"),n="";return t&&t.getAttribute("href")&&(n=S(window.location.href)),n+"#"+g(l+h(e))},push:function(e,t){var n="PUSH",r=m(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,i,(function(e){if(e){var t=h(r),o=g(l+t);if(E()!==o){j=t,function(e){window.location.hash=e}(o);var i=R.lastIndexOf(h(z.location)),a=R.slice(0,i+1);a.push(t),R=a,_({action:n,location:r})}else _()}}))},replace:function(e,t){var n="REPLACE",r=m(e,void 0,void 0,z.location);C.confirmTransitionTo(r,n,i,(function(e){if(e){var t=h(r),o=g(l+t);E()!==o&&(j=t,B(o));var i=R.indexOf(h(z.location));-1!==i&&(R[i]=t),_({action:n,location:r})}}))},go:L,goBack:function(){L(-1)},goForward:function(){L(1)},block:function(e){void 0===e&&(e=!1);var t=C.setPrompt(e);return F||(N(1),F=!0),function(){return F&&(F=!1,N(-1)),t()}},listen:function(e){var t=C.appendListener(e);return N(1),function(){N(-1),t()}}};return z}function j(e,t,n){return Math.min(Math.max(e,t),n)}function T(e){void 0===e&&(e={});var t=e,n=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,s=void 0===a?0:a,l=t.keyLength,c=void 0===l?6:l,u=v();function d(e){(0,r.Z)(A,e),A.length=A.entries.length,u.notifyListeners(A.location,A.action)}function f(){return Math.random().toString(36).substr(2,c)}var p=j(s,0,i.length-1),g=i.map((function(e){return m(e,void 0,"string"==typeof e?f():e.key||f())})),b=h;function y(e){var t=j(A.index+e,0,A.entries.length-1),r=A.entries[t];u.confirmTransitionTo(r,"POP",n,(function(e){e?d({action:"POP",location:r,index:t}):d()}))}var A={length:g.length,action:"POP",location:g[p],index:p,entries:g,createHref:b,push:function(e,t){var r="PUSH",o=m(e,t,f(),A.location);u.confirmTransitionTo(o,r,n,(function(e){if(e){var t=A.index+1,n=A.entries.slice(0);n.length>t?n.splice(t,n.length-t,o):n.push(o),d({action:r,location:o,index:t,entries:n})}}))},replace:function(e,t){var r="REPLACE",o=m(e,t,f(),A.location);u.confirmTransitionTo(o,r,n,(function(e){e&&(A.entries[A.index]=o,d({action:r,location:o}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=A.index+e;return t>=0&&t<A.entries.length},block:function(e){return void 0===e&&(e=!1),u.setPrompt(e)},listen:function(e){return u.appendListener(e)}};return A}},8679:function(e,t,n){"use strict";var r=n(59864),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 l(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 c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=p(n);o&&o!==h&&e(t,o,r)}var a=u(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),g=0;g<a.length;++g){var v=a[g];if(!(i[v]||r&&r[v]||m&&m[v]||s&&s[v])){var b=f(n,v);try{c(t,v,b)}catch(e){}}}}return t}},80645:function(e,t){t.read=function(e,t,n,r,o){var i,a,s=8*o-r-1,l=(1<<s)-1,c=l>>1,u=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=s;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=c}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,d=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?f/l:f*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=u?(s=0,a=u):a+d>=1?(s=(t*l-1)*Math.pow(2,o),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[n+p]=255&a,p+=h,a/=256,c-=8);e[n+p-h]|=128*m}},7145:function(e,t,n){"use strict";var r=n(34155);function o(e){return"object"!=typeof e||"toString"in e?e:Object.prototype.toString.call(e).slice(8,-1)}Object.defineProperty(t,"__esModule",{value:!0});var i="object"==typeof r&&!0;function a(e,t){if(!e){if(i)throw new Error("Invariant failed");throw new Error(t())}}t.invariant=a;var s=Object.prototype.hasOwnProperty,l=Array.prototype.splice,c=Object.prototype.toString;function u(e){return c.call(e).slice(8,-1)}var d=Object.assign||function(e,t){return f(t).forEach((function(n){s.call(t,n)&&(e[n]=t[n])})),e},f="function"==typeof Object.getOwnPropertySymbols?function(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.keys(e)};function p(e){return Array.isArray(e)?d(e.constructor(e.length),e):"Map"===u(e)?new Map(e):"Set"===u(e)?new Set(e):e&&"object"==typeof e?d(Object.create(Object.getPrototypeOf(e)),e):e}var h=function(){function e(){this.commands=d({},m),this.update=this.update.bind(this),this.update.extend=this.extend=this.extend.bind(this),this.update.isEquals=function(e,t){return e===t},this.update.newContext=function(){return(new e).update}}return Object.defineProperty(e.prototype,"isEquals",{get:function(){return this.update.isEquals},set:function(e){this.update.isEquals=e},enumerable:!0,configurable:!0}),e.prototype.extend=function(e,t){this.commands[e]=t},e.prototype.update=function(e,t){var n=this,r="function"==typeof t?{$apply:t}:t;Array.isArray(e)&&Array.isArray(r)||a(!Array.isArray(r),(function(){return"update(): You provided an invalid spec to update(). The spec may not contain an array except as the value of $set, $push, $unshift, $splice or any custom command allowing an array value."})),a("object"==typeof r&&null!==r,(function(){return"update(): You provided an invalid spec to update(). The spec and every included key path must be plain objects containing one of the following commands: "+Object.keys(n.commands).join(", ")+"."}));var o=e;return f(r).forEach((function(t){if(s.call(n.commands,t)){var i=e===o;o=n.commands[t](r[t],o,r,e),i&&n.isEquals(o,e)&&(o=e)}else{var a="Map"===u(e)?n.update(e.get(t),r[t]):n.update(e[t],r[t]),l="Map"===u(o)?o.get(t):o[t];n.isEquals(a,l)&&(void 0!==a||s.call(e,t))||(o===e&&(o=p(e)),"Map"===u(o)?o.set(t,a):o[t]=a)}})),o},e}();t.Context=h;var m={$push:function(e,t,n){return v(t,n,"$push"),e.length?t.concat(e):t},$unshift:function(e,t,n){return v(t,n,"$unshift"),e.length?e.concat(t):t},$splice:function(e,t,n,r){return function(e,t){a(Array.isArray(e),(function(){return"Expected $splice target to be an array; got "+o(e)})),y(t.$splice)}(t,n),e.forEach((function(e){y(e),t===r&&e.length&&(t=p(r)),l.apply(t,e)})),t},$set:function(e,t,n){return function(e){a(1===Object.keys(e).length,(function(){return"Cannot have more than one key in an object with $set"}))}(n),e},$toggle:function(e,t){b(e,"$toggle");var n=e.length?p(t):t;return e.forEach((function(e){n[e]=!t[e]})),n},$unset:function(e,t,n,r){return b(e,"$unset"),e.forEach((function(e){Object.hasOwnProperty.call(t,e)&&(t===r&&(t=p(r)),delete t[e])})),t},$add:function(e,t,n,r){return A(t,"$add"),b(e,"$add"),"Map"===u(t)?e.forEach((function(e){var n=e[0],o=e[1];t===r&&t.get(n)!==o&&(t=p(r)),t.set(n,o)})):e.forEach((function(e){t!==r||t.has(e)||(t=p(r)),t.add(e)})),t},$remove:function(e,t,n,r){return A(t,"$remove"),b(e,"$remove"),e.forEach((function(e){t===r&&t.has(e)&&(t=p(r)),t.delete(e)})),t},$merge:function(e,t,n,r){var i,s;return i=t,a((s=e)&&"object"==typeof s,(function(){return"update(): $merge expects a spec of type 'object'; got "+o(s)})),a(i&&"object"==typeof i,(function(){return"update(): $merge expects a target of type 'object'; got "+o(i)})),f(e).forEach((function(n){e[n]!==t[n]&&(t===r&&(t=p(r)),t[n]=e[n])})),t},$apply:function(e,t){var n;return a("function"==typeof(n=e),(function(){return"update(): expected spec of $apply to be a function; got "+o(n)+"."})),e(t)}},g=new h;function v(e,t,n){a(Array.isArray(e),(function(){return"update(): expected target of "+o(n)+" to be an array; got "+o(e)+"."})),b(t[n],n)}function b(e,t){a(Array.isArray(e),(function(){return"update(): expected spec of "+o(t)+" to be an array; got "+o(e)+". Did you forget to wrap your parameter in an array?"}))}function y(e){a(Array.isArray(e),(function(){return"update(): expected spec of $splice to be an array of arrays; got "+o(e)+". Did you forget to wrap your parameters in an array?"}))}function A(e,t){var n=u(e);a("Map"===n||"Set"===n,(function(){return"update(): "+o(t)+" expects a target of type Set or Map; got "+o(n)}))}t.isEquals=g.update.isEquals,t.extend=g.extend,t.default=g.update,t.default.default=e.exports=d(t.default,t)},41143:function(e){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],u=0;(l=new Error(t.replace(/%s/g,(function(){return c[u++]})))).name="Invariant Violation"}throw l.framesToPop=1,l}}},82584:function(e,t,n){"use strict";var r=n(96410)(),o=n(21924)("Object.prototype.toString"),i=function(e){return!(r&&e&&"object"==typeof e&&Symbol.toStringTag in e)&&"[object Arguments]"===o(e)},a=function(e){return!!i(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==o(e)&&"[object Function]"===o(e.callee)},s=function(){return i(arguments)}();i.isLegacyArguments=a,e.exports=s?i:a},18923:function(e,t,n){"use strict";var r=Date.prototype.getDay,o=Object.prototype.toString,i=n(96410)();e.exports=function(e){return"object"==typeof e&&null!==e&&(i?function(e){try{return r.call(e),!0}catch(e){return!1}}(e):"[object Date]"===o.call(e))}},98420:function(e,t,n){"use strict";var r,o,i,a,s=n(21924),l=n(96410)();if(l){r=s("Object.prototype.hasOwnProperty"),o=s("RegExp.prototype.exec"),i={};var c=function(){throw i};a={toString:c,valueOf:c},"symbol"==typeof Symbol.toPrimitive&&(a[Symbol.toPrimitive]=c)}var u=s("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor;e.exports=l?function(e){if(!e||"object"!=typeof e)return!1;var t=d(e,"lastIndex");if(!(t&&r(t,"value")))return!1;try{o(e,a)}catch(e){return e===i}}:function(e){return!(!e||"object"!=typeof e&&"function"!=typeof e)&&"[object RegExp]"===u(e)}},5826:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},78593:function(e,t,n){var r=n(34155);self,e.exports=function(){var e,t={90643:function(e){e.exports.default=["إبدأ في الكتابة...","حول جوديت","محرر جوديت",null,"دليل مستخدم جوديت","يحتوي على مساعدة مفصلة للاستخدام","للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","شراء النسخة الكاملة","حقوق الطبع والنشر © XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.","مِرْساة","فتح في نافذة جديدة","فتح المحرر في الحجم الكامل","مسح التنسيق","ملء اللون أو تعيين لون النص","إعادة","تراجع","عريض","مائل","إدراج قائمة غير مرتبة","إدراج قائمة مرتبة","محاذاة للوسط","محاذاة مثبتة","محاذاة لليسار","محاذاة لليمين","إدراج خط أفقي","إدراج صورة","ادخال الملف","إدراج فيديو يوتيوب/فيميو ","إدراج رابط","حجم الخط","نوع الخط","إدراج كتلة تنسيق","عادي","عنوان 1","عنوان 2","عنوان 3","عنوان 4","إقتباس","كود","إدراج","إدراج جدول","تقليل المسافة البادئة","زيادة المسافة البادئة","تحديد أحرف خاصة","إدراج حرف خاص","تنسيق الرسم","تغيير الوضع","هوامش","أعلى","يمين","أسفل","يسار","الأنماط","الطبقات","محاذاة","اليمين","الوسط","اليسار","--غير مضبوط--","Src","العنوان","العنوان البديل","الرابط","افتح الرابط في نافذة جديدة","الصورة","ملف","متقدم","خصائص الصورة","إلغاء","حسنا","يشبه الكود الخاص بك HTML. تبقي كما HTML؟","الصق ك HTML","احتفظ","نظيفة","إدراج كنص","إدراج النص فقط","كلمة لصق الكشف عن","للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","متصفح الملفات","حدث خطأ في تحميل القائمة ","حدث خطأ في تحميل المجلدات","هل أنت واثق؟","أدخل اسم المجلد","إنشاء مجلد","أكتب إسم","إسقاط صورة","إسقاط الملف","أو أنقر","النص البديل","تصفح","رفع","الخلفية","نص","أعلى","الوسط","الأسفل","إدراج عمود قبل","إدراج عمود بعد","إدراج صف أعلى","إدراج صف أسفل","حذف الجدول","حذف الصف","حذف العمود","خلية فارغة","مصدر","بالخط العريض","مائل","شغل","صلة","إلغاء","كرر","طاولة","صورة","نظيف","فقرة","حجم الخط","فيديو","الخط","حول المحرر","طباعة","أكد","شطب","المسافة البادئة","نتوء","ملء الشاشة","الحجم التقليدي","الخط","قائمة","قائمة مرقمة","قطع","اختر الكل","قانون","فتح الرابط","تعديل الرابط","سمة Nofollow","إزالة الرابط","مراجعة","لتحرير","تحديث","URL","تحرير","محاذاة أفقية","فلتر","عن طريق التغيير","بالاسم","حسب الحجم","إضافة مجلد","إعادة","احتفظ","حفظ باسم","تغيير الحجم","حجم القطع","عرض","ارتفاع","حافظ على النسب","أن","لا","حذف","تميز","%d حرف","%d كلام",null,"تميز %s","اختر الكل","محاذاة عمودية","انشق، مزق","انقسام عمودي","تقسيم أفقي","اذهب","أضف العمود","اضف سطر","حذف","الحدود","رخصة %s","اضرب من خلال","أكد","حرف فوقي","مخطوطة","قطع الاختيار","استراحة","البحث عن","استبدل ب","محل","معجون","اختر محتوى للصق","يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","تم تحميل الصورة بنجاح على الخادم!","لوحة","لا توجد ملفات في هذا الدليل.","إعادة تسمية","أدخل اسم جديد","معاينة","تحميل","لصق من الحافظة","متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","نسخ التحديد","نسخ","دائرة نصف قطرها الحدود","عرض كل","تطبيق","يرجى ملء هذا المجال","يرجى إدخال عنوان ويب","الافتراضي","دائرة","نقطة","المربعة","البحث","تجد السابقة","تجد التالي","أدخل اسم الفصل","اضغط البديل لتغيير حجم مخصص"]},52532:function(e){e.exports.default=["Napiš něco","O Jodit","Editor Jodit","Verze pro nekomerční použití","Jodit Uživatelská příručka","obsahuje detailní nápovědu","Pro informace o licenci, prosím, přejděte na naši stránku:","Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Anchor","Otevřít v nové záložce","Otevřít v celoobrazovkovém režimu","Vyčistit formátování","Barva výplně a písma","Vpřed","Zpět","Tučné","Kurzíva","Odrážky","Číslovaný seznam","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vložit horizontální linku","Vložit obrázek","Vložit soubor","Vložit video (YT/Vimeo)","Vložit odkaz","Velikost písma","Typ písma","Formátovat blok","Normální text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Citát","Kód","Vložit","Vložit tabulku","Zmenšit odsazení","Zvětšit odsazení","Vybrat speciální symbol","Vložit speciální symbol","Použít formát","Změnit mód","Okraje","horní","pravý","spodní","levý","Styly","Třídy","Zarovnání","Vpravo","Na střed","Vlevo","--nenastaveno--","src","Titulek","Alternativní text (alt)","Link","Otevřít link v nové záložce","Obrázek","soubor","Rozšířené","Vlastnosti obrázku","Zpět","Ok","Váš text se podobá HTML. Vložit ho jako HTML?","Vložit jako HTML","Ponechat originál","Vyčistit","Vložit jako TEXT","Vložit pouze TEXT","Detekován fragment z Wordu nebo Excelu","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","Prohlížeč souborů","Chyba při načítání seznamu souborů","Chyba při načítání složek","Jste si jistý(á)?","Název složky","Vytvořit složku","název","Přetáhněte sem obrázek","Přetáhněte sem soubor","nebo klikněte","Alternativní text","Server","Nahrát","Pozadí","Text","Nahoru","Na střed","Dolu","Vložit sloupec před","Vložit sloupec za","Vložit řádek nad","Vložit řádek pod","Vymazat tabulku","Vymazat řádku","Vymazat sloupec","Vyčistit buňku","HTML","tučně","kurzíva","štětec","odkaz","zpět","vpřed","tabulka","obrázek","guma","odstavec","velikost písma","video","písmo","о editoru","tisk","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Linka","Odrážka","Číslovaný seznam","Vyjmout","Označit vše","Kód","Otevřít odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Zobrazit","Chcete-li upravit","Aktualizovat","URL","Editovat","Horizontální zarovnání","Filtr","Dle poslední změny","Dle názvu","Dle velikosti","Přidat složku","Reset","Uložit","Uložit jako...","Změnit rozměr","Ořezat","Šířka","Výška","Ponechat poměr","Ano","Ne","Vyjmout","Označit","Znaky: %d","Slova: %d","Vše","Označit %s","Označit vše","Vertikální zarovnání","Rozdělit","Rozdělit vertikálně","Rozdělit horizontálně","Spojit","Přidat sloupec","Přidat řádek","Vymazat","Okraj","Licence: %s","Přeškrtnuto","Podtrženo","Horní index","Dolní index","Vyjmout označené","Zalomení","Najdi","Nahradit za","Vyměňte","Vložit","Vyber obsah pro vložení","Můžete upravovat pouze své obrázky. Načíst obrázek?","Obrázek byl úspěšně nahrán!","paleta","V tomto adresáři nejsou žádné soubory.","přejmenovat","Zadejte nový název","náhled","Stažení","Vložit ze schránky","Váš prohlížeč nepodporuje přímý přístup do schránky.","Kopírovat výběr","kopírování","Border radius","Zobrazit všechny","Platí","Prosím, vyplňte toto pole","Prosím, zadejte webovou adresu","Výchozí","Kruh","Dot","Quadrate","Najít","Najít Předchozí","Najít Další","Vložte název třídy","Stiskněte Alt pro vlastní změnu velikosti"]},75178:function(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor",null,"Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Säubern","Als Text einfügen","Nur Text einfügen","In Word formatierter Text erkannt","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Auswählen","Hochladen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Ansehen","Bearbeiten","Aktualisieren","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Zeichen: %d","Wörter: %d","Alles markieren","Markieren: %s","Alles markieren","Vertikale Ausrichtung","Unterteilen","Vertikal unterteilen","Horizontal unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Löschen","Rand",null,"Durchstreichen","Unterstreichen","Hochgestellen","Tiefstellen","Auswahl ausschneiden","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung"]},51048:function(e){e.exports.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},22999:function(e){e.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor",null,"Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Limpiar","Insertar como texto","Insertar solo texto","Pegado desde Word detectado","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Buscar","Subir","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir código","Abrir vínculo","Editar vínculo","No seguir","Desvincular","Ver","Para editar","Actualizar","URL","Editar","Alineación horizontal","filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Caracteres: %d","Palabras: %d","Todo","Seleccionar: %s","Seleccionar todo","Alineación vertical","Dividir","Dividir vertical","Dividir horizontal","Mezclar","Agregar columna","Agregar fila","Borrar","Borde",null,"Tachado","Subrayado","superíndice","subíndice","Cortar selección","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selección de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una dirección web","Predeterminado","Círculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","Insertar nombre de clase","Presione Alt para cambiar el tamaño personalizado"]},34145:function(e){e.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit",null,"Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avancé","Propriétés de l'image","Annuler","OK","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Nettoyer","Coller en tant que texte","Coller le texte seulement","C'est peut-être un fragment de Word ou Excel","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le non de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Chercher","Charger","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne en dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","la source","graisseux","italique","verser","lien","abolir","prêt","graphique","Image","la gommen","clause","taille de police","Video","police","à propos de l'éditeur","impression","souligné","barré","indentation","indifférent","taille réelle","taille conventionnelle","la ligne","Liste des","Liste numérotée","Couper","Sélectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Voir","Pour éditer","Mettre à jour","URL",null,"Alignement horizontal","Filtre","Trier par modifié","Trier par nom","Classer par taille","Ajouter le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Symboles: %d","Mots: %d",null,"Mettre en évidence: %s","Tout sélectionner","Alignement vertical","Split","Split vertical","Split horizontal","aller","Ajouter une colonne","Ajouter une rangée","Effacer",null,null,"Frapper à travers","Souligner","exposant","indice","Couper la sélection","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu à coller","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!null","Palette","Il n'y a aucun fichier dans ce répertoire.","renommer","Entrez un nouveau nom","Aperçu","Télécharger","Coller à partir du presse-papiers","Votre navigateur ne prend pas en charge l'accès direct à la presse-papiers.","Copier la sélection","copie","Rayon des frontières","Afficher tous les","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par défaut","Cercle","Dot","Quadrate","Trouver","Trouvez Précédente","Suivant","Insérer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalisé"]},40272:function(e){e.exports.default=["הקלד משהו...","About Jodit","Jodit Editor",null,"Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","מקום עיגון","פתח בכרטיסיה חדשה","פתח את העורך בחלון חדש","נקה עיצוב","שנה צבע טקסט או רקע","בצע שוב","בטל","מודגש","נטוי","הכנס רשימת תבליטים","הכנס רשימה ממוספרת","מרכז","ישר ","ישר לשמאל","ישר לימין","הכנס קו אופקי","הכנס תמונה","הכנס קובץ","הכנס סרטון וידאו מYouTube/Vimeo","הכנס קישור","גודל גופן","גופן","מעוצב מראש","רגיל","כותרת 1","כותרת 2","כותרת 3","כותרת 4","ציטוט","קוד","הכנס","הכנס טבלה","הקטן כניסה","הגדל כניסה","בחר תו מיוחד","הכנס תו מיוחד","העתק עיצוב","החלף מצב","ריווח","עליון","ימין","תחתון","שמאל","עיצוב CSS","מחלקת CSS","יישור","ימין","מרכז","שמאל","--לא נקבע--","מקור","כותרת","כיתוב חלופי","קישור","פתח בכרטיסיה חדשה","תמונה","קובץ","מתקדם","מאפייני תמונה","ביטול","אישור","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","נקה","הכנס כטקסט","הכנס טקסט בלבד",'זוהתה הדבקה מ"וורד"',"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","סייר הקבצים","שגיאה  בזמן טעינת רשימה","שגיאה בזמן טעינת תקיות","האם אתה בטוח?","הכנס שם תקיה","צור תקיה","סוג הקובץ","הסר תמונה","הסר קובץ","או לחץ","כיתוב חלופי","סייר","העלה","רקע","טקסט","עליון","מרכז","תחתון","הכנס עמודה לפני","הכנס עמודה אחרי","הכנס שורה מעל","הכנס שורה מתחת","מחק טבלה","מחק שורה","מחק עמודה","רוקן תא","HTML","מודגש","נטוי","מברשת","קישור","בטל","בצע שוב","טבלה","תמונה","מחק","פסקה","גודל גופן","וידאו","גופן","עלינו","הדפס","קו תחתון","קו חוצה","הגדל כניסה","הקטן כניסה","גודל מלא","כווץ","קו אופקי","רשימת תבליטים","רשימה ממוספרת","חתוך","בחר הכל","הוסף קוד","פתח קישור","ערוך קישור","ללא מעקב","בטל קישור","הצג","כדי לערוך","עדכן","כתובת","ערוך","יישור אופקי","סנן","מין לפי שינוי","מיין לפי שם","מיין לפי גודל","הוסף תקייה","אפס","שמור","שמור בשם...","שנה גודל","חתוך","רוחב","גובה","שמור יחס","כן","לא","הסר","בחר","תווים: %d","מילים: %d","הכל","נבחר: %s","בחר הכל","יישור אנכי","פיצול","פיצול אנכי","פיצול אופקי","מזג","הוסף עמודה","הוסף שורה","מחק","מסגרת",null,"קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","שבירת שורה","חפש","החלף ב","להחליף","הדבק","בחר תוכן להדבקה","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית"]},2978:function(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Ingyenes változat","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Elvetés","Beszúrás szövegként","Csak szöveg beillesztése","Word-ből másolt szöveg","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Tallóz","Feltölt","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","felülvizsgálat","Szerkesztés","Frissít","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Karakterek száma: %d","Szavak száma: %d","Összes","Kijelöl: %s","Összes kijelölése","Függőleges igazítás","Felosztás","Függőleges felosztás","Vízszintes felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Törlés","Szegély",null,"Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés"]},99113:function(e){e.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Versi Bebas Non-komersil","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Bersih","Sisipkan sebagai teks","Sisipkan hanya teks","Terdeteksi paste dari Word","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Jelajahi","Unggah","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Mata","pensil","Perbarui","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Karakter: %d","Kata: %d","Semua","Pilih %s","Pilih semua","Rata vertikal","Bagi","Bagi secara vertikal","Bagi secara horizontal","Gabungkan","Tambah kolom","tambah baris","Hapus","Bingkai","Lisensi: %s","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},51923:function(e){e.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor",null,"Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Ancora","Apri in una nuova scheda","Apri l'editor a schermo intero","Formato chiaro","Riempi colore o lettera","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci l'elenco ordinato","Allinea Centra","Allineare Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci la linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci il link","Dimensione del carattere","Tipo di font","Inserisci blocco","Normale","Heading 1","Heading 2","Heading 3","Heading 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona una funzione speciale","Inserisci un carattere speciale","Copia formato","Cambia modo","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML?","Mantieni","Pulisci","Inserisci come testo","Inserisci solo il testo","Incollato da Word rilevato","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Cerca il file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Entre el nombre","Rilascia l'immagine","Rilascia file","o click","Testo alternativo","Sfoglia","Carica","Sfondo","Testo","Su","Centro","Sotto","Inserisci prima la colonna","Inserisci colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","HTML","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","trattino","annulla rientro","A grandezza normale","comprimere","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Togli link","Recensione","Per modificare","Aggiornare"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Tagliare","Larghezza","Altezza","Mantenere le proporzioni","Si","No","Rimuovere","Seleziona","Caratteri: %d","Parole: %d","Tutto","Seleziona: %s","Seleziona tutto","Allineamento verticala","Dividere","Dividere verticalmente","Diviso orizzontale","Fondi","Aggiungi colonna","Aggiungi riga","Cancella","Bordo",null,"Barrato","Sottolineato","indice","deponente","Taglia la selezione","Pausa","Cerca","Sostituisci con","Sostituire","Incolla","Seleziona il contenuto da incollare","Puoi modificare solo le tue immagini. Scarica questa immagine sul server?","L'immagine è stata caricata con successo sul server!","tavolozza","Non ci sono file in questa directory.","ungherese","Inserisci un nuovo nome","anteprima","Scaricare","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Selezione di copia","copia","Border radius","Mostra tutti","Applicare","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Di Default","Cerchio","Dot","Quadrate","Trovare","Trova Precedente","Trova Successivo","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},21268:function(e){e.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor",null,"Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください：","フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ（フル/ノーマル）","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","HTMLコードを保持しますか？","HTMLで貼付け","HTMLを保持","Clean","HTMLをテキストにする","テキストだけ","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","ブラウズ","アップロード","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","サイトを確認","鉛筆","更新","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","文字数: %d","単語数: %d","全部","選択: %s","すべて選択","垂直方向の配置","分割","セルの分割（垂直方向）","セルの分割（水平方向）","セルの結合","列を追加","行を追加","削除","境界線",null,"取り消し線","下線","上付き文字","下付き文字","切り取り","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します"]},11399:function(e){e.exports.default=["Type something","About Jodit","Jodit Editor","Free Non-commercial Version","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Clean","Insert as Text","Insert only Text","Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Browse","Upload","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Eye","pencil","Update"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Chars: %d","Words: %d","All","Select %s","Select all","Vertical align","Split","Split vertical","Split horizontal","Merge","Add column","Add row","Delete","Border","License: %s","Strike through","Underline","superscript","subscript","Cut selection","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","Insert className","Press Alt for custom resizing"]},37289:function(e){e.exports.default=["무엇이든 입력하세요","Jodit에 대하여","Jodit Editor",null,"Jodit 사용자 안내서","자세한 도움말이 들어있어요","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요：","풀 버전 구입하기","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","Anchor","새 탭에서 열기","전체 크기로 보기","서식 지우기","글씨 색상","재실행","실행 취소","굵게","기울임","글머리 목록","번호 목록","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","수평 구분선 넣기","이미지 넣기","파일 넣기","Youtube/Vimeo 동영상","링크 넣기","글꼴 크기","글꼴","블록 요소 넣기","일반 텍스트","제목 1","제목 2","제목 3","제목 4","인용","코드","붙여 넣기","테이블","들여쓰기 감소","들여쓰기 증가","특수문자 선택","특수문자 입력","페인트 형식","편집모드 변경","마진","위","오른쪽","아래","왼쪽","스타일","클래스","정렬","오른쪽으로","가운데로","왼쪽으로","--지정 안 함--","경로(src)","제목","대체 텍스트(alt)","링크","새 탭에서 열기",null,"파일","고급","이미지 속성","취소","확인","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","HTML로 붙여넣기","원본 유지","지우기","텍스트로 넣기","텍스트만 넣기","Word 붙여넣기 감지","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","파일 탐색기","목록 불러오기 에러","폴더 불러오기","정말 진행할까요?","디렉토리 이름 입력","디렉토리 생성","이름 입력","이미지 드래그","파일 드래그","혹은 클릭","대체 텍스트","탐색","업로드","배경","텍스트","위","중앙","아래","이전 열에 삽입","다음 열에 삽입","위 행에 삽입","아래 행에 삽입","테이블 삭제","행 삭제","열 삭제","빈 셀","HTML 소스","볼드","이탤릭","브러시","링크","실행 취소","재실행","테이블","이미지","지우개","문단","글꼴 크기","비디오","글꼴","편집기 정보","프린트","밑줄","취소선","들여쓰기","내어쓰기","전체 화면","일반 화면","구분선","글머리 목록","번호 목록","잘라내기","모두 선택","Embed 코드","링크 열기","링크 편집","No follow","링크 제거","사이트 확인","연필","갱신","URL","편집","수평 정렬","필터","변경일 정렬","이름 정렬","크기 정렬","새 폴더","초기화","저장","새로 저장하기 ...","리사이즈","크롭","가로 길이","세로 높이","비율 유지하기","네","아니오","제거","선택","문자수: %d","단어수: %d","모두","선택: %s","모두 선택","수직 정렬","분할","세로 셀 분할","가로 셀 분할","셀 병합","열 추가","행 추가","삭제","외곽선","라이센스: %s","취소선","밑줄","윗첨자","아래첨자","선택 잘라내기","구분자","검색","대체하기","대체","붙여넣기","붙여넣을 내용 선택","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","이미지를 무사히 업로드 했어요!","팔레트","파일이 없어요","이름 변경","새 이름 입력","미리보기","다운로드","클립보드 붙여넣기","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","선택 복사","복사","둥근 테두리","모두 보기","적용","이 항목을 입력해주세요!","웹 URL을 입력해주세요.","기본","원","점","정사각형","찾기","이전 찾기","다음 찾기","className 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오"]},17084:function(e){e.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Gratis niet-commerciële versie","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Opschonen","Als tekst invoegen","Als onopgemaakte tekst invoegen","Word-tekst gedetecteerd","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Bladeren","Uploaden","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","link openen","link aanpassen","niet volgen","link verwijderen","Recensie","Om te bewerken","Updaten"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Tekens: %d","Woorden: %d","Alles","Selecteer: %s","Selecteer alles","Verticaal uitlijnen","Splitsen","Verticaal splitsen","Horizontaal splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen","Verwijderen","Rand",null,"Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette","Er zijn geen bestanden in deze map.","Hongaars","Voer een nieuwe naam in","voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopiëren","kopiëren","Border radius","Toon alle","Toepassing","Vul dit veld","Voer een webadres","Standaard","Cirkel","Dot","Quadrate","Zoeken","Vorige Zoeken","Volgende Zoeken","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},96891:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit",null,"Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wyczyść","Wstaw jako tekst","Wstaw tylko treść","Wykryto tekst w formacie Word","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Przeglądaj","Wczytaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","szukaj","edytuj","Aktualizuj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Znaki: %d","Słowa: %d","Wszystko","Wybierz: %s","Wybierz wszystko","Wyrównywanie w pionie","Podziel","Podziel w pionie","Podziel w poziomie","Scal","Dodaj kolumnę","Dodaj wiersz","Usuń","Obramowanie",null,"Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar"]},31211:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit",null,"Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Limpar","Inserir como Texto","Inserir somente o Texto","Colado do Word Detectado","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Explorar","Upload","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Visualizar","Editar","Atualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Caracteres: %d","Palavras: %d","Tudo","Selecionar: %s","Selecionar tudo","Alinhamento vertical","Dividir","Dividir vertical","Dividir horizontal","Mesclar","Adicionar coluna","Adicionar linha","Excluir","Borda",null,"Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","Insira o nome da classe","Pressione Alt para redimensionamento personalizado"]},31109:function(e){e.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit",null,"Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне",null,"Файл","Расширенные","Свойства изображения","Отмена","Ок","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Почистить","Вставить как текст","Вставить только текст","Возможно это фрагмент Word или Excel","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Сервер","Загрузка","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Очистить ячейку","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","Изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","линия","Список","Нумерованный список","Вырезать","Выделить все","Код","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","Просмотр","Редактировать","Обновить","URL","Редактировать","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Символов: %d","Слов: %d","Выделить все","Выделить: %s","Выделить все","Вертикальное выравнивание","Разделить","Разделить по вертикали","Разделить по горизонтали","Объединить в одну","Добавить столбец","Добавить строку","Удалить","Рамка","Лицензия: %s","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия","Радиус границы","Показать все","Применить","Пожалуйста, заполните это поле","Пожалуйста, введите веб-адрес","По умолчанию","Круг","Точка","Квадрат","Найти","Найти Предыдущие","Найти Далее","Вставить название класса","Нажмите Alt для изменения пользовательского размера"]},79375:function(e){e.exports.default=["Bir şeyler yaz","Jodit Hakkında","Jodit Editor",null,"Jodit Kullanım Kılavuzu","kullanım için detaylı bilgiler içerir","Lisans hakkında bilgi için lütfen web sitemize gidin:","Tam versiyonunu satın al","Copyright © XDSoft.net - Chupurnov Valeriy. Tüm hakları saklıdır.","Bağlantı","Yeni sekmede aç","Editörü tam ekranda aç","Stili temizle","Renk doldur veya yazı rengi seç","Yinele","Geri Al","Kalın","İtalik","Sırasız Liste Ekle","Sıralı Liste Ekle","Ortala","Kenarlara Yasla","Sola Yasla","Sağa Yasla","Yatay Çizgi Ekle","Resim Ekle","Dosya Ekle","Youtube/Vimeo Videosu Ekle","Bağlantı Ekle","Font Boyutu","Font Ailesi","Blok Ekle","Normal","Başlık 1","Başlık 2","Başlık 3","Başlık 4","Alıntı","Kod","Ekle","Tablo Ekle","Girintiyi Azalt","Girintiyi Arttır","Özel Karakter Seç","Özel Karakter Ekle","Resim Biçimi","Mod Değiştir","Boşluklar","Üst","Sağ","Alt","Sol","CSS Stilleri","CSS Sınıfları","Hizalama","Sağ","Ortalı","Sol","Belirsiz","Kaynak","Başlık","Alternatif Yazı","Link","Bağlantıyı yeni sekmede aç","Resim","Dosya","Gelişmiş","Resim özellikleri","İptal","Tamam","Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","HTML olarak yapıştır","Sakla","Temizle","Yazı olarak ekle","Sadece yazıyı ekle","Word biçiminde yapıştırma algılandı","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder löschen?","Dosya Listeleyici","Liste yüklenirken hata oluştu","Klasörler yüklenirken hata oluştur","Emin misiniz?","Dizin yolu giriniz","Dizin oluştur","İsim yaz","Resim bırak","Dosya bırak","veya tıkla","Alternatif yazı","Gözat","Yükle","Arka plan","Yazı","Üst","Orta","Aşağı","Öncesine kolon ekle","Sonrasına kolon ekle","Üstüne satır ekle","Altına satır ekle","Tabloyu sil","Satırı sil","Kolonu sil","Hücreyi temizle","Kaynak","Kalın","italik","Fırça","Bağlantı","Geri al","Yinele","Tablo","Resim","Silgi","Paragraf","Font boyutu","Video","Font","Hakkında","Yazdır","Alt çizgi","Üstü çizili","Girinti","Çıkıntı","Tam ekran","Küçült","Ayraç","Sırasız liste","Sıralı liste","Kes","Tümünü seç","Kod ekle","Bağlantıyı aç","Bağlantıyı düzenle","Nofollow özelliği","Bağlantıyı kaldır","Yorumu","Düzenlemek için","Güncelle","URL","Düzenle","Yatay hizala","Filtre","Değişime göre sırala","İsme göre sırala","Boyuta göre sırala","Klasör ekle","Sıfırla","Kaydet","Farklı kaydet","Boyutlandır","Kırp","Genişlik","Yükseklik","En boy oranını koru","Evet","Hayır","Sil","Seç","Harfler: %d","Kelimeler: %d","Tümü","Seç: %s","Tümünü seç","Dikey hizala","Ayır","Dikey ayır","Yatay ayır","Birleştir","Kolon ekle","Satır ekle","Sil","Kenarlık",null,"Üstü çizili","Alt çizgi","Üst yazı","Alt yazı","Seçilimi kes","Satır sonu","Ara","Şununla değiştir","Değiştir","Yapıştır","Yapıştırılacak içerik seç","Sadece kendi resimlerinizi düzenleyebilirsiniz. Bu görseli kendi hostunuza indirmek ister misiniz?","Görsel başarıyla hostunuza yüklendi","Palet","Bu dizinde dosya yok","Yeniden isimlendir","Yeni isim girin","Ön izleme","İndir","Panodan yapıştır ","Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Seçimi kopyala","Kopyala","Sınır yarıçapı","Tümünü Göster","Uygula","Lütfen bu alanı doldurun","Lütfen bir web adresi girin","Varsayılan","Daire","Nokta","Kare","Bul","Öncekini Bul","Sonrakini Bul","Sınıf adı girin","Özel yeniden boyutlandırma için Alt tuşuna basın"]},21042:function(e){e.exports.default=["输入一些内容","关于Jodit","Jodit Editor","Free Non-commercial Version","开发者指南","使用帮助","有关许可证的信息，请访问我们的网站：","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距（Margins）","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","你粘贴的文本是一段html代码，是否保留源格式","html粘贴","保留源格式","匹配目标格式","把html代码视为普通文本","只保留文本","文本粘贴","正在粘贴 Word/Excel 的文本，是否保留源格式？","文件管理","加载list错误","加载folders错误","你确定吗？","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","浏览","上传","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","预览","铅笔","更新","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","字符数: %d","单词数: %d","全部","选择: %s","全选","垂直对齐","拆分","垂直拆分","水平拆分","合并","添加列","添加行","删除","边框",null,"删除线","下划线","上标","下标","剪切","Break","查找","替换为","替换","粘贴","选择内容并粘贴","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","插入班级名称","按Alt自定义调整大小"]},73895:function(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor",null,"開發者指南","使用幫助","有關許可證的信息，請訪問我們的網站：","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","在新窗口打開","全屏編輯","清除樣式","顏色","重做","撤銷","粗體","斜體","符號列表","編號","居中","對齊文本","左對齊","右對齊","分割線","圖片","文件","youtube/vimeo 影片","鏈接","字號","字體","格式塊","文本","標題1","標題2","標題3","標題4","引用","代碼","插入","表格","減少縮進","增加縮進","選擇特殊符號","特殊符號","格式複製","改變模式","外邊距（Margins）","top","right","bottom","left","樣式","Classes","對齊方式","居右","居中","居左","無","Src","Title","替代","Link","在新窗口打開鏈接","圖片","file","高級","圖片屬性","取消","確定","你黏貼的文本是一段html代碼，是否保留源格式","html黏貼","保留源格式","匹配目標格式","把html代碼視為普通文本","只保留文本","文本黏貼","正在黏貼 Word/Excel 的文本，是否保留源格式？","文件管理","加載list錯誤","加載folders錯誤","你確定嗎？","輸入路徑","創建路徑","type name","拖動圖片到此","拖動文件到此","或點擊","替代文字","瀏覽","上傳","背景色","文字","頂部","中間","底部","在之前插入列","在之後插入列","在之前插入行","在之後插入行","刪除表格","刪除行","刪除列","清除內容","源碼","粗體","斜體","顏色","鏈接","撤銷","重做","表格","圖片","橡皮擦","段落","字號","影片","字體","關於","打印","下劃線","上出現","增加縮進","減少縮進","全屏","收縮","分割線","無序列表","順序列表","剪切","全選","嵌入代碼","打開鏈接","編輯鏈接","No follow","取消連結","回顧","鉛筆","更新","URL",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新建文件夾","重置","保存","保存為","調整大小","Crop","寬","高","保存長寬比","是","不","移除","選擇","字符數: %d","單詞數: %d","全部","選擇: %s","全選","垂直對齊","拆分","垂直拆分","水平拆分","合併","添加列","添加行","刪除","邊框",null,"刪除線","下劃線","上標","下標","剪切","Pause","查找","替換為","แทนที่","黏貼","選擇內容並黏貼","你只能編輯你自己的圖片。是否下載此圖片到本地?","圖片上傳成功","調色板","此目錄中沒有文件。","重命名","輸入新名稱","預覽","下載","從剪貼板貼上","瀏覽器無法存取剪贴板。","複製已選取項目","複製","邊框圓角","顯示所有","應用","ได้โปรดกรอกช่องข้อมูลนี้","โปรดเติมที่อยู่บนเว็บ","ค่าปริยาย","วงกลม","จุด","Quadrate","ค้นหา","ค้นหาก่อนหน้านี้","ค้นหาถัดไป","ใส่ชื่อคลาส","กดอัลท์สำหรับการปรับขนาดที่กำหนดเอง"]},3610:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg>'},56170:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg>'},95331:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg>'},84279:function(e){e.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg>'},11257:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},25141:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M747 1521q74 32 140 32 376 0 376-335 0-114-41-180-27-44-61.5-74t-67.5-46.5-80.5-25-84-10.5-94.5-2q-73 0-101 10 0 53-.5 159t-.5 158q0 8-1 67.5t-.5 96.5 4.5 83.5 12 66.5zm-14-746q42 7 109 7 82 0 143-13t110-44.5 74.5-89.5 25.5-142q0-70-29-122.5t-79-82-108-43.5-124-14q-50 0-130 13 0 50 4 151t4 152q0 27-.5 80t-.5 79q0 46 1 69zm-541 889l2-94q15-4 85-16t106-27q7-12 12.5-27t8.5-33.5 5.5-32.5 3-37.5.5-34v-65.5q0-982-22-1025-4-8-22-14.5t-44.5-11-49.5-7-48.5-4.5-30.5-3l-4-83q98-2 340-11.5t373-9.5q23 0 68.5.5t67.5.5q70 0 136.5 13t128.5 42 108 71 74 104.5 28 137.5q0 52-16.5 95.5t-39 72-64.5 57.5-73 45-84 40q154 35 256.5 134t102.5 248q0 100-35 179.5t-93.5 130.5-138 85.5-163.5 48.5-176 14q-44 0-132-3t-132-3q-106 0-307 11t-231 12z"/> </svg>'},24557:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg>'},10859:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},9813:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},93395:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm637-679v206h-514l-3-27q-4-28-4-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 83-65 188-65 110 0 178 59.5t68 158.5q0 56-24.5 103t-62 76.5-81.5 58.5-82 50.5-65.5 51.5-30.5 63h232v-80h126z"/> </svg>'},98213:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},20026:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},66911:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg>'},50018:function(e){e.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89,6.61H22.31V4.47A2.47,2.47,0,0,0,19.84,2H6.78A2.47,2.47,0,0,0,4.31,4.47V22.92a2.47,2.47,0,0,0,2.47,2.47H9.69V27.2a2.8,2.8,0,0,0,2.8,2.8h12.4a2.8,2.8,0,0,0,2.8-2.8V9.41A2.8,2.8,0,0,0,24.89,6.61ZM6.78,23.52a.61.61,0,0,1-.61-.6V4.47a.61.61,0,0,1,.61-.6H19.84a.61.61,0,0,1,.61.6V6.61h-8a2.8,2.8,0,0,0-2.8,2.8V23.52Zm19,3.68a.94.94,0,0,1-.94.93H12.49a.94.94,0,0,1-.94-.93V9.41a.94.94,0,0,1,.94-.93h12.4a.94.94,0,0,1,.94.93Z"/> <path d="M23.49,13.53h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,17.37h-9.6a.94.94,0,1,0,0,1.87h9.6a.94.94,0,1,0,0-1.87Z"/> <path d="M23.49,21.22h-9.6a.93.93,0,1,0,0,1.86h9.6a.93.93,0,1,0,0-1.86Z"/> </svg>'},99738:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M960 896q26 0 45 19t19 45-19 45-45 19-45-19-19-45 19-45 45-19zm300 64l507 398q28 20 25 56-5 35-35 51l-128 64q-13 7-29 7-17 0-31-8l-690-387-110 66q-8 4-12 5 14 49 10 97-7 77-56 147.5t-132 123.5q-132 84-277 84-136 0-222-78-90-84-79-207 7-76 56-147t131-124q132-84 278-84 83 0 151 31 9-13 22-22l122-73-122-73q-13-9-22-22-68 31-151 31-146 0-278-84-82-53-131-124t-56-147q-5-59 15.5-113t63.5-93q85-79 222-79 145 0 277 84 83 52 132 123t56 148q4 48-10 97 4 1 12 5l110 66 690-387q14-8 31-8 16 0 29 7l128 64q30 16 35 51 3 36-25 56zm-681-260q46-42 21-108t-106-117q-92-59-192-59-74 0-113 36-46 42-21 108t106 117q92 59 192 59 74 0 113-36zm-85 745q81-51 106-117t-21-108q-39-36-113-36-100 0-192 59-81 51-106 117t21 108q39 36 113 36 100 0 192-59zm178-613l96 58v-11q0-36 33-56l14-8-79-47-26 26q-3 3-10 11t-12 12q-2 2-4 3.5t-3 2.5zm224 224l96 32 736-576-128-64-768 431v113l-160 96 9 8q2 2 7 6 4 4 11 12t11 12l26 26zm704 416l128-64-520-408-177 138q-2 3-13 7z"/> </svg>'},9185:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},8619:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},73894:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},83301:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 16 16"> <path stroke-width="0" d="M16 9v-6h-3v-1c0-0.55-0.45-1-1-1h-11c-0.55 0-1 0.45-1 1v3c0 0.55 0.45 1 1 1h11c0.55 0 1-0.45 1-1v-1h2v4h-9v2h-0.5c-0.276 0-0.5 0.224-0.5 0.5v5c0 0.276 0.224 0.5 0.5 0.5h2c0.276 0 0.5-0.224 0.5-0.5v-5c0-0.276-0.224-0.5-0.5-0.5h-0.5v-1h9zM12 3h-11v-1h11v1z"/> </svg>'},84142:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},57292:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg>'},18019:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1534 189v73q0 29-18.5 61t-42.5 32q-50 0-54 1-26 6-32 31-3 11-3 64v1152q0 25-18 43t-43 18h-108q-25 0-43-18t-18-43v-1218h-143v1218q0 25-17.5 43t-43.5 18h-108q-26 0-43.5-18t-17.5-43v-496q-147-12-245-59-126-58-192-179-64-117-64-259 0-166 88-286 88-118 209-159 111-37 417-37h479q25 0 43 18t18 43z"/></svg>'},45146:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg>'},53576:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 960v448q0 26-19 45t-45 19-45-19l-144-144-332 332q-10 10-23 10t-23-10l-114-114q-10-10-10-23t10-23l332-332-144-144q-19-19-19-45t19-45 45-19h448q26 0 45 19t19 45zm755-672q0 13-10 23l-332 332 144 144q19 19 19 45t-19 45-45 19h-448q-26 0-45-19t-19-45v-448q0-26 19-45t45-19 45 19l144 144 332-332q10-10 23-10t23 10l114 114q10 10 10 23z"/> </svg>'},14655:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},53477:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 576q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1024 384v448h-1408v-192l320-320 160 160 512-512zm96-704h-1600q-13 0-22.5 9.5t-9.5 22.5v1216q0 13 9.5 22.5t22.5 9.5h1600q13 0 22.5-9.5t9.5-22.5v-1216q0-13-9.5-22.5t-22.5-9.5zm160 32v1216q0 66-47 113t-113 47h-1600q-66 0-113-47t-47-113v-1216q0-66 47-113t113-47h1600q66 0 113 47t47 113z"/> </svg>'},90053:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},72230:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},78321:function(e){e.exports='<svg viewBox="0 0 18.151 18.151" xmlns="http://www.w3.org/2000/svg"> <g> <path stroke-width="0" d="M6.237,16.546H3.649V1.604h5.916v5.728c0.474-0.122,0.968-0.194,1.479-0.194 c0.042,0,0.083,0.006,0.125,0.006V0H2.044v18.15h5.934C7.295,17.736,6.704,17.19,6.237,16.546z"/> <path stroke-width="0" d="M11.169,8.275c-2.723,0-4.938,2.215-4.938,4.938s2.215,4.938,4.938,4.938s4.938-2.215,4.938-4.938 S13.892,8.275,11.169,8.275z M11.169,16.81c-1.983,0-3.598-1.612-3.598-3.598c0-1.983,1.614-3.597,3.598-3.597 s3.597,1.613,3.597,3.597C14.766,15.198,13.153,16.81,11.169,16.81z"/> <polygon stroke-width="0" points="11.792,11.073 10.502,11.073 10.502,12.578 9.03,12.578 9.03,13.868 10.502,13.868 10.502,15.352 11.792,15.352 11.792,13.868 13.309,13.868 13.309,12.578 11.792,12.578 "/> </g> </svg>'},77654:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg>'},43371:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},44563:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 42h4v-4h-4v4zm4-28h-4v4h4v-4zm-4 20h4v-4h-4v4zm8 8h4v-4h-4v4zm-4-36h-4v4h4v-4zm8 0h-4v4h4v-4zm16 0h-4v4h4v-4zm-8 8h-4v4h4v-4zm0-8h-4v4h4v-4zm12 28h4v-4h-4v4zm-16 8h4v-4h-4v4zm-16-16h36v-4h-36v4zm32-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-16 16h4v-4h-4v4zm8 8h4v-4h-4v4zm8 0h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},53183:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg>'},6102:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},52242:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},87498:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},7986:function(e){e.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg>'},23075:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},10655:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M503 1271l-256 256q-10 9-23 9-12 0-23-9-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23zm169 41v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm-224-224q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm1264 128q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-334-335q-21-21-42-56l239-18 273 274q27 27 68 27.5t68-26.5l147-146q28-28 28-67 0-40-28-68l-274-275 18-239q35 21 56 42l336 336q84 86 84 204zm-617-724l-239 18-273-274q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l274 274-18 240q-35-21-56-42l-336-336q-84-86-84-204 0-120 85-203l147-146q83-83 203-83 121 0 204 85l334 335q21 21 42 56zm633 84q0 14-9 23t-23 9h-320q-14 0-23-9t-9-23 9-23 23-9h320q14 0 23 9t9 23zm-544-544v320q0 14-9 23t-23 9-23-9-9-23v-320q0-14 9-23t23-9 23 9 9 23zm407 151l-256 256q-11 9-23 9t-23-9q-9-10-9-23t9-23l256-256q10-9 23-9t23 9q9 10 9 23t-9 23z"/> </svg>'},15476:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M381 1620q0 80-54.5 126t-135.5 46q-106 0-172-66l57-88q49 45 106 45 29 0 50.5-14.5t21.5-42.5q0-64-105-56l-26-56q8-10 32.5-43.5t42.5-54 37-38.5v-1q-16 0-48.5 1t-48.5 1v53h-106v-152h333v88l-95 115q51 12 81 49t30 88zm2-627v159h-362q-6-36-6-54 0-51 23.5-93t56.5-68 66-47.5 56.5-43.5 23.5-45q0-25-14.5-38.5t-39.5-13.5q-46 0-81 58l-85-59q24-51 71.5-79.5t105.5-28.5q73 0 123 41.5t50 112.5q0 50-34 91.5t-75 64.5-75.5 50.5-35.5 52.5h127v-60h105zm1409 319v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm-1408-899v99h-335v-99h107q0-41 .5-122t.5-121v-12h-2q-8 17-50 54l-71-76 136-127h106v404h108zm1408 387v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-14 9-23t23-9h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},59403:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg>'},22860:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M448 1536h896v-256h-896v256zm0-640h896v-384h-160q-40 0-68-28t-28-68v-160h-640v640zm1152 64q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128 0v416q0 13-9.5 22.5t-22.5 9.5h-224v160q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-160h-224q-13 0-22.5-9.5t-9.5-22.5v-416q0-79 56.5-135.5t135.5-56.5h64v-544q0-40 28-68t68-28h672q40 0 88 20t76 48l152 152q28 28 48 76t20 88v256h64q79 0 135.5 56.5t56.5 135.5z"/> </svg>'},95600:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 256v448q0 26-19 45t-45 19h-448q-42 0-59-40-17-39 14-69l138-138q-148-137-349-137-104 0-198.5 40.5t-163.5 109.5-109.5 163.5-40.5 198.5 40.5 198.5 109.5 163.5 163.5 109.5 198.5 40.5q119 0 225-52t179-147q7-10 23-12 14 0 25 9l137 138q9 8 9.5 20.5t-7.5 22.5q-109 132-264 204.5t-327 72.5q-156 0-298-61t-245-164-164-245-61-298 61-298 164-245 245-164 298-61q147 0 284.5 55.5t244.5 156.5l130-129q29-31 70-14 39 17 39 59z"/> </svg>'},76214:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 896q0 156-61 298t-164 245-245 164-298 61q-172 0-327-72.5t-264-204.5q-7-10-6.5-22.5t8.5-20.5l137-138q10-9 25-9 16 2 23 12 73 95 179 147t225 52q104 0 198.5-40.5t163.5-109.5 109.5-163.5 40.5-198.5-40.5-198.5-109.5-163.5-163.5-109.5-198.5-40.5q-98 0-188 35.5t-160 101.5l137 138q31 30 14 69-17 40-59 40h-448q-26 0-45-19t-19-45v-448q0-42 40-59 39-17 69 14l130 129q107-101 244.5-156.5t284.5-55.5q156 0 298 61t245 164 164 245 61 298z"/> </svg>'},41197:function(e){e.exports='<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="M306.39,154.09c19.628,4.543,35.244,21.259,39.787,39.523 c1.551,8.54,8.998,14.989,17.904,14.989c9.991,0,18.168-8.175,18.168-18.17c0-13.083-10.991-32.98-25.985-47.881 c-14.719-14.537-32.252-24.802-46.695-24.802c-9.991,0-18.172,8.45-18.172,18.446C291.396,145.094,297.847,152.546,306.39,154.09z M56.629,392.312c-14.09,14.08-14.09,36.979,0,51.059c14.08,14.092,36.981,14.092,50.965,0l104.392-104.303 c24.347,15.181,53.062,23.991,83.953,23.991c87.857,0,158.995-71.142,158.995-158.999c0-87.854-71.138-158.995-158.995-158.995 c-87.856,0-158.995,71.141-158.995,158.995c0,30.802,8.819,59.606,23.992,83.953L56.629,392.312z M182.371,204.06 c0-62.687,50.875-113.568,113.568-113.568s113.569,50.881,113.569,113.568c0,62.694-50.876,113.569-113.569,113.569 S182.371,266.754,182.371,204.06z" fill-rule="evenodd"/> </svg>'},9342:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M553 1399l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23t-10 23l-393 393 393 393q10 10 10 23t-10 23zm591-1067l-373 1291q-4 13-15.5 19.5t-23.5 2.5l-62-17q-13-4-19.5-15.5t-2.5-24.5l373-1291q4-13 15.5-19.5t23.5-2.5l62 17q13 4 19.5 15.5t2.5 24.5zm657 651l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23t-10 23z"/> </svg>'},69546:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},43158:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},51716:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg>'},49222:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg>'},1755:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},74911:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},8805:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},16547:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg>'},10856:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg>'},98441:function(e){e.exports='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg>'},52488:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg>'},9370:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg>'},66543:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},608:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},42840:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},79096:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg>'},33014:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg>'},91677:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},8259:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},64467:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},86934:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg>'},76133:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},45519:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg>'},90265:function(e){e.exports='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg>'},81279:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},68899:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg>'},70744:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg>'},19201:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg>'},84930:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},99704:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'},2304:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg>'},93330:function(e,t,n){"use strict";n.r(t)},45066:function(e,t,n){"use strict";n.r(t)},99895:function(e,t,n){"use strict";n.r(t)},87682:function(e,t,n){"use strict";n.r(t)},50905:function(e,t,n){"use strict";n.r(t)},70446:function(e,t,n){"use strict";n.r(t)},18984:function(e,t,n){"use strict";n.r(t)},4591:function(e,t,n){"use strict";n.r(t)},64194:function(e,t,n){"use strict";n.r(t)},70375:function(e,t,n){"use strict";n.r(t)},90235:function(e,t,n){"use strict";n.r(t)},88477:function(e,t,n){"use strict";n.r(t)},50197:function(e,t,n){"use strict";n.r(t)},39008:function(e,t,n){"use strict";n.r(t)},47086:function(e,t,n){"use strict";n.r(t)},16462:function(e,t,n){"use strict";n.r(t)},40692:function(e,t,n){"use strict";n.r(t)},27452:function(e,t,n){"use strict";n.r(t)},51422:function(e,t,n){"use strict";n.r(t)},62820:function(e,t,n){"use strict";n.r(t)},63421:function(e,t,n){"use strict";n.r(t)},32115:function(e,t,n){"use strict";n.r(t)},53362:function(e,t,n){"use strict";n.r(t)},48904:function(e,t,n){"use strict";n.r(t)},85796:function(e,t,n){"use strict";n.r(t)},28654:function(e,t,n){"use strict";n.r(t)},60819:function(e,t,n){"use strict";n.r(t)},96410:function(e,t,n){"use strict";n.r(t)},33126:function(e,t,n){"use strict";n.r(t)},30724:function(e,t,n){"use strict";n.r(t)},14320:function(e,t,n){"use strict";n.r(t)},9947:function(e,t,n){"use strict";n.r(t)},45109:function(e,t,n){"use strict";n.r(t)},71708:function(e,t,n){"use strict";n.r(t)},51629:function(e,t,n){"use strict";n.r(t)},54860:function(e,t,n){"use strict";n.r(t)},47818:function(e,t,n){"use strict";n.r(t)},6316:function(e,t,n){"use strict";n.r(t)},88582:function(e,t,n){"use strict";n.r(t)},30962:function(e,t,n){"use strict";n.r(t)},68197:function(e,t,n){"use strict";n.r(t)},60057:function(e,t,n){"use strict";n.r(t)},33393:function(e,t,n){"use strict";n.r(t)},51057:function(e,t,n){"use strict";n.r(t)},64618:function(e,t,n){"use strict";n.r(t)},90176:function(e,t,n){"use strict";n.r(t)},91147:function(e,t,n){"use strict";n.r(t)},70631:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t,r){var o=r.value;if("function"!=typeof o)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(n(o)));var i=!1;return{configurable:!0,get:function(){if(i||this===e.prototype||this.hasOwnProperty(t)||"function"!=typeof o)return o;var n=o.bind(this);return i=!0,Object.defineProperty(this,t,{configurable:!0,get:function(){return n},set:function(e){o=e,delete this[t]}}),i=!1,n},set:function(e){o=e}}}function o(e){var t;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?t=Reflect.ownKeys(e.prototype):(t=Object.getOwnPropertyNames(e.prototype),"function"==typeof Object.getOwnPropertySymbols&&(t=t.concat(Object.getOwnPropertySymbols(e.prototype)))),t.forEach((function(t){if("constructor"!==t){var n=Object.getOwnPropertyDescriptor(e.prototype,t);"function"==typeof n.value&&Object.defineProperty(e.prototype,t,r(e,t,n))}})),e}Object.defineProperty(t,"__esModule",{value:!0}),t.boundClass=t.boundMethod=void 0,t.boundMethod=r,t.boundClass=o,t.default=function(){return 1===arguments.length?o.apply(void 0,arguments):r.apply(void 0,arguments)}},61227:function(){"use strict";"document"in window.self&&((!("classList"in document.createElement("_"))||document.createElementNS&&!("classList"in document.createElementNS("http://www.w3.org/2000/svg","g")))&&function(e){if("Element"in e){var t="classList",n=e.Element.prototype,r=Object,o=String.prototype.trim||function(){return this.replace(/^\s+|\s+$/g,"")},i=Array.prototype.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},a=function(e,t){this.name=e,this.code=DOMException[e],this.message=t},s=function(e,t){if(""===t)throw new a("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(t))throw new a("INVALID_CHARACTER_ERR","String contains an invalid character");return i.call(e,t)},l=function(e){for(var t=o.call(e.getAttribute("class")||""),n=t?t.split(/\s+/):[],r=0,i=n.length;i>r;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute("class",this.toString())}},c=l.prototype=[],u=function(){return new l(this)};if(a.prototype=Error.prototype,c.item=function(e){return this[e]||null},c.contains=function(e){return-1!==s(this,e+="")},c.add=function(){var e,t=arguments,n=0,r=t.length,o=!1;do{-1===s(this,e=t[n]+"")&&(this.push(e),o=!0)}while(++n<r);o&&this._updateClassName()},c.remove=function(){var e,t,n=arguments,r=0,o=n.length,i=!1;do{for(t=s(this,e=n[r]+"");-1!==t;)this.splice(t,1),i=!0,t=s(this,e)}while(++r<o);i&&this._updateClassName()},c.toggle=function(e,t){var n=this.contains(e+=""),r=n?!0!==t&&"remove":!1!==t&&"add";return r&&this[r](e),!0===t||!1===t?t:!n},c.toString=function(){return this.join(" ")},r.defineProperty){var d={get:u,enumerable:!0,configurable:!0};try{r.defineProperty(n,t,d)}catch(e){void 0!==e.number&&-2146823252!==e.number||(d.enumerable=!1,r.defineProperty(n,t,d))}}else r.prototype.__defineGetter__&&n.__defineGetter__(t,u)}}(window.self),function(){var e=document.createElement("_");if(e.classList.add("c1","c2"),!e.classList.contains("c2")){var t=function(e){var t=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var n,r=arguments.length;for(n=0;r>n;n++)t.call(this,e=arguments[n])}};t("add"),t("remove")}if(e.classList.toggle("c3",!1),e.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}e=null}())},69220:function(e,t,n){"use strict";n(22513);var r=n(56599);e.exports=r("Array","findIndex")},10444:function(e,t,n){"use strict";n(52867),n(70057);var r=n(31116);e.exports=r.Array.from},66622:function(e,t,n){"use strict";n(54166),n(32044),n(95661),n(28424),n(64514),n(30733),n(40327),n(53639),n(6147),n(7290),n(95122),n(61322),n(39605),n(49341),n(28809),n(82658),n(43967),n(90217),n(73477),n(93697);var r=n(31116);e.exports=r.Symbol},98061:function(e,t,n){"use strict";var r=n(794),o=n(98418),i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not a function")}},75839:function(e,t,n){"use strict";var r=n(794),o=String,i=TypeError;e.exports=function(e){if("object"==typeof e||r(e))return e;throw i("Can't set "+o(e)+" as a prototype")}},15179:function(e,t,n){"use strict";var r=n(19517),o=n(93503),i=n(73252).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},52313:function(e,t,n){"use strict";var r=n(8148),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw i(o(e)+" is not an object")}},92707:function(e,t,n){"use strict";var r=n(40207),o=n(9093),i=n(68488),a=n(79665),s=n(84997),l=n(15333),c=n(15050),u=n(89476),d=n(27395),f=n(81058),p=Array;e.exports=function(e){var t=i(e),n=l(this),h=arguments.length,m=h>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,h>2?arguments[2]:void 0));var v,b,y,A,x,C,_=f(t),w=0;if(!_||this===p&&s(_))for(v=c(t),b=n?new this(v):p(v);v>w;w++)C=g?m(t[w],w):t[w],u(b,w,C);else for(x=(A=d(t,_)).next,b=n?new this:[];!(y=o(x,A)).done;w++)C=g?a(A,m,[y.value,w],!0):y.value,u(b,w,C);return b.length=w,b}},79327:function(e,t,n){"use strict";var r=n(98651),o=n(10586),i=n(15050),a=function(e){return function(t,n,a){var s,l=r(t),c=i(l),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},56881:function(e,t,n){"use strict";var r=n(40207),o=n(90838),i=n(25049),a=n(68488),s=n(15050),l=n(6429),c=o([].push),u=function(e){var t=1==e,n=2==e,o=3==e,u=4==e,d=6==e,f=7==e,p=5==e||d;return function(h,m,g,v){for(var b,y,A=a(h),x=i(A),C=r(m,g),_=s(x),w=0,k=v||l,S=t?k(h,_):n||f?k(h,0):void 0;_>w;w++)if((p||w in x)&&(y=C(b=x[w],w,A),e))if(t)S[w]=y;else if(y)switch(e){case 3:return!0;case 5:return b;case 6:return w;case 2:c(S,b)}else switch(e){case 4:return!1;case 7:c(S,b)}return d?-1:o||u?u:S}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},63833:function(e,t,n){"use strict";var r=n(75834),o=n(19517),i=n(65190),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},57652:function(e,t,n){"use strict";var r=n(10586),o=n(15050),i=n(89476),a=Array,s=Math.max;e.exports=function(e,t,n){for(var l=o(e),c=r(t,l),u=r(void 0===n?l:n,l),d=a(s(u-c,0)),f=0;u>c;c++,f++)i(d,f,e[c]);return d.length=f,d}},54832:function(e,t,n){"use strict";var r=n(90838);e.exports=r([].slice)},22506:function(e,t,n){"use strict";var r=n(36222),o=n(15333),i=n(8148),a=n(19517)("species"),s=Array;e.exports=function(e){var t;return r(e)&&(o(t=e.constructor)&&(t===s||r(t.prototype))||i(t)&&null===(t=t[a]))&&(t=void 0),void 0===t?s:t}},6429:function(e,t,n){"use strict";var r=n(22506);e.exports=function(e,t){return new(r(e))(0===t?0:t)}},79665:function(e,t,n){"use strict";var r=n(52313),o=n(11274);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},7581:function(e,t,n){"use strict";var r=n(19517)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},6285:function(e,t,n){"use strict";var r=n(75223),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},8652:function(e,t,n){"use strict";var r=n(6424),o=n(794),i=n(6285),a=n(19517)("toStringTag"),s=Object,l="Arguments"==i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"==(r=i(t))&&o(t.callee)?"Arguments":r}},58392:function(e,t,n){"use strict";var r=n(14434),o=n(86671),i=n(36999),a=n(73252);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=i.f,u=0;s.length>u;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},27259:function(e,t,n){"use strict";var r=n(75834);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},17427:function(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},45840:function(e,t,n){"use strict";var r=n(13873),o=n(73252),i=n(32500);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},32500:function(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},89476:function(e,t,n){"use strict";var r=n(43836),o=n(73252),i=n(32500);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},35065:function(e,t,n){"use strict";var r=n(794),o=n(73252),i=n(40846),a=n(25379);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},25379:function(e,t,n){"use strict";var r=n(37042),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},13873:function(e,t,n){"use strict";var r=n(75834);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},12062:function(e){"use strict";var t="object"==typeof document&&document.all;e.exports={all:t,IS_HTMLDDA:void 0===t&&void 0!==t}},15192:function(e,t,n){"use strict";var r=n(37042),o=n(8148),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},39505:function(e){"use strict";var t=TypeError;e.exports=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}},21473:function(e,t,n){"use strict";var r=n(98945);e.exports=r("navigator","userAgent")||""},65190:function(e,t,n){"use strict";var r,o,i=n(37042),a=n(21473),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(r=u.split("."))[0]>0&&4>r[0]?1:+(r[0]+r[1])),!o&&a&&((r=a.match(/Edge\/(\d+)/))&&74>r[1]||(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1])),e.exports=o},56599:function(e,t,n){"use strict";var r=n(37042),o=n(90838);e.exports=function(e,t){return o(r[e].prototype[t])}},64456:function(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},50791:function(e,t,n){"use strict";var r=n(37042),o=n(36999).f,i=n(45840),a=n(35065),s=n(25379),l=n(58392),c=n(56930);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(p=o(n,u))&&p.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},75834:function(e){"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},55101:function(e,t,n){"use strict";var r=n(32610),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},40207:function(e,t,n){"use strict";var r=n(90838),o=n(98061),i=n(32610),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},32610:function(e,t,n){"use strict";var r=n(75834);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9093:function(e,t,n){"use strict";var r=n(32610),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},84521:function(e,t,n){"use strict";var r=n(13873),o=n(14434),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},75223:function(e,t,n){"use strict";var r=n(32610),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=function(e){return r?a(e):function(){return i.apply(e,arguments)}}},90838:function(e,t,n){"use strict";var r=n(6285),o=n(75223);e.exports=function(e){if("Function"===r(e))return o(e)}},98945:function(e,t,n){"use strict";var r=n(37042),o=n(794),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return 2>arguments.length?i(r[e]):r[e]&&r[e][t]}},81058:function(e,t,n){"use strict";var r=n(8652),o=n(20156),i=n(8140),a=n(84922),s=n(19517)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},27395:function(e,t,n){"use strict";var r=n(9093),o=n(98061),i=n(52313),a=n(98418),s=n(81058),l=TypeError;e.exports=function(e,t){var n=2>arguments.length?s(e):t;if(o(n))return i(r(n,e));throw l(a(e)+" is not iterable")}},20156:function(e,t,n){"use strict";var r=n(98061),o=n(8140);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},37042:function(e,t,n){"use strict";var r=function(e){return e&&e.Math==Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},14434:function(e,t,n){"use strict";var r=n(90838),o=n(68488),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},48889:function(e){"use strict";e.exports={}},36249:function(e,t,n){"use strict";var r=n(98945);e.exports=r("document","documentElement")},12816:function(e,t,n){"use strict";var r=n(13873),o=n(75834),i=n(15192);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},25049:function(e,t,n){"use strict";var r=n(90838),o=n(75834),i=n(6285),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?s(e,""):a(e)}:a},92355:function(e,t,n){"use strict";var r=n(90838),o=n(794),i=n(45752),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},56113:function(e,t,n){"use strict";var r,o,i,a=n(95473),s=n(37042),l=n(8148),c=n(45840),u=n(14434),d=n(45752),f=n(85475),p=n(48889),h="Object already initialized",m=s.TypeError;if(a||d.state){var g=d.state||(d.state=new(0,s.WeakMap));g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw m(h);return t.facade=e,g.set(e,t),t},o=function(e){return g.get(e)||{}},i=function(e){return g.has(e)}}else{var v=f("state");p[v]=!0,r=function(e,t){if(u(e,v))throw m(h);return t.facade=e,c(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw m("Incompatible receiver, "+e+" required");return n}}}},84997:function(e,t,n){"use strict";var r=n(19517),o=n(84922),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},36222:function(e,t,n){"use strict";var r=n(6285);e.exports=Array.isArray||function(e){return"Array"==r(e)}},794:function(e,t,n){"use strict";var r=n(12062),o=r.all;e.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},15333:function(e,t,n){"use strict";var r=n(90838),o=n(75834),i=n(794),a=n(8652),s=n(98945),l=n(92355),c=function(){},u=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(c),m=function(e){if(!i(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}},g=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!p(f,l(e))}catch(e){return!0}};g.sham=!0,e.exports=!d||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?g:m},56930:function(e,t,n){"use strict";var r=n(75834),o=n(794),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},8140:function(e){"use strict";e.exports=function(e){return null==e}},8148:function(e,t,n){"use strict";var r=n(794),o=n(12062),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:r(e)||e===i}:function(e){return"object"==typeof e?null!==e:r(e)}},70852:function(e){"use strict";e.exports=!1},88253:function(e,t,n){"use strict";var r=n(98945),o=n(794),i=n(54671),a=n(57982),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},11274:function(e,t,n){"use strict";var r=n(9093),o=n(52313),i=n(20156);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},60928:function(e,t,n){"use strict";var r=n(77831).IteratorPrototype,o=n(93503),i=n(32500),a=n(44532),s=n(84922),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=o(r,{next:i(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},13759:function(e,t,n){"use strict";var r=n(50791),o=n(9093),i=n(70852),a=n(84521),s=n(794),l=n(60928),c=n(1074),u=n(482),d=n(44532),f=n(45840),p=n(35065),h=n(19517),m=n(84922),g=n(77831),v=a.PROPER,b=a.CONFIGURABLE,y=g.IteratorPrototype,A=g.BUGGY_SAFARI_ITERATORS,x=h("iterator"),C="keys",_="values",w="entries",k=function(){return this};e.exports=function(e,t,n,a,h,g,S){l(n,t,a);var E,B,O,j=function(e){if(e===h&&R)return R;if(!A&&e in M)return M[e];switch(e){case C:case _:case w:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",P=!1,M=e.prototype,D=M[x]||M["@@iterator"]||h&&M[h],R=!A&&D||j(h),L="Array"==t&&M.entries||D;if(L&&(E=c(L.call(new e)))!==Object.prototype&&E.next&&(i||c(E)===y||(u?u(E,y):s(E[x])||p(E,x,k)),d(E,T,!0,!0),i&&(m[T]=k)),v&&h==_&&D&&D.name!==_&&(!i&&b?f(M,"name",_):(P=!0,R=function(){return o(D,this)})),h)if(B={values:j(_),keys:g?R:j(C),entries:j(w)},S)for(O in B)(A||P||!(O in M))&&p(M,O,B[O]);else r({target:t,proto:!0,forced:A||P},B);return i&&!S||M[x]===R||p(M,x,R,{name:h}),m[t]=R,B}},77831:function(e,t,n){"use strict";var r,o,i,a=n(75834),s=n(794),l=n(8148),c=n(93503),u=n(1074),d=n(35065),f=n(19517),p=n(70852),h=f("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):m=!0),!l(r)||a((function(){var e={};return r[h].call(e)!==e}))?r={}:p&&(r=c(r)),s(r[h])||d(r,h,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},84922:function(e){"use strict";e.exports={}},15050:function(e,t,n){"use strict";var r=n(24431);e.exports=function(e){return r(e.length)}},40846:function(e,t,n){"use strict";var r=n(75834),o=n(794),i=n(14434),a=n(13873),s=n(84521).CONFIGURABLE,l=n(92355),c=n(56113),u=c.enforce,d=c.get,f=Object.defineProperty,p=a&&!r((function(){return 8!==f((function(){}),"length",{value:8}).length})),h=String(String).split("String"),m=e.exports=function(e,t,n){"Symbol("===String(t).slice(0,7)&&(t="["+String(t).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!i(e,"name")||s&&e.name!==t)&&(a?f(e,"name",{value:t,configurable:!0}):e.name=t),p&&n&&i(n,"arity")&&e.length!==n.arity&&f(e,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?a&&f(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=u(e);return i(r,"source")||(r.source=h.join("string"==typeof t?t:"")),e};Function.prototype.toString=m((function(){return o(this)&&d(this).source||l(this)}),"toString")},43932:function(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},93503:function(e,t,n){"use strict";var r,o=n(52313),i=n(5770),a=n(64456),s=n(48889),l=n(36249),c=n(15192),u=n(85475)("IE_PROTO"),d=function(){},f=function(e){return"<script>"+e+"<\/script>"},p=function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t},h=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;h="undefined"!=typeof document?document.domain&&r?p(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):p(r);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[u]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(d.prototype=o(e),n=new d,d.prototype=null,n[u]=e):n=h(),void 0===t?n:i.f(n,t)}},5770:function(e,t,n){"use strict";var r=n(13873),o=n(63142),i=n(73252),a=n(52313),s=n(98651),l=n(3385);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),c=o.length,u=0;c>u;)i.f(e,n=o[u++],r[n]);return e}},73252:function(e,t,n){"use strict";var r=n(13873),o=n(12816),i=n(63142),a=n(52313),s=n(43836),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor;t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&"writable"in n&&!n.writable){var r=u(e,t);r&&r.writable&&(e[t]=n.value,n={configurable:"configurable"in n?n.configurable:r.configurable,enumerable:"enumerable"in n?n.enumerable:r.enumerable,writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},36999:function(e,t,n){"use strict";var r=n(13873),o=n(9093),i=n(33244),a=n(32500),s=n(98651),l=n(43836),c=n(14434),u=n(12816),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},53305:function(e,t,n){"use strict";var r=n(6285),o=n(98651),i=n(7792).f,a=n(57652),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"Window"==r(e)?function(e){try{return i(e)}catch(e){return a(s)}}(e):i(o(e))}},7792:function(e,t,n){"use strict";var r=n(84729),o=n(64456).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},23953:function(e,t){"use strict";t.f=Object.getOwnPropertySymbols},1074:function(e,t,n){"use strict";var r=n(14434),o=n(794),i=n(68488),a=n(85475),s=n(27259),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},54671:function(e,t,n){"use strict";var r=n(90838);e.exports=r({}.isPrototypeOf)},84729:function(e,t,n){"use strict";var r=n(90838),o=n(14434),i=n(98651),a=n(79327).indexOf,s=n(48889),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},3385:function(e,t,n){"use strict";var r=n(84729),o=n(64456);e.exports=Object.keys||function(e){return r(e,o)}},33244:function(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},482:function(e,t,n){"use strict";var r=n(90838),o=n(52313),i=n(75839);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},57555:function(e,t,n){"use strict";var r=n(6424),o=n(8652);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},82472:function(e,t,n){"use strict";var r=n(9093),o=n(794),i=n(8148),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw a("Can't convert object to primitive value")}},86671:function(e,t,n){"use strict";var r=n(98945),o=n(90838),i=n(7792),a=n(23953),s=n(52313),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},31116:function(e,t,n){"use strict";var r=n(37042);e.exports=r},60265:function(e,t,n){"use strict";var r=n(8140),o=TypeError;e.exports=function(e){if(r(e))throw o("Can't call method on "+e);return e}},44532:function(e,t,n){"use strict";var r=n(73252).f,o=n(14434),i=n(19517)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},85475:function(e,t,n){"use strict";var r=n(95138),o=n(15257),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},45752:function(e,t,n){"use strict";var r=n(37042),o=n(25379),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},95138:function(e,t,n){"use strict";var r=n(70852),o=n(45752);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.25.5",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE",source:"https://github.com/zloirock/core-js"})},41397:function(e,t,n){"use strict";var r=n(90838),o=n(27876),i=n(63046),a=n(60265),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,d=i(a(t)),f=o(n),p=d.length;return 0>f||f>=p?e?"":void 0:55296>(r=l(d,f))||r>56319||f+1===p||56320>(u=l(d,f+1))||u>57343?e?s(d,f):r:e?c(d,f,f+2):u-56320+(r-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},73800:function(e,t,n){"use strict";var r=n(65190),o=n(75834);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&41>r}))},13829:function(e,t,n){"use strict";var r=n(9093),o=n(98945),i=n(19517),a=n(35065);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,n=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,(function(e){return r(n,this)}),{arity:1})}},31948:function(e,t,n){"use strict";var r=n(73800);e.exports=r&&!!Symbol.for&&!!Symbol.keyFor},10586:function(e,t,n){"use strict";var r=n(27876),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return 0>n?o(n+t,0):i(n,t)}},98651:function(e,t,n){"use strict";var r=n(25049),o=n(60265);e.exports=function(e){return r(o(e))}},27876:function(e,t,n){"use strict";var r=n(43932);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},24431:function(e,t,n){"use strict";var r=n(27876),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},68488:function(e,t,n){"use strict";var r=n(60265),o=Object;e.exports=function(e){return o(r(e))}},11261:function(e,t,n){"use strict";var r=n(9093),o=n(8148),i=n(88253),a=n(20156),s=n(82472),l=n(19517),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},43836:function(e,t,n){"use strict";var r=n(11261),o=n(88253);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},6424:function(e,t,n){"use strict";var r={};r[n(19517)("toStringTag")]="z",e.exports="[object z]"===String(r)},63046:function(e,t,n){"use strict";var r=n(8652),o=String;e.exports=function(e){if("Symbol"===r(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},98418:function(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},15257:function(e,t,n){"use strict";var r=n(90838),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},57982:function(e,t,n){"use strict";var r=n(73800);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},63142:function(e,t,n){"use strict";var r=n(13873),o=n(75834);e.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},95473:function(e,t,n){"use strict";var r=n(37042),o=n(794),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},89633:function(e,t,n){"use strict";var r=n(31116),o=n(14434),i=n(96767),a=n(73252).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},96767:function(e,t,n){"use strict";var r=n(19517);t.f=r},19517:function(e,t,n){"use strict";var r=n(37042),o=n(95138),i=n(14434),a=n(15257),s=n(73800),l=n(57982),c=o("wks"),u=r.Symbol,d=u&&u.for,f=l?u:u&&u.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;c[e]=s&&i(u,e)?u[e]:l&&d?d(t):f(t)}return c[e]}},54166:function(e,t,n){"use strict";var r=n(50791),o=n(75834),i=n(36222),a=n(8148),s=n(68488),l=n(15050),c=n(39505),u=n(89476),d=n(6429),f=n(63833),p=n(19517),h=n(65190),m=p("isConcatSpreadable"),g=h>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),v=f("concat"),b=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,arity:1,forced:!g||!v},{concat:function(e){var t,n,r,o,i,a=s(this),f=d(a,0),p=0;for(t=-1,r=arguments.length;r>t;t++)if(b(i=-1===t?a:arguments[t]))for(o=l(i),c(p+o),n=0;o>n;n++,p++)n in i&&u(f,p,i[n]);else c(p+1),u(f,p++,i);return f.length=p,f}})},22513:function(e,t,n){"use strict";var r=n(50791),o=n(56881).findIndex,i=n(15179),a="findIndex",s=!0;a in[]&&Array(1).findIndex((function(){s=!1})),r({target:"Array",proto:!0,forced:s},{findIndex:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(a)},70057:function(e,t,n){"use strict";var r=n(50791),o=n(92707);r({target:"Array",stat:!0,forced:!n(7581)((function(e){Array.from(e)}))},{from:o})},67507:function(e,t,n){"use strict";var r=n(50791),o=n(98945),i=n(55101),a=n(9093),s=n(90838),l=n(75834),c=n(36222),u=n(794),d=n(8148),f=n(88253),p=n(54832),h=n(73800),m=o("JSON","stringify"),g=s(/./.exec),v=s("".charAt),b=s("".charCodeAt),y=s("".replace),A=s(1..toString),x=/[\uD800-\uDFFF]/g,C=/^[\uD800-\uDBFF]$/,_=/^[\uDC00-\uDFFF]$/,w=!h||l((function(){var e=o("Symbol")();return"[null]"!=m([e])||"{}"!=m({a:e})||"{}"!=m(Object(e))})),k=l((function(){return'"\\udf06\\ud834"'!==m("\udf06\ud834")||'"\\udead"'!==m("\udead")})),S=function(e,t){var n=p(arguments),r=t;if((d(t)||void 0!==e)&&!f(e))return c(t)||(t=function(e,t){if(u(r)&&(t=a(r,this,e,t)),!f(t))return t}),n[1]=t,i(m,null,n)},E=function(e,t,n){var r=v(n,t-1),o=v(n,t+1);return g(C,e)&&!g(_,o)||g(_,e)&&!g(C,r)?"\\u"+A(b(e,0),16):e};m&&r({target:"JSON",stat:!0,arity:3,forced:w||k},{stringify:function(e,t,n){var r=p(arguments),o=i(w?S:m,null,r);return k&&"string"==typeof o?y(o,x,E):o}})},90217:function(e,t,n){"use strict";var r=n(37042);n(44532)(r.JSON,"JSON",!0)},73477:function(e,t,n){"use strict";n(44532)(Math,"Math",!0)},30165:function(e,t,n){"use strict";var r=n(50791),o=n(73800),i=n(75834),a=n(23953),s=n(68488);r({target:"Object",stat:!0,forced:!o||i((function(){a.f(1)}))},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},32044:function(e,t,n){"use strict";var r=n(6424),o=n(35065),i=n(57555);r||o(Object.prototype,"toString",i,{unsafe:!0})},93697:function(e,t,n){"use strict";var r=n(50791),o=n(37042),i=n(44532);r({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},52867:function(e,t,n){"use strict";var r=n(41397).charAt,o=n(63046),i=n(56113),a=n(13759),s=n(17427),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",(function(e){c(this,{type:l,string:o(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return n.length>o?(e=r(n,o),t.index+=e.length,s(e,!1)):s(void 0,!0)}))},28424:function(e,t,n){"use strict";n(89633)("asyncIterator")},9656:function(e,t,n){"use strict";var r=n(50791),o=n(37042),i=n(9093),a=n(90838),s=n(70852),l=n(13873),c=n(73800),u=n(75834),d=n(14434),f=n(54671),p=n(52313),h=n(98651),m=n(43836),g=n(63046),v=n(32500),b=n(93503),y=n(3385),A=n(7792),x=n(53305),C=n(23953),_=n(36999),w=n(73252),k=n(5770),S=n(33244),E=n(35065),B=n(95138),O=n(85475),j=n(48889),T=n(15257),P=n(19517),M=n(96767),D=n(89633),R=n(13829),L=n(44532),I=n(56113),N=n(56881).forEach,F=O("hidden"),z="Symbol",q=I.set,U=I.getterFor(z),H=Object.prototype,W=o.Symbol,V=W&&W.prototype,Y=o.TypeError,Z=o.QObject,G=_.f,K=w.f,$=x.f,X=S.f,Q=a([].push),J=B("symbols"),ee=B("op-symbols"),te=B("wks"),ne=!Z||!Z.prototype||!Z.prototype.findChild,re=l&&u((function(){return 7!=b(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=G(H,t);r&&delete H[t],K(e,t,n),r&&e!==H&&K(H,t,r)}:K,oe=function(e,t){var n=J[e]=b(V);return q(n,{type:z,tag:e,description:t}),l||(n.description=t),n},ie=function(e,t,n){e===H&&ie(ee,t,n),p(e);var r=m(t);return p(n),d(J,r)?(n.enumerable?(d(e,F)&&e[F][r]&&(e[F][r]=!1),n=b(n,{enumerable:v(0,!1)})):(d(e,F)||K(e,F,v(1,{})),e[F][r]=!0),re(e,r,n)):K(e,r,n)},ae=function(e,t){p(e);var n=h(t),r=y(n).concat(ue(n));return N(r,(function(t){l&&!i(se,n,t)||ie(e,t,n[t])})),e},se=function(e){var t=m(e),n=i(X,this,t);return!(this===H&&d(J,t)&&!d(ee,t))&&(!(n||!d(this,t)||!d(J,t)||d(this,F)&&this[F][t])||n)},le=function(e,t){var n=h(e),r=m(t);if(n!==H||!d(J,r)||d(ee,r)){var o=G(n,r);return!o||!d(J,r)||d(n,F)&&n[F][r]||(o.enumerable=!0),o}},ce=function(e){var t=$(h(e)),n=[];return N(t,(function(e){d(J,e)||d(j,e)||Q(n,e)})),n},ue=function(e){var t=e===H,n=$(t?ee:h(e)),r=[];return N(n,(function(e){!d(J,e)||t&&!d(H,e)||Q(r,J[e])})),r};c||(W=function(){if(f(V,this))throw Y("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?g(arguments[0]):void 0,t=T(e),n=function(e){this===H&&i(n,ee,e),d(this,F)&&d(this[F],t)&&(this[F][t]=!1),re(this,t,v(1,e))};return l&&ne&&re(H,t,{configurable:!0,set:n}),oe(t,e)},E(V=W.prototype,"toString",(function(){return U(this).tag})),E(W,"withoutSetter",(function(e){return oe(T(e),e)})),S.f=se,w.f=ie,k.f=ae,_.f=le,A.f=x.f=ce,C.f=ue,M.f=function(e){return oe(P(e),e)},l&&(K(V,"description",{configurable:!0,get:function(){return U(this).description}}),s||E(H,"propertyIsEnumerable",se,{unsafe:!0}))),r({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:W}),N(y(te),(function(e){D(e)})),r({target:z,stat:!0,forced:!c},{useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!l},{create:function(e,t){return void 0===t?b(e):ae(b(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:le}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ce}),R(),L(W,z),j[F]=!0},64514:function(e,t,n){"use strict";var r=n(50791),o=n(13873),i=n(37042),a=n(90838),s=n(14434),l=n(794),c=n(54671),u=n(63046),d=n(73252).f,f=n(58392),p=i.Symbol,h=p&&p.prototype;if(o&&l(p)&&(!("description"in h)||void 0!==p().description)){var m={},g=function(){var e=1>arguments.length||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new p(e):void 0===e?p():p(e);return""===e&&(m[t]=!0),t};f(g,p),g.prototype=h,h.constructor=g;var v="Symbol(test)"==String(p("test")),b=a(h.valueOf),y=a(h.toString),A=/^Symbol\((.*)\)[^)]+$/,x=a("".replace),C=a("".slice);d(h,"description",{configurable:!0,get:function(){var e=b(this);if(s(m,e))return"";var t=y(e),n=v?C(t,7,-1):x(t,A,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},56202:function(e,t,n){"use strict";var r=n(50791),o=n(98945),i=n(14434),a=n(63046),s=n(95138),l=n(31948),c=s("string-to-symbol-registry"),u=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{for:function(e){var t=a(e);if(i(c,t))return c[t];var n=o("Symbol")(t);return c[t]=n,u[n]=t,n}})},30733:function(e,t,n){"use strict";n(89633)("hasInstance")},40327:function(e,t,n){"use strict";n(89633)("isConcatSpreadable")},53639:function(e,t,n){"use strict";n(89633)("iterator")},95661:function(e,t,n){"use strict";n(9656),n(56202),n(71940),n(67507),n(30165)},71940:function(e,t,n){"use strict";var r=n(50791),o=n(14434),i=n(88253),a=n(98418),s=n(95138),l=n(31948),c=s("symbol-to-string-registry");r({target:"Symbol",stat:!0,forced:!l},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(c,e))return c[e]}})},7290:function(e,t,n){"use strict";n(89633)("matchAll")},6147:function(e,t,n){"use strict";n(89633)("match")},95122:function(e,t,n){"use strict";n(89633)("replace")},61322:function(e,t,n){"use strict";n(89633)("search")},39605:function(e,t,n){"use strict";n(89633)("species")},49341:function(e,t,n){"use strict";n(89633)("split")},28809:function(e,t,n){"use strict";var r=n(89633),o=n(13829);r("toPrimitive"),o()},82658:function(e,t,n){"use strict";var r=n(98945),o=n(89633),i=n(44532);o("toStringTag"),i(r("Symbol"),"Symbol")},43967:function(e,t,n){"use strict";n(89633)("unscopables")},690:function(e,t,n){"use strict";e.exports=n(26002).polyfill()},26002:function(e,t,n){"use strict";e.exports=function(){function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=0,i=void 0,a=void 0,s=function(e,t){h[o]=e,h[o+1]=t,2===(o+=2)&&(a?a(m):A())},l="undefined"!=typeof window?window:void 0,c=l||{},u=c.MutationObserver||c.WebKitMutationObserver,d="undefined"==typeof self&&void 0!==r&&"[object process]"==={}.toString.call(r),f="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function p(){var e=setTimeout;return function(){return e(m,1)}}var h=new Array(1e3);function m(){for(var e=0;o>e;e+=2)(0,h[e])(h[e+1]),h[e]=void 0,h[e+1]=void 0;o=0}var g,v,b,y,A=void 0;function x(e,t){var n=this,r=new this.constructor(w);void 0===r[_]&&R(r);var o=n._state;if(o){var i=arguments[o-1];s((function(){return M(o,r,i,n._result)}))}else T(n,r,e,t);return r}function C(e){if(e&&"object"==typeof e&&e.constructor===this)return e;var t=new this(w);return E(t,e),t}A=d?function(){return r.nextTick(m)}:u?(v=0,b=new u(m),y=document.createTextNode(""),b.observe(y,{characterData:!0}),function(){y.data=v=++v%2}):f?((g=new MessageChannel).port1.onmessage=m,function(){return g.port2.postMessage(0)}):void 0===l?function(){try{var e=Function("return this")().require("vertx");return void 0!==(i=e.runOnLoop||e.runOnContext)?function(){i(m)}:p()}catch(e){return p()}}():p();var _=Math.random().toString(36).substring(2);function w(){}var k=void 0;function S(t,n,r){n.constructor===t.constructor&&r===x&&n.constructor.resolve===C?function(e,t){1===t._state?O(e,t._result):2===t._state?j(e,t._result):T(t,void 0,(function(t){return E(e,t)}),(function(t){return j(e,t)}))}(t,n):void 0===r?O(t,n):e(r)?function(e,t,n){s((function(e){var r=!1,o=function(n,o,i,a){try{n.call(o,(function(n){r||(r=!0,t!==n?E(e,n):O(e,n))}),(function(t){r||(r=!0,j(e,t))}))}catch(e){return e}}(n,t);!r&&o&&(r=!0,j(e,o))}),e)}(t,n,r):O(t,n)}function E(e,t){if(e===t)j(e,new TypeError("You cannot resolve a promise with itself"));else if(o=typeof(r=t),null===r||"object"!==o&&"function"!==o)O(e,t);else{var n=void 0;try{n=t.then}catch(t){return void j(e,t)}S(e,t,n)}var r,o}function B(e){e._onerror&&e._onerror(e._result),P(e)}function O(e,t){e._state===k&&(e._result=t,e._state=1,0!==e._subscribers.length&&s(P,e))}function j(e,t){e._state===k&&(e._state=2,e._result=t,s(B,e))}function T(e,t,n,r){var o=e._subscribers,i=o.length;e._onerror=null,o[i]=t,o[i+1]=n,o[i+2]=r,0===i&&e._state&&s(P,e)}function P(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,o=void 0,i=e._result,a=0;t.length>a;a+=3)o=t[a+n],(r=t[a])?M(n,r,o,i):o(i);e._subscribers.length=0}}function M(t,n,r,o){var i=e(r),a=void 0,s=void 0,l=!0;if(i){try{a=r(o)}catch(e){l=!1,s=e}if(n===a)return void j(n,new TypeError("A promises callback cannot return that same promise."))}else a=o;n._state!==k||(i&&l?E(n,a):!1===l?j(n,s):1===t?O(n,a):2===t&&j(n,a))}var D=0;function R(e){e[_]=D++,e._state=void 0,e._result=void 0,e._subscribers=[]}var L=function(){function e(e,n){this._instanceConstructor=e,this.promise=new e(w),this.promise[_]||R(this.promise),t(n)?(this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(n),0===this._remaining&&O(this.promise,this._result))):j(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&e.length>t;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===C){var o=void 0,i=void 0,a=!1;try{o=e.then}catch(e){a=!0,i=e}if(o===x&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof o)this._remaining--,this._result[t]=e;else if(n===I){var s=new n(w);a?j(s,i):S(s,e,o),this._willSettleAt(s,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===k&&(this._remaining--,2===e?j(r,n):this._result[t]=n),0===this._remaining&&O(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;T(e,void 0,(function(e){return n._settledAt(1,t,e)}),(function(e){return n._settledAt(2,t,e)}))},e}(),I=function(){function t(e){this[_]=D++,this._result=this._state=void 0,this._subscribers=[],w!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){E(e,t)}),(function(t){j(e,t)}))}catch(t){j(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return I.prototype.then=x,I.all=function(e){return new L(this,e).promise},I.race=function(e){var n=this;return t(e)?new n((function(t,r){for(var o=e.length,i=0;o>i;i++)n.resolve(e[i]).then(t,r)})):new n((function(e,t){return t(new TypeError("You must pass an array to race."))}))},I.resolve=C,I.reject=function(e){var t=new this(w);return j(t,e),t},I._setScheduler=function(e){a=e},I._setAsap=function(e){s=e},I._asap=s,I.polyfill=function(){var e=void 0;if(void 0!==n.g)e=n.g;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=I},I.Promise=I,I}()},20255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.__classPrivateFieldIn=t.__classPrivateFieldSet=t.__classPrivateFieldGet=t.__importDefault=t.__importStar=t.__makeTemplateObject=t.__asyncValues=t.__asyncDelegator=t.__asyncGenerator=t.__await=t.__spreadArray=t.__spreadArrays=t.__spread=t.__read=t.__values=t.__exportStar=t.__createBinding=t.__generator=t.__awaiter=t.__metadata=t.__param=t.__decorate=t.__rest=t.__assign=t.__extends=void 0;var n=function(e,t){return n=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])},n(e,t)};function r(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function i(e){return this instanceof i?(this.v=e,this):new i(e)}t.__extends=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)},t.__assign=function(){return t.__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;r>n;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.__assign.apply(this,arguments)},t.__rest=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);r.length>o;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},t.__decorate=function(e,t,n,r){var o,i=arguments.length,a=3>i?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(3>i?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},t.__param=function(e,t){return function(n,r){t(n,r,e)}},t.__metadata=function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},t.__awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},t.__generator=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]&&o[3]>i[1])){a.label=i[1];break}if(6===i[0]&&o[1]>a.label){a.label=o[1],o=i;break}if(o&&o[2]>a.label){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],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])}}},t.__createBinding=Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},t.__exportStar=function(e,n){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(n,r)||(0,t.__createBinding)(n,e,r)},t.__values=r,t.__read=o,t.__spread=function(){for(var e=[],t=0;arguments.length>t;t++)e=e.concat(o(arguments[t]));return e},t.__spreadArrays=function(){for(var e=0,t=0,n=arguments.length;n>t;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;n>t;t++)for(var i=arguments[t],a=0,s=i.length;s>a;a++,o++)r[o]=i[a];return r},t.__spreadArray=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;i>o;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},t.__await=i,t.__asyncGenerator=function(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),a=[];return r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r;function s(e){o[e]&&(r[e]=function(t){return new Promise((function(n,r){a.push([e,t,n,r])>1||l(e,t)}))})}function l(e,t){try{(n=o[e](t)).value instanceof i?Promise.resolve(n.value.v).then(c,u):d(a[0][2],n)}catch(e){d(a[0][3],e)}var n}function c(e){l("next",e)}function u(e){l("throw",e)}function d(e,t){e(t),a.shift(),a.length&&l(a[0][0],a[0][1])}},t.__asyncDelegator=function(e){var t,n;return t={},r("next"),r("throw",(function(e){throw e})),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:i(e[r](t)),done:"return"===r}:o?o(t):t}:o}},t.__asyncValues=function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=r(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}},t.__makeTemplateObject=function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e};var a=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};t.__importStar=function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&(0,t.__createBinding)(n,e,r);return a(n,e),n},t.__importDefault=function(e){return e&&e.__esModule?e:{default:e}},t.__classPrivateFieldGet=function(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)},t.__classPrivateFieldSet=function(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n},t.__classPrivateFieldIn=function(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}},80031:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Config=void 0;var r=n(47386),o=n(47386),i=function(){function e(){this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument="undefined"!=typeof document?document:null,this.ownerWindow="undefined"!=typeof window?window:null,this.shadowRoot=null,this.styleValues={},this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorCssClass=!1,this.style=!1,this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=1e3,this.useNativeTooltip=!1,this.defaultActionOnPaste=o.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.buttonsMD=["bold","italic","|","ul","ol","eraser","|","font","fontsize","---","image","table","|","link","\n","brush","paragraph","align","|","hr","copyformat","fullsize","---","undo","redo","|","dots"],this.buttonsSM=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"],this.buttonsXS=["bold","brush","paragraph","eraser","|","fontsize","---","image","\n","align","undo","redo","|","link","table","---","dots"],this.events={},this.textIcons=!1,this.showBrowserColorPicker=!0}return Object.defineProperty(e,"defaultOptions",{get:function(){return e.__defaultOptions||(e.__defaultOptions=new e),e.__defaultOptions},enumerable:!1,configurable:!0}),e}();t.Config=i,i.prototype.controls={}},36171:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Async=void 0;var r=n(20255),o=n(45044),i=n(87385),a=n(76856),s=n(15199),l=n(86129),c=n(98296);n(52378);var u=function(){function e(){var e,t,n,r,o=this;this.timers=new Map,this.__callbacks=new Map,this.promisesRejections=new Set,this.requestsIdle=new Set,this.requestsRaf=new Set,this.requestIdleCallbackNative=null!==(t=null===(e=window.requestIdleCallback)||void 0===e?void 0:e.bind(window))&&void 0!==t?t:function(e,t){var n,r=Date.now();return o.setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-r))}})}),null!==(n=null==t?void 0:t.timeout)&&void 0!==n?n:1)},this.cancelIdleCallbackNative=null!==(r=null===(n=window.cancelIdleCallback)||void 0===n?void 0:n.bind(window))&&void 0!==r?r:function(e){o.clearTimeout(e)},this.isDestructed=!1}return e.prototype.delay=function(e){var t=this;return this.promise((function(n){return t.setTimeout(n,e)}))},e.prototype.setTimeout=function(e,t){for(var n=[],i=2;arguments.length>i;i++)n[i-2]=arguments[i];if(this.isDestructed)return 0;var a={};(0,c.isNumber)(t)||(t=(a=t).timeout||0),a.label&&this.clearLabel(a.label);var s=o.setTimeout.apply(void 0,r.__spreadArray([e,t],r.__read(n),!1)),l=a.label||s;return this.timers.set(l,s),this.__callbacks.set(l,e),s},e.prototype.updateTimeout=function(e,t){if(!e||!this.timers.has(e))return null;var n=this.__callbacks.get(e);return this.setTimeout(n,{label:e,timeout:t})},e.prototype.clearLabel=function(e){e&&this.timers.has(e)&&((0,o.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))},e.prototype.clearTimeout=function(e){if((0,l.isString)(e))return this.clearLabel(e);(0,o.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)},e.prototype.debounce=function(e,t,n){var l=this;void 0===n&&(n=!1);var c=0,u=!1,d=[],f=function(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];if(!u){c=0;var o=e.apply(void 0,r.__spreadArray([],r.__read(t),!1));if(u=!0,d.length){var i=function(){d.forEach((function(e){return e()})),d.length=0};(0,s.isPromise)(o)?o.finally(i):i()}}},p=function(){for(var a=[],s=0;arguments.length>s;s++)a[s]=arguments[s];u=!1,t?(!c&&n&&f.apply(void 0,r.__spreadArray([],r.__read(a),!1)),(0,o.clearTimeout)(c),c=l.setTimeout((function(){return f.apply(void 0,r.__spreadArray([],r.__read(a),!1))}),(0,i.isFunction)(t)?t():t),l.timers.set(e,c)):f.apply(void 0,r.__spreadArray([],r.__read(a),!1))};return(0,a.isPlainObject)(t)&&t.promisify?function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];var n=l.promise((function(e){d.push(e)}));return p.apply(void 0,r.__spreadArray([],r.__read(e),!1)),n}:p},e.prototype.throttle=function(e,t,n){var o=this;void 0===n&&(n=!1);var a,s,l,c=null;return function(){for(var n=[],u=0;arguments.length>u;u++)n[u]=arguments[u];a=!0,l=n,t?c||(s=function(){a?(e.apply(void 0,r.__spreadArray([],r.__read(l),!1)),a=!1,c=o.setTimeout(s,(0,i.isFunction)(t)?t():t),o.timers.set(s,c)):c=null})():e.apply(void 0,r.__spreadArray([],r.__read(l),!1))}},e.prototype.promise=function(e){var t=this,n=function(){},r=new Promise((function(r,o){return t.promisesRejections.add(o),n=o,e(r,o)}));return r.finally||(r.finally=function(e){return r.then(e).catch(e),r}),r.finally((function(){t.promisesRejections.delete(n)})).catch((function(){return null})),r.rejectCallback=n,r},e.prototype.promiseState=function(e){var t=this;if(e.status)return e.status;if(!Promise.race)return new Promise((function(n){e.then((function(e){return n("fulfilled"),e}),(function(e){throw n("rejected"),e})),t.setTimeout((function(){n("pending")}),100)}));var n={};return Promise.race([e,n]).then((function(e){return e===n?"pending":"fulfilled"}),(function(){return"rejected"}))},e.prototype.requestIdleCallback=function(e,t){var n=this.requestIdleCallbackNative(e,t);return this.requestsIdle.add(n),n},e.prototype.requestIdlePromise=function(e){var t=this;return this.promise((function(n){var r=t.requestIdleCallback((function(){return n(r)}),e)}))},e.prototype.cancelIdleCallback=function(e){return this.requestsIdle.delete(e),this.cancelIdleCallbackNative(e)},e.prototype.requestAnimationFrame=function(e){var t=requestAnimationFrame(e);return this.requestsRaf.add(t),t},e.prototype.cancelAnimationFrame=function(e){this.requestsRaf.delete(e),cancelAnimationFrame(e)},e.prototype.clear=function(){var e=this;this.requestsIdle.forEach((function(t){return e.cancelIdleCallback(t)})),this.requestsRaf.forEach((function(t){return e.cancelAnimationFrame(t)})),this.timers.forEach((function(t){return(0,o.clearTimeout)(e.timers.get(t))})),this.timers.clear(),this.promisesRejections.forEach((function(e){return e()})),this.promisesRejections.clear()},e.prototype.destruct=function(){this.clear(),this.isDestructed=!0},e}();t.Async=u},68029:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(36171),t)},16867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Component=void 0;var r=n(83370),o=n(16672),i=n(71685),a=n(68029),s=new Map,l=function(){function e(){this.async=new a.Async,this.ownerWindow=window,this.__componentStatus=i.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,o.uniqueUid)()}return Object.defineProperty(e.prototype,"componentName",{get:function(){return this.__componentName||(this.__componentName="jodit-"+(0,r.kebabCase)(((0,r.isFunction)(this.className)?this.className():"")||(0,r.getClassName)(this))),this.__componentName},enumerable:!1,configurable:!0}),e.prototype.getFullElName=function(e,t,n){var o=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),o.push("__".concat(e))),t&&(o.push("_",t),o.push("_",(0,r.isVoid)(n)?"true":n.toString())),o.join("")},Object.defineProperty(e.prototype,"ownerDocument",{get:function(){return this.ow.document},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"od",{get:function(){return this.ownerDocument},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ow",{get:function(){return this.ownerWindow},enumerable:!1,configurable:!0}),e.prototype.get=function(e,t){return(0,r.get)(e,t||this)},Object.defineProperty(e.prototype,"isReady",{get:function(){return this.componentStatus===i.STATUSES.ready},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isDestructed",{get:function(){return this.componentStatus===i.STATUSES.destructed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInDestruct",{get:function(){return i.STATUSES.beforeDestruct===this.componentStatus||i.STATUSES.destructed===this.componentStatus},enumerable:!1,configurable:!0}),e.prototype.bindDestruct=function(e){var t=this;return e.hookStatus(i.STATUSES.beforeDestruct,(function(){return!t.isInDestruct&&t.destruct()})),this},e.prototype.destruct=function(){this.setStatus(i.STATUSES.destructed),this.async.destruct(),s.get(this)&&s.delete(this)},Object.defineProperty(e.prototype,"componentStatus",{get:function(){return this.__componentStatus},set:function(e){this.setStatus(e)},enumerable:!1,configurable:!0}),e.prototype.setStatus=function(e){return this.setStatusComponent(e,this)},e.prototype.setStatusComponent=function(e,t){if(e!==this.__componentStatus){t===this&&(this.__componentStatus=e);var n=Object.getPrototypeOf(this);n&&(0,r.isFunction)(n.setStatusComponent)&&n.setStatusComponent(e,t);var o=s.get(this),i=null==o?void 0:o[e];i&&i.length&&i.forEach((function(e){return e(t)}))}},e.prototype.hookStatus=function(e,t){var n=s.get(this);n||s.set(this,n={}),n[e]||(n[e]=[]),n[e].push(t)},e.isInstanceOf=function(e,t){return e instanceof t},e.STATUSES=i.STATUSES,e}();t.Component=l},95448:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(71685),t),r.__exportStar(n(16867),t),r.__exportStar(n(87785),t)},71685:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.STATUSES=void 0,t.STATUSES={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},87785:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewComponent=void 0;var r=n(20255),o=function(e){function t(t){var n=e.call(this)||this;return n.setParentView(t),n}return r.__extends(t,e),Object.defineProperty(t.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return this.j.defaultTimeout},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t,n=[],o=1;arguments.length>o;o++)n[o-1]=arguments[o];return(t=this.j).i18n.apply(t,r.__spreadArray([e],r.__read(n),!1))},t.prototype.setParentView=function(e){return this.jodit=e,e.components.add(this),this},t.prototype.destruct=function(){return this.j.components.delete(this),e.prototype.destruct.call(this)},t}(n(16867).Component);t.ViewComponent=o},47386:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CLIPBOARD_ID=t.lang=t.TEMP_ATTR=t.BASE_PATH=t.KEY_ALIASES=t.IS_MAC=t.SAFE_COUNT_CHANGE_CALL=t.INSERT_ONLY_TEXT=t.INSERT_AS_TEXT=t.INSERT_CLEAR_HTML=t.INSERT_AS_HTML=t.EMULATE_DBLCLICK_TIMEOUT=t.MARKER_CLASS=t.TEXT_RTF=t.TEXT_HTML=t.TEXT_PLAIN=t.IS_IE=t.MODE_SPLIT=t.MODE_SOURCE=t.MODE_WYSIWYG=t.PARAGRAPH=t.BR=t.COMMAND_KEYS=t.ACCURACY=t.NEARBY=t.KEY_F3=t.KEY_DELETE=t.KEY_SPACE=t.KEY_DOWN=t.KEY_RIGHT=t.KEY_UP=t.KEY_LEFT=t.KEY_ALT=t.KEY_ESC=t.KEY_ENTER=t.KEY_TAB=t.KEY_BACKSPACE=t.KEY_META=t.MAY_BE_REMOVED_WITH_KEY=t.INSEPARABLE_TAGS=t.IS_INLINE=t.IS_BLOCK=t.SPACE_REG_EXP_END=t.SPACE_REG_EXP_START=t.SPACE_REG_EXP=t.INVISIBLE_SPACE_REG_EXP_START=t.INVISIBLE_SPACE_REG_EXP_END=t.INVISIBLE_SPACE_REG_EXP=t.NBSP_SPACE=t.INVISIBLE_SPACE=void 0,t.SOURCE_CONSUMER=void 0,t.INVISIBLE_SPACE="\ufeff",t.NBSP_SPACE=" ",t.INVISIBLE_SPACE_REG_EXP=function(){return/[\uFEFF]/g},t.INVISIBLE_SPACE_REG_EXP_END=function(){return/[\uFEFF]+$/g},t.INVISIBLE_SPACE_REG_EXP_START=function(){return/^[\uFEFF]+/g},t.SPACE_REG_EXP=function(){return/[\s\n\t\r\uFEFF\u200b]+/g},t.SPACE_REG_EXP_START=function(){return/^[\s\n\t\r\uFEFF\u200b]+/g},t.SPACE_REG_EXP_END=function(){return/[\s\n\t\r\uFEFF\u200b]+$/g},t.IS_BLOCK=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,t.IS_INLINE=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,t.INSEPARABLE_TAGS=["img","br","video","iframe","script","input","textarea","hr","link","jodit","jodit-media"],t.MAY_BE_REMOVED_WITH_KEY=RegExp("^".concat(t.INSEPARABLE_TAGS.join("|"),"$"),"i"),t.KEY_META="Meta",t.KEY_BACKSPACE="Backspace",t.KEY_TAB="Tab",t.KEY_ENTER="Enter",t.KEY_ESC="Escape",t.KEY_ALT="Alt",t.KEY_LEFT="ArrowLeft",t.KEY_UP="ArrowUp",t.KEY_RIGHT="ArrowRight",t.KEY_DOWN="ArrowDown",t.KEY_SPACE="Space",t.KEY_DELETE="Delete",t.KEY_F3="F3",t.NEARBY=5,t.ACCURACY=10,t.COMMAND_KEYS=[t.KEY_META,t.KEY_BACKSPACE,t.KEY_DELETE,t.KEY_UP,t.KEY_DOWN,t.KEY_RIGHT,t.KEY_LEFT,t.KEY_ENTER,t.KEY_ESC,t.KEY_F3,t.KEY_TAB],t.BR="br",t.PARAGRAPH="p",t.MODE_WYSIWYG=1,t.MODE_SOURCE=2,t.MODE_SPLIT=3,t.IS_IE="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),t.TEXT_PLAIN=t.IS_IE?"text":"text/plain",t.TEXT_HTML=t.IS_IE?"html":"text/html",t.TEXT_RTF=t.IS_IE?"rtf":"text/rtf",t.MARKER_CLASS="jodit-selection_marker",t.EMULATE_DBLCLICK_TIMEOUT=300,t.INSERT_AS_HTML="insert_as_html",t.INSERT_CLEAR_HTML="insert_clear_html",t.INSERT_AS_TEXT="insert_as_text",t.INSERT_ONLY_TEXT="insert_only_text",t.SAFE_COUNT_CHANGE_CALL=10,t.IS_MAC="undefined"!=typeof window&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),t.KEY_ALIASES={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:t.IS_MAC?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},t.BASE_PATH=function(){if("undefined"==typeof document)return"";var e=document.currentScript,t=function(e){var t=e.split("/");return/\.js/.test(t[t.length-1])?t.slice(0,t.length-1).join("/")+"/":e};if(e)return t(e.src);var n=document.querySelectorAll("script[src]");return n&&n.length?t(n[n.length-1].src):window.location.href}(),t.TEMP_ATTR="data-jodit-temp",t.lang={},t.CLIPBOARD_ID="clipboard",t.SOURCE_CONSUMER="source-consumer"},67006:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Create=void 0;var r=n(83370);n(52378);var o=n(36516),i=n(47386),a=function(){function e(e,t){this.document=e,this.createAttributes=t}return Object.defineProperty(e.prototype,"doc",{get:function(){return(0,r.isFunction)(this.document)?this.document():this.document},enumerable:!1,configurable:!0}),e.prototype.element=function(e,t,n){var o=this,i=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(i),t&&((0,r.isPlainObject)(t)?(0,r.attr)(i,t):n=t),n&&(0,r.asArray)(n).forEach((function(e){return i.appendChild((0,r.isString)(e)?o.fromHTML(e):e)})),i},e.prototype.div=function(e,t,n){var r=this.element("div",t,n);return e&&(r.className=e),r},e.prototype.sandbox=function(){var e,t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);var n=null===(e=t.contentWindow)||void 0===e?void 0:e.document;if(!n)throw Error("Iframe error");return n.open(),n.write("<!DOCTYPE html><html><head></head><body></body></html>"),n.close(),n.body},e.prototype.span=function(e,t,n){var r=this.element("span",t,n);return e&&(r.className=e),r},e.prototype.a=function(e,t,n){var r=this.element("a",t,n);return e&&(r.className=e),r},e.prototype.text=function(e){return this.doc.createTextNode(e)},e.prototype.fake=function(){return this.text(i.INVISIBLE_SPACE)},e.prototype.fragment=function(){return this.doc.createDocumentFragment()},e.prototype.fromHTML=function(e,t){var n=this.div();n.innerHTML=e.toString();var i=n.firstChild===n.lastChild&&n.firstChild?n.firstChild:n;if(o.Dom.safeRemove(i),t){var a=(0,r.refs)(i);Object.keys(t).forEach((function(e){var n=a[e];n&&!1===t[e]&&o.Dom.hide(n)}))}return i},e.prototype.applyCreateAttributes=function(e){if(this.createAttributes){var t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){var n=t[e.tagName.toLowerCase()];(0,r.isFunction)(n)?n(e):(0,r.isPlainObject)(n)&&(0,r.attr)(e,n)}}},e}();t.Create=a},98693:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(67006),t)},13818:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cache=void 0;var r=n(83370);t.cache=function(e,t,n){var o=n.get;if(!o)throw(0,r.error)("Getter property descriptor expected");n.get=function(){var e=o.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:n.configurable,enumerable:n.enumerable,writable:!1,value:e}),e}}},45466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.component=void 0;var r=n(20255);t.component=function(e){var t=function(e){function t(){for(var n=[],o=0;arguments.length>o;o++)n[o]=arguments[o];var i=e.apply(this,r.__spreadArray([],r.__read(n),!1))||this;return i.constructor===t&&(i instanceof t||Object.setPrototypeOf(i,t.prototype),i.setStatus("ready")),i}return r.__extends(t,e),t}(e);return t}},2830:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.throttle=t.debounce=void 0;var r=n(80450),o=n(95448),i=n(93108);function a(e,t,n){return void 0===t&&(t=!1),void 0===n&&(n="debounce"),function(a,s){var l=a[s];if(!(0,r.isFunction)(l))throw(0,i.error)("Handler must be a Function");return a.hookStatus(o.STATUSES.ready,(function(o){var i=o.async,a=(0,r.isFunction)(e)?e(o):e;Object.defineProperty(o,s,{configurable:!0,value:i[n](o[s].bind(o),(0,r.isNumber)(a)||(0,r.isPlainObject)(a)?a:o.defaultTimeout,t)})})),{configurable:!0,get:function(){return l.bind(this)}}}}n(52378),t.debounce=a,t.throttle=function(e,t){return void 0===t&&(t=!1),a(e,t,"throttle")}},94867:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.derive=void 0;var r=n(20255),o=n(80450);t.derive=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return function(t){for(var n=t.prototype,i=0;e.length>i;i++)for(var a=e[i],s=Object.getOwnPropertyNames(a.prototype),l=function(e){var t=s[e],i=Object.getOwnPropertyDescriptor(a.prototype,t);null!=i&&(0,o.isFunction)(i.value)&&!(0,o.isFunction)(n[t])&&Object.defineProperty(n,t,{enumerable:!0,configurable:!0,writable:!0,value:function(){for(var e,t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return(e=i.value).call.apply(e,r.__spreadArray([this],r.__read(t),!1))}})},c=0;s.length>c;c++)l(c)}}},9479:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hook=void 0;var r=n(80450),o=n(93108);t.hook=function(e){return function(t,n){if(!(0,r.isFunction)(t[n]))throw(0,o.error)("Handler must be a Function");t.hookStatus(e,(function(e){e[n].call(e)}))}}},68032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.idle=void 0;var r=n(20255),o=n(95448),i=n(83370);t.idle=function(){return function(e,t){if(!(0,i.isFunction)(e[t]))throw(0,i.error)("Handler must be a Function");e.hookStatus(o.STATUSES.ready,(function(e){var n=e.async,o=e[t];e[t]=function(){for(var t=[],i=0;arguments.length>i;i++)t[i]=arguments[i];return n.requestIdleCallback(o.bind.apply(o,r.__spreadArray([e],r.__read(t),!1)))}}))}}},18731:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autobind=void 0;var r=n(20255);r.__exportStar(n(13818),t),r.__exportStar(n(45466),t),r.__exportStar(n(2830),t),r.__exportStar(n(68032),t),r.__exportStar(n(9479),t),r.__exportStar(n(53043),t),r.__exportStar(n(90100),t),r.__exportStar(n(37901),t),r.__exportStar(n(30192),t),r.__exportStar(n(94867),t);var o=n(70631);Object.defineProperty(t,"autobind",{enumerable:!0,get:function(){return o.default}})},53043:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nonenumerable=void 0,t.nonenumerable=function(e,t){!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set:function(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},90100:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.persistent=void 0;var r=n(95448),o=n(33679);t.persistent=function(e,t){e.hookStatus(r.STATUSES.ready,(function(e){var n=(0,o.isViewObject)(e)?e:e.jodit,r="".concat(n.options.namespace).concat(e.componentName,"_prop_").concat(t),i=e[t];Object.defineProperty(e,t,{get:function(){var e;return null!==(e=n.storage.get(r))&&void 0!==e?e:i},set:function(e){n.storage.set(r,e)}})}))}},37901:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wait=void 0;var r=n(20255),o=n(83370),i=n(95448);t.wait=function(e){return function(t,n){if(!(0,o.isFunction)(t[n]))throw(0,o.error)("Handler must be a Function");t.hookStatus(i.STATUSES.ready,(function(t){var o=t.async,i=t[n],a=0;Object.defineProperty(t,n,{configurable:!0,value:function n(){for(var s=[],l=0;arguments.length>l;l++)s[l]=arguments[l];o.clearTimeout(a),e(t)?i.apply(t,s):a=o.setTimeout((function(){return n.apply(void 0,r.__spreadArray([],r.__read(s),!1))}),10)}})}))}}},30192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.watch=t.getPropertyDescriptor=void 0;var r=n(20255),o=n(87385),i=n(76856),a=n(33679),s=n(34526),l=n(71685),c=n(11986),u=n(93108);function d(e,t){var n;do{n=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e)}while(!n&&e);return n}function f(e,t){return function(n,f){if(!(0,o.isFunction)(n[f]))throw(0,u.error)("Handler must be a Function");var p=function(l){var u=function(e){for(var t,n=[],o=1;arguments.length>o;o++)n[o-1]=arguments[o];if(!l.isInDestruct)return(t=l)[f].apply(t,r.__spreadArray([e],r.__read(n),!1))};(0,c.splitArray)(e).forEach((function(e){if(/:/.test(e)){var c=r.__read(e.split(":"),2),f=c[0],p=c[1],h=t,m=(0,a.isViewObject)(l)?l:l.jodit;return f.length&&(h=l.get(f)),(0,o.isFunction)(h)&&(h=h(l)),m.events.on(h||l,p,u),h||m.events.on(p,u),void l.hookStatus("beforeDestruct",(function(){m.events.off(h||l,p,u).off(p,u)}))}var g=e.split("."),v=r.__read(g,1)[0],b=g.slice(1),y=l[v];(0,i.isPlainObject)(y)&&(0,s.observable)(y).on("change.".concat(b.join(".")),u);var A=d(n,v);Object.defineProperty(l,v,{configurable:!0,set:function(e){var t=y;t!==e&&(y=e,A&&A.set&&A.set.call(l,e),(0,i.isPlainObject)(y)&&(y=(0,s.observable)(y)).on("change.".concat(b.join(".")),u),u(v,t,y))},get:function(){return A&&A.get?A.get.call(l):y}})}))};(0,o.isFunction)(n.hookStatus)?n.hookStatus(l.STATUSES.ready,p):p(n)}}t.getPropertyDescriptor=d,t.watch=f,t.default=f},65401:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dom=void 0;var r=n(20255),o=n(47386),i=n(83370),a=n(74700),s=n(47386),l=function(){function e(){}return e.detach=function(e){for(;e.firstChild;)e.removeChild(e.firstChild)},e.wrapInline=function(t,n,r){var o,a=t,s=t;r.s.save();var l=!1;do{l=!1,(o=a.previousSibling)&&!e.isBlock(o)&&(l=!0,a=o)}while(l);do{l=!1,(o=s.nextSibling)&&!e.isBlock(o)&&(l=!0,s=o)}while(l);var c=(0,i.isString)(n)?r.createInside.element(n):n;a.parentNode&&a.parentNode.insertBefore(c,a);for(var u=a;u&&(u=a.nextSibling,c.appendChild(a),a!==s&&u);)a=u;return r.s.restore(),c},e.wrap=function(t,n,r){var o=(0,i.isString)(n)?r.element(n):n;if(e.isNode(t)){if(!t.parentNode)throw(0,i.error)("Element should be in DOM");t.parentNode.insertBefore(o,t),o.appendChild(t)}else{var a=t.extractContents();t.insertNode(o),o.appendChild(a)}return o},e.unwrap=function(t){var n=t.parentNode;if(n){for(;t.firstChild;)n.insertBefore(t.firstChild,t);e.safeRemove(t)}},e.between=function(e,t,n){for(var r=e;r&&r!==t&&(e===r||!n(r));){var o=r.firstChild||r.nextSibling;if(!o){for(;r&&!r.nextSibling;)r=r.parentNode;o=null==r?void 0:r.nextSibling}r=o}},e.replace=function(t,n,r,o,a){void 0===o&&(o=!1),void 0===a&&(a=!1),(0,i.isHTML)(n)&&(n=r.fromHTML(n));var s=(0,i.isString)(n)?r.element(n):n;if(!a)for(;t.firstChild;)s.appendChild(t.firstChild);return o&&e.isElement(t)&&e.isElement(s)&&(0,i.toArray)(t.attributes).forEach((function(e){s.setAttribute(e.name,e.value)})),t.parentNode&&t.parentNode.replaceChild(s,t),s},e.isEmptyTextNode=function(t){return e.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(o.INVISIBLE_SPACE_REG_EXP(),"").trim().length)},e.isEmptyContent=function(t){return e.each(t,(function(t){return e.isEmptyTextNode(t)}))},e.isContentEditable=function(t,n){return e.isNode(t)&&!e.closest(t,(function(t){return e.isElement(t)&&"false"===t.getAttribute("contenteditable")}),n)},e.isEmpty=function(t,n){return void 0===n&&(n=/^(img|svg|canvas|input|textarea|form)$/),!t||(e.isText(t)?null==t.nodeValue||0===(0,i.trim)(t.nodeValue).length:!n.test(t.nodeName.toLowerCase())&&e.each(t,(function(t){if(e.isText(t)&&null!=t.nodeValue&&0!==(0,i.trim)(t.nodeValue).length||e.isElement(t)&&n.test(t.nodeName.toLowerCase()))return!1})))},e.isNode=function(e){return Boolean(e&&(0,i.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,i.isFunction)(e.appendChild))},e.isCell=function(t){return e.isNode(t)&&/^(td|th)$/i.test(t.nodeName)},e.isImage=function(t){return e.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)},e.isBlock=function(t){return!(0,i.isVoid)(t)&&"object"==typeof t&&e.isNode(t)&&o.IS_BLOCK.test(t.nodeName)},e.isText=function(e){return Boolean(e&&e.nodeType===Node.TEXT_NODE)},e.isElement=function(t){var n;if(!e.isNode(t))return!1;var r=null===(n=t.ownerDocument)||void 0===n?void 0:n.defaultView;return Boolean(r&&t.nodeType===Node.ELEMENT_NODE)},e.isFragment=function(t){var n;if(!e.isNode(t))return!1;var r=null===(n=t.ownerDocument)||void 0===n?void 0:n.defaultView;return Boolean(r&&t.nodeType===Node.DOCUMENT_FRAGMENT_NODE)},e.isHTMLElement=function(t){var n;if(!e.isNode(t))return!1;var r=null===(n=t.ownerDocument)||void 0===n?void 0:n.defaultView;return Boolean(r&&t instanceof r.HTMLElement)},e.isInlineBlock=function(t){return e.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf((0,i.css)(t,"display").toString())},e.canSplitBlock=function(t){return!(0,i.isVoid)(t)&&e.isHTMLElement(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position)},e.last=function(e,t){var n=null==e?void 0:e.lastChild;if(!n)return null;do{if(t(n))return n;var r=n.lastChild;if(r||(r=n.previousSibling),!r&&n.parentNode!==e){do{n=n.parentNode}while(n&&!(null==n?void 0:n.previousSibling)&&n.parentNode!==e);r=null==n?void 0:n.previousSibling}n=r}while(n);return null},e.prev=function(t,n,r,o){return void 0===o&&(o=!0),e.find(t,n,r,!1,o)},e.next=function(t,n,r,o){return void 0===o&&(o=!0),e.find(t,n,r,!0,o)},e.prevWithClass=function(t,n){return e.prev(t,(function(t){return e.isElement(t)&&t.classList.contains(n)}),t.parentNode)},e.nextWithClass=function(t,n){return e.next(t,(function(t){return e.isElement(t)&&t.classList.contains(n)}),t.parentNode)},e.find=function(e,t,n,r,o){void 0===r&&(r=!0),void 0===o&&(o=!0);for(var i=this.nextGen(e,n,r,o),a=i.next();!a.done;){if(t(a.value))return a.value;a=i.next()}return null},e.nextGen=function(e,t,n,o){var i,a,s;return void 0===n&&(n=!0),void 0===o&&(o=!0),r.__generator(this,(function(l){switch(l.label){case 0:i=[],a=e,l.label=1;case 1:for(s=n?a.nextSibling:a.previousSibling;s;)i.unshift(s),s=n?s.nextSibling:s.previousSibling;return[5,r.__values(this.runInStack(e,i,n,o))];case 2:l.sent(),a=a.parentNode,l.label=3;case 3:if(a&&a!==t)return[3,1];l.label=4;case 4:return[2,null]}}))},e.each=function(e,t,n){void 0===n&&(n=!0);for(var r=this.eachGen(e,n),o=r.next();!o.done;){if(!1===t(o.value))return!1;o=r.next()}return!0},e.eachGen=function(e,t){return void 0===t&&(t=!0),this.runInStack(e,[e],t)},e.runInStack=function(e,t,n,o){var i,a;return void 0===o&&(o=!0),r.__generator(this,(function(r){switch(r.label){case 0:if(!t.length)return[3,3];if(i=t.pop(),o)for(a=n?i.lastChild:i.firstChild;a;)t.push(a),a=n?a.previousSibling:a.nextSibling;return e===i?[3,2]:[4,i];case 1:r.sent(),r.label=2;case 2:return[3,0];case 3:return[2]}}))},e.findWithCurrent=function(t,n,r,o,i){void 0===o&&(o="nextSibling"),void 0===i&&(i="firstChild");var a=t;do{if(n(a))return a||null;if(i&&a&&a[i]){var s=e.findWithCurrent(a[i],n,a,o,i);if(s)return s}for(;a&&!a[o]&&a!==r;)a=a.parentNode;a&&a[o]&&a!==r&&(a=a[o])}while(a&&a!==r);return null},e.findSibling=function(t,n,r){void 0===n&&(n=!0),void 0===r&&(r=function(t){return!e.isEmptyTextNode(t)});for(var o=e.sibling(t,n);o&&!r(o);)o=e.sibling(o,n);return o&&r(o)?o:null},e.findNotEmptySibling=function(t,n){return e.findSibling(t,n,(function(t){var n;return!e.isEmptyTextNode(t)&&Boolean(!e.isText(t)||(null===(n=t.nodeValue)||void 0===n?void 0:n.length)&&(0,i.trim)(t.nodeValue))}))},e.findNotEmptyNeighbor=function(t,n,r){return(0,i.call)(n?e.prev:e.next,t,(function(t){return Boolean(t&&(!e.isText(t)||(0,i.trim)((null==t?void 0:t.nodeValue)||"").length))}),r)},e.sibling=function(e,t){return t?e.previousSibling:e.nextSibling},e.up=function(e,t,n,r){void 0===r&&(r=!1);var o=e;if(!o)return null;do{if(t(o))return o;if(o===n||!o.parentNode)break;o=o.parentNode}while(o&&o!==n);return o===n&&r&&t(o)?o:null},e.closest=function(t,n,r){var o;return o=(0,i.isFunction)(n)?n:(0,i.isArray)(n)?function(e){return Boolean(e&&n.includes(e.nodeName.toLowerCase()))}:function(e){return Boolean(e&&n===e.nodeName.toLowerCase())},e.up(t,o,r)},e.furthest=function(e,t,n){for(var r=null,o=null==e?void 0:e.parentElement;o&&o!==n;)t(o)&&(r=o),o=null==o?void 0:o.parentElement;return r},e.appendChildFirst=function(e,t){var n=e.firstChild;n?n!==t&&e.insertBefore(t,n):e.appendChild(t)},e.after=function(e,t){var n=e.parentNode;n&&(n.lastChild===e?n.appendChild(t):n.insertBefore(t,e.nextSibling))},e.before=function(e,t){var n=e.parentNode;n&&n.insertBefore(t,e)},e.prepend=function(e,t){e.insertBefore(t,e.firstChild)},e.append=function(e,t){var n=this;(0,i.isArray)(t)?t.forEach((function(t){n.append(e,t)})):e.appendChild(t)},e.moveContent=function(e,t,n){void 0===n&&(n=!1);var r=(e.ownerDocument||document).createDocumentFragment();(0,i.toArray)(e.childNodes).forEach((function(e){r.appendChild(e)})),n&&t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)},e.isOrContains=function(e,t,n){return void 0===n&&(n=!1),e===t?!n:Boolean(t&&e&&this.up(t,(function(t){return t===e}),e,!0))},e.safeRemove=function(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];t.forEach((function(t){return e.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)}))},e.safeInsertNode=function(t,n){t.collapsed||t.deleteContents(),t.insertNode(n),[n.nextSibling,n.previousSibling].forEach((function(t){return e.isText(t)&&!t.nodeValue&&e.safeRemove(t)}))},e.hide=function(e){e&&((0,i.dataBind)(e,"__old_display",e.style.display),e.style.display="none")},e.show=function(e){if(e){var t=(0,i.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}},e.isTag=function(e,t){for(var n=(0,i.asArray)(t).map(String),r=0;n.length>r;r+=1)if(this.isElement(e)&&e.tagName.toLowerCase()===n[r].toLowerCase())return!0;return!1},e.markTemporary=function(e,t){return t&&(0,i.attr)(e,t),(0,i.attr)(e,s.TEMP_ATTR,!0),e},e.isTemporary=function(t){return!!e.isElement(t)&&(a.Select.isMarker(t)||"true"===(0,i.attr)(t,s.TEMP_ATTR))},e.replaceTemporaryFromString=function(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")},e.temporaryList=function(e){return(0,i.$$)("[".concat(s.TEMP_ATTR,"]"),e)},e}();t.Dom=l},36516:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(65401),t),r.__exportStar(n(20847),t)},20847:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LazyWalker=void 0;var r=n(20255),o=n(36090),i=n(18731),a=n(65401),s=function(e){function t(t,n){void 0===n&&(n={});var r=e.call(this)||this;return r.async=t,r.options=n,r.workNodes=null,r.hadAffect=!1,r.isWorked=!1,r.isFinished=!1,r.idleId=0,r}return r.__extends(t,e),t.prototype.setWork=function(e){return this.isWorked&&this.break(),this.workNodes=a.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this.startIdleRequest(),this},t.prototype.startIdleRequest=function(){var e;this.idleId=this.async.requestIdleCallback(this.workPerform,{timeout:null!==(e=this.options.timeout)&&void 0!==e?e:10})},t.prototype.break=function(e){this.isWorked&&(this.stop(),this.emit("break",e))},t.prototype.end=function(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)},t.prototype.stop=function(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)},t.prototype.destruct=function(){e.prototype.destruct.call(this),this.stop()},t.prototype.workPerform=function(e){var t;if(this.workNodes){this.isWorked=!0;for(var n=0,r=null!==(t=this.options.timeoutChunkSize)&&void 0!==t?t:50;!this.isFinished&&(e.timeRemaining()>0||e.didTimeout&&r>=n);){var o=this.workNodes.next();if(n+=1,this.visitNode(o.value)&&(this.hadAffect=!0),o.done)return void this.end()}}else this.end();this.isFinished||this.startIdleRequest()},t.prototype.visitNode=function(e){var t;return!(!e||void 0!==this.options.whatToShow&&e.nodeType!==this.options.whatToShow)&&null!==(t=this.emit("visit",e))&&void 0!==t&&t},r.__decorate([i.autobind],t.prototype,"workPerform",null),t}(o.Eventify);t.LazyWalker=s},80192:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventEmitter=void 0;var r=n(20255),o=n(8554),i=n(86129),a=n(87385),s=n(41515),l=n(93108),c=n(11986),u=function(){function e(e){var t=this;this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=document,this.__prepareEvent=function(e){e.cancelBubble||(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((function(t){Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})})),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&t.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:function(){return t.__doc.defaultView.clipboardData},configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=(new Date).getTime()}return e.prototype.mute=function(e){return this.__mutedEvents.add(null!=e?e:"*"),this},e.prototype.isMuted=function(e){return!(!e||!this.__mutedEvents.has(e))||this.__mutedEvents.has("*")},e.prototype.unmute=function(e){return this.__mutedEvents.delete(null!=e?e:"*"),this},e.prototype.__eachEvent=function(e,t){var n=this;(0,c.splitArray)(e).map((function(e){return e.trim()})).forEach((function(e){var r=e.split(".");t.call(n,r[0],r[1]||o.defaultNameSpace)}))},e.prototype.__getStore=function(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){var t=new o.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]},e.prototype.__removeStoreFromSubject=function(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})},e.prototype.__triggerNativeEvent=function(e,t){var n=this.__doc.createEvent("HTMLEvents");(0,i.isString)(t)?n.initEvent(t,!0,!0):(n.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((function(e){Object.defineProperty(n,e,{value:t[e],enumerable:!0})})),Object.defineProperty(n,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(n)},Object.defineProperty(e.prototype,"current",{get:function(){return this.currents[this.currents.length-1]},enumerable:!1,configurable:!0}),e.prototype.on=function(e,t,n,o){var c,u,d,f,p=this;if((0,i.isString)(e)||(0,i.isStringArray)(e)?(c=this,u=e,d=t,f=n):(c=e,u=t,d=n,f=o),!(0,i.isString)(u)&&!(0,i.isStringArray)(u)||0===u.length)throw(0,l.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,l.error)("Need event handler");if((0,s.isArray)(c))return c.forEach((function(e){p.on(e,u,d,f)})),this;var h=c,m=this.__getStore(h),g=(0,a.isFunction)(h.addEventListener),v=this,b=function(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];if(!v.isMuted(e))return d&&d.call.apply(d,r.__spreadArray([this],r.__read(t),!1))};return g&&(b=function(e){if(!v.isMuted(e.type))return v.__prepareEvent(e),d&&!1===d.call(this,e)?(e.preventDefault(),e.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(u,(function(e,t){if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,d)&&(m.set(e,t,{event:e,originalCallback:d,syntheticCallback:b},null==f?void 0:f.top),g)){var n=!!["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"].includes(e)&&{passive:!0};h.addEventListener(e,b,n)}})),this},e.prototype.one=function(e,t,n,o){var a,s,l,c,u=this;(0,i.isString)(e)||(0,i.isStringArray)(e)?(a=this,s=e,l=t,c=n):(a=e,s=t,l=n,c=o);var d=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return u.off(a,s,d),l.apply(void 0,r.__spreadArray([],r.__read(e),!1))};return this.on(a,s,d,c),this},e.prototype.off=function(e,t,n){var r,l,c,u=this;if((0,i.isString)(e)||(0,i.isStringArray)(e)?(r=this,l=e,c=t):(r=e,l=t,c=n),(0,s.isArray)(r))return r.forEach((function(e){u.off(e,l,c)})),this;var d=r,f=this.__getStore(d);if(!(0,i.isString)(l)&&!(0,i.isStringArray)(l)||0===l.length)return f.namespaces().forEach((function(e){u.off(d,"."+e)})),this.__removeStoreFromSubject(d),this;var p=(0,a.isFunction)(d.removeEventListener),h=function(e){p&&d.removeEventListener(e.event,e.syntheticCallback,!1)},m=function(e,t){if(""!==e){var n=f.get(e,t);if(n&&n.length)if((0,a.isFunction)(c)){var r=f.indexOf(e,t,c);!1!==r&&(h(n[r]),n.splice(r,1),n.length||f.clearEvents(t,e))}else n.forEach(h),n.length=0,f.clearEvents(t,e)}else f.events(t).forEach((function(e){""!==e&&m(e,t)}))};return this.__eachEvent(l,(function(e,t){t===o.defaultNameSpace?f.namespaces().forEach((function(t){m(e,t)})):m(e,t)})),f.isEmpty()&&this.__removeStoreFromSubject(d),this},e.prototype.stopPropagation=function(e,t){var n=this,r=(0,i.isString)(e)?this:e,a=(0,i.isString)(e)?e:t;if("string"!=typeof a)throw(0,l.error)("Need event names");var s=this.__getStore(r);this.__eachEvent(a,(function(e,t){var i=s.get(e,t);i&&n.__stopped.push(i),t===o.defaultNameSpace&&s.namespaces(!0).forEach((function(t){return n.stopPropagation(r,e+"."+t)}))}))},e.prototype.__removeStop=function(e){if(e){var t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}},e.prototype.__isStopped=function(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)},e.prototype.fire=function(e,t){for(var n,s,c=this,u=[],d=2;arguments.length>d;d++)u[d-2]=arguments[d];var f=(0,i.isString)(e)?this:e,p=(0,i.isString)(e)?e:t,h=(0,i.isString)(e)?r.__spreadArray([t],r.__read(u),!1):u,m=(0,a.isFunction)(f.dispatchEvent);if(!m&&!(0,i.isString)(p))throw(0,l.error)("Need events names");var g=this.__getStore(f);return!(0,i.isString)(p)&&m?this.__triggerNativeEvent(f,t):this.__eachEvent(p,(function(e,t){if(m)c.__triggerNativeEvent(f,e);else{var i=g.get(e,t);if(i)try{r.__spreadArray([],r.__read(i),!1).every((function(t){var o;return!c.__isStopped(i)&&(c.currents.push(e),s=(o=t.syntheticCallback).call.apply(o,r.__spreadArray([f,e],r.__read(h),!1)),c.currents.pop(),void 0!==s&&(n=s),!0)}))}finally{c.__removeStop(i)}t!==o.defaultNameSpace||m||g.namespaces().filter((function(e){return e!==t})).forEach((function(t){var o=c.fire.apply(c,r.__spreadArray([f,e+"."+t],r.__read(h),!1));void 0!==o&&(n=o)}))}})),n},e.prototype.destruct=function(){this.__isDestructed&&(this.__isDestructed=!0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))},e}();t.EventEmitter=u},36090:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Eventify=void 0;var r=n(20255),o=function(){function e(){this.__map=new Map}return e.prototype.on=function(e,t){var n;return this.__map.has(e)||this.__map.set(e,new Set),null===(n=this.__map.get(e))||void 0===n||n.add(t),this},e.prototype.off=function(e,t){var n;return this.__map.has(e)&&(null===(n=this.__map.get(e))||void 0===n||n.delete(t)),this},e.prototype.destruct=function(){this.__map.clear()},e.prototype.emit=function(e){for(var t,n,o=[],i=1;arguments.length>i;i++)o[i-1]=arguments[i];return this.__map.has(e)&&(null===(t=this.__map.get(e))||void 0===t||t.forEach((function(e){n=e.apply(void 0,r.__spreadArray([],r.__read(o),!1))}))),n},e}();t.Eventify=o},51850:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(80192),t),r.__exportStar(n(36090),t),r.__exportStar(n(34526),t),r.__exportStar(n(8554),t)},34526:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.observable=void 0;var r=n(20255),o=n(41515),i=n(13739),a=n(76856),s=n(30192),l=Symbol("observable-object");function c(e){return void 0!==e[l]}t.observable=function(e){if(c(e))return e;var t={},n={},u=function(t,r){return(0,o.isArray)(t)?(t.map((function(e){return u(e,r)})),e):(n[t]||(n[t]=[]),n[t].push(r),e)},d=function(i){for(var a=[],s=1;arguments.length>s;s++)a[s-1]=arguments[s];if((0,o.isArray)(i))i.map((function(e){return d.apply(void 0,r.__spreadArray([e],r.__read(a),!1))}));else try{!t[i]&&n[i]&&(t[i]=!0,n[i].forEach((function(t){return t.call.apply(t,r.__spreadArray([e],r.__read(a),!1))})))}finally{t[i]=!1}},f=function(t,n){void 0===n&&(n=[]);var o={};c(t)||(Object.defineProperty(t,l,{enumerable:!1,value:!0}),Object.keys(t).forEach((function(l){var c=l,u=n.concat(c).filter((function(e){return e.length}));o[c]=t[c];var p=(0,s.getPropertyDescriptor)(t,c);Object.defineProperty(t,c,{set:function(t){var n=o[c];if(!(0,i.isFastEqual)(o[c],t)){d(["beforeChange","beforeChange.".concat(u.join("."))],c,t),(0,a.isPlainObject)(t)&&f(t,u),p&&p.set?p.set.call(e,t):o[c]=t;var s=[];d(r.__spreadArray(["change"],r.__read(u.reduce((function(e,t){return s.push(t),e.push("change.".concat(s.join("."))),e}),[])),!1),u.join("."),n,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:function(){return p&&p.get?p.get.call(e):o[c]},enumerable:!0,configurable:!0}),(0,a.isPlainObject)(o[c])&&f(o[c],u)})),Object.defineProperty(e,"on",{value:u}))};return f(e),e}},8554:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlersStore=t.defaultNameSpace=void 0,n(52378);var r=n(58260);t.defaultNameSpace="JoditEventDefaultNamespace";var o=function(){function e(){this.__store=new Map}return e.prototype.get=function(e,t){if(this.__store.has(t))return this.__store.get(t)[e]},e.prototype.indexOf=function(e,t,n){var r=this.get(e,t);if(r)for(var o=0;r.length>o;o+=1)if(r[o].originalCallback===n)return o;return!1},e.prototype.namespaces=function(e){void 0===e&&(e=!1);var n=(0,r.toArray)(this.__store.keys());return e?n.filter((function(e){return e!==t.defaultNameSpace})):n},e.prototype.events=function(e){var t=this.__store.get(e);return t?Object.keys(t):[]},e.prototype.set=function(e,t,n,r){void 0===r&&(r=!1);var o=this.__store.get(t);o||this.__store.set(t,o={}),void 0===o[e]&&(o[e]=[]),r?o[e].unshift(n):o[e].push(n)},e.prototype.clear=function(){this.__store.clear()},e.prototype.clearEvents=function(e,t){var n=this.__store.get(e);n&&n[t]&&(delete n[t],Object.keys(n).length||this.__store.delete(e))},e.prototype.isEmpty=function(){return 0===this.__store.size},e}();t.EventHandlersStore=o},16672:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.eventEmitter=t.getContainer=t.extendLang=t.modules=t.pluginSystem=t.uniqueUid=t.instances=void 0;var r=n(60154),o=n(36516),i=n(51850),a=n(12866),s=n(33679),l=n(870),c=n(72919),u=n(47386);t.instances={};var d=1,f=new Set;t.uniqueUid=function(){function e(){return d+=10*(Math.random()+1),Math.round(d).toString(16)}for(var t=e();f.has(t);)t=e();return f.add(t),t},t.pluginSystem=new r.PluginSystem,t.modules={},t.extendLang=function(e){Object.keys(e).forEach((function(t){u.lang[t]?Object.assign(u.lang[t],e[t]):u.lang[t]=e[t]}))};var p=new WeakMap;t.getContainer=function(e,t,n,r){void 0===n&&(n="div"),void 0===r&&(r=!1);var i=t?(0,l.getClassName)(t.prototype):"jodit-utils",u=p.get(e)||{},d=i+n,f=(0,s.isViewObject)(e)?e:e.j;if(!u[d]){var h=f.c,m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:e.od.body;if(r&&(0,a.isJoditObject)(e)&&e.od!==e.ed){h=e.createInside;var g="style"===n?e.ed.head:e.ed.body;m=(0,a.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:g}var v=h.element(n,{className:"jodit jodit-".concat((0,c.kebabCase)(i),"-container jodit-box")});v.classList.add("jodit_theme_".concat(f.o.theme||"default")),m.appendChild(v),u[d]=v,e.hookStatus("beforeDestruct",(function(){o.Dom.safeRemove(v),delete u[d],Object.keys(u).length&&p.delete(e)})),p.set(e,u)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add("jodit_theme_".concat(f.o.theme||"default")),u[d]},t.eventEmitter=new i.EventEmitter},6663:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=void 0;var r=n(41515);t.asArray=function(e){return(0,r.isArray)(e)?e:[e]}},47968:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=t.splitArray=t.asArray=void 0;var r=n(6663);Object.defineProperty(t,"asArray",{enumerable:!0,get:function(){return r.asArray}});var o=n(11986);Object.defineProperty(t,"splitArray",{enumerable:!0,get:function(){return o.splitArray}});var i=n(58260);Object.defineProperty(t,"toArray",{enumerable:!0,get:function(){return i.toArray}})},11986:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitArray=void 0,t.splitArray=function(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}},58260:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toArray=void 0;var r=n(943),o=n(67940);t.toArray=function(){for(var e,t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];return((0,o.isNativeFunction)(Array.from)?Array.from:null!==(e=(0,r.reset)("Array.from"))&&void 0!==e?e:Array.from).apply(Array,t)}},45044:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(81778),t)},81778:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearTimeout=t.setTimeout=void 0;var r=n(20255);t.setTimeout=function(e,t){for(var n=[],o=2;arguments.length>o;o++)n[o-2]=arguments[o];return t?window.setTimeout.apply(window,r.__spreadArray([e,t],r.__read(n),!1)):(e.call.apply(e,r.__spreadArray([null],r.__read(n),!1)),0)},t.clearTimeout=function(e){window.clearTimeout(e)}},31987:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasBrowserColorPicker=void 0,t.hasBrowserColorPicker=function(){var e=!0;try{var t=document.createElement("input");t.type="color",e="color"===t.type&&"number"!=typeof t.selectionStart}catch(t){e=!1}return e}},80450:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(31987),t),r.__exportStar(n(41515),t),r.__exportStar(n(10152),t),r.__exportStar(n(13739),t),r.__exportStar(n(87385),t),r.__exportStar(n(22372),t),r.__exportStar(n(25348),t),r.__exportStar(n(30529),t),r.__exportStar(n(45845),t),r.__exportStar(n(12866),t),r.__exportStar(n(33679),t),r.__exportStar(n(28060),t),r.__exportStar(n(67940),t),r.__exportStar(n(98296),t),r.__exportStar(n(37381),t),r.__exportStar(n(76856),t),r.__exportStar(n(15199),t),r.__exportStar(n(86129),t),r.__exportStar(n(42139),t),r.__exportStar(n(12027),t),r.__exportStar(n(62061),t),r.__exportStar(n(64892),t)},41515:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isArray=void 0,t.isArray=function(e){return Array.isArray(e)}},10152:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isBoolean=void 0,t.isBoolean=function(e){return"boolean"==typeof e}},13739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFastEqual=t.isEqual=void 0;var r=n(58753);t.isEqual=function(e,t){return e===t||(0,r.stringify)(e)===(0,r.stringify)(t)},t.isFastEqual=function(e,t){return e===t}},87385:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFunction=void 0,t.isFunction=function(e){return"function"==typeof e}},25348:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHtmlFromWord=void 0,t.isHtmlFromWord=function(e){return-1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}},22372:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHTML=void 0;var r=n(86129);t.isHTML=function(e){return(0,r.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))}},30529:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasContainer=t.isDestructable=t.isInitable=void 0;var r=n(87385),o=n(65401),i=n(62061);t.isInitable=function(e){return!(0,i.isVoid)(e)&&(0,r.isFunction)(e.init)},t.isDestructable=function(e){return!(0,i.isVoid)(e)&&(0,r.isFunction)(e.destruct)},t.hasContainer=function(e){return!(0,i.isVoid)(e)&&o.Dom.isElement(e.container)}},45845:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInt=void 0;var r=n(37381),o=n(86129);t.isInt=function(e){return(0,o.isString)(e)&&(0,r.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},12866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isJoditObject=void 0;var r=n(87385);t.isJoditObject=function(e){return Boolean(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&("undefined"!=typeof Jodit&&e instanceof Jodit||e.isJodit))}},28060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isLicense=void 0;var r=n(86129);t.isLicense=function(e){return(0,r.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)}},67940:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNativeFunction=void 0,t.isNativeFunction=function(e){return Boolean(e)&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}},98296:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumber=void 0,t.isNumber=function(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},37381:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNumeric=void 0;var r=n(86129);t.isNumeric=function(e){if((0,r.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},76856:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=void 0;var r=n(64892);t.isPlainObject=function(e){return!(!e||"object"!=typeof e||e.nodeType||(0,r.isWindow)(e)||e.constructor&&!{}.hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},15199:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPromise=void 0,t.isPromise=function(e){return e&&"function"==typeof e.then}},86129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isStringArray=t.isString=void 0;var r=n(41515);function o(e){return"string"==typeof e}t.isString=o,t.isStringArray=function(e){return(0,r.isArray)(e)&&o(e[0])}},42139:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isURL=void 0,t.isURL=function(e){if(e.includes(" "))return!1;if("undefined"!=typeof URL)try{var t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}var n=document.createElement("a");return n.href=e,Boolean(n.hostname)}},12027:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidName=void 0,t.isValidName=function(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_.]/.test(e)}},33679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isViewObject=void 0;var r=n(87385);t.isViewObject=function(e){return Boolean(e&&e instanceof Object&&(0,r.isFunction)(e.constructor)&&e.isView)}},62061:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isVoid=void 0,t.isVoid=function(e){return null==e}},64892:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isWindow=void 0,t.isWindow=function(e){return null!=e&&e===e.window}},96485:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.colorToHex=void 0,t.colorToHex=function(e){if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;var t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";for(var n=parseInt(t[2],10),r=parseInt(t[3],10),o=(parseInt(t[4],10)|r<<8|n<<16).toString(16).toUpperCase();6>o.length;)o="0"+o;return t[1]+"#"+o}},24044:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(96485),t)},65083:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.applyStyles=void 0;var r=n(65401),o=n(38301),i=n(89681);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(function(e,t,n){switch(n.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e}))}t.applyStyles=function(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+"</html>".length);var t=document.createElement("iframe");t.style.display="none",document.body.appendChild(t);var n="";try{var s=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(s){s.open(),s.write(e),s.close();try{for(var l=function(e){for(var t=s.styleSheets[e].cssRules,n=function(e){if(""===t[e].selectorText)return"continue";(0,o.$$)(t[e].selectorText,s.body).forEach((function(n){n.style.cssText=a(t[e].style.cssText+";"+n.style.cssText)}))},r=0;t.length>r;r+=1)n(r)},c=0;s.styleSheets.length>c;c+=1)l(c)}catch(e){}r.Dom.each(s.body,(function(e){if(r.Dom.isElement(e)){var t=e,n=t.getAttribute("style");n&&(t.style.cssText=a(n)),t.hasAttribute("style")&&!t.getAttribute("style")&&t.removeAttribute("style")}})),n=s.firstChild?(0,i.trim)(s.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return n&&(e=n),(0,i.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},35728:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cleanFromWord=void 0;var r=n(65401),o=n(89681),i=n(58260);t.cleanFromWord=function(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+"</html>".length));var t="";try{var n=document.createElement("div");n.innerHTML=e;var a=[];n.firstChild&&r.Dom.each(n,(function(e){if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":a.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":r.Dom.unwrap(e);break;default:(0,i.toArray)(e.attributes).forEach((function(t){-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)}))}break;case Node.TEXT_NODE:break;default:a.push(e)}})),r.Dom.safeRemove.apply(null,a),t=n.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(o.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},80923:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlspecialchars=void 0,t.htmlspecialchars=function(e){var t=document.createElement("div");return t.textContent=e,t.innerHTML}},26876:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(65083),t),r.__exportStar(n(35728),t),r.__exportStar(n(80923),t),r.__exportStar(n(89778),t),r.__exportStar(n(46860),t),r.__exportStar(n(73772),t)},73772:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nl2br=void 0,t.nl2br=function(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}},46860:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeHTMLElement=t.safeHTML=void 0;var r=n(38301),o=n(65401);function i(e,t){var n=void 0===t?{safeJavaScriptLink:!0,removeOnError:!0}:t,i=n.safeJavaScriptLink,a=n.removeOnError;if(!o.Dom.isElement(e))return!1;var s=!1;a&&e.hasAttribute("onerror")&&((0,r.attr)(e,"onerror",null),s=!0);var l=e.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,r.attr)(e,"href",location.protocol+"//"+l),s=!0),s}t.safeHTML=function(e,t){(o.Dom.isElement(e)||o.Dom.isFragment(e))&&(t.removeOnError&&(i(e),(0,r.$$)("[onerror]",e).forEach((function(e){return i(e,t)}))),t.safeJavaScriptLink&&(i(e),(0,r.$$)('a[href^="javascript"]',e).forEach((function(e){return i(e,t)}))))},t.sanitizeHTMLElement=i},89778:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stripTags=void 0;var r=n(86129),o=n(38301),i=n(89681),a=n(65401);t.stripTags=function(e,t){void 0===t&&(t=document);var n=t.createElement("div");return(0,r.isString)(e)?n.innerHTML=e:n.appendChild(e),(0,o.$$)("DIV, P, BR, H1, H2, H3, H4, H5, H6, HR",n).forEach((function(e){var n=e.parentNode;if(n){var r=e.nextSibling;a.Dom.isText(r)&&/^\s/.test(r.nodeValue||"")||r&&n.insertBefore(t.createTextNode(" "),r)}})),(0,i.trim)(n.innerText)||""}},83370:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(38301),t),r.__exportStar(n(47968),t),r.__exportStar(n(45044),t),r.__exportStar(n(80450),t),r.__exportStar(n(24044),t),r.__exportStar(n(26876),t),r.__exportStar(n(55629),t),r.__exportStar(n(98793),t),r.__exportStar(n(73424),t)},55629:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(18302),t),r.__exportStar(n(76809),t),r.__exportStar(n(19400),t),r.__exportStar(n(28470),t),r.__exportStar(n(70221),t),r.__exportStar(n(91649),t),r.__exportStar(n(77670),t),r.__exportStar(n(80686),t),r.__exportStar(n(83942),t)},83942:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeColor=void 0;var r=n(24044),o=n(73424);t.normalizeColor=function(e){var t=["#"],n=(0,r.colorToHex)(e);if(!n)return!1;if(3===(n=(n=(0,o.trim)(n.toUpperCase())).substr(1)).length){for(var i=0;3>i;i+=1)t.push(n[i]),t.push(n[i]);return t.join("")}return n.length>6&&(n=n.substr(0,6)),"#"+n}},80686:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeCssValue=void 0;var r=n(37381),o=n(72919),i=n(96485);t.normalizeCssValue=function(e,t){if("font-weight"===(0,o.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,r.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,i.colorToHex)(t.toString())||t}},18302:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeKeyAliases=void 0;var r=n(89681),o=n(47386);t.normalizeKeyAliases=function(e){var t={},n={meta:1,ctrl:2,control:2,alt:3,shift:4};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map((function(e){return(0,r.trim)(e.toLowerCase())})).map((function(e){return o.KEY_ALIASES[e]||e})).sort((function(e,t){return n[e]&&!n[t]?-1:!n[e]&&n[t]?1:n[e]&&n[t]?n[e]-n[t]:e>t?1:-1})).filter((function(e){return!t[e]&&""!==e&&(t[e]=!0)})).join("+")}},76809:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeLicense=void 0,t.normalizeLicense=function(e,t){void 0===t&&(t=8);for(var n=[];e.length;)n.push(e.substr(0,t)),e=e.substr(t);return n[1]=n[1].replace(/./g,"*"),n[2]=n[2].replace(/./g,"*"),n.join("-")}},19400:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeNode=void 0;var r=n(47386),o=n(65401);t.normalizeNode=function(e){if(e){if(o.Dom.isText(e)&&null!=e.nodeValue&&e.parentNode)for(;o.Dom.isText(e.nextSibling);)null!=e.nextSibling.nodeValue&&(e.nodeValue+=e.nextSibling.nodeValue),e.nodeValue=e.nodeValue.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),""),o.Dom.safeRemove(e.nextSibling);else(0,t.normalizeNode)(e.firstChild);(0,t.normalizeNode)(e.nextSibling)}}},28470:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizePath=void 0;var r=n(73424);t.normalizePath=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return e.filter((function(e){return(0,r.trim)(e).length})).map((function(t,n){return t=t.replace(/([^:])[\\/]+/g,"$1/"),n&&(t=t.replace(/^\//,"")),n!==e.length-1&&(t=t.replace(/\/$/,"")),t})).join("/")}},70221:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeRelativePath=void 0,t.normalizeRelativePath=function(e){return e.split("/").reduce((function(e,t){switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e}),[]).join("/")+(e.endsWith("/")?"/":"")}},91649:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeSize=void 0,t.normalizeSize=function(e){return/^[0-9]+$/.test(e.toString())?e+"px":e.toString()}},77670:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalizeUrl=void 0,t.normalizeUrl=function(){for(var e=[],t=0;arguments.length>t;t++)e[t]=arguments[t];return e.filter((function(e){return e.length})).map((function(e){return e.replace(/\/$/,"")})).join("/").replace(/([^:])[\\/]+/g,"$1/")}},49129:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getContentWidth=void 0,t.getContentWidth=function(e,t){var n=function(e){return parseInt(e,10)},r=t.getComputedStyle(e);return e.offsetWidth-n(r.getPropertyValue("padding-left")||"0")-n(r.getPropertyValue("padding-right")||"0")}},83132:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getScrollParent=void 0;var r=n(38301),o=n(65401);t.getScrollParent=function e(t){if(!t)return null;var n=o.Dom.isHTMLElement(t),i=n&&(0,r.css)(t,"overflowY");return n&&"visible"!==i&&"hidden"!==i&&t.scrollHeight>=t.clientHeight?t:e(t.parentNode)||document.scrollingElement||document.body}},98793:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(49129),t),r.__exportStar(n(83132),t),r.__exportStar(n(99130),t),r.__exportStar(n(11110),t),r.__exportStar(n(46240),t),r.__exportStar(n(74395),t)},99130:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.innerWidth=void 0,t.innerWidth=function(e,t){var n=t.getComputedStyle(e);return e.clientWidth-(parseFloat(n.paddingLeft||"0")+parseFloat(n.paddingRight||"0"))}},74395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var r=n(80450);t.size=function(e){return(0,r.isString)(e)||(0,r.isArray)(e)?e.length:(0,r.isPlainObject)(e)?Object.keys(e).length:0}},11110:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.offset=void 0,t.offset=function(e,n,r,o){var i;void 0===o&&(o=!1);try{i=e.getBoundingClientRect()}catch(e){i={top:0,bottom:0,left:0,right:0,width:0,height:0}}var a,s,l=r.body,c=r.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=r.defaultView||r.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,f=u.pageXOffset||c.scrollLeft||l.scrollLeft,p=c.clientTop||l.clientTop||0,h=c.clientLeft||l.clientLeft||0,m=n.iframe;if(!o&&n&&n.options&&n.o.iframe&&m){var g=(0,t.offset)(m,n,n.od,!0);a=i.top+g.top,s=i.left+g.left}else a=i.top+d-p,s=i.left+f-h;return{top:Math.round(a),left:Math.round(s),width:i.width,height:i.height}}},46240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.position=void 0;var r=n(12866);t.position=function e(t,n,o){void 0===o&&(o=!1);var i=t.getBoundingClientRect(),a=i.left,s=i.top;if((0,r.isJoditObject)(n)&&n.iframe&&n.ed.body.contains(t)&&!o){var l=e(n.iframe,n,!0);a+=l.left,s+=l.top}return{left:Math.round(a),top:Math.round(s),width:Math.round(t.offsetWidth),height:Math.round(t.offsetHeight)}}},79417:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0,t.camelCase=function(e){return e.replace(/([-_])(.)/g,(function(e,t,n){return n.toUpperCase()}))}},83212:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fuzzySearchIndex=void 0;var r=n(47386);t.fuzzySearchIndex=function(e,t,n,o){void 0===n&&(n=0),void 0===o&&(o=1);var i=0,a=0,s=-1,l=0,c=0;for(a=n;e.length>i&&t.length>a;)e[i].toLowerCase()===t[a].toLowerCase()?(i++,l++,c=0,-1===s&&(s=a)):i>0&&(o>c||t[a]===r.INVISIBLE_SPACE?(c++,l++):(i=0,s=-1,l=0,c=0,a--)),a++;return i===e.length?[s,l]:[-1,0]}},27181:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.i18n=t.sprintf=void 0;var r=n(80031),o=n(38301),i=n(86129),a=n(42661),s=n(47386);t.sprintf=function(e,t){if(!t||!t.length)return e;for(var n=/%([sd])/g,r=n.exec(e),o=e,i=0;r&&void 0!==t[i];)o=o.replace(r[0],t[i].toString()),i+=1,r=n.exec(e);return o},t.i18n=function(e,n,l){if(!(0,i.isString)(e))throw(0,o.error)("i18n: Need string in first argument");if(!e.length)return e;var c=Boolean(null==l?void 0:l.debugLanguage),u={},d=function(e){return n&&n.length?(0,t.sprintf)(e,n):e},f=(0,o.defaultLanguage)(r.Config.defaultOptions.language,r.Config.defaultOptions.language),p=(0,o.defaultLanguage)(null==l?void 0:l.language,f),h=function(t){if(t){if((0,i.isString)(t[e]))return d(t[e]);var n=e.toLowerCase();if((0,i.isString)(t[n]))return d(t[n]);var r=(0,a.ucfirst)(e);return(0,i.isString)(t[r])?d(t[r]):void 0}};void 0!==s.lang[p]?u=s.lang[p]:c||(u=void 0!==s.lang[f]?s.lang[f]:s.lang.en);var m=null==l?void 0:l.i18n;if(m&&m[p]){var g=h(m[p]);if(g)return g}return h(u)||(!c&&s.lang.en&&(0,i.isString)(s.lang.en[e])&&s.lang.en[e]?d(s.lang.en[e]):c?"{"+e+"}":d(e))}},73424:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(79417),t),r.__exportStar(n(83212),t),r.__exportStar(n(27181),t),r.__exportStar(n(72919),t),r.__exportStar(n(58753),t),r.__exportStar(n(89681),t),r.__exportStar(n(42661),t)},72919:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CamelCaseToKebabCase=t.kebabCase=void 0,t.kebabCase=function(e){return e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase()},t.CamelCaseToKebabCase=function(e){return e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},58753:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=void 0,t.stringify=function(e,t){if(void 0===t&&(t={}),"object"!=typeof e)return String(e);var n=new Set(t.excludeKeys),r=new WeakMap;return JSON.stringify(e,(function(e,t){if(!n.has(e)){if("object"==typeof t&&null!=t){if(r.get(t))return"[refObject]";r.set(t,!0)}return t}}),t.prettify)}},89681:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trimInv=t.trim=void 0;var r=n(47386);t.trim=function(e){return e.replace((0,r.SPACE_REG_EXP_END)(),"").replace((0,r.SPACE_REG_EXP_START)(),"")},t.trimInv=function(e){return e.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,r.INVISIBLE_SPACE_REG_EXP_START)(),"")}},42661:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ucfirst=void 0,t.ucfirst=function(e){return e.length?e[0].toUpperCase()+e.substr(1):""}},55667:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.alignElement=t.clearAlign=t.hAlignElement=void 0;var r=n(36516),o=n(76239);function i(e){r.Dom.each(e,(function(e){r.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))}))}t.hAlignElement=function(e,t){t&&"normal"!==t?"center"!==t?((0,o.css)(e,"float",t),(0,o.clearCenterAlign)(e)):(0,o.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,o.css)(e,"float")&&-1!==["right","left"].indexOf((0,o.css)(e,"float").toString().toLowerCase())&&(0,o.css)(e,"float",""),(0,o.clearCenterAlign)(e))},t.clearAlign=i,t.alignElement=function(e,t){if(r.Dom.isNode(t)&&r.Dom.isElement(t))switch(i(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},23502:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadNextStyle=t.loadNext=t.appendStyleAsync=t.appendScriptAsync=t.appendScript=void 0;var r=n(20255),o=n(39188),i=n(87385),a=n(86129),s=new Map,l=function(e){return function(t,n){return r.__awaiter(void 0,void 0,Promise,(function(){var o;return r.__generator(this,(function(r){return s.has(n)?[2,s.get(n)]:(o=e(t,n),s.set(n,o),[2,o])}))}))}};t.appendScript=function(e,t,n){var r=e.c.element("script");return r.type="text/javascript",r.async=!0,(0,i.isFunction)(n)&&!e.isInDestruct&&e.e.on(r,"load",n),r.src||(r.src=(0,o.completeUrl)(t)),e.od.body.appendChild(r),{callback:n,element:r}},t.appendScriptAsync=l((function(e,n){return new Promise((function(r,o){var i=(0,t.appendScript)(e,n,r).element;!e.isInDestruct&&e.e.on(i,"error",o)}))})),t.appendStyleAsync=l((function(e,t){return new Promise((function(n,r){var i=e.c.element("link");i.rel="stylesheet",i.media="all",i.crossOrigin="anonymous",!e.isInDestruct&&e.e.on(i,"load",(function(){return n(i)})).on(i,"error",r),i.href=(0,o.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(i):e.od.body.appendChild(i)}))})),t.loadNext=function(e,n,r){return void 0===r&&(r=0),(0,a.isString)(n[r])?(0,t.appendScriptAsync)(e,n[r]).then((function(){return(0,t.loadNext)(e,n,r+1)})):Promise.resolve()},t.loadNextStyle=function(e,n,r){return void 0===r&&(r=0),(0,a.isString)(n[r])?(0,t.appendStyleAsync)(e,n[r]).then((function(){return(0,t.loadNextStyle)(e,n,r+1)})):Promise.resolve()}},1856:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.browser=void 0,t.browser=function(e){var t=navigator.userAgent.toLowerCase(),n=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?n[2]:"webkit"===e?"chrome"===n[1]||"webkit"===n[1]:"ff"===e?"firefox"===n[1]:"msie"===e?"trident"===n[1]||"msie"===n[1]:n[1]===e}},95101:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildQuery=void 0;var r=n(76856);t.buildQuery=function(e,n){var o=[],i=encodeURIComponent;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=n?n+"["+a+"]":a,l=e[a];o.push((0,r.isPlainObject)(l)?(0,t.buildQuery)(l,s):i(s)+"="+i(l))}return o.join("&")}},39188:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.completeUrl=void 0,t.completeUrl=function(e){return"file:"===window.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e}},48202:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigFlatten=t.ConfigProto=void 0;var r=n(20255),o=n(54739),i=n(41515),a=n(76856),s=n(86129),l=n(62061),c=n(80031),u=n(32389);t.ConfigProto=function e(t,n,u){if(void 0===u&&(u=0),Object.getPrototypeOf(t)!==Object.prototype)return t;var d=c.Config.defaultOptions;if((0,s.isString)(t.preset)){if(void 0!==d.presets[t.preset]){var f=d.presets[t.preset];Object.keys(f).forEach((function(e){(0,l.isVoid)(t[e])&&(t[e]=f[e])}))}delete t.preset}var p={};return Object.keys(t).forEach((function(s){var l=t[s],c=n?n[s]:null;p[s]=(0,a.isPlainObject)(l)&&(0,a.isPlainObject)(c)&&!(0,o.isAtom)(l)?e(l,c,u+1):0!==u&&(0,i.isArray)(l)&&!(0,o.isAtom)(l)&&(0,i.isArray)(c)?r.__spreadArray(r.__spreadArray([],r.__read(l),!1),r.__read(c.slice(l.length)),!1):l})),Object.setPrototypeOf(p,n),p},t.ConfigFlatten=function(e){return(0,u.keys)(e,!1).reduce((function(t,n){return t[n]=e[n],t}),{})}},93194:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertMediaUrlToVideoEmbed=void 0;var r=n(42139),o=n(19814);t.convertMediaUrlToVideoEmbed=function(e,t,n){if(void 0===t&&(t=400),void 0===n&&(n=345),!(0,r.isURL)(e))return e;var i=document.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;i.href=e,t||(t=400),n||(n=345);var s=i.protocol||"";switch(i.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+n+'" src="'+s+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":var l=i.search?(0,o.parseQuery)(i.search):{v:i.pathname.substr(1)};return l.v?'<iframe width="'+t+'" height="'+n+'" src="'+s+"//www.youtube.com/embed/"+l.v+'" frameborder="0" allowfullscreen></iframe>':e}return e}},76239:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clearCenterAlign=t.css=void 0;var r=n(76856),o=n(37381),i=n(62061),a=n(10152),s=n(80686),l=n(79417),c=n(72919);function u(e,t,n,d){void 0===d&&(d=!1);var f=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;if((0,a.isBoolean)(n)&&(d=n,n=void 0),(0,r.isPlainObject)(t)||void 0!==n){var p=function(e,t,n){!(0,i.isVoid)(n)&&f.test(t)&&(0,o.isNumeric)(n.toString())&&(n=parseInt(n.toString(),10)+"px"),void 0===n||null!=n&&u(e,t,!0)===(0,s.normalizeCssValue)(t,n)||(e.style[t]=n)};if((0,r.isPlainObject)(t))for(var h=Object.keys(t),m=0;h.length>m;m+=1)p(e,(0,l.camelCase)(h[m]),t[h[m]]);else p(e,(0,l.camelCase)(t),n);return""}var g=(0,c.kebabCase)(t),v=e.ownerDocument||document,b=!!v&&(v.defaultView||v.parentWindow),y=e.style[t],A="";return void 0!==y&&""!==y?A=y:b&&!d&&(A=b.getComputedStyle(e).getPropertyValue(g)),f.test(t)&&/^[-+]?[0-9.]+px$/.test(A.toString())&&(A=parseInt(A.toString(),10)),(0,s.normalizeCssValue)(t,A)}t.css=u,t.clearCenterAlign=function(e){"block"===u(e,"display")&&u(e,"display","");var t=e.style;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},7009:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ctrlKey=void 0,t.ctrlKey=function(e){if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},75698:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataBind=void 0;var r=n(33679),o=new WeakMap;t.dataBind=function(e,t,n){var i=o.get(e);if(!i){o.set(e,i={});var a=null;(0,r.isViewObject)(e.j)&&(a=e.j.e),(0,r.isViewObject)(e)&&(a=e.e),a&&a.on("beforeDestruct",(function(){o.delete(e)}))}return void 0===n?i[t]:(i[t]=n,n)}},4371:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultLanguage=void 0;var r=n(86129);t.defaultLanguage=function(e,t){return void 0===t&&(t="en"),"auto"!==e&&(0,r.isString)(e)?e:document.documentElement&&document.documentElement.lang?document.documentElement.lang:navigator.language?navigator.language.substring(0,2):t}},79783:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAbort=t.abort=t.options=t.connection=t.error=void 0;var r=n(77723);t.error=function(e){return new TypeError(e)},t.connection=function(e){return new r.ConnectionError(e)},t.options=function(e){return new r.OptionsError(e)},t.abort=function(e){return new r.AbortError(e)},t.isAbort=function(e){return e instanceof r.AbortError}},19309:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbortError=void 0;var r=n(20255),o=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r.__extends(t,e),t}(Error);t.AbortError=o},72742:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConnectionError=void 0;var r=n(20255),o=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r.__extends(t,e),t}(Error);t.ConnectionError=o},77723:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(19309),t),r.__exportStar(n(72742),t),r.__exportStar(n(58991),t)},58991:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionsError=void 0;var r=n(20255),o=function(e){function t(n){var r=e.call(this,n)||this;return Object.setPrototypeOf(r,t.prototype),r}return r.__extends(t,e),t}(TypeError);t.OptionsError=o},93108:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(79783),t),r.__exportStar(n(77723),t)},54739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fastClone=t.markAsAtomic=t.isAtom=void 0;var r=n(58753);t.isAtom=function(e){return e&&e.isAtom},t.markAsAtomic=function(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e},t.fastClone=function(e){return JSON.parse((0,r.stringify)(e))}},870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getClassName=t.keepNames=void 0;var r=n(87385);t.keepNames=new Map,t.getClassName=function(e){var n;if((0,r.isFunction)(e.className))return e.className();var o=(null===(n=e.constructor)||void 0===n?void 0:n.originalConstructor)||e.constructor;if(t.keepNames.has(o))return t.keepNames.get(o);if(o.name)return o.name;var i=new RegExp(/^\s*function\s*(\S*)\s*\(/),a=o.toString().match(i);return a?a[1]:""}},56143:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.get=void 0;var r=n(20255),o=n(86129),i=n(62061);t.get=function(e,t){var n,a;if(!(0,o.isString)(e)||!e.length)return null;var s=e.split("."),l=t;try{try{for(var c=r.__values(s),u=c.next();!u.done;u=c.next()){var d=u.value;if((0,i.isVoid)(l[d]))return null;l=l[d]}}catch(e){n={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(n)throw n.error}}}catch(e){return null}return(0,i.isVoid)(l)?null:l}},24891:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.humanSizeToBytes=void 0,t.humanSizeToBytes=function(e){if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);var t=e.substr(-2,2).toUpperCase(),n=["KB","MB","GB","TB"],r=parseFloat(e.substr(0,e.length-2));return-1!==n.indexOf(t)?r*Math.pow(1024,n.indexOf(t)+1):parseInt(e,10)}},38301:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(55667),t),r.__exportStar(n(23502),t),r.__exportStar(n(52378),t),r.__exportStar(n(1856),t),r.__exportStar(n(95101),t),r.__exportStar(n(39188),t),r.__exportStar(n(48202),t),r.__exportStar(n(93194),t),r.__exportStar(n(76239),t),r.__exportStar(n(7009),t),r.__exportStar(n(75698),t),r.__exportStar(n(4371),t),r.__exportStar(n(93108),t),r.__exportStar(n(54739),t),r.__exportStar(n(56143),t),r.__exportStar(n(870),t),r.__exportStar(n(24891),t),r.__exportStar(n(16385),t),r.__exportStar(n(19814),t),r.__exportStar(n(25846),t),r.__exportStar(n(943),t),r.__exportStar(n(14475),t),r.__exportStar(n(73549),t),r.__exportStar(n(55736),t),r.__exportStar(n(14923),t),r.__exportStar(n(32389),t),r.__exportStar(n(2717),t)},16385:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.markDeprecated=t.cns=void 0;var r=n(20255);t.cns=console,t.markDeprecated=function(e,n,o){return void 0===n&&(n=[""]),void 0===o&&(o=null),function(){for(var i=[],a=0;arguments.length>a;a++)i[a]=arguments[a];return t.cns.warn('Method "'.concat(n[0],'" deprecated.')+(n[1]?' Use "'.concat(n[1],'" instead'):"")),e.call.apply(e,r.__spreadArray([o],r.__read(i),!1))}}},19814:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseQuery=void 0,t.parseQuery=function(e){for(var t={},n=e.substring(1).split("&"),r=0;n.length>r;r+=1){var o=n[r].split("=");t[decodeURIComponent(o[0])]=decodeURIComponent(o[1]||"")}return t}},25846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.previewBox=void 0;var r=n(86129),o=n(65401),i=n(76239),a=n(32389),s=n(73549);t.previewBox=function(e,t,n,l){void 0===n&&(n="px"),void 0===l&&(l=null);var c=function(e,t){var n=[];try{(0,s.$$)("img",e.editor).forEach((function(r){var i=[(0,a.attr)(r,"width"),(0,a.attr)(r,"height"),r.src];(0,a.attr)(r,{width:r.offsetWidth+t,height:r.offsetHeight+t});var s=e.createInside.a();e.ed.body.appendChild(s),s.href=r.src,r.src=s.href,o.Dom.safeRemove(s),n.push((function(){var e;r.src=null!==(e=i[2])&&void 0!==e?e:"",(0,a.attr)(r,{width:i[0]||null,height:i[1]||null})}))}))}catch(e){throw n.forEach((function(e){return e()})),n.length=0,e}return n}(e,n);try{var u=e.e.fire("beforePreviewBox",t,n);if(null!=u)return u;var d=e.c.div("jodit__preview-box jodit-context");l&&l.appendChild(d),(0,i.css)(d,{position:"relative",padding:16});var f=e.value||"<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>".concat(e.i18n("Empty"),"</div>");if(e.iframe){var p=e.create.element("iframe");(0,i.css)(p,{minWidth:800,minHeight:600,border:0}),d.appendChild(p);var h=p.contentWindow;if(h&&(e.e.fire("generateDocumentStructure.iframe",h.document,e),d=h.document.body,"function"==typeof ResizeObserver)){var m=new ResizeObserver((function(e){p.style.height=h.document.body.offsetHeight+20+"px"}));m.observe(h.document.body),e.e.on("beforeDestruct",(function(){m.unobserve(h.document.body)}))}}else(0,i.css)(d,{minWidth:1024,minHeight:600,border:0});var g=function(t,n){var i=(0,r.isString)(n)?e.c.div():n;(0,r.isString)(n)&&(i.innerHTML=n);for(var s=0;i.childNodes.length>s;s+=1){var l=i.childNodes[s];if(o.Dom.isElement(l)){for(var c=t.ownerDocument.createElement(l.nodeName),u=0;l.attributes.length>u;u+=1)(0,a.attr)(c,l.attributes[u].nodeName,l.attributes[u].nodeValue);0===l.childNodes.length||o.Dom.isTag(l,["table"])?"SCRIPT"===l.nodeName?l.textContent&&(c.textContent=l.textContent):l.innerHTML&&(c.innerHTML=l.innerHTML):g(c,l);try{t.appendChild(c)}catch(e){}}else try{t.appendChild(l.cloneNode(!0))}catch(e){}}};return g(d,f),e.e.fire("afterPreviewBox",d),d}finally{c.forEach((function(e){return e()}))}}},943:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.reset=void 0;var r=n(56143),o=n(87385),i={};t.reset=function(e){var t,n;if(!(e in i)){var a=document.createElement("iframe");try{if(a.src="about:blank",document.body.appendChild(a),!a.contentWindow)return null;var s=(0,r.get)(e,a.contentWindow),l=(0,r.get)(e.split(".").slice(0,-1).join("."),a.contentWindow);(0,o.isFunction)(s)&&(i[e]=s.bind(l))}catch(e){}finally{null===(t=a.parentNode)||void 0===t||t.removeChild(a)}}return null!==(n=i[e])&&void 0!==n?n:null}},14475:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.scrollIntoViewIfNeeded=t.inView=void 0;var r=n(65401);t.inView=function(e,t,n){var r=e.getBoundingClientRect(),o=e,i=r.top,a=r.height;do{if(o&&o.parentNode){if((r=(o=o.parentNode).getBoundingClientRect()).bottom<i)return!1;if(r.top>=i+a)return!1}}while(o&&o!==t&&o.parentNode);return(n.documentElement&&n.documentElement.clientHeight||0)>=i},t.scrollIntoViewIfNeeded=function(e,n,o){r.Dom.isHTMLElement(e)&&!(0,t.inView)(e,n,o)&&(n.clientHeight!==n.scrollHeight&&(n.scrollTop=e.offsetTop),(0,t.inView)(e,n,o)||e.scrollIntoView())}},73549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resolveElement=t.cssPath=t.refs=t.getXPathByElement=t.$$=void 0;var r=n(47386),o=n(86129),i=n(38301),a=n(65401),s=n(79417),l=n(58260),c=n(96659),u=n(16867),d=1;function f(e,t){var n;if(!/:scope/.test(e)||!r.IS_IE||t&&t.nodeType===Node.DOCUMENT_NODE)n=t.querySelectorAll(e);else{var o=t.id,i=o||"_selector_id_"+String(Math.random()).slice(2)+ ++d;e=e.replace(/:scope/g,"#"+i),!o&&t.setAttribute("id",i),n=t.parentNode.querySelectorAll(e),o||t.removeAttribute("id")}return[].slice.call(n)}t.$$=f,t.getXPathByElement=function(e,n){if(!e||e.nodeType!==Node.ELEMENT_NODE)return"";if(!e.parentNode||n===e)return"";if(e.id)return"//*[@id='"+e.id+"']";var r=[].filter.call(e.parentNode.childNodes,(function(t){return t.nodeName===e.nodeName}));return(0,t.getXPathByElement)(e.parentNode,n)+"/"+e.nodeName.toLowerCase()+(r.length>1?"["+((0,l.toArray)(r).indexOf(e)+1)+"]":"")},t.refs=function(e){return u.Component.isInstanceOf(e,c.UIElement)&&(e=e.container),f("[ref],[data-ref]",e).reduce((function(e,t){var n=(0,i.attr)(t,"-ref");return n&&(0,o.isString)(n)&&(e[(0,s.camelCase)(n)]=t,e[n]=t),e}),{})},t.cssPath=function(e){if(!a.Dom.isElement(e))return null;for(var t=[],n=e;n&&n.nodeType===Node.ELEMENT_NODE;){var r=n.nodeName.toLowerCase();if(n.id){t.unshift(r+="#"+n.id);break}var o=n,i=1;do{(o=o.previousElementSibling)&&o.nodeName.toLowerCase()===r&&i++}while(o);t.unshift(r+=":nth-of-type("+i+")"),n=n.parentNode}return t.join(" > ")},t.resolveElement=function(e,t){var n=e;if((0,o.isString)(e))try{n=t.querySelector(e)}catch(t){throw(0,i.error)('String "'+e+'" should be valid HTML selector')}if(!n||"object"!=typeof n||!a.Dom.isElement(n)||!n.cloneNode)throw(0,i.error)('Element "'+e+'" should be string or HTMLElement instance');return n}},55736:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.set=void 0;var r=n(86129),o=n(37381),i=n(41515),a=n(76856);t.set=function(e,t,n){if((0,r.isString)(e)&&e.length){for(var s=e.split("."),l=n,c=s[0],u=0;s.length-1>u;u+=1)(0,i.isArray)(l[c=s[u]])||(0,a.isPlainObject)(l[c])||(l[c]=(0,o.isNumeric)(s[u+1])?[]:{}),l=l[c];l&&(l[s[s.length-1]]=t)}}},14923:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LimitedStack=void 0;var n=function(){function e(e){this.limit=e,this.stack=[]}return e.prototype.push=function(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this},e.prototype.pop=function(){return this.stack.pop()},e.prototype.find=function(e){return this.stack.find(e)},e}();t.LimitedStack=n},32389:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getDataTransfer=t.memorizeExec=t.keys=t.loadImage=t.callPromise=t.markOwner=t.attr=t.call=void 0;var r=n(20255),o=n(87385),i=n(15199),a=n(62061),s=n(76856),l=n(86129),c=n(75698),u=n(76239),d=n(72919);function f(e,t,n){if(!e||!(0,o.isFunction)(e.getAttribute))return null;if(!(0,l.isString)(t))return Object.keys(t).forEach((function(n){var r=t[n];(0,s.isPlainObject)(r)&&"style"===n?(0,u.css)(e,r):("className"===n&&(n="class"),f(e,n,r))})),null;var r=(0,d.CamelCaseToKebabCase)(t);if(/^-/.test(r)){var i=f(e,"data".concat(r));if(i)return i;r=r.substr(1)}if(void 0!==n){if(null!=n)return e.setAttribute(r,n.toString()),n.toString();e.hasAttribute(r)&&e.removeAttribute(r)}return e.getAttribute(r)}t.call=function(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return e.apply(void 0,r.__spreadArray([],r.__read(t),!1))},t.attr=f,t.markOwner=function(e,t){f(t,"data-editor_id",e.id),!t.component&&Object.defineProperty(t,"jodit",{value:e})},t.callPromise=function(e,t){return(0,i.isPromise)(e)?e.finally(t):t()},t.loadImage=function(e,t){return t.async.promise((function(n,r){var o=new Image,i=function(){t.e.off(o),null==r||r()},a=function(){t.e.off(o),n(o)};t.e.one(o,"load",a).one(o,"error",i).one(o,"abort",i),o.src=e,o.complete&&a()}))},t.keys=function(e,t){if(void 0===t&&(t=!0),t)return Object.keys(e);var n=[];for(var r in e)n.push(r);return n},t.memorizeExec=function(e,t,n,r){var o,i=n.control,s="button".concat(i.command),l=null!==(o=i.args&&i.args[0])&&void 0!==o?o:(0,c.dataBind)(e,s);if((0,a.isVoid)(l))return!1;(0,c.dataBind)(e,s,l),r&&(l=r(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},t.getDataTransfer=function(e){if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}}},2717:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.val=void 0,t.val=function(e,t,n){var r=e.querySelector(t);return r?(n&&(r.value=n),r.value):""}},76454:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(60154),t),r.__exportStar(n(90431),t)},60154:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginSystem=void 0;var r=n(20255),o=n(80450),i=n(23502),a=n(47968),s=n(73424),l=n(32389),c=n(16672),u=function(){function e(){this._items=new Map}return e.prototype.normalizeName=function(e){return(0,s.kebabCase)(e).toLowerCase()},e.prototype.items=function(e){var t=[];return this._items.forEach((function(e,n){t.push([n,e])})),t.filter((function(t){var n=r.__read(t,1);return!e||e.includes(n[0])}))},e.prototype.add=function(e,t){this._items.set(this.normalizeName(e),t),c.eventEmitter.fire("plugin:".concat(e,":ready"))},e.prototype.get=function(e){return this._items.get(this.normalizeName(e))},e.prototype.remove=function(e){this._items.delete(this.normalizeName(e))},e.prototype.init=function(t){var n=this,i=t.o.extraPlugins.map((function(e){return(0,o.isString)(e)?{name:e}:e})),s=(0,a.splitArray)(t.o.disablePlugins).map((function(e){return n.normalizeName(e)})),c=[],u={},d=[],f={},p=function(i){var a=r.__read(i,2),l=a[0],p=a[1];if(!(s.includes(l)||c.includes(l)||u[l])){var h=null==p?void 0:p.requires;if(!(h&&(0,o.isArray)(h)&&n.hasDisabledRequires(s,h))){var m=e.makePluginInstance(t,p);m&&(n.initOrWait(t,l,m,c,u),d.push(m),f[l]=m)}}},h=this.loadExtras(t,i);return(0,l.callPromise)(h,(function(){t.isInDestruct||(n.items(t.o.safeMode?t.o.safePluginsList.concat(i.map((function(e){return e.name}))):null).forEach(p),n.addListenerOnBeforeDestruct(t,d),t.__plugins=f)}))},e.prototype.wait=function(e){var t=this;return new Promise((function(n){if(t.get(e))return n();var r=function(){n(),c.eventEmitter.off("plugin:".concat(e,":ready"),r)};c.eventEmitter.on("plugin:".concat(e,":ready"),r)}))},e.prototype.hasDisabledRequires=function(e,t){return Boolean((null==t?void 0:t.length)&&e.some((function(e){return t.includes(e)})))},e.makePluginInstance=function(e,t){try{try{return(0,o.isFunction)(t)?new t(e):t}catch(n){if((0,o.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){}return null},e.prototype.initOrWait=function(t,n,r,i,a){var s=function(n,r){if((0,o.isInitable)(r)){var s=r.requires;if((null==s?void 0:s.length)&&!s.every((function(e){return i.includes(e)})))return a[n]=r,!1;try{r.init(t)}catch(e){}i.push(n)}else i.push(n);return r.hasStyle&&e.loadStyle(t,n),!0};s(n,r),Object.keys(a).forEach((function(e){var t=a[e];t&&s(e,t)&&(a[e]=void 0,delete a[e])}))},e.prototype.addListenerOnBeforeDestruct=function(e,t){e.e.on("beforeDestruct",(function(){t.forEach((function(t){(0,o.isDestructable)(t)&&t.destruct(e)})),t.length=0,delete e.__plugins}))},e.prototype.load=function(t,n){return Promise.all(n.map((function(n){var r=n.url||e.getFullUrl(t,n.name,!0);return(0,i.appendScriptAsync)(t,r).then((function(e){return{v:e,status:"fulfilled"}}),(function(e){return{e:e,status:"rejected"}}))})))},e.loadStyle=function(t,n){return r.__awaiter(this,void 0,Promise,(function(){var o;return r.__generator(this,(function(r){return o=e.getFullUrl(t,n,!1),this.styles.has(o)?[2]:(this.styles.add(o),[2,(0,i.appendStyleAsync)(t,o)])}))}))},e.getFullUrl=function(e,t,n){return t=(0,s.kebabCase)(t),e.basePath+"plugins/"+t+"/"+t+"."+(n?"js":"css")},e.prototype.loadExtras=function(e,t){var n=this;if(t&&t.length)try{var r=t.filter((function(e){return!n._items.has(n.normalizeName(e.name))}));if(r.length)return this.load(e,r)}catch(e){}},e.styles=new Set,e}();t.PluginSystem=u},90431:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Plugin=void 0;var r=n(20255),o=n(95448),i=n(18731),a=n(83370),s=function(e){function t(t){var n=e.call(this,t)||this;return n.requires=[],n.buttons=[],n.hasStyle=!1,t.e.on("afterPluginSystemInit",(function(){var e;(0,a.isJoditObject)(t)&&(null===(e=n.buttons)||void 0===e||e.forEach((function(e){t.registerButton(e)})))})).on("afterInit",(function(){n.setStatus(o.STATUSES.ready),n.afterInit(t)})).on("beforeDestruct",n.destruct),n}return r.__extends(t,e),t.prototype.className=function(){return""},t.prototype.init=function(e){},t.prototype.destruct=function(){var t,n,r;if(!this.isInDestruct){this.setStatus(o.STATUSES.beforeDestruct);var i=this.j;(0,a.isJoditObject)(i)&&(null===(t=this.buttons)||void 0===t||t.forEach((function(e){null==i||i.unregisterButton(e)}))),null===(r=null===(n=this.j)||void 0===n?void 0:n.events)||void 0===r||r.off("beforeDestruct",this.destruct),this.beforeDestruct(this.j),e.prototype.destruct.call(this)}},r.__decorate([i.autobind],t.prototype,"destruct",null),t}(o.ViewComponent);t.Plugin=s},61307:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Ajax=void 0;var r=n(20255),o=n(80031),i=n(83370),a=n(93108),s=n(98134);n(42203);var l=function(){function e(e,t){var n=this;this.jodit=e,this.isFulfilled=!1,this.activated=!1,this.options=(0,i.ConfigProto)(t||{},o.Config.prototype.defaultAjaxOptions),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest,e&&e.e&&e.e.on("beforeDestruct",(function(){return n.destruct()}))}return e.prototype.__buildParams=function(e,t){return(0,i.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,i.isString)(e)||this.j.ow.FormData&&e instanceof this.j.ow.FormData?e:(0,i.buildQuery)(e)},Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.abort=function(){if(this.isFulfilled)return this;try{this.isFulfilled=!0,this.xhr.abort()}catch(e){}return this},e.prototype.send=function(){var e=this;this.activated=!0;var t=this.xhr,n=this.o,o=this.prepareRequest();return this.j.async.promise((function(l,c){return r.__awaiter(e,void 0,void 0,(function(){var e,u,d,f,p,h=this;return r.__generator(this,(function(r){switch(r.label){case 0:return e=function(){h.isFulfilled=!0,c(a.connection("Connection error"))},t.onload=u=function(){h.isFulfilled=!0,l(new s.Response(o,t.status,t.statusText,t.responseType?t.response:t.responseText))},t.onabort=function(){h.isFulfilled=!0,c(a.abort("Abort connection"))},t.onerror=e,t.ontimeout=e,n.responseType&&(t.responseType=n.responseType),t.onprogress=function(e){var t,n,r=0;e.lengthComputable&&(r=e.loaded/e.total*100),null===(n=(t=h.options).onProgress)||void 0===n||n.call(t,r)},t.onreadystatechange=function(){var e,r;null===(r=(e=h.options).onProgress)||void 0===r||r.call(e,10),t.readyState===XMLHttpRequest.DONE&&(n.successStatuses.includes(t.status)?u():t.statusText&&(h.isFulfilled=!0,c(a.connection(t.statusText))))},t.withCredentials=null!==(p=n.withCredentials)&&void 0!==p&&p,d=o.data,t.open(o.method,o.url,!0),n.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",n.contentType),(0,i.isFunction)(f=n.headers)?[4,f.call(this)]:[3,2];case 1:f=r.sent(),r.label=2;case 2:return f&&t.setRequestHeader&&Object.keys(f).forEach((function(e){t.setRequestHeader(e,f[e])})),this.j.async.setTimeout((function(){t.send(d?h.__buildParams(d):void 0)}),0),[2]}}))}))}))},e.prototype.prepareRequest=function(){if(!this.o.url)throw a.error("Need URL for AJAX request");var t=this.o.url,n=this.o.data,o=(this.o.method||"get").toLowerCase();if("get"===o&&n&&(0,i.isPlainObject)(n)){var s=t.indexOf("?");if(-1!==s){var l=(0,i.parseQuery)(t);t=t.substring(0,s)+"?"+(0,i.buildQuery)(r.__assign(r.__assign({},l),n))}else t+="?"+(0,i.buildQuery)(this.o.data)}var c={url:t,method:o,data:n};return e.log.splice(100),e.log.push(c),c},e.prototype.destruct=function(){this.activated&&!this.isFulfilled&&(this.abort(),this.isFulfilled=!0)},e.log=[],e}();t.Ajax=l},42203:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],dataType:"json",method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:function(){return new XMLHttpRequest}}},40803:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(61307),t),r.__exportStar(n(98134),t)},98134:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Response=void 0;var r=n(20255),o=function(){function e(e,t,n,r){this.request=e,this.status=t,this.statusText=n,this.body=r}return Object.defineProperty(e.prototype,"url",{get:function(){return this.request.url},enumerable:!1,configurable:!0}),e.prototype.json=function(){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(e){return[2,JSON.parse(this.body)]}))}))},e.prototype.text=function(){return Promise.resolve(this.body)},e.prototype.blob=function(){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(e){return[2,this.body]}))}))},e}();t.Response=o},52506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(51737),t),r.__exportStar(n(89139),t)},51737:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveNodeInsideStart=void 0;var r=n(36516),o=n(47386);t.moveNodeInsideStart=function(e,t,n){for(var i=r.Dom.findSibling(t,n),a=r.Dom.findSibling(t,!n);r.Dom.isElement(i)&&!r.Dom.isTag(i,o.INSEPARABLE_TAGS)&&r.Dom.isContentEditable(i,e.editor)&&(!a||!r.Dom.closest(t,r.Dom.isElement,e.editor));)n||!i.firstChild?i.appendChild(t):r.Dom.before(i.firstChild,t),i=r.Dom.sibling(t,n),a=r.Dom.sibling(t,!n)}},89139:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveTheNodeAlongTheEdgeOutward=void 0;var r=n(36516);t.moveTheNodeAlongTheEdgeOutward=function(e,t,n){for(var o=e;o&&o!==n;){if(r.Dom.findSibling(o,t))return;(o=o.parentElement)&&o!==n&&(t?r.Dom.before(o,e):r.Dom.after(o,e))}}},74700:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(17846),t),r.__exportStar(n(89782),t)},89782:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Select=void 0;var r=n(20255),o=n(47386),i=n(47386),a=n(36516),s=n(83370),l=n(17846),c=n(18731),u=n(52506),d=function(){function e(e){var t=this;this.jodit=e,e.e.on("removeMarkers",(function(){t.removeMarkers()}))}return Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.errorNode=function(e){if(!a.Dom.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")},Object.defineProperty(e.prototype,"area",{get:function(){return this.j.editor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"win",{get:function(){return this.j.ew},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"doc",{get:function(){return this.j.ed},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"sel",{get:function(){return this.j.o.shadowRoot&&(0,s.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"range",{get:function(){var e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isInsideArea",{get:function(){var e=this.sel,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))},enumerable:!1,configurable:!0}),e.prototype.createRange=function(e){void 0===e&&(e=!1);var t=this.doc.createRange();return e&&this.selectRange(t),t},e.prototype.remove=function(){var e=this.sel,t=this.current();if(e&&t)for(var n=0;e.rangeCount>n;n+=1)e.getRangeAt(n).deleteContents(),e.getRangeAt(n).collapse(!0)},e.prototype.clear=function(){var e,t;(null===(e=this.sel)||void 0===e?void 0:e.rangeCount)&&(null===(t=this.sel)||void 0===t||t.removeAllRanges())},e.prototype.removeNode=function(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)},e.prototype.insertCursorAtPoint=function(e,t){var n=this;this.removeMarkers();try{var r=this.createRange();return function(){if(n.doc.caretPositionFromPoint&&(o=n.doc.caretPositionFromPoint(e,t)))r.setStart(o.offsetNode,o.offset);else if(n.doc.caretRangeFromPoint){var o=n.doc.caretRangeFromPoint(e,t);r.setStart(o.startContainer,o.startOffset)}}(),r.collapse(!0),this.selectRange(r),!0}catch(e){}return!1},e.isMarker=function(e){return a.Dom.isNode(e)&&a.Dom.isTag(e,"span")&&e.hasAttribute("data-"+o.MARKER_CLASS)},Object.defineProperty(e.prototype,"hasMarkers",{get:function(){return Boolean(this.markers.length)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"markers",{get:function(){return(0,s.$$)("span[data-"+o.MARKER_CLASS+"]",this.area)},enumerable:!1,configurable:!0}),e.prototype.removeMarkers=function(){a.Dom.safeRemove.apply(null,this.markers)},e.prototype.marker=function(e,t){void 0===e&&(e=!1);var n=null;t&&(n=t.cloneRange()).collapse(e);var r=this.j.createInside.span();return r.id=o.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),r.style.lineHeight="0",r.style.display="none",r.setAttribute("data-"+o.MARKER_CLASS,e?"start":"end"),r.appendChild(this.j.createInside.text(o.INVISIBLE_SPACE)),n&&a.Dom.isOrContains(this.area,e?n.startContainer:n.endContainer)&&n.insertNode(r),r},e.prototype.restore=function(){var e=!1,t=function(e){return"span[data-".concat(o.MARKER_CLASS,"=").concat(e?"start":"end","]")},n=this.area.querySelector(t(!0)),r=this.area.querySelector(t(!1));if(n){if(e=this.createRange(),r)e.setStartAfter(n),a.Dom.safeRemove(n),e.setEndBefore(r),a.Dom.safeRemove(r);else{var i=n.previousSibling;a.Dom.isText(i)?e.setStart(i,i.nodeValue?i.nodeValue.length:0):e.setStartBefore(n),a.Dom.safeRemove(n),e.collapse(!0)}e&&this.selectRange(e)}},e.prototype.save=function(e){if(void 0===e&&(e=!1),this.hasMarkers)return[];var t=this.sel;if(!t||!t.rangeCount)return[];for(var n=[],r=t.rangeCount,o=[],i=0;r>i;i+=1)if(o[i]=t.getRangeAt(i),o[i].collapsed){var a=this.marker(!0,o[i]);n[i]={startId:a.id,collapsed:!0,startMarker:a.outerHTML}}else{a=this.marker(!0,o[i]);var s=this.marker(!1,o[i]);n[i]={startId:a.id,endId:s.id,collapsed:!1,startMarker:a.outerHTML,endMarker:s.outerHTML}}if(!e)for(t.removeAllRanges(),i=r-1;i>=0;--i){var l=this.doc.getElementById(n[i].startId);if(l)if(n[i].collapsed)o[i].setStartAfter(l),o[i].collapse(!0);else if(o[i].setStartBefore(l),n[i].endId){var c=this.doc.getElementById(n[i].endId);c&&o[i].setEndAfter(c)}try{t.addRange(o[i].cloneRange())}catch(e){}}return n},e.prototype.focus=function(e){var t,n;if(void 0===e&&(e={preventScroll:!0}),!this.isFocused()){var r=(0,s.getScrollParent)(this.j.container),o=null==r?void 0:r.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),o&&(null==r?void 0:r.scrollTo)&&r.scrollTo(0,o);var i=this.sel,l=(null==i?void 0:i.rangeCount)?null==i?void 0:i.getRangeAt(0):null;if(!l||!a.Dom.isOrContains(this.area,l.startContainer)){var c=this.createRange();c.setStart(this.area,0),c.collapse(!0),this.selectRange(c,!1)}return this.j.editorIsActive||null===(n=null===(t=this.j)||void 0===t?void 0:t.events)||void 0===n||n.fire("focus"),!0}return!1},e.prototype.isCollapsed=function(){for(var e=this.sel,t=0;e&&e.rangeCount>t;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0},e.prototype.isFocused=function(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement},e.prototype.current=function(e){if(void 0===e&&(e=!0),this.j.getRealMode()===o.MODE_WYSIWYG){var t=this.sel;if(!t||0===t.rangeCount)return null;var n=t.getRangeAt(0),r=n.startContainer,i=!1,s=function(e){return i?e.lastChild:e.firstChild};if(a.Dom.isTag(r,"br")&&t.isCollapsed)return r;if(!a.Dom.isText(r)){if((r=n.startContainer.childNodes[n.startOffset])||(r=n.startContainer.childNodes[n.startOffset-1],i=!0),r&&t.isCollapsed&&!a.Dom.isText(r))if(!i&&a.Dom.isText(r.previousSibling))r=r.previousSibling;else if(e)for(var l=s(r);l;){if(l&&a.Dom.isText(l)){r=l;break}l=s(l)}if(r&&!t.isCollapsed&&!a.Dom.isText(r)){var c=r,u=r;do{c=c.firstChild,u=u.lastChild}while(c&&u&&!a.Dom.isText(c));c===u&&c&&a.Dom.isText(c)&&(r=c)}}if(r&&a.Dom.isOrContains(this.area,r))return r}return null},e.prototype.insertNode=function(e,t,n){var r;void 0===t&&(t=!0),void 0===n&&(n=!0),this.errorNode(e),this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());var o=this.sel;if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),o&&o.rangeCount){var s=o.getRangeAt(0);a.Dom.isOrContains(this.area,s.commonAncestorContainer)?a.Dom.isTag(s.startContainer,i.INSEPARABLE_TAGS)&&s.collapsed?null===(r=s.startContainer.parentNode)||void 0===r||r.insertBefore(e,s.startContainer):a.Dom.safeInsertNode(s,e):this.area.appendChild(e)}else this.area.appendChild(e);t&&(e.nodeType===Node.DOCUMENT_FRAGMENT_NODE?e.lastChild&&this.setCursorAfter(e.lastChild):this.setCursorAfter(e)),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",e)},e.prototype.insertHTML=function(e,t){if(void 0===t&&(t=!0),""!==e){var n,r=this.j.createInside.div(),o=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?r.appendChild(e):r.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",r.innerHTML))&&(n=r.lastChild)){for(;r.firstChild;)n=r.firstChild,o.appendChild(r.firstChild);this.insertNode(o.firstChild&&o.firstChild===o.lastChild?o.lastChild:o,!1,!1),t&&(n?this.setCursorAfter(n):this.setCursorIn(o)),this.j.__imdSynchronizeValues()}}},e.prototype.insertImage=function(e,t,n){void 0===t&&(t=null),void 0===n&&(n=null);var r=(0,s.isString)(e)?this.j.createInside.element("img"):e;if((0,s.isString)(e)&&r.setAttribute("src",e),null!=n){var o=n.toString();o&&"auto"!==o&&0>String(o).indexOf("px")&&0>String(o).indexOf("%")&&(o+="px"),(0,s.call)(this.j.o.resizer.forImageChangeAttributes?s.attr:s.css,r,"width",o)}t&&"object"==typeof t&&(0,s.css)(r,t);var i=function(){(r.offsetHeight>r.naturalHeight||r.offsetWidth>r.naturalWidth)&&(r.style.width="",r.style.height=""),r.removeEventListener("load",i)};this.j.e.on(r,"load",i),r.complete&&i(),this.insertNode(r),this.j.e.fire("afterInsertImage",r)},e.prototype.eachSelection=function(t){var n,r=this,o=this.sel;if(o&&o.rangeCount){var l=o.getRangeAt(0),c=l.commonAncestorContainer;a.Dom.isHTMLElement(c)||(c=c.parentElement);var u=[],d=l.startOffset,f=c.childNodes.length,p=l.startContainer===this.area?c.childNodes[f>d?d:f-1]:l.startContainer,h=l.endContainer===this.area?c.childNodes[l.endOffset-1]:l.endContainer;a.Dom.isText(p)&&p===l.startContainer&&l.startOffset===(null===(n=p.nodeValue)||void 0===n?void 0:n.length)&&p.nextSibling&&(p=p.nextSibling),a.Dom.isText(h)&&h===l.endContainer&&0===l.endOffset&&h.previousSibling&&(h=h.previousSibling);var m=function(t){!t||t===c||a.Dom.isEmptyTextNode(t)||e.isMarker(t)||u.push(t)};m(p),p!==h&&a.Dom.isOrContains(c,p,!0)&&a.Dom.find(p,(function(e){return m(e),e===h||e&&e.contains&&e.contains(h)}),c,!0,!1);var g=function(e){if(a.Dom.isOrContains(r.j.editor,e,!0)){if(e.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(e.childNodes).forEach(g);if(a.Dom.isTag(e,"li"))if(e.firstChild)e=e.firstChild;else{var n=r.j.createInside.text(i.INVISIBLE_SPACE);e.appendChild(n),e=n}t(e)}};0===u.length&&a.Dom.isEmptyTextNode(p)&&u.push(p),0===u.length&&p.firstChild&&u.push(p.firstChild),u.forEach(g)}},e.prototype.cursorInTheEdge=function(e,t){var n,r,o=!e,l=null===(n=this.sel)||void 0===n?void 0:n.getRangeAt(0),c=this.current(!1);if(!l||!c||!a.Dom.isOrContains(t,c,!0))return null;var u=e?l.startContainer:l.endContainer,d=e?l.startOffset:l.endOffset,f=function(e){return Boolean(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e))};if(a.Dom.isText(u)){var p=(null===(r=u.nodeValue)||void 0===r?void 0:r.length)?u.nodeValue:"";if(o&&p.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").length>d)return!1;var h=(0,i.INVISIBLE_SPACE_REG_EXP_START)().exec(p);if(e&&(h&&d>h[0].length||!h&&d>0))return!1}else{var m=(0,s.toArray)(u.childNodes);if(o){if(m.slice(d).some(f))return!1}else if(m.slice(0,d).some(f))return!1}return!(0,s.call)(e?a.Dom.prev:a.Dom.next,c,f,t)},e.prototype.cursorOnTheLeft=function(e){return this.cursorInTheEdge(!0,e)},e.prototype.cursorOnTheRight=function(e){return this.cursorInTheEdge(!1,e)},e.prototype.setCursorAfter=function(e){return this.setCursorNearWith(e,!1)},e.prototype.setCursorBefore=function(e){return this.setCursorNearWith(e,!0)},e.prototype.setCursorNearWith=function(e,t){var n,r,i=this;if(this.errorNode(e),!a.Dom.up(e,(function(e){return e===i.area||e&&e.parentNode===i.area}),this.area))throw(0,s.error)("Node element must be in editor");var l=this.createRange(),c=null;return a.Dom.isText(e)?t?l.setStart(e,0):l.setEnd(e,null!==(r=null===(n=e.nodeValue)||void 0===n?void 0:n.length)&&void 0!==r?r:0):(c=this.j.createInside.text(o.INVISIBLE_SPACE),t?l.setStartBefore(e):l.setEndAfter(e),l.collapse(t),a.Dom.safeInsertNode(l,c),l.selectNode(c)),l.collapse(t),this.selectRange(l),c},e.prototype.setCursorIn=function(e,t){var n=this;if(void 0===t&&(t=!1),this.errorNode(e),!a.Dom.up(e,(function(e){return e===n.area||e&&e.parentNode===n.area}),this.area))throw(0,s.error)("Node element must be in editor");var r=this.createRange(),i=e,l=e;do{if(a.Dom.isText(i))break;l=i,i=t?i.firstChild:i.lastChild}while(i);if(!i){var c=this.j.createInside.text(o.INVISIBLE_SPACE);/^(img|br|input)$/i.test(l.nodeName)?i=l:(l.appendChild(c),l=c)}return r.selectNodeContents(i||l),r.collapse(t),this.selectRange(r),l},e.prototype.selectRange=function(e,t){void 0===t&&(t=!0);var n=this.sel;return t&&!this.isFocused()&&this.focus(),n&&(n.removeAllRanges(),n.addRange(e)),this.j.e.fire("changeSelection"),this},e.prototype.select=function(e,t){var n=this;if(void 0===t&&(t=!1),this.errorNode(e),!a.Dom.up(e,(function(e){return e===n.area||e&&e.parentNode===n.area}),this.area))throw(0,s.error)("Node element must be in editor");var r=this.createRange();return r[t?"selectNodeContents":"selectNode"](e),this.selectRange(r)},Object.defineProperty(e.prototype,"html",{get:function(){var e=this.sel;if(e&&e.rangeCount>0){var t=e.getRangeAt(0).cloneContents(),n=this.j.createInside.div();return n.appendChild(t),n.innerHTML}return""},enumerable:!1,configurable:!0}),e.prototype.wrapInTagGen=function(){var t,n,o,l,c,u,d,f,p,h,m;return r.__generator(this,(function(g){switch(g.label){case 0:return this.isCollapsed()?(u=this.jodit.createInside.element("font",i.INVISIBLE_SPACE),this.insertNode(u,!1,!1),t=r.__read(this.markers,1),(n=t[0])?u.appendChild(n):(this.setCursorIn(u),this.save()),[4,u]):[3,2];case 1:return g.sent(),a.Dom.unwrap(u),[2];case 2:(0,s.$$)("*[style*=font-size]",this.area).forEach((function(e){return(0,s.attr)(e,"data-font-size",e.style.fontSize.toString())})),this.isCollapsed()?(u=this.j.createInside.element("font"),(0,s.attr)(u,"size",7),this.insertNode(u,!1,!1)):this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach((function(e){var t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))})),o=(0,s.$$)('font[size="7"]',this.area),g.label=3;case 3:g.trys.push([3,8,9,10]),l=r.__values(o),c=l.next(),g.label=4;case 4:return c.done?[3,7]:(f=(u=c.value).lastChild,(d=u.firstChild)&&d===f&&e.isMarker(d)?(a.Dom.unwrap(u),[3,6]):(d&&e.isMarker(d)&&a.Dom.before(u,d),f&&e.isMarker(f)&&a.Dom.after(u,f),[4,u]));case 5:g.sent(),a.Dom.unwrap(u),g.label=6;case 6:return c=l.next(),[3,4];case 7:return[3,10];case 8:return p=g.sent(),h={error:p},[3,10];case 9:try{c&&!c.done&&(m=l.return)&&m.call(l)}finally{if(h)throw h.error}return[7];case 10:return[2]}}))},e.prototype.wrapInTag=function(t){var n,o,i=[];try{for(var l=r.__values(this.wrapInTagGen()),c=l.next();!c.done;c=l.next()){var u=c.value;try{if(u.firstChild&&u.firstChild===u.lastChild&&e.isMarker(u.firstChild))continue;(0,s.isFunction)(t)?t(u):i.push(a.Dom.replace(u,t,this.j.createInside))}finally{var d=u.parentNode;d&&(a.Dom.unwrap(u),a.Dom.isEmpty(d)&&a.Dom.unwrap(d))}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}return i},e.prototype.applyStyle=function(e,t){void 0===t&&(t={}),new l.CommitStyle({style:e,element:t.element,className:t.className,defaultTag:t.defaultTag}).apply(this.j)},e.prototype.splitSelection=function(e){if(!this.isCollapsed())return null;var t=this.createRange(),n=this.range;t.setStartBefore(e);var r=this.cursorOnTheRight(e),o=this.cursorOnTheLeft(e),s=this.j.createInside.element("br"),l=this.j.createInside.text(i.INVISIBLE_SPACE),c=l.cloneNode();try{if(r||o){a.Dom.safeInsertNode(n,s);var u=function(e,t){for(var n=t(e);n;){var r=t(n);if(!n||!a.Dom.isTag(n,"br")&&!a.Dom.isEmptyTextNode(n))break;a.Dom.safeRemove(n),n=r}};u(s,(function(e){return e.nextSibling})),u(s,(function(e){return e.previousSibling})),a.Dom.after(s,c),a.Dom.before(s,l),r?(t.setEndBefore(s),n.setEndBefore(s)):(t.setEndAfter(s),n.setEndAfter(s))}else t.setEnd(n.startContainer,n.startOffset);var d=t.extractContents(),f=function(e){return a.Dom.each(e,(function(e){return a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e)}))};if(e.parentNode)try{if(f(d),f(e),e.parentNode.insertBefore(d,e),r&&(null==s?void 0:s.parentNode)){var p=this.createRange();p.setStartBefore(s),this.selectRange(p)}}catch(e){}var h=function(e){var t,n,r;(null===(t=null==e?void 0:e.parentNode)||void 0===t?void 0:t.firstChild)===(null===(n=null==e?void 0:e.parentNode)||void 0===n?void 0:n.lastChild)&&(null===(r=null==e?void 0:e.parentNode)||void 0===r||r.appendChild(s.cloneNode()))};h(l),h(c)}finally{a.Dom.safeRemove(l),a.Dom.safeRemove(c)}return e.previousElementSibling},e.prototype.expandSelection=function(){var e=this;if(this.isCollapsed())return this;var t=this.range,n=t.cloneRange();if(!a.Dom.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;var r=function(n){var r=e.j.createInside.fake(),o=t.cloneRange();return o.collapse(n),a.Dom.safeInsertNode(o,r),(0,u.moveTheNodeAlongTheEdgeOutward)(r,n,e.j.editor),r},o=r(!0),i=r(!1);n.setStartAfter(o),n.setEndBefore(i);var s=a.Dom.findSibling(o,!1),l=a.Dom.findSibling(i,!0);if(s!==l){var c=a.Dom.isElement(s)&&a.Dom.isOrContains(s,i),d=!c&&a.Dom.isElement(l)&&a.Dom.isOrContains(l,o);if(c||d){for(var f=c?s:l,p=f;a.Dom.isElement(f);)(f=c?f.firstElementChild:f.lastElementChild)&&a.Dom.isOrContains(f,c?i:o)&&(p=f);c?n.setStart(p,0):n.setEnd(p,p.childNodes.length)}}return this.selectRange(n),a.Dom.safeRemove(o,i),this},r.__decorate([c.autobind],e.prototype,"createRange",null),r.__decorate([c.autobind],e.prototype,"focus",null),r.__decorate([c.autobind],e.prototype,"setCursorAfter",null),r.__decorate([c.autobind],e.prototype,"setCursorBefore",null),r.__decorate([c.autobind],e.prototype,"setCursorIn",null),e}();t.Select=d},49771:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementHasSameStyleKeys=t.elementHasSameStyle=void 0;var r=n(76239),o=n(62061),i=n(80686),a=n(36516);t.elementHasSameStyle=function(e,t){return Boolean(!a.Dom.isTag(e,"font")&&a.Dom.isHTMLElement(e)&&Object.keys(t).every((function(n){var a=(0,r.css)(e,n,!0);return!(0,o.isVoid)(a)&&""!==a&&!(0,o.isVoid)(t[n])&&(0,i.normalizeCssValue)(n,t[n]).toString().toLowerCase()===a.toString().toLowerCase()})))},t.elementHasSameStyleKeys=function(e,t){return Boolean(!a.Dom.isTag(e,"font")&&a.Dom.isHTMLElement(e)&&Object.keys(t).every((function(t){return!(0,o.isVoid)((0,r.css)(e,t,!0))})))}},93369:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractSelectedPart=void 0;var r=n(89782),o=n(83370),i=n(36516);function a(e,t,n){var r=t.extractContents();r.textContent&&(0,o.trim)(r.textContent).length||!r.firstChild||i.Dom.unwrap(r.firstChild),e.parentNode&&(0,o.call)(n?i.Dom.before:i.Dom.after,e,r)}t.extractSelectedPart=function(e,t,n){var o=n.s.createRange(),i=r.Select.isMarker(t.previousSibling)?t.previousSibling:t;o.setStartBefore(e),o.setEndBefore(i),a(e,o,!0);var s=r.Select.isMarker(t.nextSibling)?t.nextSibling:t;o.setStartAfter(s),o.setEndAfter(e),a(e,o,!1)}},94715:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FiniteStateMachine=void 0;var r=n(20255),o=function(){function e(e,t){this.state=e,this.transitions=t,this.subState="",this.silent=!0}return e.prototype.setState=function(e,t){this.state=e,null!=t&&(this.subState=t)},e.prototype.getState=function(){return this.state},e.prototype.getSubState=function(){return this.subState},e.prototype.disableSilent=function(){this.silent=!1},e.prototype.dispatch=function(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];var o=this.transitions[this.state][e];if(o)return o.call.apply(o,r.__spreadArray([this],r.__read(t),!1));if(!this.silent)throw new Error("invalid action: "+this.state+"."+e)},e}();t.FiniteStateMachine=o},70063:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSuitChild=void 0;var r=n(36516),o=n(85605),i=n(55649);t.getSuitChild=function(e,t){for(var n=t.firstChild;n&&!(0,o.isNormalNode)(n);)if(!(n=n.nextSibling))return null;return n&&!r.Dom.next(n,o.isNormalNode,t)&&(0,i.isSuitElement)(e,n,!1)?n:null}},30062:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getSuitParent=void 0;var r=n(36516),o=n(85605),i=n(55649);t.getSuitParent=function e(t,n,a){var s=n.parentNode;return s===a||!r.Dom.isHTMLElement(s)||r.Dom.next(n,o.isNormalNode,s)||r.Dom.prev(n,o.isNormalNode,s)?null:t.isElementCommit&&t.elementIsBlock&&!r.Dom.isBlock(s)?e(t,s,a):!(0,i.isSuitElement)(t,s,!1)||r.Dom.isBlock(s)&&!t.elementIsBlock?t.isElementCommit&&!r.Dom.isBlock(s)?e(t,s,a):null:s}},44205:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(36924),t),r.__exportStar(n(42597),t),r.__exportStar(n(49771),t),r.__exportStar(n(93369),t),r.__exportStar(n(94715),t),r.__exportStar(n(70063),t),r.__exportStar(n(30062),t),r.__exportStar(n(16072),t),r.__exportStar(n(85605),t),r.__exportStar(n(55649),t),r.__exportStar(n(31182),t),r.__exportStar(n(65837),t),r.__exportStar(n(30149),t),r.__exportStar(n(43294),t),r.__exportStar(n(46679),t)},16072:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInsideInvisibleElement=void 0;var r=n(36516);t.isInsideInvisibleElement=function(e,t){return Boolean(r.Dom.closest(e,["style","script"],t))}},85605:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isNormalNode=void 0;var r=n(36516),o=n(74700);t.isNormalNode=function(e){return Boolean(e&&!r.Dom.isEmptyTextNode(e)&&!r.Dom.isTemporary(e)&&!o.Select.isMarker(e))}},55649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSameStyleChild=t.isSuitElement=void 0;var r=n(85605),o=n(49771),i=n(36516);t.isSuitElement=function(e,t,n){if(!t)return!1;var a=e.element,s=e.elementIsDefault,l=e.options,c=Boolean(l.style&&(0,o.elementHasSameStyle)(t,l.style)),u=t.nodeName.toLowerCase()===a||i.Dom.isTag(t,["ul","ol"])&&e.elementIsList;return!!((!s||!n)&&u||c&&(0,r.isNormalNode)(t))||Boolean(!u&&!n&&s&&i.Dom.isInlineBlock(t))},t.isSameStyleChild=function(e,t){var n=e.element,i=e.options;if(!t||!(0,r.isNormalNode)(t))return!1;var a=t.nodeName.toLowerCase()===n,s=Boolean(i.style&&(0,o.elementHasSameStyleKeys)(t,i.style));return a&&s}},31182:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCommitStyles=void 0;var r=n(36516);t.toggleCommitStyles=function(e,t,n){return!!(e.elementIsBlock||r.Dom.isTag(t,e.element)&&!e.elementIsDefault)&&(t.getAttribute("style")?r.Dom.replace(t,e.defaultTag,n.createInside,!0):r.Dom.unwrap(t),!0)}},36924:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleCSS=void 0;var r=n(38301),o=n(76239),i=n(75698),a=n(72919),s=n(80686),l=n(74395),c=n(36516),u=n(17846),d=n(16672);function f(e,t,n){return(0,r.attr)(t,"style")||((0,r.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(c.Dom.unwrap(t),n=u.UNWRAP)),n}t.toggleCSS=function(e,t,n,r,p){void 0===p&&(p=!1);var h=e.options,m=h.style,g=h.className;return m&&(0,l.size)(m)>0&&Object.keys(m).forEach((function(l){if(""!==t.style.getPropertyValue((0,a.kebabCase)(l))||null!=m[l]){if(function(e,t,n){var r=e.create.element(t.tagName.toLowerCase());r.style.cssText=t.style.cssText,function(e){var t;if(void 0!==(0,i.dataBind)(e,"shadowRoot"))return(0,i.dataBind)(e,"shadowRoot");var n=(0,d.getContainer)(e),r=document.createElement("iframe");(0,o.css)(r,{width:0,height:0,position:"absolute",border:0}),r.src="about:blank",n.appendChild(r);var a=null===(t=r.contentWindow)||void 0===t?void 0:t.document,s=a?a.body:e.od.body;return(0,i.dataBind)(e,"shadowRoot",s),s}(e).appendChild(r);var a=(0,o.css)(r,n);return c.Dom.safeRemove(r),a}(n,t,l)===(0,s.normalizeCssValue)(l,m[l]))return!p&&(0,o.css)(t,l,null),void(r=f(e,t,r=u.UNSET));r=u.CHANGE,!p&&(0,o.css)(t,l,m[l]),p||(r=f(e,t,r))}})),g&&(t.classList.contains(g)?(t.classList.remove(g),r=u.UNSET):(t.classList.add(g),r=u.CHANGE)),r}},42597:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toggleOrderedList=void 0;var r=n(36516),o=n(93369),i=n(17846),a=n(36924);t.toggleOrderedList=function(e,t,n,s){if(!t)return s;var l=t.parentElement;if(!l)return s;if(l.tagName.toLowerCase()!==e.element){var c=r.Dom.replace(l,e.element,n.createInside);return(0,a.toggleCSS)(e,c,n,s),i.REPLACE}return(0,a.toggleCSS)(e,t.parentElement,n,i.INITIAL,!0)===i.CHANGE?(0,a.toggleCSS)(e,t.parentElement,n,s):((0,o.extractSelectedPart)(l,t,n),r.Dom.unwrap(t.parentElement),r.Dom.replace(t,n.o.enter,n.createInside),s)}},65837:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unwrapChildren=void 0;var r=n(36516),o=n(55649),i=n(83370),a=n(49771);t.unwrapChildren=function(e,t){var n,s=[],l=[],c=e.options.style;if(t.firstChild)for(var u=r.Dom.eachGen(t),d=u.next(),f=function(){var t=d.value;!(0,o.isSuitElement)(e,t,!0)||c&&!(0,a.elementHasSameStyleKeys)(t,c)?c&&(0,o.isSameStyleChild)(e,t)?(void 0===n&&(n=!1),l.push((function(){(0,i.css)(t,Object.keys(c).reduce((function(e,t){return e[t]=null,e}),{})),(0,i.attr)(t,"style")||(0,i.attr)(t,"style",null),(0,i.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||s.push(t)}))):r.Dom.isEmptyTextNode(t)||void 0===n&&(n=!1):(void 0===n&&(n=!0),s.push(t)),d=u.next()};!d.done;)f();return l.forEach((function(e){return e()})),s.forEach(r.Dom.unwrap),Boolean(n)}},30149:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapAndCommitStyle=void 0;var r=n(36516),o=n(46679),i=n(83370),a=n(43294);t.wrapAndCommitStyle=function(e,t,n){var s=function(e,t,n){if(e.elementIsBlock){var a=r.Dom.up(t,(function(e){return r.Dom.isBlock(e)&&!r.Dom.isTag(e,["td","th","tr","tbody","table","li","ul","ol"])}),n.editor);if(a)return a}return e.elementIsBlock?(0,o.wrapUnwrappedText)(e,t,n,n.s.createRange):((0,i.attr)(t,"size",null),t)}(e,t,n);return e.elementIsList?(0,a.wrapOrderedList)(e,s,n):r.Dom.replace(s,e.element,n.createInside,!0)}},43294:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapOrderedList=void 0;var r=n(36516);t.wrapOrderedList=function(e,t,n){var o=r.Dom.replace(t,"li",n.createInside),i=o.previousElementSibling||o.nextElementSibling;return r.Dom.isTag(i,["ul","ol"])||(i=n.createInside.element(e.element),r.Dom.before(o,i)),o.previousElementSibling===i?r.Dom.append(i,o):r.Dom.prepend(i,o),i}},46679:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapUnwrappedText=void 0;var r=n(36516);t.wrapUnwrappedText=function(e,t,n,o){var i=n.editor,a=n.createInside,s=function(e,t){void 0===t&&(t="previousSibling");for(var o=e,a=e;a&&!r.Dom.isTag(a,n.o.enter)&&(o=a,a=a[t]?a[t]:a.parentNode&&!r.Dom.isBlock(a.parentNode)&&a.parentNode!==i?a.parentNode:null,!r.Dom.isBlock(a)););return o},l=s(t),c=s(t,"nextSibling"),u=o();u.setStartBefore(l),u.setEndAfter(c);var d=u.extractContents(),f=a.element(e.element);return f.appendChild(d),r.Dom.safeInsertNode(u,f),e.elementIsBlock&&r.Dom.isEmpty(f)&&!r.Dom.isTag(f.firstElementChild,"br")&&f.appendChild(a.element("br")),f}},15137:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApplyStyle=void 0;var r=n(83370),o=n(44205),i=n(17846),a=n(36516),s=n(44205);t.ApplyStyle=function(e,t){var n=e.s,l=e.editor,c=new s.FiniteStateMachine("start",{start:{start:function(){n.save(),(0,r.normalizeNode)(l.firstChild),this.setState("generator")}},generator:{initGenerator:function(){return e.s.wrapInTagGen()},nextFont:function(e){var t=e.next();if(t.done)this.setState("end");else if(!(0,o.isInsideInvisibleElement)(t.value,l)&&!a.Dom.isEmptyContent(t.value))return this.setState("check"),t.value}},check:{work:function(n){var r=(0,o.getSuitParent)(t,n,e.editor)||(0,o.getSuitChild)(t,n);return r?(this.setState("wholeElement"),r):((r=a.Dom.closest(n,(function(e){return(0,s.isSuitElement)(t,e,!0)}),e.editor))&&(t.elementIsBlock||(0,s.extractSelectedPart)(r,n,e)),t.elementIsList&&a.Dom.isTag(r,["ul","ol"])?(this.setState("orderList"),n):r?(this.setState("wholeElement"),r):(0,o.unwrapChildren)(t,n)?(this.setState("endProcess"),null):(this.setState("wrap"),n))}},wholeElement:{toggleStyles:function(n){var r=i.INITIAL;r=(0,o.toggleCommitStyles)(t,n,e)?i.UNWRAP:(0,s.toggleCSS)(t,n,e,r),this.setState("generator",r)}},orderList:{toggleStyles:function(n){var r=i.INITIAL,o=a.Dom.closest(n,"li",e.editor);o&&a.Dom.closest(n,["ul","ol"],e.editor)?(r=(0,s.toggleOrderedList)(t,o,e,r),this.setState(r!==i.REPLACE&&r!==i.UNWRAP&&r!==i.CHANGE?"generator":"endWhile")):this.setState("generator")}},wrap:{toggleStyles:function(n){if("unwrap"!==this.getSubState()){var r=(0,s.wrapAndCommitStyle)(t,n,e);(0,s.toggleCSS)(t,r,e,i.WRAP)}this.setState("generator")}},endWhile:{nextFont:function(e){e.next().done&&this.setState("end")}},endProcess:{toggleStyles:function(){this.setState("generator")}},end:{finalize:function(){n.restore()}}});c.dispatch("start");for(var u=c.dispatch("initGenerator");"end"!==c.getState();){var d=c.dispatch("nextFont",u);if(d){var f=c.dispatch("work",d);c.dispatch("toggleStyles",f)}}c.dispatch("finalize",u)}},17846:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommitStyle=t.REPLACE=t.INITIAL=t.UNSET=t.CHANGE=t.UNWRAP=t.WRAP=void 0;var r=n(47386),o=n(15137);t.WRAP="wrap",t.UNWRAP="unwrap",t.CHANGE="change",t.UNSET="unset",t.INITIAL="initial",t.REPLACE="replace";var i=function(){function e(e){this.options=e}return Object.defineProperty(e.prototype,"elementIsList",{get:function(){return Boolean(this.options.element&&["ul","ol"].includes(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"element",{get:function(){return this.options.element||this.defaultTag},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"elementIsBlock",{get:function(){return Boolean(this.options.element&&r.IS_BLOCK.test(this.options.element))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"isElementCommit",{get:function(){return Boolean(this.options.element&&this.options.element!==this.options.defaultTag)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"defaultTag",{get:function(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"elementIsDefault",{get:function(){return this.element===this.defaultTag},enumerable:!1,configurable:!0}),e.prototype.apply=function(e){(0,o.ApplyStyle)(e,this)},e}();t.CommitStyle=i},21525:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.LocalStorageProvider=t.canUsePersistentStorage=void 0,t.canUsePersistentStorage=function(){return void 0===n&&(n=function(){var e="___Jodit___"+Math.random().toString();try{localStorage.setItem(e,"1");var t="1"===localStorage.getItem(e);return localStorage.removeItem(e),t}catch(e){}return!1}()),n};var r=function(){function e(e){this.rootKey=e}return e.prototype.set=function(e,t){try{var n=localStorage.getItem(this.rootKey),r=n?JSON.parse(n):{};r[e]=t,localStorage.setItem(this.rootKey,JSON.stringify(r))}catch(e){}return this},e.prototype.delete=function(e){try{localStorage.removeItem(this.rootKey)}catch(e){}return this},e.prototype.get=function(e){try{var t=localStorage.getItem(this.rootKey),n=t?JSON.parse(t):{};return void 0!==n[e]?n[e]:null}catch(e){}},e.prototype.exists=function(e){return null!=this.get(e)},e.prototype.clear=function(){try{localStorage.removeItem(this.rootKey)}catch(e){}return this},e}();t.LocalStorageProvider=r},73849:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MemoryStorageProvider=void 0;var n=function(){function e(){this.data=new Map}return e.prototype.set=function(e,t){return this.data.set(e,t),this},e.prototype.delete=function(e){return this.data.delete(e),this},e.prototype.get=function(e){return this.data.get(e)},e.prototype.exists=function(e){return this.data.has(e)},e.prototype.clear=function(){return this.data.clear(),this},e}();t.MemoryStorageProvider=n},95704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(73849),t),r.__exportStar(n(21525),t),r.__exportStar(n(68305),t)},68305:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Storage=t.StorageKey=void 0;var r=n(83370),o=n(21525),i=n(73849);t.StorageKey="Jodit_";var a=function(){function e(e,n){this.provider=e,this.prefix=t.StorageKey,n&&(this.prefix+=n)}return e.prototype.set=function(e,t){return this.provider.set((0,r.camelCase)(this.prefix+e),t),this},e.prototype.delete=function(e){return this.provider.delete((0,r.camelCase)(this.prefix+e)),this},e.prototype.get=function(e){return this.provider.get((0,r.camelCase)(this.prefix+e))},e.prototype.exists=function(e){return this.provider.exists((0,r.camelCase)(this.prefix+e))},e.prototype.clear=function(){return this.provider.clear(),this},e.makeStorage=function(n,r){var a;return void 0===n&&(n=!1),n&&(0,o.canUsePersistentStorage)()&&(a=new o.LocalStorageProvider(t.StorageKey+r)),a||(a=new i.MemoryStorageProvider),new e(a,r)},e}();t.Storage=a},36766:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dlgs=void 0;var r=n(20255),o=n(18870),i=n(83370),a=function(){function e(){}return e.prototype.dlg=function(e){var t=new o.Dialog(r.__assign({language:this.o.language,shadowRoot:this.o.shadowRoot,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,theme:this.o.theme,globalFullSize:this.o.globalFullSize},e));return(0,i.markOwner)(this,t.container),t.parent=this,t.bindDestruct(this)},e.prototype.confirm=function(e,t,n){return(0,i.isString)(t)&&(t=this.i18n(t)),o.Confirm.call(this.dlg(),this.i18n(e),t,n)},e.prototype.prompt=function(e,t,n,r,a){return(0,i.isString)(t)&&(t=this.i18n(t)),(0,i.isString)(r)&&(r=this.i18n(r)),o.Prompt.call(this.dlg(),this.i18n(e),t,n,r,a)},e.prototype.alert=function(e,t,n,r){return(0,i.isString)(e)&&(e=this.i18n(e)),(0,i.isString)(t)&&(t=this.i18n(t)),o.Alert.call(this.dlg(),e,t,n,r)},e}();t.Dlgs=a},21996:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Elms=void 0;var r=n(58260),o=function(){function e(){}return e.prototype.getElm=function(e){return this.container.querySelector(".".concat(this.getFullElName(e)))},e.prototype.getElms=function(e){return(0,r.toArray)(this.container.querySelectorAll(".".concat(this.getFullElName(e))))},e}();t.Elms=o},44535:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(21996),t),r.__exportStar(n(50463),t),r.__exportStar(n(36766),t)},50463:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Mods=void 0;var r=n(58260),o=n(62061),i=function(){function e(){}return e.prototype.afterSetMod=function(e,t){},e.prototype.setMod=function(e,t,n){if(e=e.toLowerCase(),this.mods[e]===t)return this;var i="".concat(this.componentName,"_").concat(e),a=(n||this.container).classList;return(0,r.toArray)(a).forEach((function(e){0===e.indexOf(i)&&a.remove(e)})),!(0,o.isVoid)(t)&&""!==t&&a.add("".concat(i,"_").concat(t.toString().toLowerCase())),this.mods[e]=t,this.afterSetMod(e,t),this},e.prototype.getMod=function(e){var t;return null!==(t=this.mods[e])&&void 0!==t?t:null},e}();t.Mods=i},6816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Button=t.UIButton=t.UIButtonState=void 0;var r=n(20255);n(93330);var o=n(96659),i=n(65401),a=n(38301),s=n(86129),l=n(87385),c=n(80353),u=n(81287),d=n(18731),f=n(71685);t.UIButtonState=function(){return{size:"middle",type:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}};var p=function(e){function n(n,r){var o=e.call(this,n)||this;return o.isButton=!0,o.state=(0,t.UIButtonState)(),o.actionHandlers=[],o.updateSize(),o.onChangeSize(),o.onChangeStatus(),r&&o.hookStatus(f.STATUSES.ready,(function(){o.setState(r)})),o}return r.__extends(n,e),n.prototype.className=function(){return"UIButton"},n.prototype.setState=function(e){return Object.assign(this.state,e),this},n.prototype.onChangeSize=function(){this.setMod("size",this.state.size)},n.prototype.onChangeType=function(){(0,a.attr)(this.container,"type",this.state.type)},n.prototype.updateSize=function(){var e=this.closest(u.UIList);e&&(this.state.size=e.buttonSize)},n.prototype.onChangeStatus=function(){this.setMod("variant",this.state.variant)},n.prototype.onChangeText=function(){this.text.textContent=this.jodit.i18n(this.state.text)},n.prototype.onChangeTextSetMode=function(){this.setMod("text-icons",Boolean(this.state.text.trim().length))},n.prototype.onChangeDisabled=function(){(0,a.attr)(this.container,"disabled",this.state.disabled||null)},n.prototype.onChangeActivated=function(){(0,a.attr)(this.container,"aria-pressed",this.state.activated)},n.prototype.onChangeName=function(){this.container.classList.add("".concat(this.componentName,"_").concat(this.clearName(this.state.name))),this.name=this.state.name,(0,a.attr)(this.container,"data-ref",this.state.name),(0,a.attr)(this.container,"ref",this.state.name)},n.prototype.onChangeTooltip=function(){this.get("j.o.useNativeTooltip")&&(0,a.attr)(this.container,"title",this.state.tooltip),(0,a.attr)(this.container,"aria-label",this.state.tooltip)},n.prototype.onChangeTabIndex=function(){(0,a.attr)(this.container,"tabindex",this.state.tabIndex)},n.prototype.onChangeIcon=function(){var e=this.get("j.o.textIcons");if(!(!0===e||(0,l.isFunction)(e)&&e(this.state.name))){i.Dom.detach(this.icon);var t=c.Icon.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}},n.prototype.focus=function(){this.container.focus()},n.prototype.isFocused=function(){var e=this.od.activeElement;return Boolean(e&&i.Dom.isOrContains(this.container,e))},n.prototype.createContainer=function(){var e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1});return this.icon=this.j.c.span(e+"__icon"),this.text=this.j.c.span(e+"__text"),t.appendChild(this.icon),t.appendChild(this.text),this.j.e.on(t,"click",this.onActionFire),t},n.prototype.destruct=function(){return this.j.e.off(this.container),e.prototype.destruct.call(this)},n.prototype.onAction=function(e){return this.actionHandlers.push(e),this},n.prototype.onActionFire=function(e){var t=this;e.buffer={actionTrigger:this},this.actionHandlers.forEach((function(n){return n.call(t,e)}))},r.__decorate([(0,d.watch)("state.size")],n.prototype,"onChangeSize",null),r.__decorate([(0,d.watch)("state.type")],n.prototype,"onChangeType",null),r.__decorate([(0,d.watch)("parentElement")],n.prototype,"updateSize",null),r.__decorate([(0,d.watch)("state.variant")],n.prototype,"onChangeStatus",null),r.__decorate([(0,d.watch)("state.text")],n.prototype,"onChangeText",null),r.__decorate([(0,d.watch)("state.text")],n.prototype,"onChangeTextSetMode",null),r.__decorate([(0,d.watch)("state.disabled")],n.prototype,"onChangeDisabled",null),r.__decorate([(0,d.watch)("state.activated")],n.prototype,"onChangeActivated",null),r.__decorate([(0,d.watch)("state.name")],n.prototype,"onChangeName",null),r.__decorate([(0,d.watch)("state.tooltip")],n.prototype,"onChangeTooltip",null),r.__decorate([(0,d.watch)("state.tabIndex")],n.prototype,"onChangeTabIndex",null),r.__decorate([(0,d.watch)("state.icon")],n.prototype,"onChangeIcon",null),r.__decorate([d.autobind],n.prototype,"onActionFire",null),r.__decorate([d.component],n)}(o.UIElement);t.UIButton=p,t.Button=function(e,t,n,r){var o=new p(e);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,s.isString)(t)?(o.state.icon.name=t,o.state.name=t,r&&(o.state.variant=r),n&&(o.state.text=n)):o.setState(t),o}},22261:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIButtonGroup=void 0;var r=n(20255);n(45066);var o=n(31454),i=n(45466),a=n(6816);n(52378);var s=function(e){function t(t,n){void 0===n&&(n={radio:!0});var r,o,i=this;return(i=e.call(this,t,null===(r=n.options)||void 0===r?void 0:r.map((function(e){var n=new a.UIButton(t,{text:e.text,value:e.value,variant:"primary"});return n.onAction((function(){i.select(e.value)})),n})),n)||this).options=n,i.select(null!==(o=n.value)&&void 0!==o?o:0),i}return r.__extends(t,e),t.prototype.className=function(){return"UIButtonGroup"},t.prototype.render=function(e){return'<div>\n\t\t\t<div class="&__label">~'.concat(e.label,'~</div>\n\t\t\t<div class="&__options"></div>\n\t\t</div>')},t.prototype.appendChildToContainer=function(e){this.getElm("options").appendChild(e)},t.prototype.select=function(e){var t,n,r=this;this.elements.forEach((function(t,n){n===e||t.state.value===e?t.state.activated=!0:r.options.radio&&(t.state.activated=!1)}));var o=this.elements.filter((function(e){return e.state.activated})).map((function(e){return{text:e.state.text,value:e.state.value}}));this.jodit.e.fire(this,"select",o),null===(n=(t=this.options).onChange)||void 0===n||n.call(t,o)},r.__decorate([i.component],t)}(o.UIGroup);t.UIButtonGroup=s},25242:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(6816),t),r.__exportStar(n(22261),t),r.__exportStar(n(86130),t)},86130:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UITooltip=void 0;var r=n(20255);n(99895);var o=n(83370),i=n(16672),a=n(18731),s=function(e){function t(n){var r=e.call(this,n)||this;r.__isOpened=!1,r.__useCount=1,r.__delayShowTimeout=0,(0,i.getContainer)(n,t).appendChild(r.container);var o=0;return n.e.off(".tooltip").on("showTooltip.tooltip",(function(e,t){n.async.clearTimeout(o),r.__open(e,t)})).on("delayShowTooltip.tooltip",r.__delayOpen).on("escape.tooltip",r.__close).on("hideTooltip.tooltip change.tooltip scroll.tooltip changePlace.tooltip hidePopup.tooltip closeAllPopups.tooltip",(function(){r.j.async.clearTimeout(r.__delayShowTimeout),o=n.async.setTimeout(r.__close,r.j.defaultTimeout)})),r}return r.__extends(t,e),t.prototype.className=function(){return"UITooltip"},t.make=function(e){var n=(0,o.dataBind)(e,"ui-tooltip");return n?(n.__useCount+=1,n):(n=new t(e),(0,o.dataBind)(e,"ui-tooltip",n),n)},t.prototype.__delayOpen=function(e,t){var n=this,r=this.j.o.showTooltipDelay||this.j.defaultTimeout;this.j.async.clearTimeout(this.__delayShowTimeout),this.__delayShowTimeout=this.j.async.setTimeout((function(){return n.__open(e,t)}),{timeout:r,label:"tooltip"})},t.prototype.__open=function(e,t){this.setMod("visible",!0),this.container.innerHTML=t,this.__isOpened=!0,this.__setPosition(e)},t.prototype.__setPosition=function(e){var t=e();(0,o.css)(this.container,{left:t.x,top:t.y})},t.prototype.__close=function(){this.j.async.clearTimeout(this.__delayShowTimeout),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),(0,o.css)(this.container,{left:-5e3}))},t.prototype.destruct=function(){var t;this.__useCount--,this.__useCount||(null===(t=this.j)||void 0===t||t.e.off(".tooltip"),this.__close(),e.prototype.destruct.call(this))},r.__decorate([a.autobind],t.prototype,"__delayOpen",null),r.__decorate([a.autobind],t.prototype,"__close",null),t}(n(96659).UIElement);t.UITooltip=s},96659:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIElement=void 0;var r=n(20255),o=n(95448),i=n(65401),a=n(44535),s=n(86129),l=n(80353),c=n(18731),u=function(e){function t(t,n){var r=e.call(this,t)||this;return r.name="",r.__parentElement=null,r.mods={},r.container=r.createContainer(n),Object.defineProperty(r.container,"component",{value:r,configurable:!0}),r}var n;return r.__extends(t,e),n=t,Object.defineProperty(t.prototype,"parentElement",{get:function(){return this.__parentElement},set:function(e){var t=this;this.__parentElement=e,e&&e.hookStatus("beforeDestruct",(function(){return t.destruct()})),this.updateParentElement(this)},enumerable:!1,configurable:!0}),t.prototype.bubble=function(e){for(var t=this.parentElement;t;)e(t),t=t.parentElement;return this},t.prototype.updateParentElement=function(e){var t;return null===(t=this.__parentElement)||void 0===t||t.updateParentElement(e),this},t.prototype.get=function(t,n){return e.prototype.get.call(this,t,n)||this.getElm(t)},t.prototype.closest=function(e){for(var t="object"==typeof e?function(t){return t===e}:function(t){return o.Component.isInstanceOf(t,e)},r=this.__parentElement;r;){if(t(r))return r;r=!r.parentElement&&r.container.parentElement?n.closestElement(r.container.parentElement,n):r.parentElement}return null},t.closestElement=function(e,t){var n=i.Dom.up(e,(function(e){if(e){var n=e.component;return n&&o.Component.isInstanceOf(n,t)}return!1}));return n?null==n?void 0:n.component:null},t.prototype.update=function(){},t.prototype.appendTo=function(e){return e.appendChild(this.container),this},t.prototype.clearName=function(e){return e.replace(/[^a-zA-Z0-9]/g,"_")},t.prototype.render=function(e){return this.j.c.div(this.componentName)},t.prototype.createContainer=function(e){var t=this,n=this.render(e);if((0,s.isString)(n)){var r=this.j.c.fromHTML(n.replace(/\*([^*]+?)\*/g,(function(e,t){return l.Icon.get(t)||""})).replace(/&__/g,this.componentName+"__").replace(/~([^~]+?)~/g,(function(e,n){return t.i18n(n)})));return r.classList.add(this.componentName),r}return n},t.prototype.destruct=function(){return i.Dom.safeRemove(this.container),this.parentElement=null,e.prototype.destruct.call(this)},n=r.__decorate([(0,c.derive)(a.Mods,a.Elms)],t)}(o.ViewComponent);t.UIElement=u},15324:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIBlock=void 0;var r=n(20255);n(87682);var o=n(31454),i=n(38301),a=n(45466),s=function(e){function t(t,n,r){void 0===r&&(r={align:"left"});var o=e.call(this,t,n)||this;return o.options=r,o.setMod("align",o.options.align||"left"),o.setMod("width",o.options.width||""),o.options.mod&&o.setMod(o.options.mod,!0),o.options.className&&o.container.classList.add(o.options.className),(0,i.attr)(o.container,"data-ref",r.ref),(0,i.attr)(o.container,"ref",r.ref),o}return r.__extends(t,e),t.prototype.className=function(){return"UIBlock"},r.__decorate([a.component],t)}(o.UIGroup);t.UIBlock=s},7281:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIForm=void 0;var r=n(20255),o=n(31454),i=n(97288),a=n(54619),s=n(38301),l=n(45466),c=n(16867),u=function(e){function t(){for(var t=[],n=0;arguments.length>n;n++)t[n]=arguments[n];var o,i,a=this;return(null===(o=(a=e.apply(this,r.__spreadArray([],r.__read(t),!1))||this).options)||void 0===o?void 0:o.className)&&a.container.classList.add(null===(i=a.options)||void 0===i?void 0:i.className),a}return r.__extends(t,e),t.prototype.className=function(){return"UIForm"},t.prototype.submit=function(){this.j.e.fire(this.container,"submit")},t.prototype.validate=function(){var e,t,n,o,s=this.allChildren.filter((function(e){return c.Component.isInstanceOf(e,i.UIInput)}));try{for(var l=r.__values(s),u=l.next();!u.done;u=l.next())if(!u.value.validate())return!1}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=l.return)&&t.call(l)}finally{if(e)throw e.error}}var d=this.allChildren.filter((function(e){return c.Component.isInstanceOf(e,a.UISelect)}));try{for(var f=r.__values(d),p=f.next();!p.done;p=f.next())if(!p.value.validate())return!1}catch(e){n={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}return!0},t.prototype.onSubmit=function(e){var t=this;this.j.e.on(this.container,"submit",(function(){var n=t.allChildren.filter((function(e){return c.Component.isInstanceOf(e,i.UIInput)}));return!!t.validate()&&(e(n.reduce((function(e,t){return e[t.state.name]=t.value,e}),{})),!1)}))},t.prototype.createContainer=function(){var e=this.j.c.element("form");return e.classList.add(this.componentName),(0,s.attr)(e,"dir",this.j.o.direction||"auto"),e},r.__decorate([l.component],t)}(o.UIGroup);t.UIForm=u},20935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(7281),t),r.__exportStar(n(28116),t),r.__exportStar(n(15324),t)},61986:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UITextArea=void 0;var r=n(20255);n(50905);var o=n(97288),i=n(45466),a=function(e){function t(t,o){var i=e.call(this,t,o)||this;return i.state=r.__assign({},n.defaultState),Object.assign(i.state,o),!1===i.state.resizable&&(i.nativeInput.style.resize="none"),i}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"UITextArea"},t.prototype.createContainer=function(t){return this.nativeInput=this.j.create.element("textarea"),e.prototype.createContainer.call(this,t)},t.defaultState=r.__assign(r.__assign({},o.UIInput.defaultState),{size:5,resizable:!0}),n=r.__decorate([i.component],t)}(o.UIInput);t.UITextArea=a},82082:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UICheckbox=void 0;var r=n(20255);n(70446);var o=n(97288),i=n(18731),a=n(65401),s=function(e){function t(t,o){var i=e.call(this,t,r.__assign(r.__assign({},o),{type:"checkbox"}))||this;return i.state=r.__assign({},n.defaultState),Object.assign(i.state,o),i}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"UICheckbox"},t.prototype.render=function(){return this.j.c.element("label",{className:this.componentName})},t.prototype.onChangeChecked=function(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)},t.prototype.onChangeNativeCheckBox=function(){this.state.checked=this.nativeInput.checked},t.prototype.onChangeSwitch=function(){this.setMod("switch",this.state.switch);var e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),a.Dom.after(this.nativeInput,e)):a.Dom.safeRemove(e)},t.defaultState=r.__assign(r.__assign({},o.UIInput.defaultState),{checked:!1,switch:!1}),r.__decorate([(0,i.watch)("state.checked"),(0,i.hook)("ready")],t.prototype,"onChangeChecked",null),r.__decorate([(0,i.watch)("nativeInput:change")],t.prototype,"onChangeNativeCheckBox",null),r.__decorate([(0,i.watch)("state.switch"),(0,i.hook)("ready")],t.prototype,"onChangeSwitch",null),n=r.__decorate([i.component],t)}(o.UIInput);t.UICheckbox=s},32460:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIFileInput=void 0;var r=n(20255);n(18984);var o=n(97288),i=n(45466),a=n(6816),s=function(e){function t(t,n){var i=e.call(this,t,r.__assign({type:"file"},n))||this;return i.state=r.__assign(r.__assign({},o.UIInput.defaultState),{type:"file",onlyImages:!0}),i}return r.__extends(t,e),t.prototype.className=function(){return"UIFileInput"},t.prototype.createContainer=function(e){this.button=new a.UIButton(this.j,{icon:{name:"plus"}});var t=this.button.container;this.nativeInput||(this.nativeInput=this.createNativeInput(e));var n=this.nativeInput;return n.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(n),t},t.prototype.createNativeInput=function(e){return this.j.create.fromHTML('<input\n\t\t\ttype="file"\n\t\t\taccept="'.concat(e.onlyImages?"image/*":"*",'"\n\t\t\ttabindex="-1"\n\t\t\tdir="auto"\n\t\t\tmultiple=""\n\t\t/>'))},r.__decorate([i.component],t)}(o.UIInput);t.UIFileInput=s},28116:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(97288),t),r.__exportStar(n(61986),t),r.__exportStar(n(82082),t),r.__exportStar(n(54619),t),r.__exportStar(n(32460),t)},97288:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIInput=void 0;var r=n(20255);n(4591);var o=n(96659),i=n(38301),a=n(58260),s=n(65401),l=n(18731),c=n(80353),u=n(96238),d=function(e){function t(t,o){var i=e.call(this,t,o)||this;return i.label=i.j.c.span(i.getFullElName("label")),i.icon=i.j.c.span(i.getFullElName("icon")),i.clearButton=i.j.c.span(i.getFullElName("clear"),c.Icon.get("cancel")),i.state=r.__assign({},n.defaultState),i.__errorBox=i.j.c.span(i.getFullElName("error")),i.validators=new Set([]),void 0!==(null==o?void 0:o.value)&&(o.value=o.value.toString()),Object.assign(i.state,o),void 0!==i.state.clearButton&&(i.j.e.on(i.clearButton,"click",(function(e){e.preventDefault(),i.nativeInput.value="",i.j.e.fire(i.nativeInput,"input"),i.focus()})).on(i.nativeInput,"input",(function(){i.state.clearButton=Boolean(i.value.length)})),i.state.clearButton=Boolean(i.value.length)),i.j.e.on(i.nativeInput,"focus blur",(function(){i.onChangeFocus()})).on(i.nativeInput,"input change",i.onChangeValue),i.onChangeState(),i.onChangeClassName(),i.onChangeStateValue(),i}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"UIInput"},t.prototype.onChangeClear=function(){this.state.clearButton?s.Dom.after(this.nativeInput,this.clearButton):s.Dom.safeRemove(this.clearButton)},t.prototype.onChangeClassName=function(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)},t.prototype.onChangeState=function(){this.name=this.state.name;var e=this.nativeInput,t=this.state,n=t.name,r=t.icon,o=t.type,a=t.ref,l=t.required,u=t.placeholder,d=t.autocomplete,f=t.label;(0,i.attr)(e,"name",n),(0,i.attr)(e,"type",o),(0,i.attr)(e,"data-ref",a||n),(0,i.attr)(e,"ref",a||n),(0,i.attr)(e,"required",l||null),(0,i.attr)(e,"autocomplete",d?null:"off"),(0,i.attr)(e,"placeholder",u?this.j.i18n(u):""),r&&c.Icon.exists(r)?(s.Dom.before(e,this.icon),this.icon.innerHTML=c.Icon.get(r)):s.Dom.safeRemove(this.icon),f?(s.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(f)):s.Dom.safeRemove(this.label),this.updateValidators()},t.prototype.updateValidators=function(){var e,t=this;this.validators.clear(),this.state.required&&this.validators.add(u.inputValidators.required),null===(e=this.state.validators)||void 0===e||e.forEach((function(e){var n=u.inputValidators[e];n&&t.validators.add(n)}))},Object.defineProperty(t.prototype,"error",{set:function(e){this.setMod("has-error",Boolean(e)),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):s.Dom.safeRemove(this.__errorBox)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"value",{get:function(){return this.nativeInput.value},set:function(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())},enumerable:!1,configurable:!0}),t.prototype.onChangeStateValue=function(){var e=this.state.value.toString();e!==this.value&&(this.value=e)},t.prototype.onChangeValue=function(){var e,t,n=this.value;this.state.value!==n&&(this.state.value=n,this.j.e.fire(this,"change",n),null===(t=(e=this.state).onChange)||void 0===t||t.call(e,n))},t.prototype.validate=function(){var e=this;return this.error="",(0,a.toArray)(this.validators).every((function(t){return t(e)}))},t.prototype.createContainer=function(t){var n=e.prototype.createContainer.call(this);this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());var r=this.nativeInput;return r.classList.add(this.getFullElName("input")),this.wrapper.appendChild(r),n.appendChild(this.wrapper),(0,i.attr)(r,"dir",this.j.o.direction||"auto"),n},t.prototype.createNativeInput=function(e){return this.j.create.element("input")},t.prototype.focus=function(){this.nativeInput.focus()},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this.nativeInput===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.onChangeFocus=function(){this.setMod("focused",this.isFocused)},t.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},r.__decorate([(0,l.watch)("state.clearButton")],t.prototype,"onChangeClear",null),r.__decorate([(0,l.watch)("state.className")],t.prototype,"onChangeClassName",null),r.__decorate([(0,l.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"]),(0,l.debounce)()],t.prototype,"onChangeState",null),r.__decorate([(0,l.watch)("state.value")],t.prototype,"onChangeStateValue",null),r.__decorate([l.autobind],t.prototype,"onChangeValue",null),n=r.__decorate([l.component],t)}(o.UIElement);t.UIInput=d},54619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISelect=void 0;var r=n(20255);n(64194);var o=n(32389),i=n(45466),a=n(97288),s=n(96238),l=function(e){function t(t,o){var i=e.call(this,t,o)||this;return i.state=r.__assign({},n.defaultState),Object.assign(i.state,o),i}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"UISelect"},t.prototype.createContainer=function(t){var n,r=e.prototype.createContainer.call(this,t),i=this.j,a=this.nativeInput,s=function(){return i.create.element("option")};if(void 0!==t.placeholder){var l=s();l.value="",l.text=i.i18n(t.placeholder),a.add(l)}return null===(n=t.options)||void 0===n||n.forEach((function(e){var t=s();t.value=e.value.toString(),t.text=i.i18n(e.text),a.add(t)})),t.size&&t.size>0&&(0,o.attr)(a,"size",t.size),t.multiple&&(0,o.attr)(a,"multiple",""),r},t.prototype.createNativeInput=function(){return this.j.create.element("select")},t.prototype.updateValidators=function(){e.prototype.updateValidators.call(this),this.state.required&&(this.validators.delete(s.inputValidators.required),this.validators.add(s.selectValidators.required))},t.defaultState=r.__assign(r.__assign({},a.UIInput.defaultState),{options:[],size:1,multiple:!1}),n=r.__decorate([i.component],t)}(a.UIInput);t.UISelect=l},96238:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectValidators=t.inputValidators=void 0,t.inputValidators=n(15061),t.selectValidators=n(29800)},15061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.url=t.required=void 0;var r=n(42139),o=n(89681);t.required=function(e){return!!(0,o.trim)(e.value).length||(e.error="Please fill out this field",!1)},t.url=function(e){return!!(0,r.isURL)((0,o.trim)(e.value))||(e.error="Please enter a web address",!1)}},29800:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.required=void 0;var r=n(89681);t.required=function(e){return!!(0,r.trim)(e.value).length||(e.error="Please fill out this field",!1)}},31454:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIGroup=void 0;var r=n(20255);n(70375);var o=n(96659),i=n(18731),a=n(83370);n(52378);var s=n(65401),l=n(16867),c=function(e){function t(t,n,r){var o=e.call(this,t,r)||this;return o.options=r,o.syncMod=!1,o.elements=[],o.buttonSize="middle",null==n||n.forEach((function(e){return e&&o.append(e)})),(null==r?void 0:r.name)&&(o.name=r.name),o}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"UIGroup"},Object.defineProperty(t.prototype,"allChildren",{get:function(){for(var e=[],t=r.__spreadArray([],r.__read(this.elements),!1);t.length;){var o=t.shift();(0,a.isArray)(o)?t.push.apply(t,r.__spreadArray([],r.__read(o),!1)):l.Component.isInstanceOf(o,n)?t.push.apply(t,r.__spreadArray([],r.__read(o.elements),!1)):o&&e.push(o)}return e},enumerable:!1,configurable:!0}),t.prototype.update=function(){this.elements.forEach((function(e){return e.update()})),this.setMod("size",this.buttonSize)},t.prototype.append=function(e,t){var n=this;return(0,a.isArray)(e)?(e.forEach((function(e){return n.append(e,t)})),this):(this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t?this.getElm(t).appendChild(e.container):this.appendChildToContainer(e.container),e.parentElement=this,e.update(),this)},t.prototype.afterSetMod=function(e,t){this.syncMod&&this.elements.forEach((function(n){return n.setMod(e,t)}))},t.prototype.appendChildToContainer=function(e){this.container.appendChild(e)},t.prototype.remove=function(e){var t=this.elements.indexOf(e);return-1!==t&&(this.elements.splice(t,1),s.Dom.safeRemove(e.container),e.parentElement=null),this},t.prototype.clear=function(){return this.elements.forEach((function(e){return e.destruct()})),this.elements.length=0,this},t.prototype.destruct=function(){return this.clear(),e.prototype.destruct.call(this)},r.__decorate([(0,i.watch)("buttonSize")],t.prototype,"update",null),n=r.__decorate([i.component],t)}(o.UIElement);t.UIGroup=c},86586:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(31454),t),r.__exportStar(n(81287),t),r.__exportStar(n(33250),t),r.__exportStar(n(81402),t)},81287:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIList=void 0;var r=n(20255);n(90235);var o=n(20704),i=n(18731),a=n(31454),s=n(33250),l=n(81402),c=n(6816),u=n(20220),d=n(58240),f=n(11986),p=n(16867),h=function(e){function t(t){var n=e.call(this,t)||this;return n.mode="horizontal",n.removeButtons=[],n.onChangeMode(),n}return r.__extends(t,e),t.prototype.className=function(){return"UIList"},t.prototype.onChangeMode=function(){this.setMod("mode",this.mode)},t.prototype.makeGroup=function(){return new a.UIGroup(this.jodit)},Object.defineProperty(t.prototype,"buttons",{get:function(){return this.allChildren.filter((function(e){return p.Component.isInstanceOf(e,c.UIButton)}))},enumerable:!1,configurable:!0}),t.prototype.getButtonsNames=function(){return this.buttons.map((function(e){return e instanceof c.UIButton&&e.state.name||""})).filter((function(e){return""!==e}))},t.prototype.setRemoveButtons=function(e){return this.removeButtons=e||[],this},t.prototype.build=function(e,t){var n=this;void 0===t&&(t=null),e=(0,f.splitArray)(e),this.clear();var r,i=!1,a=this.makeGroup();this.append(a),a.setMod("line",!0);var c=function(e){var o=null;switch(e.name){case"\n":(a=n.makeGroup()).setMod("line",!0),r=n.makeGroup(),a.append(r),n.append(a);break;case"|":i||(i=!0,o=new s.UISeparator(n.j));break;case"---":r.setMod("before-spacer",!0);var c=new l.UISpacer(n.j);a.append(c),r=n.makeGroup(),a.append(r),i=!1;break;default:i=!1,o=n.makeButton(e,t)}o&&(r||(r=n.makeGroup(),a.append(r)),r.append(o))},p=function(e){return!n.removeButtons.includes(e.name)};return e.forEach((function(e){if((0,u.isButtonGroup)(e)){var t=e.buttons.filter((function(e){return e}));t.length&&((r=n.makeGroup()).setMod("separated",!0).setMod("group",e.group),a.append(r),(0,o.getStrongControlTypes)(t,n.j.o.controls).filter(p).forEach(c))}else{r||(r=n.makeGroup(),a.append(r));var i=(0,d.getControlType)(e,n.j.o.controls);p(i)&&c(i)}})),this.update(),this},t.prototype.makeButton=function(e,t){return new c.UIButton(this.j)},r.__decorate([(0,i.watch)("mode")],t.prototype,"onChangeMode",null),r.__decorate([i.component],t)}(a.UIGroup);t.UIList=h},33250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISeparator=void 0;var r=n(20255),o=n(96659),i=n(45466),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.className=function(){return"UISeparator"},r.__decorate([i.component],t)}(o.UIElement);t.UISeparator=a},81402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISpacer=void 0;var r=n(20255),o=n(96659),i=n(45466),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.className=function(){return"UISpacer"},r.__decorate([i.component],t)}(o.UIElement);t.UISpacer=a},20220:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flatButtonsSet=t.isButtonGroup=void 0;var r=n(20255),o=n(41515);t.isButtonGroup=function(e){return(0,o.isArray)(e.buttons)},t.flatButtonsSet=function(e,n){var o=n.getRegisteredButtonGroups();return new Set(e.reduce((function(e,n){var i;return(0,t.isButtonGroup)(n)?e=e.concat(r.__spreadArray(r.__spreadArray([],r.__read(n.buttons),!1),r.__read(null!==(i=o[n.group])&&void 0!==i?i:[]),!1)):e.push(n),e}),[]))}},58240:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findControlType=t.getControlType=void 0;var r=n(20255),o=n(83370),i=n(80031);function a(e,t){var n=r.__read(e.split(/\./),2),i=n[0],a=n[1],s=t;return null!=a?void 0!==t[i]&&(s=t[i]):a=i,s[a]?r.__assign({name:a},(0,o.ConfigFlatten)(s[a])):void 0}t.getControlType=function(e,t){var n;return t||(t=i.Config.defaultOptions.controls),(0,o.isString)(e)?n=a(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(n=r.__assign({name:"empty"},(0,o.ConfigFlatten)(e))).name]&&(n=r.__assign(r.__assign({},(0,o.ConfigFlatten)(t[n.name])),(0,o.ConfigFlatten)(n))),n},t.findControlType=a},20704:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getStrongControlTypes=void 0;var r=n(58240),o=n(80031),i=n(41515),a=n(38301);t.getStrongControlTypes=function(e,t){return((0,i.isArray)(e)?e:(0,a.keys)(e,!1).map((function(t){return(0,a.ConfigProto)({name:t},e[t]||{})}))).map((function(e){return(0,r.getControlType)(e,t||o.Config.defaultOptions.controls)}))}},80353:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Icon=void 0;var r=n(76239),o=n(83370),i=function(){function e(){}return e.getIcon=function(t){return/<svg/i.test(t)?t:e.icons[t]||e.icons[t.replace(/-/g,"_")]||e.icons[t.replace(/_/g,"-")]||e.icons[(0,o.camelCase)(t)]||e.icons[(0,o.kebabCase)(t)]||e.icons[t.toLowerCase()]},e.exists=function(e){return void 0!==this.getIcon(e)},e.get=function(e,t){return void 0===t&&(t="<span></span>"),this.getIcon(e)||t},e.set=function(e,t){return this.icons[e.replace("_","-")]=t,this},e.makeIcon=function(t,n){var o,i;if(n){var a=n.name.replace(/[^a-zA-Z0-9]/g,"_");if(n.iconURL)i=t.c.span(),(0,r.css)(i,"backgroundImage","url("+n.iconURL.replace("{basePath}",(null==t?void 0:t.basePath)||"")+")");else{var s=t.e.fire("getIcon",n.name,n,a)||e.get(n.name,"")||(null===(o=t.o.extraIcons)||void 0===o?void 0:o[n.name]);s&&(i=t.c.fromHTML(s.trim()),/^<svg/i.test(n.name)||i.classList.add("jodit-icon_"+a))}}return i&&(i.classList.add("jodit-icon"),i.style.fill=n.fill),i},e.icons={},e}();t.Icon=i},77688:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(96659),t),r.__exportStar(n(25242),t),r.__exportStar(n(36649),t),r.__exportStar(n(86586),t),r.__exportStar(n(20935),t),r.__exportStar(n(80353),t),r.__exportStar(n(43862),t)},36649:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(78900),t)},78900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Popup=void 0;var r=n(20255);n(88477);var o=n(65401),i=n(83370);n(52378);var a=n(96659),s=n(18731),l=n(16867),c=n(16672),u=function(e){function t(t,n){void 0===n&&(n=!0);var r=e.call(this,t)||this;return r.smart=n,r.isOpened=!1,r.strategy="leftBottom",r.viewBound=function(){return{left:0,top:0,width:r.ow.innerWidth,height:r.ow.innerHeight}},r.childrenPopups=new Set,(0,i.attr)(r.container,"role","popup"),r}return r.__extends(t,e),t.prototype.className=function(){return"Popup"},t.prototype.updateParentElement=function(n){var r=this;return n!==this&&l.Component.isInstanceOf(n,t)&&(this.childrenPopups.forEach((function(e){!n.closest(e)&&e.isOpened&&e.close()})),this.childrenPopups.has(n)||this.j.e.on(n,"beforeClose",(function(){r.childrenPopups.delete(n)})),this.childrenPopups.add(n)),e.prototype.updateParentElement.call(this,n)},t.prototype.setContent=function(e){o.Dom.detach(this.container);var t,n=this.j.c.div("".concat(this.componentName,"__content"));return l.Component.isInstanceOf(e,a.UIElement)?(t=e.container,e.parentElement=this):t=(0,i.isString)(e)?this.j.c.fromHTML(e):e,n.appendChild(t),this.container.appendChild(n),this.updatePosition(),this},t.prototype.open=function(e,n,r){if(void 0===n&&(n=!1),(0,i.markOwner)(this.jodit,this.container),this.calculateZIndex(),this.isOpened=!0,this.addGlobalListeners(),this.targetBound=n?this.getKeepBound(e):e,r)r.appendChild(this.container);else{var o=(0,c.getContainer)(this.jodit,t);r!==this.container.parentElement&&o.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this},t.prototype.calculateZIndex=function(){var e=this;if(!this.container.style.zIndex){var t=function(t){var n=t.container.style.zIndex||t.o.zIndex;return!!n&&(e.setZIndex(1+parseInt(n.toString(),10)),!0)},n=this.j;if(!t(n))for(var r=this.parentElement;r;){if(t(n))return;if(r.container.style.zIndex)return void this.setZIndex(1+parseInt(r.container.style.zIndex.toString(),10));if(!r.parentElement&&r.container.parentElement){var o=a.UIElement.closestElement(r.container.parentElement,a.UIElement);if(o){r=o;continue}}r=r.parentElement}}},t.prototype.getKeepBound=function(e){var t=this,n=e(),a=this.od.elementFromPoint(n.left,n.top);if(!a)return e;var s=o.Dom.isHTMLElement(a)?a:a.parentElement,l=(0,i.position)(s,this.j);return function(){var n=e(),o=(0,i.position)(s,t.j);return r.__assign(r.__assign({},n),{top:n.top+(o.top-l.top),left:n.left+(o.left-l.left)})}},t.prototype.updatePosition=function(){if(!this.isOpened)return this;var e=r.__read(this.calculatePosition(this.targetBound(),this.viewBound(),(0,i.position)(this.container,this.j)),2),t=e[0];return this.setMod("strategy",e[1]),(0,i.css)(this.container,{left:t.left,top:t.top}),this.childrenPopups.forEach((function(e){return e.updatePosition()})),this},t.prototype.throttleUpdatePosition=function(){this.updatePosition()},t.prototype.calculatePosition=function(e,n,o,a){void 0===a&&(a=this.strategy);var s={left:e.left,right:e.left-(o.width-e.width)},l={bottom:e.top+e.height,top:e.top-o.height},c=Object.keys(s).reduce((function(e,t){return e.concat(Object.keys(l).map((function(e){return"".concat(t).concat((0,i.ucfirst)(e))})))}),[]),u=function(e){var t=r.__read((0,i.kebabCase)(e).split("-"),2);return{left:s[t[0]],top:l[t[1]],width:o.width,height:o.height}},d=function(e){return t.boxInView(u(a),e)?a:c.find((function(n){if(t.boxInView(u(n),e))return n}))||null},f=d((0,i.position)(this.j.container,this.j));return f&&t.boxInView(u(f),n)||(f=d(n)||f||a),[u(f),f]},t.boxInView=function(e,t){return!(-2>e.top-t.top||-2>e.left-t.left||-2>t.top+t.height-(e.top+e.height)||-2>t.left+t.width-(e.left+e.width))},t.prototype.close=function(){return this.isOpened?(this.isOpened=!1,this.childrenPopups.forEach((function(e){return e.close()})),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.removeGlobalListeners(),o.Dom.safeRemove(this.container),this):this},t.prototype.closeOnOutsideClick=function(e){this.isOpened&&!this.isOwnClick(e)&&this.close()},t.prototype.isOwnClick=function(e){if(!e.target)return!1;var n=a.UIElement.closestElement(e.target,t);return Boolean(n&&(this===n||n.closest(this)))},t.prototype.addGlobalListeners=function(){var e=this,t=this.throttleUpdatePosition,n=this.ow;c.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on("escape",this.close).on("mousedown touchstart",this.closeOnOutsideClick).on(n,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",t).on(this.container,"scroll mousewheel",t).on(n,"scroll",t).on(n,"resize",t),o.Dom.up(this.j.container,(function(n){n&&e.j.e.on(n,"scroll mousewheel",t)}))},t.prototype.removeGlobalListeners=function(){var e=this,t=this.throttleUpdatePosition,n=this.ow;c.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off("escape",this.close).off("mousedown touchstart",this.closeOnOutsideClick).off(n,"mousedown touchstart",this.closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",t).off(this.container,"scroll mousewheel",t).off(n,"scroll",t).off(n,"resize",t),o.Dom.up(this.j.container,(function(n){n&&e.j.e.off(n,"scroll mousewheel",t)}))},t.prototype.setZIndex=function(e){this.container.style.zIndex=e.toString()},t.prototype.destruct=function(){return this.close(),e.prototype.destruct.call(this)},r.__decorate([s.autobind],t.prototype,"updatePosition",null),r.__decorate([(0,s.throttle)(10),s.autobind],t.prototype,"throttleUpdatePosition",null),r.__decorate([s.autobind],t.prototype,"close",null),r.__decorate([s.autobind],t.prototype,"closeOnOutsideClick",null),t}(a.UIElement);t.Popup=u},43862:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ProgressBar=void 0;var r=n(20255);n(50197);var o=n(65401),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.className=function(){return"ProgressBar"},t.prototype.render=function(){return"<div><div></div></div>"},t.prototype.show=function(){return(this.j.workplace||this.j.container).appendChild(this.container),this},t.prototype.hide=function(){return o.Dom.safeRemove(this.container),this},t.prototype.progress=function(e){return this.container.style.width=e.toFixed(2)+"%",this},t.prototype.destruct=function(){return this.hide(),e.prototype.destruct.call(this)},t}(n(96659).UIElement);t.ProgressBar=i},67555:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ViewWithToolbar=void 0;var r=n(20255);n(39008);var o=n(49896),i=n(83370),a=n(36516),s=n(5243),l=n(95448),c=n(20220),u=n(18731),d=function(e){function t(t,n){void 0===n&&(n=!1);var r=e.call(this,t,n)||this;return r.toolbar=(0,s.makeCollection)(r),r.defaultToolbarContainer=r.c.div("jodit-toolbar__box"),r.registeredButtons=new Set,r.groupToButtons={},r.isJodit=!1,r.isJodit=n,r.e.on("beforeToolbarBuild",r.beforeToolbarBuild),r}return r.__extends(t,e),Object.defineProperty(t.prototype,"toolbarContainer",{get:function(){return this.o.fullsize||!(0,i.isString)(this.o.toolbar)&&!a.Dom.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&a.Dom.appendChildFirst(this.container,this.defaultToolbarContainer),this.defaultToolbarContainer):(0,i.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od)},enumerable:!1,configurable:!0}),t.prototype.setPanel=function(e){this.o.toolbar=e,this.buildToolbar()},t.prototype.buildToolbar=function(){if(this.o.toolbar){var e=this.o.buttons?(0,i.splitArray)(this.o.buttons):[];this.toolbar.setRemoveButtons(this.o.removeButtons).build(e.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}},t.prototype.getRegisteredButtonGroups=function(){return this.groupToButtons},t.prototype.registerButton=function(e){var t;this.registeredButtons.add(e);var n=null!==(t=e.group)&&void 0!==t?t:"other";return this.groupToButtons[n]||(this.groupToButtons[n]=[]),null!=e.position?this.groupToButtons[n][e.position]=e.name:this.groupToButtons[n].push(e.name),this},t.prototype.unregisterButton=function(e){var t;this.registeredButtons.delete(e);var n=null!==(t=e.group)&&void 0!==t?t:"other",r=this.groupToButtons[n];if(r){var o=r.indexOf(e.name);-1!==o&&r.splice(o,1),0===r.length&&delete this.groupToButtons[n]}return this},t.prototype.beforeToolbarBuild=function(e){var t=this;if(Object.keys(this.groupToButtons).length)return e.map((function(e){return(0,c.isButtonGroup)(e)&&e.group&&t.groupToButtons[e.group]?{group:e.group,buttons:r.__spreadArray(r.__spreadArray([],r.__read(e.buttons),!1),r.__read(t.groupToButtons[e.group]),!1)}:e}))},t.prototype.destruct=function(){this.isDestructed||(this.setStatus(l.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.toolbar.destruct(),e.prototype.destruct.call(this))},r.__decorate([u.autobind],t.prototype,"beforeToolbarBuild",null),t}(o.View);t.ViewWithToolbar=d},49896:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.View=void 0;var r=n(20255),o=n(95704),i=n(83370),a=n(47386),s=n(18870),l=n(16672),c=n(18731),u=n(44535),d=n(51850),f=n(23895),p=function(e){function t(t,r){void 0===r&&(r=!1);var i=e.call(this)||this;return i.isJodit=r,i.isView=!0,i.parent=null,i.mods={},i.components=new Set,i.version="3.21.5",i.buffer=o.Storage.makeStorage(),i.storage=o.Storage.makeStorage(!0,i.componentName),i.OPTIONS=n.defaultOptions,i.__isFullSize=!1,i.__whoLocked="",i.isLockedNotBy=function(e){return i.isLocked&&i.__whoLocked!==e},i.__modulesInstances=new Map,i.id=(new Date).getTime().toString(),i.buffer=o.Storage.makeStorage(),i.initOptions(t),i.initOwners(),i.events=new d.EventEmitter(i.od),i.create=new s.Create(i.od),i.container=i.c.div("jodit ".concat(i.componentName)),i.progressbar=new s.ProgressBar(i),i.message=new f.UIMessages(i),i}var n;return r.__extends(t,e),n=t,Object.defineProperty(t.prototype,"basePath",{get:function(){return this.o.basePath?this.o.basePath:a.BASE_PATH},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return(0,i.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"c",{get:function(){return this.create},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.__container},set:function(e){this.__container=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"e",{get:function(){return this.events},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.__options},set:function(e){this.__options=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.i18n=function(e){for(var t=[],n=1;arguments.length>n;n++)t[n-1]=arguments[n];return(0,i.i18n)(e,t,this.options)},t.prototype.toggleFullSize=function(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))},Object.defineProperty(t.prototype,"isLocked",{get:function(){return""!==this.__whoLocked},enumerable:!1,configurable:!0}),t.prototype.lock=function(e){return void 0===e&&(e="any"),!this.isLocked&&(this.__whoLocked=e,!0)},t.prototype.unlock=function(){return!!this.isLocked&&(this.__whoLocked="",!0)},Object.defineProperty(t.prototype,"isFullSize",{get:function(){return this.__isFullSize},enumerable:!1,configurable:!0}),t.prototype.getVersion=function(){return"3.21.5"},t.getVersion=function(){return"3.21.5"},t.prototype.initOptions=function(e){this.options=(0,i.ConfigProto)(e||{},(0,i.ConfigProto)(this.options||{},n.defaultOptions))},t.prototype.initOwners=function(){var e;this.ownerWindow=null!==(e=this.o.ownerWindow)&&void 0!==e?e:window},t.prototype.attachEvents=function(e){var t=this;if(e){var n=null==e?void 0:e.events;n&&Object.keys(n).forEach((function(e){return t.e.on(e,n[e])}))}},t.prototype.getInstance=function(e,t){var n=this.e.fire((0,i.camelCase)("getInstance_"+e),t);if(n)return n;var r=l.modules[e],o=this.__modulesInstances;if(!(0,i.isFunction)(r))throw(0,i.error)("Need real module name");if(!o.has(e)){var a=r.prototype instanceof s.ViewComponent?new r(this,t):new r(t);this.components.add(a),o.set(e,a)}return o.get(e)},t.prototype.addDisclaimer=function(e){this.container.appendChild(e)},t.prototype.beforeDestruct=function(){this.e.fire(s.STATUSES.beforeDestruct,this),this.components.forEach((function(e){(0,i.isDestructable)(e)&&!e.isInDestruct&&e.destruct()})),this.components.clear()},t.prototype.destruct=function(){this.isDestructed||(this.progressbar.destruct(),this.message.destruct(),this.async&&this.async.destruct(),this.events&&this.e.destruct(),this.buffer&&this.buffer.clear(),s.Dom.safeRemove(this.container),e.prototype.destruct.call(this))},t.esNext=!1,r.__decorate([(0,c.hook)(s.STATUSES.beforeDestruct)],t.prototype,"beforeDestruct",null),n=r.__decorate([(0,c.derive)(u.Mods,u.Elms)],t)}(s.Component);t.View=p,p.defaultOptions={extraButtons:[],textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},57468:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Jodit=void 0;var r=n(20255),o=n(80031),i=n(47386),a=n(18870),s=n(83370),l=n(95704),c=n(47386),u=n(16672),d=n(18731),f=n(44535),p="data-jodit-default-style-display",h="data-jodit-default-classes",m=function(e){function t(t,r){var o=e.call(this,r,!0)||this;o.isJodit=!0,o.commands=new Map,o.__selectionLocked=null,o.__wasReadOnly=!1,o.createInside=new a.Create((function(){return o.ed}),o.o.createAttributes),o.editorIsActive=!1,o.__mode=i.MODE_WYSIWYG,o.__callChangeCount=0,o.isSilentChange=!1,o.elementToPlace=new Map;try{var c=(0,s.resolveElement)(t,o.o.shadowRoot||o.od);if(n.isJoditAssigned(c))return c.component}catch(e){throw o.destruct(),e}o.setStatus(a.STATUSES.beforeInit),o.id=(0,s.attr)((0,s.resolveElement)(t,o.o.shadowRoot||o.od),"id")||(new Date).getTime().toString(),u.instances[o.id]=o,o.storage=l.Storage.makeStorage(!0,o.id),o.attachEvents(r),o.e.on(o.ow,"resize",(function(){o.e&&o.e.fire("resize")})),o.e.on("prepareWYSIWYGEditor",o.prepareWYSIWYGEditor),o.selection=new a.Select(o);var d=o.beforeInitHook();return(0,s.callPromise)(d,(function(){o.e.fire("beforeInit",o);var e=u.pluginSystem.init(o);(0,s.callPromise)(e,(function(){o.e.fire("afterPluginSystemInit",o),o.e.on("changePlace",(function(){o.setReadOnly(o.o.readonly),o.setDisabled(o.o.disabled)})),o.places.length=0;var e=o.addPlace(t,r);u.instances[o.id]=o,(0,s.callPromise)(e,(function(){o.e&&o.e.fire("afterInit",o),o.afterInitHook(),o.setStatus(a.STATUSES.ready),o.e.fire("afterConstructor",o)}))}))})),o}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"Jodit"},t.prototype.waitForReady=function(){var e=this;return this.isReady?Promise.resolve(this):this.async.promise((function(t){e.hookStatus("ready",(function(){return t(e)}))}))},Object.defineProperty(t,"ready",{get:function(){return new Promise((function(e){u.eventEmitter.on("oditready",e)}))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){if(this.editor)return this.editor.innerText||"";var e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"defaultTimeout",{get:function(){return(0,s.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:o.Config.defaultOptions.defaultTimeout},enumerable:!1,configurable:!0}),t.atom=function(e){return(0,s.markAsAtomic)(e)},t.make=function(e,t){return new n(e,t)},t.isJoditAssigned=function(e){return e&&(0,s.isJoditObject)(e.component)&&!e.component.isInDestruct},Object.defineProperty(t,"defaultOptions",{get:function(){return o.Config.defaultOptions},enumerable:!1,configurable:!0}),t.prototype.setPlaceField=function(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t},Object.defineProperty(t.prototype,"element",{get:function(){return this.currentPlace.element},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"editor",{get:function(){return this.currentPlace.editor},set:function(e){this.setPlaceField("editor",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"container",{get:function(){return this.currentPlace.container},set:function(e){this.setPlaceField("container",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"workplace",{get:function(){return this.currentPlace.workplace},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"statusbar",{get:function(){return this.currentPlace.statusbar},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"iframe",{get:function(){return this.currentPlace.iframe},set:function(e){this.setPlaceField("iframe",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"history",{get:function(){return this.currentPlace.history},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"observer",{get:function(){return this.history},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"editorWindow",{get:function(){return this.currentPlace.editorWindow},set:function(e){this.setPlaceField("editorWindow",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ew",{get:function(){return this.editorWindow},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"editorDocument",{get:function(){return this.currentPlace.editorWindow.document},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"ed",{get:function(){return this.editorDocument},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"options",{get:function(){return this.currentPlace.options},set:function(e){this.setPlaceField("options",e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"s",{get:function(){return this.selection},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"uploader",{get:function(){return this.getInstance("Uploader",this.o.uploader)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"filebrowser",{get:function(){var e=this,t=(0,s.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback:function(t){t.files&&t.files.length&&t.files.forEach((function(n,r){var o=t.baseurl+n;t.isImages&&t.isImages[r]?e.s.insertImage(o,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML("<a href='".concat(o,"' title='").concat(o,"'>").concat(o,"</a>")))}))}},this.o.filebrowser);return e.getInstance("FileBrowser",t)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"mode",{get:function(){return this.__mode},set:function(e){this.setMode(e)},enumerable:!1,configurable:!0}),t.prototype.getNativeEditorValue=function(){var e=this.e.fire("beforeGetNativeEditorValue");return(0,s.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()},t.prototype.setNativeEditorValue=function(e){var t={value:e};this.e.fire("beforeSetNativeEditorValue",t)||this.editor&&(this.editor.innerHTML=t.value)},Object.defineProperty(t.prototype,"value",{get:function(){return this.getEditorValue()},set:function(e){this.setEditorValue(e),this.history.processChanges()},enumerable:!1,configurable:!0}),t.prototype.synchronizeValues=function(){this.__imdSynchronizeValues()},t.prototype.__imdSynchronizeValues=function(){this.setEditorValue()},t.prototype.getEditorValue=function(e,t){var n;if(void 0===e&&(e=!0),void 0!==(n=this.e.fire("beforeGetValueFromEditor",t)))return n;n=this.getNativeEditorValue().replace(i.INVISIBLE_SPACE_REG_EXP(),""),e&&(n=n.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===n&&(n="");var r={value:n};return this.e.fire("afterGetValueFromEditor",r,t),r.value},t.prototype.setEditorValue=function(e){var t=this.e.fire("beforeSetValueToEditor",e);if(!1!==t)if((0,s.isString)(t)&&(e=t),this.editor){if(!(0,s.isString)(e)&&!(0,s.isVoid)(e))throw(0,s.error)("value must be string");(0,s.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");var n=this.getElementValue(),r=this.getEditorValue();if(!this.isSilentChange&&n!==r&&i.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(r),this.__callChangeCount+=1;try{this.history.upTick(),this.e.fire("change",r,n),this.e.fire(this.history,"change",r,n)}finally{this.__callChangeCount=0}}}else void 0!==e&&this.__setElementValue(e)},t.prototype.updateElementValue=function(){this.__setElementValue(this.getEditorValue())},t.prototype.getElementValue=function(){return void 0!==this.element.value?this.element.value:this.element.innerHTML},t.prototype.setElementValue=function(e){var t=this.getElementValue();return(void 0===e||(0,s.isString)(e)&&e!==t)&&(null!=e||(e=t),e!==this.getEditorValue()&&this.setEditorValue(e)),this.__setElementValue(e)},t.prototype.__setElementValue=function(e){var t=this;if(!(0,s.isString)(e))throw(0,s.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){var n={value:e},r=this.e.fire("beforeSetElementValue",n);(0,s.callPromise)(r,(function(){void 0!==t.element.value?t.element.value=n.value:t.element.innerHTML=n.value,t.e.fire("afterSetElementValue",n)}))}},t.prototype.registerCommand=function(e,t,n){var r=e.toLowerCase(),o=this.commands.get(r);if(void 0===o&&this.commands.set(r,o=[]),o.push(t),!(0,s.isFunction)(t)){var i=this.o.commandToHotkeys[r]||this.o.commandToHotkeys[e]||t.hotkeys;i&&this.registerHotkeyToCommand(i,r,null==n?void 0:n.stopPropagation)}return this},t.prototype.registerHotkeyToCommand=function(e,t,n){var r=this;void 0===n&&(n=!0);var o=(0,s.asArray)(e).map(s.normalizeKeyAliases).map((function(e){return e+".hotkey"})).join(" ");this.e.off(o).on(o,(function(e,o){return o&&(o.shouldStop=null==n||n),r.execCommand(t)}))},t.prototype.execCommand=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=null),this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(e)){var r;if(e=e.toLowerCase(),!1!==(r=this.e.fire("beforeCommand",e,t,n))&&(r=this.execCustomCommands(e,t,n)),!1!==r)if(this.s.focus(),"selectall"===e)this.s.select(this.editor,!0),this.s.expandSelection();else try{r=this.nativeExecCommand(e,t,n)}catch(e){}return this.e.fire("afterCommand",e,t,n),this.setEditorValue(),r}},t.prototype.nativeExecCommand=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=null),this.isSilentChange=!0;try{return this.ed.execCommand(e,t,n)}finally{this.isSilentChange=!1}},t.prototype.execCustomCommands=function(e,t,n){var r=this;void 0===t&&(t=!1),void 0===n&&(n=null),e=e.toLowerCase();var o,i=this.commands.get(e);if(void 0!==i)return i.forEach((function(i){var a=((0,s.isFunction)(i)?i:i.exec).call(r,e,t,n);void 0!==a&&(o=a)})),o},t.prototype.lock=function(t){return void 0===t&&(t="any"),!!e.prototype.lock.call(this,t)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)},t.prototype.unlock=function(){return!!e.prototype.unlock.call(this)&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)},t.prototype.getMode=function(){return this.mode},t.prototype.isEditorMode=function(){return this.getRealMode()===i.MODE_WYSIWYG},t.prototype.getRealMode=function(){if(this.getMode()!==i.MODE_SPLIT)return this.getMode();var e=this.od.activeElement;return e&&(e===this.iframe||a.Dom.isOrContains(this.editor,e)||a.Dom.isOrContains(this.toolbar.container,e))?i.MODE_WYSIWYG:i.MODE_SOURCE},t.prototype.setMode=function(e){var t=this,n=this.getMode(),r={mode:parseInt(e.toString(),10)},o=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",r)&&(this.__mode=[i.MODE_SOURCE,i.MODE_WYSIWYG,i.MODE_SPLIT].includes(r.mode)?r.mode:i.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),o.forEach((function(e){t.container.classList.remove(e)})),this.container.classList.add(o[this.mode-1]),n!==this.getMode()&&this.e.fire("afterSetMode"))},t.prototype.toggleMode=function(){var e=this.getMode();[i.MODE_SOURCE,i.MODE_WYSIWYG,this.o.useSplitMode?i.MODE_SPLIT:9].includes(e+1)?e+=1:e=i.MODE_WYSIWYG,this.setMode(e)},t.prototype.setDisabled=function(e){this.o.disabled=e;var t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))},t.prototype.getDisabled=function(){return this.o.disabled},t.prototype.setReadOnly=function(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))},t.prototype.getReadOnly=function(){return this.o.readonly},t.prototype.beforeInitHook=function(){},t.prototype.afterInitHook=function(){},t.prototype.initOptions=function(e){this.options=(0,s.ConfigProto)(e||{},o.Config.defaultOptions)},t.prototype.initOwners=function(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow},t.prototype.addPlace=function(e,t){var n=this,r=(0,s.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),r.attributes&&(0,s.toArray)(r.attributes).forEach((function(e){var r=e.name,i=e.value;void 0===o.Config.defaultOptions[r]||t&&void 0!==t[r]||(-1!==["readonly","disabled"].indexOf(r)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(i.toString())&&(i=Number(i)),n.options[r]=i)}));var i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_".concat(this.o.theme||"default"));var l=this.o.styleValues;Object.keys(l).forEach((function(e){var t=(0,s.kebabCase)(e);i.style.setProperty("--jd-".concat(t),l[e])})),i.setAttribute("contenteditable","false");var c=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(r.nodeName)&&(i=r,r.setAttribute(h,r.className.toString()),c=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),r!==i&&(r.style.display&&r.setAttribute(p,r.style.display),r.style.display="none");var u=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(u),r.parentNode&&r!==i&&r.parentNode.insertBefore(i,r),Object.defineProperty(r,"component",{enumerable:!1,configurable:!0,value:this});var d=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});u.appendChild(d);var f={editor:d,element:r,container:i,workplace:u,statusbar:new a.StatusBar(this,i),options:this.isReady?(0,s.ConfigProto)(t||{},o.Config.defaultOptions):this.options,history:new a.History(this),editorWindow:this.ow};this.elementToPlace.set(d,f),this.setCurrentPlace(f),this.places.push(f),this.setNativeEditorValue(this.getElementValue());var m=this.initEditor(c),g=this.options;return(0,s.callPromise)(m,(function(){g.enableDragAndDropFileToEditor&&g.uploader&&(g.uploader.url||g.uploader.insertImageAsBase64URI)&&n.uploader.bind(n.editor),n.elementToPlace.get(n.editor)||n.elementToPlace.set(n.editor,f),n.e.fire("afterAddPlace",f)}))},t.prototype.addDisclaimer=function(e){this.workplace.appendChild(e)},t.prototype.setCurrentPlace=function(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(i.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))},t.prototype.initEditor=function(e){var t=this,n=this.createEditor();return(0,s.callPromise)(n,(function(){if(!t.isInDestruct){if(t.element!==t.container){var n=t.getElementValue();n!==t.getEditorValue()&&t.setEditorValue(n)}else null!=e&&t.setEditorValue(e);var r=t.o.defaultMode;if(t.o.saveModeInStorage){var o=t.storage.get("jodit_default_mode");"string"==typeof o&&(r=parseInt(o,10))}t.setMode(r),t.o.readonly&&(t.__wasReadOnly=!1,t.setReadOnly(!0)),t.o.disabled&&t.setDisabled(!0);try{t.ed.execCommand("defaultParagraphSeparator",!1,t.o.enter.toLowerCase())}catch(e){}try{t.ed.execCommand("enableObjectResizing",!1,"false")}catch(e){}try{t.ed.execCommand("enableInlineTableEditing",!1,"false")}catch(e){}}}))},t.prototype.createEditor=function(){var e=this,t=this.editor,n=this.e.fire("createEditor",this);return(0,s.callPromise)(n,(function(){if(!e.isInDestruct){if((!1===n||(0,s.isPromise)(n))&&a.Dom.safeRemove(t),e.o.editorCssClass&&e.editor.classList.add(e.o.editorCssClass),e.o.style&&(0,s.css)(e.editor,e.o.style),e.e.on("synchro",(function(){e.setEditorValue()})).on("focus",(function(){e.editorIsActive=!0})).on("blur",(function(){return e.editorIsActive=!1})),e.prepareWYSIWYGEditor(),e.o.direction){var r="rtl"===e.o.direction.toLowerCase()?"rtl":"ltr";e.container.style.direction=r,e.container.setAttribute("dir",r),e.toolbar.setDirection(r)}e.o.triggerChangeEvent&&e.e.on("change",e.async.debounce((function(){e.e&&e.e.fire(e.element,"change")}),e.defaultTimeout))}}))},t.prototype.prepareWYSIWYGEditor=function(){var e=this,t=this.editor;if(this.o.direction){var n="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=n,this.editor.setAttribute("dir",n)}this.e.on(t,"mousedown touchstart focus",(function(){var n=e.elementToPlace.get(t);n&&e.setCurrentPlace(n)})).on(t,"compositionend",this.synchronizeValues).on(t,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(function(t){if(!e.o.readonly&&!e.isSilentChange&&!(t instanceof e.ew.KeyboardEvent&&t.isComposing)&&e.e&&e.e.fire){if(!1===e.e.fire(t.type,t))return!1;e.synchronizeValues()}}))},t.prototype.destruct=function(){var t=this;if(!this.isInDestruct&&(this.setStatus(a.STATUSES.beforeDestruct),this.elementToPlace.clear(),this.editor)){var n=this.getEditorValue();this.storage.clear(),this.buffer.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body),this.places.forEach((function(e){var r=e.container,o=e.workplace,i=e.statusbar,l=e.element,c=e.iframe,u=e.editor,d=e.history;if(l!==r)if(l.hasAttribute(p)){var f=(0,s.attr)(l,p);f&&(l.style.display=f,l.removeAttribute(p))}else l.style.display="";else l.hasAttribute(h)&&(l.className=(0,s.attr)(l,h)||"",l.removeAttribute(h));l.hasAttribute("style")&&!(0,s.attr)(l,"style")&&l.removeAttribute("style"),i.destruct(),t.e.off(r),t.e.off(l),t.e.off(u),a.Dom.safeRemove(o),a.Dom.safeRemove(u),r!==l&&a.Dom.safeRemove(r),Object.defineProperty(l,"component",{enumerable:!1,configurable:!0,value:null}),a.Dom.safeRemove(c),r===l&&(l.innerHTML=n),d.destruct()})),this.places.length=0,this.currentPlace={},delete u.instances[this.id],e.prototype.destruct.call(this)}},t.fatMode=!1,t.plugins=u.pluginSystem,t.modules=u.modules,t.ns=u.modules,t.decorators={},t.constants=i,t.instances=u.instances,t.lang=c.lang,t.core={Plugin:a.Plugin},r.__decorate([d.cache],t.prototype,"uploader",null),r.__decorate([d.cache],t.prototype,"filebrowser",null),r.__decorate([(0,d.throttle)()],t.prototype,"synchronizeValues",null),r.__decorate([(0,d.watch)(":internalChange")],t.prototype,"updateElementValue",null),r.__decorate([d.autobind],t.prototype,"prepareWYSIWYGEditor",null),n=r.__decorate([(0,d.derive)(f.Dlgs)],t)}(a.ViewWithToolbar);t.Jodit=m},63851:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80450),o={},i=n(90643),a=n(52532),s=n(75178),l=n(51048),c=n(22999),u=n(34145),d=n(40272),f=n(2978),p=n(99113),h=n(51923),m=n(21268),g=n(37289),v=n(17084),b=n(96891),y=n(31211),A=n(31109),x=n(79375),C=n(21042),_=n(73895);o={ar:i,cs_cz:a,de:s,en:l,es:c,fr:u,he:d,hu:f,id:p,it:h,ja:m,ko:g,nl:v,pl:b,pt_br:y,ru:A,tr:x,zh_cn:C,zh_tw:_};var w=n(11399),k=function(e){return e?e.default||e:{}},S={};(0,r.isArray)(k(w))&&k(w).forEach((function(e,t){S[t]=e})),Object.keys(o).forEach((function(e){var t=k(o[e]);(0,r.isArray)(t)?(o[e]={},t.forEach((function(t,n){o[e][S[n]]=t}))):o[e]=t})),t.default=o},82616:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ContextMenu=void 0;var r=n(20255);n(47086);var o=n(36649),i=n(25242),a=n(80450),s=n(45466),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.className=function(){return"ContextMenu"},t.prototype.show=function(e,t,n){var r=this,o=this,s=this.j.c.div(this.getFullElName("actions"));(0,a.isArray)(n)&&(n.forEach((function(e){if(e){var t=(0,i.Button)(r.jodit,e.icon||"empty",e.title);r.jodit&&t.setParentView(r.jodit),t.setMod("context","menu"),t.onAction((function(t){var n;return null===(n=e.exec)||void 0===n||n.call(o,t),o.close(),!1})),s.appendChild(t.container)}})),this.setContent(s).open((function(){return{left:e,top:t,width:0,height:0}}),!0))},r.__decorate([s.component],t)}(o.Popup);t.ContextMenu=l},3510:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Alert=void 0;var r=n(91180),o=n(83370),i=n(36516),a=n(77688);t.Alert=function(e,t,n,s){void 0===s&&(s="jodit-dialog_alert"),(0,o.isFunction)(t)&&(n=t,t=void 0);var l=this instanceof r.Dialog?this:new r.Dialog,c=l.c.div(s),u=(0,a.Button)(l,"ok","Ok");return(0,o.asArray)(e).forEach((function(e){c.appendChild(i.Dom.isNode(e)?e:l.c.fromHTML(e))})),u.onAction((function(){n&&(0,o.isFunction)(n)&&!1===n(l)||l.close()})),l.setFooter([u]),l.open(c,t||"&nbsp;",!0,!0),u.focus(),l}},83933:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Confirm=void 0;var r=n(91180),o=n(87385),i=n(6816);t.Confirm=function(e,t,n){var a=this instanceof r.Dialog?this:new r.Dialog,s=a.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=a.c.element("label");(0,o.isFunction)(t)&&(n=t,t=void 0),l.appendChild(a.c.fromHTML(e)),s.appendChild(l);var c=function(e){return function(){n&&!1===n(e)||a.close()}},u=(0,i.Button)(a,"cancel","Cancel"),d=(0,i.Button)(a,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),a.e.on(s,"submit",(function(){return c(!0)(),!1})),a.setFooter([d,u]),a.open(s,t||"&nbsp;",!0,!0),d.focus(),a}},91180:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Dialog=void 0;var r=n(20255);n(16462);var o=n(80031),i=n(47386),a=n(83370);n(52378);var s=n(67555),l=n(36516),c=n(95448),u=n(16672),d=n(18731),f=n(49896),p=n(77688);o.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[]},o.Config.prototype.controls.dialog={close:{icon:"cancel",exec:function(e){e.close()}}};var h=function(e){function t(t){var n=e.call(this,t)||this;n.destroyAfterClose=!1,n.moved=!1,n.resizable=!1,n.draggable=!1,n.startX=0,n.startY=0,n.startPoint={x:0,y:0,w:0,h:0},n.lockSelect=function(){n.setMod("moved",!0)},n.unlockSelect=function(){n.setMod("moved",!1)},n.onResize=function(){n.options&&n.o.resizable&&!n.moved&&n.isOpened&&!n.offsetX&&!n.offsetY&&n.setPosition()},n.isModal=!1,n.isOpened=!1;var r=n;r.options=(0,a.ConfigProto)(null!=t?t:{},(0,a.ConfigProto)({toolbarButtonSize:"middle"},(0,a.ConfigProto)(o.Config.prototype.dialog,f.View.defaultOptions))),l.Dom.safeRemove(r.container);var i=n.getFullElName.bind(n);r.container=n.c.fromHTML('<div style="z-index:'.concat(r.o.zIndex,'" class="jodit jodit-dialog ').concat(n.componentName,'">\n\t\t\t\t<div class="').concat(i("overlay"),'"></div>\n\t\t\t\t<div class="').concat(n.getFullElName("panel"),'">\n\t\t\t\t\t<div class="').concat(i("header"),'">\n\t\t\t\t\t\t<div class="').concat(i("header-title"),'"></div>\n\t\t\t\t\t\t<div class="').concat(i("header-toolbar"),'"></div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div class="').concat(i("content"),'"></div>\n\t\t\t\t\t<div class="').concat(i("footer"),'"></div>\n\t\t\t\t\t<div class="').concat(i("resizer"),'">').concat(p.Icon.get("resize_handler"),"</div>\n\t\t\t\t</div>\n\t\t\t</div>")),(0,a.attr)(r.container,"role","dialog"),Object.defineProperty(r.container,"component",{value:n}),r.setMod("theme",r.o.theme||"default").setMod("resizable",Boolean(r.o.resizable));var s=r.getElm("panel"),c=r.getElm("resizer"),d=r.getElm("header-title"),h=r.getElm("content"),m=r.getElm("footer"),g=r.getElm("header-toolbar");n.dialog=s,n.resizer=c,n.dialogbox_header=d,n.dialogbox_content=h,n.dialogbox_footer=m,n.dialogbox_toolbar=g,(0,a.css)(r.dialog,{maxWidth:r.options.maxWidth,minHeight:r.options.minHeight,minWidth:r.options.minWidth});var v=r.getElm("header");v&&r.e.on(v,"pointerdown touchstart",r.onHeaderMouseDown),r.e.on(r.resizer,"mousedown touchstart",r.onResizerMouseDown);var b=u.pluginSystem.get("fullsize");return(0,a.isFunction)(b)&&b(r),n.e.on(r.container,"close_dialog",r.close).on(n.ow,"keydown",n.onEsc).on(n.ow,"resize",n.onResize),n}return r.__extends(t,e),t.prototype.className=function(){return"Dialog"},Object.defineProperty(t.prototype,"destination",{get:function(){var e;return null!==(e=this.o.shadowRoot)&&void 0!==e?e:this.od.body},enumerable:!1,configurable:!0}),t.prototype.setElements=function(e,t){var n=this,r=[];(0,a.asArray)(t).forEach((function(t){if((0,a.isArray)(t)){var o=n.c.div(n.getFullElName("column"));return r.push(o),e.appendChild(o),n.setElements(o,t)}var i;i=(0,a.isString)(t)?n.c.fromHTML(t):(0,a.hasContainer)(t)?t.container:t,r.push(i),i.parentNode!==e&&e.appendChild(i)})),(0,a.toArray)(e.childNodes).forEach((function(t){-1===r.indexOf(t)&&e.removeChild(t)}))},t.prototype.onMouseUp=function(){(this.draggable||this.resizable)&&(this.removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))},t.prototype.onHeaderMouseDown=function(e){var t=e.target;!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/)||(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,a.css)(this.dialog,"left"),this.startPoint.y=(0,a.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startMove"))},t.prototype.onMouseMove=function(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))},t.prototype.onEsc=function(e){if(this.isOpened&&e.key===i.KEY_ESC&&!0!==this.getMod("static")){var t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}},t.prototype.onResizerMouseDown=function(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")},t.prototype.addGlobalResizeListeners=function(){var e=this;e.e.on(e.ow,"pointermove touchmove",e.onMouseMove).on(e.ow,"pointerup touchend",e.onMouseUp)},t.prototype.removeGlobalResizeListeners=function(){var e=this;e.e.off(e.ow,"mousemove pointermove",e.onMouseMove).off(e.ow,"mouseup pointerup",e.onMouseUp)},t.prototype.setSize=function(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,a.css)(this.dialog,{width:e,height:t}),this},t.prototype.calcAutoSize=function(){return this.setSize("auto","auto"),this.setSize(),this},t.prototype.setPosition=function(e,t){var n=this.ow.innerWidth/2-this.dialog.offsetWidth/2,r=this.ow.innerHeight/2-this.dialog.offsetHeight/2;return 0>n&&(n=0),0>r&&(r=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-n)>100||Math.abs(t-r)>100),this.dialog.style.left=(e||n)+"px",this.dialog.style.top=(t||r)+"px",this},t.prototype.setHeader=function(e){return this.setElements(this.dialogbox_header,e),this},t.prototype.setContent=function(e){return this.setElements(this.dialogbox_content,e),this},t.prototype.setFooter=function(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",Boolean(e)),this},t.prototype.getZIndex=function(){return parseInt((0,a.css)(this.container,"zIndex"),10)||0},t.prototype.getMaxZIndexDialog=function(){var e,t,n=0,r=this;return(0,a.$$)(".jodit-dialog",this.destination).forEach((function(o){e=o.component,t=parseInt((0,a.css)(o,"zIndex"),10),e.isOpened&&!isNaN(t)&&t>n&&(r=e,n=t)})),r},t.prototype.setMaxZIndex=function(){var e=20000004,t=0;(0,a.$$)(".jodit-dialog",this.destination).forEach((function(n){t=parseInt((0,a.css)(n,"zIndex"),10),e=Math.max(isNaN(t)?0:t,e)})),this.container.style.zIndex=(e+1).toString()},t.prototype.toggleFullSize=function(t){(0,a.isVoid)(t)&&(t=!this.getMod("fullsize")),this.setMod("fullsize",t),e.prototype.toggleFullSize.call(this,t)},t.prototype.open=function(e,t,n,r){if(u.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,a.isBoolean)(e)&&(n=e),(0,a.isBoolean)(t)&&(r=t),this.destroyAfterClose=!0===n;var o=(0,a.isBoolean)(e)?void 0:e,i=(0,a.isBoolean)(t)?void 0:t;return void 0!==i&&this.setHeader(i),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(r),this.destination.appendChild(this.container),this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex(),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this},t.prototype.setModal=function(e){return this.isModal=Boolean(e),this.setMod("modal",this.isModal),this},t.prototype.close=function(){return this.isDestructed||!this.isOpened||!0===this.getMod("static")||!1===this.e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),l.Dom.safeRemove(this.container),this.removeGlobalResizeListeners(),this.destroyAfterClose&&this.destruct(),this.e.fire(this,"afterClose"),this.e.fire(this.ow,"joditCloseDialog")),this},t.prototype.buildToolbar=function(){this.o.buttons&&this.toolbar.build((0,a.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)},t.prototype.destruct=function(){this.isInDestruct||(this.setStatus(c.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.onEsc).off(this.ow,"resize",this.onResize)),e.prototype.destruct.call(this))},r.__decorate([d.autobind],t.prototype,"onMouseUp",null),r.__decorate([d.autobind],t.prototype,"onHeaderMouseDown",null),r.__decorate([d.autobind],t.prototype,"onMouseMove",null),r.__decorate([d.autobind],t.prototype,"onEsc",null),r.__decorate([d.autobind],t.prototype,"onResizerMouseDown",null),r.__decorate([d.autobind],t.prototype,"close",null),r.__decorate([(0,d.hook)("ready")],t.prototype,"buildToolbar",null),r.__decorate([d.component],t)}(s.ViewWithToolbar);t.Dialog=h},60169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Confirm=t.Prompt=t.Alert=t.Dialog=void 0;var r=n(91180);Object.defineProperty(t,"Dialog",{enumerable:!0,get:function(){return r.Dialog}});var o=n(3510);Object.defineProperty(t,"Alert",{enumerable:!0,get:function(){return o.Alert}});var i=n(29816);Object.defineProperty(t,"Prompt",{enumerable:!0,get:function(){return i.Prompt}});var a=n(83933);Object.defineProperty(t,"Confirm",{enumerable:!0,get:function(){return a.Confirm}})},29816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Prompt=void 0;var r=n(60169),o=n(77688),i=n(83370);t.Prompt=function(e,t,n,a,s){var l=this instanceof r.Dialog?this:new r.Dialog,c=(0,o.Button)(l,"cancel","Cancel"),u=(0,o.Button)(l,"ok","Ok"),d=l.c.element("form",{class:"jodit-dialog_prompt"}),f=l.c.element("input",{autofocus:!0,class:"jodit-input"}),p=l.c.element("label");(0,i.isFunction)(t)&&(n=t,t=void 0),a&&(0,i.attr)(f,"placeholder",a),p.appendChild(l.c.text(e)),d.appendChild(p),d.appendChild(f),c.onAction(l.close);var h=function(){n&&(0,i.isFunction)(n)&&!1===n(f.value)||l.close()};return u.onAction(h),l.e.on(d,"submit",(function(){return h(),!1})),l.setFooter([u,c]),l.open(d,t||"&nbsp;",!0,!0),f.focus(),void 0!==s&&s.length&&(f.value=s,f.select()),l}},30262:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(36516),i=n(83370),a=n(30371),s=n(77688),l=n(7928),c=n(55506),u=n(77382),d=n(26476),f=n(23086),p="jodit-filebrowser-preview",h=function(e,t){return void 0===e&&(e="next"),void 0===t&&(t="right"),'<div class="'.concat(p,"__navigation ").concat(p,"__navigation_arrow_").concat(e,'">')+""+s.Icon.get("angle-"+t)+"</a>"};t.default=function(e){if(!e.o.contextMenu)return function(){};var t=(0,a.makeContextMenu)(e);return function(n){var a=(0,l.getItem)(n.target,e.container);if(a){var s=a,m=e.options,g=function(e){return(0,i.attr)(s,e)||""};return e.async.setTimeout((function(){var v=(0,l.elementToItem)(a,(0,u.elementsMap)(e));v&&(e.state.activeElements=[v],t.show(n.clientX,n.clientY,[!("1"===g("data-is-file")||!m.editImage||!e.dataProvider.canI("ImageResize")&&!e.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec:function(){return c.openImageEditor.call(e,g("href"),g("data-name"),g("data-path"),g("data-source"))}},!!e.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec:function(){e.e.fire("fileRename.filebrowser",g("data-name"),g("data-path"),g("data-source"))}},!!e.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",exec:function(){return r.__awaiter(void 0,void 0,Promise,(function(){var t;return r.__generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,(0,f.deleteFile)(e,g("data-name"),g("data-source"))];case 1:return n.sent(),[3,3];case 2:return t=n.sent(),[2,e.status(t)];case 3:return e.state.activeElements=[],[2,(0,d.loadTree)(e).catch(e.status)]}}))}))}},!!m.preview&&{icon:"eye",title:"Preview",exec:function(){var t=e.dlg({buttons:["fullsize","dialog.close"]}),n=e.c.div(p,'<div class="jodit-icon_loader"></div>'),r=e.c.div(p+"__box"),a=e.c.fromHTML(h()),l=e.c.fromHTML(h("prev","left")),c=function(i){var c=e.c.element("img");c.setAttribute("src",i);var u=function(){var i;e.isInDestruct||(e.e.off(c,"load"),o.Dom.detach(n),m.showPreviewNavigation&&(o.Dom.prevWithClass(s,e.files.getFullElName("item"))&&n.appendChild(l),o.Dom.nextWithClass(s,e.files.getFullElName("item"))&&n.appendChild(a)),n.appendChild(r),r.appendChild(c),t.setPosition(),null===(i=null==e?void 0:e.events)||void 0===i||i.fire("previewOpenedAndLoaded"))};e.e.on(c,"load",u),c.complete&&u()};e.e.on([a,l],"click",(function(){if(!(s=this===a?o.Dom.nextWithClass(s,e.files.getFullElName("item")):o.Dom.prevWithClass(s,e.files.getFullElName("item"))))throw(0,i.error)("Need element");o.Dom.detach(n),o.Dom.detach(r),n.innerHTML='<div class="jodit-icon_loader"></div>',c(g("href"))})),e.e.on("beforeDestruct",(function(){t.destruct()})),t.container.classList.add(p+"__dialog"),t.setContent(n),t.setPosition(),t.open(),c(g("href")),e.events.on("beforeDestruct",(function(){t.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec:function(){var t=g("href");t&&e.ow.open(t)}}]))}),e.defaultTimeout),e.e.on("beforeClose",(function(){return t.close()})).on("beforeDestruct",(function(){return t.destruct()})),n.stopPropagation(),n.preventDefault(),!1}}}},77382:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.elementsMap=void 0;var n=new WeakMap;t.elementsMap=function(e){var t=n.get(e);return t||n.set(e,t={}),t}},6093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserItem=void 0;var r=n(83370),o=function(){function e(e){var t=this;this.data=e,Object.keys(e).forEach((function(n){t[n]=e[n]}))}return e.create=function(t){return t instanceof e?t:new e(t)},Object.defineProperty(e.prototype,"path",{get:function(){return(0,r.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"imageURL",{get:function(){var e=this.time||(new Date).getTime().toString(),t=this.data,n=t.source,o=t.thumb||t.file;return t.thumbIsAbsolute&&o?o:(0,r.normalizeUrl)(n.baseurl,n.path,o||"")+"?_tmst="+encodeURIComponent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"fileURL",{get:function(){var e=this.data.name,t=this.data,n=t.file,o=t.source;return void 0!==n&&(e=n),t.fileIsAbsolute&&e?e:(0,r.normalizeUrl)(o.baseurl,o.path,e||"")},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"time",{get:function(){var e=this.data.changed;return e&&("number"==typeof e?new Date(e).toLocaleString():e)||""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"uniqueHashKey",{get:function(){var e=this.data;return[e.sourceName,e.name,e.file,this.time,e.thumb].join("_").toLowerCase().replace(/[^0-9a-z\-.]/g,"-")},enumerable:!1,configurable:!0}),e.prototype.toJSON=function(){return this.data},e}();t.FileBrowserItem=o},78219:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(80031),i=n(80450),a=n(32460),s=n(24891);o.Config.prototype.filebrowser={namespace:"",extraButtons:[],filter:function(e,t){return t=t.toLowerCase(),(0,i.isString)(e)?-1!==e.toLowerCase().indexOf(t):(0,i.isString)(e.name)?-1!==e.name.toLowerCase().indexOf(t):!(0,i.isString)(e.file)||-1!==e.file.toLowerCase().indexOf(t)},sortBy:"changed-desc",sort:function(e,t,n){var o=r.__read(n.toLowerCase().split("-"),2),a=o[0],l="asc"===o[1],c=function(e,t){return t>e?l?-1:1:e>t?l?1:-1:0};if((0,i.isString)(e))return c(e.toLowerCase(),t.toLowerCase());if(void 0===e[a]||"name"===a)return(0,i.isString)(e.name)?c(e.name.toLowerCase(),t.name.toLowerCase()):(0,i.isString)(e.file)?c(e.file.toLowerCase(),t.file.toLowerCase()):0;switch(a){case"changed":var u=new Date(e.changed).getTime(),d=new Date(t.changed).getTime();return l?u-d:d-u;case"size":return u=(0,s.humanSizeToBytes)(e.size),d=(0,s.humanSizeToBytes)(t.size),l?u-d:d-u}return 0},editImage:!0,preview:!0,showPreviewNavigation:!0,showSelectButtonInPreview:!0,contextMenu:!0,howLongShowMsg:3e3,createNewFolder:!0,deleteFolder:!0,renameFolder:!0,moveFolder:!0,moveFile:!0,showFoldersPanel:!0,storeLastOpenedFolder:!0,width:859,height:400,buttons:["filebrowser.upload","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.tiles","filebrowser.list","|","filebrowser.filter","|","filebrowser.sort"],removeButtons:[],fullsize:!1,showTooltip:!0,view:null,isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&(0,i.isArray)(e.data.messages)?e.data.messages.join(" "):""},showFileName:!0,showFileSize:!0,showFileChangeTime:!0,saveStateInStorage:{storeLastOpenedFolder:!0,storeView:!0,storeSortBy:!0},pixelOffsetLoadNewChunk:200,getThumbTemplate:function(e,t,n){var r=this.options,o=this.files.getFullElName("item"),i=r.showFileName,a=r.showFileSize&&e.size,s=r.showFileChangeTime&&e.time,l="";void 0!==e.file&&(l=e.file);var c='<div class="'.concat(o,'-info">').concat(i?'<span class="'.concat(o,'-info-filename">').concat(l,"</span>"):"").concat(a?'<span class="'.concat(o,'-info-filesize">').concat(e.size,"</span>"):"").concat(s?'<span class="'.concat(o,'-info-filechanged">').concat(s,"</span>"):"","</div>");return'<a\n\t\t\tdata-jodit-filebrowser-item="true"\n\t\t\tdata-is-file="'.concat(e.isImage?0:1,'"\n\t\t\tdraggable="true"\n\t\t\tclass="').concat(o,'"\n\t\t\thref="').concat(e.fileURL,'"\n\t\t\tdata-source="').concat(n,'"\n\t\t\tdata-path="').concat(e.path,'"\n\t\t\tdata-name="').concat(l,'"\n\t\t\ttitle="').concat(l,'"\n\t\t\tdata-url="').concat(e.fileURL,'">\n\t\t\t\t<img\n\t\t\t\t\tdata-is-file="').concat(e.isImage?0:1,'"\n\t\t\t\t\tdata-src="').concat(e.fileURL,'"\n\t\t\t\t\tsrc="').concat(e.imageURL,'"\n\t\t\t\t\talt="').concat(l,'"\n\t\t\t\t\tloading="lazy"\n\t\t\t\t/>\n\t\t\t\t').concat(i||a||s?c:"","\n\t\t\t</a>")},ajax:r.__assign(r.__assign({},o.Config.prototype.defaultAjaxOptions),{url:"",async:!0,data:{},cache:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",method:"POST",processData:!0,dataType:"json",headers:{},prepareData:function(e){return e},process:function(e){return e}}),create:{data:{action:"folderCreate"}},getLocalFileByUrl:{data:{action:"getLocalFileByUrl"}},resize:{data:{action:"imageResize"}},crop:{data:{action:"imageCrop"}},fileMove:{data:{action:"fileMove"}},folderMove:{data:{action:"folderMove"}},fileRename:{data:{action:"fileRename"}},folderRename:{data:{action:"folderRename"}},fileRemove:{data:{action:"fileRemove"}},folderRemove:{data:{action:"folderRemove"}},items:{data:{action:"files"}},folder:{data:{action:"folders"}},permissions:{data:{action:"permissions"}}},o.Config.prototype.controls.filebrowser={upload:{icon:"plus",isInput:!0,isDisabled:function(e){return!e.dataProvider.canI("FileUpload")},getContent:function(e){var t=new a.UIFileInput(e,{onlyImages:e.state.onlyImages});return e.e.fire("bindUploader.filebrowser",t.container),t.container}},remove:{icon:"bin",isDisabled:function(e){return!e.state.activeElements.length||!e.dataProvider.canI("FileRemove")},exec:function(e){e.e.fire("fileRemove.filebrowser")}},update:{exec:function(e){e.e.fire("update.filebrowser")}},select:{icon:"check",isDisabled:function(e){return!e.state.activeElements.length},exec:function(e){e.e.fire("select.filebrowser")}},edit:{icon:"pencil",isDisabled:function(e){var t=e.state.activeElements;return 1!==t.length||!t[0].isImage||!(e.dataProvider.canI("ImageCrop")||e.dataProvider.canI("ImageResize"))},exec:function(e){e.e.fire("edit.filebrowser")}},tiles:{icon:"th",isActive:function(e){return"tiles"===e.state.view},exec:function(e){e.e.fire("view.filebrowser","tiles")}},list:{icon:"th-list",isActive:function(e){return"list"===e.state.view},exec:function(e){e.e.fire("view.filebrowser","list")}},filter:{isInput:!0,getContent:function(e,t,n){var r=n.container.querySelector(".jodit-input");if(r)return r;var o=e.c.element("input",{class:"jodit-input",placeholder:e.i18n("Filter")});return o.value=e.state.filterWord,e.e.on(o,"keydown mousedown",e.async.debounce((function(){e.e.fire("filter.filebrowser",o.value)}),e.defaultTimeout)),o}},sort:{isInput:!0,getContent:function(e){var t=e.c.fromHTML('<select class="jodit-input jodit-select">'+'<option value="changed-asc">'.concat(e.i18n("Sort by changed")," (⬆)</option>")+'<option value="changed-desc">'.concat(e.i18n("Sort by changed")," (⬇)</option>")+'<option value="name-asc">'.concat(e.i18n("Sort by name")," (⬆)</option>")+'<option value="name-desc">'.concat(e.i18n("Sort by name")," (⬇)</option>")+'<option value="size-asc">'.concat(e.i18n("Sort by size")," (⬆)</option>")+'<option value="size-desc">'.concat(e.i18n("Sort by size")," (⬇)</option>")+"</select>");return t.value=e.state.sortBy,e.e.on("sort.filebrowser",(function(e){t.value!==e&&(t.value=e)})).on(t,"change",(function(){e.e.fire("sort.filebrowser",t.value)})),t}}}},53402:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_SOURCE_NAME=void 0;var r=n(20255),o=n(83370),i=n(40803),a=n(18731),s=n(6093);t.DEFAULT_SOURCE_NAME="default";var l=function(){function e(e,t){this.parent=e,this.options=t,this.__currentPermissions=null,this.ajaxInstances=new Map,this.progressHandler=function(e){}}return Object.defineProperty(e.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),e.prototype.get=function(e){var t=this,n=this.ajaxInstances;if(n.has(e)){var r=n.get(e);null==r||r.abort(),n.delete(e)}var a=(0,o.ConfigProto)(void 0!==this.options[e]?this.options[e]:{},(0,o.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));a.prepareData&&(a.data=a.prepareData.call(this,a.data));var s=new i.Ajax(this.parent,a);n.set(e,s);var l=s.send();return l.finally((function(){s.destruct(),n.delete(e),t.progressHandler(100)})).catch((function(){return null})),l.then((function(e){return e.json()})).then((function(e){if(e&&!t.isSuccess(e))throw new Error(t.getMessage(e));return e}))},e.prototype.onProgress=function(e){this.progressHandler=e},e.prototype.permissions=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var n=this;return r.__generator(this,(function(r){return this.o.permissions?(this.o.permissions.data.path=e,this.o.permissions.data.source=t,this.o.permissions.url?[2,this.get("permissions").then((function(e){var t=n.o.permissions.process;if(t||(t=n.o.ajax.process),t){var r=t.call(self,e);r.data.permissions&&(n.__currentPermissions=r.data.permissions)}return n.__currentPermissions}))]:[2,null]):[2,null]}))}))},e.prototype.canI=function(e){var t="allow"+e;return null==this.__currentPermissions||void 0===this.__currentPermissions[t]||this.__currentPermissions[t]},e.prototype.items=function(e,t,n){var r=this;void 0===n&&(n={});var o=this.options;return o.items?(o.items.data.path=e,o.items.data.source=t,o.items.data.mods=n,this.get("items").then((function(e){var t=r.o.items.process;return t||(t=r.o.ajax.process),t&&(e=t.call(self,e)),r.generateItemsList(e.data.sources,n)}))):Promise.reject("Set Items api options")},e.prototype.generateItemsList=function(e,t){var n=this;void 0===t&&(t={});var i=[];return e.forEach((function(e){if(e.files&&e.files.length){var a=n.o.sort;(0,o.isFunction)(a)&&t.sortBy&&e.files.sort((function(e,n){return a(e,n,t.sortBy)})),e.files.forEach((function(o){(function(e){var r;return!(null===(r=t.filterWord)||void 0===r?void 0:r.length)||void 0===n.o.filter||n.o.filter(e,t.filterWord)})(o)&&function(e){return!t.onlyImages||void 0===e.isImage||e.isImage}(o)&&i.push(s.FileBrowserItem.create(r.__assign(r.__assign({},o),{sourceName:e.name,source:e})))}))}})),i},e.prototype.tree=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var n=this;return r.__generator(this,(function(r){switch(r.label){case 0:return e=(0,o.normalizeRelativePath)(e),this.o.folder?[4,this.permissions(e,t)]:[2,Promise.reject("Set Folder Api options")];case 1:return r.sent(),this.o.folder.data.path=e,this.o.folder.data.source=t,[2,this.get("folder").then((function(e){var t=n.o.folder.process;return t||(t=n.o.ajax.process),t&&(e=t.call(self,e)),e.data.sources}))]}}))}))},e.prototype.getPathByUrl=function(e){var t=this;return(0,o.set)("options.getLocalFileByUrl.data.url",e,this),this.get("getLocalFileByUrl").then((function(e){if(t.isSuccess(e))return e.data;throw(0,o.error)(t.getMessage(e))}))},e.prototype.createFolder=function(e,t,n){var r=this,i=this.o.create;if(!i)throw(0,o.error)("Set Create api options");return i.data.source=n,i.data.path=t,i.data.name=e,this.get("create").then((function(e){if(r.isSuccess(e))return!0;throw(0,o.error)(r.getMessage(e))}))},e.prototype.move=function(e,t,n,r){var i=this,a=r?"fileMove":"folderMove",s=this.options[a];if(!s)throw(0,o.error)("Set Move api options");return s.data.from=e,s.data.path=t,s.data.source=n,this.get(a).then((function(e){if(i.isSuccess(e))return!0;throw(0,o.error)(i.getMessage(e))}))},e.prototype.remove=function(e,t,n,r){var i=this,a=this.o[e];if(!a)throw(0,o.error)('Set "'.concat(e,'" api options'));return a.data.path=t,a.data.name=n,a.data.source=r,this.get(e).then((function(e){return a.process&&(e=a.process.call(i,e)),i.getMessage(e)}))},e.prototype.fileRemove=function(e,t,n){return this.remove("fileRemove",e,t,n)},e.prototype.folderRemove=function(e,t,n){return this.remove("folderRemove",e,t,n)},e.prototype.rename=function(e,t,n,r,i){var a=this,s=this.o[e];if(!s)throw(0,o.error)('Set "'.concat(e,'" api options'));return s.data.path=t,s.data.name=n,s.data.newname=r,s.data.source=i,this.get(e).then((function(e){return s.process&&(e=s.process.call(self,e)),a.getMessage(e)}))},e.prototype.folderRename=function(e,t,n,r){return this.rename("folderRename",e,t,n,r)},e.prototype.fileRename=function(e,t,n,r){return this.rename("fileRename",e,t,n,r)},e.prototype.changeImage=function(e,t,n,r,o,i){this.o[e]||(this.o[e]={data:{}});var a=this.o[e];return void 0===a.data&&(a.data={action:e}),a.data.newname=o||r,i&&(a.data.box=i),a.data.path=t,a.data.name=r,a.data.source=n,this.get(e).then((function(){return!0}))},e.prototype.crop=function(e,t,n,r,o){return this.changeImage("crop",e,t,n,r,o)},e.prototype.resize=function(e,t,n,r,o){return this.changeImage("resize",e,t,n,r,o)},e.prototype.getMessage=function(e){return this.options.getMessage(e)},e.prototype.isSuccess=function(e){return this.options.isSuccess(e)},e.prototype.destruct=function(){this.ajaxInstances.forEach((function(e){return e.destruct()})),this.ajaxInstances.clear()},r.__decorate([a.autobind],e)}();t.default=l},30371:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeContextMenu=t.makeDataProvider=void 0;var r=n(53402),o=n(82616);t.makeDataProvider=function(e,t){return new r.default(e,t)},t.makeContextMenu=function(e){return new o.ContextMenu(e)}},23086:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.deleteFile=void 0,t.deleteFile=function(e,t,n){return e.dataProvider.fileRemove(e.state.currentPath,t,n).then((function(n){e.status(n||e.i18n('File "%s" was deleted',t),!0)})).catch(e.status)}},30254:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadItems=void 0,t.loadItems=function(e){return e.files.setMod("active",!0),e.files.setMod("loading",!0),e.dataProvider.items(e.state.currentPath,e.state.currentSource,{sortBy:e.state.sortBy,onlyImages:e.state.onlyImages,filterWord:e.state.filterWord}).then((function(t){t&&(e.state.elements=t,e.state.activeElements=[])})).catch(e.status).finally((function(){return e.files.setMod("loading",!1)}))}},26476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.loadTree=void 0;var r=n(20255),o=n(36516),i=n(30254);t.loadTree=function(e){return r.__awaiter(this,void 0,Promise,(function(){var t,n;return r.__generator(this,(function(r){return e.tree.setMod("active",!0),o.Dom.detach(e.tree.container),t=(0,i.loadItems)(e),e.o.showFoldersPanel?(e.tree.setMod("loading",!0),n=e.dataProvider.tree(e.state.currentPath,e.state.currentSource).then((function(t){e.state.sources=t})).catch(e.status).finally((function(){return e.tree.setMod("loading",!1)})),[2,Promise.all([n,t])]):(e.tree.setMod("active",!1),[2,t])}))}))}},45712:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isFileBrowserFilesItem=t.FileBrowser=void 0;var r=n(20255);n(40692);var o=n(80031),i=n(47386),a=n(95704),s=n(83370),l=n(36516),c=n(30371),u=n(48473),d=n(7928),f=n(88274),p=n(53402),h=n(18731),m=n(28882),g=n(51850),v=n(26476),b=n(30254),y=n(95448),A=n(44535),x=n(67555);n(78219);var C=function(e){function t(t){var n,r=this;(r=e.call(this,t)||this).browser=r.c.div(r.componentName),r.status_line=r.c.div(r.getFullElName("status")),r.tree=new m.FileBrowserTree(r),r.files=new m.FileBrowserFiles(r),r.state=(0,g.observable)({currentPath:"",currentSource:p.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],messages:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),r.errorHandler=function(e){(0,s.isAbort)(e)||(e instanceof Error?r.status(r.i18n(e.message)):r.status(r.dataProvider.getMessage(e)))},r.close=function(){r._dialog.close()},r.attachEvents(t);var i=r;i.options=(0,s.ConfigProto)(t||{},o.Config.defaultOptions.filebrowser),i.storage=a.Storage.makeStorage(Boolean(r.o.saveStateInStorage),r.componentName),i.dataProvider=(0,c.makeDataProvider)(i,i.options),i._dialog=r.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!==(n=r.o.headerButtons)&&void 0!==n?n:["fullsize","dialog.close"]}),r.proxyDialogEvents(i),i.browser.component=r,i.container=i.browser,i.o.showFoldersPanel&&i.browser.appendChild(i.tree.container),i.browser.appendChild(i.files.container),i.browser.appendChild(i.status_line),f.selfListeners.call(i),d.nativeListeners.call(i),u.stateListeners.call(i),i._dialog.setSize(i.o.width,i.o.height),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((function(e){null!=r.options[e]&&(r.options[e]=(0,s.ConfigProto)(r.options[e],r.o.ajax))}));var l=r.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},h=l.storeSortBy,v=l.storeLastOpenedFolder,b=l.storeView&&r.storage.get("view");i.state.view=b&&null==r.o.view?"list"===b?"list":"tiles":"list"===i.o.view?"list":"tiles",i.files.setMod("view",i.state.view);var A=h&&i.storage.get("sortBy");if(A){var x=A.split("-");i.state.sortBy=["changed","name","size"].includes(x[0])?A:"changed-desc"}else i.state.sortBy=i.o.sortBy||"changed-desc";if(v){var C=i.storage.get("currentPath"),_=i.storage.get("currentSource");i.state.currentPath=null!=C?C:"",i.state.currentSource=null!=_?_:""}return i.initUploader(i),i.setStatus(y.STATUSES.ready),r}return r.__extends(t,e),t.prototype.className=function(){return"Filebrowser"},t.prototype.onSelect=function(e){var t=this;return function(){if(t.state.activeElements.length){var n=[],r=[];t.state.activeElements.forEach((function(e){var t=e.fileURL;t&&(n.push(t),r.push(e.isImage||!1))})),t.close();var o={baseurl:"",files:n,isImages:r};(0,s.isFunction)(e)&&e(o),t.close()}return!1}},Object.defineProperty(t.prototype,"isOpened",{get:function(){return this._dialog.isOpened&&"none"!==this.browser.style.display},enumerable:!1,configurable:!0}),t.prototype.status=function(e,t){e&&!(0,s.isAbort)(e)&&((0,s.isString)(e)||(e=e.message),(0,s.isString)(e)&&(0,s.trim)(e).length&&this.message.message(e,t?"success":"error",this.o.howLongShowMsg))},t.prototype.open=function(e,t){var n=this;return void 0===e&&(e=this.o.defaultCallback),void 0===t&&(t=!1),this.state.onlyImages=t,this.async.promise((function(t,r){var o;if(!n.o.items||!n.o.items.url)throw(0,s.error)("Need set options.filebrowser.ajax.url");var a=0;n.e.off(n.files.container,"dblclick").on(n.files.container,"dblclick",n.onSelect(e)).on(n.files.container,"touchstart",(function(){var t=(new Date).getTime();i.EMULATE_DBLCLICK_TIMEOUT>t-a&&n.onSelect(e)(),a=t})).off("select.filebrowser").on("select.filebrowser",n.onSelect(e));var l=n.c.div();n.toolbar.build(null!==(o=n.o.buttons)&&void 0!==o?o:[]).appendTo(l),n._dialog.open(n.browser,l),n.e.fire("sort.filebrowser",n.state.sortBy),(0,v.loadTree)(n).then(t,r)}))},t.prototype.initUploader=function(e){var t,n=this,r=this,i=null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.uploader,a=(0,s.ConfigProto)(i||{},o.Config.defaultOptions.uploader),l=function(){return(0,b.loadItems)(n)};r.uploader=r.getInstance("Uploader",a),r.uploader.setPath(r.state.currentPath).setSource(r.state.currentSource).bind(r.browser,l,r.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(function(){n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource)})),r.e.on("bindUploader.filebrowser",(function(e){r.uploader.bind(e,l,r.errorHandler)}))},t.prototype.proxyDialogEvents=function(e){var t=this;["afterClose","beforeOpen"].forEach((function(n){e._dialog.events.on(e.dlg,n,(function(){t.e.fire(n)}))}))},t.prototype.destruct=function(){this.isInDestruct||(e.prototype.destruct.call(this),this._dialog.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())},r.__decorate([h.autobind],t.prototype,"status",null),r.__decorate([h.autobind],t.prototype,"open",null),r.__decorate([(0,h.derive)(A.Dlgs)],t)}(x.ViewWithToolbar);t.FileBrowser=C,t.isFileBrowserFilesItem=function(e){return l.Dom.isElement(e)&&e.classList.contains(m.FileBrowserFiles.prototype.getFullElName("item"))}},48495:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(45712),t)},7928:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.nativeListeners=t.elementToItem=t.getItem=void 0;var r=n(20255),o=n(83370),i=n(30262),a=n(36516),s=n(77382),l=n(26476);t.getItem=function(e,t,n){return void 0===n&&(n="a"),a.Dom.closest(e,(function(e){return a.Dom.isTag(e,n)}),t)},t.elementToItem=function(e,t){return t[e.dataset.key||""].item},t.nativeListeners=function(){var e=this,n=!1,a=(0,s.elementsMap)(this),c=this;c.e.on(c.tree.container,"dragstart",(function(e){var r=(0,t.getItem)(e.target,c.container);r&&c.o.moveFolder&&(n=r)})).on(c.tree.container,"drop",(function(r){if((c.o.moveFile||c.o.moveFolder)&&n){var i=(0,o.attr)(n,"-path")||"";if(!c.o.moveFolder&&n.classList.contains(e.tree.getFullElName("item")))return!1;if(n.classList.contains(e.files.getFullElName("item"))&&(i+=(0,o.attr)(n,"-name"),!c.o.moveFile))return!1;var a=(0,t.getItem)(r.target,c.container);if(!a)return;c.dataProvider.move(i,(0,o.attr)(a,"-path")||"",(0,o.attr)(a,"-source")||"",n.classList.contains(e.files.getFullElName("item"))).then((function(){return(0,l.loadTree)(e)})).catch(c.status),n=!1}})).on(c.files.container,"contextmenu",(0,i.default)(c)).on(c.files.container,"click",(function(t){(0,o.ctrlKey)(t)||(e.state.activeElements=[])})).on(c.files.container,"click",(function(e){var n=(0,t.getItem)(e.target,c.container);if(n){var i=(0,t.elementToItem)(n,a);if(i)return c.state.activeElements=(0,o.ctrlKey)(e)?r.__spreadArray(r.__spreadArray([],r.__read(c.state.activeElements),!1),[i],!1):[i],e.stopPropagation(),!1}})).on(c.files.container,"dragstart",(function(e){if(c.o.moveFile){var r=(0,t.getItem)(e.target,c.container);if(!r)return;n=r}})).on(c.container,"drop",(function(e){return e.preventDefault()}))}},88274:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selfListeners=void 0;var r=n(20255),o=n(80450),i=n(83370),a=n(53402),s=n(55506),l=n(26476),c=n(30254),u=n(23086);t.selfListeners=function(){var e=this,t=this.state,n=this.dataProvider,d=this;d.e.on("view.filebrowser",(function(e){e!==t.view&&(t.view=e)})).on("sort.filebrowser",(function(e){e!==t.sortBy&&(t.sortBy=e,(0,c.loadItems)(d))})).on("filter.filebrowser",(function(e){e!==t.filterWord&&(t.filterWord=e,(0,c.loadItems)(d))})).on("openFolder.filebrowser",(function(e){var t;t=".."===e.name?e.path.split("/").filter((function(e){return e.length})).slice(0,-1).join("/"):(0,i.normalizePath)(e.path,e.name),d.state.currentPath=t,d.state.currentSource="."===e.name?a.DEFAULT_SOURCE_NAME:e.source})).on("removeFolder.filebrowser",(function(e){d.confirm("Are you sure?","Delete",(function(t){t&&n.folderRemove(e.path,e.name,e.source).then((function(e){return d.status(e,!0),(0,l.loadTree)(d)})).catch(d.status)}))})).on("renameFolder.filebrowser",(function(e){d.prompt("Enter new name","Rename",(function(t){if(!(0,o.isValidName)(t))return d.status(d.i18n("Enter new name")),!1;n.folderRename(e.path,e.name,t,e.source).then((function(e){return d.state.activeElements=[],d.status(e,!0),(0,l.loadTree)(d)})).catch(d.status)}),"type name",e.name)})).on("addFolder.filebrowser",(function(e){d.prompt("Enter Directory name","Create directory",(function(t){n.createFolder(t,e.path,e.source).then((function(){return(0,l.loadTree)(d)})).catch(d.status)}),"type name")})).on("fileRemove.filebrowser",(function(){d.state.activeElements.length&&d.confirm("Are you sure?","",(function(e){if(e){var t=[];d.state.activeElements.forEach((function(e){t.push((0,u.deleteFile)(d,e.file||e.name||"",e.sourceName))})),d.state.activeElements=[],Promise.all(t).then((function(){return(0,l.loadTree)(d).catch(d.status)}),d.status)}}))})).on("edit.filebrowser",(function(){if(1===d.state.activeElements.length){var t=r.__read(e.state.activeElements,1)[0];s.openImageEditor.call(d,t.fileURL,t.file||"",t.path,t.sourceName)}})).on("fileRename.filebrowser",(function(e,t,r){1===d.state.activeElements.length&&d.prompt("Enter new name","Rename",(function(i){if(!(0,o.isValidName)(i))return d.status(d.i18n("Enter new name")),!1;n.fileRename(t,e,i,r).then((function(e){d.state.activeElements=[],d.status(e,!0),(0,c.loadItems)(d)})).catch(d.status)}),"type name",e)})).on("update.filebrowser",(function(){(0,l.loadTree)(e).then(e.status,e.status)}))}},48473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stateListeners=void 0;var r=n(36516),o=n(55629),i=n(77688),a=n(77382),s=n(26476);t.stateListeners=function(){var e=this,t=(0,a.elementsMap)(this),n=this,l=n.state,c=n.files,u=n.create,d=n.options;l.on(["change.currentPath","change.currentSource"],this.async.debounce((function(){e.o.saveStateInStorage&&e.o.saveStateInStorage.storeLastOpenedFolder&&e.storage.set("currentPath",e.state.currentPath).set("currentSource",e.state.currentSource),(0,s.loadTree)(e).catch(e.status)}),this.defaultTimeout)).on("beforeChange.activeElements",(function(){l.activeElements.forEach((function(e){var n=t[e.uniqueHashKey].elm;n&&n.classList.remove(c.getFullElName("item","active",!0))}))})).on("change.activeElements",(function(){e.e.fire("changeSelection"),l.activeElements.forEach((function(e){var n=t[e.uniqueHashKey].elm;n&&n.classList.add(c.getFullElName("item","active",!0))}))})).on("change.view",(function(){c.setMod("view",l.view),e.o.saveStateInStorage&&e.o.saveStateInStorage.storeView&&e.storage.set("view",l.view)})).on("change.sortBy",(function(){e.o.saveStateInStorage&&e.o.saveStateInStorage.storeSortBy&&e.storage.set("sortBy",l.sortBy)})).on("change.elements",this.async.debounce((function(){r.Dom.detach(c.container),l.elements.length?l.elements.forEach((function(n){e.files.container.appendChild(function(n){var r=n.uniqueHashKey;if(t[r])return t[r].elm;var o=u.fromHTML(d.getThumbTemplate.call(e,n,n.source,n.sourceName.toString()));return o.dataset.key=r,t[r]={item:n,elm:o},t[r].elm}(n))})):c.container.appendChild(u.div(e.componentName+"_no-files_true",e.i18n("There are no files")))}),this.defaultTimeout)).on("change.sources",this.async.debounce((function(){r.Dom.detach(e.tree.container),l.sources.forEach((function(t){var n=t.name;if(n&&"default"!==n&&e.tree.container.appendChild(u.div(e.tree.getFullElName("source-title"),n)),t.folders.forEach((function(r){var a,s=u.a(e.tree.getFullElName("item"),{draggable:"draggable",href:"#","data-path":(0,o.normalizePath)(t.path,r+"/"),"data-name":r,"data-source":n,"data-source-path":t.path},u.span(e.tree.getFullElName("item-title"),r)),l=function(i){return function(a){e.e.fire("".concat(i,".filebrowser"),{name:r,path:(0,o.normalizePath)(t.path+"/"),source:n}),a.stopPropagation(),a.preventDefault()}};e.e.on(s,"click",l("openFolder")),e.tree.container.appendChild(s),".."!==r&&"."!==r&&(d.renameFolder&&e.dataProvider.canI("FolderRename")&&((a=(0,i.Button)(e,{icon:{name:"pencil"},name:"rename",tooltip:"Rename",size:"tiny"})).onAction(l("renameFolder")),s.appendChild(a.container)),d.deleteFolder&&e.dataProvider.canI("FolderRemove")&&((a=(0,i.Button)(e,{icon:{name:"cancel"},name:"remove",tooltip:"Delete",size:"tiny"})).onAction(l("removeFolder")),s.appendChild(a.container)))})),d.createNewFolder&&e.dataProvider.canI("FolderCreate")){var r=(0,i.Button)(e,"plus","Add folder","secondary");r.onAction((function(){e.e.fire("addFolder",{path:(0,o.normalizePath)(t.path+"/"),source:n})})),e.tree.append(r)}}))}),this.defaultTimeout))}},74928:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserFiles=void 0;var r=n(20255);n(27452);var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.className=function(){return"FilebrowserFiles"},t}(n(77688).UIGroup);t.FileBrowserFiles=o},28882:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(74928),t),r.__exportStar(n(11319),t)},11319:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileBrowserTree=void 0;var r=n(20255);n(51422);var o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.className=function(){return"FilebrowserTree"},t}(n(77688).UIGroup);t.FileBrowserTree=o},46246:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Command=void 0;var n=function(){function e(e,t,n,r){this.oldValue=e,this.newValue=t,this.history=n,this.tick=r}return e.prototype.undo=function(){this.history.snapshot.restore(this.oldValue)},e.prototype.redo=function(){this.history.snapshot.restore(this.newValue)},e}();t.Command=n},9172:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.History=void 0;var r=n(20255),o=n(80031),i=n(95448),a=n(47217),s=n(18265),l=n(46246),c=n(18731);o.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3},o.Config.prototype.observer=o.Config.prototype.history;var u=function(e){function t(t,n,r){void 0===n&&(n=new s.Stack(t.o.history.maxHistoryLength)),void 0===r&&(r=new a.Snapshot(t));var o=e.call(this,t)||this;return o.updateTick=0,o.stack=n,o.snapshot=r,t.o.history.enable&&t.e.on("afterAddPlace.history",(function(){o.isInDestruct||(o.startValue=o.snapshot.make(),t.events.on("internalChange internalUpdate",(function(){o.startValue=o.snapshot.make()})).on(t.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map((function(e){return e+".history"})).join(" "),(function(){o.startValue.html===o.j.getNativeEditorValue()&&(o.startValue=o.snapshot.make())})).on(o,"change.history",o.onChange))})),o}return r.__extends(t,e),t.prototype.className=function(){return"History"},Object.defineProperty(t.prototype,"startValue",{get:function(){return this.__startValue},set:function(e){this.__startValue=e},enumerable:!1,configurable:!0}),t.prototype.upTick=function(){this.updateTick+=1},t.prototype.onChange=function(){this.processChanges()},t.prototype.processChanges=function(){this.snapshot.isBlocked||this.updateStack()},t.prototype.updateStack=function(e){void 0===e&&(e=!1);var t=this.snapshot.make();if(!a.Snapshot.equal(t,this.startValue)){var n=new l.Command(this.startValue,t,this,this.updateTick);if(e){var r=this.stack.current();r&&this.updateTick===r.tick&&this.stack.replace(n)}else this.stack.push(n);this.startValue=t,this.fireChangeStack()}},t.prototype.redo=function(){this.stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},t.prototype.canRedo=function(){return this.stack.canRedo()},t.prototype.undo=function(){this.stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())},t.prototype.canUndo=function(){return this.stack.canUndo()},t.prototype.clear=function(){this.startValue=this.snapshot.make(),this.stack.clear(),this.fireChangeStack()},Object.defineProperty(t.prototype,"length",{get:function(){return this.stack.length},enumerable:!1,configurable:!0}),t.prototype.fireChangeStack=function(){var e;this.j&&!this.j.isInDestruct&&(null===(e=this.j.events)||void 0===e||e.fire("changeStack"))},t.prototype.destruct=function(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),e.prototype.destruct.call(this))},r.__decorate([(0,c.debounce)()],t.prototype,"onChange",null),t}(i.ViewComponent);t.History=u},47217:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Snapshot=void 0;var r=n(20255),o=n(95448),i=n(36516),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isBlocked=!1,t}return r.__extends(t,e),t.prototype.className=function(){return"Snapshot"},t.equal=function(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)},t.countNodesBeforeInParent=function(e){if(!e.parentNode)return 0;var t,n=e.parentNode.childNodes,r=0,o=null;for(t=0;n.length>t;t+=1){if(!o||i.Dom.isText(n[t])&&""===n[t].textContent||i.Dom.isText(o)&&i.Dom.isText(n[t])||(r+=1),n[t]===e)return r;o=n[t]}return 0},t.strokeOffset=function(e,t){for(;i.Dom.isText(e);)i.Dom.isText(e=e.previousSibling)&&null!=e.textContent&&(t+=e.textContent.length);return t},t.prototype.calcHierarchyLadder=function(e){var n=[];if(!e||!e.parentNode||!i.Dom.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&n.push(t.countNodesBeforeInParent(e)),e=e.parentNode;return n.reverse()},t.prototype.getElementByLadder=function(e){var t,n=this.j.editor;for(t=0;n&&e.length>t;t+=1)n=n.childNodes[e[t]];return n},t.prototype.make=function(){var e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.removeJoditSelection(this.j.getNativeEditorValue());var n=this.j.s.sel;if(n&&n.rangeCount){var r=n.getRangeAt(0),o=this.calcHierarchyLadder(r.startContainer),i=this.calcHierarchyLadder(r.endContainer),a=t.strokeOffset(r.startContainer,r.startOffset),s=t.strokeOffset(r.endContainer,r.endOffset);o.length||r.startContainer===this.j.editor||(a=0),i.length||r.endContainer===this.j.editor||(s=0),e.range={startContainer:o,startOffset:a,endContainer:i,endOffset:s}}return e},t.prototype.restore=function(e){this.isBlocked=!0;var t=this.storeScrollState();this.j.getNativeEditorValue()!==e.html&&(this.j.value=e.html),this.restoreOnlySelection(e),this.restoreScrollState(t),this.isBlocked=!1},t.prototype.storeScrollState=function(){return[this.j.ow.scrollY,this.j.editor.scrollTop]},t.prototype.restoreScrollState=function(e){var t=this.j,n=t.ow;n.scrollTo(n.scrollX,e[0]),t.editor.scrollTop=e[1]},t.prototype.restoreOnlySelection=function(e){try{if(e.range){var t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild)}},t.prototype.destruct=function(){this.isBlocked=!1,e.prototype.destruct.call(this)},t.prototype.removeJoditSelection=function(e){return e.replace(/<span[^>]*jodit-selection_marker[^>]*><\/span>/g,"")},t}(o.ViewComponent);t.Snapshot=a},18265:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Stack=void 0;var n=function(){function e(e){this.size=e,this.commands=[],this.stackPosition=-1}return Object.defineProperty(e.prototype,"length",{get:function(){return this.commands.length},enumerable:!1,configurable:!0}),e.prototype.clearRedo=function(){this.commands.length=this.stackPosition+1},e.prototype.clear=function(){this.commands.length=0,this.stackPosition=-1},e.prototype.push=function(e){this.clearRedo(),this.commands.push(e),this.stackPosition+=1,this.commands.length>this.size&&(this.commands.shift(),this.stackPosition-=1)},e.prototype.replace=function(e){this.commands[this.stackPosition]=e},e.prototype.current=function(){return this.commands[this.stackPosition]},e.prototype.undo=function(){return!!this.canUndo()&&(this.commands[this.stackPosition]&&this.commands[this.stackPosition].undo(),this.stackPosition-=1,!0)},e.prototype.redo=function(){return!!this.canRedo()&&(this.stackPosition+=1,this.commands[this.stackPosition]&&this.commands[this.stackPosition].redo(),!0)},e.prototype.canUndo=function(){return this.stackPosition>=0},e.prototype.canRedo=function(){return this.commands.length-1>this.stackPosition},e}();t.Stack=n},63124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},o.Icon.set("crop",n(3610)).set("resize",n(56170))},55506:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.openImageEditor=t.ImageEditor=void 0;var r=n(20255);n(62820);var o=n(80031),i=n(95448),a=n(83370),s=n(36516),l=n(25242),c=n(73624),u=n(18731);n(63124);var d="jodit-image-editor",f="resize",p="crop",h=function(e){function t(t){var r=e.call(this,t)||this;r.resizeUseRatio=!0,r.cropUseRatio=!0,r.clicked=!1,r.start_x=0,r.start_y=0,r.top_x=0,r.top_y=0,r.width=0,r.height=0,r.activeTab=f,r.naturalWidth=0,r.naturalHeight=0,r.ratio=0,r.new_h=0,r.new_w=0,r.diff_x=0,r.diff_y=0,r.cropBox={x:0,y:0,w:0,h:0},r.resizeBox={w:0,h:0},r.calcCropBox=function(){var e=r.crop_box.parentNode,t=.8*e.offsetWidth,n=.8*e.offsetHeight,o=t,i=n,s=r.naturalWidth,l=r.naturalHeight;t>s&&n>l?(o=s,i=l):r.ratio>t/n?(o=t,i=l*(t/s)):(o=s*(n/l),i=n),(0,a.css)(r.crop_box,{width:o,height:i})},r.showCrop=function(){if(r.cropImage){r.calcCropBox();var e=r.cropImage.offsetWidth||r.image.offsetWidth||r.image.naturalWidth;r.new_w=n.calcValueByPercent(e,r.o.cropDefaultWidth);var t=r.cropImage.offsetHeight||r.image.offsetHeight||r.image.naturalHeight;r.new_h=r.cropUseRatio?r.new_w/r.ratio:n.calcValueByPercent(t,r.o.cropDefaultHeight),(0,a.css)(r.cropHandler,{backgroundImage:"url("+(0,a.attr)(r.cropImage,"src")+")",width:r.new_w,height:r.new_h,left:e/2-r.new_w/2,top:t/2-r.new_h/2}),r.j.e.fire(r.cropHandler,"updatesize")}},r.updateCropBox=function(){if(r.cropImage){var e=r.cropImage.offsetWidth/r.naturalWidth,t=r.cropImage.offsetHeight/r.naturalHeight;r.cropBox.x=(0,a.css)(r.cropHandler,"left")/e,r.cropBox.y=(0,a.css)(r.cropHandler,"top")/t,r.cropBox.w=r.cropHandler.offsetWidth/e,r.cropBox.h=r.cropHandler.offsetHeight/t,r.sizes.textContent=r.cropBox.w.toFixed(0)+"x"+r.cropBox.h.toFixed(0)}},r.updateResizeBox=function(){r.resizeBox.w=r.image.offsetWidth||r.naturalWidth,r.resizeBox.h=r.image.offsetHeight||r.naturalHeight},r.setHandlers=function(){var e=r,t=(0,a.refs)(r.editor),n=t.widthInput,o=t.heightInput;e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown.".concat(d),r.onResizeHandleMouseDown).on(r.j.ow,"resize.".concat(d),(function(){r.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),r.j.e.fire(e.cropHandler,"updatesize")})),e.j.e.on((0,a.toArray)(r.editor.querySelectorAll(".".concat(d,"__slider-title"))),"click",r.onTitleModeClick).on([n,o],"input",r.onChangeSizeInput);var i=(0,a.refs)(r.editor),s=i.keepAspectRatioResize,l=i.keepAspectRatioCrop;s&&s.addEventListener("change",(function(){r.resizeUseRatio=s.checked})),l&&l.addEventListener("change",(function(){r.cropUseRatio=l.checked})),e.j.e.on(e.resizeHandler,"updatesize",(function(){(0,a.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),r.updateResizeBox()})).on(e.cropHandler,"updatesize",(function(){if(e.cropImage){var t=(0,a.css)(e.cropHandler,"left"),n=(0,a.css)(e.cropHandler,"top"),r=e.cropHandler.offsetWidth,o=e.cropHandler.offsetHeight;0>t&&(t=0),0>n&&(n=0),t+r>e.cropImage.offsetWidth&&(r=e.cropImage.offsetWidth-t,e.cropUseRatio&&(o=r/e.ratio)),n+o>e.cropImage.offsetHeight&&(o=e.cropImage.offsetHeight-n,e.cropUseRatio&&(r=o*e.ratio)),(0,a.css)(e.cropHandler,{width:r,height:o,left:t,top:n,backgroundPosition:-t-1+"px "+(-n-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}})),Object.values(e.buttons).forEach((function(t){t.onAction((function(){var r={action:e.activeTab,box:e.activeTab===f?e.resizeBox:e.cropBox};switch(t){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",(function(t){if(!(0,a.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,r,e.hide,(function(t){e.j.alert(t.message)}))}));break;case e.buttons.save:e.onSave(void 0,r,e.hide,(function(t){e.j.alert(t.message)}));break;case e.buttons.reset:e.activeTab===f?((0,a.css)(e.image,{width:null,height:null}),n.value=e.naturalWidth.toString(),o.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}}))}))},r.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:o.Config.defaultOptions.imageeditor;var i=r.options;r.resizeUseRatio=i.resizeUseRatio,r.cropUseRatio=i.cropUseRatio,r.buttons={reset:(0,l.Button)(r.j,"update","Reset"),save:(0,l.Button)(r.j,"save","Save"),saveas:(0,l.Button)(r.j,"save","Save as ...")},r.activeTab=i.resize?f:p,r.editor=(0,c.form)(r.j,r.options);var s=(0,a.refs)(r.editor),u=s.cropBox;return r.resize_box=s.resizeBox,r.crop_box=u,r.sizes=r.editor.querySelector(".".concat(d,"__area.").concat(d,"__area_crop .jodit-image-editor__sizes")),r.resizeHandler=r.editor.querySelector(".".concat(d,"__resizer")),r.cropHandler=r.editor.querySelector(".".concat(d,"__croper")),r._dialog=r.j.dlg({buttons:["fullsize","dialog.close"]}),r._dialog.setContent(r.editor),r._dialog.setSize(r.o.width,r.o.height),r._dialog.setHeader([r.buttons.reset,r.buttons.save,r.buttons.saveas]),r.setHandlers(),r}var n;return r.__extends(t,e),n=t,t.prototype.className=function(){return"ImageEditor"},t.prototype.onTitleModeClick=function(e){var t=this,n=e.target,r=null==n?void 0:n.parentElement;if(r){(0,a.$$)(".".concat(d,"__slider,.").concat(d,"__area"),t.editor).forEach((function(e){return e.classList.remove("".concat(d,"_active"))})),r.classList.add("".concat(d,"_active")),this.activeTab=(0,a.attr)(r,"-area")||f;var o=t.editor.querySelector(".".concat(d,"__area.").concat(d,"__area_")+t.activeTab);o&&o.classList.add("".concat(d,"_active")),t.activeTab===p&&t.showCrop()}},t.prototype.onChangeSizeInput=function(e){var t,n=this,r=e.target,o=(0,a.refs)(this.editor),i=o.widthInput,s=o.heightInput,l="widthInput"===(0,a.attr)(r,"data-ref"),c=parseInt(r.value,10),u=l?n.o.min_height:n.o.min_width;c>(l?n.o.min_width:n.o.min_height)&&((0,a.css)(n.image,l?"width":"height",c),n.resizeUseRatio&&(t=l?Math.round(c/n.ratio):Math.round(c*n.ratio))>u&&((0,a.css)(n.image,l?"height":"width",t),l?s.value=t.toString():i.value=t.toString())),this.j.e.fire(n.resizeHandler,"updatesize")},t.prototype.onResizeHandleMouseDown=function(e){var t=this;t.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),t.clicked=!0,t.start_x=e.clientX,t.start_y=e.clientY,t.activeTab===p?(t.top_x=(0,a.css)(t.cropHandler,"left"),t.top_y=(0,a.css)(t.cropHandler,"top"),t.width=t.cropHandler.offsetWidth,t.height=t.cropHandler.offsetHeight):(t.width=t.image.offsetWidth,t.height=t.image.offsetHeight),t.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)},t.prototype.onGlobalMouseUp=function(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))},t.prototype.onGlobalMouseMove=function(e){var t=this;if(t.clicked){var n=(0,a.refs)(this.editor),r=n.widthInput,o=n.heightInput;t.diff_x=e.clientX-t.start_x,t.diff_y=e.clientY-t.start_y,t.activeTab===f&&t.resizeUseRatio||t.activeTab===p&&t.cropUseRatio?t.diff_x?(t.new_w=t.width+t.diff_x,t.new_h=Math.round(t.new_w/t.ratio)):(t.new_h=t.height+t.diff_y,t.new_w=Math.round(t.new_h*t.ratio)):(t.new_w=t.width+t.diff_x,t.new_h=t.height+t.diff_y),t.activeTab===f?(t.new_w>t.o.resizeMinWidth&&((0,a.css)(t.image,"width",t.new_w+"px"),r.value=t.new_w.toString()),t.new_h>t.o.resizeMinHeight&&((0,a.css)(t.image,"height",t.new_h+"px"),o.value=t.new_h.toString()),this.j.e.fire(t.resizeHandler,"updatesize")):(t.target!==t.cropHandler?(t.top_x+t.new_w>t.cropImage.offsetWidth&&(t.new_w=t.cropImage.offsetWidth-t.top_x),t.top_y+t.new_h>t.cropImage.offsetHeight&&(t.new_h=t.cropImage.offsetHeight-t.top_y),(0,a.css)(t.cropHandler,{width:t.new_w,height:t.new_h})):(t.top_x+t.diff_x+t.cropHandler.offsetWidth>t.cropImage.offsetWidth&&(t.diff_x=t.cropImage.offsetWidth-t.top_x-t.cropHandler.offsetWidth),(0,a.css)(t.cropHandler,"left",t.top_x+t.diff_x),t.top_y+t.diff_y+t.cropHandler.offsetHeight>t.cropImage.offsetHeight&&(t.diff_y=t.cropImage.offsetHeight-t.top_y-t.cropHandler.offsetHeight),(0,a.css)(t.cropHandler,"top",t.top_y+t.diff_y)),this.j.e.fire(t.cropHandler,"updatesize"))}},Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.hide=function(){this._dialog.close()},t.prototype.open=function(e,t){var n=this;return this.j.async.promise((function(r){var o=(new Date).getTime();n.image=n.j.c.element("img"),(0,a.$$)("img,.jodit-icon_loader",n.resize_box).forEach(s.Dom.safeRemove),(0,a.$$)("img,.jodit-icon_loader",n.crop_box).forEach(s.Dom.safeRemove),(0,a.css)(n.cropHandler,"background","transparent"),n.onSave=t,n.resize_box.appendChild(n.j.c.element("i",{class:"jodit-icon_loader"})),n.crop_box.appendChild(n.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(e)?e+="&_tst="+o:e+="?_tst="+o,n.image.setAttribute("src",e),n._dialog.open();var i=(0,a.refs)(n.editor),l=i.widthInput,c=i.heightInput,u=function(){n.isDestructed||(n.image.removeEventListener("load",u),n.naturalWidth=n.image.naturalWidth,n.naturalHeight=n.image.naturalHeight,l.value=n.naturalWidth.toString(),c.value=n.naturalHeight.toString(),n.ratio=n.naturalWidth/n.naturalHeight,n.resize_box.appendChild(n.image),n.cropImage=n.image.cloneNode(!0),n.crop_box.appendChild(n.cropImage),s.Dom.safeRemove.apply(null,(0,a.$$)(".jodit-icon_loader",n.editor)),n.activeTab===p&&n.showCrop(),n.j.e.fire(n.resizeHandler,"updatesize"),n.j.e.fire(n.cropHandler,"updatesize"),n._dialog.setPosition(),n.j.e.fire("afterImageEditor"),r(n._dialog))};n.image.addEventListener("load",u),n.image.complete&&u()}))},t.prototype.destruct=function(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),s.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,".".concat(d)).off(".".concat(d)),e.prototype.destruct.call(this))},t.calcValueByPercent=function(e,t){var n,r=t.toString(),o=parseFloat(e.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(r))?parseInt(r,10):(n=/^([-+]?[0-9.]+)%$/.exec(r))?Math.round(o*(parseFloat(n[1])/100)):o||0},r.__decorate([u.autobind],t.prototype,"onTitleModeClick",null),r.__decorate([(0,u.debounce)(),u.autobind],t.prototype,"onChangeSizeInput",null),r.__decorate([u.autobind],t.prototype,"onResizeHandleMouseDown",null),r.__decorate([u.autobind],t.prototype,"onGlobalMouseUp",null),r.__decorate([(0,u.throttle)(10)],t.prototype,"onGlobalMouseMove",null),r.__decorate([u.autobind],t.prototype,"hide",null),r.__decorate([u.autobind],t.prototype,"open",null),n=r.__decorate([u.component],t)}(i.ViewComponent);t.ImageEditor=h,t.openImageEditor=function(e,t,n,r,o,i){var s=this;return this.getInstance("ImageEditor",this.o).open(e,(function(e,l,c,u){return(0,a.call)("resize"===l.action?s.dataProvider.resize:s.dataProvider.crop,n,r,t,e,l.box).then((function(e){e&&(c(),o&&o())})).catch((function(e){u(e),i&&i(e)}))}))}},73624:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.form=void 0;var r=n(77688),o="jodit-image-editor",i=r.Icon.get.bind(r.Icon),a=function(e,t){return void 0===t&&(t="jodti-image-editor_active"),e?t:""};t.form=function(e,t){var n=e.i18n.bind(e),r=function(e,t,r){return void 0===r&&(r=!0),'<div class="jodit-form__group">\n\t\t\t<label>'.concat(n(e),"</label>\n\n\t\t\t<label class='jodit-switcher'>\n\t\t\t\t<input ").concat(a(r,"checked"),' data-ref="').concat(t,'" type="checkbox"/>\n\t\t\t\t<span class="jodit-switcher__slider"></span>\n\t\t\t</label>\n\t</div>')};return e.create.fromHTML('<form class="'.concat(o,' jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-3-4 jodit_col-sm-5-5">\n\t\t\t').concat(t.resize?'<div class="'.concat(o,"__area ").concat(o,"__area_resize ").concat(o,'_active">\n\t\t\t\t\t\t\t<div data-ref="resizeBox" class="').concat(o,'__box"></div>\n\t\t\t\t\t\t\t<div class="').concat(o,'__resizer">\n\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"","\n\t\t\t").concat(t.crop?'<div class="'.concat(o,"__area ").concat(o,"__area_crop ").concat(a(!t.resize),'">\n\t\t\t\t\t\t\t<div data-ref="cropBox" class="').concat(o,'__box">\n\t\t\t\t\t\t\t\t<div class="').concat(o,'__croper">\n\t\t\t\t\t\t\t\t\t<i class="jodit_bottomright"></i>\n\t\t\t\t\t\t\t\t\t<i class="').concat(o,'__sizes"></i>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>'):"",'\n\t\t\t</div>\n\t\t\t<div class="jodit_col-lg-1-4 jodit_col-sm-5-5">\n\t\t\t').concat(t.resize?'<div data-area="resize" class="'.concat(o,"__slider ").concat(o,'_active">\n\t\t\t\t\t\t\t<div class="').concat(o,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(i("resize"),"\n\t\t\t\t\t\t\t\t").concat(n("Resize"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(o,'__slider-content">\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(n("Width"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="widthInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t<div class="jodit-form__group">\n\t\t\t\t\t\t\t\t\t<label>\n\t\t\t\t\t\t\t\t\t\t').concat(n("Height"),'\n\t\t\t\t\t\t\t\t\t</label>\n\t\t\t\t\t\t\t\t\t<input type="number" data-ref="heightInput" class="jodit-input"/>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t').concat(r("Keep Aspect Ratio","keepAspectRatioResize"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t").concat(t.crop?'<div data-area="crop" class="'.concat(o,"__slider ").concat(a(!t.resize),'\'">\n\t\t\t\t\t\t\t<div class="').concat(o,'__slider-title">\n\t\t\t\t\t\t\t\t').concat(i("crop"),"\n\t\t\t\t\t\t\t\t").concat(n("Crop"),'\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="').concat(o,'__slider-content">\n\t\t\t\t\t\t\t\t').concat(r("Keep Aspect Ratio","keepAspectRatioCrop"),"\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>"):"","\n\t\t\t</div>\n\t\t</div>\n\t</form>"))}},18870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PluginSystem=t.UIMessages=t.Uploader=t.ToolbarCollection=t.ToolbarEditorCollection=t.Table=t.StatusBar=t.CommitStyle=t.Select=t.Snapshot=t.History=t.ImageEditor=t.Helpers=t.ViewWithToolbar=t.View=t.Icon=t.ProgressBar=t.UIBlock=t.UICheckbox=t.UITextArea=t.UIInput=t.UIForm=t.UIList=t.UIGroup=t.UISeparator=t.Popup=t.UIButton=t.UIElement=t.Create=t.Plugin=t.LazyWalker=t.Dom=t.ContextMenu=t.STATUSES=t.ViewComponent=t.Component=t.Async=void 0;var r=n(20255);r.__exportStar(n(51850),t);var o=n(68029);Object.defineProperty(t,"Async",{enumerable:!0,get:function(){return o.Async}}),r.__exportStar(n(40803),t);var i=n(95448);Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return i.Component}}),Object.defineProperty(t,"ViewComponent",{enumerable:!0,get:function(){return i.ViewComponent}}),Object.defineProperty(t,"STATUSES",{enumerable:!0,get:function(){return i.STATUSES}});var a=n(82616);Object.defineProperty(t,"ContextMenu",{enumerable:!0,get:function(){return a.ContextMenu}}),r.__exportStar(n(60169),t);var s=n(36516);Object.defineProperty(t,"Dom",{enumerable:!0,get:function(){return s.Dom}}),Object.defineProperty(t,"LazyWalker",{enumerable:!0,get:function(){return s.LazyWalker}});var l=n(76454);Object.defineProperty(t,"Plugin",{enumerable:!0,get:function(){return l.Plugin}});var c=n(98693);Object.defineProperty(t,"Create",{enumerable:!0,get:function(){return c.Create}});var u=n(77688);Object.defineProperty(t,"UIElement",{enumerable:!0,get:function(){return u.UIElement}}),Object.defineProperty(t,"UIButton",{enumerable:!0,get:function(){return u.UIButton}}),Object.defineProperty(t,"Popup",{enumerable:!0,get:function(){return u.Popup}}),Object.defineProperty(t,"UISeparator",{enumerable:!0,get:function(){return u.UISeparator}}),Object.defineProperty(t,"UIGroup",{enumerable:!0,get:function(){return u.UIGroup}}),Object.defineProperty(t,"UIList",{enumerable:!0,get:function(){return u.UIList}}),Object.defineProperty(t,"UIForm",{enumerable:!0,get:function(){return u.UIForm}}),Object.defineProperty(t,"UIInput",{enumerable:!0,get:function(){return u.UIInput}}),Object.defineProperty(t,"UITextArea",{enumerable:!0,get:function(){return u.UITextArea}}),Object.defineProperty(t,"UICheckbox",{enumerable:!0,get:function(){return u.UICheckbox}}),Object.defineProperty(t,"UIBlock",{enumerable:!0,get:function(){return u.UIBlock}}),Object.defineProperty(t,"ProgressBar",{enumerable:!0,get:function(){return u.ProgressBar}}),Object.defineProperty(t,"Icon",{enumerable:!0,get:function(){return u.Icon}});var d=n(49896);Object.defineProperty(t,"View",{enumerable:!0,get:function(){return d.View}});var f=n(67555);Object.defineProperty(t,"ViewWithToolbar",{enumerable:!0,get:function(){return f.ViewWithToolbar}}),r.__exportStar(n(48495),t);var p=n(83370);t.Helpers=p;var h=n(55506);Object.defineProperty(t,"ImageEditor",{enumerable:!0,get:function(){return h.ImageEditor}});var m=n(9172);Object.defineProperty(t,"History",{enumerable:!0,get:function(){return m.History}});var g=n(47217);Object.defineProperty(t,"Snapshot",{enumerable:!0,get:function(){return g.Snapshot}});var v=n(74700);Object.defineProperty(t,"Select",{enumerable:!0,get:function(){return v.Select}}),Object.defineProperty(t,"CommitStyle",{enumerable:!0,get:function(){return v.CommitStyle}});var b=n(53528);Object.defineProperty(t,"StatusBar",{enumerable:!0,get:function(){return b.StatusBar}});var y=n(70218);Object.defineProperty(t,"Table",{enumerable:!0,get:function(){return y.Table}});var A=n(98714);Object.defineProperty(t,"ToolbarEditorCollection",{enumerable:!0,get:function(){return A.ToolbarEditorCollection}});var x=n(50);Object.defineProperty(t,"ToolbarCollection",{enumerable:!0,get:function(){return x.ToolbarCollection}}),r.__exportStar(n(41419),t);var C=n(9623);Object.defineProperty(t,"Uploader",{enumerable:!0,get:function(){return C.Uploader}});var _=n(23895);Object.defineProperty(t,"UIMessages",{enumerable:!0,get:function(){return _.UIMessages}});var w=n(60154);Object.defineProperty(t,"PluginSystem",{enumerable:!0,get:function(){return w.PluginSystem}})},74889:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIMessage=void 0;var r=n(20255),o=n(77688),i=n(45466),a=function(e){function t(t,n){var r=e.call(this,t)||this;return r.setMod("active",!0),r.setMod("variant",n.variant),r.container.textContent=n.text,r}return r.__extends(t,e),t.prototype.className=function(){return"UIMessage"},r.__decorate([i.component],t)}(o.UIElement);t.UIMessage=a},23895:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UIMessages=void 0;var r=n(20255);n(63421);var o=n(76239),i=n(31454),a=n(45466),s=n(30192),l=n(83370),c=n(74889),u=function(e){function t(t,n){void 0===n&&(n={defaultTimeout:3e3,defaultOffset:5});var r=e.call(this,t)||this;return r.options=n,r.__messages=new Set,r}return r.__extends(t,e),t.prototype.className=function(){return"UIMessages"},t.prototype.info=function(e,t){this.__message(e,"info",t)},t.prototype.success=function(e,t){this.__message(e,"success",t)},t.prototype.error=function(e,t){this.__message(e,"error",t)},t.prototype.message=function(e,t,n){this.__message(e,t,n)},t.prototype.__message=function(e,t,n){void 0===t&&(t="info");var r=e+":"+t;if(this.__messages.has(r))this.async.updateTimeout(r,n||this.options.defaultTimeout);else{var o=this.j;(0,l.isJoditObject)(o)?o.workplace.appendChild(this.container):o.container.appendChild(this.container);var i=new c.UIMessage(this.j,{text:e,variant:t});this.append(i),this.__calcOffsets(),this.__messages.add(r);var a=this.__getRemoveCallback(i,r);this.j.e.on(i.container,"pointerdown",a),this.async.setTimeout(a,{label:r,timeout:n||this.options.defaultTimeout})}},t.prototype.__getRemoveCallback=function(e,t){var n=this,r=function(o){o&&o.preventDefault(),e.isInDestruct||(n.async.clearTimeout(t),n.j.e.off(e.container,"pointerdown",r),n.__messages.delete(t),e.setMod("active",!1),n.async.setTimeout((function(){n.remove(e),e.destruct(),n.__calcOffsets()}),300))};return r},t.prototype.__calcOffsets=function(){var e=this,t=5;this.elements.forEach((function(n){(0,o.css)(n.container,"bottom",t+"px"),t+=n.container.offsetHeight+e.options.defaultOffset}))},r.__decorate([(0,s.watch)(":errorMessage")],t.prototype,"__message",null),r.__decorate([a.component],t)}(i.UIGroup);t.UIMessages=u},53528:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StatusBar=void 0;var r=n(20255);n(32115);var o=n(95448),i=n(36516),a=n(44535),s=n(18731),l=function(e){function t(t,n){var r=e.call(this,t)||this;return r.target=n,r.mods={},r.container=t.c.div("jodit-status-bar"),n.appendChild(r.container),r.hide(),r}return r.__extends(t,e),t.prototype.className=function(){return"StatusBar"},t.prototype.hide=function(){this.container.classList.add("jodit_hidden")},t.prototype.show=function(){this.container.classList.remove("jodit_hidden")},Object.defineProperty(t.prototype,"isShown",{get:function(){return!this.container.classList.contains("jodit_hidden")},enumerable:!1,configurable:!0}),t.prototype.getHeight=function(){var e,t;return null!==(t=null===(e=this.container)||void 0===e?void 0:e.offsetHeight)&&void 0!==t?t:0},t.prototype.findEmpty=function(e){void 0===e&&(e=!1);for(var t=this.getElms(e?"item-right":"item"),n=0;t.length>n;n+=1)if(!t[n].innerHTML.trim().length)return t[n]},t.prototype.append=function(e,t){var n;void 0===t&&(t=!1);var r=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&r.classList.add(this.getFullElName("item-right")),r.appendChild(e),null===(n=this.container)||void 0===n||n.appendChild(r),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")},t.prototype.destruct=function(){this.isInDestruct||(this.setStatus(o.STATUSES.beforeDestruct),i.Dom.safeRemove(this.container),e.prototype.destruct.call(this))},r.__decorate([s.component,(0,s.derive)(a.Mods,a.Elms)],t)}(o.ViewComponent);t.StatusBar=l},70218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Table=void 0;var r=n(20255),o=n(47386),i=n(36516),a=n(83370),s=n(95448),l=n(16672),c=n(18731),u=new WeakMap,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selected=new Set,t}return r.__extends(t,e),t.prototype.className=function(){return"Table"},t.prototype.recalculateStyles=function(){var e=(0,l.getContainer)(this.j,t,"style",!0),n=[];this.selected.forEach((function(e){var t=(0,a.cssPath)(e);t&&n.push(t)})),e.innerHTML=n.length?n.join(",")+"{".concat(this.jodit.options.table.selectionCellStyle,"}"):""},t.prototype.addSelection=function(e){this.selected.add(e),this.recalculateStyles();var n=i.Dom.closest(e,"table",this.j.editor);if(n){var r=t.selectedByTable.get(n)||new Set;r.add(e),t.selectedByTable.set(n,r)}},t.prototype.removeSelection=function(e){this.selected.delete(e),this.recalculateStyles();var n=i.Dom.closest(e,"table",this.j.editor);if(n){var r=t.selectedByTable.get(n);r&&(r.delete(e),r.size||t.selectedByTable.delete(n))}},t.prototype.getAllSelectedCells=function(){return(0,a.toArray)(this.selected)},t.getSelectedCellsByTable=function(e){var n=t.selectedByTable.get(e);return n?(0,a.toArray)(n):[]},t.prototype.destruct=function(){return this.selected.clear(),e.prototype.destruct.call(this)},t.getRowsCount=function(e){return e.rows.length},t.getColumnsCount=function(e){return t.formalMatrix(e).reduce((function(e,t){return Math.max(e,t.length)}),0)},t.formalMatrix=function(e,t){for(var n=[[]],r=(0,a.toArray)(e.rows),o=function(e,r){void 0===n[r]&&(n[r]=[]);for(var o,i,a=e.colSpan,s=e.rowSpan,l=0;n[r][l];)l+=1;for(i=0;s>i;i+=1)for(o=0;a>o;o+=1){if(void 0===n[r+i]&&(n[r+i]=[]),t&&!1===t(e,r+i,l+o,a,s))return!1;n[r+i][l+o]=e}},i=0;r.length>i;i+=1)for(var s=(0,a.toArray)(r[i].cells),l=0;s.length>l;l+=1)if(!1===o(s[l],i))return n;return n},t.formalCoordinate=function(e,n,r){void 0===r&&(r=!1);var o=0,i=0,a=1,s=1;return t.formalMatrix(e,(function(e,t,l,c,u){if(n===e)return o=t,i=l,a=c||1,s=u||1,r&&(i+=(c||1)-1,o+=(u||1)-1),!1})),[o,i,a,s]},t.appendRow=function(e,n,r,o){var i,s;if(n)s=n.cloneNode(!0),(0,a.$$)("td,th",n).forEach((function(e){var t=(0,a.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){var n=parseInt(t,10)-1;(0,a.attr)(e,"rowspan",n>1?n:null)}})),(0,a.$$)("td,th",s).forEach((function(e){e.innerHTML=""}));else{var l=t.getColumnsCount(e);s=o.element("tr");for(var c=0;l>c;c+=1)s.appendChild(o.element("td"))}r&&n&&n.nextSibling?n.parentNode&&n.parentNode.insertBefore(s,n.nextSibling):!r&&n?n.parentNode&&n.parentNode.insertBefore(s,n):((null===(i=e.getElementsByTagName("tbody"))||void 0===i?void 0:i[0])||e).appendChild(s)},t.removeRow=function(e,n){var r,o=t.formalMatrix(e),s=e.rows[n];o[n].forEach((function(t,l){if(r=!1,0>n-1||o[n-1][l]!==t)if(o[n+1]&&o[n+1][l]===t){if(t.parentNode===s&&t.parentNode.nextSibling){r=!0;for(var c=l+1;o[n+1][c]===t;)c+=1;var u=i.Dom.next(t.parentNode,(function(e){return i.Dom.isTag(e,"tr")}),e);u&&(o[n+1][c]?u.insertBefore(t,o[n+1][c]):u.appendChild(t))}}else i.Dom.safeRemove(t);else r=!0;if(r&&(t.parentNode===s||t!==o[n][l-1])){var d=t.rowSpan;(0,a.attr)(t,"rowspan",d-1>1?d-1:null)}})),i.Dom.safeRemove(s)},t.appendColumn=function(e,n,r,o){var s,l=t.formalMatrix(e);for((void 0===n||0>n)&&(n=t.getColumnsCount(e)-1),s=0;l.length>s;s+=1){var c=o.element("td"),u=l[s][n],d=!1;r?(l[s]&&u&&n+1>=l[s].length||u!==l[s][n+1])&&(u.nextSibling?i.Dom.before(u.nextSibling,c):u.parentNode&&u.parentNode.appendChild(c),d=!0):(0>n-1||l[s][n]!==l[s][n-1]&&l[s][n].parentNode)&&(i.Dom.before(l[s][n],c),d=!0),d||(0,a.attr)(l[s][n],"colspan",parseInt((0,a.attr)(l[s][n],"colspan")||"1",10)+1)}},t.removeColumn=function(e,n){var r,o=t.formalMatrix(e);o.forEach((function(e,t){var s=e[n];if(r=!1,0>n-1||o[t][n-1]!==s?e.length>n+1&&o[t][n+1]===s?r=!0:i.Dom.safeRemove(s):r=!0,r&&(0>t-1||s!==o[t-1][n])){var l=s.colSpan;(0,a.attr)(s,"colspan",l-1>1?(l-1).toString():null)}}))},t.getSelectedBound=function(e,n){var r,o,i,a=[[1/0,1/0],[0,0]],s=t.formalMatrix(e);for(r=0;s.length>r;r+=1)for(o=0;s[r]&&s[r].length>o;o+=1)n.includes(s[r][o])&&(a[0][0]=Math.min(r,a[0][0]),a[0][1]=Math.min(o,a[0][1]),a[1][0]=Math.max(r,a[1][0]),a[1][1]=Math.max(o,a[1][1]));for(r=a[0][0];a[1][0]>=r;r+=1)for(i=1,o=a[0][1];a[1][1]>=o;o+=1){for(;s[r]&&s[r][o-i]&&s[r][o]===s[r][o-i];)a[0][1]=Math.min(o-i,a[0][1]),a[1][1]=Math.max(o-i,a[1][1]),i+=1;for(i=1;s[r]&&s[r][o+i]&&s[r][o]===s[r][o+i];)a[0][1]=Math.min(o+i,a[0][1]),a[1][1]=Math.max(o+i,a[1][1]),i+=1;for(i=1;s[r-i]&&s[r][o]===s[r-i][o];)a[0][0]=Math.min(r-i,a[0][0]),a[1][0]=Math.max(r-i,a[1][0]),i+=1;for(i=1;s[r+i]&&s[r][o]===s[r+i][o];)a[0][0]=Math.min(r+i,a[0][0]),a[1][0]=Math.max(r+i,a[1][0]),i+=1}return a},t.normalizeTable=function(e){var n,r,o,i,s=[],l=t.formalMatrix(e);for(r=0;l[0].length>r;r+=1){for(o=1e6,i=!1,n=0;l.length>n;n+=1)if(void 0!==l[n][r]){if(2>l[n][r].colSpan){i=!0;break}o=Math.min(o,l[n][r].colSpan)}if(!i)for(n=0;l.length>n;n+=1)void 0!==l[n][r]&&t.mark(l[n][r],"colspan",l[n][r].colSpan-o+1,s)}for(n=0;l.length>n;n+=1){for(o=1e6,i=!1,r=0;l[n].length>r;r+=1)if(void 0!==l[n][r]){if(2>l[n][r].rowSpan){i=!0;break}o=Math.min(o,l[n][r].rowSpan)}if(!i)for(r=0;l[n].length>r;r+=1)void 0!==l[n][r]&&t.mark(l[n][r],"rowspan",l[n][r].rowSpan-o+1,s)}for(n=0;l.length>n;n+=1)for(r=0;l[n].length>r;r+=1)void 0!==l[n][r]&&(l[n][r].hasAttribute("rowspan")&&1===l[n][r].rowSpan&&(0,a.attr)(l[n][r],"rowspan",null),l[n][r].hasAttribute("colspan")&&1===l[n][r].colSpan&&(0,a.attr)(l[n][r],"colspan",null),l[n][r].hasAttribute("class")&&!(0,a.attr)(l[n][r],"class")&&(0,a.attr)(l[n][r],"class",null));t.unmark(s)},t.mergeSelected=function(e,n){var r,s=[],l=t.getSelectedBound(e,t.getSelectedCellsByTable(e)),c=0,u=null,d=0,p=0,h=0,m=new Set,g=[];l&&(l[0][0]-l[1][0]||l[0][1]-l[1][1])&&(t.formalMatrix(e,(function(e,o,i,v,b){if(!(l[0][0]>o||o>l[1][0]||l[0][1]>i||i>l[1][1])){if(m.has(r=e))return;m.add(r),o===l[0][0]&&r.style.width&&(c+=r.offsetWidth),""!==(0,a.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&s.push(e.innerHTML),v>1&&(p+=v-1),b>1&&(h+=b-1),u?(t.mark(r,"remove",1,g),f(n).removeSelection(r)):(u=e,d=i)}})),p=l[1][1]-l[0][1]+1,h=l[1][0]-l[0][0]+1,u&&(p>1&&t.mark(u,"colspan",p,g),h>1&&t.mark(u,"rowspan",h,g),c&&(t.mark(u,"width",(c/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),d&&t.setColumnWidthByDelta(e,d,0,!0,g)),u.innerHTML=s.join("<br/>"),f(n).addSelection(u),m.delete(u),t.unmark(g),t.normalizeTable(e),(0,a.toArray)(e.rows).forEach((function(e,t){e.cells.length||i.Dom.safeRemove(e)}))))},t.splitHorizontal=function(e,n){var r,o,a,s,l,c=[];t.getSelectedCellsByTable(e).forEach((function(u){(o=n.createInside.element("td")).appendChild(n.createInside.element("br")),a=n.createInside.element("tr"),r=t.formalCoordinate(e,u),2>u.rowSpan?(t.formalMatrix(e,(function(e,n,o){r[0]===n&&r[1]!==o&&e!==u&&t.mark(e,"rowspan",e.rowSpan+1,c)})),i.Dom.after(i.Dom.closest(u,"tr",e),a),a.appendChild(o)):(t.mark(u,"rowspan",u.rowSpan-1,c),t.formalMatrix(e,(function(t,n,o){n>r[0]&&r[0]+u.rowSpan>n&&r[1]>o&&t.parentNode.rowIndex===n&&(l=t),n>r[0]&&t===u&&(s=e.rows[n])})),l?i.Dom.after(l,o):s.insertBefore(o,s.firstChild)),u.colSpan>1&&t.mark(o,"colspan",u.colSpan,c),t.unmark(c),f(n).removeSelection(u)})),this.normalizeTable(e)},t.splitVertical=function(e,n){var r,a,s,l=[];t.getSelectedCellsByTable(e).forEach((function(c){r=t.formalCoordinate(e,c),2>c.colSpan?t.formalMatrix(e,(function(e,n,o){r[1]===o&&r[0]!==n&&e!==c&&t.mark(e,"colspan",e.colSpan+1,l)})):t.mark(c,"colspan",c.colSpan-1,l),(a=n.createInside.element("td")).appendChild(n.createInside.element("br")),c.rowSpan>1&&t.mark(a,"rowspan",c.rowSpan,l);var u=c.offsetWidth;i.Dom.after(c,a),t.mark(c,"width",(100*(s=u/e.offsetWidth/2)).toFixed(o.ACCURACY)+"%",l),t.mark(a,"width",(100*s).toFixed(o.ACCURACY)+"%",l),t.unmark(l),f(n).removeSelection(c)})),t.normalizeTable(e)},t.setColumnWidthByDelta=function(e,n,r,i,a){for(var s=t.formalMatrix(e),l=0,c=0;s.length>c;c+=1)if(1>=(u=s[c][n]).colSpan||1>=s.length){t.mark(u,"width",((u.offsetWidth+r)/e.offsetWidth*100).toFixed(o.ACCURACY)+"%",a),l=c;break}for(c=l+1;s.length>c;c+=1){var u;t.mark(u=s[c][n],"width",null,a)}i||t.unmark(a)},t.mark=function(e,t,n,r){var o;r.push(e);var i=null!==(o=u.get(e))&&void 0!==o?o:{};i[t]=void 0===n?1:n,u.set(e,i)},t.unmark=function(e){e.forEach((function(e){var t=u.get(e);t&&(Object.keys(t).forEach((function(n){var r=t[n];switch(n){case"remove":i.Dom.safeRemove(e);break;case"rowspan":(0,a.attr)(e,"rowspan",(0,a.isNumber)(r)&&r>1?r:null);break;case"colspan":(0,a.attr)(e,"colspan",(0,a.isNumber)(r)&&r>1?r:null);break;case"width":null==r?(e.style.removeProperty("width"),(0,a.attr)(e,"style")||(0,a.attr)(e,"style",null)):e.style.width=r.toString()}delete t[n]})),u.delete(e))}))},t.selectedByTable=new WeakMap,r.__decorate([(0,c.debounce)()],t.prototype,"recalculateStyles",null),t}(s.ViewComponent);t.Table=d;var f=function(e){return e.getInstance("Table",e.o)}},95169:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarButton=void 0;var r=n(20255);n(53362);var o=n(25242),i=n(18731),a=n(36516),s=n(78900),l=n(5243),c=n(83370),u=n(80353),d=n(50),f=n(71685),p=n(58240),h=function(e){function t(t,n,i){void 0===i&&(i=null);var a=e.call(this,t)||this;return a.control=n,a.target=i,a.state=r.__assign(r.__assign({},(0,o.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),a.openedPopup=null,t.e.on([a.button,a.trigger],"mousedown",(function(e){return e.preventDefault()})),a.onAction(a.onClick),a.hookStatus(f.STATUSES.ready,(function(){a.initFromControl(),a.initTooltip(),a.update()})),n.mods&&Object.keys(n.mods).forEach((function(e){n.mods&&a.setMod(e,n.mods[e])})),a}return r.__extends(t,e),t.prototype.className=function(){return"ToolbarButton"},Object.defineProperty(t.prototype,"toolbar",{get:function(){return this.closest(d.ToolbarCollection)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"button",{get:function(){return this.container.querySelector("button.".concat(this.componentName,"__button"))},enumerable:!1,configurable:!0}),t.prototype.update=function(){var t=this.control,n=this.state,r=this.closest(d.ToolbarCollection);n.disabled=this.calculateDisabledStatus(r),n.activated=this.calculateActivatedStatus(r),(0,c.isFunction)(t.update)&&r&&t.update(this,r.jodit),e.prototype.update.call(this)},t.prototype.calculateActivatedStatus=function(e){return!((0,c.isJoditObject)(this.j)&&!this.j.editorIsActive)&&(!(!(0,c.isFunction)(this.control.isActive)||!this.control.isActive(this.j,this.control,this))||Boolean(e&&e.shouldBeActive(this)))},t.prototype.calculateDisabledStatus=function(e){return!!this.j.o.disabled||!(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))||!(!(0,c.isFunction)(this.control.isDisabled)||!this.control.isDisabled(this.j,this.control,this))||Boolean(e&&e.shouldBeDisabled(this))},t.prototype.onChangeActivated=function(){(0,c.attr)(this.button,"aria-pressed",this.state.activated),e.prototype.onChangeActivated.call(this)},t.prototype.onChangeText=function(){(0,c.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):e.prototype.onChangeText.call(this),this.setMod("text-icons",Boolean(this.text.innerText.trim().length))},t.prototype.onChangeTabIndex=function(){(0,c.attr)(this.button,"tabindex",this.state.tabIndex)},t.prototype.onChangeTooltip=function(){(0,c.attr)(this.button,"aria-label",this.state.tooltip),e.prototype.onChangeTooltip.call(this)},t.prototype.createContainer=function(){var t=this.componentName,n=this.j.c.span(t),r=e.prototype.createContainer.call(this);return(0,c.attr)(n,"role","listitem"),r.classList.remove(t),r.classList.add(t+"__button"),Object.defineProperty(r,"component",{value:this}),n.appendChild(r),this.trigger=this.j.c.fromHTML('<span role="trigger" class="'.concat(t,'__trigger">').concat(u.Icon.get("chevron"),"</span>")),n},t.prototype.focus=function(){var e;null===(e=this.container.querySelector("button"))||void 0===e||e.focus()},t.prototype.onChangeHasTrigger=function(){this.state.hasTrigger?this.container.appendChild(this.trigger):a.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)},t.prototype.onChangeDisabled=function(){var e=this.state.disabled?"disabled":null;(0,c.attr)(this.trigger,"disabled",e),(0,c.attr)(this.button,"disabled",e),(0,c.attr)(this.container,"disabled",e)},t.prototype.initTooltip=function(){var e=this;this.j.o.textIcons||!this.j.o.showTooltip||this.j.o.useNativeTooltip||this.j.e.off(this.container,"mouseenter mouseleave").on(this.container,"mousemove",(function(t){e.state.tooltip&&!e.state.disabled&&e.j.e.fire("delayShowTooltip",(function(){return{x:t.clientX+10,y:t.clientY+10}}),e.state.tooltip)})).on(this.container,"mouseleave",(function(){e.j.e.fire("hideTooltip")}))},t.prototype.initFromControl=function(){var e,t=this.control,n=this.state;this.updateSize(),n.name=t.name;var r=this.j.o.textIcons;if(!0===r||(0,c.isFunction)(r)&&r(t.name)||t.template)n.icon=(0,o.UIButtonState)().icon,n.text=t.text||t.name;else{if(t.iconURL)n.icon.iconURL=t.iconURL;else{var i=t.icon||t.name;n.icon.name=u.Icon.exists(i)||(null===(e=this.j.o.extraIcons)||void 0===e?void 0:e[i])?i:""}t.iconURL||n.icon.name||(n.text=t.text||t.name)}t.tooltip&&(n.tooltip=this.j.i18n((0,c.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),n.hasTrigger=Boolean(t.list||t.popup&&t.exec)},t.prototype.onTriggerClick=function(e){var t,n,r,o=this;if(this.openedPopup)this.closePopup();else{var i=this.control;if(e.buffer={actionTrigger:this},i.list)return this.openControlList(i);if((0,c.isFunction)(i.popup)){var a=this.openPopup();if(a.parentElement=this,!1!==this.j.e.fire((0,c.camelCase)("before-".concat(i.name,"-open-popup")),this.target,i,a)){var s=null!==(r=null!==(n=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==n?n:this.target)&&void 0!==r?r:null,l=i.popup(this.j,s,i,this.closePopup,this);l&&a.setContent((0,c.isString)(l)?this.j.c.fromHTML(l):l).open((function(){return(0,c.position)(o.container)}),!1,this.j.o.allowTabNavigation?this.container:void 0)}this.j.e.fire((0,c.camelCase)("after-".concat(i.name,"-open-popup")),a.container)}}},t.prototype.openControlList=function(e){var t,n=this,o=null!==(t=this.jodit.options.controls)&&void 0!==t?t:{},i=function(e){return(0,p.findControlType)(e,o)},a=e.list,s=this.openPopup(),u=(0,l.makeCollection)(this.j);s.parentElement=this,u.parentElement=s,u.mode="vertical";var d=function(t,o){if((0,c.isString)(o)&&i(o))return r.__assign({name:o.toString()},i(o));if((0,c.isString)(t)&&i(t))return r.__assign(r.__assign({name:t.toString()},i(t)),"object"==typeof o?o:{});var a=e.childTemplate,s={name:t.toString(),template:a&&function(e,t,r){return a(e,t,r,n)},exec:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,isDisabled:e.isChildDisabled,mode:e.mode,args:r.__spreadArray(r.__spreadArray([],r.__read(e.args?e.args:[]),!1),[t,o],!1)};return(0,c.isString)(o)&&(s.text=o),s};u.build((0,c.isArray)(a)?a.map(d):(0,c.keys)(a,!1).map((function(e){return d(e,a[e])})),this.target),s.setContent(u.container).open((function(){return(0,c.position)(n.container)}),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0},t.prototype.onOutsideClick=function(e){this.openedPopup&&(e&&a.Dom.isNode(e.target)&&(a.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.closePopup())},t.prototype.openPopup=function(){return this.closePopup(),this.openedPopup=new s.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup},t.prototype.closePopup=function(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)},t.prototype.onClick=function(e){var t,n,r,o,i,a,s,l=this.control;if((0,c.isFunction)(l.exec)){var u=null!==(r=null!==(n=null===(t=this.toolbar)||void 0===t?void 0:t.getTarget(this))&&void 0!==n?n:this.target)&&void 0!==r?r:null,d=l.exec(this.j,u,{control:l,originalEvent:e,button:this});if(!1!==d&&!0!==d&&(null===(i=null===(o=this.j)||void 0===o?void 0:o.e)||void 0===i||i.fire("synchro"),this.parentElement&&this.parentElement.update(),null===(s=null===(a=this.j)||void 0===a?void 0:a.e)||void 0===s||s.fire("closeAllPopups afterExec")),!1!==d)return}return l.list?this.openControlList(l):(0,c.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,c.call)((0,c.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))},t.prototype.destruct=function(){return this.closePopup(),e.prototype.destruct.call(this)},r.__decorate([(0,i.watch)("state.tooltip")],t.prototype,"onChangeTooltip",null),r.__decorate([(0,i.watch)("state.hasTrigger")],t.prototype,"onChangeHasTrigger",null),r.__decorate([(0,i.watch)("trigger:click")],t.prototype,"onTriggerClick",null),r.__decorate([i.autobind],t.prototype,"onOutsideClick",null),r.__decorate([i.autobind],t.prototype,"closePopup",null),r.__decorate([i.component],t)}(o.UIButton);t.ToolbarButton=h},3973:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarContent=void 0;var r=n(20255);n(48904);var o=n(25242),i=n(36516),a=n(83370),s=n(18731),l=function(e){function t(t,n,r){void 0===r&&(r=null);var o=e.call(this,t)||this;return o.control=n,o.target=r,o.container.classList.add("".concat(o.componentName,"_").concat(o.clearName(n.name))),(0,a.attr)(o.container,"role","content"),o}return r.__extends(t,e),t.prototype.className=function(){return"ToolbarContent"},t.prototype.update=function(){var t=this.control.getContent(this.j,this.control,this);((0,a.isString)(t)||t.parentNode!==this.container)&&(i.Dom.detach(this.container),this.container.appendChild((0,a.isString)(t)?this.j.create.fromHTML(t):t)),e.prototype.update.call(this)},t.prototype.createContainer=function(){return this.j.c.span(this.componentName)},r.__decorate([s.component],t)}(o.UIButton);t.ToolbarContent=l},41419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(95169),t),r.__exportStar(n(3973),t)},50:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarCollection=void 0;var r=n(20255);n(85796);var o=n(83370),i=n(77688),a=n(5243),s=n(18731),l=function(e){function t(t){var n=e.call(this,t)||this;return n.listenEvents="updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur",n.update=n.j.async.debounce(n.immediateUpdate,(function(){return n.j.defaultTimeout})),n.__tooltip=null,n.initEvents(),n.__tooltip=i.UITooltip.make(t),n}return r.__extends(t,e),t.prototype.className=function(){return"ToolbarCollection"},Object.defineProperty(t.prototype,"firstButton",{get:function(){return r.__read(this.buttons,1)[0]||null},enumerable:!1,configurable:!0}),t.prototype.makeButton=function(e,t){return void 0===t&&(t=null),(0,a.makeButton)(this.j,e,t)},t.prototype.shouldBeActive=function(e){},t.prototype.shouldBeDisabled=function(e){},t.prototype.getTarget=function(e){return e.target||null},t.prototype.immediateUpdate=function(){this.isDestructed||this.j.isLocked||(e.prototype.update.call(this),this.j.e.fire("afterUpdateToolbar"))},t.prototype.setDirection=function(e){this.container.style.direction=e,this.container.setAttribute("dir",e)},t.prototype.initEvents=function(){this.j.e.on(this.listenEvents,this.update).on("afterSetMode focus",this.immediateUpdate)},t.prototype.hide=function(){this.container.remove()},t.prototype.show=function(){this.appendTo(this.j.toolbarContainer)},t.prototype.showInline=function(e){throw(0,o.error)("The method is not implemented for this class.")},t.prototype.build=function(t,n){void 0===n&&(n=null);var r=this.j.e.fire("beforeToolbarBuild",t);return r&&(t=r),e.prototype.build.call(this,t,n),this},t.prototype.destruct=function(){var t;this.isDestructed||(null===(t=this.__tooltip)||void 0===t||t.destruct(),this.j.e.off(this.listenEvents,this.update).off("afterSetMode focus",this.immediateUpdate),e.prototype.destruct.call(this))},r.__decorate([s.autobind],t.prototype,"immediateUpdate",null),r.__decorate([s.component],t)}(i.UIList);t.ToolbarCollection=l},98714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ToolbarEditorCollection=void 0;var r=n(20255),o=n(50),i=n(47386),a=n(36516),s=n(83370),l=n(18731),c=function(e){function t(t){var n=e.call(this,t)||this;return n.checkActiveStatus=function(e,t){var r=0,o=0;return Object.keys(e).forEach((function(i){var a=e[i];(0,s.isFunction)(a)?a(n.j,(0,s.css)(t,i).toString())&&(r+=1):-1!==a.indexOf((0,s.css)(t,i).toString())&&(r+=1),o+=1})),o===r},n.prependInvisibleInput(n.container),n}return r.__extends(t,e),t.prototype.className=function(){return"ToolbarEditorCollection"},t.prototype.shouldBeDisabled=function(t){var n=e.prototype.shouldBeDisabled.call(this,t);if(void 0!==n)return n;var r=void 0===t.control.mode?i.MODE_WYSIWYG:t.control.mode;return!(r===i.MODE_SPLIT||r===this.j.getRealMode())},t.prototype.shouldBeActive=function(t){var n=this,r=e.prototype.shouldBeActive.call(this,t);if(void 0!==r)return r;var o=this.j.selection?this.j.s.current():null;if(!o)return!1;if(t.control.tags){var i=t.control.tags;if(a.Dom.up(o,(function(e){if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0}),this.j.editor))return!0}if(t.control.css){var s=t.control.css;if(a.Dom.up(o,(function(e){if(e&&!a.Dom.isText(e))return n.checkActiveStatus(s,e)}),this.j.editor))return!0}return!1},t.prototype.getTarget=function(e){return e.target||this.j.s.current()||null},t.prototype.prependInvisibleInput=function(e){var t=this.j.create.element("input",{tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});a.Dom.appendChildFirst(e,t)},t.prototype.showInline=function(e){this.jodit.e.fire("showInlineToolbar",e)},t.prototype.hide=function(){this.jodit.e.fire("hidePopup"),e.prototype.hide.call(this),this.jodit.e.fire("toggleToolbar")},t.prototype.show=function(){e.prototype.show.call(this),this.jodit.e.fire("toggleToolbar")},r.__decorate([l.component],t)}(o.ToolbarCollection);t.ToolbarEditorCollection=c},5243:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeButton=t.makeCollection=void 0;var r=n(83370),o=n(50),i=n(98714),a=n(95169),s=n(3973);t.makeCollection=function(e,t){var n=(0,r.isJoditObject)(e)?new i.ToolbarEditorCollection(e):new o.ToolbarCollection(e);return e.o.textIcons&&n.container.classList.add("jodit_text_icons"),t&&(n.parentElement=t),e.o.toolbarButtonSize&&(n.buttonSize=e.o.toolbarButtonSize),n},t.makeButton=function(e,t,n){if(void 0===n&&(n=null),(0,r.isFunction)(t.getContent))return new s.ToolbarContent(e,t,n);var o=new a.ToolbarButton(e,t,n);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,o}},25367:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(80031),i=n(41515),a=n(12866);o.Config.prototype.enableDragAndDropFileToEditor=!0,o.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName:function(e){return"files[".concat(e,"]")},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData:function(e){return e},isSuccess:function(e){return e.success},getMessage:function(e){return void 0!==e.data.messages&&(0,i.isArray)(e.data.messages)?e.data.messages.join(" "):""},processFileName:function(e,t,n){return[e,t,n]},process:function(e){return e.data},error:function(e){this.j.e.fire("errorMessage",e.message,"error",4e3)},getDisplayName:function(e,t){return e+t},defaultHandlerSuccess:function(e){var t=this,n=this.j||this;(0,a.isJoditObject)(n)&&e.files&&e.files.length&&e.files.forEach((function(o,i){var a=r.__read(e.isImages&&e.isImages[i]?["img","src"]:["a","href"],2),s=a[0],l=a[1],c=n.createInside.element(s);c.setAttribute(l,e.baseurl+o),"a"===s&&(c.textContent=n.o.uploader.getDisplayName.call(t,e.baseurl,o)),"img"===s?n.s.insertImage(c,null,n.o.imageDefaultWidth):n.s.insertNode(c)}))},defaultHandlerError:function(e){this.j.e.fire("errorMessage",e.message)},contentType:function(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},42591:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildData=void 0;var r=n(83370);t.buildData=function(e,t){if((0,r.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);var n=e.ow.FormData;if(void 0!==n){if(t instanceof n)return t;if((0,r.isString)(t))return t;var o=new n;return Object.keys(t).forEach((function(e){o.append(e,t[e])})),o}return t}},1610:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dataURItoBlob=void 0,t.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),o=new Uint8Array(r),i=0;t.length>i;i+=1)o[i]=t.charCodeAt(i);return new Blob([o],{type:n})}},86396:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasItems=t.hasFiles=void 0;var r=n(20255);r.__exportStar(n(23989),t),r.__exportStar(n(1610),t),r.__exportStar(n(42591),t),r.__exportStar(n(9271),t),r.__exportStar(n(62453),t),t.hasFiles=function(e){return Boolean(e&&e.files&&e.files.length>0)},t.hasItems=function(e){return Boolean(e&&e.items&&e.items.length>0)}},23989:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processOldBrowserDrag=void 0;var r=n(47386),o=n(16672),i=n(83370),a=n(36516),s=n(86396);t.processOldBrowserDrag=function(e,t,n,l,c){if(t&&(!t.types.length||t.types[0]!==r.TEXT_PLAIN)){var u=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,o.getContainer)(e.j,e.constructor).appendChild(u);var d=(0,i.isJoditObject)(e.j)?e.j.s.save():null;u.focus(),e.j.async.setTimeout((function(){var t=u.firstChild;if(a.Dom.safeRemove(u),t&&t.hasAttribute("src")){var r=(0,i.attr)(t,"src")||"";d&&(0,i.isJoditObject)(e.j)&&e.j.s.restore(),(0,s.sendFiles)(e,[(0,s.dataURItoBlob)(r)],n,l).finally(c)}}),e.j.defaultTimeout)}}},62453:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sendFiles=void 0;var r=n(20255),o=n(83370),i=n(9271);t.sendFiles=function(e,t,n,a,s){if(!t)return Promise.reject((0,o.error)("Need files"));var l=e.o,c=(0,o.toArray)(t);if(!c.length)return Promise.reject((0,o.error)("Need files"));var u=[];if(l.insertImageAsBase64URI){var d,f=void 0,p=function(){if((d=c[f])&&d.type){var t=d.type.match(/\/([a-z0-9]+)/i),r=t[1]?t[1].toLowerCase():"";if(l.imagesExtensions.includes(r)){var i=new FileReader;u.push(e.j.async.promise((function(t,r){i.onerror=r,i.onloadend=function(){var r={baseurl:"",files:[i.result],isImages:[!0]};((0,o.isFunction)(n)?n:l.defaultHandlerSuccess).call(e,r),t(r)},i.readAsDataURL(d)}))),c[f]=null}}};for(f=0;c.length>f;f+=1)p()}if((c=c.filter((function(e){return e}))).length){var h=new FormData;h.append(l.pathVariableName,e.path),h.append("source",e.source);var m=void 0;for(f=0;c.length>f;f+=1)if(m=c[f]){var g=/\.[\d\w]+$/.test(m.name),v=m.type.match(/\/([a-z0-9]+)/i),b=v&&v[1]?v[1].toLowerCase():"",y=c[f].name||Math.random().toString().replace(".","");if(!g&&b){var A=b;["jpeg","jpg"].includes(A)&&(A="jpeg|jpg"),new RegExp(".("+A+")$","i").test(y)||(y+="."+b)}var x=r.__read(l.processFileName.call(e,l.filesVariableName(f),c[f],y),3);h.append(x[0],x[1],x[2])}s&&s(h),l.data&&(0,o.isPlainObject)(l.data)&&Object.keys(l.data).forEach((function(e){h.append(e,l.data[e])})),l.prepareData.call(e,h),u.push((0,i.send)(e,h).then((function(t){return l.isSuccess.call(e,t)?(((0,o.isFunction)(n)?n:l.defaultHandlerSuccess).call(e,l.process.call(e,t)),t):(((0,o.isFunction)(a)?a:l.defaultHandlerError).call(e,(0,o.error)(l.getMessage.call(e,t))),t)})).then((function(){e.j.events&&e.j.e.fire("filesWereUploaded")})))}return Promise.all(u)}},9271:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.send=t.ajaxInstances=void 0;var r=n(40803),o=n(83370),i=n(42591);t.ajaxInstances=new WeakMap,t.send=function(e,n){var a=(0,i.buildData)(e,n),s=function(n){var i=new r.Ajax(e.j,{xhr:function(){var t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(e.j.progressbar.show().progress(10),t.upload.addEventListener("progress",(function(t){if(t.lengthComputable){var n=t.loaded/t.total;n*=100,e.j.progressbar.show().progress(n),100>n||e.j.progressbar.hide()}}),!1)):e.j.progressbar.hide(),t},method:e.o.method||"POST",data:n,url:(0,o.isFunction)(e.o.url)?e.o.url(n):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,n),dataType:e.o.format||"json",withCredentials:e.o.withCredentials||!1}),a=t.ajaxInstances.get(e);return a||(a=new Set,t.ajaxInstances.set(e,a)),a.add(i),i.send().then((function(e){return e.json()})).catch((function(t){e.o.error.call(e,t)})).finally((function(){null==a||a.delete(i)}))};return(0,o.isPromise)(a)?a.then(s).catch((function(t){e.o.error.call(e,t)})):s(a)}},9623:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Uploader=void 0;var r=n(20255);n(28654);var o=n(80031),i=n(47386),a=n(83370),s=n(95448),l=n(86396);n(25367);var c=function(e){function t(t,n){var r=e.call(this,t)||this;return r.path="",r.source="default",r.options=(0,a.ConfigProto)(n||{},(0,a.ConfigProto)(o.Config.defaultOptions.uploader,(0,a.isJoditObject)(t)?t.o.uploader:{})),r}return r.__extends(t,e),Object.defineProperty(t.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),t.prototype.className=function(){return"Uploader"},Object.defineProperty(t.prototype,"o",{get:function(){return this.options},enumerable:!1,configurable:!0}),t.prototype.setPath=function(e){return this.path=e,this},t.prototype.setSource=function(e){return this.source=e,this},t.prototype.bind=function(e,t,n){var r=function(){e.classList.remove("jodit_drag_hover")},o=this,a=function(e){var a,s,c,u=e.clipboardData,d=function(e){s&&(e.append("extension",c),e.append("mimetype",s.type))};if(!i.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,n).finally(r),!1;if(i.IS_IE)return(0,l.processOldBrowserDrag)(o,u,t,n,r);if((0,l.hasItems)(u)){var f=u.items;for(a=0;f.length>a;a+=1)if("file"===f[a].kind&&"image/png"===f[a].type){if(s=f[a].getAsFile()){var p=s.type.match(/\/([a-z0-9]+)/i);c=p[1]?p[1].toLowerCase():"",(0,l.sendFiles)(o,[s],t,n,d).finally(r)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",a):o.j.e.on("beforePaste",a),this.attachEvents(e,t,n,r)},t.prototype.attachEvents=function(e,t,n,r){var o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",(function(e){e.preventDefault()})).on(e,"dragover",(function(t){((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())})).on(e,"dragend dragleave",(function(t){e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()})).on(e,"drop",(function(i){e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(i.dataTransfer)&&(i.preventDefault(),i.stopImmediatePropagation(),(0,l.sendFiles)(o,i.dataTransfer.files,t,n).finally(r))}));var i=e.querySelector("input[type=file]");i&&o.j.e.on(i,"change",(function(){(0,l.sendFiles)(o,i.files,t,n).then((function(){i.value="",/safari/i.test(navigator.userAgent)||(i.type="",i.type="file")})).finally(r)}))},t.prototype.uploadRemoteImage=function(e,t,n){var r=this,o=r.o,i=(0,a.isFunction)(n)?n:o.defaultHandlerError;(0,l.send)(r,{action:"fileUploadRemote",url:e}).then((function(e){o.isSuccess.call(r,e)?((0,a.isFunction)(t)?t:o.defaultHandlerSuccess).call(r,o.process.call(r,e)):i.call(r,(0,a.error)(o.getMessage.call(r,e)))})).catch((function(e){return i.call(r,e)}))},t.prototype.destruct=function(){this.setStatus(s.STATUSES.beforeDestruct);var t=l.ajaxInstances.get(this);t&&(t.forEach((function(e){try{e.destruct()}catch(e){}})),t.clear()),e.prototype.destruct.call(this)},t}(s.ViewComponent);t.Uploader=c},97641:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorPickerWidget=void 0,n(60819);var r=n(83370),o=n(77688),i=n(36516);o.Icon.set("palette",n(95331)),t.ColorPickerWidget=function(e,t,n){var a="jodit-color-picker",s=(0,r.normalizeColor)(n),l=e.c.div(a),c=e.o.textIcons?"<span>".concat(e.i18n("palette"),"</span>"):o.Icon.get("palette"),u=function(e){var t=[];return(0,r.isPlainObject)(e)?Object.keys(e).forEach((function(n){t.push('<div class="'.concat(a,"__group ").concat(a,"__group-").concat(n,'">')),t.push(u(e[n])),t.push("</div>")})):(0,r.isArray)(e)&&e.forEach((function(e){t.push("<span class='".concat(a,"__color-item ").concat(s===e?a+"__color-item_active_true":"","' title=\"").concat(e,'" style="background-color:').concat(e,'" data-color="').concat(e,'"></span>'))})),t.join("")};l.appendChild(e.c.fromHTML('<div class="'.concat(a,'__groups">').concat(u(e.o.colors),"</div>"))),l.appendChild(e.c.fromHTML('<div data-ref="extra" class="'.concat(a,'__extra"></div>')));var d=(0,r.refs)(l).extra;return e.o.showBrowserColorPicker&&(0,r.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML('<div class="'.concat(a,'__native">').concat(c,'<input type="color" value="#ffffff"/></div>'))),e.e.on(l,"change",(function(e){e.stopPropagation();var n=e.target;if(n&&n.tagName&&i.Dom.isTag(n,"input")){var o=n.value||"";(0,r.isFunction)(t)&&t(o),e.preventDefault()}}))),e.e.on(l,"mousedown touchend",(function(n){n.stopPropagation(),n.preventDefault();var o=n.target;if(o&&o.tagName&&!i.Dom.isTag(o,"svg")&&!i.Dom.isTag(o,"path")||!o.parentNode||(o=i.Dom.closest(o.parentNode,"span",e.editor)),i.Dom.isTag(o,"span")&&o.classList.contains(a+"__color-item")){var s=(0,r.attr)(o,"-color")||"";t&&(0,r.isFunction)(t)&&t(s)}})),e.e.fire("afterGenerateColorPicker",l,d,t,s),l}},23724:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FileSelectorWidget=void 0;var r=n(83370),o=n(36516),i=n(77688),a=n(7313);t.FileSelectorWidget=function(e,t,n,s,l){var c;void 0===l&&(l=!0);var u=[];if(t.upload&&e.o.uploader&&(e.o.uploader.url||e.o.uploader.insertImageAsBase64URI)){var d=e.c.fromHTML('<div class="jodit-drag-and-drop__file-box">'+"<strong>".concat(e.i18n(l?"Drop image":"Drop file"),"</strong>")+"<span><br>".concat(e.i18n("or click"),"</span>")+'<input type="file" accept="'.concat(l?"image/*":"*",'" tabindex="-1" dir="auto" multiple=""/>')+"</div>");e.uploader.bind(d,(function(n){var o=(0,r.isFunction)(t.upload)?t.upload:e.o.uploader.defaultHandlerSuccess;(0,r.isFunction)(o)&&o.call(e,n),e.e.fire("closeAllPopups")}),(function(t){e.e.fire("errorMessage",t.message),e.e.fire("closeAllPopups")})),u.push({icon:"upload",name:"Upload",content:d})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&u.push({icon:"folder",name:"Browse",content:function(){s&&s(),t.filebrowser&&e.filebrowser.open(t.filebrowser,l)}}),t.url){var f=new i.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),p=new i.UIForm(e,[new i.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new i.UIInput(e,{name:"text",label:"Alternative text"}),new i.UIBlock(e,[f])]);c=null,n&&!o.Dom.isText(n)&&(o.Dom.isTag(n,"img")||(0,r.$$)("img",n).length)&&(c="IMG"===n.tagName?n:(0,r.$$)("img",n)[0],(0,r.val)(p.container,"input[name=url]",(0,r.attr)(c,"src")),(0,r.val)(p.container,"input[name=text]",(0,r.attr)(c,"alt")),f.state.text="Update"),n&&o.Dom.isTag(n,"a")&&((0,r.val)(p.container,"input[name=url]",(0,r.attr)(n,"href")),(0,r.val)(p.container,"input[name=text]",(0,r.attr)(n,"title")),f.state.text="Update"),p.onSubmit((function(n){(0,r.isFunction)(t.url)&&t.url.call(e,n.url,n.text)})),u.push({icon:"link",name:"URL",content:p.container})}return(0,a.TabsWidget)(e,u)}},81250:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(97641),t),r.__exportStar(n(7313),t),r.__exportStar(n(23724),t)},7313:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TabsWidget=void 0,n(96410);var r=n(83370),o=n(87385),i=n(77688),a=n(95448),s=n(65401);t.TabsWidget=function(e,t,n){var l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons"),d={},f=[],p="",h=0;l.appendChild(u),l.appendChild(c);var m=function(e){d[e]&&(f.forEach((function(e){e.state.activated=!1})),(0,r.$$)(".jodit-tab",c).forEach((function(e){e.classList.remove("jodit-tab_active")})),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach((function(r){var l=r.icon,g=r.name,v=r.content,b=e.c.div("jodit-tab"),y=(0,i.Button)(e,l||g,g);e.e.on(y.container,"mousedown",(function(e){return e.preventDefault()})),p||(p=g),u.appendChild(y.container),f.push(y),y.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,o.isFunction)(v)?b.appendChild(e.c.div("jodit-tab_empty")):b.appendChild(a.Component.isInstanceOf(v,i.UIElement)?v.container:v),c.appendChild(b),y.onAction((function(){return m(g),(0,o.isFunction)(v)&&!s.Dom.isElement(v)&&v.call(e),n&&(n.__activeTab=g),!1})),d[g]={button:y,tab:b},h+=1})),!h)return l;if((0,r.$$)("a",u).forEach((function(e){e.style.width=(100/h).toFixed(10)+"%"})),m(n&&n.__activeTab&&d[n.__activeTab]?n.__activeTab:p),n){var g=n.__activeTab;Object.defineProperty(n,"__activeTab",{configurable:!0,enumerable:!1,get:function(){return g},set:function(e){g=e,m(e)}})}return l}},6059:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(33126);var r=n(80031),o=n(83370),i=n(47386),a=n(16672),s=n(80353);r.Config.prototype.controls.about={exec:function(e){var t=e.dlg(),n=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(n("About Jodit")).setContent('<div class="jodit-about">\n\t\t\t\t\t<div>'.concat(n("Jodit Editor")," v.").concat(e.getVersion(),"</div>\n\t\t\t\t\t<div>").concat(n("License: %s",(0,o.isLicense)(e.o.license)?(0,o.normalizeLicense)(e.o.license):"MIT"),'</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="').concat("https://xdsoft.net/jodit/",'" target="_blank">').concat("https://xdsoft.net/jodit/",'</a>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<a href="https://xdsoft.net/jodit/doc/" target="_blank">').concat(n("Jodit User's Guide"),"</a>\n\t\t\t\t\t\t").concat(n("contains detailed help for using"),"\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>").concat(n("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved."),"</div>\n\t\t\t\t</div>")),(0,o.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0)},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},a.pluginSystem.add("about",(function(e){e.registerButton({name:"about",group:"info"})})),s.Icon.set("about",n(84279))},93746:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addNewLine=void 0;var r=n(20255);n(30724);var o=n(18870),i=n(83370),a=n(18731),s=n(16672);n(3378);var l="addnewline",c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.line=t.j.c.fromHTML('<div role="button" tabindex="-1" title="'.concat(t.j.i18n("Break"),'" class="jodit-add-new-line"><span>').concat(o.Icon.get("enter"),"</span></div>")),t.isMatchedTag=function(e){return Boolean(e&&t.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase()))},t.preview=!1,t.lineInFocus=!1,t.isShown=!1,t.hideForce=function(){t.isShown&&(t.isShown=!1,t.j.async.clearTimeout(t.timeout),t.lineInFocus=!1,o.Dom.safeRemove(t.line),t.line.style.setProperty("--jd-offset-handle","0"))},t.canGetFocus=function(e){return null!=e&&o.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)},t.onClickLine=function(e){var n=t.j,r=n.createInside.element(n.o.enter);t.preview&&t.current&&t.current.parentNode?t.current===n.editor?o.Dom.prepend(n.editor,r):t.current.parentNode.insertBefore(r,t.current):n.editor.appendChild(r),n.s.setCursorIn(r),(0,i.scrollIntoViewIfNeeded)(r,n.editor,n.ed),n.e.fire("synchro"),t.hideForce(),e.preventDefault()},t}return r.__extends(t,e),t.prototype.show=function(){this.isShown||this.j.o.readonly||this.j.isLocked||(this.isShown=!0,this.j.async.clearTimeout(this.timeout),this.line.classList.toggle("jodit-add-new-line_after",!this.preview),this.j.container.appendChild(this.line),this.line.style.width=this.j.container.clientWidth+"px")},t.prototype.onLock=function(e){e&&this.isShown&&this.hideForce()},t.prototype.hide=function(){this.isShown&&!this.lineInFocus&&(this.timeout=this.j.async.setTimeout(this.hideForce,{timeout:500,label:"add-new-line-hide"}))},t.prototype.afterInit=function(e){var t=this;e.o.addNewLine&&(e.e.on(this.line,"mousemove",(function(e){e.stopPropagation()})).on(this.line,"mousedown touchstart",this.onClickLine).on("change",this.hideForce).on(this.line,"mouseenter",(function(){t.j.async.clearTimeout(t.timeout),t.lineInFocus=!0})).on(this.line,"mouseleave",(function(){t.lineInFocus=!1})).on("changePlace",this.addEventListeners.bind(this)),this.addEventListeners())},t.prototype.addEventListeners=function(){var e=this.j;e.e.off(e.editor,"."+l).off(e.container,"."+l).on([e.ow,e.ew,e.editor],"scroll."+l,this.hideForce).on(e.editor,"click."+l,this.hide).on(e.container,"mouseleave."+l,this.hide).on(e.editor,"mousemove."+l,this.onMouseMove)},t.prototype.onDblClickEditor=function(e){var t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){var n=(0,i.offset)(t.editor,t,t.ed),r=e.pageY-t.ew.pageYOffset,o=t.createInside.element(t.o.enter);Math.abs(r-n.top)<Math.abs(r-(n.height+n.top))&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.hideForce(),e.preventDefault()}},t.prototype.onMouseMove=function(e){var t=this.j,n=t.ed.elementFromPoint(e.clientX,e.clientY);if(o.Dom.isHTMLElement(n)&&!o.Dom.isOrContains(this.line,n)&&o.Dom.isOrContains(t.editor,n))if(t.editor===n||this.isMatchedTag(n)||(n=o.Dom.closest(n,this.isMatchedTag,t.editor)),n){if(this.isMatchedTag(n)){var r=o.Dom.up(n,o.Dom.isBlock,t.editor);r&&r!==t.editor&&(n=r)}var a=(0,i.position)(n,this.j),s=!1,l=e.clientY,c=e.clientX;if(this.j.iframe){var u=(0,i.position)(this.j.iframe,this.j,!0);l+=u.top,c+=u.left}var d=this.j.o.addNewLineDeltaShow;Math.abs(l-a.top)>d||(s=a.top,this.preview=!0),Math.abs(l-(a.top+a.height))>d||(s=a.top+a.height,this.preview=!1),!1===s||(t.editor!==n||this.preview)&&(0,i.call)(this.preview?o.Dom.prev:o.Dom.next,n,this.canGetFocus,t.editor)?(this.current=!1,this.hide()):(this.line.style.top=s+"px",this.current=n,this.show(),this.line.style.setProperty("--jd-offset-handle",c-a.left-10+"px"))}else this.hide()},t.prototype.beforeDestruct=function(){this.j.async.clearTimeout(this.timeout),this.j.e.off(this.line).off("changePlace",this.addEventListeners),o.Dom.safeRemove(this.line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l)},r.__decorate([(0,a.watch)(":lock")],t.prototype,"onLock",null),r.__decorate([a.autobind],t.prototype,"hide",null),r.__decorate([(0,a.watch)(":dblclick")],t.prototype,"onDblClickEditor",null),r.__decorate([(0,a.debounce)((function(e){return 5*e.defaultTimeout}))],t.prototype,"onMouseMove",null),t}(o.Plugin);t.addNewLine=c,s.pluginSystem.add("addNewLine",c)},3378:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(77688);r.Config.prototype.addNewLine=!0,r.Config.prototype.addNewLineOnDBLClick=!0,r.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],r.Config.prototype.addNewLineDeltaShow=20,o.Icon.set("enter",n(11257))},13106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.backspace=void 0;var r=n(20255),o=n(76454),i=n(36516),a=n(47386),s=n(83370),l=n(52506),c=n(16672),u=n(29430),d=n(85991);n(49081);var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["hotkeys"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterCommand.delete",(function(e){"delete"===e&&t.afterDeleteCommand()})),e.registerCommand("deleteButton",{exec:function(){return t.onDelete(!1)},hotkeys:e.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:function(){return t.onDelete(!0)},hotkeys:e.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:function(){return t.onDelete(!1,"word")},hotkeys:e.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:function(){return t.onDelete(!0,"word")},hotkeys:e.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:function(){return t.onDelete(!1,"sentence")},hotkeys:e.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:function(){return t.onDelete(!0,"sentence")},hotkeys:e.o.delete.hotkeys.backspaceSentence})},t.prototype.beforeDestruct=function(e){e.e.off("afterCommand.delete")},t.prototype.afterDeleteCommand=function(){var e=this.j,t=e.s.current();if(t&&i.Dom.isTag(t.firstChild,"br")&&e.s.removeNode(t.firstChild),!((0,s.trim)(e.editor.textContent||"")||e.editor.querySelector("img,table,jodit,iframe,hr")||t&&i.Dom.closest(t,"table",e.editor))){e.editor.innerHTML="";var n=e.s.setCursorIn(e.editor);e.s.removeNode(n)}},t.prototype.onDelete=function(e,t){void 0===t&&(t="char");var n=this.j,r=n.selection;if(r.isFocused()||r.focus(),(0,d.checkNotCollapsed)(n))return!1;var o=r.range,c=n.createInside.text(a.INVISIBLE_SPACE);try{if(i.Dom.safeInsertNode(o,c),!i.Dom.isOrContains(n.editor,c))return;if((0,l.moveNodeInsideStart)(n,c,e),u.cases.some((function(r){if((0,s.isFunction)(r)&&r(n,c,e,t))return!0})))return!1}catch(e){throw e}finally{this.safeRemoveEmptyNode(c)}return!1},t.prototype.safeRemoveEmptyNode=function(e){var t,n,r=this.j.s.range;r.startContainer===e&&(e.previousSibling?i.Dom.isText(e.previousSibling)?r.setStart(e.previousSibling,null!==(n=null===(t=e.previousSibling.nodeValue)||void 0===t?void 0:t.length)&&void 0!==n?n:0):r.setStartAfter(e.previousSibling):e.nextSibling&&(i.Dom.isText(e.nextSibling)?r.setStart(e.nextSibling,0):r.setStartBefore(e.nextSibling)),r.collapse(!0),this.j.s.selectRange(r)),i.Dom.safeRemove(e)},t}(o.Plugin);t.backspace=f,c.pluginSystem.add("backspace",f)},11536:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkJoinNeighbors=void 0;var r=n(65401);function o(e,t,n,o){if(t&&r.Dom.isElement(n)){r.Dom.moveContent(t,n,!o);for(var i=t;i&&i!==e.editor&&r.Dom.isEmpty(i);){var a=i.parentElement;r.Dom.safeRemove(i),i=a}return!0}return!1}t.checkJoinNeighbors=function(e,t,n){for(var i=t,a=i;i&&!r.Dom.findNotEmptySibling(i,n)&&i.parentElement!==e.editor;)a=i=i.parentElement;if(r.Dom.isElement(a)&&r.Dom.isContentEditable(a,e.editor)){var s=r.Dom.findNotEmptySibling(a,n);if(s&&(function(e,t,n,i){var a=r.Dom.isTag(n,["ol","ul"]),s=r.Dom.isTag(t,["ol","ul"]),l=function(e,t){return t?e.firstElementChild:e.lastElementChild};return s?(n=e.createInside.element(e.o.enterBlock),r.Dom.before(t,n),o(e,l(t,i),n,i)):!(!n||!a||s)&&o(e,t,l(n,!i),i)}(e,a,s,n)||o(e,a,s,n)))return e.s.setCursorBefore(t),!0}return!1}},40923:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkJoinTwoLists=void 0;var r=n(65401),o=n(32389);t.checkJoinTwoLists=function(e,t,n){var i=r.Dom.findSibling(t,n),a=r.Dom.findSibling(t,!n);if(!r.Dom.closest(t,r.Dom.isElement,e.editor)&&r.Dom.isTag(i,["ul","ol"])&&r.Dom.isTag(a,["ul","ol"])&&r.Dom.isTag(i.lastElementChild,"li")&&r.Dom.isTag(a.firstElementChild,"li")){var s=e.s,l=s.setCursorBefore,c=s.setCursorAfter,u=i.lastElementChild;return(0,o.call)(n?r.Dom.prepend:r.Dom.append,a.firstElementChild,t),r.Dom.moveContent(a,i,!n),r.Dom.safeRemove(a),(0,o.call)(n?r.Dom.append:r.Dom.prepend,u,t),(0,o.call)(n?l:c,t),!0}return!1}},85991:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkNotCollapsed=void 0,t.checkNotCollapsed=function(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}},22023:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveChar=void 0;var r=n(36516),o=n(83370),i=n(47386),a=n(69707);t.checkRemoveChar=function e(t,n,s,l){var c,u,d,f,p=s?-1:1,h=r.Dom.sibling(n,!s),m=r.Dom.sibling(n,s),g=null,v=!1,b=function(e){var n=r.Dom.sibling(e,s);return!n&&e.parentNode&&e.parentNode!==t.editor&&(n=(0,a.findMostNestedNeighbor)(e,!s,t.editor,!0)),n};for(m||(m=b(n));m&&(r.Dom.isText(m)||r.Dom.isInlineBlock(m));){for(;r.Dom.isInlineBlock(m);)m=s?null==m?void 0:m.lastChild:null==m?void 0:m.firstChild;if(!m)break;if(null===(c=m.nodeValue)||void 0===c?void 0:c.length){var y=(0,o.toArray)(m.nodeValue),A=y.length,x=s?A-1:0;if(y[x]===i.INVISIBLE_SPACE)for(;y[x]===i.INVISIBLE_SPACE;)x+=p;if(f=y[x],y[x+p]===i.INVISIBLE_SPACE){for(x+=p;y[x]===i.INVISIBLE_SPACE;)x+=p;x+=s?1:-1}if(y=s&&0>x?[]:y.slice(s?0:x+1,s?x:A),!h||!r.Dom.isText(h)||(s?/^ /:/ $/).test(null!==(u=h.nodeValue)&&void 0!==u?u:"")||!(0,o.trimInv)(h.nodeValue||"").length)for(var C=s?y.length-1:0;(s?C>=0:y.length>C)&&" "===y[C];C+=s?-1:1)y[C]=i.NBSP_SPACE;m.nodeValue=y.join("")}if((null===(d=m.nodeValue)||void 0===d?void 0:d.length)||(g=m),!(0,o.isVoid)(f)&&f!==i.INVISIBLE_SPACE){v=!0,(0,o.call)(s?r.Dom.after:r.Dom.before,m,n),("sentence"===l||"word"===l&&" "!==f&&f!==i.NBSP_SPACE)&&e(t,n,s,l);break}var _=b(m);g&&(r.Dom.safeRemove(g),g=null),m=_}return g&&(r.Dom.safeRemove(g),g=null),v&&(function(e){for(var t=e.parentElement;t&&r.Dom.isInlineBlock(t);){var n=t.parentElement;r.Dom.isEmpty(t)&&(r.Dom.after(t,e),r.Dom.safeRemove(t)),t=n}}(n),function(e,t){t.parentElement!==e.editor&&r.Dom.isBlock(t.parentElement)&&r.Dom.each(t.parentElement,r.Dom.isEmptyTextNode)&&r.Dom.after(t,e.createInside.element("br"))}(t,n),t.s.setCursorBefore(n),r.Dom.isTag(n.previousSibling,"br")&&!r.Dom.findNotEmptySibling(n,!1)&&r.Dom.after(n,t.createInside.element("br"))),v}},10145:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveContentNotEditable=void 0;var r=n(36516),o=n(83370),i=n(52506);t.checkRemoveContentNotEditable=function(e,t,n){var a=r.Dom.findSibling(t,n);return!a&&t.parentElement&&t.parentElement!==e.editor&&(a=r.Dom.findSibling(t.parentElement,n)),!(!r.Dom.isElement(a)||r.Dom.isContentEditable(a,e.editor)||((0,o.call)(n?r.Dom.before:r.Dom.after,a,t),r.Dom.safeRemove(a),(0,i.moveNodeInsideStart)(e,t,n),(0,o.call)(n?e.s.setCursorBefore:e.s.setCursorAfter,t),0))}},76563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveEmptyNeighbor=void 0;var r=n(65401);t.checkRemoveEmptyNeighbor=function(e,t,n){var o=r.Dom.closest(t,r.Dom.isElement,e.editor);if(!o)return!1;var i=r.Dom.findNotEmptySibling(o,n);return!(!i||!r.Dom.isEmpty(i)||(r.Dom.safeRemove(i),e.s.setCursorBefore(t),0))}},64749:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveEmptyParent=void 0;var r=n(36516),o=n(47386),i=n(40923);t.checkRemoveEmptyParent=function(e,t,n){var a=!1,s=e.s,l=s.setCursorBefore,c=s.setCursorIn,u=r.Dom.closest(t,r.Dom.isElement,e.editor);if(!u||!r.Dom.isEmpty(u))return!1;var d=r.Dom.findNotEmptyNeighbor(t,n,e.editor);do{if(!u||!r.Dom.isEmpty(u)||r.Dom.isCell(u))break;r.Dom.after(u,t);var f=r.Dom.closest(u,(function(e){return r.Dom.isElement(e)&&e!==u}),e.editor);r.Dom.safeRemove(u),a=!0,u=f}while(u);return!(!a||!(0,i.checkJoinTwoLists)(e,t,n))||(!d||r.Dom.isText(d)||r.Dom.isTag(d,o.INSEPARABLE_TAGS)?l(t):c(d,!n),a)}},23273:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkRemoveUnbreakableElement=void 0;var r=n(65401),o=n(47386),i=n(64749);t.checkRemoveUnbreakableElement=function(e,t,n){var a=r.Dom.findSibling(t,n);return!(!r.Dom.isElement(a)||!r.Dom.isTag(a,o.INSEPARABLE_TAGS)&&!r.Dom.isEmpty(a)||(r.Dom.safeRemove(a),r.Dom.isTag(a,"br")&&!r.Dom.findNotEmptySibling(t,!1)&&r.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),r.Dom.isTag(a,"br")&&(0,i.checkRemoveEmptyParent)(e,t,n),0))}},45348:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkTableCell=void 0;var r=n(65401);t.checkTableCell=function(e,t){return!!r.Dom.isCell(t.parentElement)}},11815:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkUnwrapFirstListItem=void 0;var r=n(65401),o=n(38301);t.checkUnwrapFirstListItem=function(e,t,n){var i,a=r.Dom.closest(t,r.Dom.isElement,e.editor),s=e.s;if(r.Dom.isTag(a,"li")&&(null===(i=null==a?void 0:a.parentElement)||void 0===i?void 0:i[n?"firstElementChild":"lastElementChild"])===a&&s.cursorInTheEdge(n,a)){var l=a.parentElement,c=e.createInside.element(e.o.enterBlock);return(0,o.call)(n?r.Dom.before:r.Dom.after,l,c),r.Dom.moveContent(a,c),r.Dom.safeRemove(a),r.Dom.isEmpty(l)&&r.Dom.safeRemove(l),(0,o.call)(n?s.setCursorBefore:s.setCursorAfter,t),!0}return!1}},29430:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cases=void 0;var r=n(23273),o=n(10145),i=n(22023),a=n(45348),s=n(64749),l=n(76563),c=n(40923),u=n(11536),d=n(11815);t.cases=[r.checkRemoveUnbreakableElement,o.checkRemoveContentNotEditable,i.checkRemoveChar,a.checkTableCell,s.checkRemoveEmptyParent,l.checkRemoveEmptyNeighbor,c.checkJoinTwoLists,u.checkJoinNeighbors,d.checkUnwrapFirstListItem]},49081:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},69707:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findMostNestedNeighbor=void 0;var r=n(36516);t.findMostNestedNeighbor=function(e,t,n,o){void 0===o&&(o=!1);var i=function(e){return t?e.firstChild:e.lastChild},a=r.Dom.findNotEmptyNeighbor(e,!t,n);if(o&&r.Dom.isElement(a)&&!r.Dom.isInlineBlock(a))return null;if(a)do{if(!i(a))return a;a=i(a)}while(a);return null}},4997:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bold=void 0;var r=n(20255),o=n(80031),i=n(83370),a=n(16672),s=n(80353);function l(e){var t=function(t){var n=o.Config.defaultOptions.controls[t],a=r.__assign({},n.css),s={};return Object.keys(a).forEach((function(e){s[e]=(0,i.isArray)(a[e])?a[e][0]:a[e]})),e.s.applyStyle(s,{element:n.tags?n.tags[0]:void 0}),e.e.fire("synchro"),!1};["bold","italic","underline","strikethrough"].forEach((function(t){e.registerButton({name:t,group:"font-style"})})),["superscript","subscript"].forEach((function(t){e.registerButton({name:t,group:"script"})})),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t})}o.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},o.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},o.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},o.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},o.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},o.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"},t.bold=l,a.pluginSystem.add("bold",l),s.Icon.set("bold",n(25141)).set("italic",n(24557)).set("strikethrough",n(10859)).set("subscript",n(9813)).set("superscript",n(93395)).set("underline",n(98213))},10422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.classSpan=void 0;var r=n(20255),o=n(76454),i=n(80031),a=n(36516),s=n(83370),l=n(16672),c=n(77688);i.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:function(e,t){var n=e.s.current();if(n){var r=a.Dom.closest(n,a.Dom.isElement,e.editor)||e.editor;return Boolean(t.args&&r.classList.contains(t.args[0].toString()))}return!1},isActive:function(e,t){var n=e.s.current();if(n){var r=a.Dom.closest(n,a.Dom.isElement,e.editor)||e.editor,o=!1;return t.list&&Object.keys(t.list).forEach((function(e){r.classList.contains(e)&&(o=!0)})),Boolean(r&&r!==e.editor&&void 0!==t.list&&o)}return!1},childTemplate:function(e,t,n){return'<span class="'.concat(t,'">').concat(e.i18n(n),"</span>")},tooltip:"Insert className"};var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"classSpan",group:"font"}],t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.registerCommand("applyClassName",(function(t,n,r){return e.s.applyStyle(void 0,{className:r}),!1}))},t.prototype.beforeDestruct=function(){},t}(o.Plugin);t.classSpan=u,l.pluginSystem.add("classSpan",u),c.Icon.set("class-span",n(20026))},79587:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.cleanHtml=void 0;var r=n(20255),o=n(46860),i=n(90431),a=n(18731),s=n(20847),l=n(16672),c=n(65401),u=n(16619);n(71609);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"eraser",group:"font-style"}],t.currentSelectionNode=null,t.walker=new s.LazyWalker(t.j.async,{timeout:t.j.o.cleanHTML.timeout}),t}return r.__extends(t,e),t.prototype.afterInit=function(e){},Object.defineProperty(t.prototype,"isEditMode",{get:function(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())},enumerable:!1,configurable:!0}),t.prototype.onChangeCleanHTML=function(){if(this.isEditMode){var e=this.j;this.walker.setWork(e.editor),this.currentSelectionNode=e.s.current()}},t.prototype.startWalker=function(){var e=this,t=this.jodit,n=(0,u.getHash)(this.j.o.cleanHTML.allowTags),r=(0,u.getHash)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",(function(o){return(0,u.visitNodeWalker)(t,o,n,r,e.currentSelectionNode)})).on("end",(function(t){e.j.e.fire(t?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")}))},t.prototype.beforeCommand=function(e){if("removeformat"===e.toLowerCase())return this.j.s.isCollapsed()?(0,u.removeFormatForCollapsedSelection)(this.j):(0,u.removeFormatForSelection)(this.j),!1},t.prototype.onBeforeSetNativeEditorValue=function(e){var t=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():this.j.createInside.div();return t.innerHTML=e.value,this.onSafeHTML(t),e.value=t.innerHTML,(0,o.safeHTML)(t,{safeJavaScriptLink:!0,removeOnError:!0}),c.Dom.safeRemove(t),!1},t.prototype.onSafeHTML=function(e){(0,o.safeHTML)(e,this.j.o.cleanHTML)},t.prototype.beforeDestruct=function(){this.walker.destruct()},r.__decorate([(0,a.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],t.prototype,"onChangeCleanHTML",null),r.__decorate([(0,a.hook)("ready")],t.prototype,"startWalker",null),r.__decorate([(0,a.watch)(":beforeCommand")],t.prototype,"beforeCommand",null),r.__decorate([(0,a.watch)(":beforeSetNativeEditorValue")],t.prototype,"onBeforeSetNativeEditorValue",null),r.__decorate([(0,a.watch)(":safeHTML")],t.prototype,"onSafeHTML",null),t}(i.Plugin);t.cleanHtml=d,l.pluginSystem.add("cleanHtml",d)},71609:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},r.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},o.Icon.set("eraser",n(66911))},48465:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHash=void 0;var r=n(89681),o=n(86129);t.getHash=function(e){var t=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,i=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,o.isString)(e)?(e.split(n).map((function(e){e=(0,r.trim)(e);var o=t.exec(e),s={};if(o){var l=o[2].split(n);o[1]&&(l.forEach((function(e){e=(0,r.trim)(e);var t=i.exec(e);t?s[t[1]]=t[2]:s[e]=!0})),a[o[1].toUpperCase()]=s)}else a[e.toUpperCase()]=!0})),a):!!e&&(Object.keys(e).forEach((function(t){a[t.toUpperCase()]=e[t]})),a)}},16619:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(48465),t),r.__exportStar(n(79976),t),r.__exportStar(n(47725),t),r.__exportStar(n(40868),t)},79976:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isInlineBlock=t.removeFormatForCollapsedSelection=void 0;var r=n(65401),o=n(47386);function i(e){return r.Dom.isInlineBlock(e)&&!r.Dom.isTag(e,o.INSEPARABLE_TAGS)}t.removeFormatForCollapsedSelection=function(e,t){var n=e.s,o=t;if(!o){o=e.createInside.fake();var a=n.range;r.Dom.safeInsertNode(a,o),a.collapse()}var s=r.Dom.furthest(o,i,e.editor);if(s)if(n.cursorOnTheLeft(s))r.Dom.before(s,o);else if(n.cursorOnTheRight(s))r.Dom.after(s,o);else{var l=n.splitSelection(s);l&&r.Dom.after(l,o)}t||(n.setCursorBefore(o),r.Dom.safeRemove(o))},t.isInlineBlock=i},47725:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeFormatForSelection=void 0;var r=n(65401),o=n(38301),i=n(79976);t.removeFormatForSelection=function(e){var t=e.s,n=e.editor,a=e.createInside,s=t.range,l=s.cloneRange(),c=s.cloneRange(),u=a.fake(),d=a.fake();l.collapse(!0),c.collapse(!1),r.Dom.safeInsertNode(l,u),r.Dom.safeInsertNode(c,d),s.setStartBefore(u),s.collapse(!0),t.selectRange(s),(0,i.removeFormatForCollapsedSelection)(e,u),s.setEndAfter(d),s.collapse(!1),t.selectRange(s),(0,i.removeFormatForCollapsedSelection)(e,d);var f=[];r.Dom.between(u,d,(function(e){(0,i.isInlineBlock)(e)&&!r.Dom.isTag(e,["a"])&&f.push(e),r.Dom.isElement(e)&&(0,o.attr)(e,"style")&&(0,o.attr)(e,"style",null)})),f.forEach((function(e){return r.Dom.unwrap(e)}));var p=function(e,t){if(!r.Dom.findNotEmptySibling(e,t)){var i=e.parentNode;if(i&&i!==n&&(0,o.attr)(i,"style"))return(0,o.attr)(i,"style",null),p(i,t),!0}};p(u,!0)&&p(d,!1),s.setStartAfter(u),s.setEndBefore(d),t.selectRange(s),r.Dom.safeRemove(u),r.Dom.safeRemove(d)}},1939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.allowAttributes=void 0;var r=n(65401);t.allowAttributes=function(e,t,n,o){if(o&&r.Dom.isElement(t)&&!0!==o[t.nodeName]){var i=t.attributes;if(i&&i.length){for(var a=[],s=0;i.length>s;s+=1){var l=o[t.nodeName][i[s].name];(!l||!0!==l&&l!==i[s].value)&&a.push(i[s].name)}a.length&&(n=!0),a.forEach((function(e){t.removeAttribute(e)}))}}return n}},62018:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fillEmptyParagraph=void 0;var r=n(65401);t.fillEmptyParagraph=function(e,t,n){if(e.o.cleanHTML.fillEmptyParagraph&&r.Dom.isBlock(t)&&r.Dom.isEmpty(t,/^(img|svg|canvas|input|textarea|form|br)$/)){var o=e.createInside.element("br");return t.appendChild(o),!0}return n}},39476:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(63870),t),r.__exportStar(n(1939),t),r.__exportStar(n(62018),t),r.__exportStar(n(18873),t),r.__exportStar(n(45791),t),r.__exportStar(n(54355),t),r.__exportStar(n(9270),t)},45791:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeEmptyTextNode=void 0;var r=n(65401);t.removeEmptyTextNode=function(e,t,n,o,i,a){return r.Dom.isText(t)&&!t.nodeValue?(t===a&&e.s.isCollapsed()&&e.s.setCursorAfter(t),r.Dom.safeRemove(t),!0):n}},54355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeInvTextNodes=void 0;var r=n(47386),o=n(65401);t.removeInvTextNodes=function(e,t,n,i,a,s){return o.Dom.isText(t)&&null!=t.nodeValue&&(0,r.INVISIBLE_SPACE_REG_EXP)().test(t.nodeValue)?(t.nodeValue=t.nodeValue.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),""),t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),t.nodeValue||o.Dom.safeRemove(t),!0):n}},63870:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.replaceOldTags=void 0;var r=n(65401);t.replaceOldTags=function(e,t,n){var o=function(e,t,n){if(!n||!r.Dom.isHTMLElement(t))return t;var o=n[t.nodeName.toLowerCase()]||n[t.nodeName];return o?r.Dom.replace(t,o,e.createInside,!0,!1):t}(e,t,e.o.cleanHTML.replaceOldTags);return t!==o?(t=o,!0):n}},9270:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitizeAttributes=void 0;var r=n(65401),o=n(83370);t.sanitizeAttributes=function(e,t,n){return!(!r.Dom.isElement(t)||!(0,o.sanitizeHTMLElement)(t,{safeJavaScriptLink:e.options.cleanHTML.safeJavaScriptLink,removeOnError:e.options.cleanHTML.removeOnError}))||n}},18873:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tryRemoveNode=void 0;var r=n(65401),o=n(47386),i=n(89681);t.tryRemoveNode=function(e,t,n,a,s,l){return function(e,t,n,a,s){return!(r.Dom.isText(t)||!(a&&!a[t.nodeName]||s&&s[t.nodeName]))||e.o.cleanHTML.removeEmptyElements&&r.Dom.isElement(t)&&null!=t.nodeName.match(o.IS_INLINE)&&!r.Dom.isTemporary(t)&&0===(0,i.trim)(t.innerHTML).length&&(null==n||!r.Dom.isOrContains(t,n))}(e,t,l,a,s)?(r.Dom.safeRemove(t),!0):n}},40868:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.visitNodeWalker=void 0;var r=n(20255),o=n(39476),i=Object.keys(o);t.visitNodeWalker=function(e,t,n,a,s){var l,c,u=!1,d=e.o.cleanHTML.disableCleanFilter;try{for(var f=r.__values(i),p=f.next();!p.done;p=f.next()){var h=p.value;if(!(d&&d.has(h)||(u=(0,o[h])(e,t,u,n,a,s),t.isConnected)))return!0}}catch(e){l={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(l)throw l.error}}return u}},98034:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clipboard=void 0;var r=n(47386),o=n(83370),i=n(16672);n(99563);var a=function(){function e(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}return e.prototype.init=function(e){var t;null===(t=this.buttons)||void 0===t||t.forEach((function(t){return e.registerButton(t)})),e.e.off("copy.".concat(r.CLIPBOARD_ID," cut.").concat(r.CLIPBOARD_ID)).on("copy.".concat(r.CLIPBOARD_ID," cut.").concat(r.CLIPBOARD_ID),(function(t){var n,i=e.s.html,a=(0,o.getDataTransfer)(t)||(0,o.getDataTransfer)(e.ew)||(0,o.getDataTransfer)(t.originalEvent);a&&(a.setData(r.TEXT_PLAIN,(0,o.stripTags)(i)),a.setData(r.TEXT_HTML,i)),e.buffer.set(r.CLIPBOARD_ID,i),e.e.fire("pasteStack",{html:i,action:e.o.defaultActionOnPaste||r.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),null===(n=null==e?void 0:e.events)||void 0===n||n.fire("afterCopy",i)}))},e.prototype.destruct=function(e){var t,n;null===(t=null==e?void 0:e.buffer)||void 0===t||t.set(r.CLIPBOARD_ID,""),null===(n=null==e?void 0:e.events)||void 0===n||n.off("."+r.CLIPBOARD_ID)},e}();t.clipboard=a,i.pluginSystem.add("clipboard",a)},99563:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.controls.cut={command:"cut",isDisabled:function(e){return e.s.isCollapsed()},tooltip:"Cut selection"},r.Config.prototype.controls.copy={command:"copy",isDisabled:function(e){return e.s.isCollapsed()},tooltip:"Copy selection"},r.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},o.Icon.set("copy",n(50018)).set("cut",n(99738)).set("paste",n(9185)).set("select-all",n(8619))},38422:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.color=void 0;var r=n(83370),o=n(16672);function i(e){e.registerButton({name:"brush",group:"color"});var t=function(t,n,o){var i=(0,r.normalizeColor)(o);switch(t){case"background":e.s.applyStyle({backgroundColor:i||""});break;case"forecolor":e.s.applyStyle({color:i||""})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)}n(67953),t.color=i,o.pluginSystem.add("color",i)},67953:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(83370),i=n(81250),a=n(80353),s=n(65401);a.Icon.set("brush",n(73894)),r.Config.prototype.controls.brush={update:function(e,t){var n=(0,o.dataBind)(e,"color"),r=function(n,r){r&&r!==(0,o.css)(t.editor,n).toString()&&(e.state.icon.fill=r)};if(n){var i=(0,o.dataBind)(e,"color");r("color"===i?i:"background-color",n)}else{var a=t.s.current();if(a&&!e.state.disabled){var l=s.Dom.closest(a,s.Dom.isElement,t.editor)||t.editor;r("color",(0,o.css)(l,"color").toString()),r("background-color",(0,o.css)(l,"background-color").toString())}e.state.icon.fill="",e.state.activated=!1}},popup:function(e,t,n,r,a){var l="",c="",u=[],d=null;return t&&t!==e.editor&&s.Dom.isNode(t)&&(s.Dom.isElement(t)&&e.s.isCollapsed()&&!s.Dom.isTag(t,["br","hr"])&&(d=t),s.Dom.up(t,(function(e){if(s.Dom.isHTMLElement(e)){var t=(0,o.css)(e,"color",!0),n=(0,o.css)(e,"background-color",!0);if(t)return l=t.toString(),!0;if(n)return c=n.toString(),!0}}),e.editor)),u=[{name:"Background",content:(0,i.ColorPickerWidget)(e,(function(t){d?d.style.backgroundColor=t:e.execCommand("background",!1,t),(0,o.dataBind)(a,"color",t),(0,o.dataBind)(a,"color-mode","background"),r()}),c)},{name:"Text",content:(0,i.ColorPickerWidget)(e,(function(t){d?d.style.color=t:e.execCommand("forecolor",!1,t),(0,o.dataBind)(a,"color",t),(0,o.dataBind)(a,"color-mode","color"),r()}),l)}],"background"!==e.o.colorPickerDefaultTab&&(u=u.reverse()),(0,i.TabsWidget)(e,u,d)},exec:function(e,t,n){var r=n.button,i=(0,o.dataBind)(r,"color-mode"),a=(0,o.dataBind)(r,"color");if(!i)return!1;if(t&&t!==e.editor&&s.Dom.isNode(t)&&s.Dom.isElement(t))switch(i){case"color":t.style.color=a;break;case"background":t.style.backgroundColor=a}else e.execCommand("background"===i?i:"forecolor",!1,a)},tooltip:"Fill color or set the text color"}},64651:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.copyFormat=void 0;var r=n(80031),o=n(65401),i=n(76239),a=n(16672),s=n(80353),l="copy-format",c=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],u=function(e,t,n,r){var o=(0,i.css)(n,t);return o===r[t]&&(o=n.parentNode&&n!==e.editor&&n.parentNode!==e.editor?u(e,t,n.parentNode,r):void 0),o};function d(e){e.registerButton({name:"copyformat",group:"clipboard"}),(0,a.extendLang)(n(28255))}r.Config.prototype.controls.copyformat={exec:function(e,t,n){var r=n.button;if(t){if(e.buffer.exists(l))e.buffer.delete(l),e.e.off(e.editor,"mouseup."+l);else{var a={},s=o.Dom.up(t,(function(e){return e&&!o.Dom.isText(e)}),e.editor)||e.editor,d=e.createInside.span();e.editor.appendChild(d),c.forEach((function(e){a[e]=(0,i.css)(d,e)})),d!==e.editor&&o.Dom.safeRemove(d);var f=function(e,t,n){var r={};return t&&c.forEach((function(o){r[o]=u(e,o,t,n),o.match(/border(Style|Color)/)&&!r.borderWidth&&(r[o]=void 0)})),r}(e,s,a);e.e.on(e.editor,"mouseup."+l,(function(){e.buffer.delete(l);var t=e.s.current();t&&(o.Dom.isTag(t,"img")?(0,i.css)(t,f):e.s.applyStyle(f)),e.e.off(e.editor,"mouseup."+l)})),e.buffer.set(l,!0)}r.update()}},isActive:function(e){return e.buffer.exists(l)},tooltip:"Paint format"},t.copyFormat=d,a.pluginSystem.add("copyformat",d),s.Icon.set("copyformat",n(83301))},28255:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=n(80078);t.ar=r;var o=n(16986);t.cs_cz=o;var i=n(59347);t.de=i;var a=n(63640);t.es=a;var s=n(53434);t.fa=s;var l=n(85638);t.fr=l;var c=n(31743);t.he=c;var u=n(66219);t.hu=u;var d=n(50331);t.id=d;var f=n(25582);t.it=f;var p=n(82066);t.ja=p;var h=n(71925);t.ko=h;var m=n(65274);t.nl=m;var g=n(58548);t.pl=g;var v=n(82958);t.pt_br=v;var b=n(52315);t.ru=b;var y=n(87727);t.tr=y;var A=n(9396);t.zh_cn=A;var x=n(28765);t.zh_tw=x},52163:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.draggableTags=["img","jodit-media","jodit"]},39494:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dragAndDropElement=void 0;var r,o=n(20255),i=n(83370),a=n(76454),s=n(36516),l=n(16672),c=n(18731);n(52163),function(e){e[e.IDLE=0]="IDLE",e[e.WAIT_DRAGGING=1]="WAIT_DRAGGING",e[e.DRAGGING=2]="DRAGGING"}(r||(r={}));var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.dragList=[],t.draggable=null,t.isCopyMode=!1,t.diffStep=10,t.startX=0,t.startY=0,t.state=r.IDLE,t}return o.__extends(t,e),t.prototype.afterInit=function(){this.dragList=this.j.o.draggableTags?(0,i.splitArray)(this.j.o.draggableTags).filter(Boolean).map((function(e){return e.toLowerCase()})):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)},t.prototype.onDragStart=function(e){var t=this;if("dragstart"===e.type&&this.draggable)return!1;if(r.IDLE>=this.state){var n=e.target;if(this.dragList.length&&n){var o=function(e){return Boolean(e&&t.dragList.includes(e.nodeName.toLowerCase()))},a=s.Dom.furthest(n,o,this.j.editor)||(o(n)?n:null);a&&(s.Dom.isTag(a.parentElement,"a")&&a.parentElement.firstChild===a&&a.parentElement.lastChild===a&&(a=a.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,i.ctrlKey)(e),this.draggable=a.cloneNode(!0),(0,i.dataBind)(this.draggable,"target",a),this.state=r.WAIT_DRAGGING,this.addDragListeners())}}},t.prototype.onDrag=function(e){var n,o;if(this.draggable&&this.state!==r.IDLE){var a=e.clientY;if(this.state!==r.WAIT_DRAGGING||Math.sqrt(Math.pow(e.clientX-this.startX,2)+Math.pow(a-this.startY,2))>=this.diffStep){if(this.state===r.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=r.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){var s=(0,i.dataBind)(this.draggable,"target");(0,i.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:null!==(n=null==s?void 0:s.offsetWidth)&&void 0!==n?n:100,height:null!==(o=null==s?void 0:s.offsetHeight)&&void 0!==o?o:100}),(0,l.getContainer)(this.j,t).appendChild(this.draggable)}(0,i.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}},t.prototype.onDragEnd=function(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=r.IDLE,this.draggable&&(s.Dom.safeRemove(this.draggable),this.draggable=null))},t.prototype.onDrop=function(){if(this.draggable&&this.state>=r.DRAGGING){var e=(0,i.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));var t=e.parentElement;this.j.s.insertNode(e,!0,!1),t&&s.Dom.isEmpty(t)&&!s.Dom.isTag(t,["td","th"])&&s.Dom.safeRemove(t),s.Dom.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}else this.onDragEnd()},t.prototype.addDragListeners=function(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)},t.prototype.removeDragListeners=function(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)},t.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()},o.__decorate([c.autobind],t.prototype,"onDragStart",null),o.__decorate([(0,c.throttle)((function(e){return e.defaultTimeout/10}))],t.prototype,"onDrag",null),o.__decorate([c.autobind],t.prototype,"onDragEnd",null),o.__decorate([c.autobind],t.prototype,"onDrop",null),t}(a.Plugin);t.dragAndDropElement=u,l.pluginSystem.add("dragAndDropElement",u)},65286:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.dragAndDrop=void 0;var r=n(20255),o=n(47386),i=n(65401),a=n(83370),s=n(76454),l=n(18731),c=n(48495),u=n(16672),d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isFragmentFromEditor=!1,t.isCopyMode=!1,t.startDragPoint={x:0,y:0},t.draggable=null,t.bufferRange=null,t.getText=function(e){var t=(0,a.getDataTransfer)(e);return t?t.getData(o.TEXT_HTML)||t.getData(o.TEXT_PLAIN):null},t}return r.__extends(t,e),t.prototype.afterInit=function(){this.j.e.on([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},t.prototype.onDragStart=function(e){var t=e.target;if(this.onDragEnd(),this.isFragmentFromEditor=i.Dom.isOrContains(this.j.editor,t,!0),this.isCopyMode=!this.isFragmentFromEditor||(0,a.ctrlKey)(e),this.isFragmentFromEditor){var n=this.j.s.sel,r=n&&n.rangeCount?n.getRangeAt(0):null;r&&(this.bufferRange=r.cloneRange())}else this.bufferRange=null;this.startDragPoint.x=e.clientX,this.startDragPoint.y=e.clientY,(0,c.isFileBrowserFilesItem)(t)&&(t=t.querySelector("img")),i.Dom.isTag(t,"img")&&(this.draggable=t.cloneNode(!0),(0,a.dataBind)(this.draggable,"target",t)),this.addDragListeners()},t.prototype.addDragListeners=function(){this.j.e.on("dragover",this.onDrag).on("drop.DragAndDrop",this.onDrop).on(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},t.prototype.removeDragListeners=function(){this.j.e.off("dragover",this.onDrag).off("drop.DragAndDrop",this.onDrop).off(window,"dragend.DragAndDrop drop.DragAndDrop mouseup.DragAndDrop",this.onDragEnd)},t.prototype.onDrag=function(e){this.draggable&&(this.j.e.fire("hidePopup"),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),e.preventDefault(),e.stopPropagation())},t.prototype.onDragEnd=function(){this.draggable&&(i.Dom.safeRemove(this.draggable),this.draggable=null),this.isCopyMode=!1,this.removeDragListeners()},t.prototype.onDrop=function(e){if(!e.dataTransfer||!e.dataTransfer.files||!e.dataTransfer.files.length){if(!this.isFragmentFromEditor&&!this.draggable)return this.j.e.fire("paste",e),e.preventDefault(),e.stopPropagation(),!1;var t=this.j.s.sel,n=this.bufferRange||(t&&t.rangeCount?t.getRangeAt(0):null),o=null;if(!this.draggable&&n)o=this.isCopyMode?n.cloneContents():n.extractContents();else if(this.draggable)if(this.isCopyMode){var s=r.__read("1"===(0,a.attr)(this.draggable,"-is-file")?["a","href"]:["img","src"],2),l=s[0],c=s[1];(o=this.j.createInside.element(l)).setAttribute(c,(0,a.attr)(this.draggable,"data-src")||(0,a.attr)(this.draggable,"src")||""),"a"===l&&(o.textContent=(0,a.attr)(o,c)||"")}else o=(0,a.dataBind)(this.draggable,"target");else this.getText(e)&&(o=this.j.createInside.fromHTML(this.getText(e)));t&&t.removeAllRanges(),this.j.s.insertCursorAtPoint(e.clientX,e.clientY),o&&(this.j.s.insertNode(o,!1,!1),n&&o.firstChild&&o.lastChild&&(n.setStartBefore(o.firstChild),n.setEndAfter(o.lastChild),this.j.s.selectRange(n),this.j.e.fire("synchro")),i.Dom.isTag(o,"img")&&this.j.events&&this.j.e.fire("afterInsertImage",o)),e.preventDefault(),e.stopPropagation()}this.isFragmentFromEditor=!1,this.removeDragListeners()},t.prototype.beforeDestruct=function(){this.onDragEnd(),this.j.e.off(window,".DragAndDrop").off(".DragAndDrop").off([window,this.j.ed,this.j.editor],"dragstart.DragAndDrop",this.onDragStart)},r.__decorate([l.autobind],t.prototype,"onDragStart",null),r.__decorate([(0,l.throttle)((function(e){return e.defaultTimeout/10}))],t.prototype,"onDrag",null),r.__decorate([l.autobind],t.prototype,"onDragEnd",null),r.__decorate([l.autobind],t.prototype,"onDrop",null),t}(s.Plugin);t.dragAndDrop=d,u.pluginSystem.add("dragAndDrop",d)},40979:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(9878),t)},9878:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.removeExtraBr=void 0;var r=n(65401);t.removeExtraBr=function(e,t){if(e.o.dtd.removeExtraBr&&!r.Dom.isTag(t,"br")){var n=r.Dom.furthest(t,r.Dom.isBlock,e.editor);if(n&&!r.Dom.isTag(n,["table","pre","blockquote","code"])){var o=r.Dom.isTag(t,"br")?t:r.Dom.findNotEmptySibling(t,!1);if(!r.Dom.isTag(o,"br"))return;e.s.setCursorBefore(o),r.Dom.safeRemove(o)}}}},83309:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkBlockNesting=void 0;var r=n(65401);t.checkBlockNesting=function(e,t){if(r.Dom.isFragment(t)&&(t=t.firstChild),e.o.dtd.checkBlockNesting&&r.Dom.isBlock(t)){var n=r.Dom.furthest(e.s.current(),r.Dom.isBlock,e.editor);n&&!e.o.dtd.blockLimits[n.tagName.toLowerCase()]&&(e.s.setCursorAfter(n),r.Dom.isEmpty(n)&&r.Dom.safeRemove(n))}}},12061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(83309),t)},25735:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},52e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(76454),i=n(16672),a=n(30192);n(25735);var s=n(12061),l=n(40979),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){},t.prototype.__onBeforeInsertNode=function(e){var t=this;Object.keys(s).forEach((function(n){s[n](t.j,e)}))},t.prototype.__onAfterInsertNode=function(e){var t=this;Object.keys(l).forEach((function(n){l[n](t.j,e)}))},r.__decorate([(0,a.watch)(":beforeInsertNode")],t.prototype,"__onBeforeInsertNode",null),r.__decorate([(0,a.watch)(":afterInsertNode")],t.prototype,"__onAfterInsertNode",null),t}(o.Plugin);i.pluginSystem.add("dtd",c)},78665:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.enter=void 0;var r=n(20255),o=n(65401),i=n(90431),a=n(47386),s=n(18731),l=n(21682),c=n(16672),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,n=e.o.enter.toLowerCase(),r=n===a.BR.toLowerCase();e.o.enterBlock||(e.o.enterBlock=r?a.PARAGRAPH:n),e.registerCommand("enter",(function(e,n,r){return void 0===r&&(r={}),t.onEnter(r)}))},t.prototype.onEnterKeyDown=function(e){if(e.key===a.KEY_ENTER){var t=this.j,n=t.e.fire("beforeEnter",e);return void 0!==n?n:(t.s.isCollapsed()||t.execCommand("Delete"),t.s.focus(),this.onEnter(e),t.synchronizeValues(),!1)}},t.prototype.onEnter=function(e){var t=this.j,n=this.getCurrentOrFillEmpty(t);(0,l.moveCursorOutFromSpecialTags)(t,n,["a"]);var r=(0,l.getBlockWrapper)(t,n),i=o.Dom.isTag(r,"li");return!!(i&&!(null==e?void 0:e.shiftKey)||(0,l.checkBR)(t,n,null==e?void 0:e.shiftKey))&&(r||(0,l.hasPreviousBlock)(t,n)||(r=(0,l.wrapText)(t,n)),r&&r!==n?!!(0,l.checkUnsplittableBox)(t,r)&&(i&&o.Dom.isEmpty(r)?((0,l.processEmptyLILeaf)(t,r),!1):void(0,l.splitFragment)(t,r)):((0,l.insertParagraph)(t,null,i?"li":t.o.enter),!1))},t.prototype.getCurrentOrFillEmpty=function(e){var t=e.s,n=t.current(!1);return n&&n!==e.editor||(n=e.createInside.text(a.INVISIBLE_SPACE),t.insertNode(n,!1,!1),t.select(n)),n},t.prototype.beforeDestruct=function(e){e.e.off("keydown.enter")},r.__decorate([(0,s.watch)(":keydown.enter")],t.prototype,"onEnterKeyDown",null),t}(i.Plugin);t.enter=u,c.pluginSystem.add("enter",u)},72106:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkBR=void 0;var r=n(65401),o=n(14475),i=n(47386);t.checkBR=function(e,t,n){var a=r.Dom.closest(t,["pre","blockquote"],e.editor);if(e.o.enter.toLowerCase()===i.BR.toLowerCase()||n&&!a||!n&&a){var s=e.createInside.element("br");e.s.insertNode(s,!1,!1),r.Dom.findNotEmptySibling(s,!1)||r.Dom.after(s,s.cloneNode());var l=e.s.range;return l.setStartAfter(s),l.collapse(!0),e.s.selectRange(l),(0,o.scrollIntoViewIfNeeded)(s,e.editor,e.ed),!1}return!0}},68859:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkUnsplittableBox=void 0;var r=n(65401);t.checkUnsplittableBox=function(e,t){var n=e.s;if(!r.Dom.canSplitBlock(t)){var o=e.createInside.element("br");return n.insertNode(o,!1,!1),n.setCursorAfter(o),!1}return!0}},60639:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBlockWrapper=void 0;var r=n(47386),o=n(65401);t.getBlockWrapper=function e(t,n,i){void 0===i&&(i=r.IS_BLOCK);var a=n,s=t.editor;do{if(!a||a===s)break;if(i.test(a.nodeName))return o.Dom.isTag(a,"li")?a:e(t,a.parentNode,/^li$/i)||a;a=a.parentNode}while(a&&a!==s);return null}},19364:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasPreviousBlock=void 0;var r=n(65401);t.hasPreviousBlock=function(e,t){return Boolean(r.Dom.prev(t,(function(e){return r.Dom.isBlock(e)||r.Dom.isImage(e)}),e.editor))}},21682:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(72106),t),r.__exportStar(n(68859),t),r.__exportStar(n(33419),t),r.__exportStar(n(60639),t),r.__exportStar(n(19364),t),r.__exportStar(n(20734),t),r.__exportStar(n(78714),t),r.__exportStar(n(57519),t),r.__exportStar(n(15709),t)},20734:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insertParagraph=void 0;var r=n(65401),o=n(14475);t.insertParagraph=function(e,t,n,i){var a,s,l=e.s,c=e.createInside,u=c.element(n),d=c.element("br");u.appendChild(d),i&&i.cssText&&u.setAttribute("style",i.cssText),t&&t.isConnected?(r.Dom.before(t,u),r.Dom.safeRemove(t)):l.insertNode(u,!1,!1);var f=l.createRange();return f.setStartBefore("br"!==n.toLowerCase()?d:u),f.collapse(!0),null===(a=l.sel)||void 0===a||a.removeAllRanges(),null===(s=l.sel)||void 0===s||s.addRange(f),(0,o.scrollIntoViewIfNeeded)(u,e.editor,e.ed),u}},15709:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.moveCursorOutFromSpecialTags=void 0;var r=n(65401);t.moveCursorOutFromSpecialTags=function(e,t,n){var o=e.s,i=r.Dom.closest(t,n,e.editor);i&&(o.cursorOnTheRight(i)?o.setCursorAfter(i):o.cursorOnTheLeft(i)&&o.setCursorBefore(i))}},33419:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.processEmptyLILeaf=void 0;var r=n(65401),o=n(73549),i=n(20734);t.processEmptyLILeaf=function(e,t){var n=r.Dom.closest(t,["ol","ul"],e.editor);if(n){var a=n.parentElement,s=r.Dom.isTag(a,"li"),l=s?a:n,c=e.s.createRange();c.setStartAfter(t),c.setEndAfter(n);var u=c.extractContents(),d=e.createInside.fake();r.Dom.after(l,d),r.Dom.safeRemove(t),(0,o.$$)("li",n).length||r.Dom.safeRemove(n);var f=(0,i.insertParagraph)(e,d,s?"li":e.o.enter);u.querySelector("li")&&(s?f.appendChild(u):r.Dom.after(f,u))}}},78714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.splitFragment=void 0;var r=n(14475),o=n(65401),i=n(20734);t.splitFragment=function(e,t){var n,a=e.s,s=e.o.enter.toLowerCase(),l=o.Dom.isTag(t,"li"),c=t.tagName.toLowerCase()===s||l,u=a.cursorOnTheRight(t),d=a.cursorOnTheLeft(t);if(!c&&(u||d))return n=u?a.setCursorAfter(t):a.setCursorBefore(t),(0,i.insertParagraph)(e,n,s),void(d&&!u&&a.setCursorIn(t,!0));var f=a.splitSelection(t);(0,r.scrollIntoViewIfNeeded)(f,e.editor,e.ed)}},57519:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapText=void 0;var r=n(65401);t.wrapText=function(e,t){var n=t;r.Dom.up(n,(function(t){t&&t.hasChildNodes()&&t!==e.editor&&(n=t)}),e.editor);var o=r.Dom.wrapInline(n,e.o.enter,e);if(r.Dom.isEmpty(o)){var i=e.createInside.element("br");o.appendChild(i),e.s.setCursorBefore(i)}return o}},41218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.file=void 0;var r=n(80031),o=n(65401),i=n(81250),a=n(16672);function s(e){e.registerButton({name:"file",group:"media"})}r.Config.prototype.controls.file={popup:function(e,t,n,r){var a=function(t,n){void 0===n&&(n=""),e.s.insertNode(e.createInside.fromHTML('<a href="'.concat(t,'" title="').concat(n,'">').concat(n||t,"</a>")))},s=null;return t&&(o.Dom.isTag(t,"a")||o.Dom.closest(t,"a",e.editor))&&(s=o.Dom.isTag(t,"a")?t:o.Dom.closest(t,"a",e.editor)),(0,i.FileSelectorWidget)(e,{filebrowser:function(e){e.files&&e.files.forEach((function(t){return a(e.baseurl+t)})),r()},upload:!0,url:function(e,t){s?(s.setAttribute("href",e),s.setAttribute("title",t)):a(e,t),r()}},s,r,!1)},tags:["a"],tooltip:"Insert file"},t.file=s,a.pluginSystem.add("file",s)},12150:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.focus=void 0;var r=n(80031),o=n(36516),i=n(16672);function a(e){e.o.saveSelectionOnBlur&&e.e.on("blur",(function(){e.isEditorMode()&&e.s.save(!0)})).on("focus",(function(){e.s.restore()}));var t=function(){if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){var t=o.Dom.last(e.editor,(function(e){return o.Dom.isText(e)}));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",(function(){e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())})),e.e.on("afterInit afterAddPlace",(function(){e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",(function(t){e.isEditorMode()&&t.target&&o.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))}))}))}r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,t.focus=a,i.pluginSystem.add("focus",a)},18681:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(80031),i=n(65401),a=n(38301),s=n(80353);o.Config.prototype.defaultFontSizePoints="px",s.Icon.set("font",n(84142)).set("fontsize",n(57292)),o.Config.prototype.controls.fontsize={command:"fontsize",data:{cssRule:"font-size"},list:["8","9","10","11","12","14","16","18","24","30","36","48","60","72","96"],exec:function(e,t,n){var r=n.control;return(0,a.memorizeExec)(e,t,{control:r},(function(t){var n;return"fontsize"===(null===(n=r.command)||void 0===n?void 0:n.toLowerCase())?"".concat(t).concat(e.o.defaultFontSizePoints):t}))},childTemplate:function(e,t,n){return"".concat(n).concat(e.o.defaultFontSizePoints)},tooltip:"Font size",isChildActive:function(e,t){var n,r,o=e.s.current(),s=(null===(n=t.data)||void 0===n?void 0:n.cssRule)||"font-size",l=(null===(r=t.data)||void 0===r?void 0:r.normalize)||function(t){return/pt$/i.test(t)&&"pt"===e.o.defaultFontSizePoints?t.replace(/pt$/i,""):t};if(o){var c=i.Dom.closest(o,i.Dom.isElement,e.editor)||e.editor,u=(0,a.css)(c,s);return Boolean(u&&t.args&&l(t.args[0].toString())===l(u.toString()))}return!1}},o.Config.prototype.controls.font=r.__assign(r.__assign({},o.Config.prototype.controls.fontsize),{command:"fontname",list:{"":"Default","Helvetica,sans-serif":"Helvetica","Arial,Helvetica,sans-serif":"Arial","Georgia,serif":"Georgia","Impact,Charcoal,sans-serif":"Impact","Tahoma,Geneva,sans-serif":"Tahoma","Times New Roman,Times,serif":"Times New Roman","Verdana,Geneva,sans-serif":"Verdana"},childTemplate:function(e,t,n){var r=!1;try{r=-1===t.indexOf("dings")&&document.fonts.check("16px ".concat(t),n)}catch(e){}return'<span style="'.concat(r?"font-family: ".concat(t,"!important;"):"",'">').concat(n,"</span>")},data:{cssRule:"font-family",normalize:function(e){return e.toLowerCase().replace(/['"]+/g,"").replace(/[^a-z0-9]+/g,",")}},tooltip:"Font family"})},25636:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.font=void 0;var r=n(83370),o=n(16672);function i(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});var t=function(t,n,o){switch(t){case"fontsize":e.s.applyStyle({fontSize:(0,r.normalizeSize)(o)});break;case"fontname":e.s.applyStyle({fontFamily:o})}return e.e.fire("synchro"),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)}n(18681),t.font=i,o.pluginSystem.add("font",i)},40057:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatBlock=void 0;var r=n(80031),o=n(18870),i=n(83370),a=n(16672);function s(e){e.registerButton({name:"paragraph",group:"font"}),e.registerCommand("formatblock",(function(t,n,r){return e.s.applyStyle(void 0,{element:r}),e.synchronizeValues(),!1}))}n(80353).Icon.set("paragraph",n(18019)),r.Config.prototype.controls.paragraph={command:"formatBlock",update:function(e,t){var n=e.control,r=t.s.current();if(r&&t.o.textIcons){var i=(o.Dom.closest(r,o.Dom.isBlock,t.editor)||t.editor).nodeName.toLowerCase(),a=n.list;e&&n.data&&n.data.currentValue!==i&&a&&a[i]&&(t.o.textIcons?e.state.text=i:e.state.icon.name=i,n.data.currentValue=i)}return!1},exec:i.memorizeExec,data:{currentValue:"left"},list:{p:"Normal",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:function(e,t){var n=e.s.current();if(n){var r=o.Dom.closest(n,o.Dom.isBlock,e.editor);return Boolean(r&&r!==e.editor&&void 0!==t.args&&r.nodeName.toLowerCase()===t.args[0])}return!1},isActive:function(e,t){var n=e.s.current();if(n){var r=o.Dom.closest(n,o.Dom.isBlock,e.editor);return Boolean(r&&r!==e.editor&&void 0!==t.list&&!o.Dom.isTag(r,"p")&&void 0!==t.list[r.nodeName.toLowerCase()])}return!1},childTemplate:function(e,t,n){return"<".concat(t,' style="margin:0;padding:0"><span>').concat(e.i18n(n),"</span></").concat(t,">")},tooltip:"Insert format block"},t.formatBlock=s,a.pluginSystem.add("formatBlock",s)},97739:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(14320);var r=n(80031),o=n(47386),i=n(80353);r.Config.prototype.fullsize=!1,r.Config.prototype.globalFullSize=!0,i.Icon.set("fullsize",n(45146)).set("shrink",n(53576)),r.Config.prototype.controls.fullsize={exec:function(e){e.toggleFullSize()},update:function(e,t){var n=t.isFullSize?"shrink":"fullsize";e.state.activated=t.isFullSize,t.o.textIcons?e.state.text=n:e.state.icon.name=n},tooltip:"Open in fullsize",mode:o.MODE_SOURCE+o.MODE_WYSIWYG}},26209:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fullsize=void 0,n(14320);var r=n(76239),o=n(12866),i=n(16672);n(97739);var a=new Set;function s(e){e.registerButton({name:"fullsize"});var t=!1,n=0,i=0,s=!1,l=function(){var o=e.container;e.events&&(t?(n=(0,r.css)(o,"height",!0),i=(0,r.css)(o,"width",!0),(0,r.css)(o,{height:e.ow.innerHeight,width:e.ow.innerWidth}),s=!0):s&&(0,r.css)(o,{height:n||"auto",width:i||"auto"}))},c=function(n){var i=e.container,s=e.events;if(i){if(void 0===n&&(n=!i.classList.contains("jodit_fullsize")),e.setMod("fullsize",n),e.o.fullsize=n,t=n,i.classList.toggle("jodit_fullsize",n),e.toolbar&&((0,o.isJoditObject)(e)&&e.toolbarContainer.appendChild(e.toolbar.container),(0,r.css)(e.toolbar.container,"width","auto")),n?a.add(i):a.delete(i),e.o.globalFullSize&&(1===a.size&&n||0===a.size&&!n)){for(var c=i.parentNode;c&&c.nodeType!==Node.DOCUMENT_NODE&&c.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)c.classList.toggle("jodit_fullsize-box_true",n),c=c.parentNode;l()}s.fire("afterResize")}};e.o.globalFullSize&&e.e.on(e.ow,"resize",l),e.e.on("afterInit afterOpen",(function(){var t;e.toggleFullSize(null===(t=null==e?void 0:e.options)||void 0===t?void 0:t.fullsize)})).on("toggleFullSize",c).on("beforeDestruct",(function(){t&&c(!1)})).on("beforeDestruct",(function(){e.events&&e.e.off(e.ow,"resize",l)}))}t.fullsize=s,i.pluginSystem.add("fullsize",s)},27444:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},96226:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hotkeys=void 0;var r=n(20255),o=n(76454),i=n(83370),a=n(47386),s=n(16672);n(27444);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onKeyPress=function(e){var n=t.specialKeys[e.which],r=(e.key||String.fromCharCode(e.which)).toLowerCase(),o=[n||r];return["alt","ctrl","shift","meta"].forEach((function(t){e[t+"Key"]&&n!==t&&o.push(t)})),(0,i.normalizeKeyAliases)(o.join("+"))},t.specialKeys={8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;(0,i.keys)(e.o.commandToHotkeys,!1).forEach((function(t){var n=e.o.commandToHotkeys[t];n&&((0,i.isArray)(n)||(0,i.isString)(n))&&e.registerHotkeyToCommand(n,t)}));var n=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",(function(e){if(e.key===a.KEY_ESC)return t.j.e.fire("escape",e)})).on("keydown.hotkeys",(function(r){var o=t.onKeyPress(r),i={shouldStop:!0};if(!1===t.j.e.fire(o+".hotkey",r.type,i)){if(i.shouldStop)return n=!0,e.e.stopPropagation("keydown"),!1;r.preventDefault()}}),{top:!0}).on("keyup.hotkeys",(function(){if(n)return n=!1,e.e.stopPropagation("keyup"),!1}),{top:!0})},t.prototype.beforeDestruct=function(e){e.events&&e.e.off(".hotkeys")},t}(o.Plugin);t.hotkeys=l,s.pluginSystem.add("hotkeys",l)},23096:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hr=void 0;var r=n(80031),o=n(36516),i=n(16672);function a(e){e.registerButton({name:"hr",group:"insert"}),e.registerCommand("insertHorizontalRule",(function(){var t=e.createInside.element("hr");e.s.insertNode(t,!1,!1);var n=o.Dom.closest(t.parentElement,o.Dom.isBlock,e.editor);n&&o.Dom.isEmpty(n)&&n!==e.editor&&(o.Dom.after(n,t),o.Dom.safeRemove(n));var r=o.Dom.next(t,o.Dom.isBlock,e.editor,!1);return r||(r=e.createInside.element(e.o.enter),o.Dom.after(t,r)),e.s.setCursorIn(r),!1}))}n(80353).Icon.set("hr",n(14655)),r.Config.prototype.controls.hr={command:"insertHorizontalRule",tags:["hr"],tooltip:"Insert Horizontal Line"},t.hr=a,i.pluginSystem.add("hr",a)},11326:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeTitle="Jodit Editor",r.Config.prototype.iframeDoctype="<!DOCTYPE html>",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[]},81365:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iframe=void 0;var r=n(83370),o=n(83370),i=n(47386),a=n(16672);function s(e){var t=e.options;e.e.on("afterSetMode",(function(){e.isEditorMode()&&e.s.focus()})).on("generateDocumentStructure.iframe",(function(e,n){var o=e||n.iframe.contentWindow.document;if(o.open(),o.write(t.iframeDoctype+'<html dir="'.concat(t.direction,'" class="jodit" lang="').concat((0,r.defaultLanguage)(t.language),'">')+"<head>"+"<title>".concat(t.iframeTitle,"</title>")+(t.iframeBaseUrl?'<base href="'.concat(t.iframeBaseUrl,'"/>'):"")+'</head><body class="jodit-wysiwyg"></body></html>'),o.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach((function(e){var t=o.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),o.head&&o.head.appendChild(t)})),t.iframeStyle){var i=o.createElement("style");i.innerHTML=t.iframeStyle,o.head&&o.head.appendChild(i)}})).on("createEditor",(function(){if(t.iframe){var n=e.c.element("iframe");n.style.display="block",n.src="about:blank",n.className="jodit-wysiwyg_iframe",n.setAttribute("allowtransparency","true"),n.setAttribute("tabindex",t.tabIndex.toString()),n.setAttribute("frameborder","0"),e.workplace.appendChild(n),e.iframe=n;var a=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(a,(function(){if(!e.iframe)return!1;var n=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;var a=function(){(0,r.attr)(n.body,"contenteditable",e.getMode()!==i.MODE_SOURCE&&!e.getReadOnly()||null)},s=function(e){var t=/<body.*<\/body>/im,n="{%%BODY%%}",r=t.exec(e);return r&&(e=e.replace(t,n).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/&lt;span([^&]*?)&gt;(.*?)&lt;\/span&gt;/gim,"").replace(n,r[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(t.editHTMLDocumentMode){var l=e.element.tagName;if("TEXTAREA"!==l&&"INPUT"!==l)throw(0,o.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",(function(){return s(e.o.iframeDoctype+n.documentElement.outerHTML)})).on("beforeSetNativeEditorValue",(function(t){var r=t.value;return!e.isLocked&&(/<(html|body)/i.test(r)?s(n.documentElement.outerHTML)!==s(r)&&(n.open(),n.write(e.o.iframeDoctype+s(r)),n.close(),e.editor=n.body,e.e.fire("safeHTML",e.editor),a(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):n.body.innerHTML=r,!0)}),{top:!0})}if(e.editor=n.body,e.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===t.height){n.documentElement&&(n.documentElement.style.overflowY="hidden");var c=e.async.throttle((function(){if(e.editor&&e.iframe&&"auto"===t.height){var n=e.ew.getComputedStyle(e.editor),o=parseInt(n.marginTop||"0",10)+parseInt(n.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+o)}}),e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",c).on([e.iframe,e.ew,n.documentElement],"load",c).on(n,"readystatechange DOMContentLoaded",c),"function"==typeof ResizeObserver){var u=new ResizeObserver(c);u.observe(n.body),e.e.on("beforeDestruct",(function(){u.unobserve(n.body)}))}}return n.documentElement&&e.e.on(n.documentElement,"mousedown touchend",(function(){e.s.isFocused()||(e.s.focus(),e.editor===n.body&&e.s.setCursorIn(n.body))})).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(function(t){var n;null===(n=e.events)||void 0===n||n.fire(e.ow,t)})),!1}))}}))}n(11326),t.iframe=s,a.pluginSystem.add("iframe",s)},90423:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},90909:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageProcessor=void 0;var r=n(20255),o=n(83370),i=n(76454),a=n(18731),s=n(47386),l=n(16672);n(90423);var c="__jodit_imageprocessor_binded",u="__jodit_imageprocessor_bindedblob-id",d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){var t,n,o=e.buffer.get(u);if(o){var i=Object.keys(o);try{for(var a=r.__values(i),s=a.next();!s.done;s=a.next())URL.revokeObjectURL(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}e.buffer.delete(u)}},t.prototype.onAfterGetValueFromEditor=function(e,t){if(t!==s.SOURCE_CONSUMER)return this.onBeforeSetElementValue(e)},t.prototype.onBeforeSetElementValue=function(e){var t,n,o=this.jodit;if(o.o.imageProcessor.replaceDataURIToBlobIdInView){var i=o.buffer.get(u);if(i){var a=Object.keys(i);try{for(var s=r.__values(a),l=s.next();!l.done;l=s.next())for(var c=l.value;e.value.includes(c);)e.value=e.value.replace(c,i[c])}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}}}},t.prototype.afterChange=function(e){return r.__awaiter(this,void 0,Promise,(function(){var e;return r.__generator(this,(function(t){return(e=this.jodit).editor?((0,o.$$)("img",e.editor).forEach((function(t){(0,o.dataBind)(t,c)||((0,o.dataBind)(t,c,!0),t.complete||e.e.on(t,"load",(function n(){var r;!e.isInDestruct&&(null===(r=e.e)||void 0===r||r.fire("resize")),e.e.off(t,"load",n)})),t.src&&/^data:/.test(t.src)&&function(e,t){if(e.o.imageProcessor.replaceDataURIToBlobIdInView&&"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof URL){var n=t.src,r=function(e){for(var t=atob(e.split(",")[1]),n=e.split(",")[0].split(":")[1].split(";")[0],r=new ArrayBuffer(t.length),o=new Uint8Array(r),i=0;t.length>i;i++)o[i]=t.charCodeAt(i);return new Blob([r],{type:n})}(n);t.src=URL.createObjectURL(r),e.e.fire("internalUpdate");var o=e.buffer.get(u)||{};o[t.src]=n,e.buffer.set(u,o)}}(e,t),e.e.on(t,"mousedown touchstart",(function(){e.s.select(t)})))})),[2]):[2]}))}))},r.__decorate([(0,a.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),r.__decorate([(0,a.watch)(":beforeSetElementValue")],t.prototype,"onBeforeSetElementValue",null),r.__decorate([(0,a.watch)([":change",":afterInit",":changePlace"]),(0,a.debounce)()],t.prototype,"afterChange",null),t}(i.Plugin);t.imageProcessor=d,l.pluginSystem.add("imageProcessor",d)},66425:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},23866:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.imageProperties=void 0;var r=n(20255);n(9947);var o=n(18870),i=n(83370),a=n(81250),s=n(25242),l=n(18731),c=n(55506),u=n(16672),d=n(44403),f=n(48289),p=n(54207);n(66425);var h=function(e){return e=(0,i.trim)(e),/^[0-9]+$/.test(e)?e+"px":e},m=function(e){return/^[-+]?[0-9.]+px$/.test(e.toString())?parseFloat(e.toString()):e},g=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={image:new Image,get ratio(){return this.image.naturalWidth/this.image.naturalHeight||1},sizeIsLocked:!0,marginIsLocked:!0},t.activeTabState={__activeTab:"Image"},t}return r.__extends(t,e),t.prototype.onChangeMarginIsLocked=function(){var e=this;if(this.form){var t=(0,i.refs)(this.form),n=t.lockMargin;[t.marginRight,t.marginBottom,t.marginLeft].forEach((function(t){(0,i.attr)(t,"disabled",e.state.marginIsLocked||null)})),n.innerHTML=o.Icon.get(this.state.marginIsLocked?"lock":"unlock")}},t.prototype.onChangeSizeIsLocked=function(){if(this.form){var e=(0,i.refs)(this.form),t=e.lockSize,n=e.imageWidth;t.innerHTML=o.Icon.get(this.state.sizeIsLocked?"lock":"unlock"),t.classList.remove("jodit-properties__lock"),t.classList.remove("jodit-properties__unlock"),t.classList.add(this.state.sizeIsLocked?"jodit-properties__lock":"jodit-properties__unlock"),this.j.e.fire(n,"change")}},t.prototype.open=function(){return this.makeForm(),this.activeTabState.__activeTab="Image",this.j.e.fire("hidePopup"),(0,i.markOwner)(this.j,this.dialog.container),this.state.marginIsLocked=!0,this.state.sizeIsLocked=!0,this.onChangeMarginIsLocked(),this.onChangeSizeIsLocked(),this.updateValues(),this.dialog.open().setModal(!0).setPosition(),!1},t.prototype.makeForm=function(){var e=this;if(!this.dialog){this.dialog=this.j.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]});var t=this.j,n=t.o,r=t.i18n.bind(t),o={check:(0,s.Button)(t,"ok","Apply","primary"),remove:(0,s.Button)(t,"bin","Delete")};t.e.on(this.dialog,"afterClose",(function(){e.state.image.parentNode&&n.image.selectImageAfterClose&&t.s.select(e.state.image)})),o.remove.onAction((function(){t.s.removeNode(e.state.image),e.dialog.close()}));var l=this.dialog;l.setHeader(r("Image properties"));var c=(0,d.form)(t);this.form=c,l.setContent(c);var u=(0,i.refs)(this.form).tabsBox;u&&u.appendChild((0,a.TabsWidget)(t,[{name:"Image",content:(0,f.mainTab)(t)},{name:"Advanced",content:(0,p.positionTab)(t)}],this.activeTabState)),o.check.onAction(this.onApply);var h=(0,i.refs)(this.form),m=h.editImage;t.e.on(h.changeImage,"click",this.openImagePopup),n.image.useImageEditor&&t.e.on(m,"click",this.openImageEditor);var g=(0,i.refs)(c),v=g.lockSize,b=g.lockMargin,y=g.imageWidth,A=g.imageHeight;v&&t.e.on(v,"click",(function(){e.state.sizeIsLocked=!e.state.sizeIsLocked})),t.e.on(b,"click",(function(t){e.state.marginIsLocked=!e.state.marginIsLocked,t.preventDefault()}));var x=function(t){if((0,i.isNumeric)(y.value)&&(0,i.isNumeric)(A.value)){var n=parseFloat(y.value),r=parseFloat(A.value);t.target===y?A.value=Math.round(n/e.state.ratio).toString():y.value=Math.round(r*e.state.ratio).toString()}};t.e.on([y,A],"change keydown mousedown paste",(function(n){e.state.sizeIsLocked&&t.async.setTimeout(x.bind(e,n),{timeout:t.defaultTimeout,label:"image-properties-changeSize"})})),l.setFooter([o.remove,o.check]),l.setSize(this.j.o.image.dialogWidth)}},t.prototype.updateValues=function(){var e,t,n=this,r=this.j.o,a=this.state.image,s=(0,i.refs)(this.form),l=s.marginTop,c=s.marginRight,u=s.marginBottom,d=s.marginLeft,f=s.imageSrc,p=s.id,h=s.classes,g=s.align,v=s.style,b=s.imageTitle,y=s.imageAlt,A=s.borderRadius,x=s.imageLink,C=s.imageWidth,_=s.imageHeight,w=s.imageLinkOpenInNewTab,k=s.imageViewSrc,S=s.lockSize;s.lockMargin.checked=n.state.marginIsLocked,S.checked=n.state.sizeIsLocked,f.value=(0,i.attr)(a,"src")||"",k&&(0,i.attr)(k,"src",(0,i.attr)(a,"src")||""),function(){b.value=(0,i.attr)(a,"title")||"",y.value=(0,i.attr)(a,"alt")||"";var e=o.Dom.closest(a,"a",n.j.editor);e?(x.value=(0,i.attr)(e,"href")||"",w.checked="_blank"===(0,i.attr)(e,"target")):(x.value="",w.checked=!1)}(),e=(0,i.attr)(a,"width")||(0,i.css)(a,"width",!0)||!1,t=(0,i.attr)(a,"height")||(0,i.css)(a,"height",!0)||!1,C.value=!1!==e?m(e).toString():a.offsetWidth.toString(),_.value=!1!==t?m(t).toString():a.offsetHeight.toString(),n.state.sizeIsLocked=function(){if(!(0,i.isNumeric)(C.value)||!(0,i.isNumeric)(_.value))return!1;var e=parseFloat(C.value),t=parseFloat(_.value);return 1>Math.abs(e-t*n.state.ratio)}(),function(){if(r.image.editMargins){var e=!0,t=!1;[l,c,u,d].forEach((function(n){var r=(0,i.attr)(n,"data-ref")||"",o=a.style.getPropertyValue((0,i.kebabCase)(r));if(!o)return t=!0,void(n.value="");/^[0-9]+(px)?$/.test(o)&&(o=parseInt(o,10)),n.value=o.toString()||"",(t&&n.value||e&&"marginTop"!==r&&n.value!==l.value)&&(e=!1)})),n.state.marginIsLocked=e}}(),h.value=((0,i.attr)(a,"class")||"").replace(/jodit_focused_image[\s]*/,""),p.value=(0,i.attr)(a,"id")||"",A.value=(parseInt(a.style.borderRadius||"0",10)||"0").toString(),a.style.cssFloat&&-1!==["left","right"].indexOf(a.style.cssFloat.toLowerCase())?g.value=(0,i.css)(a,"float"):"block"===(0,i.css)(a,"display")&&"auto"===a.style.marginLeft&&"auto"===a.style.marginRight&&(g.value="center"),v.value=(0,i.attr)(a,"style")||""},t.prototype.onApply=function(){var e=(0,i.refs)(this.form),t=e.imageSrc,n=e.borderRadius,r=e.imageTitle,a=e.imageAlt,s=e.imageLink,l=e.imageWidth,c=e.imageHeight,u=e.marginTop,d=e.marginRight,f=e.marginBottom,p=e.marginLeft,m=e.imageLinkOpenInNewTab,g=e.align,v=e.classes,b=e.id,y=this.j.o,A=this.state.image;if(y.image.editStyle&&(0,i.attr)(A,"style",e.style.value||null),!t.value)return o.Dom.safeRemove(A),void this.dialog.close();(0,i.attr)(A,"src",t.value),A.style.borderRadius="0"!==n.value&&/^[0-9]+$/.test(n.value)?n.value+"px":"",(0,i.attr)(A,"title",r.value||null),(0,i.attr)(A,"alt",a.value||null);var x=o.Dom.closest(A,"a",this.j.editor);if(s.value?(x||(x=o.Dom.wrap(A,"a",this.j.createInside)),(0,i.attr)(x,"href",s.value),(0,i.attr)(x,"target",m.checked?"_blank":null)):x&&x.parentNode&&x.parentNode.replaceChild(A,x),l.value!==A.offsetWidth.toString()||c.value!==A.offsetHeight.toString()){var C=(0,i.trim)(l.value)?h(l.value):null,_=(0,i.trim)(c.value)?h(c.value):null;(0,i.css)(A,{width:C,height:_}),(0,i.attr)(A,"width",(0,i.attr)(A,"width")?C:null),(0,i.attr)(A,"height",(0,i.attr)(A,"height")?_:null)}var w=[u,d,f,p];y.image.editMargins&&(this.state.marginIsLocked?(0,i.css)(A,"margin",h(u.value)):w.forEach((function(e){var t=(0,i.attr)(e,"data-ref")||"";(0,i.css)(A,t,h(e.value))}))),y.image.editClass&&(0,i.attr)(A,"class",v.value||null),y.image.editId&&(0,i.attr)(A,"id",b.value||null),y.image.editAlign&&(0,i.hAlignElement)(A,g.value),this.j.synchronizeValues(),this.dialog.close()},t.prototype.openImageEditor=function(){var e=this,t=(0,i.attr)(this.state.image,"src")||"",n=this.j.c.element("a"),r=function(){n.host===location.host||e.j.confirm("You can only edit your own images. Download this image on the host?",(function(t){t&&e.j.uploader&&e.j.uploader.uploadRemoteImage(n.href.toString(),(function(t){e.j.alert("The image has been successfully uploaded to the host!",(function(){(0,i.isString)(t.newfilename)&&((0,i.attr)(e.state.image,"src",t.baseurl+t.newfilename),e.updateValues())}))}),(function(t){e.j.alert("There was an error loading %s",t.message)}))}))};n.href=t,this.j.filebrowser.dataProvider.getPathByUrl(n.href.toString()).then((function(r){c.openImageEditor.call(e.j.filebrowser,n.href,r.name,r.path,r.source,(function(){var n=(new Date).getTime();(0,i.attr)(e.state.image,"src",t+(-1!==t.indexOf("?")?"":"?")+"&_tmp="+n.toString()),e.updateValues()}),(function(t){e.j.alert(t.message)}))})).catch((function(t){e.j.alert(t.message,r)}))},t.prototype.openImagePopup=function(e){var t=this,n=new o.Popup(this.j),r=(0,i.refs)(this.form).changeImage;n.setZIndex(this.dialog.getZIndex()+1),n.setContent((0,a.FileSelectorWidget)(this.j,{upload:function(e){e.files&&e.files.length&&(0,i.attr)(t.state.image,"src",e.baseurl+e.files[0]),t.updateValues(),n.close()},filebrowser:function(e){e&&(0,i.isArray)(e.files)&&e.files.length&&((0,i.attr)(t.state.image,"src",e.files[0]),n.close(),t.updateValues())}},this.state.image,n.close)).open((function(){return(0,i.position)(r)})),e.stopPropagation()},t.prototype.afterInit=function(e){var t=this,n=this;e.e.on("afterConstructor changePlace",(function(){e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",(function(r){var i=r.target;if(o.Dom.isTag(i,"img"))if(e.o.image.openOnDblClick){if(!1===t.j.e.fire("openOnDblClick",i))return;n.state.image=i,e.o.readonly||(r.stopImmediatePropagation(),r.preventDefault(),n.open())}else r.stopImmediatePropagation(),e.s.select(i)}))})).on("openImageProperties.imageproperties",(function(e){t.state.image=e,t.open()}))},t.prototype.beforeDestruct=function(e){this.dialog&&this.dialog.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")},r.__decorate([(0,l.watch)("state.marginIsLocked")],t.prototype,"onChangeMarginIsLocked",null),r.__decorate([(0,l.watch)("state.sizeIsLocked")],t.prototype,"onChangeSizeIsLocked",null),r.__decorate([l.autobind],t.prototype,"onApply",null),r.__decorate([l.autobind],t.prototype,"openImageEditor",null),r.__decorate([l.autobind],t.prototype,"openImagePopup",null),t}(o.Plugin);t.imageProperties=g,u.pluginSystem.add("imageProperties",g)},44403:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.form=void 0;var r=n(80353);t.form=function(e){var t=e.o.image,n=t.showPreview,o=t.editSize,i=r.Icon.get.bind(r.Icon);return e.c.fromHTML('<form class="jodit-properties">\n\t\t<div class="jodit-grid jodit-grid_xs-column">\n\t\t\t<div class="jodit_col-lg-2-5 jodit_col-xs-5-5">\n\t\t\t\t<div class="jodit-properties_view_box">\n\t\t\t\t\t<div style="'.concat(n?"":"display:none",'" class="jodit-properties_image_view">\n\t\t\t\t\t\t<img data-ref="imageViewSrc" src="" alt=""/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div style="').concat(o?"":"display:none",'" class="jodit-form__group jodit-properties_image_sizes">\n\t\t\t\t\t\t<input data-ref="imageWidth" type="text" class="jodit-input"/>\n\t\t\t\t\t\t<a data-ref="lockSize" class="jodit-properties__lock">').concat(i("lock"),'</a>\n\t\t\t\t\t\t<input data-ref="imageHeight" type="text" class="imageHeight jodit-input"/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t\t<div data-ref="tabsBox" class="jodit_col-lg-3-5 jodit_col-xs-5-5"></div>\n\t\t</div>\n\t</form>'))}},48289:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mainTab=void 0;var r=n(80353);t.mainTab=function(e){var t=e.o,n=e.i18n.bind(e),o=r.Icon.get.bind(r.Icon),i=t.filebrowser.ajax.url||t.uploader.url,a=t.image.useImageEditor;return e.c.fromHTML('<div style="'.concat(t.image.editSrc?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Src"),'</label>\n\t\t\t<div class="jodit-input_group">\n\t\t\t\t<input data-ref="imageSrc" class="jodit-input" type="text"/>\n\t\t\t\t<div\n\t\t\t\t\tclass="jodit-input_group-buttons"\n\t\t\t\t\tstyle="').concat(i?"":"display: none",'"\n\t\t\t\t>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="changeImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t>').concat(o("image"),'</a>\n\t\t\t\t\t\t<a\n\t\t\t\t\t\t\tdata-ref="editImage"\n\t\t\t\t\t\t\tclass="jodit-button"\n\t\t\t\t\t\t\tstyle="').concat(a?"":"display: none",'"\n\t\t\t\t\t\t>').concat(o("crop"),'</a>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div style="').concat(t.image.editTitle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Title"),'</label>\n\t\t\t<input data-ref="imageTitle" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editAlt?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Alternative"),'</label>\n\t\t\t<input data-ref="imageAlt" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Link"),'</label>\n\t\t\t<input data-ref="imageLink" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editLink?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label class="jodit_vertical_middle">\n\t\t\t\t<input data-ref="imageLinkOpenInNewTab" type="checkbox" class="jodit-checkbox"/>\n\t\t\t\t<span>').concat(n("Open link in new tab"),"</span>\n\t\t\t</label>\n\t\t</div>"))}},54207:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.positionTab=void 0;var r=n(80353);t.positionTab=function(e){var t=e.o,n=e.i18n.bind(e),o=r.Icon.get.bind(r.Icon);return e.c.fromHTML('<div style="'.concat(t.image.editMargins?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Margins"),'</label>\n\t\t\t<div class="jodit-grid jodit_vertical_middle">\n\t\t\t\t<input class="jodit_col-lg-1-5 jodit-input" data-ref="marginTop" type="text" placeholder="').concat(n("top"),'"/>\n\t\t\t\t<a style="text-align: center;" data-ref="lockMargin" class="jodit-properties__lock jodit_col-lg-1-5">').concat(o("lock"),'</a>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginRight" type="text" placeholder="').concat(n("right"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginBottom" type="text" placeholder="').concat(n("bottom"),'"/>\n\t\t\t\t<input disabled="true" class="jodit_col-lg-1-5 jodit-input" data-ref="marginLeft" type="text" placeholder="').concat(n("left"),'"/>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(t.image.editAlign?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(n("Align"),'</label>\n\t\t\t<select data-ref="align" class="jodit-select">\n\t\t\t\t<option value="">').concat(n("--Not Set--"),'</option>\n\t\t\t\t<option value="left">').concat(n("Left"),'</option>\n\t\t\t\t<option value="center">').concat(n("Center"),'</option>\n\t\t\t\t<option value="right">').concat(n("Right"),'</option>\n\t\t\t</select>\n\t\t</div>\n\t\t<div style="').concat(t.image.editStyle?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Styles"),'</label>\n\t\t\t<input data-ref="style" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editClass?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>').concat(n("Classes"),'</label>\n\t\t\t<input data-ref="classes" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div style="').concat(t.image.editId?"":"display:none",'" class="jodit-form__group">\n\t\t\t<label>Id</label>\n\t\t\t<input data-ref="id" type="text" class="jodit-input"/>\n\t\t</div>\n\t\t<div\n\t\t\tstyle="').concat(t.image.editBorderRadius?"":"display:none",'"\n\t\t\tclass="jodit-form__group"\n\t\t>\n\t\t\t<label>').concat(n("Border radius"),'</label>\n\t\t\t\t<input data-ref="borderRadius" type="number" class="jodit-input"/>\n\t\t</div>'))}},86750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.image=void 0;var r=n(20255),o=n(36516),i=n(83370),a=n(81250),s=n(80031),l=n(16672);function c(e){e.registerButton({name:"image",group:"media"})}n(80353).Icon.set("image",n(53477)),s.Config.prototype.controls.image={popup:function(e,t,n,s){var l=null;return t&&!o.Dom.isText(t)&&o.Dom.isHTMLElement(t)&&(o.Dom.isTag(t,"img")||(0,i.$$)("img",t).length)&&(l=o.Dom.isTag(t,"img")?t:(0,i.$$)("img",t)[0]),e.s.save(),(0,a.FileSelectorWidget)(e,{filebrowser:function(t){e.s.restore(),t.files&&t.files.forEach((function(n){return e.s.insertImage(t.baseurl+n,null,e.o.imageDefaultWidth)})),s()},upload:!0,url:function(t,n){return r.__awaiter(void 0,void 0,void 0,(function(){var o;return r.__generator(this,(function(r){switch(r.label){case 0:return e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t),(o=l||e.createInside.element("img")).setAttribute("src",t),o.setAttribute("alt",n),l?[3,2]:[4,e.s.insertImage(o,null,e.o.imageDefaultWidth)];case 1:r.sent(),r.label=2;case 2:return s(),[2]}}))}))}},l,s)},tags:["img"],tooltip:"Insert Image"},t.image=c,l.pluginSystem.add("image",c)},3258:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(36516),i=n(80353),a=n(5549);i.Icon.set("indent",n(90053)).set("outdent",n(72230)),r.Config.prototype.controls.indent={tooltip:"Increase Indent"},r.Config.prototype.controls.outdent={isDisabled:function(e){var t=e.s.current();if(t){var n=o.Dom.closest(t,o.Dom.isBlock,e.editor);if(n){var r=(0,a.getKey)(e.o.direction,n);return!n.style[r]||0>=parseInt(n.style[r],10)}}return!0},tooltip:"Decrease Indent"},r.Config.prototype.indentMargin=10},5549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getKey=void 0;var r=n(65401);t.getKey=function(e,t){return"".concat(r.Dom.isCell(t)?"padding":"margin").concat("rtl"===e?"Right":"Left")}},538:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.indent=void 0;var r=n(47386),o=n(36516),i=n(83370),a=n(16672);n(3258);var s=n(5549);function l(e){e.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});var t=function(t){var n=[];return e.s.eachSelection((function(a){e.s.save();var l=!!a&&o.Dom.up(a,o.Dom.isBlock,e.editor),c=e.o.enter;if(!l&&a&&(l=o.Dom.wrapInline(a,c!==r.BR?c:r.PARAGRAPH,e)),!l)return e.s.restore(),!1;var u=n.includes(l);if(l&&!u){var d=(0,s.getKey)(e.o.direction,l);n.push(l);var f=l.style[d]?parseInt(l.style[d],10):0;l.style[d]=(f+=e.o.indentMargin*("outdent"===t?-1:1))>0?f+"px":"",(0,i.attr)(l,"style")||(0,i.attr)(l,"style",null)}e.s.restore()})),e.synchronizeValues(),!1};e.registerCommand("indent",{exec:t,hotkeys:["ctrl+]","cmd+]"]}),e.registerCommand("outdent",{exec:t,hotkeys:["ctrl+[","cmd+["]})}t.indent=l,a.pluginSystem.add("indent",l)},38952:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(6059),n(93746),n(13106),n(4997),n(10422),n(79587),n(98034),n(38422),n(64651),n(65286),n(39494),n(78665),n(41218),n(12150),n(25636),n(40057),n(26209),n(96226),n(23096),n(81365),n(86750),n(90909),n(23866),n(538),n(94599),n(99315),n(66615),n(38369),n(75641),n(3038),n(60436),n(98687),n(52999),n(6718),n(51206),n(41246),n(90651),n(66101),n(12315),n(83412),n(55279),n(31264),n(38205),n(26733),n(70785),n(47802),n(59748),n(88738),n(93621),n(8797),n(46965),n(7871),n(9077),n(56264),n(24310),n(47908),n(16723),n(59310),n(52e3),n(50964)},28395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.toolbarInline=!0,r.Config.prototype.toolbarInlineForSelection=!1,r.Config.prototype.toolbarInlineDisableFor=[],r.Config.prototype.toolbarInlineDisabledButtons=["source"],o.Icon.set("addcolumn",n(78321)).set("addrow",n(77654)).set("merge",n(43371)).set("th",n(52242)).set("splitg",n(44563)).set("splitv",n(53183)).set("th-list",n(6102)),r.Config.prototype.popup={a:n(60953).Z,img:n(45687).default,cells:n(76306).Z,toolbar:n(57503).Z,jodit:n(94695).Z,iframe:n(94695).Z,"jodit-media":n(94695).Z,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},60953:function(e,t,n){"use strict";var r=n(38301);t.Z=[{name:"eye",tooltip:"Open link",exec:function(e,t){var n=(0,r.attr)(t,"href");t&&n&&e.ow.open(n)}},{name:"link",tooltip:"Edit link",icon:"pencil"},"unlink","brush","file"]},76306:function(e,t,n){"use strict";var r=n(80450),o=n(76239),i=n(81250),a=function(e){return e.args&&(0,r.isString)(e.args[0])?e.args[0].toLowerCase():""};t.Z=[{name:"brush",popup:function(e,t,n,a){if((0,r.isJoditObject)(e)){var s=e.getInstance("Table",e.o).getAllSelectedCells();if(!s.length)return!1;var l=function(t){return(0,i.ColorPickerWidget)(e,(function(n){s.forEach((function(e){(0,o.css)(e,t,n)})),e.lock(),e.synchronizeValues(),a(),e.unlock()}),(0,o.css)(s[0],t))};return(0,i.TabsWidget)(e,[{name:"Background",content:l("background-color")},{name:"Text",content:l("color")},{name:"Border",content:l("border-color")}])}},tooltip:"Background"},{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:function(e,t,n){return n},exec:function(e,t,n){var r=a(n.control);e.getInstance("Table",e.o).getAllSelectedCells().forEach((function(e){(0,o.css)(e,"vertical-align","normal"===r?"":r)}))},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:function(e,t,n){var o=n.control;if((0,r.isJoditObject)(e)){var i=a(o);e.execCommand(i,!1,t)}},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:function(e,t,n){var o=n.control;if((0,r.isJoditObject)(e)){var i=a(o);e.execCommand(i,!1,t)}},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:function(e,t,n){var o=n.control;if((0,r.isJoditObject)(e)){var i=a(o);e.execCommand(i,!1,t),e.e.fire("hidePopup")}},tooltip:"Delete"}]},94695:function(e,t,n){"use strict";var r=n(45687);t.Z=[{name:"bin",tooltip:"Delete",exec:function(e,t){t&&e.s.removeNode(t)}},r.align]},45687:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.align=void 0;var r=n(36516),o=n(86129),i=n(76239),a=n(55667);t.align={name:"left",childTemplate:function(e,t,n){return n},list:["Left","Right","Center","Normal"],exec:function(e,t,n){var i=n.control;if(r.Dom.isTag(t,["img","jodit","jodit-media"])){var s=i.args&&(0,o.isString)(i.args[0])?i.args[0].toLowerCase():"";if(!s)return!1;(0,a.hAlignElement)(t,s),r.Dom.isTag(t,["jodit","jodit-media"])&&t.firstElementChild&&(0,a.hAlignElement)(t.firstElementChild,s),e.synchronizeValues(),e.e.fire("recalcPositionPopup")}},tooltip:"Horizontal align"},t.default=[{name:"delete",icon:"bin",tooltip:"Delete",exec:function(e,t){t&&e.s.removeNode(t)}},{name:"pencil",exec:function(e,t){"img"===t.tagName.toLowerCase()&&e.e.fire("openImageProperties",t)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec:function(e,t,n){var a=n.control;if(r.Dom.isTag(t,"img")){var s=a.args&&(0,o.isString)(a.args[0])?a.args[0].toLowerCase():"";if(!s)return!1;(0,i.css)(t,"vertical-align","normal"===s?"":s),e.e.fire("recalcPositionPopup")}}},t.align]},57503:function(e,t){"use strict";t.Z=["bold","italic","|","ul","ol","eraser","|","fontsize","brush","paragraph","---","image","table","\n","link","|","align","|","undo","redo","|","copyformat","fullsize","---","dots"]},94599:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.inlinePopup=void 0;var r=n(20255);n(45109);var o=n(76454),i=n(5243),a=n(36649),s=n(83370),l=n(36516),c=n(77688),u=n(18731),d=n(16672);n(28395);var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.type=null,t.popup=new a.Popup(t.jodit,!1),t.toolbar=(0,i.makeCollection)(t.jodit,t.popup),t.snapRange=null,t.elmsList=(0,s.keys)(t.j.o.popup,!1).filter((function(e){return!t.isExcludedTarget(e)})),t}return r.__extends(t,e),t.prototype.onClick=function(e){var t=this,n=this.elmsList,r=l.Dom.isTag(e,"img")?e:l.Dom.closest(e,n,this.j.editor);if(r&&this.canShowPopupForType(r.nodeName.toLowerCase()))return this.showPopup((function(){return(0,s.position)(r,t.j)}),r.nodeName.toLowerCase(),r),!1},t.prototype.showPopup=function(e,t,n){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||n!==this.previousTarget){this.previousTarget=n;var r=this.j.o.popup[t],o=void 0;o=(0,s.isFunction)(r)?r(this.j,n,this.popup.close):r,(0,s.isArray)(o)&&(this.toolbar.build(o,n),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,o=this.toolbar.container),this.popup.setContent(o),this.type=t}return this.popup.open(e),!0},t.prototype.hidePopup=function(e){(0,s.isString)(e)&&e!==this.type||this.popup.close()},t.prototype.onOutsideClick=function(){this.popup.close()},t.prototype.canShowPopupForType=function(e){var t=this.j.o.popup[e.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!t||this.isExcludedTarget(e))},t.prototype.isExcludedTarget=function(e){return(0,s.splitArray)(this.j.o.toolbarInlineDisableFor).map((function(e){return e.toLowerCase()})).includes(e.toLowerCase())},t.prototype.afterInit=function(e){var t=this;this.j.e.on("getDiffButtons.mobile",(function(n){if(t.toolbar===n){var r=t.toolbar.getButtonsNames();return(0,s.toArray)(e.registeredButtons).filter((function(e){return!t.j.o.toolbarInlineDisabledButtons.includes(e.name)})).filter((function(e){var t=(0,s.isString)(e)?e:e.name;return t&&"|"!==t&&"\n"!==t&&!r.includes(t)}))}})).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(function(e,n,r){t.showPopup(n,r||((0,s.isString)(e)?e:e.nodeName),(0,s.isString)(e)?void 0:e)})).on("mousedown keydown",this.onSelectionStart).on("change",(function(){t.popup.isOpened&&t.previousTarget&&!t.previousTarget.parentNode&&(t.hidePopup(),t.previousTarget=void 0)})).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()},t.prototype.onSelectionStart=function(){this.snapRange=this.j.s.range.cloneRange()},t.prototype.onSelectionEnd=function(e){if(!(e&&e.target&&c.UIElement.closestElement(e.target,a.Popup))){var t=this.snapRange,n=this.j.s.range;t&&!n.collapsed&&n.startContainer===t.startContainer&&n.startOffset===t.startOffset&&n.endContainer===t.endContainer&&n.endOffset===t.endOffset||this.onSelectionChange()}},t.prototype.onSelectionChange=function(){if(this.j.o.toolbarInlineForSelection){var e="selection",t=this.j.s.sel,n=this.j.s.range;(null==t?void 0:t.isCollapsed)||this.isSelectedTarget(n)||this.tableModule.getAllSelectedCells().length?this.type===e&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((function(){return n.getBoundingClientRect()}),e)}},t.prototype.isSelectedTarget=function(e){var t=e.startContainer;return l.Dom.isElement(t)&&t===e.endContainer&&l.Dom.isTag(t.childNodes[e.startOffset],(0,s.keys)(this.j.o.popup,!1))&&e.startOffset===e.endOffset-1},Object.defineProperty(t.prototype,"tableModule",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.beforeDestruct=function(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()},t.prototype._eventsList=function(){var e=this.elmsList;return e.map((function(e){return(0,s.camelCase)("click_".concat(e))})).concat(e.map((function(e){return(0,s.camelCase)("touchstart_".concat(e))}))).join(" ")},t.prototype.addListenersForElements=function(){this.j.e.on(this._eventsList(),this.onClick)},t.prototype.removeListenersForElements=function(){this.j.e.off(this._eventsList(),this.onClick)},t.prototype.showInlineToolbar=function(e){var t=this;this.showPopup((function(){return e||t.j.s.range.getBoundingClientRect()}),"toolbar")},r.__decorate([u.autobind],t.prototype,"onClick",null),r.__decorate([(0,u.wait)((function(e){return!e.j.isLocked}))],t.prototype,"showPopup",null),r.__decorate([(0,u.watch)(":clickEditor"),u.autobind],t.prototype,"hidePopup",null),r.__decorate([(0,u.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),r.__decorate([u.autobind],t.prototype,"onSelectionStart",null),r.__decorate([u.autobind],t.prototype,"onSelectionEnd",null),r.__decorate([(0,u.debounce)((function(e){return e.defaultTimeout}))],t.prototype,"onSelectionChange",null),r.__decorate([u.autobind],t.prototype,"showInlineToolbar",null),t}(o.Plugin);t.inlinePopup=f,d.pluginSystem.add("inlinePopup",f)},99315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.justify=void 0;var r=n(80031),o=n(65401),i=n(76239),a=n(55667),s=n(16672);function l(e){e.registerButton({name:"align",group:"indent"});var t=function(t){return e.s.focus(),e.s.eachSelection((function(n){if(n){var r=o.Dom.up(n,o.Dom.isBlock,e.editor);r||(r=o.Dom.wrapInline(n,e.o.enterBlock,e)),(0,a.alignElement)(t,r)}})),!1};e.registerCommand("justifyfull",t),e.registerCommand("justifyright",t),e.registerCommand("justifyleft",t),e.registerCommand("justifycenter",t)}n(80353).Icon.set("justify",n(87498)),r.Config.prototype.controls.align={name:"left",tooltip:"Align",update:function(e,t){var n=e.control,r=t.s.current();if(r){var a=o.Dom.closest(r,o.Dom.isBlock,t.editor)||t.editor,s=(0,i.css)(a,"text-align").toString();n.defaultValue&&-1!==n.defaultValue.indexOf(s)&&(s="left"),n.data&&n.data.currentValue!==s&&n.list&&-1!==n.list.indexOf(s)&&(t.o.textIcons?e.state.text=s:e.state.icon.name=s,n.data.currentValue=s)}},isActive:function(e,t){var n=e.s.current();if(n&&t.defaultValue){var r=o.Dom.closest(n,o.Dom.isBlock,e.editor)||e.editor;return-1===t.defaultValue.indexOf((0,i.css)(r,"text-align").toString())}return!1},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},r.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},r.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},r.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},r.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},t.justify=l,s.pluginSystem.add("justify",l)},66615:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keyArrowOutside=void 0;var r=n(20255),o=n(76454),i=n(18731),a=n(47386),s=n(65401),l=n(16672),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){},t.prototype.onKeyDownArrow=function(e){var t;if(e.key===a.KEY_RIGHT&&this.j.selection.isCollapsed()){var n=this.j.selection.range,r=n.endContainer,o=n.endOffset;if(s.Dom.isText(r)&&(null===(t=r.nodeValue)||void 0===t?void 0:t.length)===o){var i=r.parentNode;s.Dom.isInlineBlock(i)&&!s.Dom.findNotEmptyNeighbor(i,!1,this.j.editor)&&s.Dom.after(i,this.j.createInside.text(a.NBSP_SPACE))}}},r.__decorate([(0,i.watch)(":keydown")],t.prototype,"onKeyDownArrow",null),t}(o.Plugin);t.keyArrowOutside=c,l.pluginSystem.add("keyArrowOutside",c)},28172:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.limitWords=!1,r.Config.prototype.limitChars=!1,r.Config.prototype.limitHTML=!1},38369:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.limit=void 0;var r=n(20255),o=n(76454),i=n(47386),a=n(18731),s=n(16672);n(28172);var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,n=e.o;if(e&&(n.limitWords||n.limitChars)){var r=null;e.e.off(".limit").on("beforePaste.limit",(function(){r=e.history.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(function(){if(t.__shouldDenyInput(!0)&&r)return e.history.snapshot.restore(r),e.e.fire("denyPaste.limit"),!1}))}},t.prototype.shouldPreventInsertHTML=function(e){return(!e||!(i.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)},t.prototype.__shouldDenyInput=function(e){var t=this.jodit,n=t.o,r=n.limitWords,o=n.limitChars,i=this.__splitWords(t.o.limitHTML?t.value:t.text);if(r&&c(i.length,r,e))return t.e.fire("denyWords.limit limit.limit"),!0;var a=Boolean(o&&c(i.join("").length,o,e));return a&&t.e.fire("denyChars.limit limit.limit"),a},t.prototype.checkPreventKeyPressOrPaste=function(e){if(this.shouldPreventInsertHTML(e))return!1},t.prototype.checkPreventChanging=function(e,t){var n=this.jodit;this.__shouldDenyInput(!0)&&(n.value=t)},t.prototype.__splitWords=function(e){return e.replace((0,i.INVISIBLE_SPACE_REG_EXP)(),"").split((0,i.SPACE_REG_EXP)()).filter((function(e){return e.length}))},t.prototype.beforeDestruct=function(e){e.e.off(".limit")},r.__decorate([a.autobind],t.prototype,"checkPreventKeyPressOrPaste",null),r.__decorate([a.autobind],t.prototype,"checkPreventChanging",null),t}(o.Plugin);function c(e,t,n){return n?e>t:e>=t}t.limit=l,s.pluginSystem.add("limit",l)},84229:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(83370),i=n(80353);r.Config.prototype.defaultLineHeight=null,i.Icon.set("line-height",n(7986)),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:function(e,t,n){return(0,o.memorizeExec)(e,t,{control:n.control},(function(e){return e}))}}},78124:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=n(47762);t.ar=r;var o=n(97495);t.cs_cz=o;var i=n(80131);t.de=i;var a=n(1201);t.es=a;var s=n(89912);t.fa=s;var l=n(3405);t.fr=l;var c=n(14129);t.he=c;var u=n(93729);t.hu=u;var d=n(16106);t.id=d;var f=n(89690);t.it=f;var p=n(33216);t.ja=p;var h=n(17282);t.ko=h;var m=n(91761);t.nl=m;var g=n(61675);t.pl=g;var v=n(69709);t.pt_br=v;var b=n(82591);t.ru=b;var y=n(87649);t.tr=y;var A=n(60268);t.zh_cn=A;var x=n(58214);t.zh_tw=x},75641:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.lineHeight=void 0;var r=n(20255),o=n(76454),i=n(83370),a=n(18731),s=n(65401),l=n(16672);n(84229);var c=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{name:"lineHeight",group:"font"}],(0,l.extendLang)(n(78124)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){(0,i.css)(e.editor,{lineHeight:e.o.defaultLineHeight}),e.registerCommand("applyLineHeight",this.applyLineHeight)},t.prototype.applyLineHeight=function(e,t,n){var r,o=this.j,a=o.s,l=o.createInside,c=o.editor,u=o.o;a.isFocused()||a.focus(),a.save();var d=function(e){var t=s.Dom.closest(e,s.Dom.isBlock,c);t||(t=s.Dom.wrap(e,u.enter,l));var o=(0,i.css)(t,"lineHeight");void 0===r&&(r=o.toString()!==n.toString()),(0,i.css)(t,"lineHeight",r?n:null)};try{if(a.isCollapsed()){var f=l.fake();a.insertNode(f,!1,!1),d(f),s.Dom.safeRemove(f)}else a.eachSelection(d)}finally{a.restore()}},t.prototype.beforeDestruct=function(e){(0,i.css)(e.editor,{lineHeight:null})},r.__decorate([a.autobind],t.prototype,"applyLineHeight",null),t}(o.Plugin);t.lineHeight=c,l.pluginSystem.add("lineHeight",c)},59605:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(85670),i=n(65401),a=n(80353);r.Config.prototype.link={formTemplate:o.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},a.Icon.set("link",n(23075)).set("unlink",n(10655)),r.Config.prototype.controls.unlink={exec:function(e,t){var n=i.Dom.closest(t,"a",e.editor);n&&i.Dom.unwrap(n),e.synchronizeValues(),e.e.fire("hidePopup")},tooltip:"Unlink"},r.Config.prototype.controls.link={isActive:function(e){var t=e.s.current();return Boolean(t&&i.Dom.closest(t,"a",e.editor))},popup:function(e,t,n,r){return e.e.fire("generateLinkForm.link",t,r)},tags:["a"],tooltip:"Insert link"}},3038:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.link=void 0;var r=n(20255),o=n(36516),i=n(83370),a=n(76454),s=n(18731),l=n(16672);n(59605);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"link",group:"insert"}],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.link.followOnDblClick&&e.e.on("dblclick.link",this.onDblClickOnLink),e.o.link.processPastedLink&&e.e.on("processPaste.link",this.onProcessPasteLink),e.e.on("generateLinkForm.link",this.generateForm),e.registerCommand("openLinkDialog",{exec:function(){var n=e.dlg({resizable:!1}),r=t.generateForm(e.s.current(),(function(){n.close()}));r.container.classList.add("jodit-dialog_alert"),n.setContent(r),n.open(),e.async.requestIdleCallback((function(){var e=(0,i.refs)(r.container).url_input;null==e||e.focus()}))},hotkeys:e.o.link.hotkeys})},t.prototype.onDblClickOnLink=function(e){if(o.Dom.isTag(e.target,"a")){var t=(0,i.attr)(e.target,"href");t&&(location.href=t,e.preventDefault())}},t.prototype.onProcessPasteLink=function(e,t){var n=this.jodit;if((0,i.isURL)(t)){if(n.o.link.processVideoLink){var r=(0,i.convertMediaUrlToVideoEmbed)(t);if(r!==t)return n.e.stopPropagation("processPaste"),n.createInside.fromHTML(r)}var o=n.createInside.element("a");return o.setAttribute("href",t),o.textContent=t,n.e.stopPropagation("processPaste"),n.e.fire("applyLink",n,o,null),o}},t.prototype.generateForm=function(e,t){var n,r=this.jodit,a=r.i18n.bind(r),s=r.o.link,l=s.openInNewTabCheckbox,c=s.noFollowCheckbox,u=s.formClassName,d=s.modeClassName,f=(0,s.formTemplate)(r),p=(0,i.isString)(f)?r.c.fromHTML(f,{target_checkbox_box:l,nofollow_checkbox_box:c}):f,h=o.Dom.isElement(p)?p:p.container,m=(0,i.refs)(h),g=m.insert,v=m.unlink,b=m.content_input_box,y=m.target_checkbox,A=m.nofollow_checkbox,x=m.url_input,C=o.Dom.isImage(e),_=m.content_input,w=m.className_input,k=m.className_select;_||(_=r.c.element("input",{type:"hidden",ref:"content_input"})),u&&h.classList.add(u),C&&o.Dom.hide(b);var S=function(){return n?n.innerText:(0,i.stripTags)(r.s.range.cloneContents(),r.ed)};if(n=!(!e||!o.Dom.closest(e,"a",r.editor))&&o.Dom.closest(e,"a",r.editor),!C&&e&&(_.value=S()),n){if(x.value=(0,i.attr)(n,"href")||"",d)switch(d){case"input":w&&(w.value=(0,i.attr)(n,"class")||"");break;case"select":if(k){for(var E=0;k.selectedOptions.length>E;E++){var B=k.options.item(E);B&&(B.selected=!1)}((0,i.attr)(n,"class")||"").split(" ").forEach((function(e){if(e)for(var t=0;k.options.length>t;t++){var n=k.options.item(t);(null==n?void 0:n.value)&&n.value===e&&(n.selected=!0)}}))}}l&&y&&(y.checked="_blank"===(0,i.attr)(n,"target")),c&&A&&(A.checked="nofollow"===(0,i.attr)(n,"rel")),g.textContent=a("Update")}else o.Dom.hide(v);r.editor.normalize();var O=r.history.snapshot.make();v&&r.e.on(v,"click",(function(e){r.s.restore(),r.history.snapshot.restore(O),n&&o.Dom.unwrap(n),r.synchronizeValues(),t(),e.preventDefault()}));var j=function(){if(!x.value.trim().length)return x.focus(),x.classList.add("jodit_error"),!1;var e;r.s.restore(),r.s.removeMarkers(),r.editor.normalize(),r.history.snapshot.restore(O);var a=S()!==_.value.trim(),s=r.createInside;if(n)e=[n];else{if(r.s.isCollapsed()){var u=s.element("a");r.s.insertNode(u,!1,!1),e=[u]}else{var f=r.s.current();e=o.Dom.isTag(f,["img"])?[o.Dom.wrap(f,"a",s)]:r.s.wrapInTag("a")}e.forEach((function(e){return r.s.select(e)}))}return e.forEach((function(e){var t;if((0,i.attr)(e,"href",x.value),d&&(null!=w?w:k))if("input"===d)""===w.value&&e.hasAttribute("class")&&(0,i.attr)(e,"class",null),""!==w.value&&(0,i.attr)(e,"class",w.value);else if("select"===d){e.hasAttribute("class")&&(0,i.attr)(e,"class",null);for(var n=0;k.selectedOptions.length>n;n++){var o=null===(t=k.selectedOptions.item(n))||void 0===t?void 0:t.value;o&&e.classList.add(o)}}if(!C){var s=e.textContent;_.value.trim().length?a&&(s=_.value):s=x.value,s!==e.textContent&&(e.textContent=s)}l&&y&&(0,i.attr)(e,"target",y.checked?"_blank":null),c&&A&&(0,i.attr)(e,"rel",A.checked?"nofollow":null),r.e.fire("applyLink",r,e,p)})),r.synchronizeValues(),t(),!1};return o.Dom.isElement(p)?r.e.on(p,"submit",(function(e){return e.preventDefault(),e.stopImmediatePropagation(),j(),!1})):p.onSubmit(j),p},t.prototype.beforeDestruct=function(e){e.e.off("generateLinkForm.link",this.generateForm).off("dblclick.link",this.onDblClickOnLink).off("processPaste.link",this.onProcessPasteLink)},r.__decorate([s.autobind],t.prototype,"onDblClickOnLink",null),r.__decorate([s.autobind],t.prototype,"onProcessPasteLink",null),r.__decorate([s.autobind],t.prototype,"generateForm",null),t}(a.Plugin);t.link=c,l.pluginSystem.add("link",c)},85670:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formTemplate=void 0;var r=n(20935),o=n(25242);t.formTemplate=function(e){var t=e.o.link,n=t.openInNewTabCheckbox,i=t.noFollowCheckbox,a=t.modeClassName,s=t.selectSizeClassName,l=t.selectMultipleClassName,c=t.selectOptionsClassName;return new r.UIForm(e,[new r.UIBlock(e,[new r.UIInput(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new r.UIBlock(e,[new r.UIInput(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),a?new r.UIBlock(e,["input"===a?new r.UIInput(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===a?new r.UISelect(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:l,options:c}):null]):null,n?new r.UICheckbox(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new r.UICheckbox(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new r.UIBlock(e,[new o.UIButton(e,{name:"unlink",variant:"default",text:"Unlink"}),new o.UIButton(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},97821:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.mediaFakeTag="jodit-media",r.Config.prototype.mediaInFakeBlock=!0,r.Config.prototype.mediaBlocks=["video","audio"]},60436:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.media=void 0;var r=n(47386),o=n(38301),i=n(16672);function a(e){var t="jodit_fake_wrapper",n=e.options,i=n.mediaFakeTag,a=n.mediaBlocks;n.mediaInFakeBlock&&e.e.on("afterGetValueFromEditor",(function(e){var n=new RegExp("<".concat(i,"[^>]+data-").concat(t,"[^>]+>([^]+?)</").concat(i,">"),"ig");n.test(e.value)&&(e.value=e.value.replace(n,"$1"))})).on("change afterInit afterSetMode changePlace",e.async.debounce((function(){e.isDestructed||e.getMode()===r.MODE_SOURCE||(0,o.$$)(a.join(","),e.editor).forEach((function(n){(0,o.dataBind)(n,t)||((0,o.dataBind)(n,t,!0),function(n){var r;if(n.parentNode&&(0,o.attr)(n.parentNode,"data-jodit_iframe_wrapper"))n=n.parentNode;else{var a=e.createInside.element(i,((r={"data-jodit-temp":1,contenteditable:!1,draggable:!0})["data-".concat(t)]=1,r));(0,o.attr)(a,"style",(0,o.attr)(n,"style")),a.style.display="inline-block"===n.style.display?"inline-block":"block",a.style.width=n.offsetWidth+"px",a.style.height=n.offsetHeight+"px",n.parentNode&&n.parentNode.insertBefore(a,n),a.appendChild(n),n=a}e.e.off(n,"mousedown.select touchstart.select").on(n,"mousedown.select touchstart.select",(function(){e.s.setCursorAfter(n)}))}(n))}))}),e.defaultTimeout))}n(97821),t.media=a,i.pluginSystem.add("media",a)},55090:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(47386),i=n(5243),a=n(83370),s=n(50);r.Config.prototype.mobileTapTimeout=300,r.Config.prototype.toolbarAdaptive=!0,r.Config.prototype.controls.dots={mode:o.MODE_SOURCE+o.MODE_WYSIWYG,popup:function(e,t,n,r,o){var l=n.data;return void 0===l&&(l={toolbar:(0,i.makeCollection)(e),rebuild:function(){var t;if(o){var n=e.e.fire("getDiffButtons.mobile",o.closest(s.ToolbarCollection));if(n&&l){l.toolbar.build((0,a.splitArray)(n));var r=(null===(t=e.toolbar.firstButton)||void 0===t?void 0:t.container.offsetWidth)||36;l.toolbar.container.style.width=3*(r+4)+"px"}}}},n.data=l),l.rebuild(),l.toolbar},tooltip:"Show all"}},98687:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mobile=void 0;var r=n(83370),o=n(20220),i=n(16672);function a(e){var t=0,n=(0,r.splitArray)(e.o.buttons);e.o.mobileTapTimeout&&e.e.on("touchend",(function(n){if(n.changedTouches&&n.changedTouches.length){var r=(new Date).getTime(),o=r-t;o>e.o.mobileTapTimeout&&(t=r,1.5*e.o.mobileTapTimeout>o&&e.s.insertCursorAtPoint(n.clientX,n.clientY))}})),e.e.on("getDiffButtons.mobile",(function(t){if(t===e.toolbar){var i=(0,o.flatButtonsSet)((0,r.splitArray)(e.o.buttons),e),a=(0,o.flatButtonsSet)(n,e);return(0,r.toArray)(i).reduce((function(e,t){return a.has(t)||e.push(t),e}),[])}})),e.o.toolbarAdaptive&&e.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",(function(){var t;if(e.o.toolbar){var o=(null!==(t=e.container.parentElement)&&void 0!==t?t:e.container).offsetWidth,i=(0,r.splitArray)(e.isFullSize||o>=e.o.sizeLG?e.o.buttons:e.o.sizeMD>o?e.o.sizeSM>o?e.o.buttonsXS:e.o.buttonsSM:e.o.buttonsMD);i.toString()!==n.toString()&&(n=i,e.e.fire("closeAllPopups"),e.toolbar.setRemoveButtons(e.o.removeButtons).build(n.concat(e.o.extraButtons)))}})).on(e.ow,"load resize",(function(){return e.e.fire("recalcAdaptive")}))}n(55090),t.mobile=a,i.pluginSystem.add("mobile",a)},76221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(75698),i=function(e,t,n){var r,i=n.control,a="button".concat(i.command),s=null!==(r=i.args&&i.args[0])&&void 0!==r?r:(0,o.dataBind)(e,a);(0,o.dataBind)(e,a,s),e.execCommand(i.command,!1,"default"===s?null:s)};n(80353).Icon.set("ol",n(15476)).set("ul",n(59403)),r.Config.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:i},r.Config.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:i}},52999:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.orderedList=void 0;var r=n(20255),o=n(76454),i=n(18731),a=n(16672);n(76221);var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"ul",group:"list"},{name:"ol",group:"list"}],t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)},t.prototype.onCommand=function(e,t,n){return this.jodit.s.applyStyle({listStyleType:null!=n?n:null},{element:"insertunorderedlist"===e?"ul":"ol"}),this.jodit.synchronizeValues(),!1},t.prototype.beforeDestruct=function(e){},r.__decorate([i.autobind],t.prototype,"onCommand",null),t}(o.Plugin);t.orderedList=s,a.pluginSystem.add("orderedList",s)},58635:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(47386);r.Config.prototype.askBeforePasteFromWord=!0,r.Config.prototype.processPasteFromWord=!0,r.Config.prototype.defaultActionOnPasteFromWord=null,r.Config.prototype.pasteFromWordActionList=[{value:o.INSERT_AS_HTML,text:"Keep"},{value:o.INSERT_AS_TEXT,text:"Clean"},{value:o.INSERT_ONLY_TEXT,text:"Insert only Text"}]},51206:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pasteFromWord=void 0;var r=n(20255),o=n(76454),i=n(83370),a=n(47386),s=n(18731),l=n(27610),c=n(16672);n(58635);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["paste"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.beforeDestruct=function(e){},t.prototype.processWordHTML=function(e,t,n){var r=this,o=this.j,a=o.o,s=a.askBeforePasteFromWord,c=a.defaultActionOnPasteFromWord,u=a.defaultActionOnPaste,d=a.pasteFromWordActionList;return!(!a.processPasteFromWord||!(0,i.isHtmlFromWord)(t)||(s?(0,l.askInsertTypeDialog)(o,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",(function(o){r.insertFromWordByType(e,t,o,n)}),d):this.insertFromWordByType(e,t,c||u,n),0))},t.prototype.insertFromWordByType=function(e,t,n,r){var o;switch(n){case a.INSERT_AS_HTML:t=(0,i.applyStyles)(t);var s=null===(o=this.j.events)||void 0===o?void 0:o.fire("beautifyHTML",t);(0,i.isString)(s)&&(t=s);break;case a.INSERT_AS_TEXT:t=(0,i.cleanFromWord)(t);break;case a.INSERT_ONLY_TEXT:t=(0,i.stripTags)((0,i.cleanFromWord)(t))}(0,l.pasteInsertHtml)(e,this.j,t)},r.__decorate([(0,s.watch)(":processHTML")],t.prototype,"processWordHTML",null),t}(o.Plugin);t.pasteFromWord=u,c.pluginSystem.add("pasteFromWord",u)},41246:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pasteStorage=void 0;var r=n(20255);n(71708);var o=n(47386),i=n(90431),a=n(65401),s=n(83370),l=n(6816),c=n(16672),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.currentIndex=0,t.list=[],t.container=null,t.listBox=null,t.previewBox=null,t.dialog=null,t.paste=function(){if(t.j.s.focus(),t.j.s.insertHTML(t.list[t.currentIndex]),0!==t.currentIndex){var e=t.list[0];t.list[0]=t.list[t.currentIndex],t.list[t.currentIndex]=e}t.dialog&&t.dialog.close(),t.j.synchronizeValues(),t.j.e.fire("afterPaste")},t.onKeyDown=function(e){var n=t.currentIndex;-1!==[o.KEY_UP,o.KEY_DOWN,o.KEY_ENTER].indexOf(e.key)&&(e.key===o.KEY_UP&&(0===n?n=t.list.length-1:n-=1),e.key===o.KEY_DOWN&&(n===t.list.length-1?n=0:n+=1),e.key!==o.KEY_ENTER?(n!==t.currentIndex&&t.selectIndex(n),e.stopImmediatePropagation(),e.preventDefault()):t.paste())},t.selectIndex=function(e){t.listBox&&(0,s.toArray)(t.listBox.childNodes).forEach((function(n,r){n.classList.remove("jodit_active"),e===r&&t.previewBox&&(n.classList.add("jodit_active"),t.previewBox.innerHTML=t.list[e],n.focus())})),t.currentIndex=e},t.showDialog=function(){2>t.list.length||(t.dialog||t.createDialog(),t.listBox&&(t.listBox.innerHTML=""),t.previewBox&&(t.previewBox.innerHTML=""),t.list.forEach((function(e,n){var r=t.j.c.element("a");r.textContent=n+1+". "+e.replace((0,o.SPACE_REG_EXP)(),""),t.j.e.on(r,"keydown",t.onKeyDown),(0,s.attr)(r,"href","#"),(0,s.attr)(r,"data-index",n.toString()),(0,s.attr)(r,"tab-index","-1"),t.listBox&&t.listBox.appendChild(r)})),t.dialog&&t.dialog.open(),t.j.async.setTimeout((function(){t.selectIndex(0)}),100))},t}return r.__extends(t,e),t.prototype.createDialog=function(){var e=this;this.dialog=this.j.dlg();var t=(0,l.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);var n=(0,l.Button)(this.j,"","Cancel");n.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,n]),this.j.e.on(this.listBox,"click dblclick",(function(t){var n=t.target;return a.Dom.isTag(n,"a")&&n.hasAttribute("data-index")&&e.selectIndex(parseInt((0,s.attr)(n,"-index")||"0",10)),"dblclick"===t.type&&e.paste(),!1}))},t.prototype.afterInit=function(){var e=this;this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",(function(){return e.list.length})).on("afterCopy.paste-storage",(function(t){-1!==e.list.indexOf(t)&&e.list.splice(e.list.indexOf(t),1),e.list.unshift(t),e.list.length>5&&(e.list.length=5)})),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})},t.prototype.beforeDestruct=function(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),a.Dom.safeRemove(this.previewBox),a.Dom.safeRemove(this.listBox),a.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]},t}(i.Plugin);t.pasteStorage=u,c.pluginSystem.add("pasteStorage",u)},12267:function(e,t,n){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0});var o=n(20255),i=n(47386),a=n(80031),s=n(27610);a.Config.prototype.askBeforePasteHTML=!0,a.Config.prototype.processPasteHTML=!0,a.Config.prototype.pasteHTMLActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Insert as Text"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}],a.Config.prototype.memorizeChoiceWhenPasteFragment=!1,a.Config.prototype.nl2brInPlainText=!0;var l="pasteStorage";a.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec:function(e,t,n){var r=n.control;return o.__awaiter(this,void 0,void 0,(function(){var t,n,a,c,u;return o.__generator(this,(function(o){switch(o.label){case 0:if(r.name===l)return e.execCommand("showPasteStorage"),[2];if(e.s.focus(),t="",n=!0,!navigator.clipboard)return[3,11];o.label=1;case 1:return o.trys.push([1,6,,7]),[4,navigator.clipboard.read()];case 2:return(a=o.sent())&&a.length?[4,a[0].getType(i.TEXT_PLAIN)]:[3,5];case 3:return c=o.sent(),[4,new Response(c).text()];case 4:t=o.sent(),o.label=5;case 5:return n=!1,[3,7];case 6:return o.sent(),[3,7];case 7:if(!n)return[3,11];o.label=8;case 8:return o.trys.push([8,10,,11]),[4,navigator.clipboard.readText()];case 9:return t=o.sent(),n=!1,[3,11];case 10:return o.sent(),[3,11];case 11:return n&&(t=e.buffer.get(i.CLIPBOARD_ID)||"",n=0===t.length),u=e.value,n?(e.ed.execCommand("paste"),!(n=u===e.value)&&e.e.fire("afterPaste")):t.length?((0,s.pasteInsertHtml)(null,e,t),e.e.fire("afterPaste")):n&&e.alert("Your browser doesn't support direct access to the clipboard.",(function(){e.s.focus()})),[2]}}))}))},list:(r={},r[l]="Paste Storage",r),isChildDisabled:function(e){return 2>e.e.fire("pasteStorageList")}}},27610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.askInsertTypeDialog=t.getAllTypes=t.pasteInsertHtml=void 0;var r=n(20255),o=n(80450),i=n(65401),a=n(47386),s=n(6816);t.pasteInsertHtml=function(e,t,n){if(!t.isInDestruct){(function(e){return Boolean(e&&"drop"===e.type)})(e)&&t.s.insertCursorAtPoint(e.clientX,e.clientY);var r=t.e.fire("beforePasteInsert",n);!(0,o.isVoid)(r)&&((0,o.isString)(r)||(0,o.isNumber)(r)||i.Dom.isNode(r))&&(n=r),(0,o.isString)(n)&&(n=function(e){var t=(e=e.replace(/<meta[^>]+?>/g,"")).search(/<!--StartFragment-->/i);-1!==t&&(e=e.substring(t+20));var n=e.search(/<!--EndFragment-->/i);return-1!==n&&(e=e.substring(0,n)),e}(n)),t.s.insertHTML(n)}},t.getAllTypes=function(e){var t=e.types,n="";if((0,o.isArray)(t)||"[object DOMStringList]"==={}.toString.call(t))for(var r=0;t.length>r;r+=1)n+=t[r]+";";else n=(t||a.TEXT_PLAIN).toString()+";";return n},t.askInsertTypeDialog=function(e,t,n,o,i){if(!1!==e.e.fire("beforeOpenPasteDialog",t,n,o,i)){var a=e.confirm('<div style="word-break: normal; white-space: normal">'.concat(e.i18n(t),"</div>"),e.i18n(n)),l=i.map((function(t){var n=t.text,r=t.value;return(0,s.Button)(e,{text:n,name:n.toLowerCase(),tabIndex:0}).onAction((function(){a.close(),o(r)}))}));a.e.one(a,"afterClose",(function(){e.s.isFocused()||e.s.focus()}));var c=(0,s.Button)(e,{text:"Cancel",tabIndex:0}).onAction((function(){a.close()}));return a.setFooter(r.__spreadArray(r.__spreadArray([],r.__read(l),!1),[c],!1)),l[0].focus(),l[0].state.variant="primary",e.e.fire("afterOpenPasteDialog",a,t,n,o,i),a}}},6718:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.paste=void 0;var r=n(20255),o=n(90431),i=n(47386),a=n(65401),s=n(18731),l=n(83370),c=n(16672),u=n(27610);n(12267);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.pasteStack=new l.LimitedStack(20),t._isDialogOpened=!1,t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(function(e){return t.pasteStack.push(e)})),e.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)},t.prototype.beforeDestruct=function(e){e.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")},t.prototype.onPaste=function(e){try{if(!1===this.customPasteProcess(e)||!1===this.j.e.fire("beforePaste",e))return e.preventDefault(),!1;this.defaultPasteProcess(e)}finally{this.j.e.fire("afterPaste",e)}},t.prototype.customPasteProcess=function(e){if(this.j.o.processPasteHTML){var t,n=(0,l.getDataTransfer)(e),r={html:null==n?void 0:n.getData(i.TEXT_HTML),plain:null==n?void 0:n.getData(i.TEXT_PLAIN),rtf:null==n?void 0:n.getData(i.TEXT_RTF)};for(t in r){var o=r[t];if((0,l.isHTML)(o)&&(this.j.e.fire("processHTML",e,o,r)||this.processHTML(e,o)))return!1}}},t.prototype.defaultPasteProcess=function(e){var t=(0,l.getDataTransfer)(e),n=(null==t?void 0:t.getData(i.TEXT_HTML))||(null==t?void 0:t.getData(i.TEXT_PLAIN));if(t&&n&&""!==(0,l.trim)(n)){var r=this.j.e.fire("processPaste",e,n,(0,u.getAllTypes)(t));void 0!==r&&(n=r),((0,l.isString)(n)||a.Dom.isNode(n))&&this.insertByType(e,n,this.j.o.defaultActionOnPaste),e.preventDefault(),e.stopPropagation()}},t.prototype.processHTML=function(e,t){var n=this;if(this.j.o.askBeforePasteHTML){if(this.j.o.memorizeChoiceWhenPasteFragment){var r=this.pasteStack.find((function(e){return e.html===t}));if(r)return this.insertByType(e,t,r.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;var o=(0,u.askInsertTypeDialog)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(function(r){n._isDialogOpened=!1,n.insertByType(e,t,r)}),this.j.o.pasteHTMLActionList);return o&&(this._isDialogOpened=!0,o.e.on("beforeClose",(function(){n._isDialogOpened=!1}))),!0}return!1},t.prototype.insertByType=function(e,t,n){if(this.pasteStack.push({html:t,action:n}),(0,l.isString)(t))switch(this.j.buffer.set(i.CLIPBOARD_ID,t),n){case i.INSERT_CLEAR_HTML:t=(0,l.cleanFromWord)(t);break;case i.INSERT_ONLY_TEXT:t=(0,l.stripTags)(t);break;case i.INSERT_AS_TEXT:t=(0,l.htmlspecialchars)(t)}(0,u.pasteInsertHtml)(e,this.j,t)},t.prototype.onProcessPasteReplaceNl2Br=function(e,t,n){if(n===i.TEXT_PLAIN+";"&&!(0,l.isHTML)(t))return(0,l.nl2br)(t)},r.__decorate([s.autobind],t.prototype,"onPaste",null),r.__decorate([s.autobind],t.prototype,"onProcessPasteReplaceNl2Br",null),t}(o.Plugin);t.paste=d,c.pluginSystem.add("paste",d)},49113:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},90651:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholder=t.isEditorEmpty=void 0;var r=n(20255);n(51629);var o=n(47386),i=n(83370),a=n(36516),s=n(90431),l=n(47386),c=n(18731),u=n(74700),d=n(16672);function f(e){if(!e.firstChild)return!0;var t=e.firstChild;if(l.MAY_BE_REMOVED_WITH_KEY.test(t.nodeName)||/^(TABLE)$/i.test(t.nodeName))return!1;var n=a.Dom.next(t,(function(e){return e&&!a.Dom.isEmptyTextNode(e)}),e);return a.Dom.isText(t)&&!n?a.Dom.isEmptyTextNode(t):!n&&a.Dom.each(t,(function(e){return!a.Dom.isTag(e,["ul","li","ol"])&&(a.Dom.isEmpty(e)||a.Dom.isTag(e,"br"))}))}n(49113),t.isEditorEmpty=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.addNativeListeners=function(){t.j.e.off(t.j.editor,"input.placeholder keydown.placeholder").on(t.j.editor,"input.placeholder keydown.placeholder",t.toggle)},t.addEvents=function(){var e=t.j;e.o.useInputsPlaceholder&&e.element.hasAttribute("placeholder")&&(t.placeholderElm.innerHTML=(0,i.attr)(e.element,"placeholder")||""),e.e.fire("placeholder",t.placeholderElm.innerHTML),e.e.off(".placeholder").on("changePlace.placeholder",t.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",t.toggle).on(window,"load",t.toggle),t.addNativeListeners(),t.toggle()},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.o.showPlaceholder&&(this.placeholderElm=e.c.fromHTML('<span data-ref="placeholder" style="display: none;" class="jodit-placeholder">'.concat(e.i18n(e.o.placeholder),"</span>")),"rtl"===e.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),e.e.on("readonly",(function(e){e?t.hide():t.toggle()})).on("changePlace",this.addEvents),this.addEvents())},t.prototype.show=function(){var e=this.j;if(!e.o.readonly){var t=0,n=0,r=e.s.current(),o=r&&a.Dom.closest(r,a.Dom.isBlock,e.editor)||e.editor,s=e.ew.getComputedStyle(o);e.workplace.appendChild(this.placeholderElm);var l=e.editor.firstChild;if(a.Dom.isElement(l)&&!u.Select.isMarker(l)){var c=e.ew.getComputedStyle(l);t=parseInt(c.getPropertyValue("margin-top"),10),n=parseInt(c.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(c.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=c.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(s.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=s.getPropertyValue("line-height");(0,i.css)(this.placeholderElm,{display:"block",textAlign:s.getPropertyValue("text-align"),marginTop:Math.max(parseInt(s.getPropertyValue("margin-top"),10),t),marginLeft:Math.max(parseInt(s.getPropertyValue("margin-left"),10),n)})}},t.prototype.hide=function(){a.Dom.safeRemove(this.placeholderElm)},t.prototype.toggle=function(){var e=this.j;e.editor&&!e.isInDestruct&&(e.getRealMode()===o.MODE_WYSIWYG&&f(e.editor)?this.show():this.hide())},t.prototype.beforeDestruct=function(e){this.hide(),e.e.off(".placeholder").off(window,"load",this.toggle)},r.__decorate([(0,c.debounce)((function(e){return e.defaultTimeout/10}),!0)],t.prototype,"toggle",null),t}(s.Plugin);t.placeholder=p,d.pluginSystem.add("placeholder",p)},66101:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.poweredByJodit=void 0;var r=n(16672);function o(e){var t=e.o;t.hidePoweredByJodit||t.inline||!(t.showCharsCounter||t.showWordsCounter||t.showXPathInStatusbar)||e.hookStatus("ready",(function(){e.statusbar.append(e.create.fromHTML('<a\n\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\tstyle="text-transform: uppercase"\n\t\t\t\t\t\tclass="jodit-status-bar-link"\n\t\t\t\t\t\ttarget="_blank"\n\t\t\t\t\t\thref="https://xdsoft.net/jodit/">\n\t\t\t\t\t\t\tPowered by Jodit\n\t\t\t\t\t\t</a>'),!0)}))}t.poweredByJodit=o,r.pluginSystem.add("poweredByJodit",o)},12315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.preview=void 0,n(54860);var r=n(80031),o=n(47386),i=n(25846),a=n(16672);function s(e){e.registerButton({name:"preview"}),e.registerCommand("preview",(function(t,n,r){var o=e.dlg();o.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0),(0,i.previewBox)(e,r,"px",o.getElm("content"))}))}r.Config.prototype.controls.preview={icon:"eye",command:"preview",mode:o.MODE_SOURCE+o.MODE_WYSIWYG,tooltip:"Preview"},t.preview=s,a.pluginSystem.add("preview",s)},78420:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.generateCriticalCSS=void 0;var r=n(20255),o=n(58260);t.generateCriticalCSS=function(e){var t=function(e,t){return void 0===t&&(t=e.ownerDocument.styleSheets),(0,o.toArray)(t).map((function(e){try{return(0,o.toArray)(e.cssRules)}catch(e){}return[]})).flat().filter((function(t){try{return Boolean(t&&e.matches(t.selectorText))}catch(e){}return!1}))},n=function(){function n(n,o,i){var a=this;this.css={};var s=i||{},l=function(t){var n=t.selectorText.split(",").map((function(e){return e.trim()})).sort().join(",");!1===Boolean(a.css[n])&&(a.css[n]={});for(var o=t.style.cssText.split(/;(?![A-Za-z0-9])/),i=0;o.length>i;i++)if(o[i]){var s=o[i].split(":");s[0]=s[0].trim(),s[1]=s[1].trim(),a.css[n][s[0]]=s[1].replace(/var\(([^)]+)\)/g,(function(t,n){var o=r.__read(n.split(","),2),i=o[0],a=o[1];return(e.ew.getComputedStyle(e.editor).getPropertyValue(i.trim())||a||t).trim()}))}};!function(){for(var r=n.innerHeight,i=o.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,(function(){return NodeFilter.FILTER_ACCEPT}));i.nextNode();){var a=i.currentNode;if(r>a.getBoundingClientRect().top||s.scanFullPage){var c=t(a);if(c)for(var u=0;c.length>u;u++)l(c[u])}}}()}return n.prototype.generateCSS=function(){var e="";for(var t in this.css)if(!/:not\(/.test(t)){for(var n in e+=t+" { ",this.css[t])e+=n+": "+this.css[t][n]+"; ";e+="}\n"}return e},n}();try{return new n(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch(e){}return""}},83412:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.print=void 0;var r=n(80031),o=n(16672),i=n(36516),a=n(4371),s=n(47386),l=n(16672),c=n(80353),u=n(78420),d=n(25846);function f(e){e.registerButton({name:"print"})}c.Icon.set("print",n(22860)),r.Config.prototype.controls.print={exec:function(e){var t=e.create.element("iframe");Object.assign(t.style,{position:"fixed",right:0,bottom:0,width:0,height:0,border:0}),(0,o.getContainer)(e,r.Config).appendChild(t);var n=function(){e.e.off(e.ow,"mousemove",n),i.Dom.safeRemove(t)},s=t.contentWindow;if(s){e.e.on(s,"onbeforeunload onafterprint",n).on(e.ow,"mousemove",n),e.o.iframe?(e.e.fire("generateDocumentStructure.iframe",s.document,e),s.document.body.innerHTML=e.value):(s.document.write('<!doctype html><html lang="'+(0,a.defaultLanguage)(e.o.language)+'"><head><title></title></head><style>'+(0,u.generateCriticalCSS)(e)+"</style><body></body></html>"),s.document.close(),(0,d.previewBox)(e,void 0,"px",s.document.body));var l=s.document.createElement("style");l.innerHTML="@media print {\n\t\t\t\t\tbody {\n\t\t\t\t\t\t\t-webkit-print-color-adjust: exact;\n\t\t\t\t\t}\n\t\t\t}",s.document.head.appendChild(l),s.focus(),s.print()}},mode:s.MODE_SOURCE+s.MODE_WYSIWYG,tooltip:"Print"},t.print=f,l.pluginSystem.add("print",f)},55279:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.redoUndo=void 0;var r=n(20255),o=n(80031),i=n(47386),a=n(90431),s=n(16672);n(80353).Icon.set("redo",n(95600)).set("undo",n(76214)),o.Config.prototype.controls.redo={mode:i.MODE_SPLIT,isDisabled:function(e){return!e.history.canRedo()},tooltip:"Redo"},o.Config.prototype.controls.undo={mode:i.MODE_SPLIT,isDisabled:function(e){return!e.history.canUndo()},tooltip:"Undo"};var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}],t}return r.__extends(t,e),t.prototype.beforeDestruct=function(){},t.prototype.afterInit=function(e){var t=function(t){return e.history[t](),!1};e.registerCommand("redo",{exec:t,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),e.registerCommand("undo",{exec:t,hotkeys:["ctrl+z","cmd+z"]})},t}(a.Plugin);t.redoUndo=l,s.pluginSystem.add("redoUndo",l)},34885:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.tableAllowCellResize=!0},31264:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeCells=void 0;var r=n(20255);n(47818);var o=n(47386),i=n(18870),a=n(83370),s=n(18731),l=n(65401),c=n(16672);n(34885);var u="table_processor_observer-resize",d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.selectMode=!1,t.resizeDelta=0,t.createResizeHandle=function(){t.resizeHandler||(t.resizeHandler=t.j.c.div("jodit-table-resizer"),t.j.e.on(t.resizeHandler,"mousedown.table touchstart.table",t.onHandleMouseDown).on(t.resizeHandler,"mouseenter.table",(function(){t.j.async.clearTimeout(t.hideTimeout)})))},t.hideTimeout=0,t.drag=!1,t.minX=0,t.maxX=0,t.startX=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isRTL",{get:function(){return"rtl"===this.j.o.direction},enumerable:!1,configurable:!0}),t.prototype.showResizeHandle=function(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)},t.prototype.hideResizeHandle=function(){var e=this;this.hideTimeout=this.j.async.setTimeout((function(){l.Dom.safeRemove(e.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})},t.prototype.onHandleMouseDown=function(e){var t=this;if(!this.j.isLocked){this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=e.clientX,this.j.lock(u),this.resizeHandler.classList.add("jodit-table-resizer_moved");var n,r=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)r=this.workTable.parentNode.getBoundingClientRect(),this.minX=r.left,this.maxX=this.minX+r.width;else{var a=i.Table.formalCoordinate(this.workTable,this.workCell,!0);i.Table.formalMatrix(this.workTable,(function(e,r,i){a[1]===i&&(n=e.getBoundingClientRect(),t.minX=Math.max(n.left+o.NEARBY/2,t.minX)),a[1]+(t.isRTL?-1:1)===i&&(n=e.getBoundingClientRect(),t.maxX=Math.min(n.left+n.width-o.NEARBY/2,t.maxX))}))}return!1}},t.prototype.onMouseMove=function(e){if(this.drag){this.j.e.fire("closeAllPopups");var t=e.clientX,n=(0,a.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>t&&(t=this.minX),t>this.maxX&&(t=this.maxX),this.resizeDelta=t-this.startX+(this.j.o.iframe?n.left:0),this.resizeHandler.style.left=t-(this.j.o.iframe?0:n.left)+"px";var r=this.j.s.sel;r&&r.removeAllRanges()}},t.prototype.onMouseUp=function(e){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==e.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())},t.prototype.resizeColumns=function(){var e=this.resizeDelta,t=[];i.Table.setColumnWidthByDelta(this.workTable,i.Table.formalCoordinate(this.workTable,this.workCell,!0)[1],e,!0,t);var n=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,this.workCell,l.Dom.isCell,this.workCell.parentNode);i.Table.setColumnWidthByDelta(this.workTable,i.Table.formalCoordinate(this.workTable,n)[1],-e,!1,t)},t.prototype.resizeTable=function(){var e=this.resizeDelta*(this.isRTL?-1:1),t=this.workTable.offsetWidth,n=(0,a.getContentWidth)(this.workTable.parentNode,this.j.ew),r=!this.wholeTable;if(this.isRTL?!r:r)this.workTable.style.width=(t+e)/n*100+"%";else{var o=this.isRTL?"marginRight":"marginLeft",i=parseInt(this.j.ew.getComputedStyle(this.workTable)[o]||"0",10);this.workTable.style.width=(t-e)/n*100+"%",this.workTable.style[o]=(i+e)/n*100+"%"}},t.prototype.setWorkCell=function(e,t){void 0===t&&(t=null),this.wholeTable=t,this.workCell=e,this.workTable=l.Dom.up(e,(function(e){return l.Dom.isTag(e,"table")}),this.j.editor)},t.prototype.calcHandlePosition=function(e,t,n,r){void 0===n&&(n=0),void 0===r&&(r=0);var i=(0,a.offset)(t,this.j,this.j.ed);if(n>o.NEARBY&&i.width-o.NEARBY>n)this.hideResizeHandle();else{var s=(0,a.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,a.offset)(e,this.j,this.j.ed);if(this.resizeHandler.style.left=(n>o.NEARBY?i.left+i.width:i.left)-s.left+r+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-s.top+"px"}),this.showResizeHandle(),n>o.NEARBY){var u=(0,a.call)(this.isRTL?l.Dom.prev:l.Dom.next,t,l.Dom.isCell,t.parentNode);this.setWorkCell(t,!!u&&null)}else{var d=(0,a.call)(this.isRTL?l.Dom.next:l.Dom.prev,t,l.Dom.isCell,t.parentNode);this.setWorkCell(d||t,!d||null)}}},t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellResize&&e.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(function(){(0,a.$$)("table",e.editor).forEach(t.observe)})).on(this.j.ow,"scroll.resize-cells",(function(){if(t.drag){var n=l.Dom.up(t.workCell,(function(e){return l.Dom.isTag(e,"table")}),e.editor);if(n){var r=n.getBoundingClientRect();t.resizeHandler.style.top=r.top+"px"}}})).on("beforeSetMode.resize-cells",(function(){t.module.getAllSelectedCells().forEach((function(n){t.module.removeSelection(n),i.Table.normalizeTable(l.Dom.closest(n,"table",e.editor))}))}))},t.prototype.observe=function(e){var t=this;(0,a.dataBind)(e,u)||((0,a.dataBind)(e,u,!0),this.j.e.on(e,"mouseleave.resize-cells",(function(e){t.resizeHandler&&t.resizeHandler!==e.relatedTarget&&t.hideResizeHandle()})).on(e,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((function(n){if(!t.j.isLocked){var r=l.Dom.up(n.target,l.Dom.isCell,e);r&&t.calcHandlePosition(e,r,n.offsetX)}}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())},t.prototype.beforeDestruct=function(e){e.events&&(e.e.off(this.j.ow,".resize-cells"),e.e.off(".resize-cells"))},r.__decorate([s.autobind],t.prototype,"onHandleMouseDown",null),r.__decorate([s.autobind],t.prototype,"onMouseMove",null),r.__decorate([s.autobind],t.prototype,"onMouseUp",null),r.__decorate([s.autobind],t.prototype,"observe",null),t}(i.Plugin);t.resizeCells=d,c.pluginSystem.add("resizeCells",d)},99020:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.allowResizeX=!1,r.Config.prototype.allowResizeY=!0},38205:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeHandler=void 0;var r=n(20255),o=n(76454),i=n(36516),a=n(18731),s=n(77688),l=n(16672);n(99020);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isResized=!1,t.start={x:0,y:0,w:0,h:0},t.handle=t.j.c.div("jodit-editor__resize",s.Icon.get("resize_handler")),t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this,n=e.o,r=n.height,o=n.width,i=e.o.allowResizeY;"auto"===r&&"auto"!==o&&(i=!1),"auto"===r&&"auto"===o||!n.allowResizeX&&!i||(e.statusbar.setMod("resize-handle",!0),e.e.on("toggleFullSize.resizeHandler",(function(){t.handle.style.display=e.isFullSize?"none":"block"})).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(e.ow,"mouseup touchend",this.onHandleResizeEnd),e.container.appendChild(this.handle))},t.prototype.onHandleResizeStart=function(e){this.isResized=!0,this.start.x=e.clientX,this.start.y=e.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),e.preventDefault()},t.prototype.onHandleResize=function(e){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+e.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+e.clientX-this.start.x),this.j.e.fire("resize"))},t.prototype.onHandleResizeEnd=function(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())},t.prototype.beforeDestruct=function(){i.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)},t.requires=["size"],r.__decorate([a.autobind],t)}(o.Plugin);t.resizeHandler=c,l.pluginSystem.add("resizeHandler",c)},10432:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.allowResizeTags=["img","iframe","table","jodit"],r.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:["img"]}},26733:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizer=void 0;var r=n(20255);n(6316);var o=n(47386),i=n(47386),a=n(65401),s=n(83370),l=n(90431),c=n(16672),u=n(18731),d=n(16672);n(10432);var f="__jodit-resizer_binded",p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.LOCK_KEY="resizer",t.element=null,t.isResizeMode=!1,t.isShown=!1,t.startX=0,t.startY=0,t.width=0,t.height=0,t.ratio=0,t.rect=t.j.c.fromHTML('<div title="'.concat(t.j.i18n("Press Alt for custom resizing"),'" class="jodit-resizer">\n\t\t\t\t<div class="jodit-resizer__top-left"></div>\n\t\t\t\t<div class="jodit-resizer__top-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-right"></div>\n\t\t\t\t<div class="jodit-resizer__bottom-left"></div>\n\t\t\t\t<span>100x100</span>\n\t\t\t</div>')),t.sizeViewer=t.rect.getElementsByTagName("span")[0],t.pointerX=0,t.pointerY=0,t.isAltMode=!1,t.onClickElement=function(e){t.isResizeMode||t.element===e&&t.isShown||(t.element=e,t.show(),a.Dom.isTag(t.element,"img")&&!t.element.complete&&t.j.e.one(t.element,"load",t.updateSize))},t.updateSize=function(){if(!t.isInDestruct&&t.isShown&&t.element&&t.rect){var e=t.getWorkplacePosition(),n=(0,s.offset)(t.element,t.j,t.j.ed),r=parseInt(t.rect.style.left||"0",10),o=parseInt(t.rect.style.top||"0",10),i=n.top-e.top,a=n.left-e.left;o===i&&r===a&&t.rect.offsetWidth===t.element.offsetWidth&&t.rect.offsetHeight===t.element.offsetHeight||((0,s.css)(t.rect,{top:i,left:a,width:t.element.offsetWidth,height:t.element.offsetHeight}),t.j.events&&(t.j.e.fire(t.element,"changesize"),isNaN(r)||t.j.e.fire("resize")))}},t.hideSizeViewer=function(){t.sizeViewer.style.opacity="0"},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;(0,s.$$)("div",this.rect).forEach((function(n){e.e.on(n,"mousedown.resizer touchstart.resizer",t.onStartResizing.bind(t,n))})),c.eventEmitter.on("hideHelpers",this.hide),e.e.on("readonly",(function(e){e&&t.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(function(e){var t=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;t.test(e.value)&&(e.value=e.value.replace(t,"$1"))})).on("hideResizer",this.hide).on("change afterInit afterSetMode",this.onChangeEditor),this.addEventListeners(),this.onChangeEditor()},t.prototype.onEditorClick=function(e){for(var t=e.target,n=this.j,r=n.editor,o=n.options.allowResizeTags;t&&t!==r;){if(a.Dom.isTag(t,o))return this.bind(t),void this.onClickElement(t);t=t.parentNode}},t.prototype.addEventListeners=function(){var e=this,t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",(function(t){e.isShown&&t.key===o.KEY_DELETE&&e.element&&!a.Dom.isTag(e.element,"table")&&e.onDelete(t)})).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",(function(){e.isShown&&!e.isResizeMode&&e.hide()})).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)},t.prototype.onStartResizing=function(e,t){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=e,t.cancelable&&t.preventDefault(),t.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=t.clientX,this.startY=t.clientY,this.pointerX=t.clientX,this.pointerY=t.clientY;var n=this.j;n.e.fire("hidePopup"),n.lock(this.LOCK_KEY),n.e.on(n.ow,"mousemove.resizer touchmove.resizer",this.onResize)},t.prototype.onEndResizing=function(){var e=this.j;e.unlock(),this.isResizeMode=!1,this.isAltMode=!1,e.synchronizeValues(),e.e.off(e.ow,"mousemove.resizer touchmove.resizer",this.onResize)},t.prototype.onResize=function(e){if(this.isResizeMode){if(!this.element)return;this.pointerX=e.clientX,this.pointerY=e.clientY;var t=void 0,n=void 0;if(this.j.options.iframe){var r=this.getWorkplacePosition();t=e.clientX+r.left-this.startX,n=e.clientY+r.top-this.startY}else t=this.pointerX-this.startX,n=this.pointerY-this.startY;var o=this.handle.className,i=0,l=0,c=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===c||Array.isArray(c)&&a.Dom.isTag(this.element,c))?(t?(i=this.width+(o.match(/left/)?-1:1)*t,l=Math.round(i/this.ratio)):(l=this.height+(o.match(/top/)?-1:1)*n,i=Math.round(l*this.ratio)),i>(0,s.innerWidth)(this.j.editor,this.j.ow)&&(i=(0,s.innerWidth)(this.j.editor,this.j.ow),l=Math.round(i/this.ratio))):(i=this.width+(o.match(/left/)?-1:1)*t,l=this.height+(o.match(/top/)?-1:1)*n),i>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>i?i:"100%"),l>this.j.o.resizer.min_height&&this.applySize(this.element,"height",l),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),e.stopImmediatePropagation()}},t.prototype.onKeyDown=function(e){this.isAltMode=e.key===i.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()},t.prototype.onKeyUp=function(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1},t.prototype.onClickOutside=function(e){if(this.isShown){if(!this.isResizeMode)return this.hide();e.stopImmediatePropagation(),this.onEndResizing()}},t.prototype.getWorkplacePosition=function(){return(0,s.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)},t.prototype.applySize=function(e,t,n){var r=a.Dom.isImage(e)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,s.attr)(e,t,n),r&&!e.style[t]||(0,s.css)(e,t,n)},t.prototype.onDelete=function(e){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(a.Dom.safeRemove(this.element),this.hide(),e.preventDefault()))},t.prototype.onChangeEditor=function(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,s.$$)("iframe",this.j.editor).forEach(this.bind)},t.prototype.bind=function(e){var t=this;if(a.Dom.isHTMLElement(e)&&this.j.o.allowResizeTags.includes(e.tagName.toLowerCase())&&!(0,s.dataBind)(e,f)){var n;if((0,s.dataBind)(e,f,!0),a.Dom.isTag(e,"iframe")){var r=e;a.Dom.isHTMLElement(e.parentNode)&&(0,s.attr)(e.parentNode,"-jodit_iframe_wrapper")?e=e.parentNode:(n=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,s.attr)(n,"style",(0,s.attr)(e,"style")),(0,s.css)(n,{display:"inline-block"===e.style.display?"inline-block":"block",width:e.offsetWidth,height:e.offsetHeight}),e.parentNode&&e.parentNode.insertBefore(n,e),n.appendChild(e),this.j.e.on(n,"click",(function(){(0,s.attr)(n,"data-jodit-wrapper_active",!0)})),e=n),this.j.e.off(e,"mousedown.select touchstart.select").on(e,"mousedown.select touchstart.select",(function(){t.j.s.select(e)})).off(e,"changesize").on(e,"changesize",(function(){r.setAttribute("width",e.offsetWidth+"px"),r.setAttribute("height",e.offsetHeight+"px")}))}this.j.e.on(e,"dragstart",this.hide),i.IS_IE&&this.j.e.on(e,"mousedown",(function(t){a.Dom.isTag(e,"img")&&t.preventDefault()}))}},t.prototype.showSizeViewer=function(e,t){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>e||this.sizeViewer.offsetHeight>t?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent="".concat(e," x ").concat(t),this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))},t.prototype.show=function(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,s.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,s.css)(this.j.container,"zIndex").toString()),this.updateSize())},t.prototype.hide=function(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,a.Dom.safeRemove(this.rect),(0,s.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((function(e){return(0,s.attr)(e,"data-jodit-wrapper_active",!1)})))},t.prototype.beforeDestruct=function(e){this.hide(),c.eventEmitter.off("hideHelpers",this.hide),e.e.off(this.j.ow,".resizer").off(".resizer")},r.__decorate([(0,u.watch)(":click")],t.prototype,"onEditorClick",null),r.__decorate([u.autobind],t.prototype,"onStartResizing",null),r.__decorate([u.autobind],t.prototype,"onEndResizing",null),r.__decorate([u.autobind],t.prototype,"onResize",null),r.__decorate([u.autobind],t.prototype,"onKeyDown",null),r.__decorate([u.autobind],t.prototype,"onKeyUp",null),r.__decorate([u.autobind],t.prototype,"onClickOutside",null),r.__decorate([(0,u.debounce)()],t.prototype,"onChangeEditor",null),r.__decorate([u.autobind],t.prototype,"bind",null),r.__decorate([u.autobind],t.prototype,"hide",null),t}(l.Plugin);t.resizer=p,d.pluginSystem.add("resizer",p)},53798:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.useSearch=!0,r.Config.prototype.search={lazyIdleTimeout:0},o.Icon.set("search",n(41197)),r.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec:function(e,t,n){var r=n.control;switch(r.args&&r.args[0]){case"findPrevious":e.e.fire("searchPrevious");break;case"findNext":e.e.fire("searchNext");break;case"replace":e.execCommand("openReplaceDialog");break;default:e.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:function(e,t,n){return n}}},74138:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(47721),t),r.__exportStar(n(53779),t)},47721:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SentenceFinder=void 0;var r=n(20255),o=n(83212),i=function(){function e(e){void 0===e&&(e=o.fuzzySearchIndex),this.searchIndex=e,this.queue=[],this.value=""}return e.prototype.add=function(e){var t,n=(null!==(t=e.nodeValue)&&void 0!==t?t:"").toLowerCase();if(n.length){var r=this.value.length;this.queue.push({startIndex:r,endIndex:r+n.length,node:e}),this.value+=n}},e.prototype.ranges=function(e,t){var n;void 0===t&&(t=0);var o=[],i=t,a=0,s=0;do{if(a=(n=r.__read(this.searchIndex(e,this.value,i),2))[1],-1!==(i=n[0])){for(var l=void 0,c=0,u=void 0,d=0,f=s;this.queue.length>f;f+=1)if(!l&&this.queue[f].endIndex>i&&(l=this.queue[f].node,c=i-this.queue[f].startIndex),l&&this.queue[f].endIndex>=i+a){u=this.queue[f].node,d=i+a-this.queue[f].startIndex,s=f;break}l&&u&&o.push({startContainer:l,startOffset:c,endContainer:u,endOffset:d}),i+=a}}while(-1!==i);return 0===o.length?null:o},e}();t.SentenceFinder=i},53779:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSelectionWrapper=t.clearSelectionWrappersFromHTML=t.clearSelectionWrappers=t.getSelectionWrappers=t.wrapRangesTextsInTmpSpan=void 0;var r=n(20255),o=n(36516),i=n(73549),a="jd-tmp-selection";function s(e){return(0,i.$$)("[".concat(a,"]"),e)}function l(e){return o.Dom.isElement(e)&&e.hasAttribute(a)}t.wrapRangesTextsInTmpSpan=function(e,t,n,i){var s,c,u;if(null!=e.startContainer.nodeValue&&null!=e.endContainer.nodeValue){var d=n.element("span",((s={})[a]=!0,s)),f=e.startContainer.nodeValue,p=0;if(0!==e.startOffset){var h=n.text(f.substring(0,e.startOffset));e.startContainer.nodeValue=f.substring(e.startOffset),o.Dom.before(e.startContainer,h),e.startContainer===e.endContainer&&(e.endOffset-=p=e.startOffset),e.startOffset=0}var m=e.endContainer.nodeValue;if(e.endOffset!==m.length){h=n.text(m.substring(e.endOffset)),e.endContainer.nodeValue=m.substring(0,e.endOffset),o.Dom.after(e.endContainer,h);try{for(var g=r.__values(t),v=g.next();!v.done;v=g.next()){var b=v.value;if(b.startContainer!==e.endContainer)break;b.startContainer=h,b.startOffset=b.startOffset-e.endOffset-p,b.endContainer===e.endContainer&&(b.endContainer=h,b.endOffset=b.endOffset-e.endOffset-p)}}catch(e){c={error:e}}finally{try{v&&!v.done&&(u=g.return)&&u.call(g)}finally{if(c)throw c.error}}e.endOffset=e.endContainer.nodeValue.length}var y=e.startContainer;do{if(!y)break;if(o.Dom.isText(y)&&!l(y.parentNode)&&o.Dom.wrap(y,d.cloneNode(),n),y===e.endContainer)break;var A=y.firstChild||y.nextSibling;if(!A){for(;y&&!y.nextSibling&&y!==i;)y=y.parentNode;A=null==y?void 0:y.nextSibling}y=A}while(y&&y!==i)}},t.getSelectionWrappers=s,t.clearSelectionWrappers=function(e){s(e).forEach((function(e){return o.Dom.unwrap(e)}))},t.clearSelectionWrappersFromHTML=function(e){return e.replace(RegExp("<span[^>]+".concat(a,"[^>]+>(.*?)</span>"),"g"),"$1")},t.isSelectionWrapper=l},70785:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.search=void 0;var r=n(20255),o=n(36516),i=n(76454),a=n(18731),s=n(1753),l=n(83370),c=n(16672),u=n(74138);n(53798);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"find",group:"search"}],t.previousQuery="",t.drawPromise=null,t.walker=null,t.walkerCount=null,t.cache={},t.wrapFrameRequest=0,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"ui",{get:function(){return new s.UISearch(this.j)},enumerable:!1,configurable:!0}),t.prototype.updateCounters=function(){return r.__awaiter(this,void 0,Promise,(function(){var e;return r.__generator(this,(function(t){switch(t.label){case 0:return this.ui.isOpened?(e=this.ui,[4,this.calcCounts(this.ui.query)]):[2];case 1:return e.count=t.sent(),[2]}}))}))},t.prototype.onPressReplaceButton=function(){this.findAndReplace(this.ui.query),this.updateCounters()},t.prototype.tryScrollToElement=function(e){var t=o.Dom.closest(e,o.Dom.isElement,this.j.editor);t||(t=o.Dom.prev(e,o.Dom.isElement,this.j.editor)),t&&t!==this.j.editor&&(0,l.scrollIntoViewIfNeeded)(t,this.j.editor,this.j.ed)},t.prototype.calcCounts=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return this.walkerCount&&this.walkerCount.break(),this.walkerCount=new o.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),[4,this.find(this.walkerCount,e).catch((function(){return[]}))];case 1:return[2,t.sent().length]}}))}))},t.prototype.findAndReplace=function(e){return r.__awaiter(this,void 0,Promise,(function(){var t,n,i,a,s,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new o.LazyWalker(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),t=this.j.s.range,[4,this.find(this.walker,e).catch((function(){return[]}))];case 1:if(n=r.sent(),-1===(i=this.findCurrentIndexInRanges(n,t))&&(i=0),a=n[i]){try{(s=this.j.ed.createRange()).setStart(a.startContainer,a.startOffset),s.setEnd(a.endContainer,a.endOffset),s.deleteContents(),l=this.j.createInside.text(this.ui.replace),o.Dom.safeInsertNode(s,l),this.j.s.select(l),this.tryScrollToElement(l),this.cache={},this.j.synchronizeValues()}catch(e){}return this.j.e.fire("afterFindAndReplace"),[2,!0]}return[2,!1]}}))}))},t.prototype.findAndSelect=function(e,t){var n;return r.__awaiter(this,void 0,Promise,(function(){var i,a,s,l;return r.__generator(this,(function(r){switch(r.label){case 0:return this.walker&&this.walker.break(),this.walker=new o.LazyWalker(this.j.async,{timeout:this.j.defaultTimeout}),[4,this.find(this.walker,e)];case 1:if(!(i=r.sent()).length)return[2,!1];if(this.previousQuery===e&&(0,u.getSelectionWrappers)(this.j.editor).length||(null===(n=this.drawPromise)||void 0===n||n.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,u.clearSelectionWrappers)(this.j.editor),this.drawPromise=this.drawSelectionRanges(i)),this.previousQuery=e,this.ui.currentIndex=(a=-1==(a=this.ui.currentIndex-1)?0:t?a===i.length-1?0:a+1:0===a?i.length-1:a-1)+1,!(s=i[a]))return[3,4];l=this.j.ed.createRange();try{l.setStart(s.startContainer,s.startOffset),l.setEnd(s.endContainer,s.endOffset),this.j.s.selectRange(l)}catch(e){}return this.tryScrollToElement(s.startContainer),[4,this.updateCounters()];case 2:return r.sent(),[4,this.drawPromise];case 3:return r.sent(),this.j.e.fire("afterFindAndSelect"),[2,!0];case 4:return[2,!1]}}))}))},t.prototype.findCurrentIndexInRanges=function(e,t){return e.findIndex((function(e){return e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.startContainer&&e.endOffset===t.endOffset}))},t.prototype.isValidCache=function(e){return r.__awaiter(this,void 0,Promise,(function(){return r.__generator(this,(function(t){switch(t.label){case 0:return[4,e];case 1:return[2,t.sent().every((function(e){var t,n,r,o;return e.startContainer.isConnected&&e.startOffset<=(null!==(n=null===(t=e.startContainer.nodeValue)||void 0===t?void 0:t.length)&&void 0!==n?n:0)&&e.endContainer.isConnected&&e.endOffset<=(null!==(o=null===(r=e.endContainer.nodeValue)||void 0===r?void 0:r.length)&&void 0!==o?o:0)}))]}}))}))},t.prototype.find=function(e,t){return r.__awaiter(this,void 0,Promise,(function(){var n,i,a,s=this;return r.__generator(this,(function(r){switch(r.label){case 0:return t.length?(i=n=this.cache[t])?[4,this.isValidCache(n)]:[3,2]:[2,[]];case 1:i=r.sent(),r.label=2;case 2:return i?[2,n]:(a=new u.SentenceFinder(this.j.o.search.fuzzySearch),this.cache[t]=this.j.async.promise((function(n){e.on("break",(function(){n([])})).on("visit",(function(e){return o.Dom.isText(e)&&a.add(e),!1})).on("end",(function(){var e;n(null!==(e=a.ranges(t))&&void 0!==e?e:[])})).setWork(s.j.editor)})),[2,this.cache[t]])}}))}))},t.prototype.drawSelectionRanges=function(e){var t=this,n=this.j,o=n.async,i=n.createInside,a=n.editor;o.cancelAnimationFrame(this.wrapFrameRequest);var s,l=r.__spreadArray([],r.__read(e),!1),c=0;return o.promise((function(e){var n=function(){do{(s=l.shift())&&(0,u.wrapRangesTextsInTmpSpan)(s,l,i,a),c+=1}while(s&&5>=c);l.length?t.wrapFrameRequest=o.requestAnimationFrame(n):e()};n()}))},t.prototype.onAfterGetValueFromEditor=function(e){e.value=(0,u.clearSelectionWrappersFromHTML)(e.value)},t.prototype.afterInit=function(e){var t=this;if(e.o.useSearch){var n=this;e.e.on("beforeSetMode.search",(function(){t.ui.close()})).on(this.ui,"afterClose",(function(){(0,u.clearSelectionWrappers)(e.editor),t.ui.currentIndex=0,t.ui.count=0,t.cache={}})).on("click",(function(){t.ui.currentIndex=0,(0,u.clearSelectionWrappers)(e.editor)})).on("change.search",(function(){t.cache={}})).on("keydown.search mousedown.search",e.async.debounce((function(){t.ui.selInfo&&(e.s.removeMarkers(),t.ui.selInfo=null),t.ui.isOpened&&t.updateCounters()}),e.defaultTimeout)).on("searchNext.search searchPrevious.search",(function(){return t.ui.isOpened||t.ui.open(),n.findAndSelect(n.ui.query,"searchNext"===e.e.current).catch((function(){}))})).on("search.search",(function(e,r){return void 0===r&&(r=!0),t.ui.currentIndex=0,n.findAndSelect(e||"",r).catch((function(){}))})),e.registerCommand("search",{exec:function(e,t,r){return void 0===r&&(r=!0),t&&n.findAndSelect(t,r).catch((function(){})),!1}}).registerCommand("openSearchDialog",{exec:function(){return n.ui.open(),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec:function(){return e.o.readonly||n.ui.open(!0),!1},hotkeys:["ctrl+h","cmd+h"]})}},t.prototype.beforeDestruct=function(e){this.ui.destruct(),e.e.off(".search")},r.__decorate([a.cache],t.prototype,"ui",null),r.__decorate([(0,a.watch)("ui:needUpdateCounters")],t.prototype,"updateCounters",null),r.__decorate([(0,a.watch)("ui:pressReplaceButton")],t.prototype,"onPressReplaceButton",null),r.__decorate([a.autobind],t.prototype,"findAndReplace",null),r.__decorate([a.autobind],t.prototype,"findAndSelect",null),r.__decorate([a.autobind],t.prototype,"find",null),r.__decorate([(0,a.watch)(":afterGetValueFromEditor")],t.prototype,"onAfterGetValueFromEditor",null),t}(i.Plugin);t.search=d,c.pluginSystem.add("search",d)},1753:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UISearch=void 0;var r=n(20255);n(88582);var o=n(77688),i=n(83370),a=n(47386),s=n(47386),l=n(18731),c=n(36516),u=function(e){function t(t){var n=e.call(this,t)||this;n.selInfo=null,n._currentIndex=0,n.isOpened=!1;var r=(0,i.refs)(n.container),o=r.replace,a=r.cancel,l=r.next,c=r.prev,u=r.replaceBtn,d=r.current,f=r.count;return n.queryInput=r.query,n.replaceInput=o,n.closeButton=a,n.replaceButton=u,n.currentBox=d,n.countBox=f,t.e.on(n.closeButton,"pointerdown",(function(){return n.close(),!1})).on(n.queryInput,"input",(function(){n.currentIndex=0})).on(n.queryInput,"pointerdown",(function(){t.s.isFocused()&&(t.s.removeMarkers(),n.selInfo=t.s.save())})).on(n.replaceButton,"pointerdown",(function(){return t.e.fire(n,"pressReplaceButton"),!1})).on(l,"pointerdown",(function(){return t.e.fire("searchNext"),!1})).on(c,"pointerdown",(function(){return t.e.fire("searchPrevious"),!1})).on(n.queryInput,"input",(function(){n.setMod("empty-query",!(0,i.trim)(n.queryInput.value).length)})).on(n.queryInput,"keydown",n.j.async.debounce((function(e){e.key===s.KEY_ENTER?(e.preventDefault(),e.stopImmediatePropagation(),t.e.fire("searchNext")&&n.close()):t.e.fire(n,"needUpdateCounters")}),n.j.defaultTimeout)),n}return r.__extends(t,e),t.prototype.className=function(){return"UISearch"},t.prototype.render=function(){return'<div>\n\t\t\t<div class="&__box">\n\t\t\t\t<div class="&__inputs">\n\t\t\t\t\t<input data-ref="query" tabindex="0" placeholder="~Search for~" type="text"/>\n\t\t\t\t\t<input data-ref="replace" tabindex="0" placeholder="~Replace with~" type="text"/>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__counts">\n\t\t\t\t\t<span data-ref="counter-box">\n\t\t\t\t\t\t<span data-ref="current">0</span><span>/</span><span data-ref="count">0</span>\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="&__buttons">\n\t\t\t\t\t<button data-ref="next" tabindex="0" type="button">'.concat(o.Icon.get("angle-down"),'</button>\n\t\t\t\t\t<button data-ref="prev" tabindex="0" type="button">').concat(o.Icon.get("angle-up"),'</button>\n\t\t\t\t\t<button data-ref="cancel" tabindex="0" type="button">').concat(o.Icon.get("cancel"),'</button>\n\t\t\t\t\t<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>')},Object.defineProperty(t.prototype,"currentIndex",{get:function(){return this._currentIndex},set:function(e){this._currentIndex=e,this.currentBox.innerText=e.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"count",{set:function(e){this.countBox.innerText=e.toString()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryInput.value},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"replace",{get:function(){return this.replaceInput.value},enumerable:!1,configurable:!0}),t.prototype.onEditorKeyDown=function(e){if(this.isOpened){var t=this.j;if(t.getRealMode()===a.MODE_WYSIWYG)switch(e.key){case s.KEY_ESC:this.close();break;case s.KEY_F3:this.queryInput.value&&(t.e.fire(e.shiftKey?"searchPrevious":"searchNext"),e.preventDefault())}}},t.prototype.open=function(e){void 0===e&&(e=!1),this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",e);var t=(this.j.s.sel||"").toString();t&&(this.queryInput.value=t),this.setMod("empty-query",!t.length),this.j.e.fire(this,"needUpdateCounters"),t?this.queryInput.select():this.queryInput.focus()},t.prototype.close=function(){this.isOpened&&(this.j.s.restore(),c.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))},t.prototype.calcSticky=function(e){if(this.isOpened)if(this.setMod("sticky",e),e){var t=(0,i.position)(this.j.toolbarContainer);(0,i.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,i.css)(this.container,{top:null,left:null})},r.__decorate([(0,l.watch)([":keydown","queryInput:keydown"])],t.prototype,"onEditorKeyDown",null),r.__decorate([l.autobind],t.prototype,"open",null),r.__decorate([l.autobind],t.prototype,"close",null),r.__decorate([(0,l.watch)(":toggleSticky")],t.prototype,"calcSticky",null),r.__decorate([l.component],t)}(o.UIElement);t.UISearch=u},60233:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.tableAllowCellSelection=!0},59748:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.selectCells=void 0;var r=n(20255),o=n(76454),i=n(18870),a=n(65401),s=n(83370),l=n(47386),c=n(18731),u=n(16672);n(60233);var d="table_processor_observer",f="onMoveTableSelectCell",p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.requires=["select"],t.selectedCell=null,t.isSelectionMode=!1,t}return r.__extends(t,e),Object.defineProperty(t.prototype,"module",{get:function(){return this.j.getInstance("Table",this.j.o)},enumerable:!1,configurable:!0}),t.prototype.afterInit=function(e){var t=this;e.o.tableAllowCellSelection&&e.e.on("keydown.select-cells",(function(e){e.key===l.KEY_TAB&&t.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((function(e){return e+".select-cells"})).join(" "),this.onStartSelection).on("clickTr clickTbody",(function(){var e,n=t.module.getAllSelectedCells().length;if(n)return n>1&&(null===(e=t.j.s.sel)||void 0===e||e.removeAllRanges()),!1}))},t.prototype.onStartSelection=function(e){if(!this.j.o.readonly&&(this.unselectCells(),e!==this.j.editor)){var t=a.Dom.closest(e,"table",this.j.editor);if(e&&t)return e.firstChild||e.appendChild(this.j.createInside.element("br")),this.isSelectionMode=!0,this.selectedCell=e,this.module.addSelection(e),this.j.e.on(t,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.onMove.bind(this,t),{label:f,timeout:this.j.defaultTimeout/2})).on(t,"mouseup.select-cells touchend.select-cells",this.onStopSelection.bind(this,t)),!1}},t.prototype.onOutsideClick=function(){this.selectedCell=null,this.onRemoveSelection()},t.prototype.onChange=function(){this.j.isLocked||this.isSelectionMode||this.onRemoveSelection()},t.prototype.onMove=function(e,t){var n,r=this;if((!this.j.o.readonly||this.j.isLocked)&&!this.j.isLockedNotBy(d)){var o=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(o){var s=a.Dom.closest(o,["td","th"],e);if(s&&this.selectedCell){s!==this.selectedCell&&this.j.lock(d),this.unselectCells();for(var l=i.Table.getSelectedBound(e,[s,this.selectedCell]),c=i.Table.formalMatrix(e),u=l[0][0];l[1][0]>=u;u+=1)for(var f=l[0][1];l[1][1]>=f;f+=1)this.module.addSelection(c[u][f]);var p;this.module.getAllSelectedCells().length>1&&(null===(n=this.j.s.sel)||void 0===n||n.removeAllRanges()),this.j.e.fire("hidePopup"),t.stopPropagation(),p=r.j.createInside.fromHTML('<div style="color:rgba(0,0,0,0.01);width:0;height:0">&nbsp;</div>'),s.appendChild(p),r.j.async.setTimeout((function(){var e;null===(e=p.parentNode)||void 0===e||e.removeChild(p)}),r.j.defaultTimeout/5)}}}},t.prototype.onRemoveSelection=function(e){var t;if(!(null===(t=null==e?void 0:e.buffer)||void 0===t?void 0:t.actionTrigger)&&!this.selectedCell&&this.module.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.isSelectionMode=!1,this.selectedCell=null},t.prototype.onStopSelection=function(e,t){var n=this;if(this.selectedCell){this.isSelectionMode=!1,this.j.unlock();var r=this.j.ed.elementFromPoint(t.clientX,t.clientY);if(r){var o=a.Dom.closest(r,["td","th"],e);if(o){var l=a.Dom.closest(o,"table",e);if(!l||l===e){var c=i.Table.getSelectedBound(e,[o,this.selectedCell]),u=i.Table.formalMatrix(e),d=u[c[1][0]][c[1][1]],p=u[c[0][0]][c[0][1]];this.j.e.fire("showPopup",e,(function(){var e=(0,s.position)(p,n.j),t=(0,s.position)(d,n.j);return{left:e.left,top:e.top,width:t.left-e.left+t.width,height:t.top-e.top+t.height}}),"cells"),(0,s.$$)("table",this.j.editor).forEach((function(e){n.j.e.off(e,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(f)}}}}},t.prototype.unselectCells=function(e){var t=this.module,n=t.getAllSelectedCells();n.length&&n.forEach((function(n){e&&e===n||t.removeSelection(n)}))},t.prototype.onExecCommand=function(e){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(e)){e=e.replace("table","");var t=this.module.getAllSelectedCells();if(t.length){var n=r.__read(t,1)[0];if(!n)return;var o=a.Dom.closest(n,"table",this.j.editor);if(!o)return;switch(e){case"splitv":i.Table.splitVertical(o,this.j);break;case"splitg":i.Table.splitHorizontal(o,this.j);break;case"merge":i.Table.mergeSelected(o,this.j);break;case"empty":t.forEach((function(e){return a.Dom.detach(e)}));break;case"bin":a.Dom.safeRemove(o);break;case"binrow":new Set(t.map((function(e){return e.parentNode}))).forEach((function(e){i.Table.removeRow(o,e.rowIndex)}));break;case"bincolumn":var s=new Set;t.reduce((function(e,t){return s.has(t.cellIndex)||(e.push(t),s.add(t.cellIndex)),e}),[]).forEach((function(e){i.Table.removeColumn(o,e.cellIndex)}));break;case"addcolumnafter":case"addcolumnbefore":i.Table.appendColumn(o,n.cellIndex,"addcolumnafter"===e,this.j.createInside);break;case"addrowafter":case"addrowbefore":i.Table.appendRow(o,n.parentNode,"addrowafter"===e,this.j.createInside)}}return!1}},t.prototype.onAfterCommand=function(e){/^justify/.test(e)&&this.module.getAllSelectedCells().forEach((function(t){return(0,s.alignElement)(e,t)}))},t.prototype.beforeDestruct=function(e){this.onRemoveSelection(),e.e.off(".select-cells")},r.__decorate([c.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,c.watch)(":outsideClick")],t.prototype,"onOutsideClick",null),r.__decorate([(0,c.watch)(":change")],t.prototype,"onChange",null),r.__decorate([c.autobind],t.prototype,"onRemoveSelection",null),r.__decorate([c.autobind],t.prototype,"onStopSelection",null),r.__decorate([c.autobind],t.prototype,"onExecCommand",null),r.__decorate([c.autobind],t.prototype,"onAfterCommand",null),t}(o.Plugin);t.selectCells=p,u.pluginSystem.add("selectCells",p)},39109:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1}},47802:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.select=void 0;var r=n(20255),o=n(76454),i=n(18731),a=n(79417),s=n(65401),l=n(77688),c=n(16672);n(39109);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"],t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;this.proxyEventsList.forEach((function(n){e.e.on(n+".select",t.onStartSelection)}))},t.prototype.beforeDestruct=function(e){var t=this;this.proxyEventsList.forEach((function(n){e.e.on(n+".select",t.onStartSelection)}))},t.prototype.onStartSelection=function(e){for(var t,n=this.j,r=e.target;void 0===t&&r&&r!==n.editor;)t=n.e.fire((0,a.camelCase)(e.type+"_"+r.nodeName.toLowerCase()),r,e),r=r.parentElement;"click"===e.type&&void 0===t&&r===n.editor&&n.e.fire(e.type+"Editor",r,e)},t.prototype.onOutsideClick=function(e){var t=this,n=e.target;s.Dom.up(n,(function(e){return e===t.j.editor}))||l.UIElement.closestElement(n,l.Popup)||this.j.e.fire("outsideClick",e)},t.prototype.beforeCommandCut=function(e){var t=this.j.s;if("cut"===e&&!t.isCollapsed()){var n=t.current();n&&s.Dom.isOrContains(this.j.editor,n)&&this.onCopyNormalizeSelectionBound()}},t.prototype.onCopyNormalizeSelectionBound=function(e){var t=this.j,n=t.editor;t.o.select.normalizeSelectionBeforeCutAndCopy&&!t.s.isCollapsed()&&(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(n,e.target))&&this.jodit.s.expandSelection()},r.__decorate([i.autobind],t.prototype,"onStartSelection",null),r.__decorate([(0,i.watch)("ow:click")],t.prototype,"onOutsideClick",null),r.__decorate([(0,i.watch)([":beforeCommand"])],t.prototype,"beforeCommandCut",null),r.__decorate([(0,i.watch)([":copy",":cut"])],t.prototype,"onCopyNormalizeSelectionBound",null),t}(o.Plugin);t.select=u,c.pluginSystem.add("select",u)},37641:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.minWidth=200,r.Config.prototype.maxWidth="100%",r.Config.prototype.minHeight=200,r.Config.prototype.maxHeight="auto",r.Config.prototype.saveHeightInStorage=!1},88738:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.size=void 0;var r=n(20255);n(30962);var o=n(83370),i=n(90431),a=n(18731),s=n(16672);n(37641);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.resizeWorkspaces=t.j.async.debounce(t.resizeWorkspaceImd,t.j.defaultTimeout,!0),t}return r.__extends(t,e),t.prototype.afterInit=function(e){e.e.on("setHeight.size",this.setHeight).on("setWidth.size",this.setWidth).on("afterInit.size changePlace.size",this.initialize,{top:!0}).on(e.ow,"load.size",this.resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.resizeWorkspaceImd),this.initialize()},t.prototype.initialize=function(){var e=this.j;if(!e.o.inline){var t=e.o.height;if(e.o.saveHeightInStorage&&"auto"!==t){var n=e.storage.get("height");n&&(t=n)}(0,o.css)(e.editor,{minHeight:"100%"}),(0,o.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),this.setHeight(t),this.setWidth(e.o.width)}},t.prototype.setHeight=function(e){if((0,o.isNumber)(e)){var t=this.j.o,n=t.minHeight,r=t.maxHeight;(0,o.isNumber)(n)&&n>e&&(e=n),(0,o.isNumber)(r)&&e>r&&(e=r)}(0,o.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.resizeWorkspaceImd()},t.prototype.setWidth=function(e){if((0,o.isNumber)(e)){var t=this.j.o,n=t.minWidth,r=t.maxWidth;(0,o.isNumber)(n)&&n>e&&(e=n),(0,o.isNumber)(r)&&e>r&&(e=r)}(0,o.css)(this.j.container,"width",e),this.resizeWorkspaceImd()},t.prototype.getNotWorkHeight=function(){var e,t;return((null===(e=this.j.toolbarContainer)||void 0===e?void 0:e.offsetHeight)||0)+((null===(t=this.j.statusbar)||void 0===t?void 0:t.getHeight())||0)+2},t.prototype.resizeWorkspaceImd=function(){if(this.j&&!this.j.isDestructed&&this.j.o&&!this.j.o.inline&&this.j.container&&this.j.container.parentNode){var e=((0,o.css)(this.j.container,"minHeight")||0)-this.getNotWorkHeight();if((0,o.isNumber)(e)&&e>0&&([this.j.workplace,this.j.iframe,this.j.editor].map((function(t){t&&(0,o.css)(t,"minHeight",e)})),this.j.e.fire("setMinHeight",e)),(0,o.isNumber)(this.j.o.maxHeight)){var t=this.j.o.maxHeight-this.getNotWorkHeight();[this.j.workplace,this.j.iframe,this.j.editor].map((function(e){e&&(0,o.css)(e,"maxHeight",t)})),this.j.e.fire("setMaxHeight",t)}this.j.container&&(0,o.css)(this.j.workplace,"height","auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.getNotWorkHeight():"auto")}},t.prototype.beforeDestruct=function(e){e.e.off(e.ow,"load.size",this.resizeWorkspaces).off(".size")},r.__decorate([a.autobind],t.prototype,"resizeWorkspaceImd",null),r.__decorate([a.autobind],t)}(i.Plugin);t.size=l,s.pluginSystem.add("size",l)},52750:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(47386),i=n(80353);r.Config.prototype.beautifyHTML=!o.IS_IE,r.Config.prototype.sourceEditor="ace",r.Config.prototype.sourceEditorNativeOptions={showGutter:!0,theme:"ace/theme/idle_fingers",mode:"ace/mode/html",wrap:!0,highlightActiveLine:!0},r.Config.prototype.sourceEditorCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.2/ace.js"],r.Config.prototype.beautifyHTMLCDNUrlsJS=["https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify.min.js","https://cdnjs.cloudflare.com/ajax/libs/js-beautify/1.14.4/beautify-html.min.js"],i.Icon.set("source",n(9342)),r.Config.prototype.controls.source={mode:o.MODE_SPLIT,exec:function(e){e.toggleMode()},isActive:function(e){return e.getRealMode()===o.MODE_SOURCE},tooltip:"Change mode"}},30094:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AceEditor=void 0;var r=n(20255),o=n(47386),i=n(83370),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.className="jodit_ace_editor",t.proxyOnBlur=function(e){t.j.e.fire("blur",e)},t.proxyOnFocus=function(e){t.j.e.fire("focus",e)},t.proxyOnMouseDown=function(e){t.j.e.fire("mousedown",e)},t}return r.__extends(t,e),t.prototype.aceExists=function(){return void 0!==this.j.ow.ace},t.prototype.getLastColumnIndex=function(e){return this.instance.session.getLine(e).length},t.prototype.getLastColumnIndices=function(){for(var e=this.instance.session.getLength(),t=[],n=0,r=0;e>r;r++)n+=this.getLastColumnIndex(r),r>0&&(n+=1),t[r]=n;return t},t.prototype.getRowColumnIndices=function(e){var t=this.getLastColumnIndices();if(t[0]>=e)return{row:0,column:e};for(var n=1,r=1;t.length>r;r++)e>t[r]&&(n=r+1);return{row:n,column:e-t[n-1]-1}},t.prototype.setSelectionRangeIndices=function(e,t){var n=this.getRowColumnIndices(e),r=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:n,end:r})},t.prototype.getIndexByRowColumn=function(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t},t.prototype.init=function(e){var t=this,n=function(){if(void 0===t.instance&&t.aceExists()){var n=t.j.c.div("jodit-source__mirror-fake");t.container.appendChild(n),t.instance=e.ow.ace.edit(n),t.instance.setTheme(e.o.sourceEditorNativeOptions.theme),t.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),t.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),t.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),t.instance.getSession().setUseWrapMode(!0),t.instance.setOption("indentedSoftWrap",!1),t.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),t.instance.getSession().setUseWorker(!1),t.instance.$blockScrolling=1/0,t.instance.on("change",t.toWYSIWYG),t.instance.on("focus",t.proxyOnFocus),t.instance.on("mousedown",t.proxyOnMouseDown),t.instance.on("blur",t.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&t.setValue(t.getValue());var r=t.j.async.debounce((function(){e.isInDestruct||(t.instance.setOption("maxLines","auto"!==e.o.height?e.workplace.offsetHeight/t.instance.renderer.lineHeight:1/0),t.instance.resize())}),2*t.j.defaultTimeout);e.e.on("afterResize afterSetMode",r),r(),t.onReady()}};e.e.on("afterSetMode",(function(){e.getRealMode()!==o.MODE_SOURCE&&e.getMode()!==o.MODE_SPLIT||(t.fromWYSIWYG(),n())})),n(),this.aceExists()||(0,i.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then((function(){e.isInDestruct||n()})).catch((function(){return null}))},t.prototype.destruct=function(){var e,t;this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),null===(t=null===(e=this.j)||void 0===e?void 0:e.events)||void 0===t||t.off("aceInited.source")},t.prototype.setValue=function(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var t=this.j.e.fire("beautifyHTML",e);(0,i.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()},t.prototype.getValue=function(){return this.instance.getValue()},t.prototype.setReadOnly=function(e){this.instance.setReadOnly(e)},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this.instance.isFocused()},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.getSelectionStart=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)},t.prototype.getSelectionEnd=function(){var e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)},t.prototype.selectAll=function(){this.instance.selection.selectAll()},t.prototype.insertRaw=function(e){var t=this.instance.selection.getCursor(),n=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:n},!1)},t.prototype.setSelectionRange=function(e,t){this.setSelectionRangeIndices(e,t)},t.prototype.setPlaceHolder=function(e){},t.prototype.replaceUndoManager=function(){var e=this.jodit.history;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec:function(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec:function(){e.redo()}})},t}(n(31135).SourceEditor);t.AceEditor=a},87887:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TextAreaEditor=void 0;var r=n(20255),o=n(76239),i=n(65401),a=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.autosize=t.j.async.debounce((function(){t.instance.style.height="auto",t.instance.style.height=t.instance.scrollHeight+"px"}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.init=function(e){var t=this;this.instance=e.c.element("textarea",{class:"jodit-source__mirror"}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",(function(e){(0,o.css)(t.instance,"minHeight",e)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(function(t){e.e.fire(t.type,t)})),this.autosize(),this.onReady()},t.prototype.destruct=function(){i.Dom.safeRemove(this.instance)},t.prototype.getValue=function(){return this.instance.value},t.prototype.setValue=function(e){this.instance.value=e},t.prototype.insertRaw=function(e){var t=this.getValue();if(0>this.getSelectionStart())this.setValue(t+e);else{var n=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(t.substring(0,n)+e+t.substring(r,t.length))}},t.prototype.getSelectionStart=function(){return this.instance.selectionStart},t.prototype.getSelectionEnd=function(){return this.instance.selectionEnd},t.prototype.setSelectionRange=function(e,t){void 0===t&&(t=e),this.instance.setSelectionRange(e,t)},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this.instance===this.j.od.activeElement},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.instance.focus()},t.prototype.blur=function(){this.instance.blur()},t.prototype.setPlaceHolder=function(e){this.instance.setAttribute("placeholder",e)},t.prototype.setReadOnly=function(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")},t.prototype.selectAll=function(){this.instance.select()},t.prototype.replaceUndoManager=function(){var e=this,t=this.jodit.history;this.j.e.on(this.instance,"keydown",(function(n){if((n.ctrlKey||n.metaKey)&&"z"===n.key)return n.shiftKey?t.redo():t.undo(),e.setSelectionRange(e.getValue().length),!1}))},t}(n(31135).SourceEditor);t.TextAreaEditor=a},15073:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);r.__exportStar(n(87887),t),r.__exportStar(n(30094),t)},45180:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createSourceEditor=void 0;var r=n(83370),o=n(15073);t.createSourceEditor=function(e,t,n,i,a){var s;if((0,r.isFunction)(e))s=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){s=new o.AceEditor(t,n,i,a);break}default:s=new o.TextAreaEditor(t,n,i,a)}return s.init(t),s.onReadyAlways((function(){s.setReadOnly(t.o.readonly)})),s}},31135:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SourceEditor=void 0;var n=function(){function e(e,t,n,r){this.jodit=e,this.container=t,this.toWYSIWYG=n,this.fromWYSIWYG=r,this.className="",this.isReady=!1}return Object.defineProperty(e.prototype,"j",{get:function(){return this.jodit},enumerable:!1,configurable:!0}),e.prototype.onReady=function(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")},e.prototype.onReadyAlways=function(e){var t;this.isReady?e():null===(t=this.j.events)||void 0===t||t.on(this,"ready",e)},e}();t.SourceEditor=n},93621:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.source=void 0;var r=n(20255);n(68197);var o=n(47386),i=n(47386),a=n(76454),s=n(65401),l=n(83370),c=n(18731),u=n(16672),d=n(45180);n(52750);var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buttons=[{name:"source",group:"source"}],t.__lock=!1,t.__oldMirrorValue="",t.tempMarkerStart="{start-jodit-selection}",t.tempMarkerStartReg=/{start-jodit-selection}/g,t.tempMarkerEnd="{end-jodit-selection}",t.tempMarkerEndReg=/{end-jodit-selection}/g,t.getSelectionStart=function(){var e,n;return null!==(n=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionStart())&&void 0!==n?n:0},t.getSelectionEnd=function(){var e,n;return null!==(n=null===(e=t.sourceEditor)||void 0===e?void 0:e.getSelectionEnd())&&void 0!==n?n:0},t}return r.__extends(t,e),t.prototype.onInsertHTML=function(e){var t;if(!this.j.o.readonly&&!this.j.isEditorMode())return null===(t=this.sourceEditor)||void 0===t||t.insertRaw(e),this.toWYSIWYG(),!1},t.prototype.fromWYSIWYG=function(e){if(void 0===e&&(e=!1),!this.__lock||!0===e){this.__lock=!0;var t=this.j.getEditorValue(!1,i.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}},t.prototype.toWYSIWYG=function(){if(!this.__lock){var e=this.getMirrorValue();e!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=e,this.__lock=!1,this.__oldMirrorValue=e)}},t.prototype.getNormalPosition=function(e,t){for(t=t.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(function(e){for(var t="",n=0;e.length>n;n+=1)t+=i.INVISIBLE_SPACE;return t}));e>0&&t[e]===i.INVISIBLE_SPACE;)e--;for(var n=e;n>0;){if("<"===t[--n]&&void 0!==t[n+1]&&t[n+1].match(/[\w/]+/i))return n;if(">"===t[n])return e}return e},t.prototype.clnInv=function(e){return e.replace(o.INVISIBLE_SPACE_REG_EXP(),"")},t.prototype.onSelectAll=function(e){var t;if("selectall"===e.toLowerCase()&&this.j.getRealMode()===i.MODE_SOURCE)return null===(t=this.sourceEditor)||void 0===t||t.selectAll(),!1},t.prototype.getMirrorValue=function(){var e;return(null===(e=this.sourceEditor)||void 0===e?void 0:e.getValue())||""},t.prototype.setMirrorValue=function(e){var t;null===(t=this.sourceEditor)||void 0===t||t.setValue(e)},t.prototype.setFocusToMirror=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.focus()},t.prototype.saveSelection=function(){if(this.j.getRealMode()===o.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;var e=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){var t=this.j.s.marker(!0),n=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(e.substr(0,n)+this.clnInv(t.outerHTML)+e.substr(n))}else{var r=this.j.s.marker(!0),i=this.j.s.marker(!1),a=(n=this.getNormalPosition(this.getSelectionStart(),e),this.getNormalPosition(this.getSelectionEnd(),e));this.setMirrorValue(e.substr(0,n)+this.clnInv(r.outerHTML)+e.substr(n,a-n)+this.clnInv(i.outerHTML)+e.substr(a))}this.toWYSIWYG()}},t.prototype.removeSelection=function(){if(this.j.getRealMode()===o.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);var e=this.getMirrorValue(),t=0,n=0;try{if(e=e.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){var r=this.j.e.fire("beautifyHTML",e);(0,l.isString)(r)&&(e=r)}if(n=t=e.indexOf(this.tempMarkerStart),e=e.replace(this.tempMarkerStartReg,""),-1!==t){var i=e.indexOf(this.tempMarkerEnd);-1!==i&&(n=i)}e=e.replace(this.tempMarkerEndReg,"")}finally{e=e.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(e),this.setMirrorSelectionRange(t,n),this.toWYSIWYG(),this.setFocusToMirror()},t.prototype.setMirrorSelectionRange=function(e,t){var n;null===(n=this.sourceEditor)||void 0===n||n.setSelectionRange(e,t)},t.prototype.onReadonlyReact=function(){var e;null===(e=this.sourceEditor)||void 0===e||e.setReadOnly(this.j.o.readonly)},t.prototype.afterInit=function(e){var t=this;if(this.mirrorContainer=e.c.div("jodit-source"),e.workplace.appendChild(this.mirrorContainer),e.e.on("afterAddPlace changePlace afterInit",(function(){e.workplace.appendChild(t.mirrorContainer)})),this.sourceEditor=(0,d.createSourceEditor)("area",e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),e.e.on(e.ow,"keydown",(function(e){var n;e.key===i.KEY_ESC&&(null===(n=t.sourceEditor)||void 0===n?void 0:n.isFocused)&&t.sourceEditor.blur()})),this.onReadonlyReact(),e.e.on("placeholder.source",(function(e){var n;null===(n=t.sourceEditor)||void 0===n||n.setPlaceHolder(e)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(function(e){return e})),e.o.beautifyHTML){var n=function(){var t,n=e.ow.html_beautify;return!(!n||e.isInDestruct||(null===(t=e.events)||void 0===t||t.off("beautifyHTML").on("beautifyHTML",(function(e){return n(e)})),0))};n()||(0,l.loadNext)(e,e.o.beautifyHTMLCDNUrlsJS).then(n)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(e)},t.prototype.syncValueFromWYSIWYG=function(e){void 0===e&&(e=!1);var t=this.j;t.getMode()!==i.MODE_SPLIT&&t.getMode()!==i.MODE_SOURCE||this.fromWYSIWYG(e)},t.prototype.initSourceEditor=function(e){var t,n=this;if("area"!==e.o.sourceEditor){var r=(0,d.createSourceEditor)(e.o.sourceEditor,e,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);r.onReadyAlways((function(){var t,o;null===(t=n.sourceEditor)||void 0===t||t.destruct(),n.sourceEditor=r,n.syncValueFromWYSIWYG(!0),null===(o=e.events)||void 0===o||o.fire("sourceEditorReady",e)}))}else null===(t=this.sourceEditor)||void 0===t||t.onReadyAlways((function(){var t;n.syncValueFromWYSIWYG(!0),null===(t=e.events)||void 0===t||t.fire("sourceEditorReady",e)}))},t.prototype.beforeDestruct=function(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)},r.__decorate([(0,c.watch)(":insertHTML.source")],t.prototype,"onInsertHTML",null),r.__decorate([c.autobind],t.prototype,"fromWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"toWYSIWYG",null),r.__decorate([c.autobind],t.prototype,"getNormalPosition",null),r.__decorate([(0,c.watch)(":beforeCommand.source")],t.prototype,"onSelectAll",null),r.__decorate([(0,c.watch)(":beforeSetMode.source")],t.prototype,"saveSelection",null),r.__decorate([(0,c.watch)(":afterSetMode.source")],t.prototype,"removeSelection",null),r.__decorate([c.autobind],t.prototype,"setMirrorSelectionRange",null),r.__decorate([(0,c.watch)(":readonly.source")],t.prototype,"onReadonlyReact",null),r.__decorate([c.autobind],t.prototype,"syncValueFromWYSIWYG",null),t}(a.Plugin);t.source=f,u.pluginSystem.add("source",f)},68960:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.spellcheck=!1,o.Icon.set("spellcheck",n(69546)),r.Config.prototype.controls.spellcheck={isActive:function(e){return e.o.spellcheck},icon:n(69546),name:"spellcheck",command:"toggleSpellcheck",tooltip:"Spellcheck"}},37942:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=n(5586);t.ar=r;var o=n(66023);t.cs_cz=o;var i=n(65860);t.de=i;var a=n(86055);t.es=a;var s=n(50037);t.fa=s;var l=n(7118);t.fr=l;var c=n(30298);t.he=c;var u=n(52107);t.hu=u;var d=n(31240);t.id=d;var f=n(4101);t.it=f;var p=n(69286);t.ja=p;var h=n(13402);t.ko=h;var m=n(89574);t.nl=m;var g=n(63630);t.pl=g;var v=n(72212);t.pt_br=v;var b=n(82570);t.ru=b;var y=n(19323);t.tr=y;var A=n(50279);t.zh_cn=A;var x=n(98364);t.zh_tw=x},8797:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.spellcheck=void 0;var r=n(20255),o=n(76454),i=n(32389),a=n(18731),s=n(16672);n(68960);var l=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{group:"state",name:"spellcheck"}],(0,s.extendLang)(n(37942)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",(function(){t.jodit.o.spellcheck=!t.jodit.o.spellcheck,t.toggleSpellcheck(),t.j.e.fire("updateToolbar")}))},t.prototype.toggleSpellcheck=function(){(0,i.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)},t.prototype.beforeDestruct=function(e){},r.__decorate([a.autobind],t.prototype,"toggleSpellcheck",null),t}(o.Plugin);t.spellcheck=l,s.pluginSystem.add("spellcheck",l)},5204:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.showCharsCounter=!0,r.Config.prototype.countHTMLChars=!1,r.Config.prototype.showWordsCounter=!0},46965:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.stat=void 0;var r=n(20255),o=n(47386),i=n(90431),a=n(65401),s=n(16672);n(5204);var l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.charCounter=null,t.wordCounter=null,t.reInit=function(){t.j.o.showCharsCounter&&t.charCounter&&t.j.statusbar.append(t.charCounter,!0),t.j.o.showWordsCounter&&t.wordCounter&&t.j.statusbar.append(t.wordCounter,!0),t.j.e.off("change keyup",t.calc).on("change keyup",t.calc),t.calc()},t.calc=t.j.async.throttle((function(){var e=t.j.text;if(t.j.o.showCharsCounter&&t.charCounter){var n=t.j.o.countHTMLChars?t.j.value:e.replace((0,o.SPACE_REG_EXP)(),"");t.charCounter.textContent=t.j.i18n("Chars: %d",n.length)}t.j.o.showWordsCounter&&t.wordCounter&&(t.wordCounter.textContent=t.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter((function(e){return e.length})).length))}),t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()},t.prototype.beforeDestruct=function(){a.Dom.safeRemove(this.charCounter),a.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null},t}(i.Plugin);t.stat=l,s.pluginSystem.add("stat",l)},81549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},7871:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sticky=void 0;var r=n(20255);n(60057);var o=n(47386),i=n(90431),a=n(65401),s=n(83370),l=n(18731),c=n(16672);n(81549);var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isToolbarSticked=!1,t.createDummy=function(e){o.IS_IE&&!t.dummyBox&&(t.dummyBox=t.j.c.div(),t.dummyBox.classList.add("jodit_sticky-dummy_toolbar"),t.j.container.insertBefore(t.dummyBox,e))},t.addSticky=function(e){t.isToolbarSticked||(t.createDummy(e),t.j.container.classList.add("jodit_sticky"),t.isToolbarSticked=!0),(0,s.css)(e,{top:t.j.o.toolbarStickyOffset||null,width:t.j.container.offsetWidth-2}),o.IS_IE&&t.dummyBox&&(0,s.css)(t.dummyBox,{height:e.offsetHeight})},t.removeSticky=function(e){t.isToolbarSticked&&((0,s.css)(e,{width:"",top:""}),t.j.container.classList.remove("jodit_sticky"),t.isToolbarSticked=!1)},t}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).on("getStickyState.sticky",(function(){return t.isToolbarSticked}))},t.prototype.onScroll=function(){var e=this.jodit,t=e.ow.pageYOffset||e.od.documentElement&&e.od.documentElement.scrollTop||0,n=(0,s.offset)(e.container,e,e.od,!0),r=e.getMode()===o.MODE_WYSIWYG&&t+e.o.toolbarStickyOffset>n.top&&n.top+n.height>t+e.o.toolbarStickyOffset&&!(e.o.toolbarDisableStickyForMobile&&this.isMobile());if(e.o.toolbarSticky&&!0===e.o.toolbar&&this.isToolbarSticked!==r){var i=e.toolbarContainer;i&&(r?this.addSticky(i):this.removeSticky(i)),e.e.fire("toggleSticky",r)}},t.prototype.isMobile=function(){return this.j&&this.j.options&&this.j.container&&this.j.o.sizeSM>=this.j.container.offsetWidth},t.prototype.beforeDestruct=function(e){this.dummyBox&&a.Dom.safeRemove(this.dummyBox),e.e.off(e.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.onScroll).off(".sticky")},r.__decorate([(0,l.throttle)()],t.prototype,"onScroll",null),t}(i.Plugin);t.sticky=u,c.pluginSystem.add("sticky",u)},36323:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(80353);r.Config.prototype.usePopupForSpecialCharacters=!1,r.Config.prototype.specialCharacters=["!","&quot;","#","$","%","&amp;","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&raquo;","&not;","&reg;","&macr;","&deg;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&yacute;","&thorn;","&yuml;","&OElig;","&oelig;","&#372;","&#374","&#373","&#375;","&sbquo;","&#8219;","&bdquo;","&hellip;","&trade;","&#9658;","&bull;","&rarr;","&rArr;","&hArr;","&diams;","&asymp;"],o.Icon.set("symbols",n(43158)),r.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:function(e,t,n,r){var o=e.e.fire("generateSpecialCharactersTable.symbols");if(o){if(e.o.usePopupForSpecialCharacters){var i=e.c.div();return i.classList.add("jodit-symbols"),i.appendChild(o),e.e.on(o,"close_dialog",r),i}e.alert(o,"Select Special Character",void 0,"jodit-symbols").bindDestruct(e);var a=o.querySelector("a");a&&a.focus()}}}},52546:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.zh_tw=t.zh_cn=t.tr=t.ru=t.pt_br=t.pl=t.nl=t.ko=t.ja=t.it=t.id=t.hu=t.he=t.fr=t.fa=t.es=t.de=t.cs_cz=t.ar=void 0;var r=n(54261);t.ar=r;var o=n(60425);t.cs_cz=o;var i=n(7057);t.de=i;var a=n(48356);t.es=a;var s=n(11428);t.fa=s;var l=n(29084);t.fr=l;var c=n(22876);t.he=c;var u=n(20890);t.hu=u;var d=n(75987);t.id=d;var f=n(60379);t.it=f;var p=n(99950);t.ja=p;var h=n(60934);t.ko=h;var m=n(21994);t.nl=m;var g=n(38128);t.pl=g;var v=n(71515);t.pt_br=v;var b=n(58194);t.ru=b;var y=n(65802);t.tr=y;var A=n(86628);t.zh_cn=A;var x=n(32210);t.zh_tw=x},9077:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.symbols=void 0;var r=n(20255);n(33393);var o=n(47386),i=n(90431),a=n(65401),s=n(38301),l=n(16672);n(36323);var c=function(e){function t(t){var r=e.call(this,t)||this;return r.buttons=[{name:"symbols",group:"insert"}],r.countInRow=17,(0,l.extendLang)(n(52546)),r}return r.__extends(t,e),t.prototype.afterInit=function(e){var t=this;e.e.on("generateSpecialCharactersTable.symbols",(function(){for(var n=e.c.fromHTML('<div class="jodit-symbols__container">\n\t\t\t\t\t\t<div class="jodit-symbols__container_table">\n\t\t\t\t\t\t\t<table class="jodit-symbols__table"><tbody></tbody></table>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="jodit-symbols__container_preview">\n\t\t\t\t\t\t\t<div class="jodit-symbols__preview"></div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>'),r=n.querySelector(".jodit-symbols__preview"),i=n.querySelector("table").tBodies[0],l=[],c=0;e.o.specialCharacters.length>c;){for(var u=e.c.element("tr"),d=0;t.countInRow>d&&e.o.specialCharacters.length>c;d+=1,c+=1){var f=e.c.element("td"),p=e.c.fromHTML('<a\n\t\t\t\t\t\t\t\t\tdata-index="'.concat(c,'"\n\t\t\t\t\t\t\t\t\tdata-index-j="').concat(d,'"\n\t\t\t\t\t\t\t\t\trole="option"\n\t\t\t\t\t\t\t\t\ttabindex="-1"\n\t\t\t\t\t\t\t>').concat(e.o.specialCharacters[c],"</a>"));l.push(p),f.appendChild(p),u.appendChild(f)}i.appendChild(u)}var h=t;return e.e.on(l,"focus",(function(){r.innerHTML=this.innerHTML})).on(l,"mousedown",(function(t){a.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())})).on(l,"mouseenter",(function(){a.Dom.isTag(this,"a")&&this.focus()})).on(l,"keydown",(function(t){var n=t.target;if(a.Dom.isTag(n,"a")){var r=parseInt((0,s.attr)(n,"-index")||"0",10),i=parseInt((0,s.attr)(n,"data-index-j")||"0",10),c=void 0;switch(t.key){case o.KEY_UP:case o.KEY_DOWN:void 0===l[c=t.key===o.KEY_UP?r-h.countInRow:r+h.countInRow]&&(c=t.key===o.KEY_UP?Math.floor(l.length/h.countInRow)*h.countInRow+i:i)>l.length-1&&(c-=h.countInRow),l[c]&&l[c].focus();break;case o.KEY_RIGHT:case o.KEY_LEFT:void 0===l[c=t.key===o.KEY_LEFT?r-1:r+1]&&(c=t.key===o.KEY_LEFT?l.length-1:0),l[c]&&l[c].focus();break;case o.KEY_ENTER:e.e.fire(n,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}})),n}))},t.prototype.beforeDestruct=function(e){e.e.off("generateSpecialCharactersTable.symbols")},t}(i.Plugin);t.symbols=c,l.pluginSystem.add("symbols",c)},67896:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(20255).__exportStar(n(99439),t)},99439:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onTabInsideLi=void 0;var r=n(65401);t.onTabInsideLi=function(e){if(!e.o.tab.tabInsideLiInsertNewList||!e.s.isCollapsed())return!1;var t=e.createInside.fake();e.s.insertNode(t);var n=r.Dom.closest(t,"li",e.editor);if(n&&e.s.cursorOnTheLeft(n)&&r.Dom.isTag(n.previousElementSibling,"li")){var o=r.Dom.closest(n,["ol","ul"],e.editor);if(o){var i=e.createInside.element(o.tagName),a=n.previousElementSibling;return i.appendChild(n),a.appendChild(i),e.s.setCursorAfter(t),r.Dom.safeRemove(t),!0}}return r.Dom.safeRemove(t),!1}},39645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.tab={tabInsideLiInsertNewList:!0}},56264:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(76454),i=n(18731),a=n(47386),s=n(16672),l=n(67896);n(39645);var c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return r.__extends(t,e),t.prototype.afterInit=function(e){},t.prototype.onTab=function(e){if(e.key===a.KEY_TAB&&(0,l.onTabInsideLi)(this.j))return!1},t.prototype.beforeDestruct=function(e){},r.__decorate([(0,i.watch)(":keydown.tab")],t.prototype,"onTab",null),t}(o.Plugin);s.pluginSystem.add("tab",c)},47908:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tableKeyboardNavigation=void 0;var r=n(47386),o=n(65401),i=n(70218),a=n(16672);function s(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(function(t){var n,a;if((t.key===r.KEY_TAB||t.key===r.KEY_LEFT||t.key===r.KEY_RIGHT||t.key===r.KEY_UP||t.key===r.KEY_DOWN)&&(n=e.s.current(),a=o.Dom.up(n,(function(e){return e&&e.nodeName&&/^td|th$/i.test(e.nodeName)}),e.editor))){var s=e.s.range;if(t.key===r.KEY_TAB||n===a||(t.key!==r.KEY_LEFT&&t.key!==r.KEY_UP||!(o.Dom.prev(n,(function(e){return t.key===r.KEY_UP?o.Dom.isTag(e,"br"):Boolean(e)}),a)||t.key!==r.KEY_UP&&o.Dom.isText(n)&&0!==s.startOffset))&&(t.key!==r.KEY_RIGHT&&t.key!==r.KEY_DOWN||!(o.Dom.next(n,(function(e){return t.key===r.KEY_DOWN?o.Dom.isTag(e,"br"):Boolean(e)}),a)||t.key!==r.KEY_DOWN&&o.Dom.isText(n)&&n.nodeValue&&s.startOffset!==n.nodeValue.length))){var l=o.Dom.up(a,(function(e){return e&&/^table$/i.test(e.nodeName)}),e.editor),c=null;switch(t.key){case r.KEY_TAB:case r.KEY_LEFT:var u=t.key===r.KEY_LEFT||t.shiftKey?"prev":"next";(c=o.Dom[u](a,(function(e){return e&&/^td|th$/i.test(e.tagName)}),l))||(i.Table.appendRow(l,"next"!==u&&l.querySelector("tr"),"next"===u,e.createInside),c=o.Dom[u](a,o.Dom.isCell,l));break;case r.KEY_UP:case r.KEY_DOWN:var d=0,f=0,p=i.Table.formalMatrix(l,(function(e,t,n){e===a&&(d=t,f=n)}));t.key===r.KEY_UP?void 0!==p[d-1]&&(c=p[d-1][f]):void 0!==p[d+1]&&(c=p[d+1][f])}if(c){if(c.firstChild)t.key===r.KEY_TAB?e.s.select(c,!0):e.s.setCursorIn(c,t.key===r.KEY_RIGHT||t.key===r.KEY_DOWN);else{var h=e.createInside.element("br");c.appendChild(h),e.s.setCursorBefore(h)}return!1}}}}))}t.tableKeyboardNavigation=s,a.pluginSystem.add("tableKeyboardNavigation",s)},28716:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(36516),i=n(38301),a=n(83370),s=n(80353);r.Config.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",n(51716)),r.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:function(e,t,n,r,s){for(var l=n.data&&n.data.rows?n.data.rows:10,c=n.data&&n.data.cols?n.data.cols:10,u=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+function(){if(!e.o.table.useExtraClassesOptions)return"";var t=[];if(n.data){var r=n.data.classList;Object.keys(r).forEach((function(e){t.push('<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="'.concat(e,'" type="checkbox"/>').concat(r[e],"</label>"))}))}return t.join("")}()+'</div></div><label class="jodit-form__center"><span>1</span> &times; <span>1</span></label></form>'),d=u.querySelectorAll("span")[0],f=u.querySelectorAll("span")[1],p=u.querySelector(".jodit-form__container"),h=u.querySelector(".jodit-form__options"),m=[],g=l*c,v=0;g>v;v+=1)m[v]||m.push(e.c.element("span",{dataIndex:v}));if(e.e.on(p,"mousemove",(function(e,t){var n=e.target;if(o.Dom.isTag(n,"span")){for(var r=void 0===t||isNaN(t)?parseInt((0,i.attr)(n,"-index")||"0",10):t||0,a=Math.ceil((r+1)/c),s=r%c+1,l=0;m.length>l;l+=1)m[l].className=l%c+1>s||a<Math.ceil((l+1)/c)?"":"jodit_hovered";f.textContent=s.toString(),d.textContent=a.toString()}})).on(p,"touchstart mousedown",(function(t){var n=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),o.Dom.isTag(n,"span")){var s=parseInt((0,i.attr)(n,"-index")||"0",10),l=Math.ceil((s+1)/c),u=s%c+1,d=e.createInside,f=d.element("tbody"),p=d.element("table");p.appendChild(f);for(var m,g,v=null,b=1;l>=b;b+=1){m=d.element("tr");for(var y=1;u>=y;y+=1)g=d.element("td"),v||(v=g),(0,a.css)(g,"width",(100/u).toFixed(4)+"%"),g.appendChild(d.element("br")),m.appendChild(d.text("\n")),m.appendChild(d.text("\t")),m.appendChild(g);f.appendChild(d.text("\n")),f.appendChild(m)}(0,a.$$)("input[type=checkbox]:checked",h).forEach((function(e){e.value.split(/[\s]+/).forEach((function(e){p.classList.add(e)}))})),e.editor.firstChild&&e.s.insertNode(d.text("\n"),!1,!1),e.s.insertNode(p,!1),v&&(e.s.setCursorIn(v),(0,a.scrollIntoViewIfNeeded)(v,e.editor,e.ed)),r()}})),s&&s.parentElement){for(v=0;l>v;v+=1){for(var b=e.c.div(),y=0;c>y;y+=1)b.appendChild(m[v*c+y]);p.appendChild(b)}m[0]&&(m[0].className="hovered")}return u},tooltip:"Insert table"}},24310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.table=void 0,n(51057);var r=n(16672);function o(e){e.registerButton({name:"table",group:"insert"})}n(28716),t.table=o,r.pluginSystem.add("table",o)},98025:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(80031),o=n(81250),i=n(83370),a=n(20935),s=n(25242);n(80353).Icon.set("video",n(49222)),r.Config.prototype.controls.video={popup:function(e,t,n,r){var l=new a.UIForm(e,[new a.UIBlock(e,[new a.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((function(){return l.submit()}))])]),c=new a.UIForm(e,[new a.UIBlock(e,[new a.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new a.UIBlock(e,[(0,s.Button)(e,"","Insert","primary").onAction((function(){return c.submit()}))])]),u=[],d=function(t){e.s.restore(),e.s.insertHTML(t),r()};return e.s.save(),u.push({icon:"link",name:"Link",content:l.container},{icon:"source",name:"Code",content:c.container}),l.onSubmit((function(e){d((0,i.convertMediaUrlToVideoEmbed)(e.url))})),c.onSubmit((function(e){d(e.code)})),(0,o.TabsWidget)(e,u)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},16723:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16672);n(98025),r.pluginSystem.add("video",(function(e){e.registerButton({name:"video",group:"media"})}))},15671:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.wrapNodes={exclude:["hr","style","br"]}},59310:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255),o=n(76454),i=n(36516),a=n(86129),s=n(18731),l=n(16672);n(15671);var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isSuitableStart=function(e){return i.Dom.isText(e)&&(0,a.isString)(e.nodeValue)&&/[^\s]/.test(e.nodeValue)||t.isNotClosed(e)&&!i.Dom.isTemporary(e)},t.isSuitable=function(e){return i.Dom.isText(e)||t.isNotClosed(e)},t.isNotClosed=function(e){return i.Dom.isElement(e)&&!(i.Dom.isBlock(e)||i.Dom.isTag(e,t.j.o.wrapNodes.exclude))},t}return r.__extends(t,e),t.prototype.afterInit=function(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn",this.postProcessSetEditorValue)},t.prototype.beforeDestruct=function(e){e.e.off(".wtn")},t.prototype.postProcessSetEditorValue=function(){var e=this.jodit;if(e.isEditorMode()){for(var t=e.editor.firstChild,n=!1;t;){if(t=this.checkAloneListLeaf(t,e),this.isSuitableStart(t)){n||e.s.save(),n=!0;var r=e.createInside.element(e.o.enter);for(i.Dom.before(t,r);t&&this.isSuitable(t);){var o=t.nextSibling;r.appendChild(t),t=o}r.normalize(),t=r}t=t&&t.nextSibling}n&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}},t.prototype.checkAloneListLeaf=function(e,t){var n=e,r=e;do{if(!i.Dom.isElement(r)||!i.Dom.isTag(r,"li")||i.Dom.isTag(r.parentElement,["ul","ol"]))break;var o=i.Dom.findNotEmptySibling(r,!1);i.Dom.isTag(n,"ul")?n.appendChild(r):n=i.Dom.wrap(r,"ul",t.createInside),r=o}while(r);return n},t.prototype.preprocessInput=function(){var e=this.jodit;if(e.isEditorMode()&&!e.editor.firstChild){var t=e.createInside.element(e.o.enter),n=e.createInside.element("br");i.Dom.append(t,n),i.Dom.append(e.editor,t),e.s.setCursorBefore(n)}},r.__decorate([s.autobind],t.prototype,"postProcessSetEditorValue",null),r.__decorate([s.autobind],t.prototype,"preprocessInput",null),t}(o.Plugin);l.pluginSystem.add("wrapNodes",c)},5471:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(80031).Config.prototype.showXPathInStatusbar=!0},50964:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(20255);n(64618);var o=n(47386),i=n(82616),a=n(36516),s=n(83370),l=n(76454),c=n(5243),u=n(16672);n(5471);var d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.onContext=function(e,n){return t.menu||(t.menu=new i.ContextMenu(t.j)),t.menu.show(n.clientX,n.clientY,[{icon:"bin",title:e===t.j.editor?"Clear":"Remove",exec:function(){e!==t.j.editor?a.Dom.safeRemove(e):t.j.value="",t.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:function(){t.j.s.select(e)}}]),!1},t.onSelectPath=function(e,n){t.j.s.focus();var r=(0,s.attr)(n.target,"-path")||"/";if("/"===r)return t.j.execCommand("selectall"),!1;try{var o=t.j.ed.evaluate(r,t.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(o)return t.j.s.select(o),!1}catch(e){}return t.j.s.select(e),!1},t.tpl=function(e,n,r,o){var i=t.j.c.fromHTML('<span class="jodit-xpath__item"><a role="button" data-path="'.concat(n,'" title="').concat(o,'" tabindex="-1"\'>').concat((0,s.trim)(r),"</a></span>")),a=i.firstChild;return t.j.e.on(a,"click",t.onSelectPath.bind(t,e)).on(a,"contextmenu",t.onContext.bind(t,e)),i},t.removeSelectAll=function(){t.selectAllButton&&(t.selectAllButton.destruct(),delete t.selectAllButton)},t.appendSelectAll=function(){t.removeSelectAll(),t.selectAllButton=(0,c.makeButton)(t.j,r.__assign({name:"selectall"},t.j.o.controls.selectall)),t.selectAllButton.state.size="tiny",t.container&&t.container.insertBefore(t.selectAllButton.container,t.container.firstChild)},t.calcPathImd=function(){if(!t.isDestructed){var e,n,r,i=t.j.s.current();t.container&&(t.container.innerHTML=o.INVISIBLE_SPACE),i&&a.Dom.up(i,(function(o){o&&t.j.editor!==o&&!a.Dom.isText(o)&&(e=o.nodeName.toLowerCase(),n=(0,s.getXPathByElement)(o,t.j.editor).replace(/^\//,""),r=t.tpl(o,n,e,t.j.i18n("Select %s",e)),t.container&&t.container.insertBefore(r,t.container.firstChild))}),t.j.editor),t.appendSelectAll()}},t.calcPath=t.j.async.debounce(t.calcPathImd,2*t.j.defaultTimeout),t}return r.__extends(t,e),t.prototype.afterInit=function(){var e=this;this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(function(){e.j.o.showXPathInStatusbar&&e.container&&(e.j.statusbar.append(e.container),e.j.getRealMode()===o.MODE_WYSIWYG?e.calcPath():(e.container&&(e.container.innerHTML=o.INVISIBLE_SPACE),e.appendSelectAll()))})),this.calcPath())},t.prototype.beforeDestruct=function(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),a.Dom.safeRemove(this.container),delete this.menu,delete this.container},t}(l.Plugin);u.pluginSystem.add("xpath",d)},25792:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(61227),n(690),n(66622),n(69220),n(10444),Array.prototype.includes||(Array.prototype.includes=function(e){return this.indexOf(e)>-1}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(e,t){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(e),r=1;arguments.length>r;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),Array.prototype.find||(Array.prototype.find=function(e){return this.indexOf(e)>-1?e:void 0}),String.prototype.endsWith||(String.prototype.endsWith=function(e){return this[this.length-1]===e})},48539:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.valign=t.upload=t.update=t.unlock=t.settings=t.save=t.right=t.resize_handler=t.plus=t.pencil=t.ok=t.lock=t.left=t.info_circle=t.folder=t.file=t.eye=t.dots=t.chevron=t.check=t.center=t.cancel=t.bin=t.angle_up=t.angle_right=t.angle_left=t.angle_down=void 0;var r=n(1755);t.angle_down=r;var o=n(74911);t.angle_left=o;var i=n(8805);t.angle_right=i;var a=n(16547);t.angle_up=a;var s=n(10856);t.bin=s;var l=n(98441);t.cancel=l;var c=n(52488);t.center=c;var u=n(9370);t.check=u;var d=n(66543);t.chevron=d;var f=n(608);t.dots=f;var p=n(42840);t.eye=p;var h=n(79096);t.file=h;var m=n(33014);t.folder=m;var g=n(91677);t.info_circle=g;var v=n(8259);t.left=v;var b=n(64467);t.lock=b;var y=n(86934);t.ok=y;var A=n(76133);t.pencil=A;var x=n(45519);t.plus=x;var C=n(90265);t.resize_handler=C;var _=n(81279);t.right=_;var w=n(68899);t.save=w;var k=n(70744);t.settings=k;var S=n(19201);t.unlock=S;var E=n(84930);t.update=E;var B=n(99704);t.upload=B;var O=n(2304);t.valign=O},80078:function(e){e.exports={"copy-format":"نسخ التنسيق"}},16986:function(e){e.exports={"copy-format":"Kopírovat formát"}},59347:function(e){e.exports={"copy-format":"Format kopierenт"}},63640:function(e){e.exports={"copy-format":"Copiar formato"}},53434:function(e){e.exports={"copy-format":"کپی کردن قالب"}},85638:function(e){e.exports={"copy-format":"Format de copie"}},31743:function(e){e.exports={"copy-format":"העתק עיצוב"}},66219:function(e){e.exports={"copy-format":"Formátum másolás"}},50331:function(e){e.exports={"copy-format":"salin format"}},25582:function(e){e.exports={"copy-format":"Copia il formato"}},82066:function(e){e.exports={"copy-format":"copyformat"}},71925:function(e){e.exports={"copy-format":"복사 형식"}},65274:function(e){e.exports={"copy-format":"opmaak kopiëren"}},58548:function(e){e.exports={"copy-format":"format kopii"}},82958:function(e){e.exports={"copy-format":"Copiar formato"}},52315:function(e){e.exports={"copy-format":"Копировать формат"}},87727:function(e){e.exports={"copy-format":"Kopyalama Biçimi"}},9396:function(e){e.exports={"copy-format":"复制格式"}},28765:function(e){e.exports={"copy-format":"複製格式"}},47762:function(e){e.exports={"Line height":"ارتفاع الخط"}},97495:function(e){e.exports={"Line height":"Výška čáry"}},80131:function(e){e.exports={"Line height":"Zeilenhöhe"}},1201:function(e){e.exports={"Line height":"Altura de la línea"}},89912:function(e){e.exports={"Line height":"ارتفاع خط"}},3405:function(e){e.exports={"Line height":"Hauteur de ligne"}},14129:function(e){e.exports={"Line height":"גובה שורה"}},93729:function(e){e.exports={"Line height":"Vonal magassága"}},16106:function(e){e.exports={"Line height":"Tinggi baris"}},89690:function(e){e.exports={"Line height":"Altezza linea"}},33216:function(e){e.exports={"Line height":"ラインの高さ"}},17282:function(e){e.exports={"Line height":"선 높이"}},91761:function(e){e.exports={"Line height":"Lijnhoogte"}},61675:function(e){e.exports={"Line height":"Wysokość linii"}},69709:function(e){e.exports={"Line height":"Altura da linha"}},82591:function(e){e.exports={"Line height":"Высота линии"}},87649:function(e){e.exports={"Line height":"Çizgi yüksekliği"}},60268:function(e){e.exports={"Line height":"线高"}},58214:function(e){e.exports={"Line height":"ความสูงเส้น"}},5586:function(e){e.exports={Spellcheck:"التدقيق الإملائي"}},66023:function(e){e.exports={Spellcheck:"Kontrola pravopisu"}},65860:function(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},86055:function(e){e.exports={Spellcheck:"Corrección ortográfica"}},50037:function(e){e.exports={Spellcheck:"غلطیابی املایی"}},7118:function(e){e.exports={Spellcheck:"Vérification Orthographique"}},30298:function(e){e.exports={Spellcheck:"בדיקת איות"}},52107:function(e){e.exports={Spellcheck:"Helyesírás-ellenőrzés"}},31240:function(e){e.exports={Spellcheck:"Spellchecking"}},4101:function(e){e.exports={Spellcheck:"Controllo ortografico"}},69286:function(e){e.exports={Spellcheck:"スペルチェック"}},13402:function(e){e.exports={Spellcheck:"맞춤법 검사"}},89574:function(e){e.exports={Spellcheck:"Spellingcontrole"}},63630:function(e){e.exports={Spellcheck:"Sprawdzanie pisowni"}},72212:function(e){e.exports={Spellcheck:"Verificação ortográfica"}},82570:function(e){e.exports={Spellcheck:"Проверка орфографии"}},19323:function(e){e.exports={Spellcheck:"Yazım denetimi"}},50279:function(e){e.exports={Spellcheck:"拼写检查"}},98364:function(e){e.exports={Spellcheck:"สะกดคำ"}},54261:function(e){e.exports={symbols:"رمز"}},60425:function(e){e.exports={symbols:"symbol"}},7057:function(e){e.exports={symbols:"Symbol"}},48356:function(e){e.exports={symbols:"Símbolo"}},11428:function(e){e.exports={symbols:"سمبل"}},29084:function(e){e.exports={symbols:"caractère"}},22876:function(e){e.exports={symbols:"תו מיוחד"}},20890:function(e){e.exports={symbols:"Szimbólum"}},75987:function(e){e.exports={symbols:"simbol"}},60379:function(e){e.exports={symbols:"Simbolo"}},99950:function(e){e.exports={symbols:"symbol"}},60934:function(e){e.exports={symbols:"기호"}},21994:function(e){e.exports={symbols:"symbool"}},38128:function(e){e.exports={symbols:"symbol"}},71515:function(e){e.exports={symbols:"Símbolo"}},58194:function(e){e.exports={symbols:"символ"}},65802:function(e){e.exports={symbols:"Sembol"}},86628:function(e){e.exports={symbols:"符号"}},32210:function(e){e.exports={symbols:"符號"}},52378:function(e){"use strict";e.exports={assert(){}}}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={exports:{}};return t[e].call(i.exports,i,i.exports,o),i.exports}o.m=t,e=[],o.O=function(t,n,r,i){if(!n){var a=1/0;for(u=0;e.length>u;u++){n=e[u][0],r=e[u][1],i=e[u][2];for(var s=!0,l=0;n.length>l;l++)(!1&i||a>=i)&&Object.keys(o.O).every((function(e){return o.O[e](n[l])}))?n.splice(l--,1):(s=!1,a>i&&(a=i));if(s){e.splice(u--,1);var c=r();void 0!==c&&(t=c)}}return t}i=i||0;for(var u=e.length;u>0&&e[u-1][2]>i;u--)e[u]=e[u-1];e[u]=[n,r,i]},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={670:0};o.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,i,a=n[0],s=n[1],l=n[2],c=0;if(a.some((function(t){return 0!==e[t]}))){for(r in s)o.o(s,r)&&(o.m[r]=s[r]);if(l)var u=l(o)}for(t&&t(n);a.length>c;c++)o.o(e,i=a[c])&&e[i]&&e[i][0](),e[i]=0;return o.O(u)},n=self.webpackChunkjodit=self.webpackChunkjodit||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var i={};return function(){"use strict";var e=i;Object.defineProperty(e,"__esModule",{value:!0}),e.Jodit=void 0,o(90176),"undefined"!=typeof window&&o(25792);var t=o(57468);Object.defineProperty(e,"Jodit",{enumerable:!0,get:function(){return t.Jodit}});var n=o(63851),r=o(18731),a=o(47386),s=o(18870),l=o(48539);o(38952),o(91147),Object.keys(a).forEach((function(e){t.Jodit[e]=a[e]}));var c=function(e){return"__esModule"!==e};Object.keys(l).filter(c).forEach((function(e){s.Icon.set(e.replace("_","-"),l[e])})),Object.keys(s).filter(c).forEach((function(e){t.Jodit.modules[e]=s[e]})),Object.keys(r).filter(c).forEach((function(e){t.Jodit.decorators[e]=r[e]})),["Confirm","Alert","Prompt"].forEach((function(e){t.Jodit[e]=s[e]})),Object.keys(n.default).filter(c).forEach((function(e){t.Jodit.lang[e]=n.default[e]}))}(),o.O(i)}()},19755:function(e,t){var n;!function(t,n){"use strict";"object"==typeof e.exports?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,(function(r,o){"use strict";var i=[],a=Object.getPrototypeOf,s=i.slice,l=i.flat?function(e){return i.flat.call(e)}:function(e){return i.concat.apply([],e)},c=i.push,u=i.indexOf,d={},f=d.toString,p=d.hasOwnProperty,h=p.toString,m=h.call(Object),g={},v=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},y=r.document,A={type:!0,src:!0,nonce:!0,noModule:!0};function x(e,t,n){var r,o,i=(n=n||y).createElement("script");if(i.text=e,t)for(r in A)(o=t[r]||t.getAttribute&&t.getAttribute(r))&&i.setAttribute(r,o);n.head.appendChild(i).parentNode.removeChild(i)}function C(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?d[f.call(e)]||"object":typeof e}var _="3.6.1",w=function(e,t){return new w.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=C(e);return!v(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}w.fn=w.prototype={jquery:_,constructor:w,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:c,sort:i.sort,splice:i.splice},w.extend=w.fn.extend=function(){var e,t,n,r,o,i,a=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||v(a)||(a={}),s===l&&(a=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(c&&r&&(w.isPlainObject(r)||(o=Array.isArray(r)))?(n=a[t],i=o&&!Array.isArray(n)?[]:o||w.isPlainObject(n)?n:{},o=!1,a[t]=w.extend(c,i,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+(_+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e))&&(!(t=a(e))||"function"==typeof(n=p.call(t,"constructor")&&t.constructor)&&h.call(n)===m)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){x(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(k(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?w.merge(n,"string"==typeof e?[e]:e):c.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(e,t,n){var r,o,i=0,a=[];if(k(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return l(a)},guid:1,support:g}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=i[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){d["[object "+t+"]"]=t.toLowerCase()}));var S=function(e){var t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,b,y,A="sizzle"+1*new Date,x=e.document,C=0,_=0,w=le(),k=le(),S=le(),E=le(),B=function(e,t){return e===t&&(d=!0),0},O={}.hasOwnProperty,j=[],T=j.pop,P=j.push,M=j.push,D=j.slice,R=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",N="(?:\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",F="\\[[\\x20\\t\\r\\n\\f]*("+N+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+I+"*\\]",z=":("+N+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+F+")*)|.*)\\)|)",q=new RegExp(I+"+","g"),U=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g"),H=new RegExp("^[\\x20\\t\\r\\n\\f]*,[\\x20\\t\\r\\n\\f]*"),W=new RegExp("^[\\x20\\t\\r\\n\\f]*([>+~]|[\\x20\\t\\r\\n\\f])[\\x20\\t\\r\\n\\f]*"),V=new RegExp(I+"|>"),Y=new RegExp(z),Z=new RegExp("^"+N+"$"),G={ID:new RegExp("^#("+N+")"),CLASS:new RegExp("^\\.("+N+")"),TAG:new RegExp("^("+N+"|[*])"),ATTR:new RegExp("^"+F),PSEUDO:new RegExp("^"+z),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,$=/^(?:input|select|textarea|button)$/i,X=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}[\\x20\\t\\r\\n\\f]?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,oe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ie=function(){f()},ae=Ae((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{M.apply(j=D.call(x.childNodes),x.childNodes),j[x.childNodes.length].nodeType}catch(e){M={apply:j.length?function(e,t){P.apply(e,D.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function se(e,t,r,o){var i,s,c,u,d,h,v,b=t&&t.ownerDocument,x=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==x&&9!==x&&11!==x)return r;if(!o&&(f(t),t=t||p,m)){if(11!==x&&(d=J.exec(e)))if(i=d[1]){if(9===x){if(!(c=t.getElementById(i)))return r;if(c.id===i)return r.push(c),r}else if(b&&(c=b.getElementById(i))&&y(t,c)&&c.id===i)return r.push(c),r}else{if(d[2])return M.apply(r,t.getElementsByTagName(e)),r;if((i=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return M.apply(r,t.getElementsByClassName(i)),r}if(n.qsa&&!E[e+" "]&&(!g||!g.test(e))&&(1!==x||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===x&&(V.test(e)||W.test(e))){for((b=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(re,oe):t.setAttribute("id",u=A)),s=(h=a(e)).length;s--;)h[s]=(u?"#"+u:":scope")+" "+ye(h[s]);v=h.join(",")}try{return M.apply(r,b.querySelectorAll(v)),r}catch(t){E(e,!0)}finally{u===A&&t.removeAttribute("id")}}}return l(e.replace(U,"$1"),t,r,o)}function le(){var e=[];return function t(n,o){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function ce(e){return e[A]=!0,e}function ue(e){var t=p.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),o=n.length;o--;)r.attrHandle[n[o]]=t}function fe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function he(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function me(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ae(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return ce((function(t){return t=+t,ce((function(n,r){for(var o,i=e([],n.length,t),a=i.length;a--;)n[o=i[a]]&&(n[o]=!(r[o]=n[o]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},f=se.setDocument=function(e){var t,o,a=e?e.ownerDocument||e:x;return a!=p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,m=!i(p),x!=p&&(o=p.defaultView)&&o.top!==o&&(o.addEventListener?o.addEventListener("unload",ie,!1):o.attachEvent&&o.attachEvent("onunload",ie)),n.scope=ue((function(e){return h.appendChild(e).appendChild(p.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=ue((function(e){return h.appendChild(e).id=A,!p.getElementsByName||!p.getElementsByName(A).length})),n.getById?(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if(void 0!==t.getElementById&&m){var n,r,o,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(o=t.getElementsByName(e),r=0;i=o[r++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],o=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[o++];)1===n.nodeType&&r.push(n);return r}return i},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&m)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=Q.test(p.querySelectorAll))&&(ue((function(e){var t;h.appendChild(e).innerHTML="<a id='"+A+"'></a><select id='"+A+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|"+L+")"),e.querySelectorAll("[id~="+A+"-]").length||g.push("~="),(t=p.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*=[\\x20\\t\\r\\n\\f]*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+A+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=Q.test(b=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",z)})),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),y=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},B=t?function(e,t){if(e===t)return d=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e==p||e.ownerDocument==x&&y(x,e)?-1:t==p||t.ownerDocument==x&&y(x,t)?1:u?R(u,e)-R(u,t):0:4&r?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,r=0,o=e.parentNode,i=t.parentNode,a=[e],s=[t];if(!o||!i)return e==p?-1:t==p?1:o?-1:i?1:u?R(u,e)-R(u,t):0;if(o===i)return fe(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?fe(a[r],s[r]):a[r]==x?-1:s[r]==x?1:0},p):p},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(f(e),n.matchesSelector&&m&&!E[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var r=b.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){E(t,!0)}return se(t,p,null,[e]).length>0},se.contains=function(e,t){return(e.ownerDocument||e)!=p&&f(e),y(e,t)},se.attr=function(e,t){(e.ownerDocument||e)!=p&&f(e);var o=r.attrHandle[t.toLowerCase()],i=o&&O.call(r.attrHandle,t.toLowerCase())?o(e,t,!m):void 0;return void 0!==i?i:n.attributes||!m?e.getAttribute(t):(i=e.getAttributeNode(t))&&i.specified?i.value:null},se.escape=function(e){return(e+"").replace(re,oe)},se.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},se.uniqueSort=function(e){var t,r=[],o=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(B),d){for(;t=e[i++];)t===e[i]&&(o=r.push(i));for(;o--;)e.splice(r[o],1)}return u=null,e},o=se.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=o(t);return n},r=se.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&Y.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+e+"("+I+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(r){var o=se.attr(r,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(q," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,o){var i="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,f,p,h,m=i!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),b=!l&&!s,y=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===v:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&b){for(y=(p=(c=(u=(d=(f=g)[A]||(f[A]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===C&&c[1])&&c[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(y=p=0)||h.pop();)if(1===f.nodeType&&++y&&f===t){u[e]=[C,p,y];break}}else if(b&&(y=p=(c=(u=(d=(f=t)[A]||(f[A]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===C&&c[1]),!1===y)for(;(f=++p&&f&&f[m]||(y=p=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==v:1!==f.nodeType)||!++y||(b&&((u=(d=f[A]||(f[A]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[C,y]),f!==t)););return(y-=o)===r||y%r==0&&y/r>=0}}},PSEUDO:function(e,t){var n,o=r.pseudos[e]||r.setFilters[e.toLowerCase()]||se.error("unsupported pseudo: "+e);return o[A]?o(t):o.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var r,i=o(e,t),a=i.length;a--;)e[r=R(e,i[a])]=!(n[r]=i[a])})):function(e){return o(e,0,n)}):o}},pseudos:{not:ce((function(e){var t=[],n=[],r=s(e.replace(U,"$1"));return r[A]?ce((function(e,t,n,o){for(var i,a=r(e,null,o,[]),s=e.length;s--;)(i=a[s])&&(e[s]=!(t[s]=i))})):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return se(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||o(t)).indexOf(e)>-1}})),lang:ce((function(e){return Z.test(e||"")||se.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=m?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:me(!1),disabled:me(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return X.test(e.nodeName)},input:function(e){return $.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ge((function(){return[0]})),last:ge((function(e,t){return[t-1]})),eq:ge((function(e,t,n){return[n<0?n+t:n]})),even:ge((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:ge((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:ge((function(e,t,n){for(var r=n<0?n+t:n>t?t:n;--r>=0;)e.push(r);return e})),gt:ge((function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e}))}},r.pseudos.nth=r.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=pe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=he(t);function be(){}function ye(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function Ae(e,t,n){var r=t.dir,o=t.next,i=o||r,a=n&&"parentNode"===i,s=_++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d,f=[C,s];if(l){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(u=(d=t[A]||(t[A]={}))[t.uniqueID]||(d[t.uniqueID]={}),o&&o===t.nodeName.toLowerCase())t=t[r]||t;else{if((c=u[i])&&c[0]===C&&c[1]===s)return f[2]=c[2];if(u[i]=f,f[2]=e(t,n,l))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){for(var o=e.length;o--;)if(!e[o](t,n,r))return!1;return!0}:e[0]}function Ce(e,t,n,r,o){for(var i,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(n&&!n(i,r,o)||(a.push(i),c&&t.push(s)));return a}function _e(e,t,n,r,o,i){return r&&!r[A]&&(r=_e(r)),o&&!o[A]&&(o=_e(o,i)),ce((function(i,a,s,l){var c,u,d,f=[],p=[],h=a.length,m=i||function(e,t,n){for(var r=0,o=t.length;r<o;r++)se(e,t[r],n);return n}(t||"*",s.nodeType?[s]:s,[]),g=!e||!i&&t?m:Ce(m,f,e,s,l),v=n?o||(i?e:h||r)?[]:a:g;if(n&&n(g,v,s,l),r)for(c=Ce(v,p),r(c,[],s,l),u=c.length;u--;)(d=c[u])&&(v[p[u]]=!(g[p[u]]=d));if(i){if(o||e){if(o){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(g[u]=d);o(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&(c=o?R(i,d):f[u])>-1&&(i[c]=!(a[c]=d))}}else v=Ce(v===a?v.splice(h,v.length):v),o?o(null,a,v,l):M.apply(a,v)}))}function we(e){for(var t,n,o,i=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],l=a?1:0,u=Ae((function(e){return e===t}),s,!0),d=Ae((function(e){return R(t,e)>-1}),s,!0),f=[function(e,n,r){var o=!a&&(r||n!==c)||((t=n).nodeType?u(e,n,r):d(e,n,r));return t=null,o}];l<i;l++)if(n=r.relative[e[l].type])f=[Ae(xe(f),n)];else{if((n=r.filter[e[l].type].apply(null,e[l].matches))[A]){for(o=++l;o<i&&!r.relative[e[o].type];o++);return _e(l>1&&xe(f),l>1&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(U,"$1"),n,l<o&&we(e.slice(l,o)),o<i&&we(e=e.slice(o)),o<i&&ye(e))}f.push(n)}return xe(f)}return be.prototype=r.filters=r.pseudos,r.setFilters=new be,a=se.tokenize=function(e,t){var n,o,i,a,s,l,c,u=k[e+" "];if(u)return t?0:u.slice(0);for(s=e,l=[],c=r.preFilter;s;){for(a in n&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(i=[])),n=!1,(o=W.exec(s))&&(n=o.shift(),i.push({value:n,type:o[0].replace(U," ")}),s=s.slice(n.length)),r.filter)!(o=G[a].exec(s))||c[a]&&!(o=c[a](o))||(n=o.shift(),i.push({value:n,type:a,matches:o}),s=s.slice(n.length));if(!n)break}return t?s.length:s?se.error(e):k(e,l).slice(0)},s=se.compile=function(e,t){var n,o=[],i=[],s=S[e+" "];if(!s){for(t||(t=a(e)),n=t.length;n--;)(s=we(t[n]))[A]?o.push(s):i.push(s);s=S(e,function(e,t){var n=t.length>0,o=e.length>0,i=function(i,a,s,l,u){var d,h,g,v=0,b="0",y=i&&[],A=[],x=c,_=i||o&&r.find.TAG("*",u),w=C+=null==x?1:Math.random()||.1,k=_.length;for(u&&(c=a==p||a||u);b!==k&&null!=(d=_[b]);b++){if(o&&d){for(h=0,a||d.ownerDocument==p||(f(d),s=!m);g=e[h++];)if(g(d,a||p,s)){l.push(d);break}u&&(C=w)}n&&((d=!g&&d)&&v--,i&&y.push(d))}if(v+=b,n&&b!==v){for(h=0;g=t[h++];)g(y,A,a,s);if(i){if(v>0)for(;b--;)y[b]||A[b]||(A[b]=T.call(l));A=Ce(A)}M.apply(l,A),u&&!i&&A.length>0&&v+t.length>1&&se.uniqueSort(l)}return u&&(C=w,c=x),y};return n?ce(i):i}(i,o)),s.selector=e}return s},l=se.select=function(e,t,n,o){var i,l,c,u,d,f="function"==typeof e&&e,p=!o&&a(e=f.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===t.nodeType&&m&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;f&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(i=G.needsContext.test(e)?0:l.length;i--&&(c=l[i],!r.relative[u=c.type]);)if((d=r.find[u])&&(o=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(i,1),!(e=o.length&&ye(l)))return M.apply(n,o),n;break}}return(f||s(e,p))(o,t,!m,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=A.split("").sort(B).join("")===A,n.detectDuplicates=!!d,f(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(p.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(L,(function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null})),se}(r);w.find=S,w.expr=S.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=S.uniqueSort,w.text=S.getText,w.isXMLDoc=S.isXML,w.contains=S.contains,w.escapeSelector=S.escape;var E=function(e,t,n){for(var r=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&w(e).is(n))break;r.push(e)}return r},B=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},O=w.expr.match.needsContext;function j(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var T=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function P(e,t,n){return v(t)?w.grep(e,(function(e,r){return!!t.call(e,r,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?w.grep(e,(function(e){return u.call(t,e)>-1!==n})):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,n,r=this.length,o=this;if("string"!=typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t<r;t++)if(w.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,o[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(P(this,e||[],!1))},not:function(e){return this.pushStack(P(this,e||[],!0))},is:function(e){return!!P(this,"string"==typeof e&&O.test(e)?w(e):e||[],!1).length}});var M,D=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var r,o;if(!e)return this;if(n=n||M,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:D.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:y,!0)),T.test(r[1])&&w.isPlainObject(t))for(r in t)v(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(o=y.getElementById(r[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):v(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,M=w(y);var R=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};function I(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0}))},closest:function(e,t){var n,r=0,o=this.length,i=[],a="string"!=typeof e&&w(e);if(!O.test(e))for(;r<o;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?w.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return E(e,"parentNode")},parentsUntil:function(e,t,n){return E(e,"parentNode",n)},next:function(e){return I(e,"nextSibling")},prev:function(e){return I(e,"previousSibling")},nextAll:function(e){return E(e,"nextSibling")},prevAll:function(e){return E(e,"previousSibling")},nextUntil:function(e,t,n){return E(e,"nextSibling",n)},prevUntil:function(e,t,n){return E(e,"previousSibling",n)},siblings:function(e){return B((e.parentNode||{}).firstChild,e)},children:function(e){return B(e.firstChild)},contents:function(e){return null!=e.contentDocument&&a(e.contentDocument)?e.contentDocument:(j(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(n,r){var o=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(o=w.filter(r,o)),this.length>1&&(L[e]||w.uniqueSort(o),R.test(e)&&o.reverse()),this.pushStack(o)}}));var N=/[^\x20\t\r\n\f]+/g;function F(e){return e}function z(e){throw e}function q(e,t,n,r){var o;try{e&&v(o=e.promise)?o.call(e).done(t).fail(n):e&&v(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return w.each(e.match(N)||[],(function(e,n){t[n]=!0})),t}(e):w.extend({},e);var t,n,r,o,i=[],a=[],s=-1,l=function(){for(o=o||e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s<i.length;)!1===i[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=i.length,n=!1);e.memory||(n=!1),t=!1,o&&(i=n?[]:"")},c={add:function(){return i&&(n&&!t&&(s=i.length-1,a.push(n)),function t(n){w.each(n,(function(n,r){v(r)?e.unique&&c.has(r)||i.push(r):r&&r.length&&"string"!==C(r)&&t(r)}))}(arguments),n&&!t&&l()),this},remove:function(){return w.each(arguments,(function(e,t){for(var n;(n=w.inArray(t,i,n))>-1;)i.splice(n,1),n<=s&&s--})),this},has:function(e){return e?w.inArray(e,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return o=a=[],i=n="",this},disabled:function(){return!i},lock:function(){return o=a=[],n||t||(i=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},w.extend({Deferred:function(e){var t=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(n){w.each(t,(function(t,r){var o=v(e[r[4]])&&e[r[4]];i[r[1]]((function(){var e=o&&o.apply(this,arguments);e&&v(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(e,n,o){var i=0;function a(e,t,n,o){return function(){var s=this,l=arguments,c=function(){var r,c;if(!(e<i)){if((r=n.apply(s,l))===t.promise())throw new TypeError("Thenable self-resolution");c=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(c)?o?c.call(r,a(i,t,F,o),a(i,t,z,o)):(i++,c.call(r,a(i,t,F,o),a(i,t,z,o),a(i,t,F,t.notifyWith))):(n!==F&&(s=void 0,l=[r]),(o||t.resolveWith)(s,l))}},u=o?c:function(){try{c()}catch(r){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(r,u.stackTrace),e+1>=i&&(n!==z&&(s=void 0,l=[r]),t.rejectWith(s,l))}};e?u():(w.Deferred.getStackHook&&(u.stackTrace=w.Deferred.getStackHook()),r.setTimeout(u))}}return w.Deferred((function(r){t[0][3].add(a(0,r,v(o)?o:F,r.notifyWith)),t[1][3].add(a(0,r,v(e)?e:F)),t[2][3].add(a(0,r,v(n)?n:z))})).promise()},promise:function(e){return null!=e?w.extend(e,o):o}},i={};return w.each(t,(function(e,r){var a=r[2],s=r[5];o[r[1]]=a.add,s&&a.add((function(){n=s}),t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),a.add(r[3].fire),i[r[0]]=function(){return i[r[0]+"With"](this===i?void 0:this,arguments),this},i[r[0]+"With"]=a.fireWith})),o.promise(i),e&&e.call(i,i),i},when:function(e){var t=arguments.length,n=t,r=Array(n),o=s.call(arguments),i=w.Deferred(),a=function(e){return function(n){r[e]=this,o[e]=arguments.length>1?s.call(arguments):n,--t||i.resolveWith(r,o)}};if(t<=1&&(q(e,i.done(a(n)).resolve,i.reject,!t),"pending"===i.state()||v(o[n]&&o[n].then)))return i.then();for(;n--;)q(o[n],a(n),i.reject);return i.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(e,t){r.console&&r.console.warn&&e&&U.test(e.name)&&r.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},w.readyException=function(e){r.setTimeout((function(){throw e}))};var H=w.Deferred();function W(){y.removeEventListener("DOMContentLoaded",W),r.removeEventListener("load",W),w.ready()}w.fn.ready=function(e){return H.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||H.resolveWith(y,[w]))}}),w.ready.then=H.then,"complete"===y.readyState||"loading"!==y.readyState&&!y.documentElement.doScroll?r.setTimeout(w.ready):(y.addEventListener("DOMContentLoaded",W),r.addEventListener("load",W));var V=function(e,t,n,r,o,i,a){var s=0,l=e.length,c=null==n;if("object"===C(n))for(s in o=!0,n)V(e,t,s,n[s],!0,i,a);else if(void 0!==r&&(o=!0,v(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(w(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):i},Y=/^-ms-/,Z=/-([a-z])/g;function G(e,t){return t.toUpperCase()}function K(e){return e.replace(Y,"ms-").replace(Z,G)}var $=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function X(){this.expando=w.expando+X.uid++}X.uid=1,X.prototype={cache:function(e){var t=e[this.expando];return t||(t={},$(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,o=this.cache(e);if("string"==typeof t)o[K(t)]=n;else for(r in t)o[K(r)]=t[r];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][K(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(K):(t=K(t))in r?[t]:t.match(N)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var Q=new X,J=new X,ee=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,te=/[A-Z]/g;function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(te,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ee.test(e)?JSON.parse(e):e)}(n)}catch(e){}J.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return J.hasData(e)||Q.hasData(e)},data:function(e,t,n){return J.access(e,t,n)},removeData:function(e,t){J.remove(e,t)},_data:function(e,t,n){return Q.access(e,t,n)},_removeData:function(e,t){Q.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,o,i=this[0],a=i&&i.attributes;if(void 0===e){if(this.length&&(o=J.get(i),1===i.nodeType&&!Q.get(i,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=K(r.slice(5)),ne(i,r,o[r]));Q.set(i,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){J.set(this,e)})):V(this,(function(t){var n;if(i&&void 0===t)return void 0!==(n=J.get(i,e))||void 0!==(n=ne(i,e))?n:void 0;this.each((function(){J.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){J.remove(this,e)}))}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Q.get(e,t),n&&(!r||Array.isArray(n)?r=Q.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,o=n.shift(),i=w._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),r--),o&&("fx"===t&&n.unshift("inprogress"),delete i.stop,o.call(e,(function(){w.dequeue(e,t)}),i)),!r&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Q.get(e,n)||Q.access(e,n,{empty:w.Callbacks("once memory").add((function(){Q.remove(e,[t+"queue",n])}))})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each((function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){w.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,o=w.Deferred(),i=this,a=this.length,s=function(){--r||o.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=Q.get(i[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),o.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,oe=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),ie=["Top","Right","Bottom","Left"],ae=y.documentElement,se=function(e){return w.contains(e.ownerDocument,e)},le={composed:!0};ae.getRootNode&&(se=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(le)===e.ownerDocument});var ce=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&se(e)&&"none"===w.css(e,"display")};function ue(e,t,n,r){var o,i,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},l=s(),c=n&&n[3]||(w.cssNumber[t]?"":"px"),u=e.nodeType&&(w.cssNumber[t]||"px"!==c&&+l)&&oe.exec(w.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)w.style(e,t,u+c),(1-i)*(1-(i=s()/l||.5))<=0&&(a=0),u/=i;u*=2,w.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=c,r.start=u,r.end=o)),o}var de={};function fe(e){var t,n=e.ownerDocument,r=e.nodeName,o=de[r];return o||(t=n.body.appendChild(n.createElement(r)),o=w.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),de[r]=o,o)}function pe(e,t){for(var n,r,o=[],i=0,a=e.length;i<a;i++)(r=e[i]).style&&(n=r.style.display,t?("none"===n&&(o[i]=Q.get(r,"display")||null,o[i]||(r.style.display="")),""===r.style.display&&ce(r)&&(o[i]=fe(r))):"none"!==n&&(o[i]="none",Q.set(r,"display",n)));for(i=0;i<a;i++)null!=o[i]&&(e[i].style.display=o[i]);return e}w.fn.extend({show:function(){return pe(this,!0)},hide:function(){return pe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ce(this)?w(this).show():w(this).hide()}))}});var he,me,ge=/^(?:checkbox|radio)$/i,ve=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,be=/^$|^module$|\/(?:java|ecma)script/i;he=y.createDocumentFragment().appendChild(y.createElement("div")),(me=y.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),g.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue,he.innerHTML="<option></option>",g.option=!!he.lastChild;var ye={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function Ae(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&j(e,t)?w.merge([e],n):n}function xe(e,t){for(var n=0,r=e.length;n<r;n++)Q.set(e[n],"globalEval",!t||Q.get(t[n],"globalEval"))}ye.tbody=ye.tfoot=ye.colgroup=ye.caption=ye.thead,ye.th=ye.td,g.option||(ye.optgroup=ye.option=[1,"<select multiple='multiple'>","</select>"]);var Ce=/<|&#?\w+;/;function _e(e,t,n,r,o){for(var i,a,s,l,c,u,d=t.createDocumentFragment(),f=[],p=0,h=e.length;p<h;p++)if((i=e[p])||0===i)if("object"===C(i))w.merge(f,i.nodeType?[i]:i);else if(Ce.test(i)){for(a=a||d.appendChild(t.createElement("div")),s=(ve.exec(i)||["",""])[1].toLowerCase(),l=ye[s]||ye._default,a.innerHTML=l[1]+w.htmlPrefilter(i)+l[2],u=l[0];u--;)a=a.lastChild;w.merge(f,a.childNodes),(a=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",p=0;i=f[p++];)if(r&&w.inArray(i,r)>-1)o&&o.push(i);else if(c=se(i),a=Ae(d.appendChild(i),"script"),c&&xe(a),n)for(u=0;i=a[u++];)be.test(i.type||"")&&n.push(i);return d}var we=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ee(e,t){return e===function(){try{return y.activeElement}catch(e){}}()==("focus"===t)}function Be(e,t,n,r,o,i){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Be(e,s,n,r,t[s],i);return e}if(null==r&&null==o?(o=n,r=n=void 0):null==o&&("string"==typeof n?(o=r,r=void 0):(o=r,r=n,n=void 0)),!1===o)o=Se;else if(!o)return e;return 1===i&&(a=o,o=function(e){return w().off(e),a.apply(this,arguments)},o.guid=a.guid||(a.guid=w.guid++)),e.each((function(){w.event.add(this,t,o,r,n)}))}function Oe(e,t,n){n?(Q.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var r,o,i=Q.get(this,t);if(1&e.isTrigger&&this[t]){if(i.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=s.call(arguments),Q.set(this,t,i),r=n(this,t),this[t](),i!==(o=Q.get(this,t))||r?Q.set(this,t,!1):o={},i!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else i.length&&(Q.set(this,t,{value:w.event.trigger(w.extend(i[0],w.Event.prototype),i.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,t)&&w.event.add(e,t,ke)}w.event={global:{},add:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Q.get(e);if($(e))for(n.handler&&(n=(i=n).handler,o=i.selector),o&&w.find.matchesSelector(ae,o),n.guid||(n.guid=w.guid++),(l=g.events)||(l=g.events=Object.create(null)),(a=g.handle)||(a=g.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(N)||[""]).length;c--;)p=m=(s=we.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p&&(d=w.event.special[p]||{},p=(o?d.delegateType:d.bindType)||p,d=w.event.special[p]||{},u=w.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:o,needsContext:o&&w.expr.match.needsContext.test(o),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(p,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?f.splice(f.delegateCount++,0,u):f.push(u),w.event.global[p]=!0)},remove:function(e,t,n,r,o){var i,a,s,l,c,u,d,f,p,h,m,g=Q.hasData(e)&&Q.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(N)||[""]).length;c--;)if(p=m=(s=we.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),p){for(d=w.event.special[p]||{},f=l[p=(r?d.delegateType:d.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=i=f.length;i--;)u=f[i],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(i,1),u.selector&&f.delegateCount--,d.remove&&d.remove.call(e,u));a&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||w.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)w.event.remove(e,p+t[c],n,r,!0);w.isEmptyObject(l)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,o,i,a,s=new Array(arguments.length),l=w.event.fix(e),c=(Q.get(this,"events")||Object.create(null))[l.type]||[],u=w.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=w.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(i=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(r=((w.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,s))&&!1===(l.result=r)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,r,o,i,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],a={},n=0;n<l;n++)void 0===a[o=(r=t[n]).selector+" "]&&(a[o]=r.needsContext?w(o,this).index(c)>-1:w.find(o,this,null,[c]).length),a[o]&&i.push(r);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:v(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ge.test(t.type)&&t.click&&j(t,"input")&&Oe(t,"click",ke),!1},trigger:function(e){var t=this||e;return ge.test(t.type)&&t.click&&j(t,"input")&&Oe(t,"click"),!0},_default:function(e){var t=e.target;return ge.test(t.type)&&t.click&&j(t,"input")&&Q.get(t,"click")||j(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?ke:Se,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:Se,isPropagationStopped:Se,isImmediatePropagationStopped:Se,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=ke,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=ke,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=ke,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},(function(e,t){w.event.special[e]={setup:function(){return Oe(this,e,Ee),!1},trigger:function(){return Oe(this,e),!0},_default:function(t){return Q.get(t.target,e)},delegateType:t}})),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,o=e.relatedTarget,i=e.handleObj;return o&&(o===r||w.contains(r,o))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}})),w.fn.extend({on:function(e,t,n,r){return Be(this,e,t,n,r)},one:function(e,t,n,r){return Be(this,e,t,n,r,1)},off:function(e,t,n){var r,o;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Se),this.each((function(){w.event.remove(this,e,n,t)}))}});var je=/<script|<style|<link/i,Te=/checked\s*(?:[^=]|=\s*.checked.)/i,Pe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Me(e,t){return j(e,"table")&&j(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,o,i,a,s;if(1===t.nodeType){if(Q.hasData(e)&&(s=Q.get(e).events))for(o in Q.remove(t,"handle events"),s)for(n=0,r=s[o].length;n<r;n++)w.event.add(t,o,s[o][n]);J.hasData(e)&&(i=J.access(e),a=w.extend({},i),J.set(t,a))}}function Ie(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ge.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ne(e,t,n,r){t=l(t);var o,i,a,s,c,u,d=0,f=e.length,p=f-1,h=t[0],m=v(h);if(m||f>1&&"string"==typeof h&&!g.checkClone&&Te.test(h))return e.each((function(o){var i=e.eq(o);m&&(t[0]=h.call(this,o,i.html())),Ne(i,t,n,r)}));if(f&&(i=(o=_e(t,e[0].ownerDocument,!1,e,r)).firstChild,1===o.childNodes.length&&(o=i),i||r)){for(s=(a=w.map(Ae(o,"script"),De)).length;d<f;d++)c=o,d!==p&&(c=w.clone(c,!0,!0),s&&w.merge(a,Ae(c,"script"))),n.call(e[d],c,d);if(s)for(u=a[a.length-1].ownerDocument,w.map(a,Re),d=0;d<s;d++)c=a[d],be.test(c.type||"")&&!Q.access(c,"globalEval")&&w.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?w._evalUrl&&!c.noModule&&w._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):x(c.textContent.replace(Pe,""),c,u))}return e}function Fe(e,t,n){for(var r,o=t?w.filter(t,e):e,i=0;null!=(r=o[i]);i++)n||1!==r.nodeType||w.cleanData(Ae(r)),r.parentNode&&(n&&se(r)&&xe(Ae(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var r,o,i,a,s=e.cloneNode(!0),l=se(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=Ae(s),r=0,o=(i=Ae(e)).length;r<o;r++)Ie(i[r],a[r]);if(t)if(n)for(i=i||Ae(e),a=a||Ae(s),r=0,o=i.length;r<o;r++)Le(i[r],a[r]);else Le(e,s);return(a=Ae(s,"script")).length>0&&xe(a,!l&&Ae(e,"script")),s},cleanData:function(e){for(var t,n,r,o=w.event.special,i=0;void 0!==(n=e[i]);i++)if($(n)){if(t=n[Q.expando]){if(t.events)for(r in t.events)o[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[Q.expando]=void 0}n[J.expando]&&(n[J.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Fe(this,e,!0)},remove:function(e){return Fe(this,e)},text:function(e){return V(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Ne(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Me(this,e).appendChild(e)}))},prepend:function(){return Ne(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Me(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ne(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(Ae(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return V(this,(function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!je.test(e)&&!ye[(ve.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(Ae(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ne(this,arguments,(function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(Ae(this)),n&&n.replaceChild(t,this))}),e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){w.fn[e]=function(e){for(var n,r=[],o=w(e),i=o.length-1,a=0;a<=i;a++)n=a===i?this:this.clone(!0),w(o[a])[t](n),c.apply(r,n.get());return this.pushStack(r)}}));var ze=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),qe=/^--/,Ue=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=r),t.getComputedStyle(e)},He=function(e,t,n){var r,o,i={};for(o in t)i[o]=e.style[o],e.style[o]=t[o];for(o in r=n.call(e),t)e.style[o]=i[o];return r},We=new RegExp(ie.join("|"),"i"),Ve=new RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$","g");function Ye(e,t,n){var r,o,i,a,s=qe.test(t),l=e.style;return(n=n||Ue(e))&&(a=n.getPropertyValue(t)||n[t],s&&(a=a.replace(Ve,"$1")),""!==a||se(e)||(a=w.style(e,t)),!g.pixelBoxStyles()&&ze.test(a)&&We.test(t)&&(r=l.width,o=l.minWidth,i=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=r,l.minWidth=o,l.maxWidth=i)),void 0!==a?a+"":a}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ae.appendChild(c).appendChild(u);var e=r.getComputedStyle(u);n="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",i=12===t(u.offsetWidth/3),ae.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var n,o,i,a,s,l,c=y.createElement("div"),u=y.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,w.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),n},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,t,n,o;return null==s&&(e=y.createElement("table"),t=y.createElement("tr"),n=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="border:1px solid",t.style.height="1px",n.style.height="9px",n.style.display="block",ae.appendChild(e).appendChild(t).appendChild(n),o=r.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ae.removeChild(e)),s}}))}();var Ge=["Webkit","Moz","ms"],Ke=y.createElement("div").style,$e={};function Xe(e){var t=w.cssProps[e]||$e[e];return t||(e in Ke?e:$e[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;n--;)if((e=Ge[n]+t)in Ke)return e}(e)||e)}var Qe=/^(none|table(?!-c[ea]).+)/,Je={position:"absolute",visibility:"hidden",display:"block"},et={letterSpacing:"0",fontWeight:"400"};function tt(e,t,n){var r=oe.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function nt(e,t,n,r,o,i){var a="width"===t?1:0,s=0,l=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=w.css(e,n+ie[a],!0,o)),r?("content"===n&&(l-=w.css(e,"padding"+ie[a],!0,o)),"margin"!==n&&(l-=w.css(e,"border"+ie[a]+"Width",!0,o))):(l+=w.css(e,"padding"+ie[a],!0,o),"padding"!==n?l+=w.css(e,"border"+ie[a]+"Width",!0,o):s+=w.css(e,"border"+ie[a]+"Width",!0,o));return!r&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-s-.5))||0),l}function rt(e,t,n){var r=Ue(e),o=(!g.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,r),i=o,a=Ye(e,t,r),s="offset"+t[0].toUpperCase()+t.slice(1);if(ze.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&j(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===w.css(e,"display",!1,r))&&e.getClientRects().length&&(o="border-box"===w.css(e,"boxSizing",!1,r),(i=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+nt(e,t,n||(o?"border":"content"),i,r,a)+"px"}function ot(e,t,n,r,o){return new ot.prototype.init(e,t,n,r,o)}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ye(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,i,a,s=K(t),l=qe.test(t),c=e.style;if(l||(t=Xe(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(o=a.get(e,!1,r))?o:c[t];"string"===(i=typeof n)&&(o=oe.exec(n))&&o[1]&&(n=ue(e,t,o),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=o&&o[3]||(w.cssNumber[s]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,r){var o,i,a,s=K(t);return qe.test(t)||(t=Xe(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=Ye(e,t,r)),"normal"===o&&t in et&&(o=et[t]),""===n||n?(i=parseFloat(o),!0===n||isFinite(i)?i||0:o):o}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!Qe.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?rt(e,t,r):He(e,Je,(function(){return rt(e,t,r)}))},set:function(e,n,r){var o,i=Ue(e),a=!g.scrollboxSize()&&"absolute"===i.position,s=(a||r)&&"border-box"===w.css(e,"boxSizing",!1,i),l=r?nt(e,t,r,s,i):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-nt(e,t,"border",!1,i)-.5)),l&&(o=oe.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),tt(0,n,l)}}})),w.cssHooks.marginLeft=Ze(g.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Ye(e,"marginLeft"))||e.getBoundingClientRect().left-He(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,o={},i="string"==typeof n?n.split(" "):[n];r<4;r++)o[e+ie[r]+t]=i[r]||i[r-2]||i[0];return o}},"margin"!==e&&(w.cssHooks[e+t].set=tt)})),w.fn.extend({css:function(e,t){return V(this,(function(e,t,n){var r,o,i={},a=0;if(Array.isArray(t)){for(r=Ue(e),o=t.length;a<o;a++)i[t[a]]=w.css(e,t[a],!1,r);return i}return void 0!==n?w.style(e,t,n):w.css(e,t)}),e,t,arguments.length>1)}}),w.Tween=ot,ot.prototype={constructor:ot,init:function(e,t,n,r,o,i){this.elem=e,this.prop=n,this.easing=o||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=i||(w.cssNumber[n]?"":"px")},cur:function(){var e=ot.propHooks[this.prop];return e&&e.get?e.get(this):ot.propHooks._default.get(this)},run:function(e){var t,n=ot.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):ot.propHooks._default.set(this),this}},ot.prototype.init.prototype=ot.prototype,ot.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||!w.cssHooks[e.prop]&&null==e.elem.style[Xe(e.prop)]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},ot.propHooks.scrollTop=ot.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=ot.prototype.init,w.fx.step={};var it,at,st=/^(?:toggle|show|hide)$/,lt=/queueHooks$/;function ct(){at&&(!1===y.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(ct):r.setTimeout(ct,w.fx.interval),w.fx.tick())}function ut(){return r.setTimeout((function(){it=void 0})),it=Date.now()}function dt(e,t){var n,r=0,o={height:e};for(t=t?1:0;r<4;r+=2-t)o["margin"+(n=ie[r])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function ft(e,t,n){for(var r,o=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),i=0,a=o.length;i<a;i++)if(r=o[i].call(n,t,e))return r}function pt(e,t,n){var r,o,i=0,a=pt.prefilters.length,s=w.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=it||ut(),n=Math.max(0,c.startTime+c.duration-t),r=1-(n/c.duration||0),i=0,a=c.tweens.length;i<a;i++)c.tweens[i].run(r);return s.notifyWith(e,[c,r,n]),r<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:it||ut(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(o)return this;for(o=!0;n<r;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(!function(e,t){var n,r,o,i,a;for(n in e)if(o=t[r=K(n)],i=e[n],Array.isArray(i)&&(o=i[1],i=e[n]=i[0]),n!==r&&(e[r]=i,delete e[n]),(a=w.cssHooks[r])&&"expand"in a)for(n in i=a.expand(i),delete e[r],i)n in e||(e[n]=i[n],t[n]=o);else t[r]=o}(u,c.opts.specialEasing);i<a;i++)if(r=pt.prefilters[i].call(c,e,u,c.opts))return v(r.stop)&&(w._queueHooks(c.elem,c.opts.queue).stop=r.stop.bind(r)),r;return w.map(u,ft,c),v(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),w.fx.timer(w.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,oe.exec(t),n),n}]},tweener:function(e,t){v(e)?(t=e,e=["*"]):e=e.match(N);for(var n,r=0,o=e.length;r<o;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var r,o,i,a,s,l,c,u,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&ce(e),g=Q.get(e,"fxshow");for(r in n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,f.always((function(){f.always((function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()}))}))),t)if(o=t[r],st.test(o)){if(delete t[r],i=i||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||!g||void 0===g[r])continue;m=!0}p[r]=g&&g[r]||w.style(e,r)}if((l=!w.isEmptyObject(t))||!w.isEmptyObject(p))for(r in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=g&&g.display)&&(c=Q.get(e,"display")),"none"===(u=w.css(e,"display"))&&(c?u=c:(pe([e],!0),c=e.style.display||c,u=w.css(e,"display"),pe([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===w.css(e,"float")&&(l||(f.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,p)l||(g?"hidden"in g&&(m=g.hidden):g=Q.access(e,"fxshow",{display:c}),i&&(g.hidden=!m),m&&pe([e],!0),f.done((function(){for(r in m||pe([e]),Q.remove(e,"fxshow"),p)w.style(e,r,p[r])}))),l=ft(m?g[r]:0,r,f),r in g||(g[r]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||v(e)&&e,duration:e,easing:n&&t||t&&!v(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ce).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var o=w.isEmptyObject(e),i=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),i);(o||Q.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===i.queue?this.each(a):this.queue(i.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",i=w.timers,a=Q.get(this);if(o)a[o]&&a[o].stop&&r(a[o]);else for(o in a)a[o]&&a[o].stop&&lt.test(o)&&r(a[o]);for(o=i.length;o--;)i[o].elem!==this||null!=e&&i[o].queue!==e||(i[o].anim.stop(n),t=!1,i.splice(o,1));!t&&n||w.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=Q.get(this),r=n[e+"queue"],o=n[e+"queueHooks"],i=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish}))}}),w.each(["toggle","show","hide"],(function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(dt(t,!0),e,r,o)}})),w.each({slideDown:dt("show"),slideUp:dt("hide"),slideToggle:dt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}})),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(it=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),it=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){at||(at=!0,ct())},w.fx.stop=function(){at=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(e,t){return e=w.fx&&w.fx.speeds[e]||e,t=t||"fx",this.queue(t,(function(t,n){var o=r.setTimeout(t,e);n.stop=function(){r.clearTimeout(o)}}))},function(){var e=y.createElement("input"),t=y.createElement("select").appendChild(y.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=y.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var ht,mt=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return V(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?w.prop(e,t,n):(1===i&&w.isXMLDoc(e)||(o=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?ht:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(r=o.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&j(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,o=t&&t.match(N);if(o&&1===e.nodeType)for(;n=o[r++];)e.removeAttribute(n)}}),ht={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=mt[t]||w.find.attr;mt[t]=function(e,t,r){var o,i,a=t.toLowerCase();return r||(i=mt[a],mt[a]=o,o=null!=n(e,t,r)?a:null,mt[a]=i),o}}));var gt=/^(?:input|select|textarea|button)$/i,vt=/^(?:a|area)$/i;function bt(e){return(e.match(N)||[]).join(" ")}function yt(e){return e.getAttribute&&e.getAttribute("class")||""}function At(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(N)||[]}w.fn.extend({prop:function(e,t){return V(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,n){var r,o,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&w.isXMLDoc(e)||(t=w.propFix[t]||t,o=w.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(r=o.set(e,n,t))?r:e[t]=n:o&&"get"in o&&null!==(r=o.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||vt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){w(this).addClass(e.call(this,t,yt(this)))})):(t=At(e)).length?this.each((function(){if(r=yt(this),n=1===this.nodeType&&" "+bt(r)+" "){for(i=0;i<t.length;i++)o=t[i],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=bt(n),r!==a&&this.setAttribute("class",a)}})):this},removeClass:function(e){var t,n,r,o,i,a;return v(e)?this.each((function(t){w(this).removeClass(e.call(this,t,yt(this)))})):arguments.length?(t=At(e)).length?this.each((function(){if(r=yt(this),n=1===this.nodeType&&" "+bt(r)+" "){for(i=0;i<t.length;i++)for(o=t[i];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=bt(n),r!==a&&this.setAttribute("class",a)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,r,o,i,a=typeof e,s="string"===a||Array.isArray(e);return v(e)?this.each((function(n){w(this).toggleClass(e.call(this,n,yt(this),t),t)})):"boolean"==typeof t&&s?t?this.addClass(e):this.removeClass(e):(n=At(e),this.each((function(){if(s)for(i=w(this),o=0;o<n.length;o++)r=n[o],i.hasClass(r)?i.removeClass(r):i.addClass(r);else void 0!==e&&"boolean"!==a||((r=yt(this))&&Q.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===e?"":Q.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+bt(yt(n))+" ").indexOf(t)>-1)return!0;return!1}});var xt=/\r/g;w.fn.extend({val:function(e){var t,n,r,o=this[0];return arguments.length?(r=v(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=r?e.call(this,n,w(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=w.map(o,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=w.valHooks[o.type]||w.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(xt,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:bt(w.text(e))}},select:{get:function(e){var t,n,r,o=e.options,i=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?i+1:o.length;for(r=i<0?l:a?i:0;r<l;r++)if(((n=o[r]).selected||r===i)&&!n.disabled&&(!n.parentNode.disabled||!j(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,r,o=e.options,i=w.makeArray(t),a=o.length;a--;)((r=o[a]).selected=w.inArray(w.valHooks.option.get(r),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},g.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),g.focusin="onfocusin"in r;var Ct=/^(?:focusinfocus|focusoutblur)$/,_t=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(e,t,n,o){var i,a,s,l,c,u,d,f,h=[n||y],m=p.call(e,"type")?e.type:e,g=p.call(e,"namespace")?e.namespace.split("."):[];if(a=f=s=n=n||y,3!==n.nodeType&&8!==n.nodeType&&!Ct.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(g=m.split("."),m=g.shift(),g.sort()),c=m.indexOf(":")<0&&"on"+m,(e=e[w.expando]?e:new w.Event(m,"object"==typeof e&&e)).isTrigger=o?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=n),t=null==t?[e]:w.makeArray(t,[e]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(n,t))){if(!o&&!d.noBubble&&!b(n)){for(l=d.delegateType||m,Ct.test(l+m)||(a=a.parentNode);a;a=a.parentNode)h.push(a),s=a;s===(n.ownerDocument||y)&&h.push(s.defaultView||s.parentWindow||r)}for(i=0;(a=h[i++])&&!e.isPropagationStopped();)f=a,e.type=i>1?l:d.bindType||m,(u=(Q.get(a,"events")||Object.create(null))[e.type]&&Q.get(a,"handle"))&&u.apply(a,t),(u=c&&a[c])&&u.apply&&$(a)&&(e.result=u.apply(a,t),!1===e.result&&e.preventDefault());return e.type=m,o||e.isDefaultPrevented()||d._default&&!1!==d._default.apply(h.pop(),t)||!$(n)||c&&v(n[m])&&!b(n)&&((s=n[c])&&(n[c]=null),w.event.triggered=m,e.isPropagationStopped()&&f.addEventListener(m,_t),n[m](),e.isPropagationStopped()&&f.removeEventListener(m,_t),w.event.triggered=void 0,s&&(n[c]=s)),e.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),g.focusin||w.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t);o||r.addEventListener(e,n,!0),Q.access(r,t,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,o=Q.access(r,t)-1;o?Q.access(r,t,o):(r.removeEventListener(e,n,!0),Q.remove(r,t))}}}));var wt=r.location,kt={guid:Date.now()},St=/\?/;w.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{t=(new r.DOMParser).parseFromString(e,"text/xml")}catch(e){}return n=t&&t.getElementsByTagName("parsererror")[0],t&&!n||w.error("Invalid XML: "+(n?w.map(n.childNodes,(function(e){return e.textContent})).join("\n"):e)),t};var Et=/\[\]$/,Bt=/\r?\n/g,Ot=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;function Tt(e,t,n,r){var o;if(Array.isArray(t))w.each(t,(function(t,o){n||Et.test(e)?r(e,o):Tt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)}));else if(n||"object"!==C(t))r(e,t);else for(o in t)Tt(e+"["+o+"]",t[o],n,r)}w.param=function(e,t){var n,r=[],o=function(e,t){var n=v(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){o(this.name,this.value)}));else for(n in e)Tt(n,e[n],t,o);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&jt.test(this.nodeName)&&!Ot.test(e)&&(this.checked||!ge.test(e))})).map((function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,(function(e){return{name:t.name,value:e.replace(Bt,"\r\n")}})):{name:t.name,value:n.replace(Bt,"\r\n")}})).get()}});var Pt=/%20/g,Mt=/#.*$/,Dt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Lt=/^(?:GET|HEAD)$/,It=/^\/\//,Nt={},Ft={},zt="*/".concat("*"),qt=y.createElement("a");function Ut(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,o=0,i=t.toLowerCase().match(N)||[];if(v(n))for(;r=i[o++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function Ht(e,t,n,r){var o={},i=e===Ft;function a(s){var l;return o[s]=!0,w.each(e[s]||[],(function(e,s){var c=s(t,n,r);return"string"!=typeof c||i||o[c]?i?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)})),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Wt(e,t){var n,r,o=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}qt.href=wt.href,w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Wt(Wt(e,w.ajaxSettings),t):Wt(w.ajaxSettings,e)},ajaxPrefilter:Ut(Nt),ajaxTransport:Ut(Ft),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0),t=t||{};var n,o,i,a,s,l,c,u,d,f,p=w.ajaxSetup({},t),h=p.context||p,m=p.context&&(h.nodeType||h.jquery)?w(h):w.event,g=w.Deferred(),v=w.Callbacks("once memory"),b=p.statusCode||{},A={},x={},C="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Rt.exec(i);)a[t[1].toLowerCase()+" "]=(a[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=a[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,A[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)_.always(e[_.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return n&&n.abort(t),k(0,t),this}};if(g.promise(_),p.url=((e||p.url||wt.href)+"").replace(It,wt.protocol+"//"),p.type=t.method||t.type||p.method||p.type,p.dataTypes=(p.dataType||"*").toLowerCase().match(N)||[""],null==p.crossDomain){l=y.createElement("a");try{l.href=p.url,l.href=l.href,p.crossDomain=qt.protocol+"//"+qt.host!=l.protocol+"//"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&"string"!=typeof p.data&&(p.data=w.param(p.data,p.traditional)),Ht(Nt,p,t,_),c)return _;for(d in(u=w.event&&p.global)&&0==w.active++&&w.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Lt.test(p.type),o=p.url.replace(Mt,""),p.hasContent?p.data&&p.processData&&0===(p.contentType||"").indexOf("application/x-www-form-urlencoded")&&(p.data=p.data.replace(Pt,"+")):(f=p.url.slice(o.length),p.data&&(p.processData||"string"==typeof p.data)&&(o+=(St.test(o)?"&":"?")+p.data,delete p.data),!1===p.cache&&(o=o.replace(Dt,"$1"),f=(St.test(o)?"&":"?")+"_="+kt.guid+++f),p.url=o+f),p.ifModified&&(w.lastModified[o]&&_.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&_.setRequestHeader("If-None-Match",w.etag[o])),(p.data&&p.hasContent&&!1!==p.contentType||t.contentType)&&_.setRequestHeader("Content-Type",p.contentType),_.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+zt+"; q=0.01":""):p.accepts["*"]),p.headers)_.setRequestHeader(d,p.headers[d]);if(p.beforeSend&&(!1===p.beforeSend.call(h,_,p)||c))return _.abort();if(C="abort",v.add(p.complete),_.done(p.success),_.fail(p.error),n=Ht(Ft,p,t,_)){if(_.readyState=1,u&&m.trigger("ajaxSend",[_,p]),c)return _;p.async&&p.timeout>0&&(s=r.setTimeout((function(){_.abort("timeout")}),p.timeout));try{c=!1,n.send(A,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(e,t,a,l){var d,f,y,A,x,C=t;c||(c=!0,s&&r.clearTimeout(s),n=void 0,i=l||"",_.readyState=e>0?4:0,d=e>=200&&e<300||304===e,a&&(A=function(e,t,n){for(var r,o,i,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(o in s)if(s[o]&&s[o].test(r)){l.unshift(o);break}if(l[0]in n)i=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){i=o;break}a||(a=o)}i=i||a}if(i)return i!==l[0]&&l.unshift(i),n[i]}(p,_,a)),!d&&w.inArray("script",p.dataTypes)>-1&&w.inArray("json",p.dataTypes)<0&&(p.converters["text script"]=function(){}),A=function(e,t,n,r){var o,i,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(i=u.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(a=c[l+" "+i]||c["* "+i]))for(o in c)if((s=o.split(" "))[1]===i&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(i=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}(p,A,_,d),d?(p.ifModified&&((x=_.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=x),(x=_.getResponseHeader("etag"))&&(w.etag[o]=x)),204===e||"HEAD"===p.type?C="nocontent":304===e?C="notmodified":(C=A.state,f=A.data,d=!(y=A.error))):(y=C,!e&&C||(C="error",e<0&&(e=0))),_.status=e,_.statusText=(t||C)+"",d?g.resolveWith(h,[f,C,_]):g.rejectWith(h,[_,C,y]),_.statusCode(b),b=void 0,u&&m.trigger(d?"ajaxSuccess":"ajaxError",[_,p,d?f:y]),v.fireWith(h,[_,C]),u&&(m.trigger("ajaxComplete",[_,p]),--w.active||w.event.trigger("ajaxStop")))}return _},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],(function(e,t){w[t]=function(e,n,r,o){return v(n)&&(o=o||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:o,data:n,success:r},w.isPlainObject(e)&&e))}})),w.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),w._evalUrl=function(e,t,n){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){w.globalEval(e,t,n)}})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(v(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return v(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=v(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Yt=w.ajaxSettings.xhr();g.cors=!!Yt&&"withCredentials"in Yt,g.ajax=Yt=!!Yt,w.ajaxTransport((function(e){var t,n;if(g.cors||Yt&&!e.crossDomain)return{send:function(o,i){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=n=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?i(0,"error"):i(s.status,s.statusText):i(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),n=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=n:s.onreadystatechange=function(){4===s.readyState&&r.setTimeout((function(){t&&n()}))},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}})),w.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),w.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(r,o){t=w("<script>").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),y.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Zt,Gt=[],Kt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||w.expando+"_"+kt.guid++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",(function(e,t,n){var o,i,a,s=!1!==e.jsonp&&(Kt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=v(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(Kt,"$1"+o):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||w.error(o+" was not called"),a[0]},e.dataTypes[0]="json",i=r[o],r[o]=function(){a=arguments},n.always((function(){void 0===i?w(r).removeProp(o):r[o]=i,e[o]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(o)),a&&v(i)&&i(a[0]),a=i=void 0})),"script"})),g.createHTMLDocument=((Zt=y.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Zt.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((r=(t=y.implementation.createHTMLDocument("")).createElement("base")).href=y.location.href,t.head.appendChild(r)):t=y),i=!n&&[],(o=T.exec(e))?[t.createElement(o[1])]:(o=_e([e],t,i),i&&i.length&&w(i).remove(),w.merge([],o.childNodes)));var r,o,i},w.fn.load=function(e,t,n){var r,o,i,a=this,s=e.indexOf(" ");return s>-1&&(r=bt(e.slice(s)),e=e.slice(0,s)),v(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),a.length>0&&w.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){i=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)})).always(n&&function(e,t){a.each((function(){n.apply(this,i||[e.responseText,t,e])}))}),this},w.expr.pseudos.animated=function(e){return w.grep(w.timers,(function(t){return e===t.elem})).length},w.offset={setOffset:function(e,t,n){var r,o,i,a,s,l,c=w.css(e,"position"),u=w(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),i=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(a=(r=u.position()).top,o=r.left):(a=parseFloat(i)||0,o=parseFloat(l)||0),v(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){w.offset.setOffset(this,e,t)}));var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],o={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((o=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),o.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-w.css(r,"marginTop",!0),left:t.left-o.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||ae}))}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return V(this,(function(e,r,o){var i;if(b(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===o)return i?i[t]:e[r];i?i.scrollTo(n?i.pageXOffset:o,n?o:i.pageYOffset):e[r]=o}),e,r,arguments.length)}})),w.each(["top","left"],(function(e,t){w.cssHooks[t]=Ze(g.pixelPosition,(function(e,n){if(n)return n=Ye(e,t),ze.test(n)?w(e).position()[t]+"px":n}))})),w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,r){w.fn[r]=function(o,i){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===i?"margin":"border");return V(this,(function(t,n,o){var i;return b(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===o?w.css(t,n,s):w.style(t,n,o,s)}),t,a?o:void 0,a)}}))})),w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){w.fn[t]=function(e){return this.on(t,e)}})),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var $t=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,r,o;if("string"==typeof t&&(n=e[t],t=e,e=n),v(e))return r=s.call(arguments,2),o=function(){return e.apply(t||this,r.concat(s.call(arguments)))},o.guid=e.guid=e.guid||w.guid++,o},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=j,w.isFunction=v,w.isWindow=b,w.camelCase=K,w.type=C,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},w.trim=function(e){return null==e?"":(e+"").replace($t,"$1")},void 0===(n=function(){return w}.apply(t,[]))||(e.exports=n);var Xt=r.jQuery,Qt=r.$;return w.noConflict=function(e){return r.$===w&&(r.$=Qt),e&&r.jQuery===w&&(r.jQuery=Xt),w},void 0===o&&(r.jQuery=r.$=w),w}))},80973:function(e,t,n){var r=n(71169),o=function(e){var t="",n=Object.keys(e);return n.forEach((function(o,i){var a=e[o];(function(e){return/[height|width]$/.test(e)})(o=r(o))&&"number"==typeof a&&(a+="px"),t+=!0===a?o:!1===a?"not "+o:"("+o+": "+a+")",i<n.length-1&&(t+=" and ")})),t};e.exports=function(e){var t="";return"string"==typeof e?e:e instanceof Array?(e.forEach((function(n,r){t+=o(n),r<e.length-1&&(t+=", ")})),t):o(e)}},29705:function(e,t){var n,r,o;!function(i,a){"use strict";r=[],void 0===(o="function"==typeof(n=function(){function e(){if("undefined"!=typeof document&&document.documentElement)return document.documentElement.lang}function t(e){return"-Inf"===e?-1/0:"+Inf"===e||"Inf"===e||"*"===e?1/0:parseInt(e,10)}var n=/^({\s*(\-?\d+(\.\d+)?[\s*,\s*\-?\d+(\.\d+)?]*)\s*})|([\[\]])\s*(-Inf|\*|\-?\d+(\.\d+)?)\s*,\s*(\+?Inf|\*|\-?\d+(\.\d+)?)\s*([\[\]])$/,r=/({\s*(\-?\d+(\.\d+)?[\s*,\s*\-?\d+(\.\d+)?]*)\s*})|([\[\]])\s*(-Inf|\*|\-?\d+(\.\d+)?)\s*,\s*(\+?Inf|\*|\-?\d+(\.\d+)?)\s*([\[\]])/,o={locale:"en"},i=function(t){t=t||{},this.locale=t.locale||e()||o.locale,this.fallback=t.fallback,this.messages=t.messages};return i.prototype.setMessages=function(e){this.messages=e},i.prototype.getLocale=function(){return this.locale||this.fallback},i.prototype.setLocale=function(e){this.locale=e},i.prototype.getFallback=function(){return this.fallback},i.prototype.setFallback=function(e){this.fallback=e},i.prototype.has=function(e,t){return!("string"!=typeof e||!this.messages)&&null!==this._getMessage(e,t)},i.prototype.get=function(e,t,n){if(!this.has(e,n))return e;var r=this._getMessage(e,n);return null===r?e:(t&&(r=this._applyReplacements(r,t)),r)},i.prototype.trans=function(e,t){return this.get(e,t)},i.prototype.choice=function(e,t,n,o){(n=void 0!==n?n:{}).count=t;var i=this.get(e,n,o);if(null==i)return i;for(var a=i.split("|"),s=[],l=0;l<a.length;l++)if(a[l]=a[l].trim(),r.test(a[l])){var c=a[l].split(/\s/);s.push(c.shift()),a[l]=c.join(" ")}if(1===a.length)return i;for(var u=0;u<s.length;u++)if(this._testInterval(t,s[u]))return a[u];return o=o||this._getLocale(e),a[this._getPluralForm(t,o)]},i.prototype.transChoice=function(e,t,n){return this.choice(e,t,n)},i.prototype._parseKey=function(e,t){if("string"!=typeof e||"string"!=typeof t)return null;var n=e.split("."),r=n[0].replace(/\//g,".");return{source:t+"."+r,sourceFallback:this.getFallback()+"."+r,entries:n.slice(1)}},i.prototype._getMessage=function(e,t){if(t=t||this.getLocale(),e=this._parseKey(e,t),void 0===this.messages[e.source]&&void 0===this.messages[e.sourceFallback])return null;var n=this.messages[e.source],r=e.entries.slice(),o=r.join(".");if("string"!=typeof(n=void 0!==n?this._getValueInKey(n,o):void 0)&&this.messages[e.sourceFallback])for(n=this.messages[e.sourceFallback],r=e.entries.slice(),o="";r.length&&void 0!==n;){n[o=o?o.concat(".",r.shift()):r.shift()]&&(n=n[o],o="")}return"string"!=typeof n?null:n},i.prototype._getValueInKey=function(e,t){if("string"==typeof e[t])return e[t];for(var n=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split("."),r=0,o=n.length;r<o;++r){var i=n.slice(0,r+1).join("."),a=n.slice(r+1,n.length).join(".");if(e[i])return this._getValueInKey(e[i],a)}return e},i.prototype._getLocale=function(e){return e=this._parseKey(e,this.locale),this.messages[e.source]?this.locale:this.messages[e.sourceFallback]?this.fallback:null},i.prototype._findMessageInTree=function(e,t){for(;e.length&&void 0!==t;){var n=e.join(".");if(t[n]){t=t[n];break}t=t[e.shift()]}return t},i.prototype._sortReplacementKeys=function(e,t){return t.length-e.length},i.prototype._applyReplacements=function(e,t){return Object.keys(t).sort(this._sortReplacementKeys).forEach((function(n){e=e.replace(new RegExp(":"+n,"gi"),(function(e){var r=t[n];return e===e.toUpperCase()?r.toUpperCase():e===e.replace(/\w/i,(function(e){return e.toUpperCase()}))?r.charAt(0).toUpperCase()+r.slice(1):r}))})),e},i.prototype._testInterval=function(e,r){if("string"!=typeof r)throw"Invalid interval: should be a string.";var o=(r=r.trim()).match(n);if(!o)throw"Invalid interval: "+r;if(!o[2]){var i=(o=o.filter((function(e){return!!e})))[1],a=t(o[2]);a===1/0&&(a=-1/0);var s=t(o[3]),l=o[4];return("["===i?e>=a:e>a)&&("]"===l?e<=s:e<s)}for(var c=o[2].split(","),u=0;u<c.length;u++)if(parseInt(c[u],10)===e)return!0;return!1},i.prototype._getPluralForm=function(e,t){switch(t){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":default:return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return 1==e?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return 0===e||1===e?0:1;case"be":case"bs":case"hr":case"ru":case"sr":case"uk":return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2;case"cs":case"sk":return 1==e?0:e>=2&&e<=4?1:2;case"ga":return 1==e?0:2==e?1:2;case"lt":return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2;case"sl":return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3;case"mk":return e%10==1?0:1;case"mt":return 1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3;case"lv":return 0===e?0:e%10==1&&e%100!=11?1:2;case"pl":return 1==e?0:e%10>=2&&e%10<=4&&(e%100<12||e%100>14)?1:2;case"cy":return 1==e?0:2==e?1:8==e||11==e?2:3;case"ro":return 1==e?0:0===e||e%100>0&&e%100<20?1:2;case"ar":return 0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11&&e%100<=99?4:5}},i})?n.apply(t,r):n)||(e.exports=o)}()},49090:function(e){function t(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function n(e,t){e.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,t(null,e))}}e.exports=function(e,r,o){var i=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof r&&(o=r,r={}),r=r||{},o=o||function(){},a.type=r.type||"text/javascript",a.charset=r.charset||"utf8",a.async=!("async"in r)||!!r.async,a.src=e,r.attrs&&function(e,t){for(var n in t)e.setAttribute(n,t[n])}(a,r.attrs),r.text&&(a.text=""+r.text),("onload"in a?t:n)(a,o),a.onload||t(a,o),i.appendChild(a)}},91296:function(e,t,n){var r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,l="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,c="object"==typeof self&&self&&self.Object===Object&&self,u=l||c||Function("return this")(),d=Object.prototype.toString,f=Math.max,p=Math.min,h=function(){return u.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==d.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var n=i.test(e);return n||a.test(e)?s(e.slice(2),n?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function b(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function y(e){return c=e,s=setTimeout(x,t),u?b(e):a}function A(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function x(){var e=h();if(A(e))return C(e);s=setTimeout(x,function(e){var n=t-(e-l);return d?p(n,i-(e-c)):n}(e))}function C(e){return s=void 0,v&&r?b(e):(r=o=void 0,a)}function _(){var e=h(),n=A(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return y(l);if(d)return s=setTimeout(x,t),b(l)}return void 0===s&&(s=setTimeout(x,t)),a}return t=g(t)||0,m(n)&&(u=!!n.leading,i=(d="maxWait"in n)?f(g(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),_.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},_.flush=function(){return void 0===s?a:C(h())},_}},29208:function(e,t,n){var r="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,f="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,p="object"==typeof self&&self&&self.Object===Object&&self,h=f||p||Function("return this")();var m,g=Array.prototype,v=Function.prototype,b=Object.prototype,y=h["__core-js_shared__"],A=(m=/[^.]+$/.exec(y&&y.keys&&y.keys.IE_PROTO||""))?"Symbol(src)_1."+m:"",x=v.toString,C=b.hasOwnProperty,_=b.toString,w=RegExp("^"+x.call(C).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k=h.Symbol,S=g.splice,E=N(h,"Map"),B=N(Object,"create"),O=k?k.prototype:void 0,j=O?O.toString:void 0;function T(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function P(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function M(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function D(e,t){for(var n,r,o=e.length;o--;)if((n=e[o][0])===(r=t)||n!=n&&r!=r)return o;return-1}function R(e,t){var n;t=function(e,t){if(U(e))return!1;var n=typeof e;if("number"==n||"symbol"==n||"boolean"==n||null==e||W(e))return!0;return s.test(e)||!a.test(e)||null!=t&&e in Object(t)}(t,e)?[t]:U(n=t)?n:F(n);for(var r=0,o=t.length;null!=e&&r<o;)e=e[z(t[r++])];return r&&r==o?e:void 0}function L(e){if(!H(e)||(t=e,A&&A in t))return!1;var t,n=function(e){var t=H(e)?_.call(e):"";return t==o||t==i}(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?w:d;return n.test(function(e){if(null!=e){try{return x.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function I(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function N(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return L(n)?n:void 0}T.prototype.clear=function(){this.__data__=B?B(null):{}},T.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},T.prototype.get=function(e){var t=this.__data__;if(B){var n=t[e];return n===r?void 0:n}return C.call(t,e)?t[e]:void 0},T.prototype.has=function(e){var t=this.__data__;return B?void 0!==t[e]:C.call(t,e)},T.prototype.set=function(e,t){return this.__data__[e]=B&&void 0===t?r:t,this},P.prototype.clear=function(){this.__data__=[]},P.prototype.delete=function(e){var t=this.__data__,n=D(t,e);return!(n<0)&&(n==t.length-1?t.pop():S.call(t,n,1),!0)},P.prototype.get=function(e){var t=this.__data__,n=D(t,e);return n<0?void 0:t[n][1]},P.prototype.has=function(e){return D(this.__data__,e)>-1},P.prototype.set=function(e,t){var n=this.__data__,r=D(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},M.prototype.clear=function(){this.__data__={hash:new T,map:new(E||P),string:new T}},M.prototype.delete=function(e){return I(this,e).delete(e)},M.prototype.get=function(e){return I(this,e).get(e)},M.prototype.has=function(e){return I(this,e).has(e)},M.prototype.set=function(e,t){return I(this,e).set(e,t),this};var F=q((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(W(e))return j?j.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return l.test(e)&&n.push(""),e.replace(c,(function(e,t,r,o){n.push(r?o.replace(u,"$1"):t||e)})),n}));function z(e){if("string"==typeof e||W(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function q(e,t){if("function"!=typeof e||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),a};return n.cache=new(q.Cache||M),n}q.Cache=M;var U=Array.isArray;function H(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function W(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==_.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:R(e,t);return void 0===r?n:r}},72307:function(e,t,n){e=n.nmd(e);var r="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",f="[object Number]",p="[object Object]",h="[object Promise]",m="[object RegExp]",g="[object Set]",v="[object String]",b="[object Symbol]",y="[object WeakMap]",A="[object ArrayBuffer]",x="[object DataView]",C=/^\[object .+?Constructor\]$/,_=/^(?:0|[1-9]\d*)$/,w={};w["[object Float32Array]"]=w["[object Float64Array]"]=w["[object Int8Array]"]=w["[object Int16Array]"]=w["[object Int32Array]"]=w["[object Uint8Array]"]=w["[object Uint8ClampedArray]"]=w["[object Uint16Array]"]=w["[object Uint32Array]"]=!0,w[i]=w[a]=w[A]=w[s]=w[x]=w[l]=w[c]=w[u]=w[d]=w[f]=w[p]=w[m]=w[g]=w[v]=w[y]=!1;var k="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,S="object"==typeof self&&self&&self.Object===Object&&self,E=k||S||Function("return this")(),B=t&&!t.nodeType&&t,O=B&&e&&!e.nodeType&&e,j=O&&O.exports===B,T=j&&k.process,P=function(){try{return T&&T.binding&&T.binding("util")}catch(e){}}(),M=P&&P.isTypedArray;function D(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}function R(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function L(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}var I,N,F,z=Array.prototype,q=Function.prototype,U=Object.prototype,H=E["__core-js_shared__"],W=q.toString,V=U.hasOwnProperty,Y=(I=/[^.]+$/.exec(H&&H.keys&&H.keys.IE_PROTO||""))?"Symbol(src)_1."+I:"",Z=U.toString,G=RegExp("^"+W.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),K=j?E.Buffer:void 0,$=E.Symbol,X=E.Uint8Array,Q=U.propertyIsEnumerable,J=z.splice,ee=$?$.toStringTag:void 0,te=Object.getOwnPropertySymbols,ne=K?K.isBuffer:void 0,re=(N=Object.keys,F=Object,function(e){return N(F(e))}),oe=Pe(E,"DataView"),ie=Pe(E,"Map"),ae=Pe(E,"Promise"),se=Pe(E,"Set"),le=Pe(E,"WeakMap"),ce=Pe(Object,"create"),ue=Le(oe),de=Le(ie),fe=Le(ae),pe=Le(se),he=Le(le),me=$?$.prototype:void 0,ge=me?me.valueOf:void 0;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])}}function be(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])}}function ye(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])}}function Ae(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ye;++t<n;)this.add(e[t])}function xe(e){var t=this.__data__=new be(e);this.size=t.size}function Ce(e,t){var n=Fe(e),r=!n&&Ne(e),o=!n&&!r&&ze(e),i=!n&&!r&&!o&&Ve(e),a=n||r||o||i,s=a?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=s.length;for(var c in e)!t&&!V.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Re(c,l))||s.push(c);return s}function _e(e,t){for(var n=e.length;n--;)if(Ie(e[n][0],t))return n;return-1}function we(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":ee&&ee in Object(e)?function(e){var t=V.call(e,ee),n=e[ee];try{e[ee]=void 0;var r=!0}catch(e){}var o=Z.call(e);r&&(t?e[ee]=n:delete e[ee]);return o}(e):function(e){return Z.call(e)}(e)}function ke(e){return We(e)&&we(e)==i}function Se(e,t,n,r,o){return e===t||(null==e||null==t||!We(e)&&!We(t)?e!=e&&t!=t:function(e,t,n,r,o,u){var h=Fe(e),y=Fe(t),C=h?a:De(e),_=y?a:De(t),w=(C=C==i?p:C)==p,k=(_=_==i?p:_)==p,S=C==_;if(S&&ze(e)){if(!ze(t))return!1;h=!0,w=!1}if(S&&!w)return u||(u=new xe),h||Ve(e)?Oe(e,t,n,r,o,u):function(e,t,n,r,o,i,a){switch(n){case x:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case A:return!(e.byteLength!=t.byteLength||!i(new X(e),new X(t)));case s:case l:case f:return Ie(+e,+t);case c:return e.name==t.name&&e.message==t.message;case m:case v:return e==t+"";case d:var u=R;case g:var p=1&r;if(u||(u=L),e.size!=t.size&&!p)return!1;var h=a.get(e);if(h)return h==t;r|=2,a.set(e,t);var y=Oe(u(e),u(t),r,o,i,a);return a.delete(e),y;case b:if(ge)return ge.call(e)==ge.call(t)}return!1}(e,t,C,n,r,o,u);if(!(1&n)){var E=w&&V.call(e,"__wrapped__"),B=k&&V.call(t,"__wrapped__");if(E||B){var O=E?e.value():e,j=B?t.value():t;return u||(u=new xe),o(O,j,n,r,u)}}if(!S)return!1;return u||(u=new xe),function(e,t,n,r,o,i){var a=1&n,s=je(e),l=s.length,c=je(t).length;if(l!=c&&!a)return!1;var u=l;for(;u--;){var d=s[u];if(!(a?d in t:V.call(t,d)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var p=!0;i.set(e,t),i.set(t,e);var h=a;for(;++u<l;){var m=e[d=s[u]],g=t[d];if(r)var v=a?r(g,m,d,t,e,i):r(m,g,d,e,t,i);if(!(void 0===v?m===g||o(m,g,n,r,i):v)){p=!1;break}h||(h="constructor"==d)}if(p&&!h){var b=e.constructor,y=t.constructor;b==y||!("constructor"in e)||!("constructor"in t)||"function"==typeof b&&b instanceof b&&"function"==typeof y&&y instanceof y||(p=!1)}return i.delete(e),i.delete(t),p}(e,t,n,r,o,u)}(e,t,n,r,Se,o))}function Ee(e){return!(!He(e)||function(e){return!!Y&&Y in e}(e))&&(qe(e)?G:C).test(Le(e))}function Be(e){if(n=(t=e)&&t.constructor,r="function"==typeof n&&n.prototype||U,t!==r)return re(e);var t,n,r,o=[];for(var i in Object(e))V.call(e,i)&&"constructor"!=i&&o.push(i);return o}function Oe(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,f=2&n?new Ae:void 0;for(i.set(e,t),i.set(t,e);++u<s;){var p=e[u],h=t[u];if(r)var m=a?r(h,p,u,t,e,i):r(p,h,u,e,t,i);if(void 0!==m){if(m)continue;d=!1;break}if(f){if(!D(t,(function(e,t){if(a=t,!f.has(a)&&(p===e||o(p,e,n,r,i)))return f.push(t);var a}))){d=!1;break}}else if(p!==h&&!o(p,h,n,r,i)){d=!1;break}}return i.delete(e),i.delete(t),d}function je(e){return function(e,t,n){var r=t(e);return Fe(e)?r:function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}(r,n(e))}(e,Ye,Me)}function Te(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function Pe(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return Ee(n)?n:void 0}ve.prototype.clear=function(){this.__data__=ce?ce(null):{},this.size=0},ve.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ve.prototype.get=function(e){var t=this.__data__;if(ce){var n=t[e];return n===r?void 0:n}return V.call(t,e)?t[e]:void 0},ve.prototype.has=function(e){var t=this.__data__;return ce?void 0!==t[e]:V.call(t,e)},ve.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=ce&&void 0===t?r:t,this},be.prototype.clear=function(){this.__data__=[],this.size=0},be.prototype.delete=function(e){var t=this.__data__,n=_e(t,e);return!(n<0)&&(n==t.length-1?t.pop():J.call(t,n,1),--this.size,!0)},be.prototype.get=function(e){var t=this.__data__,n=_e(t,e);return n<0?void 0:t[n][1]},be.prototype.has=function(e){return _e(this.__data__,e)>-1},be.prototype.set=function(e,t){var n=this.__data__,r=_e(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},ye.prototype.clear=function(){this.size=0,this.__data__={hash:new ve,map:new(ie||be),string:new ve}},ye.prototype.delete=function(e){var t=Te(this,e).delete(e);return this.size-=t?1:0,t},ye.prototype.get=function(e){return Te(this,e).get(e)},ye.prototype.has=function(e){return Te(this,e).has(e)},ye.prototype.set=function(e,t){var n=Te(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Ae.prototype.add=Ae.prototype.push=function(e){return this.__data__.set(e,r),this},Ae.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.clear=function(){this.__data__=new be,this.size=0},xe.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},xe.prototype.get=function(e){return this.__data__.get(e)},xe.prototype.has=function(e){return this.__data__.has(e)},xe.prototype.set=function(e,t){var n=this.__data__;if(n instanceof be){var r=n.__data__;if(!ie||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ye(r)}return n.set(e,t),this.size=n.size,this};var Me=te?function(e){return null==e?[]:(e=Object(e),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}(te(e),(function(t){return Q.call(e,t)})))}:function(){return[]},De=we;function Re(e,t){return!!(t=null==t?o:t)&&("number"==typeof e||_.test(e))&&e>-1&&e%1==0&&e<t}function Le(e){if(null!=e){try{return W.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ie(e,t){return e===t||e!=e&&t!=t}(oe&&De(new oe(new ArrayBuffer(1)))!=x||ie&&De(new ie)!=d||ae&&De(ae.resolve())!=h||se&&De(new se)!=g||le&&De(new le)!=y)&&(De=function(e){var t=we(e),n=t==p?e.constructor:void 0,r=n?Le(n):"";if(r)switch(r){case ue:return x;case de:return d;case fe:return h;case pe:return g;case he:return y}return t});var Ne=ke(function(){return arguments}())?ke:function(e){return We(e)&&V.call(e,"callee")&&!Q.call(e,"callee")},Fe=Array.isArray;var ze=ne||function(){return!1};function qe(e){if(!He(e))return!1;var t=we(e);return t==u||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ue(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=o}function He(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function We(e){return null!=e&&"object"==typeof e}var Ve=M?function(e){return function(t){return e(t)}}(M):function(e){return We(e)&&Ue(e.length)&&!!w[we(e)]};function Ye(e){return null!=(t=e)&&Ue(t.length)&&!qe(t)?Ce(e):Be(e);var t}e.exports=function(e,t){return Se(e,t)}},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 l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},38407:function(e,t,n){var r=n(27040),o=n(14125),i=n(82117),a=n(67518),s=n(54705);function l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},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 l(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])}}l.prototype.clear=r,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},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),l=n(34309);function c(e){var t=this.__data__=new r(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},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}},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),l=n(36719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&o(e),d=!n&&!u&&a(e),f=!n&&!u&&!d&&l(e),p=n||u||d||f,h=p?r(e.length,String):[],m=h.length;for(var g in e)!t&&!c.call(e,g)||p&&("length"==g||d&&("offset"==g||"parent"==g)||f&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||h.push(g);return h}},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}},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}},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--;)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}},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}},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),l=n(74757);e.exports=function(e,t,n,c){var u=-1,d=o,f=!0,p=e.length,h=[],m=t.length;if(!p)return h;n&&(t=a(t,s(n))),c?(d=i,f=!1):t.length>=200&&(d=l,f=!1,t=new r(t));e:for(;++u<p;){var g=e[u],v=null==n?g:n(g);if(g=c||0!==g?g:0,f&&v==v){for(var b=m;b--;)if(t[b]===v)continue e;h.push(g)}else d(t,v,c)||h.push(g)}return h}},89881:function(e,t,n){var r=n(47816),o=n(99291)(r);e.exports=o},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 l=-1,c=t.length;for(i||(i=o),s||(s=[]);++l<c;){var u=t[l];n>0&&i(u)?n>1?e(u,n-1,i,a,s):r(s,u):a||(s[s.length]=u)}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)}},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)}},9454:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},41761:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return o(e)&&"[object Date]"==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),l=n(1469),c=n(44144),u=n(36719),d="[object Arguments]",f="[object Array]",p="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,g,v){var b=l(e),y=l(t),A=b?f:s(e),x=y?f:s(t),C=(A=A==d?p:A)==p,_=(x=x==d?p:x)==p,w=A==x;if(w&&c(e)){if(!c(t))return!1;b=!0,C=!1}if(w&&!C)return v||(v=new r),b||u(e)?o(e,t,n,m,g,v):i(e,t,A,n,m,g,v);if(!(1&n)){var k=C&&h.call(e,"__wrapped__"),S=_&&h.call(t,"__wrapped__");if(k||S){var E=k?e.value():e,B=S?t.value():t;return v||(v=new r),g(E,B,n,m,v)}}return!!w&&(v||(v=new r),a(e,t,n,m,g,v))}},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,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=n[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=n[a])[0],d=e[u],f=c[1];if(l&&c[2]){if(void 0===d&&!(u in e))return!1}else{var p=new r;if(i)var h=i(d,f,u,e,t,p);if(!(void 0===h?o(f,d,3,i,p):h))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\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,f=RegExp("^"+u.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))}},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}},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),l=n(42634),c=n(40327);e.exports=function(e,t){return a(e)&&s(t)?l(c(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),l=n(81704),c=n(36390);e.exports=function e(t,n,u,d,f){t!==n&&i(n,(function(i,l){if(f||(f=new r),s(i))a(t,n,l,u,e,d,f);else{var p=d?d(c(t,l),i,l+"",t,n,f):void 0;void 0===p&&(p=i),o(t,l,p)}}),l)}},59783:function(e,t,n){var r=n(86556),o=n(64626),i=n(77133),a=n(278),s=n(38517),l=n(35694),c=n(1469),u=n(29246),d=n(44144),f=n(23560),p=n(13218),h=n(68630),m=n(36719),g=n(36390),v=n(59881);e.exports=function(e,t,n,b,y,A,x){var C=g(e,n),_=g(t,n),w=x.get(_);if(w)r(e,n,w);else{var k=A?A(C,_,n+"",e,t,x):void 0,S=void 0===k;if(S){var E=c(_),B=!E&&d(_),O=!E&&!B&&m(_);k=_,E||B||O?c(C)?k=C:u(C)?k=a(C):B?(S=!1,k=o(_,!0)):O?(S=!1,k=i(_,!0)):k=[]:h(_)||l(_)?(k=C,l(C)?k=v(C):p(C)&&!f(C)||(k=s(_))):S=!1}S&&(x.set(_,k),y(k,_,b,A,x),x.delete(_)),r(e,n,k)}}},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,l={};++a<s;){var c=t[a],u=r(e,c);n(u,c)&&o(l,i(c,e),u)}return l}},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)}}},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),l=Array(s);s--;)l[i?s:++a]=e,e+=o;return l}},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+"")}},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,l){if(!a(e))return e;for(var c=-1,u=(t=o(t,e)).length,d=u-1,f=e;null!=f&&++c<u;){var p=s(t[c]),h=n;if("__proto__"===p||"constructor"===p||"prototype"===p)return e;if(c!=d){var m=f[p];void 0===(h=l?l(m,p,f):void 0)&&(h=a(m)?m:i(t[c+1])?[]:{})}r(f,p,h),f=f[p]}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},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,l=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 l?l.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)}}},74757:function(e){e.exports=function(e,t){return e.has(t)}},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))}},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}},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)}},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,l=t.length;++s<l;){var c=t[s],u=i?i(n[c],e[c],c,n,e):void 0;void 0===u&&(u=e[c]),a?o(n,c,u):r(n,c,u)}return n}},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 l=a(n)?r:o,c=t?t():{};return l(n,e,i(s,2),c)}}},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 l=n[r];l&&e(t,l,r,a)}return t}))}},99291:function(e,t,n){var r=n(98612);e.exports=function(e,t){return function(n,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 l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}},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)}}},38777:function(e,t,n){var r=n(10852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();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,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var f=l.get(e),p=l.get(t);if(f&&p)return f==t&&p==e;var h=-1,m=!0,g=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var v=e[h],b=t[h];if(a)var y=c?a(b,v,h,t,e,l):a(v,b,h,e,t,l);if(void 0!==y){if(y)continue;m=!1;break}if(g){if(!o(t,(function(e,t){if(!i(g,t)&&(v===e||s(v,e,n,a,l)))return g.push(t)}))){m=!1;break}}else if(v!==b&&!s(v,b,n,a,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},18351:function(e,t,n){var r=n(62705),o=n(11149),i=n(77813),a=n(67114),s=n(68776),l=n(21814),c=r?r.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,r,c,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 p=s;case"[object Set]":var h=1&r;if(p||(p=l),e.size!=t.size&&!h)return!1;var m=f.get(e);if(m)return m==t;r|=2,f.set(e,t);var g=a(p(e),p(t),r,c,d,f);return f.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.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 l=1&n,c=r(e),u=c.length;if(u!=r(t).length&&!l)return!1;for(var d=u;d--;){var f=c[d];if(!(l?f in t:o.call(t,f)))return!1}var p=s.get(e),h=s.get(t);if(p&&h)return p==t&&h==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d<u;){var v=e[f=c[d]],b=t[f];if(i)var y=l?i(b,v,f,t,e,s):i(v,b,f,e,t,s);if(!(void 0===y?v===b||a(v,b,n,i,s):y)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var A=e.constructor,x=t.constructor;A==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof A&&A instanceof A&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}},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)}},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(e){}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},64160:function(e,t,n){var r=n(18552),o=n(57071),i=n(53818),a=n(58525),s=n(70577),l=n(44239),c=n(80346),u="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",h="[object DataView]",m=c(r),g=c(o),v=c(i),b=c(a),y=c(s),A=l;(r&&A(new r(new ArrayBuffer(1)))!=h||o&&A(new o)!=u||i&&A(i.resolve())!=d||a&&A(new a)!=f||s&&A(new s)!=p)&&(A=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?c(n):"";if(r)switch(r){case m:return h;case g:return u;case v:return d;case b:return f;case y:return p}return t}),e.exports=A},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),l=n(40327);e.exports=function(e,t,n){for(var c=-1,u=(t=r(t,e)).length,d=!1;++c<u;){var f=l(t[c]);if(!(d=null!=e&&n(e,f)))break;e=e[f]}return d||++c!=u?d:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(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}},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}},15346:function(e,t,n){var r,o=n(14429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i 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),string: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}},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(e){}}();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),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=n(l),r(e,this,c)}}},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}},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(e){}try{return e+""}catch(e){}}return""}},67990:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},75703:function(e){e.exports=function(e){return function(){return e}}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},85564:function(e,t,n){var r=n(21078);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},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}},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}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},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,l=(s?s.isBuffer:void 0)||o;e.exports=l},47960:function(e,t,n){var r=n(41761),o=n(7518),i=n(31167),a=i&&i.isDate,s=a?o(a):r;e.exports=s},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}},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,l=a.toString,c=s.hasOwnProperty,u=l.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=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==u}},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},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}},96486:function(e,t,n){var r;e=n.nmd(e),function(){var o,i="Expected a function",a="__lodash_hash_undefined__",s="__lodash_placeholder__",l=16,c=32,u=64,d=128,f=256,p=1/0,h=9007199254740991,m=NaN,g=4294967295,v=[["ary",d],["bind",1],["bindKey",2],["curry",8],["curryRight",l],["flip",512],["partial",c],["partialRight",u],["rearg",f]],b="[object Arguments]",y="[object Array]",A="[object Boolean]",x="[object Date]",C="[object Error]",_="[object Function]",w="[object GeneratorFunction]",k="[object Map]",S="[object Number]",E="[object Object]",B="[object Promise]",O="[object RegExp]",j="[object Set]",T="[object String]",P="[object Symbol]",M="[object WeakMap]",D="[object ArrayBuffer]",R="[object DataView]",L="[object Float32Array]",I="[object Float64Array]",N="[object Int8Array]",F="[object Int16Array]",z="[object Int32Array]",q="[object Uint8Array]",U="[object Uint8ClampedArray]",H="[object Uint16Array]",W="[object Uint32Array]",V=/\b__p \+= '';/g,Y=/\b(__p \+=) '' \+/g,Z=/(__e\(.*?\)|\b__t\)) \+\n'';/g,G=/&(?:amp|lt|gt|quot|#39);/g,K=/[&<>"']/g,$=RegExp(G.source),X=RegExp(K.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ne=/^\w*$/,re=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oe=/[\\^$.*+?()[\]{}|]/g,ie=RegExp(oe.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/[()=,{}\[\]\/\s]/,pe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ge=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,be=/^\[object .+?Constructor\]$/,ye=/^0o[0-7]+$/i,Ae=/^(?:0|[1-9]\d*)$/,xe=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ce=/($^)/,_e=/['\n\r\u2028\u2029\\]/g,we="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Ee="A-Z\\xc0-\\xd6\\xd8-\\xde",Be="\\ufe0e\\ufe0f",Oe="\\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",je="['’]",Te="[\\ud800-\\udfff]",Pe="["+Oe+"]",Me="["+we+"]",De="\\d+",Re="[\\u2700-\\u27bf]",Le="["+Se+"]",Ie="[^\\ud800-\\udfff"+Oe+De+ke+Se+Ee+"]",Ne="\\ud83c[\\udffb-\\udfff]",Fe="[^\\ud800-\\udfff]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",qe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Ee+"]",He="(?:"+Le+"|"+Ie+")",We="(?:"+Ue+"|"+Ie+")",Ve="(?:['’](?:d|ll|m|re|s|t|ve))?",Ye="(?:['’](?:D|LL|M|RE|S|T|VE))?",Ze="(?:"+Me+"|"+Ne+")"+"?",Ge="[\\ufe0e\\ufe0f]?",Ke=Ge+Ze+("(?:\\u200d(?:"+[Fe,ze,qe].join("|")+")"+Ge+Ze+")*"),$e="(?:"+[Re,ze,qe].join("|")+")"+Ke,Xe="(?:"+[Fe+Me+"?",Me,ze,qe,Te].join("|")+")",Qe=RegExp(je,"g"),Je=RegExp(Me,"g"),et=RegExp(Ne+"(?="+Ne+")|"+Xe+Ke,"g"),tt=RegExp([Ue+"?"+Le+"+"+Ve+"(?="+[Pe,Ue,"$"].join("|")+")",We+"+"+Ye+"(?="+[Pe,Ue+He,"$"].join("|")+")",Ue+"?"+He+"+"+Ve,Ue+"+"+Ye,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",De,$e].join("|"),"g"),nt=RegExp("[\\u200d\\ud800-\\udfff"+we+Be+"]"),rt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ot=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],it=-1,at={};at[L]=at[I]=at[N]=at[F]=at[z]=at[q]=at[U]=at[H]=at[W]=!0,at[b]=at[y]=at[D]=at[A]=at[R]=at[x]=at[C]=at[_]=at[k]=at[S]=at[E]=at[O]=at[j]=at[T]=at[M]=!1;var st={};st[b]=st[y]=st[D]=st[R]=st[A]=st[x]=st[L]=st[I]=st[N]=st[F]=st[z]=st[k]=st[S]=st[E]=st[O]=st[j]=st[T]=st[P]=st[q]=st[U]=st[H]=st[W]=!0,st[C]=st[_]=st[M]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,ut=parseInt,dt="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,ft="object"==typeof self&&self&&self.Object===Object&&self,pt=dt||ft||Function("return this")(),ht=t&&!t.nodeType&&t,mt=ht&&e&&!e.nodeType&&e,gt=mt&&mt.exports===ht,vt=gt&&dt.process,bt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),yt=bt&&bt.isArrayBuffer,At=bt&&bt.isDate,xt=bt&&bt.isMap,Ct=bt&&bt.isRegExp,_t=bt&&bt.isSet,wt=bt&&bt.isTypedArray;function kt(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)}function St(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}function Et(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function Bt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function jt(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}function Tt(e,t){return!!(null==e?0:e.length)&&qt(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Mt(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}function Dt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Rt(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}function Lt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function It(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 Nt=Vt("length");function Ft(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function zt(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}function qt(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):zt(e,Ht,n)}function Ut(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ht(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?Gt(e,t)/n:m}function Vt(e){return function(t){return null==t?o:t[e]}}function Yt(e){return function(t){return null==e?o:e[t]}}function Zt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Gt(e,t){for(var n,r=-1,i=e.length;++r<i;){var a=t(e[r]);a!==o&&(n=n===o?a:n+a)}return n}function Kt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function $t(e){return e?e.slice(0,mn(e)+1).replace(ae,""):e}function Xt(e){return function(t){return e(t)}}function Qt(e,t){return Mt(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function en(e,t){for(var n=-1,r=e.length;++n<r&&qt(t,e[n],0)>-1;);return n}function tn(e,t){for(var n=e.length;n--&&qt(t,e[n],0)>-1;);return n}function nn(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var rn=Yt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","Ĳ":"IJ","ĳ":"ij","Œ":"Oe","œ":"oe","ŉ":"'n","ſ":"s"}),on=Yt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(e){return"\\"+lt[e]}function sn(e){return nt.test(e)}function ln(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function cn(e,t){return function(n){return e(t(n))}}function un(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n];a!==t&&a!==s||(e[n]=s,i[o++]=n)}return i}function dn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function fn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function pn(e){return sn(e)?function(e){var t=et.lastIndex=0;for(;et.test(e);)++t;return t}(e):Nt(e)}function hn(e){return sn(e)?function(e){return e.match(et)||[]}(e):function(e){return e.split("")}(e)}function mn(e){for(var t=e.length;t--&&se.test(e.charAt(t)););return t}var gn=Yt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var n,r=(t=null==t?pt:vn.defaults(pt.Object(),t,vn.pick(pt,ot))).Array,se=t.Date,we=t.Error,ke=t.Function,Se=t.Math,Ee=t.Object,Be=t.RegExp,Oe=t.String,je=t.TypeError,Te=r.prototype,Pe=ke.prototype,Me=Ee.prototype,De=t["__core-js_shared__"],Re=Pe.toString,Le=Me.hasOwnProperty,Ie=0,Ne=(n=/[^.]+$/.exec(De&&De.keys&&De.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Fe=Me.toString,ze=Re.call(Ee),qe=pt._,Ue=Be("^"+Re.call(Le).replace(oe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=gt?t.Buffer:o,We=t.Symbol,Ve=t.Uint8Array,Ye=He?He.allocUnsafe:o,Ze=cn(Ee.getPrototypeOf,Ee),Ge=Ee.create,Ke=Me.propertyIsEnumerable,$e=Te.splice,Xe=We?We.isConcatSpreadable:o,et=We?We.iterator:o,nt=We?We.toStringTag:o,lt=function(){try{var e=hi(Ee,"defineProperty");return e({},"",{}),e}catch(e){}}(),dt=t.clearTimeout!==pt.clearTimeout&&t.clearTimeout,ft=se&&se.now!==pt.Date.now&&se.now,ht=t.setTimeout!==pt.setTimeout&&t.setTimeout,mt=Se.ceil,vt=Se.floor,bt=Ee.getOwnPropertySymbols,Nt=He?He.isBuffer:o,Yt=t.isFinite,bn=Te.join,yn=cn(Ee.keys,Ee),An=Se.max,xn=Se.min,Cn=se.now,_n=t.parseInt,wn=Se.random,kn=Te.reverse,Sn=hi(t,"DataView"),En=hi(t,"Map"),Bn=hi(t,"Promise"),On=hi(t,"Set"),jn=hi(t,"WeakMap"),Tn=hi(Ee,"create"),Pn=jn&&new jn,Mn={},Dn=qi(Sn),Rn=qi(En),Ln=qi(Bn),In=qi(On),Nn=qi(jn),Fn=We?We.prototype:o,zn=Fn?Fn.valueOf:o,qn=Fn?Fn.toString:o;function Un(e){if(os(e)&&!Za(e)&&!(e instanceof Yn)){if(e instanceof Vn)return e;if(Le.call(e,"__wrapped__"))return Ui(e)}return new Vn(e)}var Hn=function(){function e(){}return function(t){if(!rs(t))return{};if(Ge)return Ge(t);e.prototype=t;var n=new e;return e.prototype=o,n}}();function Wn(){}function Vn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=o}function Yn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=g,this.__views__=[]}function Zn(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])}}function Gn(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])}}function Kn(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])}}function $n(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Xn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Qn(e,t){var n=Za(e),r=!n&&Ya(e),o=!n&&!r&&Xa(e),i=!n&&!r&&!o&&fs(e),a=n||r||o||i,s=a?Kt(e.length,Oe):[],l=s.length;for(var c in e)!t&&!Le.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||xi(c,l))||s.push(c);return s}function Jn(e){var t=e.length;return t?e[$r(0,t-1)]:o}function er(e,t){return Ni(Po(e),cr(t,0,e.length))}function tr(e){return Ni(Po(e))}function nr(e,t,n){(n!==o&&!Ha(e[t],n)||n===o&&!(t in e))&&sr(e,t,n)}function rr(e,t,n){var r=e[t];Le.call(e,t)&&Ha(r,n)&&(n!==o||t in e)||sr(e,t,n)}function or(e,t){for(var n=e.length;n--;)if(Ha(e[n][0],t))return n;return-1}function ir(e,t,n,r){return hr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function ar(e,t){return e&&Mo(t,Ds(t),e)}function sr(e,t,n){"__proto__"==t&&lt?lt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function lr(e,t){for(var n=-1,i=t.length,a=r(i),s=null==e;++n<i;)a[n]=s?o:Os(e,t[n]);return a}function cr(e,t,n){return e==e&&(n!==o&&(e=e<=n?e:n),t!==o&&(e=e>=t?e:t)),e}function ur(e,t,n,r,i,a){var s,l=1&t,c=2&t,u=4&t;if(n&&(s=i?n(e,r,i,a):n(e)),s!==o)return s;if(!rs(e))return e;var d=Za(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!l)return Po(e,s)}else{var f=vi(e),p=f==_||f==w;if(Xa(e))return So(e,l);if(f==E||f==b||p&&!i){if(s=c||p?{}:yi(e),!l)return c?function(e,t){return Mo(e,gi(e),t)}(e,function(e,t){return e&&Mo(t,Rs(t),e)}(s,e)):function(e,t){return Mo(e,mi(e),t)}(e,ar(s,e))}else{if(!st[f])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case D:return Eo(e);case A:case x:return new r(+e);case R:return function(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case L:case I:case N:case F:case z:case q:case U:case H:case W:return Bo(e,n);case k:return new r;case S:case T:return new r(e);case O:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case j:return new r;case P:return o=e,zn?Ee(zn.call(o)):{}}var o}(e,f,l)}}a||(a=new Xn);var h=a.get(e);if(h)return h;a.set(e,s),cs(e)?e.forEach((function(r){s.add(ur(r,t,n,r,e,a))})):is(e)&&e.forEach((function(r,o){s.set(o,ur(r,t,n,o,e,a))}));var m=d?o:(u?c?si:ai:c?Rs:Ds)(e);return Et(m||e,(function(r,o){m&&(r=e[o=r]),rr(s,o,ur(r,t,n,o,e,a))})),s}function dr(e,t,n){var r=n.length;if(null==e)return!r;for(e=Ee(e);r--;){var i=n[r],a=t[i],s=e[i];if(s===o&&!(i in e)||!a(s))return!1}return!0}function fr(e,t,n){if("function"!=typeof e)throw new je(i);return Di((function(){e.apply(o,n)}),t)}function pr(e,t,n,r){var o=-1,i=Tt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Mt(t,Xt(n))),r?(i=Pt,a=!1):t.length>=200&&(i=Jt,a=!1,t=new $n(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;l.push(u)}else i(t,d,r)||l.push(u)}return l}Un.templateSettings={escape:Q,evaluate:J,interpolate:ee,variable:"",imports:{_:Un}},Un.prototype=Wn.prototype,Un.prototype.constructor=Un,Vn.prototype=Hn(Wn.prototype),Vn.prototype.constructor=Vn,Yn.prototype=Hn(Wn.prototype),Yn.prototype.constructor=Yn,Zn.prototype.clear=function(){this.__data__=Tn?Tn(null):{},this.size=0},Zn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Zn.prototype.get=function(e){var t=this.__data__;if(Tn){var n=t[e];return n===a?o:n}return Le.call(t,e)?t[e]:o},Zn.prototype.has=function(e){var t=this.__data__;return Tn?t[e]!==o:Le.call(t,e)},Zn.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Tn&&t===o?a:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=or(t,e);return!(n<0)&&(n==t.length-1?t.pop():$e.call(t,n,1),--this.size,!0)},Gn.prototype.get=function(e){var t=this.__data__,n=or(t,e);return n<0?o:t[n][1]},Gn.prototype.has=function(e){return or(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=or(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Zn,map:new(En||Gn),string:new Zn}},Kn.prototype.delete=function(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fi(this,e).get(e)},Kn.prototype.has=function(e){return fi(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fi(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},$n.prototype.add=$n.prototype.push=function(e){return this.__data__.set(e,a),this},$n.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=Lo(Cr),mr=Lo(_r,!0);function gr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function vr(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],s=t(a);if(null!=s&&(l===o?s==s&&!ds(s):n(s,l)))var l=s,c=a}return c}function br(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function yr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ai),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?yr(s,t-1,n,r,o):Dt(o,s):r||(o[o.length]=s)}return o}var Ar=Io(),xr=Io(!0);function Cr(e,t){return e&&Ar(e,t,Ds)}function _r(e,t){return e&&xr(e,t,Ds)}function wr(e,t){return jt(t,(function(t){return es(e[t])}))}function kr(e,t){for(var n=0,r=(t=Co(t,e)).length;null!=e&&n<r;)e=e[zi(t[n++])];return n&&n==r?e:o}function Sr(e,t,n){var r=t(e);return Za(e)?r:Dt(r,n(e))}function Er(e){return null==e?e===o?"[object Undefined]":"[object Null]":nt&&nt in Ee(e)?function(e){var t=Le.call(e,nt),n=e[nt];try{e[nt]=o;var r=!0}catch(e){}var i=Fe.call(e);r&&(t?e[nt]=n:delete e[nt]);return i}(e):function(e){return Fe.call(e)}(e)}function Br(e,t){return e>t}function Or(e,t){return null!=e&&Le.call(e,t)}function jr(e,t){return null!=e&&t in Ee(e)}function Tr(e,t,n){for(var i=n?Pt:Tt,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,d=[];l--;){var f=e[l];l&&t&&(f=Mt(f,Xt(t))),u=xn(f.length,u),c[l]=!n&&(t||a>=120&&f.length>=120)?new $n(l&&f):o}f=e[0];var p=-1,h=c[0];e:for(;++p<a&&d.length<u;){var m=f[p],g=t?t(m):m;if(m=n||0!==m?m:0,!(h?Jt(h,g):i(d,g,n))){for(l=s;--l;){var v=c[l];if(!(v?Jt(v,g):i(e[l],g,n)))continue e}h&&h.push(g),d.push(m)}}return d}function Pr(e,t,n){var r=null==(e=ji(e,t=Co(t,e)))?e:e[zi(Ji(t))];return null==r?o:kt(r,e,n)}function Mr(e){return os(e)&&Er(e)==b}function Dr(e,t,n,r,i){return e===t||(null==e||null==t||!os(e)&&!os(t)?e!=e&&t!=t:function(e,t,n,r,i,a){var s=Za(e),l=Za(t),c=s?y:vi(e),u=l?y:vi(t),d=(c=c==b?E:c)==E,f=(u=u==b?E:u)==E,p=c==u;if(p&&Xa(e)){if(!Xa(t))return!1;s=!0,d=!1}if(p&&!d)return a||(a=new Xn),s||fs(e)?oi(e,t,n,r,i,a):function(e,t,n,r,o,i,a){switch(n){case R:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case D:return!(e.byteLength!=t.byteLength||!i(new Ve(e),new Ve(t)));case A:case x:case S:return Ha(+e,+t);case C:return e.name==t.name&&e.message==t.message;case O:case T:return e==t+"";case k:var s=ln;case j:var l=1&r;if(s||(s=dn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=oi(s(e),s(t),r,o,i,a);return a.delete(e),u;case P:if(zn)return zn.call(e)==zn.call(t)}return!1}(e,t,c,n,r,i,a);if(!(1&n)){var h=d&&Le.call(e,"__wrapped__"),m=f&&Le.call(t,"__wrapped__");if(h||m){var g=h?e.value():e,v=m?t.value():t;return a||(a=new Xn),i(g,v,n,r,a)}}if(!p)return!1;return a||(a=new Xn),function(e,t,n,r,i,a){var s=1&n,l=ai(e),c=l.length,u=ai(t).length;if(c!=u&&!s)return!1;var d=c;for(;d--;){var f=l[d];if(!(s?f in t:Le.call(t,f)))return!1}var p=a.get(e),h=a.get(t);if(p&&h)return p==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);var g=s;for(;++d<c;){var v=e[f=l[d]],b=t[f];if(r)var y=s?r(b,v,f,t,e,a):r(v,b,f,e,t,a);if(!(y===o?v===b||i(v,b,n,r,a):y)){m=!1;break}g||(g="constructor"==f)}if(m&&!g){var A=e.constructor,x=t.constructor;A==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof A&&A instanceof A&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(e),a.delete(t),m}(e,t,n,r,i,a)}(e,t,n,r,Dr,i))}function Rr(e,t,n,r){var i=n.length,a=i,s=!r;if(null==e)return!a;for(e=Ee(e);i--;){var l=n[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=n[i])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===o&&!(c in e))return!1}else{var f=new Xn;if(r)var p=r(u,d,c,e,t,f);if(!(p===o?Dr(d,u,3,r,f):p))return!1}}return!0}function Lr(e){return!(!rs(e)||(t=e,Ne&&Ne in t))&&(es(e)?Ue:be).test(qi(e));var t}function Ir(e){return"function"==typeof e?e:null==e?al:"object"==typeof e?Za(e)?Hr(e[0],e[1]):Ur(e):ml(e)}function Nr(e){if(!Si(e))return yn(e);var t=[];for(var n in Ee(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!rs(e))return function(e){var t=[];if(null!=e)for(var n in Ee(e))t.push(n);return t}(e);var t=Si(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function zr(e,t){return e<t}function qr(e,t){var n=-1,o=Ka(e)?r(e.length):[];return hr(e,(function(e,r,i){o[++n]=t(e,r,i)})),o}function Ur(e){var t=pi(e);return 1==t.length&&t[0][2]?Bi(t[0][0],t[0][1]):function(n){return n===e||Rr(n,e,t)}}function Hr(e,t){return _i(e)&&Ei(t)?Bi(zi(e),t):function(n){var r=Os(n,e);return r===o&&r===t?js(n,e):Dr(t,r,3)}}function Wr(e,t,n,r,i){e!==t&&Ar(t,(function(a,s){if(i||(i=new Xn),rs(a))!function(e,t,n,r,i,a,s){var l=Pi(e,n),c=Pi(t,n),u=s.get(c);if(u)return void nr(e,n,u);var d=a?a(l,c,n+"",e,t,s):o,f=d===o;if(f){var p=Za(c),h=!p&&Xa(c),m=!p&&!h&&fs(c);d=c,p||h||m?Za(l)?d=l:$a(l)?d=Po(l):h?(f=!1,d=So(c,!0)):m?(f=!1,d=Bo(c,!0)):d=[]:ss(c)||Ya(c)?(d=l,Ya(l)?d=As(l):rs(l)&&!es(l)||(d=yi(c))):f=!1}f&&(s.set(c,d),i(d,c,r,a,s),s.delete(c));nr(e,n,d)}(e,t,s,n,Wr,r,i);else{var l=r?r(Pi(e,s),a,s+"",e,t,i):o;l===o&&(l=a),nr(e,s,l)}}),Rs)}function Vr(e,t){var n=e.length;if(n)return xi(t+=t<0?n:0,n)?e[t]:o}function Yr(e,t,n){t=t.length?Mt(t,(function(e){return Za(e)?function(t){return kr(t,1===e.length?e[0]:e)}:e})):[al];var r=-1;t=Mt(t,Xt(di()));var o=qr(e,(function(e,n,o){var i=Mt(t,(function(t){return t(e)}));return{criteria:i,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;for(;++r<a;){var l=Oo(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Zr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=kr(e,a);n(s,a)&&to(i,Co(a,e),s)}return i}function Gr(e,t,n,r){var o=r?Ut:qt,i=-1,a=t.length,s=e;for(e===t&&(t=Po(t)),n&&(s=Mt(e,Xt(n)));++i<a;)for(var l=0,c=t[i],u=n?n(c):c;(l=o(s,u,l,r))>-1;)s!==e&&$e.call(s,l,1),$e.call(e,l,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;xi(o)?$e.call(e,o,1):ho(e,o)}}return e}function $r(e,t){return e+vt(wn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>h)return n;do{t%2&&(n+=e),(t=vt(t/2))&&(e+=e)}while(t);return n}function Qr(e,t){return Ri(Oi(e,t,al),e+"")}function Jr(e){return Jn(Hs(e))}function eo(e,t){var n=Hs(e);return Ni(n,cr(t,0,n.length))}function to(e,t,n,r){if(!rs(e))return e;for(var i=-1,a=(t=Co(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var c=zi(t[i]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=s){var d=l[c];(u=r?r(d,c,l):o)===o&&(u=rs(d)?d:xi(t[i+1])?[]:{})}rr(l,c,u),l=l[c]}return e}var no=Pn?function(e,t){return Pn.set(e,t),e}:al,ro=lt?function(e,t){return lt(e,"toString",{configurable:!0,enumerable:!1,value:rl(t),writable:!0})}:al;function oo(e){return Ni(Hs(e))}function io(e,t,n){var o=-1,i=e.length;t<0&&(t=-t>i?0:i+t),(n=n>i?i:n)<0&&(n+=i),i=t>n?0:n-t>>>0,t>>>=0;for(var a=r(i);++o<i;)a[o]=e[o+t];return a}function ao(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function so(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ds(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return lo(e,t,al,n)}function lo(e,t,n,r){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=n(t))!=t,l=null===t,c=ds(t),u=t===o;i<a;){var d=vt((i+a)/2),f=n(e[d]),p=f!==o,h=null===f,m=f==f,g=ds(f);if(s)var v=r||m;else v=u?m&&(r||p):l?m&&p&&(r||!h):c?m&&p&&!h&&(r||!g):!h&&!g&&(r?f<=t:f<t);v?i=d+1:a=d}return xn(a,4294967294)}function co(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!Ha(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function uo(e){return"number"==typeof e?e:ds(e)?m:+e}function fo(e){if("string"==typeof e)return e;if(Za(e))return Mt(e,fo)+"";if(ds(e))return qn?qn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function po(e,t,n){var r=-1,o=Tt,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=Pt;else if(i>=200){var c=t?null:Qo(e);if(c)return dn(c);a=!1,o=Jt,l=new $n}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function ho(e,t){return null==(e=ji(e,t=Co(t,e)))||delete e[zi(Ji(t))]}function mo(e,t,n,r){return to(e,t,n(kr(e,t)),r)}function go(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?io(e,r?0:i,r?i+1:o):io(e,r?i+1:0,r?o:i)}function vo(e,t){var n=e;return n instanceof Yn&&(n=n.value()),Rt(t,(function(e,t){return t.func.apply(t.thisArg,Dt([e],t.args))}),n)}function bo(e,t,n){var o=e.length;if(o<2)return o?po(e[0]):[];for(var i=-1,a=r(o);++i<o;)for(var s=e[i],l=-1;++l<o;)l!=i&&(a[i]=pr(a[i]||s,e[l],t,n));return po(yr(a,1),t,n)}function yo(e,t,n){for(var r=-1,i=e.length,a=t.length,s={};++r<i;){var l=r<a?t[r]:o;n(s,e[r],l)}return s}function Ao(e){return $a(e)?e:[]}function xo(e){return"function"==typeof e?e:al}function Co(e,t){return Za(e)?e:_i(e,t)?[e]:Fi(xs(e))}var _o=Qr;function wo(e,t,n){var r=e.length;return n=n===o?r:n,!t&&n>=r?e:io(e,t,n)}var ko=dt||function(e){return pt.clearTimeout(e)};function So(e,t){if(t)return e.slice();var n=e.length,r=Ye?Ye(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new Ve(t).set(new Ve(e)),t}function Bo(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Oo(e,t){if(e!==t){var n=e!==o,r=null===e,i=e==e,a=ds(e),s=t!==o,l=null===t,c=t==t,u=ds(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||r&&s&&c||!n&&c||!i)return 1;if(!r&&!a&&!u&&e<t||u&&n&&i&&!r&&!a||l&&n&&i||!s&&i||!c)return-1}return 0}function jo(e,t,n,o){for(var i=-1,a=e.length,s=n.length,l=-1,c=t.length,u=An(a-s,0),d=r(c+u),f=!o;++l<c;)d[l]=t[l];for(;++i<s;)(f||i<a)&&(d[n[i]]=e[i]);for(;u--;)d[l++]=e[i++];return d}function To(e,t,n,o){for(var i=-1,a=e.length,s=-1,l=n.length,c=-1,u=t.length,d=An(a-l,0),f=r(d+u),p=!o;++i<d;)f[i]=e[i];for(var h=i;++c<u;)f[h+c]=t[c];for(;++s<l;)(p||i<a)&&(f[h+n[s]]=e[i++]);return f}function Po(e,t){var n=-1,o=e.length;for(t||(t=r(o));++n<o;)t[n]=e[n];return t}function Mo(e,t,n,r){var i=!n;n||(n={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=r?r(n[l],e[l],l,n,e):o;c===o&&(c=e[l]),i?sr(n,l,c):rr(n,l,c)}return n}function Do(e,t){return function(n,r){var o=Za(n)?St:ir,i=t?t():{};return o(n,e,di(r,2),i)}}function Ro(e){return Qr((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:o,s=i>2?n[2]:o;for(a=e.length>3&&"function"==typeof a?(i--,a):o,s&&Ci(n[0],n[1],s)&&(a=i<3?o:a,i=1),t=Ee(t);++r<i;){var l=n[r];l&&e(t,l,r,a)}return t}))}function Lo(e,t){return function(n,r){if(null==n)return n;if(!Ka(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Ee(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Io(e){return function(t,n,r){for(var o=-1,i=Ee(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function No(e){return function(t){var n=sn(t=xs(t))?hn(t):o,r=n?n[0]:t.charAt(0),i=n?wo(n,1).join(""):t.slice(1);return r[e]()+i}}function Fo(e){return function(t){return Rt(el(Ys(t).replace(Qe,"")),e,"")}}function zo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Hn(e.prototype),r=e.apply(n,t);return rs(r)?r:n}}function qo(e){return function(t,n,r){var i=Ee(t);if(!Ka(t)){var a=di(n,3);t=Ds(t),n=function(e){return a(i[e],e,i)}}var s=e(t,n,r);return s>-1?i[a?t[s]:s]:o}}function Uo(e){return ii((function(t){var n=t.length,r=n,a=Vn.prototype.thru;for(e&&t.reverse();r--;){var s=t[r];if("function"!=typeof s)throw new je(i);if(a&&!l&&"wrapper"==ci(s))var l=new Vn([],!0)}for(r=l?r:n;++r<n;){var c=ci(s=t[r]),u="wrapper"==c?li(s):o;l=u&&wi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ci(u[0])].apply(l,u[3]):1==s.length&&wi(s)?l[c]():l.thru(s)}return function(){var e=arguments,r=e[0];if(l&&1==e.length&&Za(r))return l.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}}))}function Ho(e,t,n,i,a,s,l,c,u,f){var p=t&d,h=1&t,m=2&t,g=24&t,v=512&t,b=m?o:zo(e);return function o(){for(var d=arguments.length,y=r(d),A=d;A--;)y[A]=arguments[A];if(g)var x=ui(o),C=nn(y,x);if(i&&(y=jo(y,i,a,g)),s&&(y=To(y,s,l,g)),d-=C,g&&d<f){var _=un(y,x);return $o(e,t,Ho,o.placeholder,n,y,_,c,u,f-d)}var w=h?n:this,k=m?w[e]:e;return d=y.length,c?y=Ti(y,c):v&&d>1&&y.reverse(),p&&u<d&&(y.length=u),this&&this!==pt&&this instanceof o&&(k=b||zo(k)),k.apply(w,y)}}function Wo(e,t){return function(n,r){return function(e,t,n,r){return Cr(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(n,r){var i;if(n===o&&r===o)return t;if(n!==o&&(i=n),r!==o){if(i===o)return r;"string"==typeof n||"string"==typeof r?(n=fo(n),r=fo(r)):(n=uo(n),r=uo(r)),i=e(n,r)}return i}}function Yo(e){return ii((function(t){return t=Mt(t,Xt(di())),Qr((function(n){var r=this;return e(t,(function(e){return kt(e,r,n)}))}))}))}function Zo(e,t){var n=(t=t===o?" ":fo(t)).length;if(n<2)return n?Xr(t,e):t;var r=Xr(t,mt(e/pn(t)));return sn(t)?wo(hn(r),0,e).join(""):r.slice(0,e)}function Go(e){return function(t,n,i){return i&&"number"!=typeof i&&Ci(t,n,i)&&(n=i=o),t=gs(t),n===o?(n=t,t=0):n=gs(n),function(e,t,n,o){for(var i=-1,a=An(mt((t-e)/(n||1)),0),s=r(a);a--;)s[o?a:++i]=e,e+=n;return s}(t,n,i=i===o?t<n?1:-1:gs(i),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ys(t),n=ys(n)),e(t,n)}}function $o(e,t,n,r,i,a,s,l,d,f){var p=8&t;t|=p?c:u,4&(t&=~(p?u:c))||(t&=-4);var h=[e,t,i,p?a:o,p?s:o,p?o:a,p?o:s,l,d,f],m=n.apply(o,h);return wi(e)&&Mi(m,h),m.placeholder=r,Li(m,e,t)}function Xo(e){var t=Se[e];return function(e,n){if(e=ys(e),(n=null==n?0:xn(vs(n),292))&&Yt(e)){var r=(xs(e)+"e").split("e");return+((r=(xs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Qo=On&&1/dn(new On([,-0]))[1]==p?function(e){return new On(e)}:dl;function Jo(e){return function(t){var n=vi(t);return n==k?ln(t):n==j?fn(t):function(e,t){return Mt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ei(e,t,n,a,p,h,m,g){var v=2&t;if(!v&&"function"!=typeof e)throw new je(i);var b=a?a.length:0;if(b||(t&=-97,a=p=o),m=m===o?m:An(vs(m),0),g=g===o?g:vs(g),b-=p?p.length:0,t&u){var y=a,A=p;a=p=o}var x=v?o:li(e),C=[e,t,n,a,p,y,A,h,m,g];if(x&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,a=r==d&&8==n||r==d&&n==f&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!a)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var l=t[3];if(l){var c=e[3];e[3]=c?jo(c,l,t[4]):l,e[4]=c?un(e[3],s):t[4]}(l=t[5])&&(c=e[5],e[5]=c?To(c,l,t[6]):l,e[6]=c?un(e[5],s):t[6]);(l=t[7])&&(e[7]=l);r&d&&(e[8]=null==e[8]?t[8]:xn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(C,x),e=C[0],t=C[1],n=C[2],a=C[3],p=C[4],!(g=C[9]=C[9]===o?v?0:e.length:An(C[9]-b,0))&&24&t&&(t&=-25),t&&1!=t)_=8==t||t==l?function(e,t,n){var i=zo(e);return function a(){for(var s=arguments.length,l=r(s),c=s,u=ui(a);c--;)l[c]=arguments[c];var d=s<3&&l[0]!==u&&l[s-1]!==u?[]:un(l,u);return(s-=d.length)<n?$o(e,t,Ho,a.placeholder,o,l,d,o,o,n-s):kt(this&&this!==pt&&this instanceof a?i:e,this,l)}}(e,t,g):t!=c&&33!=t||p.length?Ho.apply(o,C):function(e,t,n,o){var i=1&t,a=zo(e);return function t(){for(var s=-1,l=arguments.length,c=-1,u=o.length,d=r(u+l),f=this&&this!==pt&&this instanceof t?a:e;++c<u;)d[c]=o[c];for(;l--;)d[c++]=arguments[++s];return kt(f,i?n:this,d)}}(e,t,n,a);else var _=function(e,t,n){var r=1&t,o=zo(e);return function t(){return(this&&this!==pt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,n);return Li((x?no:Mi)(_,C),e,t)}function ti(e,t,n,r){return e===o||Ha(e,Me[n])&&!Le.call(r,n)?t:e}function ni(e,t,n,r,i,a){return rs(e)&&rs(t)&&(a.set(t,e),Wr(e,t,o,ni,a),a.delete(t)),e}function ri(e){return ss(e)?o:e}function oi(e,t,n,r,i,a){var s=1&n,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,p=!0,h=2&n?new $n:o;for(a.set(e,t),a.set(t,e);++f<l;){var m=e[f],g=t[f];if(r)var v=s?r(g,m,f,t,e,a):r(m,g,f,e,t,a);if(v!==o){if(v)continue;p=!1;break}if(h){if(!It(t,(function(e,t){if(!Jt(h,t)&&(m===e||i(m,e,n,r,a)))return h.push(t)}))){p=!1;break}}else if(m!==g&&!i(m,g,n,r,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function ii(e){return Ri(Oi(e,o,Gi),e+"")}function ai(e){return Sr(e,Ds,mi)}function si(e){return Sr(e,Rs,gi)}var li=Pn?function(e){return Pn.get(e)}:dl;function ci(e){for(var t=e.name+"",n=Mn[t],r=Le.call(Mn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ui(e){return(Le.call(Un,"placeholder")?Un:e).placeholder}function di(){var e=Un.iteratee||sl;return e=e===sl?Ir:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function pi(e){for(var t=Ds(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ei(o)]}return t}function hi(e,t){var n=function(e,t){return null==e?o:e[t]}(e,t);return Lr(n)?n:o}var mi=bt?function(e){return null==e?[]:(e=Ee(e),jt(bt(e),(function(t){return Ke.call(e,t)})))}:bl,gi=bt?function(e){for(var t=[];e;)Dt(t,mi(e)),e=Ze(e);return t}:bl,vi=Er;function bi(e,t,n){for(var r=-1,o=(t=Co(t,e)).length,i=!1;++r<o;){var a=zi(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&ns(o)&&xi(a,o)&&(Za(e)||Ya(e))}function yi(e){return"function"!=typeof e.constructor||Si(e)?{}:Hn(Ze(e))}function Ai(e){return Za(e)||Ya(e)||!!(Xe&&e&&e[Xe])}function xi(e,t){var n=typeof e;return!!(t=null==t?h:t)&&("number"==n||"symbol"!=n&&Ae.test(e))&&e>-1&&e%1==0&&e<t}function Ci(e,t,n){if(!rs(n))return!1;var r=typeof t;return!!("number"==r?Ka(n)&&xi(t,n.length):"string"==r&&t in n)&&Ha(n[t],e)}function _i(e,t){if(Za(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ds(e))||(ne.test(e)||!te.test(e)||null!=t&&e in Ee(t))}function wi(e){var t=ci(e),n=Un[t];if("function"!=typeof n||!(t in Yn.prototype))return!1;if(e===n)return!0;var r=li(n);return!!r&&e===r[0]}(Sn&&vi(new Sn(new ArrayBuffer(1)))!=R||En&&vi(new En)!=k||Bn&&vi(Bn.resolve())!=B||On&&vi(new On)!=j||jn&&vi(new jn)!=M)&&(vi=function(e){var t=Er(e),n=t==E?e.constructor:o,r=n?qi(n):"";if(r)switch(r){case Dn:return R;case Rn:return k;case Ln:return B;case In:return j;case Nn:return M}return t});var ki=De?es:yl;function Si(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Me)}function Ei(e){return e==e&&!rs(e)}function Bi(e,t){return function(n){return null!=n&&(n[e]===t&&(t!==o||e in Ee(n)))}}function Oi(e,t,n){return t=An(t===o?e.length-1:t,0),function(){for(var o=arguments,i=-1,a=An(o.length-t,0),s=r(a);++i<a;)s[i]=o[t+i];i=-1;for(var l=r(t+1);++i<t;)l[i]=o[i];return l[t]=n(s),kt(e,this,l)}}function ji(e,t){return t.length<2?e:kr(e,io(t,0,-1))}function Ti(e,t){for(var n=e.length,r=xn(t.length,n),i=Po(e);r--;){var a=t[r];e[r]=xi(a,n)?i[a]:o}return e}function Pi(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Mi=Ii(no),Di=ht||function(e,t){return pt.setTimeout(e,t)},Ri=Ii(ro);function Li(e,t,n){var r=t+"";return Ri(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Et(v,(function(n){var r="_."+n[0];t&n[1]&&!Tt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(r),n)))}function Ii(e){var t=0,n=0;return function(){var r=Cn(),i=16-(r-n);if(n=r,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(o,arguments)}}function Ni(e,t){var n=-1,r=e.length,i=r-1;for(t=t===o?r:t;++n<t;){var a=$r(n,i),s=e[a];e[a]=e[n],e[n]=s}return e.length=t,e}var Fi=function(e){var t=Ia(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(re,(function(e,n,r,o){t.push(r?o.replace(pe,"$1"):n||e)})),t}));function zi(e){if("string"==typeof e||ds(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function qi(e){if(null!=e){try{return Re.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Ui(e){if(e instanceof Yn)return e.clone();var t=new Vn(e.__wrapped__,e.__chain__);return t.__actions__=Po(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Hi=Qr((function(e,t){return $a(e)?pr(e,yr(t,1,$a,!0)):[]})),Wi=Qr((function(e,t){var n=Ji(t);return $a(n)&&(n=o),$a(e)?pr(e,yr(t,1,$a,!0),di(n,2)):[]})),Vi=Qr((function(e,t){var n=Ji(t);return $a(n)&&(n=o),$a(e)?pr(e,yr(t,1,$a,!0),o,n):[]}));function Yi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:vs(n);return o<0&&(o=An(r+o,0)),zt(e,di(t,3),o)}function Zi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r-1;return n!==o&&(i=vs(n),i=n<0?An(r+i,0):xn(i,r-1)),zt(e,di(t,3),i,!0)}function Gi(e){return(null==e?0:e.length)?yr(e,1):[]}function Ki(e){return e&&e.length?e[0]:o}var $i=Qr((function(e){var t=Mt(e,Ao);return t.length&&t[0]===e[0]?Tr(t):[]})),Xi=Qr((function(e){var t=Ji(e),n=Mt(e,Ao);return t===Ji(n)?t=o:n.pop(),n.length&&n[0]===e[0]?Tr(n,di(t,2)):[]})),Qi=Qr((function(e){var t=Ji(e),n=Mt(e,Ao);return(t="function"==typeof t?t:o)&&n.pop(),n.length&&n[0]===e[0]?Tr(n,o,t):[]}));function Ji(e){var t=null==e?0:e.length;return t?e[t-1]:o}var ea=Qr(ta);function ta(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var na=ii((function(e,t){var n=null==e?0:e.length,r=lr(e,t);return Kr(e,Mt(t,(function(e){return xi(e,n)?+e:e})).sort(Oo)),r}));function ra(e){return null==e?e:kn.call(e)}var oa=Qr((function(e){return po(yr(e,1,$a,!0))})),ia=Qr((function(e){var t=Ji(e);return $a(t)&&(t=o),po(yr(e,1,$a,!0),di(t,2))})),aa=Qr((function(e){var t=Ji(e);return t="function"==typeof t?t:o,po(yr(e,1,$a,!0),o,t)}));function sa(e){if(!e||!e.length)return[];var t=0;return e=jt(e,(function(e){if($a(e))return t=An(e.length,t),!0})),Kt(t,(function(t){return Mt(e,Vt(t))}))}function la(e,t){if(!e||!e.length)return[];var n=sa(e);return null==t?n:Mt(n,(function(e){return kt(t,o,e)}))}var ca=Qr((function(e,t){return $a(e)?pr(e,t):[]})),ua=Qr((function(e){return bo(jt(e,$a))})),da=Qr((function(e){var t=Ji(e);return $a(t)&&(t=o),bo(jt(e,$a),di(t,2))})),fa=Qr((function(e){var t=Ji(e);return t="function"==typeof t?t:o,bo(jt(e,$a),o,t)})),pa=Qr(sa);var ha=Qr((function(e){var t=e.length,n=t>1?e[t-1]:o;return n="function"==typeof n?(e.pop(),n):o,la(e,n)}));function ma(e){var t=Un(e);return t.__chain__=!0,t}function ga(e,t){return t(e)}var va=ii((function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return lr(t,e)};return!(t>1||this.__actions__.length)&&r instanceof Yn&&xi(n)?((r=r.slice(n,+n+(t?1:0))).__actions__.push({func:ga,args:[i],thisArg:o}),new Vn(r,this.__chain__).thru((function(e){return t&&!e.length&&e.push(o),e}))):this.thru(i)}));var ba=Do((function(e,t,n){Le.call(e,n)?++e[n]:sr(e,n,1)}));var ya=qo(Yi),Aa=qo(Zi);function xa(e,t){return(Za(e)?Et:hr)(e,di(t,3))}function Ca(e,t){return(Za(e)?Bt:mr)(e,di(t,3))}var _a=Do((function(e,t,n){Le.call(e,n)?e[n].push(t):sr(e,n,[t])}));var wa=Qr((function(e,t,n){var o=-1,i="function"==typeof t,a=Ka(e)?r(e.length):[];return hr(e,(function(e){a[++o]=i?kt(t,e,n):Pr(e,t,n)})),a})),ka=Do((function(e,t,n){sr(e,n,t)}));function Sa(e,t){return(Za(e)?Mt:qr)(e,di(t,3))}var Ea=Do((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Ba=Qr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ci(e,t[0],t[1])?t=[]:n>2&&Ci(t[0],t[1],t[2])&&(t=[t[0]]),Yr(e,yr(t,1),[])})),Oa=ft||function(){return pt.Date.now()};function ja(e,t,n){return t=n?o:t,t=e&&null==t?e.length:t,ei(e,d,o,o,o,o,t)}function Ta(e,t){var n;if("function"!=typeof t)throw new je(i);return e=vs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e<=1&&(t=o),n}}var Pa=Qr((function(e,t,n){var r=1;if(n.length){var o=un(n,ui(Pa));r|=c}return ei(e,r,t,n,o)})),Ma=Qr((function(e,t,n){var r=3;if(n.length){var o=un(n,ui(Ma));r|=c}return ei(t,r,e,n,o)}));function Da(e,t,n){var r,a,s,l,c,u,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new je(i);function m(t){var n=r,i=a;return r=a=o,d=t,l=e.apply(i,n)}function g(e){return d=e,c=Di(b,t),f?m(e):l}function v(e){var n=e-u;return u===o||n>=t||n<0||p&&e-d>=s}function b(){var e=Oa();if(v(e))return y(e);c=Di(b,function(e){var n=t-(e-u);return p?xn(n,s-(e-d)):n}(e))}function y(e){return c=o,h&&r?m(e):(r=a=o,l)}function A(){var e=Oa(),n=v(e);if(r=arguments,a=this,u=e,n){if(c===o)return g(u);if(p)return ko(c),c=Di(b,t),m(u)}return c===o&&(c=Di(b,t)),l}return t=ys(t)||0,rs(n)&&(f=!!n.leading,s=(p="maxWait"in n)?An(ys(n.maxWait)||0,t):s,h="trailing"in n?!!n.trailing:h),A.cancel=function(){c!==o&&ko(c),d=0,r=u=a=c=o},A.flush=function(){return c===o?l:y(Oa())},A}var Ra=Qr((function(e,t){return fr(e,1,t)})),La=Qr((function(e,t,n){return fr(e,ys(t)||0,n)}));function Ia(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new je(i);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(Ia.Cache||Kn),n}function Na(e){if("function"!=typeof e)throw new je(i);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)}}Ia.Cache=Kn;var Fa=_o((function(e,t){var n=(t=1==t.length&&Za(t[0])?Mt(t[0],Xt(di())):Mt(yr(t,1),Xt(di()))).length;return Qr((function(r){for(var o=-1,i=xn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return kt(e,this,r)}))})),za=Qr((function(e,t){var n=un(t,ui(za));return ei(e,c,o,t,n)})),qa=Qr((function(e,t){var n=un(t,ui(qa));return ei(e,u,o,t,n)})),Ua=ii((function(e,t){return ei(e,f,o,o,o,t)}));function Ha(e,t){return e===t||e!=e&&t!=t}var Wa=Ko(Br),Va=Ko((function(e,t){return e>=t})),Ya=Mr(function(){return arguments}())?Mr:function(e){return os(e)&&Le.call(e,"callee")&&!Ke.call(e,"callee")},Za=r.isArray,Ga=yt?Xt(yt):function(e){return os(e)&&Er(e)==D};function Ka(e){return null!=e&&ns(e.length)&&!es(e)}function $a(e){return os(e)&&Ka(e)}var Xa=Nt||yl,Qa=At?Xt(At):function(e){return os(e)&&Er(e)==x};function Ja(e){if(!os(e))return!1;var t=Er(e);return t==C||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ss(e)}function es(e){if(!rs(e))return!1;var t=Er(e);return t==_||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ts(e){return"number"==typeof e&&e==vs(e)}function ns(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function os(e){return null!=e&&"object"==typeof e}var is=xt?Xt(xt):function(e){return os(e)&&vi(e)==k};function as(e){return"number"==typeof e||os(e)&&Er(e)==S}function ss(e){if(!os(e)||Er(e)!=E)return!1;var t=Ze(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Re.call(n)==ze}var ls=Ct?Xt(Ct):function(e){return os(e)&&Er(e)==O};var cs=_t?Xt(_t):function(e){return os(e)&&vi(e)==j};function us(e){return"string"==typeof e||!Za(e)&&os(e)&&Er(e)==T}function ds(e){return"symbol"==typeof e||os(e)&&Er(e)==P}var fs=wt?Xt(wt):function(e){return os(e)&&ns(e.length)&&!!at[Er(e)]};var ps=Ko(zr),hs=Ko((function(e,t){return e<=t}));function ms(e){if(!e)return[];if(Ka(e))return us(e)?hn(e):Po(e);if(et&&e[et])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[et]());var t=vi(e);return(t==k?ln:t==j?dn:Hs)(e)}function gs(e){return e?(e=ys(e))===p||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function vs(e){var t=gs(e),n=t%1;return t==t?n?t-n:t:0}function bs(e){return e?cr(vs(e),0,g):0}function ys(e){if("number"==typeof e)return e;if(ds(e))return m;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=$t(e);var n=ve.test(e);return n||ye.test(e)?ut(e.slice(2),n?2:8):ge.test(e)?m:+e}function As(e){return Mo(e,Rs(e))}function xs(e){return null==e?"":fo(e)}var Cs=Ro((function(e,t){if(Si(t)||Ka(t))Mo(t,Ds(t),e);else for(var n in t)Le.call(t,n)&&rr(e,n,t[n])})),_s=Ro((function(e,t){Mo(t,Rs(t),e)})),ws=Ro((function(e,t,n,r){Mo(t,Rs(t),e,r)})),ks=Ro((function(e,t,n,r){Mo(t,Ds(t),e,r)})),Ss=ii(lr);var Es=Qr((function(e,t){e=Ee(e);var n=-1,r=t.length,i=r>2?t[2]:o;for(i&&Ci(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],s=Rs(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===o||Ha(d,Me[u])&&!Le.call(e,u))&&(e[u]=a[u])}return e})),Bs=Qr((function(e){return e.push(o,ni),kt(Is,o,e)}));function Os(e,t,n){var r=null==e?o:kr(e,t);return r===o?n:r}function js(e,t){return null!=e&&bi(e,t,jr)}var Ts=Wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),rl(al)),Ps=Wo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),di),Ms=Qr(Pr);function Ds(e){return Ka(e)?Qn(e):Nr(e)}function Rs(e){return Ka(e)?Qn(e,!0):Fr(e)}var Ls=Ro((function(e,t,n){Wr(e,t,n)})),Is=Ro((function(e,t,n,r){Wr(e,t,n,r)})),Ns=ii((function(e,t){var n={};if(null==e)return n;var r=!1;t=Mt(t,(function(t){return t=Co(t,e),r||(r=t.length>1),t})),Mo(e,si(e),n),r&&(n=ur(n,7,ri));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Fs=ii((function(e,t){return null==e?{}:function(e,t){return Zr(e,t,(function(t,n){return js(e,n)}))}(e,t)}));function zs(e,t){if(null==e)return{};var n=Mt(si(e),(function(e){return[e]}));return t=di(t),Zr(e,n,(function(e,n){return t(e,n[0])}))}var qs=Jo(Ds),Us=Jo(Rs);function Hs(e){return null==e?[]:Qt(e,Ds(e))}var Ws=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?Vs(t):t)}));function Vs(e){return Js(xs(e).toLowerCase())}function Ys(e){return(e=xs(e))&&e.replace(xe,rn).replace(Je,"")}var Zs=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gs=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Ks=No("toLowerCase");var $s=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xs=Fo((function(e,t,n){return e+(n?" ":"")+Js(t)}));var Qs=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Js=No("toUpperCase");function el(e,t,n){return e=xs(e),(t=n?o:t)===o?function(e){return rt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var tl=Qr((function(e,t){try{return kt(e,o,t)}catch(e){return Ja(e)?e:new we(e)}})),nl=ii((function(e,t){return Et(t,(function(t){t=zi(t),sr(e,t,Pa(e[t],e))})),e}));function rl(e){return function(){return e}}var ol=Uo(),il=Uo(!0);function al(e){return e}function sl(e){return Ir("function"==typeof e?e:ur(e,1))}var ll=Qr((function(e,t){return function(n){return Pr(n,e,t)}})),cl=Qr((function(e,t){return function(n){return Pr(e,n,t)}}));function ul(e,t,n){var r=Ds(t),o=wr(t,r);null!=n||rs(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=wr(t,Ds(t)));var i=!(rs(n)&&"chain"in n&&!n.chain),a=es(e);return Et(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__),o=n.__actions__=Po(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Dt([this.value()],arguments))})})),e}function dl(){}var fl=Yo(Mt),pl=Yo(Ot),hl=Yo(It);function ml(e){return _i(e)?Vt(zi(e)):function(e){return function(t){return kr(t,e)}}(e)}var gl=Go(),vl=Go(!0);function bl(){return[]}function yl(){return!1}var Al=Vo((function(e,t){return e+t}),0),xl=Xo("ceil"),Cl=Vo((function(e,t){return e/t}),1),_l=Xo("floor");var wl,kl=Vo((function(e,t){return e*t}),1),Sl=Xo("round"),El=Vo((function(e,t){return e-t}),0);return Un.after=function(e,t){if("function"!=typeof t)throw new je(i);return e=vs(e),function(){if(--e<1)return t.apply(this,arguments)}},Un.ary=ja,Un.assign=Cs,Un.assignIn=_s,Un.assignInWith=ws,Un.assignWith=ks,Un.at=Ss,Un.before=Ta,Un.bind=Pa,Un.bindAll=nl,Un.bindKey=Ma,Un.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Za(e)?e:[e]},Un.chain=ma,Un.chunk=function(e,t,n){t=(n?Ci(e,t,n):t===o)?1:An(vs(t),0);var i=null==e?0:e.length;if(!i||t<1)return[];for(var a=0,s=0,l=r(mt(i/t));a<i;)l[s++]=io(e,a,a+=t);return l},Un.compact=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},Un.concat=function(){var e=arguments.length;if(!e)return[];for(var t=r(e-1),n=arguments[0],o=e;o--;)t[o-1]=arguments[o];return Dt(Za(n)?Po(n):[n],yr(t,1))},Un.cond=function(e){var t=null==e?0:e.length,n=di();return e=t?Mt(e,(function(e){if("function"!=typeof e[1])throw new je(i);return[n(e[0]),e[1]]})):[],Qr((function(n){for(var r=-1;++r<t;){var o=e[r];if(kt(o[0],this,n))return kt(o[1],this,n)}}))},Un.conforms=function(e){return function(e){var t=Ds(e);return function(n){return dr(n,e,t)}}(ur(e,1))},Un.constant=rl,Un.countBy=ba,Un.create=function(e,t){var n=Hn(e);return null==t?n:ar(n,t)},Un.curry=function e(t,n,r){var i=ei(t,8,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Un.curryRight=function e(t,n,r){var i=ei(t,l,o,o,o,o,o,n=r?o:n);return i.placeholder=e.placeholder,i},Un.debounce=Da,Un.defaults=Es,Un.defaultsDeep=Bs,Un.defer=Ra,Un.delay=La,Un.difference=Hi,Un.differenceBy=Wi,Un.differenceWith=Vi,Un.drop=function(e,t,n){var r=null==e?0:e.length;return r?io(e,(t=n||t===o?1:vs(t))<0?0:t,r):[]},Un.dropRight=function(e,t,n){var r=null==e?0:e.length;return r?io(e,0,(t=r-(t=n||t===o?1:vs(t)))<0?0:t):[]},Un.dropRightWhile=function(e,t){return e&&e.length?go(e,di(t,3),!0,!0):[]},Un.dropWhile=function(e,t){return e&&e.length?go(e,di(t,3),!0):[]},Un.fill=function(e,t,n,r){var i=null==e?0:e.length;return i?(n&&"number"!=typeof n&&Ci(e,t,n)&&(n=0,r=i),function(e,t,n,r){var i=e.length;for((n=vs(n))<0&&(n=-n>i?0:i+n),(r=r===o||r>i?i:vs(r))<0&&(r+=i),r=n>r?0:bs(r);n<r;)e[n++]=t;return e}(e,t,n,r)):[]},Un.filter=function(e,t){return(Za(e)?jt:br)(e,di(t,3))},Un.flatMap=function(e,t){return yr(Sa(e,t),1)},Un.flatMapDeep=function(e,t){return yr(Sa(e,t),p)},Un.flatMapDepth=function(e,t,n){return n=n===o?1:vs(n),yr(Sa(e,t),n)},Un.flatten=Gi,Un.flattenDeep=function(e){return(null==e?0:e.length)?yr(e,p):[]},Un.flattenDepth=function(e,t){return(null==e?0:e.length)?yr(e,t=t===o?1:vs(t)):[]},Un.flip=function(e){return ei(e,512)},Un.flow=ol,Un.flowRight=il,Un.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Un.functions=function(e){return null==e?[]:wr(e,Ds(e))},Un.functionsIn=function(e){return null==e?[]:wr(e,Rs(e))},Un.groupBy=_a,Un.initial=function(e){return(null==e?0:e.length)?io(e,0,-1):[]},Un.intersection=$i,Un.intersectionBy=Xi,Un.intersectionWith=Qi,Un.invert=Ts,Un.invertBy=Ps,Un.invokeMap=wa,Un.iteratee=sl,Un.keyBy=ka,Un.keys=Ds,Un.keysIn=Rs,Un.map=Sa,Un.mapKeys=function(e,t){var n={};return t=di(t,3),Cr(e,(function(e,r,o){sr(n,t(e,r,o),e)})),n},Un.mapValues=function(e,t){var n={};return t=di(t,3),Cr(e,(function(e,r,o){sr(n,r,t(e,r,o))})),n},Un.matches=function(e){return Ur(ur(e,1))},Un.matchesProperty=function(e,t){return Hr(e,ur(t,1))},Un.memoize=Ia,Un.merge=Ls,Un.mergeWith=Is,Un.method=ll,Un.methodOf=cl,Un.mixin=ul,Un.negate=Na,Un.nthArg=function(e){return e=vs(e),Qr((function(t){return Vr(t,e)}))},Un.omit=Ns,Un.omitBy=function(e,t){return zs(e,Na(di(t)))},Un.once=function(e){return Ta(2,e)},Un.orderBy=function(e,t,n,r){return null==e?[]:(Za(t)||(t=null==t?[]:[t]),Za(n=r?o:n)||(n=null==n?[]:[n]),Yr(e,t,n))},Un.over=fl,Un.overArgs=Fa,Un.overEvery=pl,Un.overSome=hl,Un.partial=za,Un.partialRight=qa,Un.partition=Ea,Un.pick=Fs,Un.pickBy=zs,Un.property=ml,Un.propertyOf=function(e){return function(t){return null==e?o:kr(e,t)}},Un.pull=ea,Un.pullAll=ta,Un.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,di(n,2)):e},Un.pullAllWith=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,o,n):e},Un.pullAt=na,Un.range=gl,Un.rangeRight=vl,Un.rearg=Ua,Un.reject=function(e,t){return(Za(e)?jt:br)(e,Na(di(t,3)))},Un.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=di(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Kr(e,o),n},Un.rest=function(e,t){if("function"!=typeof e)throw new je(i);return Qr(e,t=t===o?t:vs(t))},Un.reverse=ra,Un.sampleSize=function(e,t,n){return t=(n?Ci(e,t,n):t===o)?1:vs(t),(Za(e)?er:eo)(e,t)},Un.set=function(e,t,n){return null==e?e:to(e,t,n)},Un.setWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:to(e,t,n,r)},Un.shuffle=function(e){return(Za(e)?tr:oo)(e)},Un.slice=function(e,t,n){var r=null==e?0:e.length;return r?(n&&"number"!=typeof n&&Ci(e,t,n)?(t=0,n=r):(t=null==t?0:vs(t),n=n===o?r:vs(n)),io(e,t,n)):[]},Un.sortBy=Ba,Un.sortedUniq=function(e){return e&&e.length?co(e):[]},Un.sortedUniqBy=function(e,t){return e&&e.length?co(e,di(t,2)):[]},Un.split=function(e,t,n){return n&&"number"!=typeof n&&Ci(e,t,n)&&(t=n=o),(n=n===o?g:n>>>0)?(e=xs(e))&&("string"==typeof t||null!=t&&!ls(t))&&!(t=fo(t))&&sn(e)?wo(hn(e),0,n):e.split(t,n):[]},Un.spread=function(e,t){if("function"!=typeof e)throw new je(i);return t=null==t?0:An(vs(t),0),Qr((function(n){var r=n[t],o=wo(n,0,t);return r&&Dt(o,r),kt(e,this,o)}))},Un.tail=function(e){var t=null==e?0:e.length;return t?io(e,1,t):[]},Un.take=function(e,t,n){return e&&e.length?io(e,0,(t=n||t===o?1:vs(t))<0?0:t):[]},Un.takeRight=function(e,t,n){var r=null==e?0:e.length;return r?io(e,(t=r-(t=n||t===o?1:vs(t)))<0?0:t,r):[]},Un.takeRightWhile=function(e,t){return e&&e.length?go(e,di(t,3),!1,!0):[]},Un.takeWhile=function(e,t){return e&&e.length?go(e,di(t,3)):[]},Un.tap=function(e,t){return t(e),e},Un.throttle=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new je(i);return rs(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Da(e,t,{leading:r,maxWait:t,trailing:o})},Un.thru=ga,Un.toArray=ms,Un.toPairs=qs,Un.toPairsIn=Us,Un.toPath=function(e){return Za(e)?Mt(e,zi):ds(e)?[e]:Po(Fi(xs(e)))},Un.toPlainObject=As,Un.transform=function(e,t,n){var r=Za(e),o=r||Xa(e)||fs(e);if(t=di(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:rs(e)&&es(i)?Hn(Ze(e)):{}}return(o?Et:Cr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Un.unary=function(e){return ja(e,1)},Un.union=oa,Un.unionBy=ia,Un.unionWith=aa,Un.uniq=function(e){return e&&e.length?po(e):[]},Un.uniqBy=function(e,t){return e&&e.length?po(e,di(t,2)):[]},Un.uniqWith=function(e,t){return t="function"==typeof t?t:o,e&&e.length?po(e,o,t):[]},Un.unset=function(e,t){return null==e||ho(e,t)},Un.unzip=sa,Un.unzipWith=la,Un.update=function(e,t,n){return null==e?e:mo(e,t,xo(n))},Un.updateWith=function(e,t,n,r){return r="function"==typeof r?r:o,null==e?e:mo(e,t,xo(n),r)},Un.values=Hs,Un.valuesIn=function(e){return null==e?[]:Qt(e,Rs(e))},Un.without=ca,Un.words=el,Un.wrap=function(e,t){return za(xo(t),e)},Un.xor=ua,Un.xorBy=da,Un.xorWith=fa,Un.zip=pa,Un.zipObject=function(e,t){return yo(e||[],t||[],rr)},Un.zipObjectDeep=function(e,t){return yo(e||[],t||[],to)},Un.zipWith=ha,Un.entries=qs,Un.entriesIn=Us,Un.extend=_s,Un.extendWith=ws,ul(Un,Un),Un.add=Al,Un.attempt=tl,Un.camelCase=Ws,Un.capitalize=Vs,Un.ceil=xl,Un.clamp=function(e,t,n){return n===o&&(n=t,t=o),n!==o&&(n=(n=ys(n))==n?n:0),t!==o&&(t=(t=ys(t))==t?t:0),cr(ys(e),t,n)},Un.clone=function(e){return ur(e,4)},Un.cloneDeep=function(e){return ur(e,5)},Un.cloneDeepWith=function(e,t){return ur(e,5,t="function"==typeof t?t:o)},Un.cloneWith=function(e,t){return ur(e,4,t="function"==typeof t?t:o)},Un.conformsTo=function(e,t){return null==t||dr(e,t,Ds(t))},Un.deburr=Ys,Un.defaultTo=function(e,t){return null==e||e!=e?t:e},Un.divide=Cl,Un.endsWith=function(e,t,n){e=xs(e),t=fo(t);var r=e.length,i=n=n===o?r:cr(vs(n),0,r);return(n-=t.length)>=0&&e.slice(n,i)==t},Un.eq=Ha,Un.escape=function(e){return(e=xs(e))&&X.test(e)?e.replace(K,on):e},Un.escapeRegExp=function(e){return(e=xs(e))&&ie.test(e)?e.replace(oe,"\\$&"):e},Un.every=function(e,t,n){var r=Za(e)?Ot:gr;return n&&Ci(e,t,n)&&(t=o),r(e,di(t,3))},Un.find=ya,Un.findIndex=Yi,Un.findKey=function(e,t){return Ft(e,di(t,3),Cr)},Un.findLast=Aa,Un.findLastIndex=Zi,Un.findLastKey=function(e,t){return Ft(e,di(t,3),_r)},Un.floor=_l,Un.forEach=xa,Un.forEachRight=Ca,Un.forIn=function(e,t){return null==e?e:Ar(e,di(t,3),Rs)},Un.forInRight=function(e,t){return null==e?e:xr(e,di(t,3),Rs)},Un.forOwn=function(e,t){return e&&Cr(e,di(t,3))},Un.forOwnRight=function(e,t){return e&&_r(e,di(t,3))},Un.get=Os,Un.gt=Wa,Un.gte=Va,Un.has=function(e,t){return null!=e&&bi(e,t,Or)},Un.hasIn=js,Un.head=Ki,Un.identity=al,Un.includes=function(e,t,n,r){e=Ka(e)?e:Hs(e),n=n&&!r?vs(n):0;var o=e.length;return n<0&&(n=An(o+n,0)),us(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&qt(e,t,n)>-1},Un.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:vs(n);return o<0&&(o=An(r+o,0)),qt(e,t,o)},Un.inRange=function(e,t,n){return t=gs(t),n===o?(n=t,t=0):n=gs(n),function(e,t,n){return e>=xn(t,n)&&e<An(t,n)}(e=ys(e),t,n)},Un.invoke=Ms,Un.isArguments=Ya,Un.isArray=Za,Un.isArrayBuffer=Ga,Un.isArrayLike=Ka,Un.isArrayLikeObject=$a,Un.isBoolean=function(e){return!0===e||!1===e||os(e)&&Er(e)==A},Un.isBuffer=Xa,Un.isDate=Qa,Un.isElement=function(e){return os(e)&&1===e.nodeType&&!ss(e)},Un.isEmpty=function(e){if(null==e)return!0;if(Ka(e)&&(Za(e)||"string"==typeof e||"function"==typeof e.splice||Xa(e)||fs(e)||Ya(e)))return!e.length;var t=vi(e);if(t==k||t==j)return!e.size;if(Si(e))return!Nr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Un.isEqual=function(e,t){return Dr(e,t)},Un.isEqualWith=function(e,t,n){var r=(n="function"==typeof n?n:o)?n(e,t):o;return r===o?Dr(e,t,o,n):!!r},Un.isError=Ja,Un.isFinite=function(e){return"number"==typeof e&&Yt(e)},Un.isFunction=es,Un.isInteger=ts,Un.isLength=ns,Un.isMap=is,Un.isMatch=function(e,t){return e===t||Rr(e,t,pi(t))},Un.isMatchWith=function(e,t,n){return n="function"==typeof n?n:o,Rr(e,t,pi(t),n)},Un.isNaN=function(e){return as(e)&&e!=+e},Un.isNative=function(e){if(ki(e))throw new we("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Un.isNil=function(e){return null==e},Un.isNull=function(e){return null===e},Un.isNumber=as,Un.isObject=rs,Un.isObjectLike=os,Un.isPlainObject=ss,Un.isRegExp=ls,Un.isSafeInteger=function(e){return ts(e)&&e>=-9007199254740991&&e<=h},Un.isSet=cs,Un.isString=us,Un.isSymbol=ds,Un.isTypedArray=fs,Un.isUndefined=function(e){return e===o},Un.isWeakMap=function(e){return os(e)&&vi(e)==M},Un.isWeakSet=function(e){return os(e)&&"[object WeakSet]"==Er(e)},Un.join=function(e,t){return null==e?"":bn.call(e,t)},Un.kebabCase=Zs,Un.last=Ji,Un.lastIndexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var i=r;return n!==o&&(i=(i=vs(n))<0?An(r+i,0):xn(i,r-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):zt(e,Ht,i,!0)},Un.lowerCase=Gs,Un.lowerFirst=Ks,Un.lt=ps,Un.lte=hs,Un.max=function(e){return e&&e.length?vr(e,al,Br):o},Un.maxBy=function(e,t){return e&&e.length?vr(e,di(t,2),Br):o},Un.mean=function(e){return Wt(e,al)},Un.meanBy=function(e,t){return Wt(e,di(t,2))},Un.min=function(e){return e&&e.length?vr(e,al,zr):o},Un.minBy=function(e,t){return e&&e.length?vr(e,di(t,2),zr):o},Un.stubArray=bl,Un.stubFalse=yl,Un.stubObject=function(){return{}},Un.stubString=function(){return""},Un.stubTrue=function(){return!0},Un.multiply=kl,Un.nth=function(e,t){return e&&e.length?Vr(e,vs(t)):o},Un.noConflict=function(){return pt._===this&&(pt._=qe),this},Un.noop=dl,Un.now=Oa,Un.pad=function(e,t,n){e=xs(e);var r=(t=vs(t))?pn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Zo(vt(o),n)+e+Zo(mt(o),n)},Un.padEnd=function(e,t,n){e=xs(e);var r=(t=vs(t))?pn(e):0;return t&&r<t?e+Zo(t-r,n):e},Un.padStart=function(e,t,n){e=xs(e);var r=(t=vs(t))?pn(e):0;return t&&r<t?Zo(t-r,n)+e:e},Un.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),_n(xs(e).replace(ae,""),t||0)},Un.random=function(e,t,n){if(n&&"boolean"!=typeof n&&Ci(e,t,n)&&(t=n=o),n===o&&("boolean"==typeof t?(n=t,t=o):"boolean"==typeof e&&(n=e,e=o)),e===o&&t===o?(e=0,t=1):(e=gs(e),t===o?(t=e,e=0):t=gs(t)),e>t){var r=e;e=t,t=r}if(n||e%1||t%1){var i=wn();return xn(e+i*(t-e+ct("1e-"+((i+"").length-1))),t)}return $r(e,t)},Un.reduce=function(e,t,n){var r=Za(e)?Rt:Zt,o=arguments.length<3;return r(e,di(t,4),n,o,hr)},Un.reduceRight=function(e,t,n){var r=Za(e)?Lt:Zt,o=arguments.length<3;return r(e,di(t,4),n,o,mr)},Un.repeat=function(e,t,n){return t=(n?Ci(e,t,n):t===o)?1:vs(t),Xr(xs(e),t)},Un.replace=function(){var e=arguments,t=xs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Un.result=function(e,t,n){var r=-1,i=(t=Co(t,e)).length;for(i||(i=1,e=o);++r<i;){var a=null==e?o:e[zi(t[r])];a===o&&(r=i,a=n),e=es(a)?a.call(e):a}return e},Un.round=Sl,Un.runInContext=e,Un.sample=function(e){return(Za(e)?Jn:Jr)(e)},Un.size=function(e){if(null==e)return 0;if(Ka(e))return us(e)?pn(e):e.length;var t=vi(e);return t==k||t==j?e.size:Nr(e).length},Un.snakeCase=$s,Un.some=function(e,t,n){var r=Za(e)?It:ao;return n&&Ci(e,t,n)&&(t=o),r(e,di(t,3))},Un.sortedIndex=function(e,t){return so(e,t)},Un.sortedIndexBy=function(e,t,n){return lo(e,t,di(n,2))},Un.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=so(e,t);if(r<n&&Ha(e[r],t))return r}return-1},Un.sortedLastIndex=function(e,t){return so(e,t,!0)},Un.sortedLastIndexBy=function(e,t,n){return lo(e,t,di(n,2),!0)},Un.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=so(e,t,!0)-1;if(Ha(e[n],t))return n}return-1},Un.startCase=Xs,Un.startsWith=function(e,t,n){return e=xs(e),n=null==n?0:cr(vs(n),0,e.length),t=fo(t),e.slice(n,n+t.length)==t},Un.subtract=El,Un.sum=function(e){return e&&e.length?Gt(e,al):0},Un.sumBy=function(e,t){return e&&e.length?Gt(e,di(t,2)):0},Un.template=function(e,t,n){var r=Un.templateSettings;n&&Ci(e,t,n)&&(t=o),e=xs(e),t=ws({},t,r,ti);var i,a,s=ws({},t.imports,r.imports,ti),l=Ds(s),c=Qt(s,l),u=0,d=t.interpolate||Ce,f="__p += '",p=Be((t.escape||Ce).source+"|"+d.source+"|"+(d===ee?he:Ce).source+"|"+(t.evaluate||Ce).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++it+"]")+"\n";e.replace(p,(function(t,n,r,o,s,l){return r||(r=o),f+=e.slice(u,l).replace(_e,an),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(fe.test(m))throw new we("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(V,""):f).replace(Y,"$1").replace(Z,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=tl((function(){return ke(l,h+"return "+f).apply(o,c)}));if(g.source=f,Ja(g))throw g;return g},Un.times=function(e,t){if((e=vs(e))<1||e>h)return[];var n=g,r=xn(e,g);t=di(t),e-=g;for(var o=Kt(r,t);++n<e;)t(n);return o},Un.toFinite=gs,Un.toInteger=vs,Un.toLength=bs,Un.toLower=function(e){return xs(e).toLowerCase()},Un.toNumber=ys,Un.toSafeInteger=function(e){return e?cr(vs(e),-9007199254740991,h):0===e?e:0},Un.toString=xs,Un.toUpper=function(e){return xs(e).toUpperCase()},Un.trim=function(e,t,n){if((e=xs(e))&&(n||t===o))return $t(e);if(!e||!(t=fo(t)))return e;var r=hn(e),i=hn(t);return wo(r,en(r,i),tn(r,i)+1).join("")},Un.trimEnd=function(e,t,n){if((e=xs(e))&&(n||t===o))return e.slice(0,mn(e)+1);if(!e||!(t=fo(t)))return e;var r=hn(e);return wo(r,0,tn(r,hn(t))+1).join("")},Un.trimStart=function(e,t,n){if((e=xs(e))&&(n||t===o))return e.replace(ae,"");if(!e||!(t=fo(t)))return e;var r=hn(e);return wo(r,en(r,hn(t))).join("")},Un.truncate=function(e,t){var n=30,r="...";if(rs(t)){var i="separator"in t?t.separator:i;n="length"in t?vs(t.length):n,r="omission"in t?fo(t.omission):r}var a=(e=xs(e)).length;if(sn(e)){var s=hn(e);a=s.length}if(n>=a)return e;var l=n-pn(r);if(l<1)return r;var c=s?wo(s,0,l).join(""):e.slice(0,l);if(i===o)return c+r;if(s&&(l+=c.length-l),ls(i)){if(e.slice(l).search(i)){var u,d=c;for(i.global||(i=Be(i.source,xs(me.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var f=u.index;c=c.slice(0,f===o?l:f)}}else if(e.indexOf(fo(i),l)!=l){var p=c.lastIndexOf(i);p>-1&&(c=c.slice(0,p))}return c+r},Un.unescape=function(e){return(e=xs(e))&&$.test(e)?e.replace(G,gn):e},Un.uniqueId=function(e){var t=++Ie;return xs(e)+t},Un.upperCase=Qs,Un.upperFirst=Js,Un.each=xa,Un.eachRight=Ca,Un.first=Ki,ul(Un,(wl={},Cr(Un,(function(e,t){Le.call(Un.prototype,t)||(wl[t]=e)})),wl),{chain:!1}),Un.VERSION="4.17.21",Et(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Un[e].placeholder=Un})),Et(["drop","take"],(function(e,t){Yn.prototype[e]=function(n){n=n===o?1:An(vs(n),0);var r=this.__filtered__&&!t?new Yn(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,g),type:e+(r.__dir__<0?"Right":"")}),r},Yn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Et(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Yn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:di(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Et(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Yn.prototype[e]=function(){return this[n](1).value()[0]}})),Et(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Yn.prototype[e]=function(){return this.__filtered__?new Yn(this):this[n](1)}})),Yn.prototype.compact=function(){return this.filter(al)},Yn.prototype.find=function(e){return this.filter(e).head()},Yn.prototype.findLast=function(e){return this.reverse().find(e)},Yn.prototype.invokeMap=Qr((function(e,t){return"function"==typeof e?new Yn(this):this.map((function(n){return Pr(n,e,t)}))})),Yn.prototype.reject=function(e){return this.filter(Na(di(e)))},Yn.prototype.slice=function(e,t){e=vs(e);var n=this;return n.__filtered__&&(e>0||t<0)?new Yn(n):(e<0?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==o&&(n=(t=vs(t))<0?n.dropRight(-t):n.take(t-e)),n)},Yn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Yn.prototype.toArray=function(){return this.take(g)},Cr(Yn.prototype,(function(e,t){var n=/^(?:filter|find|map|reject)|While$/.test(t),r=/^(?:head|last)$/.test(t),i=Un[r?"take"+("last"==t?"Right":""):t],a=r||/^find/.test(t);i&&(Un.prototype[t]=function(){var t=this.__wrapped__,s=r?[1]:arguments,l=t instanceof Yn,c=s[0],u=l||Za(t),d=function(e){var t=i.apply(Un,Dt([e],s));return r&&f?t[0]:t};u&&n&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,p=!!this.__actions__.length,h=a&&!f,m=l&&!p;if(!a&&u){t=m?t:new Yn(this);var g=e.apply(t,s);return g.__actions__.push({func:ga,args:[d],thisArg:o}),new Vn(g,f)}return h&&m?e.apply(this,s):(g=this.thru(d),h?r?g.value()[0]:g.value():g)})})),Et(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Te[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Un.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Za(o)?o:[],e)}return this[n]((function(n){return t.apply(Za(n)?n:[],e)}))}})),Cr(Yn.prototype,(function(e,t){var n=Un[t];if(n){var r=n.name+"";Le.call(Mn,r)||(Mn[r]=[]),Mn[r].push({name:t,func:n})}})),Mn[Ho(o,2).name]=[{name:"wrapper",func:o}],Yn.prototype.clone=function(){var e=new Yn(this.__wrapped__);return e.__actions__=Po(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Po(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Po(this.__views__),e},Yn.prototype.reverse=function(){if(this.__filtered__){var e=new Yn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Yn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Za(e),r=t<0,o=n?e.length:0,i=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=xn(t,e+a);break;case"takeRight":e=An(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,p=xn(l,this.__takeCount__);if(!n||!r&&o==l&&p==l)return vo(e,this.__actions__);var h=[];e:for(;l--&&f<p;){for(var m=-1,g=e[c+=t];++m<d;){var v=u[m],b=v.iteratee,y=v.type,A=b(g);if(2==y)g=A;else if(!A){if(1==y)continue e;break e}}h[f++]=g}return h},Un.prototype.at=va,Un.prototype.chain=function(){return ma(this)},Un.prototype.commit=function(){return new Vn(this.value(),this.__chain__)},Un.prototype.next=function(){this.__values__===o&&(this.__values__=ms(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?o:this.__values__[this.__index__++]}},Un.prototype.plant=function(e){for(var t,n=this;n instanceof Wn;){var r=Ui(n);r.__index__=0,r.__values__=o,t?i.__wrapped__=r:t=r;var i=r;n=n.__wrapped__}return i.__wrapped__=e,t},Un.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Yn){var t=e;return this.__actions__.length&&(t=new Yn(this)),(t=t.reverse()).__actions__.push({func:ga,args:[ra],thisArg:o}),new Vn(t,this.__chain__)}return this.thru(ra)},Un.prototype.toJSON=Un.prototype.valueOf=Un.prototype.value=function(){return vo(this.__wrapped__,this.__actions__)},Un.prototype.first=Un.prototype.head,et&&(Un.prototype[et]=function(){return this}),Un}();pt._=vn,(r=function(){return vn}.call(t,n,t,e))===o||(e.exports=r)}.call(this)},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},78718:function(e,t,n){var r=n(25970),o=n(99021)((function(e,t){return null==e?{}:r(e,t)}));e.exports=o},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},36968:function(e,t,n){var r=n(10611);e.exports=function(e,t,n){return null==e?e:r(e,t,n)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},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}},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,l=/^0o[0-7]+$/i,c=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||l.test(e)?c(e.slice(2),n?2:8):a.test(e)?NaN:+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)}},82569:function(e,t,n){var r=n(20731),o=n(5976),i=n(29246),a=o((function(e,t){return i(e)?r(e,t):[]}));e.exports=a},30845:function(e,t,n){"use strict";n.r(t);var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(o=e[n],i=t[n],!(o===i||r(o)&&r(i)))return!1;var o,i;return!0}t.default=function(e,t){var n;void 0===t&&(t=o);var r,i=[],a=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return a&&n===this&&t(o,i)||(r=e.apply(this,o),a=!0,n=this,i=o),r}}},60217:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de-at",{months:"Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},60894:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de-ch",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},59740:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[e+" Tage",e+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[e+" Monate",e+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[e+" Jahre",e+" Jahren"]};return t?o[n][0]:o[n][1]}e.defineLocale("de",{months:"Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),weekdaysShort:"So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mo_Di_Mi_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY HH:mm",LLLL:"dddd, D. MMMM YYYY HH:mm"},calendar:{sameDay:"[heute um] LT [Uhr]",sameElse:"L",nextDay:"[morgen um] LT [Uhr]",nextWeek:"dddd [um] LT [Uhr]",lastDay:"[gestern um] LT [Uhr]",lastWeek:"[letzten] dddd [um] LT [Uhr]"},relativeTime:{future:"in %s",past:"vor %s",s:"ein paar Sekunden",ss:"%d Sekunden",m:t,mm:"%d Minuten",h:t,hh:"%d Stunden",d:t,dd:t,w:t,ww:"%d Wochen",M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(n(30381))},78348:function(e,t,n){!function(e){"use strict";e.defineLocale("en-au",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:4}})}(n(30381))},77925:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ca",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"YYYY-MM-DD",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},22243:function(e,t,n){!function(e){"use strict";e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},46436:function(e,t,n){!function(e){"use strict";e.defineLocale("en-ie",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},47207:function(e,t,n){!function(e){"use strict";e.defineLocale("en-il",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}})}(n(30381))},44175:function(e,t,n){!function(e){"use strict";e.defineLocale("en-in",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:0,doy:6}})}(n(30381))},76319:function(e,t,n){!function(e){"use strict";e.defineLocale("en-nz",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY h:mm A",LLLL:"dddd, D MMMM YYYY h:mm A"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},31662:function(e,t,n){!function(e){"use strict";e.defineLocale("en-sg",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})}(n(30381))},55251:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-do",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}})}(n(30381))},96112:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-mx",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:4},invalidDate:"Fecha inválida"})}(n(30381))},71146:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es-us",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"h:mm A",LTS:"h:mm:ss A",L:"MM/DD/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY h:mm A",LLLL:"dddd, D [de] MMMM [de] YYYY h:mm A"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:0,doy:6}})}(n(30381))},55655:function(e,t,n){!function(e){"use strict";var t="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),n="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),r=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],o=/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;e.defineLocale("es",{months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,monthsShortStrictRegex:/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),weekdaysShort:"dom._lun._mar._mié._jue._vie._sáb.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoy a la"+(1!==this.hours()?"s":"")+"] LT"},nextDay:function(){return"[mañana a la"+(1!==this.hours()?"s":"")+"] LT"},nextWeek:function(){return"dddd [a la"+(1!==this.hours()?"s":"")+"] LT"},lastDay:function(){return"[ayer a la"+(1!==this.hours()?"s":"")+"] LT"},lastWeek:function(){return"[el] dddd [pasado a la"+(1!==this.hours()?"s":"")+"] LT"},sameElse:"L"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un día",dd:"%d días",w:"una semana",ww:"%d semanas",M:"un mes",MM:"%d meses",y:"un año",yy:"%d años"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4},invalidDate:"Fecha inválida"})}(n(30381))},63049:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}}})}(n(30381))},52330:function(e,t,n){!function(e){"use strict";e.defineLocale("fr-ch",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(e,t){switch(t){default:case"M":case"Q":case"D":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(30381))},94470:function(e,t,n){!function(e){"use strict";var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,r=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,o=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i];e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:r,monthsShortRegex:r,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:o,longMonthsParse:o,shortMonthsParse:o,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",w:"une semaine",ww:"%d semaines",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}})}(n(30381))},27884:function(e,t,n){!function(e){"use strict";function t(e,t,n,r){var o={s:["थोडया सॅकंडांनी","थोडे सॅकंड"],ss:[e+" सॅकंडांनी",e+" सॅकंड"],m:["एका मिणटान","एक मिनूट"],mm:[e+" मिणटांनी",e+" मिणटां"],h:["एका वरान","एक वर"],hh:[e+" वरांनी",e+" वरां"],d:["एका दिसान","एक दीस"],dd:[e+" दिसांनी",e+" दीस"],M:["एका म्हयन्यान","एक म्हयनो"],MM:[e+" म्हयन्यानी",e+" म्हयने"],y:["एका वर्सान","एक वर्स"],yy:[e+" वर्सांनी",e+" वर्सां"]};return r?o[n][0]:o[n][1]}e.defineLocale("gom-deva",{months:{standalone:"जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर".split("_"),format:"जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या".split("_"),isFormat:/MMMM(\s)+D[oD]?/},monthsShort:"जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.".split("_"),monthsParseExact:!0,weekdays:"आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार".split("_"),weekdaysShort:"आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.".split("_"),weekdaysMin:"आ_सो_मं_बु_ब्रे_सु_शे".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"A h:mm [वाजतां]",LTS:"A h:mm:ss [वाजतां]",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY A h:mm [वाजतां]",LLLL:"dddd, MMMM Do, YYYY, A h:mm [वाजतां]",llll:"ddd, D MMM YYYY, A h:mm [वाजतां]"},calendar:{sameDay:"[आयज] LT",nextDay:"[फाल्यां] LT",nextWeek:"[फुडलो] dddd[,] LT",lastDay:"[काल] LT",lastWeek:"[फाटलो] dddd[,] LT",sameElse:"L"},relativeTime:{future:"%s",past:"%s आदीं",s:t,ss:t,m:t,mm:t,h:t,hh:t,d:t,dd:t,M:t,MM:t,y:t,yy:t},dayOfMonthOrdinalParse:/\d{1,2}(वेर)/,ordinal:function(e,t){return"D"===t?e+"वेर":e},week:{dow:0,doy:3},meridiemParse:/राती|सकाळीं|दनपारां|सांजे/,meridiemHour:function(e,t){return 12===e&&(e=0),"राती"===t?e<4?e:e+12:"सकाळीं"===t?e:"दनपारां"===t?e>12?e:e+12:"सांजे"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"राती":e<12?"सकाळीं":e<16?"दनपारां":e<20?"सांजे":"राती"}})}(n(30381))},59814:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl-be",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},93901:function(e,t,n){!function(e){"use strict";var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),r=[/^jan/i,/^feb/i,/^maart|mrt.?$/i,/^apr/i,/^mei$/i,/^jun[i.]?$/i,/^jul[i.]?$/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i],o=/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;e.defineLocale("nl",{months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:function(e,r){return e?/-MMM-/.test(r)?n[e.month()]:t[e.month()]:t},monthsRegex:o,monthsShortRegex:o,monthsStrictRegex:/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,monthsShortStrictRegex:/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[vandaag om] LT",nextDay:"[morgen om] LT",nextWeek:"dddd [om] LT",lastDay:"[gisteren om] LT",lastWeek:"[afgelopen] dddd [om] LT",sameElse:"L"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",ss:"%d seconden",m:"één minuut",mm:"%d minuten",h:"één uur",hh:"%d uur",d:"één dag",dd:"%d dagen",w:"één week",ww:"%d weken",M:"één maand",MM:"%d maanden",y:"één jaar",yy:"%d jaar"},dayOfMonthOrdinalParse:/\d{1,2}(ste|de)/,ordinal:function(e){return e+(1===e||8===e||e>=20?"ste":"de")},week:{dow:1,doy:4}})}(n(30381))},30381:function(e,t,n){(e=n.nmd(e)).exports=function(){"use strict";var t,r;function o(){return t.apply(null,arguments)}function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function l(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function c(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(l(e,t))return!1;return!0}function u(e){return void 0===e}function d(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function f(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function p(e,t){var n,r=[],o=e.length;for(n=0;n<o;++n)r.push(t(e[n],n));return r}function h(e,t){for(var n in t)l(t,n)&&(e[n]=t[n]);return l(t,"toString")&&(e.toString=t.toString),l(t,"valueOf")&&(e.valueOf=t.valueOf),e}function m(e,t,n,r){return Kn(e,t,n,r,!0).utc()}function g(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function v(e){return null==e._pf&&(e._pf=g()),e._pf}function b(e){if(null==e._isValid){var t=v(e),n=r.call(t.parsedDateParts,(function(e){return null!=e})),o=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(o=o&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return o;e._isValid=o}return e._isValid}function y(e){var t=m(NaN);return null!=e?h(v(t),e):v(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var A=o.momentProperties=[],x=!1;function C(e,t){var n,r,o,i=A.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=v(t)),u(t._locale)||(e._locale=t._locale),i>0)for(n=0;n<i;n++)u(o=t[r=A[n]])||(e[r]=o);return e}function _(e){C(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===x&&(x=!0,o.updateOffset(this),x=!1)}function w(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function k(e){!1===o.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return h((function(){if(null!=o.deprecationHandler&&o.deprecationHandler(null,e),n){var r,i,a,s=[],c=arguments.length;for(i=0;i<c;i++){if(r="","object"==typeof arguments[i]){for(a in r+="\n["+i+"] ",arguments[0])l(arguments[0],a)&&(r+=a+": "+arguments[0][a]+", ");r=r.slice(0,-2)}else r=arguments[i];s.push(r)}k(e+"\nArguments: "+Array.prototype.slice.call(s).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var E,B={};function O(e,t){null!=o.deprecationHandler&&o.deprecationHandler(e,t),B[e]||(k(t),B[e]=!0)}function j(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function T(e){var t,n;for(n in e)l(e,n)&&(j(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=h({},e);for(n in t)l(t,n)&&(s(e[n])&&s(t[n])?(r[n]={},h(r[n],e[n]),h(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)l(e,n)&&!l(t,n)&&s(e[n])&&(r[n]=h({},r[n]));return r}function M(e){null!=e&&this.set(e)}o.suppressDeprecationWarnings=!1,o.deprecationHandler=null,E=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)l(e,t)&&n.push(t);return n};var D={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function R(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return j(r)?r.call(t,n):r}function L(e,t,n){var r=""+Math.abs(e),o=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+r}var I=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,F={},z={};function q(e,t,n,r){var o=r;"string"==typeof r&&(o=function(){return this[r]()}),e&&(z[e]=o),t&&(z[t[0]]=function(){return L(o.apply(this,arguments),t[1],t[2])}),n&&(z[n]=function(){return this.localeData().ordinal(o.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(I);for(t=0,n=r.length;t<n;t++)z[r[t]]?r[t]=z[r[t]]:r[t]=U(r[t]);return function(t){var o,i="";for(o=0;o<n;o++)i+=j(r[o])?r[o].call(t,e):r[o];return i}}function W(e,t){return e.isValid()?(t=V(t,e.localeData()),F[t]=F[t]||H(t),F[t](e)):e.localeData().invalidDate()}function V(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;n>=0&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,n-=1;return e}var Y={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Z(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(I).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var G="Invalid date";function K(){return this._invalidDate}var $="%d",X=/\d{1,2}/;function Q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function ee(e,t,n,r){var o=this._relativeTime[n];return j(o)?o(e,t,n,r):o.replace(/%d/i,e)}function te(e,t){var n=this._relativeTime[e>0?"future":"past"];return j(n)?n(t):n.replace(/%s/i,t)}var ne={};function re(e,t){var n=e.toLowerCase();ne[n]=ne[n+"s"]=ne[t]=e}function oe(e){return"string"==typeof e?ne[e]||ne[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)l(e,n)&&(t=oe(n))&&(r[t]=e[n]);return r}var ae={};function se(e,t){ae[e]=t}function le(e){var t,n=[];for(t in e)l(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function ce(e){return e%4==0&&e%100!=0||e%400==0}function ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function de(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function fe(e,t){return function(n){return null!=n?(he(this,e,n),o.updateOffset(this,t),this):pe(this,e)}}function pe(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function he(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ce(e.year())&&1===e.month()&&29===e.date()?(n=de(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function me(e){return j(this[e=oe(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var n,r=le(e=ie(e)),o=r.length;for(n=0;n<o;n++)this[r[n].unit](e[r[n].unit])}else if(j(this[e=oe(e)]))return this[e](t);return this}var ve,be=/\d/,ye=/\d\d/,Ae=/\d{3}/,xe=/\d{4}/,Ce=/[+-]?\d{6}/,_e=/\d\d?/,we=/\d\d\d\d?/,ke=/\d\d\d\d\d\d?/,Se=/\d{1,3}/,Ee=/\d{1,4}/,Be=/[+-]?\d{1,6}/,Oe=/\d+/,je=/[+-]?\d+/,Te=/Z|[+-]\d\d:?\d\d/gi,Pe=/Z|[+-]\d\d(?::?\d\d)?/gi,Me=/[+-]?\d+(\.\d{1,3})?/,De=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function Re(e,t,n){ve[e]=j(t)?t:function(e,r){return e&&n?n:t}}function Le(e,t){return l(ve,e)?ve[e](t._strict,t._locale):new RegExp(Ie(e))}function Ie(e){return Ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,o){return t||n||r||o})))}function Ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ve={};var Fe={};function ze(e,t){var n,r,o=t;for("string"==typeof e&&(e=[e]),d(t)&&(o=function(e,n){n[t]=de(e)}),r=e.length,n=0;n<r;n++)Fe[e[n]]=o}function qe(e,t){ze(e,(function(e,n,r,o){r._w=r._w||{},t(e,r._w,r,o)}))}function Ue(e,t,n){null!=t&&l(Fe,e)&&Fe[e](t,n._a,n,e)}var He,We=0,Ve=1,Ye=2,Ze=3,Ge=4,Ke=5,$e=6,Xe=7,Qe=8;function Je(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Je(t,12);return e+=(t-n)/12,1===n?ce(e)?29:28:31-n%7%2}He=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},q("M",["MM",2],"Mo",(function(){return this.month()+1})),q("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),q("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),re("month","M"),se("month",8),Re("M",_e),Re("MM",_e,ye),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),ze(["M","MM"],(function(e,t){t[Ve]=de(e)-1})),ze(["MMM","MMMM"],(function(e,t,n,r){var o=n._locale.monthsParse(e,r,n._strict);null!=o?t[Ve]=o:v(n).invalidMonth=e}));var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,ot=De,it=De;function at(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function st(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)i=m([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(i,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(i,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(o=He.call(this._shortMonthsParse,a))?o:null:-1!==(o=He.call(this._longMonthsParse,a))?o:null:"MMM"===t?-1!==(o=He.call(this._shortMonthsParse,a))||-1!==(o=He.call(this._longMonthsParse,a))?o:null:-1!==(o=He.call(this._longMonthsParse,a))||-1!==(o=He.call(this._shortMonthsParse,a))?o:null}function ct(e,t,n){var r,o,i;if(this._monthsParseExact)return lt.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;r<12;r++){if(o=m([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(o,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(o,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(i="^"+this.months(o,"")+"|^"+this.monthsShort(o,""),this._monthsParse[r]=new RegExp(i.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ut(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=de(t);else if(!d(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function dt(e){return null!=e?(ut(this,e),o.updateOffset(this,!0),this):pe(this,"Month")}function ft(){return et(this.year(),this.month())}function pt(e){return this._monthsParseExact?(l(this,"_monthsRegex")||mt.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(l(this,"_monthsShortRegex")||(this._monthsShortRegex=ot),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)}function ht(e){return this._monthsParseExact?(l(this,"_monthsRegex")||mt.call(this),e?this._monthsStrictRegex:this._monthsRegex):(l(this,"_monthsRegex")||(this._monthsRegex=it),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)}function mt(){function e(e,t){return t.length-e.length}var t,n,r=[],o=[],i=[];for(t=0;t<12;t++)n=m([2e3,t]),r.push(this.monthsShort(n,"")),o.push(this.months(n,"")),i.push(this.months(n,"")),i.push(this.monthsShort(n,""));for(r.sort(e),o.sort(e),i.sort(e),t=0;t<12;t++)r[t]=Ne(r[t]),o[t]=Ne(o[t]);for(t=0;t<24;t++)i[t]=Ne(i[t]);this._monthsRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function gt(e){return ce(e)?366:365}q("Y",0,0,(function(){var e=this.year();return e<=9999?L(e,4):"+"+e})),q(0,["YY",2],0,(function(){return this.year()%100})),q(0,["YYYY",4],0,"year"),q(0,["YYYYY",5],0,"year"),q(0,["YYYYYY",6,!0],0,"year"),re("year","y"),se("year",1),Re("Y",je),Re("YY",_e,ye),Re("YYYY",Ee,xe),Re("YYYYY",Be,Ce),Re("YYYYYY",Be,Ce),ze(["YYYYY","YYYYYY"],We),ze("YYYY",(function(e,t){t[We]=2===e.length?o.parseTwoDigitYear(e):de(e)})),ze("YY",(function(e,t){t[We]=o.parseTwoDigitYear(e)})),ze("Y",(function(e,t){t[We]=parseInt(e,10)})),o.parseTwoDigitYear=function(e){return de(e)+(de(e)>68?1900:2e3)};var vt=fe("FullYear",!0);function bt(){return ce(this.year())}function yt(e,t,n,r,o,i,a){var s;return e<100&&e>=0?(s=new Date(e+400,t,n,r,o,i,a),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,r,o,i,a),s}function At(e){var t,n;return e<100&&e>=0?((n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function xt(e,t,n){var r=7+t-n;return-(7+At(e,0,r).getUTCDay()-t)%7+r-1}function Ct(e,t,n,r,o){var i,a,s=1+7*(t-1)+(7+n-r)%7+xt(e,r,o);return s<=0?a=gt(i=e-1)+s:s>gt(e)?(i=e+1,a=s-gt(e)):(i=e,a=s),{year:i,dayOfYear:a}}function _t(e,t,n){var r,o,i=xt(e.year(),t,n),a=Math.floor((e.dayOfYear()-i-1)/7)+1;return a<1?r=a+wt(o=e.year()-1,t,n):a>wt(e.year(),t,n)?(r=a-wt(e.year(),t,n),o=e.year()+1):(o=e.year(),r=a),{week:r,year:o}}function wt(e,t,n){var r=xt(e,t,n),o=xt(e+1,t,n);return(gt(e)-r+o)/7}function kt(e){return _t(e,this._week.dow,this._week.doy).week}q("w",["ww",2],"wo","week"),q("W",["WW",2],"Wo","isoWeek"),re("week","w"),re("isoWeek","W"),se("week",5),se("isoWeek",5),Re("w",_e),Re("ww",_e,ye),Re("W",_e),Re("WW",_e,ye),qe(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=de(e)}));var St={dow:0,doy:6};function Et(){return this._week.dow}function Bt(){return this._week.doy}function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function jt(e){var t=_t(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Tt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Pt(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Mt(e,t){return e.slice(t,7).concat(e.slice(0,t))}q("d",0,"do","day"),q("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),q("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),q("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),q("e",0,0,"weekday"),q("E",0,0,"isoWeekday"),re("day","d"),re("weekday","e"),re("isoWeekday","E"),se("day",11),se("weekday",11),se("isoWeekday",11),Re("d",_e),Re("e",_e),Re("E",_e),Re("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Re("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Re("dddd",(function(e,t){return t.weekdaysRegex(e)})),qe(["dd","ddd","dddd"],(function(e,t,n,r){var o=n._locale.weekdaysParse(e,r,n._strict);null!=o?t.d=o:v(n).invalidWeekday=e})),qe(["d","e","E"],(function(e,t,n,r){t[r]=de(e)}));var Dt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=De,Nt=De,Ft=De;function zt(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Mt(n,this._week.dow):e?n[e.day()]:n}function qt(e){return!0===e?Mt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Mt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ht(e,t,n){var r,o,i,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=m([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(o=He.call(this._weekdaysParse,a))?o:null:"ddd"===t?-1!==(o=He.call(this._shortWeekdaysParse,a))?o:null:-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:"dddd"===t?-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._shortWeekdaysParse,a))||-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:"ddd"===t?-1!==(o=He.call(this._shortWeekdaysParse,a))||-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._minWeekdaysParse,a))?o:null:-1!==(o=He.call(this._minWeekdaysParse,a))||-1!==(o=He.call(this._weekdaysParse,a))||-1!==(o=He.call(this._shortWeekdaysParse,a))?o:null}function Wt(e,t,n){var r,o,i;if(this._weekdaysParseExact)return Ht.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(o=m([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(o,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(o,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(o,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(i="^"+this.weekdays(o,"")+"|^"+this.weekdaysShort(o,"")+"|^"+this.weekdaysMin(o,""),this._weekdaysParse[r]=new RegExp(i.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Tt(e,this.localeData()),this.add(e-t,"d")):t}function Yt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function Zt(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Pt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Gt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=It),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function $t(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ft),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,o,i,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=m([2e3,1]).day(t),r=Ne(this.weekdaysMin(n,"")),o=Ne(this.weekdaysShort(n,"")),i=Ne(this.weekdays(n,"")),a.push(r),s.push(o),l.push(i),c.push(r),c.push(o),c.push(i);a.sort(e),s.sort(e),l.sort(e),c.sort(e),this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Qt(){return this.hours()%12||12}function Jt(){return this.hours()||24}function en(e,t){q(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}function tn(e,t){return t._meridiemParse}function nn(e){return"p"===(e+"").toLowerCase().charAt(0)}q("H",["HH",2],0,"hour"),q("h",["hh",2],0,Qt),q("k",["kk",2],0,Jt),q("hmm",0,0,(function(){return""+Qt.apply(this)+L(this.minutes(),2)})),q("hmmss",0,0,(function(){return""+Qt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)})),q("Hmm",0,0,(function(){return""+this.hours()+L(this.minutes(),2)})),q("Hmmss",0,0,(function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)})),en("a",!0),en("A",!1),re("hour","h"),se("hour",13),Re("a",tn),Re("A",tn),Re("H",_e),Re("h",_e),Re("k",_e),Re("HH",_e,ye),Re("hh",_e,ye),Re("kk",_e,ye),Re("hmm",we),Re("hmmss",ke),Re("Hmm",we),Re("Hmmss",ke),ze(["H","HH"],Ze),ze(["k","kk"],(function(e,t,n){var r=de(e);t[Ze]=24===r?0:r})),ze(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),ze(["h","hh"],(function(e,t,n){t[Ze]=de(e),v(n).bigHour=!0})),ze("hmm",(function(e,t,n){var r=e.length-2;t[Ze]=de(e.substr(0,r)),t[Ge]=de(e.substr(r)),v(n).bigHour=!0})),ze("hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Ze]=de(e.substr(0,r)),t[Ge]=de(e.substr(r,2)),t[Ke]=de(e.substr(o)),v(n).bigHour=!0})),ze("Hmm",(function(e,t,n){var r=e.length-2;t[Ze]=de(e.substr(0,r)),t[Ge]=de(e.substr(r))})),ze("Hmmss",(function(e,t,n){var r=e.length-4,o=e.length-2;t[Ze]=de(e.substr(0,r)),t[Ge]=de(e.substr(r,2)),t[Ke]=de(e.substr(o))}));var rn=/[ap]\.?m?\.?/i,on=fe("Hours",!0);function an(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:D,longDateFormat:Y,invalidDate:G,ordinal:$,dayOfMonthOrdinalParse:X,relativeTime:J,months:tt,monthsShort:nt,week:St,weekdays:Dt,weekdaysMin:Lt,weekdaysShort:Rt,meridiemParse:rn},cn={},un={};function dn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function fn(e){return e?e.toLowerCase().replace("_","-"):e}function pn(e){for(var t,n,r,o,i=0;i<e.length;){for(t=(o=fn(e[i]).split("-")).length,n=(n=fn(e[i+1]))?n.split("-"):null;t>0;){if(r=mn(o.slice(0,t).join("-")))return r;if(n&&n.length>=t&&dn(o,n)>=t-1)break;t--}i++}return sn}function hn(e){return null!=e.match("^[^/\\\\]*$")}function mn(t){var r=null;if(void 0===cn[t]&&e&&e.exports&&hn(t))try{r=sn._abbr,n(9506)("./"+t),gn(r)}catch(e){cn[t]=null}return cn[t]}function gn(e,t){var n;return e&&((n=u(t)?yn(e):vn(e,t))?sn=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),sn._abbr}function vn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])O("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new M(P(r,t)),un[e]&&un[e].forEach((function(e){vn(e.name,e.config)})),gn(e),cn[e]}return delete cn[e],null}function bn(e,t){if(null!=t){var n,r,o=ln;null!=cn[e]&&null!=cn[e].parentLocale?cn[e].set(P(cn[e]._config,t)):(null!=(r=mn(e))&&(o=r._config),t=P(o,t),null==r&&(t.abbr=e),(n=new M(t)).parentLocale=cn[e],cn[e]=n),gn(e)}else null!=cn[e]&&(null!=cn[e].parentLocale?(cn[e]=cn[e].parentLocale,e===gn()&&gn(e)):null!=cn[e]&&delete cn[e]);return cn[e]}function yn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return sn;if(!a(e)){if(t=mn(e))return t;e=[e]}return pn(e)}function An(){return E(cn)}function xn(e){var t,n=e._a;return n&&-2===v(e).overflow&&(t=n[Ve]<0||n[Ve]>11?Ve:n[Ye]<1||n[Ye]>et(n[We],n[Ve])?Ye:n[Ze]<0||n[Ze]>24||24===n[Ze]&&(0!==n[Ge]||0!==n[Ke]||0!==n[$e])?Ze:n[Ge]<0||n[Ge]>59?Ge:n[Ke]<0||n[Ke]>59?Ke:n[$e]<0||n[$e]>999?$e:-1,v(e)._overflowDayOfYear&&(t<We||t>Ye)&&(t=Ye),v(e)._overflowWeeks&&-1===t&&(t=Xe),v(e)._overflowWeekday&&-1===t&&(t=Qe),v(e).overflow=t),e}var Cn=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,_n=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,wn=/Z|[+-]\d\d(?::?\d\d)?/,kn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],Sn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],En=/^\/?Date\((-?\d+)/i,Bn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function jn(e){var t,n,r,o,i,a,s=e._i,l=Cn.exec(s)||_n.exec(s),c=kn.length,u=Sn.length;if(l){for(v(e).iso=!0,t=0,n=c;t<n;t++)if(kn[t][1].exec(l[1])){o=kn[t][0],r=!1!==kn[t][2];break}if(null==o)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Sn[t][1].exec(l[3])){i=(l[2]||" ")+Sn[t][0];break}if(null==i)return void(e._isValid=!1)}if(!r&&null!=i)return void(e._isValid=!1);if(l[4]){if(!wn.exec(l[4]))return void(e._isValid=!1);a="Z"}e._f=o+(i||"")+(a||""),Un(e)}else e._isValid=!1}function Tn(e,t,n,r,o,i){var a=[Pn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(o,10)];return i&&a.push(parseInt(i,10)),a}function Pn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Mn(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Dn(e,t,n){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(v(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Rn(e,t,n){if(e)return On[e];if(t)return 0;var r=parseInt(n,10),o=r%100;return(r-o)/100*60+o}function Ln(e){var t,n=Bn.exec(Mn(e._i));if(n){if(t=Tn(n[4],n[3],n[2],n[5],n[6],n[7]),!Dn(n[1],t,e))return;e._a=t,e._tzm=Rn(n[8],n[9],n[10]),e._d=At.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),v(e).rfc2822=!0}else e._isValid=!1}function In(e){var t=En.exec(e._i);null===t?(jn(e),!1===e._isValid&&(delete e._isValid,Ln(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:o.createFromInputFallback(e)))):e._d=new Date(+t[1])}function Nn(e,t,n){return null!=e?e:null!=t?t:n}function Fn(e){var t=new Date(o.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function zn(e){var t,n,r,o,i,a=[];if(!e._d){for(r=Fn(e),e._w&&null==e._a[Ye]&&null==e._a[Ve]&&qn(e),null!=e._dayOfYear&&(i=Nn(e._a[We],r[We]),(e._dayOfYear>gt(i)||0===e._dayOfYear)&&(v(e)._overflowDayOfYear=!0),n=At(i,0,e._dayOfYear),e._a[Ve]=n.getUTCMonth(),e._a[Ye]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=a[t]=r[t];for(;t<7;t++)e._a[t]=a[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ze]&&0===e._a[Ge]&&0===e._a[Ke]&&0===e._a[$e]&&(e._nextDay=!0,e._a[Ze]=0),e._d=(e._useUTC?At:yt).apply(null,a),o=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ze]=24),e._w&&void 0!==e._w.d&&e._w.d!==o&&(v(e).weekdayMismatch=!0)}}function qn(e){var t,n,r,o,i,a,s,l,c;null!=(t=e._w).GG||null!=t.W||null!=t.E?(i=1,a=4,n=Nn(t.GG,e._a[We],_t($n(),1,4).year),r=Nn(t.W,1),((o=Nn(t.E,1))<1||o>7)&&(l=!0)):(i=e._locale._week.dow,a=e._locale._week.doy,c=_t($n(),i,a),n=Nn(t.gg,e._a[We],c.year),r=Nn(t.w,c.week),null!=t.d?((o=t.d)<0||o>6)&&(l=!0):null!=t.e?(o=t.e+i,(t.e<0||t.e>6)&&(l=!0)):o=i),r<1||r>wt(n,i,a)?v(e)._overflowWeeks=!0:null!=l?v(e)._overflowWeekday=!0:(s=Ct(n,r,o,i,a),e._a[We]=s.year,e._dayOfYear=s.dayOfYear)}function Un(e){if(e._f!==o.ISO_8601)if(e._f!==o.RFC_2822){e._a=[],v(e).empty=!0;var t,n,r,i,a,s,l,c=""+e._i,u=c.length,d=0;for(l=(r=V(e._f,e._locale).match(I)||[]).length,t=0;t<l;t++)i=r[t],(n=(c.match(Le(i,e))||[])[0])&&((a=c.substr(0,c.indexOf(n))).length>0&&v(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),d+=n.length),z[i]?(n?v(e).empty=!1:v(e).unusedTokens.push(i),Ue(i,n,e)):e._strict&&!n&&v(e).unusedTokens.push(i);v(e).charsLeftOver=u-d,c.length>0&&v(e).unusedInput.push(c),e._a[Ze]<=12&&!0===v(e).bigHour&&e._a[Ze]>0&&(v(e).bigHour=void 0),v(e).parsedDateParts=e._a.slice(0),v(e).meridiem=e._meridiem,e._a[Ze]=Hn(e._locale,e._a[Ze],e._meridiem),null!==(s=v(e).era)&&(e._a[We]=e._locale.erasConvertYear(s,e._a[We])),zn(e),xn(e)}else Ln(e);else jn(e)}function Hn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?((r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function Wn(e){var t,n,r,o,i,a,s=!1,l=e._f.length;if(0===l)return v(e).invalidFormat=!0,void(e._d=new Date(NaN));for(o=0;o<l;o++)i=0,a=!1,t=C({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[o],Un(t),b(t)&&(a=!0),i+=v(t).charsLeftOver,i+=10*v(t).unusedTokens.length,v(t).score=i,s?i<r&&(r=i,n=t):(null==r||i<r||a)&&(r=i,n=t,a&&(s=!0));h(e,n||t)}function Vn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=p([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),zn(e)}}function Yn(e){var t=new _(xn(Zn(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Zn(e){var t=e._i,n=e._f;return e._locale=e._locale||yn(e._l),null===t||void 0===n&&""===t?y({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),w(t)?new _(xn(t)):(f(t)?e._d=t:a(n)?Wn(e):n?Un(e):Gn(e),b(e)||(e._d=null),e))}function Gn(e){var t=e._i;u(t)?e._d=new Date(o.now()):f(t)?e._d=new Date(t.valueOf()):"string"==typeof t?In(e):a(t)?(e._a=p(t.slice(0),(function(e){return parseInt(e,10)})),zn(e)):s(t)?Vn(e):d(t)?e._d=new Date(t):o.createFromInputFallback(e)}function Kn(e,t,n,r,o){var i={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&c(e)||a(e)&&0===e.length)&&(e=void 0),i._isAMomentObject=!0,i._useUTC=i._isUTC=o,i._l=n,i._i=e,i._f=t,i._strict=r,Yn(i)}function $n(e,t,n,r){return Kn(e,t,n,r,!1)}o.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),o.ISO_8601=function(){},o.RFC_2822=function(){};var Xn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:y()})),Qn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=$n.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:y()}));function Jn(e,t){var n,r;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return $n();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}function er(){return Jn("isBefore",[].slice.call(arguments,0))}function tr(){return Jn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function or(e){var t,n,r=!1,o=rr.length;for(t in e)if(l(e,t)&&(-1===He.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<o;++n)if(e[rr[n]]){if(r)return!1;parseFloat(e[rr[n]])!==de(e[rr[n]])&&(r=!0)}return!0}function ir(){return this._isValid}function ar(){return Or(NaN)}function sr(e){var t=ie(e),n=t.year||0,r=t.quarter||0,o=t.month||0,i=t.week||t.isoWeek||0,a=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=or(t),this._milliseconds=+u+1e3*c+6e4*l+1e3*s*60*60,this._days=+a+7*i,this._months=+o+3*r+12*n,this._data={},this._locale=yn(),this._bubble()}function lr(e){return e instanceof sr}function cr(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function ur(e,t,n){var r,o=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),a=0;for(r=0;r<o;r++)(n&&e[r]!==t[r]||!n&&de(e[r])!==de(t[r]))&&a++;return a+i}function dr(e,t){q(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+L(~~(e/60),2)+t+L(~~e%60,2)}))}dr("Z",":"),dr("ZZ",""),Re("Z",Pe),Re("ZZ",Pe),ze(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=pr(Pe,e)}));var fr=/([\+\-]|\d\d)/gi;function pr(e,t){var n,r,o=(t||"").match(e);return null===o?null:0===(r=60*(n=((o[o.length-1]||[])+"").match(fr)||["-",0,0])[1]+de(n[2]))?0:"+"===n[0]?r:-r}function hr(e,t){var n,r;return t._isUTC?(n=t.clone(),r=(w(e)||f(e)?e.valueOf():$n(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+r),o.updateOffset(n,!1),n):$n(e).local()}function mr(e){return-Math.round(e._d.getTimezoneOffset())}function gr(e,t,n){var r,i=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=pr(Pe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(r=mr(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?Dr(this,Or(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,o.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?i:mr(this)}function vr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function yr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function Ar(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=pr(Te,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?$n(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Cr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function _r(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return C(t,this),(t=Zn(t))._a?(e=t._isUTC?m(t._a):$n(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function wr(){return!!this.isValid()&&!this._isUTC}function kr(){return!!this.isValid()&&this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC&&0===this._offset}o.updateOffset=function(){};var Er=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Br=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,o,i=e,a=null;return lr(e)?i={ms:e._milliseconds,d:e._days,M:e._months}:d(e)||!isNaN(+e)?(i={},t?i[t]=+e:i.milliseconds=+e):(a=Er.exec(e))?(n="-"===a[1]?-1:1,i={y:0,d:de(a[Ye])*n,h:de(a[Ze])*n,m:de(a[Ge])*n,s:de(a[Ke])*n,ms:de(cr(1e3*a[$e]))*n}):(a=Br.exec(e))?(n="-"===a[1]?-1:1,i={y:jr(a[2],n),M:jr(a[3],n),w:jr(a[4],n),d:jr(a[5],n),h:jr(a[6],n),m:jr(a[7],n),s:jr(a[8],n)}):null==i?i={}:"object"==typeof i&&("from"in i||"to"in i)&&(o=Pr($n(i.from),$n(i.to)),(i={}).ms=o.milliseconds,i.M=o.months),r=new sr(i),lr(e)&&l(e,"_locale")&&(r._locale=e._locale),lr(e)&&l(e,"_isValid")&&(r._isValid=e._isValid),r}function jr(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Tr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Pr(e,t){var n;return e.isValid()&&t.isValid()?(t=hr(t,e),e.isBefore(t)?n=Tr(e,t):((n=Tr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Mr(e,t){return function(n,r){var o;return null===r||isNaN(+r)||(O(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),Dr(this,Or(n,r),e),this}}function Dr(e,t,n,r){var i=t._milliseconds,a=cr(t._days),s=cr(t._months);e.isValid()&&(r=null==r||r,s&&ut(e,pe(e,"Month")+s*n),a&&he(e,"Date",pe(e,"Date")+a*n),i&&e._d.setTime(e._d.valueOf()+i*n),r&&o.updateOffset(e,a||s))}Or.fn=sr.prototype,Or.invalid=ar;var Rr=Mr(1,"add"),Lr=Mr(-1,"subtract");function Ir(e){return"string"==typeof e||e instanceof String}function Nr(e){return w(e)||f(e)||Ir(e)||d(e)||zr(e)||Fr(e)||null==e}function Fr(e){var t,n,r=s(e)&&!c(e),o=!1,i=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a=i.length;for(t=0;t<a;t+=1)n=i[t],o=o||l(e,n);return r&&o}function zr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!d(t)&&Ir(e)})).length),t&&n}function qr(e){var t,n,r=s(e)&&!c(e),o=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],o=o||l(e,n);return r&&o}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Hr(e,t){1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):qr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));var n=e||$n(),r=hr(n,this).startOf("day"),i=o.calendarFormat(this,r)||"sameElse",a=t&&(j(t[i])?t[i].call(this,n):t[i]);return this.format(a||this.localeData().calendar(i,this,$n(n)))}function Wr(){return new _(this)}function Vr(e,t){var n=w(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=oe(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Yr(e,t){var n=w(e)?e:$n(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=oe(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function Zr(e,t,n,r){var o=w(e)?e:$n(e),i=w(t)?t:$n(t);return!!(this.isValid()&&o.isValid()&&i.isValid())&&("("===(r=r||"()")[0]?this.isAfter(o,n):!this.isBefore(o,n))&&(")"===r[1]?this.isBefore(i,n):!this.isAfter(i,n))}function Gr(e,t){var n,r=w(e)?e:$n(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=oe(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Kr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function $r(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Xr(e,t,n){var r,o,i;if(!this.isValid())return NaN;if(!(r=hr(e,this)).isValid())return NaN;switch(o=6e4*(r.utcOffset()-this.utcOffset()),t=oe(t)){case"year":i=Qr(this,r)/12;break;case"month":i=Qr(this,r);break;case"quarter":i=Qr(this,r)/3;break;case"second":i=(this-r)/1e3;break;case"minute":i=(this-r)/6e4;break;case"hour":i=(this-r)/36e5;break;case"day":i=(this-r-o)/864e5;break;case"week":i=(this-r-o)/6048e5;break;default:i=this-r}return n?i:ue(i)}function Qr(e,t){if(e.date()<t.date())return-Qr(t,e);var n=12*(t.year()-e.year())+(t.month()-e.month()),r=e.clone().add(n,"months");return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Jr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function eo(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?W(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):j(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",W(n,"Z")):W(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function to(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,n,r,o="moment",i="";return this.isLocal()||(o=0===this.utcOffset()?"moment.utc":"moment.parseZone",i="Z"),e="["+o+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",n="-MM-DD[T]HH:mm:ss.SSS",r=i+'[")]',this.format(e+t+n+r)}function no(e){e||(e=this.isUtc()?o.defaultFormatUtc:o.defaultFormat);var t=W(this,e);return this.localeData().postformat(t)}function ro(e,t){return this.isValid()&&(w(e)&&e.isValid()||$n(e).isValid())?Or({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function oo(e){return this.from($n(),e)}function io(e,t){return this.isValid()&&(w(e)&&e.isValid()||$n(e).isValid())?Or({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ao(e){return this.to($n(),e)}function so(e){var t;return void 0===e?this._locale._abbr:(null!=(t=yn(e))&&(this._locale=t),this)}o.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",o.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var lo=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function co(){return this._locale}var uo=1e3,fo=60*uo,po=60*fo,ho=3506328*po;function mo(e,t){return(e%t+t)%t}function go(e,t,n){return e<100&&e>=0?new Date(e+400,t,n)-ho:new Date(e,t,n).valueOf()}function vo(e,t,n){return e<100&&e>=0?Date.UTC(e+400,t,n)-ho:Date.UTC(e,t,n)}function bo(e){var t,n;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:go,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=mo(t+(this._isUTC?0:this.utcOffset()*fo),po);break;case"minute":t=this._d.valueOf(),t-=mo(t,fo);break;case"second":t=this._d.valueOf(),t-=mo(t,uo)}return this._d.setTime(t),o.updateOffset(this,!0),this}function yo(e){var t,n;if(void 0===(e=oe(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?vo:go,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=po-mo(t+(this._isUTC?0:this.utcOffset()*fo),po)-1;break;case"minute":t=this._d.valueOf(),t+=fo-mo(t,fo)-1;break;case"second":t=this._d.valueOf(),t+=uo-mo(t,uo)-1}return this._d.setTime(t),o.updateOffset(this,!0),this}function Ao(){return this._d.valueOf()-6e4*(this._offset||0)}function xo(){return Math.floor(this.valueOf()/1e3)}function Co(){return new Date(this.valueOf())}function _o(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function wo(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function ko(){return this.isValid()?this.toISOString():null}function So(){return b(this)}function Eo(){return h({},v(this))}function Bo(){return v(this).overflow}function Oo(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function jo(e,t){var n,r,i,a=this._eras||yn("en")._eras;for(n=0,r=a.length;n<r;++n)switch("string"==typeof a[n].since&&(i=o(a[n].since).startOf("day"),a[n].since=i.valueOf()),typeof a[n].until){case"undefined":a[n].until=1/0;break;case"string":i=o(a[n].until).startOf("day").valueOf(),a[n].until=i.valueOf()}return a}function To(e,t,n){var r,o,i,a,s,l=this.eras();for(e=e.toUpperCase(),r=0,o=l.length;r<o;++r)if(i=l[r].name.toUpperCase(),a=l[r].abbr.toUpperCase(),s=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(a===e)return l[r];break;case"NNNN":if(i===e)return l[r];break;case"NNNNN":if(s===e)return l[r]}else if([i,a,s].indexOf(e)>=0)return l[r]}function Po(e,t){var n=e.since<=e.until?1:-1;return void 0===t?o(e.since).year():o(e.since).year()+(t-e.offset)*n}function Mo(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Do(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ro(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Lo(){var e,t,n,r,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,r=this.clone().startOf("day").valueOf(),i[e].since<=r&&r<=i[e].until||i[e].until<=r&&r<=i[e].since)return(this.year()-o(i[e].since).year())*n+i[e].offset;return this.year()}function Io(e){return l(this,"_erasNameRegex")||Wo.call(this),e?this._erasNameRegex:this._erasRegex}function No(e){return l(this,"_erasAbbrRegex")||Wo.call(this),e?this._erasAbbrRegex:this._erasRegex}function Fo(e){return l(this,"_erasNarrowRegex")||Wo.call(this),e?this._erasNarrowRegex:this._erasRegex}function zo(e,t){return t.erasAbbrRegex(e)}function qo(e,t){return t.erasNameRegex(e)}function Uo(e,t){return t.erasNarrowRegex(e)}function Ho(e,t){return t._eraYearOrdinalRegex||Oe}function Wo(){var e,t,n=[],r=[],o=[],i=[],a=this.eras();for(e=0,t=a.length;e<t;++e)r.push(Ne(a[e].name)),n.push(Ne(a[e].abbr)),o.push(Ne(a[e].narrow)),i.push(Ne(a[e].name)),i.push(Ne(a[e].abbr)),i.push(Ne(a[e].narrow));this._erasRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}function Vo(e,t){q(0,[e,e.length],0,t)}function Yo(e){return Qo.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Zo(e){return Qo.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Go(){return wt(this.year(),1,4)}function Ko(){return wt(this.isoWeekYear(),1,4)}function $o(){var e=this.localeData()._week;return wt(this.year(),e.dow,e.doy)}function Xo(){var e=this.localeData()._week;return wt(this.weekYear(),e.dow,e.doy)}function Qo(e,t,n,r,o){var i;return null==e?_t(this,r,o).year:(t>(i=wt(e,r,o))&&(t=i),Jo.call(this,e,t,n,r,o))}function Jo(e,t,n,r,o){var i=Ct(e,t,n,r,o),a=At(i.year,0,i.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function ei(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}q("N",0,0,"eraAbbr"),q("NN",0,0,"eraAbbr"),q("NNN",0,0,"eraAbbr"),q("NNNN",0,0,"eraName"),q("NNNNN",0,0,"eraNarrow"),q("y",["y",1],"yo","eraYear"),q("y",["yy",2],0,"eraYear"),q("y",["yyy",3],0,"eraYear"),q("y",["yyyy",4],0,"eraYear"),Re("N",zo),Re("NN",zo),Re("NNN",zo),Re("NNNN",qo),Re("NNNNN",Uo),ze(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var o=n._locale.erasParse(e,r,n._strict);o?v(n).era=o:v(n).invalidEra=e})),Re("y",Oe),Re("yy",Oe),Re("yyy",Oe),Re("yyyy",Oe),Re("yo",Ho),ze(["y","yy","yyy","yyyy"],We),ze(["yo"],(function(e,t,n,r){var o;n._locale._eraYearOrdinalRegex&&(o=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[We]=n._locale.eraYearOrdinalParse(e,o):t[We]=parseInt(e,10)})),q(0,["gg",2],0,(function(){return this.weekYear()%100})),q(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Vo("gggg","weekYear"),Vo("ggggg","weekYear"),Vo("GGGG","isoWeekYear"),Vo("GGGGG","isoWeekYear"),re("weekYear","gg"),re("isoWeekYear","GG"),se("weekYear",1),se("isoWeekYear",1),Re("G",je),Re("g",je),Re("GG",_e,ye),Re("gg",_e,ye),Re("GGGG",Ee,xe),Re("gggg",Ee,xe),Re("GGGGG",Be,Ce),Re("ggggg",Be,Ce),qe(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=de(e)})),qe(["gg","GG"],(function(e,t,n,r){t[r]=o.parseTwoDigitYear(e)})),q("Q",0,"Qo","quarter"),re("quarter","Q"),se("quarter",7),Re("Q",be),ze("Q",(function(e,t){t[Ve]=3*(de(e)-1)})),q("D",["DD",2],"Do","date"),re("date","D"),se("date",9),Re("D",_e),Re("DD",_e,ye),Re("Do",(function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),ze(["D","DD"],Ye),ze("Do",(function(e,t){t[Ye]=de(e.match(_e)[0])}));var ti=fe("Date",!0);function ni(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}q("DDD",["DDDD",3],"DDDo","dayOfYear"),re("dayOfYear","DDD"),se("dayOfYear",4),Re("DDD",Se),Re("DDDD",Ae),ze(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=de(e)})),q("m",["mm",2],0,"minute"),re("minute","m"),se("minute",14),Re("m",_e),Re("mm",_e,ye),ze(["m","mm"],Ge);var ri=fe("Minutes",!1);q("s",["ss",2],0,"second"),re("second","s"),se("second",15),Re("s",_e),Re("ss",_e,ye),ze(["s","ss"],Ke);var oi,ii,ai=fe("Seconds",!1);for(q("S",0,0,(function(){return~~(this.millisecond()/100)})),q(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),q(0,["SSS",3],0,"millisecond"),q(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),q(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),q(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),q(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),q(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),q(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),re("millisecond","ms"),se("millisecond",16),Re("S",Se,be),Re("SS",Se,ye),Re("SSS",Se,Ae),oi="SSSS";oi.length<=9;oi+="S")Re(oi,Oe);function si(e,t){t[$e]=de(1e3*("0."+e))}for(oi="S";oi.length<=9;oi+="S")ze(oi,si);function li(){return this._isUTC?"UTC":""}function ci(){return this._isUTC?"Coordinated Universal Time":""}ii=fe("Milliseconds",!1),q("z",0,0,"zoneAbbr"),q("zz",0,0,"zoneName");var ui=_.prototype;function di(e){return $n(1e3*e)}function fi(){return $n.apply(null,arguments).parseZone()}function pi(e){return e}ui.add=Rr,ui.calendar=Hr,ui.clone=Wr,ui.diff=Xr,ui.endOf=yo,ui.format=no,ui.from=ro,ui.fromNow=oo,ui.to=io,ui.toNow=ao,ui.get=me,ui.invalidAt=Bo,ui.isAfter=Vr,ui.isBefore=Yr,ui.isBetween=Zr,ui.isSame=Gr,ui.isSameOrAfter=Kr,ui.isSameOrBefore=$r,ui.isValid=So,ui.lang=lo,ui.locale=so,ui.localeData=co,ui.max=Qn,ui.min=Xn,ui.parsingFlags=Eo,ui.set=ge,ui.startOf=bo,ui.subtract=Lr,ui.toArray=_o,ui.toObject=wo,ui.toDate=Co,ui.toISOString=eo,ui.inspect=to,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ui[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ui.toJSON=ko,ui.toString=Jr,ui.unix=xo,ui.valueOf=Ao,ui.creationData=Oo,ui.eraName=Mo,ui.eraNarrow=Do,ui.eraAbbr=Ro,ui.eraYear=Lo,ui.year=vt,ui.isLeapYear=bt,ui.weekYear=Yo,ui.isoWeekYear=Zo,ui.quarter=ui.quarters=ei,ui.month=dt,ui.daysInMonth=ft,ui.week=ui.weeks=Ot,ui.isoWeek=ui.isoWeeks=jt,ui.weeksInYear=$o,ui.weeksInWeekYear=Xo,ui.isoWeeksInYear=Go,ui.isoWeeksInISOWeekYear=Ko,ui.date=ti,ui.day=ui.days=Vt,ui.weekday=Yt,ui.isoWeekday=Zt,ui.dayOfYear=ni,ui.hour=ui.hours=on,ui.minute=ui.minutes=ri,ui.second=ui.seconds=ai,ui.millisecond=ui.milliseconds=ii,ui.utcOffset=gr,ui.utc=br,ui.local=yr,ui.parseZone=Ar,ui.hasAlignedHourOffset=xr,ui.isDST=Cr,ui.isLocal=wr,ui.isUtcOffset=kr,ui.isUtc=Sr,ui.isUTC=Sr,ui.zoneAbbr=li,ui.zoneName=ci,ui.dates=S("dates accessor is deprecated. Use date instead.",ti),ui.months=S("months accessor is deprecated. Use month instead",dt),ui.years=S("years accessor is deprecated. Use year instead",vt),ui.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",vr),ui.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",_r);var hi=M.prototype;function mi(e,t,n,r){var o=yn(),i=m().set(r,t);return o[n](i,e)}function gi(e,t,n){if(d(e)&&(t=e,e=void 0),e=e||"",null!=t)return mi(e,t,n,"month");var r,o=[];for(r=0;r<12;r++)o[r]=mi(e,r,n,"month");return o}function vi(e,t,n,r){"boolean"==typeof e?(d(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,d(t)&&(n=t,t=void 0),t=t||"");var o,i=yn(),a=e?i._week.dow:0,s=[];if(null!=n)return mi(t,(n+a)%7,r,"day");for(o=0;o<7;o++)s[o]=mi(t,(o+a)%7,r,"day");return s}function bi(e,t){return gi(e,t,"months")}function yi(e,t){return gi(e,t,"monthsShort")}function Ai(e,t,n){return vi(e,t,n,"weekdays")}function xi(e,t,n){return vi(e,t,n,"weekdaysShort")}function Ci(e,t,n){return vi(e,t,n,"weekdaysMin")}hi.calendar=R,hi.longDateFormat=Z,hi.invalidDate=K,hi.ordinal=Q,hi.preparse=pi,hi.postformat=pi,hi.relativeTime=ee,hi.pastFuture=te,hi.set=T,hi.eras=jo,hi.erasParse=To,hi.erasConvertYear=Po,hi.erasAbbrRegex=No,hi.erasNameRegex=Io,hi.erasNarrowRegex=Fo,hi.months=at,hi.monthsShort=st,hi.monthsParse=ct,hi.monthsRegex=ht,hi.monthsShortRegex=pt,hi.week=kt,hi.firstDayOfYear=Bt,hi.firstDayOfWeek=Et,hi.weekdays=zt,hi.weekdaysMin=Ut,hi.weekdaysShort=qt,hi.weekdaysParse=Wt,hi.weekdaysRegex=Gt,hi.weekdaysShortRegex=Kt,hi.weekdaysMinRegex=$t,hi.isPM=nn,hi.meridiem=an,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===de(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),o.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),o.langData=S("moment.langData is deprecated. Use moment.localeData instead.",yn);var _i=Math.abs;function wi(){var e=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),e.milliseconds=_i(e.milliseconds),e.seconds=_i(e.seconds),e.minutes=_i(e.minutes),e.hours=_i(e.hours),e.months=_i(e.months),e.years=_i(e.years),this}function ki(e,t,n,r){var o=Or(t,n);return e._milliseconds+=r*o._milliseconds,e._days+=r*o._days,e._months+=r*o._months,e._bubble()}function Si(e,t){return ki(this,e,t,1)}function Ei(e,t){return ki(this,e,t,-1)}function Bi(e){return e<0?Math.floor(e):Math.ceil(e)}function Oi(){var e,t,n,r,o,i=this._milliseconds,a=this._days,s=this._months,l=this._data;return i>=0&&a>=0&&s>=0||i<=0&&a<=0&&s<=0||(i+=864e5*Bi(Ti(s)+a),a=0,s=0),l.milliseconds=i%1e3,e=ue(i/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,a+=ue(n/24),s+=o=ue(ji(a)),a-=Bi(Ti(o)),r=ue(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function ji(e){return 4800*e/146097}function Ti(e){return 146097*e/4800}function Pi(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=oe(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+ji(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Ti(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Mi(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*de(this._months/12):NaN}function Di(e){return function(){return this.as(e)}}var Ri=Di("ms"),Li=Di("s"),Ii=Di("m"),Ni=Di("h"),Fi=Di("d"),zi=Di("w"),qi=Di("M"),Ui=Di("Q"),Hi=Di("y");function Wi(){return Or(this)}function Vi(e){return e=oe(e),this.isValid()?this[e+"s"]():NaN}function Yi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Zi=Yi("milliseconds"),Gi=Yi("seconds"),Ki=Yi("minutes"),$i=Yi("hours"),Xi=Yi("days"),Qi=Yi("months"),Ji=Yi("years");function ea(){return ue(this.days()/7)}var ta=Math.round,na={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function ra(e,t,n,r,o){return o.relativeTime(t||1,!!n,e,r)}function oa(e,t,n,r){var o=Or(e).abs(),i=ta(o.as("s")),a=ta(o.as("m")),s=ta(o.as("h")),l=ta(o.as("d")),c=ta(o.as("M")),u=ta(o.as("w")),d=ta(o.as("y")),f=i<=n.ss&&["s",i]||i<n.s&&["ss",i]||a<=1&&["m"]||a<n.m&&["mm",a]||s<=1&&["h"]||s<n.h&&["hh",s]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(f=f||u<=1&&["w"]||u<n.w&&["ww",u]),(f=f||c<=1&&["M"]||c<n.M&&["MM",c]||d<=1&&["y"]||["yy",d])[2]=t,f[3]=+e>0,f[4]=r,ra.apply(null,f)}function ia(e){return void 0===e?ta:"function"==typeof e&&(ta=e,!0)}function aa(e,t){return void 0!==na[e]&&(void 0===t?na[e]:(na[e]=t,"s"===e&&(na.ss=t-1),!0))}function sa(e,t){if(!this.isValid())return this.localeData().invalidDate();var n,r,o=!1,i=na;return"object"==typeof e&&(t=e,e=!1),"boolean"==typeof e&&(o=e),"object"==typeof t&&(i=Object.assign({},na,t),null!=t.s&&null==t.ss&&(i.ss=t.s-1)),r=oa(this,!o,i,n=this.localeData()),o&&(r=n.pastFuture(+this,r)),n.postformat(r)}var la=Math.abs;function ca(e){return(e>0)-(e<0)||+e}function ua(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r,o,i,a,s,l=la(this._milliseconds)/1e3,c=la(this._days),u=la(this._months),d=this.asSeconds();return d?(e=ue(l/60),t=ue(e/60),l%=60,e%=60,n=ue(u/12),u%=12,r=l?l.toFixed(3).replace(/\.?0+$/,""):"",o=d<0?"-":"",i=ca(this._months)!==ca(d)?"-":"",a=ca(this._days)!==ca(d)?"-":"",s=ca(this._milliseconds)!==ca(d)?"-":"",o+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?a+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var da=sr.prototype;return da.isValid=ir,da.abs=wi,da.add=Si,da.subtract=Ei,da.as=Pi,da.asMilliseconds=Ri,da.asSeconds=Li,da.asMinutes=Ii,da.asHours=Ni,da.asDays=Fi,da.asWeeks=zi,da.asMonths=qi,da.asQuarters=Ui,da.asYears=Hi,da.valueOf=Mi,da._bubble=Oi,da.clone=Wi,da.get=Vi,da.milliseconds=Zi,da.seconds=Gi,da.minutes=Ki,da.hours=$i,da.days=Xi,da.weeks=ea,da.months=Qi,da.years=Ji,da.humanize=sa,da.toISOString=ua,da.toString=ua,da.toJSON=ua,da.locale=so,da.localeData=co,da.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",ua),da.lang=lo,q("X",0,0,"unix"),q("x",0,0,"valueOf"),Re("x",je),Re("X",Me),ze("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),ze("x",(function(e,t,n){n._d=new Date(de(e))})),o.version="2.29.4",i($n),o.fn=ui,o.min=er,o.max=tr,o.now=nr,o.utc=m,o.unix=di,o.months=bi,o.isDate=f,o.locale=gn,o.invalid=y,o.duration=Or,o.isMoment=w,o.weekdays=Ai,o.parseZone=fi,o.localeData=yn,o.isDuration=lr,o.monthsShort=yi,o.weekdaysMin=Ci,o.defineLocale=vn,o.updateLocale=bn,o.locales=An,o.weekdaysShort=xi,o.normalizeUnits=oe,o.relativeTimeRounding=ia,o.relativeTimeThreshold=aa,o.calendarFormat=Ur,o.prototype=ui,o.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},o}()},74865:function(e,t,n){var r,o;r=function(){var e,t,n={version:"0.2.0"},r=n.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,t,n){return e<t?t:e>n?n:e}function i(e){return 100*(-1+e)}function a(e,t,n){var o;return(o="translate3d"===r.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===r.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+t+"ms "+n,o}n.configure=function(e){var t,n;for(t in e)void 0!==(n=e[t])&&e.hasOwnProperty(t)&&(r[t]=n);return this},n.status=null,n.set=function(e){var t=n.isStarted();e=o(e,r.minimum,1),n.status=1===e?null:e;var i=n.render(!t),c=i.querySelector(r.barSelector),u=r.speed,d=r.easing;return i.offsetWidth,s((function(t){""===r.positionUsing&&(r.positionUsing=n.getPositioningCSS()),l(c,a(e,u,d)),1===e?(l(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout((function(){l(i,{transition:"all "+u+"ms linear",opacity:0}),setTimeout((function(){n.remove(),t()}),u)}),u)):setTimeout(t,u)})),this},n.isStarted=function(){return"number"==typeof n.status},n.start=function(){n.status||n.set(0);var e=function(){setTimeout((function(){n.status&&(n.trickle(),e())}),r.trickleSpeed)};return r.trickle&&e(),this},n.done=function(e){return e||n.status?n.inc(.3+.5*Math.random()).set(1):this},n.inc=function(e){var t=n.status;return t?("number"!=typeof e&&(e=(1-t)*o(Math.random()*t,.1,.95)),t=o(t+e,0,.994),n.set(t)):n.start()},n.trickle=function(){return n.inc(Math.random()*r.trickleRate)},e=0,t=0,n.promise=function(r){return r&&"resolved"!==r.state()?(0===t&&n.start(),e++,t++,r.always((function(){0==--t?(e=0,n.done()):n.set((e-t)/e)})),this):this},n.render=function(e){if(n.isRendered())return document.getElementById("nprogress");u(document.documentElement,"nprogress-busy");var t=document.createElement("div");t.id="nprogress",t.innerHTML=r.template;var o,a=t.querySelector(r.barSelector),s=e?"-100":i(n.status||0),c=document.querySelector(r.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),r.showSpinner||(o=t.querySelector(r.spinnerSelector))&&p(o),c!=document.body&&u(c,"nprogress-custom-parent"),c.appendChild(t),t},n.remove=function(){d(document.documentElement,"nprogress-busy"),d(document.querySelector(r.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},n.isRendered=function(){return!!document.getElementById("nprogress")},n.getPositioningCSS=function(){var e=document.body.style,t="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return t+"Perspective"in e?"translate3d":t+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function t(){var n=e.shift();n&&n(t)}return function(n){e.push(n),1==e.length&&t()}}(),l=function(){var e=["Webkit","O","Moz","ms"],t={};function n(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(function(e,t){return t.toUpperCase()}))}function r(t){var n=document.body.style;if(t in n)return t;for(var r,o=e.length,i=t.charAt(0).toUpperCase()+t.slice(1);o--;)if((r=e[o]+i)in n)return r;return t}function o(e){return e=n(e),t[e]||(t[e]=r(e))}function i(e,t,n){t=o(t),e.style[t]=n}return function(e,t){var n,r,o=arguments;if(2==o.length)for(n in t)void 0!==(r=t[n])&&t.hasOwnProperty(n)&&i(e,n,r);else i(e,o[1],o[2])}}();function c(e,t){return("string"==typeof e?e:f(e)).indexOf(" "+t+" ")>=0}function u(e,t){var n=f(e),r=n+t;c(n,t)||(e.className=r.substring(1))}function d(e,t){var n,r=f(e);c(e,t)&&(n=r.replace(" "+t+" "," "),e.className=n.substring(1,n.length-1))}function f(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return n},void 0===(o="function"==typeof r?r.call(t,n,t,e):r)||(e.exports=o)},27418:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,l=o(e),c=1;c<arguments.length;c++){for(var u in a=Object(arguments[c]))n.call(a,u)&&(l[u]=a[u]);if(t){s=t(a);for(var d=0;d<s.length;d++)r.call(a,s[d])&&(l[s[d]]=a[s[d]])}}return l}},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,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,f="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,p="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,h=Boolean.prototype.valueOf,m=Object.prototype.toString,g=Function.prototype.toString,v=String.prototype.match,b=String.prototype.slice,y=String.prototype.replace,A=String.prototype.toUpperCase,x=String.prototype.toLowerCase,C=RegExp.prototype.test,_=Array.prototype.concat,w=Array.prototype.join,k=Array.prototype.slice,S=Math.floor,E="function"==typeof BigInt?BigInt.prototype.valueOf:null,B=Object.getOwnPropertySymbols,O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,j="function"==typeof Symbol&&"object"==typeof Symbol.iterator,T="function"==typeof Symbol&&Symbol.toStringTag&&(typeof Symbol.toStringTag===j||"symbol")?Symbol.toStringTag:null,P=Object.prototype.propertyIsEnumerable,M=("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=b.call(t,o.length+1);return y.call(o,n,"$&_")+"."+y.call(y.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var R=n(24654),L=R.custom,I=U(L)?L:null;function N(e,t,n){var r="double"===(n.quoteStyle||t)?'"':"'";return r+e+r}function F(e){return y.call(String(e),/"/g,"&quot;")}function z(e){return!("[object Array]"!==V(e)||T&&"object"==typeof e&&T in e)}function q(e){return!("[object RegExp]"!==V(e)||T&&"object"==typeof e&&T in e)}function U(e){if(j)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!O)return!1;try{return O.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,s){var l=r||{};if(W(l,"quoteStyle")&&"single"!==l.quoteStyle&&"double"!==l.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(W(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var m=!W(l,"customInspect")||l.customInspect;if("boolean"!=typeof m&&"symbol"!==m)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(W(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(W(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var A=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Z(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var C=String(t);return A?D(t,C):C}if("bigint"==typeof t){var S=String(t)+"n";return A?D(t,S):S}var B=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=B&&B>0&&"object"==typeof t)return z(t)?"[Array]":"[Object]";var L=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=w.call(Array(e.indent+1)," ")}return{base:n,prev:w.call(Array(t+1),n)}}(l,o);if(void 0===s)s=[];else if(Y(s,t)>=0)return"[Circular]";function H(t,n,r){if(n&&(s=k.call(s)).push(n),r){var i={depth:l.depth};return W(l,"quoteStyle")&&(i.quoteStyle=l.quoteStyle),e(t,i,o+1,s)}return e(t,l,o+1,s)}if("function"==typeof t&&!q(t)){var G=function(e){if(e.name)return e.name;var t=v.call(g.call(e),/^function\s*([\w$]+)/);if(t)return t[1];return null}(t),ee=J(t,H);return"[Function"+(G?": "+G:" (anonymous)")+"]"+(ee.length>0?" { "+w.call(ee,", ")+" }":"")}if(U(t)){var te=j?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):O.call(t);return"object"!=typeof t||j?te:K(te)}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 ne="<"+x.call(String(t.nodeName)),re=t.attributes||[],oe=0;oe<re.length;oe++)ne+=" "+re[oe].name+"="+N(F(re[oe].value),"double",l);return ne+=">",t.childNodes&&t.childNodes.length&&(ne+="..."),ne+="</"+x.call(String(t.nodeName))+">"}if(z(t)){if(0===t.length)return"[]";var ie=J(t,H);return L&&!function(e){for(var t=0;t<e.length;t++)if(Y(e[t],"\n")>=0)return!1;return!0}(ie)?"["+Q(ie,L)+"]":"[ "+w.call(ie,", ")+" ]"}if(function(e){return!("[object Error]"!==V(e)||T&&"object"==typeof e&&T in e)}(t)){var ae=J(t,H);return"cause"in Error.prototype||!("cause"in t)||P.call(t,"cause")?0===ae.length?"["+String(t)+"]":"{ ["+String(t)+"] "+w.call(ae,", ")+" }":"{ ["+String(t)+"] "+w.call(_.call("[cause]: "+H(t.cause),ae),", ")+" }"}if("object"==typeof t&&m){if(I&&"function"==typeof t[I]&&R)return R(t,{depth:B-o});if("symbol"!==m&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!i||!e||"object"!=typeof e)return!1;try{i.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var se=[];return a&&a.call(t,(function(e,n){se.push(H(n,t,!0)+" => "+H(e,t))})),X("Map",i.call(t),se,L)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{i.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var le=[];return u&&u.call(t,(function(e){le.push(H(e,t))})),X("Set",c.call(t),le,L)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{f.call(e,f)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return $("WeakMap");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{f.call(e,f);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return $("WeakSet");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{return p.call(e),!0}catch(e){}return!1}(t))return $("WeakRef");if(function(e){return!("[object Number]"!==V(e)||T&&"object"==typeof e&&T in e)}(t))return K(H(Number(t)));if(function(e){if(!e||"object"!=typeof e||!E)return!1;try{return E.call(e),!0}catch(e){}return!1}(t))return K(H(E.call(t)));if(function(e){return!("[object Boolean]"!==V(e)||T&&"object"==typeof e&&T in e)}(t))return K(h.call(t));if(function(e){return!("[object String]"!==V(e)||T&&"object"==typeof e&&T in e)}(t))return K(H(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if(t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==V(e)||T&&"object"==typeof e&&T in e)}(t)&&!q(t)){var ce=J(t,H),ue=M?M(t)===Object.prototype:t instanceof Object||t.constructor===Object,de=t instanceof Object?"":"null prototype",fe=!ue&&T&&Object(t)===t&&T in t?b.call(V(t),8,-1):de?"Object":"",pe=(ue||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(fe||de?"["+w.call(_.call([],fe||[],de||[]),": ")+"] ":"");return 0===ce.length?pe+"{}":L?pe+"{"+Q(ce,L)+"}":pe+"{ "+w.call(ce,", ")+" }"}return String(t)};var H=Object.prototype.hasOwnProperty||function(e){return e in this};function W(e,t){return H.call(e,t)}function V(e){return m.call(e)}function Y(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 Z(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Z(b.call(e,0,t.maxStringLength),t)+r}return N(y.call(y.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":"")+A.call(t.toString(16))}function K(e){return"Object("+e+")"}function $(e){return e+" { ? }"}function X(e,t,n,r){return e+" ("+t+") {"+(r?Q(n,r):w.call(n,", "))+"}"}function Q(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+w.call(e,","+n)+"\n"+t.prev}function J(e,t){var n=z(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=W(e,o)?t(e[o],e):""}var i,a="function"==typeof B?B(e):[];if(j){i={};for(var s=0;s<a.length;s++)i["$"+a[s]]=a[s]}for(var l in e)W(e,l)&&(n&&String(Number(l))===l&&l<e.length||j&&i["$"+l]instanceof Symbol||(C.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof B)for(var c=0;c<a.length;c++)P.call(e,a[c])&&r.push("["+t(a[c])+"]: "+t(e[a[c]],e));return r}},24244:function(e){"use strict";var t=function(e){return e!=e};e.exports=function(e,n){return 0===e&&0===n?1/e==1/n:e===n||!(!t(e)||!t(n))}},20609:function(e,t,n){"use strict";var r=n(4289),o=n(55559),i=n(24244),a=n(75624),s=n(52281),l=o(a(),Object);r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},75624:function(e,t,n){"use strict";var r=n(24244);e.exports=function(){return"function"==typeof Object.is?Object.is:r}},52281:function(e,t,n){"use strict";var r=n(75624),o=n(4289);e.exports=function(){var e=r();return o(Object,{is:e},{is:function(){return Object.is!==e}}),e}},18987:function(e,t,n){"use strict";var r;if(!Object.keys){var o=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=n(21414),s=Object.prototype.propertyIsEnumerable,l=!s.call({toString:null},"toString"),c=s.call((function(){}),"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],d=function(e){var t=e.constructor;return t&&t.prototype===e},f={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if("undefined"==typeof window)return!1;for(var e in window)try{if(!f["$"+e]&&o.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{d(window[e])}catch(e){return!0}}catch(e){return!0}return!1}();r=function(e){var t=null!==e&&"object"==typeof e,n="[object Function]"===i.call(e),r=a(e),s=t&&"[object String]"===i.call(e),f=[];if(!t&&!n&&!r)throw new TypeError("Object.keys called on a non-object");var h=c&&n;if(s&&e.length>0&&!o.call(e,0))for(var m=0;m<e.length;++m)f.push(String(m));if(r&&e.length>0)for(var g=0;g<e.length;++g)f.push(String(g));else for(var v in e)h&&"prototype"===v||!o.call(e,v)||f.push(String(v));if(l)for(var b=function(e){if("undefined"==typeof window||!p)return d(e);try{return d(e)}catch(e){return!1}}(e),y=0;y<u.length;++y)b&&"constructor"===u[y]||!o.call(e,u[y])||f.push(u[y]);return f}}e.exports=r},82215:function(e,t,n){"use strict";var r=Array.prototype.slice,o=n(21414),i=Object.keys,a=i?function(e){return i(e)}:n(18987),s=Object.keys;a.shim=function(){if(Object.keys){var e=function(){var e=Object.keys(arguments);return e&&e.length===arguments.length}(1,2);e||(Object.keys=function(e){return o(e)?s(r.call(e)):s(e)})}else Object.keys=a;return Object.keys||a},e.exports=a},21414:function(e){"use strict";var t=Object.prototype.toString;e.exports=function(e){var n=t.call(e),r="[object Arguments]"===n;return r||(r="[object Array]"!==n&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Function]"===t.call(e.callee)),r}},67673:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(67294),o=n(93379),i=n.n(o),a=n(85863),s={insert:"head",singleton:!1},l=(i()(a.Z,s),a.Z.locals,n(62777)),c={insert:"head",singleton:!1};i()(l.Z,c),l.Z.locals,n(79396),n(42778),n(65182);function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=function(e){var t,n;function o(t){var n;return f(u(n=e.call(this,t)||this),"renderImage",(function(e){var t=n.props.children,r=[].concat(t),o=[];Array.isArray(r)&&r.map((function(e){switch(e.props.type){case"info":return o.push({id:Math.random().toString(36).substr(2,9),type:e.props.type,pitch:e.props.pitch?e.props.pitch:10,yaw:e.props.yaw?e.props.yaw:10,text:e.props.text?e.props.text:"",URL:e.props.URL?e.props.URL:""});case"custom":return o.push({id:Math.random().toString(36).substr(2,9),pitch:e.props.pitch?e.props.pitch:10,yaw:e.props.yaw?e.props.yaw:10,cssClass:e.props.cssClass?e.props.cssClass:"tooltipcss",createTooltipFunc:e.props.tooltip?e.props.tooltip:n.hotspotTooltip,createTooltipArgs:e.props.tooltipArg?e.props.tooltipArg:{},clickHandlerFunc:e.props.handleClick?e.props.handleClick:n.handleClickHotspot,clickHandlerArgs:e.props.handleClickArg?e.props.handleClickArg:{name:"test"}});default:return[]}}));var i={type:"equirectangular",panorama:n.props.image,haov:n.props.haov,vaov:n.props.vaov,vOffset:n.props.vOffset,yaw:n.props.yaw,pitch:n.props.pitch,hfov:n.props.hfov,minHfov:n.props.minHfov,maxHfov:n.props.maxHfov,minPitch:n.props.minPitch,maxPitch:n.props.maxPitch,minYaw:n.props.minYaw,maxYaw:n.props.maxYaw,autoRotate:n.props.autoRotate,compass:n.props.compass,preview:n.props.preview,previewTitle:n.props.previewTitle,previewAuthor:n.props.previewAuthor,author:n.props.author,title:n.props.title,autoLoad:n.props.autoLoad,orientationOnByDefault:n.props.orientationOnByDefault,showZoomCtrl:n.props.showZoomCtrl,doubleClickZoom:n.props.doubleClickZoom,keyboardZoom:n.props.keyboardZoom,mouseZoom:n.props.mouseZoom,draggable:n.props.draggable,disableKeyboardCtrl:n.props.disableKeyboardCtrl,showFullscreenCtrl:n.props.showFullscreenCtrl,showControls:n.props.showControls,hotSpotDebug:n.props.hotspotDebug,hotSpots:o,onRender:n.props.onRender};Object.keys(i).forEach((function(e){return""===i[e]&&delete i[e]})),"update"===e&&n.panorama.destroy(),n.panorama=pannellum.viewer(n.props.id?n.props.id:n.state.id,i),n.panorama.on("load",n.props.onLoad),n.panorama.on("scenechange",n.props.onScenechange),n.panorama.on("scenechangefadedone",n.props.onScenechangefadedone),n.panorama.on("error",n.props.onError),n.panorama.on("errorcleared",n.props.onErrorcleared),n.panorama.on("mousedown",n.props.onMousedown),n.panorama.on("mouseup",n.props.onMouseup),n.panorama.on("touchstart",n.props.onTouchstart),n.panorama.on("touchend",n.props.onTouchend)})),f(u(n),"componentDidMount",(function(){n.renderImage("mount")})),f(u(n),"handleClickHotspot",(function(e,t){console.log("hotspot clicked",t.name)})),f(u(n),"hotspotTooltip",(function(e,t){e.setAttribute("id","textInfo");var n=document.createElement("div");n.classList.add("hotspot");var r=document.createElement("div");r.classList.add("out");var o=document.createElement("div");o.classList.add("in"),document.createElement("div").classList.add("image"),e.appendChild(n),n.appendChild(o),n.appendChild(r)})),f(u(n),"getViewer",(function(){return n.panorama})),f(u(n),"forceRender",(function(){n.renderImage("update")})),n.state={id:Math.random().toString(36).substr(2,9)},n}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,d(t,n);var i=o.prototype;return i.componentDidUpdate=function(e,t,n){e.image===this.props.image&&e.width===this.props.width&&e.height===this.props.height&&e.compass===this.props.compass&&e.title===this.props.title&&e.author===this.props.author&&e.preview===this.props.preview&&e.previewTitle===this.props.previewTitle&&e.previewAuthor===this.props.previewAuthor&&e.showZoomCtrl===this.props.showZoomCtrl&&e.showFullscreenCtrl===this.props.showFullscreenCtrl&&e.showControls===this.props.showControls&&e.children.length===this.props.children.length||this.renderImage("update"),e.maxYaw===this.props.maxYaw&&e.minYaw===this.props.minYaw&&e.maxPitch===this.props.maxPitch&&e.minPitch===this.props.minPitch&&e.maxHfov===this.props.maxHfov&&e.minHfov===this.props.minHfov||(this.panorama.setYawBounds([this.props.minYaw,this.props.maxYaw]),this.panorama.setPitchBounds([this.props.minPitch,this.props.maxPitch]),this.panorama.setHfovBounds([this.props.minHfov,this.props.maxHfov])),e.yaw!==this.props.yaw&&this.panorama.setYaw(this.props.yaw),e.pitch!==this.props.pitch&&this.panorama.setPitch(this.props.pitch),e.hfov!==this.props.hfov&&this.panorama.setHfov(this.props.hfov)},i.render=function(){var e=this,t=this.props,n={width:t.width,height:t.height};return r.createElement("div",{id:this.props.id?this.props.id:this.state.id,style:n,ref:function(t){return e.imageNode=t}})},o}(r.PureComponent);f(p,"defaultProps",{children:[],width:"100%",height:"400px",image:"",haov:360,vaov:180,vOffset:0,yaw:0,pitch:0,hfov:100,minHfov:50,maxHfov:150,minPitch:-90,maxPitch:90,minYaw:-180,maxYaw:180,autoRotate:0,compass:!1,preview:"",previewTitle:"",previewAuthor:"",title:"",author:"",autoLoad:!1,orientationOnByDefault:!1,showZoomCtrl:!0,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,draggable:!0,disableKeyboardCtrl:!1,showFullscreenCtrl:!0,showControls:!0,onLoad:function(){},onScenechange:function(){},onScenechangefadedone:function(){},onError:function(){},onErrorcleared:function(){},onMousedown:function(){},onMouseup:function(){},onTouchstart:function(){},onTouchend:function(){},hotspotDebug:!1,onRender:null}),p.propTypes={},p.Hotspot=function(){},p.Hotspot=function(){};var h=p},65182:function(){window.requestAnimationFrame||(window.requestAnimationFrame=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){window.setTimeout(e,1e3/60)})},79396:function(){window.libpannellum=function(e,t,n){function r(r){var a,u,d,f,p,h,m,g,v,b,y,A,x,C,_,w,k=t.createElement("canvas");function S(e,t){return 1==e.level&&1!=t.level?-1:1==t.level&&1!=e.level?1:t.timestamp-e.timestamp}function E(e,t){return e.level!=t.level?e.level-t.level:e.diff-t.diff}function B(e,t,n,r,o,i){this.vertices=e,this.side=t,this.level=n,this.x=r,this.y=o,this.path=i.replace("%s",t).replace("%l",n).replace("%x",r).replace("%y",o)}function O(e,t,n,r,o){if(function(e,t){var n=R(e,t.slice(0,3)),r=R(e,t.slice(3,6)),o=R(e,t.slice(6,9)),i=R(e,t.slice(9,12)),a=n[0]+r[0]+o[0]+i[0];if(-4==a||4==a)return!1;var s=n[1]+r[1]+o[1]+i[1];if(-4==s||4==s)return!1;return n[2]+r[2]+o[2]+i[2]!=4}(e,t.vertices)){var i=t.vertices,s=i[0]+i[3]+i[6]+i[9],l=i[1]+i[4]+i[7]+i[10],c=i[2]+i[5]+i[8]+i[11],u=Math.sqrt(s*s+l*l+c*c),d=Math.asin(c/u),f=Math.atan2(l,s)-r;f+=f>Math.PI?-2*Math.PI:f<-Math.PI?2*Math.PI:0,f=Math.abs(f),t.diff=Math.acos(Math.sin(n)*Math.sin(d)+Math.cos(n)*Math.cos(d)*Math.cos(f));for(var p=!1,h=0;h<a.nodeCache.length;h++)if(a.nodeCache[h].path==t.path){p=!0,a.nodeCache[h].timestamp=a.nodeCacheTimestamp++,a.nodeCache[h].diff=t.diff,a.currentNodes.push(a.nodeCache[h]);break}if(p||(t.timestamp=a.nodeCacheTimestamp++,a.currentNodes.push(t),a.nodeCache.push(t)),t.level<a.level){var m=v.cubeResolution*Math.pow(2,t.level-v.maxLevel),g=Math.ceil(m*v.invTileResolution)-1,b=m%v.tileResolution*2,y=2*m%v.tileResolution;0===y&&(y=v.tileResolution),0===b&&(b=2*v.tileResolution);var A=.5;t.x!=g&&t.y!=g||(A=1-v.tileResolution/(v.tileResolution+y));var x,C=1-A,_=[],w=A,k=A,S=A,E=C,j=C,T=C;y<v.tileResolution&&(t.x==g&&t.y!=g?(k=.5,j=.5,"d"!=t.side&&"u"!=t.side||(S=.5,T=.5)):t.x!=g&&t.y==g&&(w=.5,E=.5,"l"!=t.side&&"r"!=t.side||(S=.5,T=.5))),b<=v.tileResolution&&(t.x==g&&(w=0,E=1,"l"!=t.side&&"r"!=t.side||(S=0,T=1)),t.y==g&&(k=0,j=1,"d"!=t.side&&"u"!=t.side||(S=0,T=1))),x=new B([i[0],i[1],i[2],i[0]*w+i[3]*E,i[1]*A+i[4]*C,i[2]*S+i[5]*T,i[0]*w+i[6]*E,i[1]*k+i[7]*j,i[2]*S+i[8]*T,i[0]*A+i[9]*C,i[1]*k+i[10]*j,i[2]*S+i[11]*T],t.side,t.level+1,2*t.x,2*t.y,v.fullpath),_.push(x),t.x==g&&b<=v.tileResolution||(x=new B([i[0]*w+i[3]*E,i[1]*A+i[4]*C,i[2]*S+i[5]*T,i[3],i[4],i[5],i[3]*A+i[6]*C,i[4]*k+i[7]*j,i[5]*S+i[8]*T,i[0]*w+i[6]*E,i[1]*k+i[7]*j,i[2]*S+i[8]*T],t.side,t.level+1,2*t.x+1,2*t.y,v.fullpath),_.push(x)),t.x==g&&b<=v.tileResolution||t.y==g&&b<=v.tileResolution||(x=new B([i[0]*w+i[6]*E,i[1]*k+i[7]*j,i[2]*S+i[8]*T,i[3]*A+i[6]*C,i[4]*k+i[7]*j,i[5]*S+i[8]*T,i[6],i[7],i[8],i[9]*w+i[6]*E,i[10]*A+i[7]*C,i[11]*S+i[8]*T],t.side,t.level+1,2*t.x+1,2*t.y+1,v.fullpath),_.push(x)),t.y==g&&b<=v.tileResolution||(x=new B([i[0]*A+i[9]*C,i[1]*k+i[10]*j,i[2]*S+i[11]*T,i[0]*w+i[6]*E,i[1]*k+i[7]*j,i[2]*S+i[8]*T,i[9]*w+i[6]*E,i[10]*A+i[7]*C,i[11]*S+i[8]*T,i[9],i[10],i[11]],t.side,t.level+1,2*t.x,2*t.y+1,v.fullpath),_.push(x));for(var P=0;P<_.length;P++)O(e,_[P],n,r,o)}}}function j(e,t,n){var r=Math.sin(t),o=Math.cos(t);return"x"==n?[e[0],o*e[1]+r*e[2],o*e[2]-r*e[1],e[3],o*e[4]+r*e[5],o*e[5]-r*e[4],e[6],o*e[7]+r*e[8],o*e[8]-r*e[7]]:"y"==n?[o*e[0]-r*e[2],e[1],o*e[2]+r*e[0],o*e[3]-r*e[5],e[4],o*e[5]+r*e[3],o*e[6]-r*e[8],e[7],o*e[8]+r*e[6]]:"z"==n?[o*e[0]+r*e[1],o*e[1]-r*e[0],e[2],o*e[3]+r*e[4],o*e[4]-r*e[3],e[5],o*e[6]+r*e[7],o*e[7]-r*e[6],e[8]]:void 0}function T(e){return[e[0],e[4],e[8],e[12],e[1],e[5],e[9],e[13],e[2],e[6],e[10],e[14],e[3],e[7],e[11],e[15]]}k.style.width=k.style.height="100%",r.appendChild(k),this.init=function(e,S,E,B,O,j,T,P){if(S===n&&(S="equirectangular"),"equirectangular"!=S&&"cubemap"!=S&&"multires"!=S)throw console.log("Error: invalid image type specified!"),{type:"config error"};if(b=S,v=e,y=E,w=P||{},a){if(d&&(u.detachShader(a,d),u.deleteShader(d)),f&&(u.detachShader(a,f),u.deleteShader(f)),u.bindBuffer(u.ARRAY_BUFFER,null),u.bindBuffer(u.ELEMENT_ARRAY_BUFFER,null),a.texture&&u.deleteTexture(a.texture),a.nodeCache)for(var M=0;M<a.nodeCache.length;M++)u.deleteTexture(a.nodeCache[M].texture);u.deleteProgram(a),a=n}var D;g=n;var R,I=!1;if("cubemap"==b)for(D=0;D<6;D++)v[D].width>0?(R===n&&(R=v[D].width),R!=v[D].width&&console.log("Cube faces have inconsistent widths: "+R+" vs. "+v[D].width)):I=!0;function N(e){if(I){var t=e*e*4,n=new Uint8ClampedArray(t),r=P.backgroundColor?P.backgroundColor:[0,0,0];r[0]*=255,r[1]*=255,r[2]*=255;for(var o=0;o<t;o++)n[o++]=r[0],n[o++]=r[1],n[o++]=r[2];var i=new ImageData(n,e,e);for(D=0;D<6;D++)0==v[D].width&&(v[D]=i)}}if("cubemap"==b&&0!=(R&R-1)&&(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 9_/)||navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 10_/)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))||(u||(u=k.getContext("experimental-webgl",{alpha:!1,depth:!1})),u&&1286==u.getError()&&L()),u||!("multires"==b&&v.hasOwnProperty("fallbackPath")||"cubemap"==b)||!("WebkitAppearance"in t.documentElement.style)&&!navigator.userAgent.match(/Trident.*rv[ :]*11\./)&&-1===navigator.appVersion.indexOf("MSIE 10")){if(!u)throw console.log("Error: no WebGL support detected!"),{type:"no webgl"};"cubemap"==b&&N(R),v.basePath?v.fullpath=v.basePath+v.path:v.fullpath=v.path,v.invTileResolution=1/v.tileResolution;var F=[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1];for(m=[],D=0;D<6;D++)m[D]=F.slice(12*D,12*D+12),F=[-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,-1,-1,1,1,-1,1,-1,1,1,1,1,1,1,1,-1,-1,1,-1,-1,-1,-1,1,-1,-1,1,-1,1,-1,-1,1,-1,1,1,-1,1,-1,-1,-1,-1,-1,-1,1,1,1,-1,1,1,1,1,-1,1,1,-1,-1];var z=0,q=0;if("equirectangular"==b?(z=Math.max(v.width,v.height),q=u.getParameter(u.MAX_TEXTURE_SIZE)):"cubemap"==b&&(z=R,q=u.getParameter(u.MAX_CUBE_MAP_TEXTURE_SIZE)),z>q)throw console.log("Error: The image is too big; it's "+z+"px wide, but this device's maximum supported size is "+q+"px."),{type:"webgl size error",width:z,maxWidth:q};P===n||P.horizonPitch===n&&P.horizonRoll===n||(g=[P.horizonPitch==n?0:P.horizonPitch,P.horizonRoll==n?0:P.horizonRoll]);var U=u.TEXTURE_2D;u.viewport(0,0,u.drawingBufferWidth,u.drawingBufferHeight),d=u.createShader(u.VERTEX_SHADER);var H=o;"multires"==b&&(H=i),u.shaderSource(d,H),u.compileShader(d),f=u.createShader(u.FRAGMENT_SHADER);var W=l;"cubemap"==b?(U=u.TEXTURE_CUBE_MAP,W=s):"multires"==b&&(W=c),u.shaderSource(f,W),u.compileShader(f),a=u.createProgram(),u.attachShader(a,d),u.attachShader(a,f),u.linkProgram(a),u.getShaderParameter(d,u.COMPILE_STATUS)||console.log(u.getShaderInfoLog(d)),u.getShaderParameter(f,u.COMPILE_STATUS)||console.log(u.getShaderInfoLog(f)),u.getProgramParameter(a,u.LINK_STATUS)||console.log(u.getProgramInfoLog(a)),u.useProgram(a),a.drawInProgress=!1;var V=P.backgroundColor?P.backgroundColor:[0,0,0];u.clearColor(V[0],V[1],V[2],1),u.clear(u.COLOR_BUFFER_BIT),a.texCoordLocation=u.getAttribLocation(a,"a_texCoord"),u.enableVertexAttribArray(a.texCoordLocation),"multires"!=b?(A||(A=u.createBuffer()),u.bindBuffer(u.ARRAY_BUFFER,A),u.bufferData(u.ARRAY_BUFFER,new Float32Array([-1,1,1,1,1,-1,-1,1,1,-1,-1,-1]),u.STATIC_DRAW),u.vertexAttribPointer(a.texCoordLocation,2,u.FLOAT,!1,0,0),a.aspectRatio=u.getUniformLocation(a,"u_aspectRatio"),u.uniform1f(a.aspectRatio,u.drawingBufferWidth/u.drawingBufferHeight),a.psi=u.getUniformLocation(a,"u_psi"),a.theta=u.getUniformLocation(a,"u_theta"),a.f=u.getUniformLocation(a,"u_f"),a.h=u.getUniformLocation(a,"u_h"),a.v=u.getUniformLocation(a,"u_v"),a.vo=u.getUniformLocation(a,"u_vo"),a.rot=u.getUniformLocation(a,"u_rot"),u.uniform1f(a.h,B/(2*Math.PI)),u.uniform1f(a.v,O/Math.PI),u.uniform1f(a.vo,j/Math.PI*2),"equirectangular"==b&&(a.backgroundColor=u.getUniformLocation(a,"u_backgroundColor"),u.uniform4fv(a.backgroundColor,V.concat([1]))),a.texture=u.createTexture(),u.bindTexture(U,a.texture),"cubemap"==b?(u.texImage2D(u.TEXTURE_CUBE_MAP_POSITIVE_X,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v[1]),u.texImage2D(u.TEXTURE_CUBE_MAP_NEGATIVE_X,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v[3]),u.texImage2D(u.TEXTURE_CUBE_MAP_POSITIVE_Y,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v[4]),u.texImage2D(u.TEXTURE_CUBE_MAP_NEGATIVE_Y,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v[5]),u.texImage2D(u.TEXTURE_CUBE_MAP_POSITIVE_Z,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v[0]),u.texImage2D(u.TEXTURE_CUBE_MAP_NEGATIVE_Z,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v[2])):u.texImage2D(U,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v),u.texParameteri(U,u.TEXTURE_WRAP_S,u.CLAMP_TO_EDGE),u.texParameteri(U,u.TEXTURE_WRAP_T,u.CLAMP_TO_EDGE),u.texParameteri(U,u.TEXTURE_MIN_FILTER,u.LINEAR),u.texParameteri(U,u.TEXTURE_MAG_FILTER,u.LINEAR)):(a.vertPosLocation=u.getAttribLocation(a,"a_vertCoord"),u.enableVertexAttribArray(a.vertPosLocation),x||(x=u.createBuffer()),C||(C=u.createBuffer()),_||(_=u.createBuffer()),u.bindBuffer(u.ARRAY_BUFFER,C),u.bufferData(u.ARRAY_BUFFER,new Float32Array([0,0,1,0,1,1,0,1]),u.STATIC_DRAW),u.bindBuffer(u.ELEMENT_ARRAY_BUFFER,_),u.bufferData(u.ELEMENT_ARRAY_BUFFER,new Uint16Array([0,1,2,0,2,3]),u.STATIC_DRAW),a.perspUniform=u.getUniformLocation(a,"u_perspMatrix"),a.cubeUniform=u.getUniformLocation(a,"u_cubeMatrix"),a.level=-1,a.currentNodes=[],a.nodeCache=[],a.nodeCacheTimestamp=0);var Y=u.getError();if(0!==Y)throw console.log("Error: Something went wrong with WebGL!",Y),{type:"webgl error"};T()}else{var Z;h&&r.removeChild(h),(h=t.createElement("div")).className="pnlm-world",Z=v.basePath?v.basePath+v.fallbackPath:v.fallbackPath;var G=["f","r","b","l","u","d"],K=0,$=function(){var e=t.createElement("canvas");e.className="pnlm-face pnlm-"+G[this.side]+"face",h.appendChild(e);var n=e.getContext("2d");e.style.width=this.width+4+"px",e.style.height=this.height+4+"px",e.width=this.width+4,e.height=this.height+4,n.drawImage(this,2,2);var r,o,i=n.getImageData(0,0,e.width,e.height),a=i.data;for(r=2;r<e.width-2;r++)for(o=0;o<4;o++)a[4*(r+e.width)+o]=a[4*(r+2*e.width)+o],a[4*(r+e.width*(e.height-2))+o]=a[4*(r+e.width*(e.height-3))+o];for(r=2;r<e.height-2;r++)for(o=0;o<4;o++)a[4*(r*e.width+1)+o]=a[4*(r*e.width+2)+o],a[4*((r+1)*e.width-2)+o]=a[4*((r+1)*e.width-3)+o];for(o=0;o<4;o++)a[4*(e.width+1)+o]=a[4*(2*e.width+2)+o],a[4*(2*e.width-2)+o]=a[4*(3*e.width-3)+o],a[4*(e.width*(e.height-2)+1)+o]=a[4*(e.width*(e.height-3)+2)+o],a[4*(e.width*(e.height-1)-2)+o]=a[4*(e.width*(e.height-2)-3)+o];for(r=1;r<e.width-1;r++)for(o=0;o<4;o++)a[4*r+o]=a[4*(r+e.width)+o],a[4*(r+e.width*(e.height-1))+o]=a[4*(r+e.width*(e.height-2))+o];for(r=1;r<e.height-1;r++)for(o=0;o<4;o++)a[r*e.width*4+o]=a[4*(r*e.width+1)+o],a[4*((r+1)*e.width-1)+o]=a[4*((r+1)*e.width-2)+o];for(o=0;o<4;o++)a[o]=a[4*(e.width+1)+o],a[4*(e.width-1)+o]=a[4*(2*e.width-2)+o],a[e.width*(e.height-1)*4+o]=a[4*(e.width*(e.height-2)+1)+o],a[4*(e.width*e.height-1)+o]=a[4*(e.width*(e.height-1)-2)+o];n.putImageData(i,0,0),X.call(this)},X=function(){this.width>0?(p===n&&(p=this.width),p!=this.width&&console.log("Fallback faces have inconsistent widths: "+p+" vs. "+this.width)):I=!0,6==++K&&(p=this.width,r.appendChild(h),T())};for(I=!1,D=0;D<6;D++){var Q=new Image;Q.crossOrigin=w.crossOrigin?w.crossOrigin:"anonymous",Q.side=D,Q.onload=$,Q.onerror=X,Q.src="multires"==b?encodeURI(Z.replace("%s",G[D])+"."+v.extension):encodeURI(v[D].src)}N(p)}},this.destroy=function(){if(r!==n&&(k!==n&&r.contains(k)&&r.removeChild(k),h!==n&&r.contains(h)&&r.removeChild(h)),u){var e=u.getExtension("WEBGL_lose_context");e&&e.loseContext()}},this.resize=function(){var t=e.devicePixelRatio||1;k.width=k.clientWidth*t,k.height=k.clientHeight*t,u&&(1286==u.getError()&&L(),u.viewport(0,0,u.drawingBufferWidth,u.drawingBufferHeight),"multires"!=b&&u.uniform1f(a.aspectRatio,k.clientWidth/k.clientHeight))},this.resize(),this.setPose=function(e,t){g=[e,t]},this.render=function(e,t,r,o){var i,s,l=0;if(o===n&&(o={}),o.roll&&(l=o.roll),g!==n){var c=g[0],d=g[1],f=e,A=t,_=Math.cos(d)*Math.sin(e)*Math.sin(c)+Math.cos(e)*(Math.cos(c)*Math.cos(t)+Math.sin(d)*Math.sin(c)*Math.sin(t)),w=-Math.sin(e)*Math.sin(d)+Math.cos(e)*Math.cos(d)*Math.sin(t),M=Math.cos(d)*Math.cos(c)*Math.sin(e)+Math.cos(e)*(-Math.cos(t)*Math.sin(c)+Math.cos(c)*Math.sin(d)*Math.sin(t));e=Math.asin(Math.max(Math.min(M,1),-1)),t=Math.atan2(w,_);var R=[Math.cos(f)*(Math.sin(d)*Math.sin(c)*Math.cos(A)-Math.cos(c)*Math.sin(A)),Math.cos(f)*Math.cos(d)*Math.cos(A),Math.cos(f)*(Math.cos(c)*Math.sin(d)*Math.cos(A)+Math.sin(A)*Math.sin(c))],L=[-Math.cos(e)*Math.sin(t),Math.cos(e)*Math.cos(t)],I=Math.acos(Math.max(Math.min((R[0]*L[0]+R[1]*L[1])/(Math.sqrt(R[0]*R[0]+R[1]*R[1]+R[2]*R[2])*Math.sqrt(L[0]*L[0]+L[1]*L[1])),1),-1));R[2]<0&&(I=2*Math.PI-I),l+=I}if(u||"multires"!=b&&"cubemap"!=b){if("multires"!=b){var N=2*Math.atan(Math.tan(.5*r)/(u.drawingBufferWidth/u.drawingBufferHeight));i=1/Math.tan(.5*N),u.uniform1f(a.psi,t),u.uniform1f(a.theta,e),u.uniform1f(a.rot,l),u.uniform1f(a.f,i),!0===y&&"equirectangular"==b&&(u.bindTexture(u.TEXTURE_2D,a.texture),u.texImage2D(u.TEXTURE_2D,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,v)),u.drawArrays(u.TRIANGLES,0,6)}else{var F=function(e,t,n,r){var o=2*Math.atan(Math.tan(e/2)*u.drawingBufferHeight/u.drawingBufferWidth),i=1/Math.tan(o/2);return[i/t,0,0,0,0,i,0,0,0,0,(r+n)/(n-r),2*r*n/(n-r),0,0,-1,0]}(r,u.drawingBufferWidth/u.drawingBufferHeight,.1,100);!function(e){var t=1;for(;t<v.maxLevel&&u.drawingBufferWidth>v.tileResolution*Math.pow(2,t-1)*Math.tan(e/2)*.707;)t++;a.level=t}(r);var z=[1,0,0,0,1,0,0,0,1];z=j(z,-l,"z"),z=j(z,-e,"x"),z=function(e){return[e[0],e[1],e[2],0,e[3],e[4],e[5],0,e[6],e[7],e[8],0,0,0,0,1]}(z=j(z,t,"y")),u.uniformMatrix4fv(a.perspUniform,!1,new Float32Array(T(F))),u.uniformMatrix4fv(a.cubeUniform,!1,new Float32Array(T(z)));var q=function(e,t){return[e[0]*t[0],e[0]*t[1],e[0]*t[2],0,e[5]*t[4],e[5]*t[5],e[5]*t[6],0,e[10]*t[8],e[10]*t[9],e[10]*t[10],e[11],-t[8],-t[9],-t[10],0]}(F,z);if(a.nodeCache.sort(S),a.nodeCache.length>200&&a.nodeCache.length>a.currentNodes.length+50)for(var U=a.nodeCache.splice(200,a.nodeCache.length-200),H=0;H<U.length;H++)u.deleteTexture(U[H].texture);a.currentNodes=[];var W=["f","b","u","d","l","r"];for(s=0;s<6;s++){O(q,new B(m[s],W[s],1,0,0,v.fullpath),e,t,r)}for(a.currentNodes.sort(E),H=P.length-1;H>=0;H--)-1===a.currentNodes.indexOf(P[H].node)&&(P[H].node.textureLoad=!1,P.splice(H,1));if(0===P.length)for(H=0;H<a.currentNodes.length;H++){var V=a.currentNodes[H];if(!V.texture&&!V.textureLoad){V.textureLoad=!0,setTimeout(D,0,V);break}}!function(){if(!a.drawInProgress){a.drawInProgress=!0,u.clear(u.COLOR_BUFFER_BIT);for(var e=0;e<a.currentNodes.length;e++)a.currentNodes[e].textureLoaded>1&&(u.bindBuffer(u.ARRAY_BUFFER,x),u.bufferData(u.ARRAY_BUFFER,new Float32Array(a.currentNodes[e].vertices),u.STATIC_DRAW),u.vertexAttribPointer(a.vertPosLocation,3,u.FLOAT,!1,0,0),u.bindBuffer(u.ARRAY_BUFFER,C),u.vertexAttribPointer(a.texCoordLocation,2,u.FLOAT,!1,0,0),u.bindTexture(u.TEXTURE_2D,a.currentNodes[e].texture),u.drawElements(u.TRIANGLES,6,u.UNSIGNED_SHORT,0));a.drawInProgress=!1}}()}if(o.returnImage!==n)return k.toDataURL("image/png")}else{var Y={f:"translate3d(-"+((s=p/2)+2)+"px, -"+(s+2)+"px, -"+s+"px)",b:"translate3d("+(s+2)+"px, -"+(s+2)+"px, "+s+"px) rotateX(180deg) rotateZ(180deg)",u:"translate3d(-"+(s+2)+"px, -"+s+"px, "+(s+2)+"px) rotateX(270deg)",d:"translate3d(-"+(s+2)+"px, "+s+"px, -"+(s+2)+"px) rotateX(90deg)",l:"translate3d(-"+s+"px, -"+(s+2)+"px, "+(s+2)+"px) rotateX(180deg) rotateY(90deg) rotateZ(180deg)",r:"translate3d("+s+"px, -"+(s+2)+"px, -"+(s+2)+"px) rotateY(270deg)"},Z=(i=1/Math.tan(r/2))*k.clientWidth/2+"px",G="perspective("+Z+") translateZ("+Z+") rotateX("+e+"rad) rotateY("+t+"rad) ",K=Object.keys(Y);for(H=0;H<6;H++){var $=h.querySelector(".pnlm-"+K[H]+"face");$&&($.style.webkitTransform=G+Y[K[H]],$.style.transform=G+Y[K[H]])}}},this.isLoading=function(){if(u&&"multires"==b)for(var e=0;e<a.currentNodes.length;e++)if(!a.currentNodes[e].textureLoaded)return!0;return!1},this.getCanvas=function(){return k};var P=[],M=function(){var e,t=4,n={};function r(){var r=this;this.texture=this.callback=null,this.image=new Image,this.image.crossOrigin=e||"anonymous";var o=function(){var e,o;r.image.width>0&&r.image.height>0?(e=r.image,o=r.texture,u.bindTexture(u.TEXTURE_2D,o),u.texImage2D(u.TEXTURE_2D,0,u.RGB,u.RGB,u.UNSIGNED_BYTE,e),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MAG_FILTER,u.LINEAR),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_MIN_FILTER,u.LINEAR),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_S,u.CLAMP_TO_EDGE),u.texParameteri(u.TEXTURE_2D,u.TEXTURE_WRAP_T,u.CLAMP_TO_EDGE),u.bindTexture(u.TEXTURE_2D,null),r.callback(r.texture,!0)):r.callback(r.texture,!1),function(e){if(P.length){var r=P.shift();e.loadTexture(r.src,r.texture,r.callback)}else n[t++]=e}(r)};this.image.addEventListener("load",o),this.image.addEventListener("error",o)}function o(e,t,n,r){this.node=e,this.src=t,this.texture=n,this.callback=r}r.prototype.loadTexture=function(e,t,n){this.texture=t,this.callback=n,this.image.src=e};for(var i=0;i<t;i++)n[i]=new r;return function(r,i,a,s){e=s;var l=u.createTexture();return t?n[--t].loadTexture(i,l,a):P.push(new o(r,i,l,a)),l}}();function D(e){M(e,encodeURI(e.path+"."+v.extension),(function(t,n){e.texture=t,e.textureLoaded=n?2:1}),w.crossOrigin)}function R(e,t){var n=function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[4]*t[0]+e[5]*t[1]+e[6]*t[2],e[11]+e[8]*t[0]+e[9]*t[1]+e[10]*t[2],1/(e[12]*t[0]+e[13]*t[1]+e[14]*t[2])]}(e,t),r=n[0]*n[3],o=n[1]*n[3],i=n[2]*n[3],a=[0,0,0];return r<-1&&(a[0]=-1),r>1&&(a[0]=1),o<-1&&(a[1]=-1),o>1&&(a[1]=1),(i<-1||i>1)&&(a[2]=1),a}function L(){console.log("Reducing canvas size due to error 1286!"),k.width=Math.round(k.width/2),k.height=Math.round(k.height/2)}}var o=["attribute vec2 a_texCoord;","varying vec2 v_texCoord;","void main() {","gl_Position = vec4(a_texCoord, 0.0, 1.0);","v_texCoord = a_texCoord;","}"].join(""),i=["attribute vec3 a_vertCoord;","attribute vec2 a_texCoord;","uniform mat4 u_cubeMatrix;","uniform mat4 u_perspMatrix;","varying mediump vec2 v_texCoord;","void main(void) {","gl_Position = u_perspMatrix * u_cubeMatrix * vec4(a_vertCoord, 1.0);","v_texCoord = a_texCoord;","}"].join(""),a=["precision mediump float;","uniform float u_aspectRatio;","uniform float u_psi;","uniform float u_theta;","uniform float u_f;","uniform float u_h;","uniform float u_v;","uniform float u_vo;","uniform float u_rot;","const float PI = 3.14159265358979323846264;","uniform sampler2D u_image;","uniform samplerCube u_imageCube;","varying vec2 v_texCoord;","uniform vec4 u_backgroundColor;","void main() {","float x = v_texCoord.x * u_aspectRatio;","float y = v_texCoord.y;","float sinrot = sin(u_rot);","float cosrot = cos(u_rot);","float rot_x = x * cosrot - y * sinrot;","float rot_y = x * sinrot + y * cosrot;","float sintheta = sin(u_theta);","float costheta = cos(u_theta);","float a = u_f * costheta - rot_y * sintheta;","float root = sqrt(rot_x * rot_x + a * a);","float lambda = atan(rot_x / root, a / root) + u_psi;","float phi = atan((rot_y * costheta + u_f * sintheta) / root);"].join("\n"),s=a+["float cosphi = cos(phi);","gl_FragColor = textureCube(u_imageCube, vec3(cosphi*sin(lambda), sin(phi), cosphi*cos(lambda)));","}"].join("\n"),l=a+["lambda = mod(lambda + PI, PI * 2.0) - PI;","vec2 coord = vec2(lambda / PI, phi / (PI / 2.0));","if(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)","gl_FragColor = u_backgroundColor;","else","gl_FragColor = texture2D(u_image, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));","}"].join("\n"),c=["varying mediump vec2 v_texCoord;","uniform sampler2D u_sampler;","void main(void) {","gl_FragColor = texture2D(u_sampler, v_texCoord);","}"].join("");return{renderer:function(e,t,n,o){return new r(e,t,n,o)}}}(window,document)},42778:function(){window.pannellum=function(e,t,n){function r(r,o){var i,a,s,l,c,u,d,f,p,h=this,m=!1,g=Date.now(),v=0,b=0,y=-1,A=0,x=0,C=new Array(10),_=!1,w=!1,k=!1,S={yaw:0,pitch:0,hfov:0},E=!1,B=!1,O=0,j=0,T={},P={},M=[],D=!1,R=!1,L={hfov:100,minHfov:50,maxHfov:120,pitch:0,minPitch:n,maxPitch:n,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:!1,autoRotateInactivityDelay:-1,autoRotateStopDelay:n,type:"equirectangular",northOffset:0,showFullscreenCtrl:!0,dynamic:!1,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,showZoomCtrl:!0,autoLoad:!1,showControls:!0,orientationOnByDefault:!1,hotSpotDebug:!1,backgroundColor:[0,0,0],avoidShowingBackground:!1,animationTimingFunction:function(e){return e<.5?2*e*e:(4-2*e)*e-1},draggable:!0,disableKeyboardCtrl:!1,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189],strings:{loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."}};(r="string"==typeof r?t.getElementById(r):r).classList.add("pnlm-container"),r.tabIndex=0;var I=t.createElement("div");I.className="pnlm-ui",r.appendChild(I);var N=t.createElement("div");N.className="pnlm-render-container",r.appendChild(N);var F=t.createElement("div");F.className="pnlm-dragfix",I.appendChild(F);var z=t.createElement("span");z.className="pnlm-about-msg",z.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a>',I.appendChild(z),F.addEventListener("contextmenu",(function e(t){var n=X(t);z.style.left=n.x+"px",z.style.top=n.y+"px",clearTimeout(e.t1),clearTimeout(e.t2),z.style.display="block",z.style.opacity=1,e.t1=setTimeout((function(){z.style.opacity=0}),2e3),e.t2=setTimeout((function(){z.style.display="none"}),2500),t.preventDefault()}));var q={},U=t.createElement("div");U.className="pnlm-sprite pnlm-hot-spot-debug-indicator",I.appendChild(U),q.container=t.createElement("div"),q.container.className="pnlm-panorama-info",q.title=t.createElement("div"),q.title.className="pnlm-title-box",q.container.appendChild(q.title),q.author=t.createElement("div"),q.author.className="pnlm-author-box",q.container.appendChild(q.author),I.appendChild(q.container),q.load={},q.load.box=t.createElement("div"),q.load.box.className="pnlm-load-box",q.load.boxp=t.createElement("p"),q.load.box.appendChild(q.load.boxp),q.load.lbox=t.createElement("div"),q.load.lbox.className="pnlm-lbox",q.load.lbox.innerHTML='<div class="pnlm-loading"></div>',q.load.box.appendChild(q.load.lbox),q.load.lbar=t.createElement("div"),q.load.lbar.className="pnlm-lbar",q.load.lbarFill=t.createElement("div"),q.load.lbarFill.className="pnlm-lbar-fill",q.load.lbar.appendChild(q.load.lbarFill),q.load.box.appendChild(q.load.lbar),q.load.msg=t.createElement("p"),q.load.msg.className="pnlm-lmsg",q.load.box.appendChild(q.load.msg),I.appendChild(q.load.box),q.errorMsg=t.createElement("div"),q.errorMsg.className="pnlm-error-msg pnlm-info-box",I.appendChild(q.errorMsg);var H={};H.container=t.createElement("div"),H.container.className="pnlm-controls-container",I.appendChild(H.container),H.load=t.createElement("div"),H.load.className="pnlm-load-button",H.load.addEventListener("click",(function(){Be(),De()})),I.appendChild(H.load),H.zoom=t.createElement("div"),H.zoom.className="pnlm-zoom-controls pnlm-controls",H.zoomIn=t.createElement("div"),H.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control",H.zoomIn.addEventListener("click",(function(){l&&(Pe(i.hfov-5),be())})),H.zoom.appendChild(H.zoomIn),H.zoomOut=t.createElement("div"),H.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control",H.zoomOut.addEventListener("click",(function(){l&&(Pe(i.hfov+5),be())})),H.zoom.appendChild(H.zoomOut),H.container.appendChild(H.zoom),H.fullscreen=t.createElement("div"),H.fullscreen.addEventListener("click",Oe),H.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control",(t.fullscreenEnabled||t.mozFullScreenEnabled||t.webkitFullscreenEnabled||t.msFullscreenEnabled)&&H.container.appendChild(H.fullscreen),H.orientation=t.createElement("div"),H.orientation.addEventListener("click",(function(e){B?Le():Ie()})),H.orientation.addEventListener("mousedown",(function(e){e.stopPropagation()})),H.orientation.addEventListener("touchstart",(function(e){e.stopPropagation()})),H.orientation.addEventListener("pointerdown",(function(e){e.stopPropagation()})),H.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var W,V=!1;e.DeviceOrientationEvent?e.addEventListener("deviceorientation",(function t(n){e.removeEventListener("deviceorientation",t),n&&null!==n.alpha&&null!==n.beta&&null!==n.gamma?(H.container.appendChild(H.orientation),W=!0,V&&Ie()):W=!1})):W=!1;var Y=t.createElement("div");function Z(){var r=t.createElement("div");if(r.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1!=r.getElementsByTagName("i").length){var o,a;if(f=i.hfov,p=i.pitch,"cubemap"==i.type){for(c=[],o=0;o<6;o++)c.push(new Image),c[o].crossOrigin=i.crossOrigin;q.load.lbox.style.display="block",q.load.lbar.style.display="none"}else if("multires"==i.type){var s=JSON.parse(JSON.stringify(i.multiRes));i.basePath&&i.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(i.multiRes.basePath)?s.basePath=i.basePath+i.multiRes.basePath:i.multiRes.basePath?s.basePath=i.multiRes.basePath:i.basePath&&(s.basePath=i.basePath),c=s}else if(!0===i.dynamic)c=i.panorama;else{if(i.panorama===n)return void $(i.strings.noPanoramaError);c=new Image}if("cubemap"==i.type){var l=6,u=function(){0===--l&&K()},d=function(e){var n=t.createElement("a");n.href=e.target.src,n.textContent=n.href,$(i.strings.fileAccessError.replace("%s",n.outerHTML))};for(o=0;o<c.length;o++)"null"==(a=i.cubeMap[o])?(console.log("Will use background instead of missing cubemap face "+o),u()):(i.basePath&&!G(a)&&(a=i.basePath+a),c[o].onload=u,c[o].onerror=d,c[o].src=Fe(a))}else if("multires"==i.type)K();else if(a="",i.basePath&&(a=i.basePath),!0!==i.dynamic){a=G(i.panorama)?i.panorama:a+i.panorama,c.onload=function(){e.URL.revokeObjectURL(this.src),K()};var h=new XMLHttpRequest;h.onloadend=function(){if(200!=h.status){var r=t.createElement("a");r.href=a,r.textContent=r.href,$(i.strings.fileAccessError.replace("%s",r.outerHTML))}var o,s,l=this.response;o=l,(s=new FileReader).addEventListener("loadend",(function(){var t=s.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)){var r=t.indexOf("ÿÂ");(r<0||r>65536)&&$(i.strings.iOS8WebGLError)}var a=t.indexOf("<x:xmpmeta");if(a>-1&&!0!==i.ignoreGPanoXMP){var l=t.substring(a,t.indexOf("</x:xmpmeta>")+12),u=function(e){var t;return l.indexOf(e+'="')>=0?t=(t=l.substring(l.indexOf(e+'="')+e.length+2)).substring(0,t.indexOf('"')):l.indexOf(e+">")>=0&&(t=(t=l.substring(l.indexOf(e+">")+e.length+1)).substring(0,t.indexOf("<"))),t!==n?Number(t):null},d={fullWidth:u("GPano:FullPanoWidthPixels"),croppedWidth:u("GPano:CroppedAreaImageWidthPixels"),fullHeight:u("GPano:FullPanoHeightPixels"),croppedHeight:u("GPano:CroppedAreaImageHeightPixels"),topPixels:u("GPano:CroppedAreaTopPixels"),heading:u("GPano:PoseHeadingDegrees"),horizonPitch:u("GPano:PosePitchDegrees"),horizonRoll:u("GPano:PoseRollDegrees")};null!==d.fullWidth&&null!==d.croppedWidth&&null!==d.fullHeight&&null!==d.croppedHeight&&null!==d.topPixels&&(M.indexOf("haov")<0&&(i.haov=d.croppedWidth/d.fullWidth*360),M.indexOf("vaov")<0&&(i.vaov=d.croppedHeight/d.fullHeight*180),M.indexOf("vOffset")<0&&(i.vOffset=-180*((d.topPixels+d.croppedHeight/2)/d.fullHeight-.5)),null!==d.heading&&M.indexOf("northOffset")<0&&(i.northOffset=d.heading,!1!==i.compass&&(i.compass=!0)),null!==d.horizonPitch&&null!==d.horizonRoll&&(M.indexOf("horizonPitch")<0&&(i.horizonPitch=d.horizonPitch),M.indexOf("horizonRoll")<0&&(i.horizonRoll=d.horizonRoll)))}c.src=e.URL.createObjectURL(o)})),s.readAsBinaryString!==n?s.readAsBinaryString(o):s.readAsText(o),q.load.msg.innerHTML=""},h.onprogress=function(e){if(e.lengthComputable){var t,n,r,o=e.loaded/e.total*100;q.load.lbarFill.style.width=o+"%",e.total>1e6?(t="MB",n=(e.loaded/1e6).toFixed(2),r=(e.total/1e6).toFixed(2)):e.total>1e3?(t="kB",n=(e.loaded/1e3).toFixed(1),r=(e.total/1e3).toFixed(1)):(t="B",n=e.loaded,r=e.total),q.load.msg.innerHTML=n+" / "+r+" "+t}else q.load.lbox.style.display="block",q.load.lbar.style.display="none"};try{h.open("GET",a,!0)}catch(e){$(i.strings.malformedURLError)}h.responseType="blob",h.setRequestHeader("Accept","image/*,*/*;q=0.9"),h.withCredentials="use-credentials"===i.crossOrigin,h.send()}i.draggable&&I.classList.add("pnlm-grab"),I.classList.remove("pnlm-grabbing")}else $()}function G(e){return new RegExp("^(?:[a-z]+:)?//","i").test(e)||"/"==e[0]||"blob:"==e.slice(0,5)}function K(){a||(a=new libpannellum.renderer(N)),k||(k=!0,F.addEventListener("mousedown",Q,!1),t.addEventListener("mousemove",te,!1),t.addEventListener("mouseup",ne,!1),i.mouseZoom&&(I.addEventListener("mousewheel",de,!1),I.addEventListener("DOMMouseScroll",de,!1)),i.doubleClickZoom&&F.addEventListener("dblclick",J,!1),I.addEventListener("mozfullscreenchange",je,!1),I.addEventListener("webkitfullscreenchange",je,!1),I.addEventListener("msfullscreenchange",je,!1),I.addEventListener("fullscreenchange",je,!1),e.addEventListener("resize",ve,!1),e.addEventListener("orientationchange",ve,!1),i.disableKeyboardCtrl||(r.addEventListener("keydown",fe,!1),r.addEventListener("keyup",he,!1),r.addEventListener("blur",pe,!1)),t.addEventListener("mouseleave",ne,!1),""===t.documentElement.style.pointerAction&&""===t.documentElement.style.touchAction?(F.addEventListener("pointerdown",le,!1),F.addEventListener("pointermove",ce,!1),F.addEventListener("pointerup",ue,!1),F.addEventListener("pointerleave",ue,!1)):(F.addEventListener("touchstart",re,!1),F.addEventListener("touchmove",oe,!1),F.addEventListener("touchend",ie,!1)),e.navigator.pointerEnabled&&(r.style.touchAction="none")),function(){try{var e={};i.horizonPitch!==n&&(e.horizonPitch=i.horizonPitch*Math.PI/180),i.horizonRoll!==n&&(e.horizonRoll=i.horizonRoll*Math.PI/180),i.backgroundColor!==n&&(e.backgroundColor=i.backgroundColor),a.init(c,i.type,i.dynamic,i.haov*Math.PI/180,i.vaov*Math.PI/180,i.vOffset*Math.PI/180,_e,e),!0!==i.dynamic&&(c=n)}catch(e){if("webgl error"==e.type||"no webgl"==e.type)$();else{if("webgl size error"!=e.type)throw $(i.strings.unknownError),e;$(i.strings.textureSizeError.replace("%s",e.width).replace("%s",e.maxWidth))}}}(),Pe(i.hfov),setTimeout((function(){!0}),500)}function $(e){e===n&&(e=i.strings.genericWebGLError),q.errorMsg.innerHTML="<p>"+e+"</p>",H.load.style.display="none",q.load.box.style.display="none",q.errorMsg.style.display="table",w=!0,N.style.display="none",ze("error",e)}function X(e){var t=r.getBoundingClientRect(),n={};return n.x=e.clientX-t.left,n.y=e.clientY-t.top,n}function Q(e){if(e.preventDefault(),r.focus(),l&&i.draggable){var t=X(e);if(i.hotSpotDebug){var n=ee(e);console.log("Pitch: "+n[0]+", Yaw: "+n[1]+", Center Pitch: "+i.pitch+", Center Yaw: "+i.yaw+", HFOV: "+i.hfov)}Me(),Le(),i.roll=0,S.hfov=0,m=!0,g=Date.now(),v=t.x,b=t.y,A=i.yaw,x=i.pitch,I.classList.add("pnlm-grabbing"),I.classList.remove("pnlm-grab"),ze("mousedown",e),be()}}function J(e){if(i.minHfov===i.hfov)h.setHfov(f,1e3);else{var t=ee(e);h.lookAt(t[0],t[1],i.minHfov,1e3)}}function ee(e){var t=X(e),n=a.getCanvas(),r=n.clientWidth,o=n.clientHeight,s=t.x/r*2-1,l=(1-t.y/o*2)*o/r,c=1/Math.tan(i.hfov*Math.PI/360),u=Math.sin(i.pitch*Math.PI/180),d=Math.cos(i.pitch*Math.PI/180),f=c*d-l*u,p=Math.sqrt(s*s+f*f),h=180*Math.atan((l*d+c*u)/p)/Math.PI,m=180*Math.atan2(s/p,f/p)/Math.PI+i.yaw;return m<-180&&(m+=360),m>180&&(m-=360),[h,m]}function te(e){if(m&&l){g=Date.now();var t=a.getCanvas(),n=t.clientWidth,r=t.clientHeight,o=X(e),s=180*(Math.atan(v/n*2-1)-Math.atan(o.x/n*2-1))/Math.PI*i.hfov/90+A;S.yaw=(s-i.yaw)%360*.2,i.yaw=s;var c=2*Math.atan(Math.tan(i.hfov/360*Math.PI)*r/n)*180/Math.PI,u=180*(Math.atan(o.y/r*2-1)-Math.atan(b/r*2-1))/Math.PI*c/90+x;S.pitch=.2*(u-i.pitch),i.pitch=u}}function ne(e){m&&(m=!1,Date.now()-g>15&&(S.pitch=S.yaw=0),I.classList.add("pnlm-grab"),I.classList.remove("pnlm-grabbing"),g=Date.now(),ze("mouseup",e))}function re(e){if(l&&i.draggable){Me(),Le(),i.roll=0,S.hfov=0;var t=X(e.targetTouches[0]);if(v=t.x,b=t.y,2==e.targetTouches.length){var n=X(e.targetTouches[1]);v+=.5*(n.x-t.x),b+=.5*(n.y-t.y),y=Math.sqrt((t.x-n.x)*(t.x-n.x)+(t.y-n.y)*(t.y-n.y))}m=!0,g=Date.now(),A=i.yaw,x=i.pitch,ze("touchstart",e),be()}}function oe(e){if(i.draggable&&(e.preventDefault(),l&&(g=Date.now()),m&&l)){var t=X(e.targetTouches[0]),n=t.x,r=t.y;if(2==e.targetTouches.length&&-1!=y){var o=X(e.targetTouches[1]);n+=.5*(o.x-t.x),r+=.5*(o.y-t.y);var a=Math.sqrt((t.x-o.x)*(t.x-o.x)+(t.y-o.y)*(t.y-o.y));Pe(i.hfov+.1*(y-a)),y=a}var s=i.hfov/360*i.touchPanSpeedCoeffFactor,c=(v-n)*s+A;S.yaw=(c-i.yaw)%360*.2,i.yaw=c;var u=(r-b)*s+x;S.pitch=.2*(u-i.pitch),i.pitch=u}}function ie(){m=!1,Date.now()-g>150&&(S.pitch=S.yaw=0),y=-1,g=Date.now(),ze("touchend",event)}Y.className="pnlm-compass pnlm-controls pnlm-control",I.appendChild(Y),o.firstScene?Ee(o.firstScene):o.default&&o.default.firstScene?Ee(o.default.firstScene):Ee(null),Be(!0);var ae=[],se=[];function le(e){"touch"==e.pointerType&&(ae.push(e.pointerId),se.push({clientX:e.clientX,clientY:e.clientY}),e.targetTouches=se,re(e),e.preventDefault())}function ce(e){if("touch"==e.pointerType)for(var t=0;t<ae.length;t++)if(e.pointerId==ae[t])return se[t].clientX=e.clientX,se[t].clientY=e.clientY,e.targetTouches=se,oe(e),void e.preventDefault()}function ue(e){if("touch"==e.pointerType){for(var t=!1,r=0;r<ae.length;r++)e.pointerId==ae[r]&&(ae[r]=n),ae[r]&&(t=!0);t||(ae=[],se=[],ie()),e.preventDefault()}}function de(e){l&&("fullscreenonly"!=i.mouseZoom||_)&&(e.preventDefault(),Me(),g=Date.now(),e.wheelDeltaY?(Pe(i.hfov-.05*e.wheelDeltaY),S.hfov=e.wheelDelta<0?1:-1):e.wheelDelta?(Pe(i.hfov-.05*e.wheelDelta),S.hfov=e.wheelDelta<0?1:-1):e.detail&&(Pe(i.hfov+1.5*e.detail),S.hfov=e.detail>0?1:-1),be())}function fe(e){Me(),g=Date.now(),Le(),i.roll=0;var t=e.which||e.keycode;i.capturedKeyNumbers.indexOf(t)<0||(e.preventDefault(),27==t?_&&Oe():me(t,!0))}function pe(){for(var e=0;e<10;e++)C[e]=!1}function he(e){var t=e.which||e.keycode;i.capturedKeyNumbers.indexOf(t)<0||(e.preventDefault(),me(t,!1))}function me(e,t){var n=!1;switch(e){case 109:case 189:case 17:case 173:C[0]!=t&&(n=!0),C[0]=t;break;case 107:case 187:case 16:case 61:C[1]!=t&&(n=!0),C[1]=t;break;case 38:C[2]!=t&&(n=!0),C[2]=t;break;case 87:C[6]!=t&&(n=!0),C[6]=t;break;case 40:C[3]!=t&&(n=!0),C[3]=t;break;case 83:C[7]!=t&&(n=!0),C[7]=t;break;case 37:C[4]!=t&&(n=!0),C[4]=t;break;case 65:C[8]!=t&&(n=!0),C[8]=t;break;case 39:C[5]!=t&&(n=!0),C[5]=t;break;case 68:C[9]!=t&&(n=!0),C[9]=t}n&&t&&(u="undefined"!=typeof performance&&performance.now()?performance.now():Date.now(),be())}function ge(e){var t=T[e],n=Math.min(1,Math.max((Date.now()-t.startTime)/1e3/(t.duration/1e3),0)),r=t.startPosition+i.animationTimingFunction(n)*(t.endPosition-t.startPosition);if(t.endPosition>t.startPosition&&r>=t.endPosition||t.endPosition<t.startPosition&&r<=t.endPosition||t.endPosition===t.startPosition){r=t.endPosition,S[e]=0;var o=T[e].callback,a=T[e].callbackArgs;delete T[e],"function"==typeof o&&o(a)}i[e]=r}function ve(){je()}function be(){E||(E=!0,ye())}function ye(){if(function(){var e;if(l){i.yaw>180?i.yaw-=360:i.yaw<-180&&(i.yaw+=360),e=i.yaw;var t=0;if(i.avoidShowingBackground){var r=a.getCanvas(),o=i.hfov/2,s=180*Math.atan2(Math.tan(o/180*Math.PI),r.width/r.height)/Math.PI;i.vaov>i.haov?s*(1-Math.min(Math.cos((i.pitch-o)/180*Math.PI),Math.cos((i.pitch+o)/180*Math.PI))):t=o*(1-Math.min(Math.cos((i.pitch-s)/180*Math.PI),Math.cos((i.pitch+s)/180*Math.PI)))}var c=i.maxYaw-i.minYaw,d=-180,f=180;c<360&&(d=i.minYaw+i.hfov/2+t,f=i.maxYaw-i.hfov/2-t,c<i.hfov&&(d=f=(d+f)/2),i.yaw=Math.max(d,Math.min(f,i.yaw))),!1!==i.autoRotate&&e!=i.yaw&&u!==n&&(i.autoRotate*=-1);r=a.getCanvas();var p=2*Math.atan(Math.tan(i.hfov/180*Math.PI*.5)/(r.width/r.height))/Math.PI*180,h=i.minPitch+p/2,m=i.maxPitch-p/2;i.maxPitch-i.minPitch<p&&(h=m=(h+m)/2),isNaN(h)&&(h=-90),isNaN(m)&&(m=90),i.pitch=Math.max(h,Math.min(m,i.pitch)),a.render(i.pitch*Math.PI/180,i.yaw*Math.PI/180,i.hfov*Math.PI/180,{roll:i.roll*Math.PI/180}),Se(),i.compass&&(Y.style.transform="rotate("+(-i.yaw-i.northOffset)+"deg)",Y.style.webkitTransform="rotate("+(-i.yaw-i.northOffset)+"deg)"),i.onRender&&i.onRender()}}(),d&&clearTimeout(d),m||!0===B)requestAnimationFrame(ye);else if(C[0]||C[1]||C[2]||C[3]||C[4]||C[5]||C[6]||C[7]||C[8]||C[9]||i.autoRotate||T.pitch||T.yaw||T.hfov||Math.abs(S.yaw)>.01||Math.abs(S.pitch)>.01||Math.abs(S.hfov)>.01)!function(){if(l){var e,t=!1,r=i.pitch,o=i.yaw,a=i.hfov;e="undefined"!=typeof performance&&performance.now()?performance.now():Date.now(),u===n&&(u=e);var s=(e-u)*i.hfov/1700;if(s=Math.min(s,1),C[0]&&!0===i.keyboardZoom&&(Pe(i.hfov+(.8*S.hfov+.5)*s),t=!0),C[1]&&!0===i.keyboardZoom&&(Pe(i.hfov+(.8*S.hfov-.2)*s),t=!0),(C[2]||C[6])&&(i.pitch+=(.8*S.pitch+.2)*s,t=!0),(C[3]||C[7])&&(i.pitch+=(.8*S.pitch-.2)*s,t=!0),(C[4]||C[8])&&(i.yaw+=(.8*S.yaw-.2)*s,t=!0),(C[5]||C[9])&&(i.yaw+=(.8*S.yaw+.2)*s,t=!0),t&&(g=Date.now()),Date.now(),i.autoRotate){if(e-u>.001){var c=(e-u)/1e3,d=(S.yaw/c*s-.2*i.autoRotate)*c;d=(-i.autoRotate>0?1:-1)*Math.min(Math.abs(i.autoRotate*c),Math.abs(d)),i.yaw+=d}i.autoRotateStopDelay&&(i.autoRotateStopDelay-=e-u,i.autoRotateStopDelay<=0&&(i.autoRotateStopDelay=!1,j=i.autoRotate,i.autoRotate=0))}if(T.pitch&&(ge("pitch"),r=i.pitch),T.yaw&&(ge("yaw"),o=i.yaw),T.hfov&&(ge("hfov"),a=i.hfov),s>0&&!i.autoRotate){var f=.85;C[4]||C[5]||C[8]||C[9]||T.yaw||(i.yaw+=S.yaw*s*f),C[2]||C[3]||C[6]||C[7]||T.pitch||(i.pitch+=S.pitch*s*f),C[0]||C[1]||T.hfov||Pe(i.hfov+S.hfov*s*f)}if(u=e,s>0){S.yaw=.8*S.yaw+(i.yaw-o)/s*.2,S.pitch=.8*S.pitch+(i.pitch-r)/s*.2,S.hfov=.8*S.hfov+(i.hfov-a)/s*.2;var p=i.autoRotate?Math.abs(i.autoRotate):5;S.yaw=Math.min(p,Math.max(S.yaw,-p)),S.pitch=Math.min(p,Math.max(S.pitch,-p)),S.hfov=Math.min(p,Math.max(S.hfov,-p))}C[0]&&C[1]&&(S.hfov=0),(C[2]||C[6])&&(C[3]||C[7])&&(S.pitch=0),(C[4]||C[8])&&(C[5]||C[9])&&(S.yaw=0)}}(),i.autoRotateInactivityDelay>=0&&j&&Date.now()-g>i.autoRotateInactivityDelay&&!i.autoRotate&&(i.autoRotate=j,h.lookAt(p,n,f,3e3)),requestAnimationFrame(ye);else if(a&&(a.isLoading()||!0===i.dynamic&&D))requestAnimationFrame(ye);else{E=!1,u=n;var e=i.autoRotateInactivityDelay-(Date.now()-g);e>0?d=setTimeout((function(){i.autoRotate=j,h.lookAt(p,n,f,3e3),be()}),e):i.autoRotateInactivityDelay>=0&&j&&(i.autoRotate=j,h.lookAt(p,n,f,3e3),be())}}function Ae(e,t,n,r){this.w=e,this.x=t,this.y=n,this.z=r}function xe(t,n,r){var o=function(e,t,n){var r=[t?t*Math.PI/180/2:0,n?n*Math.PI/180/2:0,e?e*Math.PI/180/2:0],o=[Math.cos(r[0]),Math.cos(r[1]),Math.cos(r[2])],i=[Math.sin(r[0]),Math.sin(r[1]),Math.sin(r[2])];return new Ae(o[0]*o[1]*o[2]-i[0]*i[1]*i[2],i[0]*o[1]*o[2]-o[0]*i[1]*i[2],o[0]*i[1]*o[2]+i[0]*o[1]*i[2],o[0]*o[1]*i[2]+i[0]*i[1]*o[2])}(t,n,r);o=o.multiply(new Ae(Math.sqrt(.5),-Math.sqrt(.5),0,0));var i=e.orientation?-e.orientation*Math.PI/180/2:0;return o.multiply(new Ae(Math.cos(i),0,-Math.sin(i),0))}function Ce(e){var t=xe(e.alpha,e.beta,e.gamma).toEulerAngles();"number"==typeof B&&B<10?B+=1:10===B?(O=t[2]/Math.PI*180+i.yaw,B=!0,requestAnimationFrame(ye)):(i.pitch=t[0]/Math.PI*180,i.roll=-t[1]/Math.PI*180,i.yaw=-t[2]/Math.PI*180+O)}function _e(){if(i.sceneFadeDuration&&a.fadeImg!==n){a.fadeImg.style.opacity=0;var e=a.fadeImg;delete a.fadeImg,setTimeout((function(){N.removeChild(e),ze("scenechangefadedone")}),i.sceneFadeDuration)}i.compass?Y.style.display="inline":Y.style.display="none",function(){if(R)return;i.hotSpots?(i.hotSpots=i.hotSpots.sort((function(e,t){return e.pitch<t.pitch})),i.hotSpots.forEach(we)):i.hotSpots=[];R=!0,Se()}(),q.load.box.style.display="none",s!==n&&(N.removeChild(s),s=n),l=!0,ze("load"),be()}function we(e){e.pitch=Number(e.pitch)||0,e.yaw=Number(e.yaw)||0;var n=t.createElement("div");n.className="pnlm-hotspot-base",e.cssClass?n.className+=" "+e.cssClass:n.className+=" pnlm-hotspot pnlm-sprite pnlm-"+Ne(e.type);var r,o=t.createElement("span");if(e.text&&(o.innerHTML=Ne(e.text)),e.video){var a=t.createElement("video"),s=e.video;i.basePath&&!G(s)&&(s=i.basePath+s),a.src=Fe(s),a.controls=!0,a.style.width=e.width+"px",N.appendChild(n),o.appendChild(a)}else if(e.image){s=e.image;i.basePath&&!G(s)&&(s=i.basePath+s),(r=t.createElement("a")).href=Fe(e.URL?e.URL:s),r.target="_blank",o.appendChild(r);var l=t.createElement("img");l.src=Fe(s),l.style.width=e.width+"px",l.style.paddingTop="5px",N.appendChild(n),r.appendChild(l),o.style.maxWidth="initial"}else e.URL?((r=t.createElement("a")).href=Fe(e.URL),r.target="_blank",N.appendChild(r),n.className+=" pnlm-pointer",o.className+=" pnlm-pointer",r.appendChild(n)):(e.sceneId&&(n.onclick=n.ontouchend=function(){return n.clicked||(n.clicked=!0,Re(e.sceneId,e.targetPitch,e.targetYaw,e.targetHfov)),!1},n.className+=" pnlm-pointer",o.className+=" pnlm-pointer"),N.appendChild(n));e.createTooltipFunc?e.createTooltipFunc(n,e.createTooltipArgs):(e.text||e.video||e.image)&&(n.classList.add("pnlm-tooltip"),n.appendChild(o),o.style.width=o.scrollWidth-20+"px",o.style.marginLeft=-(o.scrollWidth-n.offsetWidth)/2+"px",o.style.marginTop=-o.scrollHeight-12+"px"),e.clickHandlerFunc&&(n.addEventListener("click",(function(t){e.clickHandlerFunc(t,e.clickHandlerArgs)}),"false"),n.className+=" pnlm-pointer",o.className+=" pnlm-pointer"),e.div=n}function ke(e){var t=Math.sin(e.pitch*Math.PI/180),n=Math.cos(e.pitch*Math.PI/180),r=Math.sin(i.pitch*Math.PI/180),o=Math.cos(i.pitch*Math.PI/180),s=Math.cos((-e.yaw+i.yaw)*Math.PI/180),l=t*r+n*s*o;if(e.yaw<=90&&e.yaw>-90&&l<=0||(e.yaw>90||e.yaw<=-90)&&l<=0)e.div.style.visibility="hidden";else{var c=Math.sin((-e.yaw+i.yaw)*Math.PI/180),u=Math.tan(i.hfov*Math.PI/360);e.div.style.visibility="visible";var d=a.getCanvas(),f=d.clientWidth,p=d.clientHeight,h=[-f/u*c*n/l/2,-f/u*(t*o-n*s*r)/l/2],m=Math.sin(i.roll*Math.PI/180),g=Math.cos(i.roll*Math.PI/180);(h=[h[0]*g-h[1]*m,h[0]*m+h[1]*g])[0]+=(f-e.div.offsetWidth)/2,h[1]+=(p-e.div.offsetHeight)/2;var v="translate("+h[0]+"px, "+h[1]+"px) translateZ(9999px) rotate("+i.roll+"deg)";e.div.style.webkitTransform=v,e.div.style.MozTransform=v,e.div.style.transform=v}}function Se(){i.hotSpots.forEach(ke)}function Ee(e){var t,n;i={};var r=["haov","vaov","vOffset","northOffset","horizonPitch","horizonRoll"];for(t in M=[],L)L.hasOwnProperty(t)&&(i[t]=L[t]);for(t in o.default)if(o.default.hasOwnProperty(t))if("strings"==t)for(n in o.default.strings)o.default.strings.hasOwnProperty(n)&&(i.strings[n]=Ne(o.default.strings[n]));else i[t]=o.default[t],r.indexOf(t)>=0&&M.push(t);if(null!==e&&""!==e&&o.scenes&&o.scenes[e]){var a=o.scenes[e];for(t in a)if(a.hasOwnProperty(t))if("strings"==t)for(n in a.strings)a.strings.hasOwnProperty(n)&&(i.strings[n]=Ne(a.strings[n]));else i[t]=a[t],r.indexOf(t)>=0&&M.push(t);i.scene=e}for(t in o)if(o.hasOwnProperty(t))if("strings"==t)for(n in o.strings)o.strings.hasOwnProperty(n)&&(i.strings[n]=Ne(o.strings[n]));else i[t]=o[t],r.indexOf(t)>=0&&M.push(t)}function Be(e){if((e=e||!1)&&"preview"in i){var r=i.preview;i.basePath&&!G(r)&&(r=i.basePath+r),(s=t.createElement("div")).className="pnlm-preview-img",s.style.backgroundImage="url('"+(Fe(r).replace(/"/g,"%22").replace(/'/g,"%27")+"')"),N.appendChild(s)}var o=i.title,l=i.author;for(var c in e&&("previewTitle"in i&&(i.title=i.previewTitle),"previewAuthor"in i&&(i.author=i.previewAuthor)),i.hasOwnProperty("title")||(q.title.innerHTML=""),i.hasOwnProperty("author")||(q.author.innerHTML=""),i.hasOwnProperty("title")||i.hasOwnProperty("author")||(q.container.style.display="none"),H.load.innerHTML="<p>"+i.strings.loadButtonLabel+"</p>",q.load.boxp.innerHTML=i.strings.loadingLabel,i)if(i.hasOwnProperty(c))switch(c){case"title":q.title.innerHTML=Ne(i[c]),q.container.style.display="inline";break;case"author":q.author.innerHTML=i.strings.bylineLabel.replace("%s",Ne(i[c])),q.container.style.display="inline";break;case"fallback":var u=t.createElement("a");u.href=Fe(i[c]),u.target="_blank",u.textContent="Click here to view this panorama in an alternative viewer.";var d=t.createElement("p");d.textContent="Your browser does not support WebGL.",d.appendChild(t.createElement("br")),d.appendChild(u),q.errorMsg.innerHTML="",q.errorMsg.appendChild(d);break;case"hfov":Pe(Number(i[c]));break;case"autoLoad":!0===i[c]&&a===n&&(q.load.box.style.display="inline",H.load.style.display="none",Z());break;case"showZoomCtrl":i[c]&&0!=i.showControls?H.zoom.style.display="block":H.zoom.style.display="none";break;case"showFullscreenCtrl":i[c]&&0!=i.showControls&&("fullscreen"in t||"mozFullScreen"in t||"webkitIsFullScreen"in t||"msFullscreenElement"in t)?H.fullscreen.style.display="block":H.fullscreen.style.display="none";break;case"hotSpotDebug":i[c]?U.style.display="block":U.style.display="none";break;case"showControls":i[c]||(H.orientation.style.display="none",H.zoom.style.display="none",H.fullscreen.style.display="none");break;case"orientationOnByDefault":i[c]&&(W===n?V=!0:!0===W&&Ie())}e&&(o?i.title=o:delete i.title,l?i.author=l:delete i.author)}function Oe(){if(l&&!w)if(_)t.exitFullscreen?t.exitFullscreen():t.mozCancelFullScreen?t.mozCancelFullScreen():t.webkitCancelFullScreen?t.webkitCancelFullScreen():t.msExitFullscreen&&t.msExitFullscreen();else try{r.requestFullscreen?r.requestFullscreen():r.mozRequestFullScreen?r.mozRequestFullScreen():r.msRequestFullscreen?r.msRequestFullscreen():r.webkitRequestFullScreen()}catch(e){}}function je(){var n=e.innerWidth==screen.width&&e.innerHeight==screen.height;t.fullscreen||t.mozFullScreen||t.webkitIsFullScreen||t.msFullscreenElement||n?(H.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),_=!0):(H.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),_=!1),a.resize(),Pe(i.hfov),be()}function Te(e){var t=i.minHfov;if("multires"==i.type&&a&&(t=Math.min(t,a.getCanvas().width/(i.multiRes.cubeResolution/90*.9))),t>i.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),i.hfov;var n=i.hfov;if(n=e<t?t:e>i.maxHfov?i.maxHfov:e,i.avoidShowingBackground&&a){var r=a.getCanvas();n=Math.min(n,360*Math.atan(Math.tan((i.maxPitch-i.minPitch)/360*Math.PI)/r.height*r.width)/Math.PI)}return n}function Pe(e){i.hfov=Te(e)}function Me(){T={},j=i.autoRotate?i.autoRotate:j,i.autoRotate=!1}function De(){w&&(q.load.box.style.display="none",q.errorMsg.style.display="none",w=!1,ze("errorcleared")),l=!1,H.load.style.display="none",q.load.box.style.display="inline",Z()}function Re(e,t,r,s,c){var u,d,f,p;if(l=!1,T={},i.sceneFadeDuration&&!c){var h=a.render(i.pitch*Math.PI/180,i.yaw*Math.PI/180,i.hfov*Math.PI/180,{returnImage:!0});if(h!==n)return(u=new Image).className="pnlm-fade-img",u.style.transition="opacity "+i.sceneFadeDuration/1e3+"s",u.style.width="100%",u.style.height="100%",u.onload=function(){Re(e,t,r,s,!0)},u.src=h,N.appendChild(u),void(a.fadeImg=u)}d="same"===t?i.pitch:t,f="same"===r?i.yaw:"sameAzimuth"===r?i.yaw+(i.northOffset||0)-(o.scenes[e].northOffset||0):r,p="same"===s?i.hfov:s,function(){var e=i.hotSpots;if(R=!1,delete i.hotSpots,e)for(var t=0;t<e.length;t++){for(var n=e[t].div;n.parentNode!=N;)n=n.parentNode;N.removeChild(n),delete e[t].div}}(),Ee(e),S.yaw=S.pitch=S.hfov=0,Be(),d!==n&&(i.pitch=d),f!==n&&(i.yaw=f),p!==n&&(i.hfov=p),ze("scenechange",e),De()}function Le(){e.removeEventListener("deviceorientation",Ce),H.orientation.classList.remove("pnlm-orientation-button-active"),B=!1}function Ie(){B=1,e.addEventListener("deviceorientation",Ce),H.orientation.classList.add("pnlm-orientation-button-active")}function Ne(e){return o.escapeHTML?String(e).split(/&/g).join("&amp;").split('"').join("&quot;").split("'").join("&#39;").split("<").join("&lt;").split(">").join("&gt;").split("/").join("&#x2f;").split("\n").join("<br>"):String(e).split("\n").join("<br>")}function Fe(e){return 0===e.trim().toLowerCase().indexOf("javascript:")?"about:blank":e}function ze(e){if(e in P)for(var t=P[e].length;t>0;t--)P[e][P[e].length-t].apply(null,[].slice.call(arguments,1))}Ae.prototype.multiply=function(e){return new Ae(this.w*e.w-this.x*e.x-this.y*e.y-this.z*e.z,this.x*e.w+this.w*e.x+this.y*e.z-this.z*e.y,this.y*e.w+this.w*e.y+this.z*e.x-this.x*e.z,this.z*e.w+this.w*e.z+this.x*e.y-this.y*e.x)},Ae.prototype.toEulerAngles=function(){return[Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),Math.asin(2*(this.w*this.y-this.z*this.x)),Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z))]},this.isLoaded=function(){return Boolean(l)},this.getPitch=function(){return i.pitch},this.setPitch=function(e,t,r,o){return(t=t==n?1e3:Number(t))?T.pitch={startTime:Date.now(),startPosition:i.pitch,endPosition:e,duration:t,callback:r,callbackArgs:o}:i.pitch=e,be(),this},this.getPitchBounds=function(){return[i.minPitch,i.maxPitch]},this.setPitchBounds=function(e){return i.minPitch=Math.max(-90,Math.min(e[0],90)),i.maxPitch=Math.max(-90,Math.min(e[1],90)),this},this.getYaw=function(){return i.yaw},this.setYaw=function(e,t,r,o){return e=(e+180)%360-180,(t=t==n?1e3:Number(t))?(i.yaw-e>180?e+=360:e-i.yaw>180&&(e-=360),T.yaw={startTime:Date.now(),startPosition:i.yaw,endPosition:e,duration:t,callback:r,callbackArgs:o}):i.yaw=e,be(),this},this.getYawBounds=function(){return[i.minYaw,i.maxYaw]},this.setYawBounds=function(e){return i.minYaw=Math.max(-180,Math.min(e[0],180)),i.maxYaw=Math.max(-180,Math.min(e[1],180)),this},this.getHfov=function(){return i.hfov},this.setHfov=function(e,t,r,o){return(t=t==n?1e3:Number(t))?T.hfov={startTime:Date.now(),startPosition:i.hfov,endPosition:Te(e),duration:t,callback:r,callbackArgs:o}:Pe(e),be(),this},this.getHfovBounds=function(){return[i.minHfov,i.maxHfov]},this.setHfovBounds=function(e){return i.minHfov=Math.max(0,e[0]),i.maxHfov=Math.max(0,e[1]),this},this.lookAt=function(e,t,r,o,i,a){return o=o==n?1e3:Number(o),e!==n&&(this.setPitch(e,o,i,a),i=n),t!==n&&(this.setYaw(t,o,i,a),i=n),r!==n&&this.setHfov(r,o,i,a),this},this.getNorthOffset=function(){return i.northOffset},this.setNorthOffset=function(e){return i.northOffset=Math.min(360,Math.max(0,e)),be(),this},this.getHorizonRoll=function(){return i.horizonRoll},this.setHorizonRoll=function(e){return i.horizonRoll=Math.min(90,Math.max(-90,e)),a.setPose(i.horizonPitch*Math.PI/180,i.horizonRoll*Math.PI/180),be(),this},this.getHorizonPitch=function(){return i.horizonPitch},this.setHorizonPitch=function(e){return i.horizonPitch=Math.min(90,Math.max(-90,e)),a.setPose(i.horizonPitch*Math.PI/180,i.horizonRoll*Math.PI/180),be(),this},this.startAutoRotate=function(e){return e=e||j||1,i.autoRotate=e,h.lookAt(p,n,f,3e3),be(),this},this.stopAutoRotate=function(){return j=i.autoRotate?i.autoRotate:j,i.autoRotate=!1,i.autoRotateInactivityDelay=-1,this},this.getRenderer=function(){return a},this.setUpdate=function(e){return D=!0===e,a===n?K():be(),this},this.mouseEventToCoords=function(e){return ee(e)},this.loadScene=function(e,t,n,r){return!1!==l&&Re(e,t,n,r),this},this.getScene=function(){return i.scene},this.addScene=function(e,t){return o.scenes[e]=t,this},this.removeScene=function(e){return!(i.scene===e||!o.scenes.hasOwnProperty(e))&&(delete o.scenes[e],!0)},this.toggleFullscreen=function(){return Oe(),this},this.getConfig=function(){return i},this.getContainer=function(){return r},this.addHotSpot=function(e,t){if(t===n&&i.scene===n)i.hotSpots.push(e);else{var r=t!==n?t:i.scene;if(!o.scenes.hasOwnProperty(r))throw"Invalid scene ID!";o.scenes[r].hasOwnProperty("hotSpots")||(o.scenes[r].hotSpots=[],r==i.scene&&(i.hotSpots=o.scenes[r].hotSpots)),o.scenes[r].hotSpots.push(e)}return t!==n&&i.scene!=t||(we(e),l&&ke(e)),this},this.removeHotSpot=function(e,t){if(t===n||i.scene==t){if(!i.hotSpots)return!1;for(var r=0;r<i.hotSpots.length;r++)if(i.hotSpots[r].hasOwnProperty("id")&&i.hotSpots[r].id===e){for(var a=i.hotSpots[r].div;a.parentNode!=N;)a=a.parentNode;return N.removeChild(a),delete i.hotSpots[r].div,i.hotSpots.splice(r,1),!0}}else{if(!o.scenes.hasOwnProperty(t))return!1;if(!o.scenes[t].hasOwnProperty("hotSpots"))return!1;for(r=0;r<o.scenes[t].hotSpots.length;r++)if(o.scenes[t].hotSpots[r].hasOwnProperty("id")&&o.scenes[t].hotSpots[r].id===e)return o.scenes[t].hotSpots.splice(r,1),!0}},this.resize=function(){a&&ve()},this.isLoaded=function(){return l},this.isOrientationSupported=function(){return W||!1},this.stopOrientation=function(){Le()},this.startOrientation=function(){W&&Ie()},this.isOrientationActive=function(){return Boolean(B)},this.on=function(e,t){return P[e]=P[e]||[],P[e].push(t),this},this.off=function(e,t){if(!e)return P={},this;if(t){var n=P[e].indexOf(t);n>=0&&P[e].splice(n,1),0==P[e].length&&delete P[e]}else delete P[e];return this},this.destroy=function(){a&&a.destroy(),k&&(F.removeEventListener("mousedown",Q,!1),F.removeEventListener("dblclick",J,!1),t.removeEventListener("mousemove",te,!1),t.removeEventListener("mouseup",ne,!1),r.removeEventListener("mousewheel",de,!1),r.removeEventListener("DOMMouseScroll",de,!1),r.removeEventListener("mozfullscreenchange",je,!1),r.removeEventListener("webkitfullscreenchange",je,!1),r.removeEventListener("msfullscreenchange",je,!1),r.removeEventListener("fullscreenchange",je,!1),e.removeEventListener("resize",ve,!1),e.removeEventListener("orientationchange",ve,!1),r.removeEventListener("keydown",fe,!1),r.removeEventListener("keyup",he,!1),r.removeEventListener("blur",pe,!1),t.removeEventListener("mouseleave",ne,!1),F.removeEventListener("touchstart",re,!1),F.removeEventListener("touchmove",oe,!1),F.removeEventListener("touchend",ie,!1),F.removeEventListener("pointerdown",le,!1),F.removeEventListener("pointermove",ce,!1),F.removeEventListener("pointerup",ue,!1),F.removeEventListener("pointerleave",ue,!1)),r.innerHTML="",r.classList.remove("pnlm-container"),I.classList.remove("pnlm-grab"),I.classList.remove("pnlm-grabbing")}}return{viewer:function(e,t){return new r(e,t)}}}(window,document)},14779:function(e,t,n){var r=n(96173);e.exports=p,e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var n,r=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(n=o.exec(e));){var d=n[0],f=n[1],p=n.index;if(s+=e.slice(a,p),a=p+d.length,f)s+=f[1];else{var h=e[a],m=n[2],g=n[3],v=n[4],b=n[5],y=n[6],A=n[7];s&&(r.push(s),s="");var x=null!=m&&null!=h&&h!==m,C="+"===y||"*"===y,_="?"===y||"*"===y,w=n[2]||u,k=v||b;r.push({name:g||i++,prefix:m||"",delimiter:w,optional:_,repeat:C,partial:x,asterisk:!!A,pattern:k?c(k):A?".*":"[^"+l(w)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&r.push(s),r}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var n=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(n[o]=new RegExp("^(?:"+e[o].pattern+")$",d(t)));return function(t,o){for(var i="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var d,f=s[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(r(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(d=l(f[p]),!n[c].test(d))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(d)+"`");i+=(0===p?u.prefix:u.delimiter)+d}}else{if(d=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!n[c].test(d))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+d+'"');i+=u.prefix+d}}else i+=u}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function d(e){return e&&e.sensitive?"":"i"}function f(e,t,n){r(t)||(n=t||n,t=[]);for(var o=(n=n||{}).strict,i=!1!==n.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var f=l(c.prefix),p="(?:"+c.pattern+")";t.push(c),c.repeat&&(p+="(?:"+f+p+")*"),a+=p=c.optional?c.partial?f+"("+p+")?":"(?:"+f+"("+p+"))?":f+"("+p+")"}}var h=l(n.delimiter||"/"),m=a.slice(-h.length)===h;return o||(a=(m?a.slice(0,-h.length):a)+"(?:"+h+"(?=$))?"),a+=i?"$":o&&m?"":"(?="+h+"|$)",u(new RegExp("^"+a,d(n)),t)}function p(e,t,n){return r(t)||(n=t||n,t=[]),n=n||{},e instanceof RegExp?function(e,t){var n=e.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)t.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return u(e,t)}(e,t):r(e)?function(e,t,n){for(var r=[],o=0;o<e.length;o++)r.push(p(e[o],t,n).source);return u(new RegExp("(?:"+r.join("|")+")",d(n)),t)}(e,t,n):function(e,t,n){return f(i(e,n),t,n)}(e,t,n)}},96173:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},99299:function(module,__unused_webpack_exports,__webpack_require__){var process=__webpack_require__(34155),Buffer=__webpack_require__(48764).lW,factory;factory=function(){return(()=>{"use strict";var __webpack_modules__=[,(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StatTimer=t.RenderingCancelledException=t.PixelsPerInch=t.PageViewport=t.PDFDateString=t.LinkTarget=t.DOMStandardFontDataFactory=t.DOMSVGFactory=t.DOMCanvasFactory=t.DOMCMapReaderFactory=void 0,t.addLinkAttributes=function(e,{url:t,target:n,rel:o,enabled:i=!0}={}){(0,r.assert)(t&&"string"==typeof t,'addLinkAttributes: A valid "url" parameter must provided.');const a=(0,r.removeNullCharacters)(t);i?e.href=e.title=a:(e.href="",e.title=`Disabled: ${a}`,e.onclick=()=>!1);let s="";switch(n){case p.NONE:break;case p.SELF:s="_self";break;case p.BLANK:s="_blank";break;case p.PARENT:s="_parent";break;case p.TOP:s="_top"}e.target=s,e.rel="string"==typeof o?o:"noopener noreferrer nofollow"},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getFilenameFromUrl=function(e){const t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.getPdfFilenameFromUrl=function(e,t="document.pdf"){if("string"!=typeof e)return t;if(h(e))return(0,r.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;const n=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,o=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/.exec(e);let i=n.exec(o[1])||n.exec(o[2])||n.exec(o[3]);if(i&&(i=i[0],i.includes("%")))try{i=n.exec(decodeURIComponent(i))[0]}catch(e){}return i||t},t.getXfaPageViewport=function(e,{scale:t=1,rotation:n=0}){const{width:r,height:o}=e.attributes.style,i=[0,0,parseInt(r),parseInt(o)];return new d({viewBox:i,scale:t,rotation:n})},t.isDataScheme=h,t.isPdfFile=function(e){return"string"==typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=m,t.loadScript=function(e,t=!1){return new Promise(((n,r)=>{const o=document.createElement("script");o.src=e,o.onload=function(e){t&&o.remove(),n(e)},o.onerror=function(){r(new Error(`Cannot load script at: ${o.src}`))},(document.head||document.documentElement).appendChild(o)}))};var r=n(2),o=n(5);const i={CSS:96,PDF:72,get PDF_TO_CSS_UNITS(){return(0,r.shadow)(this,"PDF_TO_CSS_UNITS",this.CSS/this.PDF)}};t.PixelsPerInch=i;class a extends o.BaseCanvasFactory{constructor({ownerDocument:e=globalThis.document}={}){super(),this._document=e}_createCanvas(e,t){const n=this._document.createElement("canvas");return n.width=e,n.height=t,n}}async function s(e,t=!1){if(m(e,document.baseURI)){const n=await fetch(e);if(!n.ok)throw new Error(n.statusText);return t?new Uint8Array(await n.arrayBuffer()):(0,r.stringToBytes)(await n.text())}return new Promise(((n,o)=>{const i=new XMLHttpRequest;i.open("GET",e,!0),t&&(i.responseType="arraybuffer"),i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){if(200===i.status||0===i.status){let e;if(t&&i.response?e=new Uint8Array(i.response):!t&&i.responseText&&(e=(0,r.stringToBytes)(i.responseText)),e)return void n(e)}o(new Error(i.statusText))}},i.send(null)}))}t.DOMCanvasFactory=a;class l extends o.BaseCMapReaderFactory{_fetchData(e,t){return s(e,this.isCompressed).then((e=>({cMapData:e,compressionType:t})))}}t.DOMCMapReaderFactory=l;class c extends o.BaseStandardFontDataFactory{_fetchData(e){return s(e,!0)}}t.DOMStandardFontDataFactory=c;class u extends o.BaseSVGFactory{_createSVG(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}}t.DOMSVGFactory=u;class d{constructor({viewBox:e,scale:t,rotation:n,offsetX:r=0,offsetY:o=0,dontFlip:i=!1}){this.viewBox=e,this.scale=t,this.rotation=n,this.offsetX=r,this.offsetY=o;const a=(e[2]+e[0])/2,s=(e[3]+e[1])/2;let l,c,u,d,f,p,h,m;switch((n%=360)<0&&(n+=360),n){case 180:l=-1,c=0,u=0,d=1;break;case 90:l=0,c=1,u=1,d=0;break;case 270:l=0,c=-1,u=-1,d=0;break;case 0:l=1,c=0,u=0,d=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}i&&(u=-u,d=-d),0===l?(f=Math.abs(s-e[1])*t+r,p=Math.abs(a-e[0])*t+o,h=Math.abs(e[3]-e[1])*t,m=Math.abs(e[2]-e[0])*t):(f=Math.abs(a-e[0])*t+r,p=Math.abs(s-e[1])*t+o,h=Math.abs(e[2]-e[0])*t,m=Math.abs(e[3]-e[1])*t),this.transform=[l*t,c*t,u*t,d*t,f-l*t*a-u*t*s,p-c*t*a-d*t*s],this.width=h,this.height=m}clone({scale:e=this.scale,rotation:t=this.rotation,offsetX:n=this.offsetX,offsetY:r=this.offsetY,dontFlip:o=!1}={}){return new d({viewBox:this.viewBox.slice(),scale:e,rotation:t,offsetX:n,offsetY:r,dontFlip:o})}convertToViewportPoint(e,t){return r.Util.applyTransform([e,t],this.transform)}convertToViewportRectangle(e){const t=r.Util.applyTransform([e[0],e[1]],this.transform),n=r.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}convertToPdfPoint(e,t){return r.Util.applyInverseTransform([e,t],this.transform)}}t.PageViewport=d;class f extends r.BaseException{constructor(e,t){super(e,"RenderingCancelledException"),this.type=t}}t.RenderingCancelledException=f;const p={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function h(e){const t=e.length;let n=0;for(;n<t&&""===e[n].trim();)n++;return"data:"===e.substring(n,n+5).toLowerCase()}function m(e,t){try{const{protocol:n}=t?new URL(e,t):new URL(e);return"http:"===n||"https:"===n}catch(e){return!1}}let g;t.LinkTarget=p,t.StatTimer=class{constructor(){this.started=Object.create(null),this.times=[]}time(e){e in this.started&&(0,r.warn)(`Timer is already running for ${e}`),this.started[e]=Date.now()}timeEnd(e){e in this.started||(0,r.warn)(`Timer has not been started for ${e}`),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}toString(){const e=[];let t=0;for(const e of this.times){const n=e.name;n.length>t&&(t=n.length)}for(const n of this.times){const r=n.end-n.start;e.push(`${n.name.padEnd(t)} ${r}ms\n`)}return e.join("")}},t.PDFDateString=class{static toDateObject(e){if(!e||!(0,r.isString)(e))return null;g||(g=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const t=g.exec(e);if(!t)return null;const n=parseInt(t[1],10);let o=parseInt(t[2],10);o=o>=1&&o<=12?o-1:0;let i=parseInt(t[3],10);i=i>=1&&i<=31?i:1;let a=parseInt(t[4],10);a=a>=0&&a<=23?a:0;let s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;let l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;const c=t[7]||"Z";let u=parseInt(t[8],10);u=u>=0&&u<=23?u:0;let d=parseInt(t[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===c?(a+=u,s+=d):"+"===c&&(a-=u,s-=d),new Date(Date.UTC(n,o,i,a,s,l))}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.UNSUPPORTED_FEATURES=t.TextRenderingMode=t.StreamType=t.RenderingIntentFlag=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.arrayByteLength=p,t.arraysToBytes=function(e){const t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];let n=0;for(let r=0;r<t;r++)n+=p(e[r]);let r=0;const o=new Uint8Array(n);for(let n=0;n<t;n++){let t=e[n];t instanceof Uint8Array||(t="string"==typeof t?f(t):new Uint8Array(t));const i=t.byteLength;o.set(t,r),r+=i}return o},t.assert=s,t.bytesToString=function(e){s(null!==e&&"object"==typeof e&&void 0!==e.length,"Invalid argument for bytesToString");const t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);const r=[];for(let o=0;o<t;o+=n){const i=Math.min(o+n,t),a=e.subarray(o,i);r.push(String.fromCharCode.apply(null,a))}return r.join("")},t.createObjectURL=function(e,t="",n=!1){if(URL.createObjectURL&&"undefined"!=typeof Blob&&!n)return URL.createObjectURL(new Blob([e],{type:t}));const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let o=`data:${t};base64,`;for(let t=0,n=e.length;t<n;t+=3){const i=255&e[t],a=255&e[t+1],s=255&e[t+2];o+=r[i>>2]+r[(3&i)<<4|a>>4]+r[t+1<n?(15&a)<<2|s>>6:64]+r[t+2<n?63&s:64]}return o},t.createPromiseCapability=function(){const e=Object.create(null);let t=!1;return Object.defineProperty(e,"settled",{get(){return t}}),e.promise=new Promise((function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}})),e},t.createValidAbsoluteUrl=function(e,t=null,n=null){if(!e)return null;try{if(n&&"string"==typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){const t=e.match(/\./g);t&&t.length>=2&&(e=`http://${e}`)}if(n.tryConvertEncoding)try{e=y(e)}catch(e){}}const r=t?new URL(e,t):new URL(e);if(function(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}(r))return r}catch(e){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(e=>"\n"===e?"\\n":"\r"===e?"\\r":`\\${e}`))},t.getModificationDate=function(e=new Date){return[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")].join("")},t.getVerbosityLevel=function(){return o},t.info=function(e){o>=r.INFOS&&console.log(`Info: ${e}`)},t.isArrayBuffer=function(e){return"object"==typeof e&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(let n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isBool=function(e){return"boolean"==typeof e},t.isNum=function(e){return"number"==typeof e},t.isSameOrigin=function(e,t){let n;try{if(n=new URL(e),!n.origin||"null"===n.origin)return!1}catch(e){return!1}const r=new URL(t,n);return n.origin===r.origin},t.isString=function(e){return"string"==typeof e},t.objectFromMap=function(e){const t=Object.create(null);for(const[n,r]of e)t[n]=r;return t},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e,t=!1){return"string"!=typeof e?(i("The argument for removeNullCharacters must be a string."),e):(t&&(e=e.replace(d," ")),e.replace(u,""))},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(o=e)},t.shadow=l,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=f,t.stringToPDFString=function(e){const t=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(let r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(let r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r+1)<<8|e.charCodeAt(r)));else for(let r=0;r<t;++r){const t=b[e.charCodeAt(r)];n.push(t?String.fromCharCode(t):e.charAt(r))}return n.join("")},t.stringToUTF16BEString=function(e){const t=["þÿ"];for(let n=0,r=e.length;n<r;n++){const r=e.charCodeAt(n);t.push(String.fromCharCode(r>>8&255),String.fromCharCode(255&r))}return t.join("")},t.stringToUTF8String=y,t.unreachable=a,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=i,n(3),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};const r={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=r,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let o=r.WARNINGS;function i(e){o>=r.WARNINGS&&console.log(`Warning: ${e}`)}function a(e){throw new Error(e)}function s(e,t){e||a(t)}function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}const c=function(){function e(t,n){this.constructor===e&&a("Cannot initialize BaseException."),this.message=t,this.name=n}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=c,t.PasswordException=class extends c{constructor(e,t){super(e,"PasswordException"),this.code=t}},t.UnknownErrorException=class extends c{constructor(e,t){super(e,"UnknownErrorException"),this.details=t}},t.InvalidPDFException=class extends c{constructor(e){super(e,"InvalidPDFException")}},t.MissingPDFException=class extends c{constructor(e){super(e,"MissingPDFException")}},t.UnexpectedResponseException=class extends c{constructor(e,t){super(e,"UnexpectedResponseException"),this.status=t}},t.FormatError=class extends c{constructor(e){super(e,"FormatError")}},t.AbortException=class extends c{constructor(e){super(e,"AbortException")}};const u=/\x00+/g,d=/[\x01-\x1F]/g;function f(e){s("string"==typeof e,"Invalid argument for stringToBytes");const t=e.length,n=new Uint8Array(t);for(let r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function p(e){return void 0!==e.length?e.length:(s(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}const h={get value(){return l(this,"value",function(){const e=new Uint8Array(4);return e[0]=1,1===new Uint32Array(e.buffer,0,1)[0]}())}};t.IsLittleEndianCached=h;const m={get value(){return l(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=m;const g=[...Array(256).keys()].map((e=>e.toString(16).padStart(2,"0")));class v{static makeHexColor(e,t,n){return`#${g[e]}${g[t]}${g[n]}`}static transform(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}static applyTransform(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}static applyInverseTransform(e,t){const n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}static getAxialAlignedBoundingBox(e,t){const n=v.applyTransform(e,t),r=v.applyTransform(e.slice(2,4),t),o=v.applyTransform([e[0],e[3]],t),i=v.applyTransform([e[2],e[1]],t);return[Math.min(n[0],r[0],o[0],i[0]),Math.min(n[1],r[1],o[1],i[1]),Math.max(n[0],r[0],o[0],i[0]),Math.max(n[1],r[1],o[1],i[1])]}static inverseTransform(e){const t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}static apply3dTransform(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}static singularValueDecompose2dScale(e){const t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],o=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],a=(n+i)/2,s=Math.sqrt((n+i)**2-4*(n*i-o*r))/2,l=a+s||1,c=a-s||1;return[Math.sqrt(l),Math.sqrt(c)]}static normalizeRect(e){const t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}static intersect(e,t){function n(e,t){return e-t}const r=[e[0],e[2],t[0],t[2]].sort(n),o=[e[1],e[3],t[1],t[3]].sort(n),i=[];return e=v.normalizeRect(e),t=v.normalizeRect(t),r[0]===e[0]&&r[1]===t[0]||r[0]===t[0]&&r[1]===e[0]?(i[0]=r[1],i[2]=r[2],o[0]===e[1]&&o[1]===t[1]||o[0]===t[1]&&o[1]===e[1]?(i[1]=o[1],i[3]=o[2],i):null):null}static bezierBoundingBox(e,t,n,r,o,i,a,s){const l=[],c=[[],[]];let u,d,f,p,h,m,g,v;for(let c=0;c<2;++c)if(0===c?(d=6*e-12*n+6*o,u=-3*e+9*n-9*o+3*a,f=3*n-3*e):(d=6*t-12*r+6*i,u=-3*t+9*r-9*i+3*s,f=3*r-3*t),Math.abs(u)<1e-12){if(Math.abs(d)<1e-12)continue;p=-f/d,0<p&&p<1&&l.push(p)}else g=d*d-4*f*u,v=Math.sqrt(g),g<0||(h=(-d+v)/(2*u),0<h&&h<1&&l.push(h),m=(-d-v)/(2*u),0<m&&m<1&&l.push(m));let b,y=l.length;const A=y;for(;y--;)p=l[y],b=1-p,c[0][y]=b*b*b*e+3*b*b*p*n+3*b*p*p*o+p*p*p*a,c[1][y]=b*b*b*t+3*b*b*p*r+3*b*p*p*i+p*p*p*s;return c[0][A]=e,c[1][A]=t,c[0][A+1]=a,c[1][A+1]=s,c[0].length=c[1].length=A+2,[Math.min(...c[0]),Math.min(...c[1]),Math.max(...c[0]),Math.max(...c[1])]}}t.Util=v;const b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function y(e){return decodeURIComponent(escape(e))}},(e,t,n)=>{n(4)},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;const n=!("object"!=typeof process||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=n},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStandardFontDataFactory=t.BaseSVGFactory=t.BaseCanvasFactory=t.BaseCMapReaderFactory=void 0;var r=n(2);class o{constructor(){this.constructor===o&&(0,r.unreachable)("Cannot initialize BaseCanvasFactory.")}create(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");const n=this._createCanvas(e,t);return{canvas:n,context:n.getContext("2d")}}reset(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}destroy(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}_createCanvas(e,t){(0,r.unreachable)("Abstract method `_createCanvas` called.")}}t.BaseCanvasFactory=o;class i{constructor({baseUrl:e=null,isCompressed:t=!1}){this.constructor===i&&(0,r.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=e,this.isCompressed=t}async fetch({name:e}){if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!e)throw new Error("CMap name must be specified.");const t=this.baseUrl+e+(this.isCompressed?".bcmap":""),n=this.isCompressed?r.CMapCompressionType.BINARY:r.CMapCompressionType.NONE;return this._fetchData(t,n).catch((e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${t}`)}))}_fetchData(e,t){(0,r.unreachable)("Abstract method `_fetchData` called.")}}t.BaseCMapReaderFactory=i;class a{constructor({baseUrl:e=null}){this.constructor===a&&(0,r.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=e}async fetch({filename:e}){if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!e)throw new Error("Font filename must be specified.");const t=`${this.baseUrl}${e}`;return this._fetchData(t).catch((e=>{throw new Error(`Unable to load font data at: ${t}`)}))}_fetchData(e){(0,r.unreachable)("Abstract method `_fetchData` called.")}}t.BaseStandardFontDataFactory=a;class s{constructor(){this.constructor===s&&(0,r.unreachable)("Cannot initialize BaseSVGFactory.")}create(e,t){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");const n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width",`${e}px`),n.setAttribute("height",`${t}px`),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox",`0 0 ${e} ${t}`),n}createElement(e){if("string"!=typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}_createSVG(e){(0,r.unreachable)("Abstract method `_createSVG` called.")}}t.BaseSVGFactory=s},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(2),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(7),_node_utils=__w_pdfjs_require__(8),_annotation_storage=__w_pdfjs_require__(9),_canvas=__w_pdfjs_require__(10),_worker_options=__w_pdfjs_require__(12),_is_node=__w_pdfjs_require__(4),_message_handler=__w_pdfjs_require__(13),_metadata=__w_pdfjs_require__(14),_optional_content_config=__w_pdfjs_require__(15),_transport_stream=__w_pdfjs_require__(16),_xfa_text=__w_pdfjs_require__(17);const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,DefaultCanvasFactory=_is_node.isNodeJS?_node_utils.NodeCanvasFactory:_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;const DefaultCMapReaderFactory=_is_node.isNodeJS?_node_utils.NodeCMapReaderFactory:_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;const DefaultStandardFontDataFactory=_is_node.isNodeJS?_node_utils.NodeStandardFontDataFactory:_display_utils.DOMStandardFontDataFactory;let createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){const t=new PDFDocumentLoadingTask;let n;if("string"==typeof e||e instanceof URL)n={url:e};else if((0,_util.isArrayBuffer)(e))n={data:e};else if(e instanceof PDFDataRangeTransport)n={range:e};else{if("object"!=typeof e)throw new Error("Invalid parameter in getDocument, need either string, URL, Uint8Array, or parameter object.");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");n=e}const r=Object.create(null);let o=null,i=null;for(const e in n){const t=n[e];switch(e){case"url":if("undefined"!=typeof window)try{r[e]=new URL(t,window.location).href;continue}catch(e){(0,_util.warn)(`Cannot create valid URL: "${e}".`)}else if("string"==typeof t||t instanceof URL){r[e]=t.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":o=t;continue;case"worker":i=t;continue;case"data":if(_is_node.isNodeJS&&void 0!==Buffer&&t instanceof Buffer)r[e]=new Uint8Array(t);else{if(t instanceof Uint8Array)break;if("string"==typeof t)r[e]=(0,_util.stringToBytes)(t);else if("object"!=typeof t||null===t||isNaN(t.length)){if(!(0,_util.isArrayBuffer)(t))throw new Error("Invalid PDF binary data: either typed array, string, or array-like object is expected in the data property.");r[e]=new Uint8Array(t)}else r[e]=new Uint8Array(t)}continue}r[e]=t}if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||DefaultCMapReaderFactory,r.StandardFontDataFactory=r.StandardFontDataFactory||DefaultStandardFontDataFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,r.enableXfa=!0===r.enableXfa,("string"!=typeof r.docBaseUrl||(0,_display_utils.isDataScheme)(r.docBaseUrl))&&(r.docBaseUrl=null),Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.useWorkerFetch&&(r.useWorkerFetch=r.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&r.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof r.useSystemFonts&&(r.useSystemFonts=!_is_node.isNodeJS&&!r.disableFontFace),void 0===r.ownerDocument&&(r.ownerDocument=globalThis.document),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!i){const e={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};i=e.port?PDFWorker.fromPort(e):new PDFWorker(e),t._worker=i}const a=t.docId;return i.promise.then((function(){if(t.destroyed)throw new Error("Loading aborted");const e=_fetchDocument(i,r,o,a),n=new Promise((function(e){let t;o?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,contentDispositionFilename:r.contentDispositionFilename,disableRange:r.disableRange,disableStream:r.disableStream},o):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)}));return Promise.all([e,n]).then((function([e,n]){if(t.destroyed)throw new Error("Loading aborted");const o=new _message_handler.MessageHandler(a,e,i.port),s=new WorkerTransport(o,t,n,r);t._transport=s,o.send("Ready",null)}))})).catch(t._capability.reject),t}async function _fetchDocument(e,t,n,r){if(e.destroyed)throw new Error("Worker was destroyed");n&&(t.length=n.length,t.initialData=n.initialData,t.progressiveDone=n.progressiveDone,t.contentDispositionFilename=n.contentDispositionFilename);const o=await e.messageHandler.sendWithPromise("GetDocRequest",{docId:r,apiVersion:"2.12.313",source:{data:t.data,url:t.url,password:t.password,disableAutoFetch:t.disableAutoFetch,rangeChunkSize:t.rangeChunkSize,length:t.length},maxImageSize:t.maxImageSize,disableFontFace:t.disableFontFace,docBaseUrl:t.docBaseUrl,ignoreErrors:t.ignoreErrors,isEvalSupported:t.isEvalSupported,fontExtraProperties:t.fontExtraProperties,enableXfa:t.enableXfa,useSystemFonts:t.useSystemFonts,cMapUrl:t.useWorkerFetch?t.cMapUrl:null,standardFontDataUrl:t.useWorkerFetch?t.standardFontDataUrl:null});if(e.destroyed)throw new Error("Worker was destroyed");return o}exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory;class PDFDocumentLoadingTask{static get idCounters(){return(0,_util.shadow)(this,"idCounters",{doc:0})}constructor(){this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d"+PDFDocumentLoadingTask.idCounters.doc++,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}async destroy(){this.destroyed=!0,await(this._transport?.destroy()),this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;class PDFDataRangeTransport{constructor(e,t,n=!1,r=null){this.length=e,this.initialData=t,this.progressiveDone=n,this.contentDispositionFilename=r,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(e){this._rangeListeners.push(e)}addProgressListener(e){this._progressListeners.push(e)}addProgressiveReadListener(e){this._progressiveReadListeners.push(e)}addProgressiveDoneListener(e){this._progressiveDoneListeners.push(e)}onDataRange(e,t){for(const n of this._rangeListeners)n(e,t)}onDataProgress(e,t){this._readyCapability.promise.then((()=>{for(const n of this._progressListeners)n(e,t)}))}onDataProgressiveRead(e){this._readyCapability.promise.then((()=>{for(const t of this._progressiveReadListeners)t(e)}))}onDataProgressiveDone(){this._readyCapability.promise.then((()=>{for(const e of this._progressiveDoneListeners)e()}))}transportReady(){this._readyCapability.resolve()}requestDataRange(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(e,t){this._pdfInfo=e,this._transport=t,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:async()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),this.stats||{streamTypes:{},fontTypes:{}})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(e){return this._transport.getPage(e)}getPageIndex(e){return this._transport.getPageIndex(e)}getDestinations(){return this._transport.getDestinations()}getDestination(e){return this._transport.getDestination(e)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(e=!1){return this._transport.startCleanup(e||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(e,t,n,r,o=!1){this._pageIndex=e,this._pageInfo=t,this._ownerDocument=r,this._transport=n,this._stats=o?new _display_utils.StatTimer:null,this._pdfBug=o,this.commonObjs=n.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:e,rotation:t=this.rotate,offsetX:n=0,offsetY:r=0,dontFlip:o=!1}={}){return new _display_utils.PageViewport({viewBox:this.view,scale:e,rotation:t,offsetX:n,offsetY:r,dontFlip:o})}getAnnotations({intent:e="display"}={}){const t=this._transport.getRenderingIntent(e);let n=this._annotationPromises.get(t.cacheKey);return n||(n=this._transport.getAnnotations(this._pageIndex,t.renderingIntent),this._annotationPromises.set(t.cacheKey,n),n=n.then((e=>{for(const t of e)void 0!==t.titleObj&&Object.defineProperty(t,"title",{get(){return(0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),t.titleObj.str}}),void 0!==t.contentsObj&&Object.defineProperty(t,"contents",{get(){return(0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),t.contentsObj.str}});return e}))),n}getJSActions(){return this._jsActionsPromise||=this._transport.getPageJSActions(this._pageIndex)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:e,viewport:t,intent:n="display",annotationMode:r=_util.AnnotationMode.ENABLE,transform:o=null,imageLayer:i=null,canvasFactory:a=null,background:s=null,optionalContentConfigPromise:l=null,annotationCanvasMap:c=null}){void 0!==arguments[0]?.renderInteractiveForms&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&r===_util.AnnotationMode.ENABLE&&(r=_util.AnnotationMode.ENABLE_FORMS)),void 0!==arguments[0]?.includeAnnotationStorage&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&r===_util.AnnotationMode.ENABLE&&(r=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const u=this._transport.getRenderingIntent(n,r);this.pendingCleanup=!1,l||(l=this._transport.getOptionalContentConfig());let d=this._intentStates.get(u.cacheKey);d||(d=Object.create(null),this._intentStates.set(u.cacheKey,d)),d.streamReaderCancelTimeout&&(clearTimeout(d.streamReaderCancelTimeout),d.streamReaderCancelTimeout=null);const f=a||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),p=!!(u.renderingIntent&_util.RenderingIntentFlag.PRINT);d.displayReadyCapability||(d.displayReadyCapability=(0,_util.createPromiseCapability)(),d.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(u));const h=e=>{d.renderTasks.delete(m),(this.cleanupAfterRender||p)&&(this.pendingCleanup=!0),this._tryCleanup(),e?(m.capability.reject(e),this._abortOperatorList({intentState:d,reason:e instanceof Error?e:new Error(e)})):m.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},m=new InternalRenderTask({callback:h,params:{canvasContext:e,viewport:t,transform:o,imageLayer:i,background:s},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:c,operatorList:d.operatorList,pageIndex:this._pageIndex,canvasFactory:f,useRequestAnimationFrame:!p,pdfBug:this._pdfBug});(d.renderTasks||=new Set).add(m);const g=m.task;return Promise.all([d.displayReadyCapability.promise,l]).then((([e,t])=>{this.pendingCleanup?h():(this._stats&&this._stats.time("Rendering"),m.initializeGraphics({transparency:e,optionalContentConfig:t}),m.operatorListChanged())})).catch(h),g}getOperatorList({intent:e="display",annotationMode:t=_util.AnnotationMode.ENABLE}={}){const n=this._transport.getRenderingIntent(e,t,!0);let r,o=this._intentStates.get(n.cacheKey);return o||(o=Object.create(null),this._intentStates.set(n.cacheKey,o)),o.opListReadCapability||(r=Object.create(null),r.operatorListChanged=function(){o.operatorList.lastChunk&&(o.opListReadCapability.resolve(o.operatorList),o.renderTasks.delete(r))},o.opListReadCapability=(0,_util.createPromiseCapability)(),(o.renderTasks||=new Set).add(r),o.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(n)),o.opListReadCapability.promise}streamTextContent({normalizeWhitespace:e=!1,disableCombineTextItems:t=!1,includeMarkedContent:n=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===e,combineTextItems:!0!==t,includeMarkedContent:!0===n},{highWaterMark:100,size(e){return e.items.length}})}getTextContent(e={}){if(this._transport._htmlForXfa)return this.getXfa().then((e=>_xfa_text.XfaText.textContent(e)));const t=this.streamTextContent(e);return new Promise((function(e,n){const r=t.getReader(),o={items:[],styles:Object.create(null)};!function t(){r.read().then((function({value:n,done:r}){r?e(o):(Object.assign(o.styles,n.styles),o.items.push(...n.items),t())}),n)}()}))}getStructTree(){return this._structTreePromise||=this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const e=[];for(const t of this._intentStates.values())if(this._abortOperatorList({intentState:t,reason:new Error("Page was destroyed."),force:!0}),!t.opListReadCapability)for(const n of t.renderTasks)e.push(n.completed),n.cancel();return this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(e)}cleanup(e=!1){return this.pendingCleanup=!0,this._tryCleanup(e)}_tryCleanup(e=!1){if(!this.pendingCleanup)return!1;for(const{renderTasks:e,operatorList:t}of this._intentStates.values())if(e.size>0||!t.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,!0}_startRenderPage(e,t){const n=this._intentStates.get(t);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}_renderPageChunk(e,t){for(let n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk;for(const e of t.renderTasks)e.operatorListChanged();e.lastChunk&&this._tryCleanup()}_pumpOperatorList({renderingIntent:e,cacheKey:t}){const n=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:e,cacheKey:t,annotationStorage:e&_util.RenderingIntentFlag.ANNOTATIONS_STORAGE?this._transport.annotationStorage.serializable:null}).getReader(),r=this._intentStates.get(t);r.streamReader=n;const o=()=>{n.read().then((({value:e,done:t})=>{t?r.streamReader=null:this._transport.destroyed||(this._renderPageChunk(e,r),o())}),(e=>{if(r.streamReader=null,!this._transport.destroyed){if(r.operatorList){r.operatorList.lastChunk=!0;for(const e of r.renderTasks)e.operatorListChanged();this._tryCleanup()}if(r.displayReadyCapability)r.displayReadyCapability.reject(e);else{if(!r.opListReadCapability)throw e;r.opListReadCapability.reject(e)}}}))};o()}_abortOperatorList({intentState:e,reason:t,force:n=!1}){if(e.streamReader){if(!n){if(e.renderTasks.size>0)return;if(t instanceof _display_utils.RenderingCancelledException)return void(e.streamReaderCancelTimeout=setTimeout((()=>{this._abortOperatorList({intentState:e,reason:t,force:!0}),e.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}if(e.streamReader.cancel(new _util.AbortException(t.message)).catch((()=>{})),e.streamReader=null,!this._transport.destroyed){for(const[t,n]of this._intentStates)if(n===e){this._intentStates.delete(t);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(e,t){const n={data:function(e){if(globalThis.structuredClone)return globalThis.structuredClone(e,t);const n=new WeakMap;return function e(r){if("function"==typeof r||"symbol"==typeof r||r instanceof URL)throw new Error(`LoopbackPort.postMessage - cannot clone: ${r?.toString()}`);if("object"!=typeof r||null===r)return r;if(n.has(r))return n.get(r);let o,i;if((o=r.buffer)&&(0,_util.isArrayBuffer)(o))return i=t?.includes(o)?new r.constructor(o,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,i),i;if(r instanceof Map){i=new Map,n.set(r,i);for(const[t,n]of r)i.set(t,e(n));return i}if(r instanceof Set){i=new Set,n.set(r,i);for(const t of r)i.add(e(t));return i}i=Array.isArray(r)?[]:Object.create(null),n.set(r,i);for(const t in r){let n,o=r;for(;!(n=Object.getOwnPropertyDescriptor(o,t));)o=Object.getPrototypeOf(o);void 0!==n.value&&("function"!=typeof n.value||r.hasOwnProperty?.(t))&&(i[t]=e(n.value))}return i}(e)}(e)};this._deferred.then((()=>{for(const e of this._listeners)e.call(this,n)}))}addEventListener(e,t){this._listeners.push(t)}removeEventListener(e,t){const n=this._listeners.indexOf(t);this._listeners.splice(n,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"==typeof document){const e=document?.currentScript?.src;e&&(PDFWorkerUtil.fallbackWorkerSrc=e.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.createCDNWrapper=function(e){const t=`importScripts("${e}");`;return URL.createObjectURL(new Blob([t]))};class PDFWorker{static get _workerPorts(){return(0,_util.shadow)(this,"_workerPorts",new WeakMap)}constructor({name:e=null,port:t=null,verbosity:n=(0,_util.getVerbosityLevel)()}={}){if(t&&PDFWorker._workerPorts.has(t))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=e,this.destroyed=!1,this.verbosity=n,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,t)return PDFWorker._workerPorts.set(t,this),void this._initializeFromPort(t);this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}_initialize(){if("undefined"!=typeof Worker&&!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let e=PDFWorker.workerSrc;try{(0,_util.isSameOrigin)(window.location.href,e)||(e=PDFWorkerUtil.createCDNWrapper(new URL(e,window.location).href));const t=new Worker(e),n=new _message_handler.MessageHandler("main","worker",t),r=()=>{t.removeEventListener("error",o),n.destroy(),t.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=()=>{this._webWorker||r()};t.addEventListener("error",o),n.on("test",(e=>{t.removeEventListener("error",o),this.destroyed?r():e?(this._messageHandler=n,this._port=t,this._webWorker=t,this._readyCapability.resolve(),n.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),n.destroy(),t.terminate())})),n.on("ready",(e=>{if(t.removeEventListener("error",o),this.destroyed)r();else try{i()}catch(e){this._setupFakeWorker()}}));const i=()=>{const e=new Uint8Array([255]);try{n.send("test",e,[e.buffer])}catch(t){(0,_util.warn)("Cannot use postMessage transfers."),e[0]=0,n.send("test",e)}};return void i()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then((e=>{if(this.destroyed)return void this._readyCapability.reject(new Error("Worker was destroyed"));const t=new LoopbackPort;this._port=t;const n="fake"+PDFWorkerUtil.fakeWorkerId++,r=new _message_handler.MessageHandler(n+"_worker",n,t);e.setup(r,t);const o=new _message_handler.MessageHandler(n,n+"_worker",t);this._messageHandler=o,this._readyCapability.resolve(),o.send("configure",{verbosity:this.verbosity})})).catch((e=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${e.message}".`))}))}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker._workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(e){if(!e?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this._workerPorts.has(e.port)?this._workerPorts.get(e.port):new PDFWorker(e)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch(e){return null}}static get _setupFakeWorkerGlobal(){const loader=async()=>{const mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};class WorkerTransport{#e=null;#t=new Map;#n=new Map;#r=null;constructor(e,t,n,r){this.messageHandler=e,this.loadingTask=t,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:t.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:r.ownerDocument,styleElement:r.styleElement}),this._params=r,r.useWorkerFetch||(this.CMapReaderFactory=new r.CMapReaderFactory({baseUrl:r.cMapUrl,isCompressed:r.cMapPacked}),this.StandardFontDataFactory=new r.StandardFontDataFactory({baseUrl:r.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return this.#e}getRenderingIntent(e,t=_util.AnnotationMode.ENABLE,n=!1){let r=_util.RenderingIntentFlag.DISPLAY,o="";switch(e){case"any":r=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":r=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${e}`)}switch(t){case _util.AnnotationMode.DISABLE:r+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:r+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:r+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,o=this.annotationStorage.lastModified;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${t}`)}return n&&(r+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:r,cacheKey:`${r}_${o}`}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const e=[];for(const t of this.#t.values())e.push(t._destroy());this.#t.clear(),this.#n.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const t=this.messageHandler.sendWithPromise("Terminate",null);return e.push(t),Promise.all(e).then((()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:e,loadingTask:t}=this;e.on("GetReader",((e,t)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=e=>{this._lastProgress={loaded:e.loaded,total:e.total}},t.onPull=()=>{this._fullReader.read().then((function({value:e,done:n}){n?t.close():((0,_util.assert)((0,_util.isArrayBuffer)(e),"GetReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{this._fullReader.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}})),e.on("ReaderHeadersReady",(e=>{const n=(0,_util.createPromiseCapability)(),r=this._fullReader;return r.headersReady.then((()=>{r.isStreamingSupported&&r.isRangeSupported||(this._lastProgress&&t.onProgress?.(this._lastProgress),r.onProgress=e=>{t.onProgress?.({loaded:e.loaded,total:e.total})}),n.resolve({isStreamingSupported:r.isStreamingSupported,isRangeSupported:r.isRangeSupported,contentLength:r.contentLength})}),n.reject),n.promise})),e.on("GetRangeReader",((e,t)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const n=this._networkStream.getRangeReader(e.begin,e.end);n?(t.onPull=()=>{n.read().then((function({value:e,done:n}){n?t.close():((0,_util.assert)((0,_util.isArrayBuffer)(e),"GetRangeReader - expected an ArrayBuffer."),t.enqueue(new Uint8Array(e),1,[e]))})).catch((e=>{t.error(e)}))},t.onCancel=e=>{n.cancel(e),t.ready.catch((e=>{if(!this.destroyed)throw e}))}):t.close()})),e.on("GetDoc",(({pdfInfo:e})=>{this._numPages=e.numPages,this._htmlForXfa=e.htmlForXfa,delete e.htmlForXfa,t._capability.resolve(new PDFDocumentProxy(e,this))})),e.on("DocException",(function(e){let n;switch(e.name){case"PasswordException":n=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":n=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":n=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":n=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":n=new _util.UnknownErrorException(e.message,e.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}t._capability.reject(n)})),e.on("PasswordRequest",(e=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),t.onPassword){const n=e=>{this._passwordCapability.resolve({password:e})};try{t.onPassword(n,e.code)}catch(e){this._passwordCapability.reject(e)}}else this._passwordCapability.reject(new _util.PasswordException(e.message,e.code));return this._passwordCapability.promise})),e.on("DataLoaded",(e=>{t.onProgress?.({loaded:e.length,total:e.length}),this.downloadInfoCapability.resolve(e)})),e.on("StartRenderPage",(e=>{this.destroyed||this.#t.get(e.pageIndex)._startRenderPage(e.transparency,e.cacheKey)})),e.on("commonobj",(([t,n,r])=>{if(!this.destroyed&&!this.commonObjs.has(t))switch(n){case"Font":const o=this._params;if("error"in r){const e=r.error;(0,_util.warn)(`Error during font loading: ${e}`),this.commonObjs.resolve(t,e);break}let i=null;o.pdfBug&&globalThis.FontInspector?.enabled&&(i={registerFont(e,t){globalThis.FontInspector.fontAdded(e,t)}});const a=new _font_loader.FontFaceObject(r,{isEvalSupported:o.isEvalSupported,disableFontFace:o.disableFontFace,ignoreErrors:o.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:i});this.fontLoader.bind(a).catch((n=>e.sendWithPromise("FontFallback",{id:t}))).finally((()=>{!o.fontExtraProperties&&a.data&&(a.data=null),this.commonObjs.resolve(t,a)}));break;case"FontPath":case"Image":this.commonObjs.resolve(t,r);break;default:throw new Error(`Got unknown common object type ${n}`)}})),e.on("obj",(([e,t,n,r])=>{if(this.destroyed)return;const o=this.#t.get(t);if(!o.objs.has(e))switch(n){case"Image":o.objs.resolve(e,r);const t=8e6;r?.data?.length>t&&(o.cleanupAfterRender=!0);break;case"Pattern":o.objs.resolve(e,r);break;default:throw new Error(`Got unknown object type ${n}`)}})),e.on("DocProgress",(e=>{this.destroyed||t.onProgress?.({loaded:e.loaded,total:e.total})})),e.on("DocStats",(e=>{this.destroyed||(this.#e=Object.freeze({streamTypes:Object.freeze(e.streamTypes),fontTypes:Object.freeze(e.fontTypes)}))})),e.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),e.on("FetchBuiltInCMap",(e=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(e):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter.")))),e.on("FetchStandardFontData",(e=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(e):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter."))))}_onUnsupportedFeature({featureId:e}){this.destroyed||this.loadingTask.onUnsupportedFeature?.(e)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(e){if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));const t=e-1,n=this.#n.get(t);if(n)return n;const r=this.messageHandler.sendWithPromise("GetPage",{pageIndex:t}).then((e=>{if(this.destroyed)throw new Error("Transport destroyed");const n=new PDFPageProxy(t,e,this,this._params.ownerDocument,this._params.pdfBug);return this.#t.set(t,n),n}));return this.#n.set(t,r),r}getPageIndex(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e})}getAnnotations(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}saveDocument(){return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:this._fullReader?.filename??null}).finally((()=>{this.annotationStorage.resetModified()}))}getFieldObjects(){return this._getFieldObjectsPromise||=this.messageHandler.sendWithPromise("GetFieldObjects",null)}hasJSActions(){return this._hasJSActionsPromise||=this.messageHandler.sendWithPromise("HasJSActions",null)}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}getStructTree(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then((e=>new _optional_content_config.OptionalContentConfig(e)))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return this.#r||=this.messageHandler.sendWithPromise("GetMetadata",null).then((e=>({info:e[0],metadata:e[1]?new _metadata.Metadata(e[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null})))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(e=!1){if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(const e of this.#t.values())if(!e.cleanup())throw new Error(`startCleanup: Page ${e.pageNumber} is currently rendering.`);this.commonObjs.clear(),e||this.fontLoader.clear(),this.#r=null,this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null}}get loadingParams(){const e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,enableXfa:e.enableXfa})}}class PDFObjects{constructor(){this._objs=Object.create(null)}_ensureObj(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}get(e,t=null){if(t)return this._ensureObj(e).capability.promise.then(t),null;const n=this._objs[e];if(!n||!n.resolved)throw new Error(`Requesting object that isn't resolved yet ${e}.`);return n.data}has(e){return this._objs[e]?.resolved||!1}resolve(e,t){const n=this._ensureObj(e);n.resolved=!0,n.data=t,n.capability.resolve(t)}clear(){this._objs=Object.create(null)}}class RenderTask{constructor(e){this._internalRenderTask=e,this.onContinue=null}get promise(){return this._internalRenderTask.capability.promise}cancel(){this._internalRenderTask.cancel()}}exports.RenderTask=RenderTask;class InternalRenderTask{static get canvasInUse(){return(0,_util.shadow)(this,"canvasInUse",new WeakSet)}constructor({callback:e,params:t,objs:n,commonObjs:r,annotationCanvasMap:o,operatorList:i,pageIndex:a,canvasFactory:s,useRequestAnimationFrame:l=!1,pdfBug:c=!1}){this.callback=e,this.params=t,this.objs=n,this.commonObjs=r,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=i,this._pageIndex=a,this.canvasFactory=s,this._pdfBug=c,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===l&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=t.canvasContext.canvas}get completed(){return this.capability.promise.catch((function(){}))}initializeGraphics({transparency:e=!1,optionalContentConfig:t}){if(this.cancelled)return;if(this._canvas){if(InternalRenderTask.canvasInUse.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");InternalRenderTask.canvasInUse.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:r,transform:o,imageLayer:i,background:a}=this.params;this.gfx=new _canvas.CanvasGraphics(n,this.commonObjs,this.objs,this.canvasFactory,i,t,this.annotationCanvasMap),this.gfx.beginDrawing({transform:o,viewport:r,transparency:e,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(e=null){this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&InternalRenderTask.canvasInUse.delete(this._canvas),this.callback(e||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}_continue(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame((()=>{this._nextBound().catch(this._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&InternalRenderTask.canvasInUse.delete(this._canvas),this.callback())))}}const version="2.12.313";exports.version=version;const build="a2ae56f39";exports.build=build},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontLoader=t.FontFaceObject=void 0;var r=n(2);class o{constructor({docId:e,onUnsupportedFeature:t,ownerDocument:n=globalThis.document,styleElement:i=null}){this.constructor===o&&(0,r.unreachable)("Cannot initialize BaseFontLoader."),this.docId=e,this._onUnsupportedFeature=t,this._document=n,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}insertRule(e){let t=this.styleElement;t||(t=this.styleElement=this._document.createElement("style"),t.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].appendChild(t));const n=t.sheet;n.insertRule(e,n.cssRules.length)}clear(){for(const e of this.nativeFontFaces)this._document.fonts.delete(e);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(e){if(e.attached||e.missingFile)return;if(e.attached=!0,this.isFontLoadingAPISupported){const t=e.createNativeFontFace();if(t){this.addNativeFontFace(t);try{await t.loaded}catch(n){throw this._onUnsupportedFeature({featureId:r.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,r.warn)(`Failed to load font '${t.family}': '${n}'.`),e.disableFontFace=!0,n}}return}const t=e.createFontFaceRule();if(t){if(this.insertRule(t),this.isSyncFontLoadingSupported)return;await new Promise((n=>{const r=this._queueLoadingCallback(n);this._prepareFontLoadEvent([t],[e],r)}))}}_queueLoadingCallback(e){(0,r.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){const e=!!this._document?.fonts;return(0,r.shadow)(this,"isFontLoadingAPISupported",e)}get isSyncFontLoadingSupported(){(0,r.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,r.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(e,t,n){(0,r.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let i;t.FontLoader=i,t.FontLoader=i=class extends o{constructor(e){super(e),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let e=!1;return("undefined"==typeof navigator||/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent)?.[1]>=14)&&(e=!0),(0,r.shadow)(this,"isSyncFontLoadingSupported",e)}_queueLoadingCallback(e){const t=this.loadingContext,n={id:"pdfjs-font-loading-"+t.nextRequestId++,done:!1,complete:function(){for((0,r.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){const e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}get _loadTestFont(){return(0,r.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}_prepareFontLoadEvent(e,t,n){function o(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function i(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}let a,s;const l=this._document.createElement("canvas");l.width=1,l.height=1;const c=l.getContext("2d");let u=0;const d=`lt${Date.now()}${this.loadTestFontId++}`;let f=this._loadTestFont;f=i(f,976,d.length,d);const p=1482184792;let h=o(f,16);for(a=0,s=d.length-3;a<s;a+=4)h=h-p+o(d,a)|0;a<d.length&&(h=h-p+o(d+"XXX",a)|0),f=i(f,16,4,(0,r.string32)(h));const m=`@font-face {font-family:"${d}";src:url(data:font/opentype;base64,${btoa(f)});}`;this.insertRule(m);const g=[];for(const e of t)g.push(e.loadedName);g.push(d);const v=this._document.createElement("div");v.style.visibility="hidden",v.style.width=v.style.height="10px",v.style.position="absolute",v.style.top=v.style.left="0px";for(const e of g){const t=this._document.createElement("span");t.textContent="Hi",t.style.fontFamily=e,v.appendChild(t)}this._document.body.appendChild(v),function e(t,n){if(u++,u>30)return(0,r.warn)("Load test font never loaded."),void n();c.font="30px "+t,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(d,(()=>{v.remove(),n.complete()}))}},t.FontFaceObject=class{constructor(e,{isEvalSupported:t=!0,disableFontFace:n=!1,ignoreErrors:r=!1,onUnsupportedFeature:o,fontRegistry:i=null}){this.compiledGlyphs=Object.create(null);for(const t in e)this[t]=e[t];this.isEvalSupported=!1!==t,this.disableFontFace=!0===n,this.ignoreErrors=!0===r,this._onUnsupportedFeature=o,this.fontRegistry=i}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let e;if(this.cssFontInfo){const t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style=`oblique ${this.cssFontInfo.italicAngle}deg`),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const e=(0,r.bytesToString)(this.data),t=`url(data:${this.mimetype};base64,${btoa(e)});`;let n;if(this.cssFontInfo){let e=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(e+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),n=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${e}src:${t}}`}else n=`@font-face {font-family:"${this.loadedName}";src:${t}}`;return this.fontRegistry&&this.fontRegistry.registerFont(this,t),n}getPathGenerator(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];let n;try{n=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return this._onUnsupportedFeature({featureId:r.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,r.warn)(`getPathGenerator - ignoring character: "${e}".`),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&r.IsEvalSupportedCached.value){const e=[];for(const t of n){const n=void 0!==t.args?t.args.join(","):"";e.push("c.",t.cmd,"(",n,");\n")}return this.compiledGlyphs[t]=new Function("c","size",e.join(""))}return this.compiledGlyphs[t]=function(e,t){for(const r of n)"scale"===r.cmd&&(r.args=[t,-t]),e[r.cmd].apply(e,r.args)}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NodeStandardFontDataFactory=t.NodeCanvasFactory=t.NodeCMapReaderFactory=void 0;var r=n(5),o=n(4),i=n(2);let a=class{constructor(){(0,i.unreachable)("Not implemented: NodeCanvasFactory")}};t.NodeCanvasFactory=a;let s=class{constructor(){(0,i.unreachable)("Not implemented: NodeCMapReaderFactory")}};t.NodeCMapReaderFactory=s;let l=class{constructor(){(0,i.unreachable)("Not implemented: NodeStandardFontDataFactory")}};if(t.NodeStandardFontDataFactory=l,o.isNodeJS){const e=function(e){return new Promise(((t,n)=>{__webpack_require__(70172).readFile(e,((e,r)=>{!e&&r?t(new Uint8Array(r)):n(new Error(e))}))}))};t.NodeCanvasFactory=a=class extends r.BaseCanvasFactory{_createCanvas(e,t){return __webpack_require__(93414).createCanvas(e,t)}},t.NodeCMapReaderFactory=s=class extends r.BaseCMapReaderFactory{_fetchData(t,n){return e(t).then((e=>({cMapData:e,compressionType:n})))}},t.NodeStandardFontDataFactory=l=class extends r.BaseStandardFontDataFactory{_fetchData(t){return e(t)}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationStorage=void 0;var r=n(2);t.AnnotationStorage=class{constructor(){this._storage=new Map,this._timeStamp=Date.now(),this._modified=!1,this.onSetModified=null,this.onResetModified=null}getValue(e,t){const n=this._storage.get(e);return void 0===n?t:Object.assign(t,n)}setValue(e,t){const n=this._storage.get(e);let r=!1;if(void 0!==n)for(const[e,o]of Object.entries(t))n[e]!==o&&(r=!0,n[e]=o);else r=!0,this._storage.set(e,t);r&&(this._timeStamp=Date.now(),this._setModified())}getAll(){return this._storage.size>0?(0,r.objectFromMap)(this._storage):null}get size(){return this._storage.size}_setModified(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}resetModified(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}get serializable(){return this._storage.size>0?this._storage:null}get lastModified(){return this._timeStamp.toString()}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(2),o=n(11),i=n(1);const a=4096,s=16;function l(e){if(!e.mozCurrentTransform){e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._originalResetTransform=e.resetTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[];try{const t=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"lineWidth");e._setLineWidth=t.set,e._getLineWidth=t.get,Object.defineProperty(e,"lineWidth",{set:function(e){this._setLineWidth(1.000001*e)},get:function(){return this._getLineWidth()}})}catch(e){}Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){const[e,t,n,r,o,i]=this._transformMatrix,a=e*r-t*n,s=t*n-e*r;return[r/a,t/s,n/s,e/a,(r*o-n*i)/s,(t*o-e*i)/a]}}),e.save=function(){const e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){const e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){const n=this._transformMatrix;n[4]=n[0]*e+n[2]*t+n[4],n[5]=n[1]*e+n[3]*t+n[5],this._originalTranslate(e,t)},e.scale=function(e,t){const n=this._transformMatrix;n[0]*=e,n[1]*=e,n[2]*=t,n[3]*=t,this._originalScale(e,t)},e.transform=function(t,n,r,o,i,a){const s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*n,s[1]*t+s[3]*n,s[0]*r+s[2]*o,s[1]*r+s[3]*o,s[0]*i+s[2]*a+s[4],s[1]*i+s[3]*a+s[5]],e._originalTransform(t,n,r,o,i,a)},e.setTransform=function(t,n,r,o,i,a){this._transformMatrix=[t,n,r,o,i,a],e._originalSetTransform(t,n,r,o,i,a)},e.resetTransform=function(){this._transformMatrix=[1,0,0,1,0,0],e._originalResetTransform()},e.rotate=function(e){const t=Math.cos(e),n=Math.sin(e),r=this._transformMatrix;this._transformMatrix=[r[0]*t+r[2]*n,r[1]*t+r[3]*n,r[0]*-n+r[2]*t,r[1]*-n+r[3]*t,r[4],r[5]],this._originalRotate(e)}}}class c{constructor(e){this.canvasFactory=e,this.cache=Object.create(null)}getCanvas(e,t,n,r){let o;return void 0!==this.cache[e]?(o=this.cache[e],this.canvasFactory.reset(o,t,n),o.context.setTransform(1,0,0,1,0,0)):(o=this.canvasFactory.create(t,n),this.cache[e]=o),r&&l(o.context),o}clear(){for(const e in this.cache){const t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}class u{constructor(e,t){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,e,t])}clone(){const e=Object.create(this);return e.clipBox=this.clipBox.slice(),e}setCurrentPoint(e,t){this.x=e,this.y=t}updatePathMinMax(e,t,n){[t,n]=r.Util.applyTransform([t,n],e),this.minX=Math.min(this.minX,t),this.minY=Math.min(this.minY,n),this.maxX=Math.max(this.maxX,t),this.maxY=Math.max(this.maxY,n)}updateCurvePathMinMax(e,t,n,o,i,a,s,l,c){const u=r.Util.bezierBoundingBox(t,n,o,i,a,s,l,c);this.updatePathMinMax(e,u[0],u[1]),this.updatePathMinMax(e,u[2],u[3])}getPathBoundingBox(e=o.PathType.FILL,t=null){const n=[this.minX,this.minY,this.maxX,this.maxY];if(e===o.PathType.STROKE){t||(0,r.unreachable)("Stroke bounding box must include transform.");const e=r.Util.singularValueDecompose2dScale(t),o=e[0]*this.lineWidth/2,i=e[1]*this.lineWidth/2;n[0]-=o,n[1]-=i,n[2]+=o,n[3]+=i}return n}updateClipFromPath(){const e=r.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}startNewPathAndClipBox(e){this.clipBox=e,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(e=o.PathType.FILL,t=null){return r.Util.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}function d(e,t,n=null){if("undefined"!=typeof ImageData&&t instanceof ImageData)return void e.putImageData(t,0,0);const o=t.height,i=t.width,a=o%s,l=(o-a)/s,c=0===a?l:l+1,u=e.createImageData(i,s);let d,f=0;const p=t.data,h=u.data;let m,g,v,b,y,A,x,C;if(n)switch(n.length){case 1:y=n[0],A=n[0],x=n[0],C=n[0];break;case 4:y=n[0],A=n[1],x=n[2],C=n[3]}if(t.kind===r.ImageKind.GRAYSCALE_1BPP){const t=p.byteLength,n=new Uint32Array(h.buffer,0,h.byteLength>>2),o=n.length,b=i+7>>3;let y=4294967295,A=r.IsLittleEndianCached.value?4278190080:255;for(C&&255===C[0]&&0===C[255]&&([y,A]=[A,y]),m=0;m<c;m++){for(v=m<l?s:a,d=0,g=0;g<v;g++){const e=t-f;let r=0;const o=e>b?i:8*e-7,a=-8&o;let s=0,l=0;for(;r<a;r+=8)l=p[f++],n[d++]=128&l?y:A,n[d++]=64&l?y:A,n[d++]=32&l?y:A,n[d++]=16&l?y:A,n[d++]=8&l?y:A,n[d++]=4&l?y:A,n[d++]=2&l?y:A,n[d++]=1&l?y:A;for(;r<o;r++)0===s&&(l=p[f++],s=128),n[d++]=l&s?y:A,s>>=1}for(;d<o;)n[d++]=0;e.putImageData(u,0,m*s)}}else if(t.kind===r.ImageKind.RGBA_32BPP){const t=!!(y||A||x);for(g=0,b=i*s*4,m=0;m<l;m++){if(h.set(p.subarray(f,f+b)),f+=b,t)for(let e=0;e<b;e+=4)y&&(h[e+0]=y[h[e+0]]),A&&(h[e+1]=A[h[e+1]]),x&&(h[e+2]=x[h[e+2]]);e.putImageData(u,0,g),g+=s}if(m<c){if(b=i*a*4,h.set(p.subarray(f,f+b)),t)for(let e=0;e<b;e+=4)y&&(h[e+0]=y[h[e+0]]),A&&(h[e+1]=A[h[e+1]]),x&&(h[e+2]=x[h[e+2]]);e.putImageData(u,0,g)}}else{if(t.kind!==r.ImageKind.RGB_24BPP)throw new Error(`bad image kind: ${t.kind}`);{const t=!!(y||A||x);for(v=s,b=i*v,m=0;m<c;m++){for(m>=l&&(v=a,b=i*v),d=0,g=b;g--;)h[d++]=p[f++],h[d++]=p[f++],h[d++]=p[f++],h[d++]=255;if(t)for(let e=0;e<d;e+=4)y&&(h[e+0]=y[h[e+0]]),A&&(h[e+1]=A[h[e+1]]),x&&(h[e+2]=x[h[e+2]]);e.putImageData(u,0,m*s)}}}}function f(e,t){const n=t.height,r=t.width,o=n%s,i=(n-o)/s,a=0===o?i:i+1,l=e.createImageData(r,s);let c=0;const u=t.data,d=l.data;for(let t=0;t<a;t++){const n=t<i?s:o;let a=3;for(let e=0;e<n;e++){let e,t=0;for(let n=0;n<r;n++)t||(e=u[c++],t=128),d[a]=e&t?0:255,a+=4,t>>=1}e.putImageData(l,0,t*s)}}function p(e,t){const n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"];for(let r=0,o=n.length;r<o;r++){const o=n[r];void 0!==e[o]&&(t[o]=e[o])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function h(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function m(e,t,n,r){const o=e.length;for(let i=3;i<o;i+=4){const o=e[i];if(0===o)e[i-3]=t,e[i-2]=n,e[i-1]=r;else if(o<255){const a=255-o;e[i-3]=e[i-3]*o+t*a>>8,e[i-2]=e[i-2]*o+n*a>>8,e[i-1]=e[i-1]*o+r*a>>8}}}function g(e,t,n){const r=e.length;for(let o=3;o<r;o+=4){const r=n?n[e[o]]:e[o];t[o]=t[o]*r*.00392156862745098|0}}function v(e,t,n){const r=e.length;for(let o=3;o<r;o+=4){const r=77*e[o-3]+152*e[o-2]+28*e[o-1];t[o]=n?t[o]*n[r>>8]>>8:t[o]*r>>16}}function b(e,t,n,r){const o=r[0],i=r[1],a=r[2]-o,s=r[3]-i;0!==a&&0!==s&&(function(e,t,n,r,o,i,a,s,l,c,u){const d=!!i,f=d?i[0]:0,p=d?i[1]:0,h=d?i[2]:0;let b;b="Luminosity"===o?v:g;const y=Math.min(r,Math.ceil(1048576/n));for(let o=0;o<r;o+=y){const i=Math.min(y,r-o),g=e.getImageData(s-c,o+(l-u),n,i),v=t.getImageData(s,o+l,n,i);d&&m(g.data,f,p,h),b(g.data,v.data,a),t.putImageData(v,s,o+l)}}(t.context,n,a,s,t.subtype,t.backdrop,t.transferMap,o,i,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(n.canvas,0,0),e.restore())}function y(e,t){const n=r.Util.singularValueDecompose2dScale(e);n[0]=Math.fround(n[0]),n[1]=Math.fround(n[1]);const o=Math.fround((globalThis.devicePixelRatio||1)*i.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==t?t:n[0]<=o||n[1]<=o}const A=["butt","round","square"],x=["miter","round","bevel"],C={},_={};class w{constructor(e,t,n,r,o,i,a){this.ctx=e,this.current=new u(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=t,this.objs=n,this.canvasFactory=r,this.imageLayer=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=i,this.cachedCanvases=new c(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=a,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,e&&l(e),this._cachedGetSinglePixelWidth=null}beginDrawing({transform:e,viewport:t,transparency:n=!1,background:r=null}){const o=this.ctx.canvas.width,i=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=r||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,o,i),this.ctx.restore(),n){const e=this.cachedCanvases.getCanvas("transparent",o,i,!0);this.compositeCtx=this.ctx,this.transparentCanvas=e.canvas,this.ctx=e.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),h(this.ctx),e&&(this.ctx.transform.apply(this.ctx,e),this.outputScaleX=e[0],this.outputScaleY=e[0]),this.ctx.transform.apply(this.ctx,t.transform),this.viewportScale=t.scale,this.baseTransform=this.ctx.mozCurrentTransform.slice(),this._combinedScaleFactor=Math.hypot(this.baseTransform[0],this.baseTransform[2]),this.imageLayer&&this.imageLayer.beginLayout()}executeOperatorList(e,t,n,o){const i=e.argsArray,a=e.fnArray;let s=t||0;const l=i.length;if(l===s)return s;const c=l-s>10&&"function"==typeof n,u=c?Date.now()+15:0;let d=0;const f=this.commonObjs,p=this.objs;let h;for(;;){if(void 0!==o&&s===o.nextBreakPoint)return o.breakIt(s,n),s;if(h=a[s],h!==r.OPS.dependency)this[h].apply(this,i[s]);else for(const e of i[s]){const t=e.startsWith("g_")?f:p;if(!t.has(e))return t.get(e,n),s}if(s++,s===l)return s;if(c&&++d>10){if(Date.now()>u)return n(),s;d=0}}}endDrawing(){for(;this.stateStack.length||null!==this.current.activeSMask;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.cachedPatterns.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(e,t){const n=e.width,r=e.height;let o,i,a=Math.max(Math.hypot(t[0],t[1]),1),s=Math.max(Math.hypot(t[2],t[3]),1),l=n,c=r,u="prescale1";for(;a>2&&l>1||s>2&&c>1;){let t=l,n=c;a>2&&l>1&&(t=Math.ceil(l/2),a/=l/t),s>2&&c>1&&(n=Math.ceil(c/2),s/=c/n),o=this.cachedCanvases.getCanvas(u,t,n),i=o.context,i.clearRect(0,0,t,n),i.drawImage(e,0,0,l,c,0,0,t,n),e=o.canvas,l=t,c=n,u="prescale1"===u?"prescale2":"prescale1"}return{img:e,paintWidth:l,paintHeight:c}}_createMaskCanvas(e){const t=this.ctx,n=e.width,i=e.height,a=this.current.fillColor,s=this.current.patternFill,l=this.cachedCanvases.getCanvas("maskCanvas",n,i);f(l.context,e);const c=t.mozCurrentTransform;let u=r.Util.transform(c,[1/n,0,0,-1/i,0,0]);u=r.Util.transform(u,[1,0,0,1,0,-i]);const d=r.Util.applyTransform([0,0],u),p=r.Util.applyTransform([n,i],u),h=r.Util.normalizeRect([d[0],d[1],p[0],p[1]]),m=Math.ceil(h[2]-h[0]),g=Math.ceil(h[3]-h[1]),v=this.cachedCanvases.getCanvas("fillCanvas",m,g,!0),b=v.context,A=Math.min(d[0],p[0]),x=Math.min(d[1],p[1]);b.translate(-A,-x),b.transform.apply(b,u);const C=this._scaleImage(l.canvas,b.mozCurrentTransformInverse);b.imageSmoothingEnabled=y(b.mozCurrentTransform,e.interpolate),b.drawImage(C.img,0,0,C.img.width,C.img.height,0,0,n,i),b.globalCompositeOperation="source-in";const _=r.Util.transform(b.mozCurrentTransformInverse,[1,0,0,1,-A,-x]);return b.fillStyle=s?a.getPattern(t,this,_,o.PathType.FILL):a,b.fillRect(0,0,n,i),{canvas:v.canvas,offsetX:Math.round(A),offsetY:Math.round(x)}}setLineWidth(e){this.current.lineWidth=e,this.ctx.lineWidth=e}setLineCap(e){this.ctx.lineCap=A[e]}setLineJoin(e){this.ctx.lineJoin=x[e]}setMiterLimit(e){this.ctx.miterLimit=e}setDash(e,t){const n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(let t=0,n=e.length;t<n;t++){const n=e[t],r=n[0],o=n[1];switch(r){case"LW":this.setLineWidth(o);break;case"LC":this.setLineCap(o);break;case"LJ":this.setLineJoin(o);break;case"ML":this.setMiterLimit(o);break;case"D":this.setDash(o[0],o[1]);break;case"RI":this.setRenderingIntent(o);break;case"FL":this.setFlatness(o);break;case"Font":this.setFont(o[0],o[1]);break;case"CA":this.current.strokeAlpha=n[1];break;case"ca":this.current.fillAlpha=n[1],this.ctx.globalAlpha=n[1];break;case"BM":this.ctx.globalCompositeOperation=o;break;case"SMask":this.current.activeSMask=o?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.current.transferMaps=o}}}checkSMaskState(){const e=!!this.suspendedCtx;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}beginSMaskMode(){if(this.suspendedCtx)throw new Error("beginSMaskMode called while already in smask mode");const e=this.ctx.canvas.width,t=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,r=this.cachedCanvases.getCanvas(n,e,t,!0);this.suspendedCtx=this.ctx,this.ctx=r.context;const o=this.ctx;o.setTransform.apply(o,this.suspendedCtx.mozCurrentTransform),p(this.suspendedCtx,o),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,n){t.translate(e,n),this.__originalTranslate(e,n)},e.scale=function(e,n){t.scale(e,n),this.__originalScale(e,n)},e.transform=function(e,n,r,o,i,a){t.transform(e,n,r,o,i,a),this.__originalTransform(e,n,r,o,i,a)},e.setTransform=function(e,n,r,o,i,a){t.setTransform(e,n,r,o,i,a),this.__originalSetTransform(e,n,r,o,i,a)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,n){t.moveTo(e,n),this.__originalMoveTo(e,n)},e.lineTo=function(e,n){t.lineTo(e,n),this.__originalLineTo(e,n)},e.bezierCurveTo=function(e,n,r,o,i,a){t.bezierCurveTo(e,n,r,o,i,a),this.__originalBezierCurveTo(e,n,r,o,i,a)},e.rect=function(e,n,r,o){t.rect(e,n,r,o),this.__originalRect(e,n,r,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.suspendedCtx)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),p(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.current.activeSMask=null,this.suspendedCtx=null}compose(e){if(!this.current.activeSMask)return;e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const t=this.current.activeSMask;b(this.suspendedCtx,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}save(){this.ctx.save();const e=this.current;this.stateStack.push(e),this.current=e.clone()}restore(){0===this.stateStack.length&&this.current.activeSMask&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)}transform(e,t,n,r,o,i){this.ctx.transform(e,t,n,r,o,i),this._cachedGetSinglePixelWidth=null}constructPath(e,t){const n=this.ctx,o=this.current;let i,a,s=o.x,l=o.y;for(let c=0,u=0,d=e.length;c<d;c++)switch(0|e[c]){case r.OPS.rectangle:s=t[u++],l=t[u++];const e=t[u++],c=t[u++],d=s+e,f=l+c;n.moveTo(s,l),0===e||0===c?n.lineTo(d,f):(n.lineTo(d,l),n.lineTo(d,f),n.lineTo(s,f)),o.updatePathMinMax(n.mozCurrentTransform,s,l),o.updatePathMinMax(n.mozCurrentTransform,d,f),n.closePath();break;case r.OPS.moveTo:s=t[u++],l=t[u++],n.moveTo(s,l),o.updatePathMinMax(n.mozCurrentTransform,s,l);break;case r.OPS.lineTo:s=t[u++],l=t[u++],n.lineTo(s,l),o.updatePathMinMax(n.mozCurrentTransform,s,l);break;case r.OPS.curveTo:i=s,a=l,s=t[u+4],l=t[u+5],n.bezierCurveTo(t[u],t[u+1],t[u+2],t[u+3],s,l),o.updateCurvePathMinMax(n.mozCurrentTransform,i,a,t[u],t[u+1],t[u+2],t[u+3],s,l),u+=6;break;case r.OPS.curveTo2:i=s,a=l,n.bezierCurveTo(s,l,t[u],t[u+1],t[u+2],t[u+3]),o.updateCurvePathMinMax(n.mozCurrentTransform,i,a,s,l,t[u],t[u+1],t[u+2],t[u+3]),s=t[u+2],l=t[u+3],u+=4;break;case r.OPS.curveTo3:i=s,a=l,s=t[u+2],l=t[u+3],n.bezierCurveTo(t[u],t[u+1],s,l,s,l),o.updateCurvePathMinMax(n.mozCurrentTransform,i,a,t[u],t[u+1],s,l,s,l),u+=4;break;case r.OPS.closePath:n.closePath()}o.setCurrentPoint(s,l)}closePath(){this.ctx.closePath()}stroke(e){e=void 0===e||e;const t=this.ctx,n=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,this.contentVisible)if("object"==typeof n&&n?.getPattern){const e=this.getSinglePixelWidth();t.save(),t.strokeStyle=n.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.STROKE),t.lineWidth=Math.max(e,this.current.lineWidth),t.stroke(),t.restore()}else{const e=this.getSinglePixelWidth();e<0&&-e>=this.current.lineWidth?(t.save(),t.resetTransform(),t.lineWidth=Math.round(this._combinedScaleFactor),t.stroke(),t.restore()):(t.lineWidth=Math.max(e,this.current.lineWidth),t.stroke())}e&&this.consumePath(this.current.getClippedPathBoundingBox()),t.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(e){e=void 0===e||e;const t=this.ctx,n=this.current.fillColor;let r=!1;this.current.patternFill&&(t.save(),t.fillStyle=n.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.FILL),r=!0);const i=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==i&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),r&&t.restore(),e&&this.consumePath(i)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=C}eoClip(){this.pendingClip=_}beginText(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(let n=0;n<e.length;n++){const r=e[n];t.setTransform.apply(t,r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()}setCharSpacing(e){this.current.charSpacing=e}setWordSpacing(e){this.current.wordSpacing=e}setHScale(e){this.current.textHScale=e/100}setLeading(e){this.current.leading=-e}setFont(e,t){const n=this.commonObjs.get(e),o=this.current;if(!n)throw new Error(`Can't find font for ${e}`);if(o.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX,0!==o.fontMatrix[0]&&0!==o.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+e),t<0?(t=-t,o.fontDirection=-1):o.fontDirection=1,this.current.font=n,this.current.fontSize=t,n.isType3Font)return;const i=n.loadedName||"sans-serif";let a="normal";n.black?a="900":n.bold&&(a="bold");const s=n.italic?"italic":"normal",l=`"${i}", ${n.fallbackName}`;let c=t;t<16?c=16:t>100&&(c=100),this.current.fontSizeScale=t/c,this.ctx.font=`${s} ${a} ${c}px ${l}`}setTextRenderingMode(e){this.current.textRenderingMode=e}setTextRise(e){this.current.textRise=e}moveText(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}setTextMatrix(e,t,n,r,o,i){this.current.textMatrix=[e,t,n,r,o,i],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(e,t,n,o,i){const a=this.ctx,s=this.current,l=s.font,c=s.textRenderingMode,u=s.fontSize/s.fontSizeScale,d=c&r.TextRenderingMode.FILL_STROKE_MASK,f=!!(c&r.TextRenderingMode.ADD_TO_PATH_FLAG),p=s.patternFill&&!l.missingFile;let h;(l.disableFontFace||f||p)&&(h=l.getPathGenerator(this.commonObjs,e)),l.disableFontFace||p?(a.save(),a.translate(t,n),a.beginPath(),h(a,u),o&&a.setTransform.apply(a,o),d!==r.TextRenderingMode.FILL&&d!==r.TextRenderingMode.FILL_STROKE||a.fill(),d!==r.TextRenderingMode.STROKE&&d!==r.TextRenderingMode.FILL_STROKE||(i&&(a.resetTransform(),a.lineWidth=Math.round(this._combinedScaleFactor)),a.stroke()),a.restore()):(d!==r.TextRenderingMode.FILL&&d!==r.TextRenderingMode.FILL_STROKE||a.fillText(e,t,n),d!==r.TextRenderingMode.STROKE&&d!==r.TextRenderingMode.FILL_STROKE||(i?(a.save(),a.moveTo(t,n),a.resetTransform(),a.lineWidth=Math.round(this._combinedScaleFactor),a.strokeText(e,0,0),a.restore()):a.strokeText(e,t,n))),f&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:a.mozCurrentTransform,x:t,y:n,fontSize:u,addToPath:h})}get isFontSubpixelAAEnabled(){const{context:e}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);e.scale(1.5,1),e.fillText("I",0,10);const t=e.getImageData(0,0,10,10).data;let n=!1;for(let e=3;e<t.length;e+=4)if(t[e]>0&&t[e]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)}showText(e){const t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);const i=t.fontSize;if(0===i)return;const a=this.ctx,s=t.fontSizeScale,l=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,d=t.textHScale*u,f=e.length,p=n.vertical,h=p?1:-1,m=n.defaultVMetrics,g=i*t.fontMatrix[0],v=t.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;let b;if(a.save(),a.transform.apply(a,t.textMatrix),a.translate(t.x,t.y+t.textRise),u>0?a.scale(d,-1):a.scale(d,1),t.patternFill){a.save();const e=t.fillColor.getPattern(a,this,a.mozCurrentTransformInverse,o.PathType.FILL);b=a.mozCurrentTransform,a.restore(),a.fillStyle=e}let y=t.lineWidth,A=!1;const x=t.textMatrixScale;if(0===x||0===y){const e=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;e!==r.TextRenderingMode.STROKE&&e!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,y=this.getSinglePixelWidth(),A=y<0)}else y/=x;1!==s&&(a.scale(s,s),y/=s),a.lineWidth=y;let C,_=0;for(C=0;C<f;++C){const t=e[C];if((0,r.isNum)(t)){_+=h*t*i/1e3;continue}let o=!1;const d=(t.isSpace?c:0)+l,f=t.fontChar,y=t.accent;let x,w,k,S=t.width;if(p){const e=t.vmetric||m,n=-(t.vmetric?e[1]:.5*S)*g,r=e[2]*g;S=e?-e[0]:S,x=n/s,w=(_+r)/s}else x=_/s,w=0;if(n.remeasure&&S>0){const e=1e3*a.measureText(f).width/i*s;if(S<e&&this.isFontSubpixelAAEnabled){const t=S/e;o=!0,a.save(),a.scale(t,1),x/=t}else S!==e&&(x+=(S-e)/2e3*i/s)}if(this.contentVisible&&(t.isInFont||n.missingFile))if(v&&!y)a.fillText(f,x,w);else if(this.paintChar(f,x,w,b,A),y){const e=x+i*y.offset.x/s,t=w-i*y.offset.y/s;this.paintChar(y.fontChar,e,t,b,A)}k=p?S*g-d*u:S*g+d*u,_+=k,o&&a.restore()}p?t.y-=_:t.x+=_*d,a.restore(),this.compose()}showType3Text(e){const t=this.ctx,n=this.current,o=n.font,i=n.fontSize,a=n.fontDirection,s=o.vertical?1:-1,l=n.charSpacing,c=n.wordSpacing,u=n.textHScale*a,d=n.fontMatrix||r.FONT_IDENTITY_MATRIX,f=e.length;let p,h,m,g;if(n.textRenderingMode!==r.TextRenderingMode.INVISIBLE&&0!==i){for(this._cachedGetSinglePixelWidth=null,t.save(),t.transform.apply(t,n.textMatrix),t.translate(n.x,n.y),t.scale(u,a),p=0;p<f;++p){if(h=e[p],(0,r.isNum)(h)){g=s*h*i/1e3,this.ctx.translate(g,0),n.x+=g*u;continue}const a=(h.isSpace?c:0)+l,f=o.charProcOperatorList[h.operatorListId];f?(this.contentVisible&&(this.processingType3=h,this.save(),t.scale(i,i),t.transform.apply(t,d),this.executeOperatorList(f),this.restore()),m=r.Util.applyTransform([h.width,0],d)[0]*i+a,t.translate(m,0),n.x+=m*u):(0,r.warn)(`Type3 character "${h.operatorListId}" is not available.`)}t.restore(),this.processingType3=null}}setCharWidth(e,t){}setCharWidthAndBounds(e,t,n,r,o,i){this.ctx.rect(n,r,o-n,i-r),this.clip(),this.endPath()}getColorN_Pattern(e){let t;if("TilingPattern"===e[0]){const n=e[1],r=this.baseTransform||this.ctx.mozCurrentTransform.slice(),i={createCanvasGraphics:e=>new w(e,this.commonObjs,this.objs,this.canvasFactory)};t=new o.TilingPattern(e,n,this.ctx,i,r)}else t=this._getPattern(e[1],e[2]);return t}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(e,t,n){const o=r.Util.makeHexColor(e,t,n);this.ctx.strokeStyle=o,this.current.strokeColor=o}setFillRGBColor(e,t,n){const o=r.Util.makeHexColor(e,t,n);this.ctx.fillStyle=o,this.current.fillColor=o,this.current.patternFill=!1}_getPattern(e,t=null){let n;return this.cachedPatterns.has(e)?n=this.cachedPatterns.get(e):(n=(0,o.getShadingPattern)(this.objs.get(e)),this.cachedPatterns.set(e,n)),t&&(n.matrix=t),n}shadingFill(e){if(!this.contentVisible)return;const t=this.ctx;this.save();const n=this._getPattern(e);t.fillStyle=n.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.SHADING);const i=t.mozCurrentTransformInverse;if(i){const e=t.canvas,n=e.width,o=e.height,a=r.Util.applyTransform([0,0],i),s=r.Util.applyTransform([0,o],i),l=r.Util.applyTransform([n,0],i),c=r.Util.applyTransform([n,o],i),u=Math.min(a[0],s[0],l[0],c[0]),d=Math.min(a[1],s[1],l[1],c[1]),f=Math.max(a[0],s[0],l[0],c[0]),p=Math.max(a[1],s[1],l[1],c[1]);this.ctx.fillRect(u,d,f-u,p-d)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,r.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,r.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t)){const e=t[2]-t[0],n=t[3]-t[1];this.ctx.rect(t[0],t[1],e,n),this.current.updatePathMinMax(this.ctx.mozCurrentTransform,t[0],t[1]),this.current.updatePathMinMax(this.ctx.mozCurrentTransform,t[2],t[3]),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(e){if(!this.contentVisible)return;this.save();const t=this.suspendedCtx;this.current.activeSMask&&(this.suspendedCtx=null,this.current.activeSMask=null);const n=this.ctx;e.isolated||(0,r.info)("TODO: Support non-isolated groups."),e.knockout&&(0,r.warn)("Knockout groups not supported.");const o=n.mozCurrentTransform;if(e.matrix&&n.transform.apply(n,e.matrix),!e.bbox)throw new Error("Bounding box is required.");let i=r.Util.getAxialAlignedBoundingBox(e.bbox,n.mozCurrentTransform);const s=[0,0,n.canvas.width,n.canvas.height];i=r.Util.intersect(i,s)||[0,0,0,0];const l=Math.floor(i[0]),c=Math.floor(i[1]);let u=Math.max(Math.ceil(i[2])-l,1),d=Math.max(Math.ceil(i[3])-c,1),f=1,h=1;u>a&&(f=u/a,u=a),d>a&&(h=d/a,d=a),this.current.startNewPathAndClipBox([0,0,u,d]);let m="groupAt"+this.groupLevel;e.smask&&(m+="_smask_"+this.smaskCounter++%2);const g=this.cachedCanvases.getCanvas(m,u,d,!0),v=g.context;v.scale(1/f,1/h),v.translate(-l,-c),v.transform.apply(v,o),e.smask?this.smaskStack.push({canvas:g.canvas,context:v,offsetX:l,offsetY:c,scaleX:f,scaleY:h,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(n.setTransform(1,0,0,1,0,0),n.translate(l,c),n.scale(f,h),n.save()),p(n,v),this.ctx=v,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push({ctx:n,suspendedCtx:t}),this.groupLevel++}endGroup(e){if(!this.contentVisible)return;this.groupLevel--;const t=this.ctx,{ctx:n,suspendedCtx:o}=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,o&&(this.suspendedCtx=o),e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const e=this.ctx.mozCurrentTransform;this.restore(),this.ctx.save(),this.ctx.setTransform.apply(this.ctx,e);const n=r.Util.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],e);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(n)}}beginAnnotations(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)}endAnnotations(){this.restore()}beginAnnotation(e,t,n,o,i){if(this.save(),Array.isArray(t)&&4===t.length){const o=t[2]-t[0],a=t[3]-t[1];if(i&&this.annotationCanvasMap){(n=n.slice())[4]-=t[0],n[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=o,t[3]=a;const[i,s]=r.Util.singularValueDecompose2dScale(this.ctx.mozCurrentTransform),{viewportScale:c}=this,u=Math.ceil(o*this.outputScaleX*c),d=Math.ceil(a*this.outputScaleY*c);this.annotationCanvas=this.canvasFactory.create(u,d);const{canvas:f,context:p}=this.annotationCanvas;f.style.width=`calc(${o}px * var(--viewport-scale-factor))`,f.style.height=`calc(${a}px * var(--viewport-scale-factor))`,this.annotationCanvasMap.set(e,f),this.annotationCanvas.savedCtx=this.ctx,this.ctx=p,this.ctx.setTransform(i,0,0,-s,0,a*s),l(this.ctx),h(this.ctx)}else h(this.ctx),this.ctx.rect(t[0],t[1],o,a),this.clip(),this.endPath()}this.current=new u(this.ctx.canvas.width,this.ctx.canvas.height),this.transform.apply(this,n),this.transform.apply(this,o)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas),this.restore()}paintImageMaskXObject(e){if(!this.contentVisible)return;const t=this.ctx,n=e.width,r=e.height,o=this.processingType3;if(o&&void 0===o.compiled&&(o.compiled=n<=1e3&&r<=1e3?function(e){const t=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),n=e.width,r=e.height,o=n+1;let i,a,s,l;const c=new Uint8Array(o*(r+1)),u=n+7&-8,d=e.data,f=new Uint8Array(u*r);let p=0;for(i=0,a=d.length;i<a;i++){const e=d[i];let t=128;for(;t>0;)f[p++]=e&t?0:255,t>>=1}let h=0;for(p=0,0!==f[p]&&(c[0]=1,++h),s=1;s<n;s++)f[p]!==f[p+1]&&(c[s]=f[p]?2:1,++h),p++;for(0!==f[p]&&(c[s]=2,++h),i=1;i<r;i++){p=i*u,l=i*o,f[p-u]!==f[p]&&(c[l]=f[p]?1:8,++h);let e=(f[p]?4:0)+(f[p-u]?8:0);for(s=1;s<n;s++)e=(e>>2)+(f[p+1]?4:0)+(f[p-u+1]?8:0),t[e]&&(c[l+s]=t[e],++h),p++;if(f[p-u]!==f[p]&&(c[l+s]=f[p]?2:4,++h),h>1e3)return null}for(p=u*(r-1),l=i*o,0!==f[p]&&(c[l]=8,++h),s=1;s<n;s++)f[p]!==f[p+1]&&(c[l+s]=f[p]?4:8,++h),p++;if(0!==f[p]&&(c[l+s]=4,++h),h>1e3)return null;const m=new Int32Array([0,o,-1,0,-o,0,0,0,1]),g=[];for(i=0;h&&i<=r;i++){let e=i*o;const t=e+n;for(;e<t&&!c[e];)e++;if(e===t)continue;const r=[e%o,i],a=e;let s=c[e];do{const t=m[s];do{e+=t}while(!c[e]);const n=c[e];5!==n&&10!==n?(s=n,c[e]=0):(s=n&51*s>>4,c[e]&=s>>2|s<<2),r.push(e%o,e/o|0),c[e]||--h}while(a!==e);g.push(r),--i}return function(e){e.save(),e.scale(1/n,-1/r),e.translate(0,-r),e.beginPath();for(let t=0,n=g.length;t<n;t++){const n=g[t];e.moveTo(n[0],n[1]);for(let t=2,r=n.length;t<r;t+=2)e.lineTo(n[t],n[t+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:n,height:r}):null),o?.compiled)return void o.compiled(t);const i=this._createMaskCanvas(e),a=i.canvas;t.save(),t.setTransform(1,0,0,1,0,0),t.drawImage(a,i.offsetX,i.offsetY),t.restore(),this.compose()}paintImageMaskXObjectRepeat(e,t,n=0,o=0,i,a){if(!this.contentVisible)return;const s=this.ctx;s.save();const l=s.mozCurrentTransform;s.transform(t,n,o,i,0,0);const c=this._createMaskCanvas(e);s.setTransform(1,0,0,1,0,0);for(let e=0,u=a.length;e<u;e+=2){const u=r.Util.transform(l,[t,n,o,i,a[e],a[e+1]]),[d,f]=r.Util.applyTransform([0,0],u);s.drawImage(c.canvas,d,f)}s.restore(),this.compose()}paintImageMaskXObjectGroup(e){if(!this.contentVisible)return;const t=this.ctx,n=this.current.fillColor,r=this.current.patternFill;for(let i=0,a=e.length;i<a;i++){const a=e[i],s=a.width,l=a.height,c=this.cachedCanvases.getCanvas("maskCanvas",s,l),u=c.context;u.save(),f(u,a),u.globalCompositeOperation="source-in",u.fillStyle=r?n.getPattern(u,this,t.mozCurrentTransformInverse,o.PathType.FILL):n,u.fillRect(0,0,s,l),u.restore(),t.save(),t.transform.apply(t,a.transform),t.scale(1,-1),t.drawImage(c.canvas,0,0,s,l,0,-1,1,1),t.restore()}this.compose()}paintImageXObject(e){if(!this.contentVisible)return;const t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image isn't ready yet")}paintImageXObjectRepeat(e,t,n,o){if(!this.contentVisible)return;const i=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(!i)return void(0,r.warn)("Dependent image isn't ready yet");const a=i.width,s=i.height,l=[];for(let e=0,r=o.length;e<r;e+=2)l.push({transform:[t,0,0,n,o[e],o[e+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(i,l)}paintInlineImageXObject(e){if(!this.contentVisible)return;const t=e.width,n=e.height,r=this.ctx;let o;if(this.save(),r.scale(1/t,-1/n),"function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)o=e;else{const r=this.cachedCanvases.getCanvas("inlineImage",t,n);d(r.context,e,this.current.transferMaps),o=r.canvas}const i=this._scaleImage(o,r.mozCurrentTransformInverse);if(r.imageSmoothingEnabled=y(r.mozCurrentTransform,e.interpolate),r.drawImage(i.img,0,0,i.paintWidth,i.paintHeight,0,-n,t,n),this.imageLayer){const o=this.getCanvasPosition(0,-n);this.imageLayer.appendImage({imgData:e,left:o[0],top:o[1],width:t/r.mozCurrentTransformInverse[0],height:n/r.mozCurrentTransformInverse[3]})}this.compose(),this.restore()}paintInlineImageXObjectGroup(e,t){if(!this.contentVisible)return;const n=this.ctx,r=e.width,o=e.height,i=this.cachedCanvases.getCanvas("inlineImage",r,o);d(i.context,e,this.current.transferMaps);for(let a=0,s=t.length;a<s;a++){const s=t[a];if(n.save(),n.transform.apply(n,s.transform),n.scale(1,-1),n.drawImage(i.canvas,s.x,s.y,s.w,s.h,0,-1,1,1),this.imageLayer){const t=this.getCanvasPosition(s.x,s.y);this.imageLayer.appendImage({imgData:e,left:t[0],top:t[1],width:r,height:o})}n.restore()}this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(e){}markPointProps(e,t){}beginMarkedContent(e){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(e){this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(e);const t=this.ctx;this.pendingClip&&(this.pendingClip===_?t.clip("evenodd"):t.clip(),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),t.beginPath()}getSinglePixelWidth(){if(null===this._cachedGetSinglePixelWidth){const e=this.ctx.mozCurrentTransform,t=Math.abs(e[0]*e[3]-e[2]*e[1]),n=e[0]**2+e[2]**2,r=e[1]**2+e[3]**2,o=Math.sqrt(Math.max(n,r))/t;n!==r&&this._combinedScaleFactor*o>1?this._cachedGetSinglePixelWidth=-this._combinedScaleFactor*o:t>Number.EPSILON?this._cachedGetSinglePixelWidth=o:this._cachedGetSinglePixelWidth=1}return this._cachedGetSinglePixelWidth}getCanvasPosition(e,t){const n=this.ctx.mozCurrentTransform;return[n[0]*e+n[2]*t+n[4],n[1]*e+n[3]*t+n[5]]}isContentVisible(){for(let e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}}t.CanvasGraphics=w;for(const e in r.OPS)void 0!==w.prototype[e]&&(w.prototype[r.OPS[e]]=w.prototype[e])},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.TilingPattern=t.PathType=void 0,t.getShadingPattern=function(e){switch(e[0]){case"RadialAxial":return new s(e);case"Mesh":return new u(e);case"Dummy":return new d}throw new Error(`Unknown IR type: ${e[0]}`)};var r=n(2);const o={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function i(e,t){if(!t||"undefined"==typeof Path2D)return;const n=t[2]-t[0],r=t[3]-t[1],o=new Path2D;o.rect(t[0],t[1],n,r),e.clip(o)}t.PathType=o;class a{constructor(){this.constructor===a&&(0,r.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,r.unreachable)("Abstract method `getPattern` called.")}}class s extends a{constructor(e){super(),this._type=e[1],this._bbox=e[2],this._colorStops=e[3],this._p0=e[4],this._p1=e[5],this._r0=e[6],this._r1=e[7],this.matrix=null}_createGradient(e){let t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const e of this._colorStops)t.addColorStop(e[0],e[1]);return t}getPattern(e,t,n,a){let s;if(a===o.STROKE||a===o.FILL){const o=t.current.getClippedPathBoundingBox(a,e.mozCurrentTransform)||[0,0,0,0],l=Math.ceil(o[2]-o[0])||1,c=Math.ceil(o[3]-o[1])||1,u=t.cachedCanvases.getCanvas("pattern",l,c,!0),d=u.context;d.clearRect(0,0,d.canvas.width,d.canvas.height),d.beginPath(),d.rect(0,0,d.canvas.width,d.canvas.height),d.translate(-o[0],-o[1]),n=r.Util.transform(n,[1,0,0,1,o[0],o[1]]),d.transform.apply(d,t.baseTransform),this.matrix&&d.transform.apply(d,this.matrix),i(d,this._bbox),d.fillStyle=this._createGradient(d),d.fill(),s=e.createPattern(u.canvas,"no-repeat");const f=new DOMMatrix(n);try{s.setTransform(f)}catch(e){(0,r.warn)(`RadialAxialShadingPattern.getPattern: "${e?.message}".`)}}else i(e,this._bbox),s=this._createGradient(e);return s}}function l(e,t,n,r,o,i,a,s){const l=t.coords,c=t.colors,u=e.data,d=4*e.width;let f;l[n+1]>l[r+1]&&(f=n,n=r,r=f,f=i,i=a,a=f),l[r+1]>l[o+1]&&(f=r,r=o,o=f,f=a,a=s,s=f),l[n+1]>l[r+1]&&(f=n,n=r,r=f,f=i,i=a,a=f);const p=(l[n]+t.offsetX)*t.scaleX,h=(l[n+1]+t.offsetY)*t.scaleY,m=(l[r]+t.offsetX)*t.scaleX,g=(l[r+1]+t.offsetY)*t.scaleY,v=(l[o]+t.offsetX)*t.scaleX,b=(l[o+1]+t.offsetY)*t.scaleY;if(h>=b)return;const y=c[i],A=c[i+1],x=c[i+2],C=c[a],_=c[a+1],w=c[a+2],k=c[s],S=c[s+1],E=c[s+2],B=Math.round(h),O=Math.round(b);let j,T,P,M,D,R,L,I;for(let e=B;e<=O;e++){if(e<g){let t;t=e<h?0:(h-e)/(h-g),j=p-(p-m)*t,T=y-(y-C)*t,P=A-(A-_)*t,M=x-(x-w)*t}else{let t;t=e>b?1:g===b?0:(g-e)/(g-b),j=m-(m-v)*t,T=C-(C-k)*t,P=_-(_-S)*t,M=w-(w-E)*t}let t;t=e<h?0:e>b?1:(h-e)/(h-b),D=p-(p-v)*t,R=y-(y-k)*t,L=A-(A-S)*t,I=x-(x-E)*t;const n=Math.round(Math.min(j,D)),r=Math.round(Math.max(j,D));let o=d*e+4*n;for(let e=n;e<=r;e++)t=(j-e)/(j-D),t<0?t=0:t>1&&(t=1),u[o++]=T-(T-R)*t|0,u[o++]=P-(P-L)*t|0,u[o++]=M-(M-I)*t|0,u[o++]=255}}function c(e,t,n){const r=t.coords,o=t.colors;let i,a;switch(t.type){case"lattice":const s=t.verticesPerRow,c=Math.floor(r.length/s)-1,u=s-1;for(i=0;i<c;i++){let t=i*s;for(let i=0;i<u;i++,t++)l(e,n,r[t],r[t+1],r[t+s],o[t],o[t+1],o[t+s]),l(e,n,r[t+s+1],r[t+1],r[t+s],o[t+s+1],o[t+1],o[t+s])}break;case"triangles":for(i=0,a=r.length;i<a;i+=3)l(e,n,r[i],r[i+1],r[i+2],o[i],o[i+1],o[i+2]);break;default:throw new Error("illegal figure")}}class u extends a{constructor(e){super(),this._coords=e[2],this._colors=e[3],this._figures=e[4],this._bounds=e[5],this._bbox=e[7],this._background=e[8],this.matrix=null}_createMeshCanvas(e,t,n){const r=Math.floor(this._bounds[0]),o=Math.floor(this._bounds[1]),i=Math.ceil(this._bounds[2])-r,a=Math.ceil(this._bounds[3])-o,s=Math.min(Math.ceil(Math.abs(i*e[0]*1.1)),3e3),l=Math.min(Math.ceil(Math.abs(a*e[1]*1.1)),3e3),u=i/s,d=a/l,f={coords:this._coords,colors:this._colors,offsetX:-r,offsetY:-o,scaleX:1/u,scaleY:1/d},p=s+4,h=l+4,m=n.getCanvas("mesh",p,h,!1),g=m.context,v=g.createImageData(s,l);if(t){const e=v.data;for(let n=0,r=e.length;n<r;n+=4)e[n]=t[0],e[n+1]=t[1],e[n+2]=t[2],e[n+3]=255}for(const e of this._figures)c(v,e,f);return g.putImageData(v,2,2),{canvas:m.canvas,offsetX:r-2*u,offsetY:o-2*d,scaleX:u,scaleY:d}}getPattern(e,t,n,a){let s;if(i(e,this._bbox),a===o.SHADING)s=r.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(s=r.Util.singularValueDecompose2dScale(t.baseTransform),this.matrix){const e=r.Util.singularValueDecompose2dScale(this.matrix);s=[s[0]*e[0],s[1]*e[1]]}const l=this._createMeshCanvas(s,a===o.SHADING?null:this._background,t.cachedCanvases);return a!==o.SHADING&&(e.setTransform.apply(e,t.baseTransform),this.matrix&&e.transform.apply(e,this.matrix)),e.translate(l.offsetX,l.offsetY),e.scale(l.scaleX,l.scaleY),e.createPattern(l.canvas,"no-repeat")}}class d extends a{getPattern(){return"hotpink"}}const f=1,p=2;class h{static get MAX_PATTERN_SIZE(){return(0,r.shadow)(this,"MAX_PATTERN_SIZE",3e3)}constructor(e,t,n,r,o){this.operatorList=e[2],this.matrix=e[3]||[1,0,0,1,0,0],this.bbox=e[4],this.xstep=e[5],this.ystep=e[6],this.paintType=e[7],this.tilingType=e[8],this.color=t,this.ctx=n,this.canvasGraphicsFactory=r,this.baseTransform=o}createPatternCanvas(e){const t=this.operatorList,n=this.bbox,o=this.xstep,i=this.ystep,a=this.paintType,s=this.tilingType,l=this.color,c=this.canvasGraphicsFactory;(0,r.info)("TilingType: "+s);const u=n[0],d=n[1],f=n[2],p=n[3],h=r.Util.singularValueDecompose2dScale(this.matrix),m=r.Util.singularValueDecompose2dScale(this.baseTransform),g=[h[0]*m[0],h[1]*m[1]],v=this.getSizeAndScale(o,this.ctx.canvas.width,g[0]),b=this.getSizeAndScale(i,this.ctx.canvas.height,g[1]),y=e.cachedCanvases.getCanvas("pattern",v.size,b.size,!0),A=y.context,x=c.createCanvasGraphics(A);x.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(x,a,l);let C=u,_=d,w=f,k=p;return u<0&&(C=0,w+=Math.abs(u)),d<0&&(_=0,k+=Math.abs(d)),A.translate(-v.scale*C,-b.scale*_),x.transform(v.scale,0,0,b.scale,0,0),this.clipBbox(x,C,_,w,k),x.baseTransform=x.ctx.mozCurrentTransform.slice(),x.executeOperatorList(t),x.endDrawing(),{canvas:y.canvas,scaleX:v.scale,scaleY:b.scale,offsetX:C,offsetY:_}}getSizeAndScale(e,t,n){e=Math.abs(e);const r=Math.max(h.MAX_PATTERN_SIZE,t);let o=Math.ceil(e*n);return o>=r?o=r:n=o/e,{scale:n,size:o}}clipBbox(e,t,n,r,o){const i=r-t,a=o-n;e.ctx.rect(t,n,i,a),e.clip(),e.endPath()}setFillAndStrokeStyleToContext(e,t,n){const o=e.ctx,i=e.current;switch(t){case f:const e=this.ctx;o.fillStyle=e.fillStyle,o.strokeStyle=e.strokeStyle,i.fillColor=e.fillStyle,i.strokeColor=e.strokeStyle;break;case p:const a=r.Util.makeHexColor(n[0],n[1],n[2]);o.fillStyle=a,o.strokeStyle=a,i.fillColor=a,i.strokeColor=a;break;default:throw new r.FormatError(`Unsupported paint type: ${t}`)}}getPattern(e,t,n,i){let a=n;i!==o.SHADING&&(a=r.Util.transform(a,t.baseTransform),this.matrix&&(a=r.Util.transform(a,this.matrix)));const s=this.createPatternCanvas(t);let l=new DOMMatrix(a);l=l.translate(s.offsetX,s.offsetY),l=l.scale(1/s.scaleX,1/s.scaleY);const c=e.createPattern(s.canvas,"repeat");try{c.setTransform(l)}catch(e){(0,r.warn)(`TilingPattern.getPattern: "${e?.message}".`)}return c}}t.TilingPattern=h},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;const n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r=n(2);const o=1,i=2,a=1,s=2,l=3,c=4,u=5,d=6,f=7,p=8;function h(e){if(!(e instanceof Error||"object"==typeof e&&null!==e))return(0,r.warn)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e;switch(e.name){case"AbortException":return new r.AbortException(e.message);case"MissingPDFException":return new r.MissingPDFException(e.message);case"PasswordException":return new r.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new r.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new r.UnknownErrorException(e.message,e.details);default:return new r.UnknownErrorException(e.message,e.toString())}}t.MessageHandler=class{constructor(e,t,n){this.sourceName=e,this.targetName=t,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=e=>{const t=e.data;if(t.targetName!==this.sourceName)return;if(t.stream)return void this._processStreamMessage(t);if(t.callback){const e=t.callbackId,n=this.callbackCapabilities[e];if(!n)throw new Error(`Cannot resolve callback ${e}`);if(delete this.callbackCapabilities[e],t.callback===o)n.resolve(t.data);else{if(t.callback!==i)throw new Error("Unexpected callback case");n.reject(h(t.reason))}return}const r=this.actionHandler[t.action];if(!r)throw new Error(`Unknown action from worker: ${t.action}`);if(t.callbackId){const e=this.sourceName,a=t.sourceName;new Promise((function(e){e(r(t.data))})).then((function(r){n.postMessage({sourceName:e,targetName:a,callback:o,callbackId:t.callbackId,data:r})}),(function(r){n.postMessage({sourceName:e,targetName:a,callback:i,callbackId:t.callbackId,reason:h(r)})}))}else t.streamId?this._createStreamSink(t):r(t.data)},n.addEventListener("message",this._onComObjOnMessage)}on(e,t){const n=this.actionHandler;if(n[e])throw new Error(`There is already an actionName called "${e}"`);n[e]=t}send(e,t,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}sendWithPromise(e,t,n){const o=this.callbackId++,i=(0,r.createPromiseCapability)();this.callbackCapabilities[o]=i;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:o,data:t},n)}catch(e){i.reject(e)}return i.promise}sendWithStream(e,t,n,o){const i=this.streamId++,s=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:n=>{const a=(0,r.createPromiseCapability)();return this.streamControllers[i]={controller:n,startCall:a,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:s,targetName:l,action:e,streamId:i,data:t,desiredSize:n.desiredSize},o),a.promise},pull:e=>{const t=(0,r.createPromiseCapability)();return this.streamControllers[i].pullCall=t,c.postMessage({sourceName:s,targetName:l,stream:d,streamId:i,desiredSize:e.desiredSize}),t.promise},cancel:e=>{(0,r.assert)(e instanceof Error,"cancel must have a valid reason");const t=(0,r.createPromiseCapability)();return this.streamControllers[i].cancelCall=t,this.streamControllers[i].isClosed=!0,c.postMessage({sourceName:s,targetName:l,stream:a,streamId:i,reason:h(e)}),t.promise}},n)}_createStreamSink(e){const t=e.streamId,n=this.sourceName,o=e.sourceName,i=this.comObj,a=this,s=this.actionHandler[e.action],d={enqueue(e,a=1,s){if(this.isCancelled)return;const l=this.desiredSize;this.desiredSize-=a,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,r.createPromiseCapability)(),this.ready=this.sinkCapability.promise),i.postMessage({sourceName:n,targetName:o,stream:c,streamId:t,chunk:e},s)},close(){this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:n,targetName:o,stream:l,streamId:t}),delete a.streamSinks[t])},error(e){(0,r.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,i.postMessage({sourceName:n,targetName:o,stream:u,streamId:t,reason:h(e)}))},sinkCapability:(0,r.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};d.sinkCapability.resolve(),d.ready=d.sinkCapability.promise,this.streamSinks[t]=d,new Promise((function(t){t(s(e.data,d))})).then((function(){i.postMessage({sourceName:n,targetName:o,stream:p,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:o,stream:p,streamId:t,reason:h(e)})}))}_processStreamMessage(e){const t=e.streamId,n=this.sourceName,o=e.sourceName,i=this.comObj,m=this.streamControllers[t],g=this.streamSinks[t];switch(e.stream){case p:e.success?m.startCall.resolve():m.startCall.reject(h(e.reason));break;case f:e.success?m.pullCall.resolve():m.pullCall.reject(h(e.reason));break;case d:if(!g){i.postMessage({sourceName:n,targetName:o,stream:f,streamId:t,success:!0});break}g.desiredSize<=0&&e.desiredSize>0&&g.sinkCapability.resolve(),g.desiredSize=e.desiredSize,new Promise((function(e){e(g.onPull&&g.onPull())})).then((function(){i.postMessage({sourceName:n,targetName:o,stream:f,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:o,stream:f,streamId:t,reason:h(e)})}));break;case c:if((0,r.assert)(m,"enqueue should have stream controller"),m.isClosed)break;m.controller.enqueue(e.chunk);break;case l:if((0,r.assert)(m,"close should have stream controller"),m.isClosed)break;m.isClosed=!0,m.controller.close(),this._deleteStreamController(m,t);break;case u:(0,r.assert)(m,"error should have stream controller"),m.controller.error(h(e.reason)),this._deleteStreamController(m,t);break;case s:e.success?m.cancelCall.resolve():m.cancelCall.reject(h(e.reason)),this._deleteStreamController(m,t);break;case a:if(!g)break;new Promise((function(t){t(g.onCancel&&g.onCancel(h(e.reason)))})).then((function(){i.postMessage({sourceName:n,targetName:o,stream:s,streamId:t,success:!0})}),(function(e){i.postMessage({sourceName:n,targetName:o,stream:s,streamId:t,reason:h(e)})})),g.sinkCapability.reject(h(e.reason)),g.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(e,t){await Promise.allSettled([e.startCall&&e.startCall.promise,e.pullCall&&e.pullCall.promise,e.cancelCall&&e.cancelCall.promise]),delete this.streamControllers[t]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(2);t.Metadata=class{#o;#i;constructor({parsedData:e,rawData:t}){this.#o=e,this.#i=t}getRaw(){return this.#i}get(e){return this.#o.get(e)??null}getAll(){return(0,r.objectFromMap)(this.#o)}has(e){return this.#o.has(e)}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var r=n(2);class o{constructor(e,t){this.visible=!0,this.name=e,this.intent=t}}t.OptionalContentConfig=class{constructor(e){if(this.name=null,this.creator=null,this._order=null,this._groups=new Map,null!==e){this.name=e.name,this.creator=e.creator,this._order=e.order;for(const t of e.groups)this._groups.set(t.id,new o(t.name,t.intent));if("OFF"===e.baseState)for(const e of this._groups)e.visible=!1;for(const t of e.on)this._groups.get(t).visible=!0;for(const t of e.off)this._groups.get(t).visible=!1}}_evaluateVisibilityExpression(e){const t=e.length;if(t<2)return!0;const n=e[0];for(let o=1;o<t;o++){const t=e[o];let i;if(Array.isArray(t))i=this._evaluateVisibilityExpression(t);else{if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;i=this._groups.get(t).visible}switch(n){case"And":if(!i)return!1;break;case"Or":if(i)return!0;break;case"Not":return!i;default:return!0}}return"And"===n}isVisible(e){if(0===this._groups.size)return!0;if(!e)return(0,r.warn)("Optional content group not defined."),!0;if("OCG"===e.type)return this._groups.has(e.id)?this._groups.get(e.id).visible:((0,r.warn)(`Optional content group not found: ${e.id}`),!0);if("OCMD"===e.type){if(e.expression)return this._evaluateVisibilityExpression(e.expression);if(!e.policy||"AnyOn"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(this._groups.get(t).visible)return!0}return!1}if("AllOn"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(!this._groups.get(t).visible)return!1}return!0}if("AnyOff"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(!this._groups.get(t).visible)return!0}return!1}if("AllOff"===e.policy){for(const t of e.ids){if(!this._groups.has(t))return(0,r.warn)(`Optional content group not found: ${t}`),!0;if(this._groups.get(t).visible)return!1}return!0}return(0,r.warn)(`Unknown optional content policy ${e.policy}.`),!0}return(0,r.warn)(`Unknown group type ${e.type}.`),!0}setVisibility(e,t=!0){this._groups.has(e)?this._groups.get(e).visible=!!t:(0,r.warn)(`Optional content group not found: ${e}`)}getOrder(){return this._groups.size?this._order?this._order.slice():Array.from(this._groups.keys()):null}getGroups(){return this._groups.size>0?(0,r.objectFromMap)(this._groups):null}getGroup(e){return this._groups.get(e)||null}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var r=n(2),o=n(1);t.PDFDataTransportStream=class{constructor(e,t){(0,r.assert)(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=e.progressiveDone||!1,this._contentDispositionFilename=e.contentDispositionFilename||null;const n=e.initialData;if(n?.length>0){const e=new Uint8Array(n).buffer;this._queuedChunks.push(e)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!e.disableStream,this._isRangeSupported=!e.disableRange,this._contentLength=e.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener(((e,t)=>{this._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener(((e,t)=>{this._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((e=>{this._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((()=>{this._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}_onReceiveData(e){const t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{const n=this._rangeReaders.some((function(n){return n._begin===e.begin&&(n._enqueue(t),!0)}));(0,r.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(e){if(void 0===e.total){const t=this._rangeReaders[0];t?.onProgress&&t.onProgress({loaded:e.loaded})}else{const t=this._fullRequestReader;t?.onProgress&&t.onProgress({loaded:e.loaded,total:e.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(e){const t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}getFullReader(){(0,r.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const e=this._queuedChunks;return this._queuedChunks=null,new i(this,e,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new a(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);for(const t of this._rangeReaders.slice(0))t.cancel(e);this._pdfDataRangeTransport.abort()}};class i{constructor(e,t,n=!1,r=null){this._stream=e,this._done=n||!1,this._filename=(0,o.isPdfFile)(r)?r:null,this._queuedChunks=t||[],this._loaded=0;for(const e of this._queuedChunks)this._loaded+=e.byteLength;this._requests=[],this._headersReady=Promise.resolve(),e._fullRequestReader=this,this.onProgress=null}_enqueue(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class a{constructor(e,t,n){this._stream=e,this._begin=t,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaText=void 0;class n{static textContent(e){const t=[],r={items:t,styles:Object.create(null)};return function e(r){if(!r)return;let o=null;const i=r.name;if("#text"===i)o=r.value;else{if(!n.shouldBuildText(i))return;r?.attributes?.textContent?o=r.attributes.textContent:r.value&&(o=r.value)}if(null!==o&&t.push({str:o}),r.children)for(const t of r.children)e(t)}(e),r}static shouldBuildText(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}t.XfaText=n},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationLayer=void 0;var r=n(2),o=n(1),i=n(9),a=n(19),s=n(20);const l=1e3,c=new WeakSet;class u{static create(e){switch(e.data.annotationType){case r.AnnotationType.LINK:return new f(e);case r.AnnotationType.TEXT:return new p(e);case r.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new m(e);case"Btn":return e.data.radioButton?new v(e):e.data.checkBox?new g(e):new b(e);case"Ch":return new y(e)}return new h(e);case r.AnnotationType.POPUP:return new A(e);case r.AnnotationType.FREETEXT:return new C(e);case r.AnnotationType.LINE:return new _(e);case r.AnnotationType.SQUARE:return new w(e);case r.AnnotationType.CIRCLE:return new k(e);case r.AnnotationType.POLYLINE:return new S(e);case r.AnnotationType.CARET:return new B(e);case r.AnnotationType.INK:return new O(e);case r.AnnotationType.POLYGON:return new E(e);case r.AnnotationType.HIGHLIGHT:return new j(e);case r.AnnotationType.UNDERLINE:return new T(e);case r.AnnotationType.SQUIGGLY:return new P(e);case r.AnnotationType.STRIKEOUT:return new M(e);case r.AnnotationType.STAMP:return new D(e);case r.AnnotationType.FILEATTACHMENT:return new R(e);default:return new d(e)}}}class d{constructor(e,{isRenderable:t=!1,ignoreBorder:n=!1,createQuadrilaterals:r=!1}={}){this.isRenderable=t,this.data=e.data,this.layer=e.layer,this.page=e.page,this.viewport=e.viewport,this.linkService=e.linkService,this.downloadManager=e.downloadManager,this.imageResourcesPath=e.imageResourcesPath,this.renderForms=e.renderForms,this.svgFactory=e.svgFactory,this.annotationStorage=e.annotationStorage,this.enableScripting=e.enableScripting,this.hasJSActions=e.hasJSActions,this._fieldObjects=e.fieldObjects,this._mouseState=e.mouseState,t&&(this.container=this._createContainer(n)),r&&(this.quadrilaterals=this._createQuadrilaterals(n))}_createContainer(e=!1){const t=this.data,n=this.page,o=this.viewport,i=document.createElement("section");let a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];i.setAttribute("data-annotation-id",t.id);const l=r.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(t.hasOwnCanvas){const e=o.transform.slice(),[t,n]=r.Util.singularValueDecompose2dScale(e);a=Math.ceil(a*t),s=Math.ceil(s*n),l[0]*=t,l[1]*=n;for(let t=0;t<4;t++)e[t]=Math.sign(e[t]);i.style.transform=`matrix(${e.join(",")})`}else i.style.transform=`matrix(${o.transform.join(",")})`;if(i.style.transformOrigin=`${-l[0]}px ${-l[1]}px`,!e&&t.borderStyle.width>0){i.style.borderWidth=`${t.borderStyle.width}px`,t.borderStyle.style!==r.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);const e=t.borderStyle.horizontalCornerRadius,n=t.borderStyle.verticalCornerRadius;if(e>0||n>0){const t=`${e}px / ${n}px`;i.style.borderRadius=t}switch(t.borderStyle.style){case r.AnnotationBorderStyleType.SOLID:i.style.borderStyle="solid";break;case r.AnnotationBorderStyleType.DASHED:i.style.borderStyle="dashed";break;case r.AnnotationBorderStyleType.BEVELED:(0,r.warn)("Unimplemented border style: beveled");break;case r.AnnotationBorderStyleType.INSET:(0,r.warn)("Unimplemented border style: inset");break;case r.AnnotationBorderStyleType.UNDERLINE:i.style.borderBottomStyle="solid"}t.borderColor||t.color?i.style.borderColor=r.Util.makeHexColor(0|t.color[0],0|t.color[1],0|t.color[2]):i.style.borderWidth=0}return i.style.left=`${l[0]}px`,i.style.top=`${l[1]}px`,t.hasOwnCanvas?i.style.width=i.style.height="auto":(i.style.width=`${a}px`,i.style.height=`${s}px`),i}_createQuadrilaterals(e=!1){if(!this.data.quadPoints)return null;const t=[],n=this.data.rect;for(const n of this.data.quadPoints)this.data.rect=[n[2].x,n[2].y,n[1].x,n[1].y],t.push(this._createContainer(e));return this.data.rect=n,t}_createPopup(e,t){let n=this.container;this.quadrilaterals&&(e=e||this.quadrilaterals,n=this.quadrilaterals[0]),e||((e=document.createElement("div")).style.height=n.style.height,e.style.width=n.style.width,n.appendChild(e));const r=new x({container:n,trigger:e,color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,hideWrapper:!0}).render();r.style.left=n.style.width,n.appendChild(r)}_renderQuadrilaterals(e){for(const t of this.quadrilaterals)t.className=e;return this.quadrilaterals}render(){(0,r.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(e,t=null){const n=[];if(this._fieldObjects){const o=this._fieldObjects[e];if(o)for(const{page:e,id:i,exportValues:a}of o){if(-1===e)continue;if(i===t)continue;const o="string"==typeof a?a:null,s=document.getElementById(i);!s||c.has(s)?n.push({id:i,exportValue:o,domElement:s}):(0,r.warn)(`_getElementsByName - element not allowed: ${i}`)}return n}for(const r of document.getElementsByName(e)){const{id:e,exportValue:o}=r;e!==t&&c.has(r)&&n.push({id:e,exportValue:o,domElement:r})}return n}static get platform(){const e="undefined"!=typeof navigator?navigator.platform:"";return(0,r.shadow)(this,"platform",{isWin:e.includes("Win"),isMac:e.includes("Mac")})}}class f extends d{constructor(e,t=null){super(e,{isRenderable:!!(e.data.url||e.data.dest||e.data.action||e.data.isTooltipOnly||e.data.resetForm||e.data.actions&&(e.data.actions.Action||e.data.actions["Mouse Up"]||e.data.actions["Mouse Down"])),ignoreBorder:!!t?.ignoreBorder,createQuadrilaterals:!0})}render(){const{data:e,linkService:t}=this,n=document.createElement("a");if(e.url)t.addLinkAttributes||(0,r.warn)("LinkAnnotationElement.render - missing `addLinkAttributes`-method on the `linkService`-instance."),t.addLinkAttributes?.(n,e.url,e.newWindow);else if(e.action)this._bindNamedAction(n,e.action);else if(e.dest)this._bindLink(n,e.dest);else{let t=!1;e.actions&&(e.actions.Action||e.actions["Mouse Up"]||e.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(t=!0,this._bindJSAction(n,e)),e.resetForm?this._bindResetFormAction(n,e.resetForm):t||this._bindLink(n,"")}return this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map(((e,t)=>{const r=0===t?n:n.cloneNode();return e.appendChild(r),e})):(this.container.className="linkAnnotation",this.container.appendChild(n),this.container)}_bindLink(e,t){e.href=this.linkService.getDestinationHash(t),e.onclick=()=>(t&&this.linkService.goToDestination(t),!1),(t||""===t)&&(e.className="internalLink")}_bindNamedAction(e,t){e.href=this.linkService.getAnchorUrl(""),e.onclick=()=>(this.linkService.executeNamedAction(t),!1),e.className="internalLink"}_bindJSAction(e,t){e.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const r of Object.keys(t.actions)){const o=n.get(r);o&&(e[o]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t.id,name:r}}),!1))}e.onclick||(e.onclick=()=>!1),e.className="internalLink"}_bindResetFormAction(e,t){const n=e.onclick;if(n||(e.href=this.linkService.getAnchorUrl("")),e.className="internalLink",!this._fieldObjects)return(0,r.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(n||(e.onclick=()=>!1));e.onclick=()=>{n&&n();const{fields:e,refs:r,include:o}=t,i=[];if(0!==e.length||0!==r.length){const t=new Set(r);for(const n of e){const e=this._fieldObjects[n]||[];for(const{id:n}of e)t.add(n)}for(const e of Object.values(this._fieldObjects))for(const n of e)t.has(n.id)===o&&i.push(n)}else for(const e of Object.values(this._fieldObjects))i.push(...e);const a=this.annotationStorage,s=[];for(const e of i){const{id:t}=e;switch(s.push(t),e.type){case"text":{const n=e.defaultValue||"";a.setValue(t,{value:n,valueAsString:n});break}case"checkbox":case"radiobutton":{const n=e.defaultValue===e.exportValues;a.setValue(t,{value:n});break}case"combobox":case"listbox":{const n=e.defaultValue||"";a.setValue(t,{value:n});break}default:continue}const n=document.getElementById(t);n&&c.has(n)&&n.dispatchEvent(new Event("resetform"))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:s,name:"ResetForm"}}),!1}}}class p extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str)})}render(){this.container.className="textAnnotation";const e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(e,this.data),this.container.appendChild(e),this.container}}class h extends d{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(e){const{isWin:t,isMac:n}=d.platform;return t&&e.ctrlKey||n&&e.metaKey}_setEventListener(e,t,n,r){t.includes("mouse")?e.addEventListener(t,(e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:r(e),shift:e.shiftKey,modifier:this._getKeyModifier(e)}})})):e.addEventListener(t,(e=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:n,value:e.target.checked}})}))}_setEventListeners(e,t,n){for(const[r,o]of t)("Action"===o||this.data.actions?.[o])&&this._setEventListener(e,r,o,n)}_setBackgroundColor(e){const t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":r.Util.makeHexColor(t[0],t[1],t[2])}_dispatchEventFromSandbox(e,t){const n=(e,t,n)=>{const r=n.detail[e];n.target.style[t]=a.ColorConverters[`${r[0]}_HTML`](r.slice(1))},r={display:e=>{const t=e.detail.display%2==1;e.target.style.visibility=t?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:t,print:0===e.detail.display||3===e.detail.display})},print:e=>{this.annotationStorage.setValue(this.data.id,{print:e.detail.print})},hidden:e=>{e.target.style.visibility=e.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:e.detail.hidden})},focus:e=>{setTimeout((()=>e.target.focus({preventScroll:!1})),0)},userName:e=>{e.target.title=e.detail.userName},readonly:e=>{e.detail.readonly?e.target.setAttribute("readonly",""):e.target.removeAttribute("readonly")},required:e=>{e.detail.required?e.target.setAttribute("required",""):e.target.removeAttribute("required")},bgColor:e=>{n("bgColor","backgroundColor",e)},fillColor:e=>{n("fillColor","backgroundColor",e)},fgColor:e=>{n("fgColor","color",e)},textColor:e=>{n("textColor","color",e)},borderColor:e=>{n("borderColor","borderColor",e)},strokeColor:e=>{n("strokeColor","borderColor",e)}};for(const n of Object.keys(t.detail)){const o=e[n]||r[n];o&&o(t)}}}class m extends h{constructor(e){super(e,{isRenderable:e.renderForms||!e.data.hasAppearance&&!!e.data.fieldValue})}setPropertyOnSiblings(e,t,n,r){const o=this.annotationStorage;for(const i of this._getElementsByName(e.name,e.id))i.domElement&&(i.domElement[t]=n),o.setValue(i.id,{[r]:n})}render(){const e=this.annotationStorage,t=this.data.id;this.container.className="textWidgetAnnotation";let n=null;if(this.renderForms){const r=e.getValue(t,{value:this.data.fieldValue,valueAsString:this.data.fieldValue}),o=r.valueAsString||r.value||"",i={userValue:null,formattedValue:null,beforeInputSelectionRange:null,beforeInputValue:null};this.data.multiLine?(n=document.createElement("textarea"),n.textContent=o):(n=document.createElement("input"),n.type="text",n.setAttribute("value",o)),c.add(n),n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.tabIndex=l,i.userValue=o,n.setAttribute("id",t),n.addEventListener("input",(r=>{e.setValue(t,{value:r.target.value}),this.setPropertyOnSiblings(n,"value",r.target.value,"value")})),n.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue||"";n.value=i.userValue=t,delete i.formattedValue}));let a=e=>{i.formattedValue&&(e.target.value=i.formattedValue),e.target.scrollLeft=0,i.beforeInputSelectionRange=null};if(this.enableScripting&&this.hasJSActions){n.addEventListener("focus",(e=>{i.userValue&&(e.target.value=i.userValue)})),n.addEventListener("updatefromsandbox",(n=>{const r={value(n){i.userValue=n.detail.value||"",e.setValue(t,{value:i.userValue.toString()}),i.formattedValue||(n.target.value=i.userValue)},valueAsString(n){i.formattedValue=n.detail.valueAsString||"",n.target!==document.activeElement&&(n.target.value=i.formattedValue),e.setValue(t,{formattedValue:i.formattedValue})},selRange(e){const[t,n]=e.detail.selRange;t>=0&&n<e.target.value.length&&e.target.setSelectionRange(t,n)}};this._dispatchEventFromSandbox(r,n)})),n.addEventListener("keydown",(e=>{i.beforeInputValue=e.target.value;let n=-1;"Escape"===e.key?n=0:"Enter"===e.key?n=2:"Tab"===e.key&&(n=3),-1!==n&&(i.userValue=e.target.value,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:e.target.value,willCommit:!0,commitKey:n,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}}))}));const r=a;a=null,n.addEventListener("blur",(e=>{this._mouseState.isDown&&(i.userValue=e.target.value,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:e.target.value,willCommit:!0,commitKey:1,selStart:e.target.selectionStart,selEnd:e.target.selectionEnd}})),r(e)})),n.addEventListener("mousedown",(e=>{i.beforeInputValue=e.target.value,i.beforeInputSelectionRange=null})),n.addEventListener("keyup",(e=>{e.target.selectionStart===e.target.selectionEnd&&(i.beforeInputSelectionRange=null)})),n.addEventListener("select",(e=>{i.beforeInputSelectionRange=[e.target.selectionStart,e.target.selectionEnd]})),this.data.actions?.Keystroke&&n.addEventListener("input",(e=>{let n=-1,r=-1;i.beforeInputSelectionRange&&([n,r]=i.beforeInputSelectionRange),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:i.beforeInputValue,change:e.data,willCommit:!1,selStart:n,selEnd:r}})})),this._setEventListeners(n,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.value))}if(a&&n.addEventListener("blur",a),null!==this.data.maxLen&&(n.maxLength=this.data.maxLen),this.data.comb){const e=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;n.classList.add("comb"),n.style.letterSpacing=`calc(${e}px - 1ch)`}}else n=document.createElement("div"),n.textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell";return this._setTextStyle(n),this._setBackgroundColor(n),this.container.appendChild(n),this.container}_setTextStyle(e){const t=["left","center","right"],{fontSize:n,fontColor:o}=this.data.defaultAppearanceData,i=e.style;n&&(i.fontSize=`${n}px`),i.color=r.Util.makeHexColor(o[0],o[1],o[2]),null!==this.data.textAlignment&&(i.textAlign=t[this.data.textAlignment])}}class g extends h{constructor(e){super(e,{isRenderable:e.renderForms})}render(){const e=this.annotationStorage,t=this.data,n=t.id;let r=e.getValue(n,{value:t.exportValue===t.fieldValue}).value;"string"==typeof r&&(r="Off"!==r,e.setValue(n,{value:r})),this.container.className="buttonWidgetAnnotation checkBox";const o=document.createElement("input");return c.add(o),o.disabled=t.readOnly,o.type="checkbox",o.name=t.fieldName,r&&o.setAttribute("checked",!0),o.setAttribute("id",n),o.setAttribute("exportValue",t.exportValue),o.tabIndex=l,o.addEventListener("change",(r=>{const{name:o,checked:i}=r.target;for(const r of this._getElementsByName(o,n)){const n=i&&r.exportValue===t.exportValue;r.domElement&&(r.domElement.checked=n),e.setValue(r.id,{value:n})}e.setValue(n,{value:i})})),o.addEventListener("resetform",(e=>{const n=t.defaultFieldValue||"Off";e.target.checked=n===t.exportValue})),this.enableScripting&&this.hasJSActions&&(o.addEventListener("updatefromsandbox",(t=>{const r={value(t){t.target.checked="Off"!==t.detail.value,e.setValue(n,{value:t.target.checked})}};this._dispatchEventFromSandbox(r,t)})),this._setEventListeners(o,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))),this._setBackgroundColor(o),this.container.appendChild(o),this.container}}class v extends h{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const e=this.annotationStorage,t=this.data,n=t.id;let r=e.getValue(n,{value:t.fieldValue===t.buttonValue}).value;"string"==typeof r&&(r=r!==t.buttonValue,e.setValue(n,{value:r}));const o=document.createElement("input");if(c.add(o),o.disabled=t.readOnly,o.type="radio",o.name=t.fieldName,r&&o.setAttribute("checked",!0),o.setAttribute("id",n),o.tabIndex=l,o.addEventListener("change",(t=>{const{name:r,checked:o}=t.target;for(const t of this._getElementsByName(r,n))e.setValue(t.id,{value:!1});e.setValue(n,{value:o})})),o.addEventListener("resetform",(e=>{const n=t.defaultFieldValue;e.target.checked=null!=n&&n===t.buttonValue})),this.enableScripting&&this.hasJSActions){const r=t.buttonValue;o.addEventListener("updatefromsandbox",(t=>{const o={value:t=>{const o=r===t.detail.value;for(const r of this._getElementsByName(t.target.name)){const t=o&&r.id===n;r.domElement&&(r.domElement.checked=t),e.setValue(r.id,{value:t})}}};this._dispatchEventFromSandbox(o,t)})),this._setEventListeners(o,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(e=>e.target.checked))}return this._setBackgroundColor(o),this.container.appendChild(o),this.container}}class b extends f{constructor(e){super(e,{ignoreBorder:e.data.hasAppearance})}render(){const e=super.render();return e.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(e.title=this.data.alternativeText),e}}class y extends h{constructor(e){super(e,{isRenderable:e.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const e=this.annotationStorage,t=this.data.id;e.getValue(t,{value:this.data.fieldValue.length>0?this.data.fieldValue[0]:void 0});let{fontSize:n}=this.data.defaultAppearanceData;n||(n=9);const r=`calc(${n}px * var(--zoom-factor))`,o=document.createElement("select");c.add(o),o.disabled=this.data.readOnly,o.name=this.data.fieldName,o.setAttribute("id",t),o.tabIndex=l,o.style.fontSize=`${n}px`,this.data.combo||(o.size=this.data.options.length,this.data.multiSelect&&(o.multiple=!0)),o.addEventListener("resetform",(e=>{const t=this.data.defaultFieldValue;for(const e of o.options)e.selected=e.value===t}));for(const e of this.data.options){const t=document.createElement("option");t.textContent=e.displayValue,t.value=e.exportValue,this.data.combo&&(t.style.fontSize=r),this.data.fieldValue.includes(e.exportValue)&&t.setAttribute("selected",!0),o.appendChild(t)}const i=(e,t)=>{const n=t?"value":"textContent",r=e.target.options;return e.target.multiple?Array.prototype.filter.call(r,(e=>e.selected)).map((e=>e[n])):-1===r.selectedIndex?null:r[r.selectedIndex][n]},a=e=>{const t=e.target.options;return Array.prototype.map.call(t,(e=>({displayValue:e.textContent,exportValue:e.value})))};return this.enableScripting&&this.hasJSActions?(o.addEventListener("updatefromsandbox",(n=>{const r={value(n){const r=n.detail.value,a=new Set(Array.isArray(r)?r:[r]);for(const e of o.options)e.selected=a.has(e.value);e.setValue(t,{value:i(n,!0)})},multipleSelection(e){o.multiple=!0},remove(n){const r=o.options,s=n.detail.remove;r[s].selected=!1,o.remove(s),r.length>0&&-1===Array.prototype.findIndex.call(r,(e=>e.selected))&&(r[0].selected=!0),e.setValue(t,{value:i(n,!0),items:a(n)})},clear(n){for(;0!==o.length;)o.remove(0);e.setValue(t,{value:null,items:[]})},insert(n){const{index:r,displayValue:s,exportValue:l}=n.detail.insert,c=document.createElement("option");c.textContent=s,c.value=l,o.insertBefore(c,o.children[r]),e.setValue(t,{value:i(n,!0),items:a(n)})},items(n){const{items:r}=n.detail;for(;0!==o.length;)o.remove(0);for(const e of r){const{displayValue:t,exportValue:n}=e,r=document.createElement("option");r.textContent=t,r.value=n,o.appendChild(r)}o.options.length>0&&(o.options[0].selected=!0),e.setValue(t,{value:i(n,!0),items:a(n)})},indices(n){const r=new Set(n.detail.indices);for(const e of n.target.options)e.selected=r.has(e.index);e.setValue(t,{value:i(n,!0)})},editable(e){e.target.disabled=!e.detail.editable}};this._dispatchEventFromSandbox(r,n)})),o.addEventListener("input",(n=>{const r=i(n,!0),o=i(n,!1);e.setValue(t,{value:r}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:t,name:"Keystroke",value:o,changeEx:r,willCommit:!0,commitKey:1,keyDown:!1}})})),this._setEventListeners(o,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],(e=>e.target.checked))):o.addEventListener("input",(function(n){e.setValue(t,{value:i(n)})})),this._setBackgroundColor(o),this.container.appendChild(o),this.container}}class A extends d{constructor(e){super(e,{isRenderable:!!(e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str)})}render(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;const e=`[data-annotation-id="${this.data.parentId}"]`,t=this.layer.querySelectorAll(e);if(0===t.length)return this.container;const n=new x({container:this.container,trigger:Array.from(t),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),o=this.page,i=r.Util.normalizeRect([this.data.parentRect[0],o.view[3]-this.data.parentRect[1]+o.view[1],this.data.parentRect[2],o.view[3]-this.data.parentRect[3]+o.view[1]]),a=i[0]+this.data.parentRect[2]-this.data.parentRect[0],s=i[1];return this.container.style.transformOrigin=`${-a}px ${-s}px`,this.container.style.left=`${a}px`,this.container.style.top=`${s}px`,this.container.appendChild(n.render()),this.container}}class x{constructor(e){this.container=e.container,this.trigger=e.trigger,this.color=e.color,this.titleObj=e.titleObj,this.modificationDate=e.modificationDate,this.contentsObj=e.contentsObj,this.richText=e.richText,this.hideWrapper=e.hideWrapper||!1,this.pinned=!1}render(){const e=document.createElement("div");e.className="popupWrapper",this.hideElement=this.hideWrapper?e:this.container,this.hideElement.hidden=!0;const t=document.createElement("div");t.className="popup";const n=this.color;if(n){const e=.7*(255-n[0])+n[0],o=.7*(255-n[1])+n[1],i=.7*(255-n[2])+n[2];t.style.backgroundColor=r.Util.makeHexColor(0|e,0|o,0|i)}const i=document.createElement("h1");i.dir=this.titleObj.dir,i.textContent=this.titleObj.str,t.appendChild(i);const a=o.PDFDateString.toDateObject(this.modificationDate);if(a){const e=document.createElement("span");e.className="popupDate",e.textContent="{{date}}, {{time}}",e.dataset.l10nId="annotation_date_string",e.dataset.l10nArgs=JSON.stringify({date:a.toLocaleDateString(),time:a.toLocaleTimeString()}),t.appendChild(e)}if(!this.richText?.str||this.contentsObj?.str&&this.contentsObj.str!==this.richText.str){const e=this._formatContents(this.contentsObj);t.appendChild(e)}else s.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:t}),t.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const e of this.trigger)e.addEventListener("click",this._toggle.bind(this)),e.addEventListener("mouseover",this._show.bind(this,!1)),e.addEventListener("mouseout",this._hide.bind(this,!1));return t.addEventListener("click",this._hide.bind(this,!0)),e.appendChild(t),e}_formatContents({str:e,dir:t}){const n=document.createElement("p");n.className="popupContent",n.dir=t;const r=e.split(/(?:\r\n?|\n)/);for(let e=0,t=r.length;e<t;++e){const o=r[e];n.appendChild(document.createTextNode(o)),e<t-1&&n.appendChild(document.createElement("br"))}return n}_toggle(){this.pinned?this._hide(!0):this._show(!0)}_show(e=!1){e&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex+=1)}_hide(e=!0){e&&(this.pinned=!1),this.hideElement.hidden||this.pinned||(this.hideElement.hidden=!0,this.container.style.zIndex-=1)}}class C extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0})}render(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class _ extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0})}render(){this.container.className="lineAnnotation";const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=this.svgFactory.createElement("svg:line");return o.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),o.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),o.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),o.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),o.setAttribute("stroke-width",e.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.appendChild(o),this.container.append(r),this._createPopup(o,e),this.container}}class w extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0})}render(){this.container.className="squareAnnotation";const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=e.borderStyle.width,i=this.svgFactory.createElement("svg:rect");return i.setAttribute("x",o/2),i.setAttribute("y",o/2),i.setAttribute("width",t-o),i.setAttribute("height",n-o),i.setAttribute("stroke-width",o||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(i,e),this.container}}class k extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0})}render(){this.container.className="circleAnnotation";const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=e.borderStyle.width,i=this.svgFactory.createElement("svg:ellipse");return i.setAttribute("cx",t/2),i.setAttribute("cy",n/2),i.setAttribute("rx",t/2-o/2),i.setAttribute("ry",n/2-o/2),i.setAttribute("stroke-width",o||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(i,e),this.container}}class S extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n);let o=[];for(const t of e.vertices){const n=t.x-e.rect[0],r=e.rect[3]-t.y;o.push(n+","+r)}o=o.join(" ");const i=this.svgFactory.createElement(this.svgElementName);return i.setAttribute("points",o),i.setAttribute("stroke-width",e.borderStyle.width||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(i,e),this.container}}class E extends S{constructor(e){super(e),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class B extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0})}render(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class O extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n);for(const t of e.inkLists){let n=[];for(const r of t){const t=r.x-e.rect[0],o=e.rect[3]-r.y;n.push(`${t},${o}`)}n=n.join(" ");const o=this.svgFactory.createElement(this.svgElementName);o.setAttribute("points",n),o.setAttribute("stroke-width",e.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),this._createPopup(o,e),r.appendChild(o)}return this.container.append(r),this.container}}class j extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}class T extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}class P extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}class M extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}class D extends d{constructor(e){super(e,{isRenderable:!!(e.data.hasPopup||e.data.titleObj?.str||e.data.contentsObj?.str||e.data.richText?.str),ignoreBorder:!0})}render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class R extends d{constructor(e){super(e,{isRenderable:!0});const{filename:t,content:n}=this.data.file;this.filename=(0,o.getFilenameFromUrl)(t),this.content=n,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,id:(0,r.stringToPDFString)(t),filename:t,content:n})}render(){this.container.className="fileAttachmentAnnotation";const e=document.createElement("div");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(this.data.titleObj?.str||this.data.contentsObj?.str||this.data.richText)&&this._createPopup(e,this.data),this.container.appendChild(e),this.container}_download(){this.downloadManager?.openOrDownloadData(this.container,this.content,this.filename)}}t.AnnotationLayer=class{static render(e){const t=[],n=[];for(const o of e.annotations)o&&(o.annotationType!==r.AnnotationType.POPUP?t.push(o):n.push(o));n.length&&t.push(...n);const a=e.div;for(const n of t){const t=u.create({data:n,layer:a,page:e.page,viewport:e.viewport,linkService:e.linkService,downloadManager:e.downloadManager,imageResourcesPath:e.imageResourcesPath||"",renderForms:!1!==e.renderForms,svgFactory:new o.DOMSVGFactory,annotationStorage:e.annotationStorage||new i.AnnotationStorage,enableScripting:e.enableScripting,hasJSActions:e.hasJSActions,fieldObjects:e.fieldObjects,mouseState:e.mouseState||{isDown:!1}});if(t.isRenderable){const e=t.render();if(n.hidden&&(e.style.visibility="hidden"),Array.isArray(e))for(const t of e)a.appendChild(t);else t instanceof A?a.prepend(e):a.appendChild(e)}}this.#a(a,e.annotationCanvasMap)}static update(e){const{page:t,viewport:n,annotations:o,annotationCanvasMap:i,div:a}=e,s=n.transform,l=`matrix(${s.join(",")})`;let c,u;for(const e of o){const n=a.querySelectorAll(`[data-annotation-id="${e.id}"]`);if(n)for(const o of n)if(e.hasOwnCanvas){const n=r.Util.normalizeRect([e.rect[0],t.view[3]-e.rect[1]+t.view[1],e.rect[2],t.view[3]-e.rect[3]+t.view[1]]);if(!u){c=Math.abs(s[0]||s[1]);const e=s.slice();for(let t=0;t<4;t++)e[t]=Math.sign(e[t]);u=`matrix(${e.join(",")})`}const i=n[0]*c,a=n[1]*c;o.style.left=`${i}px`,o.style.top=`${a}px`,o.style.transformOrigin=`${-i}px ${-a}px`,o.style.transform=u}else o.style.transform=l}this.#a(a,i),a.hidden=!1}static#a(e,t){if(t){for(const[n,r]of t){const t=e.querySelector(`[data-annotation-id="${n}"]`);if(!t)continue;const{firstChild:o}=t;"CANVAS"===o.nodeName?t.replaceChild(r,o):t.insertBefore(r,o)}t.clear()}}}},(e,t)=>{function n(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorConverters=void 0,t.ColorConverters=class{static CMYK_G([e,t,n,r]){return["G",1-Math.min(1,.3*e+.59*n+.11*t+r)]}static G_CMYK([e]){return["CMYK",0,0,0,1-e]}static G_RGB([e]){return["RGB",e,e,e]}static G_HTML([e]){const t=n(e);return`#${t}${t}${t}`}static RGB_G([e,t,n]){return["G",.3*e+.59*t+.11*n]}static RGB_HTML([e,t,r]){return`#${n(e)}${n(t)}${n(r)}`}static T_HTML(){return"#00000000"}static CMYK_RGB([e,t,n,r]){return["RGB",1-Math.min(1,e+r),1-Math.min(1,n+r),1-Math.min(1,t+r)]}static CMYK_HTML(e){return this.RGB_HTML(this.CMYK_RGB(e))}static RGB_CMYK([e,t,n]){const r=1-e,o=1-t,i=1-n;return["CMYK",r,o,i,Math.min(r,o,i)]}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;var r=n(2),o=n(17);t.XfaLayer=class{static setupStorage(e,t,n,r,o){const i=r.getValue(t,{value:null});switch(n.name){case"textarea":if(null!==i.value&&(e.textContent=i.value),"print"===o)break;e.addEventListener("input",(e=>{r.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===n.attributes.type||"checkbox"===n.attributes.type){if(i.value===n.attributes.xfaOn?e.setAttribute("checked",!0):i.value===n.attributes.xfaOff&&e.removeAttribute("checked"),"print"===o)break;e.addEventListener("change",(e=>{r.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==i.value&&e.setAttribute("value",i.value),"print"===o)break;e.addEventListener("input",(e=>{r.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==i.value)for(const e of n.children)e.attributes.value===i.value&&(e.attributes.selected=!0);e.addEventListener("input",(e=>{const n=e.target.options,o=-1===n.selectedIndex?"":n[n.selectedIndex].value;r.setValue(t,{value:o})}))}}static setAttributes({html:e,element:t,storage:n=null,intent:o,linkService:i}){const{attributes:a}=t,s=e instanceof HTMLAnchorElement;"radio"===a.type&&(a.name=`${a.name}-${o}`);for(const[t,n]of Object.entries(a))if(null!=n&&"dataId"!==t)if("style"!==t)if("textContent"===t)e.textContent=n;else if("class"===t)n.length&&e.setAttribute(t,n.join(" "));else{if(s&&("href"===t||"newWindow"===t))continue;e.setAttribute(t,n)}else Object.assign(e.style,n);s&&(i.addLinkAttributes||(0,r.warn)("XfaLayer.setAttribute - missing `addLinkAttributes`-method on the `linkService`-instance."),i.addLinkAttributes?.(e,a.href,a.newWindow)),n&&a.dataId&&this.setupStorage(e,a.dataId,t,n)}static render(e){const t=e.annotationStorage,n=e.linkService,r=e.xfaHtml,i=e.intent||"display",a=document.createElement(r.name);r.attributes&&this.setAttributes({html:a,element:r,intent:i,linkService:n});const s=[[r,-1,a]],l=e.div;if(l.appendChild(a),e.viewport){const t=`matrix(${e.viewport.transform.join(",")})`;l.style.transform=t}"richText"!==i&&l.setAttribute("class","xfaLayer xfaFont");const c=[];for(;s.length>0;){const[e,r,a]=s[s.length-1];if(r+1===e.children.length){s.pop();continue}const l=e.children[++s[s.length-1][1]];if(null===l)continue;const{name:u}=l;if("#text"===u){const e=document.createTextNode(l.value);c.push(e),a.appendChild(e);continue}let d;if(d=l?.attributes?.xmlns?document.createElementNS(l.attributes.xmlns,u):document.createElement(u),a.appendChild(d),l.attributes&&this.setAttributes({html:d,element:l,storage:t,intent:i,linkService:n}),l.children&&l.children.length>0)s.push([l,-1,d]);else if(l.value){const e=document.createTextNode(l.value);o.XfaText.shouldBuildText(u)&&c.push(e),d.appendChild(e)}}for(const e of l.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))e.setAttribute("readOnly",!0);return{textDivs:c}}static update(e){const t=`matrix(${e.viewport.transform.join(",")})`;e.div.style.transform=t,e.div.hidden=!1}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=function(e){const t=new f({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t};var r=n(2);const o=30,i=new Map,a=/^\s+$/g;function s(e,t,n,s){const l=document.createElement("span"),c=e._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1}:{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL};e._textDivs.push(l);const u=r.Util.transform(e._viewport.transform,t.transform);let d=Math.atan2(u[1],u[0]);const f=n[t.fontName];f.vertical&&(d+=Math.PI/2);const p=Math.hypot(u[2],u[3]),h=p*function(e,t){const n=i.get(e);if(n)return n;t.save(),t.font=`30px ${e}`;const r=t.measureText("");let a=r.fontBoundingBoxAscent,s=Math.abs(r.fontBoundingBoxDescent);if(a){t.restore();const n=a/(a+s);return i.set(e,n),n}t.strokeStyle="red",t.clearRect(0,0,o,o),t.strokeText("g",0,0);let l=t.getImageData(0,0,o,o).data;s=0;for(let e=l.length-1-3;e>=0;e-=4)if(l[e]>0){s=Math.ceil(e/4/o);break}t.clearRect(0,0,o,o),t.strokeText("A",0,o),l=t.getImageData(0,0,o,o).data,a=0;for(let e=0,t=l.length;e<t;e+=4)if(l[e]>0){a=o-Math.floor(e/4/o);break}if(t.restore(),a){const t=a/(a+s);return i.set(e,t),t}return i.set(e,.8),.8}(f.fontFamily,s);let m,g;0===d?(m=u[4],g=u[5]-h):(m=u[4]+h*Math.sin(d),g=u[5]-h*Math.cos(d)),l.style.left=`${m}px`,l.style.top=`${g}px`,l.style.fontSize=`${p}px`,l.style.fontFamily=f.fontFamily,l.setAttribute("role","presentation"),l.textContent=t.str,l.dir=t.dir,e._fontInspectorEnabled&&(l.dataset.fontName=t.fontName),0!==d&&(c.angle=d*(180/Math.PI));let v=!1;if(t.str.length>1||e._enhanceTextSelection&&a.test(t.str))v=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){const e=Math.abs(t.transform[0]),n=Math.abs(t.transform[3]);e!==n&&Math.max(e,n)/Math.min(e,n)>1.5&&(v=!0)}if(v&&(f.vertical?c.canvasWidth=t.height*e._viewport.scale:c.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(l,c),e._textContentStream&&e._layoutText(l),e._enhanceTextSelection&&c.hasText){let n=1,o=0;0!==d&&(n=Math.cos(d),o=Math.sin(d));const i=(f.vertical?t.height:t.width)*e._viewport.scale,a=p;let s,c;0!==d?(s=[n,o,-o,n,m,g],c=r.Util.getAxialAlignedBoundingBox([0,0,i,a],s)):c=[m,g,m+i,g+a],e._bounds.push({left:c[0],top:c[1],right:c[2],bottom:c[3],div:l,size:[i,a],m:s})}}function l(e){if(e._canceled)return;const t=e._textDivs,n=e._capability,r=t.length;if(r>1e5)return e._renderingDone=!0,void n.resolve();if(!e._textContentStream)for(let n=0;n<r;n++)e._layoutText(t[n]);e._renderingDone=!0,n.resolve()}function c(e,t,n){let r=0;for(let o=0;o<n;o++){const n=e[t++];n>0&&(r=r?Math.min(n,r):n)}return r}function u(e){const t=e._bounds,n=e._viewport,o=function(e,t,n){const r=n.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));d(e,r);const o=new Array(n.length);for(const e of r){const t=e.index;o[t]={left:e.x1New,top:0,right:e.x2New,bottom:0}}n.map((function(t,n){const i=o[n],a=r[n];a.x1=t.top,a.y1=e-i.right,a.x2=t.bottom,a.y2=e-i.left,a.index=n,a.x1New=void 0,a.x2New=void 0})),d(t,r);for(const e of r){const t=e.index;o[t].top=e.x1New,o[t].bottom=e.x2New}return o}(n.width,n.height,t);for(let n=0;n<o.length;n++){const i=t[n].div,a=e._textDivProperties.get(i);if(0===a.angle){a.paddingLeft=t[n].left-o[n].left,a.paddingTop=t[n].top-o[n].top,a.paddingRight=o[n].right-t[n].right,a.paddingBottom=o[n].bottom-t[n].bottom,e._textDivProperties.set(i,a);continue}const s=o[n],l=t[n],u=l.m,d=u[0],f=u[1],p=[[0,0],[0,l.size[1]],[l.size[0],0],l.size],h=new Float64Array(64);for(let e=0,t=p.length;e<t;e++){const t=r.Util.applyTransform(p[e],u);h[e+0]=d&&(s.left-t[0])/d,h[e+4]=f&&(s.top-t[1])/f,h[e+8]=d&&(s.right-t[0])/d,h[e+12]=f&&(s.bottom-t[1])/f,h[e+16]=f&&(s.left-t[0])/-f,h[e+20]=d&&(s.top-t[1])/d,h[e+24]=f&&(s.right-t[0])/-f,h[e+28]=d&&(s.bottom-t[1])/d,h[e+32]=d&&(s.left-t[0])/-d,h[e+36]=f&&(s.top-t[1])/-f,h[e+40]=d&&(s.right-t[0])/-d,h[e+44]=f&&(s.bottom-t[1])/-f,h[e+48]=f&&(s.left-t[0])/f,h[e+52]=d&&(s.top-t[1])/-d,h[e+56]=f&&(s.right-t[0])/f,h[e+60]=d&&(s.bottom-t[1])/-d}const m=1+Math.min(Math.abs(d),Math.abs(f));a.paddingLeft=c(h,32,16)/m,a.paddingTop=c(h,48,16)/m,a.paddingRight=c(h,0,16)/m,a.paddingBottom=c(h,16,16)/m,e._textDivProperties.set(i,a)}}function d(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));const n=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}];for(const e of t){let t=0;for(;t<n.length&&n[t].end<=e.y1;)t++;let r,o,i=n.length-1;for(;i>=0&&n[i].start>=e.y2;)i--;let a,s,l=-1/0;for(a=t;a<=i;a++){let t;r=n[a],o=r.boundary,t=o.x2>e.x1?o.index>e.index?o.x1New:e.x1:void 0===o.x2New?(o.x2+e.x1)/2:o.x2New,t>l&&(l=t)}for(e.x1New=l,a=t;a<=i;a++)r=n[a],o=r.boundary,void 0===o.x2New?o.x2>e.x1?o.index>e.index&&(o.x2New=o.x2):o.x2New=l:o.x2New>l&&(o.x2New=Math.max(l,o.x2));const c=[];let u=null;for(a=t;a<=i;a++){r=n[a],o=r.boundary;const t=o.x2>e.x2?o:e;u===t?c[c.length-1].end=r.end:(c.push({start:r.start,end:r.end,boundary:t}),u=t)}for(n[t].start<e.y1&&(c[0].start=e.y1,c.unshift({start:n[t].start,end:e.y1,boundary:n[t].boundary})),e.y2<n[i].end&&(c[c.length-1].end=e.y2,c.push({start:e.y2,end:n[i].end,boundary:n[i].boundary})),a=t;a<=i;a++){if(r=n[a],o=r.boundary,void 0!==o.x2New)continue;let e=!1;for(s=t-1;!e&&s>=0&&n[s].start>=o.y1;s--)e=n[s].boundary===o;for(s=i+1;!e&&s<n.length&&n[s].end<=o.y2;s++)e=n[s].boundary===o;for(s=0;!e&&s<c.length;s++)e=c[s].boundary===o;e||(o.x2New=l)}Array.prototype.splice.apply(n,[t,i-t+1].concat(c))}for(const t of n){const n=t.boundary;void 0===n.x2New&&(n.x2New=Math.max(e,n.x2))}}class f{constructor({textContent:e,textContentStream:t,container:n,viewport:o,textDivs:i,textContentItemsStr:a,enhanceTextSelection:s}){this._textContent=e,this._textContentStream=t,this._container=n,this._document=n.ownerDocument,this._viewport=o,this._textDivs=i||[],this._textContentItemsStr=a||[],this._enhanceTextSelection=!!s,this._fontInspectorEnabled=!!globalThis.FontInspector?.enabled,this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((()=>{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)})).catch((()=>{}))}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")).catch((()=>{})),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(e,t){for(let n=0,r=e.length;n<r;n++)if(void 0!==e[n].str)this._textContentItemsStr.push(e[n].str),s(this,e[n],t,this._layoutTextCtx);else if("beginMarkedContentProps"===e[n].type||"beginMarkedContent"===e[n].type){const t=this._container;this._container=document.createElement("span"),this._container.classList.add("markedContent"),null!==e[n].id&&this._container.setAttribute("id",`${e[n].id}`),t.appendChild(this._container)}else"endMarkedContent"===e[n].type&&(this._container=this._container.parentNode)}_layoutText(e){const t=this._textDivProperties.get(e);let n="";if(0!==t.canvasWidth&&t.hasText){const{fontSize:r,fontFamily:o}=e.style;r===this._layoutTextLastFontSize&&o===this._layoutTextLastFontFamily||(this._layoutTextCtx.font=`${r} ${o}`,this._layoutTextLastFontSize=r,this._layoutTextLastFontFamily=o);const{width:i}=this._layoutTextCtx.measureText(e.textContent);if(i>0){const e=t.canvasWidth/i;this._enhanceTextSelection&&(t.scale=e),n=`scaleX(${e})`}}if(0!==t.angle&&(n=`rotate(${t.angle}deg) ${n}`),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),t.hasText&&this._container.appendChild(e),t.hasEOL){const e=document.createElement("br");e.setAttribute("role","presentation"),this._container.appendChild(e)}}_render(e=0){const t=(0,r.createPromiseCapability)();let n=Object.create(null);const i=this._document.createElement("canvas");if(i.height=i.width=o,i.mozOpaque=!0,this._layoutTextCtx=i.getContext("2d",{alpha:!1}),this._textContent){const e=this._textContent.items,n=this._textContent.styles;this._processItems(e,n),t.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');{const e=()=>{this._reader.read().then((({value:r,done:o})=>{o?t.resolve():(Object.assign(n,r.styles),this._processItems(r.items,n),e())}),t.reject)};this._reader=this._textContentStream.getReader(),e()}}t.promise.then((()=>{n=null,e?this._renderTimer=setTimeout((()=>{l(this),this._renderTimer=null}),e):l(this)}),this._capability.reject)}expandTextDivs(e=!1){if(!this._enhanceTextSelection||!this._renderingDone)return;null!==this._bounds&&(u(this),this._bounds=null);const t=[],n=[];for(let r=0,o=this._textDivs.length;r<o;r++){const o=this._textDivs[r],i=this._textDivProperties.get(o);i.hasText&&(e?(t.length=0,n.length=0,i.originalTransform&&t.push(i.originalTransform),i.paddingTop>0?(n.push(`${i.paddingTop}px`),t.push(`translateY(${-i.paddingTop}px)`)):n.push(0),i.paddingRight>0?n.push(i.paddingRight/i.scale+"px"):n.push(0),i.paddingBottom>0?n.push(`${i.paddingBottom}px`):n.push(0),i.paddingLeft>0?(n.push(i.paddingLeft/i.scale+"px"),t.push(`translateX(${-i.paddingLeft/i.scale}px)`)):n.push(0),o.style.padding=n.join(" "),t.length&&(o.style.transform=t.join(" "))):(o.style.padding=null,o.style.transform=i.originalTransform))}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(2),o=n(1),i=n(4);let a=class{constructor(){(0,r.unreachable)("Not implemented: SVGGraphics")}};t.SVGGraphics=a;{const s={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},l="http://www.w3.org/XML/1998/namespace",c="http://www.w3.org/1999/xlink",u=["butt","round","square"],d=["miter","round","bevel"],f=function(){const e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256);for(let e=0;e<256;e++){let n=e;for(let e=0;e<8;e++)n=1&n?3988292384^n>>1&2147483647:n>>1&2147483647;t[e]=n}function n(e,n,r,o){let i=o;const a=n.length;r[i]=a>>24&255,r[i+1]=a>>16&255,r[i+2]=a>>8&255,r[i+3]=255&a,i+=4,r[i]=255&e.charCodeAt(0),r[i+1]=255&e.charCodeAt(1),r[i+2]=255&e.charCodeAt(2),r[i+3]=255&e.charCodeAt(3),i+=4,r.set(n,i),i+=n.length;const s=function(e,n,r){let o=-1;for(let i=n;i<r;i++){const n=255&(o^e[i]);o=o>>>8^t[n]}return-1^o}(r,o+4,i);r[i]=s>>24&255,r[i+1]=s>>16&255,r[i+2]=s>>8&255,r[i+3]=255&s}function o(e){let t=e.length;const n=65535,r=Math.ceil(t/n),o=new Uint8Array(2+t+5*r+4);let i=0;o[i++]=120,o[i++]=156;let a=0;for(;t>n;)o[i++]=0,o[i++]=255,o[i++]=255,o[i++]=0,o[i++]=0,o.set(e.subarray(a,a+n),i),i+=n,a+=n,t-=n;o[i++]=1,o[i++]=255&t,o[i++]=t>>8&255,o[i++]=255&~t,o[i++]=(65535&~t)>>8&255,o.set(e.subarray(a),i),i+=e.length-a;const s=function(e,t,n){let r=1,o=0;for(let i=t;i<n;++i)r=(r+(255&e[i]))%65521,o=(o+r)%65521;return o<<16|r}(e,0,e.length);return o[i++]=s>>24&255,o[i++]=s>>16&255,o[i++]=s>>8&255,o[i++]=255&s,o}function a(t,a,s,l){const c=t.width,u=t.height;let d,f,p;const h=t.data;switch(a){case r.ImageKind.GRAYSCALE_1BPP:f=0,d=1,p=c+7>>3;break;case r.ImageKind.RGB_24BPP:f=2,d=8,p=3*c;break;case r.ImageKind.RGBA_32BPP:f=6,d=8,p=4*c;break;default:throw new Error("invalid format")}const m=new Uint8Array((1+p)*u);let g=0,v=0;for(let e=0;e<u;++e)m[g++]=0,m.set(h.subarray(v,v+p),g),v+=p,g+=p;if(a===r.ImageKind.GRAYSCALE_1BPP&&l){g=0;for(let e=0;e<u;e++){g++;for(let e=0;e<p;e++)m[g++]^=255}}const b=new Uint8Array([c>>24&255,c>>16&255,c>>8&255,255&c,u>>24&255,u>>16&255,u>>8&255,255&u,d,f,0,0,0]),y=function(e){if(!i.isNodeJS)return o(e);try{let t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);const n=__webpack_require__(82258).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return o(e)}(m),A=e.length+36+b.length+y.length,x=new Uint8Array(A);let C=0;return x.set(e,C),C+=e.length,n("IHDR",b,x,C),C+=12+b.length,n("IDATA",y,x,C),C+=12+y.length,n("IEND",new Uint8Array(0),x,C),(0,r.createObjectURL)(x,"image/png",s)}return function(e,t,n){return a(e,void 0===e.kind?r.ImageKind.GRAYSCALE_1BPP:e.kind,t,n)}}();class p{constructor(){this.fontSizeScale=1,this.fontWeight=s.fontWeight,this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=s.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(e,t){this.x=e,this.y=t}}function h(e){let t=[];const n=[];for(const r of e)"save"!==r.fn?"restore"===r.fn?t=n.pop():t.push(r):(t.push({fnId:92,fn:"group",items:[]}),n.push(t),t=t[t.length-1].items);return t}function m(e){if(Number.isInteger(e))return e.toString();const t=e.toFixed(10);let n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)}function g(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":`scale(${m(e[0])} ${m(e[3])})`;if(e[0]===e[3]&&e[1]===-e[2])return`rotate(${m(180*Math.acos(e[0])/Math.PI)})`}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return`translate(${m(e[4])} ${m(e[5])})`;return`matrix(${m(e[0])} ${m(e[1])} ${m(e[2])} ${m(e[3])} ${m(e[4])} ${m(e[5])})`}let v=0,b=0,y=0;t.SVGGraphics=a=class{constructor(e,t,n=!1){this.svgFactory=new o.DOMSVGFactory,this.current=new p,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=e,this.objs=t,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!n,this._operatorIdMapping=[];for(const e in r.OPS)this._operatorIdMapping[r.OPS[e]]=e}save(){this.transformStack.push(this.transformMatrix);const e=this.current;this.extraStack.push(e),this.current=e.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(e){this.save(),this.executeOpTree(e),this.restore()}loadDependencies(e){const t=e.fnArray,n=e.argsArray;for(let e=0,o=t.length;e<o;e++)if(t[e]===r.OPS.dependency)for(const t of n[e]){const e=t.startsWith("g_")?this.commonObjs:this.objs,n=new Promise((n=>{e.get(t,n)}));this.current.dependencies.push(n)}return Promise.all(this.current.dependencies)}transform(e,t,n,o,i,a){const s=[e,t,n,o,i,a];this.transformMatrix=r.Util.transform(this.transformMatrix,s),this.tgrp=null}getSVG(e,t){this.viewport=t;const n=this._initialize(t);return this.loadDependencies(e).then((()=>(this.transformMatrix=r.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(e)),n)))}convertOpList(e){const t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,o=[];for(let e=0,i=r.length;e<i;e++){const i=r[e];o.push({fnId:i,fn:t[i],args:n[e]})}return h(o)}executeOpTree(e){for(const t of e){const e=t.fn,n=t.fnId,o=t.args;switch(0|n){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(o);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(o[0],o[1]);break;case r.OPS.setFont:this.setFont(o);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(o[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(o[0],o[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(o[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(o[0]);break;case r.OPS.setHScale:this.setHScale(o[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(o[0],o[1],o[2],o[3],o[4],o[5]);break;case r.OPS.setTextRise:this.setTextRise(o[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(o[0]);break;case r.OPS.setLineWidth:this.setLineWidth(o[0]);break;case r.OPS.setLineJoin:this.setLineJoin(o[0]);break;case r.OPS.setLineCap:this.setLineCap(o[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(o[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(o[0],o[1],o[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(o[0],o[1],o[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(o);break;case r.OPS.setFillColorN:this.setFillColorN(o);break;case r.OPS.shadingFill:this.shadingFill(o[0]);break;case r.OPS.setDash:this.setDash(o[0],o[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(o[0]);break;case r.OPS.setFlatness:this.setFlatness(o[0]);break;case r.OPS.setGState:this.setGState(o[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(o[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(o[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(o[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(o[0],o[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(o[0],o[1],o[2],o[3],o[4],o[5]);break;case r.OPS.constructPath:this.constructPath(o[0],o[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(t.items);break;default:(0,r.warn)(`Unimplemented operator ${e}`)}}}setWordSpacing(e){this.current.wordSpacing=e}setCharSpacing(e){this.current.charSpacing=e}nextLine(){this.moveText(0,this.current.leading)}setTextMatrix(e,t,n,r,o,i){const a=this.current;a.textMatrix=a.lineMatrix=[e,t,n,r,o,i],a.textMatrixScale=Math.hypot(e,t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.ycoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size",`${m(a.fontSize)}px`),a.tspan.setAttributeNS(null,"y",m(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}beginText(){const e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=r.IDENTITY_MATRIX,e.lineMatrix=r.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}moveText(e,t){const n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size",`${m(n.fontSize)}px`),n.tspan.setAttributeNS(null,"y",m(-n.y))}showText(e){const t=this.current,n=t.font,o=t.fontSize;if(0===o)return;const i=t.fontSizeScale,a=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,d=t.textHScale*u,f=n.vertical,p=f?1:-1,h=n.defaultVMetrics,v=o*t.fontMatrix[0];let b=0;for(const s of e){if(null===s){b+=u*c;continue}if((0,r.isNum)(s)){b+=p*s*o/1e3;continue}const e=(s.isSpace?c:0)+a,l=s.fontChar;let d,m,g,y=s.width;if(f){let e;const t=s.vmetric||h;e=s.vmetric?t[1]:.5*y,e=-e*v;const n=t[2]*v;y=t?-t[0]:y,d=e/i,m=(b+n)/i}else d=b/i,m=0;(s.isInFont||n.missingFile)&&(t.xcoords.push(t.x+d),f&&t.ycoords.push(-t.y+m),t.tspan.textContent+=l),g=f?y*v-e*u:y*v+e*u,b+=g}t.tspan.setAttributeNS(null,"x",t.xcoords.map(m).join(" ")),f?t.tspan.setAttributeNS(null,"y",t.ycoords.map(m).join(" ")):t.tspan.setAttributeNS(null,"y",m(-t.y)),f?t.y-=b:t.x+=b*d,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size",`${m(t.fontSize)}px`),t.fontStyle!==s.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==s.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);const y=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;if(y===r.TextRenderingMode.FILL||y===r.TextRenderingMode.FILL_STROKE?(t.fillColor!==s.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),y===r.TextRenderingMode.STROKE||y===r.TextRenderingMode.FILL_STROKE){const e=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,e)}let A=t.textMatrix;0!==t.textRise&&(A=A.slice(),A[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform",`${g(A)} scale(${m(d)}, -1)`),t.txtElement.setAttributeNS(l,"xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}setLeadingMoveText(e,t){this.setLeading(-t),this.moveText(e,t)}addFontStyle(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));const t=(0,r.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+=`@font-face { font-family: "${e.loadedName}"; src: url(${t}); }\n`}setFont(e){const t=this.current,n=this.commonObjs.get(e[0]);let o=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX;let i="normal";n.black?i="900":n.bold&&(i="bold");const a=n.italic?"italic":"normal";o<0?(o=-o,t.fontDirection=-1):t.fontDirection=1,t.fontSize=o,t.fontFamily=n.loadedName,t.fontWeight=i,t.fontStyle=a,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",m(-t.y)),t.xcoords=[],t.ycoords=[]}endText(){const e=this.current;e.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&e.txtElement?.hasChildNodes()&&(e.element=e.txtElement,this.clip("nonzero"),this.endPath())}setLineWidth(e){e>0&&(this.current.lineWidth=e)}setLineCap(e){this.current.lineCap=u[e]}setLineJoin(e){this.current.lineJoin=d[e]}setMiterLimit(e){this.current.miterLimit=e}setStrokeAlpha(e){this.current.strokeAlpha=e}setStrokeRGBColor(e,t,n){this.current.strokeColor=r.Util.makeHexColor(e,t,n)}setFillAlpha(e){this.current.fillAlpha=e}setFillRGBColor(e,t,n){this.current.fillColor=r.Util.makeHexColor(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(e){this.current.strokeColor=this._makeColorN_Pattern(e)}setFillColorN(e){this.current.fillColor=this._makeColorN_Pattern(e)}shadingFill(e){const t=this.viewport.width,n=this.viewport.height,o=r.Util.inverseTransform(this.transformMatrix),i=r.Util.applyTransform([0,0],o),a=r.Util.applyTransform([0,n],o),s=r.Util.applyTransform([t,0],o),l=r.Util.applyTransform([t,n],o),c=Math.min(i[0],a[0],s[0],l[0]),u=Math.min(i[1],a[1],s[1],l[1]),d=Math.max(i[0],a[0],s[0],l[0]),f=Math.max(i[1],a[1],s[1],l[1]),p=this.svgFactory.createElement("svg:rect");p.setAttributeNS(null,"x",c),p.setAttributeNS(null,"y",u),p.setAttributeNS(null,"width",d-c),p.setAttributeNS(null,"height",f-u),p.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&p.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(p)}_makeColorN_Pattern(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}_makeTilingPattern(e){const t=e[1],n=e[2],o=e[3]||r.IDENTITY_MATRIX,[i,a,s,l]=e[4],c=e[5],u=e[6],d=e[7],f="shading"+y++,[p,h,m,g]=r.Util.normalizeRect([...r.Util.applyTransform([i,a],o),...r.Util.applyTransform([s,l],o)]),[v,b]=r.Util.singularValueDecompose2dScale(o),A=c*v,x=u*b,C=this.svgFactory.createElement("svg:pattern");C.setAttributeNS(null,"id",f),C.setAttributeNS(null,"patternUnits","userSpaceOnUse"),C.setAttributeNS(null,"width",A),C.setAttributeNS(null,"height",x),C.setAttributeNS(null,"x",`${p}`),C.setAttributeNS(null,"y",`${h}`);const _=this.svg,w=this.transformMatrix,k=this.current.fillColor,S=this.current.strokeColor,E=this.svgFactory.create(m-p,g-h);if(this.svg=E,this.transformMatrix=o,2===d){const e=r.Util.makeHexColor(...t);this.current.fillColor=e,this.current.strokeColor=e}return this.executeOpTree(this.convertOpList(n)),this.svg=_,this.transformMatrix=w,this.current.fillColor=k,this.current.strokeColor=S,C.appendChild(E.childNodes[0]),this.defs.appendChild(C),`url(#${f})`}_makeShadingPattern(e){switch("string"==typeof e&&(e=this.objs.get(e)),e[0]){case"RadialAxial":const t="shading"+y++,n=e[3];let o;switch(e[1]){case"axial":const n=e[4],r=e[5];o=this.svgFactory.createElement("svg:linearGradient"),o.setAttributeNS(null,"id",t),o.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),o.setAttributeNS(null,"x1",n[0]),o.setAttributeNS(null,"y1",n[1]),o.setAttributeNS(null,"x2",r[0]),o.setAttributeNS(null,"y2",r[1]);break;case"radial":const i=e[4],a=e[5],s=e[6],l=e[7];o=this.svgFactory.createElement("svg:radialGradient"),o.setAttributeNS(null,"id",t),o.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),o.setAttributeNS(null,"cx",a[0]),o.setAttributeNS(null,"cy",a[1]),o.setAttributeNS(null,"r",l),o.setAttributeNS(null,"fx",i[0]),o.setAttributeNS(null,"fy",i[1]),o.setAttributeNS(null,"fr",s);break;default:throw new Error(`Unknown RadialAxial type: ${e[1]}`)}for(const e of n){const t=this.svgFactory.createElement("svg:stop");t.setAttributeNS(null,"offset",e[0]),t.setAttributeNS(null,"stop-color",e[1]),o.appendChild(t)}return this.defs.appendChild(o),`url(#${t})`;case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${e[0]}`)}}setDash(e,t){this.current.dashArray=e,this.current.dashPhase=t}constructPath(e,t){const n=this.current;let o=n.x,i=n.y,a=[],s=0;for(const n of e)switch(0|n){case r.OPS.rectangle:o=t[s++],i=t[s++];const e=o+t[s++],n=i+t[s++];a.push("M",m(o),m(i),"L",m(e),m(i),"L",m(e),m(n),"L",m(o),m(n),"Z");break;case r.OPS.moveTo:o=t[s++],i=t[s++],a.push("M",m(o),m(i));break;case r.OPS.lineTo:o=t[s++],i=t[s++],a.push("L",m(o),m(i));break;case r.OPS.curveTo:o=t[s+4],i=t[s+5],a.push("C",m(t[s]),m(t[s+1]),m(t[s+2]),m(t[s+3]),m(o),m(i)),s+=6;break;case r.OPS.curveTo2:a.push("C",m(o),m(i),m(t[s]),m(t[s+1]),m(t[s+2]),m(t[s+3])),o=t[s+2],i=t[s+3],s+=4;break;case r.OPS.curveTo3:o=t[s+2],i=t[s+3],a.push("C",m(t[s]),m(t[s+1]),m(o),m(i),m(o),m(i)),s+=4;break;case r.OPS.closePath:a.push("Z")}a=a.join(" "),n.path&&e.length>0&&e[0]!==r.OPS.rectangle&&e[0]!==r.OPS.moveTo?a=n.path.getAttributeNS(null,"d")+a:(n.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(n.path)),n.path.setAttributeNS(null,"d",a),n.path.setAttributeNS(null,"fill","none"),n.element=n.path,n.setCurrentPoint(o,i)}endPath(){const e=this.current;if(e.path=null,!this.pendingClip)return;if(!e.element)return void(this.pendingClip=null);const t="clippath"+v++,n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",g(this.transformMatrix));const r=e.element.cloneNode(!0);if("evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),e.activeClipUrl){e.clipGroup=null;for(const e of this.extraStack)e.clipGroup=null;n.setAttributeNS(null,"clip-path",e.activeClipUrl)}e.activeClipUrl=`url(#${t})`,this.tgrp=null}clip(e){this.pendingClip=e}closePath(){const e=this.current;if(e.path){const t=`${e.path.getAttributeNS(null,"d")}Z`;e.path.setAttributeNS(null,"d",t)}}setLeading(e){this.current.leading=-e}setTextRise(e){this.current.textRise=e}setTextRenderingMode(e){this.current.textRenderingMode=e}setHScale(e){this.current.textHScale=e/100}setRenderingIntent(e){}setFlatness(e){}setGState(e){for(const[t,n]of e)switch(t){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n);break;case"CA":this.setStrokeAlpha(n);break;case"ca":this.setFillAlpha(n);break;default:(0,r.warn)(`Unimplemented graphic state operator ${t}`)}}fill(){const e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}stroke(){const e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(e,t=1){const n=this.current;let r=n.dashArray;1!==t&&r.length>0&&(r=r.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",m(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",m(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(m).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",m(t*n.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}paintImageXObject(e){const t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)(`Dependent image with object ID ${e} is not ready yet`)}paintInlineImageXObject(e,t){const n=e.width,r=e.height,o=f(e,this.forceDataSchema,!!t),i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",m(n)),i.setAttributeNS(null,"height",m(r)),this.current.element=i,this.clip("nonzero");const a=this.svgFactory.createElement("svg:image");a.setAttributeNS(c,"xlink:href",o),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",m(-r)),a.setAttributeNS(null,"width",m(n)+"px"),a.setAttributeNS(null,"height",m(r)+"px"),a.setAttributeNS(null,"transform",`scale(${m(1/n)} ${m(-1/r)})`),t?t.appendChild(a):this._ensureTransformGroup().appendChild(a)}paintImageMaskXObject(e){const t=this.current,n=e.width,r=e.height,o=t.fillColor;t.maskId="mask"+b++;const i=this.svgFactory.createElement("svg:mask");i.setAttributeNS(null,"id",t.maskId);const a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",m(n)),a.setAttributeNS(null,"height",m(r)),a.setAttributeNS(null,"fill",o),a.setAttributeNS(null,"mask",`url(#${t.maskId})`),this.defs.appendChild(i),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(e,i)}paintFormXObjectBegin(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){const e=t[2]-t[0],n=t[3]-t[1],r=this.svgFactory.createElement("svg:rect");r.setAttributeNS(null,"x",t[0]),r.setAttributeNS(null,"y",t[1]),r.setAttributeNS(null,"width",m(e)),r.setAttributeNS(null,"height",m(n)),this.current.element=r,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(e){const t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.appendChild(n),this.defs=n;const r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",g(e.transform)),t.appendChild(r),this.svg=r,t}_ensureClipGroup(){if(!this.current.clipGroup){const e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",g(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNodeStream=void 0;var r=n(2),o=n(24);const i=__webpack_require__(70172),a=__webpack_require__(2001),s=__webpack_require__(33779),l=__webpack_require__(66558),c=/^file:\/\/\/[a-zA-Z]:\//;t.PDFNodeStream=class{constructor(e){this.source=e,this.url=function(e){const t=l.parse(e);return"file:"===t.protocol||t.host?t:/^[a-z]:[/\\]/i.test(e)?l.parse(`file:///${e}`):(t.host||(t.protocol="file:"),t)}(e.url),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new m(this):new p(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=this.isFsUrl?new g(this,e,t):new h(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);for(const t of this._rangeRequestReaders.slice(0))t.cancel(e)}};class u{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null;const t=e.source;this._contentLength=t.length,this._loaded=0,this._filename=null,this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._readableStream=null,this._readCapability=(0,r.createPromiseCapability)(),this._headersCapability=(0,r.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return null===e?(this._readCapability=(0,r.createPromiseCapability)(),this.read()):(this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new r.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class d{constructor(e){this._url=e.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,r.createPromiseCapability)();const t=e.source;this._isStreamingSupported=!t.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const e=this._readableStream.read();return null===e?(this._readCapability=(0,r.createPromiseCapability)(),this.read()):(this._loaded+=e.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}_error(e){this._storedError=e,this._readCapability.resolve()}_setReadableStream(e){this._readableStream=e,e.on("readable",(()=>{this._readCapability.resolve()})),e.on("end",(()=>{e.destroy(),this._done=!0,this._readCapability.resolve()})),e.on("error",(e=>{this._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}function f(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}class p extends u{constructor(e){super(e);const t=t=>{if(404===t.statusCode){const e=new r.MissingPDFException(`Missing PDF "${this._url}".`);return this._storedError=e,void this._headersCapability.reject(e)}this._headersCapability.resolve(),this._setReadableStream(t);const n=e=>this._readableStream.headers[e.toLowerCase()],{allowRangeRequests:i,suggestedLength:a}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:e.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=i,this._contentLength=a||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(n)};this._request=null,"http:"===this._url.protocol?this._request=a.request(f(this._url,e.httpHeaders),t):this._request=s.request(f(this._url,e.httpHeaders),t),this._request.on("error",(e=>{this._storedError=e,this._headersCapability.reject(e)})),this._request.end()}}class h extends d{constructor(e,t,n){super(e),this._httpHeaders={};for(const t in e.httpHeaders){const n=e.httpHeaders[t];void 0!==n&&(this._httpHeaders[t]=n)}this._httpHeaders.Range=`bytes=${t}-${n-1}`;const o=e=>{if(404!==e.statusCode)this._setReadableStream(e);else{const e=new r.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=e}};this._request=null,"http:"===this._url.protocol?this._request=a.request(f(this._url,this._httpHeaders),o):this._request=s.request(f(this._url,this._httpHeaders),o),this._request.on("error",(e=>{this._storedError=e})),this._request.end()}}class m extends u{constructor(e){super(e);let t=decodeURIComponent(this._url.path);c.test(this._url.href)&&(t=t.replace(/^\//,"")),i.lstat(t,((e,n)=>{if(e)return"ENOENT"===e.code&&(e=new r.MissingPDFException(`Missing PDF "${t}".`)),this._storedError=e,void this._headersCapability.reject(e);this._contentLength=n.size,this._setReadableStream(i.createReadStream(t)),this._headersCapability.resolve()}))}}class g extends d{constructor(e,t,n){super(e);let r=decodeURIComponent(this._url.path);c.test(this._url.href)&&(r=r.replace(/^\//,"")),this._setReadableStream(i.createReadStream(r,{start:t,end:n-1}))}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+t+'".'):new r.UnexpectedResponseException(`Unexpected server response (${e}) while retrieving PDF "${t}".`,e)},t.extractFilenameFromHeader=function(e){const t=e("Content-Disposition");if(t){let e=(0,o.getFilenameFromContentDispositionHeader)(t);if(e.includes("%"))try{e=decodeURIComponent(e)}catch(e){}if((0,i.isPdfFile)(e))return e}return null},t.validateRangeRequestCapabilities=function({getResponseHeader:e,isHttp:t,rangeChunkSize:n,disableRange:o}){(0,r.assert)(n>0,"Range chunk size must be larger than zero");const i={allowRangeRequests:!1,suggestedLength:void 0},a=parseInt(e("Content-Length"),10);return Number.isInteger(a)?(i.suggestedLength=a,a<=2*n||o||!t||"bytes"!==e("Accept-Ranges")||"identity"!==(e("Content-Encoding")||"identity")||(i.allowRangeRequests=!0),i):i},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(2),o=n(25),i=n(1)},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){let t=!0,n=o("filename\\*","i").exec(e);if(n){n=n[1];let e=s(n);return e=unescape(e),e=l(e),e=c(e),a(e)}if(n=function(e){const t=[];let n;const r=o("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;null!==(n=r.exec(e));){let[,e,r,o]=n;if(e=parseInt(e,10),e in t){if(0===e)break}else t[e]=[r,o]}const i=[];for(let e=0;e<t.length&&e in t;++e){let[n,r]=t[e];r=s(r),n&&(r=unescape(r),0===e&&(r=l(r))),i.push(r)}return i.join("")}(e),n)return a(c(n));if(n=o("filename","i").exec(e),n){n=n[1];let e=s(n);return e=c(e),a(e)}function o(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function i(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{const o=new TextDecoder(e,{fatal:!0}),i=(0,r.stringToBytes)(n);n=o.decode(i),t=!1}catch(r){if(/^utf-?8$/i.test(e))try{n=decodeURIComponent(escape(n)),t=!1}catch(e){}}}return n}function a(e){return t&&/[\x80-\xff]/.test(e)&&(e=i("utf-8",e),t&&(e=i("iso-8859-1",e))),e}function s(e){if(e.startsWith('"')){const t=e.slice(1).split('\\"');for(let e=0;e<t.length;++e){const n=t[e].indexOf('"');-1!==n&&(t[e]=t[e].slice(0,n),t.length=e+1),t[e]=t[e].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function l(e){const t=e.indexOf("'");return-1===t?e:i(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function c(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,r){if("q"===n||"Q"===n)return i(t,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{r=atob(r)}catch(e){}return i(t,r)}))}return""};var r=n(2)},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r=n(2),o=n(24);class i{constructor(e,t={}){this.url=e,this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&t.httpHeaders||Object.create(null),this.withCredentials=t.withCredentials||!1,this.getXhr=t.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,t,n){const r={begin:e,end:t};for(const e in n)r[e]=n[e];return this.request(r)}requestFull(e){return this.request(e)}request(e){const t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};t.open("GET",this.url),t.withCredentials=this.withCredentials;for(const e in this.httpHeaders){const n=this.httpHeaders[e];void 0!==n&&t.setRequestHeader(e,n)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}onProgress(e,t){const n=this.pendingRequests[e];n&&n.onProgress?.(t)}onStateChange(e,t){const n=this.pendingRequests[e];if(!n)return;const o=n.xhr;if(o.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4!==o.readyState)return;if(!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],0===o.status&&this.isHttp)return void n.onError?.(o.status);const i=o.status||200;if((200!==i||206!==n.expectedStatus)&&i!==n.expectedStatus)return void n.onError?.(o.status);const a=function(e){const t=e.response;return"string"!=typeof t?t:(0,r.stringToBytes)(t).buffer}(o);if(206===i){const e=o.getResponseHeader("Content-Range"),t=/bytes (\d+)-(\d+)\/(\d+)/.exec(e);n.onDone({begin:parseInt(t[1],10),chunk:a})}else a?n.onDone({begin:0,chunk:a}):n.onError?.(o.status)}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}t.PDFNetworkStream=class{constructor(e){this._source=e,this._manager=new i(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new a(this._manager,this._source),this._fullRequestReader}getRangeReader(e,t){const n=new s(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader?.cancel(e);for(const t of this._rangeRequestReaders.slice(0))t.cancel(e)}};class a{constructor(e,t){this._manager=e;const n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._fullRequestId=e.requestFull(n),this._headersReceivedCapability=(0,r.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._contentLength=t.length,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=e=>t.getResponseHeader(e),{allowRangeRequests:r,suggestedLength:i}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});r&&(this._isRangeSupported=!0),this._contentLength=i||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=(0,o.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);for(const e of this._requests)e.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){this.onProgress?.({loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersReceivedCapability.reject(e);for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class s{constructor(e,t,n){this._manager=e;const r={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(t,n,r),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(e){const t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError=(0,o.createResponseStatusError)(e,this._url);for(const e of this._requests)e.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){this.isStreamingSupported||this.onProgress?.({loaded:e.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(null!==this._queuedChunk){const e=this._queuedChunk;return this._queuedChunk=null,{value:e,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,r.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const e of this._requests)e.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r=n(2),o=n(24);function i(e,t,n){return{method:"GET",headers:e,signal:n?.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function a(e){const t=new Headers;for(const n in e){const r=e[n];void 0!==r&&t.append(n,r)}return t}t.PDFFetchStream=class{constructor(e){this.source=e,this.isHttp=/^https?:/i.test(e.url),this.httpHeaders=this.isHttp&&e.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return(0,r.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new s(this),this._fullRequestReader}getRangeReader(e,t){if(t<=this._progressiveDataLength)return null;const n=new l(this,e,t);return this._rangeRequestReaders.push(n),n}cancelAllRequests(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);for(const t of this._rangeRequestReaders.slice(0))t.cancel(e)}};class s{constructor(e){this._stream=e,this._reader=null,this._loaded=0,this._filename=null;const t=e.source;this._withCredentials=t.withCredentials||!1,this._contentLength=t.length,this._headersCapability=(0,r.createPromiseCapability)(),this._disableRange=t.disableRange||!1,this._rangeChunkSize=t.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._headers=a(this._stream.httpHeaders);const n=t.url;fetch(n,i(this._headers,this._withCredentials,this._abortController)).then((e=>{if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,n);this._reader=e.body.getReader(),this._headersCapability.resolve();const t=t=>e.headers.get(t),{allowRangeRequests:i,suggestedLength:a}=(0,o.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=i,this._contentLength=a||this._contentLength,this._filename=(0,o.extractFilenameFromHeader)(t),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new r.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}class l{constructor(e,t,n){this._stream=e,this._reader=null,this._loaded=0;const s=e.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,r.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=a(this._stream.httpHeaders),this._headers.append("Range",`bytes=${t}-${n-1}`);const l=s.url;fetch(l,i(this._headers,this._withCredentials,this._abortController)).then((e=>{if(!(0,o.validateResponseStatus)(e.status))throw(0,o.createResponseStatusError)(e.status,l);this._readCapability.resolve(),this._reader=e.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:e,done:t}=await this._reader.read();return t?{value:e,done:t}:(this._loaded+=e.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(e).buffer,done:!1})}cancel(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e](n,n.exports,__w_pdfjs_require__),n.exports}var __webpack_exports__={};return(()=>{var e=__webpack_exports__;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return o.AnnotationLayer}}),Object.defineProperty(e,"AnnotationMode",{enumerable:!0,get:function(){return n.AnnotationMode}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return n.CMapCompressionType}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return i.GlobalWorkerOptions}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return n.InvalidPDFException}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return t.LinkTarget}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return r.LoopbackPort}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return n.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return n.OPS}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return r.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return t.PDFDateString}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return r.PDFWorker}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return n.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return n.PermissionFlag}}),Object.defineProperty(e,"PixelsPerInch",{enumerable:!0,get:function(){return t.PixelsPerInch}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return t.RenderingCancelledException}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return n.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return n.UnexpectedResponseException}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return n.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return n.VerbosityLevel}}),Object.defineProperty(e,"XfaLayer",{enumerable:!0,get:function(){return c.XfaLayer}}),Object.defineProperty(e,"addLinkAttributes",{enumerable:!0,get:function(){return t.addLinkAttributes}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return r.build}}),Object.defineProperty(e,"createObjectURL",{enumerable:!0,get:function(){return n.createObjectURL}}),Object.defineProperty(e,"createPromiseCapability",{enumerable:!0,get:function(){return n.createPromiseCapability}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return n.createValidAbsoluteUrl}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return r.getDocument}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return t.getFilenameFromUrl}}),Object.defineProperty(e,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return t.getPdfFilenameFromUrl}}),Object.defineProperty(e,"getXfaPageViewport",{enumerable:!0,get:function(){return t.getXfaPageViewport}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return t.isPdfFile}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return t.loadScript}}),Object.defineProperty(e,"removeNullCharacters",{enumerable:!0,get:function(){return n.removeNullCharacters}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return s.renderTextLayer}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return n.shadow}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return r.version}});var t=__w_pdfjs_require__(1),n=__w_pdfjs_require__(2),r=__w_pdfjs_require__(6),o=__w_pdfjs_require__(18),i=__w_pdfjs_require__(12),a=__w_pdfjs_require__(4),s=__w_pdfjs_require__(21),l=__w_pdfjs_require__(22),c=__w_pdfjs_require__(20);if(a.isNodeJS){const{PDFNodeStream:e}=__w_pdfjs_require__(23);(0,r.setPDFNetworkStreamFactory)((t=>new e(t)))}else{const{PDFNetworkStream:e}=__w_pdfjs_require__(26),{PDFFetchStream:n}=__w_pdfjs_require__(27);(0,r.setPDFNetworkStreamFactory)((r=>(0,t.isValidFetchUrl)(r.url)?new n(r):new e(r)))}})(),__webpack_exports__})()},module.exports=factory()},78783:function(module,__unused_webpack_exports,__webpack_require__){var Buffer=__webpack_require__(48764).lW,process=__webpack_require__(34155),factory;factory=function(){return(()=>{var __webpack_modules__=[,(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.StatTimer=t.RenderingCancelledException=t.PixelsPerInch=t.PageViewport=t.PDFDateString=t.LinkTarget=t.DOMStandardFontDataFactory=t.DOMSVGFactory=t.DOMCanvasFactory=t.DOMCMapReaderFactory=void 0,t.addLinkAttributes=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.url,r=t.target,o=t.rel,i=t.enabled,s=void 0===i||i;(0,a.assert)(n&&"string"==typeof n,'addLinkAttributes: A valid "url" parameter must provided.');var l=(0,a.removeNullCharacters)(n);s?e.href=e.title=l:(e.href="",e.title="Disabled: ".concat(l),e.onclick=function(){return!1});var c="";switch(r){case j.NONE:break;case j.SELF:c="_self";break;case j.BLANK:c="_blank";break;case j.PARENT:c="_parent";break;case j.TOP:c="_top"}e.target=c,e.rel="string"==typeof o?o:A},t.deprecated=function(e){console.log("Deprecated API usage: "+e)},t.getFilenameFromUrl=function(e){var t=e.indexOf("#"),n=e.indexOf("?"),r=Math.min(t>0?t:e.length,n>0?n:e.length);return e.substring(e.lastIndexOf("/",r)+1,r)},t.getPdfFilenameFromUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"document.pdf";if("string"!=typeof e)return t;if(T(e))return(0,a.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;var n=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,r=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,o=n.exec(e),i=r.exec(o[1])||r.exec(o[2])||r.exec(o[3]);if(i&&(i=i[0]).includes("%"))try{i=r.exec(decodeURIComponent(i))[0]}catch(e){}return i||t},t.getXfaPageViewport=function(e,t){var n=t.scale,r=void 0===n?1:n,o=t.rotation,i=void 0===o?0:o,a=e.attributes.style,s=a.width,l=a.height,c=[0,0,parseInt(s),parseInt(l)];return new B({viewBox:c,scale:r,rotation:i})},t.isDataScheme=T,t.isPdfFile=function(e){return"string"==typeof e&&/\.pdf$/i.test(e)},t.isValidFetchUrl=D,t.loadScript=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return new Promise((function(n,r){var o=document.createElement("script");o.src=e,o.onload=function(e){t&&o.remove(),n(e)},o.onerror=function(){r(new Error("Cannot load script at: ".concat(o.src)))},(document.head||document.documentElement).appendChild(o)}))};var o,i=(o=n(2))&&o.__esModule?o:{default:o},a=n(4),s=n(135);function l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return c(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)?c(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(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 u(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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,n){return t&&p(e.prototype,t),n&&p(e,n),e}function m(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var A="noopener noreferrer nofollow",x={CSS:96,PDF:72,get PDF_TO_CSS_UNITS(){return(0,a.shadow)(this,"PDF_TO_CSS_UNITS",this.CSS/this.PDF)}};t.PixelsPerInch=x;var C=function(e){m(n,e);var t=v(n);function n(){var e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=r.ownerDocument,i=void 0===o?globalThis.document:o;return f(this,n),(e=t.call(this))._document=i,e}return h(n,[{key:"_createCanvas",value:function(e,t){var n=this._document.createElement("canvas");return n.width=e,n.height=t,n}}]),n}(s.BaseCanvasFactory);function _(e){return w.apply(this,arguments)}function w(){return w=d(i.default.mark((function e(t){var n,r,o=arguments;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=o.length>1&&void 0!==o[1]&&o[1],!D(t,document.baseURI)){e.next=21;break}return e.next=4,fetch(t);case 4:if((r=e.sent).ok){e.next=7;break}throw new Error(r.statusText);case 7:if(!n){e.next=15;break}return e.t1=Uint8Array,e.next=11,r.arrayBuffer();case 11:e.t2=e.sent,e.t0=new e.t1(e.t2),e.next=20;break;case 15:return e.t3=a.stringToBytes,e.next=18,r.text();case 18:e.t4=e.sent,e.t0=(0,e.t3)(e.t4);case 20:return e.abrupt("return",e.t0);case 21:return e.abrupt("return",new Promise((function(e,r){var o=new XMLHttpRequest;o.open("GET",t,!0),n&&(o.responseType="arraybuffer"),o.onreadystatechange=function(){if(o.readyState===XMLHttpRequest.DONE){var t;if((200===o.status||0===o.status)&&(n&&o.response?t=new Uint8Array(o.response):!n&&o.responseText&&(t=(0,a.stringToBytes)(o.responseText)),t))return void e(t);r(new Error(o.statusText))}},o.send(null)})));case 22:case"end":return e.stop()}}),e)}))),w.apply(this,arguments)}t.DOMCanvasFactory=C;var k=function(e){m(n,e);var t=v(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"_fetchData",value:function(e,t){return _(e,this.isCompressed).then((function(e){return{cMapData:e,compressionType:t}}))}}]),n}(s.BaseCMapReaderFactory);t.DOMCMapReaderFactory=k;var S=function(e){m(n,e);var t=v(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"_fetchData",value:function(e){return _(e,!0)}}]),n}(s.BaseStandardFontDataFactory);t.DOMStandardFontDataFactory=S;var E=function(e){m(n,e);var t=v(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"_createSVG",value:function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}}]),n}(s.BaseSVGFactory);t.DOMSVGFactory=E;var B=function(){function e(t){var n=t.viewBox,r=t.scale,o=t.rotation,i=t.offsetX,a=void 0===i?0:i,s=t.offsetY,l=void 0===s?0:s,c=t.dontFlip,u=void 0!==c&&c;f(this,e),this.viewBox=n,this.scale=r,this.rotation=o,this.offsetX=a,this.offsetY=l;var d,p,h,m,g,v,b,y,A=(n[2]+n[0])/2,x=(n[3]+n[1])/2;switch((o%=360)<0&&(o+=360),o){case 180:d=-1,p=0,h=0,m=1;break;case 90:d=0,p=1,h=1,m=0;break;case 270:d=0,p=-1,h=-1,m=0;break;case 0:d=1,p=0,h=0,m=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}u&&(h=-h,m=-m),0===d?(g=Math.abs(x-n[1])*r+a,v=Math.abs(A-n[0])*r+l,b=Math.abs(n[3]-n[1])*r,y=Math.abs(n[2]-n[0])*r):(g=Math.abs(A-n[0])*r+a,v=Math.abs(x-n[1])*r+l,b=Math.abs(n[2]-n[0])*r,y=Math.abs(n[3]-n[1])*r),this.transform=[d*r,p*r,h*r,m*r,g-d*r*A-h*r*x,v-p*r*A-m*r*x],this.width=b,this.height=y}return h(e,[{key:"clone",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.scale,r=void 0===n?this.scale:n,o=t.rotation,i=void 0===o?this.rotation:o,a=t.offsetX,s=void 0===a?this.offsetX:a,l=t.offsetY,c=void 0===l?this.offsetY:l,u=t.dontFlip,d=void 0!==u&&u;return new e({viewBox:this.viewBox.slice(),scale:r,rotation:i,offsetX:s,offsetY:c,dontFlip:d})}},{key:"convertToViewportPoint",value:function(e,t){return a.Util.applyTransform([e,t],this.transform)}},{key:"convertToViewportRectangle",value:function(e){var t=a.Util.applyTransform([e[0],e[1]],this.transform),n=a.Util.applyTransform([e[2],e[3]],this.transform);return[t[0],t[1],n[0],n[1]]}},{key:"convertToPdfPoint",value:function(e,t){return a.Util.applyInverseTransform([e,t],this.transform)}}]),e}();t.PageViewport=B;var O=function(e){m(n,e);var t=v(n);function n(e,r){var o;return f(this,n),(o=t.call(this,e,"RenderingCancelledException")).type=r,o}return n}(a.BaseException);t.RenderingCancelledException=O;var j={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};function T(e){for(var t=e.length,n=0;n<t&&""===e[n].trim();)n++;return"data:"===e.substring(n,n+5).toLowerCase()}t.LinkTarget=j;var P,M=function(){function e(){f(this,e),this.started=Object.create(null),this.times=[]}return h(e,[{key:"time",value:function(e){e in this.started&&(0,a.warn)("Timer is already running for ".concat(e)),this.started[e]=Date.now()}},{key:"timeEnd",value:function(e){e in this.started||(0,a.warn)("Timer has not been started for ".concat(e)),this.times.push({name:e,start:this.started[e],end:Date.now()}),delete this.started[e]}},{key:"toString",value:function(){var e,t=[],n=0,r=l(this.times);try{for(r.s();!(e=r.n()).done;){var o=e.value.name;o.length>n&&(n=o.length)}}catch(e){r.e(e)}finally{r.f()}var i,a=l(this.times);try{for(a.s();!(i=a.n()).done;){var s=i.value,c=s.end-s.start;t.push("".concat(s.name.padEnd(n)," ").concat(c,"ms\n"))}}catch(e){a.e(e)}finally{a.f()}return t.join("")}}]),e}();function D(e,t){try{var n=(t?new URL(e,t):new URL(e)).protocol;return"http:"===n||"https:"===n}catch(e){return!1}}t.StatTimer=M;var R=function(){function e(){f(this,e)}return h(e,null,[{key:"toDateObject",value:function(e){if(!e||!(0,a.isString)(e))return null;P||(P=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));var t=P.exec(e);if(!t)return null;var n=parseInt(t[1],10),r=parseInt(t[2],10);r=r>=1&&r<=12?r-1:0;var o=parseInt(t[3],10);o=o>=1&&o<=31?o:1;var i=parseInt(t[4],10);i=i>=0&&i<=23?i:0;var s=parseInt(t[5],10);s=s>=0&&s<=59?s:0;var l=parseInt(t[6],10);l=l>=0&&l<=59?l:0;var c=t[7]||"Z",u=parseInt(t[8],10);u=u>=0&&u<=23?u:0;var d=parseInt(t[9],10)||0;return d=d>=0&&d<=59?d:0,"-"===c?(i+=u,s+=d):"+"===c&&(i-=u,s-=d),new Date(Date.UTC(n,r,o,i,s,l))}}]),e}();t.PDFDateString=R},(e,t,n)=>{"use strict";e.exports=n(3)},(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)}var o=function(e){var t,n=Object.prototype,o=n.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new O(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===h)throw new Error("Generator is already running");if(r===m){if("throw"===o)throw i;return T()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=S(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=h;var l=d(e,t,n);if("normal"===l.type){if(r=n.done?m:p,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=m,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",p="suspendedYield",h="executing",m="completed",g={};function v(){}function b(){}function y(){}var A={};c(A,a,(function(){return this}));var x=Object.getPrototypeOf,C=x&&x(x(j([])));C&&C!==n&&o.call(C,a)&&(A=C);var _=y.prototype=v.prototype=Object.create(A);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(i,a,s,l){var c=d(e[i],e,a);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===r(f)&&o.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(f).then((function(e){u.value=e,s(u)}),(function(e){return n("throw",e,s,l)}))}l(c.arg)}var i;this._invoke=function(e,r){function o(){return new t((function(t,o){n(e,r,t,o)}))}return i=i?i.then(o,o):o()}}function S(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,S(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var o=d(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,g;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function j(e){if(e){var n=e[a];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function n(){for(;++r<e.length;)if(o.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}return{next:T}}function T(){return{value:t,done:!0}}return b.prototype=y,c(_,"constructor",y),c(y,"constructor",b),b.displayName=c(y,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,c(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},e.awrap=function(e){return{__await:e}},w(k.prototype),c(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new k(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(_),c(_,l,"Generator"),c(_,a,(function(){return this})),c(_,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=j,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(B),!e)for(var n in this)"t"===n.charAt(0)&&o.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),c=o.call(a,"finallyLoc");if(l&&c){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),B(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;B(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:j(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),g}},e}("object"===r(e=n.nmd(e))?e.exports:{});try{regeneratorRuntime=o}catch(e){"object"===("undefined"==typeof globalThis?"undefined":r(globalThis))?globalThis.regeneratorRuntime=o:Function("r","regeneratorRuntime = r")(o)}},(e,t,n)=>{"use strict";function r(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 o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||a(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 i(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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||a(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 a(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}function s(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 l(e){return l="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},l(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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}}),t&&d(e,t)}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.VerbosityLevel=t.Util=t.UnknownErrorException=t.UnexpectedResponseException=t.UNSUPPORTED_FEATURES=t.TextRenderingMode=t.StreamType=t.RenderingIntentFlag=t.PermissionFlag=t.PasswordResponses=t.PasswordException=t.PageActionEventType=t.OPS=t.MissingPDFException=t.IsLittleEndianCached=t.IsEvalSupportedCached=t.InvalidPDFException=t.ImageKind=t.IDENTITY_MATRIX=t.FormatError=t.FontType=t.FONT_IDENTITY_MATRIX=t.DocumentActionEventType=t.CMapCompressionType=t.BaseException=t.AnnotationType=t.AnnotationStateModelType=t.AnnotationReviewState=t.AnnotationReplyType=t.AnnotationMode=t.AnnotationMarkedState=t.AnnotationFlag=t.AnnotationFieldFlag=t.AnnotationBorderStyleType=t.AnnotationActionEventType=t.AbortException=void 0,t.arrayByteLength=M,t.arraysToBytes=function(e){var t=e.length;if(1===t&&e[0]instanceof Uint8Array)return e[0];for(var n=0,r=0;r<t;r++)n+=M(e[r]);for(var o=0,i=new Uint8Array(n),a=0;a<t;a++){var s=e[a];s instanceof Uint8Array||(s="string"==typeof s?P(s):new Uint8Array(s));var l=s.byteLength;i.set(s,o),o+=l}return i},t.assert=y,t.bytesToString=function(e){y(null!==e&&"object"===l(e)&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length,n=8192;if(t<n)return String.fromCharCode.apply(null,e);for(var r=[],o=0;o<t;o+=n){var i=Math.min(o+n,t),a=e.subarray(o,i);r.push(String.fromCharCode.apply(null,a))}return r.join("")},t.createObjectURL=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(URL.createObjectURL&&"undefined"!=typeof Blob&&!n)return URL.createObjectURL(new Blob([e],{type:t}));for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="data:".concat(t,";base64,"),i=0,a=e.length;i<a;i+=3){var s=255&e[i],l=255&e[i+1],c=255&e[i+2],u=s>>2,d=(3&s)<<4|l>>4,f=i+1<a?(15&l)<<2|c>>6:64,p=i+2<a?63&c:64;o+=r[u]+r[d]+r[f]+r[p]}return o},t.createPromiseCapability=function(){var e=Object.create(null),t=!1;return Object.defineProperty(e,"settled",{get:function(){return t}}),e.promise=new Promise((function(n,r){e.resolve=function(e){t=!0,n(e)},e.reject=function(e){t=!0,r(e)}})),e},t.createValidAbsoluteUrl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!e)return null;try{if(n&&"string"==typeof e){if(n.addDefaultProtocol&&e.startsWith("www.")){var r=e.match(/\./g);r&&r.length>=2&&(e="http://".concat(e))}if(n.tryConvertEncoding)try{e=F(e)}catch(e){}}var o=t?new URL(e,t):new URL(e);if(A(o))return o}catch(e){}return null},t.escapeString=function(e){return e.replace(/([()\\\n\r])/g,(function(e){return"\n"===e?"\\n":"\r"===e?"\\r":"\\".concat(e)}))},t.getModificationDate=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=[e.getUTCFullYear().toString(),(e.getUTCMonth()+1).toString().padStart(2,"0"),e.getUTCDate().toString().padStart(2,"0"),e.getUTCHours().toString().padStart(2,"0"),e.getUTCMinutes().toString().padStart(2,"0"),e.getUTCSeconds().toString().padStart(2,"0")];return t.join("")},t.getVerbosityLevel=function(){return g},t.info=function(e){g>=m.INFOS&&console.log("Info: ".concat(e))},t.isArrayBuffer=function(e){return"object"===l(e)&&null!==e&&void 0!==e.byteLength},t.isArrayEqual=function(e,t){if(e.length!==t.length)return!1;for(var n=0,r=e.length;n<r;n++)if(e[n]!==t[n])return!1;return!0},t.isAscii=function(e){return/^[\x00-\x7F]*$/.test(e)},t.isBool=function(e){return"boolean"==typeof e},t.isNum=function(e){return"number"==typeof e},t.isSameOrigin=function(e,t){var n;try{if(!(n=new URL(e)).origin||"null"===n.origin)return!1}catch(e){return!1}var r=new URL(t,n);return n.origin===r.origin},t.isString=function(e){return"string"==typeof e},t.objectFromMap=function(e){var t,n=Object.create(null),r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}(e);try{for(r.s();!(t=r.n()).done;){var o=i(t.value,2),s=o[0],l=o[1];n[s]=l}}catch(e){r.e(e)}finally{r.f()}return n},t.objectSize=function(e){return Object.keys(e).length},t.removeNullCharacters=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e?(v("The argument for removeNullCharacters must be a string."),e):(t&&(e=e.replace(T," ")),e.replace(j,""))},t.setVerbosityLevel=function(e){Number.isInteger(e)&&(g=e)},t.shadow=x,t.string32=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},t.stringToBytes=P,t.stringToPDFString=function(e){var t=e.length,n=[];if("þ"===e[0]&&"ÿ"===e[1])for(var r=2;r<t;r+=2)n.push(String.fromCharCode(e.charCodeAt(r)<<8|e.charCodeAt(r+1)));else if("ÿ"===e[0]&&"þ"===e[1])for(var o=2;o<t;o+=2)n.push(String.fromCharCode(e.charCodeAt(o+1)<<8|e.charCodeAt(o)));else for(var i=0;i<t;++i){var a=N[e.charCodeAt(i)];n.push(a?String.fromCharCode(a):e.charAt(i))}return n.join("")},t.stringToUTF16BEString=function(e){for(var t=["þÿ"],n=0,r=e.length;n<r;n++){var o=e.charCodeAt(n);t.push(String.fromCharCode(o>>8&255),String.fromCharCode(255&o))}return t.join("")},t.stringToUTF8String=F,t.unreachable=b,t.utf8StringToString=function(e){return unescape(encodeURIComponent(e))},t.warn=v,n(5),t.IDENTITY_MATRIX=[1,0,0,1,0,0],t.FONT_IDENTITY_MATRIX=[.001,0,0,.001,0,0],t.RenderingIntentFlag={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},t.AnnotationMode={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},t.PermissionFlag={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},t.TextRenderingMode={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},t.ImageKind={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},t.AnnotationType={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26},t.AnnotationStateModelType={MARKED:"Marked",REVIEW:"Review"},t.AnnotationMarkedState={MARKED:"Marked",UNMARKED:"Unmarked"},t.AnnotationReviewState={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"},t.AnnotationReplyType={GROUP:"Group",REPLY:"R"},t.AnnotationFlag={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512},t.AnnotationFieldFlag={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864},t.AnnotationBorderStyleType={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},t.AnnotationActionEventType={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"},t.DocumentActionEventType={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"},t.PageActionEventType={O:"PageOpen",C:"PageClose"},t.StreamType={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"},t.FontType={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};var m={ERRORS:0,WARNINGS:1,INFOS:5};t.VerbosityLevel=m,t.CMapCompressionType={NONE:0,BINARY:1,STREAM:2},t.OPS={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},t.UNSUPPORTED_FEATURES={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"},t.PasswordResponses={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};var g=m.WARNINGS;function v(e){g>=m.WARNINGS&&console.log("Warning: ".concat(e))}function b(e){throw new Error(e)}function y(e,t){e||b(t)}function A(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function x(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!1}),n}var C=function(){function e(t,n){this.constructor===e&&b("Cannot initialize BaseException."),this.message=t,this.name=n}return e.prototype=new Error,e.constructor=e,e}();t.BaseException=C;var _=function(e){u(n,e);var t=f(n);function n(e,r){var o;return c(this,n),(o=t.call(this,e,"PasswordException")).code=r,o}return n}(C);t.PasswordException=_;var w=function(e){u(n,e);var t=f(n);function n(e,r){var o;return c(this,n),(o=t.call(this,e,"UnknownErrorException")).details=r,o}return n}(C);t.UnknownErrorException=w;var k=function(e){u(n,e);var t=f(n);function n(e){return c(this,n),t.call(this,e,"InvalidPDFException")}return n}(C);t.InvalidPDFException=k;var S=function(e){u(n,e);var t=f(n);function n(e){return c(this,n),t.call(this,e,"MissingPDFException")}return n}(C);t.MissingPDFException=S;var E=function(e){u(n,e);var t=f(n);function n(e,r){var o;return c(this,n),(o=t.call(this,e,"UnexpectedResponseException")).status=r,o}return n}(C);t.UnexpectedResponseException=E;var B=function(e){u(n,e);var t=f(n);function n(e){return c(this,n),t.call(this,e,"FormatError")}return n}(C);t.FormatError=B;var O=function(e){u(n,e);var t=f(n);function n(e){return c(this,n),t.call(this,e,"AbortException")}return n}(C);t.AbortException=O;var j=/\x00+/g,T=/[\x01-\x1F]/g;function P(e){y("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,n=new Uint8Array(t),r=0;r<t;++r)n[r]=255&e.charCodeAt(r);return n}function M(e){return void 0!==e.length?e.length:(y(void 0!==e.byteLength,"arrayByteLength - invalid argument."),e.byteLength)}var D={get value(){return x(this,"value",((e=new Uint8Array(4))[0]=1,1===new Uint32Array(e.buffer,0,1)[0]));var e}};t.IsLittleEndianCached=D;var R={get value(){return x(this,"value",function(){try{return new Function(""),!0}catch(e){return!1}}())}};t.IsEvalSupportedCached=R;var L=o(Array(256).keys()).map((function(e){return e.toString(16).padStart(2,"0")})),I=function(){function e(){c(this,e)}var t,n,i;return t=e,i=[{key:"makeHexColor",value:function(e,t,n){return"#".concat(L[e]).concat(L[t]).concat(L[n])}},{key:"transform",value:function(e,t){return[e[0]*t[0]+e[2]*t[1],e[1]*t[0]+e[3]*t[1],e[0]*t[2]+e[2]*t[3],e[1]*t[2]+e[3]*t[3],e[0]*t[4]+e[2]*t[5]+e[4],e[1]*t[4]+e[3]*t[5]+e[5]]}},{key:"applyTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[2]+t[4],e[0]*t[1]+e[1]*t[3]+t[5]]}},{key:"applyInverseTransform",value:function(e,t){var n=t[0]*t[3]-t[1]*t[2];return[(e[0]*t[3]-e[1]*t[2]+t[2]*t[5]-t[4]*t[3])/n,(-e[0]*t[1]+e[1]*t[0]+t[4]*t[1]-t[5]*t[0])/n]}},{key:"getAxialAlignedBoundingBox",value:function(t,n){var r=e.applyTransform(t,n),o=e.applyTransform(t.slice(2,4),n),i=e.applyTransform([t[0],t[3]],n),a=e.applyTransform([t[2],t[1]],n);return[Math.min(r[0],o[0],i[0],a[0]),Math.min(r[1],o[1],i[1],a[1]),Math.max(r[0],o[0],i[0],a[0]),Math.max(r[1],o[1],i[1],a[1])]}},{key:"inverseTransform",value:function(e){var t=e[0]*e[3]-e[1]*e[2];return[e[3]/t,-e[1]/t,-e[2]/t,e[0]/t,(e[2]*e[5]-e[4]*e[3])/t,(e[4]*e[1]-e[5]*e[0])/t]}},{key:"apply3dTransform",value:function(e,t){return[e[0]*t[0]+e[1]*t[1]+e[2]*t[2],e[3]*t[0]+e[4]*t[1]+e[5]*t[2],e[6]*t[0]+e[7]*t[1]+e[8]*t[2]]}},{key:"singularValueDecompose2dScale",value:function(e){var t=[e[0],e[2],e[1],e[3]],n=e[0]*t[0]+e[1]*t[2],r=e[0]*t[1]+e[1]*t[3],o=e[2]*t[0]+e[3]*t[2],i=e[2]*t[1]+e[3]*t[3],a=(n+i)/2,s=Math.sqrt(Math.pow(n+i,2)-4*(n*i-o*r))/2,l=a+s||1,c=a-s||1;return[Math.sqrt(l),Math.sqrt(c)]}},{key:"normalizeRect",value:function(e){var t=e.slice(0);return e[0]>e[2]&&(t[0]=e[2],t[2]=e[0]),e[1]>e[3]&&(t[1]=e[3],t[3]=e[1]),t}},{key:"intersect",value:function(t,n){function r(e,t){return e-t}var o=[t[0],t[2],n[0],n[2]].sort(r),i=[t[1],t[3],n[1],n[3]].sort(r),a=[];return t=e.normalizeRect(t),n=e.normalizeRect(n),o[0]===t[0]&&o[1]===n[0]||o[0]===n[0]&&o[1]===t[0]?(a[0]=o[1],a[2]=o[2],i[0]===t[1]&&i[1]===n[1]||i[0]===n[1]&&i[1]===t[1]?(a[1]=i[1],a[3]=i[2],a):null):null}},{key:"bezierBoundingBox",value:function(e,t,n,r,i,a,s,l){for(var c,u,d,f,p,h,m,g,v=[],b=[[],[]],y=0;y<2;++y)if(0===y?(u=6*e-12*n+6*i,c=-3*e+9*n-9*i+3*s,d=3*n-3*e):(u=6*t-12*r+6*a,c=-3*t+9*r-9*a+3*l,d=3*r-3*t),Math.abs(c)<1e-12){if(Math.abs(u)<1e-12)continue;0<(f=-d/u)&&f<1&&v.push(f)}else m=u*u-4*d*c,g=Math.sqrt(m),m<0||(0<(p=(-u+g)/(2*c))&&p<1&&v.push(p),0<(h=(-u-g)/(2*c))&&h<1&&v.push(h));for(var A,x=v.length,C=x;x--;)A=1-(f=v[x]),b[0][x]=A*A*A*e+3*A*A*f*n+3*A*f*f*i+f*f*f*s,b[1][x]=A*A*A*t+3*A*A*f*r+3*A*f*f*a+f*f*f*l;return b[0][C]=e,b[1][C]=t,b[0][C+1]=s,b[1][C+1]=l,b[0].length=b[1].length=C+2,[Math.min.apply(Math,o(b[0])),Math.min.apply(Math,o(b[1])),Math.max.apply(Math,o(b[0])),Math.max.apply(Math,o(b[1]))]}}],(n=null)&&r(t.prototype,n),i&&r(t,i),e}();t.Util=I;var N=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,728,711,710,729,733,731,730,732,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8226,8224,8225,8230,8212,8211,402,8260,8249,8250,8722,8240,8222,8220,8221,8216,8217,8218,8482,64257,64258,321,338,352,376,381,305,322,339,353,382,0,8364];function F(e){return decodeURIComponent(escape(e))}},(e,t,n)=>{"use strict";var r=n(6);"undefined"!=typeof globalThis&&globalThis._pdfjsCompatibilityChecked||("undefined"!=typeof globalThis&&globalThis.Math===Math||(globalThis=n(7)),globalThis._pdfjsCompatibilityChecked=!0,!globalThis.btoa&&r.isNodeJS&&(globalThis.btoa=function(e){return Buffer.from(e,"binary").toString("base64")}),!globalThis.atob&&r.isNodeJS&&(globalThis.atob=function(e){return Buffer.from(e,"base64").toString("binary")}),!globalThis.DOMMatrix&&r.isNodeJS&&(globalThis.DOMMatrix=n(69)),Object.fromEntries||n(70),globalThis.Promise.allSettled||(globalThis.Promise=n(97)),!globalThis.ReadableStream&&r.isNodeJS&&(globalThis.ReadableStream=n(134).ReadableStream))},(e,t)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isNodeJS=void 0;var r=!("object"!==(void 0===process?"undefined":n(process))||process+""!="[object process]"||process.versions.nw||process.versions.electron&&process.type&&"browser"!==process.type);t.isNodeJS=r},(e,t,n)=>{n(8),e.exports=n(10)},(e,t,n)=>{n(9)({global:!0},{globalThis:n(10)})},(e,t,n)=>{var r=n(10),o=n(11).f,i=n(47),a=n(50),s=n(41),l=n(57),c=n(68);e.exports=function(e,t){var n,u,d,f,p,h=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in t){if(f=t[u],d=e.noTargetGet?(p=o(n,u))&&p.value:n[u],!c(m?u:h+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof __webpack_require__.g&&__webpack_require__.g)||function(){return this}()||Function("return this")()},(e,t,n)=>{var r=n(12),o=n(14),i=n(15),a=n(16),s=n(17),l=n(22),c=n(42),u=n(45),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},(e,t,n)=>{var r=n(13);e.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},e=>{var t=Function.prototype.call;e.exports=t.bind?t.bind(t):function(){return t.apply(t,arguments)}},(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},(e,t,n)=>{var r=n(18),o=n(21);e.exports=function(e){return r(o(e))}},(e,t,n)=>{var r=n(10),o=n(19),i=n(13),a=n(20),s=r.Object,l=o("".split);e.exports=i((function(){return!s("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?l(e,""):s(e)}:s},e=>{var t=Function.prototype,n=t.bind,r=t.call,o=n&&n.bind(r);e.exports=n?function(e){return e&&o(r,e)}:function(e){return e&&function(){return r.apply(e,arguments)}}},(e,t,n)=>{var r=n(19),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},(e,t,n)=>{var r=n(10).TypeError;e.exports=function(e){if(null==e)throw r("Can't call method on "+e);return e}},(e,t,n)=>{var r=n(23),o=n(26);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},(e,t,n)=>{var r=n(10),o=n(14),i=n(24),a=n(26),s=n(33),l=n(36),c=n(37),u=r.TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,r=s(e,d);if(r){if(void 0===t&&(t="default"),n=o(r,e,t),!i(n)||a(n))return n;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(e,t)}},(e,t,n)=>{var r=n(25);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},e=>{e.exports=function(e){return"function"==typeof e}},(e,t,n)=>{var r=n(10),o=n(27),i=n(25),a=n(28),s=n(29),l=r.Object;e.exports=s?function(e){return"symbol"==typeof e}:function(e){var t=o("Symbol");return i(t)&&a(t.prototype,l(e))}},(e,t,n)=>{var r=n(10),o=n(25),i=function(e){return o(e)?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e]):r[e]&&r[e][t]}},(e,t,n)=>{var r=n(19);e.exports=r({}.isPrototypeOf)},(e,t,n)=>{var r=n(30);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},(e,t,n)=>{var r=n(31),o=n(13);e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},(e,t,n)=>{var r,o,i=n(10),a=n(32),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},(e,t,n)=>{var r=n(27);e.exports=r("navigator","userAgent")||""},(e,t,n)=>{var r=n(34);e.exports=function(e,t){var n=e[t];return null==n?void 0:r(n)}},(e,t,n)=>{var r=n(10),o=n(25),i=n(35),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a function")}},(e,t,n)=>{var r=n(10).String;e.exports=function(e){try{return r(e)}catch(e){return"Object"}}},(e,t,n)=>{var r=n(10),o=n(14),i=n(25),a=n(24),s=r.TypeError;e.exports=function(e,t){var n,r;if("string"===t&&i(n=e.toString)&&!a(r=o(n,e)))return r;if(i(n=e.valueOf)&&!a(r=o(n,e)))return r;if("string"!==t&&i(n=e.toString)&&!a(r=o(n,e)))return r;throw s("Can't convert object to primitive value")}},(e,t,n)=>{var r=n(10),o=n(38),i=n(42),a=n(44),s=n(30),l=n(29),c=o("wks"),u=r.Symbol,d=u&&u.for,f=l?u:u&&u.withoutSetter||a;e.exports=function(e){if(!i(c,e)||!s&&"string"!=typeof c[e]){var t="Symbol."+e;s&&i(u,e)?c[e]=u[e]:c[e]=l&&d?d(t):f(t)}return c[e]}},(e,t,n)=>{var r=n(39),o=n(40);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},e=>{e.exports=!1},(e,t,n)=>{var r=n(10),o=n(41),i="__core-js_shared__",a=r[i]||o(i,{});e.exports=a},(e,t,n)=>{var r=n(10),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},(e,t,n)=>{var r=n(19),o=n(43),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},(e,t,n)=>{var r=n(10),o=n(21),i=r.Object;e.exports=function(e){return i(o(e))}},(e,t,n)=>{var r=n(19),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},(e,t,n)=>{var r=n(12),o=n(13),i=n(46);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},(e,t,n)=>{var r=n(10),o=n(24),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},(e,t,n)=>{var r=n(12),o=n(48),i=n(16);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},(e,t,n)=>{var r=n(10),o=n(12),i=n(45),a=n(49),s=n(22),l=r.TypeError,c=Object.defineProperty;t.f=o?c:function(e,t,n){if(a(e),t=s(t),a(n),i)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},(e,t,n)=>{var r=n(10),o=n(24),i=r.String,a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not an object")}},(e,t,n)=>{var r=n(10),o=n(25),i=n(42),a=n(47),s=n(41),l=n(51),c=n(52),u=n(56).CONFIGURABLE,d=c.get,f=c.enforce,p=String(String).split("String");(e.exports=function(e,t,n,l){var c,d=!!l&&!!l.unsafe,h=!!l&&!!l.enumerable,m=!!l&&!!l.noTargetGet,g=l&&void 0!==l.name?l.name:t;o(n)&&("Symbol("===String(g).slice(0,7)&&(g="["+String(g).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(n,"name")||u&&n.name!==g)&&a(n,"name",g),(c=f(n)).source||(c.source=p.join("string"==typeof g?g:""))),e!==r?(d?!m&&e[t]&&(h=!0):delete e[t],h?e[t]=n:a(e,t,n)):h?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return o(this)&&d(this).source||l(this)}))},(e,t,n)=>{var r=n(19),o=n(25),i=n(40),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},(e,t,n)=>{var r,o,i,a=n(53),s=n(10),l=n(19),c=n(24),u=n(47),d=n(42),f=n(40),p=n(54),h=n(55),m="Object already initialized",g=s.TypeError,v=s.WeakMap;if(a||f.state){var b=f.state||(f.state=new v),y=l(b.get),A=l(b.has),x=l(b.set);r=function(e,t){if(A(b,e))throw new g(m);return t.facade=e,x(b,e,t),t},o=function(e){return y(b,e)||{}},i=function(e){return A(b,e)}}else{var C=p("state");h[C]=!0,r=function(e,t){if(d(e,C))throw new g(m);return t.facade=e,u(e,C,t),t},o=function(e){return d(e,C)?e[C]:{}},i=function(e){return d(e,C)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return n}}}},(e,t,n)=>{var r=n(10),o=n(25),i=n(51),a=r.WeakMap;e.exports=o(a)&&/native code/.test(i(a))},(e,t,n)=>{var r=n(38),o=n(44),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},e=>{e.exports={}},(e,t,n)=>{var r=n(12),o=n(42),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},(e,t,n)=>{var r=n(42),o=n(58),i=n(11),a=n(48);e.exports=function(e,t){for(var n=o(t),s=a.f,l=i.f,c=0;c<n.length;c++){var u=n[c];r(e,u)||s(e,u,l(t,u))}}},(e,t,n)=>{var r=n(27),o=n(19),i=n(59),a=n(67),s=n(49),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},(e,t,n)=>{var r=n(60),o=n(66).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},(e,t,n)=>{var r=n(19),o=n(42),i=n(17),a=n(61).indexOf,s=n(55),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},(e,t,n)=>{var r=n(17),o=n(62),i=n(64),a=function(e){return function(t,n,a){var s,l=r(t),c=i(l),u=o(a,c);if(e&&n!=n){for(;c>u;)if((s=l[u++])!=s)return!0}else for(;c>u;u++)if((e||u in l)&&l[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},(e,t,n)=>{var r=n(63),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){var r=+e;return r!=r||0===r?0:(r>0?n:t)(r)}},(e,t,n)=>{var r=n(65);e.exports=function(e){return r(e.length)}},(e,t,n)=>{var r=n(63),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(e,t)=>{t.f=Object.getOwnPropertySymbols},(e,t,n)=>{var r=n(13),o=n(25),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n==u||n!=c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},(e,t,n)=>{"use strict";var r,o,i;function a(e){return a="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},a(e)}i=function(){function e(e){var t=new d,n=Array.from(e);if(!n.every((function(e){return!Number.isNaN(e)})))throw TypeError('CSSMatrix: "'+e+'" must only have numbers.');if(16===n.length){var r=n[0],o=n[1],i=n[2],a=n[3],s=n[4],l=n[5],c=n[6],u=n[7],f=n[8],p=n[9],h=n[10],m=n[11],g=n[12],v=n[13],b=n[14],y=n[15];t.m11=r,t.a=r,t.m21=s,t.c=s,t.m31=f,t.m41=g,t.e=g,t.m12=o,t.b=o,t.m22=l,t.d=l,t.m32=p,t.m42=v,t.f=v,t.m13=i,t.m23=c,t.m33=h,t.m43=b,t.m14=a,t.m24=u,t.m34=m,t.m44=y}else{if(6!==n.length)throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");var A=n[0],x=n[1],C=n[2],_=n[3],w=n[4],k=n[5];t.m11=A,t.a=A,t.m12=x,t.b=x,t.m21=C,t.c=C,t.m22=_,t.d=_,t.m41=w,t.e=w,t.m42=k,t.f=k}return t}function t(t){var n=Object.keys(new d);if("object"===a(t)&&n.every((function(e){return e in t})))return e([t.m11,t.m12,t.m13,t.m14,t.m21,t.m22,t.m23,t.m24,t.m31,t.m32,t.m33,t.m34,t.m41,t.m42,t.m43,t.m44]);throw TypeError('CSSMatrix: "'+t+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function n(t){if("string"!=typeof t)throw TypeError('CSSMatrix: "'+t+'" is not a string.');var n=String(t).replace(/\s/g,""),r=new d,o='CSSMatrix: invalid transform string "'+t+'"';return n.split(")").filter((function(e){return e})).forEach((function(t){var n=t.split("("),i=n[0],a=n[1];if(!a)throw TypeError(o);var s=a.split(",").map((function(e){return e.includes("rad")?parseFloat(e)*(180/Math.PI):parseFloat(e)})),l=s[0],c=s[1],u=s[2],d=s[3],f=[l,c,u],p=[l,c,u,d];if("perspective"===i&&l&&[c,u].every((function(e){return void 0===e})))r.m34=-1/l;else if(i.includes("matrix")&&[6,16].includes(s.length)&&s.every((function(e){return!Number.isNaN(+e)}))){var h=s.map((function(e){return Math.abs(e)<1e-6?0:e}));r=r.multiply(e(h))}else if("translate3d"===i&&f.every((function(e){return!Number.isNaN(+e)})))r=r.translate(l,c,u);else if("translate"===i&&l&&void 0===u)r=r.translate(l,c||0,0);else if("rotate3d"===i&&p.every((function(e){return!Number.isNaN(+e)}))&&d)r=r.rotateAxisAngle(l,c,u,d);else if("rotate"===i&&l&&[c,u].every((function(e){return void 0===e})))r=r.rotate(0,0,l);else if("scale3d"===i&&f.every((function(e){return!Number.isNaN(+e)}))&&f.some((function(e){return 1!==e})))r=r.scale(l,c,u);else if("scale"!==i||Number.isNaN(l)||1===l||void 0!==u)if("skew"===i&&l&&void 0===u)r=r.skewX(l),r=c?r.skewY(c):r;else{if(!(/[XYZ]/.test(i)&&l&&[c,u].every((function(e){return void 0===e}))&&["translate","rotate","scale","skew"].some((function(e){return i.includes(e)}))))throw TypeError(o);if(["skewX","skewY"].includes(i))r=r[i](l);else{var m=i.replace(/[XYZ]/,""),g=i.replace(m,""),v=["X","Y","Z"].indexOf(g),b=[0===v?l:0,1===v?l:0,2===v?l:0];r=r[m].apply(r,b)}}else{var y=Number.isNaN(+c)?l:c;r=r.scale(l,y,1)}})),r}function r(e,t,n){var r=new d;return r.m41=e,r.e=e,r.m42=t,r.f=t,r.m43=n,r}function o(e,t,n){var r=new d,o=Math.PI/180,i=e*o,a=t*o,s=n*o,l=Math.cos(i),c=-Math.sin(i),u=Math.cos(a),f=-Math.sin(a),p=Math.cos(s),h=-Math.sin(s),m=u*p,g=-u*h;r.m11=m,r.a=m,r.m12=g,r.b=g,r.m13=f;var v=c*f*p+l*h;r.m21=v,r.c=v;var b=l*p-c*f*h;return r.m22=b,r.d=b,r.m23=-c*u,r.m31=c*h-l*f*p,r.m32=c*p+l*f*h,r.m33=l*u,r}function i(e,t,n,r){var o=new d,i=r*(Math.PI/360),a=Math.sin(i),s=Math.cos(i),l=a*a,c=Math.sqrt(e*e+t*t+n*n),u=e,f=t,p=n;0===c?(u=0,f=0,p=1):(u/=c,f/=c,p/=c);var h=u*u,m=f*f,g=p*p,v=1-2*(m+g)*l;o.m11=v,o.a=v;var b=2*(u*f*l+p*a*s);o.m12=b,o.b=b,o.m13=2*(u*p*l-f*a*s);var y=2*(f*u*l-p*a*s);o.m21=y,o.c=y;var A=1-2*(g+h)*l;return o.m22=A,o.d=A,o.m23=2*(f*p*l+u*a*s),o.m31=2*(p*u*l+f*a*s),o.m32=2*(p*f*l-u*a*s),o.m33=1-2*(h+m)*l,o}function s(e,t,n){var r=new d;return r.m11=e,r.a=e,r.m22=t,r.d=t,r.m33=n,r}function l(e){var t=new d,n=e*Math.PI/180,r=Math.tan(n);return t.m21=r,t.c=r,t}function c(e){var t=new d,n=e*Math.PI/180,r=Math.tan(n);return t.m12=r,t.b=r,t}function u(t,n){return e([n.m11*t.m11+n.m12*t.m21+n.m13*t.m31+n.m14*t.m41,n.m11*t.m12+n.m12*t.m22+n.m13*t.m32+n.m14*t.m42,n.m11*t.m13+n.m12*t.m23+n.m13*t.m33+n.m14*t.m43,n.m11*t.m14+n.m12*t.m24+n.m13*t.m34+n.m14*t.m44,n.m21*t.m11+n.m22*t.m21+n.m23*t.m31+n.m24*t.m41,n.m21*t.m12+n.m22*t.m22+n.m23*t.m32+n.m24*t.m42,n.m21*t.m13+n.m22*t.m23+n.m23*t.m33+n.m24*t.m43,n.m21*t.m14+n.m22*t.m24+n.m23*t.m34+n.m24*t.m44,n.m31*t.m11+n.m32*t.m21+n.m33*t.m31+n.m34*t.m41,n.m31*t.m12+n.m32*t.m22+n.m33*t.m32+n.m34*t.m42,n.m31*t.m13+n.m32*t.m23+n.m33*t.m33+n.m34*t.m43,n.m31*t.m14+n.m32*t.m24+n.m33*t.m34+n.m34*t.m44,n.m41*t.m11+n.m42*t.m21+n.m43*t.m31+n.m44*t.m41,n.m41*t.m12+n.m42*t.m22+n.m43*t.m32+n.m44*t.m42,n.m41*t.m13+n.m42*t.m23+n.m43*t.m33+n.m44*t.m43,n.m41*t.m14+n.m42*t.m24+n.m43*t.m34+n.m44*t.m44])}var d=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var n=this;if(n.a=1,n.b=0,n.c=0,n.d=1,n.e=0,n.f=0,n.m11=1,n.m12=0,n.m13=0,n.m14=0,n.m21=0,n.m22=1,n.m23=0,n.m24=0,n.m31=0,n.m32=0,n.m33=1,n.m34=0,n.m41=0,n.m42=0,n.m43=0,n.m44=1,e&&e.length){var r=[16,6].some((function(t){return t===e.length}))?e:e[0];return n.setMatrixValue(r)}return n},f={isIdentity:{configurable:!0},is2D:{configurable:!0}};return f.isIdentity.set=function(e){this.isIdentity=e},f.isIdentity.get=function(){var e=this;return 1===e.m11&&0===e.m12&&0===e.m13&&0===e.m14&&0===e.m21&&1===e.m22&&0===e.m23&&0===e.m24&&0===e.m31&&0===e.m32&&1===e.m33&&0===e.m34&&0===e.m41&&0===e.m42&&0===e.m43&&1===e.m44},f.is2D.get=function(){var e=this;return 0===e.m31&&0===e.m32&&1===e.m33&&0===e.m34&&0===e.m43&&1===e.m44},f.is2D.set=function(e){this.is2D=e},d.prototype.setMatrixValue=function(r){return[Array,Float64Array,Float32Array].some((function(e){return r instanceof e}))?e(r):"string"==typeof r&&r.length&&"none"!==r?n(r):"object"===a(r)?t(r):this},d.prototype.toArray=function(){var e=this,t=Math.pow(10,6);return(e.is2D?[e.a,e.b,e.c,e.d,e.e,e.f]:[e.m11,e.m12,e.m13,e.m14,e.m21,e.m22,e.m23,e.m24,e.m31,e.m32,e.m33,e.m34,e.m41,e.m42,e.m43,e.m44]).map((function(e){return Math.abs(e)<1e-6?0:(e*t>>0)/t}))},d.prototype.toString=function(){var e=this.toArray();return(this.is2D?"matrix":"matrix3d")+"("+e+")"},d.prototype.toJSON=function(){var e=this,t=e.is2D,n=e.isIdentity;return Object.assign({},e,{is2D:t,isIdentity:n})},d.prototype.multiply=function(e){return u(this,e)},d.prototype.translate=function(e,t,n){var o=t,i=n;return void 0===i&&(i=0),void 0===o&&(o=0),u(this,r(e,o,i))},d.prototype.scale=function(e,t,n){var r=t,o=n;return void 0===r&&(r=e),void 0===o&&(o=1),u(this,s(e,r,o))},d.prototype.rotate=function(e,t,n){var r=e,i=t,a=n;return void 0===i&&(i=0),void 0===a&&(a=r,r=0),u(this,o(r,i,a))},d.prototype.rotateAxisAngle=function(e,t,n,r){if([e,t,n,r].some((function(e){return Number.isNaN(e)})))throw new TypeError("CSSMatrix: expecting 4 values");return u(this,i(e,t,n,r))},d.prototype.skewX=function(e){return u(this,l(e))},d.prototype.skewY=function(e){return u(this,c(e))},d.prototype.transformPoint=function(e){var t=r(e.x,e.y,e.z);return t.m44=e.w||1,{x:(t=this.multiply(t)).m41,y:t.m42,z:t.m43,w:t.m44}},d.prototype.transform=function(e){var t=this,n=t.m11*e.x+t.m12*e.y+t.m13*e.z+t.m14*e.w,r=t.m21*e.x+t.m22*e.y+t.m23*e.z+t.m24*e.w,o=t.m31*e.x+t.m32*e.y+t.m33*e.z+t.m34*e.w,i=t.m41*e.x+t.m42*e.y+t.m43*e.z+t.m44*e.w;return{x:n/i,y:r/i,z:o/i,w:i}},Object.defineProperties(d.prototype,f),Object.assign(d,{Translate:r,Rotate:o,RotateAxisAngle:i,Scale:s,SkewX:l,SkewY:c,Multiply:u,fromArray:e,fromMatrix:t,fromString:n}),Object.assign(d,{Version:"0.0.24"}),d},"object"===a(t)?e.exports=i():void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)},(e,t,n)=>{n(71),n(86);var r=n(96);e.exports=r.Object.fromEntries},(e,t,n)=>{"use strict";var r=n(17),o=n(72),i=n(77),a=n(52),s=n(78),l="Array Iterator",c=a.set,u=a.getterFor(l);e.exports=s(Array,"Array",(function(e,t){c(this,{type:l,target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},(e,t,n)=>{var r=n(37),o=n(73),i=n(48),a=r("unscopables"),s=Array.prototype;null==s[a]&&i.f(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},(e,t,n)=>{var r,o=n(49),i=n(74),a=n(66),s=n(55),l=n(76),c=n(46),u=n(54),d=u("IE_PROTO"),f=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t;m="undefined"!=typeof document?document.domain&&r?h(r):((t=c("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F):h(r);for(var n=a.length;n--;)delete m.prototype[a[n]];return m()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(f.prototype=o(e),n=new f,f.prototype=null,n[d]=e):n=m(),void 0===t?n:i(n,t)}},(e,t,n)=>{var r=n(12),o=n(48),i=n(49),a=n(17),s=n(75);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),l=s(t),c=l.length,u=0;c>u;)o.f(e,n=l[u++],r[n]);return e}},(e,t,n)=>{var r=n(60),o=n(66);e.exports=Object.keys||function(e){return r(e,o)}},(e,t,n)=>{var r=n(27);e.exports=r("document","documentElement")},e=>{e.exports={}},(e,t,n)=>{"use strict";var r=n(9),o=n(14),i=n(39),a=n(56),s=n(25),l=n(79),c=n(81),u=n(84),d=n(83),f=n(47),p=n(50),h=n(37),m=n(77),g=n(80),v=a.PROPER,b=a.CONFIGURABLE,y=g.IteratorPrototype,A=g.BUGGY_SAFARI_ITERATORS,x=h("iterator"),C="keys",_="values",w="entries",k=function(){return this};e.exports=function(e,t,n,a,h,g,S){l(n,t,a);var E,B,O,j=function(e){if(e===h&&R)return R;if(!A&&e in M)return M[e];switch(e){case C:case _:case w:return function(){return new n(this,e)}}return function(){return new n(this)}},T=t+" Iterator",P=!1,M=e.prototype,D=M[x]||M["@@iterator"]||h&&M[h],R=!A&&D||j(h),L="Array"==t&&M.entries||D;if(L&&(E=c(L.call(new e)))!==Object.prototype&&E.next&&(i||c(E)===y||(u?u(E,y):s(E[x])||p(E,x,k)),d(E,T,!0,!0),i&&(m[T]=k)),v&&h==_&&D&&D.name!==_&&(!i&&b?f(M,"name",_):(P=!0,R=function(){return o(D,this)})),h)if(B={values:j(_),keys:g?R:j(C),entries:j(w)},S)for(O in B)(A||P||!(O in M))&&p(M,O,B[O]);else r({target:t,proto:!0,forced:A||P},B);return i&&!S||M[x]===R||p(M,x,R,{name:h}),m[t]=R,B}},(e,t,n)=>{"use strict";var r=n(80).IteratorPrototype,o=n(73),i=n(16),a=n(83),s=n(77),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=o(r,{next:i(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},(e,t,n)=>{"use strict";var r,o,i,a=n(13),s=n(25),l=n(73),c=n(81),u=n(50),d=n(37),f=n(39),p=d("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=c(c(i)))!==Object.prototype&&(r=o):h=!0),null==r||a((function(){var e={};return r[p].call(e)!==e}))?r={}:f&&(r=l(r)),s(r[p])||u(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:h}},(e,t,n)=>{var r=n(10),o=n(42),i=n(25),a=n(43),s=n(54),l=n(82),c=s("IE_PROTO"),u=r.Object,d=u.prototype;e.exports=l?u.getPrototypeOf:function(e){var t=a(e);if(o(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof u?d:null}},(e,t,n)=>{var r=n(13);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},(e,t,n)=>{var r=n(48).f,o=n(42),i=n(37)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},(e,t,n)=>{var r=n(19),o=n(49),i=n(85);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return o(n),i(r),t?e(n,r):n.__proto__=r,n}}():void 0)},(e,t,n)=>{var r=n(10),o=n(25),i=r.String,a=r.TypeError;e.exports=function(e){if("object"==typeof e||o(e))return e;throw a("Can't set "+i(e)+" as a prototype")}},(e,t,n)=>{var r=n(9),o=n(87),i=n(95);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},(e,t,n)=>{var r=n(10),o=n(88),i=n(14),a=n(49),s=n(35),l=n(89),c=n(64),u=n(28),d=n(90),f=n(91),p=n(94),h=r.TypeError,m=function(e,t){this.stopped=e,this.result=t},g=m.prototype;e.exports=function(e,t,n){var r,v,b,y,A,x,C,_=n&&n.that,w=!(!n||!n.AS_ENTRIES),k=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),E=o(t,_),B=function(e){return r&&p(r,"normal",e),new m(!0,e)},O=function(e){return w?(a(e),S?E(e[0],e[1],B):E(e[0],e[1])):S?E(e,B):E(e)};if(k)r=e;else{if(!(v=f(e)))throw h(s(e)+" is not iterable");if(l(v)){for(b=0,y=c(e);y>b;b++)if((A=O(e[b]))&&u(g,A))return A;return new m(!1)}r=d(e,v)}for(x=r.next;!(C=i(x,r)).done;){try{A=O(C.value)}catch(e){p(r,"throw",e)}if("object"==typeof A&&A&&u(g,A))return A}return new m(!1)}},(e,t,n)=>{var r=n(19),o=n(34),i=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?i(e,t):function(){return e.apply(t,arguments)}}},(e,t,n)=>{var r=n(37),o=n(77),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},(e,t,n)=>{var r=n(10),o=n(14),i=n(34),a=n(49),s=n(35),l=n(91),c=r.TypeError;e.exports=function(e,t){var n=arguments.length<2?l(e):t;if(i(n))return a(o(n,e));throw c(s(e)+" is not iterable")}},(e,t,n)=>{var r=n(92),o=n(33),i=n(77),a=n(37)("iterator");e.exports=function(e){if(null!=e)return o(e,a)||o(e,"@@iterator")||i[r(e)]}},(e,t,n)=>{var r=n(10),o=n(93),i=n(25),a=n(20),s=n(37)("toStringTag"),l=r.Object,c="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=l(e),s))?n:c?a(t):"Object"==(r=a(t))&&i(t.callee)?"Arguments":r}},(e,t,n)=>{var r={};r[n(37)("toStringTag")]="z",e.exports="[object z]"===String(r)},(e,t,n)=>{var r=n(14),o=n(49),i=n(33);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},(e,t,n)=>{"use strict";var r=n(22),o=n(48),i=n(16);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},(e,t,n)=>{var r=n(10);e.exports=r},(e,t,n)=>{n(98),n(71),n(105),n(107),n(129),n(130),n(131),n(132);var r=n(96);e.exports=r.Promise},(e,t,n)=>{"use strict";var r=n(9),o=n(10),i=n(28),a=n(81),s=n(84),l=n(57),c=n(73),u=n(47),d=n(16),f=n(99),p=n(101),h=n(87),m=n(102),g=n(37),v=n(104),b=g("toStringTag"),y=o.Error,A=[].push,x=function(e,t){var n,r=arguments.length>2?arguments[2]:void 0,o=i(C,this);s?n=s(new y(void 0),o?a(this):C):(n=o?this:c(C),u(n,b,"Error")),u(n,"message",m(t,"")),v&&u(n,"stack",f(n.stack,1)),p(n,r);var l=[];return h(e,A,{that:l}),u(n,"errors",l),n};s?s(x,y):l(x,y);var C=x.prototype=c(y.prototype,{constructor:d(1,x),message:d(1,""),name:d(1,"AggregateError")});r({global:!0},{AggregateError:x})},(e,t,n)=>{var r=n(19),o=n(100),i=r("".replace),a=r("".split),s=r([].join),l=String(Error("zxcasd").stack),c=/\n\s*at [^:]*:[^\n]*/,u=c.test(l),d=/@[^\n]*\n/.test(l)&&!/zxcasd/.test(l);e.exports=function(e,t){if("string"!=typeof e)return e;if(u)for(;t--;)e=i(e,c,"");else if(d)return s(o(a(e,"\n"),t),"\n");return e}},(e,t,n)=>{var r=n(10),o=n(62),i=n(64),a=n(95),s=r.Array,l=Math.max;e.exports=function(e,t,n){for(var r=i(e),c=o(t,r),u=o(void 0===n?r:n,r),d=s(l(u-c,0)),f=0;c<u;c++,f++)a(d,f,e[c]);return d.length=f,d}},(e,t,n)=>{var r=n(24),o=n(47);e.exports=function(e,t){r(t)&&"cause"in t&&o(e,"cause",t.cause)}},(e,t,n)=>{var r=n(103);e.exports=function(e,t){return void 0===e?arguments.length<2?"":t:r(e)}},(e,t,n)=>{var r=n(10),o=n(92),i=r.String;e.exports=function(e){if("Symbol"===o(e))throw TypeError("Cannot convert a Symbol value to a string");return i(e)}},(e,t,n)=>{var r=n(13),o=n(16);e.exports=!r((function(){var e=Error("a");return!("stack"in e)||(Object.defineProperty(e,"stack",o(1,7)),7!==e.stack)}))},(e,t,n)=>{var r=n(93),o=n(50),i=n(106);r||o(Object.prototype,"toString",i,{unsafe:!0})},(e,t,n)=>{"use strict";var r=n(93),o=n(92);e.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},(e,t,n)=>{"use strict";var r,o,i,a,s=n(9),l=n(39),c=n(10),u=n(27),d=n(14),f=n(108),p=n(50),h=n(109),m=n(84),g=n(83),v=n(110),b=n(34),y=n(25),A=n(24),x=n(111),C=n(51),_=n(87),w=n(112),k=n(113),S=n(116).set,E=n(121),B=n(124),O=n(126),j=n(125),T=n(127),P=n(52),M=n(68),D=n(37),R=n(128),L=n(120),I=n(31),N=D("species"),F="Promise",z=P.getterFor(F),q=P.set,U=P.getterFor(F),H=f&&f.prototype,W=f,V=H,Y=c.TypeError,Z=c.document,G=c.process,K=j.f,$=K,X=!!(Z&&Z.createEvent&&c.dispatchEvent),Q=y(c.PromiseRejectionEvent),J="unhandledrejection",ee=!1,te=M(F,(function(){var e=C(W),t=e!==String(W);if(!t&&66===I)return!0;if(l&&!V.finally)return!0;if(I>=51&&/native code/.test(e))return!1;var n=new W((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[N]=r,!(ee=n.then((function(){}))instanceof r)||!t&&R&&!Q})),ne=te||!w((function(e){W.all(e).catch((function(){}))})),re=function(e){var t;return!(!A(e)||!y(t=e.then))&&t},oe=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;E((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,s,l,c=n[i++],u=o?c.ok:c.fail,f=c.resolve,p=c.reject,h=c.domain;try{u?(o||(2===e.rejection&&le(e),e.rejection=1),!0===u?a=r:(h&&h.enter(),a=u(r),h&&(h.exit(),l=!0)),a===c.promise?p(Y("Promise-chain cycle")):(s=re(a))?d(s,a,f,p):f(a)):p(r)}catch(e){h&&!l&&h.exit(),p(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&ae(e)}))}},ie=function(e,t,n){var r,o;X?((r=Z.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),c.dispatchEvent(r)):r={promise:t,reason:n},!Q&&(o=c["on"+e])?o(r):e===J&&O("Unhandled promise rejection",n)},ae=function(e){d(S,c,(function(){var t,n=e.facade,r=e.value;if(se(e)&&(t=T((function(){L?G.emit("unhandledRejection",r,n):ie(J,n,r)})),e.rejection=L||se(e)?2:1,t.error))throw t.value}))},se=function(e){return 1!==e.rejection&&!e.parent},le=function(e){d(S,c,(function(){var t=e.facade;L?G.emit("rejectionHandled",t):ie("rejectionhandled",t,e.value)}))},ce=function(e,t,n){return function(r){e(t,r,n)}},ue=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,oe(e,!0))},de=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw Y("Promise can't be resolved itself");var r=re(t);r?E((function(){var n={done:!1};try{d(r,t,ce(de,n,e),ce(ue,n,e))}catch(t){ue(n,t,e)}})):(e.value=t,e.state=1,oe(e,!1))}catch(t){ue({done:!1},t,e)}}};if(te&&(V=(W=function(e){x(this,V),b(e),d(r,this);var t=z(this);try{e(ce(de,t),ce(ue,t))}catch(e){ue(t,e)}}).prototype,(r=function(e){q(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=h(V,{then:function(e,t){var n=U(this),r=n.reactions,o=K(k(this,W));return o.ok=!y(e)||e,o.fail=y(t)&&t,o.domain=L?G.domain:void 0,n.parent=!0,r[r.length]=o,0!=n.state&&oe(n,!1),o.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=z(e);this.promise=e,this.resolve=ce(de,t),this.reject=ce(ue,t)},j.f=K=function(e){return e===W||e===i?new o(e):$(e)},!l&&y(f)&&H!==Object.prototype)){a=H.then,ee||(p(H,"then",(function(e,t){var n=this;return new W((function(e,t){d(a,n,e,t)})).then(e,t)}),{unsafe:!0}),p(H,"catch",V.catch,{unsafe:!0}));try{delete H.constructor}catch(e){}m&&m(H,V)}s({global:!0,wrap:!0,forced:te},{Promise:W}),g(W,F,!1,!0),v(F),i=u(F),s({target:F,stat:!0,forced:te},{reject:function(e){var t=K(this);return d(t.reject,void 0,e),t.promise}}),s({target:F,stat:!0,forced:l||te},{resolve:function(e){return B(l&&this===i?W:this,e)}}),s({target:F,stat:!0,forced:ne},{all:function(e){var t=this,n=K(t),r=n.resolve,o=n.reject,i=T((function(){var n=b(t.resolve),i=[],a=0,s=1;_(e,(function(e){var l=a++,c=!1;s++,d(n,t,e).then((function(e){c||(c=!0,i[l]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=K(t),r=n.reject,o=T((function(){var o=b(t.resolve);_(e,(function(e){d(o,t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},(e,t,n)=>{var r=n(10);e.exports=r.Promise},(e,t,n)=>{var r=n(50);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},(e,t,n)=>{"use strict";var r=n(27),o=n(48),i=n(37),a=n(12),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},(e,t,n)=>{var r=n(10),o=n(28),i=r.TypeError;e.exports=function(e,t){if(o(t,e))return e;throw i("Incorrect invocation")}},(e,t,n)=>{var r=n(37)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},(e,t,n)=>{var r=n(49),o=n(114),i=n(37)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},(e,t,n)=>{var r=n(10),o=n(115),i=n(35),a=r.TypeError;e.exports=function(e){if(o(e))return e;throw a(i(e)+" is not a constructor")}},(e,t,n)=>{var r=n(19),o=n(13),i=n(25),a=n(92),s=n(27),l=n(51),c=function(){},u=[],d=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,p=r(f.exec),h=!f.exec(c),m=function(e){if(!i(e))return!1;try{return d(c,u,e),!0}catch(e){return!1}};e.exports=!d||o((function(){var e;return m(m.call)||!m(Object)||!m((function(){e=!0}))||e}))?function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return h||!!p(f,l(e))}:m},(e,t,n)=>{var r,o,i,a,s=n(10),l=n(117),c=n(88),u=n(25),d=n(42),f=n(13),p=n(76),h=n(118),m=n(46),g=n(119),v=n(120),b=s.setImmediate,y=s.clearImmediate,A=s.process,x=s.Dispatch,C=s.Function,_=s.MessageChannel,w=s.String,k=0,S={},E="onreadystatechange";try{r=s.location}catch(e){}var B=function(e){if(d(S,e)){var t=S[e];delete S[e],t()}},O=function(e){return function(){B(e)}},j=function(e){B(e.data)},T=function(e){s.postMessage(w(e),r.protocol+"//"+r.host)};b&&y||(b=function(e){var t=h(arguments,1);return S[++k]=function(){l(u(e)?e:C(e),void 0,t)},o(k),k},y=function(e){delete S[e]},v?o=function(e){A.nextTick(O(e))}:x&&x.now?o=function(e){x.now(O(e))}:_&&!g?(a=(i=new _).port2,i.port1.onmessage=j,o=c(a.postMessage,a)):s.addEventListener&&u(s.postMessage)&&!s.importScripts&&r&&"file:"!==r.protocol&&!f(T)?(o=T,s.addEventListener("message",j,!1)):o=E in m("script")?function(e){p.appendChild(m("script")).onreadystatechange=function(){p.removeChild(this),B(e)}}:function(e){setTimeout(O(e),0)}),e.exports={set:b,clear:y}},e=>{var t=Function.prototype,n=t.apply,r=t.bind,o=t.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(n):function(){return o.apply(n,arguments)})},(e,t,n)=>{var r=n(19);e.exports=r([].slice)},(e,t,n)=>{var r=n(32);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(r)},(e,t,n)=>{var r=n(20),o=n(10);e.exports="process"==r(o.process)},(e,t,n)=>{var r,o,i,a,s,l,c,u,d=n(10),f=n(88),p=n(11).f,h=n(116).set,m=n(119),g=n(122),v=n(123),b=n(120),y=d.MutationObserver||d.WebKitMutationObserver,A=d.document,x=d.process,C=d.Promise,_=p(d,"queueMicrotask"),w=_&&_.value;w||(r=function(){var e,t;for(b&&(e=x.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},m||b||v||!y||!A?!g&&C&&C.resolve?((c=C.resolve(void 0)).constructor=C,u=f(c.then,c),a=function(){u(r)}):b?a=function(){x.nextTick(r)}:(h=f(h,d),a=function(){h(r)}):(s=!0,l=A.createTextNode(""),new y(r).observe(l,{characterData:!0}),a=function(){l.data=s=!s})),e.exports=w||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},(e,t,n)=>{var r=n(32),o=n(10);e.exports=/ipad|iphone|ipod/i.test(r)&&void 0!==o.Pebble},(e,t,n)=>{var r=n(32);e.exports=/web0s(?!.*chrome)/i.test(r)},(e,t,n)=>{var r=n(49),o=n(24),i=n(125);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},(e,t,n)=>{"use strict";var r=n(34),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},(e,t,n)=>{var r=n(10);e.exports=function(e,t){var n=r.console;n&&n.error&&(1==arguments.length?n.error(e):n.error(e,t))}},e=>{e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},e=>{e.exports="object"==typeof window},(e,t,n)=>{"use strict";var r=n(9),o=n(14),i=n(34),a=n(125),s=n(127),l=n(87);r({target:"Promise",stat:!0},{allSettled:function(e){var t=this,n=a.f(t),r=n.resolve,c=n.reject,u=s((function(){var n=i(t.resolve),a=[],s=0,c=1;l(e,(function(e){var i=s++,l=!1;c++,o(n,t,e).then((function(e){l||(l=!0,a[i]={status:"fulfilled",value:e},--c||r(a))}),(function(e){l||(l=!0,a[i]={status:"rejected",reason:e},--c||r(a))}))})),--c||r(a)}));return u.error&&c(u.value),n.promise}})},(e,t,n)=>{"use strict";var r=n(9),o=n(34),i=n(27),a=n(14),s=n(125),l=n(127),c=n(87),u="No one promise resolved";r({target:"Promise",stat:!0},{any:function(e){var t=this,n=i("AggregateError"),r=s.f(t),d=r.resolve,f=r.reject,p=l((function(){var r=o(t.resolve),i=[],s=0,l=1,p=!1;c(e,(function(e){var o=s++,c=!1;l++,a(r,t,e).then((function(e){c||p||(p=!0,d(e))}),(function(e){c||p||(c=!0,i[o]=e,--l||f(new n(i,u)))}))})),--l||f(new n(i,u))}));return p.error&&f(p.value),r.promise}})},(e,t,n)=>{"use strict";var r=n(9),o=n(39),i=n(108),a=n(13),s=n(27),l=n(25),c=n(113),u=n(124),d=n(50);if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&a((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(e){var t=c(this,s("Promise")),n=l(e);return this.then(n?function(n){return u(t,e()).then((function(){return n}))}:e,n?function(n){return u(t,e()).then((function(){throw n}))}:e)}}),!o&&l(i)){var f=s("Promise").prototype.finally;i.prototype.finally!==f&&d(i.prototype,"finally",f,{unsafe:!0})}},(e,t,n)=>{"use strict";var r=n(133).charAt,o=n(103),i=n(52),a=n(78),s="String Iterator",l=i.set,c=i.getterFor(s);a(String,"String",(function(e){l(this,{type:s,string:o(e),index:0})}),(function(){var e,t=c(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},(e,t,n)=>{var r=n(19),o=n(63),i=n(103),a=n(21),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,d=i(a(t)),f=o(n),p=d.length;return f<0||f>=p?e?"":void 0:(r=l(d,f))<55296||r>56319||f+1===p||(u=l(d,f+1))<56320||u>57343?e?s(d,f):r:e?c(d,f,f+2):u-56320+(r-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},function(e,t){!function(e){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol:function(e){return"Symbol("+e+")"};function n(){}function r(){return"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:void 0}var o=r();function i(e){return"object"==typeof e&&null!==e||"function"==typeof e}var a=n,s=Promise,l=Promise.prototype.then,c=Promise.resolve.bind(s),u=Promise.reject.bind(s);function d(e){return new s(e)}function f(e){return c(e)}function p(e){return u(e)}function h(e,t,n){return l.call(e,t,n)}function m(e,t,n){h(h(e,t,n),void 0,a)}function g(e,t){m(e,t)}function v(e,t){m(e,void 0,t)}function b(e,t,n){return h(e,t,n)}function y(e){h(e,void 0,a)}var A=function(){var e=o&&o.queueMicrotask;if("function"==typeof e)return e;var t=f(void 0);return function(e){return h(t,e)}}();function x(e,t,n){if("function"!=typeof e)throw new TypeError("Argument is not a function");return Function.prototype.apply.call(e,t,n)}function C(e,t,n){try{return f(x(e,t,n))}catch(e){return p(e)}}var _=16384,w=function(){function e(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(e.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),e.prototype.push=function(e){var t=this._back,n=t;t._elements.length===_-1&&(n={_elements:[],_next:void 0}),t._elements.push(e),n!==t&&(this._back=n,t._next=n),++this._size},e.prototype.shift=function(){var e=this._front,t=e,n=this._cursor,r=n+1,o=e._elements,i=o[n];return r===_&&(t=e._next,r=0),--this._size,this._cursor=r,e!==t&&(this._front=t),o[n]=void 0,i},e.prototype.forEach=function(e){for(var t=this._cursor,n=this._front,r=n._elements;!(t===r.length&&void 0===n._next||t===r.length&&(t=0,0===(r=(n=n._next)._elements).length));)e(r[t]),++t},e.prototype.peek=function(){var e=this._front,t=this._cursor;return e._elements[t]},e}();function k(e,t){e._ownerReadableStream=t,t._reader=e,"readable"===t._state?O(e):"closed"===t._state?T(e):j(e,t._storedError)}function S(e,t){return kr(e._ownerReadableStream,t)}function E(e){"readable"===e._ownerReadableStream._state?P(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):M(e,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),e._ownerReadableStream._reader=void 0,e._ownerReadableStream=void 0}function B(e){return new TypeError("Cannot "+e+" a stream using a released reader")}function O(e){e._closedPromise=d((function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n}))}function j(e,t){O(e),P(e,t)}function T(e){O(e),D(e)}function P(e,t){void 0!==e._closedPromise_reject&&(y(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}function M(e,t){j(e,t)}function D(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0)}var R=t("[[AbortSteps]]"),L=t("[[ErrorSteps]]"),I=t("[[CancelSteps]]"),N=t("[[PullSteps]]"),F=Number.isFinite||function(e){return"number"==typeof e&&isFinite(e)},z=Math.trunc||function(e){return e<0?Math.ceil(e):Math.floor(e)};function q(e){return"object"==typeof e||"function"==typeof e}function U(e,t){if(void 0!==e&&!q(e))throw new TypeError(t+" is not an object.")}function H(e,t){if("function"!=typeof e)throw new TypeError(t+" is not a function.")}function W(e){return"object"==typeof e&&null!==e||"function"==typeof e}function V(e,t){if(!W(e))throw new TypeError(t+" is not an object.")}function Y(e,t,n){if(void 0===e)throw new TypeError("Parameter "+t+" is required in '"+n+"'.")}function Z(e,t,n){if(void 0===e)throw new TypeError(t+" is required in '"+n+"'.")}function G(e){return Number(e)}function K(e){return 0===e?0:e}function $(e){return K(z(e))}function X(e,t){var n=0,r=Number.MAX_SAFE_INTEGER,o=Number(e);if(o=K(o),!F(o))throw new TypeError(t+" is not a finite number");if((o=$(o))<n||o>r)throw new TypeError(t+" is outside the accepted range of "+n+" to "+r+", inclusive");return F(o)&&0!==o?o:0}function Q(e,t){if(!_r(e))throw new TypeError(t+" is not a ReadableStream.")}function J(e){return new ae(e)}function ee(e,t){e._reader._readRequests.push(t)}function te(e,t,n){var r=e._reader._readRequests.shift();n?r._closeSteps():r._chunkSteps(t)}function ne(e){return e._reader._readRequests.length}function re(e){var t=e._reader;return void 0!==t&&!!se(t)}var oe,ie,ae=function(){function e(e){if(Y(e,1,"ReadableStreamDefaultReader"),Q(e,"First parameter"),wr(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");k(this,e),this._readRequests=new w}return Object.defineProperty(e.prototype,"closed",{get:function(){return se(this)?this._closedPromise:p(ce("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),se(this)?void 0===this._ownerReadableStream?p(B("cancel")):S(this,e):p(ce("cancel"))},e.prototype.read=function(){if(!se(this))return p(ce("read"));if(void 0===this._ownerReadableStream)return p(B("read from"));var e,t,n=d((function(n,r){e=n,t=r}));return le(this,{_chunkSteps:function(t){return e({value:t,done:!1})},_closeSteps:function(){return e({value:void 0,done:!0})},_errorSteps:function(e){return t(e)}}),n},e.prototype.releaseLock=function(){if(!se(this))throw ce("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");E(this)}},e}();function se(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")&&e instanceof ae}function le(e,t){var n=e._ownerReadableStream;n._disturbed=!0,"closed"===n._state?t._closeSteps():"errored"===n._state?t._errorSteps(n._storedError):n._readableStreamController[N](t)}function ce(e){return new TypeError("ReadableStreamDefaultReader.prototype."+e+" can only be used on a ReadableStreamDefaultReader")}Object.defineProperties(ae.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(ae.prototype,t.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0}),"symbol"==typeof t.asyncIterator&&((oe={})[t.asyncIterator]=function(){return this},ie=oe,Object.defineProperty(ie,t.asyncIterator,{enumerable:!1}));var ue=function(){function e(e,t){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=e,this._preventCancel=t}return e.prototype.next=function(){var e=this,t=function(){return e._nextSteps()};return this._ongoingPromise=this._ongoingPromise?b(this._ongoingPromise,t,t):t(),this._ongoingPromise},e.prototype.return=function(e){var t=this,n=function(){return t._returnSteps(e)};return this._ongoingPromise?b(this._ongoingPromise,n,n):n()},e.prototype._nextSteps=function(){var e=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var t,n,r=this._reader;if(void 0===r._ownerReadableStream)return p(B("iterate"));var o=d((function(e,r){t=e,n=r}));return le(r,{_chunkSteps:function(n){e._ongoingPromise=void 0,A((function(){return t({value:n,done:!1})}))},_closeSteps:function(){e._ongoingPromise=void 0,e._isFinished=!0,E(r),t({value:void 0,done:!0})},_errorSteps:function(t){e._ongoingPromise=void 0,e._isFinished=!0,E(r),n(t)}}),o},e.prototype._returnSteps=function(e){if(this._isFinished)return Promise.resolve({value:e,done:!0});this._isFinished=!0;var t=this._reader;if(void 0===t._ownerReadableStream)return p(B("finish iterating"));if(!this._preventCancel){var n=S(t,e);return E(t),b(n,(function(){return{value:e,done:!0}}))}return E(t),f({value:e,done:!0})},e}(),de={next:function(){return pe(this)?this._asyncIteratorImpl.next():p(he("next"))},return:function(e){return pe(this)?this._asyncIteratorImpl.return(e):p(he("return"))}};function fe(e,t){var n=J(e),r=new ue(n,t),o=Object.create(de);return o._asyncIteratorImpl=r,o}function pe(e){if(!i(e))return!1;if(!Object.prototype.hasOwnProperty.call(e,"_asyncIteratorImpl"))return!1;try{return e._asyncIteratorImpl instanceof ue}catch(e){return!1}}function he(e){return new TypeError("ReadableStreamAsyncIterator."+e+" can only be used on a ReadableSteamAsyncIterator")}void 0!==ie&&Object.setPrototypeOf(de,ie);var me=Number.isNaN||function(e){return e!=e};function ge(e){return e.slice()}function ve(e,t,n,r,o){new Uint8Array(e).set(new Uint8Array(n,r,o),t)}function be(e){return e}function ye(e){return!1}function Ae(e,t,n){if(e.slice)return e.slice(t,n);var r=n-t,o=new ArrayBuffer(r);return ve(o,0,e,t,r),o}function xe(e){return!("number"!=typeof e||me(e)||e<0)}function Ce(e){var t=Ae(e.buffer,e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}function _e(e){var t=e._queue.shift();return e._queueTotalSize-=t.size,e._queueTotalSize<0&&(e._queueTotalSize=0),t.value}function we(e,t,n){if(!xe(n)||n===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");e._queue.push({value:t,size:n}),e._queueTotalSize+=n}function ke(e){return e._queue.peek().value}function Se(e){e._queue=new w,e._queueTotalSize=0}var Ee=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"view",{get:function(){if(!je(this))throw ot("view");return this._view},enumerable:!1,configurable:!0}),e.prototype.respond=function(e){if(!je(this))throw ot("respond");if(Y(e,1,"respond"),e=X(e,"First parameter"),void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");ye(this._view.buffer),Je(this._associatedReadableByteStreamController,e)},e.prototype.respondWithNewView=function(e){if(!je(this))throw ot("respondWithNewView");if(Y(e,1,"respondWithNewView"),!ArrayBuffer.isView(e))throw new TypeError("You can only respond with array buffer views");if(void 0===this._associatedReadableByteStreamController)throw new TypeError("This BYOB request has been invalidated");ye(e.buffer),et(this._associatedReadableByteStreamController,e)},e}();Object.defineProperties(Ee.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Ee.prototype,t.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Be=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"byobRequest",{get:function(){if(!Oe(this))throw it("byobRequest");return Xe(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Oe(this))throw it("desiredSize");return Qe(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!Oe(this))throw it("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var e=this._controlledReadableByteStream._state;if("readable"!==e)throw new TypeError("The stream (in "+e+" state) is not in the readable state and cannot be closed");Ge(this)},e.prototype.enqueue=function(e){if(!Oe(this))throw it("enqueue");if(Y(e,1,"enqueue"),!ArrayBuffer.isView(e))throw new TypeError("chunk must be an array buffer view");if(0===e.byteLength)throw new TypeError("chunk must have non-zero byteLength");if(0===e.buffer.byteLength)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var t=this._controlledReadableByteStream._state;if("readable"!==t)throw new TypeError("The stream (in "+t+" state) is not in the readable state and cannot be enqueued to");Ke(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Oe(this))throw it("error");$e(this,e)},e.prototype[I]=function(e){Pe(this),Se(this);var t=this._cancelAlgorithm(e);return Ze(this),t},e.prototype[N]=function(e){var t=this._controlledReadableByteStream;if(this._queueTotalSize>0){var n=this._queue.shift();this._queueTotalSize-=n.byteLength,Ne(this);var r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);e._chunkSteps(r)}else{var o=this._autoAllocateChunkSize;if(void 0!==o){var i=void 0;try{i=new ArrayBuffer(o)}catch(t){return void e._errorSteps(t)}var a={buffer:i,bufferByteLength:o,byteOffset:0,byteLength:o,bytesFilled:0,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(a)}ee(t,e),Te(this)}},e}();function Oe(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableByteStream")&&e instanceof Be}function je(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")&&e instanceof Ee}function Te(e){Ye(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Te(e))}),(function(t){$e(e,t)}))))}function Pe(e){Fe(e),e._pendingPullIntos=new w}function Me(e,t){var n=!1;"closed"===e._state&&(n=!0);var r=De(t);"default"===t.readerType?te(e,r,n):lt(e,r,n)}function De(e){var t=e.bytesFilled,n=e.elementSize;return new e.viewConstructor(e.buffer,e.byteOffset,t/n)}function Re(e,t,n,r){e._queue.push({buffer:t,byteOffset:n,byteLength:r}),e._queueTotalSize+=r}function Le(e,t){var n=t.elementSize,r=t.bytesFilled-t.bytesFilled%n,o=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),i=t.bytesFilled+o,a=i-i%n,s=o,l=!1;a>r&&(s=a-t.bytesFilled,l=!0);for(var c=e._queue;s>0;){var u=c.peek(),d=Math.min(s,u.byteLength),f=t.byteOffset+t.bytesFilled;ve(t.buffer,f,u.buffer,u.byteOffset,d),u.byteLength===d?c.shift():(u.byteOffset+=d,u.byteLength-=d),e._queueTotalSize-=d,Ie(e,d,t),s-=d}return l}function Ie(e,t,n){n.bytesFilled+=t}function Ne(e){0===e._queueTotalSize&&e._closeRequested?(Ze(e),Sr(e._controlledReadableByteStream)):Te(e)}function Fe(e){null!==e._byobRequest&&(e._byobRequest._associatedReadableByteStreamController=void 0,e._byobRequest._view=null,e._byobRequest=null)}function ze(e){for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos.peek();Le(e,t)&&(Ve(e),Me(e._controlledReadableByteStream,t))}}function qe(e,t,n){var r=e._controlledReadableByteStream,o=1;t.constructor!==DataView&&(o=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,a=be(t.buffer),s={buffer:a,bufferByteLength:a.byteLength,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:o,viewConstructor:i,readerType:"byob"};if(e._pendingPullIntos.length>0)return e._pendingPullIntos.push(s),void st(r,n);if("closed"!==r._state){if(e._queueTotalSize>0){if(Le(e,s)){var l=De(s);return Ne(e),void n._chunkSteps(l)}if(e._closeRequested){var c=new TypeError("Insufficient bytes to fill elements in the given buffer");return $e(e,c),void n._errorSteps(c)}}e._pendingPullIntos.push(s),st(r,n),Te(e)}else{var u=new i(s.buffer,s.byteOffset,0);n._closeSteps(u)}}function Ue(e,t){var n=e._controlledReadableByteStream;if(ut(n))for(;ct(n)>0;)Me(n,Ve(e))}function He(e,t,n){if(Ie(e,t,n),!(n.bytesFilled<n.elementSize)){Ve(e);var r=n.bytesFilled%n.elementSize;if(r>0){var o=n.byteOffset+n.bytesFilled,i=Ae(n.buffer,o-r,o);Re(e,i,0,i.byteLength)}n.bytesFilled-=r,Me(e._controlledReadableByteStream,n),ze(e)}}function We(e,t){var n=e._pendingPullIntos.peek();Fe(e),"closed"===e._controlledReadableByteStream._state?Ue(e):He(e,t,n),Te(e)}function Ve(e){return e._pendingPullIntos.shift()}function Ye(e){var t=e._controlledReadableByteStream;return"readable"===t._state&&!e._closeRequested&&!!e._started&&(!!(re(t)&&ne(t)>0)||!!(ut(t)&&ct(t)>0)||Qe(e)>0)}function Ze(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0}function Ge(e){var t=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===t._state)if(e._queueTotalSize>0)e._closeRequested=!0;else{if(e._pendingPullIntos.length>0&&e._pendingPullIntos.peek().bytesFilled>0){var n=new TypeError("Insufficient bytes to fill elements in the given buffer");throw $e(e,n),n}Ze(e),Sr(t)}}function Ke(e,t){var n=e._controlledReadableByteStream;if(!e._closeRequested&&"readable"===n._state){var r=t.buffer,o=t.byteOffset,i=t.byteLength,a=be(r);if(e._pendingPullIntos.length>0){var s=e._pendingPullIntos.peek();ye(s.buffer),s.buffer=be(s.buffer)}Fe(e),re(n)?0===ne(n)?Re(e,a,o,i):(e._pendingPullIntos.length>0&&Ve(e),te(n,new Uint8Array(a,o,i),!1)):ut(n)?(Re(e,a,o,i),ze(e)):Re(e,a,o,i),Te(e)}}function $e(e,t){var n=e._controlledReadableByteStream;"readable"===n._state&&(Pe(e),Se(e),Ze(e),Er(n,t))}function Xe(e){if(null===e._byobRequest&&e._pendingPullIntos.length>0){var t=e._pendingPullIntos.peek(),n=new Uint8Array(t.buffer,t.byteOffset+t.bytesFilled,t.byteLength-t.bytesFilled),r=Object.create(Ee.prototype);rt(r,e,n),e._byobRequest=r}return e._byobRequest}function Qe(e){var t=e._controlledReadableByteStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function Je(e,t){var n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(0===t)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(n.bytesFilled+t>n.byteLength)throw new RangeError("bytesWritten out of range")}n.buffer=be(n.buffer),We(e,t)}function et(e,t){var n=e._pendingPullIntos.peek();if("closed"===e._controlledReadableByteStream._state){if(0!==t.byteLength)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(0===t.byteLength)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(n.byteOffset+n.bytesFilled!==t.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(n.bufferByteLength!==t.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(n.bytesFilled+t.byteLength>n.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var r=t.byteLength;n.buffer=be(t.buffer),We(e,r)}function tt(e,t,n,r,o,i,a){t._controlledReadableByteStream=e,t._pullAgain=!1,t._pulling=!1,t._byobRequest=null,t._queue=t._queueTotalSize=void 0,Se(t),t._closeRequested=!1,t._started=!1,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,t._autoAllocateChunkSize=a,t._pendingPullIntos=new w,e._readableStreamController=t,m(f(n()),(function(){t._started=!0,Te(t)}),(function(e){$e(t,e)}))}function nt(e,t,n){var r=Object.create(Be.prototype),o=function(){},i=function(){return f(void 0)},a=function(){return f(void 0)};void 0!==t.start&&(o=function(){return t.start(r)}),void 0!==t.pull&&(i=function(){return t.pull(r)}),void 0!==t.cancel&&(a=function(e){return t.cancel(e)});var s=t.autoAllocateChunkSize;if(0===s)throw new TypeError("autoAllocateChunkSize must be greater than 0");tt(e,r,o,i,a,n,s)}function rt(e,t,n){e._associatedReadableByteStreamController=t,e._view=n}function ot(e){return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function it(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function at(e){return new dt(e)}function st(e,t){e._reader._readIntoRequests.push(t)}function lt(e,t,n){var r=e._reader._readIntoRequests.shift();n?r._closeSteps(t):r._chunkSteps(t)}function ct(e){return e._reader._readIntoRequests.length}function ut(e){var t=e._reader;return void 0!==t&&!!ft(t)}Object.defineProperties(Be.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Be.prototype,t.toStringTag,{value:"ReadableByteStreamController",configurable:!0});var dt=function(){function e(e){if(Y(e,1,"ReadableStreamBYOBReader"),Q(e,"First parameter"),wr(e))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!Oe(e._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");k(this,e),this._readIntoRequests=new w}return Object.defineProperty(e.prototype,"closed",{get:function(){return ft(this)?this._closedPromise:p(ht("closed"))},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),ft(this)?void 0===this._ownerReadableStream?p(B("cancel")):S(this,e):p(ht("cancel"))},e.prototype.read=function(e){if(!ft(this))return p(ht("read"));if(!ArrayBuffer.isView(e))return p(new TypeError("view must be an array buffer view"));if(0===e.byteLength)return p(new TypeError("view must have non-zero byteLength"));if(0===e.buffer.byteLength)return p(new TypeError("view's buffer must have non-zero byteLength"));if(ye(e.buffer),void 0===this._ownerReadableStream)return p(B("read from"));var t,n,r=d((function(e,r){t=e,n=r}));return pt(this,e,{_chunkSteps:function(e){return t({value:e,done:!1})},_closeSteps:function(e){return t({value:e,done:!0})},_errorSteps:function(e){return n(e)}}),r},e.prototype.releaseLock=function(){if(!ft(this))throw ht("releaseLock");if(void 0!==this._ownerReadableStream){if(this._readIntoRequests.length>0)throw new TypeError("Tried to release a reader lock when that reader has pending read() calls un-settled");E(this)}},e}();function ft(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")&&e instanceof dt}function pt(e,t,n){var r=e._ownerReadableStream;r._disturbed=!0,"errored"===r._state?n._errorSteps(r._storedError):qe(r._readableStreamController,t,n)}function ht(e){return new TypeError("ReadableStreamBYOBReader.prototype."+e+" can only be used on a ReadableStreamBYOBReader")}function mt(e,t){var n=e.highWaterMark;if(void 0===n)return t;if(me(n)||n<0)throw new RangeError("Invalid highWaterMark");return n}function gt(e){var t=e.size;return t||function(){return 1}}function vt(e,t){U(e,t);var n=null==e?void 0:e.highWaterMark,r=null==e?void 0:e.size;return{highWaterMark:void 0===n?void 0:G(n),size:void 0===r?void 0:bt(r,t+" has member 'size' that")}}function bt(e,t){return H(e,t),function(t){return G(e(t))}}function yt(e,t){U(e,t);var n=null==e?void 0:e.abort,r=null==e?void 0:e.close,o=null==e?void 0:e.start,i=null==e?void 0:e.type,a=null==e?void 0:e.write;return{abort:void 0===n?void 0:At(n,e,t+" has member 'abort' that"),close:void 0===r?void 0:xt(r,e,t+" has member 'close' that"),start:void 0===o?void 0:Ct(o,e,t+" has member 'start' that"),write:void 0===a?void 0:_t(a,e,t+" has member 'write' that"),type:i}}function At(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function xt(e,t,n){return H(e,n),function(){return C(e,t,[])}}function Ct(e,t,n){return H(e,n),function(n){return x(e,t,[n])}}function _t(e,t,n){return H(e,n),function(n,r){return C(e,t,[n,r])}}function wt(e,t){if(!Pt(e))throw new TypeError(t+" is not a WritableStream.")}function kt(e){if("object"!=typeof e||null===e)return!1;try{return"boolean"==typeof e.aborted}catch(e){return!1}}Object.defineProperties(dt.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(dt.prototype,t.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});var St="function"==typeof AbortController;function Et(){if(St)return new AbortController}var Bt=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:V(e,"First parameter");var n=vt(t,"Second parameter"),r=yt(e,"First parameter");if(Tt(this),void 0!==r.type)throw new RangeError("Invalid type is specified");var o=gt(n);dn(this,r,mt(n,1),o)}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!Pt(this))throw _n("locked");return Mt(this)},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),Pt(this)?Mt(this)?p(new TypeError("Cannot abort a stream that already has a writer")):Dt(this,e):p(_n("abort"))},e.prototype.close=function(){return Pt(this)?Mt(this)?p(new TypeError("Cannot close a stream that already has a writer")):Wt(this)?p(new TypeError("Cannot close an already-closing stream")):Rt(this):p(_n("close"))},e.prototype.getWriter=function(){if(!Pt(this))throw _n("getWriter");return Ot(this)},e}();function Ot(e){return new $t(e)}function jt(e,t,n,r,o,i){void 0===o&&(o=1),void 0===i&&(i=function(){return 1});var a=Object.create(Bt.prototype);return Tt(a),un(a,Object.create(ln.prototype),e,t,n,r,o,i),a}function Tt(e){e._state="writable",e._storedError=void 0,e._writer=void 0,e._writableStreamController=void 0,e._writeRequests=new w,e._inFlightWriteRequest=void 0,e._closeRequest=void 0,e._inFlightCloseRequest=void 0,e._pendingAbortRequest=void 0,e._backpressure=!1}function Pt(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")&&e instanceof Bt}function Mt(e){return void 0!==e._writer}function Dt(e,t){var n;if("closed"===e._state||"errored"===e._state)return f(void 0);e._writableStreamController._abortReason=t,null===(n=e._writableStreamController._abortController)||void 0===n||n.abort();var r=e._state;if("closed"===r||"errored"===r)return f(void 0);if(void 0!==e._pendingAbortRequest)return e._pendingAbortRequest._promise;var o=!1;"erroring"===r&&(o=!0,t=void 0);var i=d((function(n,r){e._pendingAbortRequest={_promise:void 0,_resolve:n,_reject:r,_reason:t,_wasAlreadyErroring:o}}));return e._pendingAbortRequest._promise=i,o||Nt(e,t),i}function Rt(e){var t=e._state;if("closed"===t||"errored"===t)return p(new TypeError("The stream (in "+t+" state) is not in the writable state and cannot be closed"));var n=d((function(t,n){var r={_resolve:t,_reject:n};e._closeRequest=r})),r=e._writer;return void 0!==r&&e._backpressure&&"writable"===t&&Fn(r),pn(e._writableStreamController),n}function Lt(e){return d((function(t,n){var r={_resolve:t,_reject:n};e._writeRequests.push(r)}))}function It(e,t){"writable"!==e._state?Ft(e):Nt(e,t)}function Nt(e,t){var n=e._writableStreamController;e._state="erroring",e._storedError=t;var r=e._writer;void 0!==r&&nn(r,t),!Vt(e)&&n._started&&Ft(e)}function Ft(e){e._state="errored",e._writableStreamController[L]();var t=e._storedError;if(e._writeRequests.forEach((function(e){e._reject(t)})),e._writeRequests=new w,void 0!==e._pendingAbortRequest){var n=e._pendingAbortRequest;if(e._pendingAbortRequest=void 0,n._wasAlreadyErroring)return n._reject(t),void Gt(e);m(e._writableStreamController[R](n._reason),(function(){n._resolve(),Gt(e)}),(function(t){n._reject(t),Gt(e)}))}else Gt(e)}function zt(e){e._inFlightWriteRequest._resolve(void 0),e._inFlightWriteRequest=void 0}function qt(e,t){e._inFlightWriteRequest._reject(t),e._inFlightWriteRequest=void 0,It(e,t)}function Ut(e){e._inFlightCloseRequest._resolve(void 0),e._inFlightCloseRequest=void 0,"erroring"===e._state&&(e._storedError=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._resolve(),e._pendingAbortRequest=void 0)),e._state="closed";var t=e._writer;void 0!==t&&Pn(t)}function Ht(e,t){e._inFlightCloseRequest._reject(t),e._inFlightCloseRequest=void 0,void 0!==e._pendingAbortRequest&&(e._pendingAbortRequest._reject(t),e._pendingAbortRequest=void 0),It(e,t)}function Wt(e){return void 0!==e._closeRequest||void 0!==e._inFlightCloseRequest}function Vt(e){return void 0!==e._inFlightWriteRequest||void 0!==e._inFlightCloseRequest}function Yt(e){e._inFlightCloseRequest=e._closeRequest,e._closeRequest=void 0}function Zt(e){e._inFlightWriteRequest=e._writeRequests.shift()}function Gt(e){void 0!==e._closeRequest&&(e._closeRequest._reject(e._storedError),e._closeRequest=void 0);var t=e._writer;void 0!==t&&jn(t,e._storedError)}function Kt(e,t){var n=e._writer;void 0!==n&&t!==e._backpressure&&(t?In(n):Fn(n)),e._backpressure=t}Object.defineProperties(Bt.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Bt.prototype,t.toStringTag,{value:"WritableStream",configurable:!0});var $t=function(){function e(e){if(Y(e,1,"WritableStreamDefaultWriter"),wt(e,"First parameter"),Mt(e))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=e,e._writer=this;var t=e._state;if("writable"===t)!Wt(e)&&e._backpressure?Mn(this):Rn(this),En(this);else if("erroring"===t)Dn(this,e._storedError),En(this);else if("closed"===t)Rn(this),On(this);else{var n=e._storedError;Dn(this,n),Bn(this,n)}}return Object.defineProperty(e.prototype,"closed",{get:function(){return Xt(this)?this._closedPromise:p(kn("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Xt(this))throw kn("desiredSize");if(void 0===this._ownerWritableStream)throw Sn("desiredSize");return rn(this)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"ready",{get:function(){return Xt(this)?this._readyPromise:p(kn("ready"))},enumerable:!1,configurable:!0}),e.prototype.abort=function(e){return void 0===e&&(e=void 0),Xt(this)?void 0===this._ownerWritableStream?p(Sn("abort")):Qt(this,e):p(kn("abort"))},e.prototype.close=function(){if(!Xt(this))return p(kn("close"));var e=this._ownerWritableStream;return void 0===e?p(Sn("close")):Wt(e)?p(new TypeError("Cannot close an already-closing stream")):Jt(this)},e.prototype.releaseLock=function(){if(!Xt(this))throw kn("releaseLock");void 0!==this._ownerWritableStream&&on(this)},e.prototype.write=function(e){return void 0===e&&(e=void 0),Xt(this)?void 0===this._ownerWritableStream?p(Sn("write to")):an(this,e):p(kn("write"))},e}();function Xt(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_ownerWritableStream")&&e instanceof $t}function Qt(e,t){return Dt(e._ownerWritableStream,t)}function Jt(e){return Rt(e._ownerWritableStream)}function en(e){var t=e._ownerWritableStream,n=t._state;return Wt(t)||"closed"===n?f(void 0):"errored"===n?p(t._storedError):Jt(e)}function tn(e,t){"pending"===e._closedPromiseState?jn(e,t):Tn(e,t)}function nn(e,t){"pending"===e._readyPromiseState?Ln(e,t):Nn(e,t)}function rn(e){var t=e._ownerWritableStream,n=t._state;return"errored"===n||"erroring"===n?null:"closed"===n?0:mn(t._writableStreamController)}function on(e){var t=e._ownerWritableStream,n=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");nn(e,n),tn(e,n),t._writer=void 0,e._ownerWritableStream=void 0}function an(e,t){var n=e._ownerWritableStream,r=n._writableStreamController,o=hn(r,t);if(n!==e._ownerWritableStream)return p(Sn("write to"));var i=n._state;if("errored"===i)return p(n._storedError);if(Wt(n)||"closed"===i)return p(new TypeError("The stream is closing or closed and cannot be written to"));if("erroring"===i)return p(n._storedError);var a=Lt(n);return gn(r,t,o),a}Object.defineProperties($t.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty($t.prototype,t.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});var sn={},ln=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"abortReason",{get:function(){if(!cn(this))throw wn("abortReason");return this._abortReason},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"signal",{get:function(){if(!cn(this))throw wn("signal");if(void 0===this._abortController)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal},enumerable:!1,configurable:!0}),e.prototype.error=function(e){if(void 0===e&&(e=void 0),!cn(this))throw wn("error");"writable"===this._controlledWritableStream._state&&Cn(this,e)},e.prototype[R]=function(e){var t=this._abortAlgorithm(e);return fn(this),t},e.prototype[L]=function(){Se(this)},e}();function cn(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledWritableStream")&&e instanceof ln}function un(e,t,n,r,o,i,a,s){t._controlledWritableStream=e,e._writableStreamController=t,t._queue=void 0,t._queueTotalSize=void 0,Se(t),t._abortReason=void 0,t._abortController=Et(),t._started=!1,t._strategySizeAlgorithm=s,t._strategyHWM=a,t._writeAlgorithm=r,t._closeAlgorithm=o,t._abortAlgorithm=i;var l=xn(t);Kt(e,l),m(f(n()),(function(){t._started=!0,vn(t)}),(function(n){t._started=!0,It(e,n)}))}function dn(e,t,n,r){var o=Object.create(ln.prototype),i=function(){},a=function(){return f(void 0)},s=function(){return f(void 0)},l=function(){return f(void 0)};void 0!==t.start&&(i=function(){return t.start(o)}),void 0!==t.write&&(a=function(e){return t.write(e,o)}),void 0!==t.close&&(s=function(){return t.close()}),void 0!==t.abort&&(l=function(e){return t.abort(e)}),un(e,o,i,a,s,l,n,r)}function fn(e){e._writeAlgorithm=void 0,e._closeAlgorithm=void 0,e._abortAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function pn(e){we(e,sn,0),vn(e)}function hn(e,t){try{return e._strategySizeAlgorithm(t)}catch(t){return bn(e,t),1}}function mn(e){return e._strategyHWM-e._queueTotalSize}function gn(e,t,n){try{we(e,t,n)}catch(t){return void bn(e,t)}var r=e._controlledWritableStream;Wt(r)||"writable"!==r._state||Kt(r,xn(e)),vn(e)}function vn(e){var t=e._controlledWritableStream;if(e._started&&void 0===t._inFlightWriteRequest)if("erroring"!==t._state){if(0!==e._queue.length){var n=ke(e);n===sn?yn(e):An(e,n)}}else Ft(t)}function bn(e,t){"writable"===e._controlledWritableStream._state&&Cn(e,t)}function yn(e){var t=e._controlledWritableStream;Yt(t),_e(e);var n=e._closeAlgorithm();fn(e),m(n,(function(){Ut(t)}),(function(e){Ht(t,e)}))}function An(e,t){var n=e._controlledWritableStream;Zt(n),m(e._writeAlgorithm(t),(function(){zt(n);var t=n._state;if(_e(e),!Wt(n)&&"writable"===t){var r=xn(e);Kt(n,r)}vn(e)}),(function(t){"writable"===n._state&&fn(e),qt(n,t)}))}function xn(e){return mn(e)<=0}function Cn(e,t){var n=e._controlledWritableStream;fn(e),Nt(n,t)}function _n(e){return new TypeError("WritableStream.prototype."+e+" can only be used on a WritableStream")}function wn(e){return new TypeError("WritableStreamDefaultController.prototype."+e+" can only be used on a WritableStreamDefaultController")}function kn(e){return new TypeError("WritableStreamDefaultWriter.prototype."+e+" can only be used on a WritableStreamDefaultWriter")}function Sn(e){return new TypeError("Cannot "+e+" a stream using a released writer")}function En(e){e._closedPromise=d((function(t,n){e._closedPromise_resolve=t,e._closedPromise_reject=n,e._closedPromiseState="pending"}))}function Bn(e,t){En(e),jn(e,t)}function On(e){En(e),Pn(e)}function jn(e,t){void 0!==e._closedPromise_reject&&(y(e._closedPromise),e._closedPromise_reject(t),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="rejected")}function Tn(e,t){Bn(e,t)}function Pn(e){void 0!==e._closedPromise_resolve&&(e._closedPromise_resolve(void 0),e._closedPromise_resolve=void 0,e._closedPromise_reject=void 0,e._closedPromiseState="resolved")}function Mn(e){e._readyPromise=d((function(t,n){e._readyPromise_resolve=t,e._readyPromise_reject=n})),e._readyPromiseState="pending"}function Dn(e,t){Mn(e),Ln(e,t)}function Rn(e){Mn(e),Fn(e)}function Ln(e,t){void 0!==e._readyPromise_reject&&(y(e._readyPromise),e._readyPromise_reject(t),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="rejected")}function In(e){Mn(e)}function Nn(e,t){Dn(e,t)}function Fn(e){void 0!==e._readyPromise_resolve&&(e._readyPromise_resolve(void 0),e._readyPromise_resolve=void 0,e._readyPromise_reject=void 0,e._readyPromiseState="fulfilled")}Object.defineProperties(ln.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(ln.prototype,t.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});var zn="undefined"!=typeof DOMException?DOMException:void 0;function qn(e){if("function"!=typeof e&&"object"!=typeof e)return!1;try{return new e,!0}catch(e){return!1}}function Un(){var e=function(e,t){this.message=e||"",this.name=t||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e.prototype=Object.create(Error.prototype),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,configurable:!0}),e}var Hn=qn(zn)?zn:Un();function Wn(e,t,r,o,i,a){var s=J(e),l=Ot(t);e._disturbed=!0;var c=!1,u=f(void 0);return d((function(p,b){var A;if(void 0!==a){if(A=function(){var n=new Hn("Aborted","AbortError"),r=[];o||r.push((function(){return"writable"===t._state?Dt(t,n):f(void 0)})),i||r.push((function(){return"readable"===e._state?kr(e,n):f(void 0)})),B((function(){return Promise.all(r.map((function(e){return e()})))}),!0,n)},a.aborted)return void A();a.addEventListener("abort",A)}function x(){return d((function(e,t){function n(r){r?e():h(C(),n,t)}n(!1)}))}function C(){return c?f(!0):h(l._readyPromise,(function(){return d((function(e,t){le(s,{_chunkSteps:function(t){u=h(an(l,t),void 0,n),e(!1)},_closeSteps:function(){return e(!0)},_errorSteps:t})}))}))}if(k(e,s._closedPromise,(function(e){o?O(!0,e):B((function(){return Dt(t,e)}),!0,e)})),k(t,l._closedPromise,(function(t){i?O(!0,t):B((function(){return kr(e,t)}),!0,t)})),S(e,s._closedPromise,(function(){r?O():B((function(){return en(l)}))})),Wt(t)||"closed"===t._state){var _=new TypeError("the destination writable stream closed before all data could be piped to it");i?O(!0,_):B((function(){return kr(e,_)}),!0,_)}function w(){var e=u;return h(u,(function(){return e!==u?w():void 0}))}function k(e,t,n){"errored"===e._state?n(e._storedError):v(t,n)}function S(e,t,n){"closed"===e._state?n():g(t,n)}function B(e,n,r){function o(){m(e(),(function(){return j(n,r)}),(function(e){return j(!0,e)}))}c||(c=!0,"writable"!==t._state||Wt(t)?o():g(w(),o))}function O(e,n){c||(c=!0,"writable"!==t._state||Wt(t)?j(e,n):g(w(),(function(){return j(e,n)})))}function j(e,t){on(l),E(s),void 0!==a&&a.removeEventListener("abort",A),e?b(t):p(void 0)}y(x())}))}var Vn=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Yn(this))throw or("desiredSize");return Jn(this)},enumerable:!1,configurable:!0}),e.prototype.close=function(){if(!Yn(this))throw or("close");if(!tr(this))throw new TypeError("The stream is not in a state that permits close");$n(this)},e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!Yn(this))throw or("enqueue");if(!tr(this))throw new TypeError("The stream is not in a state that permits enqueue");return Xn(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Yn(this))throw or("error");Qn(this,e)},e.prototype[I]=function(e){Se(this);var t=this._cancelAlgorithm(e);return Kn(this),t},e.prototype[N]=function(e){var t=this._controlledReadableStream;if(this._queue.length>0){var n=_e(this);this._closeRequested&&0===this._queue.length?(Kn(this),Sr(t)):Zn(this),e._chunkSteps(n)}else ee(t,e),Zn(this)},e}();function Yn(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledReadableStream")&&e instanceof Vn}function Zn(e){Gn(e)&&(e._pulling?e._pullAgain=!0:(e._pulling=!0,m(e._pullAlgorithm(),(function(){e._pulling=!1,e._pullAgain&&(e._pullAgain=!1,Zn(e))}),(function(t){Qn(e,t)}))))}function Gn(e){var t=e._controlledReadableStream;return!!tr(e)&&!!e._started&&(!!(wr(t)&&ne(t)>0)||Jn(e)>0)}function Kn(e){e._pullAlgorithm=void 0,e._cancelAlgorithm=void 0,e._strategySizeAlgorithm=void 0}function $n(e){if(tr(e)){var t=e._controlledReadableStream;e._closeRequested=!0,0===e._queue.length&&(Kn(e),Sr(t))}}function Xn(e,t){if(tr(e)){var n=e._controlledReadableStream;if(wr(n)&&ne(n)>0)te(n,t,!1);else{var r=void 0;try{r=e._strategySizeAlgorithm(t)}catch(t){throw Qn(e,t),t}try{we(e,t,r)}catch(t){throw Qn(e,t),t}}Zn(e)}}function Qn(e,t){var n=e._controlledReadableStream;"readable"===n._state&&(Se(e),Kn(e),Er(n,t))}function Jn(e){var t=e._controlledReadableStream._state;return"errored"===t?null:"closed"===t?0:e._strategyHWM-e._queueTotalSize}function er(e){return!Gn(e)}function tr(e){var t=e._controlledReadableStream._state;return!e._closeRequested&&"readable"===t}function nr(e,t,n,r,o,i,a){t._controlledReadableStream=e,t._queue=void 0,t._queueTotalSize=void 0,Se(t),t._started=!1,t._closeRequested=!1,t._pullAgain=!1,t._pulling=!1,t._strategySizeAlgorithm=a,t._strategyHWM=i,t._pullAlgorithm=r,t._cancelAlgorithm=o,e._readableStreamController=t,m(f(n()),(function(){t._started=!0,Zn(t)}),(function(e){Qn(t,e)}))}function rr(e,t,n,r){var o=Object.create(Vn.prototype),i=function(){},a=function(){return f(void 0)},s=function(){return f(void 0)};void 0!==t.start&&(i=function(){return t.start(o)}),void 0!==t.pull&&(a=function(){return t.pull(o)}),void 0!==t.cancel&&(s=function(e){return t.cancel(e)}),nr(e,o,i,a,s,n,r)}function or(e){return new TypeError("ReadableStreamDefaultController.prototype."+e+" can only be used on a ReadableStreamDefaultController")}function ir(e,t){return Oe(e._readableStreamController)?sr(e):ar(e)}function ar(e,t){var n,r,o,i,a,s=J(e),l=!1,c=!1,u=!1,p=!1,h=d((function(e){a=e}));function m(){return l?(c=!0,f(void 0)):(l=!0,le(s,{_chunkSteps:function(e){A((function(){c=!1;var t=e,n=e;u||Xn(o._readableStreamController,t),p||Xn(i._readableStreamController,n),l=!1,c&&m()}))},_closeSteps:function(){l=!1,u||$n(o._readableStreamController),p||$n(i._readableStreamController),u&&p||a(void 0)},_errorSteps:function(){l=!1}}),f(void 0))}function g(t){if(u=!0,n=t,p){var o=ge([n,r]),i=kr(e,o);a(i)}return h}function b(t){if(p=!0,r=t,u){var o=ge([n,r]),i=kr(e,o);a(i)}return h}function y(){}return o=Ar(y,m,g),i=Ar(y,m,b),v(s._closedPromise,(function(e){Qn(o._readableStreamController,e),Qn(i._readableStreamController,e),u&&p||a(void 0)})),[o,i]}function sr(e){var t,n,r,o,i,a=J(e),s=!1,l=!1,c=!1,u=!1,p=!1,h=d((function(e){i=e}));function m(e){v(e._closedPromise,(function(t){e===a&&($e(r._readableStreamController,t),$e(o._readableStreamController,t),u&&p||i(void 0))}))}function g(){ft(a)&&(E(a),m(a=J(e))),le(a,{_chunkSteps:function(t){A((function(){l=!1,c=!1;var n=t,a=t;if(!u&&!p)try{a=Ce(t)}catch(t){return $e(r._readableStreamController,t),$e(o._readableStreamController,t),void i(kr(e,t))}u||Ke(r._readableStreamController,n),p||Ke(o._readableStreamController,a),s=!1,l?y():c&&x()}))},_closeSteps:function(){s=!1,u||Ge(r._readableStreamController),p||Ge(o._readableStreamController),r._readableStreamController._pendingPullIntos.length>0&&Je(r._readableStreamController,0),o._readableStreamController._pendingPullIntos.length>0&&Je(o._readableStreamController,0),u&&p||i(void 0)},_errorSteps:function(){s=!1}})}function b(t,n){se(a)&&(E(a),m(a=at(e)));var d=n?o:r,f=n?r:o;pt(a,t,{_chunkSteps:function(t){A((function(){l=!1,c=!1;var r=n?p:u;if(n?u:p)r||et(d._readableStreamController,t);else{var o=void 0;try{o=Ce(t)}catch(t){return $e(d._readableStreamController,t),$e(f._readableStreamController,t),void i(kr(e,t))}r||et(d._readableStreamController,t),Ke(f._readableStreamController,o)}s=!1,l?y():c&&x()}))},_closeSteps:function(e){s=!1;var t=n?p:u,r=n?u:p;t||Ge(d._readableStreamController),r||Ge(f._readableStreamController),void 0!==e&&(t||et(d._readableStreamController,e),!r&&f._readableStreamController._pendingPullIntos.length>0&&Je(f._readableStreamController,0)),t&&r||i(void 0)},_errorSteps:function(){s=!1}})}function y(){if(s)return l=!0,f(void 0);s=!0;var e=Xe(r._readableStreamController);return null===e?g():b(e._view,!1),f(void 0)}function x(){if(s)return c=!0,f(void 0);s=!0;var e=Xe(o._readableStreamController);return null===e?g():b(e._view,!0),f(void 0)}function C(r){if(u=!0,t=r,p){var o=ge([t,n]),a=kr(e,o);i(a)}return h}function _(r){if(p=!0,n=r,u){var o=ge([t,n]),a=kr(e,o);i(a)}return h}function w(){}return r=xr(w,y,C),o=xr(w,x,_),m(a),[r,o]}function lr(e,t){U(e,t);var n=e,r=null==n?void 0:n.autoAllocateChunkSize,o=null==n?void 0:n.cancel,i=null==n?void 0:n.pull,a=null==n?void 0:n.start,s=null==n?void 0:n.type;return{autoAllocateChunkSize:void 0===r?void 0:X(r,t+" has member 'autoAllocateChunkSize' that"),cancel:void 0===o?void 0:cr(o,n,t+" has member 'cancel' that"),pull:void 0===i?void 0:ur(i,n,t+" has member 'pull' that"),start:void 0===a?void 0:dr(a,n,t+" has member 'start' that"),type:void 0===s?void 0:fr(s,t+" has member 'type' that")}}function cr(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function ur(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function dr(e,t,n){return H(e,n),function(n){return x(e,t,[n])}}function fr(e,t){if("bytes"!=(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for ReadableStreamType");return e}function pr(e,t){U(e,t);var n=null==e?void 0:e.mode;return{mode:void 0===n?void 0:hr(n,t+" has member 'mode' that")}}function hr(e,t){if("byob"!=(e=""+e))throw new TypeError(t+" '"+e+"' is not a valid enumeration value for ReadableStreamReaderMode");return e}function mr(e,t){U(e,t);var n=null==e?void 0:e.preventCancel;return{preventCancel:Boolean(n)}}function gr(e,t){U(e,t);var n=null==e?void 0:e.preventAbort,r=null==e?void 0:e.preventCancel,o=null==e?void 0:e.preventClose,i=null==e?void 0:e.signal;return void 0!==i&&vr(i,t+" has member 'signal' that"),{preventAbort:Boolean(n),preventCancel:Boolean(r),preventClose:Boolean(o),signal:i}}function vr(e,t){if(!kt(e))throw new TypeError(t+" is not an AbortSignal.")}function br(e,t){U(e,t);var n=null==e?void 0:e.readable;Z(n,"readable","ReadableWritablePair"),Q(n,t+" has member 'readable' that");var r=null==e?void 0:e.writable;return Z(r,"writable","ReadableWritablePair"),wt(r,t+" has member 'writable' that"),{readable:n,writable:r}}Object.defineProperties(Vn.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Vn.prototype,t.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});var yr=function(){function e(e,t){void 0===e&&(e={}),void 0===t&&(t={}),void 0===e?e=null:V(e,"First parameter");var n=vt(t,"Second parameter"),r=lr(e,"First parameter");if(Cr(this),"bytes"===r.type){if(void 0!==n.size)throw new RangeError("The strategy for a byte stream cannot have a size function");nt(this,r,mt(n,0))}else{var o=gt(n);rr(this,r,mt(n,1),o)}}return Object.defineProperty(e.prototype,"locked",{get:function(){if(!_r(this))throw Br("locked");return wr(this)},enumerable:!1,configurable:!0}),e.prototype.cancel=function(e){return void 0===e&&(e=void 0),_r(this)?wr(this)?p(new TypeError("Cannot cancel a stream that already has a reader")):kr(this,e):p(Br("cancel"))},e.prototype.getReader=function(e){if(void 0===e&&(e=void 0),!_r(this))throw Br("getReader");return void 0===pr(e,"First parameter").mode?J(this):at(this)},e.prototype.pipeThrough=function(e,t){if(void 0===t&&(t={}),!_r(this))throw Br("pipeThrough");Y(e,1,"pipeThrough");var n=br(e,"First parameter"),r=gr(t,"Second parameter");if(wr(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(Mt(n.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");return y(Wn(this,n.writable,r.preventClose,r.preventAbort,r.preventCancel,r.signal)),n.readable},e.prototype.pipeTo=function(e,t){if(void 0===t&&(t={}),!_r(this))return p(Br("pipeTo"));if(void 0===e)return p("Parameter 1 is required in 'pipeTo'.");if(!Pt(e))return p(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var n;try{n=gr(t,"Second parameter")}catch(e){return p(e)}return wr(this)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):Mt(e)?p(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Wn(this,e,n.preventClose,n.preventAbort,n.preventCancel,n.signal)},e.prototype.tee=function(){if(!_r(this))throw Br("tee");return ge(ir(this))},e.prototype.values=function(e){if(void 0===e&&(e=void 0),!_r(this))throw Br("values");return fe(this,mr(e,"First parameter").preventCancel)},e}();function Ar(e,t,n,r,o){void 0===r&&(r=1),void 0===o&&(o=function(){return 1});var i=Object.create(yr.prototype);return Cr(i),nr(i,Object.create(Vn.prototype),e,t,n,r,o),i}function xr(e,t,n){var r=Object.create(yr.prototype);return Cr(r),tt(r,Object.create(Be.prototype),e,t,n,0,void 0),r}function Cr(e){e._state="readable",e._reader=void 0,e._storedError=void 0,e._disturbed=!1}function _r(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readableStreamController")&&e instanceof yr}function wr(e){return void 0!==e._reader}function kr(e,t){if(e._disturbed=!0,"closed"===e._state)return f(void 0);if("errored"===e._state)return p(e._storedError);Sr(e);var r=e._reader;return void 0!==r&&ft(r)&&(r._readIntoRequests.forEach((function(e){e._closeSteps(void 0)})),r._readIntoRequests=new w),b(e._readableStreamController[I](t),n)}function Sr(e){e._state="closed";var t=e._reader;void 0!==t&&(D(t),se(t)&&(t._readRequests.forEach((function(e){e._closeSteps()})),t._readRequests=new w))}function Er(e,t){e._state="errored",e._storedError=t;var n=e._reader;void 0!==n&&(P(n,t),se(n)?(n._readRequests.forEach((function(e){e._errorSteps(t)})),n._readRequests=new w):(n._readIntoRequests.forEach((function(e){e._errorSteps(t)})),n._readIntoRequests=new w))}function Br(e){return new TypeError("ReadableStream.prototype."+e+" can only be used on a ReadableStream")}function Or(e,t){U(e,t);var n=null==e?void 0:e.highWaterMark;return Z(n,"highWaterMark","QueuingStrategyInit"),{highWaterMark:G(n)}}Object.defineProperties(yr.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(yr.prototype,t.toStringTag,{value:"ReadableStream",configurable:!0}),"symbol"==typeof t.asyncIterator&&Object.defineProperty(yr.prototype,t.asyncIterator,{value:yr.prototype.values,writable:!0,configurable:!0});var jr=function(e){return e.byteLength};Object.defineProperty(jr,"name",{value:"size",configurable:!0});var Tr=function(){function e(e){Y(e,1,"ByteLengthQueuingStrategy"),e=Or(e,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!Mr(this))throw Pr("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!Mr(this))throw Pr("size");return jr},enumerable:!1,configurable:!0}),e}();function Pr(e){return new TypeError("ByteLengthQueuingStrategy.prototype."+e+" can only be used on a ByteLengthQueuingStrategy")}function Mr(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_byteLengthQueuingStrategyHighWaterMark")&&e instanceof Tr}Object.defineProperties(Tr.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Tr.prototype,t.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});var Dr=function(){return 1};Object.defineProperty(Dr,"name",{value:"size",configurable:!0});var Rr=function(){function e(e){Y(e,1,"CountQueuingStrategy"),e=Or(e,"First parameter"),this._countQueuingStrategyHighWaterMark=e.highWaterMark}return Object.defineProperty(e.prototype,"highWaterMark",{get:function(){if(!Ir(this))throw Lr("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){if(!Ir(this))throw Lr("size");return Dr},enumerable:!1,configurable:!0}),e}();function Lr(e){return new TypeError("CountQueuingStrategy.prototype."+e+" can only be used on a CountQueuingStrategy")}function Ir(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_countQueuingStrategyHighWaterMark")&&e instanceof Rr}function Nr(e,t){U(e,t);var n=null==e?void 0:e.flush,r=null==e?void 0:e.readableType,o=null==e?void 0:e.start,i=null==e?void 0:e.transform,a=null==e?void 0:e.writableType;return{flush:void 0===n?void 0:Fr(n,e,t+" has member 'flush' that"),readableType:r,start:void 0===o?void 0:zr(o,e,t+" has member 'start' that"),transform:void 0===i?void 0:qr(i,e,t+" has member 'transform' that"),writableType:a}}function Fr(e,t,n){return H(e,n),function(n){return C(e,t,[n])}}function zr(e,t,n){return H(e,n),function(n){return x(e,t,[n])}}function qr(e,t,n){return H(e,n),function(n,r){return C(e,t,[n,r])}}Object.defineProperties(Rr.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Rr.prototype,t.toStringTag,{value:"CountQueuingStrategy",configurable:!0});var Ur=function(){function e(e,t,n){void 0===e&&(e={}),void 0===t&&(t={}),void 0===n&&(n={}),void 0===e&&(e=null);var r=vt(t,"Second parameter"),o=vt(n,"Third parameter"),i=Nr(e,"First parameter");if(void 0!==i.readableType)throw new RangeError("Invalid readableType specified");if(void 0!==i.writableType)throw new RangeError("Invalid writableType specified");var a,s=mt(o,0),l=gt(o),c=mt(r,1),u=gt(r);Hr(this,d((function(e){a=e})),c,u,s,l),Xr(this,i),void 0!==i.start?a(i.start(this._transformStreamController)):a(void 0)}return Object.defineProperty(e.prototype,"readable",{get:function(){if(!Wr(this))throw lo("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"writable",{get:function(){if(!Wr(this))throw lo("writable");return this._writable},enumerable:!1,configurable:!0}),e}();function Hr(e,t,n,r,o,i){function a(){return t}function s(t){return ro(e,t)}function l(t){return oo(e,t)}function c(){return io(e)}function u(){return ao(e)}function d(t){return Yr(e,t),f(void 0)}e._writable=jt(a,s,c,l,n,r),e._readable=Ar(a,u,d,o,i),e._backpressure=void 0,e._backpressureChangePromise=void 0,e._backpressureChangePromise_resolve=void 0,Zr(e,!0),e._transformStreamController=void 0}function Wr(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_transformStreamController")&&e instanceof Ur}function Vr(e,t){Qn(e._readable._readableStreamController,t),Yr(e,t)}function Yr(e,t){Qr(e._transformStreamController),bn(e._writable._writableStreamController,t),e._backpressure&&Zr(e,!1)}function Zr(e,t){void 0!==e._backpressureChangePromise&&e._backpressureChangePromise_resolve(),e._backpressureChangePromise=d((function(t){e._backpressureChangePromise_resolve=t})),e._backpressure=t}Object.defineProperties(Ur.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Ur.prototype,t.toStringTag,{value:"TransformStream",configurable:!0});var Gr=function(){function e(){throw new TypeError("Illegal constructor")}return Object.defineProperty(e.prototype,"desiredSize",{get:function(){if(!Kr(this))throw so("desiredSize");return Jn(this._controlledTransformStream._readable._readableStreamController)},enumerable:!1,configurable:!0}),e.prototype.enqueue=function(e){if(void 0===e&&(e=void 0),!Kr(this))throw so("enqueue");Jr(this,e)},e.prototype.error=function(e){if(void 0===e&&(e=void 0),!Kr(this))throw so("error");eo(this,e)},e.prototype.terminate=function(){if(!Kr(this))throw so("terminate");no(this)},e}();function Kr(e){return!!i(e)&&!!Object.prototype.hasOwnProperty.call(e,"_controlledTransformStream")&&e instanceof Gr}function $r(e,t,n,r){t._controlledTransformStream=e,e._transformStreamController=t,t._transformAlgorithm=n,t._flushAlgorithm=r}function Xr(e,t){var n=Object.create(Gr.prototype),r=function(e){try{return Jr(n,e),f(void 0)}catch(e){return p(e)}},o=function(){return f(void 0)};void 0!==t.transform&&(r=function(e){return t.transform(e,n)}),void 0!==t.flush&&(o=function(){return t.flush(n)}),$r(e,n,r,o)}function Qr(e){e._transformAlgorithm=void 0,e._flushAlgorithm=void 0}function Jr(e,t){var n=e._controlledTransformStream,r=n._readable._readableStreamController;if(!tr(r))throw new TypeError("Readable side is not in a state that permits enqueue");try{Xn(r,t)}catch(e){throw Yr(n,e),n._readable._storedError}er(r)!==n._backpressure&&Zr(n,!0)}function eo(e,t){Vr(e._controlledTransformStream,t)}function to(e,t){return b(e._transformAlgorithm(t),void 0,(function(t){throw Vr(e._controlledTransformStream,t),t}))}function no(e){var t=e._controlledTransformStream;$n(t._readable._readableStreamController),Yr(t,new TypeError("TransformStream terminated"))}function ro(e,t){var n=e._transformStreamController;return e._backpressure?b(e._backpressureChangePromise,(function(){var r=e._writable;if("erroring"===r._state)throw r._storedError;return to(n,t)})):to(n,t)}function oo(e,t){return Vr(e,t),f(void 0)}function io(e){var t=e._readable,n=e._transformStreamController,r=n._flushAlgorithm();return Qr(n),b(r,(function(){if("errored"===t._state)throw t._storedError;$n(t._readableStreamController)}),(function(n){throw Vr(e,n),t._storedError}))}function ao(e){return Zr(e,!1),e._backpressureChangePromise}function so(e){return new TypeError("TransformStreamDefaultController.prototype."+e+" can only be used on a TransformStreamDefaultController")}function lo(e){return new TypeError("TransformStream.prototype."+e+" can only be used on a TransformStream")}Object.defineProperties(Gr.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),"symbol"==typeof t.toStringTag&&Object.defineProperty(Gr.prototype,t.toStringTag,{value:"TransformStreamDefaultController",configurable:!0}),e.ByteLengthQueuingStrategy=Tr,e.CountQueuingStrategy=Rr,e.ReadableByteStreamController=Be,e.ReadableStream=yr,e.ReadableStreamBYOBReader=dt,e.ReadableStreamBYOBRequest=Ee,e.ReadableStreamDefaultController=Vn,e.ReadableStreamDefaultReader=ae,e.TransformStream=Ur,e.TransformStreamDefaultController=Gr,e.WritableStream=Bt,e.WritableStreamDefaultController=ln,e.WritableStreamDefaultWriter=$t,Object.defineProperty(e,"__esModule",{value:!0})}(t)},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BaseStandardFontDataFactory=t.BaseSVGFactory=t.BaseCanvasFactory=t.BaseCMapReaderFactory=void 0;var r,o=(r=n(2))&&r.__esModule?r:{default:r},i=n(4);function a(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function s(e){a(i,r,o,s,l,"next",e)}function l(e){a(i,r,o,s,l,"throw",e)}s(void 0)}))}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}var d=function(){function e(){l(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseCanvasFactory.")}return u(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid canvas size");var n=this._createCanvas(e,t);return{canvas:n,context:n.getContext("2d")}}},{key:"reset",value:function(e,t,n){if(!e.canvas)throw new Error("Canvas is not specified");if(t<=0||n<=0)throw new Error("Invalid canvas size");e.canvas.width=t,e.canvas.height=n}},{key:"destroy",value:function(e){if(!e.canvas)throw new Error("Canvas is not specified");e.canvas.width=0,e.canvas.height=0,e.canvas=null,e.context=null}},{key:"_createCanvas",value:function(e,t){(0,i.unreachable)("Abstract method `_createCanvas` called.")}}]),e}();t.BaseCanvasFactory=d;var f=function(){function e(t){var n=t.baseUrl,r=void 0===n?null:n,o=t.isCompressed,a=void 0!==o&&o;l(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=r,this.isCompressed=a}var t;return u(e,[{key:"fetch",value:(t=s(o.default.mark((function e(t){var n,r,a,s=this;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.name,this.baseUrl){e.next=3;break}throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');case 3:if(n){e.next=5;break}throw new Error("CMap name must be specified.");case 5:return r=this.baseUrl+n+(this.isCompressed?".bcmap":""),a=this.isCompressed?i.CMapCompressionType.BINARY:i.CMapCompressionType.NONE,e.abrupt("return",this._fetchData(r,a).catch((function(e){throw new Error("Unable to load ".concat(s.isCompressed?"binary ":"","CMap at: ").concat(r))})));case 8:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(e,t){(0,i.unreachable)("Abstract method `_fetchData` called.")}}]),e}();t.BaseCMapReaderFactory=f;var p=function(){function e(t){var n=t.baseUrl,r=void 0===n?null:n;l(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=r}var t;return u(e,[{key:"fetch",value:(t=s(o.default.mark((function e(t){var n,r;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.filename,this.baseUrl){e.next=3;break}throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');case 3:if(n){e.next=5;break}throw new Error("Font filename must be specified.");case 5:return r="".concat(this.baseUrl).concat(n),e.abrupt("return",this._fetchData(r).catch((function(e){throw new Error("Unable to load font data at: ".concat(r))})));case 7:case"end":return e.stop()}}),e,this)}))),function(e){return t.apply(this,arguments)})},{key:"_fetchData",value:function(e){(0,i.unreachable)("Abstract method `_fetchData` called.")}}]),e}();t.BaseStandardFontDataFactory=p;var h=function(){function e(){l(this,e),this.constructor===e&&(0,i.unreachable)("Cannot initialize BaseSVGFactory.")}return u(e,[{key:"create",value:function(e,t){if(e<=0||t<=0)throw new Error("Invalid SVG dimensions");var n=this._createSVG("svg:svg");return n.setAttribute("version","1.1"),n.setAttribute("width","".concat(e,"px")),n.setAttribute("height","".concat(t,"px")),n.setAttribute("preserveAspectRatio","none"),n.setAttribute("viewBox","0 0 ".concat(e," ").concat(t)),n}},{key:"createElement",value:function(e){if("string"!=typeof e)throw new Error("Invalid SVG element type");return this._createSVG(e)}},{key:"_createSVG",value:function(e){(0,i.unreachable)("Abstract method `_createSVG` called.")}}]),e}();t.BaseSVGFactory=h},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _regenerator=_interopRequireDefault(__w_pdfjs_require__(2)),_util=__w_pdfjs_require__(4),_display_utils=__w_pdfjs_require__(1),_font_loader=__w_pdfjs_require__(137),_node_utils=__w_pdfjs_require__(138),_annotation_storage=__w_pdfjs_require__(139),_canvas=__w_pdfjs_require__(140),_worker_options=__w_pdfjs_require__(142),_is_node=__w_pdfjs_require__(6),_message_handler=__w_pdfjs_require__(143),_metadata=__w_pdfjs_require__(144),_optional_content_config=__w_pdfjs_require__(145),_transport_stream=__w_pdfjs_require__(146),_xfa_text=__w_pdfjs_require__(147);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}function _classPrivateFieldInitSpec(e,t,n){_checkPrivateRedeclaration(e,t),t.set(e,n)}function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(e,t,n){return _classApplyDescriptorSet(e,_classExtractFieldDescriptor(e,t,"set"),n),n}function _classApplyDescriptorSet(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}function _classPrivateFieldGet(e,t){return _classApplyDescriptorGet(e,_classExtractFieldDescriptor(e,t,"get"))}function _classExtractFieldDescriptor(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){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 _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _createForOfIteratorHelper(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(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 _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function asyncGeneratorStep(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){asyncGeneratorStep(i,r,o,a,s,"next",e)}function s(e){asyncGeneratorStep(i,r,o,a,s,"throw",e)}a(void 0)}))}}function _slicedToArray(e,t){return _arrayWithHoles(e)||_iterableToArrayLimit(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function _nonIterableRest(){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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(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)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(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 _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _typeof(e){return _typeof="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},_typeof(e)}var DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100,DefaultCanvasFactory=_is_node.isNodeJS?_node_utils.NodeCanvasFactory:_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;var DefaultCMapReaderFactory=_is_node.isNodeJS?_node_utils.NodeCMapReaderFactory:_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;var DefaultStandardFontDataFactory=_is_node.isNodeJS?_node_utils.NodeStandardFontDataFactory:_display_utils.DOMStandardFontDataFactory,createPDFNetworkStream;function setPDFNetworkStreamFactory(e){createPDFNetworkStream=e}function getDocument(e){var t,n=new PDFDocumentLoadingTask;if("string"==typeof e||e instanceof URL)t={url:e};else if((0,_util.isArrayBuffer)(e))t={data:e};else if(e instanceof PDFDataRangeTransport)t={range:e};else{if("object"!==_typeof(e))throw new Error("Invalid parameter in getDocument, need either string, URL, Uint8Array, or parameter object.");if(!e.url&&!e.data&&!e.range)throw new Error("Invalid parameter object: need either .data, .range or .url");t=e}var r=Object.create(null),o=null,i=null;for(var a in t){var s=t[a];switch(a){case"url":if("undefined"!=typeof window)try{r[a]=new URL(s,window.location).href;continue}catch(e){(0,_util.warn)('Cannot create valid URL: "'.concat(e,'".'))}else if("string"==typeof s||s instanceof URL){r[a]=s.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":o=s;continue;case"worker":i=s;continue;case"data":if(_is_node.isNodeJS&&void 0!==Buffer&&s instanceof Buffer)r[a]=new Uint8Array(s);else{if(s instanceof Uint8Array)break;if("string"==typeof s)r[a]=(0,_util.stringToBytes)(s);else if("object"!==_typeof(s)||null===s||isNaN(s.length)){if(!(0,_util.isArrayBuffer)(s))throw new Error("Invalid PDF binary data: either typed array, string, or array-like object is expected in the data property.");r[a]=new Uint8Array(s)}else r[a]=new Uint8Array(s)}continue}r[a]=s}if(r.rangeChunkSize=r.rangeChunkSize||DEFAULT_RANGE_CHUNK_SIZE,r.CMapReaderFactory=r.CMapReaderFactory||DefaultCMapReaderFactory,r.StandardFontDataFactory=r.StandardFontDataFactory||DefaultStandardFontDataFactory,r.ignoreErrors=!0!==r.stopAtErrors,r.fontExtraProperties=!0===r.fontExtraProperties,r.pdfBug=!0===r.pdfBug,r.enableXfa=!0===r.enableXfa,("string"!=typeof r.docBaseUrl||(0,_display_utils.isDataScheme)(r.docBaseUrl))&&(r.docBaseUrl=null),Number.isInteger(r.maxImageSize)||(r.maxImageSize=-1),"boolean"!=typeof r.useWorkerFetch&&(r.useWorkerFetch=r.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&r.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),"boolean"!=typeof r.isEvalSupported&&(r.isEvalSupported=!0),"boolean"!=typeof r.disableFontFace&&(r.disableFontFace=_is_node.isNodeJS),"boolean"!=typeof r.useSystemFonts&&(r.useSystemFonts=!_is_node.isNodeJS&&!r.disableFontFace),void 0===r.ownerDocument&&(r.ownerDocument=globalThis.document),"boolean"!=typeof r.disableRange&&(r.disableRange=!1),"boolean"!=typeof r.disableStream&&(r.disableStream=!1),"boolean"!=typeof r.disableAutoFetch&&(r.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(r.verbosity),!i){var l={verbosity:r.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};i=l.port?PDFWorker.fromPort(l):new PDFWorker(l),n._worker=i}var c=n.docId;return i.promise.then((function(){if(n.destroyed)throw new Error("Loading aborted");var e=_fetchDocument(i,r,o,c),t=new Promise((function(e){var t;o?t=new _transport_stream.PDFDataTransportStream({length:r.length,initialData:r.initialData,progressiveDone:r.progressiveDone,contentDispositionFilename:r.contentDispositionFilename,disableRange:r.disableRange,disableStream:r.disableStream},o):r.data||(t=createPDFNetworkStream({url:r.url,length:r.length,httpHeaders:r.httpHeaders,withCredentials:r.withCredentials,rangeChunkSize:r.rangeChunkSize,disableRange:r.disableRange,disableStream:r.disableStream})),e(t)}));return Promise.all([e,t]).then((function(e){var t=_slicedToArray(e,2),o=t[0],a=t[1];if(n.destroyed)throw new Error("Loading aborted");var s=new _message_handler.MessageHandler(c,o,i.port),l=new WorkerTransport(s,n,a,r);n._transport=l,s.send("Ready",null)}))})).catch(n._capability.reject),n}function _fetchDocument(e,t,n,r){return _fetchDocument2.apply(this,arguments)}function _fetchDocument2(){return(_fetchDocument2=_asyncToGenerator(_regenerator.default.mark((function e(t,n,r,o){var i;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.destroyed){e.next=2;break}throw new Error("Worker was destroyed");case 2:return r&&(n.length=r.length,n.initialData=r.initialData,n.progressiveDone=r.progressiveDone,n.contentDispositionFilename=r.contentDispositionFilename),e.next=5,t.messageHandler.sendWithPromise("GetDocRequest",{docId:o,apiVersion:"2.12.313",source:{data:n.data,url:n.url,password:n.password,disableAutoFetch:n.disableAutoFetch,rangeChunkSize:n.rangeChunkSize,length:n.length},maxImageSize:n.maxImageSize,disableFontFace:n.disableFontFace,docBaseUrl:n.docBaseUrl,ignoreErrors:n.ignoreErrors,isEvalSupported:n.isEvalSupported,fontExtraProperties:n.fontExtraProperties,enableXfa:n.enableXfa,useSystemFonts:n.useSystemFonts,cMapUrl:n.useWorkerFetch?n.cMapUrl:null,standardFontDataUrl:n.useWorkerFetch?n.standardFontDataUrl:null});case 5:if(i=e.sent,!t.destroyed){e.next=8;break}throw new Error("Worker was destroyed");case 8:return e.abrupt("return",i);case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory;var PDFDocumentLoadingTask=function(){function e(){_classCallCheck(this,e),this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId="d".concat(e.idCounters.doc++),this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}var t;return _createClass(e,[{key:"promise",get:function(){return this._capability.promise}},{key:"destroy",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return this.destroyed=!0,e.next=3,null===(t=this._transport)||void 0===t?void 0:t.destroy();case 3:this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null);case 5:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}],[{key:"idCounters",get:function(){return(0,_util.shadow)(this,"idCounters",{doc:0})}}]),e}();exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;var PDFDataRangeTransport=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;_classCallCheck(this,e),this.length=t,this.initialData=n,this.progressiveDone=r,this.contentDispositionFilename=o,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}return _createClass(e,[{key:"addRangeListener",value:function(e){this._rangeListeners.push(e)}},{key:"addProgressListener",value:function(e){this._progressListeners.push(e)}},{key:"addProgressiveReadListener",value:function(e){this._progressiveReadListeners.push(e)}},{key:"addProgressiveDoneListener",value:function(e){this._progressiveDoneListeners.push(e)}},{key:"onDataRange",value:function(e,t){var n,r=_createForOfIteratorHelper(this._rangeListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e,t)}catch(e){r.e(e)}finally{r.f()}}},{key:"onDataProgress",value:function(e,t){var n=this;this._readyCapability.promise.then((function(){var r,o=_createForOfIteratorHelper(n._progressListeners);try{for(o.s();!(r=o.n()).done;)(0,r.value)(e,t)}catch(e){o.e(e)}finally{o.f()}}))}},{key:"onDataProgressiveRead",value:function(e){var t=this;this._readyCapability.promise.then((function(){var n,r=_createForOfIteratorHelper(t._progressiveReadListeners);try{for(r.s();!(n=r.n()).done;)(0,n.value)(e)}catch(e){r.e(e)}finally{r.f()}}))}},{key:"onDataProgressiveDone",value:function(){var e=this;this._readyCapability.promise.then((function(){var t,n=_createForOfIteratorHelper(e._progressiveDoneListeners);try{for(n.s();!(t=n.n()).done;)(0,t.value)()}catch(e){n.e(e)}finally{n.f()}}))}},{key:"transportReady",value:function(){this._readyCapability.resolve()}},{key:"requestDataRange",value:function(e,t){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}},{key:"abort",value:function(){}}]),e}();exports.PDFDataRangeTransport=PDFDataRangeTransport;var PDFDocumentProxy=function(){function e(t,n){var r,o=this;_classCallCheck(this,e),this._pdfInfo=t,this._transport=n,Object.defineProperty(this,"fingerprint",{get:function(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:(r=_asyncToGenerator(_regenerator.default.mark((function e(){return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),e.abrupt("return",o.stats||{streamTypes:{},fontTypes:{}});case 2:case"end":return e.stop()}}),e)}))),function(){return r.apply(this,arguments)})})}return _createClass(e,[{key:"annotationStorage",get:function(){return this._transport.annotationStorage}},{key:"numPages",get:function(){return this._pdfInfo.numPages}},{key:"fingerprints",get:function(){return this._pdfInfo.fingerprints}},{key:"stats",get:function(){return this._transport.stats}},{key:"isPureXfa",get:function(){return!!this._transport._htmlForXfa}},{key:"allXfaHtml",get:function(){return this._transport._htmlForXfa}},{key:"getPage",value:function(e){return this._transport.getPage(e)}},{key:"getPageIndex",value:function(e){return this._transport.getPageIndex(e)}},{key:"getDestinations",value:function(){return this._transport.getDestinations()}},{key:"getDestination",value:function(e){return this._transport.getDestination(e)}},{key:"getPageLabels",value:function(){return this._transport.getPageLabels()}},{key:"getPageLayout",value:function(){return this._transport.getPageLayout()}},{key:"getPageMode",value:function(){return this._transport.getPageMode()}},{key:"getViewerPreferences",value:function(){return this._transport.getViewerPreferences()}},{key:"getOpenAction",value:function(){return this._transport.getOpenAction()}},{key:"getAttachments",value:function(){return this._transport.getAttachments()}},{key:"getJavaScript",value:function(){return this._transport.getJavaScript()}},{key:"getJSActions",value:function(){return this._transport.getDocJSActions()}},{key:"getOutline",value:function(){return this._transport.getOutline()}},{key:"getOptionalContentConfig",value:function(){return this._transport.getOptionalContentConfig()}},{key:"getPermissions",value:function(){return this._transport.getPermissions()}},{key:"getMetadata",value:function(){return this._transport.getMetadata()}},{key:"getMarkInfo",value:function(){return this._transport.getMarkInfo()}},{key:"getData",value:function(){return this._transport.getData()}},{key:"getDownloadInfo",value:function(){return this._transport.downloadInfoCapability.promise}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this._transport.startCleanup(e||this.isPureXfa)}},{key:"destroy",value:function(){return this.loadingTask.destroy()}},{key:"loadingParams",get:function(){return this._transport.loadingParams}},{key:"loadingTask",get:function(){return this._transport.loadingTask}},{key:"saveDocument",value:function(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}},{key:"getFieldObjects",value:function(){return this._transport.getFieldObjects()}},{key:"hasJSActions",value:function(){return this._transport.hasJSActions()}},{key:"getCalculationOrderIds",value:function(){return this._transport.getCalculationOrderIds()}}]),e}();exports.PDFDocumentProxy=PDFDocumentProxy;var PDFPageProxy=function(){function e(t,n,r,o){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];_classCallCheck(this,e),this._pageIndex=t,this._pageInfo=n,this._ownerDocument=o,this._transport=r,this._stats=i?new _display_utils.StatTimer:null,this._pdfBug=i,this.commonObjs=r.commonObjs,this.objs=new PDFObjects,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}var t;return _createClass(e,[{key:"pageNumber",get:function(){return this._pageIndex+1}},{key:"rotate",get:function(){return this._pageInfo.rotate}},{key:"ref",get:function(){return this._pageInfo.ref}},{key:"userUnit",get:function(){return this._pageInfo.userUnit}},{key:"view",get:function(){return this._pageInfo.view}},{key:"getViewport",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scale,n=e.rotation,r=void 0===n?this.rotate:n,o=e.offsetX,i=void 0===o?0:o,a=e.offsetY,s=void 0===a?0:a,l=e.dontFlip,c=void 0!==l&&l;return new _display_utils.PageViewport({viewBox:this.view,scale:t,rotation:r,offsetX:i,offsetY:s,dontFlip:c})}},{key:"getAnnotations",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,n=void 0===t?"display":t,r=this._transport.getRenderingIntent(n),o=this._annotationPromises.get(r.cacheKey);return o||(o=this._transport.getAnnotations(this._pageIndex,r.renderingIntent),this._annotationPromises.set(r.cacheKey,o),o=o.then((function(e){var t,n=_createForOfIteratorHelper(e);try{var r=function(){var e=t.value;void 0!==e.titleObj&&Object.defineProperty(e,"title",{get:function(){return(0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),e.titleObj.str}}),void 0!==e.contentsObj&&Object.defineProperty(e,"contents",{get:function(){return(0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),e.contentsObj.str}})};for(n.s();!(t=n.n()).done;)r()}catch(e){n.e(e)}finally{n.f()}return e}))),o}},{key:"getJSActions",value:function(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}},{key:"getXfa",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(null===(t=this._transport._htmlForXfa)||void 0===t?void 0:t.children[this._pageIndex])||null);case 1:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"render",value:function(e){var t,n,r,o=this,i=e.canvasContext,a=e.viewport,s=e.intent,l=void 0===s?"display":s,c=e.annotationMode,u=void 0===c?_util.AnnotationMode.ENABLE:c,d=e.transform,f=void 0===d?null:d,p=e.imageLayer,h=void 0===p?null:p,m=e.canvasFactory,g=void 0===m?null:m,v=e.background,b=void 0===v?null:v,y=e.optionalContentConfigPromise,A=void 0===y?null:y,x=e.annotationCanvasMap,C=void 0===x?null:x;void 0!==(null===(t=arguments[0])||void 0===t?void 0:t.renderInteractiveForms)&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),!0===arguments[0].renderInteractiveForms&&u===_util.AnnotationMode.ENABLE&&(u=_util.AnnotationMode.ENABLE_FORMS)),void 0!==(null===(n=arguments[0])||void 0===n?void 0:n.includeAnnotationStorage)&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),!0===arguments[0].includeAnnotationStorage&&u===_util.AnnotationMode.ENABLE&&(u=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");var _=this._transport.getRenderingIntent(l,u);this.pendingCleanup=!1,A||(A=this._transport.getOptionalContentConfig());var w=this._intentStates.get(_.cacheKey);w||(w=Object.create(null),this._intentStates.set(_.cacheKey,w)),w.streamReaderCancelTimeout&&(clearTimeout(w.streamReaderCancelTimeout),w.streamReaderCancelTimeout=null);var k=g||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),S=!!(_.renderingIntent&_util.RenderingIntentFlag.PRINT);w.displayReadyCapability||(w.displayReadyCapability=(0,_util.createPromiseCapability)(),w.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(_));var E=function(e){w.renderTasks.delete(B),(o.cleanupAfterRender||S)&&(o.pendingCleanup=!0),o._tryCleanup(),e?(B.capability.reject(e),o._abortOperatorList({intentState:w,reason:e instanceof Error?e:new Error(e)})):B.capability.resolve(),o._stats&&(o._stats.timeEnd("Rendering"),o._stats.timeEnd("Overall"))},B=new InternalRenderTask({callback:E,params:{canvasContext:i,viewport:a,transform:f,imageLayer:h,background:b},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:C,operatorList:w.operatorList,pageIndex:this._pageIndex,canvasFactory:k,useRequestAnimationFrame:!S,pdfBug:this._pdfBug});((r=w).renderTasks||(r.renderTasks=new Set)).add(B);var O=B.task;return Promise.all([w.displayReadyCapability.promise,A]).then((function(e){var t=_slicedToArray(e,2),n=t[0],r=t[1];o.pendingCleanup?E():(o._stats&&o._stats.time("Rendering"),B.initializeGraphics({transparency:n,optionalContentConfig:r}),B.operatorListChanged())})).catch(E),O}},{key:"getOperatorList",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.intent,n=void 0===t?"display":t,r=e.annotationMode,o=void 0===r?_util.AnnotationMode.ENABLE:r;function i(){c.operatorList.lastChunk&&(c.opListReadCapability.resolve(c.operatorList),c.renderTasks.delete(a))}var a,s,l=this._transport.getRenderingIntent(n,o,!0),c=this._intentStates.get(l.cacheKey);return c||(c=Object.create(null),this._intentStates.set(l.cacheKey,c)),c.opListReadCapability||((a=Object.create(null)).operatorListChanged=i,c.opListReadCapability=(0,_util.createPromiseCapability)(),((s=c).renderTasks||(s.renderTasks=new Set)).add(a),c.operatorList={fnArray:[],argsArray:[],lastChunk:!1},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(l)),c.opListReadCapability.promise}},{key:"streamTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.normalizeWhitespace,n=void 0!==t&&t,r=e.disableCombineTextItems,o=void 0!==r&&r,i=e.includeMarkedContent,a=void 0!==i&&i,s=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,normalizeWhitespace:!0===n,combineTextItems:!0!==o,includeMarkedContent:!0===a},{highWaterMark:s,size:function(e){return e.items.length}})}},{key:"getTextContent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then((function(e){return _xfa_text.XfaText.textContent(e)}));var t=this.streamTextContent(e);return new Promise((function(e,n){var r=t.getReader(),o={items:[],styles:Object.create(null)};!function t(){r.read().then((function(n){var r,i=n.value;n.done?e(o):(Object.assign(o.styles,i.styles),(r=o.items).push.apply(r,_toConsumableArray(i.items)),t())}),n)}()}))}},{key:"getStructTree",value:function(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}},{key:"_destroy",value:function(){this.destroyed=!0;var e,t=[],n=_createForOfIteratorHelper(this._intentStates.values());try{for(n.s();!(e=n.n()).done;){var r=e.value;if(this._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),!r.opListReadCapability){var o,i=_createForOfIteratorHelper(r.renderTasks);try{for(i.s();!(o=i.n()).done;){var a=o.value;t.push(a.completed),a.cancel()}}catch(e){i.e(e)}finally{i.f()}}}}catch(e){n.e(e)}finally{n.f()}return this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(t)}},{key:"cleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.pendingCleanup=!0,this._tryCleanup(e)}},{key:"_tryCleanup",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.pendingCleanup)return!1;var t,n=_createForOfIteratorHelper(this._intentStates.values());try{for(n.s();!(t=n.n()).done;){var r=t.value,o=r.renderTasks,i=r.operatorList;if(o.size>0||!i.lastChunk)return!1}}catch(e){n.e(e)}finally{n.f()}return this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,e&&this._stats&&(this._stats=new _display_utils.StatTimer),this.pendingCleanup=!1,!0}},{key:"_startRenderPage",value:function(e,t){var n=this._intentStates.get(t);n&&(this._stats&&this._stats.timeEnd("Page Request"),n.displayReadyCapability&&n.displayReadyCapability.resolve(e))}},{key:"_renderPageChunk",value:function(e,t){for(var n=0,r=e.length;n<r;n++)t.operatorList.fnArray.push(e.fnArray[n]),t.operatorList.argsArray.push(e.argsArray[n]);t.operatorList.lastChunk=e.lastChunk;var o,i=_createForOfIteratorHelper(t.renderTasks);try{for(i.s();!(o=i.n()).done;)o.value.operatorListChanged()}catch(e){i.e(e)}finally{i.f()}e.lastChunk&&this._tryCleanup()}},{key:"_pumpOperatorList",value:function(e){var t=this,n=e.renderingIntent,r=e.cacheKey,o=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:n,cacheKey:r,annotationStorage:n&_util.RenderingIntentFlag.ANNOTATIONS_STORAGE?this._transport.annotationStorage.serializable:null}).getReader(),i=this._intentStates.get(r);i.streamReader=o,function e(){o.read().then((function(n){var r=n.value;n.done?i.streamReader=null:t._transport.destroyed||(t._renderPageChunk(r,i),e())}),(function(e){if(i.streamReader=null,!t._transport.destroyed){if(i.operatorList){i.operatorList.lastChunk=!0;var n,r=_createForOfIteratorHelper(i.renderTasks);try{for(r.s();!(n=r.n()).done;)n.value.operatorListChanged()}catch(e){r.e(e)}finally{r.f()}t._tryCleanup()}if(i.displayReadyCapability)i.displayReadyCapability.reject(e);else{if(!i.opListReadCapability)throw e;i.opListReadCapability.reject(e)}}}))}()}},{key:"_abortOperatorList",value:function(e){var t=this,n=e.intentState,r=e.reason,o=e.force,i=void 0!==o&&o;if(n.streamReader){if(!i){if(n.renderTasks.size>0)return;if(r instanceof _display_utils.RenderingCancelledException)return void(n.streamReaderCancelTimeout=setTimeout((function(){t._abortOperatorList({intentState:n,reason:r,force:!0}),n.streamReaderCancelTimeout=null}),RENDERING_CANCELLED_TIMEOUT))}if(n.streamReader.cancel(new _util.AbortException(r.message)).catch((function(){})),n.streamReader=null,!this._transport.destroyed){var a,s=_createForOfIteratorHelper(this._intentStates);try{for(s.s();!(a=s.n()).done;){var l=_slicedToArray(a.value,2),c=l[0];if(l[1]===n){this._intentStates.delete(c);break}}}catch(e){s.e(e)}finally{s.f()}this.cleanup()}}}},{key:"stats",get:function(){return this._stats}}]),e}();exports.PDFPageProxy=PDFPageProxy;var LoopbackPort=function(){function e(){_classCallCheck(this,e),this._listeners=[],this._deferred=Promise.resolve()}return _createClass(e,[{key:"postMessage",value:function(e,t){var n=this,r={data:function(e){if(globalThis.structuredClone)return globalThis.structuredClone(e,t);var n=new WeakMap;return function e(r){if("function"==typeof r||"symbol"===_typeof(r)||r instanceof URL)throw new Error("LoopbackPort.postMessage - cannot clone: ".concat(null==r?void 0:r.toString()));if("object"!==_typeof(r)||null===r)return r;if(n.has(r))return n.get(r);var o,i;if((o=r.buffer)&&(0,_util.isArrayBuffer)(o))return i=null!=t&&t.includes(o)?new r.constructor(o,r.byteOffset,r.byteLength):new r.constructor(r),n.set(r,i),i;if(r instanceof Map){i=new Map,n.set(r,i);var a,s=_createForOfIteratorHelper(r);try{for(s.s();!(a=s.n()).done;){var l=_slicedToArray(a.value,2),c=l[0],u=l[1];i.set(c,e(u))}}catch(e){s.e(e)}finally{s.f()}return i}if(r instanceof Set){i=new Set,n.set(r,i);var d,f=_createForOfIteratorHelper(r);try{for(f.s();!(d=f.n()).done;){var p=d.value;i.add(e(p))}}catch(e){f.e(e)}finally{f.f()}return i}for(var h in i=Array.isArray(r)?[]:Object.create(null),n.set(r,i),r){for(var m,g=void 0,v=r;!(g=Object.getOwnPropertyDescriptor(v,h));)v=Object.getPrototypeOf(v);void 0!==g.value&&("function"!=typeof g.value||null!==(m=r.hasOwnProperty)&&void 0!==m&&m.call(r,h))&&(i[h]=e(g.value))}return i}(e)}(e)};this._deferred.then((function(){var e,t=_createForOfIteratorHelper(n._listeners);try{for(t.s();!(e=t.n()).done;)e.value.call(n,r)}catch(e){t.e(e)}finally{t.f()}}))}},{key:"addEventListener",value:function(e,t){this._listeners.push(t)}},{key:"removeEventListener",value:function(e,t){var n=this._listeners.indexOf(t);this._listeners.splice(n,1)}},{key:"terminate",value:function(){this._listeners.length=0}}]),e}();exports.LoopbackPort=LoopbackPort;var PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};if(_is_node.isNodeJS)PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if("object"===("undefined"==typeof document?"undefined":_typeof(document))){var _document,_document$currentScri,pdfjsFilePath=null===(_document=document)||void 0===_document||null===(_document$currentScri=_document.currentScript)||void 0===_document$currentScri?void 0:_document$currentScri.src;pdfjsFilePath&&(PDFWorkerUtil.fallbackWorkerSrc=pdfjsFilePath.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.createCDNWrapper=function(e){var t='importScripts("'.concat(e,'");');return URL.createObjectURL(new Blob([t]))};var PDFWorker=function(){function PDFWorker(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.name,n=void 0===t?null:t,r=e.port,o=void 0===r?null:r,i=e.verbosity,a=void 0===i?(0,_util.getVerbosityLevel)():i;if(_classCallCheck(this,PDFWorker),o&&PDFWorker._workerPorts.has(o))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=n,this.destroyed=!1,this.verbosity=a,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,o)return PDFWorker._workerPorts.set(o,this),void this._initializeFromPort(o);this._initialize()}return _createClass(PDFWorker,[{key:"promise",get:function(){return this._readyCapability.promise}},{key:"port",get:function(){return this._port}},{key:"messageHandler",get:function(){return this._messageHandler}},{key:"_initializeFromPort",value:function(e){this._port=e,this._messageHandler=new _message_handler.MessageHandler("main","worker",e),this._messageHandler.on("ready",(function(){})),this._readyCapability.resolve()}},{key:"_initialize",value:function(){var e=this;if("undefined"!=typeof Worker&&!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){var t=PDFWorker.workerSrc;try{(0,_util.isSameOrigin)(window.location.href,t)||(t=PDFWorkerUtil.createCDNWrapper(new URL(t,window.location).href));var n=new Worker(t),r=new _message_handler.MessageHandler("main","worker",n),o=function(){n.removeEventListener("error",i),r.destroy(),n.terminate(),e.destroyed?e._readyCapability.reject(new Error("Worker was destroyed")):e._setupFakeWorker()},i=function(){e._webWorker||o()};n.addEventListener("error",i),r.on("test",(function(t){n.removeEventListener("error",i),e.destroyed?o():t?(e._messageHandler=r,e._port=n,e._webWorker=n,e._readyCapability.resolve(),r.send("configure",{verbosity:e.verbosity})):(e._setupFakeWorker(),r.destroy(),n.terminate())})),r.on("ready",(function(t){if(n.removeEventListener("error",i),e.destroyed)o();else try{a()}catch(t){e._setupFakeWorker()}}));var a=function(){var e=new Uint8Array([255]);try{r.send("test",e,[e.buffer])}catch(t){(0,_util.warn)("Cannot use postMessage transfers."),e[0]=0,r.send("test",e)}};return void a()}catch(e){(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}},{key:"_setupFakeWorker",value:function(){var e=this;PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then((function(t){if(e.destroyed)e._readyCapability.reject(new Error("Worker was destroyed"));else{var n=new LoopbackPort;e._port=n;var r="fake".concat(PDFWorkerUtil.fakeWorkerId++),o=new _message_handler.MessageHandler(r+"_worker",r,n);t.setup(o,n);var i=new _message_handler.MessageHandler(r,r+"_worker",n);e._messageHandler=i,e._readyCapability.resolve(),i.send("configure",{verbosity:e.verbosity})}})).catch((function(t){e._readyCapability.reject(new Error('Setting up fake worker failed: "'.concat(t.message,'".')))}))}},{key:"destroy",value:function(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),PDFWorker._workerPorts.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}}],[{key:"_workerPorts",get:function(){return(0,_util.shadow)(this,"_workerPorts",new WeakMap)}},{key:"fromPort",value:function(e){if(null==e||!e.port)throw new Error("PDFWorker.fromPort - invalid method signature.");return this._workerPorts.has(e.port)?this._workerPorts.get(e.port):new PDFWorker(e)}},{key:"workerSrc",get:function(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(null!==PDFWorkerUtil.fallbackWorkerSrc)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}},{key:"_mainThreadWorkerMessageHandler",get:function(){try{var e;return(null===(e=globalThis.pdfjsWorker)||void 0===e?void 0:e.WorkerMessageHandler)||null}catch(e){return null}}},{key:"_setupFakeWorkerGlobal",get:function get(){var _this11=this,loader=function(){var _ref15=_asyncToGenerator(_regenerator.default.mark((function _callee4(){var mainWorkerMessageHandler,worker;return _regenerator.default.wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:if(mainWorkerMessageHandler=_this11._mainThreadWorkerMessageHandler,!mainWorkerMessageHandler){_context4.next=3;break}return _context4.abrupt("return",mainWorkerMessageHandler);case 3:if(!_is_node.isNodeJS){_context4.next=6;break}return worker=eval("require")(_this11.workerSrc),_context4.abrupt("return",worker.WorkerMessageHandler);case 6:return _context4.next=8,(0,_display_utils.loadScript)(_this11.workerSrc);case 8:return _context4.abrupt("return",window.pdfjsWorker.WorkerMessageHandler);case 9:case"end":return _context4.stop()}}),_callee4)})));return function(){return _ref15.apply(this,arguments)}}();return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}]),PDFWorker}();exports.PDFWorker=PDFWorker,PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};var _docStats=new WeakMap,_pageCache=new WeakMap,_pagePromises=new WeakMap,_metadataPromise=new WeakMap,WorkerTransport=function(){function e(t,n,r,o){_classCallCheck(this,e),_classPrivateFieldInitSpec(this,_docStats,{writable:!0,value:null}),_classPrivateFieldInitSpec(this,_pageCache,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_pagePromises,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_metadataPromise,{writable:!0,value:null}),this.messageHandler=t,this.loadingTask=n,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:n.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:o.ownerDocument,styleElement:o.styleElement}),this._params=o,o.useWorkerFetch||(this.CMapReaderFactory=new o.CMapReaderFactory({baseUrl:o.cMapUrl,isCompressed:o.cMapPacked}),this.StandardFontDataFactory=new o.StandardFontDataFactory({baseUrl:o.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=r,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}var t;return _createClass(e,[{key:"annotationStorage",get:function(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}},{key:"stats",get:function(){return _classPrivateFieldGet(this,_docStats)}},{key:"getRenderingIntent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_util.AnnotationMode.ENABLE,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=_util.RenderingIntentFlag.DISPLAY,o="";switch(e){case"any":r=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":r=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)("getRenderingIntent - invalid intent: ".concat(e))}switch(t){case _util.AnnotationMode.DISABLE:r+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:r+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:r+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,o=this.annotationStorage.lastModified;break;default:(0,_util.warn)("getRenderingIntent - invalid annotationMode: ".concat(t))}return n&&(r+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:r,cacheKey:"".concat(r,"_").concat(o)}}},{key:"destroy",value:function(){var e=this;if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));var t,n=[],r=_createForOfIteratorHelper(_classPrivateFieldGet(this,_pageCache).values());try{for(r.s();!(t=r.n()).done;){var o=t.value;n.push(o._destroy())}}catch(e){r.e(e)}finally{r.f()}_classPrivateFieldGet(this,_pageCache).clear(),_classPrivateFieldGet(this,_pagePromises).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();var i=this.messageHandler.sendWithPromise("Terminate",null);return n.push(i),Promise.all(n).then((function(){e.commonObjs.clear(),e.fontLoader.clear(),_classPrivateFieldSet(e,_metadataPromise,null),e._getFieldObjectsPromise=null,e._hasJSActionsPromise=null,e._networkStream&&e._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),e.messageHandler&&(e.messageHandler.destroy(),e.messageHandler=null),e.destroyCapability.resolve()}),this.destroyCapability.reject),this.destroyCapability.promise}},{key:"setupMessageHandler",value:function(){var e=this,t=this.messageHandler,n=this.loadingTask;t.on("GetReader",(function(t,n){(0,_util.assert)(e._networkStream,"GetReader - no `IPDFStream` instance available."),e._fullReader=e._networkStream.getFullReader(),e._fullReader.onProgress=function(t){e._lastProgress={loaded:t.loaded,total:t.total}},n.onPull=function(){e._fullReader.read().then((function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){n.error(e)}))},n.onCancel=function(t){e._fullReader.cancel(t),n.ready.catch((function(t){if(!e.destroyed)throw t}))}})),t.on("ReaderHeadersReady",(function(t){var r=(0,_util.createPromiseCapability)(),o=e._fullReader;return o.headersReady.then((function(){var t;o.isStreamingSupported&&o.isRangeSupported||(e._lastProgress&&(null===(t=n.onProgress)||void 0===t||t.call(n,e._lastProgress)),o.onProgress=function(e){var t;null===(t=n.onProgress)||void 0===t||t.call(n,{loaded:e.loaded,total:e.total})});r.resolve({isStreamingSupported:o.isStreamingSupported,isRangeSupported:o.isRangeSupported,contentLength:o.contentLength})}),r.reject),r.promise})),t.on("GetRangeReader",(function(t,n){(0,_util.assert)(e._networkStream,"GetRangeReader - no `IPDFStream` instance available.");var r=e._networkStream.getRangeReader(t.begin,t.end);r?(n.onPull=function(){r.read().then((function(e){var t=e.value;e.done?n.close():((0,_util.assert)((0,_util.isArrayBuffer)(t),"GetRangeReader - expected an ArrayBuffer."),n.enqueue(new Uint8Array(t),1,[t]))})).catch((function(e){n.error(e)}))},n.onCancel=function(t){r.cancel(t),n.ready.catch((function(t){if(!e.destroyed)throw t}))}):n.close()})),t.on("GetDoc",(function(t){var r=t.pdfInfo;e._numPages=r.numPages,e._htmlForXfa=r.htmlForXfa,delete r.htmlForXfa,n._capability.resolve(new PDFDocumentProxy(r,e))})),t.on("DocException",(function(e){var t;switch(e.name){case"PasswordException":t=new _util.PasswordException(e.message,e.code);break;case"InvalidPDFException":t=new _util.InvalidPDFException(e.message);break;case"MissingPDFException":t=new _util.MissingPDFException(e.message);break;case"UnexpectedResponseException":t=new _util.UnexpectedResponseException(e.message,e.status);break;case"UnknownErrorException":t=new _util.UnknownErrorException(e.message,e.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}n._capability.reject(t)})),t.on("PasswordRequest",(function(t){if(e._passwordCapability=(0,_util.createPromiseCapability)(),n.onPassword)try{n.onPassword((function(t){e._passwordCapability.resolve({password:t})}),t.code)}catch(t){e._passwordCapability.reject(t)}else e._passwordCapability.reject(new _util.PasswordException(t.message,t.code));return e._passwordCapability.promise})),t.on("DataLoaded",(function(t){var r;null===(r=n.onProgress)||void 0===r||r.call(n,{loaded:t.length,total:t.length}),e.downloadInfoCapability.resolve(t)})),t.on("StartRenderPage",(function(t){e.destroyed||_classPrivateFieldGet(e,_pageCache).get(t.pageIndex)._startRenderPage(t.transparency,t.cacheKey)})),t.on("commonobj",(function(n){var r,o=_slicedToArray(n,3),i=o[0],a=o[1],s=o[2];if(!e.destroyed&&!e.commonObjs.has(i))switch(a){case"Font":var l=e._params;if("error"in s){var c=s.error;(0,_util.warn)("Error during font loading: ".concat(c)),e.commonObjs.resolve(i,c);break}var u=null;l.pdfBug&&null!==(r=globalThis.FontInspector)&&void 0!==r&&r.enabled&&(u={registerFont:function(e,t){globalThis.FontInspector.fontAdded(e,t)}});var d=new _font_loader.FontFaceObject(s,{isEvalSupported:l.isEvalSupported,disableFontFace:l.disableFontFace,ignoreErrors:l.ignoreErrors,onUnsupportedFeature:e._onUnsupportedFeature.bind(e),fontRegistry:u});e.fontLoader.bind(d).catch((function(e){return t.sendWithPromise("FontFallback",{id:i})})).finally((function(){!l.fontExtraProperties&&d.data&&(d.data=null),e.commonObjs.resolve(i,d)}));break;case"FontPath":case"Image":e.commonObjs.resolve(i,s);break;default:throw new Error("Got unknown common object type ".concat(a))}})),t.on("obj",(function(t){var n,r=_slicedToArray(t,4),o=r[0],i=r[1],a=r[2],s=r[3];if(!e.destroyed){var l=_classPrivateFieldGet(e,_pageCache).get(i);if(!l.objs.has(o))switch(a){case"Image":l.objs.resolve(o,s),(null==s||null===(n=s.data)||void 0===n?void 0:n.length)>8e6&&(l.cleanupAfterRender=!0);break;case"Pattern":l.objs.resolve(o,s);break;default:throw new Error("Got unknown object type ".concat(a))}}})),t.on("DocProgress",(function(t){var r;e.destroyed||null===(r=n.onProgress)||void 0===r||r.call(n,{loaded:t.loaded,total:t.total})})),t.on("DocStats",(function(t){e.destroyed||_classPrivateFieldSet(e,_docStats,Object.freeze({streamTypes:Object.freeze(t.streamTypes),fontTypes:Object.freeze(t.fontTypes)}))})),t.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),t.on("FetchBuiltInCMap",(function(t){return e.destroyed?Promise.reject(new Error("Worker was destroyed.")):e.CMapReaderFactory?e.CMapReaderFactory.fetch(t):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))})),t.on("FetchStandardFontData",(function(t){return e.destroyed?Promise.reject(new Error("Worker was destroyed.")):e.StandardFontDataFactory?e.StandardFontDataFactory.fetch(t):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter."))}))}},{key:"_onUnsupportedFeature",value:function(e){var t,n,r=e.featureId;this.destroyed||null===(t=(n=this.loadingTask).onUnsupportedFeature)||void 0===t||t.call(n,r)}},{key:"getData",value:function(){return this.messageHandler.sendWithPromise("GetData",null)}},{key:"getPage",value:function(e){var t=this;if(!Number.isInteger(e)||e<=0||e>this._numPages)return Promise.reject(new Error("Invalid page request"));var n=e-1,r=_classPrivateFieldGet(this,_pagePromises).get(n);if(r)return r;var o=this.messageHandler.sendWithPromise("GetPage",{pageIndex:n}).then((function(e){if(t.destroyed)throw new Error("Transport destroyed");var r=new PDFPageProxy(n,e,t,t._params.ownerDocument,t._params.pdfBug);return _classPrivateFieldGet(t,_pageCache).set(n,r),r}));return _classPrivateFieldGet(this,_pagePromises).set(n,o),o}},{key:"getPageIndex",value:function(e){return this.messageHandler.sendWithPromise("GetPageIndex",{ref:e})}},{key:"getAnnotations",value:function(e,t){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:e,intent:t})}},{key:"saveDocument",value:function(){var e,t,n=this;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:null!==(e=null===(t=this._fullReader)||void 0===t?void 0:t.filename)&&void 0!==e?e:null}).finally((function(){n.annotationStorage.resetModified()}))}},{key:"getFieldObjects",value:function(){return this._getFieldObjectsPromise||(this._getFieldObjectsPromise=this.messageHandler.sendWithPromise("GetFieldObjects",null))}},{key:"hasJSActions",value:function(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}},{key:"getCalculationOrderIds",value:function(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}},{key:"getDestinations",value:function(){return this.messageHandler.sendWithPromise("GetDestinations",null)}},{key:"getDestination",value:function(e){return"string"!=typeof e?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:e})}},{key:"getPageLabels",value:function(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}},{key:"getPageLayout",value:function(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}},{key:"getPageMode",value:function(){return this.messageHandler.sendWithPromise("GetPageMode",null)}},{key:"getViewerPreferences",value:function(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}},{key:"getOpenAction",value:function(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}},{key:"getAttachments",value:function(){return this.messageHandler.sendWithPromise("GetAttachments",null)}},{key:"getJavaScript",value:function(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}},{key:"getDocJSActions",value:function(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}},{key:"getPageJSActions",value:function(e){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:e})}},{key:"getStructTree",value:function(e){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:e})}},{key:"getOutline",value:function(){return this.messageHandler.sendWithPromise("GetOutline",null)}},{key:"getOptionalContentConfig",value:function(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then((function(e){return new _optional_content_config.OptionalContentConfig(e)}))}},{key:"getPermissions",value:function(){return this.messageHandler.sendWithPromise("GetPermissions",null)}},{key:"getMetadata",value:function(){var e=this;return _classPrivateFieldGet(this,_metadataPromise)||_classPrivateFieldSet(this,_metadataPromise,this.messageHandler.sendWithPromise("GetMetadata",null).then((function(t){var n,r,o,i;return{info:t[0],metadata:t[1]?new _metadata.Metadata(t[1]):null,contentDispositionFilename:null!==(n=null===(r=e._fullReader)||void 0===r?void 0:r.filename)&&void 0!==n?n:null,contentLength:null!==(o=null===(i=e._fullReader)||void 0===i?void 0:i.contentLength)&&void 0!==o?o:null}})))}},{key:"getMarkInfo",value:function(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}},{key:"startCleanup",value:(t=_asyncToGenerator(_regenerator.default.mark((function e(){var t,n,r,o,i=arguments;return _regenerator.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i.length>0&&void 0!==i[0]&&i[0],e.next=3,this.messageHandler.sendWithPromise("Cleanup",null);case 3:if(!this.destroyed){e.next=5;break}return e.abrupt("return");case 5:n=_createForOfIteratorHelper(_classPrivateFieldGet(this,_pageCache).values()),e.prev=6,n.s();case 8:if((r=n.n()).done){e.next=15;break}if((o=r.value).cleanup()){e.next=13;break}throw new Error("startCleanup: Page ".concat(o.pageNumber," is currently rendering."));case 13:e.next=8;break;case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(6),n.e(e.t0);case 20:return e.prev=20,n.f(),e.finish(20);case 23:this.commonObjs.clear(),t||this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null;case 28:case"end":return e.stop()}}),e,this,[[6,17,20,23]])}))),function(){return t.apply(this,arguments)})},{key:"loadingParams",get:function(){var e=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:e.disableAutoFetch,enableXfa:e.enableXfa})}}]),e}(),PDFObjects=function(){function e(){_classCallCheck(this,e),this._objs=Object.create(null)}return _createClass(e,[{key:"_ensureObj",value:function(e){return this._objs[e]?this._objs[e]:this._objs[e]={capability:(0,_util.createPromiseCapability)(),data:null,resolved:!1}}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t)return this._ensureObj(e).capability.promise.then(t),null;var n=this._objs[e];if(!n||!n.resolved)throw new Error("Requesting object that isn't resolved yet ".concat(e,"."));return n.data}},{key:"has",value:function(e){var t=this._objs[e];return(null==t?void 0:t.resolved)||!1}},{key:"resolve",value:function(e,t){var n=this._ensureObj(e);n.resolved=!0,n.data=t,n.capability.resolve(t)}},{key:"clear",value:function(){this._objs=Object.create(null)}}]),e}(),RenderTask=function(){function e(t){_classCallCheck(this,e),this._internalRenderTask=t,this.onContinue=null}return _createClass(e,[{key:"promise",get:function(){return this._internalRenderTask.capability.promise}},{key:"cancel",value:function(){this._internalRenderTask.cancel()}}]),e}();exports.RenderTask=RenderTask;var InternalRenderTask=function(){function e(t){var n=t.callback,r=t.params,o=t.objs,i=t.commonObjs,a=t.annotationCanvasMap,s=t.operatorList,l=t.pageIndex,c=t.canvasFactory,u=t.useRequestAnimationFrame,d=void 0!==u&&u,f=t.pdfBug,p=void 0!==f&&f;_classCallCheck(this,e),this.callback=n,this.params=r,this.objs=o,this.commonObjs=i,this.annotationCanvasMap=a,this.operatorListIdx=null,this.operatorList=s,this._pageIndex=l,this.canvasFactory=c,this._pdfBug=p,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=!0===d&&"undefined"!=typeof window,this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}var t;return _createClass(e,[{key:"completed",get:function(){return this.capability.promise.catch((function(){}))}},{key:"initializeGraphics",value:function(t){var n,r=t.transparency,o=void 0!==r&&r,i=t.optionalContentConfig;if(!this.cancelled){if(this._canvas){if(e.canvasInUse.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");e.canvasInUse.add(this._canvas)}this._pdfBug&&null!==(n=globalThis.StepperManager)&&void 0!==n&&n.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());var a=this.params,s=a.canvasContext,l=a.viewport,c=a.transform,u=a.imageLayer,d=a.background;this.gfx=new _canvas.CanvasGraphics(s,this.commonObjs,this.objs,this.canvasFactory,u,i,this.annotationCanvasMap),this.gfx.beginDrawing({transform:c,viewport:l,transparency:o,background:d}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}}},{key:"cancel",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&e.canvasInUse.delete(this._canvas),this.callback(t||new _display_utils.RenderingCancelledException("Rendering cancelled, page ".concat(this._pageIndex+1),"canvas"))}},{key:"operatorListChanged",value:function(){this.graphicsReady?(this.stepper&&this.stepper.updateOperatorList(this.operatorList),this.running||this._continue()):this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound)}},{key:"_continue",value:function(){this.running=!0,this.cancelled||(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}},{key:"_scheduleNext",value:function(){var e=this;this._useRequestAnimationFrame?window.requestAnimationFrame((function(){e._nextBound().catch(e._cancelBound)})):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}},{key:"_next",value:(t=_asyncToGenerator(_regenerator.default.mark((function t(){return _regenerator.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!this.cancelled){t.next=2;break}return t.abrupt("return");case 2:this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&e.canvasInUse.delete(this._canvas),this.callback()));case 4:case"end":return t.stop()}}),t,this)}))),function(){return t.apply(this,arguments)})}],[{key:"canvasInUse",get:function(){return(0,_util.shadow)(this,"canvasInUse",new WeakSet)}}]),e}(),version="2.12.313";exports.version=version;var build="a2ae56f39";exports.build=build},(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.FontLoader=t.FontFaceObject=void 0;var o,i=(o=n(2))&&o.__esModule?o:{default:o},a=n(4);function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(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=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function d(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function f(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function p(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 h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 g(e,t,n){return t&&m(e.prototype,t),n&&m(e,n),e}var v,b=function(){function e(t){var n=t.docId,r=t.onUnsupportedFeature,o=t.ownerDocument,i=void 0===o?globalThis.document:o;t.styleElement,h(this,e),this.constructor===e&&(0,a.unreachable)("Cannot initialize BaseFontLoader."),this.docId=n,this._onUnsupportedFeature=r,this._document=i,this.nativeFontFaces=[],this.styleElement=null}var t,n;return g(e,[{key:"addNativeFontFace",value:function(e){this.nativeFontFaces.push(e),this._document.fonts.add(e)}},{key:"insertRule",value:function(e){var t=this.styleElement;t||((t=this.styleElement=this._document.createElement("style")).id="PDFJS_FONT_STYLE_TAG_".concat(this.docId),this._document.documentElement.getElementsByTagName("head")[0].appendChild(t));var n=t.sheet;n.insertRule(e,n.cssRules.length)}},{key:"clear",value:function(){var e,t=f(this.nativeFontFaces);try{for(t.s();!(e=t.n()).done;){var n=e.value;this._document.fonts.delete(n)}}catch(e){t.e(e)}finally{t.f()}this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}},{key:"bind",value:(t=i.default.mark((function e(t){var n,r,o=this;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.attached&&!t.missingFile){e.next=2;break}return e.abrupt("return");case 2:if(t.attached=!0,!this.isFontLoadingAPISupported){e.next=19;break}if(!(n=t.createNativeFontFace())){e.next=18;break}return this.addNativeFontFace(n),e.prev=7,e.next=10,n.loaded;case 10:e.next=18;break;case 12:throw e.prev=12,e.t0=e.catch(7),this._onUnsupportedFeature({featureId:a.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,a.warn)("Failed to load font '".concat(n.family,"': '").concat(e.t0,"'.")),t.disableFontFace=!0,e.t0;case 18:return e.abrupt("return");case 19:if(!(r=t.createFontFaceRule())){e.next=26;break}if(this.insertRule(r),!this.isSyncFontLoadingSupported){e.next=24;break}return e.abrupt("return");case 24:return e.next=26,new Promise((function(e){var n=o._queueLoadingCallback(e);o._prepareFontLoadEvent([r],[t],n)}));case 26:case"end":return e.stop()}}),e,this,[[7,12]])})),n=function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(e){d(i,r,o,a,s,"next",e)}function s(e){d(i,r,o,a,s,"throw",e)}a(void 0)}))},function(e){return n.apply(this,arguments)})},{key:"_queueLoadingCallback",value:function(e){(0,a.unreachable)("Abstract method `_queueLoadingCallback`.")}},{key:"isFontLoadingAPISupported",get:function(){var e,t=!(null===(e=this._document)||void 0===e||!e.fonts);return(0,a.shadow)(this,"isFontLoadingAPISupported",t)}},{key:"isSyncFontLoadingSupported",get:function(){(0,a.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}},{key:"_loadTestFont",get:function(){(0,a.unreachable)("Abstract method `_loadTestFont`.")}},{key:"_prepareFontLoadEvent",value:function(e,t,n){(0,a.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}]),e}();t.FontLoader=v,t.FontLoader=v=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}}),t&&s(e,t)}(n,e);var t=l(n);function n(e){var r;return h(this,n),(r=t.call(this,e)).loadingContext={requests:[],nextRequestId:0},r.loadTestFontId=0,r}return g(n,[{key:"isSyncFontLoadingSupported",get:function(){var e=!1;if("undefined"==typeof navigator)e=!0;else{var t=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(null==t?void 0:t[1])>=14&&(e=!0)}return(0,a.shadow)(this,"isSyncFontLoadingSupported",e)}},{key:"_queueLoadingCallback",value:function(e){var t=this.loadingContext,n={id:"pdfjs-font-loading-".concat(t.nextRequestId++),done:!1,complete:function(){for((0,a.assert)(!n.done,"completeRequest() cannot be called twice."),n.done=!0;t.requests.length>0&&t.requests[0].done;){var e=t.requests.shift();setTimeout(e.callback,0)}},callback:e};return t.requests.push(n),n}},{key:"_loadTestFont",get:function(){return(0,a.shadow)(this,"_loadTestFont",atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA=="))}},{key:"_prepareFontLoadEvent",value:function(e,t,n){function r(e,t){return e.charCodeAt(t)<<24|e.charCodeAt(t+1)<<16|e.charCodeAt(t+2)<<8|255&e.charCodeAt(t+3)}function o(e,t,n,r){return e.substring(0,t)+r+e.substring(t+n)}var i,s,l=this._document.createElement("canvas");l.width=1,l.height=1;var c=l.getContext("2d"),u=0,d="lt".concat(Date.now()).concat(this.loadTestFontId++),p=this._loadTestFont,h=1482184792,m=r(p=o(p,976,d.length,d),16);for(i=0,s=d.length-3;i<s;i+=4)m=m-h+r(d,i)|0;i<d.length&&(m=m-h+r(d+"XXX",i)|0),p=o(p,16,4,(0,a.string32)(m));var g="url(data:font/opentype;base64,".concat(btoa(p),");"),v='@font-face {font-family:"'.concat(d,'";src:').concat(g,"}");this.insertRule(v);var b,y=[],A=f(t);try{for(A.s();!(b=A.n()).done;){var x=b.value;y.push(x.loadedName)}}catch(e){A.e(e)}finally{A.f()}y.push(d);var C=this._document.createElement("div");C.style.visibility="hidden",C.style.width=C.style.height="10px",C.style.position="absolute",C.style.top=C.style.left="0px";for(var _=0,w=y;_<w.length;_++){var k=w[_],S=this._document.createElement("span");S.textContent="Hi",S.style.fontFamily=k,C.appendChild(S)}this._document.body.appendChild(C),function e(t,n){if(++u>30)return(0,a.warn)("Load test font never loaded."),void n();c.font="30px "+t,c.fillText(".",0,20),c.getImageData(0,0,1,1).data[3]>0?n():setTimeout(e.bind(null,t,n))}(d,(function(){C.remove(),n.complete()}))}}]),n}(b);var y=function(){function e(t,n){var r=n.isEvalSupported,o=void 0===r||r,i=n.disableFontFace,a=void 0!==i&&i,s=n.ignoreErrors,l=void 0!==s&&s,c=n.onUnsupportedFeature,u=n.fontRegistry,d=void 0===u?null:u;for(var f in h(this,e),this.compiledGlyphs=Object.create(null),t)this[f]=t[f];this.isEvalSupported=!1!==o,this.disableFontFace=!0===a,this.ignoreErrors=!0===l,this._onUnsupportedFeature=c,this.fontRegistry=d}return g(e,[{key:"createNativeFontFace",value:function(){if(!this.data||this.disableFontFace)return null;var e;if(this.cssFontInfo){var t={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(t.style="oblique ".concat(this.cssFontInfo.italicAngle,"deg")),e=new FontFace(this.cssFontInfo.fontFamily,this.data,t)}else e=new FontFace(this.loadedName,this.data,{});return this.fontRegistry&&this.fontRegistry.registerFont(this),e}},{key:"createFontFaceRule",value:function(){if(!this.data||this.disableFontFace)return null;var e,t=(0,a.bytesToString)(this.data),n="url(data:".concat(this.mimetype,";base64,").concat(btoa(t),");");if(this.cssFontInfo){var r="font-weight: ".concat(this.cssFontInfo.fontWeight,";");this.cssFontInfo.italicAngle&&(r+="font-style: oblique ".concat(this.cssFontInfo.italicAngle,"deg;")),e='@font-face {font-family:"'.concat(this.cssFontInfo.fontFamily,'";').concat(r,"src:").concat(n,"}")}else e='@font-face {font-family:"'.concat(this.loadedName,'";src:').concat(n,"}");return this.fontRegistry&&this.fontRegistry.registerFont(this,n),e}},{key:"getPathGenerator",value:function(e,t){if(void 0!==this.compiledGlyphs[t])return this.compiledGlyphs[t];var n;try{n=e.get(this.loadedName+"_path_"+t)}catch(e){if(!this.ignoreErrors)throw e;return this._onUnsupportedFeature({featureId:a.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,a.warn)('getPathGenerator - ignoring character: "'.concat(e,'".')),this.compiledGlyphs[t]=function(e,t){}}if(this.isEvalSupported&&a.IsEvalSupportedCached.value){var r,o=[],i=f(n);try{for(i.s();!(r=i.n()).done;){var s=r.value,l=void 0!==s.args?s.args.join(","):"";o.push("c.",s.cmd,"(",l,");\n")}}catch(e){i.e(e)}finally{i.f()}return this.compiledGlyphs[t]=new Function("c","size",o.join(""))}return this.compiledGlyphs[t]=function(e,t){var r,o=f(n);try{for(o.s();!(r=o.n()).done;){var i=r.value;"scale"===i.cmd&&(i.args=[t,-t]),e[i.cmd].apply(e,i.args)}}catch(e){o.e(e)}finally{o.f()}}}}]),e}();t.FontFaceObject=y},(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.NodeStandardFontDataFactory=t.NodeCanvasFactory=t.NodeCMapReaderFactory=void 0;var o=n(135),i=n(6),a=n(4);function s(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 l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function c(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}}),t&&u(e,t)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(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=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var m=function e(){h(this,e),(0,a.unreachable)("Not implemented: NodeCanvasFactory")};t.NodeCanvasFactory=m;var g=function e(){h(this,e),(0,a.unreachable)("Not implemented: NodeCMapReaderFactory")};t.NodeCMapReaderFactory=g;var v=function e(){h(this,e),(0,a.unreachable)("Not implemented: NodeStandardFontDataFactory")};if(t.NodeStandardFontDataFactory=v,i.isNodeJS){var b=function(e){return new Promise((function(t,n){__webpack_require__(32767).readFile(e,(function(e,r){!e&&r?t(new Uint8Array(r)):n(new Error(e))}))}))};t.NodeCanvasFactory=m=function(e){c(n,e);var t=d(n);function n(){return h(this,n),t.apply(this,arguments)}return l(n,[{key:"_createCanvas",value:function(e,t){return __webpack_require__(14601).createCanvas(e,t)}}]),n}(o.BaseCanvasFactory),t.NodeCMapReaderFactory=g=function(e){c(n,e);var t=d(n);function n(){return h(this,n),t.apply(this,arguments)}return l(n,[{key:"_fetchData",value:function(e,t){return b(e).then((function(e){return{cMapData:e,compressionType:t}}))}}]),n}(o.BaseCMapReaderFactory),t.NodeStandardFontDataFactory=v=function(e){c(n,e);var t=d(n);function n(){return h(this,n),t.apply(this,arguments)}return l(n,[{key:"_fetchData",value:function(e){return b(e)}}]),n}(o.BaseStandardFontDataFactory)}},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnnotationStorage=void 0;var r=n(4);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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(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 i(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 a(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)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._storage=new Map,this._timeStamp=Date.now(),this._modified=!1,this.onSetModified=null,this.onResetModified=null}var t,n,i;return t=e,(n=[{key:"getValue",value:function(e,t){var n=this._storage.get(e);return void 0===n?t:Object.assign(t,n)}},{key:"setValue",value:function(e,t){var n=this._storage.get(e),r=!1;if(void 0!==n)for(var i=0,a=Object.entries(t);i<a.length;i++){var s=o(a[i],2),l=s[0],c=s[1];n[l]!==c&&(r=!0,n[l]=c)}else r=!0,this._storage.set(e,t);r&&(this._timeStamp=Date.now(),this._setModified())}},{key:"getAll",value:function(){return this._storage.size>0?(0,r.objectFromMap)(this._storage):null}},{key:"size",get:function(){return this._storage.size}},{key:"_setModified",value:function(){this._modified||(this._modified=!0,"function"==typeof this.onSetModified&&this.onSetModified())}},{key:"resetModified",value:function(){this._modified&&(this._modified=!1,"function"==typeof this.onResetModified&&this.onResetModified())}},{key:"serializable",get:function(){return this._storage.size>0?this._storage:null}},{key:"lastModified",get:function(){return this._timeStamp.toString()}}])&&a(t.prototype,n),i&&a(t,i),e}();t.AnnotationStorage=s},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CanvasGraphics=void 0;var r=n(4),o=n(141),i=n(1);function a(e){return a="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},a(e)}function s(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=f(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function d(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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||f(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 f(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}function p(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 h=4096,m=16;function g(e){if(!e.mozCurrentTransform){e._originalSave=e.save,e._originalRestore=e.restore,e._originalRotate=e.rotate,e._originalScale=e.scale,e._originalTranslate=e.translate,e._originalTransform=e.transform,e._originalSetTransform=e.setTransform,e._originalResetTransform=e.resetTransform,e._transformMatrix=e._transformMatrix||[1,0,0,1,0,0],e._transformStack=[];try{var t=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),"lineWidth");e._setLineWidth=t.set,e._getLineWidth=t.get,Object.defineProperty(e,"lineWidth",{set:function(e){this._setLineWidth(1.000001*e)},get:function(){return this._getLineWidth()}})}catch(e){}Object.defineProperty(e,"mozCurrentTransform",{get:function(){return this._transformMatrix}}),Object.defineProperty(e,"mozCurrentTransformInverse",{get:function(){var e=d(this._transformMatrix,6),t=e[0],n=e[1],r=e[2],o=e[3],i=e[4],a=e[5],s=t*o-n*r,l=n*r-t*o;return[o/s,n/l,r/l,t/s,(o*i-r*a)/l,(n*i-t*a)/s]}}),e.save=function(){var e=this._transformMatrix;this._transformStack.push(e),this._transformMatrix=e.slice(0,6),this._originalSave()},e.restore=function(){var e=this._transformStack.pop();e&&(this._transformMatrix=e,this._originalRestore())},e.translate=function(e,t){var n=this._transformMatrix;n[4]=n[0]*e+n[2]*t+n[4],n[5]=n[1]*e+n[3]*t+n[5],this._originalTranslate(e,t)},e.scale=function(e,t){var n=this._transformMatrix;n[0]*=e,n[1]*=e,n[2]*=t,n[3]*=t,this._originalScale(e,t)},e.transform=function(t,n,r,o,i,a){var s=this._transformMatrix;this._transformMatrix=[s[0]*t+s[2]*n,s[1]*t+s[3]*n,s[0]*r+s[2]*o,s[1]*r+s[3]*o,s[0]*i+s[2]*a+s[4],s[1]*i+s[3]*a+s[5]],e._originalTransform(t,n,r,o,i,a)},e.setTransform=function(t,n,r,o,i,a){this._transformMatrix=[t,n,r,o,i,a],e._originalSetTransform(t,n,r,o,i,a)},e.resetTransform=function(){this._transformMatrix=[1,0,0,1,0,0],e._originalResetTransform()},e.rotate=function(e){var t=Math.cos(e),n=Math.sin(e),r=this._transformMatrix;this._transformMatrix=[r[0]*t+r[2]*n,r[1]*t+r[3]*n,r[0]*-n+r[2]*t,r[1]*-n+r[3]*t,r[4],r[5]],this._originalRotate(e)}}}var v=function(){function e(t){l(this,e),this.canvasFactory=t,this.cache=Object.create(null)}return u(e,[{key:"getCanvas",value:function(e,t,n,r){var o;return void 0!==this.cache[e]?(o=this.cache[e],this.canvasFactory.reset(o,t,n),o.context.setTransform(1,0,0,1,0,0)):(o=this.canvasFactory.create(t,n),this.cache[e]=o),r&&g(o.context),o}},{key:"clear",value:function(){for(var e in this.cache){var t=this.cache[e];this.canvasFactory.destroy(t),delete this.cache[e]}}}]),e}(),b=function(){function e(t,n){l(this,e),this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=r.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=r.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,t,n])}return u(e,[{key:"clone",value:function(){var e=Object.create(this);return e.clipBox=this.clipBox.slice(),e}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}},{key:"updatePathMinMax",value:function(e,t,n){var o=d(r.Util.applyTransform([t,n],e),2);t=o[0],n=o[1],this.minX=Math.min(this.minX,t),this.minY=Math.min(this.minY,n),this.maxX=Math.max(this.maxX,t),this.maxY=Math.max(this.maxY,n)}},{key:"updateCurvePathMinMax",value:function(e,t,n,o,i,a,s,l,c){var u=r.Util.bezierBoundingBox(t,n,o,i,a,s,l,c);this.updatePathMinMax(e,u[0],u[1]),this.updatePathMinMax(e,u[2],u[3])}},{key:"getPathBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.PathType.FILL,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[this.minX,this.minY,this.maxX,this.maxY];if(e===o.PathType.STROKE){t||(0,r.unreachable)("Stroke bounding box must include transform.");var i=r.Util.singularValueDecompose2dScale(t),a=i[0]*this.lineWidth/2,s=i[1]*this.lineWidth/2;n[0]-=a,n[1]-=s,n[2]+=a,n[3]+=s}return n}},{key:"updateClipFromPath",value:function(){var e=r.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(e||[0,0,0,0])}},{key:"startNewPathAndClipBox",value:function(e){this.clipBox=e,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}},{key:"getClippedPathBoundingBox",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o.PathType.FILL,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return r.Util.intersect(this.clipBox,this.getPathBoundingBox(e,t))}}]),e}();function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if("undefined"!=typeof ImageData&&t instanceof ImageData)e.putImageData(t,0,0);else{var o,i,a,s,l,c,u,d,f,p=t.height,h=t.width,g=p%m,v=(p-g)/m,b=0===g?v:v+1,y=e.createImageData(h,m),A=0,x=t.data,C=y.data;if(n)switch(n.length){case 1:c=n[0],u=n[0],d=n[0],f=n[0];break;case 4:c=n[0],u=n[1],d=n[2],f=n[3]}if(t.kind===r.ImageKind.GRAYSCALE_1BPP){var _=x.byteLength,w=new Uint32Array(C.buffer,0,C.byteLength>>2),k=w.length,S=h+7>>3,E=4294967295,B=r.IsLittleEndianCached.value?4278190080:255;if(f&&255===f[0]&&0===f[255]){var O=[B,E];E=O[0],B=O[1]}for(i=0;i<b;i++){for(s=i<v?m:g,o=0,a=0;a<s;a++){for(var j=_-A,T=0,P=j>S?h:8*j-7,M=-8&P,D=0,R=0;T<M;T+=8)R=x[A++],w[o++]=128&R?E:B,w[o++]=64&R?E:B,w[o++]=32&R?E:B,w[o++]=16&R?E:B,w[o++]=8&R?E:B,w[o++]=4&R?E:B,w[o++]=2&R?E:B,w[o++]=1&R?E:B;for(;T<P;T++)0===D&&(R=x[A++],D=128),w[o++]=R&D?E:B,D>>=1}for(;o<k;)w[o++]=0;e.putImageData(y,0,i*m)}}else if(t.kind===r.ImageKind.RGBA_32BPP){var L=!!(c||u||d);for(a=0,l=h*m*4,i=0;i<v;i++){if(C.set(x.subarray(A,A+l)),A+=l,L)for(var I=0;I<l;I+=4)c&&(C[I+0]=c[C[I+0]]),u&&(C[I+1]=u[C[I+1]]),d&&(C[I+2]=d[C[I+2]]);e.putImageData(y,0,a),a+=m}if(i<b){if(l=h*g*4,C.set(x.subarray(A,A+l)),L)for(var N=0;N<l;N+=4)c&&(C[N+0]=c[C[N+0]]),u&&(C[N+1]=u[C[N+1]]),d&&(C[N+2]=d[C[N+2]]);e.putImageData(y,0,a)}}else{if(t.kind!==r.ImageKind.RGB_24BPP)throw new Error("bad image kind: ".concat(t.kind));var F=!!(c||u||d);for(l=h*(s=m),i=0;i<b;i++){for(i>=v&&(l=h*(s=g)),o=0,a=l;a--;)C[o++]=x[A++],C[o++]=x[A++],C[o++]=x[A++],C[o++]=255;if(F)for(var z=0;z<o;z+=4)c&&(C[z+0]=c[C[z+0]]),u&&(C[z+1]=u[C[z+1]]),d&&(C[z+2]=d[C[z+2]]);e.putImageData(y,0,i*m)}}}}function A(e,t){for(var n=t.height,r=t.width,o=n%m,i=(n-o)/m,a=0===o?i:i+1,s=e.createImageData(r,m),l=0,c=t.data,u=s.data,d=0;d<a;d++){for(var f=d<i?m:o,p=3,h=0;h<f;h++)for(var g=void 0,v=0,b=0;b<r;b++)v||(g=c[l++],v=128),u[p]=g&v?0:255,p+=4,v>>=1;e.putImageData(s,0,d*m)}}function x(e,t){for(var n=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font"],r=0,o=n.length;r<o;r++){var i=n[r];void 0!==e[i]&&(t[i]=e[i])}void 0!==e.setLineDash&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function C(e){e.strokeStyle="#000000",e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",void 0!==e.setLineDash&&(e.setLineDash([]),e.lineDashOffset=0)}function _(e,t,n,r){for(var o=e.length,i=3;i<o;i+=4){var a=e[i];if(0===a)e[i-3]=t,e[i-2]=n,e[i-1]=r;else if(a<255){var s=255-a;e[i-3]=e[i-3]*a+t*s>>8,e[i-2]=e[i-2]*a+n*s>>8,e[i-1]=e[i-1]*a+r*s>>8}}}function w(e,t,n){for(var r=e.length,o=3;o<r;o+=4){var i=n?n[e[o]]:e[o];t[o]=t[o]*i*.00392156862745098|0}}function k(e,t,n){for(var r=e.length,o=3;o<r;o+=4){var i=77*e[o-3]+152*e[o-2]+28*e[o-1];t[o]=n?t[o]*n[i>>8]>>8:t[o]*i>>16}}function S(e,t,n,r){var o=r[0],i=r[1],a=r[2]-o,s=r[3]-i;0!==a&&0!==s&&(function(e,t,n,r,o,i,a,s,l,c,u){var d,f=!!i,p=f?i[0]:0,h=f?i[1]:0,m=f?i[2]:0;d="Luminosity"===o?k:w;for(var g=Math.min(r,Math.ceil(1048576/n)),v=0;v<r;v+=g){var b=Math.min(g,r-v),y=e.getImageData(s-c,v+(l-u),n,b),A=t.getImageData(s,v+l,n,b);f&&_(y.data,p,h,m),d(y.data,A.data,a),t.putImageData(A,s,v+l)}}(t.context,n,a,s,t.subtype,t.backdrop,t.transferMap,o,i,t.offsetX,t.offsetY),e.save(),e.globalAlpha=1,e.globalCompositeOperation="source-over",e.setTransform(1,0,0,1,0,0),e.drawImage(n.canvas,0,0),e.restore())}function E(e,t){var n=r.Util.singularValueDecompose2dScale(e);n[0]=Math.fround(n[0]),n[1]=Math.fround(n[1]);var o=Math.fround((globalThis.devicePixelRatio||1)*i.PixelsPerInch.PDF_TO_CSS_UNITS);return void 0!==t?t:n[0]<=o||n[1]<=o}var B=["butt","round","square"],O=["miter","round","bevel"],j={},T={},P=function(){function e(t,n,r,o,i,a,s){l(this,e),this.ctx=t,this.current=new b(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=n,this.objs=r,this.canvasFactory=o,this.imageLayer=i,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=[],this.optionalContentConfig=a,this.cachedCanvases=new v(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=s,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,t&&g(t),this._cachedGetSinglePixelWidth=null}return u(e,[{key:"beginDrawing",value:function(e){var t=e.transform,n=e.viewport,r=e.transparency,o=void 0!==r&&r,i=e.background,a=void 0===i?null:i,s=this.ctx.canvas.width,l=this.ctx.canvas.height;if(this.ctx.save(),this.ctx.fillStyle=a||"rgb(255, 255, 255)",this.ctx.fillRect(0,0,s,l),this.ctx.restore(),o){var c=this.cachedCanvases.getCanvas("transparent",s,l,!0);this.compositeCtx=this.ctx,this.transparentCanvas=c.canvas,this.ctx=c.context,this.ctx.save(),this.ctx.transform.apply(this.ctx,this.compositeCtx.mozCurrentTransform)}this.ctx.save(),C(this.ctx),t&&(this.ctx.transform.apply(this.ctx,t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform.apply(this.ctx,n.transform),this.viewportScale=n.scale,this.baseTransform=this.ctx.mozCurrentTransform.slice(),this._combinedScaleFactor=Math.hypot(this.baseTransform[0],this.baseTransform[2]),this.imageLayer&&this.imageLayer.beginLayout()}},{key:"executeOperatorList",value:function(e,t,n,o){var i=e.argsArray,a=e.fnArray,l=t||0,c=i.length;if(c===l)return l;for(var u,d=c-l>10&&"function"==typeof n,f=d?Date.now()+15:0,p=0,h=this.commonObjs,m=this.objs;;){if(void 0!==o&&l===o.nextBreakPoint)return o.breakIt(l,n),l;if((u=a[l])!==r.OPS.dependency)this[u].apply(this,i[l]);else{var g,v=s(i[l]);try{for(v.s();!(g=v.n()).done;){var b=g.value,y=b.startsWith("g_")?h:m;if(!y.has(b))return y.get(b,n),l}}catch(e){v.e(e)}finally{v.f()}}if(++l===c)return l;if(d&&++p>10){if(Date.now()>f)return n(),l;p=0}}}},{key:"endDrawing",value:function(){for(;this.stateStack.length||null!==this.current.activeSMask;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null),this.cachedCanvases.clear(),this.cachedPatterns.clear(),this.imageLayer&&this.imageLayer.endLayout()}},{key:"_scaleImage",value:function(e,t){for(var n,r,o=e.width,i=e.height,a=Math.max(Math.hypot(t[0],t[1]),1),s=Math.max(Math.hypot(t[2],t[3]),1),l=o,c=i,u="prescale1";a>2&&l>1||s>2&&c>1;){var d=l,f=c;a>2&&l>1&&(a/=l/(d=Math.ceil(l/2))),s>2&&c>1&&(s/=c/(f=Math.ceil(c/2))),(r=(n=this.cachedCanvases.getCanvas(u,d,f)).context).clearRect(0,0,d,f),r.drawImage(e,0,0,l,c,0,0,d,f),e=n.canvas,l=d,c=f,u="prescale1"===u?"prescale2":"prescale1"}return{img:e,paintWidth:l,paintHeight:c}}},{key:"_createMaskCanvas",value:function(e){var t=this.ctx,n=e.width,i=e.height,a=this.current.fillColor,s=this.current.patternFill,l=this.cachedCanvases.getCanvas("maskCanvas",n,i);A(l.context,e);var c=t.mozCurrentTransform,u=r.Util.transform(c,[1/n,0,0,-1/i,0,0]);u=r.Util.transform(u,[1,0,0,1,0,-i]);var d=r.Util.applyTransform([0,0],u),f=r.Util.applyTransform([n,i],u),p=r.Util.normalizeRect([d[0],d[1],f[0],f[1]]),h=Math.ceil(p[2]-p[0]),m=Math.ceil(p[3]-p[1]),g=this.cachedCanvases.getCanvas("fillCanvas",h,m,!0),v=g.context,b=Math.min(d[0],f[0]),y=Math.min(d[1],f[1]);v.translate(-b,-y),v.transform.apply(v,u);var x=this._scaleImage(l.canvas,v.mozCurrentTransformInverse);v.imageSmoothingEnabled=E(v.mozCurrentTransform,e.interpolate),v.drawImage(x.img,0,0,x.img.width,x.img.height,0,0,n,i),v.globalCompositeOperation="source-in";var C=r.Util.transform(v.mozCurrentTransformInverse,[1,0,0,1,-b,-y]);return v.fillStyle=s?a.getPattern(t,this,C,o.PathType.FILL):a,v.fillRect(0,0,n,i),{canvas:g.canvas,offsetX:Math.round(b),offsetY:Math.round(y)}}},{key:"setLineWidth",value:function(e){this.current.lineWidth=e,this.ctx.lineWidth=e}},{key:"setLineCap",value:function(e){this.ctx.lineCap=B[e]}},{key:"setLineJoin",value:function(e){this.ctx.lineJoin=O[e]}},{key:"setMiterLimit",value:function(e){this.ctx.miterLimit=e}},{key:"setDash",value:function(e,t){var n=this.ctx;void 0!==n.setLineDash&&(n.setLineDash(e),n.lineDashOffset=t)}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){for(var t=0,n=e.length;t<n;t++){var r=e[t],o=r[0],i=r[1];switch(o){case"LW":this.setLineWidth(i);break;case"LC":this.setLineCap(i);break;case"LJ":this.setLineJoin(i);break;case"ML":this.setMiterLimit(i);break;case"D":this.setDash(i[0],i[1]);break;case"RI":this.setRenderingIntent(i);break;case"FL":this.setFlatness(i);break;case"Font":this.setFont(i[0],i[1]);break;case"CA":this.current.strokeAlpha=r[1];break;case"ca":this.current.fillAlpha=r[1],this.ctx.globalAlpha=r[1];break;case"BM":this.ctx.globalCompositeOperation=i;break;case"SMask":this.current.activeSMask=i?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.current.transferMaps=i}}}},{key:"checkSMaskState",value:function(){var e=!!this.suspendedCtx;this.current.activeSMask&&!e?this.beginSMaskMode():!this.current.activeSMask&&e&&this.endSMaskMode()}},{key:"beginSMaskMode",value:function(){if(this.suspendedCtx)throw new Error("beginSMaskMode called while already in smask mode");var e=this.ctx.canvas.width,t=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,r=this.cachedCanvases.getCanvas(n,e,t,!0);this.suspendedCtx=this.ctx,this.ctx=r.context;var o=this.ctx;o.setTransform.apply(o,this.suspendedCtx.mozCurrentTransform),x(this.suspendedCtx,o),function(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=function(){e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(e,n){t.translate(e,n),this.__originalTranslate(e,n)},e.scale=function(e,n){t.scale(e,n),this.__originalScale(e,n)},e.transform=function(e,n,r,o,i,a){t.transform(e,n,r,o,i,a),this.__originalTransform(e,n,r,o,i,a)},e.setTransform=function(e,n,r,o,i,a){t.setTransform(e,n,r,o,i,a),this.__originalSetTransform(e,n,r,o,i,a)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(e){t.rotate(e),this.__originalRotate(e)},e.clip=function(e){t.clip(e),this.__originalClip(e)},e.moveTo=function(e,n){t.moveTo(e,n),this.__originalMoveTo(e,n)},e.lineTo=function(e,n){t.lineTo(e,n),this.__originalLineTo(e,n)},e.bezierCurveTo=function(e,n,r,o,i,a){t.bezierCurveTo(e,n,r,o,i,a),this.__originalBezierCurveTo(e,n,r,o,i,a)},e.rect=function(e,n,r,o){t.rect(e,n,r,o),this.__originalRect(e,n,r,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}},{key:"endSMaskMode",value:function(){if(!this.suspendedCtx)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),x(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.current.activeSMask=null,this.suspendedCtx=null}},{key:"compose",value:function(e){if(this.current.activeSMask){e?(e[0]=Math.floor(e[0]),e[1]=Math.floor(e[1]),e[2]=Math.ceil(e[2]),e[3]=Math.ceil(e[3])):e=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];var t=this.current.activeSMask;S(this.suspendedCtx,t,this.ctx,e),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}}},{key:"save",value:function(){this.ctx.save();var e=this.current;this.stateStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){0===this.stateStack.length&&this.current.activeSMask&&this.endSMaskMode(),0!==this.stateStack.length&&(this.current=this.stateStack.pop(),this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedGetSinglePixelWidth=null)}},{key:"transform",value:function(e,t,n,r,o,i){this.ctx.transform(e,t,n,r,o,i),this._cachedGetSinglePixelWidth=null}},{key:"constructPath",value:function(e,t){for(var n,o,i=this.ctx,a=this.current,s=a.x,l=a.y,c=0,u=0,d=e.length;c<d;c++)switch(0|e[c]){case r.OPS.rectangle:s=t[u++],l=t[u++];var f=t[u++],p=t[u++],h=s+f,m=l+p;i.moveTo(s,l),0===f||0===p?i.lineTo(h,m):(i.lineTo(h,l),i.lineTo(h,m),i.lineTo(s,m)),a.updatePathMinMax(i.mozCurrentTransform,s,l),a.updatePathMinMax(i.mozCurrentTransform,h,m),i.closePath();break;case r.OPS.moveTo:s=t[u++],l=t[u++],i.moveTo(s,l),a.updatePathMinMax(i.mozCurrentTransform,s,l);break;case r.OPS.lineTo:s=t[u++],l=t[u++],i.lineTo(s,l),a.updatePathMinMax(i.mozCurrentTransform,s,l);break;case r.OPS.curveTo:n=s,o=l,s=t[u+4],l=t[u+5],i.bezierCurveTo(t[u],t[u+1],t[u+2],t[u+3],s,l),a.updateCurvePathMinMax(i.mozCurrentTransform,n,o,t[u],t[u+1],t[u+2],t[u+3],s,l),u+=6;break;case r.OPS.curveTo2:n=s,o=l,i.bezierCurveTo(s,l,t[u],t[u+1],t[u+2],t[u+3]),a.updateCurvePathMinMax(i.mozCurrentTransform,n,o,s,l,t[u],t[u+1],t[u+2],t[u+3]),s=t[u+2],l=t[u+3],u+=4;break;case r.OPS.curveTo3:n=s,o=l,s=t[u+2],l=t[u+3],i.bezierCurveTo(t[u],t[u+1],s,l,s,l),a.updateCurvePathMinMax(i.mozCurrentTransform,n,o,t[u],t[u+1],s,l,s,l),u+=4;break;case r.OPS.closePath:i.closePath()}a.setCurrentPoint(s,l)}},{key:"closePath",value:function(){this.ctx.closePath()}},{key:"stroke",value:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.strokeColor;if(t.globalAlpha=this.current.strokeAlpha,this.contentVisible)if("object"===a(n)&&null!=n&&n.getPattern){var r=this.getSinglePixelWidth();t.save(),t.strokeStyle=n.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.STROKE),t.lineWidth=Math.max(r,this.current.lineWidth),t.stroke(),t.restore()}else{var i=this.getSinglePixelWidth();i<0&&-i>=this.current.lineWidth?(t.save(),t.resetTransform(),t.lineWidth=Math.round(this._combinedScaleFactor),t.stroke(),t.restore()):(t.lineWidth=Math.max(i,this.current.lineWidth),t.stroke())}e&&this.consumePath(this.current.getClippedPathBoundingBox()),t.globalAlpha=this.current.fillAlpha}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"fill",value:function(e){e=void 0===e||e;var t=this.ctx,n=this.current.fillColor,r=!1;this.current.patternFill&&(t.save(),t.fillStyle=n.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.FILL),r=!0);var i=this.current.getClippedPathBoundingBox();this.contentVisible&&null!==i&&(this.pendingEOFill?(t.fill("evenodd"),this.pendingEOFill=!1):t.fill()),r&&t.restore(),e&&this.consumePath(i)}},{key:"eoFill",value:function(){this.pendingEOFill=!0,this.fill()}},{key:"fillStroke",value:function(){this.fill(!1),this.stroke(!1),this.consumePath()}},{key:"eoFillStroke",value:function(){this.pendingEOFill=!0,this.fillStroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}},{key:"endPath",value:function(){this.consumePath()}},{key:"clip",value:function(){this.pendingClip=j}},{key:"eoClip",value:function(){this.pendingClip=T}},{key:"beginText",value:function(){this.current.textMatrix=r.IDENTITY_MATRIX,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"endText",value:function(){var e=this.pendingTextPaths,t=this.ctx;if(void 0!==e){t.save(),t.beginPath();for(var n=0;n<e.length;n++){var r=e[n];t.setTransform.apply(t,r.transform),t.translate(r.x,r.y),r.addToPath(t,r.fontSize)}t.restore(),t.clip(),t.beginPath(),delete this.pendingTextPaths}else t.beginPath()}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setFont",value:function(e,t){var n=this.commonObjs.get(e),o=this.current;if(!n)throw new Error("Can't find font for ".concat(e));if(o.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX,0!==o.fontMatrix[0]&&0!==o.fontMatrix[3]||(0,r.warn)("Invalid font matrix for font "+e),t<0?(t=-t,o.fontDirection=-1):o.fontDirection=1,this.current.font=n,this.current.fontSize=t,!n.isType3Font){var i=n.loadedName||"sans-serif",a="normal";n.black?a="900":n.bold&&(a="bold");var s=n.italic?"italic":"normal",l='"'.concat(i,'", ').concat(n.fallbackName),c=t;t<16?c=16:t>100&&(c=100),this.current.fontSizeScale=t/c,this.ctx.font="".concat(s," ").concat(a," ").concat(c,"px ").concat(l)}}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"moveText",value:function(e,t){this.current.x=this.current.lineX+=e,this.current.y=this.current.lineY+=t}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"setTextMatrix",value:function(e,t,n,r,o,i){this.current.textMatrix=[e,t,n,r,o,i],this.current.textMatrixScale=Math.hypot(e,t),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"paintChar",value:function(e,t,n,o,i){var a,s=this.ctx,l=this.current,c=l.font,u=l.textRenderingMode,d=l.fontSize/l.fontSizeScale,f=u&r.TextRenderingMode.FILL_STROKE_MASK,p=!!(u&r.TextRenderingMode.ADD_TO_PATH_FLAG),h=l.patternFill&&!c.missingFile;(c.disableFontFace||p||h)&&(a=c.getPathGenerator(this.commonObjs,e)),c.disableFontFace||h?(s.save(),s.translate(t,n),s.beginPath(),a(s,d),o&&s.setTransform.apply(s,o),f!==r.TextRenderingMode.FILL&&f!==r.TextRenderingMode.FILL_STROKE||s.fill(),f!==r.TextRenderingMode.STROKE&&f!==r.TextRenderingMode.FILL_STROKE||(i&&(s.resetTransform(),s.lineWidth=Math.round(this._combinedScaleFactor)),s.stroke()),s.restore()):(f!==r.TextRenderingMode.FILL&&f!==r.TextRenderingMode.FILL_STROKE||s.fillText(e,t,n),f!==r.TextRenderingMode.STROKE&&f!==r.TextRenderingMode.FILL_STROKE||(i?(s.save(),s.moveTo(t,n),s.resetTransform(),s.lineWidth=Math.round(this._combinedScaleFactor),s.strokeText(e,0,0),s.restore()):s.strokeText(e,t,n))),p&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:s.mozCurrentTransform,x:t,y:n,fontSize:d,addToPath:a})}},{key:"isFontSubpixelAAEnabled",get:function(){var e=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10).context;e.scale(1.5,1),e.fillText("I",0,10);for(var t=e.getImageData(0,0,10,10).data,n=!1,o=3;o<t.length;o+=4)if(t[o]>0&&t[o]<255){n=!0;break}return(0,r.shadow)(this,"isFontSubpixelAAEnabled",n)}},{key:"showText",value:function(e){var t=this.current,n=t.font;if(n.isType3Font)return this.showType3Text(e);var i=t.fontSize;if(0!==i){var a,s=this.ctx,l=t.fontSizeScale,c=t.charSpacing,u=t.wordSpacing,d=t.fontDirection,f=t.textHScale*d,p=e.length,h=n.vertical,m=h?1:-1,g=n.defaultVMetrics,v=i*t.fontMatrix[0],b=t.textRenderingMode===r.TextRenderingMode.FILL&&!n.disableFontFace&&!t.patternFill;if(s.save(),s.transform.apply(s,t.textMatrix),s.translate(t.x,t.y+t.textRise),d>0?s.scale(f,-1):s.scale(f,1),t.patternFill){s.save();var y=t.fillColor.getPattern(s,this,s.mozCurrentTransformInverse,o.PathType.FILL);a=s.mozCurrentTransform,s.restore(),s.fillStyle=y}var A=t.lineWidth,x=!1,C=t.textMatrixScale;if(0===C||0===A){var _=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;_!==r.TextRenderingMode.STROKE&&_!==r.TextRenderingMode.FILL_STROKE||(this._cachedGetSinglePixelWidth=null,x=(A=this.getSinglePixelWidth())<0)}else A/=C;1!==l&&(s.scale(l,l),A/=l),s.lineWidth=A;var w,k=0;for(w=0;w<p;++w){var S=e[w];if((0,r.isNum)(S))k+=m*S*i/1e3;else{var E=!1,B=(S.isSpace?u:0)+c,O=S.fontChar,j=S.accent,T=void 0,P=void 0,M=S.width;if(h){var D=S.vmetric||g,R=-(S.vmetric?D[1]:.5*M)*v,L=D[2]*v;M=D?-D[0]:M,T=R/l,P=(k+L)/l}else T=k/l,P=0;if(n.remeasure&&M>0){var I=1e3*s.measureText(O).width/i*l;if(M<I&&this.isFontSubpixelAAEnabled){var N=M/I;E=!0,s.save(),s.scale(N,1),T/=N}else M!==I&&(T+=(M-I)/2e3*i/l)}if(this.contentVisible&&(S.isInFont||n.missingFile))if(b&&!j)s.fillText(O,T,P);else if(this.paintChar(O,T,P,a,x),j){var F=T+i*j.offset.x/l,z=P-i*j.offset.y/l;this.paintChar(j.fontChar,F,z,a,x)}k+=h?M*v-B*d:M*v+B*d,E&&s.restore()}}h?t.y-=k:t.x+=k*f,s.restore(),this.compose()}}},{key:"showType3Text",value:function(e){var t,n,o,i,a=this.ctx,s=this.current,l=s.font,c=s.fontSize,u=s.fontDirection,d=l.vertical?1:-1,f=s.charSpacing,p=s.wordSpacing,h=s.textHScale*u,m=s.fontMatrix||r.FONT_IDENTITY_MATRIX,g=e.length;if(s.textRenderingMode!==r.TextRenderingMode.INVISIBLE&&0!==c){for(this._cachedGetSinglePixelWidth=null,a.save(),a.transform.apply(a,s.textMatrix),a.translate(s.x,s.y),a.scale(h,u),t=0;t<g;++t)if(n=e[t],(0,r.isNum)(n))i=d*n*c/1e3,this.ctx.translate(i,0),s.x+=i*h;else{var v=(n.isSpace?p:0)+f,b=l.charProcOperatorList[n.operatorListId];b?(this.contentVisible&&(this.processingType3=n,this.save(),a.scale(c,c),a.transform.apply(a,m),this.executeOperatorList(b),this.restore()),o=r.Util.applyTransform([n.width,0],m)[0]*c+v,a.translate(o,0),s.x+=o*h):(0,r.warn)('Type3 character "'.concat(n.operatorListId,'" is not available.'))}a.restore(),this.processingType3=null}}},{key:"setCharWidth",value:function(e,t){}},{key:"setCharWidthAndBounds",value:function(e,t,n,r,o,i){this.ctx.rect(n,r,o-n,i-r),this.clip(),this.endPath()}},{key:"getColorN_Pattern",value:function(t){var n,r=this;if("TilingPattern"===t[0]){var i=t[1],a=this.baseTransform||this.ctx.mozCurrentTransform.slice(),s={createCanvasGraphics:function(t){return new e(t,r.commonObjs,r.objs,r.canvasFactory)}};n=new o.TilingPattern(t,i,this.ctx,s,a)}else n=this._getPattern(t[1],t[2]);return n}},{key:"setStrokeColorN",value:function(){this.current.strokeColor=this.getColorN_Pattern(arguments)}},{key:"setFillColorN",value:function(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}},{key:"setStrokeRGBColor",value:function(e,t,n){var o=r.Util.makeHexColor(e,t,n);this.ctx.strokeStyle=o,this.current.strokeColor=o}},{key:"setFillRGBColor",value:function(e,t,n){var o=r.Util.makeHexColor(e,t,n);this.ctx.fillStyle=o,this.current.fillColor=o,this.current.patternFill=!1}},{key:"_getPattern",value:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return this.cachedPatterns.has(e)?t=this.cachedPatterns.get(e):(t=(0,o.getShadingPattern)(this.objs.get(e)),this.cachedPatterns.set(e,t)),n&&(t.matrix=n),t}},{key:"shadingFill",value:function(e){if(this.contentVisible){var t=this.ctx;this.save();var n=this._getPattern(e);t.fillStyle=n.getPattern(t,this,t.mozCurrentTransformInverse,o.PathType.SHADING);var i=t.mozCurrentTransformInverse;if(i){var a=t.canvas,s=a.width,l=a.height,c=r.Util.applyTransform([0,0],i),u=r.Util.applyTransform([0,l],i),d=r.Util.applyTransform([s,0],i),f=r.Util.applyTransform([s,l],i),p=Math.min(c[0],u[0],d[0],f[0]),h=Math.min(c[1],u[1],d[1],f[1]),m=Math.max(c[0],u[0],d[0],f[0]),g=Math.max(c[1],u[1],d[1],f[1]);this.ctx.fillRect(p,h,m-p,g-h)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}}},{key:"beginInlineImage",value:function(){(0,r.unreachable)("Should not call beginInlineImage")}},{key:"beginImageData",value:function(){(0,r.unreachable)("Should not call beginImageData")}},{key:"paintFormXObjectBegin",value:function(e,t){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(e)&&6===e.length&&this.transform.apply(this,e),this.baseTransform=this.ctx.mozCurrentTransform,t)){var n=t[2]-t[0],r=t[3]-t[1];this.ctx.rect(t[0],t[1],n,r),this.current.updatePathMinMax(this.ctx.mozCurrentTransform,t[0],t[1]),this.current.updatePathMinMax(this.ctx.mozCurrentTransform,t[2],t[3]),this.clip(),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}},{key:"beginGroup",value:function(e){if(this.contentVisible){this.save();var t=this.suspendedCtx;this.current.activeSMask&&(this.suspendedCtx=null,this.current.activeSMask=null);var n=this.ctx;e.isolated||(0,r.info)("TODO: Support non-isolated groups."),e.knockout&&(0,r.warn)("Knockout groups not supported.");var o=n.mozCurrentTransform;if(e.matrix&&n.transform.apply(n,e.matrix),!e.bbox)throw new Error("Bounding box is required.");var i=r.Util.getAxialAlignedBoundingBox(e.bbox,n.mozCurrentTransform),a=[0,0,n.canvas.width,n.canvas.height];i=r.Util.intersect(i,a)||[0,0,0,0];var s=Math.floor(i[0]),l=Math.floor(i[1]),c=Math.max(Math.ceil(i[2])-s,1),u=Math.max(Math.ceil(i[3])-l,1),d=1,f=1;c>h&&(d=c/h,c=h),u>h&&(f=u/h,u=h),this.current.startNewPathAndClipBox([0,0,c,u]);var p="groupAt"+this.groupLevel;e.smask&&(p+="_smask_"+this.smaskCounter++%2);var m=this.cachedCanvases.getCanvas(p,c,u,!0),g=m.context;g.scale(1/d,1/f),g.translate(-s,-l),g.transform.apply(g,o),e.smask?this.smaskStack.push({canvas:m.canvas,context:g,offsetX:s,offsetY:l,scaleX:d,scaleY:f,subtype:e.smask.subtype,backdrop:e.smask.backdrop,transferMap:e.smask.transferMap||null,startTransformInverse:null}):(n.setTransform(1,0,0,1,0,0),n.translate(s,l),n.scale(d,f),n.save()),x(n,g),this.ctx=g,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push({ctx:n,suspendedCtx:t}),this.groupLevel++}}},{key:"endGroup",value:function(e){if(this.contentVisible){this.groupLevel--;var t=this.ctx,n=this.groupStack.pop(),o=n.ctx,i=n.suspendedCtx;if(this.ctx=o,this.ctx.imageSmoothingEnabled=!1,i&&(this.suspendedCtx=i),e.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();var a=this.ctx.mozCurrentTransform;this.restore(),this.ctx.save(),this.ctx.setTransform.apply(this.ctx,a);var s=r.Util.getAxialAlignedBoundingBox([0,0,t.canvas.width,t.canvas.height],a);this.ctx.drawImage(t.canvas,0,0),this.ctx.restore(),this.compose(s)}}}},{key:"beginAnnotations",value:function(){this.save(),this.baseTransform&&this.ctx.setTransform.apply(this.ctx,this.baseTransform)}},{key:"endAnnotations",value:function(){this.restore()}},{key:"beginAnnotation",value:function(e,t,n,o,i){if(this.save(),Array.isArray(t)&&4===t.length){var a=t[2]-t[0],s=t[3]-t[1];if(i&&this.annotationCanvasMap){(n=n.slice())[4]-=t[0],n[5]-=t[1],(t=t.slice())[0]=t[1]=0,t[2]=a,t[3]=s;var l=d(r.Util.singularValueDecompose2dScale(this.ctx.mozCurrentTransform),2),c=l[0],u=l[1],f=this.viewportScale,p=Math.ceil(a*this.outputScaleX*f),h=Math.ceil(s*this.outputScaleY*f);this.annotationCanvas=this.canvasFactory.create(p,h);var m=this.annotationCanvas,v=m.canvas,y=m.context;v.style.width="calc(".concat(a,"px * var(--viewport-scale-factor))"),v.style.height="calc(".concat(s,"px * var(--viewport-scale-factor))"),this.annotationCanvasMap.set(e,v),this.annotationCanvas.savedCtx=this.ctx,this.ctx=y,this.ctx.setTransform(c,0,0,-u,0,s*u),g(this.ctx),C(this.ctx)}else C(this.ctx),this.ctx.rect(t[0],t[1],a,s),this.clip(),this.endPath()}this.current=new b(this.ctx.canvas.width,this.ctx.canvas.height),this.transform.apply(this,n),this.transform.apply(this,o)}},{key:"endAnnotation",value:function(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas),this.restore()}},{key:"paintImageMaskXObject",value:function(e){if(this.contentVisible){var t=this.ctx,n=e.width,r=e.height,o=this.processingType3;if(o&&void 0===o.compiled&&(o.compiled=n<=1e3&&r<=1e3?function(e){var t,n,r,o,i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),a=e.width,s=e.height,l=a+1,c=new Uint8Array(l*(s+1)),u=a+7&-8,d=e.data,f=new Uint8Array(u*s),p=0;for(t=0,n=d.length;t<n;t++)for(var h=d[t],m=128;m>0;)f[p++]=h&m?0:255,m>>=1;var g=0;for(0!==f[p=0]&&(c[0]=1,++g),r=1;r<a;r++)f[p]!==f[p+1]&&(c[r]=f[p]?2:1,++g),p++;for(0!==f[p]&&(c[r]=2,++g),t=1;t<s;t++){o=t*l,f[(p=t*u)-u]!==f[p]&&(c[o]=f[p]?1:8,++g);var v=(f[p]?4:0)+(f[p-u]?8:0);for(r=1;r<a;r++)i[v=(v>>2)+(f[p+1]?4:0)+(f[p-u+1]?8:0)]&&(c[o+r]=i[v],++g),p++;if(f[p-u]!==f[p]&&(c[o+r]=f[p]?2:4,++g),g>1e3)return null}for(o=t*l,0!==f[p=u*(s-1)]&&(c[o]=8,++g),r=1;r<a;r++)f[p]!==f[p+1]&&(c[o+r]=f[p]?4:8,++g),p++;if(0!==f[p]&&(c[o+r]=4,++g),g>1e3)return null;var b=new Int32Array([0,l,-1,0,-l,0,0,0,1]),y=[];for(t=0;g&&t<=s;t++){for(var A=t*l,x=A+a;A<x&&!c[A];)A++;if(A!==x){var C=[A%l,t],_=A,w=c[A];do{var k=b[w];do{A+=k}while(!c[A]);var S=c[A];5!==S&&10!==S?(w=S,c[A]=0):(w=S&51*w>>4,c[A]&=w>>2|w<<2),C.push(A%l,A/l|0),c[A]||--g}while(_!==A);y.push(C),--t}}return function(e){e.save(),e.scale(1/a,-1/s),e.translate(0,-s),e.beginPath();for(var t=0,n=y.length;t<n;t++){var r=y[t];e.moveTo(r[0],r[1]);for(var o=2,i=r.length;o<i;o+=2)e.lineTo(r[o],r[o+1])}e.fill(),e.beginPath(),e.restore()}}({data:e.data,width:n,height:r}):null),null!=o&&o.compiled)o.compiled(t);else{var i=this._createMaskCanvas(e),a=i.canvas;t.save(),t.setTransform(1,0,0,1,0,0),t.drawImage(a,i.offsetX,i.offsetY),t.restore(),this.compose()}}}},{key:"paintImageMaskXObjectRepeat",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4?arguments[4]:void 0,a=arguments.length>5?arguments[5]:void 0;if(this.contentVisible){var s=this.ctx;s.save();var l=s.mozCurrentTransform;s.transform(t,n,o,i,0,0);var c=this._createMaskCanvas(e);s.setTransform(1,0,0,1,0,0);for(var u=0,f=a.length;u<f;u+=2){var p=r.Util.transform(l,[t,n,o,i,a[u],a[u+1]]),h=r.Util.applyTransform([0,0],p),m=d(h,2),g=m[0],v=m[1];s.drawImage(c.canvas,g,v)}s.restore(),this.compose()}}},{key:"paintImageMaskXObjectGroup",value:function(e){if(this.contentVisible){for(var t=this.ctx,n=this.current.fillColor,r=this.current.patternFill,i=0,a=e.length;i<a;i++){var s=e[i],l=s.width,c=s.height,u=this.cachedCanvases.getCanvas("maskCanvas",l,c),d=u.context;d.save(),A(d,s),d.globalCompositeOperation="source-in",d.fillStyle=r?n.getPattern(d,this,t.mozCurrentTransformInverse,o.PathType.FILL):n,d.fillRect(0,0,l,c),d.restore(),t.save(),t.transform.apply(t,s.transform),t.scale(1,-1),t.drawImage(u.canvas,0,0,l,c,0,-1,1,1),t.restore()}this.compose()}}},{key:"paintImageXObject",value:function(e){if(this.contentVisible){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image isn't ready yet")}}},{key:"paintImageXObjectRepeat",value:function(e,t,n,o){if(this.contentVisible){var i=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);if(i){for(var a=i.width,s=i.height,l=[],c=0,u=o.length;c<u;c+=2)l.push({transform:[t,0,0,n,o[c],o[c+1]],x:0,y:0,w:a,h:s});this.paintInlineImageXObjectGroup(i,l)}else(0,r.warn)("Dependent image isn't ready yet")}}},{key:"paintInlineImageXObject",value:function(e){if(this.contentVisible){var t,n=e.width,r=e.height,o=this.ctx;if(this.save(),o.scale(1/n,-1/r),"function"==typeof HTMLElement&&e instanceof HTMLElement||!e.data)t=e;else{var i=this.cachedCanvases.getCanvas("inlineImage",n,r);y(i.context,e,this.current.transferMaps),t=i.canvas}var a=this._scaleImage(t,o.mozCurrentTransformInverse);if(o.imageSmoothingEnabled=E(o.mozCurrentTransform,e.interpolate),o.drawImage(a.img,0,0,a.paintWidth,a.paintHeight,0,-r,n,r),this.imageLayer){var s=this.getCanvasPosition(0,-r);this.imageLayer.appendImage({imgData:e,left:s[0],top:s[1],width:n/o.mozCurrentTransformInverse[0],height:r/o.mozCurrentTransformInverse[3]})}this.compose(),this.restore()}}},{key:"paintInlineImageXObjectGroup",value:function(e,t){if(this.contentVisible){var n=this.ctx,r=e.width,o=e.height,i=this.cachedCanvases.getCanvas("inlineImage",r,o);y(i.context,e,this.current.transferMaps);for(var a=0,s=t.length;a<s;a++){var l=t[a];if(n.save(),n.transform.apply(n,l.transform),n.scale(1,-1),n.drawImage(i.canvas,l.x,l.y,l.w,l.h,0,-1,1,1),this.imageLayer){var c=this.getCanvasPosition(l.x,l.y);this.imageLayer.appendImage({imgData:e,left:c[0],top:c[1],width:r,height:o})}n.restore()}this.compose()}}},{key:"paintSolidColorImageMask",value:function(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}},{key:"markPoint",value:function(e){}},{key:"markPointProps",value:function(e,t){}},{key:"beginMarkedContent",value:function(e){this.markedContentStack.push({visible:!0})}},{key:"beginMarkedContentProps",value:function(e,t){"OC"===e?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(t)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}},{key:"endMarkedContent",value:function(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}},{key:"beginCompat",value:function(){}},{key:"endCompat",value:function(){}},{key:"consumePath",value:function(e){this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(e);var t=this.ctx;this.pendingClip&&(this.pendingClip===T?t.clip("evenodd"):t.clip(),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),t.beginPath()}},{key:"getSinglePixelWidth",value:function(){if(null===this._cachedGetSinglePixelWidth){var e=this.ctx.mozCurrentTransform,t=Math.abs(e[0]*e[3]-e[2]*e[1]),n=Math.pow(e[0],2)+Math.pow(e[2],2),r=Math.pow(e[1],2)+Math.pow(e[3],2),o=Math.sqrt(Math.max(n,r))/t;n!==r&&this._combinedScaleFactor*o>1?this._cachedGetSinglePixelWidth=-this._combinedScaleFactor*o:t>Number.EPSILON?this._cachedGetSinglePixelWidth=o:this._cachedGetSinglePixelWidth=1}return this._cachedGetSinglePixelWidth}},{key:"getCanvasPosition",value:function(e,t){var n=this.ctx.mozCurrentTransform;return[n[0]*e+n[2]*t+n[4],n[1]*e+n[3]*t+n[5]]}},{key:"isContentVisible",value:function(){for(var e=this.markedContentStack.length-1;e>=0;e--)if(!this.markedContentStack[e].visible)return!1;return!0}}]),e}();for(var M in t.CanvasGraphics=P,r.OPS)void 0!==P.prototype[M]&&(P.prototype[r.OPS[M]]=P.prototype[M])},(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.TilingPattern=t.PathType=void 0,t.getShadingPattern=function(e){switch(e[0]){case"RadialAxial":return new b(e);case"Mesh":return new x(e);case"Dummy":return new C}throw new Error("Unknown IR type: ".concat(e[0]))};var o=n(4);function i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(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)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(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 s(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}}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},l(e,t)}function c(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=d(e);if(t){var o=d(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},d(e)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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,n){return t&&p(e.prototype,t),n&&p(e,n),e}var m={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function g(e,t){if(t&&"undefined"!=typeof Path2D){var n=t[2]-t[0],r=t[3]-t[1],o=new Path2D;o.rect(t[0],t[1],n,r),e.clip(o)}}t.PathType=m;var v=function(){function e(){f(this,e),this.constructor===e&&(0,o.unreachable)("Cannot initialize BaseShadingPattern.")}return h(e,[{key:"getPattern",value:function(){(0,o.unreachable)("Abstract method `getPattern` called.")}}]),e}(),b=function(e){s(n,e);var t=c(n);function n(e){var r;return f(this,n),(r=t.call(this))._type=e[1],r._bbox=e[2],r._colorStops=e[3],r._p0=e[4],r._p1=e[5],r._r0=e[6],r._r1=e[7],r.matrix=null,r}return h(n,[{key:"_createGradient",value:function(e){var t;"axial"===this._type?t=e.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):"radial"===this._type&&(t=e.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));var n,r=i(this._colorStops);try{for(r.s();!(n=r.n()).done;){var o=n.value;t.addColorStop(o[0],o[1])}}catch(e){r.e(e)}finally{r.f()}return t}},{key:"getPattern",value:function(e,t,n,r){var i;if(r===m.STROKE||r===m.FILL){var a=t.current.getClippedPathBoundingBox(r,e.mozCurrentTransform)||[0,0,0,0],s=Math.ceil(a[2]-a[0])||1,l=Math.ceil(a[3]-a[1])||1,c=t.cachedCanvases.getCanvas("pattern",s,l,!0),u=c.context;u.clearRect(0,0,u.canvas.width,u.canvas.height),u.beginPath(),u.rect(0,0,u.canvas.width,u.canvas.height),u.translate(-a[0],-a[1]),n=o.Util.transform(n,[1,0,0,1,a[0],a[1]]),u.transform.apply(u,t.baseTransform),this.matrix&&u.transform.apply(u,this.matrix),g(u,this._bbox),u.fillStyle=this._createGradient(u),u.fill(),i=e.createPattern(c.canvas,"no-repeat");var d=new DOMMatrix(n);try{i.setTransform(d)}catch(e){(0,o.warn)('RadialAxialShadingPattern.getPattern: "'.concat(null==e?void 0:e.message,'".'))}}else g(e,this._bbox),i=this._createGradient(e);return i}}]),n}(v);function y(e,t,n,r,o,i,a,s){var l,c=t.coords,u=t.colors,d=e.data,f=4*e.width;c[n+1]>c[r+1]&&(l=n,n=r,r=l,l=i,i=a,a=l),c[r+1]>c[o+1]&&(l=r,r=o,o=l,l=a,a=s,s=l),c[n+1]>c[r+1]&&(l=n,n=r,r=l,l=i,i=a,a=l);var p=(c[n]+t.offsetX)*t.scaleX,h=(c[n+1]+t.offsetY)*t.scaleY,m=(c[r]+t.offsetX)*t.scaleX,g=(c[r+1]+t.offsetY)*t.scaleY,v=(c[o]+t.offsetX)*t.scaleX,b=(c[o+1]+t.offsetY)*t.scaleY;if(!(h>=b))for(var y,A,x,C,_,w,k,S,E=u[i],B=u[i+1],O=u[i+2],j=u[a],T=u[a+1],P=u[a+2],M=u[s],D=u[s+1],R=u[s+2],L=Math.round(h),I=Math.round(b),N=L;N<=I;N++){if(N<g){var F=void 0;y=p-(p-m)*(F=N<h?0:(h-N)/(h-g)),A=E-(E-j)*F,x=B-(B-T)*F,C=O-(O-P)*F}else{var z=void 0;y=m-(m-v)*(z=N>b?1:g===b?0:(g-N)/(g-b)),A=j-(j-M)*z,x=T-(T-D)*z,C=P-(P-R)*z}var q=void 0;_=p-(p-v)*(q=N<h?0:N>b?1:(h-N)/(h-b)),w=E-(E-M)*q,k=B-(B-D)*q,S=O-(O-R)*q;for(var U=Math.round(Math.min(y,_)),H=Math.round(Math.max(y,_)),W=f*N+4*U,V=U;V<=H;V++)(q=(y-V)/(y-_))<0?q=0:q>1&&(q=1),d[W++]=A-(A-w)*q|0,d[W++]=x-(x-k)*q|0,d[W++]=C-(C-S)*q|0,d[W++]=255}}function A(e,t,n){var r,o,i=t.coords,a=t.colors;switch(t.type){case"lattice":var s=t.verticesPerRow,l=Math.floor(i.length/s)-1,c=s-1;for(r=0;r<l;r++)for(var u=r*s,d=0;d<c;d++,u++)y(e,n,i[u],i[u+1],i[u+s],a[u],a[u+1],a[u+s]),y(e,n,i[u+s+1],i[u+1],i[u+s],a[u+s+1],a[u+1],a[u+s]);break;case"triangles":for(r=0,o=i.length;r<o;r+=3)y(e,n,i[r],i[r+1],i[r+2],a[r],a[r+1],a[r+2]);break;default:throw new Error("illegal figure")}}var x=function(e){s(n,e);var t=c(n);function n(e){var r;return f(this,n),(r=t.call(this))._coords=e[2],r._colors=e[3],r._figures=e[4],r._bounds=e[5],r._bbox=e[7],r._background=e[8],r.matrix=null,r}return h(n,[{key:"_createMeshCanvas",value:function(e,t,n){var r=Math.floor(this._bounds[0]),o=Math.floor(this._bounds[1]),a=Math.ceil(this._bounds[2])-r,s=Math.ceil(this._bounds[3])-o,l=Math.min(Math.ceil(Math.abs(a*e[0]*1.1)),3e3),c=Math.min(Math.ceil(Math.abs(s*e[1]*1.1)),3e3),u=a/l,d=s/c,f={coords:this._coords,colors:this._colors,offsetX:-r,offsetY:-o,scaleX:1/u,scaleY:1/d},p=l+4,h=c+4,m=n.getCanvas("mesh",p,h,!1),g=m.context,v=g.createImageData(l,c);if(t)for(var b=v.data,y=0,x=b.length;y<x;y+=4)b[y]=t[0],b[y+1]=t[1],b[y+2]=t[2],b[y+3]=255;var C,_=i(this._figures);try{for(_.s();!(C=_.n()).done;)A(v,C.value,f)}catch(e){_.e(e)}finally{_.f()}return g.putImageData(v,2,2),{canvas:m.canvas,offsetX:r-2*u,offsetY:o-2*d,scaleX:u,scaleY:d}}},{key:"getPattern",value:function(e,t,n,r){var i;if(g(e,this._bbox),r===m.SHADING)i=o.Util.singularValueDecompose2dScale(e.mozCurrentTransform);else if(i=o.Util.singularValueDecompose2dScale(t.baseTransform),this.matrix){var a=o.Util.singularValueDecompose2dScale(this.matrix);i=[i[0]*a[0],i[1]*a[1]]}var s=this._createMeshCanvas(i,r===m.SHADING?null:this._background,t.cachedCanvases);return r!==m.SHADING&&(e.setTransform.apply(e,t.baseTransform),this.matrix&&e.transform.apply(e,this.matrix)),e.translate(s.offsetX,s.offsetY),e.scale(s.scaleX,s.scaleY),e.createPattern(s.canvas,"no-repeat")}}]),n}(v),C=function(e){s(n,e);var t=c(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"getPattern",value:function(){return"hotpink"}}]),n}(v),_=1,w=2,k=function(){function e(t,n,r,o,i){f(this,e),this.operatorList=t[2],this.matrix=t[3]||[1,0,0,1,0,0],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=n,this.ctx=r,this.canvasGraphicsFactory=o,this.baseTransform=i}return h(e,[{key:"createPatternCanvas",value:function(e){var t=this.operatorList,n=this.bbox,r=this.xstep,i=this.ystep,a=this.paintType,s=this.tilingType,l=this.color,c=this.canvasGraphicsFactory;(0,o.info)("TilingType: "+s);var u=n[0],d=n[1],f=n[2],p=n[3],h=o.Util.singularValueDecompose2dScale(this.matrix),m=o.Util.singularValueDecompose2dScale(this.baseTransform),g=[h[0]*m[0],h[1]*m[1]],v=this.getSizeAndScale(r,this.ctx.canvas.width,g[0]),b=this.getSizeAndScale(i,this.ctx.canvas.height,g[1]),y=e.cachedCanvases.getCanvas("pattern",v.size,b.size,!0),A=y.context,x=c.createCanvasGraphics(A);x.groupLevel=e.groupLevel,this.setFillAndStrokeStyleToContext(x,a,l);var C=u,_=d,w=f,k=p;return u<0&&(C=0,w+=Math.abs(u)),d<0&&(_=0,k+=Math.abs(d)),A.translate(-v.scale*C,-b.scale*_),x.transform(v.scale,0,0,b.scale,0,0),this.clipBbox(x,C,_,w,k),x.baseTransform=x.ctx.mozCurrentTransform.slice(),x.executeOperatorList(t),x.endDrawing(),{canvas:y.canvas,scaleX:v.scale,scaleY:b.scale,offsetX:C,offsetY:_}}},{key:"getSizeAndScale",value:function(t,n,r){t=Math.abs(t);var o=Math.max(e.MAX_PATTERN_SIZE,n),i=Math.ceil(t*r);return i>=o?i=o:r=i/t,{scale:r,size:i}}},{key:"clipBbox",value:function(e,t,n,r,o){var i=r-t,a=o-n;e.ctx.rect(t,n,i,a),e.clip(),e.endPath()}},{key:"setFillAndStrokeStyleToContext",value:function(e,t,n){var r=e.ctx,i=e.current;switch(t){case _:var a=this.ctx;r.fillStyle=a.fillStyle,r.strokeStyle=a.strokeStyle,i.fillColor=a.fillStyle,i.strokeColor=a.strokeStyle;break;case w:var s=o.Util.makeHexColor(n[0],n[1],n[2]);r.fillStyle=s,r.strokeStyle=s,i.fillColor=s,i.strokeColor=s;break;default:throw new o.FormatError("Unsupported paint type: ".concat(t))}}},{key:"getPattern",value:function(e,t,n,r){var i=n;r!==m.SHADING&&(i=o.Util.transform(i,t.baseTransform),this.matrix&&(i=o.Util.transform(i,this.matrix)));var a=this.createPatternCanvas(t),s=new DOMMatrix(i);s=(s=s.translate(a.offsetX,a.offsetY)).scale(1/a.scaleX,1/a.scaleY);var l=e.createPattern(a.canvas,"repeat");try{l.setTransform(s)}catch(e){(0,o.warn)('TilingPattern.getPattern: "'.concat(null==e?void 0:e.message,'".'))}return l}}],[{key:"MAX_PATTERN_SIZE",get:function(){return(0,o.shadow)(this,"MAX_PATTERN_SIZE",3e3)}}]),e}();t.TilingPattern=k},(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalWorkerOptions=void 0;var n=Object.create(null);t.GlobalWorkerOptions=n,n.workerPort=void 0===n.workerPort?null:n.workerPort,n.workerSrc=void 0===n.workerSrc?"":n.workerSrc},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MessageHandler=void 0;var r,o=(r=n(2))&&r.__esModule?r:{default:r},i=n(4);function a(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function s(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 l(e){return l="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},l(e)}var c=1,u=2,d=1,f=2,p=3,h=4,m=5,g=6,v=7,b=8;function y(e){if(!(e instanceof Error||"object"===l(e)&&null!==e))return(0,i.warn)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e;switch(e.name){case"AbortException":return new i.AbortException(e.message);case"MissingPDFException":return new i.MissingPDFException(e.message);case"PasswordException":return new i.PasswordException(e.message,e.code);case"UnexpectedResponseException":return new i.UnexpectedResponseException(e.message,e.status);case"UnknownErrorException":return new i.UnknownErrorException(e.message,e.details);default:return new i.UnknownErrorException(e.message,e.toString())}}var A=function(){function e(t,n,r){var o=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.sourceName=t,this.targetName=n,this.comObj=r,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=function(e){var t=e.data;if(t.targetName===o.sourceName)if(t.stream)o._processStreamMessage(t);else if(t.callback){var n=t.callbackId,i=o.callbackCapabilities[n];if(!i)throw new Error("Cannot resolve callback ".concat(n));if(delete o.callbackCapabilities[n],t.callback===c)i.resolve(t.data);else{if(t.callback!==u)throw new Error("Unexpected callback case");i.reject(y(t.reason))}}else{var a=o.actionHandler[t.action];if(!a)throw new Error("Unknown action from worker: ".concat(t.action));if(t.callbackId){var s=o.sourceName,l=t.sourceName;new Promise((function(e){e(a(t.data))})).then((function(e){r.postMessage({sourceName:s,targetName:l,callback:c,callbackId:t.callbackId,data:e})}),(function(e){r.postMessage({sourceName:s,targetName:l,callback:u,callbackId:t.callbackId,reason:y(e)})}))}else t.streamId?o._createStreamSink(t):a(t.data)}},r.addEventListener("message",this._onComObjOnMessage)}var t,n,r,l,A;return t=e,n=[{key:"on",value:function(e,t){var n=this.actionHandler;if(n[e])throw new Error('There is already an actionName called "'.concat(e,'"'));n[e]=t}},{key:"send",value:function(e,t,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,data:t},n)}},{key:"sendWithPromise",value:function(e,t,n){var r=this.callbackId++,o=(0,i.createPromiseCapability)();this.callbackCapabilities[r]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:e,callbackId:r,data:t},n)}catch(e){o.reject(e)}return o.promise}},{key:"sendWithStream",value:function(e,t,n,r){var o=this,a=this.streamId++,s=this.sourceName,l=this.targetName,c=this.comObj;return new ReadableStream({start:function(n){var u=(0,i.createPromiseCapability)();return o.streamControllers[a]={controller:n,startCall:u,pullCall:null,cancelCall:null,isClosed:!1},c.postMessage({sourceName:s,targetName:l,action:e,streamId:a,data:t,desiredSize:n.desiredSize},r),u.promise},pull:function(e){var t=(0,i.createPromiseCapability)();return o.streamControllers[a].pullCall=t,c.postMessage({sourceName:s,targetName:l,stream:g,streamId:a,desiredSize:e.desiredSize}),t.promise},cancel:function(e){(0,i.assert)(e instanceof Error,"cancel must have a valid reason");var t=(0,i.createPromiseCapability)();return o.streamControllers[a].cancelCall=t,o.streamControllers[a].isClosed=!0,c.postMessage({sourceName:s,targetName:l,stream:d,streamId:a,reason:y(e)}),t.promise}},n)}},{key:"_createStreamSink",value:function(e){var t=e.streamId,n=this.sourceName,r=e.sourceName,o=this.comObj,a=this,s=this.actionHandler[e.action],l={enqueue:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,s=arguments.length>2?arguments[2]:void 0;if(!this.isCancelled){var l=this.desiredSize;this.desiredSize-=a,l>0&&this.desiredSize<=0&&(this.sinkCapability=(0,i.createPromiseCapability)(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:n,targetName:r,stream:h,streamId:t,chunk:e},s)}},close:function(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:r,stream:p,streamId:t}),delete a.streamSinks[t])},error:function(e){(0,i.assert)(e instanceof Error,"error must have a valid reason"),this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:r,stream:m,streamId:t,reason:y(e)}))},sinkCapability:(0,i.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:e.desiredSize,ready:null};l.sinkCapability.resolve(),l.ready=l.sinkCapability.promise,this.streamSinks[t]=l,new Promise((function(t){t(s(e.data,l))})).then((function(){o.postMessage({sourceName:n,targetName:r,stream:b,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:n,targetName:r,stream:b,streamId:t,reason:y(e)})}))}},{key:"_processStreamMessage",value:function(e){var t=e.streamId,n=this.sourceName,r=e.sourceName,o=this.comObj,a=this.streamControllers[t],s=this.streamSinks[t];switch(e.stream){case b:e.success?a.startCall.resolve():a.startCall.reject(y(e.reason));break;case v:e.success?a.pullCall.resolve():a.pullCall.reject(y(e.reason));break;case g:if(!s){o.postMessage({sourceName:n,targetName:r,stream:v,streamId:t,success:!0});break}s.desiredSize<=0&&e.desiredSize>0&&s.sinkCapability.resolve(),s.desiredSize=e.desiredSize,new Promise((function(e){e(s.onPull&&s.onPull())})).then((function(){o.postMessage({sourceName:n,targetName:r,stream:v,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:n,targetName:r,stream:v,streamId:t,reason:y(e)})}));break;case h:if((0,i.assert)(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(e.chunk);break;case p:if((0,i.assert)(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),this._deleteStreamController(a,t);break;case m:(0,i.assert)(a,"error should have stream controller"),a.controller.error(y(e.reason)),this._deleteStreamController(a,t);break;case f:e.success?a.cancelCall.resolve():a.cancelCall.reject(y(e.reason)),this._deleteStreamController(a,t);break;case d:if(!s)break;new Promise((function(t){t(s.onCancel&&s.onCancel(y(e.reason)))})).then((function(){o.postMessage({sourceName:n,targetName:r,stream:f,streamId:t,success:!0})}),(function(e){o.postMessage({sourceName:n,targetName:r,stream:f,streamId:t,reason:y(e)})})),s.sinkCapability.reject(y(e.reason)),s.isCancelled=!0,delete this.streamSinks[t];break;default:throw new Error("Unexpected stream case")}}},{key:"_deleteStreamController",value:(l=o.default.mark((function e(t,n){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.allSettled([t.startCall&&t.startCall.promise,t.pullCall&&t.pullCall.promise,t.cancelCall&&t.cancelCall.promise]);case 2:delete this.streamControllers[n];case 3:case"end":return e.stop()}}),e,this)})),A=function(){var e=this,t=arguments;return new Promise((function(n,r){var o=l.apply(e,t);function i(e){a(o,n,r,i,s,"next",e)}function s(e){a(o,n,r,i,s,"throw",e)}i(void 0)}))},function(e,t){return A.apply(this,arguments)})},{key:"destroy",value:function(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}],n&&s(t.prototype,n),r&&s(t,r),e}();t.MessageHandler=A},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Metadata=void 0;var r=n(4);function o(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 i(e,t,n){!function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,n)}function a(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,l(e,t,"get"))}function s(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,l(e,t,"set"),n),n}function l(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}var c=new WeakMap,u=new WeakMap,d=function(){function e(t){var n=t.parsedData,r=t.rawData;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),i(this,c,{writable:!0,value:void 0}),i(this,u,{writable:!0,value:void 0}),s(this,c,n),s(this,u,r)}var t,n,l;return t=e,(n=[{key:"getRaw",value:function(){return a(this,u)}},{key:"get",value:function(e){var t;return null!==(t=a(this,c).get(e))&&void 0!==t?t:null}},{key:"getAll",value:function(){return(0,r.objectFromMap)(a(this,c))}},{key:"has",value:function(e){return a(this,c).has(e)}}])&&o(t.prototype,n),l&&o(t,l),e}();t.Metadata=d},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionalContentConfig=void 0;var r=n(4);function o(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(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 a(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 s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var l=function e(t,n){s(this,e),this.visible=!0,this.name=t,this.intent=n},c=function(){function e(t){if(s(this,e),this.name=null,this.creator=null,this._order=null,this._groups=new Map,null!==t){this.name=t.name,this.creator=t.creator,this._order=t.order;var n,r=o(t.groups);try{for(r.s();!(n=r.n()).done;){var i=n.value;this._groups.set(i.id,new l(i.name,i.intent))}}catch(e){r.e(e)}finally{r.f()}if("OFF"===t.baseState){var a,c=o(this._groups);try{for(c.s();!(a=c.n()).done;)a.value.visible=!1}catch(e){c.e(e)}finally{c.f()}}var u,d=o(t.on);try{for(d.s();!(u=d.n()).done;){var f=u.value;this._groups.get(f).visible=!0}}catch(e){d.e(e)}finally{d.f()}var p,h=o(t.off);try{for(h.s();!(p=h.n()).done;){var m=p.value;this._groups.get(m).visible=!1}}catch(e){h.e(e)}finally{h.f()}}}var t,n,i;return t=e,n=[{key:"_evaluateVisibilityExpression",value:function(e){var t=e.length;if(t<2)return!0;for(var n=e[0],o=1;o<t;o++){var i=e[o],a=void 0;if(Array.isArray(i))a=this._evaluateVisibilityExpression(i);else{if(!this._groups.has(i))return(0,r.warn)("Optional content group not found: ".concat(i)),!0;a=this._groups.get(i).visible}switch(n){case"And":if(!a)return!1;break;case"Or":if(a)return!0;break;case"Not":return!a;default:return!0}}return"And"===n}},{key:"isVisible",value:function(e){if(0===this._groups.size)return!0;if(!e)return(0,r.warn)("Optional content group not defined."),!0;if("OCG"===e.type)return this._groups.has(e.id)?this._groups.get(e.id).visible:((0,r.warn)("Optional content group not found: ".concat(e.id)),!0);if("OCMD"===e.type){if(e.expression)return this._evaluateVisibilityExpression(e.expression);if(!e.policy||"AnyOn"===e.policy){var t,n=o(e.ids);try{for(n.s();!(t=n.n()).done;){var i=t.value;if(!this._groups.has(i))return(0,r.warn)("Optional content group not found: ".concat(i)),!0;if(this._groups.get(i).visible)return!0}}catch(e){n.e(e)}finally{n.f()}return!1}if("AllOn"===e.policy){var a,s=o(e.ids);try{for(s.s();!(a=s.n()).done;){var l=a.value;if(!this._groups.has(l))return(0,r.warn)("Optional content group not found: ".concat(l)),!0;if(!this._groups.get(l).visible)return!1}}catch(e){s.e(e)}finally{s.f()}return!0}if("AnyOff"===e.policy){var c,u=o(e.ids);try{for(u.s();!(c=u.n()).done;){var d=c.value;if(!this._groups.has(d))return(0,r.warn)("Optional content group not found: ".concat(d)),!0;if(!this._groups.get(d).visible)return!0}}catch(e){u.e(e)}finally{u.f()}return!1}if("AllOff"===e.policy){var f,p=o(e.ids);try{for(p.s();!(f=p.n()).done;){var h=f.value;if(!this._groups.has(h))return(0,r.warn)("Optional content group not found: ".concat(h)),!0;if(this._groups.get(h).visible)return!1}}catch(e){p.e(e)}finally{p.f()}return!0}return(0,r.warn)("Unknown optional content policy ".concat(e.policy,".")),!0}return(0,r.warn)("Unknown group type ".concat(e.type,".")),!0}},{key:"setVisibility",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._groups.has(e)?this._groups.get(e).visible=!!t:(0,r.warn)("Optional content group not found: ".concat(e))}},{key:"getOrder",value:function(){return this._groups.size?this._order?this._order.slice():Array.from(this._groups.keys()):null}},{key:"getGroups",value:function(){return this._groups.size>0?(0,r.objectFromMap)(this._groups):null}},{key:"getGroup",value:function(e){return this._groups.get(e)||null}}],n&&a(t.prototype,n),i&&a(t,i),e}();t.OptionalContentConfig=c},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFDataTransportStream=void 0;var r,o=(r=n(2))&&r.__esModule?r:{default:r},i=n(4),a=n(1);function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))}}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(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 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 p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}var h=function(){function e(t,n){var r=this;d(this,e),(0,i.assert)(n,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=t.progressiveDone||!1,this._contentDispositionFilename=t.contentDispositionFilename||null;var o=t.initialData;if((null==o?void 0:o.length)>0){var a=new Uint8Array(o).buffer;this._queuedChunks.push(a)}this._pdfDataRangeTransport=n,this._isStreamingSupported=!t.disableStream,this._isRangeSupported=!t.disableRange,this._contentLength=t.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((function(e,t){r._onReceiveData({begin:e,chunk:t})})),this._pdfDataRangeTransport.addProgressListener((function(e,t){r._onProgress({loaded:e,total:t})})),this._pdfDataRangeTransport.addProgressiveReadListener((function(e){r._onReceiveData({chunk:e})})),this._pdfDataRangeTransport.addProgressiveDoneListener((function(){r._onProgressiveDone()})),this._pdfDataRangeTransport.transportReady()}return p(e,[{key:"_onReceiveData",value:function(e){var t=new Uint8Array(e.chunk).buffer;if(void 0===e.begin)this._fullRequestReader?this._fullRequestReader._enqueue(t):this._queuedChunks.push(t);else{var n=this._rangeReaders.some((function(n){return n._begin===e.begin&&(n._enqueue(t),!0)}));(0,i.assert)(n,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}},{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"_onProgress",value:function(e){if(void 0===e.total){var t=this._rangeReaders[0];null!=t&&t.onProgress&&t.onProgress({loaded:e.loaded})}else{var n=this._fullRequestReader;null!=n&&n.onProgress&&n.onProgress({loaded:e.loaded,total:e.total})}}},{key:"_onProgressiveDone",value:function(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}},{key:"_removeRangeReader",value:function(e){var t=this._rangeReaders.indexOf(e);t>=0&&this._rangeReaders.splice(t,1)}},{key:"getFullReader",value:function(){(0,i.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");var e=this._queuedChunks;return this._queuedChunks=null,new m(this,e,this._progressiveDone,this._contentDispositionFilename)}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new g(this,e,t);return this._pdfDataRangeTransport.requestDataRange(e,t),this._rangeReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=c(this._rangeReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}this._pdfDataRangeTransport.abort()}}]),e}();t.PDFDataTransportStream=h;var m=function(){function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;d(this,e),this._stream=t,this._done=r||!1,this._filename=(0,a.isPdfFile)(o)?o:null,this._queuedChunks=n||[],this._loaded=0;var i,s=c(this._queuedChunks);try{for(s.s();!(i=s.n()).done;){var l=i.value;this._loaded+=l.byteLength}}catch(e){s.e(e)}finally{s.f()}this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}var t;return p(e,[{key:"_enqueue",value:function(e){this._done||(this._requests.length>0?this._requests.shift().resolve({value:e,done:!1}):this._queuedChunks.push(e),this._loaded+=e.byteLength)}},{key:"headersReady",get:function(){return this._headersReady}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._stream._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._stream._isStreamingSupported}},{key:"contentLength",get:function(){return this._stream._contentLength}},{key:"read",value:(t=l(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(this._queuedChunks.length>0)){e.next=3;break}return t=this._queuedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 3:if(!this._done){e.next=5;break}return e.abrupt("return",{value:void 0,done:!0});case 5:return n=(0,i.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 8:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0}},{key:"progressiveDone",value:function(){this._done||(this._done=!0)}}]),e}(),g=function(){function e(t,n,r){d(this,e),this._stream=t,this._begin=n,this._end=r,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}var t;return p(e,[{key:"_enqueue",value:function(e){if(!this._done){if(0===this._requests.length)this._queuedChunk=e;else{this._requests.shift().resolve({value:e,done:!1});var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=l(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._queuedChunk){e.next=4;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 4:if(!this._done){e.next=6;break}return e.abrupt("return",{value:void 0,done:!0});case 6:return n=(0,i.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 9:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._stream._removeRangeReader(this)}}]),e}()},(e,t)=>{"use strict";function n(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},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,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}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}function o(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)}}Object.defineProperty(t,"__esModule",{value:!0}),t.XfaText=void 0;var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,i;return t=e,i=[{key:"textContent",value:function(t){var r=[],o={items:r,styles:Object.create(null)};return function t(o){var i;if(o){var a=null,s=o.name;if("#text"===s)a=o.value;else{if(!e.shouldBuildText(s))return;null!=o&&null!==(i=o.attributes)&&void 0!==i&&i.textContent?a=o.attributes.textContent:o.value&&(a=o.value)}if(null!==a&&r.push({str:a}),o.children){var l,c=n(o.children);try{for(c.s();!(l=c.n()).done;)t(l.value)}catch(e){c.e(e)}finally{c.f()}}}}(t),o}},{key:"shouldBuildText",value:function(e){return!("textarea"===e||"input"===e||"option"===e||"select"===e)}}],(r=null)&&o(t.prototype,r),i&&o(t,i),e}();t.XfaText=i},(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.AnnotationLayer=void 0;var o=n(4),i=n(1),a=n(139),s=n(149),l=n(150);function c(e,t,n){return function(e,t){if(e!==t)throw new TypeError("Private static access of wrong provenance")}(e,t),n}function u(e,t,n){return u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=b(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},u(e,t,n||e)}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e){return function(e){if(Array.isArray(e))return C(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||x(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 p(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}}),t&&h(e,t)}function h(e,t){return h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},h(e,t)}function m(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=b(e);if(t){var o=b(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 v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function y(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=x(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function A(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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||x(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 x(e,t){if(e){if("string"==typeof e)return C(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)?C(e,t):void 0}}function C(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 _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function w(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 k(e,t,n){return t&&w(e.prototype,t),n&&w(e,n),e}var S=1e3,E=new WeakSet,B=function(){function e(){_(this,e)}return k(e,null,[{key:"create",value:function(e){switch(e.data.annotationType){case o.AnnotationType.LINK:return new j(e);case o.AnnotationType.TEXT:return new T(e);case o.AnnotationType.WIDGET:switch(e.data.fieldType){case"Tx":return new M(e);case"Btn":return e.data.radioButton?new R(e):e.data.checkBox?new D(e):new L(e);case"Ch":return new I(e)}return new P(e);case o.AnnotationType.POPUP:return new N(e);case o.AnnotationType.FREETEXT:return new z(e);case o.AnnotationType.LINE:return new q(e);case o.AnnotationType.SQUARE:return new U(e);case o.AnnotationType.CIRCLE:return new H(e);case o.AnnotationType.POLYLINE:return new W(e);case o.AnnotationType.CARET:return new Y(e);case o.AnnotationType.INK:return new Z(e);case o.AnnotationType.POLYGON:return new V(e);case o.AnnotationType.HIGHLIGHT:return new G(e);case o.AnnotationType.UNDERLINE:return new K(e);case o.AnnotationType.SQUIGGLY:return new $(e);case o.AnnotationType.STRIKEOUT:return new X(e);case o.AnnotationType.STAMP:return new Q(e);case o.AnnotationType.FILEATTACHMENT:return new J(e);default:return new O(e)}}}]),e}(),O=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.isRenderable,o=void 0!==r&&r,i=n.ignoreBorder,a=void 0!==i&&i,s=n.createQuadrilaterals,l=void 0!==s&&s;_(this,e),this.isRenderable=o,this.data=t.data,this.layer=t.layer,this.page=t.page,this.viewport=t.viewport,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this._mouseState=t.mouseState,o&&(this.container=this._createContainer(a)),l&&(this.quadrilaterals=this._createQuadrilaterals(a))}return k(e,[{key:"_createContainer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.data,n=this.page,r=this.viewport,i=document.createElement("section"),a=t.rect[2]-t.rect[0],s=t.rect[3]-t.rect[1];i.setAttribute("data-annotation-id",t.id);var l=o.Util.normalizeRect([t.rect[0],n.view[3]-t.rect[1]+n.view[1],t.rect[2],n.view[3]-t.rect[3]+n.view[1]]);if(t.hasOwnCanvas){var c=r.transform.slice(),u=o.Util.singularValueDecompose2dScale(c),d=A(u,2),f=d[0],p=d[1];a=Math.ceil(a*f),s=Math.ceil(s*p),l[0]*=f,l[1]*=p;for(var h=0;h<4;h++)c[h]=Math.sign(c[h]);i.style.transform="matrix(".concat(c.join(","),")")}else i.style.transform="matrix(".concat(r.transform.join(","),")");if(i.style.transformOrigin="".concat(-l[0],"px ").concat(-l[1],"px"),!e&&t.borderStyle.width>0){i.style.borderWidth="".concat(t.borderStyle.width,"px"),t.borderStyle.style!==o.AnnotationBorderStyleType.UNDERLINE&&(a-=2*t.borderStyle.width,s-=2*t.borderStyle.width);var m=t.borderStyle.horizontalCornerRadius,g=t.borderStyle.verticalCornerRadius;if(m>0||g>0){var v="".concat(m,"px / ").concat(g,"px");i.style.borderRadius=v}switch(t.borderStyle.style){case o.AnnotationBorderStyleType.SOLID:i.style.borderStyle="solid";break;case o.AnnotationBorderStyleType.DASHED:i.style.borderStyle="dashed";break;case o.AnnotationBorderStyleType.BEVELED:(0,o.warn)("Unimplemented border style: beveled");break;case o.AnnotationBorderStyleType.INSET:(0,o.warn)("Unimplemented border style: inset");break;case o.AnnotationBorderStyleType.UNDERLINE:i.style.borderBottomStyle="solid"}var b=t.borderColor||t.color||null;b?i.style.borderColor=o.Util.makeHexColor(0|t.color[0],0|t.color[1],0|t.color[2]):i.style.borderWidth=0}return i.style.left="".concat(l[0],"px"),i.style.top="".concat(l[1],"px"),t.hasOwnCanvas?i.style.width=i.style.height="auto":(i.style.width="".concat(a,"px"),i.style.height="".concat(s,"px")),i}},{key:"_createQuadrilaterals",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.data.quadPoints)return null;var t,n=[],r=this.data.rect,o=y(this.data.quadPoints);try{for(o.s();!(t=o.n()).done;){var i=t.value;this.data.rect=[i[2].x,i[2].y,i[1].x,i[1].y],n.push(this._createContainer(e))}}catch(e){o.e(e)}finally{o.f()}return this.data.rect=r,n}},{key:"_createPopup",value:function(e,t){var n=this.container;this.quadrilaterals&&(e=e||this.quadrilaterals,n=this.quadrilaterals[0]),e||((e=document.createElement("div")).style.height=n.style.height,e.style.width=n.style.width,n.appendChild(e));var r=new F({container:n,trigger:e,color:t.color,titleObj:t.titleObj,modificationDate:t.modificationDate,contentsObj:t.contentsObj,richText:t.richText,hideWrapper:!0}).render();r.style.left=n.style.width,n.appendChild(r)}},{key:"_renderQuadrilaterals",value:function(e){var t,n=y(this.quadrilaterals);try{for(n.s();!(t=n.n()).done;)t.value.className=e}catch(e){n.e(e)}finally{n.f()}return this.quadrilaterals}},{key:"render",value:function(){(0,o.unreachable)("Abstract method `AnnotationElement.render` called")}},{key:"_getElementsByName",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=[];if(this._fieldObjects){var r=this._fieldObjects[e];if(r){var i,a=y(r);try{for(a.s();!(i=a.n()).done;){var s=i.value,l=s.page,c=s.id,u=s.exportValues;if(-1!==l&&c!==t){var d="string"==typeof u?u:null,f=document.getElementById(c);!f||E.has(f)?n.push({id:c,exportValue:d,domElement:f}):(0,o.warn)("_getElementsByName - element not allowed: ".concat(c))}}}catch(e){a.e(e)}finally{a.f()}}return n}var p,h=y(document.getElementsByName(e));try{for(h.s();!(p=h.n()).done;){var m=p.value,g=m.id,v=m.exportValue;g!==t&&E.has(m)&&n.push({id:g,exportValue:v,domElement:m})}}catch(e){h.e(e)}finally{h.f()}return n}}],[{key:"platform",get:function(){var e="undefined"!=typeof navigator?navigator.platform:"";return(0,o.shadow)(this,"platform",{isWin:e.includes("Win"),isMac:e.includes("Mac")})}}]),e}(),j=function(e){p(n,e);var t=m(n);function n(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;_(this,n);var o=!!(e.data.url||e.data.dest||e.data.action||e.data.isTooltipOnly||e.data.resetForm||e.data.actions&&(e.data.actions.Action||e.data.actions["Mouse Up"]||e.data.actions["Mouse Down"]));return t.call(this,e,{isRenderable:o,ignoreBorder:!(null==r||!r.ignoreBorder),createQuadrilaterals:!0})}return k(n,[{key:"render",value:function(){var e,t=this.data,n=this.linkService,r=document.createElement("a");if(t.url)n.addLinkAttributes||(0,o.warn)("LinkAnnotationElement.render - missing `addLinkAttributes`-method on the `linkService`-instance."),null===(e=n.addLinkAttributes)||void 0===e||e.call(n,r,t.url,t.newWindow);else if(t.action)this._bindNamedAction(r,t.action);else if(t.dest)this._bindLink(r,t.dest);else{var i=!1;t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(i=!0,this._bindJSAction(r,t)),t.resetForm?this._bindResetFormAction(r,t.resetForm):i||this._bindLink(r,"")}return this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((function(e,t){var n=0===t?r:r.cloneNode();return e.appendChild(n),e})):(this.container.className="linkAnnotation",this.container.appendChild(r),this.container)}},{key:"_bindLink",value:function(e,t){var n=this;e.href=this.linkService.getDestinationHash(t),e.onclick=function(){return t&&n.linkService.goToDestination(t),!1},(t||""===t)&&(e.className="internalLink")}},{key:"_bindNamedAction",value:function(e,t){var n=this;e.href=this.linkService.getAnchorUrl(""),e.onclick=function(){return n.linkService.executeNamedAction(t),!1},e.className="internalLink"}},{key:"_bindJSAction",value:function(e,t){var n=this;e.href=this.linkService.getAnchorUrl("");for(var r=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]),o=function(){var o=a[i],s=r.get(o);if(!s)return"continue";e[s]=function(){var e;return null===(e=n.linkService.eventBus)||void 0===e||e.dispatch("dispatcheventinsandbox",{source:n,detail:{id:t.id,name:o}}),!1}},i=0,a=Object.keys(t.actions);i<a.length;i++)o();e.onclick||(e.onclick=function(){return!1}),e.className="internalLink"}},{key:"_bindResetFormAction",value:function(e,t){var n=this,r=e.onclick;if(r||(e.href=this.linkService.getAnchorUrl("")),e.className="internalLink",!this._fieldObjects)return(0,o.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),void(r||(e.onclick=function(){return!1}));e.onclick=function(){r&&r();var e=t.fields,o=t.refs,i=t.include,a=[];if(0!==e.length||0!==o.length){var s,l=new Set(o),c=y(e);try{for(c.s();!(s=c.n()).done;){var u,d=s.value,p=y(n._fieldObjects[d]||[]);try{for(p.s();!(u=p.n()).done;){var h=u.value.id;l.add(h)}}catch(e){p.e(e)}finally{p.f()}}}catch(e){c.e(e)}finally{c.f()}for(var m=0,g=Object.values(n._fieldObjects);m<g.length;m++){var v,b=y(g[m]);try{for(b.s();!(v=b.n()).done;){var A=v.value;l.has(A.id)===i&&a.push(A)}}catch(e){b.e(e)}finally{b.f()}}}else for(var x=0,C=Object.values(n._fieldObjects);x<C.length;x++){var _=C[x];a.push.apply(a,f(_))}for(var w,k=n.annotationStorage,S=[],B=0,O=a;B<O.length;B++){var j=O[B],T=j.id;switch(S.push(T),j.type){case"text":var P=j.defaultValue||"";k.setValue(T,{value:P,valueAsString:P});break;case"checkbox":case"radiobutton":var M=j.defaultValue===j.exportValues;k.setValue(T,{value:M});break;case"combobox":case"listbox":var D=j.defaultValue||"";k.setValue(T,{value:D});break;default:continue}var R=document.getElementById(T);R&&E.has(R)&&R.dispatchEvent(new Event("resetform"))}return n.enableScripting&&(null===(w=n.linkService.eventBus)||void 0===w||w.dispatch("dispatcheventinsandbox",{source:n,detail:{id:"app",ids:S,name:"ResetForm"}})),!1}}}]),n}(O),T=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a})}return k(n,[{key:"render",value:function(){this.container.className="textAnnotation";var e=document.createElement("img");return e.style.height=this.container.style.height,e.style.width=this.container.style.width,e.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",e.alt="[{{type}} Annotation]",e.dataset.l10nId="text_annotation_type",e.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(e,this.data),this.container.appendChild(e),this.container}}]),n}(O),P=function(e){p(n,e);var t=m(n);function n(){return _(this,n),t.apply(this,arguments)}return k(n,[{key:"render",value:function(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}},{key:"_getKeyModifier",value:function(e){var t=O.platform,n=t.isWin,r=t.isMac;return n&&e.ctrlKey||r&&e.metaKey}},{key:"_setEventListener",value:function(e,t,n,r){var o=this;t.includes("mouse")?e.addEventListener(t,(function(e){var t;null===(t=o.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:o,detail:{id:o.data.id,name:n,value:r(e),shift:e.shiftKey,modifier:o._getKeyModifier(e)}})})):e.addEventListener(t,(function(e){var t;null===(t=o.linkService.eventBus)||void 0===t||t.dispatch("dispatcheventinsandbox",{source:o,detail:{id:o.data.id,name:n,value:e.target.checked}})}))}},{key:"_setEventListeners",value:function(e,t,n){var r,o=y(t);try{for(o.s();!(r=o.n()).done;){var i,a=A(r.value,2),s=a[0],l=a[1];("Action"===l||null!==(i=this.data.actions)&&void 0!==i&&i[l])&&this._setEventListener(e,s,l,n)}}catch(e){o.e(e)}finally{o.f()}}},{key:"_setBackgroundColor",value:function(e){var t=this.data.backgroundColor||null;e.style.backgroundColor=null===t?"transparent":o.Util.makeHexColor(t[0],t[1],t[2])}},{key:"_dispatchEventFromSandbox",value:function(e,t){for(var n=this,r=function(e,t,n){var r=n.detail[e];n.target.style[t]=s.ColorConverters["".concat(r[0],"_HTML")](r.slice(1))},o={display:function(e){var t=e.detail.display%2==1;e.target.style.visibility=t?"hidden":"visible",n.annotationStorage.setValue(n.data.id,{hidden:t,print:0===e.detail.display||3===e.detail.display})},print:function(e){n.annotationStorage.setValue(n.data.id,{print:e.detail.print})},hidden:function(e){e.target.style.visibility=e.detail.hidden?"hidden":"visible",n.annotationStorage.setValue(n.data.id,{hidden:e.detail.hidden})},focus:function(e){setTimeout((function(){return e.target.focus({preventScroll:!1})}),0)},userName:function(e){e.target.title=e.detail.userName},readonly:function(e){e.detail.readonly?e.target.setAttribute("readonly",""):e.target.removeAttribute("readonly")},required:function(e){e.detail.required?e.target.setAttribute("required",""):e.target.removeAttribute("required")},bgColor:function(e){r("bgColor","backgroundColor",e)},fillColor:function(e){r("fillColor","backgroundColor",e)},fgColor:function(e){r("fgColor","color",e)},textColor:function(e){r("textColor","color",e)},borderColor:function(e){r("borderColor","borderColor",e)},strokeColor:function(e){r("strokeColor","borderColor",e)}},i=0,a=Object.keys(t.detail);i<a.length;i++){var l=a[i],c=e[l]||o[l];c&&c(t)}}}]),n}(O),M=function(e){p(n,e);var t=m(n);function n(e){_(this,n);var r=e.renderForms||!e.data.hasAppearance&&!!e.data.fieldValue;return t.call(this,e,{isRenderable:r})}return k(n,[{key:"setPropertyOnSiblings",value:function(e,t,n,r){var o,i=this.annotationStorage,a=y(this._getElementsByName(e.name,e.id));try{for(a.s();!(o=a.n()).done;){var s=o.value;s.domElement&&(s.domElement[t]=n),i.setValue(s.id,d({},r,n))}}catch(e){a.e(e)}finally{a.f()}}},{key:"render",value:function(){var e=this,t=this.annotationStorage,n=this.data.id;this.container.className="textWidgetAnnotation";var r=null;if(this.renderForms){var o=t.getValue(n,{value:this.data.fieldValue,valueAsString:this.data.fieldValue}),i=o.valueAsString||o.value||"",a={userValue:null,formattedValue:null,beforeInputSelectionRange:null,beforeInputValue:null};this.data.multiLine?(r=document.createElement("textarea")).textContent=i:((r=document.createElement("input")).type="text",r.setAttribute("value",i)),E.add(r),r.disabled=this.data.readOnly,r.name=this.data.fieldName,r.tabIndex=S,a.userValue=i,r.setAttribute("id",n),r.addEventListener("input",(function(o){t.setValue(n,{value:o.target.value}),e.setPropertyOnSiblings(r,"value",o.target.value,"value")})),r.addEventListener("resetform",(function(t){var n=e.data.defaultFieldValue||"";r.value=a.userValue=n,delete a.formattedValue}));var s=function(e){a.formattedValue&&(e.target.value=a.formattedValue),e.target.scrollLeft=0,a.beforeInputSelectionRange=null};if(this.enableScripting&&this.hasJSActions){var l;r.addEventListener("focus",(function(e){a.userValue&&(e.target.value=a.userValue)})),r.addEventListener("updatefromsandbox",(function(r){var o={value:function(e){a.userValue=e.detail.value||"",t.setValue(n,{value:a.userValue.toString()}),a.formattedValue||(e.target.value=a.userValue)},valueAsString:function(e){a.formattedValue=e.detail.valueAsString||"",e.target!==document.activeElement&&(e.target.value=a.formattedValue),t.setValue(n,{formattedValue:a.formattedValue})},selRange:function(e){var t=A(e.detail.selRange,2),n=t[0],r=t[1];n>=0&&r<e.target.value.length&&e.target.setSelectionRange(n,r)}};e._dispatchEventFromSandbox(o,r)})),r.addEventListener("keydown",(function(t){var r;a.beforeInputValue=t.target.value;var o=-1;"Escape"===t.key?o=0:"Enter"===t.key?o=2:"Tab"===t.key&&(o=3),-1!==o&&(a.userValue=t.target.value,null===(r=e.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:t.target.value,willCommit:!0,commitKey:o,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}}))}));var c=s;s=null,r.addEventListener("blur",(function(t){var r;e._mouseState.isDown&&(a.userValue=t.target.value,null===(r=e.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:t.target.value,willCommit:!0,commitKey:1,selStart:t.target.selectionStart,selEnd:t.target.selectionEnd}})),c(t)})),r.addEventListener("mousedown",(function(e){a.beforeInputValue=e.target.value,a.beforeInputSelectionRange=null})),r.addEventListener("keyup",(function(e){e.target.selectionStart===e.target.selectionEnd&&(a.beforeInputSelectionRange=null)})),r.addEventListener("select",(function(e){a.beforeInputSelectionRange=[e.target.selectionStart,e.target.selectionEnd]})),null!==(l=this.data.actions)&&void 0!==l&&l.Keystroke&&r.addEventListener("input",(function(t){var r,o=-1,i=-1;if(a.beforeInputSelectionRange){var s=A(a.beforeInputSelectionRange,2);o=s[0],i=s[1]}null===(r=e.linkService.eventBus)||void 0===r||r.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:a.beforeInputValue,change:t.data,willCommit:!1,selStart:o,selEnd:i}})})),this._setEventListeners(r,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.value}))}if(s&&r.addEventListener("blur",s),null!==this.data.maxLen&&(r.maxLength=this.data.maxLen),this.data.comb){var u=(this.data.rect[2]-this.data.rect[0])/this.data.maxLen;r.classList.add("comb"),r.style.letterSpacing="calc(".concat(u,"px - 1ch)")}}else(r=document.createElement("div")).textContent=this.data.fieldValue,r.style.verticalAlign="middle",r.style.display="table-cell";return this._setTextStyle(r),this._setBackgroundColor(r),this.container.appendChild(r),this.container}},{key:"_setTextStyle",value:function(e){var t=this.data.defaultAppearanceData,n=t.fontSize,r=t.fontColor,i=e.style;n&&(i.fontSize="".concat(n,"px")),i.color=o.Util.makeHexColor(r[0],r[1],r[2]),null!==this.data.textAlignment&&(i.textAlign=["left","center","right"][this.data.textAlignment])}}]),n}(P),D=function(e){p(n,e);var t=m(n);function n(e){return _(this,n),t.call(this,e,{isRenderable:e.renderForms})}return k(n,[{key:"render",value:function(){var e=this,t=this.annotationStorage,n=this.data,r=n.id,o=t.getValue(r,{value:n.exportValue===n.fieldValue}).value;"string"==typeof o&&(o="Off"!==o,t.setValue(r,{value:o})),this.container.className="buttonWidgetAnnotation checkBox";var i=document.createElement("input");return E.add(i),i.disabled=n.readOnly,i.type="checkbox",i.name=n.fieldName,o&&i.setAttribute("checked",!0),i.setAttribute("id",r),i.setAttribute("exportValue",n.exportValue),i.tabIndex=S,i.addEventListener("change",(function(o){var i,a=o.target,s=a.name,l=a.checked,c=y(e._getElementsByName(s,r));try{for(c.s();!(i=c.n()).done;){var u=i.value,d=l&&u.exportValue===n.exportValue;u.domElement&&(u.domElement.checked=d),t.setValue(u.id,{value:d})}}catch(e){c.e(e)}finally{c.f()}t.setValue(r,{value:l})})),i.addEventListener("resetform",(function(e){var t=n.defaultFieldValue||"Off";e.target.checked=t===n.exportValue})),this.enableScripting&&this.hasJSActions&&(i.addEventListener("updatefromsandbox",(function(n){var o={value:function(e){e.target.checked="Off"!==e.detail.value,t.setValue(r,{value:e.target.checked})}};e._dispatchEventFromSandbox(o,n)})),this._setEventListeners(i,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.checked}))),this._setBackgroundColor(i),this.container.appendChild(i),this.container}}]),n}(P),R=function(e){p(n,e);var t=m(n);function n(e){return _(this,n),t.call(this,e,{isRenderable:e.renderForms})}return k(n,[{key:"render",value:function(){var e=this;this.container.className="buttonWidgetAnnotation radioButton";var t=this.annotationStorage,n=this.data,r=n.id,o=t.getValue(r,{value:n.fieldValue===n.buttonValue}).value;"string"==typeof o&&(o=o!==n.buttonValue,t.setValue(r,{value:o}));var i=document.createElement("input");if(E.add(i),i.disabled=n.readOnly,i.type="radio",i.name=n.fieldName,o&&i.setAttribute("checked",!0),i.setAttribute("id",r),i.tabIndex=S,i.addEventListener("change",(function(n){var o,i=n.target,a=i.name,s=i.checked,l=y(e._getElementsByName(a,r));try{for(l.s();!(o=l.n()).done;){var c=o.value;t.setValue(c.id,{value:!1})}}catch(e){l.e(e)}finally{l.f()}t.setValue(r,{value:s})})),i.addEventListener("resetform",(function(e){var t=n.defaultFieldValue;e.target.checked=null!=t&&t===n.buttonValue})),this.enableScripting&&this.hasJSActions){var a=n.buttonValue;i.addEventListener("updatefromsandbox",(function(n){var o={value:function(n){var o,i=a===n.detail.value,s=y(e._getElementsByName(n.target.name));try{for(s.s();!(o=s.n()).done;){var l=o.value,c=i&&l.id===r;l.domElement&&(l.domElement.checked=c),t.setValue(l.id,{value:c})}}catch(e){s.e(e)}finally{s.f()}}};e._dispatchEventFromSandbox(o,n)})),this._setEventListeners(i,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],(function(e){return e.target.checked}))}return this._setBackgroundColor(i),this.container.appendChild(i),this.container}}]),n}(P),L=function(e){p(n,e);var t=m(n);function n(e){return _(this,n),t.call(this,e,{ignoreBorder:e.data.hasAppearance})}return k(n,[{key:"render",value:function(){var e=u(b(n.prototype),"render",this).call(this);return e.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(e.title=this.data.alternativeText),e}}]),n}(j),I=function(e){p(n,e);var t=m(n);function n(e){return _(this,n),t.call(this,e,{isRenderable:e.renderForms})}return k(n,[{key:"render",value:function(){var e=this;this.container.className="choiceWidgetAnnotation";var t=this.annotationStorage,n=this.data.id;t.getValue(n,{value:this.data.fieldValue.length>0?this.data.fieldValue[0]:void 0});var r=this.data.defaultAppearanceData.fontSize;r||(r=9);var o="calc(".concat(r,"px * var(--zoom-factor))"),i=document.createElement("select");E.add(i),i.disabled=this.data.readOnly,i.name=this.data.fieldName,i.setAttribute("id",n),i.tabIndex=S,i.style.fontSize="".concat(r,"px"),this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",(function(t){var n,r=e.data.defaultFieldValue,o=y(i.options);try{for(o.s();!(n=o.n()).done;){var a=n.value;a.selected=a.value===r}}catch(e){o.e(e)}finally{o.f()}}));var a,s=y(this.data.options);try{for(s.s();!(a=s.n()).done;){var l=a.value,c=document.createElement("option");c.textContent=l.displayValue,c.value=l.exportValue,this.data.combo&&(c.style.fontSize=o),this.data.fieldValue.includes(l.exportValue)&&c.setAttribute("selected",!0),i.appendChild(c)}}catch(e){s.e(e)}finally{s.f()}var u=function(e,t){var n=t?"value":"textContent",r=e.target.options;return e.target.multiple?Array.prototype.filter.call(r,(function(e){return e.selected})).map((function(e){return e[n]})):-1===r.selectedIndex?null:r[r.selectedIndex][n]},d=function(e){var t=e.target.options;return Array.prototype.map.call(t,(function(e){return{displayValue:e.textContent,exportValue:e.value}}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",(function(r){var o={value:function(e){var r,o=e.detail.value,a=new Set(Array.isArray(o)?o:[o]),s=y(i.options);try{for(s.s();!(r=s.n()).done;){var l=r.value;l.selected=a.has(l.value)}}catch(e){s.e(e)}finally{s.f()}t.setValue(n,{value:u(e,!0)})},multipleSelection:function(e){i.multiple=!0},remove:function(e){var r=i.options,o=e.detail.remove;if(r[o].selected=!1,i.remove(o),r.length>0){var a=Array.prototype.findIndex.call(r,(function(e){return e.selected}));-1===a&&(r[0].selected=!0)}t.setValue(n,{value:u(e,!0),items:d(e)})},clear:function(e){for(;0!==i.length;)i.remove(0);t.setValue(n,{value:null,items:[]})},insert:function(e){var r=e.detail.insert,o=r.index,a=r.displayValue,s=r.exportValue,l=document.createElement("option");l.textContent=a,l.value=s,i.insertBefore(l,i.children[o]),t.setValue(n,{value:u(e,!0),items:d(e)})},items:function(e){for(var r=e.detail.items;0!==i.length;)i.remove(0);var o,a=y(r);try{for(a.s();!(o=a.n()).done;){var s=o.value,l=s.displayValue,c=s.exportValue,f=document.createElement("option");f.textContent=l,f.value=c,i.appendChild(f)}}catch(e){a.e(e)}finally{a.f()}i.options.length>0&&(i.options[0].selected=!0),t.setValue(n,{value:u(e,!0),items:d(e)})},indices:function(e){var r,o=new Set(e.detail.indices),i=y(e.target.options);try{for(i.s();!(r=i.n()).done;){var a=r.value;a.selected=o.has(a.index)}}catch(e){i.e(e)}finally{i.f()}t.setValue(n,{value:u(e,!0)})},editable:function(e){e.target.disabled=!e.detail.editable}};e._dispatchEventFromSandbox(o,r)})),i.addEventListener("input",(function(r){var o,i=u(r,!0),a=u(r,!1);t.setValue(n,{value:i}),null===(o=e.linkService.eventBus)||void 0===o||o.dispatch("dispatcheventinsandbox",{source:e,detail:{id:n,name:"Keystroke",value:a,changeEx:i,willCommit:!0,commitKey:1,keyDown:!1}})})),this._setEventListeners(i,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],(function(e){return e.target.checked}))):i.addEventListener("input",(function(e){t.setValue(n,{value:u(e)})})),this._setBackgroundColor(i),this.container.appendChild(i),this.container}}]),n}(P),N=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a})}return k(n,[{key:"render",value:function(){if(this.container.className="popupAnnotation",["Line","Square","Circle","PolyLine","Polygon","Ink"].includes(this.data.parentType))return this.container;var e='[data-annotation-id="'.concat(this.data.parentId,'"]'),t=this.layer.querySelectorAll(e);if(0===t.length)return this.container;var n=new F({container:this.container,trigger:Array.from(t),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),r=this.page,i=o.Util.normalizeRect([this.data.parentRect[0],r.view[3]-this.data.parentRect[1]+r.view[1],this.data.parentRect[2],r.view[3]-this.data.parentRect[3]+r.view[1]]),a=i[0]+this.data.parentRect[2]-this.data.parentRect[0],s=i[1];return this.container.style.transformOrigin="".concat(-a,"px ").concat(-s,"px"),this.container.style.left="".concat(a,"px"),this.container.style.top="".concat(s,"px"),this.container.appendChild(n.render()),this.container}}]),n}(O),F=function(){function e(t){_(this,e),this.container=t.container,this.trigger=t.trigger,this.color=t.color,this.titleObj=t.titleObj,this.modificationDate=t.modificationDate,this.contentsObj=t.contentsObj,this.richText=t.richText,this.hideWrapper=t.hideWrapper||!1,this.pinned=!1}return k(e,[{key:"render",value:function(){var e,t,n=document.createElement("div");n.className="popupWrapper",this.hideElement=this.hideWrapper?n:this.container,this.hideElement.hidden=!0;var r=document.createElement("div");r.className="popup";var a=this.color;if(a){var s=.7*(255-a[0])+a[0],c=.7*(255-a[1])+a[1],u=.7*(255-a[2])+a[2];r.style.backgroundColor=o.Util.makeHexColor(0|s,0|c,0|u)}var d=document.createElement("h1");d.dir=this.titleObj.dir,d.textContent=this.titleObj.str,r.appendChild(d);var f=i.PDFDateString.toDateObject(this.modificationDate);if(f){var p=document.createElement("span");p.className="popupDate",p.textContent="{{date}}, {{time}}",p.dataset.l10nId="annotation_date_string",p.dataset.l10nArgs=JSON.stringify({date:f.toLocaleDateString(),time:f.toLocaleTimeString()}),r.appendChild(p)}if(null===(e=this.richText)||void 0===e||!e.str||null!==(t=this.contentsObj)&&void 0!==t&&t.str&&this.contentsObj.str!==this.richText.str){var h=this._formatContents(this.contentsObj);r.appendChild(h)}else l.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:r}),r.lastChild.className="richText popupContent";Array.isArray(this.trigger)||(this.trigger=[this.trigger]);var m,g=y(this.trigger);try{for(g.s();!(m=g.n()).done;){var v=m.value;v.addEventListener("click",this._toggle.bind(this)),v.addEventListener("mouseover",this._show.bind(this,!1)),v.addEventListener("mouseout",this._hide.bind(this,!1))}}catch(e){g.e(e)}finally{g.f()}return r.addEventListener("click",this._hide.bind(this,!0)),n.appendChild(r),n}},{key:"_formatContents",value:function(e){var t=e.str,n=e.dir,r=document.createElement("p");r.className="popupContent",r.dir=n;for(var o=t.split(/(?:\r\n?|\n)/),i=0,a=o.length;i<a;++i){var s=o[i];r.appendChild(document.createTextNode(s)),i<a-1&&r.appendChild(document.createElement("br"))}return r}},{key:"_toggle",value:function(){this.pinned?this._hide(!0):this._show(!0)}},{key:"_show",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];e&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex+=1)}},{key:"_hide",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e&&(this.pinned=!1),this.hideElement.hidden||this.pinned||(this.hideElement.hidden=!0,this.container.style.zIndex-=1)}}]),e}(),z=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0})}return k(n,[{key:"render",value:function(){return this.container.className="freeTextAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),n}(O),q=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0})}return k(n,[{key:"render",value:function(){this.container.className="lineAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=this.svgFactory.createElement("svg:line");return o.setAttribute("x1",e.rect[2]-e.lineCoordinates[0]),o.setAttribute("y1",e.rect[3]-e.lineCoordinates[1]),o.setAttribute("x2",e.rect[2]-e.lineCoordinates[2]),o.setAttribute("y2",e.rect[3]-e.lineCoordinates[3]),o.setAttribute("stroke-width",e.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),r.appendChild(o),this.container.append(r),this._createPopup(o,e),this.container}}]),n}(O),U=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0})}return k(n,[{key:"render",value:function(){this.container.className="squareAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=e.borderStyle.width,i=this.svgFactory.createElement("svg:rect");return i.setAttribute("x",o/2),i.setAttribute("y",o/2),i.setAttribute("width",t-o),i.setAttribute("height",n-o),i.setAttribute("stroke-width",o||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(i,e),this.container}}]),n}(O),H=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0})}return k(n,[{key:"render",value:function(){this.container.className="circleAnnotation";var e=this.data,t=e.rect[2]-e.rect[0],n=e.rect[3]-e.rect[1],r=this.svgFactory.create(t,n),o=e.borderStyle.width,i=this.svgFactory.createElement("svg:ellipse");return i.setAttribute("cx",t/2),i.setAttribute("cy",n/2),i.setAttribute("rx",t/2-o/2),i.setAttribute("ry",n/2-o/2),i.setAttribute("stroke-width",o||1),i.setAttribute("stroke","transparent"),i.setAttribute("fill","transparent"),r.appendChild(i),this.container.append(r),this._createPopup(i,e),this.container}}]),n}(O),W=function(e){p(n,e);var t=m(n);function n(e){var r,o,i,a;_(this,n);var s=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return(a=t.call(this,e,{isRenderable:s,ignoreBorder:!0})).containerClassName="polylineAnnotation",a.svgElementName="svg:polyline",a}return k(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=t.rect[2]-t.rect[0],r=t.rect[3]-t.rect[1],o=this.svgFactory.create(n,r),i=[],a=y(t.vertices);try{for(a.s();!(e=a.n()).done;){var s=e.value,l=s.x-t.rect[0],c=t.rect[3]-s.y;i.push(l+","+c)}}catch(e){a.e(e)}finally{a.f()}i=i.join(" ");var u=this.svgFactory.createElement(this.svgElementName);return u.setAttribute("points",i),u.setAttribute("stroke-width",t.borderStyle.width||1),u.setAttribute("stroke","transparent"),u.setAttribute("fill","transparent"),o.appendChild(u),this.container.append(o),this._createPopup(u,t),this.container}}]),n}(O),V=function(e){p(n,e);var t=m(n);function n(e){var r;return _(this,n),(r=t.call(this,e)).containerClassName="polygonAnnotation",r.svgElementName="svg:polygon",r}return n}(W),Y=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0})}return k(n,[{key:"render",value:function(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),n}(O),Z=function(e){p(n,e);var t=m(n);function n(e){var r,o,i,a;_(this,n);var s=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return(a=t.call(this,e,{isRenderable:s,ignoreBorder:!0})).containerClassName="inkAnnotation",a.svgElementName="svg:polyline",a}return k(n,[{key:"render",value:function(){this.container.className=this.containerClassName;var e,t=this.data,n=t.rect[2]-t.rect[0],r=t.rect[3]-t.rect[1],o=this.svgFactory.create(n,r),i=y(t.inkLists);try{for(i.s();!(e=i.n()).done;){var a,s=e.value,l=[],c=y(s);try{for(c.s();!(a=c.n()).done;){var u=a.value,d=u.x-t.rect[0],f=t.rect[3]-u.y;l.push("".concat(d,",").concat(f))}}catch(e){c.e(e)}finally{c.f()}l=l.join(" ");var p=this.svgFactory.createElement(this.svgElementName);p.setAttribute("points",l),p.setAttribute("stroke-width",t.borderStyle.width||1),p.setAttribute("stroke","transparent"),p.setAttribute("fill","transparent"),this._createPopup(p,t),o.appendChild(p)}}catch(e){i.e(e)}finally{i.f()}return this.container.append(o),this.container}}]),n}(O),G=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0,createQuadrilaterals:!0})}return k(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}]),n}(O),K=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0,createQuadrilaterals:!0})}return k(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}]),n}(O),$=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0,createQuadrilaterals:!0})}return k(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}]),n}(O),X=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0,createQuadrilaterals:!0})}return k(n,[{key:"render",value:function(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}]),n}(O),Q=function(e){p(n,e);var t=m(n);function n(e){var r,o,i;_(this,n);var a=!!(e.data.hasPopup||null!==(r=e.data.titleObj)&&void 0!==r&&r.str||null!==(o=e.data.contentsObj)&&void 0!==o&&o.str||null!==(i=e.data.richText)&&void 0!==i&&i.str);return t.call(this,e,{isRenderable:a,ignoreBorder:!0})}return k(n,[{key:"render",value:function(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}]),n}(O),J=function(e){p(n,e);var t=m(n);function n(e){var r,a;_(this,n);var s=(a=t.call(this,e,{isRenderable:!0})).data.file,l=s.filename,c=s.content;return a.filename=(0,i.getFilenameFromUrl)(l),a.content=c,null===(r=a.linkService.eventBus)||void 0===r||r.dispatch("fileattachmentannotation",{source:v(a),id:(0,o.stringToPDFString)(l),filename:l,content:c}),a}return k(n,[{key:"render",value:function(){var e,t;this.container.className="fileAttachmentAnnotation";var n=document.createElement("div");return n.style.height=this.container.style.height,n.style.width=this.container.style.width,n.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&(null!==(e=this.data.titleObj)&&void 0!==e&&e.str||null!==(t=this.data.contentsObj)&&void 0!==t&&t.str||this.data.richText)&&this._createPopup(n,this.data),this.container.appendChild(n),this.container}},{key:"_download",value:function(){var e;null===(e=this.downloadManager)||void 0===e||e.openOrDownloadData(this.container,this.content,this.filename)}}]),n}(O),ee=function(){function e(){_(this,e)}return k(e,null,[{key:"render",value:function(t){var n,r=[],s=[],l=y(t.annotations);try{for(l.s();!(n=l.n()).done;){var u=n.value;u&&(u.annotationType!==o.AnnotationType.POPUP?r.push(u):s.push(u))}}catch(e){l.e(e)}finally{l.f()}s.length&&r.push.apply(r,s);for(var d=t.div,f=0,p=r;f<p.length;f++){var h=p[f],m=B.create({data:h,layer:d,page:t.page,viewport:t.viewport,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:!1!==t.renderForms,svgFactory:new i.DOMSVGFactory,annotationStorage:t.annotationStorage||new a.AnnotationStorage,enableScripting:t.enableScripting,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,mouseState:t.mouseState||{isDown:!1}});if(m.isRenderable){var g=m.render();if(h.hidden&&(g.style.visibility="hidden"),Array.isArray(g)){var v,b=y(g);try{for(b.s();!(v=b.n()).done;){var A=v.value;d.appendChild(A)}}catch(e){b.e(e)}finally{b.f()}}else m instanceof N?d.prepend(g):d.appendChild(g)}}c(this,e,te).call(this,d,t.annotationCanvasMap)}},{key:"update",value:function(t){var n,r,i,a=t.page,s=t.viewport,l=t.annotations,u=t.annotationCanvasMap,d=t.div,f=s.transform,p="matrix(".concat(f.join(","),")"),h=y(l);try{for(h.s();!(i=h.n()).done;){var m=i.value,g=d.querySelectorAll('[data-annotation-id="'.concat(m.id,'"]'));if(g){var v,b=y(g);try{for(b.s();!(v=b.n()).done;){var A=v.value;if(m.hasOwnCanvas){var x=o.Util.normalizeRect([m.rect[0],a.view[3]-m.rect[1]+a.view[1],m.rect[2],a.view[3]-m.rect[3]+a.view[1]]);if(!r){n=Math.abs(f[0]||f[1]);for(var C=f.slice(),_=0;_<4;_++)C[_]=Math.sign(C[_]);r="matrix(".concat(C.join(","),")")}var w=x[0]*n,k=x[1]*n;A.style.left="".concat(w,"px"),A.style.top="".concat(k,"px"),A.style.transformOrigin="".concat(-w,"px ").concat(-k,"px"),A.style.transform=r}else A.style.transform=p}}catch(e){b.e(e)}finally{b.f()}}}}catch(e){h.e(e)}finally{h.f()}c(this,e,te).call(this,d,u),d.hidden=!1}}]),e}();function te(e,t){if(t){var n,r=y(t);try{for(r.s();!(n=r.n()).done;){var o=A(n.value,2),i=o[0],a=o[1],s=e.querySelector('[data-annotation-id="'.concat(i,'"]'));if(s){var l=s.firstChild;"CANVAS"===l.nodeName?s.replaceChild(a,l):s.insertBefore(a,l)}}}catch(e){r.e(e)}finally{r.f()}t.clear()}}t.AnnotationLayer=ee},(e,t)=>{"use strict";function n(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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}}(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 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}function o(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 i(e){return Math.floor(255*Math.max(0,Math.min(1,e))).toString(16).padStart(2,"0")}Object.defineProperty(t,"__esModule",{value:!0}),t.ColorConverters=void 0;var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,a;return t=e,a=[{key:"CMYK_G",value:function(e){var t=n(e,4),r=t[0],o=t[1],i=t[2],a=t[3];return["G",1-Math.min(1,.3*r+.59*i+.11*o+a)]}},{key:"G_CMYK",value:function(e){return["CMYK",0,0,0,1-n(e,1)[0]]}},{key:"G_RGB",value:function(e){var t=n(e,1)[0];return["RGB",t,t,t]}},{key:"G_HTML",value:function(e){var t=i(n(e,1)[0]);return"#".concat(t).concat(t).concat(t)}},{key:"RGB_G",value:function(e){var t=n(e,3);return["G",.3*t[0]+.59*t[1]+.11*t[2]]}},{key:"RGB_HTML",value:function(e){var t=n(e,3),r=t[0],o=t[1],a=t[2],s=i(r),l=i(o),c=i(a);return"#".concat(s).concat(l).concat(c)}},{key:"T_HTML",value:function(){return"#00000000"}},{key:"CMYK_RGB",value:function(e){var t=n(e,4),r=t[0],o=t[1],i=t[2],a=t[3];return["RGB",1-Math.min(1,r+a),1-Math.min(1,i+a),1-Math.min(1,o+a)]}},{key:"CMYK_HTML",value:function(e){return this.RGB_HTML(this.CMYK_RGB(e))}},{key:"RGB_CMYK",value:function(e){var t=n(e,3),r=1-t[0],o=1-t[1],i=1-t[2];return["CMYK",r,o,i,Math.min(r,o,i)]}}],(r=null)&&o(t.prototype,r),a&&o(t,a),e}();t.ColorConverters=a},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.XfaLayer=void 0;var r=n(4),o=n(147);function i(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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||s(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 a(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=s(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){l=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(l)throw i}}}}function s(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}function l(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 c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,s;return t=e,s=[{key:"setupStorage",value:function(e,t,n,r,o){var i=r.getValue(t,{value:null});switch(n.name){case"textarea":if(null!==i.value&&(e.textContent=i.value),"print"===o)break;e.addEventListener("input",(function(e){r.setValue(t,{value:e.target.value})}));break;case"input":if("radio"===n.attributes.type||"checkbox"===n.attributes.type){if(i.value===n.attributes.xfaOn?e.setAttribute("checked",!0):i.value===n.attributes.xfaOff&&e.removeAttribute("checked"),"print"===o)break;e.addEventListener("change",(function(e){r.setValue(t,{value:e.target.checked?e.target.getAttribute("xfaOn"):e.target.getAttribute("xfaOff")})}))}else{if(null!==i.value&&e.setAttribute("value",i.value),"print"===o)break;e.addEventListener("input",(function(e){r.setValue(t,{value:e.target.value})}))}break;case"select":if(null!==i.value){var s,l=a(n.children);try{for(l.s();!(s=l.n()).done;){var c=s.value;c.attributes.value===i.value&&(c.attributes.selected=!0)}}catch(e){l.e(e)}finally{l.f()}}e.addEventListener("input",(function(e){var n=e.target.options,o=-1===n.selectedIndex?"":n[n.selectedIndex].value;r.setValue(t,{value:o})}))}}},{key:"setAttributes",value:function(e){var t,n=e.html,o=e.element,a=e.storage,s=void 0===a?null:a,l=e.intent,c=e.linkService,u=o.attributes,d=n instanceof HTMLAnchorElement;"radio"===u.type&&(u.name="".concat(u.name,"-").concat(l));for(var f=0,p=Object.entries(u);f<p.length;f++){var h=i(p[f],2),m=h[0],g=h[1];if(null!=g&&"dataId"!==m)if("style"!==m)if("textContent"===m)n.textContent=g;else if("class"===m)g.length&&n.setAttribute(m,g.join(" "));else{if(d&&("href"===m||"newWindow"===m))continue;n.setAttribute(m,g)}else Object.assign(n.style,g)}d&&(c.addLinkAttributes||(0,r.warn)("XfaLayer.setAttribute - missing `addLinkAttributes`-method on the `linkService`-instance."),null===(t=c.addLinkAttributes)||void 0===t||t.call(c,n,u.href,u.newWindow)),s&&u.dataId&&this.setupStorage(n,u.dataId,o,s)}},{key:"render",value:function(e){var t=e.annotationStorage,n=e.linkService,r=e.xfaHtml,s=e.intent||"display",l=document.createElement(r.name);r.attributes&&this.setAttributes({html:l,element:r,intent:s,linkService:n});var c=[[r,-1,l]],u=e.div;if(u.appendChild(l),e.viewport){var d="matrix(".concat(e.viewport.transform.join(","),")");u.style.transform=d}"richText"!==s&&u.setAttribute("class","xfaLayer xfaFont");for(var f=[];c.length>0;){var p,h=i(c[c.length-1],3),m=h[0],g=h[1],v=h[2];if(g+1!==m.children.length){var b=m.children[++c[c.length-1][1]];if(null!==b){var y=b.name;if("#text"!==y){var A=void 0;if(A=null!=b&&null!==(p=b.attributes)&&void 0!==p&&p.xmlns?document.createElementNS(b.attributes.xmlns,y):document.createElement(y),v.appendChild(A),b.attributes&&this.setAttributes({html:A,element:b,storage:t,intent:s,linkService:n}),b.children&&b.children.length>0)c.push([b,-1,A]);else if(b.value){var x=document.createTextNode(b.value);o.XfaText.shouldBuildText(y)&&f.push(x),A.appendChild(x)}}else{var C=document.createTextNode(b.value);f.push(C),v.appendChild(C)}}}else c.pop()}var _,w=a(u.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"));try{for(w.s();!(_=w.n()).done;)_.value.setAttribute("readOnly",!0)}catch(e){w.e(e)}finally{w.f()}return{textDivs:f}}},{key:"update",value:function(e){var t="matrix(".concat(e.viewport.transform.join(","),")");e.div.style.transform=t,e.div.hidden=!1}}],(n=null)&&c(t.prototype,n),s&&c(t,s),e}();t.XfaLayer=u},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.renderTextLayer=function(e){var t=new m({textContent:e.textContent,textContentStream:e.textContentStream,container:e.container,viewport:e.viewport,textDivs:e.textDivs,textContentItemsStr:e.textContentItemsStr,enhanceTextSelection:e.enhanceTextSelection});return t._render(e.timeout),t};var r=n(4);function o(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 i(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return a(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)?a(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,s=!0,l=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}function a(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 s=30,l=new Map,c=/^\s+$/g;function u(e,t,n,o){var i=document.createElement("span"),a=e._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1}:{angle:0,canvasWidth:0,hasText:""!==t.str,hasEOL:t.hasEOL};e._textDivs.push(i);var u=r.Util.transform(e._viewport.transform,t.transform),d=Math.atan2(u[1],u[0]),f=n[t.fontName];f.vertical&&(d+=Math.PI/2);var p,h,m=Math.hypot(u[2],u[3]),g=m*function(e,t){var n=l.get(e);if(n)return n;t.save(),t.font="".concat(s,"px ").concat(e);var r=t.measureText(""),o=r.fontBoundingBoxAscent,i=Math.abs(r.fontBoundingBoxDescent);if(o){t.restore();var a=o/(o+i);return l.set(e,a),a}t.strokeStyle="red",t.clearRect(0,0,s,s),t.strokeText("g",0,0);var c=t.getImageData(0,0,s,s).data;i=0;for(var u=c.length-1-3;u>=0;u-=4)if(c[u]>0){i=Math.ceil(u/4/s);break}t.clearRect(0,0,s,s),t.strokeText("A",0,s),o=0;for(var d=0,f=(c=t.getImageData(0,0,s,s).data).length;d<f;d+=4)if(c[d]>0){o=s-Math.floor(d/4/s);break}if(t.restore(),o){var p=o/(o+i);return l.set(e,p),p}return l.set(e,.8),.8}(f.fontFamily,o);0===d?(p=u[4],h=u[5]-g):(p=u[4]+g*Math.sin(d),h=u[5]-g*Math.cos(d)),i.style.left="".concat(p,"px"),i.style.top="".concat(h,"px"),i.style.fontSize="".concat(m,"px"),i.style.fontFamily=f.fontFamily,i.setAttribute("role","presentation"),i.textContent=t.str,i.dir=t.dir,e._fontInspectorEnabled&&(i.dataset.fontName=t.fontName),0!==d&&(a.angle=d*(180/Math.PI));var v=!1;if(t.str.length>1||e._enhanceTextSelection&&c.test(t.str))v=!0;else if(" "!==t.str&&t.transform[0]!==t.transform[3]){var b=Math.abs(t.transform[0]),y=Math.abs(t.transform[3]);b!==y&&Math.max(b,y)/Math.min(b,y)>1.5&&(v=!0)}if(v&&(f.vertical?a.canvasWidth=t.height*e._viewport.scale:a.canvasWidth=t.width*e._viewport.scale),e._textDivProperties.set(i,a),e._textContentStream&&e._layoutText(i),e._enhanceTextSelection&&a.hasText){var A=1,x=0;0!==d&&(A=Math.cos(d),x=Math.sin(d));var C,_,w=(f.vertical?t.height:t.width)*e._viewport.scale,k=m;0!==d?(C=[A,x,-x,A,p,h],_=r.Util.getAxialAlignedBoundingBox([0,0,w,k],C)):_=[p,h,p+w,h+k],e._bounds.push({left:_[0],top:_[1],right:_[2],bottom:_[3],div:i,size:[w,k],m:C})}}function d(e){if(!e._canceled){var t=e._textDivs,n=e._capability,r=t.length;if(r>1e5)return e._renderingDone=!0,void n.resolve();if(!e._textContentStream)for(var o=0;o<r;o++)e._layoutText(t[o]);e._renderingDone=!0,n.resolve()}}function f(e,t,n){for(var r=0,o=0;o<n;o++){var i=e[t++];i>0&&(r=r?Math.min(i,r):i)}return r}function p(e){for(var t=e._bounds,n=e._viewport,o=function(e,t,n){var r=n.map((function(e,t){return{x1:e.left,y1:e.top,x2:e.right,y2:e.bottom,index:t,x1New:void 0,x2New:void 0}}));h(e,r);var o,a=new Array(n.length),s=i(r);try{for(s.s();!(o=s.n()).done;){var l=o.value,c=l.index;a[c]={left:l.x1New,top:0,right:l.x2New,bottom:0}}}catch(e){s.e(e)}finally{s.f()}n.map((function(t,n){var o=a[n],i=r[n];i.x1=t.top,i.y1=e-o.right,i.x2=t.bottom,i.y2=e-o.left,i.index=n,i.x1New=void 0,i.x2New=void 0})),h(t,r);var u,d=i(r);try{for(d.s();!(u=d.n()).done;){var f=u.value,p=f.index;a[p].top=f.x1New,a[p].bottom=f.x2New}}catch(e){d.e(e)}finally{d.f()}return a}(n.width,n.height,t),a=0;a<o.length;a++){var s=t[a].div,l=e._textDivProperties.get(s);if(0!==l.angle){for(var c=o[a],u=t[a],d=u.m,p=d[0],m=d[1],g=[[0,0],[0,u.size[1]],[u.size[0],0],u.size],v=new Float64Array(64),b=0,y=g.length;b<y;b++){var A=r.Util.applyTransform(g[b],d);v[b+0]=p&&(c.left-A[0])/p,v[b+4]=m&&(c.top-A[1])/m,v[b+8]=p&&(c.right-A[0])/p,v[b+12]=m&&(c.bottom-A[1])/m,v[b+16]=m&&(c.left-A[0])/-m,v[b+20]=p&&(c.top-A[1])/p,v[b+24]=m&&(c.right-A[0])/-m,v[b+28]=p&&(c.bottom-A[1])/p,v[b+32]=p&&(c.left-A[0])/-p,v[b+36]=m&&(c.top-A[1])/-m,v[b+40]=p&&(c.right-A[0])/-p,v[b+44]=m&&(c.bottom-A[1])/-m,v[b+48]=m&&(c.left-A[0])/m,v[b+52]=p&&(c.top-A[1])/-p,v[b+56]=m&&(c.right-A[0])/m,v[b+60]=p&&(c.bottom-A[1])/-p}var x=1+Math.min(Math.abs(p),Math.abs(m));l.paddingLeft=f(v,32,16)/x,l.paddingTop=f(v,48,16)/x,l.paddingRight=f(v,0,16)/x,l.paddingBottom=f(v,16,16)/x,e._textDivProperties.set(s,l)}else l.paddingLeft=t[a].left-o[a].left,l.paddingTop=t[a].top-o[a].top,l.paddingRight=o[a].right-t[a].right,l.paddingBottom=o[a].bottom-t[a].bottom,e._textDivProperties.set(s,l)}}function h(e,t){t.sort((function(e,t){return e.x1-t.x1||e.index-t.index}));var n,r=[{start:-1/0,end:1/0,boundary:{x1:-1/0,y1:-1/0,x2:0,y2:1/0,index:-1,x1New:0,x2New:0}}],o=i(t);try{for(o.s();!(n=o.n()).done;){for(var a=n.value,s=0;s<r.length&&r[s].end<=a.y1;)s++;for(var l=r.length-1;l>=0&&r[l].start>=a.y2;)l--;var c=void 0,u=void 0,d=void 0,f=void 0,p=-1/0;for(d=s;d<=l;d++){u=(c=r[d]).boundary;var h=void 0;(h=u.x2>a.x1?u.index>a.index?u.x1New:a.x1:void 0===u.x2New?(u.x2+a.x1)/2:u.x2New)>p&&(p=h)}for(a.x1New=p,d=s;d<=l;d++)void 0===(u=(c=r[d]).boundary).x2New?u.x2>a.x1?u.index>a.index&&(u.x2New=u.x2):u.x2New=p:u.x2New>p&&(u.x2New=Math.max(p,u.x2));var m=[],g=null;for(d=s;d<=l;d++){var v=(u=(c=r[d]).boundary).x2>a.x2?u:a;g===v?m[m.length-1].end=c.end:(m.push({start:c.start,end:c.end,boundary:v}),g=v)}for(r[s].start<a.y1&&(m[0].start=a.y1,m.unshift({start:r[s].start,end:a.y1,boundary:r[s].boundary})),a.y2<r[l].end&&(m[m.length-1].end=a.y2,m.push({start:a.y2,end:r[l].end,boundary:r[l].boundary})),d=s;d<=l;d++)if(void 0===(u=(c=r[d]).boundary).x2New){var b=!1;for(f=s-1;!b&&f>=0&&r[f].start>=u.y1;f--)b=r[f].boundary===u;for(f=l+1;!b&&f<r.length&&r[f].end<=u.y2;f++)b=r[f].boundary===u;for(f=0;!b&&f<m.length;f++)b=m[f].boundary===u;b||(u.x2New=p)}Array.prototype.splice.apply(r,[s,l-s+1].concat(m))}}catch(e){o.e(e)}finally{o.f()}for(var y=0,A=r;y<A.length;y++){var x=A[y].boundary;void 0===x.x2New&&(x.x2New=Math.max(e,x.x2))}}var m=function(){function e(t){var n,o=this,i=t.textContent,a=t.textContentStream,s=t.container,l=t.viewport,c=t.textDivs,u=t.textContentItemsStr,d=t.enhanceTextSelection;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._textContent=i,this._textContentStream=a,this._container=s,this._document=s.ownerDocument,this._viewport=l,this._textDivs=c||[],this._textContentItemsStr=u||[],this._enhanceTextSelection=!!d,this._fontInspectorEnabled=!(null===(n=globalThis.FontInspector)||void 0===n||!n.enabled),this._reader=null,this._layoutTextLastFontSize=null,this._layoutTextLastFontFamily=null,this._layoutTextCtx=null,this._textDivProperties=new WeakMap,this._renderingDone=!1,this._canceled=!1,this._capability=(0,r.createPromiseCapability)(),this._renderTimer=null,this._bounds=[],this._capability.promise.finally((function(){o._enhanceTextSelection||(o._textDivProperties=null),o._layoutTextCtx&&(o._layoutTextCtx.canvas.width=0,o._layoutTextCtx.canvas.height=0,o._layoutTextCtx=null)})).catch((function(){}))}var t,n,i;return t=e,n=[{key:"promise",get:function(){return this._capability.promise}},{key:"cancel",value:function(){this._canceled=!0,this._reader&&(this._reader.cancel(new r.AbortException("TextLayer task cancelled.")).catch((function(){})),this._reader=null),null!==this._renderTimer&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}},{key:"_processItems",value:function(e,t){for(var n=0,r=e.length;n<r;n++)if(void 0!==e[n].str)this._textContentItemsStr.push(e[n].str),u(this,e[n],t,this._layoutTextCtx);else if("beginMarkedContentProps"===e[n].type||"beginMarkedContent"===e[n].type){var o=this._container;this._container=document.createElement("span"),this._container.classList.add("markedContent"),null!==e[n].id&&this._container.setAttribute("id","".concat(e[n].id)),o.appendChild(this._container)}else"endMarkedContent"===e[n].type&&(this._container=this._container.parentNode)}},{key:"_layoutText",value:function(e){var t=this._textDivProperties.get(e),n="";if(0!==t.canvasWidth&&t.hasText){var r=e.style,o=r.fontSize,i=r.fontFamily;o===this._layoutTextLastFontSize&&i===this._layoutTextLastFontFamily||(this._layoutTextCtx.font="".concat(o," ").concat(i),this._layoutTextLastFontSize=o,this._layoutTextLastFontFamily=i);var a=this._layoutTextCtx.measureText(e.textContent).width;if(a>0){var s=t.canvasWidth/a;this._enhanceTextSelection&&(t.scale=s),n="scaleX(".concat(s,")")}}if(0!==t.angle&&(n="rotate(".concat(t.angle,"deg) ").concat(n)),n.length>0&&(this._enhanceTextSelection&&(t.originalTransform=n),e.style.transform=n),t.hasText&&this._container.appendChild(e),t.hasEOL){var l=document.createElement("br");l.setAttribute("role","presentation"),this._container.appendChild(l)}}},{key:"_render",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=(0,r.createPromiseCapability)(),o=Object.create(null),i=this._document.createElement("canvas");if(i.height=i.width=s,i.mozOpaque=!0,this._layoutTextCtx=i.getContext("2d",{alpha:!1}),this._textContent){var a=this._textContent.items,l=this._textContent.styles;this._processItems(a,l),n.resolve()}else{if(!this._textContentStream)throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');var c=function t(){e._reader.read().then((function(r){var i=r.value;r.done?n.resolve():(Object.assign(o,i.styles),e._processItems(i.items,o),t())}),n.reject)};this._reader=this._textContentStream.getReader(),c()}n.promise.then((function(){o=null,t?e._renderTimer=setTimeout((function(){d(e),e._renderTimer=null}),t):d(e)}),this._capability.reject)}},{key:"expandTextDivs",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this._enhanceTextSelection&&this._renderingDone){null!==this._bounds&&(p(this),this._bounds=null);for(var t=[],n=[],r=0,o=this._textDivs.length;r<o;r++){var i=this._textDivs[r],a=this._textDivProperties.get(i);a.hasText&&(e?(t.length=0,n.length=0,a.originalTransform&&t.push(a.originalTransform),a.paddingTop>0?(n.push("".concat(a.paddingTop,"px")),t.push("translateY(".concat(-a.paddingTop,"px)"))):n.push(0),a.paddingRight>0?n.push("".concat(a.paddingRight/a.scale,"px")):n.push(0),a.paddingBottom>0?n.push("".concat(a.paddingBottom,"px")):n.push(0),a.paddingLeft>0?(n.push("".concat(a.paddingLeft/a.scale,"px")),t.push("translateX(".concat(-a.paddingLeft/a.scale,"px)"))):n.push(0),i.style.padding=n.join(" "),t.length&&(i.style.transform=t.join(" "))):(i.style.padding=null,i.style.transform=a.originalTransform))}}}}],n&&o(t.prototype,n),i&&o(t,i),e}()},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SVGGraphics=void 0;var r=n(4),o=n(1),i=n(6);function a(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||c(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 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){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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||c(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 l(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=c(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function c(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}function u(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 d(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 f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function e(){p(this,e),(0,r.unreachable)("Not implemented: SVGGraphics")};t.SVGGraphics=h;var m=function(e){if(Number.isInteger(e))return e.toString();var t=e.toFixed(10),n=t.length-1;if("0"!==t[n])return t;do{n--}while("0"===t[n]);return t.substring(0,"."===t[n]?n:n+1)},g=function(e){if(0===e[4]&&0===e[5]){if(0===e[1]&&0===e[2])return 1===e[0]&&1===e[3]?"":"scale(".concat(m(e[0])," ").concat(m(e[3]),")");if(e[0]===e[3]&&e[1]===-e[2]){var t=180*Math.acos(e[0])/Math.PI;return"rotate(".concat(m(t),")")}}else if(1===e[0]&&0===e[1]&&0===e[2]&&1===e[3])return"translate(".concat(m(e[4])," ").concat(m(e[5]),")");return"matrix(".concat(m(e[0])," ").concat(m(e[1])," ").concat(m(e[2])," ").concat(m(e[3])," ").concat(m(e[4])," ")+"".concat(m(e[5]),")")},v={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},b=["butt","round","square"],y=["miter","round","bevel"],A=function(){for(var e=new Uint8Array([137,80,78,71,13,10,26,10]),t=new Int32Array(256),n=0;n<256;n++){for(var o=n,a=0;a<8;a++)o=1&o?3988292384^o>>1&2147483647:o>>1&2147483647;t[n]=o}function s(e,n,r,o){var i=o,a=n.length;r[i]=a>>24&255,r[i+1]=a>>16&255,r[i+2]=a>>8&255,r[i+3]=255&a,r[i+=4]=255&e.charCodeAt(0),r[i+1]=255&e.charCodeAt(1),r[i+2]=255&e.charCodeAt(2),r[i+3]=255&e.charCodeAt(3),i+=4,r.set(n,i);var s=function(e,n,r){for(var o=-1,i=n;i<r;i++){var a=255&(o^e[i]);o=o>>>8^t[a]}return-1^o}(r,o+4,i+=n.length);r[i]=s>>24&255,r[i+1]=s>>16&255,r[i+2]=s>>8&255,r[i+3]=255&s}function l(e){var t=e.length,n=65535,r=Math.ceil(t/n),o=new Uint8Array(2+t+5*r+4),i=0;o[i++]=120,o[i++]=156;for(var a=0;t>n;)o[i++]=0,o[i++]=255,o[i++]=255,o[i++]=0,o[i++]=0,o.set(e.subarray(a,a+n),i),i+=n,a+=n,t-=n;o[i++]=1,o[i++]=255&t,o[i++]=t>>8&255,o[i++]=255&~t,o[i++]=(65535&~t)>>8&255,o.set(e.subarray(a),i),i+=e.length-a;var s=function(e,t,n){for(var r=1,o=0,i=t;i<n;++i)o=(o+(r=(r+(255&e[i]))%65521))%65521;return o<<16|r}(e,0,e.length);return o[i++]=s>>24&255,o[i++]=s>>16&255,o[i++]=s>>8&255,o[i++]=255&s,o}function c(t,n,o,a){var c,u,d,f=t.width,p=t.height,h=t.data;switch(n){case r.ImageKind.GRAYSCALE_1BPP:u=0,c=1,d=f+7>>3;break;case r.ImageKind.RGB_24BPP:u=2,c=8,d=3*f;break;case r.ImageKind.RGBA_32BPP:u=6,c=8,d=4*f;break;default:throw new Error("invalid format")}for(var m=new Uint8Array((1+d)*p),g=0,v=0,b=0;b<p;++b)m[g++]=0,m.set(h.subarray(v,v+d),g),v+=d,g+=d;if(n===r.ImageKind.GRAYSCALE_1BPP&&a){g=0;for(var y=0;y<p;y++){g++;for(var A=0;A<d;A++)m[g++]^=255}}var x=new Uint8Array([f>>24&255,f>>16&255,f>>8&255,255&f,p>>24&255,p>>16&255,p>>8&255,255&p,c,u,0,0,0]),C=function(e){if(!i.isNodeJS)return l(e);try{var t;t=parseInt(process.versions.node)>=8?e:Buffer.from(e);var n=__webpack_require__(87324).deflateSync(t,{level:9});return n instanceof Uint8Array?n:new Uint8Array(n)}catch(e){(0,r.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+e)}return l(e)}(m),_=e.length+36+x.length+C.length,w=new Uint8Array(_),k=0;return w.set(e,k),s("IHDR",x,w,k+=e.length),s("IDATA",C,w,k+=12+x.length),k+=12+C.length,s("IEND",new Uint8Array(0),w,k),(0,r.createObjectURL)(w,"image/png",o)}return function(e,t,n){return c(e,void 0===e.kind?r.ImageKind.GRAYSCALE_1BPP:e.kind,t,n)}}(),x=function(){function e(){p(this,e),this.fontSizeScale=1,this.fontWeight=v.fontWeight,this.fontSize=0,this.textMatrix=r.IDENTITY_MATRIX,this.fontMatrix=r.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=r.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=v.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}return f(e,[{key:"clone",value:function(){return Object.create(this)}},{key:"setCurrentPoint",value:function(e,t){this.x=e,this.y=t}}]),e}(),C=0,_=0,w=0;t.SVGGraphics=h=function(){function e(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(var a in p(this,e),this.svgFactory=new o.DOMSVGFactory,this.current=new x,this.transformMatrix=r.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=t,this.objs=n,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!i,this._operatorIdMapping=[],r.OPS)this._operatorIdMapping[r.OPS[a]]=a}return f(e,[{key:"save",value:function(){this.transformStack.push(this.transformMatrix);var e=this.current;this.extraStack.push(e),this.current=e.clone()}},{key:"restore",value:function(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}},{key:"group",value:function(e){this.save(),this.executeOpTree(e),this.restore()}},{key:"loadDependencies",value:function(e){for(var t=this,n=e.fnArray,o=e.argsArray,i=0,a=n.length;i<a;i++)if(n[i]===r.OPS.dependency){var s,c=l(o[i]);try{var u=function(){var e=s.value,n=e.startsWith("g_")?t.commonObjs:t.objs,r=new Promise((function(t){n.get(e,t)}));t.current.dependencies.push(r)};for(c.s();!(s=c.n()).done;)u()}catch(e){c.e(e)}finally{c.f()}}return Promise.all(this.current.dependencies)}},{key:"transform",value:function(e,t,n,o,i,a){var s=[e,t,n,o,i,a];this.transformMatrix=r.Util.transform(this.transformMatrix,s),this.tgrp=null}},{key:"getSVG",value:function(e,t){var n=this;this.viewport=t;var o=this._initialize(t);return this.loadDependencies(e).then((function(){return n.transformMatrix=r.IDENTITY_MATRIX,n.executeOpTree(n.convertOpList(e)),o}))}},{key:"convertOpList",value:function(e){for(var t=this._operatorIdMapping,n=e.argsArray,r=e.fnArray,o=[],i=0,a=r.length;i<a;i++){var s=r[i];o.push({fnId:s,fn:t[s],args:n[i]})}return function(e){var t,n=[],r=[],o=l(e);try{for(o.s();!(t=o.n()).done;){var i=t.value;"save"!==i.fn?"restore"===i.fn?n=r.pop():n.push(i):(n.push({fnId:92,fn:"group",items:[]}),r.push(n),n=n[n.length-1].items)}}catch(e){o.e(e)}finally{o.f()}return n}(o)}},{key:"executeOpTree",value:function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var o=t.value,i=o.fn,a=o.fnId,s=o.args;switch(0|a){case r.OPS.beginText:this.beginText();break;case r.OPS.dependency:break;case r.OPS.setLeading:this.setLeading(s);break;case r.OPS.setLeadingMoveText:this.setLeadingMoveText(s[0],s[1]);break;case r.OPS.setFont:this.setFont(s);break;case r.OPS.showText:case r.OPS.showSpacedText:this.showText(s[0]);break;case r.OPS.endText:this.endText();break;case r.OPS.moveText:this.moveText(s[0],s[1]);break;case r.OPS.setCharSpacing:this.setCharSpacing(s[0]);break;case r.OPS.setWordSpacing:this.setWordSpacing(s[0]);break;case r.OPS.setHScale:this.setHScale(s[0]);break;case r.OPS.setTextMatrix:this.setTextMatrix(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.setTextRise:this.setTextRise(s[0]);break;case r.OPS.setTextRenderingMode:this.setTextRenderingMode(s[0]);break;case r.OPS.setLineWidth:this.setLineWidth(s[0]);break;case r.OPS.setLineJoin:this.setLineJoin(s[0]);break;case r.OPS.setLineCap:this.setLineCap(s[0]);break;case r.OPS.setMiterLimit:this.setMiterLimit(s[0]);break;case r.OPS.setFillRGBColor:this.setFillRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeRGBColor:this.setStrokeRGBColor(s[0],s[1],s[2]);break;case r.OPS.setStrokeColorN:this.setStrokeColorN(s);break;case r.OPS.setFillColorN:this.setFillColorN(s);break;case r.OPS.shadingFill:this.shadingFill(s[0]);break;case r.OPS.setDash:this.setDash(s[0],s[1]);break;case r.OPS.setRenderingIntent:this.setRenderingIntent(s[0]);break;case r.OPS.setFlatness:this.setFlatness(s[0]);break;case r.OPS.setGState:this.setGState(s[0]);break;case r.OPS.fill:this.fill();break;case r.OPS.eoFill:this.eoFill();break;case r.OPS.stroke:this.stroke();break;case r.OPS.fillStroke:this.fillStroke();break;case r.OPS.eoFillStroke:this.eoFillStroke();break;case r.OPS.clip:this.clip("nonzero");break;case r.OPS.eoClip:this.clip("evenodd");break;case r.OPS.paintSolidColorImageMask:this.paintSolidColorImageMask();break;case r.OPS.paintImageXObject:this.paintImageXObject(s[0]);break;case r.OPS.paintInlineImageXObject:this.paintInlineImageXObject(s[0]);break;case r.OPS.paintImageMaskXObject:this.paintImageMaskXObject(s[0]);break;case r.OPS.paintFormXObjectBegin:this.paintFormXObjectBegin(s[0],s[1]);break;case r.OPS.paintFormXObjectEnd:this.paintFormXObjectEnd();break;case r.OPS.closePath:this.closePath();break;case r.OPS.closeStroke:this.closeStroke();break;case r.OPS.closeFillStroke:this.closeFillStroke();break;case r.OPS.closeEOFillStroke:this.closeEOFillStroke();break;case r.OPS.nextLine:this.nextLine();break;case r.OPS.transform:this.transform(s[0],s[1],s[2],s[3],s[4],s[5]);break;case r.OPS.constructPath:this.constructPath(s[0],s[1]);break;case r.OPS.endPath:this.endPath();break;case 92:this.group(o.items);break;default:(0,r.warn)("Unimplemented operator ".concat(i))}}}catch(e){n.e(e)}finally{n.f()}}},{key:"setWordSpacing",value:function(e){this.current.wordSpacing=e}},{key:"setCharSpacing",value:function(e){this.current.charSpacing=e}},{key:"nextLine",value:function(){this.moveText(0,this.current.leading)}},{key:"setTextMatrix",value:function(e,t,n,r,o,i){var a=this.current;a.textMatrix=a.lineMatrix=[e,t,n,r,o,i],a.textMatrixScale=Math.hypot(e,t),a.x=a.lineX=0,a.y=a.lineY=0,a.xcoords=[],a.ycoords=[],a.tspan=this.svgFactory.createElement("svg:tspan"),a.tspan.setAttributeNS(null,"font-family",a.fontFamily),a.tspan.setAttributeNS(null,"font-size","".concat(m(a.fontSize),"px")),a.tspan.setAttributeNS(null,"y",m(-a.y)),a.txtElement=this.svgFactory.createElement("svg:text"),a.txtElement.appendChild(a.tspan)}},{key:"beginText",value:function(){var e=this.current;e.x=e.lineX=0,e.y=e.lineY=0,e.textMatrix=r.IDENTITY_MATRIX,e.lineMatrix=r.IDENTITY_MATRIX,e.textMatrixScale=1,e.tspan=this.svgFactory.createElement("svg:tspan"),e.txtElement=this.svgFactory.createElement("svg:text"),e.txtgrp=this.svgFactory.createElement("svg:g"),e.xcoords=[],e.ycoords=[]}},{key:"moveText",value:function(e,t){var n=this.current;n.x=n.lineX+=e,n.y=n.lineY+=t,n.xcoords=[],n.ycoords=[],n.tspan=this.svgFactory.createElement("svg:tspan"),n.tspan.setAttributeNS(null,"font-family",n.fontFamily),n.tspan.setAttributeNS(null,"font-size","".concat(m(n.fontSize),"px")),n.tspan.setAttributeNS(null,"y",m(-n.y))}},{key:"showText",value:function(e){var t=this.current,n=t.font,o=t.fontSize;if(0!==o){var i,a=t.fontSizeScale,s=t.charSpacing,c=t.wordSpacing,u=t.fontDirection,d=t.textHScale*u,f=n.vertical,p=f?1:-1,h=n.defaultVMetrics,b=o*t.fontMatrix[0],y=0,A=l(e);try{for(A.s();!(i=A.n()).done;){var x=i.value;if(null!==x)if((0,r.isNum)(x))y+=p*x*o/1e3;else{var C=(x.isSpace?c:0)+s,_=x.fontChar,w=void 0,k=void 0,S=x.width;if(f){var E=void 0,B=x.vmetric||h;E=-(E=x.vmetric?B[1]:.5*S)*b;var O=B[2]*b;S=B?-B[0]:S,w=E/a,k=(y+O)/a}else w=y/a,k=0;(x.isInFont||n.missingFile)&&(t.xcoords.push(t.x+w),f&&t.ycoords.push(-t.y+k),t.tspan.textContent+=_),y+=f?S*b-C*u:S*b+C*u}else y+=u*c}}catch(e){A.e(e)}finally{A.f()}t.tspan.setAttributeNS(null,"x",t.xcoords.map(m).join(" ")),f?t.tspan.setAttributeNS(null,"y",t.ycoords.map(m).join(" ")):t.tspan.setAttributeNS(null,"y",m(-t.y)),f?t.y-=y:t.x+=y*d,t.tspan.setAttributeNS(null,"font-family",t.fontFamily),t.tspan.setAttributeNS(null,"font-size","".concat(m(t.fontSize),"px")),t.fontStyle!==v.fontStyle&&t.tspan.setAttributeNS(null,"font-style",t.fontStyle),t.fontWeight!==v.fontWeight&&t.tspan.setAttributeNS(null,"font-weight",t.fontWeight);var j=t.textRenderingMode&r.TextRenderingMode.FILL_STROKE_MASK;if(j===r.TextRenderingMode.FILL||j===r.TextRenderingMode.FILL_STROKE?(t.fillColor!==v.fillColor&&t.tspan.setAttributeNS(null,"fill",t.fillColor),t.fillAlpha<1&&t.tspan.setAttributeNS(null,"fill-opacity",t.fillAlpha)):t.textRenderingMode===r.TextRenderingMode.ADD_TO_PATH?t.tspan.setAttributeNS(null,"fill","transparent"):t.tspan.setAttributeNS(null,"fill","none"),j===r.TextRenderingMode.STROKE||j===r.TextRenderingMode.FILL_STROKE){var T=1/(t.textMatrixScale||1);this._setStrokeAttributes(t.tspan,T)}var P=t.textMatrix;0!==t.textRise&&((P=P.slice())[5]+=t.textRise),t.txtElement.setAttributeNS(null,"transform","".concat(g(P)," scale(").concat(m(d),", -1)")),t.txtElement.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),t.txtElement.appendChild(t.tspan),t.txtgrp.appendChild(t.txtElement),this._ensureTransformGroup().appendChild(t.txtElement)}}},{key:"setLeadingMoveText",value:function(e,t){this.setLeading(-t),this.moveText(e,t)}},{key:"addFontStyle",value:function(e){if(!e.data)throw new Error('addFontStyle: No font data available, ensure that the "fontExtraProperties" API parameter is set.');this.cssStyle||(this.cssStyle=this.svgFactory.createElement("svg:style"),this.cssStyle.setAttributeNS(null,"type","text/css"),this.defs.appendChild(this.cssStyle));var t=(0,r.createObjectURL)(e.data,e.mimetype,this.forceDataSchema);this.cssStyle.textContent+='@font-face { font-family: "'.concat(e.loadedName,'";')+" src: url(".concat(t,"); }\n")}},{key:"setFont",value:function(e){var t=this.current,n=this.commonObjs.get(e[0]),o=e[1];t.font=n,!this.embedFonts||n.missingFile||this.embeddedFonts[n.loadedName]||(this.addFontStyle(n),this.embeddedFonts[n.loadedName]=n),t.fontMatrix=n.fontMatrix||r.FONT_IDENTITY_MATRIX;var i="normal";n.black?i="900":n.bold&&(i="bold");var a=n.italic?"italic":"normal";o<0?(o=-o,t.fontDirection=-1):t.fontDirection=1,t.fontSize=o,t.fontFamily=n.loadedName,t.fontWeight=i,t.fontStyle=a,t.tspan=this.svgFactory.createElement("svg:tspan"),t.tspan.setAttributeNS(null,"y",m(-t.y)),t.xcoords=[],t.ycoords=[]}},{key:"endText",value:function(){var e,t=this.current;t.textRenderingMode&r.TextRenderingMode.ADD_TO_PATH_FLAG&&null!==(e=t.txtElement)&&void 0!==e&&e.hasChildNodes()&&(t.element=t.txtElement,this.clip("nonzero"),this.endPath())}},{key:"setLineWidth",value:function(e){e>0&&(this.current.lineWidth=e)}},{key:"setLineCap",value:function(e){this.current.lineCap=b[e]}},{key:"setLineJoin",value:function(e){this.current.lineJoin=y[e]}},{key:"setMiterLimit",value:function(e){this.current.miterLimit=e}},{key:"setStrokeAlpha",value:function(e){this.current.strokeAlpha=e}},{key:"setStrokeRGBColor",value:function(e,t,n){this.current.strokeColor=r.Util.makeHexColor(e,t,n)}},{key:"setFillAlpha",value:function(e){this.current.fillAlpha=e}},{key:"setFillRGBColor",value:function(e,t,n){this.current.fillColor=r.Util.makeHexColor(e,t,n),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}},{key:"setStrokeColorN",value:function(e){this.current.strokeColor=this._makeColorN_Pattern(e)}},{key:"setFillColorN",value:function(e){this.current.fillColor=this._makeColorN_Pattern(e)}},{key:"shadingFill",value:function(e){var t=this.viewport.width,n=this.viewport.height,o=r.Util.inverseTransform(this.transformMatrix),i=r.Util.applyTransform([0,0],o),a=r.Util.applyTransform([0,n],o),s=r.Util.applyTransform([t,0],o),l=r.Util.applyTransform([t,n],o),c=Math.min(i[0],a[0],s[0],l[0]),u=Math.min(i[1],a[1],s[1],l[1]),d=Math.max(i[0],a[0],s[0],l[0]),f=Math.max(i[1],a[1],s[1],l[1]),p=this.svgFactory.createElement("svg:rect");p.setAttributeNS(null,"x",c),p.setAttributeNS(null,"y",u),p.setAttributeNS(null,"width",d-c),p.setAttributeNS(null,"height",f-u),p.setAttributeNS(null,"fill",this._makeShadingPattern(e)),this.current.fillAlpha<1&&p.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().appendChild(p)}},{key:"_makeColorN_Pattern",value:function(e){return"TilingPattern"===e[0]?this._makeTilingPattern(e):this._makeShadingPattern(e)}},{key:"_makeTilingPattern",value:function(e){var t=e[1],n=e[2],o=e[3]||r.IDENTITY_MATRIX,i=s(e[4],4),l=i[0],c=i[1],u=i[2],d=i[3],f=e[5],p=e[6],h=e[7],m="shading".concat(w++),g=s(r.Util.normalizeRect([].concat(a(r.Util.applyTransform([l,c],o)),a(r.Util.applyTransform([u,d],o)))),4),v=g[0],b=g[1],y=g[2],A=g[3],x=s(r.Util.singularValueDecompose2dScale(o),2),C=f*x[0],_=p*x[1],k=this.svgFactory.createElement("svg:pattern");k.setAttributeNS(null,"id",m),k.setAttributeNS(null,"patternUnits","userSpaceOnUse"),k.setAttributeNS(null,"width",C),k.setAttributeNS(null,"height",_),k.setAttributeNS(null,"x","".concat(v)),k.setAttributeNS(null,"y","".concat(b));var S=this.svg,E=this.transformMatrix,B=this.current.fillColor,O=this.current.strokeColor,j=this.svgFactory.create(y-v,A-b);if(this.svg=j,this.transformMatrix=o,2===h){var T=r.Util.makeHexColor.apply(r.Util,a(t));this.current.fillColor=T,this.current.strokeColor=T}return this.executeOpTree(this.convertOpList(n)),this.svg=S,this.transformMatrix=E,this.current.fillColor=B,this.current.strokeColor=O,k.appendChild(j.childNodes[0]),this.defs.appendChild(k),"url(#".concat(m,")")}},{key:"_makeShadingPattern",value:function(e){switch("string"==typeof e&&(e=this.objs.get(e)),e[0]){case"RadialAxial":var t,n="shading".concat(w++),o=e[3];switch(e[1]){case"axial":var i=e[4],a=e[5];(t=this.svgFactory.createElement("svg:linearGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"x1",i[0]),t.setAttributeNS(null,"y1",i[1]),t.setAttributeNS(null,"x2",a[0]),t.setAttributeNS(null,"y2",a[1]);break;case"radial":var s=e[4],c=e[5],u=e[6],d=e[7];(t=this.svgFactory.createElement("svg:radialGradient")).setAttributeNS(null,"id",n),t.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),t.setAttributeNS(null,"cx",c[0]),t.setAttributeNS(null,"cy",c[1]),t.setAttributeNS(null,"r",d),t.setAttributeNS(null,"fx",s[0]),t.setAttributeNS(null,"fy",s[1]),t.setAttributeNS(null,"fr",u);break;default:throw new Error("Unknown RadialAxial type: ".concat(e[1]))}var f,p=l(o);try{for(p.s();!(f=p.n()).done;){var h=f.value,m=this.svgFactory.createElement("svg:stop");m.setAttributeNS(null,"offset",h[0]),m.setAttributeNS(null,"stop-color",h[1]),t.appendChild(m)}}catch(e){p.e(e)}finally{p.f()}return this.defs.appendChild(t),"url(#".concat(n,")");case"Mesh":return(0,r.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error("Unknown IR type: ".concat(e[0]))}}},{key:"setDash",value:function(e,t){this.current.dashArray=e,this.current.dashPhase=t}},{key:"constructPath",value:function(e,t){var n,o=this.current,i=o.x,a=o.y,s=[],c=0,u=l(e);try{for(u.s();!(n=u.n()).done;)switch(0|n.value){case r.OPS.rectangle:i=t[c++],a=t[c++];var d=t[c++],f=t[c++],p=i+d,h=a+f;s.push("M",m(i),m(a),"L",m(p),m(a),"L",m(p),m(h),"L",m(i),m(h),"Z");break;case r.OPS.moveTo:i=t[c++],a=t[c++],s.push("M",m(i),m(a));break;case r.OPS.lineTo:i=t[c++],a=t[c++],s.push("L",m(i),m(a));break;case r.OPS.curveTo:i=t[c+4],a=t[c+5],s.push("C",m(t[c]),m(t[c+1]),m(t[c+2]),m(t[c+3]),m(i),m(a)),c+=6;break;case r.OPS.curveTo2:s.push("C",m(i),m(a),m(t[c]),m(t[c+1]),m(t[c+2]),m(t[c+3])),i=t[c+2],a=t[c+3],c+=4;break;case r.OPS.curveTo3:i=t[c+2],a=t[c+3],s.push("C",m(t[c]),m(t[c+1]),m(i),m(a),m(i),m(a)),c+=4;break;case r.OPS.closePath:s.push("Z")}}catch(e){u.e(e)}finally{u.f()}s=s.join(" "),o.path&&e.length>0&&e[0]!==r.OPS.rectangle&&e[0]!==r.OPS.moveTo?s=o.path.getAttributeNS(null,"d")+s:(o.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().appendChild(o.path)),o.path.setAttributeNS(null,"d",s),o.path.setAttributeNS(null,"fill","none"),o.element=o.path,o.setCurrentPoint(i,a)}},{key:"endPath",value:function(){var e=this.current;if(e.path=null,this.pendingClip)if(e.element){var t="clippath".concat(C++),n=this.svgFactory.createElement("svg:clipPath");n.setAttributeNS(null,"id",t),n.setAttributeNS(null,"transform",g(this.transformMatrix));var r=e.element.cloneNode(!0);if("evenodd"===this.pendingClip?r.setAttributeNS(null,"clip-rule","evenodd"):r.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,n.appendChild(r),this.defs.appendChild(n),e.activeClipUrl){e.clipGroup=null;var o,i=l(this.extraStack);try{for(i.s();!(o=i.n()).done;)o.value.clipGroup=null}catch(e){i.e(e)}finally{i.f()}n.setAttributeNS(null,"clip-path",e.activeClipUrl)}e.activeClipUrl="url(#".concat(t,")"),this.tgrp=null}else this.pendingClip=null}},{key:"clip",value:function(e){this.pendingClip=e}},{key:"closePath",value:function(){var e=this.current;if(e.path){var t="".concat(e.path.getAttributeNS(null,"d"),"Z");e.path.setAttributeNS(null,"d",t)}}},{key:"setLeading",value:function(e){this.current.leading=-e}},{key:"setTextRise",value:function(e){this.current.textRise=e}},{key:"setTextRenderingMode",value:function(e){this.current.textRenderingMode=e}},{key:"setHScale",value:function(e){this.current.textHScale=e/100}},{key:"setRenderingIntent",value:function(e){}},{key:"setFlatness",value:function(e){}},{key:"setGState",value:function(e){var t,n=l(e);try{for(n.s();!(t=n.n()).done;){var o=s(t.value,2),i=o[0],a=o[1];switch(i){case"LW":this.setLineWidth(a);break;case"LC":this.setLineCap(a);break;case"LJ":this.setLineJoin(a);break;case"ML":this.setMiterLimit(a);break;case"D":this.setDash(a[0],a[1]);break;case"RI":this.setRenderingIntent(a);break;case"FL":this.setFlatness(a);break;case"Font":this.setFont(a);break;case"CA":this.setStrokeAlpha(a);break;case"ca":this.setFillAlpha(a);break;default:(0,r.warn)("Unimplemented graphic state operator ".concat(i))}}}catch(e){n.e(e)}finally{n.f()}}},{key:"fill",value:function(){var e=this.current;e.element&&(e.element.setAttributeNS(null,"fill",e.fillColor),e.element.setAttributeNS(null,"fill-opacity",e.fillAlpha),this.endPath())}},{key:"stroke",value:function(){var e=this.current;e.element&&(this._setStrokeAttributes(e.element),e.element.setAttributeNS(null,"fill","none"),this.endPath())}},{key:"_setStrokeAttributes",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=this.current,r=n.dashArray;1!==t&&r.length>0&&(r=r.map((function(e){return t*e}))),e.setAttributeNS(null,"stroke",n.strokeColor),e.setAttributeNS(null,"stroke-opacity",n.strokeAlpha),e.setAttributeNS(null,"stroke-miterlimit",m(n.miterLimit)),e.setAttributeNS(null,"stroke-linecap",n.lineCap),e.setAttributeNS(null,"stroke-linejoin",n.lineJoin),e.setAttributeNS(null,"stroke-width",m(t*n.lineWidth)+"px"),e.setAttributeNS(null,"stroke-dasharray",r.map(m).join(" ")),e.setAttributeNS(null,"stroke-dashoffset",m(t*n.dashPhase)+"px")}},{key:"eoFill",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}},{key:"fillStroke",value:function(){this.stroke(),this.fill()}},{key:"eoFillStroke",value:function(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}},{key:"closeStroke",value:function(){this.closePath(),this.stroke()}},{key:"closeFillStroke",value:function(){this.closePath(),this.fillStroke()}},{key:"closeEOFillStroke",value:function(){this.closePath(),this.eoFillStroke()}},{key:"paintSolidColorImageMask",value:function(){var e=this.svgFactory.createElement("svg:rect");e.setAttributeNS(null,"x","0"),e.setAttributeNS(null,"y","0"),e.setAttributeNS(null,"width","1px"),e.setAttributeNS(null,"height","1px"),e.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().appendChild(e)}},{key:"paintImageXObject",value:function(e){var t=e.startsWith("g_")?this.commonObjs.get(e):this.objs.get(e);t?this.paintInlineImageXObject(t):(0,r.warn)("Dependent image with object ID ".concat(e," is not ready yet"))}},{key:"paintInlineImageXObject",value:function(e,t){var n=e.width,r=e.height,o=A(e,this.forceDataSchema,!!t),i=this.svgFactory.createElement("svg:rect");i.setAttributeNS(null,"x","0"),i.setAttributeNS(null,"y","0"),i.setAttributeNS(null,"width",m(n)),i.setAttributeNS(null,"height",m(r)),this.current.element=i,this.clip("nonzero");var a=this.svgFactory.createElement("svg:image");a.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",o),a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y",m(-r)),a.setAttributeNS(null,"width",m(n)+"px"),a.setAttributeNS(null,"height",m(r)+"px"),a.setAttributeNS(null,"transform","scale(".concat(m(1/n)," ").concat(m(-1/r),")")),t?t.appendChild(a):this._ensureTransformGroup().appendChild(a)}},{key:"paintImageMaskXObject",value:function(e){var t=this.current,n=e.width,r=e.height,o=t.fillColor;t.maskId="mask".concat(_++);var i=this.svgFactory.createElement("svg:mask");i.setAttributeNS(null,"id",t.maskId);var a=this.svgFactory.createElement("svg:rect");a.setAttributeNS(null,"x","0"),a.setAttributeNS(null,"y","0"),a.setAttributeNS(null,"width",m(n)),a.setAttributeNS(null,"height",m(r)),a.setAttributeNS(null,"fill",o),a.setAttributeNS(null,"mask","url(#".concat(t.maskId,")")),this.defs.appendChild(i),this._ensureTransformGroup().appendChild(a),this.paintInlineImageXObject(e,i)}},{key:"paintFormXObjectBegin",value:function(e,t){if(Array.isArray(e)&&6===e.length&&this.transform(e[0],e[1],e[2],e[3],e[4],e[5]),t){var n=t[2]-t[0],r=t[3]-t[1],o=this.svgFactory.createElement("svg:rect");o.setAttributeNS(null,"x",t[0]),o.setAttributeNS(null,"y",t[1]),o.setAttributeNS(null,"width",m(n)),o.setAttributeNS(null,"height",m(r)),this.current.element=o,this.clip("nonzero"),this.endPath()}}},{key:"paintFormXObjectEnd",value:function(){}},{key:"_initialize",value:function(e){var t=this.svgFactory.create(e.width,e.height),n=this.svgFactory.createElement("svg:defs");t.appendChild(n),this.defs=n;var r=this.svgFactory.createElement("svg:g");return r.setAttributeNS(null,"transform",g(e.transform)),t.appendChild(r),this.svg=r,t}},{key:"_ensureClipGroup",value:function(){if(!this.current.clipGroup){var e=this.svgFactory.createElement("svg:g");e.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.appendChild(e),this.current.clipGroup=e}return this.current.clipGroup}},{key:"_ensureTransformGroup",value:function(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",g(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().appendChild(this.tgrp):this.svg.appendChild(this.tgrp)),this.tgrp}}]),e}()},(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.PDFNodeStream=void 0;var o,i=(o=n(2))&&o.__esModule?o:{default:o},a=n(4),s=n(154);function l(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}}),t&&c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}function u(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=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){p(i,r,o,a,s,"next",e)}function s(e){p(i,r,o,a,s,"throw",e)}a(void 0)}))}}function m(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return g(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)?g(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function g(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 v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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 y(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),e}var A=__webpack_require__(32767),x=__webpack_require__(28251),C=__webpack_require__(57677),_=__webpack_require__(1543),w=/^file:\/\/\/[a-zA-Z]:\//,k=function(){function e(t){var n,r;v(this,e),this.source=t,this.url=(n=t.url,"file:"===(r=_.parse(n)).protocol||r.host?r:/^[a-z]:[/\\]/i.test(n)?_.parse("file:///".concat(n)):(r.host||(r.protocol="file:"),r)),this.isHttp="http:"===this.url.protocol||"https:"===this.url.protocol,this.isFsUrl="file:"===this.url.protocol,this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return y(e,[{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"getFullReader",value:function(){return(0,a.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new T(this):new O(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=this.isFsUrl?new P(this,e,t):new j(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=m(this._rangeRequestReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}}}]),e}();t.PDFNodeStream=k;var S=function(){function e(t){v(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;var n=t.source;this._contentLength=n.length,this._loaded=0,this._filename=null,this._disableRange=n.disableRange||!1,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!n.disableStream,this._isRangeSupported=!n.disableRange,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)(),this._headersCapability=(0,a.createPromiseCapability)()}var t;return y(e,[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=h(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,a.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new a.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}]),e}(),E=function(){function e(t){v(this,e),this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,a.createPromiseCapability)();var n=t.source;this._isStreamingSupported=!n.disableStream}var t;return y(e,[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=h(i.default.mark((function e(){var t,n;return i.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:if(!this._done){e.next=4;break}return e.abrupt("return",{value:void 0,done:!0});case 4:if(!this._storedError){e.next=6;break}throw this._storedError;case 6:if(null!==(t=this._readableStream.read())){e.next=10;break}return this._readCapability=(0,a.createPromiseCapability)(),e.abrupt("return",this.read());case 10:return this._loaded+=t.length,this.onProgress&&this.onProgress({loaded:this._loaded}),n=new Uint8Array(t).buffer,e.abrupt("return",{value:n,done:!1});case 14:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._readableStream?this._readableStream.destroy(e):this._error(e)}},{key:"_error",value:function(e){this._storedError=e,this._readCapability.resolve()}},{key:"_setReadableStream",value:function(e){var t=this;this._readableStream=e,e.on("readable",(function(){t._readCapability.resolve()})),e.on("end",(function(){e.destroy(),t._done=!0,t._readCapability.resolve()})),e.on("error",(function(e){t._error(e)})),this._storedError&&this._readableStream.destroy(this._storedError)}}]),e}();function B(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}var O=function(e){l(n,e);var t=u(n);function n(e){var r;v(this,n);var o=function(t){if(404===t.statusCode){var n=new a.MissingPDFException('Missing PDF "'.concat(r._url,'".'));return r._storedError=n,void r._headersCapability.reject(n)}r._headersCapability.resolve(),r._setReadableStream(t);var o=function(e){return r._readableStream.headers[e.toLowerCase()]},i=(0,s.validateRangeRequestCapabilities)({getResponseHeader:o,isHttp:e.isHttp,rangeChunkSize:r._rangeChunkSize,disableRange:r._disableRange}),l=i.allowRangeRequests,c=i.suggestedLength;r._isRangeSupported=l,r._contentLength=c||r._contentLength,r._filename=(0,s.extractFilenameFromHeader)(o)};return(r=t.call(this,e))._request=null,"http:"===r._url.protocol?r._request=x.request(B(r._url,e.httpHeaders),o):r._request=C.request(B(r._url,e.httpHeaders),o),r._request.on("error",(function(e){r._storedError=e,r._headersCapability.reject(e)})),r._request.end(),r}return n}(S),j=function(e){l(n,e);var t=u(n);function n(e,r,o){var i;for(var s in v(this,n),(i=t.call(this,e))._httpHeaders={},e.httpHeaders){var l=e.httpHeaders[s];void 0!==l&&(i._httpHeaders[s]=l)}i._httpHeaders.Range="bytes=".concat(r,"-").concat(o-1);var c=function(e){if(404!==e.statusCode)i._setReadableStream(e);else{var t=new a.MissingPDFException('Missing PDF "'.concat(i._url,'".'));i._storedError=t}};return i._request=null,"http:"===i._url.protocol?i._request=x.request(B(i._url,i._httpHeaders),c):i._request=C.request(B(i._url,i._httpHeaders),c),i._request.on("error",(function(e){i._storedError=e})),i._request.end(),i}return n}(E),T=function(e){l(n,e);var t=u(n);function n(e){var r;v(this,n),r=t.call(this,e);var o=decodeURIComponent(r._url.path);return w.test(r._url.href)&&(o=o.replace(/^\//,"")),A.lstat(o,(function(e,t){if(e)return"ENOENT"===e.code&&(e=new a.MissingPDFException('Missing PDF "'.concat(o,'".'))),r._storedError=e,void r._headersCapability.reject(e);r._contentLength=t.size,r._setReadableStream(A.createReadStream(o)),r._headersCapability.resolve()})),r}return n}(S),P=function(e){l(n,e);var t=u(n);function n(e,r,o){var i;v(this,n),i=t.call(this,e);var a=decodeURIComponent(i._url.path);return w.test(i._url.href)&&(a=a.replace(/^\//,"")),i._setReadableStream(A.createReadStream(a,{start:r,end:o-1})),i}return n}(E)},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createResponseStatusError=function(e,t){return 404===e||0===e&&t.startsWith("file:")?new r.MissingPDFException('Missing PDF "'+t+'".'):new r.UnexpectedResponseException("Unexpected server response (".concat(e,') while retrieving PDF "').concat(t,'".'),e)},t.extractFilenameFromHeader=function(e){var t=e("Content-Disposition");if(t){var n=(0,o.getFilenameFromContentDispositionHeader)(t);if(n.includes("%"))try{n=decodeURIComponent(n)}catch(e){}if((0,i.isPdfFile)(n))return n}return null},t.validateRangeRequestCapabilities=function(e){var t=e.getResponseHeader,n=e.isHttp,o=e.rangeChunkSize,i=e.disableRange;(0,r.assert)(o>0,"Range chunk size must be larger than zero");var a={allowRangeRequests:!1,suggestedLength:void 0},s=parseInt(t("Content-Length"),10);return Number.isInteger(s)?(a.suggestedLength=s,s<=2*o||i||!n||"bytes"!==t("Accept-Ranges")||"identity"!==(t("Content-Encoding")||"identity")||(a.allowRangeRequests=!0),a):a},t.validateResponseStatus=function(e){return 200===e||206===e};var r=n(4),o=n(155),i=n(1)},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFilenameFromContentDispositionHeader=function(e){var t=!0,n=s("filename\\*","i").exec(e);if(n){var i=u(n=n[1]);return c(i=f(i=d(i=unescape(i))))}if(n=function(e){for(var t,n=[],r=s("filename\\*((?!0\\d)\\d+)(\\*?)","ig");null!==(t=r.exec(e));){var i=o(t,4),a=i[1],l=i[2],c=i[3];if((a=parseInt(a,10))in n){if(0===a)break}else n[a]=[l,c]}for(var f=[],p=0;p<n.length&&p in n;++p){var h=o(n[p],2),m=h[0],g=h[1];g=u(g),m&&(g=unescape(g),0===p&&(g=d(g))),f.push(g)}return f.join("")}(e))return c(f(n));if(n=s("filename","i").exec(e)){var a=u(n=n[1]);return c(a=f(a))}function s(e,t){return new RegExp("(?:^|;)\\s*"+e+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',t)}function l(e,n){if(e){if(!/^[\x00-\xFF]+$/.test(n))return n;try{var o=new TextDecoder(e,{fatal:!0}),i=(0,r.stringToBytes)(n);n=o.decode(i),t=!1}catch(r){if(/^utf-?8$/i.test(e))try{n=decodeURIComponent(escape(n)),t=!1}catch(e){}}}return n}function c(e){return t&&/[\x80-\xff]/.test(e)&&(e=l("utf-8",e),t&&(e=l("iso-8859-1",e))),e}function u(e){if(e.startsWith('"')){for(var t=e.slice(1).split('\\"'),n=0;n<t.length;++n){var r=t[n].indexOf('"');-1!==r&&(t[n]=t[n].slice(0,r),t.length=n+1),t[n]=t[n].replace(/\\(.)/g,"$1")}e=t.join('"')}return e}function d(e){var t=e.indexOf("'");return-1===t?e:l(e.slice(0,t),e.slice(t+1).replace(/^[^']*'/,""))}function f(e){return!e.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(e)?e:e.replace(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,(function(e,t,n,r){if("q"===n||"Q"===n)return l(t,r=(r=r.replace(/_/g," ")).replace(/=([0-9a-fA-F]{2})/g,(function(e,t){return String.fromCharCode(parseInt(t,16))})));try{r=atob(r)}catch(e){}return l(t,r)}))}return""};var r=n(4);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=!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(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(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 i(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}},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFNetworkStream=void 0;var r,o=(r=n(2))&&r.__esModule?r:{default:r},i=n(4),a=n(154);function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))}}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(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 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 p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}var h=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};d(this,e),this.url=t,this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&n.httpHeaders||Object.create(null),this.withCredentials=n.withCredentials||!1,this.getXhr=n.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}return p(e,[{key:"requestRange",value:function(e,t,n){var r={begin:e,end:t};for(var o in n)r[o]=n[o];return this.request(r)}},{key:"requestFull",value:function(e){return this.request(e)}},{key:"request",value:function(e){var t=this.getXhr(),n=this.currXhrId++,r=this.pendingRequests[n]={xhr:t};for(var o in t.open("GET",this.url),t.withCredentials=this.withCredentials,this.httpHeaders){var i=this.httpHeaders[o];void 0!==i&&t.setRequestHeader(o,i)}return this.isHttp&&"begin"in e&&"end"in e?(t.setRequestHeader("Range","bytes=".concat(e.begin,"-").concat(e.end-1)),r.expectedStatus=206):r.expectedStatus=200,t.responseType="arraybuffer",e.onError&&(t.onerror=function(n){e.onError(t.status)}),t.onreadystatechange=this.onStateChange.bind(this,n),t.onprogress=this.onProgress.bind(this,n),r.onHeadersReceived=e.onHeadersReceived,r.onDone=e.onDone,r.onError=e.onError,r.onProgress=e.onProgress,t.send(null),n}},{key:"onProgress",value:function(e,t){var n,r=this.pendingRequests[e];r&&(null===(n=r.onProgress)||void 0===n||n.call(r,t))}},{key:"onStateChange",value:function(e,t){var n=this.pendingRequests[e];if(n){var r=n.xhr;if(r.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),4===r.readyState&&e in this.pendingRequests)if(delete this.pendingRequests[e],0===r.status&&this.isHttp){var o;null===(o=n.onError)||void 0===o||o.call(n,r.status)}else{var a=r.status||200;if(200===a&&206===n.expectedStatus||a===n.expectedStatus){var s=function(e){var t=e.response;return"string"!=typeof t?t:(0,i.stringToBytes)(t).buffer}(r);if(206===a){var l=r.getResponseHeader("Content-Range"),c=/bytes (\d+)-(\d+)\/(\d+)/.exec(l);n.onDone({begin:parseInt(c[1],10),chunk:s})}else if(s)n.onDone({begin:0,chunk:s});else{var u;null===(u=n.onError)||void 0===u||u.call(n,r.status)}}else{var d;null===(d=n.onError)||void 0===d||d.call(n,r.status)}}}}},{key:"getRequestXhr",value:function(e){return this.pendingRequests[e].xhr}},{key:"isPendingRequest",value:function(e){return e in this.pendingRequests}},{key:"abortRequest",value:function(e){var t=this.pendingRequests[e].xhr;delete this.pendingRequests[e],t.abort()}}]),e}(),m=function(){function e(t){d(this,e),this._source=t,this._manager=new h(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}return p(e,[{key:"_onRangeRequestReaderClosed",value:function(e){var t=this._rangeRequestReaders.indexOf(e);t>=0&&this._rangeRequestReaders.splice(t,1)}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new g(this._manager,this._source),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){var n=new v(this._manager,e,t);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){var t;null===(t=this._fullRequestReader)||void 0===t||t.cancel(e);var n,r=c(this._rangeRequestReaders.slice(0));try{for(r.s();!(n=r.n()).done;)n.value.cancel(e)}catch(e){r.e(e)}finally{r.f()}}}]),e}();t.PDFNetworkStream=m;var g=function(){function e(t,n){d(this,e),this._manager=t;var r={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=n.url,this._fullRequestId=t.requestFull(r),this._headersReceivedCapability=(0,i.createPromiseCapability)(),this._disableRange=n.disableRange||!1,this._contentLength=n.length,this._rangeChunkSize=n.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}var t;return p(e,[{key:"_onHeadersReceived",value:function(){var e=this._fullRequestId,t=this._manager.getRequestXhr(e),n=function(e){return t.getResponseHeader(e)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange}),o=r.allowRangeRequests,i=r.suggestedLength;o&&(this._isRangeSupported=!0),this._contentLength=i||this._contentLength,this._filename=(0,a.extractFilenameFromHeader)(n),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}},{key:"_onDone",value:function(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0}}},{key:"_onError",value:function(e){this._storedError=(0,a.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.reject(this._storedError)}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._cachedChunks.length=0}},{key:"_onProgress",value:function(e){var t;null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}},{key:"filename",get:function(){return this._filename}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"contentLength",get:function(){return this._contentLength}},{key:"headersReady",get:function(){return this._headersReceivedCapability.promise}},{key:"read",value:(t=l(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(!(this._cachedChunks.length>0)){e.next=5;break}return t=this._cachedChunks.shift(),e.abrupt("return",{value:t,done:!1});case 5:if(!this._done){e.next=7;break}return e.abrupt("return",{value:void 0,done:!0});case 7:return n=(0,i.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 10:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0,this._headersReceivedCapability.reject(e);var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}]),e}(),v=function(){function e(t,n,r){d(this,e),this._manager=t;var o={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._requestId=t.requestRange(n,r,o),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}var t;return p(e,[{key:"_close",value:function(){var e;null===(e=this.onClosed)||void 0===e||e.call(this,this)}},{key:"_onDone",value:function(e){var t=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunk=t,this._done=!0;var n,r=c(this._requests);try{for(r.s();!(n=r.n()).done;)n.value.resolve({value:void 0,done:!0})}catch(e){r.e(e)}finally{r.f()}this._requests.length=0,this._close()}},{key:"_onError",value:function(e){this._storedError=(0,a.createResponseStatusError)(e,this._url);var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.reject(this._storedError)}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._queuedChunk=null}},{key:"_onProgress",value:function(e){var t;this.isStreamingSupported||null===(t=this.onProgress)||void 0===t||t.call(this,{loaded:e.loaded})}},{key:"isStreamingSupported",get:function(){return!1}},{key:"read",value:(t=l(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!this._storedError){e.next=2;break}throw this._storedError;case 2:if(null===this._queuedChunk){e.next=6;break}return t=this._queuedChunk,this._queuedChunk=null,e.abrupt("return",{value:t,done:!1});case 6:if(!this._done){e.next=8;break}return e.abrupt("return",{value:void 0,done:!0});case 8:return n=(0,i.createPromiseCapability)(),this._requests.push(n),e.abrupt("return",n.promise);case 11:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._done=!0;var t,n=c(this._requests);try{for(n.s();!(t=n.n()).done;)t.value.resolve({value:void 0,done:!0})}catch(e){n.e(e)}finally{n.f()}this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}]),e}()},(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PDFFetchStream=void 0;var r,o=(r=n(2))&&r.__esModule?r:{default:r},i=n(4),a=n(154);function s(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}function l(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){s(i,r,o,a,l,"next",e)}function l(e){s(i,r,o,a,l,"throw",e)}a(void 0)}))}}function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return u(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)?u(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,a=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function u(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 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 p(e,t,n){return t&&f(e.prototype,t),n&&f(e,n),e}function h(e,t,n){return{method:"GET",headers:e,signal:null==n?void 0:n.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function m(e){var t=new Headers;for(var n in e){var r=e[n];void 0!==r&&t.append(n,r)}return t}var g=function(){function e(t){d(this,e),this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}return p(e,[{key:"_progressiveDataLength",get:function(){var e,t;return null!==(e=null===(t=this._fullRequestReader)||void 0===t?void 0:t._loaded)&&void 0!==e?e:0}},{key:"getFullReader",value:function(){return(0,i.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new v(this),this._fullRequestReader}},{key:"getRangeReader",value:function(e,t){if(t<=this._progressiveDataLength)return null;var n=new b(this,e,t);return this._rangeRequestReaders.push(n),n}},{key:"cancelAllRequests",value:function(e){this._fullRequestReader&&this._fullRequestReader.cancel(e);var t,n=c(this._rangeRequestReaders.slice(0));try{for(n.s();!(t=n.n()).done;)t.value.cancel(e)}catch(e){n.e(e)}finally{n.f()}}}]),e}();t.PDFFetchStream=g;var v=function(){function e(t){var n=this;d(this,e),this._stream=t,this._reader=null,this._loaded=0,this._filename=null;var r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=(0,i.createPromiseCapability)(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,this._rangeChunkSize||this._disableRange||(this._disableRange=!0),"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=m(this._stream.httpHeaders);var o=r.url;fetch(o,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,o);n._reader=e.body.getReader(),n._headersCapability.resolve();var t=function(t){return e.headers.get(t)},r=(0,a.validateRangeRequestCapabilities)({getResponseHeader:t,isHttp:n._stream.isHttp,rangeChunkSize:n._rangeChunkSize,disableRange:n._disableRange}),s=r.allowRangeRequests,l=r.suggestedLength;n._isRangeSupported=s,n._contentLength=l||n._contentLength,n._filename=(0,a.extractFilenameFromHeader)(t),!n._isStreamingSupported&&n._isRangeSupported&&n.cancel(new i.AbortException("Streaming is disabled."))})).catch(this._headersCapability.reject),this.onProgress=null}var t;return p(e,[{key:"headersReady",get:function(){return this._headersCapability.promise}},{key:"filename",get:function(){return this._filename}},{key:"contentLength",get:function(){return this._contentLength}},{key:"isRangeSupported",get:function(){return this._isRangeSupported}},{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=l(o.default.mark((function e(){var t,n,r,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._headersCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,n=t.value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),i=new Uint8Array(n).buffer,e.abrupt("return",{value:i,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}]),e}(),b=function(){function e(t,n,r){var o=this;d(this,e),this._stream=t,this._reader=null,this._loaded=0;var s=t.source;this._withCredentials=s.withCredentials||!1,this._readCapability=(0,i.createPromiseCapability)(),this._isStreamingSupported=!s.disableStream,"undefined"!=typeof AbortController&&(this._abortController=new AbortController),this._headers=m(this._stream.httpHeaders),this._headers.append("Range","bytes=".concat(n,"-").concat(r-1));var l=s.url;fetch(l,h(this._headers,this._withCredentials,this._abortController)).then((function(e){if(!(0,a.validateResponseStatus)(e.status))throw(0,a.createResponseStatusError)(e.status,l);o._readCapability.resolve(),o._reader=e.body.getReader()})).catch(this._readCapability.reject),this.onProgress=null}var t;return p(e,[{key:"isStreamingSupported",get:function(){return this._isStreamingSupported}},{key:"read",value:(t=l(o.default.mark((function e(){var t,n,r,i;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this._readCapability.promise;case 2:return e.next=4,this._reader.read();case 4:if(t=e.sent,n=t.value,!(r=t.done)){e.next=9;break}return e.abrupt("return",{value:n,done:r});case 9:return this._loaded+=n.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),i=new Uint8Array(n).buffer,e.abrupt("return",{value:i,done:!1});case 13:case"end":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})},{key:"cancel",value:function(e){this._reader&&this._reader.cancel(e),this._abortController&&this._abortController.abort()}}]),e}()}],__webpack_module_cache__={};function __w_pdfjs_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__w_pdfjs_require__),n.loaded=!0,n.exports}__w_pdfjs_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var __webpack_exports__={};return(()=>{"use strict";var e=__webpack_exports__;Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnnotationLayer",{enumerable:!0,get:function(){return o.AnnotationLayer}}),Object.defineProperty(e,"AnnotationMode",{enumerable:!0,get:function(){return n.AnnotationMode}}),Object.defineProperty(e,"CMapCompressionType",{enumerable:!0,get:function(){return n.CMapCompressionType}}),Object.defineProperty(e,"GlobalWorkerOptions",{enumerable:!0,get:function(){return i.GlobalWorkerOptions}}),Object.defineProperty(e,"InvalidPDFException",{enumerable:!0,get:function(){return n.InvalidPDFException}}),Object.defineProperty(e,"LinkTarget",{enumerable:!0,get:function(){return t.LinkTarget}}),Object.defineProperty(e,"LoopbackPort",{enumerable:!0,get:function(){return r.LoopbackPort}}),Object.defineProperty(e,"MissingPDFException",{enumerable:!0,get:function(){return n.MissingPDFException}}),Object.defineProperty(e,"OPS",{enumerable:!0,get:function(){return n.OPS}}),Object.defineProperty(e,"PDFDataRangeTransport",{enumerable:!0,get:function(){return r.PDFDataRangeTransport}}),Object.defineProperty(e,"PDFDateString",{enumerable:!0,get:function(){return t.PDFDateString}}),Object.defineProperty(e,"PDFWorker",{enumerable:!0,get:function(){return r.PDFWorker}}),Object.defineProperty(e,"PasswordResponses",{enumerable:!0,get:function(){return n.PasswordResponses}}),Object.defineProperty(e,"PermissionFlag",{enumerable:!0,get:function(){return n.PermissionFlag}}),Object.defineProperty(e,"PixelsPerInch",{enumerable:!0,get:function(){return t.PixelsPerInch}}),Object.defineProperty(e,"RenderingCancelledException",{enumerable:!0,get:function(){return t.RenderingCancelledException}}),Object.defineProperty(e,"SVGGraphics",{enumerable:!0,get:function(){return l.SVGGraphics}}),Object.defineProperty(e,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return n.UNSUPPORTED_FEATURES}}),Object.defineProperty(e,"UnexpectedResponseException",{enumerable:!0,get:function(){return n.UnexpectedResponseException}}),Object.defineProperty(e,"Util",{enumerable:!0,get:function(){return n.Util}}),Object.defineProperty(e,"VerbosityLevel",{enumerable:!0,get:function(){return n.VerbosityLevel}}),Object.defineProperty(e,"XfaLayer",{enumerable:!0,get:function(){return c.XfaLayer}}),Object.defineProperty(e,"addLinkAttributes",{enumerable:!0,get:function(){return t.addLinkAttributes}}),Object.defineProperty(e,"build",{enumerable:!0,get:function(){return r.build}}),Object.defineProperty(e,"createObjectURL",{enumerable:!0,get:function(){return n.createObjectURL}}),Object.defineProperty(e,"createPromiseCapability",{enumerable:!0,get:function(){return n.createPromiseCapability}}),Object.defineProperty(e,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return n.createValidAbsoluteUrl}}),Object.defineProperty(e,"getDocument",{enumerable:!0,get:function(){return r.getDocument}}),Object.defineProperty(e,"getFilenameFromUrl",{enumerable:!0,get:function(){return t.getFilenameFromUrl}}),Object.defineProperty(e,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return t.getPdfFilenameFromUrl}}),Object.defineProperty(e,"getXfaPageViewport",{enumerable:!0,get:function(){return t.getXfaPageViewport}}),Object.defineProperty(e,"isPdfFile",{enumerable:!0,get:function(){return t.isPdfFile}}),Object.defineProperty(e,"loadScript",{enumerable:!0,get:function(){return t.loadScript}}),Object.defineProperty(e,"removeNullCharacters",{enumerable:!0,get:function(){return n.removeNullCharacters}}),Object.defineProperty(e,"renderTextLayer",{enumerable:!0,get:function(){return s.renderTextLayer}}),Object.defineProperty(e,"shadow",{enumerable:!0,get:function(){return n.shadow}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return r.version}});var t=__w_pdfjs_require__(1),n=__w_pdfjs_require__(4),r=__w_pdfjs_require__(136),o=__w_pdfjs_require__(148),i=__w_pdfjs_require__(142),a=__w_pdfjs_require__(6),s=__w_pdfjs_require__(151),l=__w_pdfjs_require__(152),c=__w_pdfjs_require__(150);if(a.isNodeJS){var u=__w_pdfjs_require__(153).PDFNodeStream;(0,r.setPDFNetworkStreamFactory)((function(e){return new u(e)}))}else{var d=__w_pdfjs_require__(156).PDFNetworkStream,f=__w_pdfjs_require__(157).PDFFetchStream;(0,r.setPDFNetworkStreamFactory)((function(e){return(0,t.isValidFetchUrl)(e.url)?new f(e):new d(e)}))}})(),__webpack_exports__})()},module.exports=factory()},28981:function(e,t,n){"use strict";n.r(t);var r="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,o=function(){for(var e=["Edge","Trident","Firefox"],t=0;t<e.length;t+=1)if(r&&navigator.userAgent.indexOf(e[t])>=0)return 1;return 0}();var i=r&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),o))}};function a(e){return e&&"[object Function]"==={}.toString.call(e)}function s(e,t){if(1!==e.nodeType)return[];var n=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?n[t]:n}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=s(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(n+o+r)?e:c(l(e))}function u(e){return e&&e.referenceNode?e.referenceNode:e}var d=r&&!(!window.MSInputMethodContext||!document.documentMode),f=r&&/MSIE 10/.test(navigator.userAgent);function p(e){return 11===e?d:10===e?f:d||f}function h(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,n=e.offsetParent||null;n===t&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?h(n):n:e?e.ownerDocument.documentElement:document.documentElement}function m(e){return null!==e.parentNode?m(e.parentNode):e}function g(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var n=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?e:t,o=n?t:e,i=document.createRange();i.setStart(r,0),i.setEnd(o,0);var a,s,l=i.commonAncestorContainer;if(e!==l&&t!==l||r.contains(o))return"BODY"===(s=(a=l).nodeName)||"HTML"!==s&&h(a.firstElementChild)!==a?h(l):l;var c=m(e);return c.host?g(c.host,t):g(e,m(t).host)}function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===t?"scrollTop":"scrollLeft",r=e.nodeName;if("BODY"===r||"HTML"===r){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[n]}return e[n]}function b(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=v(t,"top"),o=v(t,"left"),i=n?-1:1;return e.top+=r*i,e.bottom+=r*i,e.left+=o*i,e.right+=o*i,e}function y(e,t){var n="x"===t?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(e["border"+n+"Width"])+parseFloat(e["border"+r+"Width"])}function A(e,t,n,r){return Math.max(t["offset"+e],t["scroll"+e],n["client"+e],n["offset"+e],n["scroll"+e],p(10)?parseInt(n["offset"+e])+parseInt(r["margin"+("Height"===e?"Top":"Left")])+parseInt(r["margin"+("Height"===e?"Bottom":"Right")]):0)}function x(e){var t=e.body,n=e.documentElement,r=p(10)&&getComputedStyle(n);return{height:A("Height",t,n,r),width:A("Width",t,n,r)}}var C=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},_=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}}(),w=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},k=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 S(e){return k({},e,{right:e.left+e.width,bottom:e.top+e.height})}function E(e){var t={};try{if(p(10)){t=e.getBoundingClientRect();var n=v(e,"top"),r=v(e,"left");t.top+=n,t.left+=r,t.bottom+=n,t.right+=r}else t=e.getBoundingClientRect()}catch(e){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?x(e.ownerDocument):{},a=i.width||e.clientWidth||o.width,l=i.height||e.clientHeight||o.height,c=e.offsetWidth-a,u=e.offsetHeight-l;if(c||u){var d=s(e);c-=y(d,"x"),u-=y(d,"y"),o.width-=c,o.height-=u}return S(o)}function B(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=p(10),o="HTML"===t.nodeName,i=E(e),a=E(t),l=c(e),u=s(t),d=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);n&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var h=S({top:i.top-a.top-d,left:i.left-a.left-f,width:i.width,height:i.height});if(h.marginTop=0,h.marginLeft=0,!r&&o){var m=parseFloat(u.marginTop),g=parseFloat(u.marginLeft);h.top-=d-m,h.bottom-=d-m,h.left-=f-g,h.right-=f-g,h.marginTop=m,h.marginLeft=g}return(r&&!n?t.contains(l):t===l&&"BODY"!==l.nodeName)&&(h=b(h,t)),h}function O(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.ownerDocument.documentElement,r=B(e,n),o=Math.max(n.clientWidth,window.innerWidth||0),i=Math.max(n.clientHeight,window.innerHeight||0),a=t?0:v(n),s=t?0:v(n,"left"),l={top:a-r.top+r.marginTop,left:s-r.left+r.marginLeft,width:o,height:i};return S(l)}function j(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===s(e,"position"))return!0;var n=l(e);return!!n&&j(n)}function T(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===s(t,"transform");)t=t.parentElement;return t||document.documentElement}function P(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?T(e):g(e,u(t));if("viewport"===r)i=O(a,o);else{var s=void 0;"scrollParent"===r?"BODY"===(s=c(l(t))).nodeName&&(s=e.ownerDocument.documentElement):s="window"===r?e.ownerDocument.documentElement:r;var d=B(s,a,o);if("HTML"!==s.nodeName||j(a))i=d;else{var f=x(e.ownerDocument),p=f.height,h=f.width;i.top+=d.top-d.marginTop,i.bottom=p+d.top,i.left+=d.left-d.marginLeft,i.right=h+d.left}}var m="number"==typeof(n=n||0);return i.left+=m?n:n.left||0,i.top+=m?n:n.top||0,i.right-=m?n:n.right||0,i.bottom-=m?n:n.bottom||0,i}function M(e){return e.width*e.height}function D(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=P(n,r,i,o),s={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(s).map((function(e){return k({key:e},s[e],{area:M(s[e])})})).sort((function(e,t){return t.area-e.area})),c=l.filter((function(e){var t=e.width,r=e.height;return t>=n.clientWidth&&r>=n.clientHeight})),u=c.length>0?c[0].key:l[0].key,d=e.split("-")[1];return u+(d?"-"+d:"")}function R(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=r?T(t):g(t,u(n));return B(n,o,r)}function L(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),n=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),r=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+r,height:e.offsetHeight+n}}function I(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function N(e,t,n){n=n.split("-")[0];var r=L(e),o={width:r.width,height:r.height},i=-1!==["right","left"].indexOf(n),a=i?"top":"left",s=i?"left":"top",l=i?"height":"width",c=i?"width":"height";return o[a]=t[a]+t[l]/2-r[l]/2,o[s]=n===s?t[s]-r[c]:t[I(s)],o}function F(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function z(e,t,n){return(void 0===n?e:e.slice(0,function(e,t,n){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===n}));var r=F(e,(function(e){return e[t]===n}));return e.indexOf(r)}(e,"name",n))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=e.function||e.fn;e.enabled&&a(n)&&(t.offsets.popper=S(t.offsets.popper),t.offsets.reference=S(t.offsets.reference),t=n(t,e))})),t}function q(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=D(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=N(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=z(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var n=e.name;return e.enabled&&n===t}))}function H(e){for(var t=[!1,"ms","Webkit","Moz","O"],n=e.charAt(0).toUpperCase()+e.slice(1),r=0;r<t.length;r++){var o=t[r],i=o?""+o+n:e;if(void 0!==document.body.style[i])return i}return null}function W(){return this.state.isDestroyed=!0,U(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[H("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(e){var t=e.ownerDocument;return t?t.defaultView:window}function Y(e,t,n,r){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,n,{passive:!0}),o||Y(c(i.parentNode),t,n,r),r.push(i)}function Z(e,t,n,r){n.updateBound=r,V(e).addEventListener("resize",n.updateBound,{passive:!0});var o=c(e);return Y(o,"scroll",n.updateBound,n.scrollParents),n.scrollElement=o,n.eventsEnabled=!0,n}function G(){this.state.eventsEnabled||(this.state=Z(this.reference,this.options,this.state,this.scheduleUpdate))}function K(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,V(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function $(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function X(e,t){Object.keys(t).forEach((function(n){var r="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&$(t[n])&&(r="px"),e.style[n]=t[n]+r}))}var Q=r&&/Firefox/i.test(navigator.userAgent);function J(e,t,n){var r=F(e,(function(e){return e.name===t})),o=!!r&&e.some((function(e){return e.name===n&&e.enabled&&e.order<r.order}));if(!o){var i="`"+t+"`",a="`"+n+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var ee=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],te=ee.slice(3);function ne(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=te.indexOf(e),r=te.slice(n+1).concat(te.slice(0,n));return t?r.reverse():r}var re="flip",oe="clockwise",ie="counterclockwise";function ae(e,t,n,r){var o=[0,0],i=-1!==["right","left"].indexOf(r),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),s=a.indexOf(F(a,(function(e){return-1!==e.search(/,|\s/)})));a[s]&&-1===a[s].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==s?[a.slice(0,s).concat([a[s].split(l)[0]]),[a[s].split(l)[1]].concat(a.slice(s+1))]:[a];return c=c.map((function(e,r){var o=(1===r?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,n,r){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){return S("%p"===a?n:r)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,n)}))})),c.forEach((function(e,t){e.forEach((function(n,r){$(n)&&(o[t]+=n*("-"===e[r-1]?-1:1))}))})),o}var se={shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,n=t.split("-")[0],r=t.split("-")[1];if(r){var o=e.offsets,i=o.reference,a=o.popper,s=-1!==["bottom","top"].indexOf(n),l=s?"left":"top",c=s?"width":"height",u={start:w({},l,i[l]),end:w({},l,i[l]+i[c]-a[c])};e.offsets.popper=k({},a,u[r])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var n=t.offset,r=e.placement,o=e.offsets,i=o.popper,a=o.reference,s=r.split("-")[0],l=void 0;return l=$(+n)?[+n,0]:ae(n,i,a,s),"left"===s?(i.top+=l[0],i.left-=l[1]):"right"===s?(i.top+=l[0],i.left+=l[1]):"top"===s?(i.left+=l[0],i.top-=l[1]):"bottom"===s&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var n=t.boundariesElement||h(e.instance.popper);e.instance.reference===n&&(n=h(n));var r=H("transform"),o=e.instance.popper.style,i=o.top,a=o.left,s=o[r];o.top="",o.left="",o[r]="";var l=P(e.instance.popper,e.instance.reference,t.padding,n,e.positionFixed);o.top=i,o.left=a,o[r]=s,t.boundaries=l;var c=t.priority,u=e.offsets.popper,d={primary:function(e){var n=u[e];return u[e]<l[e]&&!t.escapeWithReference&&(n=Math.max(u[e],l[e])),w({},e,n)},secondary:function(e){var n="right"===e?"left":"top",r=u[n];return u[e]>l[e]&&!t.escapeWithReference&&(r=Math.min(u[n],l[e]-("right"===e?u.width:u.height))),w({},n,r)}};return c.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=k({},u,d[t](e))})),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,n=t.popper,r=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),s=a?"right":"bottom",l=a?"left":"top",c=a?"width":"height";return n[s]<i(r[l])&&(e.offsets.popper[l]=i(r[l])-n[c]),n[l]>i(r[s])&&(e.offsets.popper[l]=i(r[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var n;if(!J(e.instance.modifiers,"arrow","keepTogether"))return e;var r=t.element;if("string"==typeof r){if(!(r=e.instance.popper.querySelector(r)))return e}else if(!e.instance.popper.contains(r))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,l=i.reference,c=-1!==["left","right"].indexOf(o),u=c?"height":"width",d=c?"Top":"Left",f=d.toLowerCase(),p=c?"left":"top",h=c?"bottom":"right",m=L(r)[u];l[h]-m<a[f]&&(e.offsets.popper[f]-=a[f]-(l[h]-m)),l[f]+m>a[h]&&(e.offsets.popper[f]+=l[f]+m-a[h]),e.offsets.popper=S(e.offsets.popper);var g=l[f]+l[u]/2-m/2,v=s(e.instance.popper),b=parseFloat(v["margin"+d]),y=parseFloat(v["border"+d+"Width"]),A=g-e.offsets.popper[f]-b-y;return A=Math.max(Math.min(a[u]-m,A),0),e.arrowElement=r,e.offsets.arrow=(w(n={},f,Math.round(A)),w(n,p,""),n),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var n=P(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),r=e.placement.split("-")[0],o=I(r),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case re:a=[r,o];break;case oe:a=ne(r);break;case ie:a=ne(r,!0);break;default:a=t.behavior}return a.forEach((function(s,l){if(r!==s||a.length===l+1)return e;r=e.placement.split("-")[0],o=I(r);var c=e.offsets.popper,u=e.offsets.reference,d=Math.floor,f="left"===r&&d(c.right)>d(u.left)||"right"===r&&d(c.left)<d(u.right)||"top"===r&&d(c.bottom)>d(u.top)||"bottom"===r&&d(c.top)<d(u.bottom),p=d(c.left)<d(n.left),h=d(c.right)>d(n.right),m=d(c.top)<d(n.top),g=d(c.bottom)>d(n.bottom),v="left"===r&&p||"right"===r&&h||"top"===r&&m||"bottom"===r&&g,b=-1!==["top","bottom"].indexOf(r),y=!!t.flipVariations&&(b&&"start"===i&&p||b&&"end"===i&&h||!b&&"start"===i&&m||!b&&"end"===i&&g),A=!!t.flipVariationsByContent&&(b&&"start"===i&&h||b&&"end"===i&&p||!b&&"start"===i&&g||!b&&"end"===i&&m),x=y||A;(f||v||x)&&(e.flipped=!0,(f||v)&&(r=a[l+1]),x&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=r+(i?"-"+i:""),e.offsets.popper=k({},e.offsets.popper,N(e.instance.popper,e.offsets.reference,e.placement)),e=z(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,n=t.split("-")[0],r=e.offsets,o=r.popper,i=r.reference,a=-1!==["left","right"].indexOf(n),s=-1===["top","left"].indexOf(n);return o[a?"left":"top"]=i[n]-(s?o[a?"width":"height"]:0),e.placement=I(t),e.offsets.popper=S(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!J(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,n=F(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<n.top||t.left>n.right||t.top>n.bottom||t.right<n.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var n=t.x,r=t.y,o=e.offsets.popper,i=F(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,s=h(e.instance.popper),l=E(s),c={position:o.position},u=function(e,t){var n=e.offsets,r=n.popper,o=n.reference,i=Math.round,a=Math.floor,s=function(e){return e},l=i(o.width),c=i(r.width),u=-1!==["left","right"].indexOf(e.placement),d=-1!==e.placement.indexOf("-"),f=t?u||d||l%2==c%2?i:a:s,p=t?i:s;return{left:f(l%2==1&&c%2==1&&!d&&t?r.left-1:r.left),top:p(r.top),bottom:p(r.bottom),right:f(r.right)}}(e,window.devicePixelRatio<2||!Q),d="bottom"===n?"top":"bottom",f="right"===r?"left":"right",p=H("transform"),m=void 0,g=void 0;if(g="bottom"===d?"HTML"===s.nodeName?-s.clientHeight+u.bottom:-l.height+u.bottom:u.top,m="right"===f?"HTML"===s.nodeName?-s.clientWidth+u.right:-l.width+u.right:u.left,a&&p)c[p]="translate3d("+m+"px, "+g+"px, 0)",c[d]=0,c[f]=0,c.willChange="transform";else{var v="bottom"===d?-1:1,b="right"===f?-1:1;c[d]=g*v,c[f]=m*b,c.willChange=d+", "+f}var y={"x-placement":e.placement};return e.attributes=k({},y,e.attributes),e.styles=k({},c,e.styles),e.arrowStyles=k({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,n;return X(e.instance.popper,e.styles),t=e.instance.popper,n=e.attributes,Object.keys(n).forEach((function(e){!1!==n[e]?t.setAttribute(e,n[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&X(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,n,r,o){var i=R(o,t,e,n.positionFixed),a=D(n.placement,i,t,e,n.modifiers.flip.boundariesElement,n.modifiers.flip.padding);return t.setAttribute("x-placement",a),X(t,{position:n.positionFixed?"fixed":"absolute"}),n},gpuAcceleration:void 0}},le={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:se},ce=function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};C(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(r.update)},this.update=i(this.update.bind(this)),this.options=k({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(k({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){r.options.modifiers[t]=k({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return k({name:e},r.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&a(e.onLoad)&&e.onLoad(r.reference,r.popper,r.options,e,r.state)})),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return _(e,[{key:"update",value:function(){return q.call(this)}},{key:"destroy",value:function(){return W.call(this)}},{key:"enableEventListeners",value:function(){return G.call(this)}},{key:"disableEventListeners",value:function(){return K.call(this)}}]),e}();ce.Utils=("undefined"!=typeof window?window:n.g).PopperUtils,ce.placements=ee,ce.Defaults=le,t.default=ce},34155:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:i}catch(e){n=i}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&f())}function f(){if(!c){var e=a(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===i||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||a(f)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=h,r.addListener=h,r.once=h,r.off=h,r.removeListener=h,r.removeAllListeners=h,r.emit=h,r.prependListener=h,r.prependOnceListener=h,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},4391:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];function r(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=null;return t.forEach((function(e){if(null==o){var t=e.apply(void 0,n);null!=t&&(o=t)}})),o}return(0,i.default)(r)};var r,o=n(82613),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},82613:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){function t(t,n,r,o,i,a){var s=o||"<<anonymous>>",l=a||r;if(null==n[r])return t?new Error("Required "+i+" `"+l+"` was not specified in `"+s+"`."):null;for(var c=arguments.length,u=Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[n,r,s,i,l].concat(u))}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n},e.exports=t.default},92703:function(e,t,n){"use strict";var r=n(50414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},45697:function(e,t,n){e.exports=n(92703)()},50414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},84059:function(e,t,n){"use strict";n.d(t,{ZP:function(){return k}});var r,o=n(67294),i=Object.defineProperty,a=Object.getOwnPropertySymbols,s=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,c=(e,t,n)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,u=(e,t)=>{for(var n in t||(t={}))s.call(t,n)&&c(e,n,t[n]);if(a)for(var n of a(t))l.call(t,n)&&c(e,n,t[n]);return e},d=(e,t)=>{var n={};for(var r in e)s.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&a)for(var r of a(e))t.indexOf(r)<0&&l.call(e,r)&&(n[r]=e[r]);return n};(e=>{const t=class{constructor(e,n,r,o){if(this.version=e,this.errorCorrectionLevel=n,this.modules=[],this.isFunction=[],e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version value out of range");if(o<-1||o>7)throw new RangeError("Mask value out of range");this.size=4*e+17;let a=[];for(let e=0;e<this.size;e++)a.push(!1);for(let e=0;e<this.size;e++)this.modules.push(a.slice()),this.isFunction.push(a.slice());this.drawFunctionPatterns();const s=this.addEccAndInterleave(r);if(this.drawCodewords(s),-1==o){let e=1e9;for(let t=0;t<8;t++){this.applyMask(t),this.drawFormatBits(t);const n=this.getPenaltyScore();n<e&&(o=t,e=n),this.applyMask(t)}}i(0<=o&&o<=7),this.mask=o,this.applyMask(o),this.drawFormatBits(o),this.isFunction=[]}static encodeText(n,r){const o=e.QrSegment.makeSegments(n);return t.encodeSegments(o,r)}static encodeBinary(n,r){const o=e.QrSegment.makeBytes(n);return t.encodeSegments([o],r)}static encodeSegments(e,n,o=1,a=40,l=-1,c=!0){if(!(t.MIN_VERSION<=o&&o<=a&&a<=t.MAX_VERSION)||l<-1||l>7)throw new RangeError("Invalid value");let u,d;for(u=o;;u++){const r=8*t.getNumDataCodewords(u,n),o=s.getTotalBits(e,u);if(o<=r){d=o;break}if(u>=a)throw new RangeError("Data too long")}for(const e of[t.Ecc.MEDIUM,t.Ecc.QUARTILE,t.Ecc.HIGH])c&&d<=8*t.getNumDataCodewords(u,e)&&(n=e);let f=[];for(const t of e){r(t.mode.modeBits,4,f),r(t.numChars,t.mode.numCharCountBits(u),f);for(const e of t.getData())f.push(e)}i(f.length==d);const p=8*t.getNumDataCodewords(u,n);i(f.length<=p),r(0,Math.min(4,p-f.length),f),r(0,(8-f.length%8)%8,f),i(f.length%8==0);for(let e=236;f.length<p;e^=253)r(e,8,f);let h=[];for(;8*h.length<f.length;)h.push(0);return f.forEach(((e,t)=>h[t>>>3]|=e<<7-(7&t))),new t(u,n,h,l)}getModule(e,t){return 0<=e&&e<this.size&&0<=t&&t<this.size&&this.modules[t][e]}getModules(){return this.modules}drawFunctionPatterns(){for(let e=0;e<this.size;e++)this.setFunctionModule(6,e,e%2==0),this.setFunctionModule(e,6,e%2==0);this.drawFinderPattern(3,3),this.drawFinderPattern(this.size-4,3),this.drawFinderPattern(3,this.size-4);const e=this.getAlignmentPatternPositions(),t=e.length;for(let n=0;n<t;n++)for(let r=0;r<t;r++)0==n&&0==r||0==n&&r==t-1||n==t-1&&0==r||this.drawAlignmentPattern(e[n],e[r]);this.drawFormatBits(0),this.drawVersion()}drawFormatBits(e){const t=this.errorCorrectionLevel.formatBits<<3|e;let n=t;for(let e=0;e<10;e++)n=n<<1^1335*(n>>>9);const r=21522^(t<<10|n);i(r>>>15==0);for(let e=0;e<=5;e++)this.setFunctionModule(8,e,o(r,e));this.setFunctionModule(8,7,o(r,6)),this.setFunctionModule(8,8,o(r,7)),this.setFunctionModule(7,8,o(r,8));for(let e=9;e<15;e++)this.setFunctionModule(14-e,8,o(r,e));for(let e=0;e<8;e++)this.setFunctionModule(this.size-1-e,8,o(r,e));for(let e=8;e<15;e++)this.setFunctionModule(8,this.size-15+e,o(r,e));this.setFunctionModule(8,this.size-8,!0)}drawVersion(){if(this.version<7)return;let e=this.version;for(let t=0;t<12;t++)e=e<<1^7973*(e>>>11);const t=this.version<<12|e;i(t>>>18==0);for(let e=0;e<18;e++){const n=o(t,e),r=this.size-11+e%3,i=Math.floor(e/3);this.setFunctionModule(r,i,n),this.setFunctionModule(i,r,n)}}drawFinderPattern(e,t){for(let n=-4;n<=4;n++)for(let r=-4;r<=4;r++){const o=Math.max(Math.abs(r),Math.abs(n)),i=e+r,a=t+n;0<=i&&i<this.size&&0<=a&&a<this.size&&this.setFunctionModule(i,a,2!=o&&4!=o)}}drawAlignmentPattern(e,t){for(let n=-2;n<=2;n++)for(let r=-2;r<=2;r++)this.setFunctionModule(e+r,t+n,1!=Math.max(Math.abs(r),Math.abs(n)))}setFunctionModule(e,t,n){this.modules[t][e]=n,this.isFunction[t][e]=!0}addEccAndInterleave(e){const n=this.version,r=this.errorCorrectionLevel;if(e.length!=t.getNumDataCodewords(n,r))throw new RangeError("Invalid argument");const o=t.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][n],a=t.ECC_CODEWORDS_PER_BLOCK[r.ordinal][n],s=Math.floor(t.getNumRawDataModules(n)/8),l=o-s%o,c=Math.floor(s/o);let u=[];const d=t.reedSolomonComputeDivisor(a);for(let n=0,r=0;n<o;n++){let o=e.slice(r,r+c-a+(n<l?0:1));r+=o.length;const i=t.reedSolomonComputeRemainder(o,d);n<l&&o.push(0),u.push(o.concat(i))}let f=[];for(let e=0;e<u[0].length;e++)u.forEach(((t,n)=>{(e!=c-a||n>=l)&&f.push(t[e])}));return i(f.length==s),f}drawCodewords(e){if(e.length!=Math.floor(t.getNumRawDataModules(this.version)/8))throw new RangeError("Invalid argument");let n=0;for(let t=this.size-1;t>=1;t-=2){6==t&&(t=5);for(let r=0;r<this.size;r++)for(let i=0;i<2;i++){const a=t-i,s=0==(t+1&2)?this.size-1-r:r;!this.isFunction[s][a]&&n<8*e.length&&(this.modules[s][a]=o(e[n>>>3],7-(7&n)),n++)}}i(n==8*e.length)}applyMask(e){if(e<0||e>7)throw new RangeError("Mask value out of range");for(let t=0;t<this.size;t++)for(let n=0;n<this.size;n++){let r;switch(e){case 0:r=(n+t)%2==0;break;case 1:r=t%2==0;break;case 2:r=n%3==0;break;case 3:r=(n+t)%3==0;break;case 4:r=(Math.floor(n/3)+Math.floor(t/2))%2==0;break;case 5:r=n*t%2+n*t%3==0;break;case 6:r=(n*t%2+n*t%3)%2==0;break;case 7:r=((n+t)%2+n*t%3)%2==0;break;default:throw new Error("Unreachable")}!this.isFunction[t][n]&&r&&(this.modules[t][n]=!this.modules[t][n])}}getPenaltyScore(){let e=0;for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[n][a]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[n][a],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size;n++){let r=!1,o=0,i=[0,0,0,0,0,0,0];for(let a=0;a<this.size;a++)this.modules[a][n]==r?(o++,5==o?e+=t.PENALTY_N1:o>5&&e++):(this.finderPenaltyAddHistory(o,i),r||(e+=this.finderPenaltyCountPatterns(i)*t.PENALTY_N3),r=this.modules[a][n],o=1);e+=this.finderPenaltyTerminateAndCount(r,o,i)*t.PENALTY_N3}for(let n=0;n<this.size-1;n++)for(let r=0;r<this.size-1;r++){const o=this.modules[n][r];o==this.modules[n][r+1]&&o==this.modules[n+1][r]&&o==this.modules[n+1][r+1]&&(e+=t.PENALTY_N2)}let n=0;for(const e of this.modules)n=e.reduce(((e,t)=>e+(t?1:0)),n);const r=this.size*this.size,o=Math.ceil(Math.abs(20*n-10*r)/r)-1;return i(0<=o&&o<=9),e+=o*t.PENALTY_N4,i(0<=e&&e<=2568888),e}getAlignmentPatternPositions(){if(1==this.version)return[];{const e=Math.floor(this.version/7)+2,t=32==this.version?26:2*Math.ceil((4*this.version+4)/(2*e-2));let n=[6];for(let r=this.size-7;n.length<e;r-=t)n.splice(1,0,r);return n}}static getNumRawDataModules(e){if(e<t.MIN_VERSION||e>t.MAX_VERSION)throw new RangeError("Version number out of range");let n=(16*e+128)*e+64;if(e>=2){const t=Math.floor(e/7)+2;n-=(25*t-10)*t-55,e>=7&&(n-=36)}return i(208<=n&&n<=29648),n}static getNumDataCodewords(e,n){return Math.floor(t.getNumRawDataModules(e)/8)-t.ECC_CODEWORDS_PER_BLOCK[n.ordinal][e]*t.NUM_ERROR_CORRECTION_BLOCKS[n.ordinal][e]}static reedSolomonComputeDivisor(e){if(e<1||e>255)throw new RangeError("Degree out of range");let n=[];for(let t=0;t<e-1;t++)n.push(0);n.push(1);let r=1;for(let o=0;o<e;o++){for(let e=0;e<n.length;e++)n[e]=t.reedSolomonMultiply(n[e],r),e+1<n.length&&(n[e]^=n[e+1]);r=t.reedSolomonMultiply(r,2)}return n}static reedSolomonComputeRemainder(e,n){let r=n.map((e=>0));for(const o of e){const e=o^r.shift();r.push(0),n.forEach(((n,o)=>r[o]^=t.reedSolomonMultiply(n,e)))}return r}static reedSolomonMultiply(e,t){if(e>>>8!=0||t>>>8!=0)throw new RangeError("Byte out of range");let n=0;for(let r=7;r>=0;r--)n=n<<1^285*(n>>>7),n^=(t>>>r&1)*e;return i(n>>>8==0),n}finderPenaltyCountPatterns(e){const t=e[1];i(t<=3*this.size);const n=t>0&&e[2]==t&&e[3]==3*t&&e[4]==t&&e[5]==t;return(n&&e[0]>=4*t&&e[6]>=t?1:0)+(n&&e[6]>=4*t&&e[0]>=t?1:0)}finderPenaltyTerminateAndCount(e,t,n){return e&&(this.finderPenaltyAddHistory(t,n),t=0),t+=this.size,this.finderPenaltyAddHistory(t,n),this.finderPenaltyCountPatterns(n)}finderPenaltyAddHistory(e,t){0==t[0]&&(e+=this.size),t.pop(),t.unshift(e)}};let n=t;function r(e,t,n){if(t<0||t>31||e>>>t!=0)throw new RangeError("Value out of range");for(let r=t-1;r>=0;r--)n.push(e>>>r&1)}function o(e,t){return 0!=(e>>>t&1)}function i(e){if(!e)throw new Error("Assertion error")}n.MIN_VERSION=1,n.MAX_VERSION=40,n.PENALTY_N1=3,n.PENALTY_N2=3,n.PENALTY_N3=40,n.PENALTY_N4=10,n.ECC_CODEWORDS_PER_BLOCK=[[-1,7,10,15,20,26,18,20,24,30,18,20,24,26,30,22,24,28,30,28,28,28,28,30,30,26,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,10,16,26,18,24,16,18,22,22,26,30,22,22,24,24,28,28,26,26,26,26,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28],[-1,13,22,18,26,18,24,18,22,20,24,28,26,24,20,30,24,28,28,26,30,28,30,30,30,30,28,30,30,30,30,30,30,30,30,30,30,30,30,30,30],[-1,17,28,22,16,22,28,26,26,24,28,24,28,22,24,24,30,28,28,26,28,30,24,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30]],n.NUM_ERROR_CORRECTION_BLOCKS=[[-1,1,1,1,1,1,2,2,2,2,4,4,4,4,4,6,6,6,6,7,8,8,9,9,10,12,12,12,13,14,15,16,17,18,19,19,20,21,22,24,25],[-1,1,1,1,2,2,4,4,4,5,5,5,8,9,9,10,10,11,13,14,16,17,17,18,20,21,23,25,26,28,29,31,33,35,37,38,40,43,45,47,49],[-1,1,1,2,2,4,4,6,6,8,8,8,10,12,16,12,17,16,18,21,20,23,23,25,27,29,34,34,35,38,40,43,45,48,51,53,56,59,62,65,68],[-1,1,1,2,4,4,4,5,6,8,8,11,11,16,16,18,16,19,21,25,25,25,34,30,32,35,37,40,42,45,48,51,54,57,60,63,66,70,74,77,81]],e.QrCode=n;const a=class{constructor(e,t,n){if(this.mode=e,this.numChars=t,this.bitData=n,t<0)throw new RangeError("Invalid argument");this.bitData=n.slice()}static makeBytes(e){let t=[];for(const n of e)r(n,8,t);return new a(a.Mode.BYTE,e.length,t)}static makeNumeric(e){if(!a.isNumeric(e))throw new RangeError("String contains non-numeric characters");let t=[];for(let n=0;n<e.length;){const o=Math.min(e.length-n,3);r(parseInt(e.substr(n,o),10),3*o+1,t),n+=o}return new a(a.Mode.NUMERIC,e.length,t)}static makeAlphanumeric(e){if(!a.isAlphanumeric(e))throw new RangeError("String contains unencodable characters in alphanumeric mode");let t,n=[];for(t=0;t+2<=e.length;t+=2){let o=45*a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t));o+=a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t+1)),r(o,11,n)}return t<e.length&&r(a.ALPHANUMERIC_CHARSET.indexOf(e.charAt(t)),6,n),new a(a.Mode.ALPHANUMERIC,e.length,n)}static makeSegments(e){return""==e?[]:a.isNumeric(e)?[a.makeNumeric(e)]:a.isAlphanumeric(e)?[a.makeAlphanumeric(e)]:[a.makeBytes(a.toUtf8ByteArray(e))]}static makeEci(e){let t=[];if(e<0)throw new RangeError("ECI assignment value out of range");if(e<128)r(e,8,t);else if(e<16384)r(2,2,t),r(e,14,t);else{if(!(e<1e6))throw new RangeError("ECI assignment value out of range");r(6,3,t),r(e,21,t)}return new a(a.Mode.ECI,0,t)}static isNumeric(e){return a.NUMERIC_REGEX.test(e)}static isAlphanumeric(e){return a.ALPHANUMERIC_REGEX.test(e)}getData(){return this.bitData.slice()}static getTotalBits(e,t){let n=0;for(const r of e){const e=r.mode.numCharCountBits(t);if(r.numChars>=1<<e)return 1/0;n+=4+e+r.bitData.length}return n}static toUtf8ByteArray(e){e=encodeURI(e);let t=[];for(let n=0;n<e.length;n++)"%"!=e.charAt(n)?t.push(e.charCodeAt(n)):(t.push(parseInt(e.substr(n+1,2),16)),n+=2);return t}};let s=a;s.NUMERIC_REGEX=/^[0-9]*$/,s.ALPHANUMERIC_REGEX=/^[A-Z0-9 $%*+.\/:-]*$/,s.ALPHANUMERIC_CHARSET="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:",e.QrSegment=s})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.ordinal=e,this.formatBits=t}};let n=t;n.LOW=new t(0,1),n.MEDIUM=new t(1,0),n.QUARTILE=new t(2,3),n.HIGH=new t(3,2),e.Ecc=n})(t=e.QrCode||(e.QrCode={}))})(r||(r={})),(e=>{let t;(e=>{const t=class{constructor(e,t){this.modeBits=e,this.numBitsCharCount=t}numCharCountBits(e){return this.numBitsCharCount[Math.floor((e+7)/17)]}};let n=t;n.NUMERIC=new t(1,[10,12,14]),n.ALPHANUMERIC=new t(2,[9,11,13]),n.BYTE=new t(4,[8,16,16]),n.KANJI=new t(8,[8,10,12]),n.ECI=new t(7,[0,0,0]),e.Mode=n})(t=e.QrSegment||(e.QrSegment={}))})(r||(r={}));var f=r,p={L:f.QrCode.Ecc.LOW,M:f.QrCode.Ecc.MEDIUM,Q:f.QrCode.Ecc.QUARTILE,H:f.QrCode.Ecc.HIGH},h=128,m="L",g="#FFFFFF",v="#000000",b=!1;function y(e,t=0){const n=[];return e.forEach((function(e,r){let o=null;e.forEach((function(i,a){if(!i&&null!==o)return n.push(`M${o+t} ${r+t}h${a-o}v1H${o+t}z`),void(o=null);if(a!==e.length-1)i&&null===o&&(o=a);else{if(!i)return;null===o?n.push(`M${a+t},${r+t} h1v1H${a+t}z`):n.push(`M${o+t},${r+t} h${a+1-o}v1H${o+t}z`)}}))})),n.join("")}function A(e,t){return e.slice().map(((e,n)=>n<t.y||n>=t.y+t.h?e:e.map(((e,n)=>(n<t.x||n>=t.x+t.w)&&e))))}function x(e,t,n,r){if(null==r)return null;const o=n?4:0,i=e.length+2*o,a=Math.floor(.1*t),s=i/t,l=(r.width||a)*s,c=(r.height||a)*s,u=null==r.x?e.length/2-l/2:r.x*s,d=null==r.y?e.length/2-c/2:r.y*s;let f=null;if(r.excavate){let e=Math.floor(u),t=Math.floor(d);f={x:e,y:t,w:Math.ceil(l+u-e),h:Math.ceil(c+d-t)}}return{x:u,y:d,h:c,w:l,excavation:f}}var C=function(){try{(new Path2D).addPath(new Path2D)}catch(e){return!1}return!0}();function _(e){const t=e,{value:n,size:r=h,level:i=m,bgColor:a=g,fgColor:s=v,includeMargin:l=b,style:c,imageSettings:_}=t,w=d(t,["value","size","level","bgColor","fgColor","includeMargin","style","imageSettings"]),k=null==_?void 0:_.src,S=(0,o.useRef)(null),E=(0,o.useRef)(null),[B,O]=(0,o.useState)(!1);(0,o.useEffect)((()=>{if(null!=S.current){const e=S.current,t=e.getContext("2d");if(!t)return;let o=f.QrCode.encodeText(n,p[i]).getModules();const c=l?4:0,u=o.length+2*c,d=x(o,r,l,_),h=E.current,m=null!=d&&null!==h&&h.complete&&0!==h.naturalHeight&&0!==h.naturalWidth;m&&null!=d.excavation&&(o=A(o,d.excavation));const g=window.devicePixelRatio||1;e.height=e.width=r*g;const v=r/u*g;t.scale(v,v),t.fillStyle=a,t.fillRect(0,0,u,u),t.fillStyle=s,C?t.fill(new Path2D(y(o,c))):o.forEach((function(e,n){e.forEach((function(e,r){e&&t.fillRect(r+c,n+c,1,1)}))})),m&&t.drawImage(h,d.x+c,d.y+c,d.w,d.h)}})),(0,o.useEffect)((()=>{O(!1)}),[k]);const j=u({height:r,width:r},c);let T=null;return null!=k&&(T=o.createElement("img",{src:k,key:k,style:{display:"none"},onLoad:()=>{O(!0)},ref:E})),o.createElement(o.Fragment,null,o.createElement("canvas",u({style:j,height:r,width:r,ref:S},w)),T)}function w(e){const t=e,{value:n,size:r=h,level:i=m,bgColor:a=g,fgColor:s=v,includeMargin:l=b,imageSettings:c}=t,C=d(t,["value","size","level","bgColor","fgColor","includeMargin","imageSettings"]);let _=f.QrCode.encodeText(n,p[i]).getModules();const w=l?4:0,k=_.length+2*w,S=x(_,r,l,c);let E=null;null!=c&&null!=S&&(null!=S.excavation&&(_=A(_,S.excavation)),E=o.createElement("image",{xlinkHref:c.src,height:S.h,width:S.w,x:S.x+w,y:S.y+w,preserveAspectRatio:"none"}));const B=y(_,w);return o.createElement("svg",u({height:r,width:r,viewBox:`0 0 ${k} ${k}`},C),o.createElement("path",{fill:a,d:`M0,0 h${k}v${k}H0z`,shapeRendering:"crispEdges"}),o.createElement("path",{fill:s,d:B,shapeRendering:"crispEdges"}),E)}var k=e=>{const t=e,{renderAs:n}=t,r=d(t,["renderAs"]);return"svg"===n?o.createElement(w,u({},r)):o.createElement(_,u({},r))}},55798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC1738",o="RFC3986";e.exports={default:o,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:r,RFC3986:o}},80129:function(e,t,n){"use strict";var r=n(58261),o=n(55235),i=n(55798);e.exports={formats:i,parse:o,stringify:r}},55235:function(e,t,n){"use strict";var r=n(12769),o=Object.prototype.hasOwnProperty,i=Array.isArray,a={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!0,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var i=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,a=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(i),c=s?i.slice(0,s.index):i,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=a.exec(i))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+i.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:l(t,n),i=e.length-1;i>=0;--i){var a,s=e[i];if("[]"===s&&n.parseArrays)a=n.allowEmptyArrays&&""===o?[]:[].concat(o);else{a=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=n.decodeDotInKeys?c.replace(/%2E/g,"."):c,d=parseInt(u,10);n.parseArrays||""!==u?!isNaN(d)&&s!==u&&String(d)===u&&d>=0&&n.parseArrays&&d<=n.arrayLimit?(a=[])[d]=o:"__proto__"!==u&&(a[u]=o):a={0:o}}o=a}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return a;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?a.charset:e.charset,n=void 0===e.duplicates?a.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||a.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:a.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:a.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:a.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:a.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:a.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:a.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:a.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:a.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:a.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:a.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:a.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:a.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:a.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:a.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={__proto__:null},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,f=u.split(t.delimiter,d),p=-1,h=t.charset;if(t.charsetSentinel)for(n=0;n<f.length;++n)0===f[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===f[n]?h="utf-8":"utf8=%26%2310003%3B"===f[n]&&(h="iso-8859-1"),p=n,n=f.length);for(n=0;n<f.length;++n)if(n!==p){var m,g,v=f[n],b=v.indexOf("]="),y=-1===b?v.indexOf("="):b+1;-1===y?(m=t.decoder(v,a.decoder,h,"key"),g=t.strictNullHandling?null:""):(m=t.decoder(v.slice(0,y),a.decoder,h,"key"),g=r.maybeMap(l(v.slice(y+1),t),(function(e){return t.decoder(e,a.decoder,h,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===h&&(g=s(g)),v.indexOf("[]=")>-1&&(g=i(g)?[g]:g);var A=o.call(c,m);A&&"combine"===t.duplicates?c[m]=r.combine(c[m],g):A&&"last"!==t.duplicates||(c[m]=g)}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},f=Object.keys(u),p=0;p<f.length;++p){var h=f[p],m=c(h,u[h],n,"string"==typeof e);d=r.merge(d,m,n)}return!0===n.allowSparse?d:r.compact(d)}},58261:function(e,t,n){"use strict";var r=n(37478),o=n(12769),i=n(55798),a=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,f=i.default,p={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,format:f,formatter:i.formatters[f],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},h={},m=function e(t,n,i,a,s,c,d,f,m,g,v,b,y,A,x,C,_,w){for(var k=t,S=w,E=0,B=!1;void 0!==(S=S.get(h))&&!B;){var O=S.get(t);if(E+=1,void 0!==O){if(O===E)throw new RangeError("Cyclic object value");B=!0}void 0===S.get(h)&&(E=0)}if("function"==typeof g?k=g(n,k):k instanceof Date?k=y(k):"comma"===i&&l(k)&&(k=o.maybeMap(k,(function(e){return e instanceof Date?y(e):e}))),null===k){if(c)return m&&!C?m(n,p.encoder,_,"key",A):n;k=""}if(function(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||"symbol"==typeof e||"bigint"==typeof e}(k)||o.isBuffer(k))return m?[x(C?n:m(n,p.encoder,_,"key",A))+"="+x(m(k,p.encoder,_,"value",A))]:[x(n)+"="+x(String(k))];var j,T=[];if(void 0===k)return T;if("comma"===i&&l(k))C&&m&&(k=o.maybeMap(k,m)),j=[{value:k.length>0?k.join(",")||null:void 0}];else if(l(g))j=g;else{var P=Object.keys(k);j=v?P.sort(v):P}var M=f?n.replace(/\./g,"%2E"):n,D=a&&l(k)&&1===k.length?M+"[]":M;if(s&&l(k)&&0===k.length)return D+"[]";for(var R=0;R<j.length;++R){var L=j[R],I="object"==typeof L&&void 0!==L.value?L.value:k[L];if(!d||null!==I){var N=b&&f?L.replace(/\./g,"%2E"):L,F=l(k)?"function"==typeof i?i(D,N):D:D+(b?"."+N:"["+N+"]");w.set(t,E);var z=r();z.set(h,w),u(T,e(I,F,i,a,s,c,d,f,"comma"===i&&C&&l(k)?null:m,g,v,b,y,A,x,C,_,z))}}return T};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return p;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||p.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=i.default;if(void 0!==e.format){if(!a.call(i.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,o=i.formatters[n],c=p.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":p.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||p.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:p.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:p.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:p.charsetSentinel,commaRoundTrip:e.commaRoundTrip,delimiter:void 0===e.delimiter?p.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:p.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:p.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:p.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:p.encodeValuesOnly,filter:c,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:p.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:p.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:p.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):l(c.filter)&&(n=c.filter);var d=[];if("object"!=typeof o||null===o)return"";var f=s[c.arrayFormat],h="comma"===f&&c.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var g=r(),v=0;v<n.length;++v){var b=n[v];c.skipNulls&&null===o[b]||u(d,m(o[b],b,f,h,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var y=d.join(c.delimiter),A=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?A+="utf8=%26%2310003%3B&":A+="utf8=%E2%9C%93&"),y.length>0?A+y:""}},12769:function(e,t,n){"use strict";var r=n(55798),o=Object.prototype.hasOwnProperty,i=Array.isArray,a=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:a,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,i){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||i===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=a[u]:u<2048?l+=a[192|u>>6]+a[128|63&u]:u<55296||u>=57344?l+=a[224|u>>12]+a[128|u>>6&63]+a[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=a[240|u>>18]+a[128|u>>12&63]+a[128|u>>6&63]+a[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e)&&!!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(i(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var a=t;return i(t)&&!i(n)&&(a=s(t,r)),i(t)&&i(n)?(n.forEach((function(n,i){if(o.call(t,i)){var a=t[i];a&&"object"==typeof a&&n&&"object"==typeof n?t[i]=e(a,n,r):t.push(n)}else t[i]=n})),t):Object.keys(n).reduce((function(t,i){var a=n[i];return o.call(t,i)?t[i]=e(t[i],a,r):t[i]=a,t}),a)}}},76095:function(e,t,n){var r,o=n(48764).lW;"undefined"!=typeof self&&self,r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=109)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(17),o=n(18),i=n(19),a=n(45),s=n(46),l=n(47),c=n(48),u=n(49),d=n(12),f=n(32),p=n(33),h=n(31),m=n(1),g={Scope:m.Scope,create:m.create,find:m.find,query:m.query,register:m.register,Container:r.default,Format:o.default,Leaf:i.default,Embed:c.default,Scroll:a.default,Block:l.default,Inline:s.default,Text:u.default,Attributor:{Attribute:d.default,Class:f.default,Style:p.default,Store:h.default}};t.default=g},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(t){var n=this;return t="[Parchment] "+t,(n=e.call(this,t)||this).message=t,n.name=n.constructor.name,n}return o(t,e),t}(Error);t.ParchmentError=i;var a,s={},l={},c={},u={};function d(e,t){var n;if(void 0===t&&(t=a.ANY),"string"==typeof e)n=u[e]||s[e];else if(e instanceof Text||e.nodeType===Node.TEXT_NODE)n=u.text;else if("number"==typeof e)e&a.LEVEL&a.BLOCK?n=u.block:e&a.LEVEL&a.INLINE&&(n=u.inline);else if(e instanceof HTMLElement){var r=(e.getAttribute("class")||"").split(/\s+/);for(var o in r)if(n=l[r[o]])break;n=n||c[e.tagName]}return null==n?null:t&a.LEVEL&n.scope&&t&a.TYPE&n.scope?n:null}t.DATA_KEY="__blot",function(e){e[e.TYPE=3]="TYPE",e[e.LEVEL=12]="LEVEL",e[e.ATTRIBUTE=13]="ATTRIBUTE",e[e.BLOT=14]="BLOT",e[e.INLINE=7]="INLINE",e[e.BLOCK=11]="BLOCK",e[e.BLOCK_BLOT=10]="BLOCK_BLOT",e[e.INLINE_BLOT=6]="INLINE_BLOT",e[e.BLOCK_ATTRIBUTE=9]="BLOCK_ATTRIBUTE",e[e.INLINE_ATTRIBUTE=5]="INLINE_ATTRIBUTE",e[e.ANY=15]="ANY"}(a=t.Scope||(t.Scope={})),t.create=function(e,t){var n=d(e);if(null==n)throw new i("Unable to create "+e+" blot");var r=n,o=e instanceof Node||e.nodeType===Node.TEXT_NODE?e:r.create(t);return new r(o,t)},t.find=function e(n,r){return void 0===r&&(r=!1),null==n?null:null!=n[t.DATA_KEY]?n[t.DATA_KEY].blot:r?e(n.parentNode,r):null},t.query=d,t.register=function e(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(t.length>1)return t.map((function(t){return e(t)}));var r=t[0];if("string"!=typeof r.blotName&&"string"!=typeof r.attrName)throw new i("Invalid definition");if("abstract"===r.blotName)throw new i("Cannot register abstract class");if(u[r.blotName||r.attrName]=r,"string"==typeof r.keyName)s[r.keyName]=r;else if(null!=r.className&&(l[r.className]=r),null!=r.tagName){Array.isArray(r.tagName)?r.tagName=r.tagName.map((function(e){return e.toUpperCase()})):r.tagName=r.tagName.toUpperCase();var o=Array.isArray(r.tagName)?r.tagName:[r.tagName];o.forEach((function(e){null!=c[e]&&null!=r.className||(c[e]=r)}))}return r}},function(e,t,n){var r=n(51),o=n(11),i=n(3),a=n(20),s=String.fromCharCode(0),l=function(e){Array.isArray(e)?this.ops=e:null!=e&&Array.isArray(e.ops)?this.ops=e.ops:this.ops=[]};l.prototype.insert=function(e,t){var n={};return 0===e.length?this:(n.insert=e,null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n))},l.prototype.delete=function(e){return e<=0?this:this.push({delete:e})},l.prototype.retain=function(e,t){if(e<=0)return this;var n={retain:e};return null!=t&&"object"==typeof t&&Object.keys(t).length>0&&(n.attributes=t),this.push(n)},l.prototype.push=function(e){var t=this.ops.length,n=this.ops[t-1];if(e=i(!0,{},e),"object"==typeof n){if("number"==typeof e.delete&&"number"==typeof n.delete)return this.ops[t-1]={delete:n.delete+e.delete},this;if("number"==typeof n.delete&&null!=e.insert&&(t-=1,"object"!=typeof(n=this.ops[t-1])))return this.ops.unshift(e),this;if(o(e.attributes,n.attributes)){if("string"==typeof e.insert&&"string"==typeof n.insert)return this.ops[t-1]={insert:n.insert+e.insert},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this;if("number"==typeof e.retain&&"number"==typeof n.retain)return this.ops[t-1]={retain:n.retain+e.retain},"object"==typeof e.attributes&&(this.ops[t-1].attributes=e.attributes),this}}return t===this.ops.length?this.ops.push(e):this.ops.splice(t,0,e),this},l.prototype.chop=function(){var e=this.ops[this.ops.length-1];return e&&e.retain&&!e.attributes&&this.ops.pop(),this},l.prototype.filter=function(e){return this.ops.filter(e)},l.prototype.forEach=function(e){this.ops.forEach(e)},l.prototype.map=function(e){return this.ops.map(e)},l.prototype.partition=function(e){var t=[],n=[];return this.forEach((function(r){(e(r)?t:n).push(r)})),[t,n]},l.prototype.reduce=function(e,t){return this.ops.reduce(e,t)},l.prototype.changeLength=function(){return this.reduce((function(e,t){return t.insert?e+a.length(t):t.delete?e-t.delete:e}),0)},l.prototype.length=function(){return this.reduce((function(e,t){return e+a.length(t)}),0)},l.prototype.slice=function(e,t){e=e||0,"number"!=typeof t&&(t=1/0);for(var n=[],r=a.iterator(this.ops),o=0;o<t&&r.hasNext();){var i;o<e?i=r.next(e-o):(i=r.next(t-o),n.push(i)),o+=a.length(i)}return new l(n)},l.prototype.compose=function(e){var t=a.iterator(this.ops),n=a.iterator(e.ops),r=[],i=n.peek();if(null!=i&&"number"==typeof i.retain&&null==i.attributes){for(var s=i.retain;"insert"===t.peekType()&&t.peekLength()<=s;)s-=t.peekLength(),r.push(t.next());i.retain-s>0&&n.next(i.retain-s)}for(var c=new l(r);t.hasNext()||n.hasNext();)if("insert"===n.peekType())c.push(n.next());else if("delete"===t.peekType())c.push(t.next());else{var u=Math.min(t.peekLength(),n.peekLength()),d=t.next(u),f=n.next(u);if("number"==typeof f.retain){var p={};"number"==typeof d.retain?p.retain=u:p.insert=d.insert;var h=a.attributes.compose(d.attributes,f.attributes,"number"==typeof d.retain);if(h&&(p.attributes=h),c.push(p),!n.hasNext()&&o(c.ops[c.ops.length-1],p)){var m=new l(t.rest());return c.concat(m).chop()}}else"number"==typeof f.delete&&"number"==typeof d.retain&&c.push(f)}return c.chop()},l.prototype.concat=function(e){var t=new l(this.ops.slice());return e.ops.length>0&&(t.push(e.ops[0]),t.ops=t.ops.concat(e.ops.slice(1))),t},l.prototype.diff=function(e,t){if(this.ops===e.ops)return new l;var n=[this,e].map((function(t){return t.map((function(n){if(null!=n.insert)return"string"==typeof n.insert?n.insert:s;throw new Error("diff() called "+(t===e?"on":"with")+" non-document")})).join("")})),i=new l,c=r(n[0],n[1],t),u=a.iterator(this.ops),d=a.iterator(e.ops);return c.forEach((function(e){for(var t=e[1].length;t>0;){var n=0;switch(e[0]){case r.INSERT:n=Math.min(d.peekLength(),t),i.push(d.next(n));break;case r.DELETE:n=Math.min(t,u.peekLength()),u.next(n),i.delete(n);break;case r.EQUAL:n=Math.min(u.peekLength(),d.peekLength(),t);var s=u.next(n),l=d.next(n);o(s.insert,l.insert)?i.retain(n,a.attributes.diff(s.attributes,l.attributes)):i.push(l).delete(n)}t-=n}})),i.chop()},l.prototype.eachLine=function(e,t){t=t||"\n";for(var n=a.iterator(this.ops),r=new l,o=0;n.hasNext();){if("insert"!==n.peekType())return;var i=n.peek(),s=a.length(i)-n.peekLength(),c="string"==typeof i.insert?i.insert.indexOf(t,s)-s:-1;if(c<0)r.push(n.next());else if(c>0)r.push(n.next(c));else{if(!1===e(r,n.next(1).attributes||{},o))return;o+=1,r=new l}}r.length()>0&&e(r,{},o)},l.prototype.transform=function(e,t){if(t=!!t,"number"==typeof e)return this.transformPosition(e,t);for(var n=a.iterator(this.ops),r=a.iterator(e.ops),o=new l;n.hasNext()||r.hasNext();)if("insert"!==n.peekType()||!t&&"insert"===r.peekType())if("insert"===r.peekType())o.push(r.next());else{var i=Math.min(n.peekLength(),r.peekLength()),s=n.next(i),c=r.next(i);if(s.delete)continue;c.delete?o.push(c):o.retain(i,a.attributes.transform(s.attributes,c.attributes,t))}else o.retain(a.length(n.next()));return o.chop()},l.prototype.transformPosition=function(e,t){t=!!t;for(var n=a.iterator(this.ops),r=0;n.hasNext()&&r<=e;){var o=n.peekLength(),i=n.peekType();n.next(),"delete"!==i?("insert"===i&&(r<e||!t)&&(e+=o),r+=o):e-=Math.min(o,e-r)}return e},e.exports=l},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r=Object.prototype.toString,o=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},s=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var t,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(t in e);return void 0===t||n.call(e,t)},l=function(e,t){o&&"__proto__"===t.name?o(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(i)return i(e,t).value}return e[t]};e.exports=function e(){var t,n,r,o,i,u,d=arguments[0],f=1,p=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},f=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});f<p;++f)if(null!=(t=arguments[f]))for(n in t)r=c(d,n),d!==(o=c(t,n))&&(h&&o&&(s(o)||(i=a(o)))?(i?(i=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},l(d,{name:n,newValue:e(h,u,o)})):void 0!==o&&l(d,{name:n,newValue:o}));return d}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BlockEmbed=t.bubbleFormats=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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=d(n(3)),a=d(n(2)),s=d(n(0)),l=d(n(16)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 h(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 m=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),r(t,[{key:"attach",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"attach",this).call(this),this.attributes=new s.default.Attributor.Store(this.domNode)}},{key:"delta",value:function(){return(new a.default).insert(this.value(),(0,i.default)(this.formats(),this.attributes.values()))}},{key:"format",value:function(e,t){var n=s.default.query(e,s.default.Scope.BLOCK_ATTRIBUTE);null!=n&&this.attributes.attribute(n,t)}},{key:"formatAt",value:function(e,t,n,r){this.format(n,r)}},{key:"insertAt",value:function(e,n,r){if("string"==typeof n&&n.endsWith("\n")){var i=s.default.create(g.blotName);this.parent.insertBefore(i,0===e?this:this.next),i.insertAt(0,n.slice(0,-1))}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r)}}]),t}(s.default.Embed);m.scope=s.default.Scope.BLOCK_BLOT;var g=function(e){function t(e){f(this,t);var n=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.cache={},n}return h(t,e),r(t,[{key:"delta",value:function(){return null==this.cache.delta&&(this.cache.delta=this.descendants(s.default.Leaf).reduce((function(e,t){return 0===t.length()?e:e.insert(t.value(),v(t))}),new a.default).insert("\n",v(this))),this.cache.delta}},{key:"deleteAt",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),this.cache={}}},{key:"formatAt",value:function(e,n,r,i){n<=0||(s.default.query(r,s.default.Scope.BLOCK)?e+n===this.length()&&this.format(r,i):o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,Math.min(n,this.length()-e-1),r,i),this.cache={})}},{key:"insertAt",value:function(e,n,r){if(null!=r)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);if(0!==n.length){var i=n.split("\n"),a=i.shift();a.length>0&&(e<this.length()-1||null==this.children.tail?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,Math.min(e,this.length()-1),a):this.children.tail.insertAt(this.children.tail.length(),a),this.cache={});var s=this;i.reduce((function(e,t){return(s=s.split(e,!0)).insertAt(0,t),t.length}),e+a.length)}}},{key:"insertBefore",value:function(e,n){var r=this.children.head;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n),r instanceof l.default&&r.remove(),this.cache={}}},{key:"length",value:function(){return null==this.cache.length&&(this.cache.length=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"length",this).call(this)+1),this.cache.length}},{key:"moveChildren",value:function(e,n){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"moveChildren",this).call(this,e,n),this.cache={}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.cache={}}},{key:"path",value:function(e){return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e,!0)}},{key:"removeChild",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"removeChild",this).call(this,e),this.cache={}}},{key:"split",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n&&(0===e||e>=this.length()-1)){var r=this.clone();return 0===e?(this.parent.insertBefore(r,this),this):(this.parent.insertBefore(r,this.next),r)}var i=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"split",this).call(this,e,n);return this.cache={},i}}]),t}(s.default.Block);function v(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return null==e?t:("function"==typeof e.formats&&(t=(0,i.default)(t,e.formats())),null==e.parent||"scroll"==e.parent.blotName||e.parent.statics.scope!==e.statics.scope?t:v(e.parent,t))}g.blotName="block",g.tagName="P",g.defaultChild="break",g.allowedChildren=[c.default,s.default.Embed,u.default],t.bubbleFormats=v,t.BlockEmbed=m,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.overload=t.expandConfig=void 0;var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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}}();n(50);var a=g(n(2)),s=g(n(14)),l=g(n(8)),c=g(n(9)),u=g(n(0)),d=n(15),f=g(d),p=g(n(3)),h=g(n(10)),m=g(n(34));function g(e){return e&&e.__esModule?e:{default:e}}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var y=(0,h.default)("quill"),A=function(){function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(b(this,e),this.options=x(t,r),this.container=this.options.container,null==this.container)return y.error("Invalid Quill container",t);this.options.debug&&e.debug(this.options.debug);var o=this.container.innerHTML.trim();this.container.classList.add("ql-container"),this.container.innerHTML="",this.container.__quill=this,this.root=this.addContainer("ql-editor"),this.root.classList.add("ql-blank"),this.root.setAttribute("data-gramm",!1),this.scrollingContainer=this.options.scrollingContainer||this.root,this.emitter=new l.default,this.scroll=u.default.create(this.root,{emitter:this.emitter,whitelist:this.options.formats}),this.editor=new s.default(this.scroll),this.selection=new f.default(this.scroll,this.emitter),this.theme=new this.options.theme(this,this.options),this.keyboard=this.theme.addModule("keyboard"),this.clipboard=this.theme.addModule("clipboard"),this.history=this.theme.addModule("history"),this.theme.init(),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e){e===l.default.events.TEXT_CHANGE&&n.root.classList.toggle("ql-blank",n.editor.isBlank())})),this.emitter.on(l.default.events.SCROLL_UPDATE,(function(e,t){var r=n.selection.lastRange,o=r&&0===r.length?r.index:void 0;C.call(n,(function(){return n.editor.update(null,t,o)}),e)}));var i=this.clipboard.convert("<div class='ql-editor' style=\"white-space: normal;\">"+o+"<p><br></p></div>");this.setContents(i),this.history.clear(),this.options.placeholder&&this.root.setAttribute("data-placeholder",this.options.placeholder),this.options.readOnly&&this.disable()}return i(e,null,[{key:"debug",value:function(e){!0===e&&(e="log"),h.default.level(e)}},{key:"find",value:function(e){return e.__quill||u.default.find(e)}},{key:"import",value:function(e){return null==this.imports[e]&&y.error("Cannot import "+e+". Are you sure it was registered?"),this.imports[e]}},{key:"register",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"!=typeof e){var o=e.attrName||e.blotName;"string"==typeof o?this.register("formats/"+o,e,t):Object.keys(e).forEach((function(r){n.register(r,e[r],t)}))}else null==this.imports[e]||r||y.warn("Overwriting "+e+" with",t),this.imports[e]=t,(e.startsWith("blots/")||e.startsWith("formats/"))&&"abstract"!==t.blotName?u.default.register(t):e.startsWith("modules")&&"function"==typeof t.register&&t.register()}}]),i(e,[{key:"addContainer",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if("string"==typeof e){var n=e;(e=document.createElement("div")).classList.add(n)}return this.container.insertBefore(e,t),e}},{key:"blur",value:function(){this.selection.setRange(null)}},{key:"deleteText",value:function(e,t,n){var r=this,i=_(e,t,n),a=o(i,4);return e=a[0],t=a[1],n=a[3],C.call(this,(function(){return r.editor.deleteText(e,t)}),n,e,-1*t)}},{key:"disable",value:function(){this.enable(!1)}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.scroll.enable(e),this.container.classList.toggle("ql-disabled",!e)}},{key:"focus",value:function(){var e=this.scrollingContainer.scrollTop;this.selection.focus(),this.scrollingContainer.scrollTop=e,this.scrollIntoView()}},{key:"format",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;return C.call(this,(function(){var r=n.getSelection(!0),o=new a.default;if(null==r)return o;if(u.default.query(e,u.default.Scope.BLOCK))o=n.editor.formatLine(r.index,r.length,v({},e,t));else{if(0===r.length)return n.selection.format(e,t),o;o=n.editor.formatText(r.index,r.length,v({},e,t))}return n.setSelection(r,l.default.sources.SILENT),o}),r)}},{key:"formatLine",value:function(e,t,n,r,i){var a,s=this,l=_(e,t,n,r,i),c=o(l,4);return e=c[0],t=c[1],a=c[2],i=c[3],C.call(this,(function(){return s.editor.formatLine(e,t,a)}),i,e,0)}},{key:"formatText",value:function(e,t,n,r,i){var a,s=this,l=_(e,t,n,r,i),c=o(l,4);return e=c[0],t=c[1],a=c[2],i=c[3],C.call(this,(function(){return s.editor.formatText(e,t,a)}),i,e,0)}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=void 0;n="number"==typeof e?this.selection.getBounds(e,t):this.selection.getBounds(e.index,e.length);var r=this.container.getBoundingClientRect();return{bottom:n.bottom-r.top,height:n.height,left:n.left-r.left,right:n.right-r.left,top:n.top-r.top,width:n.width}}},{key:"getContents",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=_(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getContents(e,t)}},{key:"getFormat",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.getSelection(!0),t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"number"==typeof e?this.editor.getFormat(e,t):this.editor.getFormat(e.index,e.length)}},{key:"getIndex",value:function(e){return e.offset(this.scroll)}},{key:"getLength",value:function(){return this.scroll.length()}},{key:"getLeaf",value:function(e){return this.scroll.leaf(e)}},{key:"getLine",value:function(e){return this.scroll.line(e)}},{key:"getLines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE;return"number"!=typeof e?this.scroll.lines(e.index,e.length):this.scroll.lines(e,t)}},{key:"getModule",value:function(e){return this.theme.modules[e]}},{key:"getSelection",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e&&this.focus(),this.update(),this.selection.getRange()[0]}},{key:"getText",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.getLength()-e,n=_(e,t),r=o(n,2);return e=r[0],t=r[1],this.editor.getText(e,t)}},{key:"hasFocus",value:function(){return this.selection.hasFocus()}},{key:"insertEmbed",value:function(t,n,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:e.sources.API;return C.call(this,(function(){return o.editor.insertEmbed(t,n,r)}),i,t)}},{key:"insertText",value:function(e,t,n,r,i){var a,s=this,l=_(e,0,n,r,i),c=o(l,4);return e=c[0],a=c[2],i=c[3],C.call(this,(function(){return s.editor.insertText(e,t,a)}),i,e,t.length)}},{key:"isEnabled",value:function(){return!this.container.classList.contains("ql-disabled")}},{key:"off",value:function(){return this.emitter.off.apply(this.emitter,arguments)}},{key:"on",value:function(){return this.emitter.on.apply(this.emitter,arguments)}},{key:"once",value:function(){return this.emitter.once.apply(this.emitter,arguments)}},{key:"pasteHTML",value:function(e,t,n){this.clipboard.dangerouslyPasteHTML(e,t,n)}},{key:"removeFormat",value:function(e,t,n){var r=this,i=_(e,t,n),a=o(i,4);return e=a[0],t=a[1],n=a[3],C.call(this,(function(){return r.editor.removeFormat(e,t)}),n,e)}},{key:"scrollIntoView",value:function(){this.selection.scrollIntoView(this.scrollingContainer)}},{key:"setContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return C.call(this,(function(){e=new a.default(e);var n=t.getLength(),r=t.editor.deleteText(0,n),o=t.editor.applyDelta(e),i=o.ops[o.ops.length-1];return null!=i&&"string"==typeof i.insert&&"\n"===i.insert[i.insert.length-1]&&(t.editor.deleteText(t.getLength()-1,1),o.delete(1)),r.compose(o)}),n)}},{key:"setSelection",value:function(t,n,r){if(null==t)this.selection.setRange(null,n||e.sources.API);else{var i=_(t,n,r),a=o(i,4);t=a[0],n=a[1],r=a[3],this.selection.setRange(new d.Range(t,n),r),r!==l.default.sources.SILENT&&this.selection.scrollIntoView(this.scrollingContainer)}}},{key:"setText",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API,n=(new a.default).insert(e);return this.setContents(n,t)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.scroll.update(e);return this.selection.update(e),t}},{key:"updateContents",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.sources.API;return C.call(this,(function(){return e=new a.default(e),t.editor.applyDelta(e,n)}),n,!0)}}]),e}();function x(e,t){if((t=(0,p.default)(!0,{container:e,modules:{clipboard:!0,keyboard:!0,history:!0}},t)).theme&&t.theme!==A.DEFAULTS.theme){if(t.theme=A.import("themes/"+t.theme),null==t.theme)throw new Error("Invalid theme "+t.theme+". Did you register it?")}else t.theme=m.default;var n=(0,p.default)(!0,{},t.theme.DEFAULTS);[n,t].forEach((function(e){e.modules=e.modules||{},Object.keys(e.modules).forEach((function(t){!0===e.modules[t]&&(e.modules[t]={})}))}));var r=Object.keys(n.modules).concat(Object.keys(t.modules)).reduce((function(e,t){var n=A.import("modules/"+t);return null==n?y.error("Cannot load "+t+" module. Are you sure you registered it?"):e[t]=n.DEFAULTS||{},e}),{});return null!=t.modules&&t.modules.toolbar&&t.modules.toolbar.constructor!==Object&&(t.modules.toolbar={container:t.modules.toolbar}),t=(0,p.default)(!0,{},A.DEFAULTS,{modules:r},n,t),["bounds","container","scrollingContainer"].forEach((function(e){"string"==typeof t[e]&&(t[e]=document.querySelector(t[e]))})),t.modules=Object.keys(t.modules).reduce((function(e,n){return t.modules[n]&&(e[n]=t.modules[n]),e}),{}),t}function C(e,t,n,r){if(this.options.strict&&!this.isEnabled()&&t===l.default.sources.USER)return new a.default;var o=null==n?null:this.getSelection(),i=this.editor.delta,s=e();if(null!=o&&(!0===n&&(n=o.index),null==r?o=w(o,s,t):0!==r&&(o=w(o,n,r,t)),this.setSelection(o,l.default.sources.SILENT)),s.length()>0){var c,u,d=[l.default.events.TEXT_CHANGE,s,i,t];(c=this.emitter).emit.apply(c,[l.default.events.EDITOR_CHANGE].concat(d)),t!==l.default.sources.SILENT&&(u=this.emitter).emit.apply(u,d)}return s}function _(e,t,n,o,i){var a={};return"number"==typeof e.index&&"number"==typeof e.length?"number"!=typeof t?(i=o,o=n,n=t,t=e.length,e=e.index):(t=e.length,e=e.index):"number"!=typeof t&&(i=o,o=n,n=t,t=0),"object"===(void 0===n?"undefined":r(n))?(a=n,i=o):"string"==typeof n&&(null!=o?a[n]=o:i=n),[e,t,a,i=i||l.default.sources.API]}function w(e,t,n,r){if(null==e)return null;var i=void 0,s=void 0;if(t instanceof a.default){var c=[e.index,e.index+e.length].map((function(e){return t.transformPosition(e,r!==l.default.sources.USER)})),u=o(c,2);i=u[0],s=u[1]}else{var f=[e.index,e.index+e.length].map((function(e){return e<t||e===t&&r===l.default.sources.USER?e:n>=0?e+n:Math.max(t,e+n)})),p=o(f,2);i=p[0],s=p[1]}return new d.Range(i,s-i)}A.DEFAULTS={bounds:null,formats:null,modules:{},placeholder:"",readOnly:!1,scrollingContainer:null,strict:!0,theme:"default"},A.events=l.default.events,A.sources=l.default.sources,A.version="1.3.7",A.imports={delta:a.default,parchment:u.default,"core/module":c.default,"core/theme":m.default},t.expandConfig=x,t.overload=_,t.default=A},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(7)),a=s(n(0));function s(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 u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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:"formatAt",value:function(e,n,r,i){if(t.compare(this.statics.blotName,r)<0&&a.default.query(r,a.default.Scope.BLOT)){var s=this.isolate(e,n);i&&s.wrap(r,i)}else o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,i)}},{key:"optimize",value:function(e){if(o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.parent instanceof t&&t.compare(this.statics.blotName,this.parent.statics.blotName)>0){var n=this.parent.isolate(this.offset(),this.length());this.moveChildren(n),n.wrap(this)}}}],[{key:"compare",value:function(e,n){var r=t.order.indexOf(e),o=t.order.indexOf(n);return r>=0||o>=0?r-o:e===n?0:e<n?-1:1}}]),t}(a.default.Inline);u.allowedChildren=[u,a.default.Embed,i.default],u.order=["cursor","inline","underline","strike","italic","bold","script","link","code"],t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(0);function i(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 s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),t}(((r=o)&&r.__esModule?r:{default:r}).default.Text);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=a(n(54));function a(e){return e&&e.__esModule?e:{default:e}}var s=(0,a(n(10)).default)("quill:events");["selectionchange","mousedown","mouseup","click"].forEach((function(e){document.addEventListener(e,(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];[].slice.call(document.querySelectorAll(".ql-container")).forEach((function(e){var n;e.__quill&&e.__quill.emitter&&(n=e.__quill.emitter).handleDOM.apply(n,t)}))}))}));var l=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=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 e.listeners={},e.on("error",s.error),e}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:"emit",value:function(){s.log.apply(s,arguments),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"emit",this).apply(this,arguments)}},{key:"handleDOM",value:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];(this.listeners[e.type]||[]).forEach((function(t){var r=t.node,o=t.handler;(e.target===r||r.contains(e.target))&&o.apply(void 0,[e].concat(n))}))}},{key:"listenDOM",value:function(e,t,n){this.listeners[e]||(this.listeners[e]=[]),this.listeners[e].push({node:t,handler:n})}}]),t}(i.default);l.events={EDITOR_CHANGE:"editor-change",SCROLL_BEFORE_UPDATE:"scroll-before-update",SCROLL_OPTIMIZE:"scroll-optimize",SCROLL_UPDATE:"scroll-update",SELECTION_CHANGE:"selection-change",TEXT_CHANGE:"text-change"},l.sources={API:"api",SILENT:"silent",USER:"user"},t.default=l},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var o=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.quill=t,this.options=n};o.DEFAULTS={},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=["error","warn","log","info"],o="warn";function i(e){if(r.indexOf(e)<=r.indexOf(o)){for(var t,n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];(t=console)[e].apply(t,i)}}function a(e){return r.reduce((function(t,n){return t[n]=i.bind(console,n,e),t}),{})}i.level=a.level=function(e){o=e},t.default=a},function(e,t,n){var r=Array.prototype.slice,o=n(52),i=n(53),a=e.exports=function(e,t,n){return n||(n={}),e===t||(e instanceof Date&&t instanceof Date?e.getTime()===t.getTime():!e||!t||"object"!=typeof e&&"object"!=typeof t?n.strict?e===t:e==t:function(e,t,n){var c,u;if(s(e)||s(t))return!1;if(e.prototype!==t.prototype)return!1;if(i(e))return!!i(t)&&(e=r.call(e),t=r.call(t),a(e,t,n));if(l(e)){if(!l(t))return!1;if(e.length!==t.length)return!1;for(c=0;c<e.length;c++)if(e[c]!==t[c])return!1;return!0}try{var d=o(e),f=o(t)}catch(e){return!1}if(d.length!=f.length)return!1;for(d.sort(),f.sort(),c=d.length-1;c>=0;c--)if(d[c]!=f[c])return!1;for(c=d.length-1;c>=0;c--)if(u=d[c],!a(e[u],t[u],n))return!1;return typeof e==typeof t}(e,t,n))};function s(e){return null==e}function l(e){return!(!e||"object"!=typeof e||"number"!=typeof e.length||"function"!=typeof e.copy||"function"!=typeof e.slice||e.length>0&&"number"!=typeof e[0])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e,t,n){void 0===n&&(n={}),this.attrName=e,this.keyName=t;var o=r.Scope.TYPE&r.Scope.ATTRIBUTE;null!=n.scope?this.scope=n.scope&r.Scope.LEVEL|o:this.scope=r.Scope.ATTRIBUTE,null!=n.whitelist&&(this.whitelist=n.whitelist)}return e.keys=function(e){return[].map.call(e.attributes,(function(e){return e.name}))},e.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.setAttribute(this.keyName,t),!0)},e.prototype.canAdd=function(e,t){return null!=r.query(e,r.Scope.BLOT&(this.scope|r.Scope.TYPE))&&(null==this.whitelist||("string"==typeof t?this.whitelist.indexOf(t.replace(/["']/g,""))>-1:this.whitelist.indexOf(t)>-1))},e.prototype.remove=function(e){e.removeAttribute(this.keyName)},e.prototype.value=function(e){var t=e.getAttribute(this.keyName);return this.canAdd(e,t)&&t?t:""},e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Code=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=d(n(2)),s=d(n(0)),l=d(n(4)),c=d(n(6)),u=d(n(7));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 h(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 m=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),t}(c.default);m.blotName="code",m.tagName="CODE";var g=function(e){function t(){return f(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return h(t,e),o(t,[{key:"delta",value:function(){var e=this,t=this.domNode.textContent;return t.endsWith("\n")&&(t=t.slice(0,-1)),t.split("\n").reduce((function(t,n){return t.insert(n).insert("\n",e.formats())}),new a.default)}},{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n){var o=this.descendant(u.default,this.length()-1),a=r(o,1)[0];null!=a&&a.deleteAt(a.length()-1,1),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}},{key:"formatAt",value:function(e,n,r,o){if(0!==n&&null!=s.default.query(r,s.default.Scope.BLOCK)&&(r!==this.statics.blotName||o!==this.statics.formats(this.domNode))){var i=this.newlineIndex(e);if(!(i<0||i>=e+n)){var a=this.newlineIndex(e,!0)+1,l=i-a+1,c=this.isolate(a,l),u=c.next;c.format(r,o),u instanceof t&&u.formatAt(0,e-a+n-l,r,o)}}}},{key:"insertAt",value:function(e,t,n){if(null==n){var o=this.descendant(u.default,e),i=r(o,2),a=i[0],s=i[1];a.insertAt(s,t)}}},{key:"length",value:function(){var e=this.domNode.textContent.length;return this.domNode.textContent.endsWith("\n")?e:e+1}},{key:"newlineIndex",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(t)return this.domNode.textContent.slice(0,e).lastIndexOf("\n");var n=this.domNode.textContent.slice(e).indexOf("\n");return n>-1?e+n:-1}},{key:"optimize",value:function(e){this.domNode.textContent.endsWith("\n")||this.appendChild(s.default.create("text","\n")),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&this.statics.formats(this.domNode)===n.statics.formats(n.domNode)&&(n.optimize(e),n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e),[].slice.call(this.domNode.querySelectorAll("*")).forEach((function(e){var t=s.default.find(e);null==t?e.parentNode.removeChild(e):t instanceof s.default.Embed?t.remove():t.unwrap()}))}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("spellcheck",!1),n}},{key:"formats",value:function(){return!0}}]),t}(l.default);g.blotName="code-block",g.tagName="PRE",g.TAB="  ",t.Code=m,t.default=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=v(n(2)),s=v(n(20)),l=v(n(0)),c=v(n(13)),u=v(n(24)),d=n(4),f=v(d),p=v(n(16)),h=v(n(21)),m=v(n(11)),g=v(n(3));function v(e){return e&&e.__esModule?e:{default:e}}var b=/^[ -~]*$/,y=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scroll=t,this.delta=this.getDelta()}return i(e,[{key:"applyDelta",value:function(e){var t=this,n=!1;this.scroll.update();var i=this.scroll.length();return this.scroll.batchStart(),(e=function(e){return e.reduce((function(e,t){if(1===t.insert){var n=(0,h.default)(t.attributes);return delete n.image,e.insert({image:t.attributes.image},n)}if(null==t.attributes||!0!==t.attributes.list&&!0!==t.attributes.bullet||((t=(0,h.default)(t)).attributes.list?t.attributes.list="ordered":(t.attributes.list="bullet",delete t.attributes.bullet)),"string"==typeof t.insert){var r=t.insert.replace(/\r\n/g,"\n").replace(/\r/g,"\n");return e.insert(r,t.attributes)}return e.push(t)}),new a.default)}(e)).reduce((function(e,a){var c=a.retain||a.delete||a.insert.length||1,u=a.attributes||{};if(null!=a.insert){if("string"==typeof a.insert){var p=a.insert;p.endsWith("\n")&&n&&(n=!1,p=p.slice(0,-1)),e>=i&&!p.endsWith("\n")&&(n=!0),t.scroll.insertAt(e,p);var h=t.scroll.line(e),m=o(h,2),v=m[0],b=m[1],y=(0,g.default)({},(0,d.bubbleFormats)(v));if(v instanceof f.default){var A=v.descendant(l.default.Leaf,b),x=o(A,1)[0];y=(0,g.default)(y,(0,d.bubbleFormats)(x))}u=s.default.attributes.diff(y,u)||{}}else if("object"===r(a.insert)){var C=Object.keys(a.insert)[0];if(null==C)return e;t.scroll.insertAt(e,C,a.insert[C])}i+=c}return Object.keys(u).forEach((function(n){t.scroll.formatAt(e,c,n,u[n])})),e+c}),0),e.reduce((function(e,n){return"number"==typeof n.delete?(t.scroll.deleteAt(e,n.delete),e):e+(n.retain||n.insert.length||1)}),0),this.scroll.batchEnd(),this.update(e)}},{key:"deleteText",value:function(e,t){return this.scroll.deleteAt(e,t),this.update((new a.default).retain(e).delete(t))}},{key:"formatLine",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.scroll.update(),Object.keys(r).forEach((function(o){if(null==n.scroll.whitelist||n.scroll.whitelist[o]){var i=n.scroll.lines(e,Math.max(t,1)),a=t;i.forEach((function(t){var i=t.length();if(t instanceof c.default){var s=e-t.offset(n.scroll),l=t.newlineIndex(s+a)-s+1;t.formatAt(s,l,o,r[o])}else t.format(o,r[o]);a-=i}))}})),this.scroll.optimize(),this.update((new a.default).retain(e).retain(t,(0,h.default)(r)))}},{key:"formatText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t,o,r[o])})),this.update((new a.default).retain(e).retain(t,(0,h.default)(r)))}},{key:"getContents",value:function(e,t){return this.delta.slice(e,e+t)}},{key:"getDelta",value:function(){return this.scroll.lines().reduce((function(e,t){return e.concat(t.delta())}),new a.default)}},{key:"getFormat",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=[],r=[];0===t?this.scroll.path(e).forEach((function(e){var t=o(e,1)[0];t instanceof f.default?n.push(t):t instanceof l.default.Leaf&&r.push(t)})):(n=this.scroll.lines(e,t),r=this.scroll.descendants(l.default.Leaf,e,t));var i=[n,r].map((function(e){if(0===e.length)return{};for(var t=(0,d.bubbleFormats)(e.shift());Object.keys(t).length>0;){var n=e.shift();if(null==n)return t;t=A((0,d.bubbleFormats)(n),t)}return t}));return g.default.apply(g.default,i)}},{key:"getText",value:function(e,t){return this.getContents(e,t).filter((function(e){return"string"==typeof e.insert})).map((function(e){return e.insert})).join("")}},{key:"insertEmbed",value:function(e,t,n){return this.scroll.insertAt(e,t,n),this.update((new a.default).retain(e).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,n)))}},{key:"insertText",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t=t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),this.scroll.insertAt(e,t),Object.keys(r).forEach((function(o){n.scroll.formatAt(e,t.length,o,r[o])})),this.update((new a.default).retain(e).insert(t,(0,h.default)(r)))}},{key:"isBlank",value:function(){if(0==this.scroll.children.length)return!0;if(this.scroll.children.length>1)return!1;var e=this.scroll.children.head;return e.statics.blotName===f.default.blotName&&!(e.children.length>1)&&e.children.head instanceof p.default}},{key:"removeFormat",value:function(e,t){var n=this.getText(e,t),r=this.scroll.line(e+t),i=o(r,2),s=i[0],l=i[1],u=0,d=new a.default;null!=s&&(u=s instanceof c.default?s.newlineIndex(l)-l+1:s.length()-l,d=s.delta().slice(l,l+u-1).insert("\n"));var f=this.getContents(e,t+u).diff((new a.default).insert(n).concat(d)),p=(new a.default).retain(e).concat(f);return this.applyDelta(p)}},{key:"update",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,r=this.delta;if(1===t.length&&"characterData"===t[0].type&&t[0].target.data.match(b)&&l.default.find(t[0].target)){var o=l.default.find(t[0].target),i=(0,d.bubbleFormats)(o),s=o.offset(this.scroll),c=t[0].oldValue.replace(u.default.CONTENTS,""),f=(new a.default).insert(c),p=(new a.default).insert(o.value()),h=(new a.default).retain(s).concat(f.diff(p,n));e=h.reduce((function(e,t){return t.insert?e.insert(t.insert,i):e.push(t)}),new a.default),this.delta=r.compose(e)}else this.delta=this.getDelta(),e&&(0,m.default)(r.compose(e),this.delta)||(e=r.diff(this.delta,n));return e}}]),e}();function A(e,t){return Object.keys(t).reduce((function(n,r){return null==e[r]||(t[r]===e[r]?n[r]=t[r]:Array.isArray(t[r])?t[r].indexOf(e[r])<0&&(n[r]=t[r].concat([e[r]])):n[r]=[t[r],e[r]]),n}),{})}t.default=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.Range=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=c(n(0)),a=c(n(21)),s=c(n(11)),l=c(n(8));function c(e){return e&&e.__esModule?e:{default:e}}function u(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var f=(0,c(n(10)).default)("quill:selection"),p=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;d(this,e),this.index=t,this.length=n},h=function(){function e(t,n){var r=this;d(this,e),this.emitter=n,this.scroll=t,this.composing=!1,this.mouseDown=!1,this.root=this.scroll.domNode,this.cursor=i.default.create("cursor",this),this.lastRange=this.savedRange=new p(0,0),this.handleComposition(),this.handleDragging(),this.emitter.listenDOM("selectionchange",document,(function(){r.mouseDown||setTimeout(r.update.bind(r,l.default.sources.USER),1)})),this.emitter.on(l.default.events.EDITOR_CHANGE,(function(e,t){e===l.default.events.TEXT_CHANGE&&t.length()>0&&r.update(l.default.sources.SILENT)})),this.emitter.on(l.default.events.SCROLL_BEFORE_UPDATE,(function(){if(r.hasFocus()){var e=r.getNativeRange();null!=e&&e.start.node!==r.cursor.textNode&&r.emitter.once(l.default.events.SCROLL_UPDATE,(function(){try{r.setNativeRange(e.start.node,e.start.offset,e.end.node,e.end.offset)}catch(e){}}))}})),this.emitter.on(l.default.events.SCROLL_OPTIMIZE,(function(e,t){if(t.range){var n=t.range,o=n.startNode,i=n.startOffset,a=n.endNode,s=n.endOffset;r.setNativeRange(o,i,a,s)}})),this.update(l.default.sources.SILENT)}return o(e,[{key:"handleComposition",value:function(){var e=this;this.root.addEventListener("compositionstart",(function(){e.composing=!0})),this.root.addEventListener("compositionend",(function(){if(e.composing=!1,e.cursor.parent){var t=e.cursor.restore();if(!t)return;setTimeout((function(){e.setNativeRange(t.startNode,t.startOffset,t.endNode,t.endOffset)}),1)}}))}},{key:"handleDragging",value:function(){var e=this;this.emitter.listenDOM("mousedown",document.body,(function(){e.mouseDown=!0})),this.emitter.listenDOM("mouseup",document.body,(function(){e.mouseDown=!1,e.update(l.default.sources.USER)}))}},{key:"focus",value:function(){this.hasFocus()||(this.root.focus(),this.setRange(this.savedRange))}},{key:"format",value:function(e,t){if(null==this.scroll.whitelist||this.scroll.whitelist[e]){this.scroll.update();var n=this.getNativeRange();if(null!=n&&n.native.collapsed&&!i.default.query(e,i.default.Scope.BLOCK)){if(n.start.node!==this.cursor.textNode){var r=i.default.find(n.start.node,!1);if(null==r)return;if(r instanceof i.default.Leaf){var o=r.split(n.start.offset);r.parent.insertBefore(this.cursor,o)}else r.insertBefore(this.cursor,n.start.node);this.cursor.attach()}this.cursor.format(e,t),this.scroll.optimize(),this.setNativeRange(this.cursor.textNode,this.cursor.textNode.data.length),this.update()}}}},{key:"getBounds",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=this.scroll.length();e=Math.min(e,n-1),t=Math.min(e+t,n-1)-e;var o=void 0,i=this.scroll.leaf(e),a=r(i,2),s=a[0],l=a[1];if(null==s)return null;var c=s.position(l,!0),u=r(c,2);o=u[0],l=u[1];var d=document.createRange();if(t>0){d.setStart(o,l);var f=this.scroll.leaf(e+t),p=r(f,2);if(s=p[0],l=p[1],null==s)return null;var h=s.position(l,!0),m=r(h,2);return o=m[0],l=m[1],d.setEnd(o,l),d.getBoundingClientRect()}var g="left",v=void 0;return o instanceof Text?(l<o.data.length?(d.setStart(o,l),d.setEnd(o,l+1)):(d.setStart(o,l-1),d.setEnd(o,l),g="right"),v=d.getBoundingClientRect()):(v=s.domNode.getBoundingClientRect(),l>0&&(g="right")),{bottom:v.top+v.height,height:v.height,left:v[g],right:v[g],top:v.top,width:0}}},{key:"getNativeRange",value:function(){var e=document.getSelection();if(null==e||e.rangeCount<=0)return null;var t=e.getRangeAt(0);if(null==t)return null;var n=this.normalizeNative(t);return f.info("getNativeRange",n),n}},{key:"getRange",value:function(){var e=this.getNativeRange();return null==e?[null,null]:[this.normalizedToRange(e),e]}},{key:"hasFocus",value:function(){return document.activeElement===this.root}},{key:"normalizedToRange",value:function(e){var t=this,n=[[e.start.node,e.start.offset]];e.native.collapsed||n.push([e.end.node,e.end.offset]);var o=n.map((function(e){var n=r(e,2),o=n[0],a=n[1],s=i.default.find(o,!0),l=s.offset(t.scroll);return 0===a?l:s instanceof i.default.Container?l+s.length():l+s.index(o,a)})),a=Math.min(Math.max.apply(Math,u(o)),this.scroll.length()-1),s=Math.min.apply(Math,[a].concat(u(o)));return new p(s,a-s)}},{key:"normalizeNative",value:function(e){if(!m(this.root,e.startContainer)||!e.collapsed&&!m(this.root,e.endContainer))return null;var t={start:{node:e.startContainer,offset:e.startOffset},end:{node:e.endContainer,offset:e.endOffset},native:e};return[t.start,t.end].forEach((function(e){for(var t=e.node,n=e.offset;!(t instanceof Text)&&t.childNodes.length>0;)if(t.childNodes.length>n)t=t.childNodes[n],n=0;else{if(t.childNodes.length!==n)break;n=(t=t.lastChild)instanceof Text?t.data.length:t.childNodes.length+1}e.node=t,e.offset=n})),t}},{key:"rangeToNative",value:function(e){var t=this,n=e.collapsed?[e.index]:[e.index,e.index+e.length],o=[],i=this.scroll.length();return n.forEach((function(e,n){e=Math.min(i-1,e);var a,s=t.scroll.leaf(e),l=r(s,2),c=l[0],u=l[1],d=c.position(u,0!==n),f=r(d,2);a=f[0],u=f[1],o.push(a,u)})),o.length<2&&(o=o.concat(o)),o}},{key:"scrollIntoView",value:function(e){var t=this.lastRange;if(null!=t){var n=this.getBounds(t.index,t.length);if(null!=n){var o=this.scroll.length()-1,i=this.scroll.line(Math.min(t.index,o)),a=r(i,1)[0],s=a;if(t.length>0){var l=this.scroll.line(Math.min(t.index+t.length,o));s=r(l,1)[0]}if(null!=a&&null!=s){var c=e.getBoundingClientRect();n.top<c.top?e.scrollTop-=c.top-n.top:n.bottom>c.bottom&&(e.scrollTop+=n.bottom-c.bottom)}}}}},{key:"setNativeRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:t,o=arguments.length>4&&void 0!==arguments[4]&&arguments[4];if(f.info("setNativeRange",e,t,n,r),null==e||null!=this.root.parentNode&&null!=e.parentNode&&null!=n.parentNode){var i=document.getSelection();if(null!=i)if(null!=e){this.hasFocus()||this.root.focus();var a=(this.getNativeRange()||{}).native;if(null==a||o||e!==a.startContainer||t!==a.startOffset||n!==a.endContainer||r!==a.endOffset){"BR"==e.tagName&&(t=[].indexOf.call(e.parentNode.childNodes,e),e=e.parentNode),"BR"==n.tagName&&(r=[].indexOf.call(n.parentNode.childNodes,n),n=n.parentNode);var s=document.createRange();s.setStart(e,t),s.setEnd(n,r),i.removeAllRanges(),i.addRange(s)}}else i.removeAllRanges(),this.root.blur(),document.body.focus()}}},{key:"setRange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.default.sources.API;if("string"==typeof t&&(n=t,t=!1),f.info("setRange",e),null!=e){var r=this.rangeToNative(e);this.setNativeRange.apply(this,u(r).concat([t]))}else this.setNativeRange(null);this.update(n)}},{key:"update",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.default.sources.USER,t=this.lastRange,n=this.getRange(),o=r(n,2),i=o[0],c=o[1];if(this.lastRange=i,null!=this.lastRange&&(this.savedRange=this.lastRange),!(0,s.default)(t,this.lastRange)){var u;!this.composing&&null!=c&&c.native.collapsed&&c.start.node!==this.cursor.textNode&&this.cursor.restore();var d,f=[l.default.events.SELECTION_CHANGE,(0,a.default)(this.lastRange),(0,a.default)(t),e];(u=this.emitter).emit.apply(u,[l.default.events.EDITOR_CHANGE].concat(f)),e!==l.default.sources.SILENT&&(d=this.emitter).emit.apply(d,f)}}}]),e}();function m(e,t){try{t.parentNode}catch(e){return!1}return t instanceof Text&&(t=t.parentNode),e.contains(t)}t.Range=p,t.default=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0);function s(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"insertInto",value:function(e,n){0===e.children.length?i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertInto",this).call(this,e,n):this.remove()}},{key:"length",value:function(){return 0}},{key:"value",value:function(){return""}}],[{key:"value",value:function(){}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default.Embed);c.blotName="break",c.tagName="BR",t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(44),a=n(30),s=n(1),l=function(e){function t(t){var n=e.call(this,t)||this;return n.build(),n}return o(t,e),t.prototype.appendChild=function(e){this.insertBefore(e)},t.prototype.attach=function(){e.prototype.attach.call(this),this.children.forEach((function(e){e.attach()}))},t.prototype.build=function(){var e=this;this.children=new i.default,[].slice.call(this.domNode.childNodes).reverse().forEach((function(t){try{var n=c(t);e.insertBefore(n,e.children.head||void 0)}catch(e){if(e instanceof s.ParchmentError)return;throw e}}))},t.prototype.deleteAt=function(e,t){if(0===e&&t===this.length())return this.remove();this.children.forEachAt(e,t,(function(e,t,n){e.deleteAt(t,n)}))},t.prototype.descendant=function(e,n){var r=this.children.find(n),o=r[0],i=r[1];return null==e.blotName&&e(o)||null!=e.blotName&&o instanceof e?[o,i]:o instanceof t?o.descendant(e,i):[null,-1]},t.prototype.descendants=function(e,n,r){void 0===n&&(n=0),void 0===r&&(r=Number.MAX_VALUE);var o=[],i=r;return this.children.forEachAt(n,r,(function(n,r,a){(null==e.blotName&&e(n)||null!=e.blotName&&n instanceof e)&&o.push(n),n instanceof t&&(o=o.concat(n.descendants(e,r,i))),i-=a})),o},t.prototype.detach=function(){this.children.forEach((function(e){e.detach()})),e.prototype.detach.call(this)},t.prototype.formatAt=function(e,t,n,r){this.children.forEachAt(e,t,(function(e,t,o){e.formatAt(t,o,n,r)}))},t.prototype.insertAt=function(e,t,n){var r=this.children.find(e),o=r[0],i=r[1];if(o)o.insertAt(i,t,n);else{var a=null==n?s.create("text",t):s.create(t,n);this.appendChild(a)}},t.prototype.insertBefore=function(e,t){if(null!=this.statics.allowedChildren&&!this.statics.allowedChildren.some((function(t){return e instanceof t})))throw new s.ParchmentError("Cannot insert "+e.statics.blotName+" into "+this.statics.blotName);e.insertInto(this,t)},t.prototype.length=function(){return this.children.reduce((function(e,t){return e+t.length()}),0)},t.prototype.moveChildren=function(e,t){this.children.forEach((function(n){e.insertBefore(n,t)}))},t.prototype.optimize=function(t){if(e.prototype.optimize.call(this,t),0===this.children.length)if(null!=this.statics.defaultChild){var n=s.create(this.statics.defaultChild);this.appendChild(n),n.optimize(t)}else this.remove()},t.prototype.path=function(e,n){void 0===n&&(n=!1);var r=this.children.find(e,n),o=r[0],i=r[1],a=[[this,e]];return o instanceof t?a.concat(o.path(i,n)):(null!=o&&a.push([o,i]),a)},t.prototype.removeChild=function(e){this.children.remove(e)},t.prototype.replace=function(n){n instanceof t&&n.moveChildren(this),e.prototype.replace.call(this,n)},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=this.clone();return this.parent.insertBefore(n,this.next),this.children.forEachAt(e,this.length(),(function(e,r,o){e=e.split(r,t),n.appendChild(e)})),n},t.prototype.unwrap=function(){this.moveChildren(this.parent,this.next),this.remove()},t.prototype.update=function(e,t){var n=this,r=[],o=[];e.forEach((function(e){e.target===n.domNode&&"childList"===e.type&&(r.push.apply(r,e.addedNodes),o.push.apply(o,e.removedNodes))})),o.forEach((function(e){if(!(null!=e.parentNode&&"IFRAME"!==e.tagName&&document.body.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)){var t=s.find(e);null!=t&&(null!=t.domNode.parentNode&&t.domNode.parentNode!==n.domNode||t.detach())}})),r.filter((function(e){return e.parentNode==n.domNode})).sort((function(e,t){return e===t?0:e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?1:-1})).forEach((function(e){var t=null;null!=e.nextSibling&&(t=s.find(e.nextSibling));var r=c(e);r.next==t&&null!=r.next||(null!=r.parent&&r.parent.removeChild(n),n.insertBefore(r,t||void 0))}))},t}(a.default);function c(e){var t=s.find(e);if(null==t)try{t=s.create(e)}catch(n){t=s.create(s.Scope.INLINE),[].slice.call(e.childNodes).forEach((function(e){t.domNode.appendChild(e)})),e.parentNode&&e.parentNode.replaceChild(t.domNode,e),t.attach()}return t}t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),a=n(31),s=n(17),l=n(1),c=function(e){function t(t){var n=e.call(this,t)||this;return n.attributes=new a.default(n.domNode),n}return o(t,e),t.formats=function(e){return"string"==typeof this.tagName||(Array.isArray(this.tagName)?e.tagName.toLowerCase():void 0)},t.prototype.format=function(e,t){var n=l.query(e);n instanceof i.default?this.attributes.attribute(n,t):t&&(null==n||e===this.statics.blotName&&this.formats()[e]===t||this.replaceWith(e,t))},t.prototype.formats=function(){var e=this.attributes.values(),t=this.statics.formats(this.domNode);return null!=t&&(e[this.statics.blotName]=t),e},t.prototype.replaceWith=function(t,n){var r=e.prototype.replaceWith.call(this,t,n);return this.attributes.copy(r),r},t.prototype.update=function(t,n){var r=this;e.prototype.update.call(this,t,n),t.some((function(e){return e.target===r.domNode&&"attributes"===e.type}))&&this.attributes.build()},t.prototype.wrap=function(n,r){var o=e.prototype.wrap.call(this,n,r);return o instanceof t&&o.statics.scope===this.statics.scope&&this.attributes.move(o),o},t}(s.default);t.default=c},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(30),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.value=function(e){return!0},t.prototype.index=function(e,t){return this.domNode===e||this.domNode.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY?Math.min(t,1):-1},t.prototype.position=function(e,t){var n=[].indexOf.call(this.parent.domNode.childNodes,this.domNode);return e>0&&(n+=1),[this.parent.domNode,n]},t.prototype.value=function(){var e;return(e={})[this.statics.blotName]=this.statics.value(this.domNode)||!0,e},t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){var r=n(11),o=n(3),i={attributes:{compose:function(e,t,n){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var r=o(!0,{},t);for(var i in n||(r=Object.keys(r).reduce((function(e,t){return null!=r[t]&&(e[t]=r[t]),e}),{})),e)void 0!==e[i]&&void 0===t[i]&&(r[i]=e[i]);return Object.keys(r).length>0?r:void 0},diff:function(e,t){"object"!=typeof e&&(e={}),"object"!=typeof t&&(t={});var n=Object.keys(e).concat(Object.keys(t)).reduce((function(n,o){return r(e[o],t[o])||(n[o]=void 0===t[o]?null:t[o]),n}),{});return Object.keys(n).length>0?n:void 0},transform:function(e,t,n){if("object"!=typeof e)return t;if("object"==typeof t){if(!n)return t;var r=Object.keys(t).reduce((function(n,r){return void 0===e[r]&&(n[r]=t[r]),n}),{});return Object.keys(r).length>0?r:void 0}}},iterator:function(e){return new a(e)},length:function(e){return"number"==typeof e.delete?e.delete:"number"==typeof e.retain?e.retain:"string"==typeof e.insert?e.insert.length:1}};function a(e){this.ops=e,this.index=0,this.offset=0}a.prototype.hasNext=function(){return this.peekLength()<1/0},a.prototype.next=function(e){e||(e=1/0);var t=this.ops[this.index];if(t){var n=this.offset,r=i.length(t);if(e>=r-n?(e=r-n,this.index+=1,this.offset=0):this.offset+=e,"number"==typeof t.delete)return{delete:e};var o={};return t.attributes&&(o.attributes=t.attributes),"number"==typeof t.retain?o.retain=e:"string"==typeof t.insert?o.insert=t.insert.substr(n,e):o.insert=t.insert,o}return{retain:1/0}},a.prototype.peek=function(){return this.ops[this.index]},a.prototype.peekLength=function(){return this.ops[this.index]?i.length(this.ops[this.index])-this.offset:1/0},a.prototype.peekType=function(){return this.ops[this.index]?"number"==typeof this.ops[this.index].delete?"delete":"number"==typeof this.ops[this.index].retain?"retain":"insert":"retain"},a.prototype.rest=function(){if(this.hasNext()){if(0===this.offset)return this.ops.slice(this.index);var e=this.offset,t=this.index,n=this.next(),r=this.ops.slice(this.index);return this.offset=e,this.index=t,[n].concat(r)}return[]},e.exports=i},function(e,t){var n=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,n,r;try{t=Map}catch(e){t=function(){}}try{n=Set}catch(e){n=function(){}}try{r=Promise}catch(e){r=function(){}}function i(a,l,c,u,d){"object"==typeof l&&(c=l.depth,u=l.prototype,d=l.includeNonEnumerable,l=l.circular);var f=[],p=[],h=void 0!==o;return void 0===l&&(l=!0),void 0===c&&(c=1/0),function a(c,m){if(null===c)return null;if(0===m)return c;var g,v;if("object"!=typeof c)return c;if(e(c,t))g=new t;else if(e(c,n))g=new n;else if(e(c,r))g=new r((function(e,t){c.then((function(t){e(a(t,m-1))}),(function(e){t(a(e,m-1))}))}));else if(i.__isArray(c))g=[];else if(i.__isRegExp(c))g=new RegExp(c.source,s(c)),c.lastIndex&&(g.lastIndex=c.lastIndex);else if(i.__isDate(c))g=new Date(c.getTime());else{if(h&&o.isBuffer(c))return g=o.allocUnsafe?o.allocUnsafe(c.length):new o(c.length),c.copy(g),g;e(c,Error)?g=Object.create(c):void 0===u?(v=Object.getPrototypeOf(c),g=Object.create(v)):(g=Object.create(u),v=u)}if(l){var b=f.indexOf(c);if(-1!=b)return p[b];f.push(c),p.push(g)}for(var y in e(c,t)&&c.forEach((function(e,t){var n=a(t,m-1),r=a(e,m-1);g.set(n,r)})),e(c,n)&&c.forEach((function(e){var t=a(e,m-1);g.add(t)})),c){var A;v&&(A=Object.getOwnPropertyDescriptor(v,y)),A&&null==A.set||(g[y]=a(c[y],m-1))}if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(c);for(y=0;y<x.length;y++){var C=x[y];(!(w=Object.getOwnPropertyDescriptor(c,C))||w.enumerable||d)&&(g[C]=a(c[C],m-1),w.enumerable||Object.defineProperty(g,C,{enumerable:!1}))}}if(d){var _=Object.getOwnPropertyNames(c);for(y=0;y<_.length;y++){var w,k=_[y];(w=Object.getOwnPropertyDescriptor(c,k))&&w.enumerable||(g[k]=a(c[k],m-1),Object.defineProperty(g,k,{enumerable:!1}))}}return g}(a,c)}function a(e){return Object.prototype.toString.call(e)}function s(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return i.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},i.__objToStr=a,i.__isDate=function(e){return"object"==typeof e&&"[object Date]"===a(e)},i.__isArray=function(e){return"object"==typeof e&&"[object Array]"===a(e)},i.__isRegExp=function(e){return"object"==typeof e&&"[object RegExp]"===a(e)},i.__getRegExpFlags=s,i}();"object"==typeof e&&e.exports&&(e.exports=n)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=p(n(0)),s=p(n(8)),l=n(4),c=p(l),u=p(n(16)),d=p(n(13)),f=p(n(25));function p(e){return e&&e.__esModule?e:{default:e}}function h(e){return e instanceof c.default||e instanceof l.BlockEmbed}var m=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.emitter=n.emitter,Array.isArray(n.whitelist)&&(r.whitelist=n.whitelist.reduce((function(e,t){return e[t]=!0,e}),{})),r.domNode.addEventListener("DOMNodeInserted",(function(){})),r.optimize(),r.enable(),r}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),o(t,[{key:"batchStart",value:function(){this.batch=!0}},{key:"batchEnd",value:function(){this.batch=!1,this.optimize()}},{key:"deleteAt",value:function(e,n){var o=this.line(e),a=r(o,2),s=a[0],c=a[1],f=this.line(e+n),p=r(f,1)[0];if(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"deleteAt",this).call(this,e,n),null!=p&&s!==p&&c>0){if(s instanceof l.BlockEmbed||p instanceof l.BlockEmbed)return void this.optimize();if(s instanceof d.default){var h=s.newlineIndex(s.length(),!0);if(h>-1&&(s=s.split(h+1))===p)return void this.optimize()}else if(p instanceof d.default){var m=p.newlineIndex(0);m>-1&&p.split(m+1)}var g=p.children.head instanceof u.default?null:p.children.head;s.moveChildren(p,g),s.remove()}this.optimize()}},{key:"enable",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.domNode.setAttribute("contenteditable",e)}},{key:"formatAt",value:function(e,n,r,o){(null==this.whitelist||this.whitelist[r])&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"formatAt",this).call(this,e,n,r,o),this.optimize())}},{key:"insertAt",value:function(e,n,r){if(null==r||null==this.whitelist||this.whitelist[n]){if(e>=this.length())if(null==r||null==a.default.query(n,a.default.Scope.BLOCK)){var o=a.default.create(this.statics.defaultChild);this.appendChild(o),null==r&&n.endsWith("\n")&&(n=n.slice(0,-1)),o.insertAt(0,n,r)}else{var s=a.default.create(n,r);this.appendChild(s)}else i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertAt",this).call(this,e,n,r);this.optimize()}}},{key:"insertBefore",value:function(e,n){if(e.statics.scope===a.default.Scope.INLINE_BLOT){var r=a.default.create(this.statics.defaultChild);r.appendChild(e),e=r}i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n)}},{key:"leaf",value:function(e){return this.path(e).pop()||[null,-1]}},{key:"line",value:function(e){return e===this.length()?this.line(e-1):this.descendant(h,e)}},{key:"lines",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Number.MAX_VALUE,n=function e(t,n,r){var o=[],i=r;return t.children.forEachAt(n,r,(function(t,n,r){h(t)?o.push(t):t instanceof a.default.Container&&(o=o.concat(e(t,n,i))),i-=r})),o};return n(this,e,t)}},{key:"optimize",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!0!==this.batch&&(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e,n),e.length>0&&this.emitter.emit(s.default.events.SCROLL_OPTIMIZE,e,n))}},{key:"path",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"path",this).call(this,e).slice(1)}},{key:"update",value:function(e){if(!0!==this.batch){var n=s.default.sources.USER;"string"==typeof e&&(n=e),Array.isArray(e)||(e=this.observer.takeRecords()),e.length>0&&this.emitter.emit(s.default.events.SCROLL_BEFORE_UPDATE,n,e),i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"update",this).call(this,e.concat([])),e.length>0&&this.emitter.emit(s.default.events.SCROLL_UPDATE,n,e)}}}]),t}(a.default.Scroll);m.blotName="scroll",m.className="ql-editor",m.tagName="DIV",m.defaultChild="block",m.allowedChildren=[c.default,l.BlockEmbed,f.default],t.default=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHORTKEY=t.default=void 0;var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=m(n(21)),s=m(n(11)),l=m(n(3)),c=m(n(2)),u=m(n(20)),d=m(n(0)),f=m(n(5)),p=m(n(10)),h=m(n(9));function m(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=(0,p.default)("quill:keyboard"),b=/Mac/i.test(navigator.platform)?"metaKey":"ctrlKey",y=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,n));return r.bindings={},Object.keys(r.options.bindings).forEach((function(t){("list autofill"!==t||null==e.scroll.whitelist||e.scroll.whitelist.list)&&r.options.bindings[t]&&r.addBinding(r.options.bindings[t])})),r.addBinding({key:t.keys.ENTER,shiftKey:null},w),r.addBinding({key:t.keys.ENTER,metaKey:null,ctrlKey:null,altKey:null},(function(){})),/Firefox/i.test(navigator.userAgent)?(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0},x),r.addBinding({key:t.keys.DELETE},{collapsed:!0},C)):(r.addBinding({key:t.keys.BACKSPACE},{collapsed:!0,prefix:/^.?$/},x),r.addBinding({key:t.keys.DELETE},{collapsed:!0,suffix:/^.?$/},C)),r.addBinding({key:t.keys.BACKSPACE},{collapsed:!1},_),r.addBinding({key:t.keys.DELETE},{collapsed:!1},_),r.addBinding({key:t.keys.BACKSPACE,altKey:null,ctrlKey:null,metaKey:null,shiftKey:null},{collapsed:!0,offset:0},x),r.listen(),r}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),i(t,null,[{key:"match",value:function(e,t){return t=E(t),!["altKey","ctrlKey","metaKey","shiftKey"].some((function(n){return!!t[n]!==e[n]&&null!==t[n]}))&&t.key===(e.which||e.keyCode)}}]),i(t,[{key:"addBinding",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=E(e);if(null==r||null==r.key)return v.warn("Attempted to add invalid keyboard binding",r);"function"==typeof t&&(t={handler:t}),"function"==typeof n&&(n={handler:n}),r=(0,l.default)(r,t,n),this.bindings[r.key]=this.bindings[r.key]||[],this.bindings[r.key].push(r)}},{key:"listen",value:function(){var e=this;this.quill.root.addEventListener("keydown",(function(n){if(!n.defaultPrevented){var i=n.which||n.keyCode,a=(e.bindings[i]||[]).filter((function(e){return t.match(n,e)}));if(0!==a.length){var l=e.quill.getSelection();if(null!=l&&e.quill.hasFocus()){var c=e.quill.getLine(l.index),u=o(c,2),f=u[0],p=u[1],h=e.quill.getLeaf(l.index),m=o(h,2),g=m[0],v=m[1],b=0===l.length?[g,v]:e.quill.getLeaf(l.index+l.length),y=o(b,2),A=y[0],x=y[1],C=g instanceof d.default.Text?g.value().slice(0,v):"",_=A instanceof d.default.Text?A.value().slice(x):"",w={collapsed:0===l.length,empty:0===l.length&&f.length()<=1,format:e.quill.getFormat(l),offset:p,prefix:C,suffix:_};a.some((function(t){if(null!=t.collapsed&&t.collapsed!==w.collapsed)return!1;if(null!=t.empty&&t.empty!==w.empty)return!1;if(null!=t.offset&&t.offset!==w.offset)return!1;if(Array.isArray(t.format)){if(t.format.every((function(e){return null==w.format[e]})))return!1}else if("object"===r(t.format)&&!Object.keys(t.format).every((function(e){return!0===t.format[e]?null!=w.format[e]:!1===t.format[e]?null==w.format[e]:(0,s.default)(t.format[e],w.format[e])})))return!1;return!(null!=t.prefix&&!t.prefix.test(w.prefix)||null!=t.suffix&&!t.suffix.test(w.suffix)||!0===t.handler.call(e,l,w))}))&&n.preventDefault()}}}}))}}]),t}(h.default);function A(e,t){var n,r=e===y.keys.LEFT?"prefix":"suffix";return g(n={key:e,shiftKey:t,altKey:null},r,/^$/),g(n,"handler",(function(n){var r=n.index;e===y.keys.RIGHT&&(r+=n.length+1);var i=this.quill.getLeaf(r);return!(o(i,1)[0]instanceof d.default.Embed&&(e===y.keys.LEFT?t?this.quill.setSelection(n.index-1,n.length+1,f.default.sources.USER):this.quill.setSelection(n.index-1,f.default.sources.USER):t?this.quill.setSelection(n.index,n.length+1,f.default.sources.USER):this.quill.setSelection(n.index+n.length+1,f.default.sources.USER),1))})),n}function x(e,t){if(!(0===e.index||this.quill.getLength()<=1)){var n=this.quill.getLine(e.index),r=o(n,1)[0],i={};if(0===t.offset){var a=this.quill.getLine(e.index-1),s=o(a,1)[0];if(null!=s&&s.length()>1){var l=r.formats(),c=this.quill.getFormat(e.index-1,1);i=u.default.attributes.diff(l,c)||{}}}var d=/[\uD800-\uDBFF][\uDC00-\uDFFF]$/.test(t.prefix)?2:1;this.quill.deleteText(e.index-d,d,f.default.sources.USER),Object.keys(i).length>0&&this.quill.formatLine(e.index-d,d,i,f.default.sources.USER),this.quill.focus()}}function C(e,t){var n=/^[\uD800-\uDBFF][\uDC00-\uDFFF]/.test(t.suffix)?2:1;if(!(e.index>=this.quill.getLength()-n)){var r={},i=0,a=this.quill.getLine(e.index),s=o(a,1)[0];if(t.offset>=s.length()-1){var l=this.quill.getLine(e.index+1),c=o(l,1)[0];if(c){var d=s.formats(),p=this.quill.getFormat(e.index,1);r=u.default.attributes.diff(d,p)||{},i=c.length()}}this.quill.deleteText(e.index,n,f.default.sources.USER),Object.keys(r).length>0&&this.quill.formatLine(e.index+i-1,n,r,f.default.sources.USER)}}function _(e){var t=this.quill.getLines(e),n={};if(t.length>1){var r=t[0].formats(),o=t[t.length-1].formats();n=u.default.attributes.diff(o,r)||{}}this.quill.deleteText(e,f.default.sources.USER),Object.keys(n).length>0&&this.quill.formatLine(e.index,1,n,f.default.sources.USER),this.quill.setSelection(e.index,f.default.sources.SILENT),this.quill.focus()}function w(e,t){var n=this;e.length>0&&this.quill.scroll.deleteAt(e.index,e.length);var r=Object.keys(t.format).reduce((function(e,n){return d.default.query(n,d.default.Scope.BLOCK)&&!Array.isArray(t.format[n])&&(e[n]=t.format[n]),e}),{});this.quill.insertText(e.index,"\n",r,f.default.sources.USER),this.quill.setSelection(e.index+1,f.default.sources.SILENT),this.quill.focus(),Object.keys(t.format).forEach((function(e){null==r[e]&&(Array.isArray(t.format[e])||"link"!==e&&n.quill.format(e,t.format[e],f.default.sources.USER))}))}function k(e){return{key:y.keys.TAB,shiftKey:!e,format:{"code-block":!0},handler:function(t){var n=d.default.query("code-block"),r=t.index,i=t.length,a=this.quill.scroll.descendant(n,r),s=o(a,2),l=s[0],c=s[1];if(null!=l){var u=this.quill.getIndex(l),p=l.newlineIndex(c,!0)+1,h=l.newlineIndex(u+c+i),m=l.domNode.textContent.slice(p,h).split("\n");c=0,m.forEach((function(t,o){e?(l.insertAt(p+c,n.TAB),c+=n.TAB.length,0===o?r+=n.TAB.length:i+=n.TAB.length):t.startsWith(n.TAB)&&(l.deleteAt(p+c,n.TAB.length),c-=n.TAB.length,0===o?r-=n.TAB.length:i-=n.TAB.length),c+=t.length+1})),this.quill.update(f.default.sources.USER),this.quill.setSelection(r,i,f.default.sources.SILENT)}}}}function S(e){return{key:e[0].toUpperCase(),shortKey:!0,handler:function(t,n){this.quill.format(e,!n.format[e],f.default.sources.USER)}}}function E(e){if("string"==typeof e||"number"==typeof e)return E({key:e});if("object"===(void 0===e?"undefined":r(e))&&(e=(0,a.default)(e,!1)),"string"==typeof e.key)if(null!=y.keys[e.key.toUpperCase()])e.key=y.keys[e.key.toUpperCase()];else{if(1!==e.key.length)return null;e.key=e.key.toUpperCase().charCodeAt(0)}return e.shortKey&&(e[b]=e.shortKey,delete e.shortKey),e}y.keys={BACKSPACE:8,TAB:9,ENTER:13,ESCAPE:27,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46},y.DEFAULTS={bindings:{bold:S("bold"),italic:S("italic"),underline:S("underline"),indent:{key:y.keys.TAB,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","+1",f.default.sources.USER)}},outdent:{key:y.keys.TAB,shiftKey:!0,format:["blockquote","indent","list"],handler:function(e,t){if(t.collapsed&&0!==t.offset)return!0;this.quill.format("indent","-1",f.default.sources.USER)}},"outdent backspace":{key:y.keys.BACKSPACE,collapsed:!0,shiftKey:null,metaKey:null,ctrlKey:null,altKey:null,format:["indent","list"],offset:0,handler:function(e,t){null!=t.format.indent?this.quill.format("indent","-1",f.default.sources.USER):null!=t.format.list&&this.quill.format("list",!1,f.default.sources.USER)}},"indent code-block":k(!0),"outdent code-block":k(!1),"remove tab":{key:y.keys.TAB,shiftKey:!0,collapsed:!0,prefix:/\t$/,handler:function(e){this.quill.deleteText(e.index-1,1,f.default.sources.USER)}},tab:{key:y.keys.TAB,handler:function(e){this.quill.history.cutoff();var t=(new c.default).retain(e.index).delete(e.length).insert("\t");this.quill.updateContents(t,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index+1,f.default.sources.SILENT)}},"list empty enter":{key:y.keys.ENTER,collapsed:!0,format:["list"],empty:!0,handler:function(e,t){this.quill.format("list",!1,f.default.sources.USER),t.format.indent&&this.quill.format("indent",!1,f.default.sources.USER)}},"checklist enter":{key:y.keys.ENTER,collapsed:!0,format:{list:"checked"},handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],a=(0,l.default)({},r.formats(),{list:"checked"}),s=(new c.default).retain(e.index).insert("\n",a).retain(r.length()-i-1).retain(1,{list:"unchecked"});this.quill.updateContents(s,f.default.sources.USER),this.quill.setSelection(e.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"header enter":{key:y.keys.ENTER,collapsed:!0,format:["header"],suffix:/^$/,handler:function(e,t){var n=this.quill.getLine(e.index),r=o(n,2),i=r[0],a=r[1],s=(new c.default).retain(e.index).insert("\n",t.format).retain(i.length()-a-1).retain(1,{header:null});this.quill.updateContents(s,f.default.sources.USER),this.quill.setSelection(e.index+1,f.default.sources.SILENT),this.quill.scrollIntoView()}},"list autofill":{key:" ",collapsed:!0,format:{list:!1},prefix:/^\s*?(\d+\.|-|\*|\[ ?\]|\[x\])$/,handler:function(e,t){var n=t.prefix.length,r=this.quill.getLine(e.index),i=o(r,2),a=i[0],s=i[1];if(s>n)return!0;var l=void 0;switch(t.prefix.trim()){case"[]":case"[ ]":l="unchecked";break;case"[x]":l="checked";break;case"-":case"*":l="bullet";break;default:l="ordered"}this.quill.insertText(e.index," ",f.default.sources.USER),this.quill.history.cutoff();var u=(new c.default).retain(e.index-s).delete(n+1).retain(a.length()-2-s).retain(1,{list:l});this.quill.updateContents(u,f.default.sources.USER),this.quill.history.cutoff(),this.quill.setSelection(e.index-n,f.default.sources.SILENT)}},"code exit":{key:y.keys.ENTER,collapsed:!0,format:["code-block"],prefix:/\n\n$/,suffix:/^\s+$/,handler:function(e){var t=this.quill.getLine(e.index),n=o(t,2),r=n[0],i=n[1],a=(new c.default).retain(e.index+r.length()-i-2).retain(1,{"code-block":null}).delete(1);this.quill.updateContents(a,f.default.sources.USER)}},"embed left":A(y.keys.LEFT,!1),"embed left shift":A(y.keys.LEFT,!0),"embed right":A(y.keys.RIGHT,!1),"embed right shift":A(y.keys.RIGHT,!0)}},t.default=y,t.SHORTKEY=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},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=l(n(0)),s=l(n(7));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.selection=n,r.textNode=document.createTextNode(t.CONTENTS),r.domNode.appendChild(r.textNode),r._length=0,r}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),i(t,null,[{key:"value",value:function(){}}]),i(t,[{key:"detach",value:function(){null!=this.parent&&this.parent.removeChild(this)}},{key:"format",value:function(e,n){if(0!==this._length)return o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);for(var r=this,i=0;null!=r&&r.statics.scope!==a.default.Scope.BLOCK_BLOT;)i+=r.offset(r.parent),r=r.parent;null!=r&&(this._length=t.CONTENTS.length,r.optimize(),r.formatAt(i,t.CONTENTS.length,e,n),this._length=0)}},{key:"index",value:function(e,n){return e===this.textNode?0:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"length",value:function(){return this._length}},{key:"position",value:function(){return[this.textNode,this.textNode.data.length]}},{key:"remove",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this),this.parent=null}},{key:"restore",value:function(){if(!this.selection.composing&&null!=this.parent){var e=this.textNode,n=this.selection.getNativeRange(),o=void 0,i=void 0,l=void 0;if(null!=n&&n.start.node===e&&n.end.node===e){var c=[e,n.start.offset,n.end.offset];o=c[0],i=c[1],l=c[2]}for(;null!=this.domNode.lastChild&&this.domNode.lastChild!==this.textNode;)this.domNode.parentNode.insertBefore(this.domNode.lastChild,this.domNode);if(this.textNode.data!==t.CONTENTS){var u=this.textNode.data.split(t.CONTENTS).join("");this.next instanceof s.default?(o=this.next.domNode,this.next.insertAt(0,u),this.textNode.data=t.CONTENTS):(this.textNode.data=u,this.parent.insertBefore(a.default.create(this.textNode),this),this.textNode=document.createTextNode(t.CONTENTS),this.domNode.appendChild(this.textNode))}if(this.remove(),null!=i){var d=[i,l].map((function(e){return Math.max(0,Math.min(o.data.length,e-1))})),f=r(d,2);return i=f[0],l=f[1],{startNode:o,startOffset:i,endNode:o,endOffset:l}}}}},{key:"update",value:function(e,t){var n=this;if(e.some((function(e){return"characterData"===e.type&&e.target===n.textNode}))){var r=this.restore();r&&(t.range=r)}}},{key:"value",value:function(){return""}}]),t}(a.default.Embed);c.blotName="cursor",c.className="ql-cursor",c.tagName="span",c.CONTENTS="\ufeff",t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=a(n(0)),o=n(4),i=a(o);function a(e){return e&&e.__esModule?e:{default:e}}function s(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),t}(r.default.Container);c.allowedChildren=[i.default,o.BlockEmbed,c],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ColorStyle=t.ColorClass=t.ColorAttributor=void 0;var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};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 u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"value",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e);return n.startsWith("rgb(")?(n=n.replace(/^[^\d]+/,"").replace(/[^\d]+$/,""),"#"+n.split(",").map((function(e){return("00"+parseInt(e).toString(16)).slice(-2)})).join("")):n}}]),t}(s.default.Attributor.Style),d=new s.default.Attributor.Class("color","ql-color",{scope:s.default.Scope.INLINE}),f=new u("color","color",{scope:s.default.Scope.INLINE});t.ColorAttributor=u,t.ColorClass=d,t.ColorStyle=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sanitize=t.default=void 0;var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"format",value:function(e,n){if(e!==this.statics.blotName||!n)return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n);n=this.constructor.sanitize(n),this.domNode.setAttribute("href",n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return e=this.sanitize(e),n.setAttribute("href",e),n.setAttribute("rel","noopener noreferrer"),n.setAttribute("target","_blank"),n}},{key:"formats",value:function(e){return e.getAttribute("href")}},{key:"sanitize",value:function(e){return u(e,this.PROTOCOL_WHITELIST)?e:this.SANITIZED_URL}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);function u(e,t){var n=document.createElement("a");n.href=e;var r=n.href.slice(0,n.href.indexOf(":"));return t.indexOf(r)>-1}c.blotName="link",c.tagName="A",c.SANITIZED_URL="about:blank",c.PROTOCOL_WHITELIST=["http","https","mailto","tel"],t.default=c,t.sanitize=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},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=s(n(23)),a=s(n(107));function s(e){return e&&e.__esModule?e:{default:e}}var l=0;function c(e,t){e.setAttribute(t,!("true"===e.getAttribute(t)))}var u=function(){function e(t){var n=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.select=t,this.container=document.createElement("span"),this.buildPicker(),this.select.style.display="none",this.select.parentNode.insertBefore(this.container,this.select),this.label.addEventListener("mousedown",(function(){n.togglePicker()})),this.label.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:n.togglePicker();break;case i.default.keys.ESCAPE:n.escape(),e.preventDefault()}})),this.select.addEventListener("change",this.update.bind(this))}return o(e,[{key:"togglePicker",value:function(){this.container.classList.toggle("ql-expanded"),c(this.label,"aria-expanded"),c(this.options,"aria-hidden")}},{key:"buildItem",value:function(e){var t=this,n=document.createElement("span");return n.tabIndex="0",n.setAttribute("role","button"),n.classList.add("ql-picker-item"),e.hasAttribute("value")&&n.setAttribute("data-value",e.getAttribute("value")),e.textContent&&n.setAttribute("data-label",e.textContent),n.addEventListener("click",(function(){t.selectItem(n,!0)})),n.addEventListener("keydown",(function(e){switch(e.keyCode){case i.default.keys.ENTER:t.selectItem(n,!0),e.preventDefault();break;case i.default.keys.ESCAPE:t.escape(),e.preventDefault()}})),n}},{key:"buildLabel",value:function(){var e=document.createElement("span");return e.classList.add("ql-picker-label"),e.innerHTML=a.default,e.tabIndex="0",e.setAttribute("role","button"),e.setAttribute("aria-expanded","false"),this.container.appendChild(e),e}},{key:"buildOptions",value:function(){var e=this,t=document.createElement("span");t.classList.add("ql-picker-options"),t.setAttribute("aria-hidden","true"),t.tabIndex="-1",t.id="ql-picker-options-"+l,l+=1,this.label.setAttribute("aria-controls",t.id),this.options=t,[].slice.call(this.select.options).forEach((function(n){var r=e.buildItem(n);t.appendChild(r),!0===n.selected&&e.selectItem(r)})),this.container.appendChild(t)}},{key:"buildPicker",value:function(){var e=this;[].slice.call(this.select.attributes).forEach((function(t){e.container.setAttribute(t.name,t.value)})),this.container.classList.add("ql-picker"),this.label=this.buildLabel(),this.buildOptions()}},{key:"escape",value:function(){var e=this;this.close(),setTimeout((function(){return e.label.focus()}),1)}},{key:"close",value:function(){this.container.classList.remove("ql-expanded"),this.label.setAttribute("aria-expanded","false"),this.options.setAttribute("aria-hidden","true")}},{key:"selectItem",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.container.querySelector(".ql-selected");if(e!==n&&(null!=n&&n.classList.remove("ql-selected"),null!=e&&(e.classList.add("ql-selected"),this.select.selectedIndex=[].indexOf.call(e.parentNode.children,e),e.hasAttribute("data-value")?this.label.setAttribute("data-value",e.getAttribute("data-value")):this.label.removeAttribute("data-value"),e.hasAttribute("data-label")?this.label.setAttribute("data-label",e.getAttribute("data-label")):this.label.removeAttribute("data-label"),t))){if("function"==typeof Event)this.select.dispatchEvent(new Event("change"));else if("object"===("undefined"==typeof Event?"undefined":r(Event))){var o=document.createEvent("Event");o.initEvent("change",!0,!0),this.select.dispatchEvent(o)}this.close()}}},{key:"update",value:function(){var e=void 0;if(this.select.selectedIndex>-1){var t=this.container.querySelector(".ql-picker-options").children[this.select.selectedIndex];e=this.select.options[this.select.selectedIndex],this.selectItem(t)}else this.selectItem(null);var n=null!=e&&e!==this.select.querySelector("option[selected]");this.label.classList.toggle("ql-active",n)}}]),e}();t.default=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=v(n(0)),o=v(n(5)),i=n(4),a=v(i),s=v(n(16)),l=v(n(25)),c=v(n(24)),u=v(n(35)),d=v(n(6)),f=v(n(22)),p=v(n(7)),h=v(n(55)),m=v(n(42)),g=v(n(23));function v(e){return e&&e.__esModule?e:{default:e}}o.default.register({"blots/block":a.default,"blots/block/embed":i.BlockEmbed,"blots/break":s.default,"blots/container":l.default,"blots/cursor":c.default,"blots/embed":u.default,"blots/inline":d.default,"blots/scroll":f.default,"blots/text":p.default,"modules/clipboard":h.default,"modules/history":m.default,"modules/keyboard":g.default}),r.default.register(a.default,s.default,c.default,d.default,f.default,p.default),t.default=o.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),o=function(){function e(e){this.domNode=e,this.domNode[r.DATA_KEY]={blot:this}}return Object.defineProperty(e.prototype,"statics",{get:function(){return this.constructor},enumerable:!0,configurable:!0}),e.create=function(e){if(null==this.tagName)throw new r.ParchmentError("Blot definition missing tagName");var t;return Array.isArray(this.tagName)?("string"==typeof e&&(e=e.toUpperCase(),parseInt(e).toString()===e&&(e=parseInt(e))),t="number"==typeof e?document.createElement(this.tagName[e-1]):this.tagName.indexOf(e)>-1?document.createElement(e):document.createElement(this.tagName[0])):t=document.createElement(this.tagName),this.className&&t.classList.add(this.className),t},e.prototype.attach=function(){null!=this.parent&&(this.scroll=this.parent.scroll)},e.prototype.clone=function(){var e=this.domNode.cloneNode(!1);return r.create(e)},e.prototype.detach=function(){null!=this.parent&&this.parent.removeChild(this),delete this.domNode[r.DATA_KEY]},e.prototype.deleteAt=function(e,t){this.isolate(e,t).remove()},e.prototype.formatAt=function(e,t,n,o){var i=this.isolate(e,t);if(null!=r.query(n,r.Scope.BLOT)&&o)i.wrap(n,o);else if(null!=r.query(n,r.Scope.ATTRIBUTE)){var a=r.create(this.statics.scope);i.wrap(a),a.format(n,o)}},e.prototype.insertAt=function(e,t,n){var o=null==n?r.create("text",t):r.create(t,n),i=this.split(e);this.parent.insertBefore(o,i)},e.prototype.insertInto=function(e,t){void 0===t&&(t=null),null!=this.parent&&this.parent.children.remove(this);var n=null;e.children.insertBefore(this,t),null!=t&&(n=t.domNode),this.domNode.parentNode==e.domNode&&this.domNode.nextSibling==n||e.domNode.insertBefore(this.domNode,n),this.parent=e,this.attach()},e.prototype.isolate=function(e,t){var n=this.split(e);return n.split(t),n},e.prototype.length=function(){return 1},e.prototype.offset=function(e){return void 0===e&&(e=this.parent),null==this.parent||this==e?0:this.parent.children.offset(this)+this.parent.offset(e)},e.prototype.optimize=function(e){null!=this.domNode[r.DATA_KEY]&&delete this.domNode[r.DATA_KEY].mutations},e.prototype.remove=function(){null!=this.domNode.parentNode&&this.domNode.parentNode.removeChild(this.domNode),this.detach()},e.prototype.replace=function(e){null!=e.parent&&(e.parent.insertBefore(this,e.next),e.remove())},e.prototype.replaceWith=function(e,t){var n="string"==typeof e?r.create(e,t):e;return n.replace(this),n},e.prototype.split=function(e,t){return 0===e?this:this.next},e.prototype.update=function(e,t){},e.prototype.wrap=function(e,t){var n="string"==typeof e?r.create(e,t):e;return null!=this.parent&&this.parent.insertBefore(n,this.next),n.appendChild(this),n},e.blotName="abstract",e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(12),o=n(32),i=n(33),a=n(1),s=function(){function e(e){this.attributes={},this.domNode=e,this.build()}return e.prototype.attribute=function(e,t){t?e.add(this.domNode,t)&&(null!=e.value(this.domNode)?this.attributes[e.attrName]=e:delete this.attributes[e.attrName]):(e.remove(this.domNode),delete this.attributes[e.attrName])},e.prototype.build=function(){var e=this;this.attributes={};var t=r.default.keys(this.domNode),n=o.default.keys(this.domNode),s=i.default.keys(this.domNode);t.concat(n).concat(s).forEach((function(t){var n=a.query(t,a.Scope.ATTRIBUTE);n instanceof r.default&&(e.attributes[n.attrName]=n)}))},e.prototype.copy=function(e){var t=this;Object.keys(this.attributes).forEach((function(n){var r=t.attributes[n].value(t.domNode);e.format(n,r)}))},e.prototype.move=function(e){var t=this;this.copy(e),Object.keys(this.attributes).forEach((function(e){t.attributes[e].remove(t.domNode)})),this.attributes={}},e.prototype.values=function(){var e=this;return Object.keys(this.attributes).reduce((function(t,n){return t[n]=e.attributes[n].value(e.domNode),t}),{})},e}();t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e,t){return(e.getAttribute("class")||"").split(/\s+/).filter((function(e){return 0===e.indexOf(t+"-")}))}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("class")||"").split(/\s+/).map((function(e){return e.split("-").slice(0,-1).join("-")}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(this.remove(e),e.classList.add(this.keyName+"-"+t),!0)},t.prototype.remove=function(e){i(e,this.keyName).forEach((function(t){e.classList.remove(t)})),0===e.classList.length&&e.removeAttribute("class")},t.prototype.value=function(e){var t=(i(e,this.keyName)[0]||"").slice(this.keyName.length+1);return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});function i(e){var t=e.split("-"),n=t.slice(1).map((function(e){return e[0].toUpperCase()+e.slice(1)})).join("");return t[0]+n}Object.defineProperty(t,"__esModule",{value:!0});var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.keys=function(e){return(e.getAttribute("style")||"").split(";").map((function(e){return e.split(":")[0].trim()}))},t.prototype.add=function(e,t){return!!this.canAdd(e,t)&&(e.style[i(this.keyName)]=t,!0)},t.prototype.remove=function(e){e.style[i(this.keyName)]="",e.getAttribute("style")||e.removeAttribute("style")},t.prototype.value=function(e){var t=e.style[i(this.keyName)];return this.canAdd(e,t)?t:""},t}(n(12).default);t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.options=n,this.modules={}}return r(e,[{key:"init",value:function(){var e=this;Object.keys(this.options.modules).forEach((function(t){null==e.modules[t]&&e.addModule(t)}))}},{key:"addModule",value:function(e){var t=this.quill.constructor.import("modules/"+e);return this.modules[e]=new t(this.quill,this.options.modules[e]||{}),this.modules[e]}}]),e}();o.DEFAULTS={modules:{}},o.themes={default:o},t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=s(n(0)),a=s(n(7));function s(e){return e&&e.__esModule?e:{default:e}}var l="\ufeff",c=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.contentNode=document.createElement("span"),n.contentNode.setAttribute("contenteditable",!1),[].slice.call(n.domNode.childNodes).forEach((function(e){n.contentNode.appendChild(e)})),n.leftGuard=document.createTextNode(l),n.rightGuard=document.createTextNode(l),n.domNode.appendChild(n.leftGuard),n.domNode.appendChild(n.contentNode),n.domNode.appendChild(n.rightGuard),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:"index",value:function(e,n){return e===this.leftGuard?0:e===this.rightGuard?1:o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"index",this).call(this,e,n)}},{key:"restore",value:function(e){var t=void 0,n=void 0,r=e.data.split(l).join("");if(e===this.leftGuard)if(this.prev instanceof a.default){var o=this.prev.length();this.prev.insertAt(o,r),t={startNode:this.prev.domNode,startOffset:o+r.length}}else n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this),t={startNode:n,startOffset:r.length};else e===this.rightGuard&&(this.next instanceof a.default?(this.next.insertAt(0,r),t={startNode:this.next.domNode,startOffset:r.length}):(n=document.createTextNode(r),this.parent.insertBefore(i.default.create(n),this.next),t={startNode:n,startOffset:r.length}));return e.data=l,t}},{key:"update",value:function(e,t){var n=this;e.forEach((function(e){if("characterData"===e.type&&(e.target===n.leftGuard||e.target===n.rightGuard)){var r=n.restore(e.target);r&&(t.range=r)}}))}}]),t}(i.default.Embed);t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AlignStyle=t.AlignClass=t.AlignAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["right","center","justify"]},s=new i.default.Attributor.Attribute("align","align",a),l=new i.default.Attributor.Class("align","ql-align",a),c=new i.default.Attributor.Style("align","text-align",a);t.AlignAttribute=s,t.AlignClass=l,t.AlignStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BackgroundStyle=t.BackgroundClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=n(26),s=new i.default.Attributor.Class("background","ql-bg",{scope:i.default.Scope.INLINE}),l=new a.ColorAttributor("background","background-color",{scope:i.default.Scope.INLINE});t.BackgroundClass=s,t.BackgroundStyle=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DirectionStyle=t.DirectionClass=t.DirectionAttribute=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a={scope:i.default.Scope.BLOCK,whitelist:["rtl"]},s=new i.default.Attributor.Attribute("direction","dir",a),l=new i.default.Attributor.Class("direction","ql-direction",a),c=new i.default.Attributor.Style("direction","direction",a);t.DirectionAttribute=s,t.DirectionClass=l,t.DirectionStyle=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FontClass=t.FontStyle=void 0;var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};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 u={scope:s.default.Scope.INLINE,whitelist:["serif","monospace"]},d=new s.default.Attributor.Class("font","ql-font",u),f=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"value",value:function(e){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e).replace(/["']/g,"")}}]),t}(s.default.Attributor.Style),p=new f("font","font-family",u);t.FontStyle=p,t.FontClass=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SizeStyle=t.SizeClass=void 0;var r,o=n(0),i=(r=o)&&r.__esModule?r:{default:r},a=new i.default.Attributor.Class("size","ql-size",{scope:i.default.Scope.INLINE,whitelist:["small","large","huge"]}),s=new i.default.Attributor.Style("size","font-size",{scope:i.default.Scope.INLINE,whitelist:["10px","18px","32px"]});t.SizeClass=a,t.SizeStyle=s},function(e,t,n){"use strict";e.exports={align:{"":n(76),center:n(77),right:n(78),justify:n(79)},background:n(80),blockquote:n(81),bold:n(82),clean:n(83),code:n(58),"code-block":n(58),color:n(84),direction:{"":n(85),rtl:n(86)},float:{center:n(87),full:n(88),left:n(89),right:n(90)},formula:n(91),header:{1:n(92),2:n(93)},italic:n(94),image:n(95),indent:{"+1":n(96),"-1":n(97)},link:n(98),list:{ordered:n(99),bullet:n(100),check:n(101)},script:{sub:n(102),super:n(103)},strike:n(104),underline:n(105),video:n(106)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getLastChangeIndex=t.default=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=a(n(0)),i=a(n(5));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,n));return r.lastRecorded=0,r.ignoreChange=!1,r.clear(),r.quill.on(i.default.events.EDITOR_CHANGE,(function(e,t,n,o){e!==i.default.events.TEXT_CHANGE||r.ignoreChange||(r.options.userOnly&&o!==i.default.sources.USER?r.transform(t):r.record(t,n))})),r.quill.keyboard.addBinding({key:"Z",shortKey:!0},r.undo.bind(r)),r.quill.keyboard.addBinding({key:"Z",shortKey:!0,shiftKey:!0},r.redo.bind(r)),/Win/i.test(navigator.platform)&&r.quill.keyboard.addBinding({key:"Y",shortKey:!0},r.redo.bind(r)),r}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:"change",value:function(e,t){if(0!==this.stack[e].length){var n=this.stack[e].pop();this.stack[t].push(n),this.lastRecorded=0,this.ignoreChange=!0,this.quill.updateContents(n[e],i.default.sources.USER),this.ignoreChange=!1;var r=l(n[e]);this.quill.setSelection(r)}}},{key:"clear",value:function(){this.stack={undo:[],redo:[]}}},{key:"cutoff",value:function(){this.lastRecorded=0}},{key:"record",value:function(e,t){if(0!==e.ops.length){this.stack.redo=[];var n=this.quill.getContents().diff(t),r=Date.now();if(this.lastRecorded+this.options.delay>r&&this.stack.undo.length>0){var o=this.stack.undo.pop();n=n.compose(o.undo),e=o.redo.compose(e)}else this.lastRecorded=r;this.stack.undo.push({redo:e,undo:n}),this.stack.undo.length>this.options.maxStack&&this.stack.undo.shift()}}},{key:"redo",value:function(){this.change("redo","undo")}},{key:"transform",value:function(e){this.stack.undo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)})),this.stack.redo.forEach((function(t){t.undo=e.transform(t.undo,!0),t.redo=e.transform(t.redo,!0)}))}},{key:"undo",value:function(){this.change("undo","redo")}}]),t}(a(n(9)).default);function l(e){var t=e.reduce((function(e,t){return e+=t.delete||0}),0),n=e.length()-t;return function(e){var t=e.ops[e.ops.length-1];return null!=t&&(null!=t.insert?"string"==typeof t.insert&&t.insert.endsWith("\n"):null!=t.attributes&&Object.keys(t.attributes).some((function(e){return null!=o.default.query(e,o.default.Scope.BLOCK)})))}(e)&&(n-=1),n}s.DEFAULTS={delay:1e3,maxStack:100,userOnly:!1},t.default=s,t.getLastChangeIndex=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BaseTooltip=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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=h(n(3)),a=h(n(2)),s=h(n(8)),l=h(n(23)),c=h(n(34)),u=h(n(59)),d=h(n(60)),f=h(n(28)),p=h(n(61));function h(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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 v(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 b=[!1,"center","right","justify"],y=["#000000","#e60000","#ff9900","#ffff00","#008a00","#0066cc","#9933ff","#ffffff","#facccc","#ffebcc","#ffffcc","#cce8cc","#cce0f5","#ebd6ff","#bbbbbb","#f06666","#ffc266","#ffff66","#66b966","#66a3e0","#c285ff","#888888","#a10000","#b26b00","#b2b200","#006100","#0047b2","#6b24b2","#444444","#5c0000","#663d00","#666600","#003700","#002966","#3d1466"],A=[!1,"serif","monospace"],x=["1","2","3",!1],C=["small",!1,"large","huge"],_=function(e){function t(e,n){m(this,t);var r=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return e.emitter.listenDOM("click",document.body,(function t(n){if(!document.body.contains(e.root))return document.body.removeEventListener("click",t);null==r.tooltip||r.tooltip.root.contains(n.target)||document.activeElement===r.tooltip.textbox||r.quill.hasFocus()||r.tooltip.hide(),null!=r.pickers&&r.pickers.forEach((function(e){e.container.contains(n.target)||e.close()}))})),r}return v(t,e),r(t,[{key:"addModule",value:function(e){var n=o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"addModule",this).call(this,e);return"toolbar"===e&&this.extendToolbar(n),n}},{key:"buildButtons",value:function(e,t){e.forEach((function(e){(e.getAttribute("class")||"").split(/\s+/).forEach((function(n){if(n.startsWith("ql-")&&(n=n.slice("ql-".length),null!=t[n]))if("direction"===n)e.innerHTML=t[n][""]+t[n].rtl;else if("string"==typeof t[n])e.innerHTML=t[n];else{var r=e.value||"";null!=r&&t[n][r]&&(e.innerHTML=t[n][r])}}))}))}},{key:"buildPickers",value:function(e,t){var n=this;this.pickers=e.map((function(e){if(e.classList.contains("ql-align"))return null==e.querySelector("option")&&k(e,b),new d.default(e,t.align);if(e.classList.contains("ql-background")||e.classList.contains("ql-color")){var n=e.classList.contains("ql-background")?"background":"color";return null==e.querySelector("option")&&k(e,y,"background"===n?"#ffffff":"#000000"),new u.default(e,t[n])}return null==e.querySelector("option")&&(e.classList.contains("ql-font")?k(e,A):e.classList.contains("ql-header")?k(e,x):e.classList.contains("ql-size")&&k(e,C)),new f.default(e)})),this.quill.on(s.default.events.EDITOR_CHANGE,(function(){n.pickers.forEach((function(e){e.update()}))}))}}]),t}(c.default);_.DEFAULTS=(0,i.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{formula:function(){this.quill.theme.tooltip.edit("formula")},image:function(){var e=this,t=this.container.querySelector("input.ql-image[type=file]");null==t&&((t=document.createElement("input")).setAttribute("type","file"),t.setAttribute("accept","image/png, image/gif, image/jpeg, image/bmp, image/x-icon"),t.classList.add("ql-image"),t.addEventListener("change",(function(){if(null!=t.files&&null!=t.files[0]){var n=new FileReader;n.onload=function(n){var r=e.quill.getSelection(!0);e.quill.updateContents((new a.default).retain(r.index).delete(r.length).insert({image:n.target.result}),s.default.sources.USER),e.quill.setSelection(r.index+1,s.default.sources.SILENT),t.value=""},n.readAsDataURL(t.files[0])}})),this.container.appendChild(t)),t.click()},video:function(){this.quill.theme.tooltip.edit("video")}}}}});var w=function(e){function t(e,n){m(this,t);var r=g(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.textbox=r.root.querySelector('input[type="text"]'),r.listen(),r}return v(t,e),r(t,[{key:"listen",value:function(){var e=this;this.textbox.addEventListener("keydown",(function(t){l.default.match(t,"enter")?(e.save(),t.preventDefault()):l.default.match(t,"escape")&&(e.cancel(),t.preventDefault())}))}},{key:"cancel",value:function(){this.hide()}},{key:"edit",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"link",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this.root.classList.remove("ql-hidden"),this.root.classList.add("ql-editing"),null!=t?this.textbox.value=t:e!==this.root.getAttribute("data-mode")&&(this.textbox.value=""),this.position(this.quill.getBounds(this.quill.selection.savedRange)),this.textbox.select(),this.textbox.setAttribute("placeholder",this.textbox.getAttribute("data-"+e)||""),this.root.setAttribute("data-mode",e)}},{key:"restoreFocus",value:function(){var e=this.quill.scrollingContainer.scrollTop;this.quill.focus(),this.quill.scrollingContainer.scrollTop=e}},{key:"save",value:function(){var e=this.textbox.value;switch(this.root.getAttribute("data-mode")){case"link":var t=this.quill.root.scrollTop;this.linkRange?(this.quill.formatText(this.linkRange,"link",e,s.default.sources.USER),delete this.linkRange):(this.restoreFocus(),this.quill.format("link",e,s.default.sources.USER)),this.quill.root.scrollTop=t;break;case"video":e=function(e){var t=e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtube\.com\/watch.*v=([a-zA-Z0-9_-]+)/)||e.match(/^(?:(https?):\/\/)?(?:(?:www|m)\.)?youtu\.be\/([a-zA-Z0-9_-]+)/);return t?(t[1]||"https")+"://www.youtube.com/embed/"+t[2]+"?showinfo=0":(t=e.match(/^(?:(https?):\/\/)?(?:www\.)?vimeo\.com\/(\d+)/))?(t[1]||"https")+"://player.vimeo.com/video/"+t[2]+"/":e}(e);case"formula":if(!e)break;var n=this.quill.getSelection(!0);if(null!=n){var r=n.index+n.length;this.quill.insertEmbed(r,this.root.getAttribute("data-mode"),e,s.default.sources.USER),"formula"===this.root.getAttribute("data-mode")&&this.quill.insertText(r+1," ",s.default.sources.USER),this.quill.setSelection(r+2,s.default.sources.USER)}}this.textbox.value="",this.hide()}}]),t}(p.default);function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];t.forEach((function(t){var r=document.createElement("option");t===n?r.setAttribute("selected","selected"):r.setAttribute("value",t),e.appendChild(r)}))}t.BaseTooltip=w,t.default=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(){this.head=this.tail=null,this.length=0}return e.prototype.append=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.insertBefore(e[0],null),e.length>1&&this.append.apply(this,e.slice(1))},e.prototype.contains=function(e){for(var t,n=this.iterator();t=n();)if(t===e)return!0;return!1},e.prototype.insertBefore=function(e,t){e&&(e.next=t,null!=t?(e.prev=t.prev,null!=t.prev&&(t.prev.next=e),t.prev=e,t===this.head&&(this.head=e)):null!=this.tail?(this.tail.next=e,e.prev=this.tail,this.tail=e):(e.prev=null,this.head=this.tail=e),this.length+=1)},e.prototype.offset=function(e){for(var t=0,n=this.head;null!=n;){if(n===e)return t;t+=n.length(),n=n.next}return-1},e.prototype.remove=function(e){this.contains(e)&&(null!=e.prev&&(e.prev.next=e.next),null!=e.next&&(e.next.prev=e.prev),e===this.head&&(this.head=e.next),e===this.tail&&(this.tail=e.prev),this.length-=1)},e.prototype.iterator=function(e){return void 0===e&&(e=this.head),function(){var t=e;return null!=e&&(e=e.next),t}},e.prototype.find=function(e,t){void 0===t&&(t=!1);for(var n,r=this.iterator();n=r();){var o=n.length();if(e<o||t&&e===o&&(null==n.next||0!==n.next.length()))return[n,e];e-=o}return[null,0]},e.prototype.forEach=function(e){for(var t,n=this.iterator();t=n();)e(t)},e.prototype.forEachAt=function(e,t,n){if(!(t<=0))for(var r,o=this.find(e),i=o[0],a=e-o[1],s=this.iterator(i);(r=s())&&a<e+t;){var l=r.length();e>a?n(r,e-a,Math.min(t,a+l-e)):n(r,0,Math.min(l,e+t-a)),a+=l}},e.prototype.map=function(e){return this.reduce((function(t,n){return t.push(e(n)),t}),[])},e.prototype.reduce=function(e,t){for(var n,r=this.iterator();n=r();)t=e(t,n);return t},e}();t.default=r},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(17),a=n(1),s={attributes:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0},l=function(e){function t(t){var n=e.call(this,t)||this;return n.scroll=n,n.observer=new MutationObserver((function(e){n.update(e)})),n.observer.observe(n.domNode,s),n.attach(),n}return o(t,e),t.prototype.detach=function(){e.prototype.detach.call(this),this.observer.disconnect()},t.prototype.deleteAt=function(t,n){this.update(),0===t&&n===this.length()?this.children.forEach((function(e){e.remove()})):e.prototype.deleteAt.call(this,t,n)},t.prototype.formatAt=function(t,n,r,o){this.update(),e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){this.update(),e.prototype.insertAt.call(this,t,n,r)},t.prototype.optimize=function(t,n){var r=this;void 0===t&&(t=[]),void 0===n&&(n={}),e.prototype.optimize.call(this,n);for(var o=[].slice.call(this.observer.takeRecords());o.length>0;)t.push(o.pop());for(var s=function(e,t){void 0===t&&(t=!0),null!=e&&e!==r&&null!=e.domNode.parentNode&&(null==e.domNode[a.DATA_KEY].mutations&&(e.domNode[a.DATA_KEY].mutations=[]),t&&s(e.parent))},l=function(e){null!=e.domNode[a.DATA_KEY]&&null!=e.domNode[a.DATA_KEY].mutations&&(e instanceof i.default&&e.children.forEach(l),e.optimize(n))},c=t,u=0;c.length>0;u+=1){if(u>=100)throw new Error("[Parchment] Maximum optimize iterations reached");for(c.forEach((function(e){var t=a.find(e.target,!0);null!=t&&(t.domNode===e.target&&("childList"===e.type?(s(a.find(e.previousSibling,!1)),[].forEach.call(e.addedNodes,(function(e){var t=a.find(e,!1);s(t,!1),t instanceof i.default&&t.children.forEach((function(e){s(e,!1)}))}))):"attributes"===e.type&&s(t.prev)),s(t))})),this.children.forEach(l),o=(c=[].slice.call(this.observer.takeRecords())).slice();o.length>0;)t.push(o.pop())}},t.prototype.update=function(t,n){var r=this;void 0===n&&(n={}),(t=t||this.observer.takeRecords()).map((function(e){var t=a.find(e.target,!0);return null==t?null:null==t.domNode[a.DATA_KEY].mutations?(t.domNode[a.DATA_KEY].mutations=[e],t):(t.domNode[a.DATA_KEY].mutations.push(e),null)})).forEach((function(e){null!=e&&e!==r&&null!=e.domNode[a.DATA_KEY]&&e.update(e.domNode[a.DATA_KEY].mutations||[],n)})),null!=this.domNode[a.DATA_KEY].mutations&&e.prototype.update.call(this,this.domNode[a.DATA_KEY].mutations,n),this.optimize(t,n)},t.blotName="scroll",t.defaultChild="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="DIV",t}(i.default);t.default=l},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){if(n.tagName!==t.tagName)return e.formats.call(this,n)},t.prototype.format=function(n,r){var o=this;n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):(this.children.forEach((function(e){e instanceof i.default||(e=e.wrap(t.blotName,!0)),o.attributes.copy(e)})),this.unwrap())},t.prototype.formatAt=function(t,n,r,o){null!=this.formats()[r]||a.query(r,a.Scope.ATTRIBUTE)?this.isolate(t,n).format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n);var r=this.formats();if(0===Object.keys(r).length)return this.unwrap();var o=this.next;o instanceof t&&o.prev===this&&function(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}(r,o.formats())&&(o.moveChildren(this),o.remove())},t.blotName="inline",t.scope=a.Scope.INLINE_BLOT,t.tagName="SPAN",t}(i.default);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(18),a=n(1),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(n){var r=a.query(t.blotName).tagName;if(n.tagName!==r)return e.formats.call(this,n)},t.prototype.format=function(n,r){null!=a.query(n,a.Scope.BLOCK)&&(n!==this.statics.blotName||r?e.prototype.format.call(this,n,r):this.replaceWith(t.blotName))},t.prototype.formatAt=function(t,n,r,o){null!=a.query(r,a.Scope.BLOCK)?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.insertAt=function(t,n,r){if(null==r||null!=a.query(n,a.Scope.INLINE))e.prototype.insertAt.call(this,t,n,r);else{var o=this.split(t),i=a.create(n,r);o.parent.insertBefore(i,o)}},t.prototype.update=function(t,n){navigator.userAgent.match(/Trident/)?this.build():e.prototype.update.call(this,t,n)},t.blotName="block",t.scope=a.Scope.BLOCK_BLOT,t.tagName="P",t}(i.default);t.default=s},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.formats=function(e){},t.prototype.format=function(t,n){e.prototype.formatAt.call(this,0,this.length(),t,n)},t.prototype.formatAt=function(t,n,r,o){0===t&&n===this.length()?this.format(r,o):e.prototype.formatAt.call(this,t,n,r,o)},t.prototype.formats=function(){return this.statics.formats(this.domNode)},t}(n(19).default);t.default=i},function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(19),a=n(1),s=function(e){function t(t){var n=e.call(this,t)||this;return n.text=n.statics.value(n.domNode),n}return o(t,e),t.create=function(e){return document.createTextNode(e)},t.value=function(e){var t=e.data;return t.normalize&&(t=t.normalize()),t},t.prototype.deleteAt=function(e,t){this.domNode.data=this.text=this.text.slice(0,e)+this.text.slice(e+t)},t.prototype.index=function(e,t){return this.domNode===e?t:-1},t.prototype.insertAt=function(t,n,r){null==r?(this.text=this.text.slice(0,t)+n+this.text.slice(t),this.domNode.data=this.text):e.prototype.insertAt.call(this,t,n,r)},t.prototype.length=function(){return this.text.length},t.prototype.optimize=function(n){e.prototype.optimize.call(this,n),this.text=this.statics.value(this.domNode),0===this.text.length?this.remove():this.next instanceof t&&this.next.prev===this&&(this.insertAt(this.length(),this.next.value()),this.next.remove())},t.prototype.position=function(e,t){return void 0===t&&(t=!1),[this.domNode,e]},t.prototype.split=function(e,t){if(void 0===t&&(t=!1),!t){if(0===e)return this;if(e===this.length())return this.next}var n=a.create(this.domNode.splitText(e));return this.parent.insertBefore(n,this.next),this.text=this.statics.value(this.domNode),n},t.prototype.update=function(e,t){var n=this;e.some((function(e){return"characterData"===e.type&&e.target===n.domNode}))&&(this.text=this.statics.value(this.domNode))},t.prototype.value=function(){return this.text},t.blotName="text",t.scope=a.Scope.INLINE_BLOT,t}(i.default);t.default=s},function(e,t,n){"use strict";var r=document.createElement("div");if(r.classList.toggle("test-class",!1),r.classList.contains("test-class")){var o=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return arguments.length>1&&!this.contains(e)==!t?t:o.call(this,e)}}String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),String.prototype.endsWith||(String.prototype.endsWith=function(e,t){var n=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>n.length)&&(t=n.length),t-=e.length;var r=n.indexOf(e,t);return-1!==r&&r===t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,o=arguments[1],i=0;i<r;i++)if(t=n[i],e.call(o,t,i,n))return t}}),document.addEventListener("DOMContentLoaded",(function(){document.execCommand("enableObjectResizing",!1,!1),document.execCommand("autoUrlDetect",!1,!1)}))},function(e,t){var n=-1;function r(e,t,l){if(e==t)return e?[[0,e]]:[];(l<0||e.length<l)&&(l=null);var u=i(e,t),d=e.substring(0,u);u=a(e=e.substring(u),t=t.substring(u));var f=e.substring(e.length-u),p=function(e,t){var s;if(!e)return[[1,t]];if(!t)return[[n,e]];var l=e.length>t.length?e:t,c=e.length>t.length?t:e,u=l.indexOf(c);if(-1!=u)return s=[[1,l.substring(0,u)],[0,c],[1,l.substring(u+c.length)]],e.length>t.length&&(s[0][0]=s[2][0]=n),s;if(1==c.length)return[[n,e],[1,t]];var d=function(e,t){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;function o(e,t,n){for(var r,o,s,l,c=e.substring(n,n+Math.floor(e.length/4)),u=-1,d="";-1!=(u=t.indexOf(c,u+1));){var f=i(e.substring(n),t.substring(u)),p=a(e.substring(0,n),t.substring(0,u));d.length<p+f&&(d=t.substring(u-p,u)+t.substring(u,u+f),r=e.substring(0,n-p),o=e.substring(n+f),s=t.substring(0,u-p),l=t.substring(u+f))}return 2*d.length>=e.length?[r,o,s,l,d]:null}var s,l,c,u,d,f=o(n,r,Math.ceil(n.length/4)),p=o(n,r,Math.ceil(n.length/2));if(!f&&!p)return null;s=p?f&&f[4].length>p[4].length?f:p:f,e.length>t.length?(l=s[0],c=s[1],u=s[2],d=s[3]):(u=s[0],d=s[1],l=s[2],c=s[3]);var h=s[4];return[l,c,u,d,h]}(e,t);if(d){var f=d[0],p=d[1],h=d[2],m=d[3],g=d[4],v=r(f,h),b=r(p,m);return v.concat([[0,g]],b)}return function(e,t){for(var r=e.length,i=t.length,a=Math.ceil((r+i)/2),s=a,l=2*a,c=new Array(l),u=new Array(l),d=0;d<l;d++)c[d]=-1,u[d]=-1;c[s+1]=0,u[s+1]=0;for(var f=r-i,p=f%2!=0,h=0,m=0,g=0,v=0,b=0;b<a;b++){for(var y=-b+h;y<=b-m;y+=2){for(var A=s+y,x=(S=y==-b||y!=b&&c[A-1]<c[A+1]?c[A+1]:c[A-1]+1)-y;S<r&&x<i&&e.charAt(S)==t.charAt(x);)S++,x++;if(c[A]=S,S>r)m+=2;else if(x>i)h+=2;else if(p&&(w=s+f-y)>=0&&w<l&&-1!=u[w]&&S>=(_=r-u[w]))return o(e,t,S,x)}for(var C=-b+g;C<=b-v;C+=2){for(var _,w=s+C,k=(_=C==-b||C!=b&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-C;_<r&&k<i&&e.charAt(r-_-1)==t.charAt(i-k-1);)_++,k++;if(u[w]=_,_>r)v+=2;else if(k>i)g+=2;else if(!p){var S;if((A=s+f-C)>=0&&A<l&&-1!=c[A])if(x=s+(S=c[A])-A,S>=(_=r-_))return o(e,t,S,x)}}}return[[n,e],[1,t]]}(e,t)}(e=e.substring(0,e.length-u),t=t.substring(0,t.length-u));return d&&p.unshift([0,d]),f&&p.push([0,f]),s(p),null!=l&&(p=function(e,t){var r=function(e,t){if(0===t)return[0,e];for(var r=0,o=0;o<e.length;o++){var i=e[o];if(i[0]===n||0===i[0]){var a=r+i[1].length;if(t===a)return[o+1,e];if(t<a){e=e.slice();var s=t-r,l=[i[0],i[1].slice(0,s)],c=[i[0],i[1].slice(s)];return e.splice(o,1,l,c),[o+1,e]}r=a}}throw new Error("cursor_pos is out of bounds!")}(e,t),o=r[1],i=r[0],a=o[i],s=o[i+1];if(null==a)return e;if(0!==a[0])return e;if(null!=s&&a[1]+s[1]===s[1]+a[1])return o.splice(i,2,s,a),c(o,i,2);if(null!=s&&0===s[1].indexOf(a[1])){o.splice(i,2,[s[0],a[1]],[0,a[1]]);var l=s[1].slice(a[1].length);return l.length>0&&o.splice(i+2,0,[s[0],l]),c(o,i,3)}return e}(p,l)),p=function(e){for(var t=!1,r=function(e){return e.charCodeAt(0)>=56320&&e.charCodeAt(0)<=57343},o=function(e){return e.charCodeAt(e.length-1)>=55296&&e.charCodeAt(e.length-1)<=56319},i=2;i<e.length;i+=1)0===e[i-2][0]&&o(e[i-2][1])&&e[i-1][0]===n&&r(e[i-1][1])&&1===e[i][0]&&r(e[i][1])&&(t=!0,e[i-1][1]=e[i-2][1].slice(-1)+e[i-1][1],e[i][1]=e[i-2][1].slice(-1)+e[i][1],e[i-2][1]=e[i-2][1].slice(0,-1));if(!t)return e;var a=[];for(i=0;i<e.length;i+=1)e[i][1].length>0&&a.push(e[i]);return a}(p)}function o(e,t,n,o){var i=e.substring(0,n),a=t.substring(0,o),s=e.substring(n),l=t.substring(o),c=r(i,a),u=r(s,l);return c.concat(u)}function i(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}function a(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}function s(e){e.push([0,""]);for(var t,r=0,o=0,l=0,c="",u="";r<e.length;)switch(e[r][0]){case 1:l++,u+=e[r][1],r++;break;case n:o++,c+=e[r][1],r++;break;case 0:o+l>1?(0!==o&&0!==l&&(0!==(t=i(u,c))&&(r-o-l>0&&0==e[r-o-l-1][0]?e[r-o-l-1][1]+=u.substring(0,t):(e.splice(0,0,[0,u.substring(0,t)]),r++),u=u.substring(t),c=c.substring(t)),0!==(t=a(u,c))&&(e[r][1]=u.substring(u.length-t)+e[r][1],u=u.substring(0,u.length-t),c=c.substring(0,c.length-t))),0===o?e.splice(r-l,o+l,[1,u]):0===l?e.splice(r-o,o+l,[n,c]):e.splice(r-o-l,o+l,[n,c],[1,u]),r=r-o-l+(o?1:0)+(l?1:0)+1):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,l=0,o=0,c="",u=""}""===e[e.length-1][1]&&e.pop();var d=!1;for(r=1;r<e.length-1;)0==e[r-1][0]&&0==e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)==e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),d=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),d=!0)),r++;d&&s(e)}var l=r;function c(e,t,n){for(var r=t+n-1;r>=0&&r>=t-1;r--)if(r+1<e.length){var o=e[r],i=e[r+1];o[0]===i[1]&&e.splice(r,2,[o[0],o[1]+i[1]])}return e}l.INSERT=1,l.DELETE=n,l.EQUAL=0,e.exports=l},function(e,t){function n(e){var t=[];for(var n in e)t.push(n);return t}(e.exports="function"==typeof Object.keys?Object.keys:n).shim=n},function(e,t){var n="[object Arguments]"==function(){return Object.prototype.toString.call(arguments)}();function r(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function o(e){return e&&"object"==typeof e&&"number"==typeof e.length&&Object.prototype.hasOwnProperty.call(e,"callee")&&!Object.prototype.propertyIsEnumerable.call(e,"callee")||!1}(t=e.exports=n?r:o).supported=r,t.unsupported=o},function(e,t){"use strict";var n=Object.prototype.hasOwnProperty,r="~";function o(){}function i(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(){this._events=new o,this._eventsCount=0}Object.create&&(o.prototype=Object.create(null),(new o).__proto__||(r=!1)),a.prototype.eventNames=function(){var e,t,o=[];if(0===this._eventsCount)return o;for(t in e=this._events)n.call(e,t)&&o.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},a.prototype.listeners=function(e,t){var n=r?r+e:e,o=this._events[n];if(t)return!!o;if(!o)return[];if(o.fn)return[o.fn];for(var i=0,a=o.length,s=new Array(a);i<a;i++)s[i]=o[i].fn;return s},a.prototype.emit=function(e,t,n,o,i,a){var s=r?r+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,n),!0;case 4:return u.fn.call(u.context,t,n,o),!0;case 5:return u.fn.call(u.context,t,n,o,i),!0;case 6:return u.fn.call(u.context,t,n,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,p=u.length;for(c=0;c<p;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,n);break;case 4:u[c].fn.call(u[c].context,t,n,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},a.prototype.on=function(e,t,n){var o=new i(t,n||this),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.once=function(e,t,n){var o=new i(t,n||this,!0),a=r?r+e:e;return this._events[a]?this._events[a].fn?this._events[a]=[this._events[a],o]:this._events[a].push(o):(this._events[a]=o,this._eventsCount++),this},a.prototype.removeListener=function(e,t,n,i){var a=r?r+e:e;if(!this._events[a])return this;if(!t)return 0==--this._eventsCount?this._events=new o:delete this._events[a],this;var s=this._events[a];if(s.fn)s.fn!==t||i&&!s.once||n&&s.context!==n||(0==--this._eventsCount?this._events=new o:delete this._events[a]);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||i&&!s[l].once||n&&s[l].context!==n)&&c.push(s[l]);c.length?this._events[a]=1===c.length?c[0]:c:0==--this._eventsCount?this._events=new o:delete this._events[a]}return this},a.prototype.removeAllListeners=function(e){var t;return e?(t=r?r+e:e,this._events[t]&&(0==--this._eventsCount?this._events=new o:delete this._events[t])):(this._events=new o,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prototype.setMaxListeners=function(){return this},a.prefixed=r,a.EventEmitter=a,void 0!==e&&(e.exports=a)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.matchText=t.matchSpacing=t.matchNewline=t.matchBlot=t.matchAttributor=t.default=void 0;var 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},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=y(n(3)),s=y(n(2)),l=y(n(0)),c=y(n(5)),u=y(n(10)),d=y(n(9)),f=n(36),p=n(37),h=y(n(13)),m=n(26),g=n(38),v=n(39),b=n(40);function y(e){return e&&e.__esModule?e:{default:e}}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=(0,u.default)("quill:clipboard"),C="__ql-matcher",_=[[Node.TEXT_NODE,I],[Node.TEXT_NODE,R],["br",function(e,t){return O(t,"\n")||t.insert("\n"),t}],[Node.ELEMENT_NODE,R],[Node.ELEMENT_NODE,D],[Node.ELEMENT_NODE,L],[Node.ELEMENT_NODE,M],[Node.ELEMENT_NODE,function(e,t){var n={},r=e.style||{};return r.fontStyle&&"italic"===B(e).fontStyle&&(n.italic=!0),r.fontWeight&&(B(e).fontWeight.startsWith("bold")||parseInt(B(e).fontWeight)>=700)&&(n.bold=!0),Object.keys(n).length>0&&(t=E(t,n)),parseFloat(r.textIndent||0)>0&&(t=(new s.default).insert("\t").concat(t)),t}],["li",function(e,t){var n=l.default.query(e);if(null==n||"list-item"!==n.blotName||!O(t,"\n"))return t;for(var r=-1,o=e.parentNode;!o.classList.contains("ql-clipboard");)"list"===(l.default.query(o)||{}).blotName&&(r+=1),o=o.parentNode;return r<=0?t:t.compose((new s.default).retain(t.length()-1).retain(1,{indent:r}))}],["b",P.bind(P,"bold")],["i",P.bind(P,"italic")],["style",function(){return new s.default}]],w=[f.AlignAttribute,g.DirectionAttribute].reduce((function(e,t){return e[t.keyName]=t,e}),{}),k=[f.AlignStyle,p.BackgroundStyle,m.ColorStyle,g.DirectionStyle,v.FontStyle,b.SizeStyle].reduce((function(e,t){return e[t.keyName]=t,e}),{}),S=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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,n));return r.quill.root.addEventListener("paste",r.onPaste.bind(r)),r.container=r.quill.addContainer("ql-clipboard"),r.container.setAttribute("contenteditable",!0),r.container.setAttribute("tabindex",-1),r.matchers=[],_.concat(r.options.matchers).forEach((function(e){var t=o(e,2),i=t[0],a=t[1];(n.matchVisual||a!==L)&&r.addMatcher(i,a)})),r}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),i(t,[{key:"addMatcher",value:function(e,t){this.matchers.push([e,t])}},{key:"convert",value:function(e){if("string"==typeof e)return this.container.innerHTML=e.replace(/\>\r?\n +\</g,"><"),this.convert();var t=this.quill.getFormat(this.quill.selection.savedRange.index);if(t[h.default.blotName]){var n=this.container.innerText;return this.container.innerHTML="",(new s.default).insert(n,A({},h.default.blotName,t[h.default.blotName]))}var r=this.prepareMatching(),i=o(r,2),a=i[0],l=i[1],c=T(this.container,a,l);return O(c,"\n")&&null==c.ops[c.ops.length-1].attributes&&(c=c.compose((new s.default).retain(c.length()-1).delete(1))),x.log("convert",this.container.innerHTML,c),this.container.innerHTML="",c}},{key:"dangerouslyPasteHTML",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c.default.sources.API;if("string"==typeof e)this.quill.setContents(this.convert(e),t),this.quill.setSelection(0,c.default.sources.SILENT);else{var r=this.convert(t);this.quill.updateContents((new s.default).retain(e).concat(r),n),this.quill.setSelection(e+r.length(),c.default.sources.SILENT)}}},{key:"onPaste",value:function(e){var t=this;if(!e.defaultPrevented&&this.quill.isEnabled()){var n=this.quill.getSelection(),r=(new s.default).retain(n.index),o=this.quill.scrollingContainer.scrollTop;this.container.focus(),this.quill.selection.update(c.default.sources.SILENT),setTimeout((function(){r=r.concat(t.convert()).delete(n.length),t.quill.updateContents(r,c.default.sources.USER),t.quill.setSelection(r.length()-n.length,c.default.sources.SILENT),t.quill.scrollingContainer.scrollTop=o,t.quill.focus()}),1)}}},{key:"prepareMatching",value:function(){var e=this,t=[],n=[];return this.matchers.forEach((function(r){var i=o(r,2),a=i[0],s=i[1];switch(a){case Node.TEXT_NODE:n.push(s);break;case Node.ELEMENT_NODE:t.push(s);break;default:[].forEach.call(e.container.querySelectorAll(a),(function(e){e[C]=e[C]||[],e[C].push(s)}))}})),[t,n]}}]),t}(d.default);function E(e,t,n){return"object"===(void 0===t?"undefined":r(t))?Object.keys(t).reduce((function(e,n){return E(e,n,t[n])}),e):e.reduce((function(e,r){return r.attributes&&r.attributes[t]?e.push(r):e.insert(r.insert,(0,a.default)({},A({},t,n),r.attributes))}),new s.default)}function B(e){if(e.nodeType!==Node.ELEMENT_NODE)return{};var t="__ql-computed-style";return e[t]||(e[t]=window.getComputedStyle(e))}function O(e,t){for(var n="",r=e.ops.length-1;r>=0&&n.length<t.length;--r){var o=e.ops[r];if("string"!=typeof o.insert)break;n=o.insert+n}return n.slice(-1*t.length)===t}function j(e){if(0===e.childNodes.length)return!1;var t=B(e);return["block","list-item"].indexOf(t.display)>-1}function T(e,t,n){return e.nodeType===e.TEXT_NODE?n.reduce((function(t,n){return n(e,t)}),new s.default):e.nodeType===e.ELEMENT_NODE?[].reduce.call(e.childNodes||[],(function(r,o){var i=T(o,t,n);return o.nodeType===e.ELEMENT_NODE&&(i=t.reduce((function(e,t){return t(o,e)}),i),i=(o[C]||[]).reduce((function(e,t){return t(o,e)}),i)),r.concat(i)}),new s.default):new s.default}function P(e,t,n){return E(n,e,!0)}function M(e,t){var n=l.default.Attributor.Attribute.keys(e),r=l.default.Attributor.Class.keys(e),o=l.default.Attributor.Style.keys(e),i={};return n.concat(r).concat(o).forEach((function(t){var n=l.default.query(t,l.default.Scope.ATTRIBUTE);null!=n&&(i[n.attrName]=n.value(e),i[n.attrName])||(null==(n=w[t])||n.attrName!==t&&n.keyName!==t||(i[n.attrName]=n.value(e)||void 0),null==(n=k[t])||n.attrName!==t&&n.keyName!==t||(n=k[t],i[n.attrName]=n.value(e)||void 0))})),Object.keys(i).length>0&&(t=E(t,i)),t}function D(e,t){var n=l.default.query(e);if(null==n)return t;if(n.prototype instanceof l.default.Embed){var r={},o=n.value(e);null!=o&&(r[n.blotName]=o,t=(new s.default).insert(r,n.formats(e)))}else"function"==typeof n.formats&&(t=E(t,n.blotName,n.formats(e)));return t}function R(e,t){return O(t,"\n")||(j(e)||t.length()>0&&e.nextSibling&&j(e.nextSibling))&&t.insert("\n"),t}function L(e,t){if(j(e)&&null!=e.nextElementSibling&&!O(t,"\n\n")){var n=e.offsetHeight+parseFloat(B(e).marginTop)+parseFloat(B(e).marginBottom);e.nextElementSibling.offsetTop>e.offsetTop+1.5*n&&t.insert("\n")}return t}function I(e,t){var n=e.data;if("O:P"===e.parentNode.tagName)return t.insert(n.trim());if(0===n.trim().length&&e.parentNode.classList.contains("ql-clipboard"))return t;if(!B(e.parentNode).whiteSpace.startsWith("pre")){var r=function(e,t){return(t=t.replace(/[^\u00a0]/g,"")).length<1&&e?" ":t};n=(n=n.replace(/\r\n/g," ").replace(/\n/g," ")).replace(/\s\s+/g,r.bind(r,!0)),(null==e.previousSibling&&j(e.parentNode)||null!=e.previousSibling&&j(e.previousSibling))&&(n=n.replace(/^\s+/,r.bind(r,!1))),(null==e.nextSibling&&j(e.parentNode)||null!=e.nextSibling&&j(e.nextSibling))&&(n=n.replace(/\s+$/,r.bind(r,!1)))}return t.insert(n)}S.DEFAULTS={matchers:[],matchVisual:!0},t.default=S,t.matchAttributor=M,t.matchBlot=D,t.matchNewline=R,t.matchSpacing=L,t.matchText=I},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"optimize",value:function(e){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e),this.domNode.tagName!==this.statics.tagName[0]&&this.replaceWith(this.statics.blotName)}}],[{key:"create",value:function(){return i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this)}},{key:"formats",value:function(){return!0}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);c.blotName="bold",c.tagName=["STRONG","B"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addControls=t.default=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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=u(n(2)),a=u(n(0)),s=u(n(5)),l=u(n(10)),c=u(n(9));function u(e){return e&&e.__esModule?e:{default:e}}function d(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 f=(0,l.default)("quill:toolbar"),p=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o,i=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if(Array.isArray(i.options.container)){var a=document.createElement("div");m(a,i.options.container),e.container.parentNode.insertBefore(a,e.container),i.container=a}else"string"==typeof i.options.container?i.container=document.querySelector(i.options.container):i.container=i.options.container;return i.container instanceof HTMLElement?(i.container.classList.add("ql-toolbar"),i.controls=[],i.handlers={},Object.keys(i.options.handlers).forEach((function(e){i.addHandler(e,i.options.handlers[e])})),[].forEach.call(i.container.querySelectorAll("button, select"),(function(e){i.attach(e)})),i.quill.on(s.default.events.EDITOR_CHANGE,(function(e,t){e===s.default.events.SELECTION_CHANGE&&i.update(t)})),i.quill.on(s.default.events.SCROLL_OPTIMIZE,(function(){var e=i.quill.selection.getRange(),t=r(e,1)[0];i.update(t)})),i):(o=f.error("Container required for toolbar",i.options),d(i,o))}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),o(t,[{key:"addHandler",value:function(e,t){this.handlers[e]=t}},{key:"attach",value:function(e){var t=this,n=[].find.call(e.classList,(function(e){return 0===e.indexOf("ql-")}));if(n){if(n=n.slice("ql-".length),"BUTTON"===e.tagName&&e.setAttribute("type","button"),null==this.handlers[n]){if(null!=this.quill.scroll.whitelist&&null==this.quill.scroll.whitelist[n])return void f.warn("ignoring attaching to disabled format",n,e);if(null==a.default.query(n))return void f.warn("ignoring attaching to nonexistent format",n,e)}var o="SELECT"===e.tagName?"change":"click";e.addEventListener(o,(function(o){var l=void 0;if("SELECT"===e.tagName){if(e.selectedIndex<0)return;var c=e.options[e.selectedIndex];l=!c.hasAttribute("selected")&&(c.value||!1)}else l=!e.classList.contains("ql-active")&&(e.value||!e.hasAttribute("value")),o.preventDefault();t.quill.focus();var u=t.quill.selection.getRange(),d=r(u,1)[0];if(null!=t.handlers[n])t.handlers[n].call(t,l);else if(a.default.query(n).prototype instanceof a.default.Embed){if(!(l=prompt("Enter "+n)))return;t.quill.updateContents((new i.default).retain(d.index).delete(d.length).insert(function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,l)),s.default.sources.USER)}else t.quill.format(n,l,s.default.sources.USER);t.update(d)})),this.controls.push([n,e])}}},{key:"update",value:function(e){var t=null==e?{}:this.quill.getFormat(e);this.controls.forEach((function(n){var o=r(n,2),i=o[0],a=o[1];if("SELECT"===a.tagName){var s=void 0;if(null==e)s=null;else if(null==t[i])s=a.querySelector("option[selected]");else if(!Array.isArray(t[i])){var l=t[i];"string"==typeof l&&(l=l.replace(/\"/g,'\\"')),s=a.querySelector('option[value="'+l+'"]')}null==s?(a.value="",a.selectedIndex=-1):s.selected=!0}else if(null==e)a.classList.remove("ql-active");else if(a.hasAttribute("value")){var c=t[i]===a.getAttribute("value")||null!=t[i]&&t[i].toString()===a.getAttribute("value")||null==t[i]&&!a.getAttribute("value");a.classList.toggle("ql-active",c)}else a.classList.toggle("ql-active",null!=t[i])}))}}]),t}(c.default);function h(e,t,n){var r=document.createElement("button");r.setAttribute("type","button"),r.classList.add("ql-"+t),null!=n&&(r.value=n),e.appendChild(r)}function m(e,t){Array.isArray(t[0])||(t=[t]),t.forEach((function(t){var n=document.createElement("span");n.classList.add("ql-formats"),t.forEach((function(e){if("string"==typeof e)h(n,e);else{var t=Object.keys(e)[0],r=e[t];Array.isArray(r)?function(e,t,n){var r=document.createElement("select");r.classList.add("ql-"+t),n.forEach((function(e){var t=document.createElement("option");!1!==e?t.setAttribute("value",e):t.setAttribute("selected","selected"),r.appendChild(t)})),e.appendChild(r)}(n,t,r):h(n,t,r)}})),e.appendChild(n)}))}p.DEFAULTS={},p.DEFAULTS={container:null,handlers:{clean:function(){var e=this,t=this.quill.getSelection();if(null!=t)if(0==t.length){var n=this.quill.getFormat();Object.keys(n).forEach((function(t){null!=a.default.query(t,a.default.Scope.INLINE)&&e.quill.format(t,!1)}))}else this.quill.removeFormat(t,s.default.sources.USER)},direction:function(e){var t=this.quill.getFormat().align;"rtl"===e&&null==t?this.quill.format("align","right",s.default.sources.USER):e||"right"!==t||this.quill.format("align",!1,s.default.sources.USER),this.quill.format("direction",e,s.default.sources.USER)},indent:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t),r=parseInt(n.indent||0);if("+1"===e||"-1"===e){var o="+1"===e?1:-1;"rtl"===n.direction&&(o*=-1),this.quill.format("indent",r+o,s.default.sources.USER)}},link:function(e){!0===e&&(e=prompt("Enter link URL:")),this.quill.format("link",e,s.default.sources.USER)},list:function(e){var t=this.quill.getSelection(),n=this.quill.getFormat(t);"check"===e?"checked"===n.list||"unchecked"===n.list?this.quill.format("list",!1,s.default.sources.USER):this.quill.format("list","unchecked",s.default.sources.USER):this.quill.format("list",e,s.default.sources.USER)}}},t.default=p,t.addControls=m},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polyline class="ql-even ql-stroke" points="5 7 3 9 5 11"></polyline> <polyline class="ql-even ql-stroke" points="13 7 15 9 13 11"></polyline> <line class=ql-stroke x1=10 x2=8 y1=5 y2=13></line> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.label.innerHTML=n,r.container.classList.add("ql-color-picker"),[].slice.call(r.container.querySelectorAll(".ql-picker-item"),0,7).forEach((function(e){e.classList.add("ql-primary")})),r}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),o(t,[{key:"buildItem",value:function(e){var n=i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"buildItem",this).call(this,e);return n.style.backgroundColor=e.getAttribute("value")||"",n}},{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n);var r=this.label.querySelector(".ql-color-label"),o=e&&e.getAttribute("data-value")||"";r&&("line"===r.tagName?r.style.stroke=o:r.style.fill=o)}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(28),s=function(e){function t(e,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=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 r.container.classList.add("ql-icon-picker"),[].forEach.call(r.container.querySelectorAll(".ql-picker-item"),(function(e){e.innerHTML=n[e.getAttribute("data-value")||""]})),r.defaultItem=r.container.querySelector(".ql-selected"),r.selectItem(r.defaultItem),r}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),o(t,[{key:"selectItem",value:function(e,n){i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"selectItem",this).call(this,e,n),e=e||this.defaultItem,this.label.innerHTML=e.innerHTML}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=function(){function e(t,n){var r=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.quill=t,this.boundsContainer=n||document.body,this.root=t.addContainer("ql-tooltip"),this.root.innerHTML=this.constructor.TEMPLATE,this.quill.root===this.quill.scrollingContainer&&this.quill.root.addEventListener("scroll",(function(){r.root.style.marginTop=-1*r.quill.root.scrollTop+"px"})),this.hide()}return r(e,[{key:"hide",value:function(){this.root.classList.add("ql-hidden")}},{key:"position",value:function(e){var t=e.left+e.width/2-this.root.offsetWidth/2,n=e.bottom+this.quill.root.scrollTop;this.root.style.left=t+"px",this.root.style.top=n+"px",this.root.classList.remove("ql-flip");var r=this.boundsContainer.getBoundingClientRect(),o=this.root.getBoundingClientRect(),i=0;if(o.right>r.right&&(i=r.right-o.right,this.root.style.left=t+i+"px"),o.left<r.left&&(i=r.left-o.left,this.root.style.left=t+i+"px"),o.bottom>r.bottom){var a=o.bottom-o.top,s=e.bottom-e.top+a;this.root.style.top=n-s+"px",this.root.classList.add("ql-flip")}return i}},{key:"show",value:function(){this.root.classList.remove("ql-editing"),this.root.classList.remove("ql-hidden")}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return 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(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},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=p(n(3)),s=p(n(8)),l=n(43),c=p(l),u=p(n(27)),d=n(15),f=p(n(41));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(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 g(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 v=[[{header:["1","2","3",!1]}],["bold","italic","underline","link"],[{list:"ordered"},{list:"bullet"}],["clean"]],b=function(e){function t(e,n){h(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=v);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-snow"),r}return g(t,e),i(t,[{key:"extendToolbar",value:function(e){e.container.classList.add("ql-snow"),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),f.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),f.default),this.tooltip=new y(this.quill,this.options.bounds),e.container.querySelector(".ql-link")&&this.quill.keyboard.addBinding({key:"K",shortKey:!0},(function(t,n){e.handlers.link.call(e,!n.format.link)}))}}]),t}(c.default);b.DEFAULTS=(0,a.default)(!0,{},c.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){if(e){var t=this.quill.getSelection();if(null==t||0==t.length)return;var n=this.quill.getText(t);/^\S+@\S+\.\S+$/.test(n)&&0!==n.indexOf("mailto:")&&(n="mailto:"+n),this.quill.theme.tooltip.edit("link",n)}else this.quill.format("link",!1)}}}}});var y=function(e){function t(e,n){h(this,t);var r=m(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.preview=r.root.querySelector("a.ql-preview"),r}return g(t,e),i(t,[{key:"listen",value:function(){var e=this;o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector("a.ql-action").addEventListener("click",(function(t){e.root.classList.contains("ql-editing")?e.save():e.edit("link",e.preview.textContent),t.preventDefault()})),this.root.querySelector("a.ql-remove").addEventListener("click",(function(t){if(null!=e.linkRange){var n=e.linkRange;e.restoreFocus(),e.quill.formatText(n,"link",!1,s.default.sources.USER),delete e.linkRange}t.preventDefault(),e.hide()})),this.quill.on(s.default.events.SELECTION_CHANGE,(function(t,n,o){if(null!=t){if(0===t.length&&o===s.default.sources.USER){var i=e.quill.scroll.descendant(u.default,t.index),a=r(i,2),l=a[0],c=a[1];if(null!=l){e.linkRange=new d.Range(t.index-c,l.length());var f=u.default.formats(l.domNode);return e.preview.textContent=f,e.preview.setAttribute("href",f),e.show(),void e.position(e.quill.getBounds(e.linkRange))}}else delete e.linkRange;e.hide()}}))}},{key:"show",value:function(){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"show",this).call(this),this.root.removeAttribute("data-mode")}}]),t}(l.BaseTooltip);y.TEMPLATE=['<a class="ql-preview" rel="noopener noreferrer" target="_blank" href="about:blank"></a>','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-action"></a>','<a class="ql-remove"></a>'].join(""),t.default=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=R(n(29)),o=n(36),i=n(38),a=n(64),s=R(n(65)),l=R(n(66)),c=n(67),u=R(c),d=n(37),f=n(26),p=n(39),h=n(40),m=R(n(56)),g=R(n(68)),v=R(n(27)),b=R(n(69)),y=R(n(70)),A=R(n(71)),x=R(n(72)),C=R(n(73)),_=n(13),w=R(_),k=R(n(74)),S=R(n(75)),E=R(n(57)),B=R(n(41)),O=R(n(28)),j=R(n(59)),T=R(n(60)),P=R(n(61)),M=R(n(108)),D=R(n(62));function R(e){return e&&e.__esModule?e:{default:e}}r.default.register({"attributors/attribute/direction":i.DirectionAttribute,"attributors/class/align":o.AlignClass,"attributors/class/background":d.BackgroundClass,"attributors/class/color":f.ColorClass,"attributors/class/direction":i.DirectionClass,"attributors/class/font":p.FontClass,"attributors/class/size":h.SizeClass,"attributors/style/align":o.AlignStyle,"attributors/style/background":d.BackgroundStyle,"attributors/style/color":f.ColorStyle,"attributors/style/direction":i.DirectionStyle,"attributors/style/font":p.FontStyle,"attributors/style/size":h.SizeStyle},!0),r.default.register({"formats/align":o.AlignClass,"formats/direction":i.DirectionClass,"formats/indent":a.IndentClass,"formats/background":d.BackgroundStyle,"formats/color":f.ColorStyle,"formats/font":p.FontClass,"formats/size":h.SizeClass,"formats/blockquote":s.default,"formats/code-block":w.default,"formats/header":l.default,"formats/list":u.default,"formats/bold":m.default,"formats/code":_.Code,"formats/italic":g.default,"formats/link":v.default,"formats/script":b.default,"formats/strike":y.default,"formats/underline":A.default,"formats/image":x.default,"formats/video":C.default,"formats/list/item":c.ListItem,"modules/formula":k.default,"modules/syntax":S.default,"modules/toolbar":E.default,"themes/bubble":M.default,"themes/snow":D.default,"ui/icons":B.default,"ui/picker":O.default,"ui/icon-picker":T.default,"ui/color-picker":j.default,"ui/tooltip":P.default},!0),t.default=r.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.IndentClass=void 0;var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r};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 u=function(e){function t(){return l(this,t),c(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"add",value:function(e,n){if("+1"===n||"-1"===n){var r=this.value(e)||0;n="+1"===n?r+1:r-1}return 0===n?(this.remove(e),!0):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"add",this).call(this,e,n)}},{key:"canAdd",value:function(e,n){return i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,n)||i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"canAdd",this).call(this,e,parseInt(n))}},{key:"value",value:function(e){return parseInt(i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"value",this).call(this,e))||void 0}}]),t}(s.default.Attributor.Class),d=new u("indent","ql-indent",{scope:s.default.Scope.BLOCK,whitelist:[1,2,3,4,5,6,7,8]});t.IndentClass=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(4);function i(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 s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="blockquote",s.tagName="blockquote",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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(4);function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 l=function(e){function t(){return a(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,null,[{key:"formats",value:function(e){return this.tagName.indexOf(e.tagName)+1}}]),t}(((r=i)&&r.__esModule?r:{default:r}).default);l.blotName="header",l.tagName=["H1","H2","H3","H4","H5","H6"],t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ListItem=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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(4)),s=l(n(25));function l(e){return e&&e.__esModule?e:{default:e}}function c(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 d(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 f=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"format",value:function(e,n){e!==p.blotName||n?o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n):this.replaceWith(i.default.create(this.statics.scope))}},{key:"remove",value:function(){null==this.prev&&null==this.next?this.parent.remove():o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"remove",this).call(this)}},{key:"replaceWith",value:function(e,n){return this.parent.isolate(this.offset(this.parent),this.length()),e===this.parent.statics.blotName?(this.parent.replaceWith(e,n),this):(this.parent.unwrap(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e,n))}}],[{key:"formats",value:function(e){return e.tagName===this.tagName?void 0:o(t.__proto__||Object.getPrototypeOf(t),"formats",this).call(this,e)}}]),t}(a.default);f.blotName="list-item",f.tagName="LI";var p=function(e){function t(e){c(this,t);var n=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),r=function(t){if(t.target.parentNode===e){var r=n.statics.formats(e),o=i.default.find(t.target);"checked"===r?o.format("list","unchecked"):"unchecked"===r&&o.format("list","checked")}};return e.addEventListener("touchstart",r),e.addEventListener("mousedown",r),n}return d(t,e),r(t,null,[{key:"create",value:function(e){var n="ordered"===e?"OL":"UL",r=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,n);return"checked"!==e&&"unchecked"!==e||r.setAttribute("data-checked","checked"===e),r}},{key:"formats",value:function(e){return"OL"===e.tagName?"ordered":"UL"===e.tagName?e.hasAttribute("data-checked")?"true"===e.getAttribute("data-checked")?"checked":"unchecked":"bullet":void 0}}]),r(t,[{key:"format",value:function(e,t){this.children.length>0&&this.children.tail.format(e,t)}},{key:"formats",value:function(){return e={},t=this.statics.blotName,n=this.statics.formats(this.domNode),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"insertBefore",value:function(e,n){if(e instanceof f)o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"insertBefore",this).call(this,e,n);else{var r=null==n?this.length():n.offset(this),i=this.split(r);i.parent.insertBefore(e,i)}}},{key:"optimize",value:function(e){o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"optimize",this).call(this,e);var n=this.next;null!=n&&n.prev===this&&n.statics.blotName===this.statics.blotName&&n.domNode.tagName===this.domNode.tagName&&n.domNode.getAttribute("data-checked")===this.domNode.getAttribute("data-checked")&&(n.moveChildren(this),n.remove())}},{key:"replace",value:function(e){if(e.statics.blotName!==this.statics.blotName){var n=i.default.create(this.statics.defaultChild);e.moveChildren(n),this.appendChild(n)}o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replace",this).call(this,e)}}]),t}(s.default);p.blotName="list",p.scope=i.default.Scope.BLOCK_BLOT,p.tagName=["OL","UL"],p.defaultChild="list-item",p.allowedChildren=[f],t.ListItem=f,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(56);function i(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 s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="italic",s.tagName=["EM","I"],t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(6);function s(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}var c=function(e){function t(){return s(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,null,[{key:"create",value:function(e){return"super"===e?document.createElement("sup"):"sub"===e?document.createElement("sub"):i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e)}},{key:"formats",value:function(e){return"SUB"===e.tagName?"sub":"SUP"===e.tagName?"super":void 0}}]),t}(((r=a)&&r.__esModule?r:{default:r}).default);c.blotName="script",c.tagName=["SUB","SUP"],t.default=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6);function i(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 s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="strike",s.tagName="S",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(6);function i(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 s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),t}(((r=o)&&r.__esModule?r:{default:r}).default);s.blotName="underline",s.tagName="U",t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(0),s=(r=a)&&r.__esModule?r:{default:r},l=n(27);function c(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}var d=["alt","height","width"],f=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"match",value:function(e){return/\.(jpe?g|gif|png)$/.test(e)||/^data:image\/.+;base64/.test(e)}},{key:"sanitize",value:function(e){return(0,l.sanitize)(e,["http","https","data"])?e:"//:0"}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(s.default.Embed);f.blotName="image",f.tagName="IMG",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},a=n(4),s=n(27),l=(r=s)&&r.__esModule?r:{default:r};function c(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}var d=["height","width"],f=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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),o(t,[{key:"format",value:function(e,n){d.indexOf(e)>-1?n?this.domNode.setAttribute(e,n):this.domNode.removeAttribute(e):i(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"format",this).call(this,e,n)}}],[{key:"create",value:function(e){var n=i(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return n.setAttribute("frameborder","0"),n.setAttribute("allowfullscreen",!0),n.setAttribute("src",this.sanitize(e)),n}},{key:"formats",value:function(e){return d.reduce((function(t,n){return e.hasAttribute(n)&&(t[n]=e.getAttribute(n)),t}),{})}},{key:"sanitize",value:function(e){return l.default.sanitize(e)}},{key:"value",value:function(e){return e.getAttribute("src")}}]),t}(a.BlockEmbed);f.blotName="video",f.className="ql-video",f.tagName="IFRAME",t.default=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.FormulaBlot=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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(35)),a=l(n(5)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(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 d(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 f=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,null,[{key:"create",value:function(e){var n=o(t.__proto__||Object.getPrototypeOf(t),"create",this).call(this,e);return"string"==typeof e&&(window.katex.render(e,n,{throwOnError:!1,errorColor:"#f00"}),n.setAttribute("data-value",e)),n}},{key:"value",value:function(e){return e.getAttribute("data-value")}}]),t}(i.default);f.blotName="formula",f.className="ql-formula",f.tagName="SPAN";var p=function(e){function t(){c(this,t);var e=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this));if(null==window.katex)throw new Error("Formula module requires KaTeX.");return e}return d(t,e),r(t,null,[{key:"register",value:function(){a.default.register(f,!0)}}]),t}(s.default);t.FormulaBlot=f,t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.CodeToken=t.CodeBlock=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=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},i=l(n(0)),a=l(n(5)),s=l(n(9));function l(e){return e&&e.__esModule?e:{default:e}}function c(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 d(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 f=function(e){function t(){return c(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return d(t,e),r(t,[{key:"replaceWith",value:function(e){this.domNode.textContent=this.domNode.textContent,this.attach(),o(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"replaceWith",this).call(this,e)}},{key:"highlight",value:function(e){var t=this.domNode.textContent;this.cachedText!==t&&((t.trim().length>0||null==this.cachedText)&&(this.domNode.innerHTML=e(t),this.domNode.normalize(),this.attach()),this.cachedText=t)}}]),t}(l(n(13)).default);f.className="ql-syntax";var p=new i.default.Attributor.Class("token","hljs",{scope:i.default.Scope.INLINE}),h=function(e){function t(e,n){c(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));if("function"!=typeof r.options.highlight)throw new Error("Syntax module requires highlight.js. Please include the library on the page before Quill.");var o=null;return r.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){clearTimeout(o),o=setTimeout((function(){r.highlight(),o=null}),r.options.interval)})),r.highlight(),r}return d(t,e),r(t,null,[{key:"register",value:function(){a.default.register(p,!0),a.default.register(f,!0)}}]),r(t,[{key:"highlight",value:function(){var e=this;if(!this.quill.selection.composing){this.quill.update(a.default.sources.USER);var t=this.quill.getSelection();this.quill.scroll.descendants(f).forEach((function(t){t.highlight(e.options.highlight)})),this.quill.update(a.default.sources.SILENT),null!=t&&this.quill.setSelection(t,a.default.sources.SILENT)}}}]),t}(s.default);h.DEFAULTS={highlight:null==window.hljs?null:function(e){return window.hljs.highlightAuto(e).value},interval:1e3},t.CodeBlock=f,t.CodeToken=p,t.default=h},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=13 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=14 x2=4 y1=14 y2=14></line> <line class=ql-stroke x1=12 x2=6 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=5 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=9 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=15 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=15 x2=3 y1=14 y2=14></line> <line class=ql-stroke x1=15 x2=3 y1=4 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <g class="ql-fill ql-color-label"> <polygon points="6 6.868 6 6 5 6 5 7 5.942 7 6 6.868"></polygon> <rect height=1 width=1 x=4 y=4></rect> <polygon points="6.817 5 6 5 6 6 6.38 6 6.817 5"></polygon> <rect height=1 width=1 x=2 y=6></rect> <rect height=1 width=1 x=3 y=5></rect> <rect height=1 width=1 x=4 y=7></rect> <polygon points="4 11.439 4 11 3 11 3 12 3.755 12 4 11.439"></polygon> <rect height=1 width=1 x=2 y=12></rect> <rect height=1 width=1 x=2 y=9></rect> <rect height=1 width=1 x=2 y=15></rect> <polygon points="4.63 10 4 10 4 11 4.192 11 4.63 10"></polygon> <rect height=1 width=1 x=3 y=8></rect> <path d=M10.832,4.2L11,4.582V4H10.708A1.948,1.948,0,0,1,10.832,4.2Z></path> <path d=M7,4.582L7.168,4.2A1.929,1.929,0,0,1,7.292,4H7V4.582Z></path> <path d=M8,13H7.683l-0.351.8a1.933,1.933,0,0,1-.124.2H8V13Z></path> <rect height=1 width=1 x=12 y=2></rect> <rect height=1 width=1 x=11 y=3></rect> <path d=M9,3H8V3.282A1.985,1.985,0,0,1,9,3Z></path> <rect height=1 width=1 x=2 y=3></rect> <rect height=1 width=1 x=6 y=2></rect> <rect height=1 width=1 x=3 y=2></rect> <rect height=1 width=1 x=5 y=3></rect> <rect height=1 width=1 x=9 y=2></rect> <rect height=1 width=1 x=15 y=14></rect> <polygon points="13.447 10.174 13.469 10.225 13.472 10.232 13.808 11 14 11 14 10 13.37 10 13.447 10.174"></polygon> <rect height=1 width=1 x=13 y=7></rect> <rect height=1 width=1 x=15 y=5></rect> <rect height=1 width=1 x=14 y=6></rect> <rect height=1 width=1 x=15 y=8></rect> <rect height=1 width=1 x=14 y=9></rect> <path d=M3.775,14H3v1H4V14.314A1.97,1.97,0,0,1,3.775,14Z></path> <rect height=1 width=1 x=14 y=3></rect> <polygon points="12 6.868 12 6 11.62 6 12 6.868"></polygon> <rect height=1 width=1 x=15 y=2></rect> <rect height=1 width=1 x=12 y=5></rect> <rect height=1 width=1 x=13 y=4></rect> <polygon points="12.933 9 13 9 13 8 12.495 8 12.933 9"></polygon> <rect height=1 width=1 x=9 y=14></rect> <rect height=1 width=1 x=8 y=15></rect> <path d=M6,14.926V15H7V14.316A1.993,1.993,0,0,1,6,14.926Z></path> <rect height=1 width=1 x=5 y=15></rect> <path d=M10.668,13.8L10.317,13H10v1h0.792A1.947,1.947,0,0,1,10.668,13.8Z></path> <rect height=1 width=1 x=11 y=15></rect> <path d=M14.332,12.2a1.99,1.99,0,0,1,.166.8H15V12H14.245Z></path> <rect height=1 width=1 x=14 y=15></rect> <rect height=1 width=1 x=15 y=11></rect> </g> <polyline class=ql-stroke points="5.5 13 9 5 12.5 13"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=11 y2=11></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class="ql-fill ql-stroke" height=3 width=3 x=4 y=5></rect> <rect class="ql-fill ql-stroke" height=3 width=3 x=11 y=5></rect> <path class="ql-even ql-fill ql-stroke" d=M7,8c0,4.031-3,5-3,5></path> <path class="ql-even ql-fill ql-stroke" d=M14,8c0,4.031-3,5-3,5></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,4H9.5A2.5,2.5,0,0,1,12,6.5v0A2.5,2.5,0,0,1,9.5,9H5A0,0,0,0,1,5,9V4A0,0,0,0,1,5,4Z></path> <path class=ql-stroke d=M5,9h5.5A2.5,2.5,0,0,1,13,11.5v0A2.5,2.5,0,0,1,10.5,14H5a0,0,0,0,1,0,0V9A0,0,0,0,1,5,9Z></path> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=5 x2=13 y1=3 y2=3></line> <line class=ql-stroke x1=6 x2=9.35 y1=12 y2=3></line> <line class=ql-stroke x1=11 x2=15 y1=11 y2=15></line> <line class=ql-stroke x1=15 x2=11 y1=11 y2=15></line> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=7 x=2 y=14></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-color-label ql-stroke ql-transparent" x1=3 x2=15 y1=15 y2=15></line> <polyline class=ql-stroke points="5.5 11 9 3 12.5 11"></polyline> <line class=ql-stroke x1=11.63 x2=6.38 y1=9 y2=9></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="3 11 5 9 3 7 3 11"></polygon> <line class="ql-stroke ql-fill" x1=15 x2=11 y1=4 y2=4></line> <path class=ql-fill d=M11,3a3,3,0,0,0,0,6h1V3H11Z></path> <rect class=ql-fill height=11 width=1 x=11 y=4></rect> <rect class=ql-fill height=11 width=1 x=13 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class="ql-stroke ql-fill" points="15 12 13 10 15 8 15 12"></polygon> <line class="ql-stroke ql-fill" x1=9 x2=5 y1=4 y2=4></line> <path class=ql-fill d=M5,3A3,3,0,0,0,5,9H6V3H5Z></path> <rect class=ql-fill height=11 width=1 x=5 y=4></rect> <rect class=ql-fill height=11 width=1 x=7 y=4></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M14,16H4a1,1,0,0,1,0-2H14A1,1,0,0,1,14,16Z /> <path class=ql-fill d=M14,4H4A1,1,0,0,1,4,2H14A1,1,0,0,1,14,4Z /> <rect class=ql-fill x=3 y=6 width=12 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M13,16H5a1,1,0,0,1,0-2h8A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H5A1,1,0,0,1,5,2h8A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=2 y=6 width=14 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15,8H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,8Z /> <path class=ql-fill d=M15,12H13a1,1,0,0,1,0-2h2A1,1,0,0,1,15,12Z /> <path class=ql-fill d=M15,16H5a1,1,0,0,1,0-2H15A1,1,0,0,1,15,16Z /> <path class=ql-fill d=M15,4H5A1,1,0,0,1,5,2H15A1,1,0,0,1,15,4Z /> <rect class=ql-fill x=2 y=6 width=8 height=6 rx=1 ry=1 /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M5,8H3A1,1,0,0,1,3,6H5A1,1,0,0,1,5,8Z /> <path class=ql-fill d=M5,12H3a1,1,0,0,1,0-2H5A1,1,0,0,1,5,12Z /> <path class=ql-fill d=M13,16H3a1,1,0,0,1,0-2H13A1,1,0,0,1,13,16Z /> <path class=ql-fill d=M13,4H3A1,1,0,0,1,3,2H13A1,1,0,0,1,13,4Z /> <rect class=ql-fill x=8 y=6 width=8 height=6 rx=1 ry=1 transform="translate(24 18) rotate(-180)"/> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M11.759,2.482a2.561,2.561,0,0,0-3.53.607A7.656,7.656,0,0,0,6.8,6.2C6.109,9.188,5.275,14.677,4.15,14.927a1.545,1.545,0,0,0-1.3-.933A0.922,0.922,0,0,0,2,15.036S1.954,16,4.119,16s3.091-2.691,3.7-5.553c0.177-.826.36-1.726,0.554-2.6L8.775,6.2c0.381-1.421.807-2.521,1.306-2.676a1.014,1.014,0,0,0,1.02.56A0.966,0.966,0,0,0,11.759,2.482Z></path> <rect class=ql-fill height=1.6 rx=0.8 ry=0.8 width=5 x=5.15 y=6.2></rect> <path class=ql-fill d=M13.663,12.027a1.662,1.662,0,0,1,.266-0.276q0.193,0.069.456,0.138a2.1,2.1,0,0,0,.535.069,1.075,1.075,0,0,0,.767-0.3,1.044,1.044,0,0,0,.314-0.8,0.84,0.84,0,0,0-.238-0.619,0.8,0.8,0,0,0-.594-0.239,1.154,1.154,0,0,0-.781.3,4.607,4.607,0,0,0-.781,1q-0.091.15-.218,0.346l-0.246.38c-0.068-.288-0.137-0.582-0.212-0.885-0.459-1.847-2.494-.984-2.941-0.8-0.482.2-.353,0.647-0.094,0.529a0.869,0.869,0,0,1,1.281.585c0.217,0.751.377,1.436,0.527,2.038a5.688,5.688,0,0,1-.362.467,2.69,2.69,0,0,1-.264.271q-0.221-.08-0.471-0.147a2.029,2.029,0,0,0-.522-0.066,1.079,1.079,0,0,0-.768.3A1.058,1.058,0,0,0,9,15.131a0.82,0.82,0,0,0,.832.852,1.134,1.134,0,0,0,.787-0.3,5.11,5.11,0,0,0,.776-0.993q0.141-.219.215-0.34c0.046-.076.122-0.194,0.223-0.346a2.786,2.786,0,0,0,.918,1.726,2.582,2.582,0,0,0,2.376-.185c0.317-.181.212-0.565,0-0.494A0.807,0.807,0,0,1,14.176,15a5.159,5.159,0,0,1-.913-2.446l0,0Q13.487,12.24,13.663,12.027Z></path> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M10,4V14a1,1,0,0,1-2,0V10H3v4a1,1,0,0,1-2,0V4A1,1,0,0,1,3,4V8H8V4a1,1,0,0,1,2,0Zm6.06787,9.209H14.98975V7.59863a.54085.54085,0,0,0-.605-.60547h-.62744a1.01119,1.01119,0,0,0-.748.29688L11.645,8.56641a.5435.5435,0,0,0-.022.8584l.28613.30762a.53861.53861,0,0,0,.84717.0332l.09912-.08789a1.2137,1.2137,0,0,0,.2417-.35254h.02246s-.01123.30859-.01123.60547V13.209H12.041a.54085.54085,0,0,0-.605.60547v.43945a.54085.54085,0,0,0,.605.60547h4.02686a.54085.54085,0,0,0,.605-.60547v-.43945A.54085.54085,0,0,0,16.06787,13.209Z /> </svg>'},function(e,t){e.exports='<svg viewBox="0 0 18 18"> <path class=ql-fill d=M16.73975,13.81445v.43945a.54085.54085,0,0,1-.605.60547H11.855a.58392.58392,0,0,1-.64893-.60547V14.0127c0-2.90527,3.39941-3.42187,3.39941-4.55469a.77675.77675,0,0,0-.84717-.78125,1.17684,1.17684,0,0,0-.83594.38477c-.2749.26367-.561.374-.85791.13184l-.4292-.34082c-.30811-.24219-.38525-.51758-.1543-.81445a2.97155,2.97155,0,0,1,2.45361-1.17676,2.45393,2.45393,0,0,1,2.68408,2.40918c0,2.45312-3.1792,2.92676-3.27832,3.93848h2.79443A.54085.54085,0,0,1,16.73975,13.81445ZM9,3A.99974.99974,0,0,0,8,4V8H3V4A1,1,0,0,0,1,4V14a1,1,0,0,0,2,0V10H8v4a1,1,0,0,0,2,0V4A.99974.99974,0,0,0,9,3Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=13 y1=4 y2=4></line> <line class=ql-stroke x1=5 x2=11 y1=14 y2=14></line> <line class=ql-stroke x1=8 x2=10 y1=14 y2=4></line> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=10 width=12 x=3 y=4></rect> <circle class=ql-fill cx=6 cy=7 r=1></circle> <polyline class="ql-even ql-fill" points="5 12 5 11 7 9 8 10 11 7 13 9 13 12 5 12"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class="ql-fill ql-stroke" points="3 7 3 11 5 9 3 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=3 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="5 7 5 11 3 9 5 7"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=11 y1=7 y2=11></line> <path class="ql-even ql-stroke" d=M8.9,4.577a3.476,3.476,0,0,1,.36,4.679A3.476,3.476,0,0,1,4.577,8.9C3.185,7.5,2.035,6.4,4.217,4.217S7.5,3.185,8.9,4.577Z></path> <path class="ql-even ql-stroke" d=M13.423,9.1a3.476,3.476,0,0,0-4.679-.36,3.476,3.476,0,0,0,.36,4.679c1.392,1.392,2.5,2.542,4.679.36S14.815,10.5,13.423,9.1Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=7 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=7 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=7 x2=15 y1=14 y2=14></line> <line class="ql-stroke ql-thin" x1=2.5 x2=4.5 y1=5.5 y2=5.5></line> <path class=ql-fill d=M3.5,6A0.5,0.5,0,0,1,3,5.5V3.085l-0.276.138A0.5,0.5,0,0,1,2.053,3c-0.124-.247-0.023-0.324.224-0.447l1-.5A0.5,0.5,0,0,1,4,2.5v3A0.5,0.5,0,0,1,3.5,6Z></path> <path class="ql-stroke ql-thin" d=M4.5,10.5h-2c0-.234,1.85-1.076,1.85-2.234A0.959,0.959,0,0,0,2.5,8.156></path> <path class="ql-stroke ql-thin" d=M2.5,14.846a0.959,0.959,0,0,0,1.85-.109A0.7,0.7,0,0,0,3.75,14a0.688,0.688,0,0,0,.6-0.736,0.959,0.959,0,0,0-1.85-.109></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class=ql-stroke x1=6 x2=15 y1=4 y2=4></line> <line class=ql-stroke x1=6 x2=15 y1=9 y2=9></line> <line class=ql-stroke x1=6 x2=15 y1=14 y2=14></line> <line class=ql-stroke x1=3 x2=3 y1=4 y2=4></line> <line class=ql-stroke x1=3 x2=3 y1=9 y2=9></line> <line class=ql-stroke x1=3 x2=3 y1=14 y2=14></line> </svg>'},function(e,t){e.exports='<svg class="" viewbox="0 0 18 18"> <line class=ql-stroke x1=9 x2=15 y1=4 y2=4></line> <polyline class=ql-stroke points="3 4 4 5 6 3"></polyline> <line class=ql-stroke x1=9 x2=15 y1=14 y2=14></line> <polyline class=ql-stroke points="3 14 4 15 6 13"></polyline> <line class=ql-stroke x1=9 x2=15 y1=9 y2=9></line> <polyline class=ql-stroke points="3 9 4 10 6 8"></polyline> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,15H13.861a3.858,3.858,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.921,1.921,0,0,0,12.021,11.7a0.50013,0.50013,0,1,0,.957.291h0a0.914,0.914,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.076-1.16971,1.86982-1.93971,2.43082A1.45639,1.45639,0,0,0,12,15.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,15Z /> <path class=ql-fill d=M9.65,5.241a1,1,0,0,0-1.409.108L6,7.964,3.759,5.349A1,1,0,0,0,2.192,6.59178Q2.21541,6.6213,2.241,6.649L4.684,9.5,2.241,12.35A1,1,0,0,0,3.71,13.70722q0.02557-.02768.049-0.05722L6,11.036,8.241,13.65a1,1,0,1,0,1.567-1.24277Q9.78459,12.3777,9.759,12.35L7.316,9.5,9.759,6.651A1,1,0,0,0,9.65,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-fill d=M15.5,7H13.861a4.015,4.015,0,0,0,1.914-2.975,1.8,1.8,0,0,0-1.6-1.751A1.922,1.922,0,0,0,12.021,3.7a0.5,0.5,0,1,0,.957.291,0.917,0.917,0,0,1,1.053-.725,0.81,0.81,0,0,1,.744.762c0,1.077-1.164,1.925-1.934,2.486A1.423,1.423,0,0,0,12,7.5a0.5,0.5,0,0,0,.5.5h3A0.5,0.5,0,0,0,15.5,7Z /> <path class=ql-fill d=M9.651,5.241a1,1,0,0,0-1.41.108L6,7.964,3.759,5.349a1,1,0,1,0-1.519,1.3L4.683,9.5,2.241,12.35a1,1,0,1,0,1.519,1.3L6,11.036,8.241,13.65a1,1,0,0,0,1.519-1.3L7.317,9.5,9.759,6.651A1,1,0,0,0,9.651,5.241Z /> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <line class="ql-stroke ql-thin" x1=15.5 x2=2.5 y1=8.5 y2=9.5></line> <path class=ql-fill d=M9.007,8C6.542,7.791,6,7.519,6,6.5,6,5.792,7.283,5,9,5c1.571,0,2.765.679,2.969,1.309a1,1,0,0,0,1.9-.617C13.356,4.106,11.354,3,9,3,6.2,3,4,4.538,4,6.5a3.2,3.2,0,0,0,.5,1.843Z></path> <path class=ql-fill d=M8.984,10C11.457,10.208,12,10.479,12,11.5c0,0.708-1.283,1.5-3,1.5-1.571,0-2.765-.679-2.969-1.309a1,1,0,1,0-1.9.617C4.644,13.894,6.646,15,9,15c2.8,0,5-1.538,5-3.5a3.2,3.2,0,0,0-.5-1.843Z></path> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <path class=ql-stroke d=M5,3V9a4.012,4.012,0,0,0,4,4H9a4.012,4.012,0,0,0,4-4V3></path> <rect class=ql-fill height=1 rx=0.5 ry=0.5 width=12 x=3 y=15></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <rect class=ql-stroke height=12 width=12 x=3 y=3></rect> <rect class=ql-fill height=12 width=1 x=5 y=3></rect> <rect class=ql-fill height=12 width=1 x=12 y=3></rect> <rect class=ql-fill height=2 width=8 x=5 y=8></rect> <rect class=ql-fill height=1 width=3 x=3 y=5></rect> <rect class=ql-fill height=1 width=3 x=3 y=7></rect> <rect class=ql-fill height=1 width=3 x=3 y=10></rect> <rect class=ql-fill height=1 width=3 x=3 y=12></rect> <rect class=ql-fill height=1 width=3 x=12 y=5></rect> <rect class=ql-fill height=1 width=3 x=12 y=7></rect> <rect class=ql-fill height=1 width=3 x=12 y=10></rect> <rect class=ql-fill height=1 width=3 x=12 y=12></rect> </svg>'},function(e,t){e.exports='<svg viewbox="0 0 18 18"> <polygon class=ql-stroke points="7 11 9 13 11 11 7 11"></polygon> <polygon class=ql-stroke points="7 7 9 5 11 7 7 7"></polygon> </svg>'},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.BubbleTooltip=void 0;var r=function e(t,n,r){null===t&&(t=Function.prototype);var o=Object.getOwnPropertyDescriptor(t,n);if(void 0===o){var i=Object.getPrototypeOf(t);return null===i?void 0:e(i,n,r)}if("value"in o)return o.value;var a=o.get;return void 0!==a?a.call(r):void 0},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=d(n(3)),a=d(n(8)),s=n(43),l=d(s),c=n(15),u=d(n(41));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 h(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 m=[["bold","italic","link"],[{header:1},{header:2},"blockquote"]],g=function(e){function t(e,n){f(this,t),null!=n.modules.toolbar&&null==n.modules.toolbar.container&&(n.modules.toolbar.container=m);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.container.classList.add("ql-bubble"),r}return h(t,e),o(t,[{key:"extendToolbar",value:function(e){this.tooltip=new v(this.quill,this.options.bounds),this.tooltip.root.appendChild(e.container),this.buildButtons([].slice.call(e.container.querySelectorAll("button")),u.default),this.buildPickers([].slice.call(e.container.querySelectorAll("select")),u.default)}}]),t}(l.default);g.DEFAULTS=(0,i.default)(!0,{},l.default.DEFAULTS,{modules:{toolbar:{handlers:{link:function(e){e?this.quill.theme.tooltip.edit():this.quill.format("link",!1)}}}}});var v=function(e){function t(e,n){f(this,t);var r=p(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.quill.on(a.default.events.EDITOR_CHANGE,(function(e,t,n,o){if(e===a.default.events.SELECTION_CHANGE)if(null!=t&&t.length>0&&o===a.default.sources.USER){r.show(),r.root.style.left="0px",r.root.style.width="",r.root.style.width=r.root.offsetWidth+"px";var i=r.quill.getLines(t.index,t.length);if(1===i.length)r.position(r.quill.getBounds(t));else{var s=i[i.length-1],l=r.quill.getIndex(s),u=Math.min(s.length()-1,t.index+t.length-l),d=r.quill.getBounds(new c.Range(l,u));r.position(d)}}else document.activeElement!==r.textbox&&r.quill.hasFocus()&&r.hide()})),r}return h(t,e),o(t,[{key:"listen",value:function(){var e=this;r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"listen",this).call(this),this.root.querySelector(".ql-close").addEventListener("click",(function(){e.root.classList.remove("ql-editing")})),this.quill.on(a.default.events.SCROLL_OPTIMIZE,(function(){setTimeout((function(){if(!e.root.classList.contains("ql-hidden")){var t=e.quill.getSelection();null!=t&&e.position(e.quill.getBounds(t))}}),1)}))}},{key:"cancel",value:function(){this.show()}},{key:"position",value:function(e){var n=r(t.prototype.__proto__||Object.getPrototypeOf(t.prototype),"position",this).call(this,e),o=this.root.querySelector(".ql-tooltip-arrow");if(o.style.marginLeft="",0===n)return n;o.style.marginLeft=-1*n-o.offsetWidth/2+"px"}}]),t}(s.BaseTooltip);v.TEMPLATE=['<span class="ql-tooltip-arrow"></span>','<div class="ql-tooltip-editor">','<input type="text" data-formula="e=mc^2" data-link="https://quilljs.com" data-video="Embed URL">','<a class="ql-close"></a>',"</div>"].join(""),t.BubbleTooltip=v,t.default=g},function(e,t,n){e.exports=n(63)}]).default},e.exports=r()},93946:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(53239),s=n(45697),l=n(67294),c=n(72307),u=n(1048),d=(0,u.getAceInstance)(),f=function(e){function t(t){var n=e.call(this,t)||this;return u.editorEvents.forEach((function(e){n[e]=n[e].bind(n)})),n.debounce=u.debounce,n}return o(t,e),t.prototype.isInShadow=function(e){for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1},t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.className,r=t.onBeforeLoad,o=t.onValidate,i=t.mode,a=t.focus,s=t.theme,l=t.fontSize,c=t.value,f=t.defaultValue,p=t.showGutter,h=t.wrapEnabled,m=t.showPrintMargin,g=t.scrollMargin,v=void 0===g?[0,0,0,0]:g,b=t.keyboardHandler,y=t.onLoad,A=t.commands,x=t.annotations,C=t.markers,_=t.placeholder;this.editor=d.edit(this.refEditor),r&&r(d);for(var w=Object.keys(this.props.editorProps),k=0;k<w.length;k++)this.editor[w[k]]=this.props.editorProps[w[k]];this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),this.editor.renderer.setScrollMargin(v[0],v[1],v[2],v[3]),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.getSession().setMode("string"==typeof i?"ace/mode/"+i:i),s&&""!==s&&this.editor.setTheme("ace/theme/"+s),this.editor.setFontSize("number"==typeof l?l+"px":l),this.editor.getSession().setValue(f||(c||"")),this.props.navigateToFileEnd&&this.editor.navigateFileEnd(),this.editor.renderer.setShowGutter(p),this.editor.getSession().setUseWrapMode(h),this.editor.setShowPrintMargin(m),this.editor.on("focus",this.onFocus),this.editor.on("blur",this.onBlur),this.editor.on("copy",this.onCopy),this.editor.on("paste",this.onPaste),this.editor.on("change",this.onChange),this.editor.on("input",this.onInput),_&&this.updatePlaceholder(),this.editor.getSession().selection.on("changeSelection",this.onSelectionChange),this.editor.getSession().selection.on("changeCursor",this.onCursorChange),o&&this.editor.getSession().on("changeAnnotation",(function(){var t=e.editor.getSession().getAnnotations();e.props.onValidate(t)})),this.editor.session.on("changeScrollTop",this.onScroll),this.editor.getSession().setAnnotations(x||[]),C&&C.length>0&&this.handleMarkers(C);var S=this.editor.$options;u.editorOptions.forEach((function(t){S.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option "+t+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")})),this.handleOptions(this.props),Array.isArray(A)&&A.forEach((function(t){"string"==typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)})),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),n&&(this.refEditor.className+=" "+n),y&&y(this.editor),this.editor.resize(),a&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,n=this.props,r=0;r<u.editorOptions.length;r++){var o=u.editorOptions[r];n[o]!==t[o]&&this.editor.setOption(o,n[o])}if(n.className!==t.className){var i=this.refEditor.className.trim().split(" ");t.className.trim().split(" ").forEach((function(e){var t=i.indexOf(e);i.splice(t,1)})),this.refEditor.className=" "+n.className+" "+i.join(" ")}if(this.editor&&null!=n.value&&this.editor.getValue()!==n.value){this.silent=!0;var a=this.editor.session.selection.toJSON();this.editor.setValue(n.value,n.cursorStart),this.editor.session.selection.fromJSON(a),this.silent=!1}n.placeholder!==t.placeholder&&this.updatePlaceholder(),n.mode!==t.mode&&this.editor.getSession().setMode("string"==typeof n.mode?"ace/mode/"+n.mode:n.mode),n.theme!==t.theme&&this.editor.setTheme("ace/theme/"+n.theme),n.keyboardHandler!==t.keyboardHandler&&(n.keyboardHandler?this.editor.setKeyboardHandler("ace/keyboard/"+n.keyboardHandler):this.editor.setKeyboardHandler(null)),n.fontSize!==t.fontSize&&this.editor.setFontSize("number"==typeof n.fontSize?n.fontSize+"px":n.fontSize),n.wrapEnabled!==t.wrapEnabled&&this.editor.getSession().setUseWrapMode(n.wrapEnabled),n.showPrintMargin!==t.showPrintMargin&&this.editor.setShowPrintMargin(n.showPrintMargin),n.showGutter!==t.showGutter&&this.editor.renderer.setShowGutter(n.showGutter),c(n.setOptions,t.setOptions)||this.handleOptions(n),c(n.annotations,t.annotations)||this.editor.getSession().setAnnotations(n.annotations||[]),!c(n.markers,t.markers)&&Array.isArray(n.markers)&&this.handleMarkers(n.markers),c(n.scrollMargin,t.scrollMargin)||this.handleScrollMargins(n.scrollMargin),e.height===this.props.height&&e.width===this.props.width||this.editor.resize(),this.props.focus&&!e.focus&&this.editor.focus()},t.prototype.handleScrollMargins=function(e){void 0===e&&(e=[0,0,0,0]),this.editor.renderer.setScrollMargin(e[0],e[1],e[2],e[3])},t.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},t.prototype.onChange=function(e){if(this.props.onChange&&!this.silent){var t=this.editor.getValue();this.props.onChange(t,e)}},t.prototype.onSelectionChange=function(e){if(this.props.onSelectionChange){var t=this.editor.getSelection();this.props.onSelectionChange(t,e)}},t.prototype.onCursorChange=function(e){if(this.props.onCursorChange){var t=this.editor.getSelection();this.props.onCursorChange(t,e)}},t.prototype.onInput=function(e){this.props.onInput&&this.props.onInput(e),this.props.placeholder&&this.updatePlaceholder()},t.prototype.onFocus=function(e){this.props.onFocus&&this.props.onFocus(e,this.editor)},t.prototype.onBlur=function(e){this.props.onBlur&&this.props.onBlur(e,this.editor)},t.prototype.onCopy=function(e){var t=e.text;this.props.onCopy&&this.props.onCopy(t)},t.prototype.onPaste=function(e){var t=e.text;this.props.onPaste&&this.props.onPaste(t)},t.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},t.prototype.handleOptions=function(e){for(var t=Object.keys(e.setOptions),n=0;n<t.length;n++)this.editor.setOption(t[n],e.setOptions[t[n]])},t.prototype.handleMarkers=function(e){var t=this,n=this.editor.getSession().getMarkers(!0);for(var r in n)n.hasOwnProperty(r)&&this.editor.getSession().removeMarker(n[r].id);for(var r in n=this.editor.getSession().getMarkers(!1))n.hasOwnProperty(r)&&"ace_active-line"!==n[r].clazz&&"ace_selected-word"!==n[r].clazz&&this.editor.getSession().removeMarker(n[r].id);e.forEach((function(e){var n=e.startRow,r=e.startCol,o=e.endRow,i=e.endCol,s=e.className,l=e.type,c=e.inFront,u=void 0!==c&&c,d=new a.Range(n,r,o,i);t.editor.getSession().addMarker(d,s,l,u)}))},t.prototype.updatePlaceholder=function(){var e=this.editor,t=this.props.placeholder,n=!e.session.getValue().length,r=e.renderer.placeholderNode;!n&&r?(e.renderer.scroller.removeChild(e.renderer.placeholderNode),e.renderer.placeholderNode=null):n&&!r?((r=e.renderer.placeholderNode=document.createElement("div")).textContent=t||"",r.className="ace_comment ace_placeholder",r.style.padding="0 9px",r.style.position="absolute",r.style.zIndex="3",e.renderer.scroller.appendChild(r)):n&&r&&(r.textContent=t)},t.prototype.updateRef=function(e){this.refEditor=e},t.prototype.render=function(){var e=this.props,t=e.name,n=e.width,r=e.height,o=e.style,a=i({width:n,height:r},o);return l.createElement("div",{ref:this.updateRef,id:t,style:a})},t.propTypes={mode:s.oneOfType([s.string,s.object]),focus:s.bool,theme:s.string,name:s.string,className:s.string,height:s.string,width:s.string,fontSize:s.oneOfType([s.number,s.string]),showGutter:s.bool,onChange:s.func,onCopy:s.func,onPaste:s.func,onFocus:s.func,onInput:s.func,onBlur:s.func,onScroll:s.func,value:s.string,defaultValue:s.string,onLoad:s.func,onSelectionChange:s.func,onCursorChange:s.func,onBeforeLoad:s.func,onValidate:s.func,minLines:s.number,maxLines:s.number,readOnly:s.bool,highlightActiveLine:s.bool,tabSize:s.number,showPrintMargin:s.bool,cursorStart:s.number,debounceChangePeriod:s.number,editorProps:s.object,setOptions:s.object,style:s.object,scrollMargin:s.array,annotations:s.array,markers:s.array,keyboardHandler:s.string,wrapEnabled:s.bool,enableSnippets:s.bool,enableBasicAutocompletion:s.oneOfType([s.bool,s.array]),enableLiveAutocompletion:s.oneOfType([s.bool,s.array]),navigateToFileEnd:s.bool,commands:s.array,placeholder:s.string},t.defaultProps={name:"ace-editor",focus:!1,mode:"",theme:"",height:"500px",width:"500px",fontSize:12,enableSnippets:!1,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,placeholder:null,navigateToFileEnd:!0},t}(l.Component);t.default=f},63532:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(45697),a=n(67294),s=n(88663),l=n(52027),c=function(e){function t(t){var n=e.call(this,t)||this;return n.state={value:n.props.value},n.onChange=n.onChange.bind(n),n.diff=n.diff.bind(n),n}return o(t,e),t.prototype.componentDidUpdate=function(){var e=this.props.value;e!==this.state.value&&this.setState({value:e})},t.prototype.onChange=function(e){this.setState({value:e}),this.props.onChange&&this.props.onChange(e)},t.prototype.diff=function(){var e=new l,t=this.state.value[0],n=this.state.value[1];if(0===t.length&&0===n.length)return[];var r=e.diff_main(t,n);e.diff_cleanupSemantic(r);var o=this.generateDiffedLines(r);return this.setCodeMarkers(o)},t.prototype.generateDiffedLines=function(e){var t=0,n=-1,r=1,o={left:[],right:[]},i={left:1,right:1};return e.forEach((function(e){var a=e[0],s=e[1],l=s.split("\n").length-1;if(0!==s.length){var c=s[0],u=s[s.length-1],d=0;switch(a){case t:i.left+=l,i.right+=l;break;case n:"\n"===c&&(i.left++,l--),0===(d=l)&&o.right.push({startLine:i.right,endLine:i.right}),"\n"===u&&(d-=1),o.left.push({startLine:i.left,endLine:i.left+d}),i.left+=l;break;case r:"\n"===c&&(i.right++,l--),0===(d=l)&&o.left.push({startLine:i.left,endLine:i.left}),"\n"===u&&(d-=1),o.right.push({startLine:i.right,endLine:i.right+d}),i.right+=l;break;default:throw new Error("Diff type was not defined.")}}})),o},t.prototype.setCodeMarkers=function(e){void 0===e&&(e={left:[],right:[]});for(var t=[],n={left:[],right:[]},r=0;r<e.left.length;r++){var o={startRow:e.left[r].startLine-1,endRow:e.left[r].endLine,type:"text",className:"codeMarker"};n.left.push(o)}for(r=0;r<e.right.length;r++){o={startRow:e.right[r].startLine-1,endRow:e.right[r].endLine,type:"text",className:"codeMarker"};n.right.push(o)}return t[0]=n.left,t[1]=n.right,t},t.prototype.render=function(){var e=this.diff();return a.createElement(s.default,{name:this.props.name,className:this.props.className,focus:this.props.focus,orientation:this.props.orientation,splits:this.props.splits,mode:this.props.mode,theme:this.props.theme,height:this.props.height,width:this.props.width,fontSize:this.props.fontSize,showGutter:this.props.showGutter,onChange:this.onChange,onPaste:this.props.onPaste,onLoad:this.props.onLoad,onScroll:this.props.onScroll,minLines:this.props.minLines,maxLines:this.props.maxLines,readOnly:this.props.readOnly,highlightActiveLine:this.props.highlightActiveLine,showPrintMargin:this.props.showPrintMargin,tabSize:this.props.tabSize,cursorStart:this.props.cursorStart,editorProps:this.props.editorProps,style:this.props.style,scrollMargin:this.props.scrollMargin,setOptions:this.props.setOptions,wrapEnabled:this.props.wrapEnabled,enableBasicAutocompletion:this.props.enableBasicAutocompletion,enableLiveAutocompletion:this.props.enableLiveAutocompletion,value:this.state.value,markers:e})},t.propTypes={cursorStart:i.number,editorProps:i.object,enableBasicAutocompletion:i.bool,enableLiveAutocompletion:i.bool,focus:i.bool,fontSize:i.number,height:i.string,highlightActiveLine:i.bool,maxLines:i.number,minLines:i.number,mode:i.string,name:i.string,className:i.string,onLoad:i.func,onPaste:i.func,onScroll:i.func,onChange:i.func,orientation:i.string,readOnly:i.bool,scrollMargin:i.array,setOptions:i.object,showGutter:i.bool,showPrintMargin:i.bool,splits:i.number,style:i.object,tabSize:i.number,theme:i.string,value:i.array,width:i.string,wrapEnabled:i.bool},t.defaultProps={cursorStart:1,editorProps:{},enableBasicAutocompletion:!1,enableLiveAutocompletion:!1,focus:!1,fontSize:12,height:"500px",highlightActiveLine:!0,maxLines:null,minLines:null,mode:"",name:"ace-editor",onLoad:null,onScroll:null,onPaste:null,onChange:null,orientation:"beside",readOnly:!1,scrollMargin:[0,0,0,0],setOptions:{},showGutter:!0,showPrintMargin:!0,splits:2,style:{},tabSize:4,theme:"github",value:["",""],width:"500px",wrapEnabled:!0},t}(a.Component);t.default=c},1048:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAceInstance=t.debounce=t.editorEvents=t.editorOptions=void 0;t.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];t.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];t.getAceInstance=function(){var e;return"undefined"==typeof window?(n.g.window={},e=n(53239),delete n.g.window):window.ace?(e=window.ace).acequire=window.ace.require||window.ace.acequire:e=n(53239),e};t.debounce=function(e,t){var n=null;return function(){var r=this,o=arguments;clearTimeout(n),n=setTimeout((function(){e.apply(r,o)}),t)}}},74981:function(e,t,n){"use strict";var r=n(93946);n(63532).default,n(88663).default,t.ZP=r.default},88663:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},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}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1048),s=(0,a.getAceInstance)(),l=n(53239),c=n(93083),u=n(45697),d=n(67294),f=n(72307),p=n(29208),h=function(e){function t(t){var n=e.call(this,t)||this;return a.editorEvents.forEach((function(e){n[e]=n[e].bind(n)})),n.debounce=a.debounce,n}return o(t,e),t.prototype.isInShadow=function(e){for(var t=e&&e.parentNode;t;){if("[object ShadowRoot]"===t.toString())return!0;t=t.parentNode}return!1},t.prototype.componentDidMount=function(){var e=this,t=this.props,n=t.className,r=t.onBeforeLoad,o=t.mode,i=t.focus,l=t.theme,u=t.fontSize,d=t.value,f=t.defaultValue,h=t.cursorStart,m=t.showGutter,g=t.wrapEnabled,v=t.showPrintMargin,b=t.scrollMargin,y=void 0===b?[0,0,0,0]:b,A=t.keyboardHandler,x=t.onLoad,C=t.commands,_=t.annotations,w=t.markers,k=t.splits;this.editor=s.edit(this.refEditor),this.isInShadow(this.refEditor)&&this.editor.renderer.attachToShadowRoot(),this.editor.setTheme("ace/theme/"+l),r&&r(s);var S=Object.keys(this.props.editorProps),E=new c.Split(this.editor.container,"ace/theme/"+l,k);this.editor.env.split=E,this.splitEditor=E.getEditor(0),this.split=E,this.editor.setShowPrintMargin(!1),this.editor.renderer.setShowGutter(!1);var B=this.splitEditor.$options;this.props.debounceChangePeriod&&(this.onChange=this.debounce(this.onChange,this.props.debounceChangePeriod)),E.forEach((function(t,n){for(var r=0;r<S.length;r++)t[S[r]]=e.props.editorProps[S[r]];var i=p(f,n),c=p(d,n,"");t.session.setUndoManager(new s.UndoManager),t.setTheme("ace/theme/"+l),t.renderer.setScrollMargin(y[0],y[1],y[2],y[3]),t.getSession().setMode("ace/mode/"+o),t.setFontSize(u),t.renderer.setShowGutter(m),t.getSession().setUseWrapMode(g),t.setShowPrintMargin(v),t.on("focus",e.onFocus),t.on("blur",e.onBlur),t.on("input",e.onInput),t.on("copy",e.onCopy),t.on("paste",e.onPaste),t.on("change",e.onChange),t.getSession().selection.on("changeSelection",e.onSelectionChange),t.getSession().selection.on("changeCursor",e.onCursorChange),t.session.on("changeScrollTop",e.onScroll),t.setValue(void 0===i?c:i,h);var b=p(_,n,[]),x=p(w,n,[]);t.getSession().setAnnotations(b),x&&x.length>0&&e.handleMarkers(x,t);for(r=0;r<a.editorOptions.length;r++){var k=a.editorOptions[r];B.hasOwnProperty(k)?t.setOption(k,e.props[k]):e.props[k]&&console.warn("ReaceAce: editor option "+k+" was activated but not found. Did you need to import a related tool or did you possibly mispell the option?")}e.handleOptions(e.props,t),Array.isArray(C)&&C.forEach((function(e){"string"==typeof e.exec?t.commands.bindKey(e.bindKey,e.exec):t.commands.addCommand(e)})),A&&t.setKeyboardHandler("ace/keyboard/"+A)})),n&&(this.refEditor.className+=" "+n),i&&this.splitEditor.focus();var O=this.editor.env.split;O.setOrientation("below"===this.props.orientation?O.BELOW:O.BESIDE),O.resize(!0),x&&x(O)},t.prototype.componentDidUpdate=function(e){var t=this,n=e,r=this.props,o=this.editor.env.split;if(r.splits!==n.splits&&o.setSplits(r.splits),r.orientation!==n.orientation&&o.setOrientation("below"===r.orientation?o.BELOW:o.BESIDE),o.forEach((function(e,o){r.mode!==n.mode&&e.getSession().setMode("ace/mode/"+r.mode),r.keyboardHandler!==n.keyboardHandler&&(r.keyboardHandler?e.setKeyboardHandler("ace/keyboard/"+r.keyboardHandler):e.setKeyboardHandler(null)),r.fontSize!==n.fontSize&&e.setFontSize(r.fontSize),r.wrapEnabled!==n.wrapEnabled&&e.getSession().setUseWrapMode(r.wrapEnabled),r.showPrintMargin!==n.showPrintMargin&&e.setShowPrintMargin(r.showPrintMargin),r.showGutter!==n.showGutter&&e.renderer.setShowGutter(r.showGutter);for(var i=0;i<a.editorOptions.length;i++){var s=a.editorOptions[i];r[s]!==n[s]&&e.setOption(s,r[s])}f(r.setOptions,n.setOptions)||t.handleOptions(r,e);var l=p(r.value,o,"");if(e.getValue()!==l){t.silent=!0;var c=e.session.selection.toJSON();e.setValue(l,r.cursorStart),e.session.selection.fromJSON(c),t.silent=!1}var u=p(r.annotations,o,[]),d=p(n.annotations,o,[]);f(u,d)||e.getSession().setAnnotations(u);var h=p(r.markers,o,[]),m=p(n.markers,o,[]);!f(h,m)&&Array.isArray(h)&&t.handleMarkers(h,e)})),r.className!==n.className){var i=this.refEditor.className.trim().split(" ");n.className.trim().split(" ").forEach((function(e){var t=i.indexOf(e);i.splice(t,1)})),this.refEditor.className=" "+r.className+" "+i.join(" ")}r.theme!==n.theme&&o.setTheme("ace/theme/"+r.theme),r.focus&&!n.focus&&this.splitEditor.focus(),r.height===this.props.height&&r.width===this.props.width||this.editor.resize()},t.prototype.componentWillUnmount=function(){this.editor.destroy(),this.editor=null},t.prototype.onChange=function(e){if(this.props.onChange&&!this.silent){var t=[];this.editor.env.split.forEach((function(e){t.push(e.getValue())})),this.props.onChange(t,e)}},t.prototype.onSelectionChange=function(e){if(this.props.onSelectionChange){var t=[];this.editor.env.split.forEach((function(e){t.push(e.getSelection())})),this.props.onSelectionChange(t,e)}},t.prototype.onCursorChange=function(e){if(this.props.onCursorChange){var t=[];this.editor.env.split.forEach((function(e){t.push(e.getSelection())})),this.props.onCursorChange(t,e)}},t.prototype.onFocus=function(e){this.props.onFocus&&this.props.onFocus(e)},t.prototype.onInput=function(e){this.props.onInput&&this.props.onInput(e)},t.prototype.onBlur=function(e){this.props.onBlur&&this.props.onBlur(e)},t.prototype.onCopy=function(e){this.props.onCopy&&this.props.onCopy(e)},t.prototype.onPaste=function(e){this.props.onPaste&&this.props.onPaste(e)},t.prototype.onScroll=function(){this.props.onScroll&&this.props.onScroll(this.editor)},t.prototype.handleOptions=function(e,t){for(var n=Object.keys(e.setOptions),r=0;r<n.length;r++)t.setOption(n[r],e.setOptions[n[r]])},t.prototype.handleMarkers=function(e,t){var n=t.getSession().getMarkers(!0);for(var r in n)n.hasOwnProperty(r)&&t.getSession().removeMarker(n[r].id);for(var r in n=t.getSession().getMarkers(!1))n.hasOwnProperty(r)&&t.getSession().removeMarker(n[r].id);e.forEach((function(e){var n=e.startRow,r=e.startCol,o=e.endRow,i=e.endCol,a=e.className,s=e.type,c=e.inFront,u=void 0!==c&&c,d=new l.Range(n,r,o,i);t.getSession().addMarker(d,a,s,u)}))},t.prototype.updateRef=function(e){this.refEditor=e},t.prototype.render=function(){var e=this.props,t=e.name,n=e.width,r=e.height,o=e.style,a=i({width:n,height:r},o);return d.createElement("div",{ref:this.updateRef,id:t,style:a})},t.propTypes={className:u.string,debounceChangePeriod:u.number,defaultValue:u.arrayOf(u.string),focus:u.bool,fontSize:u.oneOfType([u.number,u.string]),height:u.string,mode:u.string,name:u.string,onBlur:u.func,onChange:u.func,onCopy:u.func,onFocus:u.func,onInput:u.func,onLoad:u.func,onPaste:u.func,onScroll:u.func,orientation:u.string,showGutter:u.bool,splits:u.number,theme:u.string,value:u.arrayOf(u.string),width:u.string,onSelectionChange:u.func,onCursorChange:u.func,onBeforeLoad:u.func,minLines:u.number,maxLines:u.number,readOnly:u.bool,highlightActiveLine:u.bool,tabSize:u.number,showPrintMargin:u.bool,cursorStart:u.number,editorProps:u.object,setOptions:u.object,style:u.object,scrollMargin:u.array,annotations:u.array,markers:u.array,keyboardHandler:u.string,wrapEnabled:u.bool,enableBasicAutocompletion:u.oneOfType([u.bool,u.array]),enableLiveAutocompletion:u.oneOfType([u.bool,u.array]),commands:u.array},t.defaultProps={name:"ace-editor",focus:!1,orientation:"beside",splits:2,mode:"",theme:"",height:"500px",width:"500px",value:[],fontSize:12,showGutter:!0,onChange:null,onPaste:null,onLoad:null,onScroll:null,minLines:null,maxLines:null,readOnly:!1,highlightActiveLine:!0,showPrintMargin:!0,tabSize:4,cursorStart:1,editorProps:{},style:{},scrollMargin:[0,0,0,0],setOptions:{},wrapEnabled:!1,enableBasicAutocompletion:!1,enableLiveAutocompletion:!1},t}(d.Component);t.default=h},33389:function(e,t,n){"use strict";var r=i(n(57159)),o=i(n(96630));function i(e){return e&&e.__esModule?e:{default:e}}t.ZP=r.default,o.default},57159:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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=d(i),s=d(n(45697)),l=d(n(94184)),c=d(n(91033)),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(58954));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=s.default.oneOfType([s.default.string,s.default.number]),h=function(e){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var e=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 e.state={width:null,height:null},e.resizeObserver=null,e.onClick=e.onClick.bind(e),e}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),o(t,[{key:"componentDidMount",value:function(){var e=this;this.props.width&&this.props.height||(this.setDimensions(),this.props.recalculateOnResize&&(this.resizeObserver=new c.default((function(t,n){e.setDimensions()})),this.resizeObserver.observe(this.parent)))}},{key:"componentDidUpdate",value:function(e,t){this.props.width&&this.props.height||this.setDimensions()}},{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.unobserve(this.parent)}},{key:"onClick",value:function(e){this.props.disabled||"function"==typeof this.props.onClick&&this.props.onClick(!this.props.active,this.parent,e)}},{key:"setDimensions",value:function(){var e=u.getDimension(this.on),t=u.getDimension(this.off),n=Math.max(e.width,t.width),r=Math.max(e.height,t.height);u.compareWithMarginOfError(this.state.width,n,this.props.width)&&u.compareWithMarginOfError(this.state.height,r,this.props.height)||this.setState({width:this.props.width||n,height:this.props.height||r})}},{key:"getSizeClass",value:function(){return"lg"===this.props.size?"btn-lg":"sm"===this.props.size?"btn-sm":"xs"===this.props.size?"btn-xs":"btn-md"}},{key:"render",value:function(){var e,t=this,n=this.props,o=(n.active,n.onClick,n.onstyle),i=n.onClassName,s=n.offstyle,c=n.offClassName,u=n.handlestyle,d=n.handleClassName,p=n.style,h=n.on,m=n.off,g=n.className,v=n.disabled,b=n.width,y=n.height,A=(n.recalculateOnResize,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}(n,["active","onClick","onstyle","onClassName","offstyle","offClassName","handlestyle","handleClassName","style","on","off","className","disabled","width","height","recalculateOnResize"])),x=this.getSizeClass(),C={width:this.state.width||b,height:this.state.height||y};return a.default.createElement("div",r({role:"button",disabled:v,className:(0,l.default)("btn","toggle",g,x,(e={},f(e,"off btn-"+s,!this.props.active),f(e,"btn-"+o,this.props.active),e)),onClick:this.onClick,style:Object.assign({},C,p)},A,{ref:function(e){t.parent=e}}),a.default.createElement("div",{className:"toggle-group"},a.default.createElement("span",{ref:function(e){t.on=e},className:(0,l.default)("btn toggle-on",x,i,f({},"btn-"+o,o)),disabled:v},h),a.default.createElement("span",{ref:function(e){t.off=e},className:(0,l.default)("btn toggle-off",x,c,f({},"btn-"+s,s)),disabled:v},m),a.default.createElement("span",{disabled:v,className:(0,l.default)("toggle-handle btn",x,d,f({},"btn-"+u,u))})))}}]),t}(i.Component);h.propTypes={style:s.default.shape(),onstyle:s.default.string,onClassName:s.default.string,offstyle:s.default.string,offClassName:s.default.string,handlestyle:s.default.string,handleClassName:s.default.string,height:p,width:p,on:s.default.node,off:s.default.node,active:s.default.bool,disabled:s.default.bool,size:s.default.string,onClick:s.default.func,className:s.default.string,recalculateOnResize:s.default.bool},h.defaultProps={onstyle:"primary",onClassName:"",offstyle:"default",offClassName:"",handlestyle:"default",handleClassName:"",width:"",height:"",on:"On",off:"Off",disabled:!1,size:"normal",active:!0,style:{},recalculateOnResize:!1},t.default=h},96630:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!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));function o(e){return e&&e.__esModule?e:{default:e}}function i(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 s=function(e){function t(){return i(this,t),a(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}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:"getSizeClass",value:function(){return"large"===this.props.size?"btn-large":"small"===this.props.size?"btn-small":"mini"===this.props.size?"btn-mini":""}}]),t}(o(n(57159)).default);t.default=s},58954:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="padding-right",r="padding-left",o="padding-top",i="padding-bottom",a="margin-right",s="margin-left",l="margin-top",c="margin-bottom",u=function(e,t){return parseInt(getComputedStyle(e).getPropertyValue(t),10)};t.compareWithMarginOfError=function(e,t,n){return n||Math.abs(e-t)<1.01},t.getDimension=function(e){var t={},d=u(e,n),f=u(e,r),p=u(e,o),h=u(e,i);if(e.childElementCount){var m=e.childNodes[0];return t.height=u(m,c)+u(m,l),t.width=u(m,s)+u(m,a),{width:(m.scrollWidth||m.offsetWidth)+t.width+f+d,height:(m.scrollHeight||m.offsetHeight)+t.height+p+h}}var g=function(e){var t=e.length?e[e.length-1]:e;if("function"==typeof document.createRange){var n=document.createRange();if(n.getBoundingClientRect)return n.selectNodeContents(t),n.getBoundingClientRect()}return 0}(e.childNodes);return{width:g.width+d+f,height:g.height+h+p}}},76695:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(67294),o=n(78146),i=n(45697),a=n.n(i),s=n(94184),l=n.n(s),c=n(85893);const u={"aria-label":a().string,onClick:a().func,variant:a().oneOf(["white"])},d=r.forwardRef((({className:e,variant:t,"aria-label":n="Close",...r},o)=>(0,c.jsx)("button",{ref:o,type:"button",className:l()("btn-close",t&&`btn-close-${t}`,e),"aria-label":n,...r})));d.displayName="CloseButton",d.propTypes=u;var f=d,p=n(36467);var h=r.forwardRef((({closeLabel:e="Close",closeVariant:t,closeButton:n=!1,onHide:i,children:a,...s},l)=>{const u=(0,r.useContext)(p.Z),d=(0,o.Z)((()=>{null==u||u.onHide(),null==i||i()}));return(0,c.jsxs)("div",{ref:l,...s,children:[a,n&&(0,c.jsx)(f,{"aria-label":e,variant:t,onClick:d})]})}))},47030:function(e,t,n){"use strict";n.d(t,{Z:function(){return h},t:function(){return p}});var r=n(11132);var o=n(91505),i=n(60930);function a(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var s=n(88083);const l=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",c=".sticky-top",u=".navbar-toggler";class d extends s.Z{adjustAndStore(e,t,n){const r=t.style[e];t.dataset[e]=r,(0,o.Z)(t,{[e]:`${parseFloat((0,o.Z)(t,e))+n}px`})}restore(e,t){const n=t.dataset[e];void 0!==n&&(delete t.dataset[e],(0,o.Z)(t,{[e]:n}))}setContainerStyle(e){super.setContainerStyle(e);const t=this.getElement();var n,o;if(o="modal-open",(n=t).classList?n.classList.add(o):(0,r.Z)(n,o)||("string"==typeof n.className?n.className=n.className+" "+o:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+o)),!e.scrollBarWidth)return;const a=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";(0,i.Z)(t,l).forEach((t=>this.adjustAndStore(a,t,e.scrollBarWidth))),(0,i.Z)(t,c).forEach((t=>this.adjustAndStore(s,t,-e.scrollBarWidth))),(0,i.Z)(t,u).forEach((t=>this.adjustAndStore(s,t,e.scrollBarWidth)))}removeContainerStyle(e){super.removeContainerStyle(e);const t=this.getElement();var n,r;r="modal-open",(n=t).classList?n.classList.remove(r):"string"==typeof n.className?n.className=a(n.className,r):n.setAttribute("class",a(n.className&&n.className.baseVal||"",r));const o=this.isRTL?"paddingLeft":"paddingRight",s=this.isRTL?"marginLeft":"marginRight";(0,i.Z)(t,l).forEach((e=>this.restore(o,e))),(0,i.Z)(t,c).forEach((e=>this.restore(s,e))),(0,i.Z)(t,u).forEach((e=>this.restore(s,e)))}}let f;function p(e){return f||(f=new d(e)),f}var h=d},2086:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(67294),a=n(76792),s=n(85893);const l=i.forwardRef((({bsPrefix:e,size:t,vertical:n=!1,className:r,role:i="group",as:l="div",...c},u)=>{const d=(0,a.vE)(e,"btn-group");let f=d;return n&&(f=`${d}-vertical`),(0,s.jsx)(l,{...c,ref:u,role:i,className:o()(r,f,t&&`${d}-${t}`)})}));l.displayName="ButtonGroup",t.Z=l},70552:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(94184),o=n.n(r),i=n(67294),a=n(60930),s=n(9351),l=n(97121),c=n(88833),u=n(14357),d=n(55111),f=n(78146),p=n(83577),h=n(28256),m=n(541),g=n(87126),v=n(86056),b=n(70861),y=n(52747),A=n(85893);const x=["eventKey","disabled","onClick","active","as"];function C({key:e,href:t,active:n,disabled:r,onClick:o}){const a=(0,i.useContext)(g.Z),s=(0,i.useContext)(v.Z),{activeKey:l}=s||{},c=(0,g.h)(e,t),u=null==n&&null!=e?(0,g.h)(l)===c:n;return[{onClick:(0,f.Z)((e=>{r||(null==o||o(e),a&&!e.isPropagationStopped()&&a(c,e))})),"aria-disabled":r||void 0,"aria-selected":u,[(0,y.PB)("dropdown-item")]:""},{isActive:u}]}const _=i.forwardRef(((e,t)=>{let{eventKey:n,disabled:r,onClick:o,active:i,as:a=b.ZP}=e,s=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,x);const[l]=C({key:n,href:s.href,disabled:r,onClick:o,active:i});return(0,A.jsx)(a,Object.assign({},s,{ref:t},l))}));_.displayName="DropdownItem";var w=_,k=n(12963);function S(){const e=(0,u.Z)(),t=(0,i.useRef)(null),n=(0,i.useCallback)((n=>{t.current=n,e()}),[e]);return[t,n]}function E({defaultShow:e,show:t,onSelect:n,onToggle:r,itemSelector:o=`* [${(0,y.PB)("dropdown-item")}]`,focusFirstItemOnShow:u,placement:h="bottom-start",children:v}){const b=(0,k.Z)(),[x,C]=(0,l.$c)(t,e,r),[_,w]=S(),E=_.current,[B,O]=S(),j=B.current,T=(0,c.Z)(x),P=(0,i.useRef)(null),M=(0,i.useRef)(!1),D=(0,i.useContext)(g.Z),R=(0,i.useCallback)(((e,t,n=(null==t?void 0:t.type))=>{C(e,{originalEvent:t,source:n})}),[C]),L=(0,f.Z)(((e,t)=>{null==n||n(e,t),R(!1,t,"select"),t.isPropagationStopped()||null==D||D(e,t)})),I=(0,i.useMemo)((()=>({toggle:R,placement:h,show:x,menuElement:E,toggleElement:j,setMenu:w,setToggle:O})),[R,h,x,E,j,w,O]);E&&T&&!x&&(M.current=E.contains(E.ownerDocument.activeElement));const N=(0,f.Z)((()=>{j&&j.focus&&j.focus()})),F=(0,f.Z)((()=>{const e=P.current;let t=u;if(null==t&&(t=!(!_.current||!(0,m.bt)(_.current))&&"keyboard"),!1===t||"keyboard"===t&&!/^key.+$/.test(e))return;const n=(0,a.Z)(_.current,o)[0];n&&n.focus&&n.focus()}));(0,i.useEffect)((()=>{x?F():M.current&&(M.current=!1,N())}),[x,M,N,F]),(0,i.useEffect)((()=>{P.current=null}));const z=(e,t)=>{if(!_.current)return null;const n=(0,a.Z)(_.current,o);let r=n.indexOf(e)+t;return r=Math.max(0,Math.min(r,n.length)),n[r]};return(0,d.Z)((0,i.useCallback)((()=>b.document),[b]),"keydown",(e=>{var t,n;const{key:r}=e,o=e.target,i=null==(t=_.current)?void 0:t.contains(o),a=null==(n=B.current)?void 0:n.contains(o);if(/input|textarea/i.test(o.tagName)&&(" "===r||"Escape"!==r&&i||"Escape"===r&&"search"===o.type))return;if(!i&&!a)return;if(!("Tab"!==r||_.current&&x))return;P.current=e.type;const l={originalEvent:e,source:e.type};switch(r){case"ArrowUp":{const t=z(o,-1);return t&&t.focus&&t.focus(),void e.preventDefault()}case"ArrowDown":if(e.preventDefault(),x){const e=z(o,1);e&&e.focus&&e.focus()}else C(!0,l);return;case"Tab":(0,s.ZP)(o.ownerDocument,"keyup",(e=>{var t;("Tab"!==e.key||e.target)&&null!=(t=_.current)&&t.contains(e.target)||C(!1,l)}),{once:!0});break;case"Escape":"Escape"===r&&(e.preventDefault(),e.stopPropagation()),C(!1,l)}})),(0,A.jsx)(g.Z.Provider,{value:L,children:(0,A.jsx)(p.Z.Provider,{value:I,children:v})})}E.displayName="Dropdown",E.Menu=h.Z,E.Toggle=m.ZP,E.Item=w;var B=E,O=n(80789),j=n(10953),T=n(76792);const P=i.forwardRef((({className:e,bsPrefix:t,as:n="hr",role:r="separator",...i},a)=>(t=(0,T.vE)(t,"dropdown-divider"),(0,A.jsx)(n,{ref:a,className:o()(e,t),role:r,...i}))));P.displayName="DropdownDivider";var M=P;const D=i.forwardRef((({className:e,bsPrefix:t,as:n="div",role:r="heading",...i},a)=>(t=(0,T.vE)(t,"dropdown-header"),(0,A.jsx)(n,{ref:a,className:o()(e,t),role:r,...i}))));D.displayName="DropdownHeader";var R=D,L=n(13551);const I=i.forwardRef((({bsPrefix:e,className:t,eventKey:n,disabled:r=!1,onClick:i,active:a,as:s=L.Z,...l},c)=>{const u=(0,T.vE)(e,"dropdown-item"),[d,f]=C({key:n,href:l.href,disabled:r,onClick:i,active:a});return(0,A.jsx)(s,{...l,...d,ref:c,className:o()(t,u,f.isActive&&"active",r&&"disabled")})}));I.displayName="DropdownItem";var N=I;const F=i.forwardRef((({className:e,bsPrefix:t,as:n="span",...r},i)=>(t=(0,T.vE)(t,"dropdown-item-text"),(0,A.jsx)(n,{ref:i,className:o()(e,t),...r}))));F.displayName="DropdownItemText";var z=F,q=n(29100),U=n(90969),H=n(23045);const W=i.forwardRef(((e,t)=>{const{bsPrefix:n,drop:r="down",show:a,className:s,align:l="start",onSelect:c,onToggle:u,focusFirstItemOnShow:d,as:p="div",navbar:h,autoClose:m=!0,...g}=(0,O.Ch)(e,{show:"onToggle"}),v=(0,i.useContext)(H.Z),b=(0,T.vE)(n,"dropdown"),y=(0,T.SC)(),x=(0,f.Z)(((e,t)=>{var n,r;var o;(null==(n=t.originalEvent)||null==(r=n.target)?void 0:r.classList.contains("dropdown-toggle"))&&"mousedown"===t.source||(t.originalEvent.currentTarget!==document||"keydown"===t.source&&"Escape"!==t.originalEvent.key||(t.source="rootClose"),o=t.source,(!1===m?"click"===o:"inside"===m?"rootClose"!==o:"outside"!==m||"select"!==o)&&(null==u||u(e,t)))})),C="end"===l,_=(0,q.J)(C,r,y),w=(0,i.useMemo)((()=>({align:l,drop:r,isRTL:y})),[l,r,y]),k={down:b,"down-centered":`${b}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return(0,A.jsx)(j.Z.Provider,{value:w,children:(0,A.jsx)(B,{placement:_,show:a,onSelect:c,onToggle:x,focusFirstItemOnShow:d,itemSelector:`.${b}-item:not(.disabled):not(:disabled)`,children:v?g.children:(0,A.jsx)(p,{...g,ref:t,className:o()(s,a&&"show",k[r])})})})}));W.displayName="Dropdown";var V=Object.assign(W,{Toggle:U.Z,Menu:q.Z,Item:N,ItemText:z,Divider:M,Header:R})},8102:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(67294),o=n(45697),i=n.n(o),a=n(70552),s=n(90969),l=n(29100);const c=i().oneOf(["start","end"]),u=i().oneOfType([c,i().shape({sm:c}),i().shape({md:c}),i().shape({lg:c}),i().shape({xl:c}),i().shape({xxl:c}),i().object]);var d=n(85893);const f={id:i().string,href:i().string,onClick:i().func,title:i().node.isRequired,disabled:i().bool,align:u,menuRole:i().string,renderMenuOnMount:i().bool,rootCloseEvent:i().string,menuVariant:i().oneOf(["dark"]),flip:i().bool,bsPrefix:i().string,variant:i().string,size:i().string},p=r.forwardRef((({title:e,children:t,bsPrefix:n,rootCloseEvent:r,variant:o,size:i,menuRole:c,renderMenuOnMount:u,disabled:f,href:p,id:h,menuVariant:m,flip:g,...v},b)=>(0,d.jsxs)(a.Z,{ref:b,...v,children:[(0,d.jsx)(s.Z,{id:h,href:p,size:i,variant:o,disabled:f,childBsPrefix:n,children:e}),(0,d.jsx)(l.Z,{role:c,renderOnMount:u,rootCloseEvent:r,variant:m,flip:g,children:t})]})));p.displayName="DropdownButton",p.propTypes=f;var h=p},10953:function(e,t,n){"use strict";const r=n(67294).createContext({});r.displayName="DropdownContext",t.Z=r},29100:function(e,t,n){"use strict";n.d(t,{J:function(){return m}});var r=n(94184),o=n.n(r),i=n(67294),a=n(28256),s=n(99585),l=n(35654),c=(n(42473),n(10953)),u=n(23045),d=n(64819),f=n(76792),p=n(2146),h=n(85893);function m(e,t,n){let r=e?n?"bottom-start":"bottom-end":n?"bottom-end":"bottom-start";return"up"===t?r=e?n?"top-start":"top-end":n?"top-end":"top-start":"end"===t?r=e?n?"left-end":"right-end":n?"left-start":"right-start":"start"===t?r=e?n?"right-end":"left-end":n?"right-start":"left-start":"down-centered"===t?r="bottom":"up-centered"===t&&(r="top"),r}const g=i.forwardRef((({bsPrefix:e,className:t,align:n,rootCloseEvent:r,flip:g=!0,show:v,renderOnMount:b,as:y="div",popperConfig:A,variant:x,...C},_)=>{let w=!1;const k=(0,i.useContext)(d.Z),S=(0,f.vE)(e,"dropdown-menu"),{align:E,drop:B,isRTL:O}=(0,i.useContext)(c.Z);n=n||E;const j=(0,i.useContext)(u.Z),T=[];if(n)if("object"==typeof n){const e=Object.keys(n);if(e.length){const t=e[0],r=n[t];w="start"===r,T.push(`${S}-${t}-${r}`)}}else"end"===n&&(w=!0);const P=m(w,B,O),[M,{hasShown:D,popper:R,show:L,toggle:I}]=(0,a.d)({flip:g,rootCloseEvent:r,show:v,usePopper:!k&&0===T.length,offset:[0,2],popperConfig:A,placement:P});if(M.ref=(0,l.Z)((0,p.Z)(_,"DropdownMenu"),M.ref),(0,s.Z)((()=>{L&&(null==R||R.update())}),[L]),!D&&!b&&!j)return null;"string"!=typeof y&&(M.show=L,M.close=()=>null==I?void 0:I(!1),M.align=n);let N=C.style;return null!=R&&R.placement&&(N={...C.style,...M.style},C["x-placement"]=R.placement),(0,h.jsx)(y,{...C,...M,style:N,...(T.length||k)&&{"data-bs-popper":"static"},className:o()(t,S,L&&"show",w&&`${S}-end`,x&&`${S}-${x}`,...T)})}));g.displayName="DropdownMenu",t.Z=g},90969:function(e,t,n){"use strict";n.d(t,{Z:function(){return g}});var r=n(35654),o=n(83577),i=n(541),a=n(94184),s=n.n(a),l=n(67294),c=n(70861),u=n(76792),d=n(85893);const f=l.forwardRef((({as:e,bsPrefix:t,variant:n="primary",size:r,active:o=!1,disabled:i=!1,className:a,...l},f)=>{const p=(0,u.vE)(t,"btn"),[h,{tagName:m}]=(0,c.FT)({tagName:e,disabled:i,...l}),g=m;return(0,d.jsx)(g,{...h,...l,ref:f,disabled:i,className:s()(a,p,o&&"active",n&&`${p}-${n}`,r&&`${p}-${r}`,l.href&&i&&"disabled")})}));f.displayName="Button";var p=f,h=n(2146);const m=l.forwardRef((({bsPrefix:e,split:t,className:n,childBsPrefix:a,as:c=p,...f},m)=>{const g=(0,u.vE)(e,"dropdown-toggle"),v=(0,l.useContext)(o.Z);void 0!==a&&(f.bsPrefix=a);const[b]=(0,i.Jr)();return b.ref=(0,r.Z)(b.ref,(0,h.Z)(m,"DropdownToggle")),(0,d.jsx)(c,{className:s()(n,g,t&&`${g}-split`,(null==v?void 0:v.show)&&"show"),...b,...f})}));m.displayName="DropdownToggle";var g=m},40193:function(e,t,n){"use strict";n.d(t,{Z:function(){return f}});var r=n(94184),o=n.n(r),i=n(67294),a=n(26273),s=n(93825);var l=n(9337),c=n(85893);const u={[a.d0]:"show",[a.cn]:"show"},d=i.forwardRef((({className:e,children:t,transitionClasses:n={},onEnter:r,...a},d)=>{const f={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...a},p=(0,i.useCallback)(((e,t)=>{!function(e){e.offsetHeight}(e),null==r||r(e,t)}),[r]);return(0,c.jsx)(l.Z,{ref:d,addEndListener:s.Z,...f,onEnter:p,childRef:t.ref,children:(r,a)=>i.cloneElement(t,{...a,className:o()("fade",e,t.props.className,u[r],n[r])})})}));d.displayName="Fade";var f=d},23045:function(e,t,n){"use strict";const r=n(67294).createContext(null);r.displayName="InputGroupContext",t.Z=r},6212:function(e,t,n){"use strict";n.d(t,{Z:function(){return N}});var r,o=n(94184),i=n.n(o),a=n(9351),s=n(23004),l=n(67216),c=n(30099);function u(e){if((!r&&0!==r||e)&&s.Z){var t=document.createElement("div");t.style.position="absolute",t.style.top="-9999px",t.style.width="50px",t.style.height="50px",t.style.overflow="scroll",document.body.appendChild(t),r=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return r}var d=n(32092),f=n(78146),p=n(35654),h=n(76852),m=n(94305),g=n(67294),v=n(16664),b=n(47030),y=n(40193),A=n(76792),x=n(85893);const C=g.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=(0,A.vE)(t,"modal-body"),(0,x.jsx)(n,{ref:o,className:i()(e,t),...r}))));C.displayName="ModalBody";var _=C,w=n(36467);const k=g.forwardRef((({bsPrefix:e,className:t,contentClassName:n,centered:r,size:o,fullscreen:a,children:s,scrollable:l,...c},u)=>{const d=`${e=(0,A.vE)(e,"modal")}-dialog`,f="string"==typeof a?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return(0,x.jsx)("div",{...c,ref:u,className:i()(d,t,o&&`${e}-${o}`,r&&`${d}-centered`,l&&`${d}-scrollable`,a&&f),children:(0,x.jsx)("div",{className:i()(`${e}-content`,n),children:s})})}));k.displayName="ModalDialog";var S=k;const E=g.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=(0,A.vE)(t,"modal-footer"),(0,x.jsx)(n,{ref:o,className:i()(e,t),...r}))));E.displayName="ModalFooter";var B=E,O=n(76695);const j=g.forwardRef((({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...o},a)=>(e=(0,A.vE)(e,"modal-header"),(0,x.jsx)(O.Z,{ref:a,...o,className:i()(t,e),closeLabel:n,closeButton:r}))));j.displayName="ModalHeader";var T=j;const P=(0,n(39602).Z)("h4"),M=g.forwardRef((({className:e,bsPrefix:t,as:n=P,...r},o)=>(t=(0,A.vE)(t,"modal-title"),(0,x.jsx)(n,{ref:o,className:i()(e,t),...r}))));M.displayName="ModalTitle";var D=M;function R(e){return(0,x.jsx)(y.Z,{...e,timeout:null})}function L(e){return(0,x.jsx)(y.Z,{...e,timeout:null})}const I=g.forwardRef((({bsPrefix:e,className:t,style:n,dialogClassName:r,contentClassName:o,children:y,dialogAs:C=S,"data-bs-theme":_,"aria-labelledby":k,"aria-describedby":E,"aria-label":B,show:O=!1,animation:j=!0,backdrop:T=!0,keyboard:P=!0,onEscapeKeyDown:M,onShow:D,onHide:I,container:N,autoFocus:F=!0,enforceFocus:z=!0,restoreFocus:q=!0,restoreFocusOptions:U,onEntered:H,onExit:W,onExiting:V,onEnter:Y,onEntering:Z,onExited:G,backdropClassName:K,manager:$,...X},Q)=>{const[J,ee]=(0,g.useState)({}),[te,ne]=(0,g.useState)(!1),re=(0,g.useRef)(!1),oe=(0,g.useRef)(!1),ie=(0,g.useRef)(null),[ae,se]=(0,d.Z)(),le=(0,p.Z)(Q,se),ce=(0,f.Z)(I),ue=(0,A.SC)();e=(0,A.vE)(e,"modal");const de=(0,g.useMemo)((()=>({onHide:ce})),[ce]);function fe(){return $||(0,b.t)({isRTL:ue})}function pe(e){if(!s.Z)return;const t=fe().getScrollbarWidth()>0,n=e.scrollHeight>(0,l.Z)(e).documentElement.clientHeight;ee({paddingRight:t&&!n?u():void 0,paddingLeft:!t&&n?u():void 0})}const he=(0,f.Z)((()=>{ae&&pe(ae.dialog)}));(0,h.Z)((()=>{(0,c.Z)(window,"resize",he),null==ie.current||ie.current()}));const me=()=>{re.current=!0},ge=e=>{re.current&&ae&&e.target===ae.dialog&&(oe.current=!0),re.current=!1},ve=()=>{ne(!0),ie.current=(0,m.Z)(ae.dialog,(()=>{ne(!1)}))},be=e=>{"static"!==T?oe.current||e.target!==e.currentTarget?oe.current=!1:null==I||I():(e=>{e.target===e.currentTarget&&ve()})(e)},ye=(0,g.useCallback)((t=>(0,x.jsx)("div",{...t,className:i()(`${e}-backdrop`,K,!j&&"show")})),[j,K,e]),Ae={...n,...J};Ae.display="block";return(0,x.jsx)(w.Z.Provider,{value:de,children:(0,x.jsx)(v.Z,{show:O,ref:le,backdrop:T,container:N,keyboard:!0,autoFocus:F,enforceFocus:z,restoreFocus:q,restoreFocusOptions:U,onEscapeKeyDown:e=>{P?null==M||M(e):(e.preventDefault(),"static"===T&&ve())},onShow:D,onHide:I,onEnter:(e,t)=>{e&&pe(e),null==Y||Y(e,t)},onEntering:(e,t)=>{null==Z||Z(e,t),(0,a.ZP)(window,"resize",he)},onEntered:H,onExit:e=>{null==ie.current||ie.current(),null==W||W(e)},onExiting:V,onExited:e=>{e&&(e.style.display=""),null==G||G(e),(0,c.Z)(window,"resize",he)},manager:fe(),transition:j?R:void 0,backdropTransition:j?L:void 0,renderBackdrop:ye,renderDialog:n=>(0,x.jsx)("div",{role:"dialog",...n,style:Ae,className:i()(t,e,te&&`${e}-static`,!j&&"show"),onClick:T?be:void 0,onMouseUp:ge,"data-bs-theme":_,"aria-label":B,"aria-labelledby":k,"aria-describedby":E,children:(0,x.jsx)(C,{...X,onMouseDown:me,className:r,contentClassName:o,children:y})})})})}));I.displayName="Modal";var N=Object.assign(I,{Body:_,Header:T,Title:D,Footer:B,Dialog:S,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150})},36467:function(e,t,n){"use strict";const r=n(67294).createContext({onHide(){}});t.Z=r},64819:function(e,t,n){"use strict";const r=n(67294).createContext(null);r.displayName="NavbarContext",t.Z=r},44874:function(e,t,n){"use strict";n.d(t,{Z:function(){return L}});var r=n(94184),o=n.n(r),i=n(99585),a=n(67294);const s=new WeakMap,l=(e,t)=>{if(!e||!t)return;const n=s.get(t)||new Map;s.set(t,n);let r=n.get(e);return r||(r=t.matchMedia(e),r.refCount=0,n.set(r.media,r)),r};function c(e,t=("undefined"==typeof window?void 0:window)){const n=l(e,t),[r,o]=(0,a.useState)((()=>!!n&&n.matches));return(0,i.Z)((()=>{let n=l(e,t);if(!n)return o(!1);let r=s.get(t);const i=()=>{o(n.matches)};return n.refCount++,n.addListener(i),i(),()=>{n.removeListener(i),n.refCount--,n.refCount<=0&&(null==r||r.delete(n.media)),n=void 0}}),[e]),r}var u=function(e){const t=Object.keys(e);function n(e,t){return e===t?t:e?`${e} and ${t}`:t}function r(n){const r=function(e){return t[Math.min(t.indexOf(e)+1,t.length-1)]}(n);let o=e[r];return o="number"==typeof o?o-.2+"px":`calc(${o} - 0.2px)`,`(max-width: ${o})`}return function(t,o,i){let s;"object"==typeof t?(s=t,i=o,o=!0):s={[t]:o=o||!0};let l=(0,a.useMemo)((()=>Object.entries(s).reduce(((t,[o,i])=>("up"!==i&&!0!==i||(t=n(t,function(t){let n=e[t];return"number"==typeof n&&(n=`${n}px`),`(min-width: ${n})`}(o))),"down"!==i&&!0!==i||(t=n(t,r(o))),t)),"")),[JSON.stringify(s)]);return c(l,i)}}({xs:0,sm:576,md:768,lg:992,xl:1200,xxl:1400}),d=n(78146),f=n(16664),p=n(40193),h=n(76792),m=n(85893);const g=a.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=(0,h.vE)(t,"offcanvas-body"),(0,m.jsx)(n,{ref:i,className:o()(e,t),...r}))));g.displayName="OffcanvasBody";var v=g,b=n(26273),y=n(93825),A=n(9337);const x={[b.d0]:"show",[b.cn]:"show"},C=a.forwardRef((({bsPrefix:e,className:t,children:n,in:r=!1,mountOnEnter:i=!1,unmountOnExit:s=!1,appear:l=!1,...c},u)=>(e=(0,h.vE)(e,"offcanvas"),(0,m.jsx)(A.Z,{ref:u,addEndListener:y.Z,in:r,mountOnEnter:i,unmountOnExit:s,appear:l,...c,childRef:n.ref,children:(r,i)=>a.cloneElement(n,{...i,className:o()(t,n.props.className,(r===b.d0||r===b.Ix)&&`${e}-toggling`,x[r])})}))));C.displayName="OffcanvasToggling";var _=C,w=n(36467),k=n(64819),S=n(76695);const E=a.forwardRef((({bsPrefix:e,className:t,closeLabel:n="Close",closeButton:r=!1,...i},a)=>(e=(0,h.vE)(e,"offcanvas-header"),(0,m.jsx)(S.Z,{ref:a,...i,className:o()(t,e),closeLabel:n,closeButton:r}))));E.displayName="OffcanvasHeader";var B=E;const O=(0,n(39602).Z)("h5"),j=a.forwardRef((({className:e,bsPrefix:t,as:n=O,...r},i)=>(t=(0,h.vE)(t,"offcanvas-title"),(0,m.jsx)(n,{ref:i,className:o()(e,t),...r}))));j.displayName="OffcanvasTitle";var T=j,P=n(47030);function M(e){return(0,m.jsx)(_,{...e})}function D(e){return(0,m.jsx)(p.Z,{...e})}const R=a.forwardRef((({bsPrefix:e,className:t,children:n,"aria-labelledby":r,placement:i="start",responsive:s,show:l=!1,backdrop:c=!0,keyboard:p=!0,scroll:g=!1,onEscapeKeyDown:v,onShow:b,onHide:y,container:A,autoFocus:x=!0,enforceFocus:C=!0,restoreFocus:_=!0,restoreFocusOptions:S,onEntered:E,onExit:B,onExiting:O,onEnter:j,onEntering:T,onExited:R,backdropClassName:L,manager:I,renderStaticNode:N=!1,...F},z)=>{const q=(0,a.useRef)();e=(0,h.vE)(e,"offcanvas");const{onToggle:U}=(0,a.useContext)(k.Z)||{},[H,W]=(0,a.useState)(!1),V=u(s||"xs","up");(0,a.useEffect)((()=>{W(s?l&&!V:l)}),[l,s,V]);const Y=(0,d.Z)((()=>{null==U||U(),null==y||y()})),Z=(0,a.useMemo)((()=>({onHide:Y})),[Y]);const G=(0,a.useCallback)((t=>(0,m.jsx)("div",{...t,className:o()(`${e}-backdrop`,L)})),[L,e]),K=a=>(0,m.jsx)("div",{...a,...F,className:o()(t,s?`${e}-${s}`:e,`${e}-${i}`),"aria-labelledby":r,children:n});return(0,m.jsxs)(m.Fragment,{children:[!H&&(s||N)&&K({}),(0,m.jsx)(w.Z.Provider,{value:Z,children:(0,m.jsx)(f.Z,{show:H,ref:z,backdrop:c,container:A,keyboard:p,autoFocus:x,enforceFocus:C&&!g,restoreFocus:_,restoreFocusOptions:S,onEscapeKeyDown:v,onShow:b,onHide:Y,onEnter:(e,...t)=>{e&&(e.style.visibility="visible"),null==j||j(e,...t)},onEntering:T,onEntered:E,onExit:B,onExiting:O,onExited:(e,...t)=>{e&&(e.style.visibility=""),null==R||R(...t)},manager:I||(g?(q.current||(q.current=new P.Z({handleContainerOverflow:!1})),q.current):(0,P.t)()),transition:M,backdropTransition:D,renderBackdrop:G,renderDialog:K})})]})}));R.displayName="Offcanvas";var L=Object.assign(R,{Body:v,Header:B,Title:T})},82453:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(90424),o=n(45697),i=n.n(o),a=n(67294),s=n(6454),l=n(76852);const c=2**31-1;function u(e,t,n){const r=n-Date.now();e.current=r<=c?setTimeout(t,r):setTimeout((()=>u(e,t,n)),c)}function d(){const e=(0,s.Z)(),t=(0,a.useRef)();return(0,l.Z)((()=>clearTimeout(t.current))),(0,a.useMemo)((()=>{const n=()=>clearTimeout(t.current);return{set:function(r,o=0){e()&&(n(),o<=c?t.current=setTimeout(r,o):u(t,r,Date.now()+o))},clear:n,handleRef:t}}),[])}n(42473);var f=n(80789),p=n(35654),h=n(94184),m=n.n(h),g=n(73935),v=n(32092),b=n(83318),y=n(72950),A=n(67216),x=n(78146),C=n(5680),_=n(96899);const w=()=>{};var k=function(e,t,{disabled:n,clickTrigger:r}={}){const o=t||w;(0,C.Z)(e,o,{disabled:n,clickTrigger:r});const i=(0,x.Z)((e=>{(0,_.k)(e)&&o(e)}));(0,a.useEffect)((()=>{if(n||null==e)return;const t=(0,A.Z)((0,C.f)(e));let r=(t.defaultView||window).event;const o=(0,y.Z)(t,"keyup",(e=>{e!==r?i(e):r=void 0}));return()=>{o()}}),[e,n,i])},S=n(54194),E=n(90012),B=n(78756);const O=a.forwardRef(((e,t)=>{const{flip:n,offset:r,placement:o,containerPadding:i,popperConfig:s={},transition:l,runTransition:c}=e,[u,d]=(0,v.Z)(),[f,h]=(0,v.Z)(),m=(0,p.Z)(d,t),y=(0,S.Z)(e.container),A=(0,S.Z)(e.target),[x,C]=(0,a.useState)(!e.show),_=(0,b.Z)(A,u,(0,E.ZP)({placement:o,enableEvents:!!e.show,containerPadding:i||5,flip:n,offset:r,arrowElement:f,popperConfig:s}));e.show&&x&&C(!1);const w=e.show||!x;if(k(u,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!w)return null;const{onExit:O,onExiting:j,onEnter:T,onEntering:P,onEntered:M}=e;let D=e.children(Object.assign({},_.attributes.popper,{style:_.styles.popper,ref:m}),{popper:_,placement:o,show:!!e.show,arrowProps:Object.assign({},_.attributes.arrow,{style:_.styles.arrow,ref:h})});return D=(0,B.sD)(l,c,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:D,onExit:O,onExiting:j,onExited:(...t)=>{C(!0),e.onExited&&e.onExited(...t)},onEnter:T,onEntering:P,onEntered:M}),y?g.createPortal(D,y):null}));O.displayName="Overlay";var j=O,T=n(99585),P=n(11132),M=n(76792),D=n(40755),R=n(79883),L=n(53706),I=n(85893);const N=a.forwardRef((({bsPrefix:e,placement:t="right",className:n,style:r,children:o,arrowProps:i,hasDoneInitialMeasure:a,popper:s,show:l,...c},u)=>{e=(0,M.vE)(e,"tooltip");const d=(0,M.SC)(),[f]=(null==t?void 0:t.split("-"))||[],p=(0,R.z)(f,d);let h=r;return l&&!a&&(h={...r,...(0,L.Z)(null==s?void 0:s.strategy)}),(0,I.jsxs)("div",{ref:u,style:h,role:"tooltip","x-placement":f,className:m()(n,e,`bs-tooltip-${p}`),...c,children:[(0,I.jsx)("div",{className:"tooltip-arrow",...i}),(0,I.jsx)("div",{className:`${e}-inner`,children:o})]})}));N.displayName="Tooltip";var F=Object.assign(N,{TOOLTIP_OFFSET:[0,6]});var z=n(40193),q=n(8285);const U=a.forwardRef((({children:e,transition:t=z.Z,popperConfig:n={},rootClose:r=!1,placement:o="top",show:i=!1,...s},l)=>{const c=(0,a.useRef)({}),[u,d]=(0,a.useState)(null),[f,h]=function(e){const t=(0,a.useRef)(null),n=(0,M.vE)(void 0,"popover"),r=(0,M.vE)(void 0,"tooltip"),o=(0,a.useMemo)((()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if((0,P.Z)(t.current,n))return D.Z.POPPER_OFFSET;if((0,P.Z)(t.current,r))return F.TOOLTIP_OFFSET}return[0,0]}}})),[e,n,r]);return[t,[o]]}(s.offset),g=(0,p.Z)(l,f),v=!0===t?z.Z:t||void 0,b=(0,x.Z)((e=>{d(e),null==n||null==n.onFirstUpdate||n.onFirstUpdate(e)}));return(0,T.Z)((()=>{u&&s.target&&(null==c.current.scheduleUpdate||c.current.scheduleUpdate())}),[u,s.target]),(0,a.useEffect)((()=>{i||d(null)}),[i]),(0,I.jsx)(j,{...s,ref:g,popperConfig:{...n,modifiers:h.concat(n.modifiers||[]),onFirstUpdate:b},transition:v,rootClose:r,placement:o,show:i,children:(r,{arrowProps:o,popper:i,show:s})=>{var l,d;!function(e,t){const{ref:n}=e,{ref:r}=t;e.ref=n.__wrapped||(n.__wrapped=e=>n((0,q.Z)(e))),t.ref=r.__wrapped||(r.__wrapped=e=>r((0,q.Z)(e)))}(r,o);const f=null==i?void 0:i.placement,p=Object.assign(c.current,{state:null==i?void 0:i.state,scheduleUpdate:null==i?void 0:i.update,placement:f,outOfBoundaries:(null==i||null==(l=i.state)||null==(d=l.modifiersData.hide)?void 0:d.isReferenceHidden)||!1,strategy:n.strategy}),h=!!u;return"function"==typeof e?e({...r,placement:f,show:s,...!t&&s&&{className:"show"},popper:p,arrowProps:o,hasDoneInitialMeasure:h}):a.cloneElement(e,{...r,placement:f,arrowProps:o,popper:p,hasDoneInitialMeasure:h,className:m()(e.props.className,!t&&s&&"show"),style:{...e.props.style,...r.style}})}})}));U.displayName="Overlay";var H=U;function W(e,t,n){const[o]=t,i=o.currentTarget,a=o.relatedTarget||o.nativeEvent[n];a&&a===i||(0,r.Z)(i,a)||e(...t)}i().oneOf(["click","hover","focus"]);var V=({trigger:e=["hover","focus"],overlay:t,children:n,popperConfig:r={},show:o,defaultShow:i=!1,onToggle:s,delay:l,placement:c,flip:u=c&&-1!==c.indexOf("auto"),...h})=>{const m=(0,a.useRef)(null),g=(0,p.Z)(m,n.ref),v=d(),b=(0,a.useRef)(""),[y,A]=(0,f.$c)(o,i,s),x=function(e){return e&&"object"==typeof e?e:{show:e,hide:e}}(l),{onFocus:C,onBlur:_,onClick:w}="function"!=typeof n?a.Children.only(n).props:{},k=(0,a.useCallback)((()=>{v.clear(),b.current="show",x.show?v.set((()=>{"show"===b.current&&A(!0)}),x.show):A(!0)}),[x.show,A,v]),S=(0,a.useCallback)((()=>{v.clear(),b.current="hide",x.hide?v.set((()=>{"hide"===b.current&&A(!1)}),x.hide):A(!1)}),[x.hide,A,v]),E=(0,a.useCallback)(((...e)=>{k(),null==C||C(...e)}),[k,C]),B=(0,a.useCallback)(((...e)=>{S(),null==_||_(...e)}),[S,_]),O=(0,a.useCallback)(((...e)=>{A(!y),null==w||w(...e)}),[w,A,y]),j=(0,a.useCallback)(((...e)=>{W(k,e,"fromElement")}),[k]),T=(0,a.useCallback)(((...e)=>{W(S,e,"toElement")}),[S]),P=null==e?[]:[].concat(e),M={ref:e=>{g((0,q.Z)(e))}};return-1!==P.indexOf("click")&&(M.onClick=O),-1!==P.indexOf("focus")&&(M.onFocus=E,M.onBlur=B),-1!==P.indexOf("hover")&&(M.onMouseOver=j,M.onMouseOut=T),(0,I.jsxs)(I.Fragment,{children:["function"==typeof n?n(M):(0,a.cloneElement)(n,M),(0,I.jsx)(H,{...h,show:y,onHide:S,flip:u,placement:c,popperConfig:r,target:m.current,children:t})]})}},40755:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var r=n(94184),o=n.n(r),i=n(67294),a=n(76792),s=n(85893);const l=i.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=(0,a.vE)(t,"popover-header"),(0,s.jsx)(n,{ref:i,className:o()(e,t),...r}))));l.displayName="PopoverHeader";var c=l;const u=i.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},i)=>(t=(0,a.vE)(t,"popover-body"),(0,s.jsx)(n,{ref:i,className:o()(e,t),...r}))));u.displayName="PopoverBody";var d=u,f=n(79883),p=n(53706);const h=i.forwardRef((({bsPrefix:e,placement:t="right",className:n,style:r,children:i,body:l,arrowProps:c,hasDoneInitialMeasure:u,popper:h,show:m,...g},v)=>{const b=(0,a.vE)(e,"popover"),y=(0,a.SC)(),[A]=(null==t?void 0:t.split("-"))||[],x=(0,f.z)(A,y);let C=r;return m&&!u&&(C={...r,...(0,p.Z)(null==h?void 0:h.strategy)}),(0,s.jsxs)("div",{ref:v,role:"tooltip",style:C,"x-placement":A,className:o()(n,b,A&&`bs-popover-${x}`),...g,children:[(0,s.jsx)("div",{className:"popover-arrow",...c}),l?(0,s.jsx)(d,{children:i}):i]})}));var m=Object.assign(h,{Header:c,Body:d,POPPER_OFFSET:[0,8]})},73192:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(45697),o=n.n(r),i=(n(67294),n(83916)),a=n(96101),s=n(85893);const l=({transition:e,...t})=>(0,s.jsx)(i.Z,{...t,transition:(0,a.Z)(e)});l.displayName="TabContainer";var c=l,u=n(28752),d=n(75103);const f={eventKey:o().oneOfType([o().string,o().number]),title:o().node.isRequired,disabled:o().bool,tabClassName:o().string,tabAttrs:o().object},p=()=>{throw new Error("ReactBootstrap: The `Tab` component is not meant to be rendered! It's an abstract component that is only valid as a direct Child of the `Tabs` Component. For custom tabs components use TabPane and TabsContainer directly")};p.propTypes=f;var h=Object.assign(p,{Container:c,Content:u.Z,Pane:d.Z})},28752:function(e,t,n){"use strict";var r=n(67294),o=n(94184),i=n.n(o),a=n(76792),s=n(85893);const l=r.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=(0,a.vE)(t,"tab-content"),(0,s.jsx)(n,{ref:o,className:i()(e,t),...r}))));l.displayName="TabContent",t.Z=l},75103:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(67294),a=n(87126),s=n(76626),l=n(25963),c=n(76792),u=n(40193),d=n(96101),f=n(85893);const p=i.forwardRef((({bsPrefix:e,transition:t,...n},r)=>{const[{className:i,as:p="div",...h},{isActive:m,onEnter:g,onEntering:v,onEntered:b,onExit:y,onExiting:A,onExited:x,mountOnEnter:C,unmountOnExit:_,transition:w=u.Z}]=(0,l.W)({...n,transition:(0,d.Z)(t)}),k=(0,c.vE)(e,"tab-pane");return(0,f.jsx)(s.Z.Provider,{value:null,children:(0,f.jsx)(a.Z.Provider,{value:null,children:(0,f.jsx)(w,{in:m,onEnter:g,onEntering:v,onEntered:b,onExit:y,onExiting:A,onExited:x,mountOnEnter:C,unmountOnExit:_,children:(0,f.jsx)(p,{...h,ref:r,className:o()(i,k,m&&"active")})})})})}));p.displayName="TabPane",t.Z=p},40341:function(e,t,n){"use strict";n.d(t,{Z:function(){return V}});var r=n(67294),o=n(80789),i=n(83916),a=n(94184),s=n.n(a),l=(n(4391),n(60930)),c=n(14357),u=n(35654),d=n(86056),f=n(87126),p=n(76626),h=n(52747),m=n(78146),g=n(70861),v=n(85893);const b=["as","active","eventKey"];function y({key:e,onClick:t,active:n,id:o,role:i,disabled:a}){const s=(0,r.useContext)(f.Z),l=(0,r.useContext)(d.Z),c=(0,r.useContext)(p.Z);let u=n;const g={role:i};if(l){i||"tablist"!==l.role||(g.role="tab");const t=l.getControllerId(null!=e?e:null),r=l.getControlledId(null!=e?e:null);g[(0,h.PB)("event-key")]=e,g.id=t||o,u=null==n&&null!=e?l.activeKey===e:n,!u&&(null!=c&&c.unmountOnExit||null!=c&&c.mountOnEnter)||(g["aria-controls"]=r)}return"tab"===g.role&&(g["aria-selected"]=u,u||(g.tabIndex=-1),a&&(g.tabIndex=-1,g["aria-disabled"]=!0)),g.onClick=(0,m.Z)((n=>{a||(null==t||t(n),null!=e&&s&&!n.isPropagationStopped()&&s(e,n))})),[g,{isActive:u}]}const A=r.forwardRef(((e,t)=>{let{as:n=g.ZP,active:r,eventKey:o}=e,i=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,b);const[a,s]=y(Object.assign({key:(0,f.h)(o,i.href),active:r},i));return a[(0,h.PB)("active")]=s.isActive,(0,v.jsx)(n,Object.assign({},i,a,{ref:t}))}));A.displayName="NavItem";var x=A;const C=["as","onSelect","activeKey","role","onKeyDown"];const _=()=>{},w=(0,h.PB)("event-key"),k=r.forwardRef(((e,t)=>{let{as:n="div",onSelect:o,activeKey:i,role:a,onKeyDown:s}=e,m=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,C);const g=(0,c.Z)(),b=(0,r.useRef)(!1),y=(0,r.useContext)(f.Z),A=(0,r.useContext)(p.Z);let x,k;A&&(a=a||"tablist",i=A.activeKey,x=A.getControlledId,k=A.getControllerId);const S=(0,r.useRef)(null),E=e=>{const t=S.current;if(!t)return null;const n=(0,l.Z)(t,`[${w}]:not([aria-disabled=true])`),r=t.querySelector("[aria-selected=true]");if(!r||r!==document.activeElement)return null;const o=n.indexOf(r);if(-1===o)return null;let i=o+e;return i>=n.length&&(i=0),i<0&&(i=n.length-1),n[i]},B=(e,t)=>{null!=e&&(null==o||o(e,t),null==y||y(e,t))};(0,r.useEffect)((()=>{if(S.current&&b.current){const e=S.current.querySelector(`[${w}][aria-selected=true]`);null==e||e.focus()}b.current=!1}));const O=(0,u.Z)(t,S);return(0,v.jsx)(f.Z.Provider,{value:B,children:(0,v.jsx)(d.Z.Provider,{value:{role:a,activeKey:(0,f.h)(i),getControlledId:x||_,getControllerId:k||_},children:(0,v.jsx)(n,Object.assign({},m,{onKeyDown:e=>{if(null==s||s(e),!A)return;let t;switch(e.key){case"ArrowLeft":case"ArrowUp":t=E(-1);break;case"ArrowRight":case"ArrowDown":t=E(1);break;default:return}t&&(e.preventDefault(),B(t.dataset[(0,h.$F)("EventKey")]||null,e),b.current=!0,g())},ref:O,role:a}))})})}));k.displayName="Nav";var S=Object.assign(k,{Item:x}),E=n(76792),B=n(64819);const O=r.createContext(null);O.displayName="CardHeaderContext";var j=O;const T=r.forwardRef((({className:e,bsPrefix:t,as:n="div",...r},o)=>(t=(0,E.vE)(t,"nav-item"),(0,v.jsx)(n,{ref:o,className:s()(e,t),...r}))));T.displayName="NavItem";var P=T,M=n(13551);const D=r.forwardRef((({bsPrefix:e,className:t,as:n=M.Z,active:r,eventKey:o,disabled:i=!1,...a},l)=>{e=(0,E.vE)(e,"nav-link");const[c,u]=y({key:(0,f.h)(o,a.href),active:r,disabled:i,...a});return(0,v.jsx)(n,{...a,...c,ref:l,disabled:i,className:s()(t,e,i&&"disabled",u.isActive&&"active")})}));D.displayName="NavLink";var R=D;const L=r.forwardRef(((e,t)=>{const{as:n="div",bsPrefix:i,variant:a,fill:l=!1,justify:c=!1,navbar:u,navbarScroll:d,className:f,activeKey:p,...h}=(0,o.Ch)(e,{activeKey:"onSelect"}),m=(0,E.vE)(i,"nav");let g,b,y=!1;const A=(0,r.useContext)(B.Z),x=(0,r.useContext)(j);return A?(g=A.bsPrefix,y=null==u||u):x&&({cardHeaderBsPrefix:b}=x),(0,v.jsx)(S,{as:n,ref:t,activeKey:p,className:s()(f,{[m]:!y,[`${g}-nav`]:y,[`${g}-nav-scroll`]:y&&d,[`${b}-${a}`]:!!b,[`${m}-${a}`]:!!a,[`${m}-fill`]:l,[`${m}-justified`]:c}),...h})}));L.displayName="Nav";var I=Object.assign(L,{Item:P,Link:R}),N=n(28752),F=n(75103);function z(e,t){let n=0;return r.Children.map(e,(e=>r.isValidElement(e)?t(e,n++):e))}var q=n(96101);function U(e){let t;return function(e,t){let n=0;r.Children.forEach(e,(e=>{r.isValidElement(e)&&t(e,n++)}))}(e,(e=>{null==t&&(t=e.props.eventKey)})),t}function H(e){const{title:t,eventKey:n,disabled:r,tabClassName:o,tabAttrs:i,id:a}=e.props;return null==t?null:(0,v.jsx)(P,{as:"li",role:"presentation",children:(0,v.jsx)(R,{as:"button",type:"button",eventKey:n,disabled:r,id:a,className:o,...i,children:t})})}const W=e=>{const{id:t,onSelect:n,transition:r,mountOnEnter:a=!1,unmountOnExit:s=!1,variant:l="tabs",children:c,activeKey:u=U(c),...d}=(0,o.Ch)(e,{activeKey:"onSelect"});return(0,v.jsxs)(i.Z,{id:t,activeKey:u,onSelect:n,transition:(0,q.Z)(r),mountOnEnter:a,unmountOnExit:s,children:[(0,v.jsx)(I,{...d,role:"tablist",as:"ul",variant:l,children:z(c,H)}),(0,v.jsx)(N.Z,{children:z(c,(e=>{const t={...e.props};return delete t.title,delete t.disabled,delete t.tabClassName,delete t.tabAttrs,(0,v.jsx)(F.Z,{...t})}))})]})};W.displayName="Tabs";var V=W},76792:function(e,t,n){"use strict";n.d(t,{SC:function(){return c},vE:function(){return l}});var r=n(67294);n(85893);const o=["xxl","xl","lg","md","sm","xs"],i=r.createContext({prefixes:{},breakpoints:o,minBreakpoint:"xs"}),{Consumer:a,Provider:s}=i;function l(e,t){const{prefixes:n}=(0,r.useContext)(i);return e||n[t]||t}function c(){const{dir:e}=(0,r.useContext)(i);return"rtl"===e}},9337:function(e,t,n){"use strict";var r=n(67294),o=n(26273),i=n(35654),a=n(8285),s=n(85893);const l=r.forwardRef((({onEnter:e,onEntering:t,onEntered:n,onExit:l,onExiting:c,onExited:u,addEndListener:d,children:f,childRef:p,...h},m)=>{const g=(0,r.useRef)(null),v=(0,i.Z)(g,p),b=e=>{v((0,a.Z)(e))},y=e=>t=>{e&&g.current&&e(g.current,t)},A=(0,r.useCallback)(y(e),[e]),x=(0,r.useCallback)(y(t),[t]),C=(0,r.useCallback)(y(n),[n]),_=(0,r.useCallback)(y(l),[l]),w=(0,r.useCallback)(y(c),[c]),k=(0,r.useCallback)(y(u),[u]),S=(0,r.useCallback)(y(d),[d]);return(0,s.jsx)(o.ZP,{ref:m,...h,onEnter:A,onEntered:C,onEntering:x,onExit:_,onExited:k,onExiting:w,addEndListener:S,nodeRef:g,children:"function"==typeof f?(e,t)=>f(e,{...t,ref:b}):r.cloneElement(f,{ref:b})})}));t.Z=l},39602:function(e,t,n){"use strict";var r=n(67294),o=n(94184),i=n.n(o),a=n(85893);t.Z=e=>r.forwardRef(((t,n)=>(0,a.jsx)("div",{...t,ref:n,className:i()(t.className,e)})))},53706:function(e,t,n){"use strict";function r(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}n.d(t,{Z:function(){return r}})},96101:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(77514),o=n(40193);function i(e){return"boolean"==typeof e?e?o.Z:r.Z:e}},79883:function(e,t,n){"use strict";n.d(t,{z:function(){return i}});var r=n(67294);class o extends r.Component{}function i(e,t){let n=e;return"left"===e?n=t?"end":"start":"right"===e&&(n=t?"start":"end"),n}},8285:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e&&"setState"in e?r.findDOMNode(e):null!=e?e:null}},93825:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(91505),o=n(94305);function i(e,t){const n=(0,r.Z)(e,t)||"",o=-1===n.indexOf("ms")?1e3:1;return parseFloat(n)*o}function a(e,t){const n=i(e,"transitionDuration"),r=i(e,"transitionDelay"),a=(0,o.Z)(e,(n=>{n.target===e&&(a(),t(n))}),n+r)}},2146:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});n(41143),n(67294),n(35654);function r(e,t){return e}},46799:function(e,t,n){"use strict";var r=n(34155);t.ce=t.x1=t.$I=void 0;var o=c(n(67294)),i=c(n(45697)),a=c(n(17757)),s=c(n(18446)),l=c(n(24350));function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=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},u.apply(this,arguments)}function d(e){return d="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},d(e)}function f(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 p(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 h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(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 v(e,t,n){return t&&g(e.prototype,t),n&&g(e,n),e}function b(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function A(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x(this,n)}}function x(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}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}var k=void 0!==r&&r.env&&"production",S=function(e){b(n,e);var t=A(n);function n(){var e;return m(this,n),w(C(e=t.call(this)),"handleOnClick",(function(t){var n=e.chartInstance,r=e.props,o=r.getDatasetAtEvent,i=r.getElementAtEvent,a=r.getElementsAtEvent,s=r.onElementsClick;o&&o(n.getDatasetAtEvent(t),t),i&&i(n.getElementAtEvent(t),t),a&&a(n.getElementsAtEvent(t),t),s&&s(n.getElementsAtEvent(t),t)})),w(C(e),"ref",(function(t){e.element=t})),e.chartInstance=void 0,e}return v(n,[{key:"componentDidMount",value:function(){this.renderChart()}},{key:"componentDidUpdate",value:function(){if(this.props.redraw)return this.destroyChart(),void this.renderChart();this.updateChart()}},{key:"shouldComponentUpdate",value:function(e){var t=this.props,n=(t.redraw,t.type),r=t.options,o=t.plugins,i=t.legend,a=t.height,l=t.width;if(!0===e.redraw)return!0;if(a!==e.height||l!==e.width)return!0;if(n!==e.type)return!0;if(!(0,s.default)(i,e.legend))return!0;if(!(0,s.default)(r,e.options))return!0;var c=this.transformDataProp(e);return!(0,s.default)(this.shadowDataProp,c)||!(0,s.default)(o,e.plugins)}},{key:"componentWillUnmount",value:function(){this.destroyChart()}},{key:"transformDataProp",value:function(e){var t=e.data;return"function"==typeof t?t(this.element):t}},{key:"memoizeDataProps",value:function(){if(this.props.data){var e=this.transformDataProp(this.props);return this.shadowDataProp=h(h({},e),{},{datasets:e.datasets&&e.datasets.map((function(e){return h({},e)}))}),this.saveCurrentDatasets(),e}}},{key:"checkDatasets",value:function(e){var t="production"!==k&&"prod"!==k,r=this.props.datasetKeyProvider!==n.getLabelAsKey,o=e.length>1;if(t&&o&&!r){var i=!1;e.forEach((function(e){e.label||(i=!0)})),i&&console.error('[react-chartjs-2] Warning: Each dataset needs a unique key. By default, the "label" property on each dataset is used. Alternatively, you may provide a "datasetKeyProvider" as a prop that returns a unique key.')}}},{key:"getCurrentDatasets",value:function(){return this.chartInstance&&this.chartInstance.config.data&&this.chartInstance.config.data.datasets||[]}},{key:"saveCurrentDatasets",value:function(){var e=this;this.datasets=this.datasets||{},this.getCurrentDatasets().forEach((function(t){e.datasets[e.props.datasetKeyProvider(t)]=t}))}},{key:"updateChart",value:function(){var e=this,t=this.props.options,n=this.memoizeDataProps(this.props);if(this.chartInstance){t&&(this.chartInstance.options=a.default.helpers.configMerge(this.chartInstance.options,t));var r=this.getCurrentDatasets(),o=n.datasets||[];this.checkDatasets(r);var i=(0,l.default)(r,this.props.datasetKeyProvider);this.chartInstance.config.data.datasets=o.map((function(t){var n=i[e.props.datasetKeyProvider(t)];if(n&&n.type===t.type&&t.data){n.data.splice(t.data.length),t.data.forEach((function(e,r){n.data[r]=t.data[r]}));t.data;var r=f(t,["data"]);return h(h({},n),r)}return t}));n.datasets;var s=f(n,["datasets"]);this.chartInstance.config.data=h(h({},this.chartInstance.config.data),s),this.chartInstance.update()}}},{key:"renderChart",value:function(){var e=this.props,t=e.options,r=e.legend,o=e.type,i=e.plugins,l=this.element,c=this.memoizeDataProps();void 0===r||(0,s.default)(n.defaultProps.legend,r)||(t.legend=r),this.chartInstance=new a.default(l,{type:o,data:c,options:t,plugins:i})}},{key:"destroyChart",value:function(){if(this.chartInstance){this.saveCurrentDatasets();var e=Object.values(this.datasets);this.chartInstance.config.data.datasets=e,this.chartInstance.destroy()}}},{key:"render",value:function(){var e=this.props,t=e.height,n=e.width,r=e.id;return o.default.createElement("canvas",{ref:this.ref,height:t,width:n,id:r,onClick:this.handleOnClick})}}]),n}(o.default.Component);w(S,"getLabelAsKey",(function(e){return e.label})),w(S,"propTypes",{data:i.default.oneOfType([i.default.object,i.default.func]).isRequired,getDatasetAtEvent:i.default.func,getElementAtEvent:i.default.func,getElementsAtEvent:i.default.func,height:i.default.number,legend:i.default.object,onElementsClick:i.default.func,options:i.default.object,plugins:i.default.arrayOf(i.default.object),redraw:i.default.bool,type:function(e,t,n){if(!a.default.controllers[e[t]])return new Error("Invalid chart type `"+e[t]+"` supplied to `"+n+"`.")},width:i.default.number,datasetKeyProvider:i.default.func}),w(S,"defaultProps",{legend:{display:!0,position:"bottom"},type:"doughnut",height:150,width:300,redraw:!1,options:{},datasetKeyProvider:S.getLabelAsKey});var E=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"doughnut"}))}}]),n}(o.default.Component);t.$I=E;var B=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"pie"}))}}]),n}(o.default.Component);var O=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"line"}))}}]),n}(o.default.Component);t.x1=O;var j=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bar"}))}}]),n}(o.default.Component);var T=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"horizontalBar"}))}}]),n}(o.default.Component);var P=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"radar"}))}}]),n}(o.default.Component);var M=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"polarArea"}))}}]),n}(o.default.Component);var D=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"bubble"}))}}]),n}(o.default.Component);var R=function(e){b(n,e);var t=A(n);function n(){return m(this,n),t.apply(this,arguments)}return v(n,[{key:"render",value:function(){var e=this;return o.default.createElement(S,u({},this.props,{ref:function(t){return e.chartInstance=t&&t.chartInstance},type:"scatter"}))}}]),n}(o.default.Component);var L=a.default.defaults;t.ce=L},95340:function(e,t,n){"use strict";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=l(n(45697)),a=l(n(67294)),s=n(89571);function l(e){return e&&e.__esModule?e:{default:e}}var c={thousandSeparator:i.default.oneOfType([i.default.string,i.default.oneOf([!0])]),thousandSpacing:i.default.oneOf(["2","2s","3","4"]),decimalSeparator:i.default.string,decimalScale:i.default.number,fixedDecimalScale:i.default.bool,displayType:i.default.oneOf(["input","text"]),prefix:i.default.string,suffix:i.default.string,format:i.default.oneOfType([i.default.string,i.default.func]),removeFormatting:i.default.func,mask:i.default.oneOfType([i.default.string,i.default.arrayOf(i.default.string)]),value:i.default.oneOfType([i.default.number,i.default.string]),isNumericString:i.default.bool,customInput:i.default.func,allowNegative:i.default.bool,onValueChange:i.default.func,onKeyDown:i.default.func,onMouseUp:i.default.func,onChange:i.default.func,onFocus:i.default.func,onBlur:i.default.func,type:i.default.oneOf(["text","tel"]),isAllowed:i.default.func,renderText:i.default.func},u={displayType:"input",decimalSeparator:".",thousandSpacing:"3",fixedDecimalScale:!1,prefix:"",suffix:"",allowNegative:!0,isNumericString:!1,type:"text",onValueChange:s.noop,onChange:s.noop,onKeyDown:s.noop,onMouseUp:s.noop,onFocus:s.noop,onBlur:s.noop,isAllowed:s.returnTrue},d=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));n.validateProps();var r=n.formatValueProp();return n.state={value:r,numAsString:n.removeFormatting(r)},n.onChange=n.onChange.bind(n),n.onKeyDown=n.onKeyDown.bind(n),n.onMouseUp=n.onMouseUp.bind(n),n.onFocus=n.onFocus.bind(n),n.onBlur=n.onBlur.bind(n),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),o(t,[{key:"componentDidUpdate",value:function(e){this.updateValueIfRequired(e)}},{key:"updateValueIfRequired",value:function(e){var t=this.props,n=this.state;if(e!==t){this.validateProps();var r=n.value,o=n.numAsString||"",i=void 0===t.value?this.formatNumString(o):this.formatValueProp();i!==r&&this.setState({value:i,numAsString:this.removeFormatting(i)})}}},{key:"getFloatString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.getSeparators(),n=t.decimalSeparator,r=this.getNumberRegex(!0),o="-"===e[0];o&&(e=e.replace("-",""));var i=(e=(e.match(r)||[]).join("").replace(n,".")).indexOf(".");return-1!==i&&(e=e.substring(0,i)+"."+e.substring(i+1,e.length).replace(new RegExp((0,s.escapeRegExp)(n),"g"),"")),o&&(e="-"+e),e}},{key:"getNumberRegex",value:function(e,t){var n=this.props,r=n.format,o=n.decimalScale,i=this.getSeparators().decimalSeparator;return new RegExp("\\d"+(!i||0===o||t||r?"":"|"+(0,s.escapeRegExp)(i)),e?"g":void 0)}},{key:"getSeparators",value:function(){var e=this.props,t=e.decimalSeparator,n=e.thousandSpacing,r=this.props.thousandSeparator;return!0===r&&(r=","),{decimalSeparator:t,thousandSeparator:r,thousandSpacing:n}}},{key:"getMaskAtIndex",value:function(e){var t=this.props.mask,n=void 0===t?" ":t;return"string"==typeof n?n:n[e]||" "}},{key:"validateProps",value:function(){var e=this.props.mask,t=this.getSeparators(),n=t.decimalSeparator,r=t.thousandSeparator;if(n===r)throw new Error("\n          Decimal separator can't be same as thousand separator.\n\n          thousandSeparator: "+r+' (thousandSeparator = {true} is same as thousandSeparator = ",")\n          decimalSeparator: '+n+" (default value for decimalSeparator is .)\n       ");if(e&&("string"===e?e:e.toString()).match(/\d/g))throw new Error("\n          Mask "+e+" should not contain numeric character;\n        ")}},{key:"splitDecimal",value:function(e){var t=this.props.allowNegative,n="-"===e[0],r=n&&t,o=(e=e.replace("-","")).split(".");return{beforeDecimal:o[0],afterDecimal:o[1]||"",hasNagation:n,addNegation:r}}},{key:"setPatchedCaretPosition",value:function(e,t,n){(0,s.setCaretPosition)(e,t),setTimeout((function(){e.value===n&&(0,s.setCaretPosition)(e,t)}),0)}},{key:"correctCaretPosition",value:function(e,t,n){var r=this.props,o=r.prefix,i=r.suffix,a=r.format;if(!a){var l="-"===e[0];return Math.min(Math.max(t,o.length+(l?1:0)),e.length-i.length)}if("function"==typeof a)return t;if("#"===a[t]&&(0,s.charIsNumber)(e[t]))return t;if("#"===a[t-1]&&(0,s.charIsNumber)(e[t-1]))return t;var c=a.indexOf("#"),u=a.lastIndexOf("#");t=Math.min(Math.max(t,c),u+1);for(var d=a.substring(t,a.length).indexOf("#"),f=t,p=t+(-1===d?0:d);f>c&&("#"!==a[f]||!(0,s.charIsNumber)(e[f]));)f-=1;return!(0,s.charIsNumber)(e[p])||"left"===n&&t!==c||t-f<p-t?f+1:p}},{key:"getCaretPosition",value:function(e,t,n){var r=this.props.format,o=this.state.value,i=this.getNumberRegex(!0),a=(e.match(i)||[]).join(""),s=(t.match(i)||[]).join(""),l=void 0,c=void 0;for(l=0,c=0;c<n;c++){var u=e[c]||"",d=t[l]||"";if((u.match(i)||u===d)&&("0"!==u||!d.match(i)||"0"===d||a.length===s.length)){for(;u!==t[l]&&l<t.length;)l++;l++}}return"string"!=typeof r||o||(l=t.length),l=this.correctCaretPosition(t,l)}},{key:"removePrefixAndSuffix",value:function(e){var t=this.props,n=t.format,r=t.prefix,o=t.suffix;if(!n&&e){var i="-"===e[0];i&&(e=e.substring(1,e.length));var a=(e=r&&0===e.indexOf(r)?e.substring(r.length,e.length):e).lastIndexOf(o);e=o&&-1!==a&&a===e.length-o.length?e.substring(0,a):e,i&&(e="-"+e)}return e}},{key:"removePatternFormatting",value:function(e){for(var t=this.props.format.split("#").filter((function(e){return""!==e})),n=0,r="",o=0,i=t.length;o<=i;o++){var a=t[o]||"",s=o===i?e.length:e.indexOf(a,n);if(-1===s){r=e;break}r+=e.substring(n,s),n=s+a.length}return(r.match(/\d/g)||[]).join("")}},{key:"removeFormatting",value:function(e){var t=this.props,n=t.format,r=t.removeFormatting;return e?(n?e="string"==typeof n?this.removePatternFormatting(e):"function"==typeof r?r(e):(e.match(/\d/g)||[]).join(""):(e=this.removePrefixAndSuffix(e),e=this.getFloatString(e)),e):e}},{key:"formatWithPattern",value:function(e){for(var t=this.props.format,n=0,r=t.split(""),o=0,i=t.length;o<i;o++)"#"===t[o]&&(r[o]=e[n]||this.getMaskAtIndex(n),n+=1);return r.join("")}},{key:"formatThousand",value:function(e,t,n){var r=void 0;switch(n){case s.thousandGroupSpacing.two:r=/(\d)(?=(\d{2})+(?!\d))/g;break;case s.thousandGroupSpacing.twoScaled:r=/(\d)(?=(((\d{2})+)(\d{1})(?!\d)))/g;break;case s.thousandGroupSpacing.four:r=/(\d)(?=(\d{4})+(?!\d))/g;break;default:r=/(\d)(?=(\d{3})+(?!\d))/g}return e.replace(r,"$1"+t)}},{key:"formatAsNumber",value:function(e){var t=this.props,n=t.decimalScale,r=t.fixedDecimalScale,o=t.prefix,i=t.suffix,a=this.getSeparators(),l=a.thousandSeparator,c=a.decimalSeparator,u=a.thousandSpacing,d=-1!==e.indexOf(".")||n&&r,f=this.splitDecimal(e),p=f.beforeDecimal,h=f.afterDecimal,m=f.addNegation;return void 0!==n&&(h=(0,s.limitToScale)(h,n,r)),l&&(p=this.formatThousand(p,l,u)),o&&(p=o+p),i&&(h+=i),m&&(p="-"+p),e=p+(d&&c||"")+h}},{key:"formatNumString",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.format,n=e;return""===e?n="":"-"!==e||t?n="string"==typeof t?this.formatWithPattern(n):"function"==typeof t?t(n):this.formatAsNumber(n):(n="-",e=""),n}},{key:"formatValueProp",value:function(){var e=this.props,t=e.format,n=e.decimalScale,r=e.fixedDecimalScale,o=this.props,i=o.value,a=o.isNumericString;return void 0===i?"":("number"==typeof i&&(i=i.toString(),a=!0),a&&!t&&"number"==typeof n&&(i=(0,s.roundToPrecision)(i,n,r)),a?this.formatNumString(i):this.formatInput(i))}},{key:"formatNegation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.allowNegative,n=new RegExp("(-)"),r=new RegExp("(-)(.)*(-)"),o=n.test(e),i=r.test(e);return e=e.replace(/-/g,""),o&&!i&&t&&(e="-"+e),e}},{key:"formatInput",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=this.props.format;return t||(e=this.formatNegation(e)),e=this.removeFormatting(e),this.formatNumString(e)}},{key:"isCharacterAFormat",value:function(e,t){var n=this.props,r=n.format,o=n.prefix,i=n.suffix,a=n.decimalScale,s=n.fixedDecimalScale,l=this.getSeparators().decimalSeparator;return"string"==typeof r&&"#"!==r[e]||!(r||!(e<o.length||e>=t.length-i.length||a&&s&&t[e]===l))}},{key:"checkIfFormatGotDeleted",value:function(e,t,n){for(var r=e;r<t;r++)if(this.isCharacterAFormat(r,n))return!0;return!1}},{key:"correctInputValue",value:function(e,t,n){var r=this.props.format,o=this.state.numAsString||"";if(n.length>=t.length||!n.length)return n;var i=e,a=(0,s.splitString)(t,e),l=(0,s.splitString)(n,e),c=a[1].lastIndexOf(l[1]),u=i+(-1!==c?a[1].substring(0,c):"").length;if(this.checkIfFormatGotDeleted(i,u,t)&&(n=t),!r){var d=this.removeFormatting(n),f=this.splitDecimal(d),p=f.beforeDecimal,h=f.afterDecimal,m=f.addNegation;if(d.length<o.length&&""===p&&!parseFloat(h))return m?"-":""}return n}},{key:"onChange",value:function(e){e.persist();var t=e.target,n=t.value,r=this.state,o=this.props,i=o.isAllowed,a=r.value||"",s=Math.max(t.selectionStart,t.selectionEnd);n=this.correctInputValue(s,a,n);var l=this.formatInput(n)||"",c=this.removeFormatting(l),u={formattedValue:l,value:c,floatValue:parseFloat(c)};i(u)||(l=a),t.value=l;var d=this.getCaretPosition(n,l,s);this.setPatchedCaretPosition(t,d,l),l!==a?this.setState({value:l,numAsString:c},(function(){o.onValueChange(u),o.onChange(e)})):o.onChange(e)}},{key:"onBlur",value:function(e){var t=this.props,n=this.state,r=t.format,o=t.onBlur,i=n.numAsString,a=n.value;if(!r){i=(0,s.fixLeadingZero)(i);var l=this.formatNumString(i),c={formattedValue:l,value:i,floatValue:parseFloat(i)};if(l!==a)return e.persist(),void this.setState({value:l,numAsString:i},(function(){t.onValueChange(c),o(e)}))}o(e)}},{key:"onKeyDown",value:function(e){var t=e.target,n=e.key,r=t.selectionEnd,o=t.value,i=t.selectionStart,a=void 0,s=this.props,l=s.decimalScale,c=s.fixedDecimalScale,u=s.prefix,d=s.suffix,f=s.format,p=s.onKeyDown,h=void 0!==l&&c,m=this.getNumberRegex(!1,h),g=new RegExp("-"),v="string"==typeof f;if("ArrowLeft"===n||"Backspace"===n?a=i-1:"ArrowRight"===n?a=i+1:"Delete"===n&&(a=i),void 0!==a&&i===r){var b=a,y=v?f.indexOf("#"):u.length,A=v?f.lastIndexOf("#")+1:o.length-d.length;if("ArrowLeft"===n||"ArrowRight"===n){var x="ArrowLeft"===n?"left":"right";b=this.correctCaretPosition(o,a,x)}else if("Delete"!==n||m.test(o[a])||g.test(o[a])){if("Backspace"===n&&!m.test(o[a])&&!g.test(o[a])){for(;!m.test(o[b-1])&&b>y;)b--;b=this.correctCaretPosition(o,b,"left")}}else for(;!m.test(o[b])&&b<A;)b++;(b!==a||a<y||a>A)&&(e.preventDefault(),this.setPatchedCaretPosition(t,b,o)),e.isUnitTestRun&&this.setPatchedCaretPosition(t,b,o),this.props.onKeyDown(e)}else p(e)}},{key:"onMouseUp",value:function(e){var t=e.target,n=t.selectionStart,r=t.selectionEnd,o=t.value;if(n===r){var i=this.correctCaretPosition(o,n);i!==n&&this.setPatchedCaretPosition(t,i,o)}this.props.onMouseUp(e)}},{key:"onFocus",value:function(e){var t=this;e.persist(),setTimeout((function(){var n=e.target,r=n.selectionStart,o=n.value,i=t.correctCaretPosition(o,r);i!==r&&t.setPatchedCaretPosition(n,i,o),t.props.onFocus(e)}))}},{key:"render",value:function(){var e=this.props,t=e.type,n=e.displayType,o=e.customInput,i=e.renderText,l=this.state.value,u=(0,s.omit)(this.props,c),d=r({},u,{type:t,value:l,onChange:this.onChange,onKeyDown:this.onKeyDown,onMouseUp:this.onMouseUp,onFocus:this.onFocus,onBlur:this.onBlur});if("text"===n)return i?i(l)||null:a.default.createElement("span",u,l);if(o){var f=o;return a.default.createElement(f,d)}return a.default.createElement("input",d)}}]),t}(a.default.Component);d.propTypes=c,d.defaultProps=u,e.exports=d},89571:function(e,t){"use strict";function n(e,t,n){for(var r="",o=n?"0":"",i=0;i<=t-1;i++)r+=e[i]||o;return r}Object.defineProperty(t,"__esModule",{value:!0}),t.noop=function(){},t.returnTrue=function(){return!0},t.charIsNumber=function(e){return!!(e||"").match(/\d/)},t.escapeRegExp=function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},t.fixLeadingZero=function(e){if(!e)return e;var t="-"===e[0];t&&(e=e.substring(1,e.length));var n=e.split("."),r=n[0].replace(/^0+/,"")||"0",o=n[1]||"";return(t?"-":"")+r+(o?"."+o:"")},t.splitString=function(e,t){return[e.substring(0,t),e.substring(t)]},t.limitToScale=n,t.roundToPrecision=function(e,t,r){var o=e.split("."),i=parseFloat("0."+(o[1]||"0")).toFixed(t).split("."),a=o[0].split("").reverse().reduce((function(e,t,n){return e.length>n?(Number(e[0])+Number(t)).toString()+e.substring(1,e.length):t+e}),i[0]),s=n(i[1]||"",(o[1]||"").length,r);return a+(s?"."+s:"")},t.omit=function(e,t){var n={};return Object.keys(e).forEach((function(r){t[r]||(n[r]=e[r])})),n},t.setCaretPosition=function(e,t){if(e.value=e.value,null!==e){if(e.createTextRange){var n=e.createTextRange();return n.move("character",t),n.select(),!0}return e.selectionStart||0===e.selectionStart?(e.focus(),e.setSelectionRange(t,t),!0):(e.focus(),!1)}};t.thousandGroupSpacing={two:"2",twoScaled:"2s",three:"3",four:"4"}},9198:function(e,t,n){!function(e,t,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,b,y,A,x,C,_,w,k,S,E,B,O,j,T,P,M,D,R,L,I,N,F,z,q,U,H,W,V,Y,Z,G,K,$,X,Q,J,ee,te,ne,re,oe,ie,ae,se,le,ce){"use strict";function ue(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var de=ue(t),fe=ue(o),pe=ue(i),he=ue(a),me=ue(s),ge=ue(l),ve=ue(c),be=ue(u),ye=ue(d),Ae=ue(f),xe=ue(p),Ce=ue(g),_e=ue(v),we=ue(b),ke=ue(y),Se=ue(A),Ee=ue(x),Be=ue(C),Oe=ue(_),je=ue(w),Te=ue(k),Pe=ue(S),Me=ue(E),De=ue(B),Re=ue(O),Le=ue(j),Ie=ue(T),Ne=ue(P),Fe=ue(M),ze=ue(D),qe=ue(R),Ue=ue(L),He=ue(I),We=ue(N),Ve=ue(F),Ye=ue(q),Ze=ue(U),Ge=ue(H),Ke=ue(W),$e=ue(V),Xe=ue(Y),Qe=ue(Z),Je=ue($),et=ue(X),tt=ue(Q),nt=ue(J),rt=ue(ee),ot=ue(te),it=ue(ne),at=ue(re),st=ue(oe),lt=ue(ie),ct=ue(ae),ut=ue(se),dt=ue(ce);function ft(e){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ht(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 mt(e,t,n){return t&&ht(e.prototype,t),n&&ht(e,n),e}function gt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vt(){return(vt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function bt(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 yt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(n),!0).forEach((function(t){gt(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function At(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}}),t&&Ct(e,t)}function xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ct(e,t){return(Ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _t(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wt(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?_t(e):t}function kt(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=xt(e);if(t){var o=xt(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return wt(this,n)}}function St(e){return function(e){if(Array.isArray(e))return Et(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Et(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)?Et(e,t):void 0}}(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 Et(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 Bt(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"})}}function Ot(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"})}}var jt={p:Ot,P:function(e,t){var n,r=e.match(/(P+)(p+)?/),o=r[1],i=r[2];if(!i)return Bt(e,t);switch(o){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Bt(o,t)).replace("{{time}}",Ot(i,t))}},Tt=12,Pt=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g;function Mt(e){var t=e?"string"==typeof e||e instanceof String?ct.default(e):st.default(e):new Date;return Rt(t)?t:null}function Dt(e,t,n,r){var o=null,i=Qt(n)||Qt(Xt()),a=!0;return Array.isArray(t)?(t.forEach((function(t){var n=lt.default(e,t,new Date,{locale:i});r&&(a=Rt(n)&&e===me.default(n,t,{awareOfUnicodeTokens:!0})),Rt(n)&&a&&(o=n)})),o):(o=lt.default(e,t,new Date,{locale:i}),r?a=Rt(o)&&e===me.default(o,t,{awareOfUnicodeTokens:!0}):Rt(o)||(t=t.match(Pt).map((function(e){var t=e[0];return"p"===t||"P"===t?i?(0,jt[t])(e,i.formatLong):t:e})).join(""),e.length>0&&(o=lt.default(e,t.slice(0,e.length),new Date)),Rt(o)||(o=new Date(e))),Rt(o)&&a?o:null)}function Rt(e){return he.default(e)&&ot.default(e,new Date("1/1/1000"))}function Lt(e,t,n){if("en"===n)return me.default(e,t,{awareOfUnicodeTokens:!0});var r=Qt(n);return n&&!r&&console.warn('A locale object was not found for the provided string ["'.concat(n,'"].')),!r&&Xt()&&Qt(Xt())&&(r=Qt(Xt())),me.default(e,t,{locale:r||null,awareOfUnicodeTokens:!0})}function It(e,t){var n=t.hour,r=void 0===n?0:n,o=t.minute,i=void 0===o?0:o,a=t.second,s=void 0===a?0:a;return Ne.default(Ie.default(Le.default(e,s),i),r)}function Nt(e,t){var n=t&&Qt(t)||Xt()&&Qt(Xt());return Te.default(e,n?{locale:n}:null)}function Ft(e,t){return Lt(e,"ddd",t)}function zt(e){return Ze.default(e)}function qt(e,t){var n=Qt(t||Xt());return Ge.default(e,{locale:n})}function Ut(e){return Ke.default(e)}function Ht(e){return Xe.default(e)}function Wt(e){return $e.default(e)}function Vt(e,t){return e&&t?nt.default(e,t):!e&&!t}function Yt(e,t){return e&&t?tt.default(e,t):!e&&!t}function Zt(e,t){return e&&t?rt.default(e,t):!e&&!t}function Gt(e,t){return e&&t?et.default(e,t):!e&&!t}function Kt(e,t){return e&&t?Je.default(e,t):!e&&!t}function $t(e,t,n){var r,o=Ze.default(t),i=Qe.default(n);try{r=at.default(e,{start:o,end:i})}catch(e){r=!1}return r}function Xt(){return("undefined"!=typeof window?window:n.g).__localeId__}function Qt(e){if("string"==typeof e){var t="undefined"!=typeof window?window:n.g;return t.__localeData__?t.__localeData__[e]:null}return e}function Jt(e,t){return Lt(Fe.default(Mt(),e),"LLLL",t)}function en(e,t){return Lt(Fe.default(Mt(),e),"LLL",t)}function tn(e,t){return Lt(ze.default(Mt(),e),"QQQ",t)}function nn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return un(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Gt(e,t)}))||i&&!i.some((function(t){return Gt(e,t)}))||a&&!a(Mt(e))||!1}function rn(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).excludeDates;return t&&t.some((function(t){return Gt(e,t)}))||!1}function on(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return un(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Yt(e,t)}))||i&&!i.some((function(t){return Yt(e,t)}))||a&&!a(Mt(e))||!1}function an(e,t,n,r){var o=De.default(e),i=Pe.default(e),a=De.default(t),s=Pe.default(t),l=De.default(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function sn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate,o=t.excludeDates,i=t.includeDates,a=t.filterDate;return un(e,{minDate:n,maxDate:r})||o&&o.some((function(t){return Zt(e,t)}))||i&&!i.some((function(t){return Zt(e,t)}))||a&&!a(Mt(e))||!1}function ln(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return un(new Date(e,0,1),{minDate:n,maxDate:r})||!1}function cn(e,t,n,r){var o=De.default(e),i=Me.default(e),a=De.default(t),s=Me.default(t),l=De.default(r);return o===a&&o===l?i<=n&&n<=s:o<a?l===o&&i<=n||l===a&&s>=n||l<a&&l>o:void 0}function un(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.maxDate;return n&&We.default(e,n)<0||r&&We.default(e,r)>0}function dn(e,t){return t.some((function(t){return Be.default(t)===Be.default(e)&&Ee.default(t)===Ee.default(e)}))}function fn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeTimes,r=t.includeTimes,o=t.filterTime;return n&&dn(e,n)||r&&!dn(e,r)||o&&!o(e)||!1}function pn(e,t){var n=t.minTime,r=t.maxTime;if(!n||!r)throw new Error("Both minTime and maxTime props required");var o,i=Mt(),a=Ne.default(Ie.default(i,Ee.default(e)),Be.default(e)),s=Ne.default(Ie.default(i,Ee.default(n)),Be.default(n)),l=Ne.default(Ie.default(i,Ee.default(r)),Be.default(r));try{o=!at.default(a,{start:s,end:l})}catch(e){o=!1}return o}function hn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=we.default(e,1);return n&&Ve.default(n,o)>0||r&&r.every((function(e){return Ve.default(e,o)>0}))||!1}function mn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=Ae.default(e,1);return n&&Ve.default(o,n)>0||r&&r.every((function(e){return Ve.default(o,e)>0}))||!1}function gn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.includeDates,o=ke.default(e,1);return n&&Ye.default(n,o)>0||r&&r.every((function(e){return Ye.default(e,o)>0}))||!1}function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.includeDates,o=xe.default(e,1);return n&&Ye.default(o,n)>0||r&&r.every((function(e){return Ye.default(o,e)>0}))||!1}function bn(e){var t=e.minDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return We.default(e,t)>=0}));return Ue.default(r)}return n?Ue.default(n):t}function yn(e){var t=e.maxDate,n=e.includeDates;if(n&&t){var r=n.filter((function(e){return We.default(e,t)<=0}));return He.default(r)}return n?He.default(n):t}function An(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"react-datepicker__day--highlighted",n=new Map,r=0,o=e.length;r<o;r++){var i=e[r];if(pe.default(i)){var a=Lt(i,"MM.dd.yyyy"),s=n.get(a)||[];s.includes(t)||(s.push(t),n.set(a,s))}else if("object"===ft(i)){var l=Object.keys(i),c=l[0],u=i[l[0]];if("string"==typeof c&&u.constructor===Array)for(var d=0,f=u.length;d<f;d++){var p=Lt(u[d],"MM.dd.yyyy"),h=n.get(p)||[];h.includes(c)||(h.push(c),n.set(p,h))}}}return n}function xn(e,t,n,r,o){for(var i=o.length,a=[],s=0;s<i;s++){var l=ge.default(ve.default(e,Be.default(o[s])),Ee.default(o[s])),c=ge.default(e,(n+1)*r);ot.default(l,t)&&it.default(l,c)&&a.push(o[s])}return a}function Cn(e){return e<10?"0".concat(e):"".concat(e)}function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tt,n=Math.ceil(De.default(e)/t)*t;return{startPeriod:n-(t-1),endPeriod:n}}function wn(e,t,n,r){for(var o=[],i=0;i<2*t+1;i++){var a=e+t-i,s=!0;n&&(s=De.default(n)<=a),r&&s&&(s=De.default(r)>=a),s&&o.push(a)}return o}var kn=function(e){At(n,e);var t=kt(n);function n(e){var r;pt(this,n),gt(_t(r=t.call(this,e)),"renderOptions",(function(){var e=r.props.year,t=r.state.yearsList.map((function(t){return de.default.createElement("div",{className:e===t?"react-datepicker__year-option react-datepicker__year-option--selected_year":"react-datepicker__year-option",key:t,onClick:r.onChange.bind(_t(r),t)},e===t?de.default.createElement("span",{className:"react-datepicker__year-option--selected"},"✓"):"",t)})),n=r.props.minDate?De.default(r.props.minDate):null,o=r.props.maxDate?De.default(r.props.maxDate):null;return o&&r.state.yearsList.find((function(e){return e===o}))||t.unshift(de.default.createElement("div",{className:"react-datepicker__year-option",key:"upcoming",onClick:r.incrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-upcoming"}))),n&&r.state.yearsList.find((function(e){return e===n}))||t.push(de.default.createElement("div",{className:"react-datepicker__year-option",key:"previous",onClick:r.decrementYears},de.default.createElement("a",{className:"react-datepicker__navigation react-datepicker__navigation--years react-datepicker__navigation--years-previous"}))),t})),gt(_t(r),"onChange",(function(e){r.props.onChange(e)})),gt(_t(r),"handleClickOutside",(function(){r.props.onCancel()})),gt(_t(r),"shiftYears",(function(e){var t=r.state.yearsList.map((function(t){return t+e}));r.setState({yearsList:t})})),gt(_t(r),"incrementYears",(function(){return r.shiftYears(1)})),gt(_t(r),"decrementYears",(function(){return r.shiftYears(-1)}));var o=e.yearDropdownItemNumber,i=e.scrollableYearDropdown,a=o||(i?10:5);return r.state={yearsList:wn(r.props.year,a,r.props.minDate,r.props.maxDate)},r}return mt(n,[{key:"render",value:function(){var e=fe.default({"react-datepicker__year-dropdown":!0,"react-datepicker__year-dropdown--scrollable":this.props.scrollableYearDropdown});return de.default.createElement("div",{className:e},this.renderOptions())}}]),n}(de.default.Component),Sn=ut.default(kn),En=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),gt(_t(e),"renderSelectOptions",(function(){for(var t=e.props.minDate?De.default(e.props.minDate):1900,n=e.props.maxDate?De.default(e.props.maxDate):2100,r=[],o=t;o<=n;o++)r.push(de.default.createElement("option",{key:o,value:o},o));return r})),gt(_t(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),gt(_t(e),"renderSelectMode",(function(){return de.default.createElement("select",{value:e.props.year,className:"react-datepicker__year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),gt(_t(e),"renderReadView",(function(t){return de.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__year-read-view",onClick:function(t){return e.toggleDropdown(t)}},de.default.createElement("span",{className:"react-datepicker__year-read-view--down-arrow"}),de.default.createElement("span",{className:"react-datepicker__year-read-view--selected-year"},e.props.year))})),gt(_t(e),"renderDropdown",(function(){return de.default.createElement(Sn,{key:"dropdown",year:e.props.year,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableYearDropdown:e.props.scrollableYearDropdown,yearDropdownItemNumber:e.props.yearDropdownItemNumber})})),gt(_t(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),gt(_t(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.year&&e.props.onChange(t)})),gt(_t(e),"toggleDropdown",(function(t){e.setState({dropdownVisible:!e.state.dropdownVisible},(function(){e.props.adjustDateOnChange&&e.handleYearChange(e.props.date,t)}))})),gt(_t(e),"handleYearChange",(function(t,n){e.onSelect(t,n),e.setOpen()})),gt(_t(e),"onSelect",(function(t,n){e.props.onSelect&&e.props.onSelect(t,n)})),gt(_t(e),"setOpen",(function(){e.props.setOpen&&e.props.setOpen(!0)})),e}return mt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return de.default.createElement("div",{className:"react-datepicker__year-dropdown-container react-datepicker__year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(de.default.Component),Bn=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"renderOptions",(function(){return e.props.monthNames.map((function(t,n){return de.default.createElement("div",{className:e.props.month===n?"react-datepicker__month-option react-datepicker__month-option--selected_month":"react-datepicker__month-option",key:t,onClick:e.onChange.bind(_t(e),n)},e.props.month===n?de.default.createElement("span",{className:"react-datepicker__month-option--selected"},"✓"):"",t)}))})),gt(_t(e),"onChange",(function(t){return e.props.onChange(t)})),gt(_t(e),"handleClickOutside",(function(){return e.props.onCancel()})),e}return mt(n,[{key:"render",value:function(){return de.default.createElement("div",{className:"react-datepicker__month-dropdown"},this.renderOptions())}}]),n}(de.default.Component),On=ut.default(Bn),jn=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),gt(_t(e),"renderSelectOptions",(function(e){return e.map((function(e,t){return de.default.createElement("option",{key:t,value:t},e)}))})),gt(_t(e),"renderSelectMode",(function(t){return de.default.createElement("select",{value:e.props.month,className:"react-datepicker__month-select",onChange:function(t){return e.onChange(t.target.value)}},e.renderSelectOptions(t))})),gt(_t(e),"renderReadView",(function(t,n){return de.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-read-view",onClick:e.toggleDropdown},de.default.createElement("span",{className:"react-datepicker__month-read-view--down-arrow"}),de.default.createElement("span",{className:"react-datepicker__month-read-view--selected-month"},n[e.props.month]))})),gt(_t(e),"renderDropdown",(function(t){return de.default.createElement(On,{key:"dropdown",month:e.props.month,monthNames:t,onChange:e.onChange,onCancel:e.toggleDropdown})})),gt(_t(e),"renderScrollMode",(function(t){var n=e.state.dropdownVisible,r=[e.renderReadView(!n,t)];return n&&r.unshift(e.renderDropdown(t)),r})),gt(_t(e),"onChange",(function(t){e.toggleDropdown(),t!==e.props.month&&e.props.onChange(t)})),gt(_t(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return mt(n,[{key:"render",value:function(){var e,t=this,n=[0,1,2,3,4,5,6,7,8,9,10,11].map(this.props.useShortMonthInDropdown?function(e){return en(e,t.props.locale)}:function(e){return Jt(e,t.props.locale)});switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode(n);break;case"select":e=this.renderSelectMode(n)}return de.default.createElement("div",{className:"react-datepicker__month-dropdown-container react-datepicker__month-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(de.default.Component);function Tn(e,t){for(var n=[],r=Ut(e),o=Ut(t);!ot.default(r,o);)n.push(Mt(r)),r=Ae.default(r,1);return n}var Pn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),gt(_t(r=t.call(this,e)),"renderOptions",(function(){return r.state.monthYearsList.map((function(e){var t=Re.default(e),n=Vt(r.props.date,e)&&Yt(r.props.date,e);return de.default.createElement("div",{className:n?"react-datepicker__month-year-option --selected_month-year":"react-datepicker__month-year-option",key:t,onClick:r.onChange.bind(_t(r),t)},n?de.default.createElement("span",{className:"react-datepicker__month-year-option--selected"},"✓"):"",Lt(e,r.props.dateFormat,r.props.locale))}))})),gt(_t(r),"onChange",(function(e){return r.props.onChange(e)})),gt(_t(r),"handleClickOutside",(function(){r.props.onCancel()})),r.state={monthYearsList:Tn(r.props.minDate,r.props.maxDate)},r}return mt(n,[{key:"render",value:function(){var e=fe.default({"react-datepicker__month-year-dropdown":!0,"react-datepicker__month-year-dropdown--scrollable":this.props.scrollableMonthYearDropdown});return de.default.createElement("div",{className:e},this.renderOptions())}}]),n}(de.default.Component),Mn=ut.default(Pn),Dn=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"state",{dropdownVisible:!1}),gt(_t(e),"renderSelectOptions",(function(){for(var t=Ut(e.props.minDate),n=Ut(e.props.maxDate),r=[];!ot.default(t,n);){var o=Re.default(t);r.push(de.default.createElement("option",{key:o,value:o},Lt(t,e.props.dateFormat,e.props.locale))),t=Ae.default(t,1)}return r})),gt(_t(e),"onSelectChange",(function(t){e.onChange(t.target.value)})),gt(_t(e),"renderSelectMode",(function(){return de.default.createElement("select",{value:Re.default(Ut(e.props.date)),className:"react-datepicker__month-year-select",onChange:e.onSelectChange},e.renderSelectOptions())})),gt(_t(e),"renderReadView",(function(t){var n=Lt(e.props.date,e.props.dateFormat,e.props.locale);return de.default.createElement("div",{key:"read",style:{visibility:t?"visible":"hidden"},className:"react-datepicker__month-year-read-view",onClick:function(t){return e.toggleDropdown(t)}},de.default.createElement("span",{className:"react-datepicker__month-year-read-view--down-arrow"}),de.default.createElement("span",{className:"react-datepicker__month-year-read-view--selected-month-year"},n))})),gt(_t(e),"renderDropdown",(function(){return de.default.createElement(Mn,{key:"dropdown",date:e.props.date,dateFormat:e.props.dateFormat,onChange:e.onChange,onCancel:e.toggleDropdown,minDate:e.props.minDate,maxDate:e.props.maxDate,scrollableMonthYearDropdown:e.props.scrollableMonthYearDropdown,locale:e.props.locale})})),gt(_t(e),"renderScrollMode",(function(){var t=e.state.dropdownVisible,n=[e.renderReadView(!t)];return t&&n.unshift(e.renderDropdown()),n})),gt(_t(e),"onChange",(function(t){e.toggleDropdown();var n=Mt(parseInt(t));Vt(e.props.date,n)&&Yt(e.props.date,n)||e.props.onChange(n)})),gt(_t(e),"toggleDropdown",(function(){return e.setState({dropdownVisible:!e.state.dropdownVisible})})),e}return mt(n,[{key:"render",value:function(){var e;switch(this.props.dropdownMode){case"scroll":e=this.renderScrollMode();break;case"select":e=this.renderSelectMode()}return de.default.createElement("div",{className:"react-datepicker__month-year-dropdown-container react-datepicker__month-year-dropdown-container--".concat(this.props.dropdownMode)},e)}}]),n}(de.default.Component),Rn=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"dayEl",de.default.createRef()),gt(_t(e),"handleClick",(function(t){!e.isDisabled()&&e.props.onClick&&e.props.onClick(t)})),gt(_t(e),"handleMouseEnter",(function(t){!e.isDisabled()&&e.props.onMouseEnter&&e.props.onMouseEnter(t)})),gt(_t(e),"handleOnKeyDown",(function(t){" "===t.key&&(t.preventDefault(),t.key="Enter"),e.props.handleOnKeyDown(t)})),gt(_t(e),"isSameDay",(function(t){return Gt(e.props.day,t)})),gt(_t(e),"isKeyboardSelected",(function(){return!e.props.disabledKeyboardNavigation&&!e.isSameDay(e.props.selected)&&e.isSameDay(e.props.preSelection)})),gt(_t(e),"isDisabled",(function(){return nn(e.props.day,e.props)})),gt(_t(e),"isExcluded",(function(){return rn(e.props.day,e.props)})),gt(_t(e),"getHighLightedClass",(function(t){var n=e.props,r=n.day,o=n.highlightDates;if(!o)return!1;var i=Lt(r,"MM.dd.yyyy");return o.get(i)})),gt(_t(e),"isInRange",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&$t(n,r,o)})),gt(_t(e),"isInSelectingRange",(function(){var t=e.props,n=t.day,r=t.selectsStart,o=t.selectsEnd,i=t.selectsRange,a=t.selectingDate,s=t.startDate,l=t.endDate;return!(!(r||o||i)||!a||e.isDisabled())&&(r&&l&&(it.default(a,l)||Kt(a,l))?$t(n,a,l):(o&&s&&(ot.default(a,s)||Kt(a,s))||!(!i||!s||l||!ot.default(a,s)&&!Kt(a,s)))&&$t(n,s,a))})),gt(_t(e),"isSelectingRangeStart",(function(){if(!e.isInSelectingRange())return!1;var t=e.props,n=t.day,r=t.selectingDate,o=t.startDate;return Gt(n,t.selectsStart?r:o)})),gt(_t(e),"isSelectingRangeEnd",(function(){if(!e.isInSelectingRange())return!1;var t=e.props,n=t.day,r=t.selectingDate,o=t.endDate;return Gt(n,t.selectsEnd?r:o)})),gt(_t(e),"isRangeStart",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&Gt(r,n)})),gt(_t(e),"isRangeEnd",(function(){var t=e.props,n=t.day,r=t.startDate,o=t.endDate;return!(!r||!o)&&Gt(o,n)})),gt(_t(e),"isWeekend",(function(){var t=Oe.default(e.props.day);return 0===t||6===t})),gt(_t(e),"isOutsideMonth",(function(){return void 0!==e.props.month&&e.props.month!==Pe.default(e.props.day)})),gt(_t(e),"getClassNames",(function(t){var n=e.props.dayClassName?e.props.dayClassName(t):void 0;return fe.default("react-datepicker__day",n,"react-datepicker__day--"+Ft(e.props.day),{"react-datepicker__day--disabled":e.isDisabled(),"react-datepicker__day--excluded":e.isExcluded(),"react-datepicker__day--selected":e.isSameDay(e.props.selected),"react-datepicker__day--keyboard-selected":e.isKeyboardSelected(),"react-datepicker__day--range-start":e.isRangeStart(),"react-datepicker__day--range-end":e.isRangeEnd(),"react-datepicker__day--in-range":e.isInRange(),"react-datepicker__day--in-selecting-range":e.isInSelectingRange(),"react-datepicker__day--selecting-range-start":e.isSelectingRangeStart(),"react-datepicker__day--selecting-range-end":e.isSelectingRangeEnd(),"react-datepicker__day--today":e.isSameDay(Mt()),"react-datepicker__day--weekend":e.isWeekend(),"react-datepicker__day--outside-month":e.isOutsideMonth()},e.getHighLightedClass("react-datepicker__day--highlighted"))})),gt(_t(e),"getAriaLabel",(function(){var t=e.props,n=t.day,r=t.ariaLabelPrefixWhenEnabled,o=void 0===r?"Choose":r,i=t.ariaLabelPrefixWhenDisabled,a=void 0===i?"Not available":i,s=e.isDisabled()||e.isExcluded()?a:o;return"".concat(s," ").concat(Lt(n,"PPPP"))})),gt(_t(e),"getTabIndex",(function(t,n){var r=t||e.props.selected,o=n||e.props.preSelection;return e.isKeyboardSelected()||e.isSameDay(r)&&Gt(o,r)?0:-1})),gt(_t(e),"handleFocusDay",(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=!1;0===e.getTabIndex()&&!t.isInputFocused&&e.isSameDay(e.props.preSelection)&&(document.activeElement&&document.activeElement!==document.body||(n=!0),e.props.inline&&!e.props.shouldFocusDayInline&&(n=!1),e.props.containerRef&&e.props.containerRef.current&&e.props.containerRef.current.contains(document.activeElement)&&document.activeElement.classList.contains("react-datepicker__day")&&(n=!0)),n&&e.dayEl.current.focus({preventScroll:!0})})),gt(_t(e),"renderDayContents",(function(){if(e.isOutsideMonth()){if(e.props.monthShowsDuplicateDaysEnd&&je.default(e.props.day)<10)return null;if(e.props.monthShowsDuplicateDaysStart&&je.default(e.props.day)>20)return null}return e.props.renderDayContents?e.props.renderDayContents(je.default(e.props.day),e.props.day):je.default(e.props.day)})),gt(_t(e),"render",(function(){return de.default.createElement("div",{ref:e.dayEl,className:e.getClassNames(e.props.day),onKeyDown:e.handleOnKeyDown,onClick:e.handleClick,onMouseEnter:e.handleMouseEnter,tabIndex:e.getTabIndex(),"aria-label":e.getAriaLabel(),role:"button","aria-disabled":e.isDisabled()},e.renderDayContents())})),e}return mt(n,[{key:"componentDidMount",value:function(){this.handleFocusDay()}},{key:"componentDidUpdate",value:function(e){this.handleFocusDay(e)}}]),n}(de.default.Component),Ln=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"handleClick",(function(t){e.props.onClick&&e.props.onClick(t)})),e}return mt(n,[{key:"render",value:function(){var e=this.props,t=e.weekNumber,n=e.ariaLabelPrefix,r=void 0===n?"week ":n,o={"react-datepicker__week-number":!0,"react-datepicker__week-number--clickable":!!e.onClick};return de.default.createElement("div",{className:fe.default(o),"aria-label":"".concat(r," ").concat(this.props.weekNumber),onClick:this.handleClick},t)}}]),n}(de.default.Component),In=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n)})),gt(_t(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),gt(_t(e),"handleWeekClick",(function(t,n,r){"function"==typeof e.props.onWeekSelect&&e.props.onWeekSelect(t,n,r),e.props.shouldCloseOnSelect&&e.props.setOpen(!1)})),gt(_t(e),"formatWeekNumber",(function(t){return e.props.formatWeekNumber?e.props.formatWeekNumber(t):Nt(t)})),gt(_t(e),"renderDays",(function(){var t=qt(e.props.day,e.props.locale),n=[],r=e.formatWeekNumber(t);if(e.props.showWeekNumber){var o=e.props.onWeekSelect?e.handleWeekClick.bind(_t(e),t,r):void 0;n.push(de.default.createElement(Ln,{key:"W",weekNumber:r,onClick:o,ariaLabelPrefix:e.props.ariaLabelPrefix}))}return n.concat([0,1,2,3,4,5,6].map((function(n){var r=be.default(t,n);return de.default.createElement(Rn,{ariaLabelPrefixWhenEnabled:e.props.chooseDayAriaLabelPrefix,ariaLabelPrefixWhenDisabled:e.props.disabledDayAriaLabelPrefix,key:r.valueOf(),day:r,month:e.props.month,onClick:e.handleDayClick.bind(_t(e),r),onMouseEnter:e.handleDayMouseEnter.bind(_t(e),r),minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,includeDates:e.props.includeDates,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,renderDayContents:e.props.renderDayContents,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart})})))})),e}return mt(n,[{key:"render",value:function(){return de.default.createElement("div",{className:"react-datepicker__week"},this.renderDays())}}],[{key:"defaultProps",get:function(){return{shouldCloseOnSelect:!0}}}]),n}(de.default.Component),Nn=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"MONTH_REFS",St(Array(12)).map((function(){return de.default.createRef()}))),gt(_t(e),"isDisabled",(function(t){return nn(t,e.props)})),gt(_t(e),"isExcluded",(function(t){return rn(t,e.props)})),gt(_t(e),"handleDayClick",(function(t,n){e.props.onDayClick&&e.props.onDayClick(t,n,e.props.orderInDisplay)})),gt(_t(e),"handleDayMouseEnter",(function(t){e.props.onDayMouseEnter&&e.props.onDayMouseEnter(t)})),gt(_t(e),"handleMouseLeave",(function(){e.props.onMouseLeave&&e.props.onMouseLeave()})),gt(_t(e),"isRangeStartMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Yt(Fe.default(r,t),o)})),gt(_t(e),"isRangeStartQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Zt(ze.default(r,t),o)})),gt(_t(e),"isRangeEndMonth",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Yt(Fe.default(r,t),i)})),gt(_t(e),"isRangeEndQuarter",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate;return!(!o||!i)&&Zt(ze.default(r,t),i)})),gt(_t(e),"isWeekInMonth",(function(t){var n=e.props.day,r=be.default(t,6);return Yt(t,n)||Yt(r,n)})),gt(_t(e),"renderWeeks",(function(){for(var t=[],n=e.props.fixedHeight,r=qt(Ut(e.props.day),e.props.locale),o=0,i=!1;t.push(de.default.createElement(In,{ariaLabelPrefix:e.props.weekAriaLabelPrefix,chooseDayAriaLabelPrefix:e.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:e.props.disabledDayAriaLabelPrefix,key:o,day:r,month:Pe.default(e.props.day),onDayClick:e.handleDayClick,onDayMouseEnter:e.handleDayMouseEnter,onWeekSelect:e.props.onWeekSelect,formatWeekNumber:e.props.formatWeekNumber,locale:e.props.locale,minDate:e.props.minDate,maxDate:e.props.maxDate,excludeDates:e.props.excludeDates,includeDates:e.props.includeDates,inline:e.props.inline,shouldFocusDayInline:e.props.shouldFocusDayInline,highlightDates:e.props.highlightDates,selectingDate:e.props.selectingDate,filterDate:e.props.filterDate,preSelection:e.props.preSelection,selected:e.props.selected,selectsStart:e.props.selectsStart,selectsEnd:e.props.selectsEnd,selectsRange:e.props.selectsRange,showWeekNumber:e.props.showWeekNumbers,startDate:e.props.startDate,endDate:e.props.endDate,dayClassName:e.props.dayClassName,setOpen:e.props.setOpen,shouldCloseOnSelect:e.props.shouldCloseOnSelect,disabledKeyboardNavigation:e.props.disabledKeyboardNavigation,renderDayContents:e.props.renderDayContents,handleOnKeyDown:e.props.handleOnKeyDown,isInputFocused:e.props.isInputFocused,containerRef:e.props.containerRef,monthShowsDuplicateDaysEnd:e.props.monthShowsDuplicateDaysEnd,monthShowsDuplicateDaysStart:e.props.monthShowsDuplicateDaysStart})),!i;){o++,r=ye.default(r,1);var a=n&&o>=6,s=!n&&!e.isWeekInMonth(r);if(a||s){if(!e.props.peekNextMonth)break;i=!0}}return t})),gt(_t(e),"onMonthClick",(function(t,n){e.handleDayClick(Ut(Fe.default(e.props.day,n)),t)})),gt(_t(e),"handleMonthNavigation",(function(t,n){e.isDisabled(n)||e.isExcluded(n)||(e.props.setPreSelection(n),e.MONTH_REFS[t].current&&e.MONTH_REFS[t].current.focus())})),gt(_t(e),"onMonthKeyDown",(function(t,n){var r=t.key;if(!e.props.disabledKeyboardNavigation)switch(r){case"Enter":e.onMonthClick(t,n),e.props.setPreSelection(e.props.selected);break;case"ArrowRight":e.handleMonthNavigation(11===n?0:n+1,Ae.default(e.props.preSelection,1));break;case"ArrowLeft":e.handleMonthNavigation(0===n?11:n-1,we.default(e.props.preSelection,1))}})),gt(_t(e),"onQuarterClick",(function(t,n){e.handleDayClick(Wt(ze.default(e.props.day,n)),t)})),gt(_t(e),"getMonthClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate,c=n.preSelection,u=n.monthClassName,d=u?u(r):void 0;return fe.default("react-datepicker__month-text","react-datepicker__month-".concat(t),d,{"react-datepicker__month--disabled":(s||l)&&on(Fe.default(r,t),e.props),"react-datepicker__month--selected":Pe.default(r)===t&&De.default(r)===De.default(a),"react-datepicker__month-text--keyboard-selected":Pe.default(c)===t,"react-datepicker__month--in-range":an(o,i,t,r),"react-datepicker__month--range-start":e.isRangeStartMonth(t),"react-datepicker__month--range-end":e.isRangeEndMonth(t)})})),gt(_t(e),"getTabIndex",(function(t){var n=Pe.default(e.props.preSelection);return e.props.disabledKeyboardNavigation||t!==n?"-1":"0"})),gt(_t(e),"getAriaLabel",(function(t){var n=e.props,r=n.ariaLabelPrefix,o=void 0===r?"Choose":r,i=n.disabledDayAriaLabelPrefix,a=void 0===i?"Not available":i,s=n.day,l=Fe.default(s,t),c=e.isDisabled(l)||e.isExcluded(l)?a:o;return"".concat(c," ").concat(Lt(l,"MMMM yyyy"))})),gt(_t(e),"getQuarterClassNames",(function(t){var n=e.props,r=n.day,o=n.startDate,i=n.endDate,a=n.selected,s=n.minDate,l=n.maxDate;return fe.default("react-datepicker__quarter-text","react-datepicker__quarter-".concat(t),{"react-datepicker__quarter--disabled":(s||l)&&sn(ze.default(r,t),e.props),"react-datepicker__quarter--selected":Me.default(r)===t&&De.default(r)===De.default(a),"react-datepicker__quarter--in-range":cn(o,i,t,r),"react-datepicker__quarter--range-start":e.isRangeStartQuarter(t),"react-datepicker__quarter--range-end":e.isRangeEndQuarter(t)})})),gt(_t(e),"renderMonths",(function(){var t=e.props,n=t.showFullMonthYearPicker,r=t.showTwoColumnMonthYearPicker,o=t.showFourColumnMonthYearPicker,i=t.locale;return(o?[[0,1,2,3],[4,5,6,7],[8,9,10,11]]:r?[[0,1],[2,3],[4,5],[6,7],[8,9],[10,11]]:[[0,1,2],[3,4,5],[6,7,8],[9,10,11]]).map((function(t,r){return de.default.createElement("div",{className:"react-datepicker__month-wrapper",key:r},t.map((function(t,r){return de.default.createElement("div",{ref:e.MONTH_REFS[t],key:r,onClick:function(n){e.onMonthClick(n,t)},onKeyDown:function(n){e.onMonthKeyDown(n,t)},tabIndex:e.getTabIndex(t),className:e.getMonthClassNames(t),role:"button","aria-label":e.getAriaLabel(t)},n?Jt(t,i):en(t,i))})))}))})),gt(_t(e),"renderQuarters",(function(){return de.default.createElement("div",{className:"react-datepicker__quarter-wrapper"},[1,2,3,4].map((function(t,n){return de.default.createElement("div",{key:n,onClick:function(n){e.onQuarterClick(n,t)},className:e.getQuarterClassNames(t)},tn(t,e.props.locale))})))})),gt(_t(e),"getClassNames",(function(){var t=e.props;t.day;var n=t.selectingDate,r=t.selectsStart,o=t.selectsEnd,i=t.showMonthYearPicker,a=t.showQuarterYearPicker;return fe.default("react-datepicker__month",{"react-datepicker__month--selecting-range":n&&(r||o)},{"react-datepicker__monthPicker":i},{"react-datepicker__quarterPicker":a})})),e}return mt(n,[{key:"render",value:function(){var e=this.props,t=e.showMonthYearPicker,n=e.showQuarterYearPicker,r=e.day,o=e.ariaLabelPrefix,i=void 0===o?"month ":o;return de.default.createElement("div",{className:this.getClassNames(),onMouseLeave:this.handleMouseLeave,"aria-label":"".concat(i," ").concat(Lt(r,"yyyy-MM"))},t?this.renderMonths():n?this.renderQuarters():this.renderWeeks())}}]),n}(de.default.Component),Fn=function(e){At(n,e);var t=kt(n);function n(){var e;pt(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return gt(_t(e=t.call.apply(t,[this].concat(o))),"state",{height:null}),gt(_t(e),"handleClick",(function(t){(e.props.minTime||e.props.maxTime)&&pn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&fn(t,e.props)||e.props.onChange(t)})),gt(_t(e),"liClasses",(function(t,n,r){var o=["react-datepicker__time-list-item",e.props.timeClassName?e.props.timeClassName(t,n,r):void 0];return e.props.selected&&n===Be.default(t)&&r===Ee.default(t)&&o.push("react-datepicker__time-list-item--selected"),((e.props.minTime||e.props.maxTime)&&pn(t,e.props)||(e.props.excludeTimes||e.props.includeTimes||e.props.filterTime)&&fn(t,e.props))&&o.push("react-datepicker__time-list-item--disabled"),e.props.injectTimes&&(60*Be.default(t)+Ee.default(t))%e.props.intervals!=0&&o.push("react-datepicker__time-list-item--injected"),o.join(" ")})),gt(_t(e),"renderTimes",(function(){for(var t=[],n=e.props.format?e.props.format:"p",r=e.props.intervals,o=zt(Mt(e.props.selected)),i=1440/r,a=e.props.injectTimes&&e.props.injectTimes.sort((function(e,t){return e-t})),s=e.props.selected||e.props.openToDate||Mt(),l=Be.default(s),c=Ee.default(s),u=Ne.default(Ie.default(o,c),l),d=0;d<i;d++){var f=ge.default(o,d*r);if(t.push(f),a){var p=xn(o,f,d,r,a);t=t.concat(p)}}return t.map((function(t,r){return de.default.createElement("li",{key:r,onClick:e.handleClick.bind(_t(e),t),className:e.liClasses(t,l,c),ref:function(n){(it.default(t,u)||Kt(t,u))&&(e.centerLi=n)},tabIndex:"0"},Lt(t,n,e.props.locale))}))})),e}return mt(n,[{key:"componentDidMount",value:function(){this.list.scrollTop=n.calcCenterPosition(this.props.monthRef?this.props.monthRef.clientHeight-this.header.clientHeight:this.list.clientHeight,this.centerLi),this.props.monthRef&&this.header&&this.setState({height:this.props.monthRef.clientHeight-this.header.clientHeight})}},{key:"render",value:function(){var e=this,t=this.state.height;return de.default.createElement("div",{className:"react-datepicker__time-container ".concat(this.props.todayButton?"react-datepicker__time-container--with-today-button":"")},de.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--time ".concat(this.props.showTimeSelectOnly?"react-datepicker__header--time--only":""),ref:function(t){e.header=t}},de.default.createElement("div",{className:"react-datepicker-time__header"},this.props.timeCaption)),de.default.createElement("div",{className:"react-datepicker__time"},de.default.createElement("div",{className:"react-datepicker__time-box"},de.default.createElement("ul",{className:"react-datepicker__time-list",ref:function(t){e.list=t},style:t?{height:t}:{},tabIndex:"0"},this.renderTimes()))))}}],[{key:"defaultProps",get:function(){return{intervals:30,onTimeChange:function(){},todayButton:null,timeCaption:"Time"}}}]),n}(de.default.Component);gt(Fn,"calcCenterPosition",(function(e,t){return t.offsetTop-(e/2-t.clientHeight/2)}));var zn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),gt(_t(r=t.call(this,e)),"handleYearClick",(function(e,t){r.props.onDayClick&&r.props.onDayClick(e,t)})),gt(_t(r),"isSameDay",(function(e,t){return Gt(e,t)})),gt(_t(r),"isKeyboardSelected",(function(e){var t=Ht(qe.default(r.props.date,e));return!r.props.disabledKeyboardNavigation&&!r.props.inline&&!Gt(t,Ht(r.props.selected))&&Gt(t,Ht(r.props.preSelection))})),gt(_t(r),"onYearClick",(function(e,t){var n=r.props.date;r.handleYearClick(Ht(qe.default(n,t)),e)})),gt(_t(r),"getYearClassNames",(function(e){var t=r.props,n=t.minDate,o=t.maxDate,i=t.selected;return fe.default("react-datepicker__year-text",{"react-datepicker__year-text--selected":e===De.default(i),"react-datepicker__year-text--disabled":(n||o)&&ln(e,r.props),"react-datepicker__year-text--keyboard-selected":r.isKeyboardSelected(e),"react-datepicker__year-text--today":e===De.default(Mt())})})),r}return mt(n,[{key:"render",value:function(){for(var e=this,t=[],n=this.props,r=_n(n.date,n.yearItemNumber),o=r.startPeriod,i=r.endPeriod,a=function(n){t.push(de.default.createElement("div",{onClick:function(t){e.onYearClick(t,n)},className:e.getYearClassNames(n),key:n},n))},s=o;s<=i;s++)a(s);return de.default.createElement("div",{className:"react-datepicker__year"},de.default.createElement("div",{className:"react-datepicker__year-wrapper"},t))}}]),n}(de.default.Component),qn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),gt(_t(r=t.call(this,e)),"onTimeChange",(function(e){r.setState({time:e});var t=new Date;t.setHours(e.split(":")[0]),t.setMinutes(e.split(":")[1]),r.props.onChange(t)})),gt(_t(r),"renderTimeInput",(function(){var e=r.state.time,t=r.props,n=t.date,o=t.timeString,i=t.customTimeInput;return i?de.default.cloneElement(i,{date:n,value:e,onChange:r.onTimeChange}):de.default.createElement("input",{type:"time",className:"react-datepicker-time__input",placeholder:"Time",name:"time-input",required:!0,value:e,onChange:function(e){r.onTimeChange(e.target.value||o)}})})),r.state={time:r.props.timeString},r}return mt(n,[{key:"render",value:function(){return de.default.createElement("div",{className:"react-datepicker__input-time-container"},de.default.createElement("div",{className:"react-datepicker-time__caption"},this.props.timeInputLabel),de.default.createElement("div",{className:"react-datepicker-time__input-container"},de.default.createElement("div",{className:"react-datepicker-time__input"},this.renderTimeInput())))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.timeString!==t.time?{time:e.timeString}:null}}]),n}(de.default.Component);function Un(e){var t=e.className,n=e.children,r=e.showPopperArrow,o=e.arrowProps,i=void 0===o?{}:o;return de.default.createElement("div",{className:t},r&&de.default.createElement("div",vt({className:"react-datepicker__triangle"},i)),n)}var Hn=["react-datepicker__year-select","react-datepicker__month-select","react-datepicker__month-year-select"],Wn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),gt(_t(r=t.call(this,e)),"handleClickOutside",(function(e){r.props.onClickOutside(e)})),gt(_t(r),"setClickOutsideRef",(function(){return r.containerRef.current})),gt(_t(r),"handleDropdownFocus",(function(e){(function(){var e=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).className||"").split(/\s+/);return Hn.some((function(t){return e.indexOf(t)>=0}))})(e.target)&&r.props.onDropdownFocus()})),gt(_t(r),"getDateInView",(function(){var e=r.props,t=e.preSelection,n=e.selected,o=e.openToDate,i=bn(r.props),a=yn(r.props),s=Mt();return o||n||t||(i&&it.default(s,i)?i:a&&ot.default(s,a)?a:s)})),gt(_t(r),"increaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:Ae.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),gt(_t(r),"decreaseMonth",(function(){r.setState((function(e){var t=e.date;return{date:we.default(t,1)}}),(function(){return r.handleMonthChange(r.state.date)}))})),gt(_t(r),"handleDayClick",(function(e,t,n){r.props.onSelect(e,t,n),r.props.setPreSelection&&r.props.setPreSelection(e)})),gt(_t(r),"handleDayMouseEnter",(function(e){r.setState({selectingDate:e}),r.props.onDayMouseEnter&&r.props.onDayMouseEnter(e)})),gt(_t(r),"handleMonthMouseLeave",(function(){r.setState({selectingDate:null}),r.props.onMonthMouseLeave&&r.props.onMonthMouseLeave()})),gt(_t(r),"handleYearChange",(function(e){r.props.onYearChange&&r.props.onYearChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),gt(_t(r),"handleMonthChange",(function(e){r.props.onMonthChange&&r.props.onMonthChange(e),r.props.adjustDateOnChange&&(r.props.onSelect&&r.props.onSelect(e),r.props.setOpen&&r.props.setOpen(!0)),r.props.setPreSelection&&r.props.setPreSelection(e)})),gt(_t(r),"handleMonthYearChange",(function(e){r.handleYearChange(e),r.handleMonthChange(e)})),gt(_t(r),"changeYear",(function(e){r.setState((function(t){var n=t.date;return{date:qe.default(n,e)}}),(function(){return r.handleYearChange(r.state.date)}))})),gt(_t(r),"changeMonth",(function(e){r.setState((function(t){var n=t.date;return{date:Fe.default(n,e)}}),(function(){return r.handleMonthChange(r.state.date)}))})),gt(_t(r),"changeMonthYear",(function(e){r.setState((function(t){var n=t.date;return{date:qe.default(Fe.default(n,Pe.default(e)),De.default(e))}}),(function(){return r.handleMonthYearChange(r.state.date)}))})),gt(_t(r),"header",(function(){var e=qt(arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,r.props.locale),t=[];return r.props.showWeekNumbers&&t.push(de.default.createElement("div",{key:"W",className:"react-datepicker__day-name"},r.props.weekLabel||"#")),t.concat([0,1,2,3,4,5,6].map((function(t){var n=be.default(e,t),o=r.formatWeekday(n,r.props.locale),i=r.props.weekDayClassName?r.props.weekDayClassName(n):void 0;return de.default.createElement("div",{key:t,className:fe.default("react-datepicker__day-name",i)},o)})))})),gt(_t(r),"formatWeekday",(function(e,t){return r.props.formatWeekDay?function(e,t,n){return t(Lt(e,"EEEE",n))}(e,r.props.formatWeekDay,t):r.props.useWeekdaysShort?function(e,t){return Lt(e,"EEE",t)}(e,t):function(e,t){return Lt(e,"EEEEEE",t)}(e,t)})),gt(_t(r),"decreaseYear",(function(){r.setState((function(e){var t=e.date;return{date:ke.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),gt(_t(r),"renderPreviousButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=gn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minDate,r=t.yearItemNumber,o=void 0===r?Tt:r,i=_n(Ht(ke.default(e,o)),o).endPeriod,a=n&&De.default(n);return a&&a>i||!1}(r.state.date,r.props);break;default:e=hn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--previous"],n=r.decreaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.decreaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--previous--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,i=r.props,a=i.previousMonthAriaLabel,s=void 0===a?"Previous Month":a,l=i.previousYearAriaLabel,c=void 0===l?"Previous Year":l;return de.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,"aria-label":o?c:s},o?r.props.previousYearButtonLabel:r.props.previousMonthButtonLabel)}}})),gt(_t(r),"increaseYear",(function(){r.setState((function(e){var t=e.date;return{date:xe.default(t,r.props.showYearPicker?r.props.yearItemNumber:1)}}),(function(){return r.handleYearChange(r.state.date)}))})),gt(_t(r),"renderNextButton",(function(){if(!r.props.renderCustomHeader){var e;switch(!0){case r.props.showMonthYearPicker:e=vn(r.state.date,r.props);break;case r.props.showYearPicker:e=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.maxDate,r=t.yearItemNumber,o=void 0===r?Tt:r,i=_n(xe.default(e,o),o).startPeriod,a=n&&De.default(n);return a&&a<i||!1}(r.state.date,r.props);break;default:e=mn(r.state.date,r.props)}if((r.props.forceShowMonthNavigation||r.props.showDisabledMonthNavigation||!e)&&!r.props.showTimeSelectOnly){var t=["react-datepicker__navigation","react-datepicker__navigation--next"];r.props.showTimeSelect&&t.push("react-datepicker__navigation--next--with-time"),r.props.todayButton&&t.push("react-datepicker__navigation--next--with-today-button");var n=r.increaseMonth;(r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker)&&(n=r.increaseYear),e&&r.props.showDisabledMonthNavigation&&(t.push("react-datepicker__navigation--next--disabled"),n=null);var o=r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker,i=r.props,a=i.nextMonthAriaLabel,s=void 0===a?"Next Month":a,l=i.nextYearAriaLabel,c=void 0===l?"Next Year":l;return de.default.createElement("button",{type:"button",className:t.join(" "),onClick:n,"aria-label":o?c:s},o?r.props.nextYearButtonLabel:r.props.nextMonthButtonLabel)}}})),gt(_t(r),"renderCurrentMonth",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.state.date,t=["react-datepicker__current-month"];return r.props.showYearDropdown&&t.push("react-datepicker__current-month--hasYearDropdown"),r.props.showMonthDropdown&&t.push("react-datepicker__current-month--hasMonthDropdown"),r.props.showMonthYearDropdown&&t.push("react-datepicker__current-month--hasMonthYearDropdown"),de.default.createElement("div",{className:t.join(" ")},Lt(e,r.props.dateFormat,r.props.locale))})),gt(_t(r),"renderYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showYearDropdown&&!e)return de.default.createElement(En,{adjustDateOnChange:r.props.adjustDateOnChange,date:r.state.date,onSelect:r.props.onSelect,setOpen:r.props.setOpen,dropdownMode:r.props.dropdownMode,onChange:r.changeYear,minDate:r.props.minDate,maxDate:r.props.maxDate,year:De.default(r.state.date),scrollableYearDropdown:r.props.scrollableYearDropdown,yearDropdownItemNumber:r.props.yearDropdownItemNumber})})),gt(_t(r),"renderMonthDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthDropdown&&!e)return de.default.createElement(jn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,onChange:r.changeMonth,month:Pe.default(r.state.date),useShortMonthInDropdown:r.props.useShortMonthInDropdown})})),gt(_t(r),"renderMonthYearDropdown",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(r.props.showMonthYearDropdown&&!e)return de.default.createElement(Dn,{dropdownMode:r.props.dropdownMode,locale:r.props.locale,dateFormat:r.props.dateFormat,onChange:r.changeMonthYear,minDate:r.props.minDate,maxDate:r.props.maxDate,date:r.state.date,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown})})),gt(_t(r),"renderTodayButton",(function(){if(r.props.todayButton&&!r.props.showTimeSelectOnly)return de.default.createElement("div",{className:"react-datepicker__today-button",onClick:function(e){return r.props.onSelect(Ze.default(Mt()),e)}},r.props.todayButton)})),gt(_t(r),"renderDefaultHeader",(function(e){var t=e.monthDate,n=e.i;return de.default.createElement("div",{className:"react-datepicker__header ".concat(r.props.showTimeSelect?"react-datepicker__header--has-time-select":"")},r.renderCurrentMonth(t),de.default.createElement("div",{className:"react-datepicker__header__dropdown react-datepicker__header__dropdown--".concat(r.props.dropdownMode),onFocus:r.handleDropdownFocus},r.renderMonthDropdown(0!==n),r.renderMonthYearDropdown(0!==n),r.renderYearDropdown(0!==n)),de.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),gt(_t(r),"renderCustomHeader",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.monthDate,n=e.i;if(r.props.showTimeSelect&&!r.state.monthContainer||r.props.showTimeSelectOnly)return null;var o=hn(r.state.date,r.props),i=mn(r.state.date,r.props),a=gn(r.state.date,r.props),s=vn(r.state.date,r.props),l=!r.props.showMonthYearPicker&&!r.props.showQuarterYearPicker&&!r.props.showYearPicker;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker__header--custom",onFocus:r.props.onDropdownFocus},r.props.renderCustomHeader(yt(yt({},r.state),{},{customHeaderCount:n,changeMonth:r.changeMonth,changeYear:r.changeYear,decreaseMonth:r.decreaseMonth,increaseMonth:r.increaseMonth,decreaseYear:r.decreaseYear,increaseYear:r.increaseYear,prevMonthButtonDisabled:o,nextMonthButtonDisabled:i,prevYearButtonDisabled:a,nextYearButtonDisabled:s})),l&&de.default.createElement("div",{className:"react-datepicker__day-names"},r.header(t)))})),gt(_t(r),"renderYearHeader",(function(){var e=r.state.date,t=r.props,n=t.showYearPicker,o=_n(e,t.yearItemNumber),i=o.startPeriod,a=o.endPeriod;return de.default.createElement("div",{className:"react-datepicker__header react-datepicker-year-header"},n?"".concat(i," - ").concat(a):De.default(e))})),gt(_t(r),"renderHeader",(function(e){switch(!0){case void 0!==r.props.renderCustomHeader:return r.renderCustomHeader(e);case r.props.showMonthYearPicker||r.props.showQuarterYearPicker||r.props.showYearPicker:return r.renderYearHeader(e);default:return r.renderDefaultHeader(e)}})),gt(_t(r),"renderMonths",(function(){if(!r.props.showTimeSelectOnly&&!r.props.showYearPicker){for(var e=[],t=r.props.showPreviousMonths?r.props.monthsShown-1:0,n=we.default(r.state.date,t),o=0;o<r.props.monthsShown;++o){var i=o-r.props.monthSelectedIn,a=Ae.default(n,i),s="month-".concat(o),l=o<r.props.monthsShown-1,c=o>0;e.push(de.default.createElement("div",{key:s,ref:function(e){r.monthContainer=e},className:"react-datepicker__month-container"},r.renderHeader({monthDate:a,i:o}),de.default.createElement(Nn,{chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,onChange:r.changeMonthYear,day:a,dayClassName:r.props.dayClassName,monthClassName:r.props.monthClassName,onDayClick:r.handleDayClick,handleOnKeyDown:r.props.handleOnKeyDown,onDayMouseEnter:r.handleDayMouseEnter,onMouseLeave:r.handleMonthMouseLeave,onWeekSelect:r.props.onWeekSelect,orderInDisplay:o,formatWeekNumber:r.props.formatWeekNumber,locale:r.props.locale,minDate:r.props.minDate,maxDate:r.props.maxDate,excludeDates:r.props.excludeDates,highlightDates:r.props.highlightDates,selectingDate:r.state.selectingDate,includeDates:r.props.includeDates,inline:r.props.inline,shouldFocusDayInline:r.props.shouldFocusDayInline,fixedHeight:r.props.fixedHeight,filterDate:r.props.filterDate,preSelection:r.props.preSelection,setPreSelection:r.props.setPreSelection,selected:r.props.selected,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,showWeekNumbers:r.props.showWeekNumbers,startDate:r.props.startDate,endDate:r.props.endDate,peekNextMonth:r.props.peekNextMonth,setOpen:r.props.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,renderDayContents:r.props.renderDayContents,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,isInputFocused:r.props.isInputFocused,containerRef:r.containerRef,monthShowsDuplicateDaysEnd:l,monthShowsDuplicateDaysStart:c})))}return e}})),gt(_t(r),"renderYears",(function(){if(!r.props.showTimeSelectOnly)return r.props.showYearPicker?de.default.createElement("div",{className:"react-datepicker__year--container"},r.renderHeader(),de.default.createElement(zn,vt({onDayClick:r.handleDayClick,date:r.state.date},r.props))):void 0})),gt(_t(r),"renderTimeSection",(function(){if(r.props.showTimeSelect&&(r.state.monthContainer||r.props.showTimeSelectOnly))return de.default.createElement(Fn,{selected:r.props.selected,openToDate:r.props.openToDate,onChange:r.props.onTimeChange,timeClassName:r.props.timeClassName,format:r.props.timeFormat,includeTimes:r.props.includeTimes,intervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,todayButton:r.props.todayButton,showMonthDropdown:r.props.showMonthDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,monthRef:r.state.monthContainer,injectTimes:r.props.injectTimes,locale:r.props.locale,showTimeSelectOnly:r.props.showTimeSelectOnly})})),gt(_t(r),"renderInputTimeSection",(function(){var e=new Date(r.props.selected),t=Rt(e)&&Boolean(r.props.selected)?"".concat(Cn(e.getHours()),":").concat(Cn(e.getMinutes())):"";if(r.props.showTimeInput)return de.default.createElement(qn,{date:e,timeString:t,timeInputLabel:r.props.timeInputLabel,onChange:r.props.onTimeChange,customTimeInput:r.props.customTimeInput})})),r.containerRef=de.default.createRef(),r.state={date:r.getDateInView(),selectingDate:null,monthContainer:null},r}return mt(n,[{key:"componentDidMount",value:function(){var e=this;this.props.showTimeSelect&&(this.assignMonthContainer=void e.setState({monthContainer:e.monthContainer}))}},{key:"componentDidUpdate",value:function(e){this.props.preSelection&&!Gt(this.props.preSelection,e.preSelection)?this.setState({date:this.props.preSelection}):this.props.openToDate&&!Gt(this.props.openToDate,e.openToDate)&&this.setState({date:this.props.openToDate})}},{key:"render",value:function(){var e=this.props.container||Un;return de.default.createElement("div",{ref:this.containerRef},de.default.createElement(e,{className:fe.default("react-datepicker",this.props.className,{"react-datepicker--time-only":this.props.showTimeSelectOnly}),showPopperArrow:this.props.showPopperArrow,arrowProps:this.props.arrowProps},this.renderPreviousButton(),this.renderNextButton(),this.renderMonths(),this.renderYears(),this.renderTodayButton(),this.renderTimeSection(),this.renderInputTimeSection(),this.props.children))}}],[{key:"defaultProps",get:function(){return{onDropdownFocus:function(){},monthsShown:1,monthSelectedIn:0,forceShowMonthNavigation:!1,timeCaption:"Time",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",customTimeInput:null,yearItemNumber:Tt}}}]),n}(de.default.Component),Vn=function(e){return!e.disabled&&-1!==e.tabIndex},Yn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),gt(_t(r=t.call(this,e)),"getTabChildren",(function(){return Array.prototype.slice.call(r.tabLoopRef.current.querySelectorAll("[tabindex], a, button, input, select, textarea"),1,-1).filter(Vn)})),gt(_t(r),"handleFocusStart",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[t.length-1].focus()})),gt(_t(r),"handleFocusEnd",(function(e){var t=r.getTabChildren();t&&t.length>1&&t[0].focus()})),r.tabLoopRef=de.default.createRef(),r}return mt(n,[{key:"render",value:function(){return this.props.enableTabLoop?de.default.createElement("div",{className:"react-datepicker__tab-loop",ref:this.tabLoopRef},de.default.createElement("div",{className:"react-datepicker__tab-loop__start",tabIndex:"0",onFocus:this.handleFocusStart}),this.props.children,de.default.createElement("div",{className:"react-datepicker__tab-loop__end",tabIndex:"0",onFocus:this.handleFocusEnd})):this.props.children}}],[{key:"defaultProps",get:function(){return{enableTabLoop:!0}}}]),n}(de.default.Component),Zn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),(r=t.call(this,e)).el=document.createElement("div"),r}return mt(n,[{key:"componentDidMount",value:function(){this.portalRoot=document.getElementById(this.props.portalId),this.portalRoot||(this.portalRoot=document.createElement("div"),this.portalRoot.setAttribute("id",this.props.portalId),document.body.appendChild(this.portalRoot)),this.portalRoot.appendChild(this.el)}},{key:"componentWillUnmount",value:function(){this.portalRoot.removeChild(this.el)}},{key:"render",value:function(){return dt.default.createPortal(this.props.children,this.el)}}]),n}(de.default.Component),Gn=function(e){At(n,e);var t=kt(n);function n(){return pt(this,n),t.apply(this,arguments)}return mt(n,[{key:"render",value:function(){var e,t=this.props,n=t.className,r=t.wrapperClassName,o=t.hidePopper,i=t.popperComponent,a=t.popperModifiers,s=t.popperPlacement,l=t.popperProps,c=t.targetComponent,u=t.enableTabLoop,d=t.popperOnKeyDown,f=t.portalId;if(!o){var p=fe.default("react-datepicker-popper",n);e=de.default.createElement(le.Popper,vt({modifiers:a,placement:s},l),(function(e){var t=e.ref,n=e.style,r=e.placement,o=e.arrowProps;return de.default.createElement(Yn,{enableTabLoop:u},de.default.createElement("div",{ref:t,style:n,className:p,"data-placement":r,onKeyDown:d},de.default.cloneElement(i,{arrowProps:o})))}))}this.props.popperContainer&&(e=de.default.createElement(this.props.popperContainer,{},e)),f&&!o&&(e=de.default.createElement(Zn,{portalId:f},e));var h=fe.default("react-datepicker-wrapper",r);return de.default.createElement(le.Manager,{className:"react-datepicker-manager"},de.default.createElement(le.Reference,null,(function(e){var t=e.ref;return de.default.createElement("div",{ref:t,className:h},c)})),e)}}],[{key:"defaultProps",get:function(){return{hidePopper:!0,popperModifiers:{preventOverflow:{enabled:!0,escapeWithReference:!0,boundariesElement:"viewport"}},popperProps:{},popperPlacement:"bottom-start"}}}]),n}(de.default.Component),Kn="react-datepicker-ignore-onclickoutside",$n=ut.default(Wn),Xn="Date input not valid.",Qn=function(e){At(n,e);var t=kt(n);function n(e){var r;return pt(this,n),gt(_t(r=t.call(this,e)),"getPreSelection",(function(){return r.props.openToDate?r.props.openToDate:r.props.selectsEnd&&r.props.startDate?r.props.startDate:r.props.selectsStart&&r.props.endDate?r.props.endDate:Mt()})),gt(_t(r),"calcInitialState",(function(){var e=r.getPreSelection(),t=bn(r.props),n=yn(r.props),o=t&&it.default(e,Ze.default(t))?t:n&&ot.default(e,Qe.default(n))?n:e;return{open:r.props.startOpen||!1,preventFocus:!1,preSelection:r.props.selected?r.props.selected:o,highlightDates:An(r.props.highlightDates),focused:!1,shouldFocusDayInline:!1}})),gt(_t(r),"clearPreventFocusTimeout",(function(){r.preventFocusTimeout&&clearTimeout(r.preventFocusTimeout)})),gt(_t(r),"setFocus",(function(){r.input&&r.input.focus&&r.input.focus({preventScroll:!0})})),gt(_t(r),"setBlur",(function(){r.input&&r.input.blur&&r.input.blur(),r.cancelFocusInput()})),gt(_t(r),"setOpen",(function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.setState({open:e,preSelection:e&&r.state.open?r.state.preSelection:r.calcInitialState().preSelection,lastPreSelectChange:er},(function(){e||r.setState((function(e){return{focused:!!t&&e.focused}}),(function(){!t&&r.setBlur(),r.setState({inputValue:null})}))}))})),gt(_t(r),"inputOk",(function(){return pe.default(r.state.preSelection)})),gt(_t(r),"isCalendarOpen",(function(){return void 0===r.props.open?r.state.open&&!r.props.disabled&&!r.props.readOnly:r.props.open})),gt(_t(r),"handleFocus",(function(e){r.state.preventFocus||(r.props.onFocus(e),r.props.preventOpenOnFocus||r.props.readOnly||r.setOpen(!0)),r.setState({focused:!0})})),gt(_t(r),"cancelFocusInput",(function(){clearTimeout(r.inputFocusTimeout),r.inputFocusTimeout=null})),gt(_t(r),"deferFocusInput",(function(){r.cancelFocusInput(),r.inputFocusTimeout=setTimeout((function(){return r.setFocus()}),1)})),gt(_t(r),"handleDropdownFocus",(function(){r.cancelFocusInput()})),gt(_t(r),"handleBlur",(function(e){(!r.state.open||r.props.withPortal||r.props.showTimeInput)&&r.props.onBlur(e),r.setState({focused:!1})})),gt(_t(r),"handleCalendarClickOutside",(function(e){r.props.inline||r.setOpen(!1),r.props.onClickOutside(e),r.props.withPortal&&e.preventDefault()})),gt(_t(r),"handleChange",(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=t[0];if(!r.props.onChangeRaw||(r.props.onChangeRaw.apply(_t(r),t),"function"==typeof o.isDefaultPrevented&&!o.isDefaultPrevented())){r.setState({inputValue:o.target.value,lastPreSelectChange:Jn});var i=Dt(o.target.value,r.props.dateFormat,r.props.locale,r.props.strictParsing);!i&&o.target.value||r.setSelected(i,o,!0)}})),gt(_t(r),"handleSelect",(function(e,t,n){r.setState({preventFocus:!0},(function(){return r.preventFocusTimeout=setTimeout((function(){return r.setState({preventFocus:!1})}),50),r.preventFocusTimeout})),r.props.onChangeRaw&&r.props.onChangeRaw(t),r.setSelected(e,t,!1,n),!r.props.shouldCloseOnSelect||r.props.showTimeSelect?r.setPreSelection(e):r.props.inline||r.setOpen(!1)})),gt(_t(r),"setSelected",(function(e,t,n,o){var i=e;if(null===i||!nn(i,r.props)){var a=r.props,s=a.onChange,l=a.selectsRange,c=a.startDate,u=a.endDate;if(!Kt(r.props.selected,i)||r.props.allowSameDay||l)if(null!==i&&(!r.props.selected||n&&(r.props.showTimeSelect||r.props.showTimeSelectOnly||r.props.showTimeInput)||(i=It(i,{hour:Be.default(r.props.selected),minute:Ee.default(r.props.selected),second:Se.default(r.props.selected)})),r.props.inline||r.setState({preSelection:i}),r.props.focusSelectedMonth||r.setState({monthSelectedIn:o})),l){var d=c&&u;c||u?c&&!u&&(it.default(i,c)?s([i,null],t):s([c,i],t)):s([i,null],t),d&&s([i,null],t)}else s(i,t);n||(r.props.onSelect(i,t),r.setState({inputValue:null}))}})),gt(_t(r),"setPreSelection",(function(e){var t=void 0!==r.props.minDate,n=void 0!==r.props.maxDate,o=!0;if(e){var i=Ze.default(e);if(t&&n)o=$t(e,r.props.minDate,r.props.maxDate);else if(t){var a=Ze.default(r.props.minDate);o=ot.default(e,a)||Kt(i,a)}else if(n){var s=Qe.default(r.props.maxDate);o=it.default(e,s)||Kt(i,s)}}o&&r.setState({preSelection:e})})),gt(_t(r),"handleTimeChange",(function(e){var t=It(r.props.selected?r.props.selected:r.getPreSelection(),{hour:Be.default(e),minute:Ee.default(e)});r.setState({preSelection:t}),r.props.onChange(t),r.props.shouldCloseOnSelect&&r.setOpen(!1),r.props.showTimeInput&&r.setOpen(!0),r.setState({inputValue:null})})),gt(_t(r),"onInputClick",(function(){r.props.disabled||r.props.readOnly||r.setOpen(!0),r.props.onInputClick()})),gt(_t(r),"onInputKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key;if(r.state.open||r.props.inline||r.props.preventOpenOnFocus){if(r.state.open){if("ArrowDown"===t||"ArrowUp"===t){e.preventDefault();var n=r.calendar.componentNode&&r.calendar.componentNode.querySelector('.react-datepicker__day[tabindex="0"]');return void(n&&n.focus({preventScroll:!0}))}var o=Mt(r.state.preSelection);"Enter"===t?(e.preventDefault(),r.inputOk()&&r.state.lastPreSelectChange===er?(r.handleSelect(o,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(o)):r.setOpen(!1)):"Escape"===t&&(e.preventDefault(),r.setOpen(!1)),r.inputOk()||r.props.onInputError({code:1,msg:Xn})}}else"ArrowDown"!==t&&"ArrowUp"!==t&&"Enter"!==t||r.onInputClick()})),gt(_t(r),"onDayKeyDown",(function(e){r.props.onKeyDown(e);var t=e.key,n=Mt(r.state.preSelection);if("Enter"===t)e.preventDefault(),r.handleSelect(n,e),!r.props.shouldCloseOnSelect&&r.setPreSelection(n);else if("Escape"===t)e.preventDefault(),r.setOpen(!1),r.inputOk()||r.props.onInputError({code:1,msg:Xn});else if(!r.props.disabledKeyboardNavigation){var o;switch(t){case"ArrowLeft":o=Ce.default(n,1);break;case"ArrowRight":o=be.default(n,1);break;case"ArrowUp":o=_e.default(n,1);break;case"ArrowDown":o=ye.default(n,1);break;case"PageUp":o=we.default(n,1);break;case"PageDown":o=Ae.default(n,1);break;case"Home":o=ke.default(n,1);break;case"End":o=xe.default(n,1)}if(!o)return void(r.props.onInputError&&r.props.onInputError({code:1,msg:Xn}));if(e.preventDefault(),r.setState({lastPreSelectChange:er}),r.props.adjustDateOnChange&&r.setSelected(o),r.setPreSelection(o),r.props.inline){var i=Pe.default(n),a=Pe.default(o),s=De.default(n),l=De.default(o);i!==a||s!==l?r.setState({shouldFocusDayInline:!0}):r.setState({shouldFocusDayInline:!1})}}})),gt(_t(r),"onPopperKeyDown",(function(e){"Escape"===e.key&&(e.preventDefault(),r.setState({preventFocus:!0},(function(){r.setOpen(!1),setTimeout((function(){r.setFocus(),r.setState({preventFocus:!1})}))})))})),gt(_t(r),"onClearClick",(function(e){e&&e.preventDefault&&e.preventDefault(),r.props.onChange(null,e),r.setState({inputValue:null})})),gt(_t(r),"clear",(function(){r.onClearClick()})),gt(_t(r),"onScroll",(function(e){"boolean"==typeof r.props.closeOnScroll&&r.props.closeOnScroll?e.target!==document&&e.target!==document.documentElement&&e.target!==document.body||r.setOpen(!1):"function"==typeof r.props.closeOnScroll&&r.props.closeOnScroll(e)&&r.setOpen(!1)})),gt(_t(r),"renderCalendar",(function(){return r.props.inline||r.isCalendarOpen()?de.default.createElement($n,{ref:function(e){r.calendar=e},locale:r.props.locale,chooseDayAriaLabelPrefix:r.props.chooseDayAriaLabelPrefix,disabledDayAriaLabelPrefix:r.props.disabledDayAriaLabelPrefix,weekAriaLabelPrefix:r.props.weekAriaLabelPrefix,adjustDateOnChange:r.props.adjustDateOnChange,setOpen:r.setOpen,shouldCloseOnSelect:r.props.shouldCloseOnSelect,dateFormat:r.props.dateFormatCalendar,useWeekdaysShort:r.props.useWeekdaysShort,formatWeekDay:r.props.formatWeekDay,dropdownMode:r.props.dropdownMode,selected:r.props.selected,preSelection:r.state.preSelection,onSelect:r.handleSelect,onWeekSelect:r.props.onWeekSelect,openToDate:r.props.openToDate,minDate:r.props.minDate,maxDate:r.props.maxDate,selectsStart:r.props.selectsStart,selectsEnd:r.props.selectsEnd,selectsRange:r.props.selectsRange,startDate:r.props.startDate,endDate:r.props.endDate,excludeDates:r.props.excludeDates,filterDate:r.props.filterDate,onClickOutside:r.handleCalendarClickOutside,formatWeekNumber:r.props.formatWeekNumber,highlightDates:r.state.highlightDates,includeDates:r.props.includeDates,includeTimes:r.props.includeTimes,injectTimes:r.props.injectTimes,inline:r.props.inline,shouldFocusDayInline:r.state.shouldFocusDayInline,peekNextMonth:r.props.peekNextMonth,showMonthDropdown:r.props.showMonthDropdown,showPreviousMonths:r.props.showPreviousMonths,useShortMonthInDropdown:r.props.useShortMonthInDropdown,showMonthYearDropdown:r.props.showMonthYearDropdown,showWeekNumbers:r.props.showWeekNumbers,showYearDropdown:r.props.showYearDropdown,withPortal:r.props.withPortal,forceShowMonthNavigation:r.props.forceShowMonthNavigation,showDisabledMonthNavigation:r.props.showDisabledMonthNavigation,scrollableYearDropdown:r.props.scrollableYearDropdown,scrollableMonthYearDropdown:r.props.scrollableMonthYearDropdown,todayButton:r.props.todayButton,weekLabel:r.props.weekLabel,outsideClickIgnoreClass:Kn,fixedHeight:r.props.fixedHeight,monthsShown:r.props.monthsShown,monthSelectedIn:r.state.monthSelectedIn,onDropdownFocus:r.handleDropdownFocus,onMonthChange:r.props.onMonthChange,onYearChange:r.props.onYearChange,dayClassName:r.props.dayClassName,weekDayClassName:r.props.weekDayClassName,monthClassName:r.props.monthClassName,timeClassName:r.props.timeClassName,showTimeSelect:r.props.showTimeSelect,showTimeSelectOnly:r.props.showTimeSelectOnly,onTimeChange:r.handleTimeChange,timeFormat:r.props.timeFormat,timeIntervals:r.props.timeIntervals,minTime:r.props.minTime,maxTime:r.props.maxTime,excludeTimes:r.props.excludeTimes,filterTime:r.props.filterTime,timeCaption:r.props.timeCaption,className:r.props.calendarClassName,container:r.props.calendarContainer,yearItemNumber:r.props.yearItemNumber,yearDropdownItemNumber:r.props.yearDropdownItemNumber,previousMonthButtonLabel:r.props.previousMonthButtonLabel,nextMonthButtonLabel:r.props.nextMonthButtonLabel,previousYearButtonLabel:r.props.previousYearButtonLabel,nextYearButtonLabel:r.props.nextYearButtonLabel,timeInputLabel:r.props.timeInputLabel,disabledKeyboardNavigation:r.props.disabledKeyboardNavigation,renderCustomHeader:r.props.renderCustomHeader,popperProps:r.props.popperProps,renderDayContents:r.props.renderDayContents,onDayMouseEnter:r.props.onDayMouseEnter,onMonthMouseLeave:r.props.onMonthMouseLeave,showTimeInput:r.props.showTimeInput,showMonthYearPicker:r.props.showMonthYearPicker,showFullMonthYearPicker:r.props.showFullMonthYearPicker,showTwoColumnMonthYearPicker:r.props.showTwoColumnMonthYearPicker,showFourColumnMonthYearPicker:r.props.showFourColumnMonthYearPicker,showYearPicker:r.props.showYearPicker,showQuarterYearPicker:r.props.showQuarterYearPicker,showPopperArrow:r.props.showPopperArrow,excludeScrollbar:r.props.excludeScrollbar,handleOnKeyDown:r.onDayKeyDown,isInputFocused:r.state.focused,customTimeInput:r.props.customTimeInput,setPreSelection:r.setPreSelection},r.props.children):null})),gt(_t(r),"renderDateInput",(function(){var e,t,n,o,i,a=fe.default(r.props.className,gt({},Kn,r.state.open)),s=r.props.customInput||de.default.createElement("input",{type:"text"}),l=r.props.customInputRef||"ref",c="string"==typeof r.props.value?r.props.value:"string"==typeof r.state.inputValue?r.state.inputValue:(t=r.props.selected,o=(n=r.props).dateFormat,i=n.locale,t&&Lt(t,Array.isArray(o)?o[0]:o,i)||"");return de.default.cloneElement(s,(gt(e={},l,(function(e){r.input=e})),gt(e,"value",c),gt(e,"onBlur",r.handleBlur),gt(e,"onChange",r.handleChange),gt(e,"onClick",r.onInputClick),gt(e,"onFocus",r.handleFocus),gt(e,"onKeyDown",r.onInputKeyDown),gt(e,"id",r.props.id),gt(e,"name",r.props.name),gt(e,"autoFocus",r.props.autoFocus),gt(e,"placeholder",r.props.placeholderText),gt(e,"disabled",r.props.disabled),gt(e,"autoComplete",r.props.autoComplete),gt(e,"className",fe.default(s.props.className,a)),gt(e,"title",r.props.title),gt(e,"readOnly",r.props.readOnly),gt(e,"required",r.props.required),gt(e,"tabIndex",r.props.tabIndex),gt(e,"aria-describedby",r.props.ariaDescribedBy),gt(e,"aria-invalid",r.props.ariaInvalid),gt(e,"aria-labelledby",r.props.ariaLabelledBy),gt(e,"aria-required",r.props.ariaRequired),e))})),gt(_t(r),"renderClearButton",(function(){var e=r.props,t=e.isClearable,n=e.selected,o=e.clearButtonTitle,i=e.clearButtonClassName,a=e.ariaLabelClose,s=void 0===a?"Close":a;return t&&null!=n?de.default.createElement("button",{type:"button",className:"react-datepicker__close-icon ".concat(i),"aria-label":s,onClick:r.onClearClick,title:o,tabIndex:-1}):null})),r.state=r.calcInitialState(),r}return mt(n,[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll,!0)}},{key:"componentDidUpdate",value:function(e,t){var n,r;e.inline&&(n=e.selected,r=this.props.selected,n&&r?Pe.default(n)!==Pe.default(r)||De.default(n)!==De.default(r):n!==r)&&this.setPreSelection(this.props.selected),void 0!==this.state.monthSelectedIn&&e.monthsShown!==this.props.monthsShown&&this.setState({monthSelectedIn:0}),e.highlightDates!==this.props.highlightDates&&this.setState({highlightDates:An(this.props.highlightDates)}),t.focused||Kt(e.selected,this.props.selected)||this.setState({inputValue:null}),t.open!==this.state.open&&(!1===t.open&&!0===this.state.open&&this.props.onCalendarOpen(),!0===t.open&&!1===this.state.open&&this.props.onCalendarClose())}},{key:"componentWillUnmount",value:function(){this.clearPreventFocusTimeout(),window.removeEventListener("scroll",this.onScroll,!0)}},{key:"render",value:function(){var e=this.renderCalendar();return this.props.inline&&!this.props.withPortal?e:this.props.withPortal?de.default.createElement("div",null,this.props.inline?null:de.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),this.state.open||this.props.inline?de.default.createElement("div",{className:"react-datepicker__portal"},e):null):de.default.createElement(Gn,{className:this.props.popperClassName,wrapperClassName:this.props.wrapperClassName,hidePopper:!this.isCalendarOpen(),portalId:this.props.portalId,popperModifiers:this.props.popperModifiers,targetComponent:de.default.createElement("div",{className:"react-datepicker__input-container"},this.renderDateInput(),this.renderClearButton()),popperContainer:this.props.popperContainer,popperComponent:e,popperPlacement:this.props.popperPlacement,popperProps:this.props.popperProps,popperOnKeyDown:this.onPopperKeyDown,enableTabLoop:this.props.enableTabLoop})}}],[{key:"defaultProps",get:function(){return{allowSameDay:!1,dateFormat:"MM/dd/yyyy",dateFormatCalendar:"LLLL yyyy",onChange:function(){},disabled:!1,disabledKeyboardNavigation:!1,dropdownMode:"scroll",onFocus:function(){},onBlur:function(){},onKeyDown:function(){},onInputClick:function(){},onSelect:function(){},onClickOutside:function(){},onMonthChange:function(){},onCalendarOpen:function(){},onCalendarClose:function(){},preventOpenOnFocus:!1,onYearChange:function(){},onInputError:function(){},monthsShown:1,readOnly:!1,withPortal:!1,shouldCloseOnSelect:!0,showTimeSelect:!1,showTimeInput:!1,showPreviousMonths:!1,showMonthYearPicker:!1,showFullMonthYearPicker:!1,showTwoColumnMonthYearPicker:!1,showFourColumnMonthYearPicker:!1,showYearPicker:!1,showQuarterYearPicker:!1,strictParsing:!1,timeIntervals:30,timeCaption:"Time",previousMonthButtonLabel:"Previous Month",nextMonthButtonLabel:"Next Month",previousYearButtonLabel:"Previous Year",nextYearButtonLabel:"Next Year",timeInputLabel:"Time",enableTabLoop:!0,yearItemNumber:Tt,renderDayContents:function(e){return e},focusSelectedMonth:!1,showPopperArrow:!0,excludeScrollbar:!0,customTimeInput:null}}}]),n}(de.default.Component),Jn="input",er="navigate";e.CalendarContainer=Un,e.default=Qn,e.getDefaultLocale=Xt,e.registerLocale=function(e,t){var r="undefined"!=typeof window?window:n.g;r.__localeData__||(r.__localeData__={}),r.__localeData__[e]=t},e.setDefaultLocale=function(e){("undefined"!=typeof window?window:n.g).__localeId__=e},Object.defineProperty(e,"__esModule",{value:!0})}(t,n(67294),n(45697),n(94184),n(71381),n(12274),n(42298),n(58545),n(78343),n(77349),n(63500),n(11640),n(21593),n(1784),n(88330),n(7069),n(77982),n(54559),n(59319),n(77881),n(39159),n(85817),n(20466),n(55855),n(90259),n(78966),n(56605),n(95570),n(28789),n(39880),n(4543),n(37042),n(16218),n(11503),n(44749),n(37950),n(99890),n(92300),n(84129),n(52724),n(91857),n(69119),n(584),n(43703),n(94431),n(38148),n(83894),n(67090),n(4135),n(96843),n(3151),n(49160),n(60792),n(86117),n(42699),n(313),n(24257),n(19013),n(42034),n(23855),n(58949),n(61203),n(73935))},64448:function(e,t,n){"use strict";var r=n(67294),o=n(27418),i=n(63840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var d=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,h={},m={};function g(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new g(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new g(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var b=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function A(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0===o.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!p.call(m,e)||!p.call(h,e)&&(f.test(e)?m[e]=!0:(h[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(b,y);v[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(b,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(b,y);v[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var x=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,C=60103,_=60106,w=60107,k=60108,S=60114,E=60109,B=60110,O=60112,j=60113,T=60120,P=60115,M=60116,D=60121,R=60128,L=60129,I=60130,N=60131;if("function"==typeof Symbol&&Symbol.for){var F=Symbol.for;C=F("react.element"),_=F("react.portal"),w=F("react.fragment"),k=F("react.strict_mode"),S=F("react.profiler"),E=F("react.provider"),B=F("react.context"),O=F("react.forward_ref"),j=F("react.suspense"),T=F("react.suspense_list"),P=F("react.memo"),M=F("react.lazy"),D=F("react.block"),F("react.scope"),R=F("react.opaque.id"),L=F("react.debug_trace_mode"),I=F("react.offscreen"),N=F("react.legacy_hidden")}var z,q="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=q&&e[q]||e["@@iterator"])?e:null}function H(e){if(void 0===z)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);z=t&&t[1]||""}return"\n"+z+e}var W=!1;function V(e,t){if(!e||W)return"";W=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var o=e.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s])return"\n"+o[a].replace(" at new "," at ")}while(1<=a&&0<=s);break}}}finally{W=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?H(e):""}function Y(e){switch(e.tag){case 5:return H(e.type);case 16:return H("Lazy");case 13:return H("Suspense");case 19:return H("SuspenseList");case 0:case 2:case 15:return e=V(e.type,!1);case 11:return e=V(e.type.render,!1);case 22:return e=V(e.type._render,!1);case 1:return e=V(e.type,!0);default:return""}}function Z(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case w:return"Fragment";case _:return"Portal";case S:return"Profiler";case k:return"StrictMode";case j:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case B:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case P:return Z(e.type);case D:return Z(e._render);case M:t=e._payload,e=e._init;try{return Z(e(t))}catch(e){}}return null}function G(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function $(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=K(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return o({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=G(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&A(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=G(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?oe(e,t.type,n):t.hasOwnProperty("defaultValue")&&oe(e,t.type,G(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function oe(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=o({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ae(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+G(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return o({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:G(n)}}function ce(e,t){var n=G(t.value),r=G(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function he(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ge=function(e){return"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction((function(){return e(t,n)}))}:e}((function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}}));function ve(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ye=["Webkit","ms","Moz","O"];function Ae(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function xe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=Ae(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(be).forEach((function(e){ye.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Ce=o({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _e(e,t){if(t){if(Ce[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function we(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ke(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,Ee=null,Be=null;function Oe(e){if(e=Jr(e)){if("function"!=typeof Se)throw Error(a(280));var t=e.stateNode;t&&(t=to(t),Se(e.stateNode,e.type,t))}}function je(e){Ee?Be?Be.push(e):Be=[e]:Ee=e}function Te(){if(Ee){var e=Ee,t=Be;if(Be=Ee=null,Oe(e),t)for(e=0;e<t.length;e++)Oe(t[e])}}function Pe(e,t){return e(t)}function Me(e,t,n,r,o){return e(t,n,r,o)}function De(){}var Re=Pe,Le=!1,Ie=!1;function Ne(){null===Ee&&null===Be||(De(),Te())}function Fe(e,t){var n=e.stateNode;if(null===n)return null;var r=to(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var ze=!1;if(d)try{var qe={};Object.defineProperty(qe,"passive",{get:function(){ze=!0}}),window.addEventListener("test",qe,qe),window.removeEventListener("test",qe,qe)}catch(e){ze=!1}function Ue(e,t,n,r,o,i,a,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var He=!1,We=null,Ve=!1,Ye=null,Ze={onError:function(e){He=!0,We=e}};function Ge(e,t,n,r,o,i,a,s,l){He=!1,We=null,Ue.apply(Ze,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Xe(e){if(Ke(e)!==e)throw Error(a(188))}function Qe(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Xe(o),e;if(i===r)return Xe(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,rt,ot=!1,it=[],at=null,st=null,lt=null,ct=new Map,ut=new Map,dt=[],ft="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function pt(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:o,targetContainers:[r]}}function ht(e,t){switch(e){case"focusin":case"focusout":at=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e=pt(t,n,r,o,i),null!==t&&(null!==(t=Jr(t))&&tt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function gt(e){var t=Qr(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void rt(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function vt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=Jr(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){vt(e)&&n.delete(t)}function yt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=Jr(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==at&&vt(at)&&(at=null),null!==st&&vt(st)&&(st=null),null!==lt&&vt(lt)&&(lt=null),ct.forEach(bt),ut.forEach(bt)}function At(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,yt)))}function xt(e){function t(t){return At(t,e)}if(0<it.length){At(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==at&&At(at,e),null!==st&&At(st,e),null!==lt&&At(lt,e),ct.forEach(t),ut.forEach(t),n=0;n<dt.length;n++)(r=dt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<dt.length&&null===(n=dt[0]).blockedOn;)gt(n),null===n.blockedOn&&dt.shift()}function Ct(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _t={animationend:Ct("Animation","AnimationEnd"),animationiteration:Ct("Animation","AnimationIteration"),animationstart:Ct("Animation","AnimationStart"),transitionend:Ct("Transition","TransitionEnd")},wt={},kt={};function St(e){if(wt[e])return wt[e];if(!_t[e])return e;var t,n=_t[e];for(t in n)if(n.hasOwnProperty(t)&&t in kt)return wt[e]=n[t];return e}d&&(kt=document.createElement("div").style,"AnimationEvent"in window||(delete _t.animationend.animation,delete _t.animationiteration.animation,delete _t.animationstart.animation),"TransitionEvent"in window||delete _t.transitionend.transition);var Et=St("animationend"),Bt=St("animationiteration"),Ot=St("animationstart"),jt=St("transitionend"),Tt=new Map,Pt=new Map,Mt=["abort","abort",Et,"animationEnd",Bt,"animationIteration",Ot,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",jt,"transitionEnd","waiting","waiting"];function Dt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],o=e[n+1];o="on"+(o[0].toUpperCase()+o.slice(1)),Pt.set(r,t),Tt.set(r,o),c(o,[r])}}(0,i.unstable_now)();var Rt=8;function Lt(e){if(0!=(1&e))return Rt=15,1;if(0!=(2&e))return Rt=14,2;if(0!=(4&e))return Rt=13,4;var t=24&e;return 0!==t?(Rt=12,t):0!=(32&e)?(Rt=11,32):0!==(t=192&e)?(Rt=10,t):0!=(256&e)?(Rt=9,256):0!==(t=3584&e)?(Rt=8,t):0!=(4096&e)?(Rt=7,4096):0!==(t=4186112&e)?(Rt=6,t):0!==(t=62914560&e)?(Rt=5,t):67108864&e?(Rt=4,67108864):0!=(134217728&e)?(Rt=3,134217728):0!==(t=805306368&e)?(Rt=2,t):0!=(1073741824&e)?(Rt=1,1073741824):(Rt=8,e)}function It(e,t){var n=e.pendingLanes;if(0===n)return Rt=0;var r=0,o=0,i=e.expiredLanes,a=e.suspendedLanes,s=e.pingedLanes;if(0!==i)r=i,o=Rt=15;else if(0!==(i=134217727&n)){var l=i&~a;0!==l?(r=Lt(l),o=Rt):0!==(s&=i)&&(r=Lt(s),o=Rt)}else 0!==(i=n&~a)?(r=Lt(i),o=Rt):0!==s&&(r=Lt(s),o=Rt);if(0===r)return 0;if(r=n&((0>(r=31-Ht(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0==(t&a)){if(Lt(t),o<=Rt)return t;Rt=o}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-Ht(t)),r|=e[n],t&=~o;return r}function Nt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ft(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=zt(24&~t))?Ft(10,t):e;case 10:return 0===(e=zt(192&~t))?Ft(8,t):e;case 8:return 0===(e=zt(3584&~t))&&(0===(e=zt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=zt(805306368&~t))&&(t=268435456),t}throw Error(a(358,e))}function zt(e){return e&-e}function qt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ht(t)]=n}var Ht=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Wt(e)/Vt|0)|0},Wt=Math.log,Vt=Math.LN2;var Yt=i.unstable_UserBlockingPriority,Zt=i.unstable_runWithPriority,Gt=!0;function Kt(e,t,n,r){Le||De();var o=Xt,i=Le;Le=!0;try{Me(o,e,t,n,r)}finally{(Le=i)||Ne()}}function $t(e,t,n,r){Zt(Yt,Xt.bind(null,e,t,n,r))}function Xt(e,t,n,r){var o;if(Gt)if((o=0==(4&t))&&0<it.length&&-1<ft.indexOf(e))e=pt(null,e,t,n,r),it.push(e);else{var i=Qt(e,t,n,r);if(null===i)o&&ht(e,r);else{if(o){if(-1<ft.indexOf(e))return e=pt(i,e,t,n,r),void it.push(e);if(function(e,t,n,r,o){switch(t){case"focusin":return at=mt(at,e,t,n,r,o),!0;case"dragenter":return st=mt(st,e,t,n,r,o),!0;case"mouseover":return lt=mt(lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ct.set(i,mt(ct.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,ut.set(i,mt(ut.get(i)||null,e,t,n,r,o)),!0}return!1}(i,e,t,n,r))return;ht(e,r)}Tr(e,t,r,null,n)}}}function Qt(e,t,n,r){var o=ke(r);if(null!==(o=Qr(o))){var i=Ke(o);if(null===i)o=null;else{var a=i.tag;if(13===a){if(null!==(o=$e(i)))return o;o=null}else if(3===a){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;o=null}else i!==o&&(o=null)}}return Tr(e,t,r,o,n),null}var Jt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,r=n.length,o="value"in Jt?Jt.value:Jt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return tn=o.slice(e,1<t?1-t:void 0)}function rn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function an(){return!1}function sn(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?on:an,this.isPropagationStopped=an,this}return o(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var ln,cn,un,dn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fn=sn(dn),pn=o({},dn,{view:0,detail:0}),hn=sn(pn),mn=o({},pn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,cn=e.screenY-un.screenY):cn=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),gn=sn(mn),vn=sn(o({},mn,{dataTransfer:0})),bn=sn(o({},pn,{relatedTarget:0})),yn=sn(o({},dn,{animationName:0,elapsedTime:0,pseudoElement:0})),An=sn(o({},dn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),xn=sn(o({},dn,{data:0})),Cn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function Sn(){return kn}var En=sn(o({},pn,{key:function(e){if(e.key){var t=Cn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=rn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?_n[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?rn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?rn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Bn=sn(o({},mn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=sn(o({},pn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),jn=sn(o({},dn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Tn=sn(o({},mn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Pn=[9,13,27,32],Mn=d&&"CompositionEvent"in window,Dn=null;d&&"documentMode"in document&&(Dn=document.documentMode);var Rn=d&&"TextEvent"in window&&!Dn,Ln=d&&(!Mn||Dn&&8<Dn&&11>=Dn),In=String.fromCharCode(32),Nn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var qn=!1;var Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Wn(e,t,n,r){je(r),0<(t=Mr(t,"onChange")).length&&(n=new fn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Yn=null;function Zn(e){kr(e,0)}function Gn(e){if(X(eo(e)))return e}function Kn(e,t){if("change"===e)return t}var $n=!1;if(d){var Xn;if(d){var Qn="oninput"in document;if(!Qn){var Jn=document.createElement("div");Jn.setAttribute("oninput","return;"),Qn="function"==typeof Jn.oninput}Xn=Qn}else Xn=!1;$n=Xn&&(!document.documentMode||9<document.documentMode)}function er(){Vn&&(Vn.detachEvent("onpropertychange",tr),Yn=Vn=null)}function tr(e){if("value"===e.propertyName&&Gn(Yn)){var t=[];if(Wn(t,Yn,e,ke(e)),e=Zn,Le)e(t);else{Le=!0;try{Pe(e,t)}finally{Le=!1,Ne()}}}}function nr(e,t,n){"focusin"===e?(er(),Yn=n,(Vn=t).attachEvent("onpropertychange",tr)):"focusout"===e&&er()}function rr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Yn)}function or(e,t){if("click"===e)return Gn(t)}function ir(e,t){if("input"===e||"change"===e)return Gn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},sr=Object.prototype.hasOwnProperty;function lr(e,t){if(ar(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!sr.call(t,n[r])||!ar(e[n[r]],t[n[r]]))return!1;return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var hr=d&&"documentMode"in document&&11>=document.documentMode,mr=null,gr=null,vr=null,br=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==Q(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&lr(vr,r)||(vr=r,0<(r=Mr(gr,"onSelect")).length&&(t=new fn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}Dt("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Dt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Dt(Mt,2);for(var Ar="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),xr=0;xr<Ar.length;xr++)Pt.set(Ar[xr],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),_r=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cr));function wr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,s,l,c){if(Ge.apply(this,arguments),He){if(!He)throw Error(a(198));var u=We;He=!1,We=null,Ve||(Ve=!0,Ye=u)}}(r,t,void 0,e),e.currentTarget=null}function kr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;wr(o,s,c),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,c=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;wr(o,s,c),i=l}}}if(Ve)throw e=Ye,Ve=!1,Ye=null,e}function Sr(e,t){var n=no(t),r=e+"__bubble";n.has(r)||(jr(t,e,2,!1),n.add(r))}var Er="_reactListening"+Math.random().toString(36).slice(2);function Br(e){e[Er]||(e[Er]=!0,s.forEach((function(t){_r.has(t)||Or(t,!1,e,null),Or(t,!0,e,null)})))}function Or(e,t,n,r){var o=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==r&&!t&&_r.has(e)){if("scroll"!==e)return;o|=2,i=r}var a=no(i),s=e+"__"+(t?"capture":"bubble");a.has(s)||(t&&(o|=4),jr(i,e,o,t),a.add(s))}function jr(e,t,n,r){var o=Pt.get(t);switch(void 0===o?2:o){case 0:o=Kt;break;case 1:o=$t;break;default:o=Xt}n=o.bind(null,t,n,e),o=void 0,!ze||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Tr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=Qr(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}!function(e,t,n){if(Ie)return e(t,n);Ie=!0;try{Re(e,t,n)}finally{Ie=!1,Ne()}}((function(){var r=i,o=ke(n),a=[];e:{var s=Tt.get(e);if(void 0!==s){var l=fn,c=e;switch(e){case"keypress":if(0===rn(n))break e;case"keydown":case"keyup":l=En;break;case"focusin":c="focus",l=bn;break;case"focusout":c="blur",l=bn;break;case"beforeblur":case"afterblur":l=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=vn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case Et:case Bt:case Ot:l=yn;break;case jt:l=jn;break;case"scroll":l=hn;break;case"wheel":l=Tn;break;case"copy":case"cut":case"paste":l=An;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Bn}var u=0!=(4&t),d=!u&&"scroll"===e,f=u?null!==s?s+"Capture":null:s;u=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Fe(h,f))&&u.push(Pr(h,m,p)))),d)break;h=h.return}0<u.length&&(s=new l(s,c,null,n,o),a.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!Qr(c)&&!c[$r])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?Qr(c):null)&&(c!==(d=Ke(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=gn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(u=Bn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:eo(l),p=null==c?s:eo(c),(s=new u(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,Qr(o)===r&&((u=new u(f,h+"enter",c,n,o)).target=p,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(f=c,h=0,p=u=l;p;p=Dr(p))h++;for(p=0,m=f;m;m=Dr(m))p++;for(;0<h-p;)u=Dr(u),h--;for(;0<p-h;)f=Dr(f),p--;for(;h--;){if(u===f||null!==f&&u===f.alternate)break e;u=Dr(u),f=Dr(f)}u=null}else u=null;null!==l&&Rr(a,s,l,u,!1),null!==c&&null!==d&&Rr(a,d,c,u,!0)}if("select"===(l=(s=r?eo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Kn;else if(Hn(s))if($n)g=ir;else{g=rr;var v=nr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=or);switch(g&&(g=g(e,r))?Wn(a,g,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&oe(s,"number",s.value)),v=r?eo(r):window,e){case"focusin":(Hn(v)||"true"===v.contentEditable)&&(mr=v,gr=r,vr=null);break;case"focusout":vr=gr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,yr(a,n,o);break;case"selectionchange":if(hr)break;case"keydown":case"keyup":yr(a,n,o)}var b;if(Mn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else qn?Fn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Ln&&"ko"!==n.locale&&(qn||"onCompositionStart"!==y?"onCompositionEnd"===y&&qn&&(b=nn()):(en="value"in(Jt=o)?Jt.value:Jt.textContent,qn=!0)),0<(v=Mr(r,y)).length&&(y=new xn(y,e,null,n,o),a.push({event:y,listeners:v}),b?y.data=b:null!==(b=zn(n))&&(y.data=b))),(b=Rn?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Nn=!0,In);case"textInput":return(e=t.data)===In&&Nn?null:e;default:return null}}(e,n):function(e,t){if(qn)return"compositionend"===e||!Mn&&Fn(e,t)?(e=nn(),tn=en=Jt=null,qn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ln&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Mr(r,"onBeforeInput")).length&&(o=new xn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=b))}kr(a,t)}))}function Pr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Mr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Fe(e,n))&&r.unshift(Pr(e,i,o)),null!=(i=Fe(e,t))&&r.push(Pr(e,i,o))),e=e.return}return r}function Dr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Rr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Fe(n,i))&&a.unshift(Pr(n,l,s)):o||null!=(l=Fe(n,i))&&a.push(Pr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}function Lr(){}var Ir=null,Nr=null;function Fr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function zr(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var qr="function"==typeof setTimeout?setTimeout:void 0,Ur="function"==typeof clearTimeout?clearTimeout:void 0;function Hr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Wr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Vr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Yr=0;var Zr=Math.random().toString(36).slice(2),Gr="__reactFiber$"+Zr,Kr="__reactProps$"+Zr,$r="__reactContainer$"+Zr,Xr="__reactEvents$"+Zr;function Qr(e){var t=e[Gr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[$r]||n[Gr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Vr(e);null!==e;){if(n=e[Gr])return n;e=Vr(e)}return t}n=(e=n).parentNode}return null}function Jr(e){return!(e=e[Gr]||e[$r])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function eo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function to(e){return e[Kr]||null}function no(e){var t=e[Xr];return void 0===t&&(t=e[Xr]=new Set),t}var ro=[],oo=-1;function io(e){return{current:e}}function ao(e){0>oo||(e.current=ro[oo],ro[oo]=null,oo--)}function so(e,t){oo++,ro[oo]=e.current,e.current=t}var lo={},co=io(lo),uo=io(!1),fo=lo;function po(e,t){var n=e.type.contextTypes;if(!n)return lo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ho(e){return null!=(e=e.childContextTypes)}function mo(){ao(uo),ao(co)}function go(e,t,n){if(co.current!==lo)throw Error(a(168));so(co,t),so(uo,n)}function vo(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,Z(t)||"Unknown",i));return o({},n,r)}function bo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||lo,fo=co.current,so(co,e),so(uo,uo.current),!0}function yo(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=vo(e,t,fo),r.__reactInternalMemoizedMergedChildContext=e,ao(uo),ao(co),so(co,e)):ao(uo),so(uo,n)}var Ao=null,xo=null,Co=i.unstable_runWithPriority,_o=i.unstable_scheduleCallback,wo=i.unstable_cancelCallback,ko=i.unstable_shouldYield,So=i.unstable_requestPaint,Eo=i.unstable_now,Bo=i.unstable_getCurrentPriorityLevel,Oo=i.unstable_ImmediatePriority,jo=i.unstable_UserBlockingPriority,To=i.unstable_NormalPriority,Po=i.unstable_LowPriority,Mo=i.unstable_IdlePriority,Do={},Ro=void 0!==So?So:function(){},Lo=null,Io=null,No=!1,Fo=Eo(),zo=1e4>Fo?Eo:function(){return Eo()-Fo};function qo(){switch(Bo()){case Oo:return 99;case jo:return 98;case To:return 97;case Po:return 96;case Mo:return 95;default:throw Error(a(332))}}function Uo(e){switch(e){case 99:return Oo;case 98:return jo;case 97:return To;case 96:return Po;case 95:return Mo;default:throw Error(a(332))}}function Ho(e,t){return e=Uo(e),Co(e,t)}function Wo(e,t,n){return e=Uo(e),_o(e,t,n)}function Vo(){if(null!==Io){var e=Io;Io=null,wo(e)}Yo()}function Yo(){if(!No&&null!==Lo){No=!0;var e=0;try{var t=Lo;Ho(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Lo=null}catch(t){throw null!==Lo&&(Lo=Lo.slice(e+1)),_o(Oo,Vo),t}finally{No=!1}}}var Zo=x.ReactCurrentBatchConfig;function Go(e,t){if(e&&e.defaultProps){for(var n in t=o({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Ko=io(null),$o=null,Xo=null,Qo=null;function Jo(){Qo=Xo=$o=null}function ei(e){var t=Ko.current;ao(Ko),e.type._context._currentValue=t}function ti(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ni(e,t){$o=e,Qo=Xo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(Ma=!0),e.firstContext=null)}function ri(e,t){if(Qo!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(Qo=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Xo){if(null===$o)throw Error(a(308));Xo=t,$o.dependencies={lanes:0,firstContext:t,responders:null}}else Xo=Xo.next=t;return e._currentValue}var oi=!1;function ii(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function ai(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function si(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function li(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ci(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ui(e,t,n,r){var i=e.updateQueue;oi=!1;var a=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?a=u:s.next=u,s=c;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==s&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=c)}}if(null!==a){for(f=i.baseState,s=0,d=u=c=null;;){l=a.lane;var p=a.eventTime;if((r&l)===l){null!==d&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var h=e,m=a;switch(l=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){f=h.call(p,f,l);break e}f=h;break e;case 3:h.flags=-4097&h.flags|64;case 0:if(null==(l="function"==typeof(h=m.payload)?h.call(p,f,l):h))break e;f=o({},f,l);break e;case 2:oi=!0}}null!==a.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[a]:l.push(a))}else p={eventTime:p,lane:l,tag:a.tag,payload:a.payload,callback:a.callback,next:null},null===d?(u=d=p,c=f):d=d.next=p,s|=l;if(null===(a=a.next)){if(null===(l=i.shared.pending))break;a=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===d&&(c=f),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=d,Is|=s,e.lanes=s,e.memoizedState=f}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var fi=(new r.Component).refs;function pi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:o({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var hi={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ll(),o=cl(e),i=si(r,o);i.payload=t,null!=n&&(i.callback=n),li(e,i),ul(e,o,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ll(),o=cl(e),i=si(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),li(e,i),ul(e,o,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ll(),r=cl(e),o=si(n,r);o.tag=2,null!=t&&(o.callback=t),li(e,o),ul(e,r,n)}};function mi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function gi(e,t,n){var r=!1,o=lo,i=t.contextType;return"object"==typeof i&&null!==i?i=ri(i):(o=ho(t)?fo:co.current,i=(r=null!=(r=t.contextTypes))?po(e,o):lo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=hi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function vi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&hi.enqueueReplaceState(t,t.state,null)}function bi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=fi,ii(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=ri(i):(i=ho(t)?fo:co.current,o.context=po(e,i)),ui(e,n,o,r),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(pi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&hi.enqueueReplaceState(o,o.state,null),ui(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4)}var yi=Array.isArray;function Ai(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=r.refs;t===fi&&(t=r.refs={}),null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function xi(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ci(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ul(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Yl(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=o(t,n.props)).ref=Ai(e,t,n),r.return=e,r):((r=Hl(n.type,n.key,n.props,null,e.mode,r)).ref=Ai(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Zl(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Wl(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Yl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case C:return(n=Hl(t.type,t.key,t.props,null,e.mode,n)).ref=Ai(e,null,t),n.return=e,n;case _:return(t=Zl(t,e.mode,n)).return=e,t}if(yi(t)||U(t))return(t=Wl(t,e.mode,n,null)).return=e,t;xi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case C:return n.key===o?n.type===w?d(e,t,n.props.children,r,o):c(e,t,n,r):null;case _:return n.key===o?u(e,t,n,r):null}if(yi(n)||U(n))return null!==o?null:d(e,t,n,r,null);xi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case C:return e=e.get(null===r.key?n:r.key)||null,r.type===w?d(t,e,r.props.children,o,r.key):c(t,e,r,o);case _:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o)}if(yi(r)||U(r))return d(t,e=e.get(n)||null,r,o,null);xi(t,r)}return null}function m(o,a,s,l){for(var c=null,u=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(o,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(o,d),a=i(v,a,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(o,d),c;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(a=i(d,a,m),null===u?c=d:u.sibling=d,u=d);return c}for(d=r(o,d);m<s.length;m++)null!==(g=h(d,o,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=i(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach((function(e){return t(o,e)})),c}function g(o,s,l,c){var u=U(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,g=s=0,v=null,b=l.next();null!==m&&!b.done;g++,b=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=p(o,m,b.value,c);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(o,m),s=i(y,s,g),null===d?u=y:d.sibling=y,d=y,m=v}if(b.done)return n(o,m),u;if(null===m){for(;!b.done;g++,b=l.next())null!==(b=f(o,b.value,c))&&(s=i(b,s,g),null===d?u=b:d.sibling=b,d=b);return u}for(m=r(o,m);!b.done;g++,b=l.next())null!==(b=h(m,o,g,b.value,c))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),s=i(b,s,g),null===d?u=b:d.sibling=b,d=b);return e&&m.forEach((function(e){return t(o,e)})),u}return function(e,r,i,l){var c="object"==typeof i&&null!==i&&i.type===w&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case C:e:{for(u=i.key,c=r;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===w){n(e,c.sibling),(r=o(c,i.props.children)).return=e,e=r;break e}}else if(c.elementType===i.type){n(e,c.sibling),(r=o(c,i.props)).ref=Ai(e,c,i),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===w?((r=Wl(i.props.children,e.mode,l,i.key)).return=e,e=r):((l=Hl(i.type,i.key,i.props,null,e.mode,l)).ref=Ai(e,r,i),l.return=e,e=l)}return s(e);case _:e:{for(c=i.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===i.containerInfo&&r.stateNode.implementation===i.implementation){n(e,r.sibling),(r=o(r,i.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Zl(i,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==r&&6===r.tag?(n(e,r.sibling),(r=o(r,i)).return=e,e=r):(n(e,r),(r=Yl(i,e.mode,l)).return=e,e=r),s(e);if(yi(i))return m(e,r,i,l);if(U(i))return g(e,r,i,l);if(u&&xi(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(a(152,Z(e.type)||"Component"))}return n(e,r)}}var _i=Ci(!0),wi=Ci(!1),ki={},Si=io(ki),Ei=io(ki),Bi=io(ki);function Oi(e){if(e===ki)throw Error(a(174));return e}function ji(e,t){switch(so(Bi,t),so(Ei,e),so(Si,ki),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:he(null,"");break;default:t=he(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ao(Si),so(Si,t)}function Ti(){ao(Si),ao(Ei),ao(Bi)}function Pi(e){Oi(Bi.current);var t=Oi(Si.current),n=he(t,e.type);t!==n&&(so(Ei,e),so(Si,n))}function Mi(e){Ei.current===e&&(ao(Si),ao(Ei))}var Di=io(0);function Ri(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Li=null,Ii=null,Ni=!1;function Fi(e,t){var n=zl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function zi(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function qi(e){if(Ni){var t=Ii;if(t){var n=t;if(!zi(e,t)){if(!(t=Wr(n.nextSibling))||!zi(e,t))return e.flags=-1025&e.flags|2,Ni=!1,void(Li=e);Fi(Li,n)}Li=e,Ii=Wr(t.firstChild)}else e.flags=-1025&e.flags|2,Ni=!1,Li=e}}function Ui(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Li=e}function Hi(e){if(e!==Li)return!1;if(!Ni)return Ui(e),Ni=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!zr(t,e.memoizedProps))for(t=Ii;t;)Fi(e,t),t=Wr(t.nextSibling);if(Ui(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Ii=Wr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Ii=null}}else Ii=Li?Wr(e.stateNode.nextSibling):null;return!0}function Wi(){Ii=Li=null,Ni=!1}var Vi=[];function Yi(){for(var e=0;e<Vi.length;e++)Vi[e]._workInProgressVersionPrimary=null;Vi.length=0}var Zi=x.ReactCurrentDispatcher,Gi=x.ReactCurrentBatchConfig,Ki=0,$i=null,Xi=null,Qi=null,Ji=!1,ea=!1;function ta(){throw Error(a(321))}function na(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function ra(e,t,n,r,o,i){if(Ki=i,$i=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Zi.current=null===e||null===e.memoizedState?Oa:ja,e=n(r,o),ea){i=0;do{if(ea=!1,!(25>i))throw Error(a(301));i+=1,Qi=Xi=null,t.updateQueue=null,Zi.current=Ta,e=n(r,o)}while(ea)}if(Zi.current=Ba,t=null!==Xi&&null!==Xi.next,Ki=0,Qi=Xi=$i=null,Ji=!1,t)throw Error(a(300));return e}function oa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qi?$i.memoizedState=Qi=e:Qi=Qi.next=e,Qi}function ia(){if(null===Xi){var e=$i.alternate;e=null!==e?e.memoizedState:null}else e=Xi.next;var t=null===Qi?$i.memoizedState:Qi.next;if(null!==t)Qi=t,Xi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(Xi=e).memoizedState,baseState:Xi.baseState,baseQueue:Xi.baseQueue,queue:Xi.queue,next:null},null===Qi?$i.memoizedState=Qi=e:Qi=Qi.next=e}return Qi}function aa(e,t){return"function"==typeof t?t(e):t}function sa(e){var t=ia(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=Xi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(null!==o){o=o.next,r=r.baseState;var l=s=i=null,c=o;do{var u=c.lane;if((Ki&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=d,i=r):l=l.next=d,$i.lanes|=u,Is|=u}c=c.next}while(null!==c&&c!==o);null===l?i=r:l.next=s,ar(r,t.memoizedState)||(Ma=!0),t.memoizedState=r,t.baseState=i,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function la(e){var t=ia(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);ar(i,t.memoizedState)||(Ma=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function ca(e,t,n){var r=t._getVersion;r=r(t._source);var o=t._workInProgressVersionPrimary;if(null!==o?e=o===r:(e=e.mutableReadLanes,(e=(Ki&e)===e)&&(t._workInProgressVersionPrimary=r,Vi.push(t))),e)return n(t._source);throw Vi.push(t),Error(a(350))}function ua(e,t,n,r){var o=Os;if(null===o)throw Error(a(349));var i=t._getVersion,s=i(t._source),l=Zi.current,c=l.useState((function(){return ca(o,t,n)})),u=c[1],d=c[0];c=Qi;var f=e.memoizedState,p=f.refs,h=p.getSnapshot,m=f.source;f=f.subscribe;var g=$i;return e.memoizedState={refs:p,source:t,subscribe:r},l.useEffect((function(){p.getSnapshot=n,p.setSnapshot=u;var e=i(t._source);if(!ar(s,e)){e=n(t._source),ar(d,e)||(u(e),e=cl(g),o.mutableReadLanes|=e&o.pendingLanes),e=o.mutableReadLanes,o.entangledLanes|=e;for(var r=o.entanglements,a=e;0<a;){var l=31-Ht(a),c=1<<l;r[l]|=e,a&=~c}}}),[n,t,r]),l.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=cl(g);o.mutableReadLanes|=r&o.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,r]),ar(h,n)&&ar(m,t)&&ar(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:aa,lastRenderedState:d}).dispatch=u=Ea.bind(null,$i,e),c.queue=e,c.baseQueue=null,d=ca(o,t,n),c.memoizedState=c.baseState=d),d}function da(e,t,n){return ua(ia(),e,t,n)}function fa(e){var t=oa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:aa,lastRenderedState:e}).dispatch=Ea.bind(null,$i,e),[t.memoizedState,e]}function pa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=$i.updateQueue)?(t={lastEffect:null},$i.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function ha(e){return e={current:e},oa().memoizedState=e}function ma(){return ia().memoizedState}function ga(e,t,n,r){var o=oa();$i.flags|=e,o.memoizedState=pa(1|t,n,void 0,void 0===r?null:r)}function va(e,t,n,r){var o=ia();r=void 0===r?null:r;var i=void 0;if(null!==Xi){var a=Xi.memoizedState;if(i=a.destroy,null!==r&&na(r,a.deps))return void pa(t,n,i,r)}$i.flags|=e,o.memoizedState=pa(1|t,n,i,r)}function ba(e,t){return ga(516,4,e,t)}function ya(e,t){return va(516,4,e,t)}function Aa(e,t){return va(4,2,e,t)}function xa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ca(e,t,n){return n=null!=n?n.concat([e]):null,va(4,2,xa.bind(null,t,e),n)}function _a(){}function wa(e,t){var n=ia();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&na(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ka(e,t){var n=ia();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&na(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Sa(e,t){var n=qo();Ho(98>n?98:n,(function(){e(!0)})),Ho(97<n?97:n,(function(){var n=Gi.transition;Gi.transition=1;try{e(!1),t()}finally{Gi.transition=n}}))}function Ea(e,t,n){var r=ll(),o=cl(e),i={lane:o,action:n,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(null===a?i.next=i:(i.next=a.next,a.next=i),t.pending=i,a=e.alternate,e===$i||null!==a&&a===$i)ea=Ji=!0;else{if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=a(s,n);if(i.eagerReducer=a,i.eagerState=l,ar(l,s))return}catch(e){}ul(e,o,r)}}var Ba={readContext:ri,useCallback:ta,useContext:ta,useEffect:ta,useImperativeHandle:ta,useLayoutEffect:ta,useMemo:ta,useReducer:ta,useRef:ta,useState:ta,useDebugValue:ta,useDeferredValue:ta,useTransition:ta,useMutableSource:ta,useOpaqueIdentifier:ta,unstable_isNewReconciler:!1},Oa={readContext:ri,useCallback:function(e,t){return oa().memoizedState=[e,void 0===t?null:t],e},useContext:ri,useEffect:ba,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ga(4,2,xa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ga(4,2,e,t)},useMemo:function(e,t){var n=oa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=oa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Ea.bind(null,$i,e),[r.memoizedState,e]},useRef:ha,useState:fa,useDebugValue:_a,useDeferredValue:function(e){var t=fa(e),n=t[0],r=t[1];return ba((function(){var t=Gi.transition;Gi.transition=1;try{r(e)}finally{Gi.transition=t}}),[e]),n},useTransition:function(){var e=fa(!1),t=e[0];return ha(e=Sa.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=oa();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},ua(r,e,t,n)},useOpaqueIdentifier:function(){if(Ni){var e=!1,t=function(e){return{$$typeof:R,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Yr++).toString(36))),Error(a(355))})),n=fa(t)[1];return 0==(2&$i.mode)&&($i.flags|=516,pa(5,(function(){n("r:"+(Yr++).toString(36))}),void 0,null)),t}return fa(t="r:"+(Yr++).toString(36)),t},unstable_isNewReconciler:!1},ja={readContext:ri,useCallback:wa,useContext:ri,useEffect:ya,useImperativeHandle:Ca,useLayoutEffect:Aa,useMemo:ka,useReducer:sa,useRef:ma,useState:function(){return sa(aa)},useDebugValue:_a,useDeferredValue:function(e){var t=sa(aa),n=t[0],r=t[1];return ya((function(){var t=Gi.transition;Gi.transition=1;try{r(e)}finally{Gi.transition=t}}),[e]),n},useTransition:function(){var e=sa(aa)[0];return[ma().current,e]},useMutableSource:da,useOpaqueIdentifier:function(){return sa(aa)[0]},unstable_isNewReconciler:!1},Ta={readContext:ri,useCallback:wa,useContext:ri,useEffect:ya,useImperativeHandle:Ca,useLayoutEffect:Aa,useMemo:ka,useReducer:la,useRef:ma,useState:function(){return la(aa)},useDebugValue:_a,useDeferredValue:function(e){var t=la(aa),n=t[0],r=t[1];return ya((function(){var t=Gi.transition;Gi.transition=1;try{r(e)}finally{Gi.transition=t}}),[e]),n},useTransition:function(){var e=la(aa)[0];return[ma().current,e]},useMutableSource:da,useOpaqueIdentifier:function(){return la(aa)[0]},unstable_isNewReconciler:!1},Pa=x.ReactCurrentOwner,Ma=!1;function Da(e,t,n,r){t.child=null===e?wi(t,null,n,r):_i(t,e.child,n,r)}function Ra(e,t,n,r,o){n=n.render;var i=t.ref;return ni(t,o),r=ra(e,t,n,r,i,o),null===e||Ma?(t.flags|=1,Da(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ts(e,t,o))}function La(e,t,n,r,o,i){if(null===e){var a=n.type;return"function"!=typeof a||ql(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hl(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,Ia(e,t,a,r,o,i))}return a=e.child,0==(o&i)&&(o=a.memoizedProps,(n=null!==(n=n.compare)?n:lr)(o,r)&&e.ref===t.ref)?ts(e,t,i):(t.flags|=1,(e=Ul(a,r)).ref=t.ref,e.return=t,t.child=e)}function Ia(e,t,n,r,o,i){if(null!==e&&lr(e.memoizedProps,r)&&e.ref===t.ref){if(Ma=!1,0==(i&o))return t.lanes=e.lanes,ts(e,t,i);0!=(16384&e.flags)&&(Ma=!0)}return za(e,t,n,r,i)}function Na(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},bl(t,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},bl(t,e),null;t.memoizedState={baseLanes:0},bl(t,null!==i?i.baseLanes:n)}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,bl(t,r);return Da(e,t,o,n),t.child}function Fa(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function za(e,t,n,r,o){var i=ho(n)?fo:co.current;return i=po(t,i),ni(t,o),n=ra(e,t,n,r,i,o),null===e||Ma?(t.flags|=1,Da(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~o,ts(e,t,o))}function qa(e,t,n,r,o){if(ho(n)){var i=!0;bo(t)}else i=!1;if(ni(t,o),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),gi(t,n,r),bi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,c=n.contextType;"object"==typeof c&&null!==c?c=ri(c):c=po(t,c=ho(n)?fo:co.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==c)&&vi(t,a,r,c),oi=!1;var f=t.memoizedState;a.state=f,ui(t,r,a,o),l=t.memoizedState,s!==r||f!==l||uo.current||oi?("function"==typeof u&&(pi(t,n,u,r),l=t.memoizedState),(s=oi||mi(t,n,s,r,f,l,c))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4)):("function"==typeof a.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=c,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4),r=!1)}else{a=t.stateNode,ai(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Go(t.type,s),a.props=c,d=t.pendingProps,f=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=ri(l):l=po(t,l=ho(n)?fo:co.current);var p=n.getDerivedStateFromProps;(u="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&vi(t,a,r,l),oi=!1,f=t.memoizedState,a.state=f,ui(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||uo.current||oi?("function"==typeof p&&(pi(t,n,p,r),h=t.memoizedState),(c=oi||mi(t,n,c,r,f,h,l))?(u||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return Ua(e,t,n,r,i,o)}function Ua(e,t,n,r,o,i){Fa(e,t);var a=0!=(64&t.flags);if(!r&&!a)return o&&yo(t,n,!1),ts(e,t,i);r=t.stateNode,Pa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=_i(t,e.child,null,i),t.child=_i(t,null,s,i)):Da(e,t,s,i),t.memoizedState=r.state,o&&yo(t,n,!0),t.child}function Ha(e){var t=e.stateNode;t.pendingContext?go(0,t.pendingContext,t.pendingContext!==t.context):t.context&&go(0,t.context,!1),ji(e,t.containerInfo)}var Wa,Va,Ya,Za={dehydrated:null,retryLane:0};function Ga(e,t,n){var r,o=t.pendingProps,i=Di.current,a=!1;return(r=0!=(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(a=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),so(Di,1&i),null===e?(void 0!==o.fallback&&qi(t),e=o.children,i=o.fallback,a?(e=Ka(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Za,e):"number"==typeof o.unstable_expectedLoadTime?(e=Ka(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Za,t.lanes=33554432,e):((n=Vl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,a?(o=Xa(e,t,o.children,o.fallback,n),a=t.child,i=e.child.memoizedState,a.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},a.childLanes=e.childLanes&~n,t.memoizedState=Za,o):(n=$a(e,t,o.children,n),t.memoizedState=null,n))}function Ka(e,t,n,r){var o=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&o)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Vl(t,o,0,null),n=Wl(n,o,r,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function $a(e,t,n,r){var o=e.child;return e=o.sibling,n=Ul(o,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function Xa(e,t,n,r,o){var i=t.mode,a=e.child;e=a.sibling;var s={mode:"hidden",children:n};return 0==(2&i)&&t.child!==a?((n=t.child).childLanes=0,n.pendingProps=s,null!==(a=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Ul(a,s),null!==e?r=Ul(e,r):(r=Wl(r,i,o,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function Qa(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ti(e.return,t)}function Ja(e,t,n,r,o,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o,lastEffect:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o,a.lastEffect=i)}function es(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Da(e,t,r.children,n),0!=(2&(r=Di.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Qa(e,n);else if(19===e.tag)Qa(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(so(Di,r),0==(2&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===Ri(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Ja(t,!1,o,n,i,t.lastEffect);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===Ri(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Ja(t,!0,n,null,i,t.lastEffect);break;case"together":Ja(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ts(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Is|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ul(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ul(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function ns(e,t){if(!Ni)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function rs(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ho(t.type)&&mo(),null;case 3:return Ti(),ao(uo),ao(co),Yi(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Hi(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:Mi(t);var i=Oi(Bi.current);if(n=t.type,null!==e&&null!=t.stateNode)Va(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Oi(Si.current),Hi(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Gr]=t,r[Kr]=s,n){case"dialog":Sr("cancel",r),Sr("close",r);break;case"iframe":case"object":case"embed":Sr("load",r);break;case"video":case"audio":for(e=0;e<Cr.length;e++)Sr(Cr[e],r);break;case"source":Sr("error",r);break;case"img":case"image":case"link":Sr("error",r),Sr("load",r);break;case"details":Sr("toggle",r);break;case"input":ee(r,s),Sr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Sr("invalid",r);break;case"textarea":le(r,s),Sr("invalid",r)}for(var c in _e(n,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"==typeof i?r.textContent!==i&&(e=["children",i]):"number"==typeof i&&r.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Sr("scroll",r));switch(n){case"input":$(r),re(r,s,!0);break;case"textarea":$(r),ue(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=Lr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Gr]=t,e[Kr]=r,Wa(e,t),t.stateNode=e,c=we(n,r),n){case"dialog":Sr("cancel",e),Sr("close",e),i=r;break;case"iframe":case"object":case"embed":Sr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cr.length;i++)Sr(Cr[i],e);i=r;break;case"source":Sr("error",e),i=r;break;case"img":case"image":case"link":Sr("error",e),Sr("load",e),i=r;break;case"details":Sr("toggle",e),i=r;break;case"input":ee(e,r),i=J(e,r),Sr("invalid",e);break;case"option":i=ie(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=o({},r,{value:void 0}),Sr("invalid",e);break;case"textarea":le(e,r),i=se(e,r),Sr("invalid",e);break;default:i=r}_e(n,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var d=u[s];"style"===s?xe(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&ge(e,d):"children"===s?"string"==typeof d?("textarea"!==n||""!==d)&&ve(e,d):"number"==typeof d&&ve(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=d&&"onScroll"===s&&Sr("scroll",e):null!=d&&A(e,s,d,c))}switch(n){case"input":$(e),re(e,r,!1);break;case"textarea":$(e),ue(e);break;case"option":null!=r.value&&e.setAttribute("value",""+G(r.value));break;case"select":e.multiple=!!r.multiple,null!=(s=r.value)?ae(e,!!r.multiple,s,!1):null!=r.defaultValue&&ae(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Lr)}Fr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ya(0,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Oi(Bi.current),Oi(Si.current),Hi(t)?(r=t.stateNode,n=t.memoizedProps,r[Gr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Gr]=t,t.stateNode=r)}return null;case 13:return ao(Di),r=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Hi(t):n=null!==e.memoizedState,r&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Di.current)?0===Ds&&(Ds=3):(0!==Ds&&3!==Ds||(Ds=4),null===Os||0==(134217727&Is)&&0==(134217727&Ns)||hl(Os,Ts))),(r||n)&&(t.flags|=4),null);case 4:return Ti(),null===e&&Br(t.stateNode.containerInfo),null;case 10:return ei(t),null;case 19:if(ao(Di),null===(r=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=r.rendering))if(s)ns(r,!1);else{if(0!==Ds||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Ri(e))){for(t.flags|=64,ns(r,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return so(Di,1&Di.current|2),t.child}e=e.sibling}null!==r.tail&&zo()>Us&&(t.flags|=64,s=!0,ns(r,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=Ri(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ns(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Ni)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*zo()-r.renderingStartTime>Us&&1073741824!==n&&(t.flags|=64,s=!0,ns(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=zo(),n.sibling=null,t=Di.current,so(Di,s?1&t|2:1&t),n):null;case 23:case 24:return yl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(a(156,t.tag))}function os(e){switch(e.tag){case 1:ho(e.type)&&mo();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Ti(),ao(uo),ao(co),Yi(),0!=(64&(t=e.flags)))throw Error(a(285));return e.flags=-4097&t|64,e;case 5:return Mi(e),null;case 13:return ao(Di),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return ao(Di),null;case 4:return Ti(),null;case 10:return ei(e),null;case 23:case 24:return yl(),null;default:return null}}function is(e,t){try{var n="",r=t;do{n+=Y(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o}}function as(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Wa=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Va=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Oi(Si.current);var a,s=null;switch(n){case"input":i=J(e,i),r=J(e,r),s=[];break;case"option":i=ie(e,i),r=ie(e,r),s=[];break;case"select":i=o({},i,{value:void 0}),r=o({},r,{value:void 0}),s=[];break;case"textarea":i=se(e,i),r=se(e,r),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Lr)}for(d in _e(n,r),n=null,i)if(!r.hasOwnProperty(d)&&i.hasOwnProperty(d)&&null!=i[d])if("style"===d){var c=i[d];for(a in c)c.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(l.hasOwnProperty(d)?s||(s=[]):(s=s||[]).push(d,null));for(d in r){var u=r[d];if(c=null!=i?i[d]:void 0,r.hasOwnProperty(d)&&u!==c&&(null!=u||null!=c))if("style"===d)if(c){for(a in c)!c.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in u)u.hasOwnProperty(a)&&c[a]!==u[a]&&(n||(n={}),n[a]=u[a])}else n||(s||(s=[]),s.push(d,n)),n=u;else"dangerouslySetInnerHTML"===d?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(d,u)):"children"===d?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(d,""+u):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(l.hasOwnProperty(d)?(null!=u&&"onScroll"===d&&Sr("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===R?u.toString():(s=s||[]).push(d,u))}n&&(s=s||[]).push("style",n);var d=s;(t.updateQueue=d)&&(t.flags|=4)}},Ya=function(e,t,n,r){n!==r&&(t.flags|=4)};var ss="function"==typeof WeakMap?WeakMap:Map;function ls(e,t,n){(n=si(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ys||(Ys=!0,Zs=r),as(0,t)},n}function cs(e,t,n){(n=si(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return as(0,t),r(o)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Gs?Gs=new Set([this]):Gs.add(this),as(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var us="function"==typeof WeakSet?WeakSet:Set;function ds(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Ll(e,t)}else t.current=null}function fs(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Go(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Hr(t.stateNode.containerInfo))}throw Error(a(163))}function ps(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var o=e;r=o.next,0!=(4&(o=o.tag))&&0!=(1&o)&&(Ml(n,e),Pl(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:Go(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Fr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&xt(n)))))}throw Error(a(163))}function hs(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"==typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var o=n.memoizedProps.style;o=null!=o&&o.hasOwnProperty("display")?o.display:null,r.style.display=Ae("display",o)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function ms(e,t){if(xo&&"function"==typeof xo.onCommitFiberUnmount)try{xo.onCommitFiberUnmount(Ao,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,o=r.destroy;if(r=r.tag,void 0!==o)if(0!=(4&r))Ml(t,n);else{r=t;try{o()}catch(e){Ll(r,e)}}n=n.next}while(n!==e)}break;case 1:if(ds(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){Ll(t,e)}break;case 5:ds(t);break;case 4:xs(e,t)}}function gs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function vs(e){return 5===e.tag||3===e.tag||4===e.tag}function bs(e){e:{for(var t=e.return;null!==t;){if(vs(t))break e;t=t.return}throw Error(a(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.flags&&(ve(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||vs(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?ys(e,n,t):As(e,n,t)}function ys(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Lr));else if(4!==r&&null!==(e=e.child))for(ys(e,t,n),e=e.sibling;null!==e;)ys(e,t,n),e=e.sibling}function As(e,t,n){var r=e.tag,o=5===r||6===r;if(o)e=o?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(As(e,t,n),e=e.sibling;null!==e;)As(e,t,n),e=e.sibling}function xs(e,t){for(var n,r,o=t,i=!1;;){if(!i){i=o.return;e:for(;;){if(null===i)throw Error(a(160));switch(n=i.stateNode,i.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}i=i.return}i=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=l;;)if(ms(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(s=n,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){n=o.stateNode.containerInfo,r=!0,o.child.return=o,o=o.child;continue}}else if(ms(e,o),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(i=!1)}o.sibling.return=o.return,o=o.sibling}}function Cs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3==(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var o=null!==e?e.memoizedProps:r;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Kr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),we(e,o),t=we(e,r),o=0;o<i.length;o+=2){var s=i[o],l=i[o+1];"style"===s?xe(n,l):"dangerouslySetInnerHTML"===s?ge(n,l):"children"===s?ve(n,l):A(n,s,l,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(i=r.value)?ae(n,!!r.multiple,i,!1):e!==!!r.multiple&&(null!=r.defaultValue?ae(n,!!r.multiple,r.defaultValue,!0):ae(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,xt(n.containerInfo)));case 13:return null!==t.memoizedState&&(qs=zo(),hs(t.child,!0)),void _s(t);case 19:return void _s(t);case 23:case 24:return void hs(t,null!==t.memoizedState)}throw Error(a(163))}function _s(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new us),t.forEach((function(t){var r=Nl.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ws(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var ks=Math.ceil,Ss=x.ReactCurrentDispatcher,Es=x.ReactCurrentOwner,Bs=0,Os=null,js=null,Ts=0,Ps=0,Ms=io(0),Ds=0,Rs=null,Ls=0,Is=0,Ns=0,Fs=0,zs=null,qs=0,Us=1/0;function Hs(){Us=zo()+500}var Ws,Vs=null,Ys=!1,Zs=null,Gs=null,Ks=!1,$s=null,Xs=90,Qs=[],Js=[],el=null,tl=0,nl=null,rl=-1,ol=0,il=0,al=null,sl=!1;function ll(){return 0!=(48&Bs)?zo():-1!==rl?rl:rl=zo()}function cl(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===qo()?1:2;if(0===ol&&(ol=Ls),0!==Zo.transition){0!==il&&(il=null!==zs?zs.pendingLanes:0),e=ol;var t=4186112&~il;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=qo(),0!=(4&Bs)&&98===e?e=Ft(12,ol):e=Ft(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),ol),e}function ul(e,t,n){if(50<tl)throw tl=0,nl=null,Error(a(185));if(null===(e=dl(e,t)))return null;Ut(e,t,n),e===Os&&(Ns|=t,4===Ds&&hl(e,Ts));var r=qo();1===t?0!=(8&Bs)&&0==(48&Bs)?ml(e):(fl(e,n),0===Bs&&(Hs(),Vo())):(0==(4&Bs)||98!==r&&99!==r||(null===el?el=new Set([e]):el.add(e)),fl(e,n)),zs=e}function dl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function fl(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,o=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Ht(s),c=1<<l,u=i[l];if(-1===u){if(0==(c&r)||0!=(c&o)){u=t,Lt(c);var d=Rt;i[l]=10<=d?u+250:6<=d?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(r=It(e,e===Os?Ts:0),t=Rt,0===r)null!==n&&(n!==Do&&wo(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==Do&&wo(n)}15===t?(n=ml.bind(null,e),null===Lo?(Lo=[n],Io=_o(Oo,Yo)):Lo.push(n),n=Do):14===t?n=Wo(99,ml.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(a(358,e))}}(t),n=Wo(n,pl.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function pl(e){if(rl=-1,il=ol=0,0!=(48&Bs))throw Error(a(327));var t=e.callbackNode;if(Tl()&&e.callbackNode!==t)return null;var n=It(e,e===Os?Ts:0);if(0===n)return null;var r=n,o=Bs;Bs|=16;var i=Cl();for(Os===e&&Ts===r||(Hs(),Al(e,r));;)try{kl();break}catch(t){xl(e,t)}if(Jo(),Ss.current=i,Bs=o,null!==js?r=0:(Os=null,Ts=0,r=Ds),0!=(Ls&Ns))Al(e,0);else if(0!==r){if(2===r&&(Bs|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(n=Nt(e))&&(r=_l(e,n))),1===r)throw t=Rs,Al(e,0),hl(e,n),fl(e,zo()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(a(345));case 2:case 5:Bl(e);break;case 3:if(hl(e,n),(62914560&n)===n&&10<(r=qs+500-zo())){if(0!==It(e,0))break;if(((o=e.suspendedLanes)&n)!==n){ll(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=qr(Bl.bind(null,e),r);break}Bl(e);break;case 4:if(hl(e,n),(4186112&n)===n)break;for(r=e.eventTimes,o=-1;0<n;){var s=31-Ht(n);i=1<<s,(s=r[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=zo()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*ks(n/1960))-n)){e.timeoutHandle=qr(Bl.bind(null,e),n);break}Bl(e);break;default:throw Error(a(329))}}return fl(e,zo()),e.callbackNode===t?pl.bind(null,e):null}function hl(e,t){for(t&=~Fs,t&=~Ns,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ht(t),r=1<<n;e[n]=-1,t&=~r}}function ml(e){if(0!=(48&Bs))throw Error(a(327));if(Tl(),e===Os&&0!=(e.expiredLanes&Ts)){var t=Ts,n=_l(e,t);0!=(Ls&Ns)&&(n=_l(e,t=It(e,t)))}else n=_l(e,t=It(e,0));if(0!==e.tag&&2===n&&(Bs|=64,e.hydrate&&(e.hydrate=!1,Hr(e.containerInfo)),0!==(t=Nt(e))&&(n=_l(e,t))),1===n)throw n=Rs,Al(e,0),hl(e,t),fl(e,zo()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Bl(e),fl(e,zo()),null}function gl(e,t){var n=Bs;Bs|=1;try{return e(t)}finally{0===(Bs=n)&&(Hs(),Vo())}}function vl(e,t){var n=Bs;Bs&=-2,Bs|=8;try{return e(t)}finally{0===(Bs=n)&&(Hs(),Vo())}}function bl(e,t){so(Ms,Ps),Ps|=t,Ls|=t}function yl(){Ps=Ms.current,ao(Ms)}function Al(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Ur(n)),null!==js)for(n=js.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&mo();break;case 3:Ti(),ao(uo),ao(co),Yi();break;case 5:Mi(r);break;case 4:Ti();break;case 13:case 19:ao(Di);break;case 10:ei(r);break;case 23:case 24:yl()}n=n.return}Os=e,js=Ul(e.current,null),Ts=Ps=Ls=t,Ds=0,Rs=null,Fs=Ns=Is=0}function xl(e,t){for(;;){var n=js;try{if(Jo(),Zi.current=Ba,Ji){for(var r=$i.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}Ji=!1}if(Ki=0,Qi=Xi=$i=null,ea=!1,Es.current=null,null===n||null===n.return){Ds=1,Rs=t,js=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Ts,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var d=0!=(1&Di.current),f=a;do{var p;if(p=13===f.tag){var h=f.memoizedState;if(null!==h)p=null!==h.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var g=f.updateQueue;if(null===g){var v=new Set;v.add(c),f.updateQueue=v}else g.add(c);if(0==(2&f.mode)){if(f.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var b=si(-1,1);b.tag=2,li(s,b)}s.lanes|=1;break e}l=void 0,s=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ss,l=new Set,y.set(c,l)):void 0===(l=y.get(c))&&(l=new Set,y.set(c,l)),!l.has(s)){l.add(s);var A=Il.bind(null,i,c,s);c.then(A,A)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);l=Error((Z(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Ds&&(Ds=2),l=is(l,s),f=a;do{switch(f.tag){case 3:i=l,f.flags|=4096,t&=-t,f.lanes|=t,ci(f,ls(0,i,t));break e;case 1:i=l;var x=f.type,C=f.stateNode;if(0==(64&f.flags)&&("function"==typeof x.getDerivedStateFromError||null!==C&&"function"==typeof C.componentDidCatch&&(null===Gs||!Gs.has(C)))){f.flags|=4096,t&=-t,f.lanes|=t,ci(f,cs(f,i,t));break e}}f=f.return}while(null!==f)}El(n)}catch(e){t=e,js===n&&null!==n&&(js=n=n.return);continue}break}}function Cl(){var e=Ss.current;return Ss.current=Ba,null===e?Ba:e}function _l(e,t){var n=Bs;Bs|=16;var r=Cl();for(Os===e&&Ts===t||Al(e,t);;)try{wl();break}catch(t){xl(e,t)}if(Jo(),Bs=n,Ss.current=r,null!==js)throw Error(a(261));return Os=null,Ts=0,Ds}function wl(){for(;null!==js;)Sl(js)}function kl(){for(;null!==js&&!ko();)Sl(js)}function Sl(e){var t=Ws(e.alternate,e,Ps);e.memoizedProps=e.pendingProps,null===t?El(e):js=t,Es.current=null}function El(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=rs(n,t,Ps)))return void(js=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&Ps)||0==(4&n.mode)){for(var r=0,o=n.child;null!==o;)r|=o.lanes|o.childLanes,o=o.sibling;n.childLanes=r}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=os(t)))return n.flags&=2047,void(js=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(js=t);js=t=e}while(null!==t);0===Ds&&(Ds=5)}function Bl(e){var t=qo();return Ho(99,Ol.bind(null,e,t)),null}function Ol(e,t){do{Tl()}while(null!==$s);if(0!=(48&Bs))throw Error(a(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null;var r=n.lanes|n.childLanes,o=r,i=e.pendingLanes&~o;e.pendingLanes=o,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=o,e.mutableReadLanes&=o,e.entangledLanes&=o,o=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Ht(i),u=1<<c;o[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==el&&0==(24&r)&&el.has(e)&&el.delete(e),e===Os&&(js=Os=null,Ts=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(o=Bs,Bs|=32,Es.current=null,Ir=Gt,pr(s=fr())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var d=0,f=-1,p=-1,h=0,m=0,g=s,v=null;t:for(;;){for(var b;g!==l||0!==i&&3!==g.nodeType||(f=d+i),g!==c||0!==u&&3!==g.nodeType||(p=d+u),3===g.nodeType&&(d+=g.nodeValue.length),null!==(b=g.firstChild);)v=g,g=b;for(;;){if(g===s)break t;if(v===l&&++h===i&&(f=d),v===c&&++m===u&&(p=d),null!==(b=g.nextSibling))break;v=(g=v).parentNode}g=b}l=-1===f||-1===p?null:{start:f,end:p}}else l=null;l=l||{start:0,end:0}}else l=null;Nr={focusedElem:s,selectionRange:l},Gt=!1,al=null,sl=!1,Vs=r;do{try{jl()}catch(e){if(null===Vs)throw Error(a(330));Ll(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);al=null,Vs=r;do{try{for(s=e;null!==Vs;){var y=Vs.flags;if(16&y&&ve(Vs.stateNode,""),128&y){var A=Vs.alternate;if(null!==A){var x=A.ref;null!==x&&("function"==typeof x?x(null):x.current=null)}}switch(1038&y){case 2:bs(Vs),Vs.flags&=-3;break;case 6:bs(Vs),Vs.flags&=-3,Cs(Vs.alternate,Vs);break;case 1024:Vs.flags&=-1025;break;case 1028:Vs.flags&=-1025,Cs(Vs.alternate,Vs);break;case 4:Cs(Vs.alternate,Vs);break;case 8:xs(s,l=Vs);var C=l.alternate;gs(l),null!==C&&gs(C)}Vs=Vs.nextEffect}}catch(e){if(null===Vs)throw Error(a(330));Ll(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);if(x=Nr,A=fr(),y=x.focusedElem,s=x.selectionRange,A!==y&&y&&y.ownerDocument&&dr(y.ownerDocument.documentElement,y)){null!==s&&pr(y)&&(A=s.start,void 0===(x=s.end)&&(x=A),"selectionStart"in y?(y.selectionStart=A,y.selectionEnd=Math.min(x,y.value.length)):(x=(A=y.ownerDocument||document)&&A.defaultView||window).getSelection&&(x=x.getSelection(),l=y.textContent.length,C=Math.min(s.start,l),s=void 0===s.end?C:Math.min(s.end,l),!x.extend&&C>s&&(l=s,s=C,C=l),l=ur(y,C),i=ur(y,s),l&&i&&(1!==x.rangeCount||x.anchorNode!==l.node||x.anchorOffset!==l.offset||x.focusNode!==i.node||x.focusOffset!==i.offset)&&((A=A.createRange()).setStart(l.node,l.offset),x.removeAllRanges(),C>s?(x.addRange(A),x.extend(i.node,i.offset)):(A.setEnd(i.node,i.offset),x.addRange(A))))),A=[];for(x=y;x=x.parentNode;)1===x.nodeType&&A.push({element:x,left:x.scrollLeft,top:x.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<A.length;y++)(x=A[y]).element.scrollLeft=x.left,x.element.scrollTop=x.top}Gt=!!Ir,Nr=Ir=null,e.current=n,Vs=r;do{try{for(y=e;null!==Vs;){var _=Vs.flags;if(36&_&&ps(y,Vs.alternate,Vs),128&_){A=void 0;var w=Vs.ref;if(null!==w){var k=Vs.stateNode;Vs.tag,A=k,"function"==typeof w?w(A):w.current=A}}Vs=Vs.nextEffect}}catch(e){if(null===Vs)throw Error(a(330));Ll(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);Vs=null,Ro(),Bs=o}else e.current=n;if(Ks)Ks=!1,$s=e,Xs=t;else for(Vs=r;null!==Vs;)t=Vs.nextEffect,Vs.nextEffect=null,8&Vs.flags&&((_=Vs).sibling=null,_.stateNode=null),Vs=t;if(0===(r=e.pendingLanes)&&(Gs=null),1===r?e===nl?tl++:(tl=0,nl=e):tl=0,n=n.stateNode,xo&&"function"==typeof xo.onCommitFiberRoot)try{xo.onCommitFiberRoot(Ao,n,void 0,64==(64&n.current.flags))}catch(e){}if(fl(e,zo()),Ys)throw Ys=!1,e=Zs,Zs=null,e;return 0!=(8&Bs)||Vo(),null}function jl(){for(;null!==Vs;){var e=Vs.alternate;sl||null===al||(0!=(8&Vs.flags)?Je(Vs,al)&&(sl=!0):13===Vs.tag&&ws(e,Vs)&&Je(Vs,al)&&(sl=!0));var t=Vs.flags;0!=(256&t)&&fs(e,Vs),0==(512&t)||Ks||(Ks=!0,Wo(97,(function(){return Tl(),null}))),Vs=Vs.nextEffect}}function Tl(){if(90!==Xs){var e=97<Xs?97:Xs;return Xs=90,Ho(e,Dl)}return!1}function Pl(e,t){Qs.push(t,e),Ks||(Ks=!0,Wo(97,(function(){return Tl(),null})))}function Ml(e,t){Js.push(t,e),Ks||(Ks=!0,Wo(97,(function(){return Tl(),null})))}function Dl(){if(null===$s)return!1;var e=$s;if($s=null,0!=(48&Bs))throw Error(a(331));var t=Bs;Bs|=32;var n=Js;Js=[];for(var r=0;r<n.length;r+=2){var o=n[r],i=n[r+1],s=o.destroy;if(o.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(a(330));Ll(i,e)}}for(n=Qs,Qs=[],r=0;r<n.length;r+=2){o=n[r],i=n[r+1];try{var l=o.create;o.destroy=l()}catch(e){if(null===i)throw Error(a(330));Ll(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Bs=t,Vo(),!0}function Rl(e,t,n){li(e,t=ls(0,t=is(n,t),1)),t=ll(),null!==(e=dl(e,1))&&(Ut(e,1,t),fl(e,t))}function Ll(e,t){if(3===e.tag)Rl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Rl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Gs||!Gs.has(r))){var o=cs(n,e=is(t,e),1);if(li(n,o),o=ll(),null!==(n=dl(n,1)))Ut(n,1,o),fl(n,o);else if("function"==typeof r.componentDidCatch&&(null===Gs||!Gs.has(r)))try{r.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Il(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ll(),e.pingedLanes|=e.suspendedLanes&n,Os===e&&(Ts&n)===n&&(4===Ds||3===Ds&&(62914560&Ts)===Ts&&500>zo()-qs?Al(e,0):Fs|=n),fl(e,t)}function Nl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===qo()?1:2:(0===ol&&(ol=Ls),0===(t=zt(62914560&~ol))&&(t=4194304))),n=ll(),null!==(e=dl(e,t))&&(Ut(e,t,n),fl(e,n))}function Fl(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function zl(e,t,n,r){return new Fl(e,t,n,r)}function ql(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ul(e,t){var n=e.alternate;return null===n?((n=zl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,r,o,i){var s=2;if(r=e,"function"==typeof e)ql(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case w:return Wl(n.children,o,i,t);case L:s=8,o|=16;break;case k:s=8,o|=1;break;case S:return(e=zl(12,n,t,8|o)).elementType=S,e.type=S,e.lanes=i,e;case j:return(e=zl(13,n,t,o)).type=j,e.elementType=j,e.lanes=i,e;case T:return(e=zl(19,n,t,o)).elementType=T,e.lanes=i,e;case I:return Vl(n,o,i,t);case N:return(e=zl(24,n,t,o)).elementType=N,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case B:s=9;break e;case O:s=11;break e;case P:s=14;break e;case M:s=16,r=null;break e;case D:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=zl(s,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Wl(e,t,n,r){return(e=zl(7,e,r,t)).lanes=n,e}function Vl(e,t,n,r){return(e=zl(23,e,r,t)).elementType=I,e.lanes=n,e}function Yl(e,t,n){return(e=zl(6,e,null,t)).lanes=n,e}function Zl(e,t,n){return(t=zl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Gl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=qt(0),this.expirationTimes=qt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=qt(0),this.mutableSourceEagerHydrationData=null}function Kl(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function $l(e,t,n,r){var o=t.current,i=ll(),s=cl(o);e:if(n){t:{if(Ke(n=n._reactInternals)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(ho(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var c=n.type;if(ho(c)){n=vo(n,c,l);break e}}n=l}else n=lo;return null===t.context?t.context=n:t.pendingContext=n,(t=si(i,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),li(o,t),ul(o,s,i),s}function Xl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Ql(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Jl(e,t){Ql(e,t),(e=e.alternate)&&Ql(e,t)}function ec(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Gl(e,t,null!=n&&!0===n.hydrate),t=zl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,ii(t),e[$r]=n.current,Br(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var o=(t=r[e])._getVersion;o=o(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,o]:n.mutableSourceEagerHydrationData.push(t,o)}this._internalRoot=n}function tc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function nc(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i._internalRoot;if("function"==typeof o){var s=o;o=function(){var e=Xl(a);s.call(e)}}$l(t,a,e,o)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ec(e,0,t?{hydrate:!0}:void 0)}(n,r),a=i._internalRoot,"function"==typeof o){var l=o;o=function(){var e=Xl(a);l.call(e)}}vl((function(){$l(t,a,e,o)}))}return Xl(a)}function rc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!tc(t))throw Error(a(200));return Kl(e,t,null,n)}Ws=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||uo.current)Ma=!0;else{if(0==(n&r)){switch(Ma=!1,t.tag){case 3:Ha(t),Wi();break;case 5:Pi(t);break;case 1:ho(t.type)&&bo(t);break;case 4:ji(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var o=t.type._context;so(Ko,o._currentValue),o._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Ga(e,t,n):(so(Di,1&Di.current),null!==(t=ts(e,t,n))?t.sibling:null);so(Di,1&Di.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(64&e.flags)){if(r)return es(e,t,n);t.flags|=64}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),so(Di,Di.current),r)break;return null;case 23:case 24:return t.lanes=0,Na(e,t,n)}return ts(e,t,n)}Ma=0!=(16384&e.flags)}else Ma=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=po(t,co.current),ni(t,n),o=ra(null,t,r,e,o,n),t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ho(r)){var i=!0;bo(t)}else i=!1;t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,ii(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&pi(t,r,s,e),o.updater=hi,t.stateNode=o,o._reactInternals=t,bi(t,r,e,n),t=Ua(null,t,r,!0,i,n)}else t.tag=0,Da(null,t,o,n),t=t.child;return t;case 16:o=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=(i=o._init)(o._payload),t.type=o,i=t.tag=function(e){if("function"==typeof e)return ql(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===P)return 14}return 2}(o),e=Go(o,e),i){case 0:t=za(null,t,o,e,n);break e;case 1:t=qa(null,t,o,e,n);break e;case 11:t=Ra(null,t,o,e,n);break e;case 14:t=La(null,t,o,Go(o.type,e),r,n);break e}throw Error(a(306,o,""))}return t;case 0:return r=t.type,o=t.pendingProps,za(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 1:return r=t.type,o=t.pendingProps,qa(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 3:if(Ha(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,o=null!==(o=t.memoizedState)?o.element:null,ai(e,t),ui(t,r,null,n),(r=t.memoizedState.element)===o)Wi(),t=ts(e,t,n);else{if((i=(o=t.stateNode).hydrate)&&(Ii=Wr(t.stateNode.containerInfo.firstChild),Li=t,i=Ni=!0),i){if(null!=(e=o.mutableSourceEagerHydrationData))for(o=0;o<e.length;o+=2)(i=e[o])._workInProgressVersionPrimary=e[o+1],Vi.push(i);for(n=wi(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else Da(e,t,r,n),Wi();t=t.child}return t;case 5:return Pi(t),null===e&&qi(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,zr(r,o)?s=null:null!==i&&zr(r,i)&&(t.flags|=16),Fa(e,t),Da(e,t,s,n),t.child;case 6:return null===e&&qi(t),null;case 13:return Ga(e,t,n);case 4:return ji(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=_i(t,null,r,n):Da(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Ra(e,t,r,o=t.elementType===r?o:Go(r,o),n);case 7:return Da(e,t,t.pendingProps,n),t.child;case 8:case 12:return Da(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,o=t.pendingProps,s=t.memoizedProps,i=o.value;var l=t.type._context;if(so(Ko,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0===(i=ar(l,i)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,i):1073741823))){if(s.children===o.children&&!uo.current){t=ts(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===r&&0!=(u.observedBits&i)){1===l.tag&&((u=si(-1,n&-n)).tag=2,li(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ti(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}Da(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=(i=t.pendingProps).children,ni(t,n),r=r(o=ri(o,i.unstable_observedBits)),t.flags|=1,Da(e,t,r,n),t.child;case 14:return i=Go(o=t.type,t.pendingProps),La(e,t,o,i=Go(o.type,i),r,n);case 15:return Ia(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Go(r,o),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ho(r)?(e=!0,bo(t)):e=!1,ni(t,n),gi(t,r,o),bi(t,r,o,n),Ua(null,t,r,!0,e,n);case 19:return es(e,t,n);case 23:case 24:return Na(e,t,n)}throw Error(a(156,t.tag))},ec.prototype.render=function(e){$l(e,this._internalRoot,null,null)},ec.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;$l(null,e,null,(function(){t[$r]=null}))},et=function(e){13===e.tag&&(ul(e,4,ll()),Jl(e,4))},tt=function(e){13===e.tag&&(ul(e,67108864,ll()),Jl(e,67108864))},nt=function(e){if(13===e.tag){var t=ll(),n=cl(e);ul(e,n,t),Jl(e,n)}},rt=function(e,t){return t()},Se=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=to(r);if(!o)throw Error(a(90));X(r),ne(r,o)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ae(e,!!n.multiple,t,!1)}},Pe=gl,Me=function(e,t,n,r,o){var i=Bs;Bs|=4;try{return Ho(98,e.bind(null,t,n,r,o))}finally{0===(Bs=i)&&(Hs(),Vo())}},De=function(){0==(49&Bs)&&(function(){if(null!==el){var e=el;el=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,fl(e,zo())}))}Vo()}(),Tl())},Re=function(e,t){var n=Bs;Bs|=2;try{return e(t)}finally{0===(Bs=n)&&(Hs(),Vo())}};var oc={Events:[Jr,eo,to,je,Te,Tl,{current:!1}]},ic={findFiberByHostInstance:Qr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},ac={bundleType:ic.bundleType,version:ic.version,rendererPackageName:ic.rendererPackageName,rendererConfig:ic.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:x.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Qe(e))?null:e.stateNode},findFiberByHostInstance:ic.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var sc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!sc.isDisabled&&sc.supportsFiber)try{Ao=sc.inject(ac),xo=sc}catch(e){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oc,t.createPortal=rc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return e=null===(e=Qe(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Bs;if(0!=(48&n))return e(t);Bs|=1;try{if(e)return Ho(99,e.bind(null,t))}finally{Bs=n,Vo()}},t.hydrate=function(e,t,n){if(!tc(t))throw Error(a(200));return nc(null,e,t,!0,n)},t.render=function(e,t,n){if(!tc(t))throw Error(a(200));return nc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!tc(e))throw Error(a(40));return!!e._reactRootContainer&&(vl((function(){nc(null,null,e,!1,(function(){e._reactRootContainer=null,e[$r]=null}))})),!0)},t.unstable_batchedUpdates=gl,t.unstable_createPortal=function(e,t){return rc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!tc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return nc(e,t,n,!1,r)},t.version="17.0.2"},73935:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(64448)},8523:function(e,t,n){"use strict";n.d(t,{Z:function(){return $}});var r=n(67294),o=n(45697),i=n.n(o);function a(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))}function s(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(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}}Object.create;function l(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}Object.create;var c=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);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=c.get(n);r&&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 d=[".DS_Store","Thumbs.db"];function f(e){return(null!==e.target&&e.target.files?m(e.target.files):[]).map((function(e){return u(e)}))}function p(e,t){return a(this,void 0,void 0,(function(){var n;return s(this,(function(r){switch(r.label){case 0:return e.items?(n=m(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(g))]):[3,2];case 1:return[2,h(v(r.sent()))];case 2:return[2,h(m(e.files).map((function(e){return u(e)})))]}}))}))}function h(e){return e.filter((function(e){return-1===d.indexOf(e.name)}))}function m(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];t.push(r)}return t}function g(e){if("function"!=typeof e.webkitGetAsEntry)return b(e);var t=e.webkitGetAsEntry();return t&&t.isDirectory?A(t):b(e)}function v(e){return e.reduce((function(e,t){return function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(l(arguments[t]));return e}(e,Array.isArray(t)?v(t):[t])}),[])}function b(e){var t=e.getAsFile();if(!t)return Promise.reject(e+" is not a File");var n=u(t);return Promise.resolve(n)}function y(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){return[2,e.isDirectory?A(e):x(e)]}))}))}function A(e){var t=e.createReader();return new Promise((function(e,n){var r=[];!function o(){var i=this;t.readEntries((function(t){return a(i,void 0,void 0,(function(){var i,a,l;return s(this,(function(s){switch(s.label){case 0:if(t.length)return[3,5];s.label=1;case 1:return s.trys.push([1,3,,4]),[4,Promise.all(r)];case 2:return i=s.sent(),e(i),[3,4];case 3:return a=s.sent(),n(a),[3,4];case 4:return[3,6];case 5:l=Promise.all(t.map(y)),r.push(l),o(),s.label=6;case 6:return[2]}}))}))}),(function(e){n(e)}))}()}))}function x(e){return a(this,void 0,void 0,(function(){return s(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 _(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(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 w(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 w(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 k=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:"file-invalid-type",message:"File type must be ".concat(t)}},S=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," bytes")}},E=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," bytes")}},B={code:"too-many-files",message:"Too many files"};function O(e,t){var n="application/x-moz-file"===e.type||(0,C.Z)(e,t);return[n,n?null:k(t)]}function j(e,t,n){if(T(e.size))if(T(t)&&T(n)){if(e.size>n)return[!1,S(n)];if(e.size<t)return[!1,E(t)]}else{if(T(t)&&e.size<t)return[!1,E(t)];if(T(n)&&e.size>n)return[!1,S(n)]}return[!0,null]}function T(e){return null!=e}function P(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=_(O(e,n),1)[0],i=_(j(e,r,o),1)[0];return t&&i}))}function M(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function D(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 R(e){e.preventDefault()}function L(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function I(e){return-1!==e.indexOf("Edge/")}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return L(e)||I(e)}function F(){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!M(e)&&t&&t.apply(void 0,[e].concat(r)),M(e)}))}}function z(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||U(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 q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||U(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 U(e,t){if(e){if("string"==typeof e)return H(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)?H(e,t):void 0}}function H(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 W(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 V(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(Object(n),!0).forEach((function(t){Y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return 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}function Z(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 G=(0,r.forwardRef)((function(e,t){var n=e.children,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=V(V({},K),e),n=t.accept,o=t.disabled,i=t.getFilesFromEvent,a=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,f=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,g=t.onFileDialogCancel,v=t.preventDropOnDocument,b=t.noClick,y=t.noKeyboard,A=t.noDrag,x=t.noDragEventsBubbling,C=t.validator,_=(0,r.useRef)(null),w=(0,r.useRef)(null),k=q((0,r.useReducer)(Q,X),2),S=k[0],E=k[1],T=S.isFocused,L=S.isFileDialogActive,I=S.draggedFiles,U=(0,r.useCallback)((function(){w.current&&(E({type:"openDialog"}),w.current.value=null,w.current.click())}),[E]),H=function(){L&&setTimeout((function(){w.current&&(w.current.files.length||(E({type:"closeDialog"}),"function"==typeof g&&g()))}),300)};(0,r.useEffect)((function(){return window.addEventListener("focus",H,!1),function(){window.removeEventListener("focus",H,!1)}}),[w,L,g]);var W=(0,r.useCallback)((function(e){_.current&&_.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),U()))}),[_,w]),G=(0,r.useCallback)((function(){E({type:"focus"})}),[]),$=(0,r.useCallback)((function(){E({type:"blur"})}),[]),J=(0,r.useCallback)((function(){b||(N()?setTimeout(U,0):U())}),[w,b]),ee=(0,r.useRef)([]),te=function(e){_.current&&_.current.contains(e.target)||(e.preventDefault(),ee.current=[])};(0,r.useEffect)((function(){return v&&(document.addEventListener("dragover",R,!1),document.addEventListener("drop",te,!1)),function(){v&&(document.removeEventListener("dragover",R),document.removeEventListener("drop",te))}}),[_,v]);var ne=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e),ee.current=[].concat(z(ee.current),[e.target]),D(e)&&Promise.resolve(i(e)).then((function(t){M(e)&&!x||(E({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e))}))}),[i,u,x]),re=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e);var t=D(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&f&&f(e),!1}),[f,x]),oe=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e);var t=ee.current.filter((function(e){return _.current&&_.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),ee.current=t,t.length>0||(E({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),D(e)&&d&&d(e))}),[_,d,x]),ie=(0,r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e),ee.current=[],D(e)&&Promise.resolve(i(e)).then((function(t){if(!M(e)||x){var r=[],o=[];t.forEach((function(e){var t=q(O(e,n),2),i=t[0],l=t[1],c=q(j(e,s,a),2),u=c[0],d=c[1],f=C?C(e):null;if(i&&u&&!f)r.push(e);else{var p=[l,d];f&&(p=p.concat(f)),o.push({file:e,errors:p.filter((function(e){return e}))})}})),(!l&&r.length>1||l&&c>=1&&r.length>c)&&(r.forEach((function(e){o.push({file:e,errors:[B]})})),r.splice(0)),E({acceptedFiles:r,fileRejections:o,type:"setFiles"}),p&&p(r,o,e),o.length>0&&m&&m(o,e),r.length>0&&h&&h(r,e)}})),E({type:"reset"})}),[l,n,s,a,c,i,p,h,m,x]),ae=function(e){return o?null:e},se=function(e){return y?null:ae(e)},le=function(e){return A?null:ae(e)},ce=function(e){x&&e.stopPropagation()},ue=(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.onKeyDown,i=e.onFocus,a=e.onBlur,s=e.onClick,l=e.onDragEnter,c=e.onDragOver,u=e.onDragLeave,d=e.onDrop,f=Z(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return V(V(Y({onKeyDown:se(F(r,W)),onFocus:se(F(i,G)),onBlur:se(F(a,$)),onClick:ae(F(s,J)),onDragEnter:le(F(l,ne)),onDragOver:le(F(c,re)),onDragLeave:le(F(u,oe)),onDrop:le(F(d,ie))},n,_),o||y?{}:{tabIndex:0}),f)}}),[_,W,G,$,J,ne,re,oe,ie,y,A,o]),de=(0,r.useCallback)((function(e){e.stopPropagation()}),[]),fe=(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=Z(e,["refKey","onChange","onClick"]);return V(V({},Y({accept:n,multiple:l,type:"file",style:{display:"none"},onChange:ae(F(o,ie)),onClick:ae(F(i,de)),autoComplete:"off",tabIndex:-1},r,w)),a)}}),[w,n,l,ie,o]),pe=I.length,he=pe>0&&P({files:I,accept:n,minSize:s,maxSize:a,multiple:l,maxFiles:c}),me=pe>0&&!he;return V(V({},S),{},{isDragAccept:he,isDragReject:me,isFocused:T&&!o,getRootProps:ue,getInputProps:fe,rootRef:_,inputRef:w,open:ae(U)})}(Z(e,["children"])),i=o.open,a=Z(o,["open"]);return(0,r.useImperativeHandle)(t,(function(){return{open:i}}),[i]),r.createElement(r.Fragment,null,n(V(V({},a),{},{open:i})))}));G.displayName="Dropzone";var K={disabled:!1,getFilesFromEvent:function(e){return a(this,void 0,void 0,(function(){return s(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?p(e.dataTransfer,e.type):f(e))];var n}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null};G.defaultProps=K,G.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,onDragEnter:i().func,onDragLeave:i().func,onDragOver:i().func,onDrop:i().func,onDropAccepted:i().func,onDropRejected:i().func,validator:i().func};var $=G,X={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function Q(e,t){switch(t.type){case"focus":return V(V({},e),{},{isFocused:!0});case"blur":return V(V({},e),{},{isFocused:!1});case"openDialog":return V(V({},e),{},{isFileDialogActive:!0});case"closeDialog":return V(V({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return V(V({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return V(V({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return V(V({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}},51767:function(e){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=!1,i=!1,a=function(){return o||console.warn("Pixel not initialized before using call ReactPixel.init with required params"),o},s=function(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];(e=console).info.apply(e,r(["[react-facebook-pixel]"].concat(n)))},l={autoConfig:!0,debug:!1};t.default={init:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l;!function(e,t,n,r,o,i,a){e.fbq||(o=e.fbq=function(){o.callMethod?o.callMethod.apply(o,arguments):o.queue.push(arguments)},e._fbq||(e._fbq=o),o.push=o,o.loaded=!0,o.version="2.0",o.queue=[],(i=t.createElement(n)).async=!0,i.src=r,(a=t.getElementsByTagName(n)[0]).parentNode.insertBefore(i,a))}(window,document,"script","https://connect.facebook.net/en_US/fbevents.js"),e?(!1===n.autoConfig&&fbq("set","autoConfig",!1,e),fbq("init",e,t),o=!0,i=n.debug):console.warn("Please insert pixel id for initializing")},pageView:function(){a()&&(fbq("track","PageView"),i&&s("called fbq('track', 'PageView');"))},track:function(e,t){a()&&(fbq("track",e,t),i&&(s("called fbq('track', '"+e+"');"),t&&s("with data",t)))},trackCustom:function(e,t){a()&&(fbq("trackCustom",e,t),i&&(s("called fbq('trackCustom', '"+e+"');"),t&&s("with data",t)))},fbq:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){if(a()){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];fbq.apply(void 0,t),i&&(s("called fbq('"+t.slice(0,2).join("', '")+"')"),t[2]&&s("with data",t[2]))}}))}},function(e,t,n){e.exports=n(0)}])},69590:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function i(e,a){if(e===a)return!0;if(e&&a&&"object"==typeof e&&"object"==typeof a){if(e.constructor!==a.constructor)return!1;var s,l,c,u;if(Array.isArray(e)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(!i(e[l],a[l]))return!1;return!0}if(n&&e instanceof Map&&a instanceof Map){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;for(u=e.entries();!(l=u.next()).done;)if(!i(l.value[1],a.get(l.value[0])))return!1;return!0}if(r&&e instanceof Set&&a instanceof Set){if(e.size!==a.size)return!1;for(u=e.entries();!(l=u.next()).done;)if(!a.has(l.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(a)){if((s=e.length)!=a.length)return!1;for(l=s;0!=l--;)if(e[l]!==a[l])return!1;return!0}if(e.constructor===RegExp)return e.source===a.source&&e.flags===a.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===a.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===a.toString();if((s=(c=Object.keys(e)).length)!==Object.keys(a).length)return!1;for(l=s;0!=l--;)if(!Object.prototype.hasOwnProperty.call(a,c[l]))return!1;if(t&&e instanceof Element)return!1;for(l=s;0!=l--;)if(("_owner"!==c[l]&&"__v"!==c[l]&&"__o"!==c[l]||!e.$$typeof)&&!i(e[c[l]],a[c[l]]))return!1;return!0}return e!=e&&a!=a}e.exports=function(e,t){try{return i(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}},49559:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var 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],i=e||"";t&&(i=r(e));n&&(i=o(i));return i};var n=/^(a|an|and|as|at|but|by|en|for|if|in|nor|of|on|or|per|the|to|vs?\.?|via)$/i;function r(e){return e.toString().trim().replace(/[A-Za-z0-9\u00C0-\u00FF]+[^\s-]*/g,(function(e,t,r){return t>0&&t+e.length!==r.length&&e.search(n)>-1&&":"!==r.charAt(t-2)&&("-"!==r.charAt(t+e.length)||"-"===r.charAt(t-1))&&r.charAt(t-1).search(/[^\s-]/)<0?e.toLowerCase():e.substr(1).search(/[A-Z]|\../)>-1?e:e.charAt(0).toUpperCase()+e.substr(1)}))}function o(e){return"string"==typeof(t=e)&&-1!==t.indexOf("@")?(console.warn("This arg looks like an email address, redacting."),"REDACTED (Potential Email Address)"):e;var t}},41638:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.GA4=void 0;var r=l(n(76161)),o=l(n(49559)),i=["eventCategory","eventAction","eventLabel","eventValue","hitType"],a=["title","location"],s=["page","hitType"];function l(e){return e&&e.__esModule?e:{default: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 u(e){return u="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},u(e)}function d(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(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 f(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(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=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||m(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 m(e,t){if(e){if("string"==typeof e)return g(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)?g(e,t):void 0}}function g(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 v(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,y(r.key),r)}}function b(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}var A=function(){function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),b(this,"reset",(function(){t.isInitialized=!1,t._testMode=!1,t._currentMeasurementId,t._hasLoadedGA=!1,t._isQueuing=!1,t._queueGtag=[]})),b(this,"_gtag",(function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t._testMode||t._isQueuing?t._queueGtag.push(n):r.default.apply(void 0,n)})),b(this,"_loadGA",(function(e,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"https://www.googletagmanager.com/gtag/js";if("undefined"!=typeof window&&"undefined"!=typeof document&&!t._hasLoadedGA){var o=document.createElement("script");o.async=!0,o.src="".concat(r,"?id=").concat(e),n&&o.setAttribute("nonce",n),document.body.appendChild(o),window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},t._hasLoadedGA=!0}})),b(this,"_toGtagOptions",(function(e){if(e){var t={cookieUpdate:"cookie_update",cookieExpires:"cookie_expires",cookieDomain:"cookie_domain",cookieFlags:"cookie_flags",userId:"user_id",clientId:"client_id",anonymizeIp:"anonymize_ip",contentGroup1:"content_group1",contentGroup2:"content_group2",contentGroup3:"content_group3",contentGroup4:"content_group4",contentGroup5:"content_group5",allowAdFeatures:"allow_google_signals",allowAdPersonalizationSignals:"allow_ad_personalization_signals",nonInteraction:"non_interaction",page:"page_path",hitCallback:"event_callback"};return Object.entries(e).reduce((function(e,n){var r=h(n,2),o=r[0],i=r[1];return t[o]?e[t[o]]=i:e[o]=i,e}),{})}})),b(this,"initialize",(function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Require GA_MEASUREMENT_ID");var r="string"==typeof e?[{trackingId:e}]:e;t._currentMeasurementId=r[0].trackingId;var o=n.gaOptions,i=n.gtagOptions,a=n.nonce,s=n.testMode,l=void 0!==s&&s,c=n.gtagUrl;if(t._testMode=l,l||t._loadGA(t._currentMeasurementId,a,c),t.isInitialized||(t._gtag("js",new Date),r.forEach((function(e){var n=p(p(p({},t._toGtagOptions(p(p({},o),e.gaOptions))),i),e.gtagOptions);Object.keys(n).length?t._gtag("config",e.trackingId,n):t._gtag("config",e.trackingId)}))),t.isInitialized=!0,!l){var u=d(t._queueGtag);for(t._queueGtag=[],t._isQueuing=!1;u.length;){var f=u.shift();t._gtag.apply(t,d(f)),"get"===f[0]&&(t._isQueuing=!0)}}})),b(this,"set",(function(e){e?"object"===u(e)?(0===Object.keys(e).length&&console.warn("empty `fieldsObject` given to .set()"),t._gaCommand("set",e)):console.warn("Expected `fieldsObject` arg to be an Object"):console.warn("`fieldsObject` is required in .set()")})),b(this,"_gaCommandSendEvent",(function(e,n,r,o,i){t._gtag("event",n,p(p({event_category:e,event_label:r,value:o},i&&{non_interaction:i.nonInteraction}),t._toGtagOptions(i)))})),b(this,"_gaCommandSendEventParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"==typeof n[0])t._gaCommandSendEvent.apply(t,d(n.slice(1)));else{var o=n[0],a=o.eventCategory,s=o.eventAction,l=o.eventLabel,u=o.eventValue,f=(o.hitType,c(o,i));t._gaCommandSendEvent(a,s,l,u,f)}})),b(this,"_gaCommandSendTiming",(function(e,n,r,o){t._gtag("event","timing_complete",{name:n,value:r,event_category:e,event_label:o})})),b(this,"_gaCommandSendPageview",(function(e,n){if(n&&Object.keys(n).length){var r=t._toGtagOptions(n),o=r.title,i=r.location,s=c(r,a);t._gtag("event","page_view",p(p(p(p({},e&&{page_path:e}),o&&{page_title:o}),i&&{page_location:i}),s))}else e?t._gtag("event","page_view",{page_path:e}):t._gtag("event","page_view")})),b(this,"_gaCommandSendPageviewParameters",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"==typeof n[0])t._gaCommandSendPageview.apply(t,d(n.slice(1)));else{var o=n[0],i=o.page,a=(o.hitType,c(o,s));t._gaCommandSendPageview(i,a)}})),b(this,"_gaCommandSend",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o="string"==typeof n[0]?n[0]:n[0].hitType;switch(o){case"event":t._gaCommandSendEventParameters.apply(t,n);break;case"pageview":t._gaCommandSendPageviewParameters.apply(t,n);break;case"timing":t._gaCommandSendTiming.apply(t,d(n.slice(1)));break;case"screenview":case"transaction":case"item":case"social":case"exception":console.warn("Unsupported send command: ".concat(o));break;default:console.warn("Send command doesn't exist: ".concat(o))}})),b(this,"_gaCommandSet",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];"string"==typeof n[0]&&(n[0]=b({},n[0],n[1])),t._gtag("set",t._toGtagOptions(n[0]))})),b(this,"_gaCommand",(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];switch(e){case"send":t._gaCommandSend.apply(t,r);break;case"set":t._gaCommandSet.apply(t,r);break;default:console.warn("Command doesn't exist: ".concat(e))}})),b(this,"ga",(function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if("string"==typeof n[0])t._gaCommand.apply(t,n);else{var o=n[0];t._gtag("get",t._currentMeasurementId,"client_id",(function(e){t._isQueuing=!1;var n=t._queueGtag;for(o({get:function(n){return"clientId"===n?e:"trackingId"===n?t._currentMeasurementId:"apiVersion"===n?"1":void 0}});n.length;){var r=n.shift();t._gtag.apply(t,d(r))}})),t._isQueuing=!0}return t.ga})),b(this,"event",(function(e,n){if("string"==typeof e)t._gtag("event",e,t._toGtagOptions(n));else{var r=e.action,i=e.category,a=e.label,s=e.value,l=e.nonInteraction,c=e.transport;if(!i||!r)return void console.warn("args.category AND args.action are required in event()");var u={hitType:"event",eventCategory:(0,o.default)(i),eventAction:(0,o.default)(r)};a&&(u.eventLabel=(0,o.default)(a)),void 0!==s&&("number"!=typeof s?console.warn("Expected `args.value` arg to be a Number."):u.eventValue=s),void 0!==l&&("boolean"!=typeof l?console.warn("`args.nonInteraction` must be a boolean."):u.nonInteraction=l),void 0!==c&&("string"!=typeof c?console.warn("`args.transport` must be a string."):(-1===["beacon","xhr","image"].indexOf(c)&&console.warn("`args.transport` must be either one of these values: `beacon`, `xhr` or `image`"),u.transport=c)),t._gaCommand("send",u)}})),b(this,"send",(function(e){t._gaCommand("send",e)})),this.reset()}var t,n,l;return t=e,n=[{key:"gtag",value:function(){this._gtag.apply(this,arguments)}}],n&&v(t.prototype,n),l&&v(t,l),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.GA4=A;var x=new A;t.default=x},76161:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;"undefined"!=typeof window&&(void 0===window.gtag&&(window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)}),(r=window).gtag.apply(r,t))};t.default=n},49089: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)}t.ZP=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var n=i(t);if(n&&n.has(e))return n.get(e);var o={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var l=a?Object.getOwnPropertyDescriptor(e,s):null;l&&(l.get||l.set)?Object.defineProperty(o,s,l):o[s]=e[s]}o.default=e,n&&n.set(e,o);return o}(n(41638));function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(i=function(e){return e?n:t})(e)}o.GA4;var a=o.default;t.ZP=a},34853:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(67294),o=n(45697),i=n.n(o);function a(){return 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},a.apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var l=function(e){var t,n;function o(){var t;return(t=e.call(this)||this).handleExpired=t.handleExpired.bind(s(t)),t.handleErrored=t.handleErrored.bind(s(t)),t.handleChange=t.handleChange.bind(s(t)),t.handleRecaptchaRef=t.handleRecaptchaRef.bind(s(t)),t}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=o.prototype;return i.getValue=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this.props.grecaptcha.getResponse(this._widgetId):null},i.getWidgetId=function(){return this.props.grecaptcha&&void 0!==this._widgetId?this._widgetId:null},i.execute=function(){var e=this.props.grecaptcha;if(e&&void 0!==this._widgetId)return e.execute(this._widgetId);this._executeRequested=!0},i.executeAsync=function(){var e=this;return new Promise((function(t,n){e.executionResolve=t,e.executionReject=n,e.execute()}))},i.reset=function(){this.props.grecaptcha&&void 0!==this._widgetId&&this.props.grecaptcha.reset(this._widgetId)},i.handleExpired=function(){this.props.onExpired?this.props.onExpired():this.handleChange(null)},i.handleErrored=function(){this.props.onErrored&&this.props.onErrored(),this.executionReject&&(this.executionReject(),delete this.executionResolve,delete this.executionReject)},i.handleChange=function(e){this.props.onChange&&this.props.onChange(e),this.executionResolve&&(this.executionResolve(e),delete this.executionReject,delete this.executionResolve)},i.explicitRender=function(){if(this.props.grecaptcha&&this.props.grecaptcha.render&&void 0===this._widgetId){var e=document.createElement("div");this._widgetId=this.props.grecaptcha.render(e,{sitekey:this.props.sitekey,callback:this.handleChange,theme:this.props.theme,type:this.props.type,tabindex:this.props.tabindex,"expired-callback":this.handleExpired,"error-callback":this.handleErrored,size:this.props.size,stoken:this.props.stoken,hl:this.props.hl,badge:this.props.badge}),this.captcha.appendChild(e)}this._executeRequested&&this.props.grecaptcha&&void 0!==this._widgetId&&(this._executeRequested=!1,this.execute())},i.componentDidMount=function(){this.explicitRender()},i.componentDidUpdate=function(){this.explicitRender()},i.componentWillUnmount=function(){void 0!==this._widgetId&&(this.delayOfCaptchaIframeRemoving(),this.reset())},i.delayOfCaptchaIframeRemoving=function(){var e=document.createElement("div");for(document.body.appendChild(e),e.style.display="none";this.captcha.firstChild;)e.appendChild(this.captcha.firstChild);setTimeout((function(){document.body.removeChild(e)}),5e3)},i.handleRecaptchaRef=function(e){this.captcha=e},i.render=function(){var e=this.props,t=(e.sitekey,e.onChange,e.theme,e.type,e.tabindex,e.onExpired,e.onErrored,e.size,e.stoken,e.grecaptcha,e.badge,e.hl,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,["sitekey","onChange","theme","type","tabindex","onExpired","onErrored","size","stoken","grecaptcha","badge","hl"]));return r.createElement("div",a({},t,{ref:this.handleRecaptchaRef}))},o}(r.Component);l.displayName="ReCAPTCHA",l.propTypes={sitekey:i().string.isRequired,onChange:i().func,grecaptcha:i().object,theme:i().oneOf(["dark","light"]),type:i().oneOf(["image","audio"]),tabindex:i().number,onExpired:i().func,onErrored:i().func,size:i().oneOf(["compact","normal","invisible"]),stoken:i().string,hl:i().string,badge:i().oneOf(["bottomright","bottomleft","inline"])},l.defaultProps={onChange:function(){},theme:"light",type:"image",tabindex:0,size:"normal",badge:"bottomright"};var c=n(8679),u=n.n(c);function d(){return d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d.apply(this,arguments)}var f={},p=0;var h="onloadcallback";var m,g,v=(m=function(){return"https://"+(("undefined"!=typeof window&&window.recaptchaOptions||{}).useRecaptchaNet?"recaptcha.net":"www.google.com")+"/recaptcha/api.js?onload="+h+"&render=explicit"},g=(g={callbackName:h,globalName:"grecaptcha"})||{},function(e){var t=e.displayName||e.name||"Component",n=function(t){var n,o;function i(e,n){var r;return(r=t.call(this,e,n)||this).state={},r.__scriptURL="",r}o=t,(n=i).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o;var a=i.prototype;return a.asyncScriptLoaderGetScriptLoaderID=function(){return this.__scriptLoaderID||(this.__scriptLoaderID="async-script-loader-"+p++),this.__scriptLoaderID},a.setupScriptURL=function(){return this.__scriptURL="function"==typeof m?m():m,this.__scriptURL},a.asyncScriptLoaderHandleLoad=function(e){var t=this;this.setState(e,(function(){return t.props.asyncScriptOnLoad&&t.props.asyncScriptOnLoad(t.state)}))},a.asyncScriptLoaderTriggerOnScriptLoaded=function(){var e=f[this.__scriptURL];if(!e||!e.loaded)throw new Error("Script is not loaded.");for(var t in e.observers)e.observers[t](e);delete window[g.callbackName]},a.componentDidMount=function(){var e=this,t=this.setupScriptURL(),n=this.asyncScriptLoaderGetScriptLoaderID(),r=g,o=r.globalName,i=r.callbackName,a=r.scriptId;if(o&&void 0!==window[o]&&(f[t]={loaded:!0,observers:{}}),f[t]){var s=f[t];return s&&(s.loaded||s.errored)?void this.asyncScriptLoaderHandleLoad(s):void(s.observers[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)})}var l={};l[n]=function(t){return e.asyncScriptLoaderHandleLoad(t)},f[t]={loaded:!1,observers:l};var c=document.createElement("script");for(var u in c.src=t,c.async=!0,g.attributes)c.setAttribute(u,g.attributes[u]);a&&(c.id=a);var d=function(e){if(f[t]){var n=f[t].observers;for(var r in n)e(n[r])&&delete n[r]}};i&&"undefined"!=typeof window&&(window[i]=function(){return e.asyncScriptLoaderTriggerOnScriptLoaded()}),c.onload=function(){var e=f[t];e&&(e.loaded=!0,d((function(t){return!i&&(t(e),!0)})))},c.onerror=function(){var e=f[t];e&&(e.errored=!0,d((function(t){return t(e),!0})))},document.body.appendChild(c)},a.componentWillUnmount=function(){var e=this.__scriptURL;if(!0===g.removeOnUnmount)for(var t=document.getElementsByTagName("script"),n=0;n<t.length;n+=1)t[n].src.indexOf(e)>-1&&t[n].parentNode&&t[n].parentNode.removeChild(t[n]);var r=f[e];r&&(delete r.observers[this.asyncScriptLoaderGetScriptLoaderID()],!0===g.removeOnUnmount&&delete f[e])},a.render=function(){var t=g.globalName,n=this.props,o=(n.asyncScriptOnLoad,n.forwardedRef),i=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}(n,["asyncScriptOnLoad","forwardedRef"]);return t&&"undefined"!=typeof window&&(i[t]=void 0!==window[t]?window[t]:void 0),i.ref=o,(0,r.createElement)(e,i)},i}(r.Component),o=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(n,d({},e,{forwardedRef:t}))}));return o.displayName="AsyncScriptLoader("+t+")",o.propTypes={asyncScriptOnLoad:i().func},u()(o,e)})(l),b=v},64593:function(e,t,n){"use strict";n.d(t,{q:function(){return me}});var r,o,i,a,s=n(45697),l=n.n(s),c=n(83524),u=n.n(c),d=n(69590),f=n.n(d),p=n(67294),h=n(27418),m=n.n(h),g="bodyAttributes",v="htmlAttributes",b="titleAttributes",y={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title"},A=(Object.keys(y).map((function(e){return y[e]})),"charset"),x="cssText",C="href",_="http-equiv",w="innerHTML",k="itemprop",S="name",E="property",B="rel",O="src",j="target",T={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},P="defaultTitle",M="defer",D="encodeSpecialCharacters",R="onChangeClientState",L="titleTemplate",I=Object.keys(T).reduce((function(e,t){return e[T[t]]=t,e}),{}),N=[y.NOSCRIPT,y.SCRIPT,y.STYLE],F="data-react-helmet",z="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},q=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},U=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}}(),H=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},W=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},V=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},Y=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return!1===t?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},Z=function(e){var t=Q(e,y.TITLE),n=Q(e,L);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=Q(e,P);return t||r||void 0},G=function(e){return Q(e,R)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return H({},e,t)}),{})},$=function(e,t){return t.filter((function(e){return void 0!==e[y.BASE]})).map((function(e){return e[y.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o<r.length;o++){var i=r[o].toLowerCase();if(-1!==e.indexOf(i)&&n[i])return t.concat(n)}return t}),[])},X=function(e,t,n){var r={};return n.filter((function(t){return!!Array.isArray(t[e])||(void 0!==t[e]&&re("Helmet: "+e+' should be of type "Array". Instead found type "'+z(t[e])+'"'),!1)})).map((function(t){return t[e]})).reverse().reduce((function(e,n){var o={};n.filter((function(e){for(var n=void 0,i=Object.keys(e),a=0;a<i.length;a++){var s=i[a],l=s.toLowerCase();-1===t.indexOf(l)||n===B&&"canonical"===e[n].toLowerCase()||l===B&&"stylesheet"===e[l].toLowerCase()||(n=l),-1===t.indexOf(s)||s!==w&&s!==x&&s!==k||(n=s)}if(!n||!e[n])return!1;var c=e[n].toLowerCase();return r[n]||(r[n]={}),o[n]||(o[n]={}),!r[n][c]&&(o[n][c]=!0,!0)})).reverse().forEach((function(t){return e.push(t)}));for(var i=Object.keys(o),a=0;a<i.length;a++){var s=i[a],l=m()({},r[s],o[s]);r[s]=l}return e}),[]).reverse()},Q=function(e,t){for(var n=e.length-1;n>=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},J=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){J(e)}),0)}),ee=function(e){return clearTimeout(e)},te="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||J:n.g.requestAnimationFrame||J,ne="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||ee:n.g.cancelAnimationFrame||ee,re=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},oe=null,ie=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.onChangeClientState,c=e.scriptTags,u=e.styleTags,d=e.title,f=e.titleAttributes;le(y.BODY,r),le(y.HTML,o),se(d,f);var p={baseTag:ce(y.BASE,n),linkTags:ce(y.LINK,i),metaTags:ce(y.META,a),noscriptTags:ce(y.NOSCRIPT,s),scriptTags:ce(y.SCRIPT,c),styleTags:ce(y.STYLE,u)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),l(e,h,m)},ae=function(e){return Array.isArray(e)?e.join(""):e},se=function(e,t){void 0!==e&&document.title!==e&&(document.title=ae(e)),le(y.TITLE,t)},le=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(F),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s++){var l=a[s],c=t[l]||"";n.getAttribute(l)!==c&&n.setAttribute(l,c),-1===o.indexOf(l)&&o.push(l);var u=i.indexOf(l);-1!==u&&i.splice(u,1)}for(var d=i.length-1;d>=0;d--)n.removeAttribute(i[d]);o.length===i.length?n.removeAttribute(F):n.getAttribute(F)!==a.join(",")&&n.setAttribute(F,a.join(","))}},ce=function(e,t){var n=document.head||document.querySelector(y.HEAD),r=n.querySelectorAll(e+"["+"data-react-helmet]"),o=Array.prototype.slice.call(r),i=[],a=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===w)n.innerHTML=t.innerHTML;else if(r===x)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var s=void 0===t[r]?"":t[r];n.setAttribute(r,s)}n.setAttribute(F,"true"),o.some((function(e,t){return a=t,n.isEqualNode(e)}))?o.splice(a,1):i.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),i.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:i}},ue=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[T[n]||n]=e[n],t}),t)},fe=function(e,t,n){switch(e){case y.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[F]=!0,o=de(n,r),[p.createElement(y.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=ue(n),i=ae(t);return o?"<"+e+' data-react-helmet="true" '+o+">"+Y(i,r)+"</"+e+">":"<"+e+' data-react-helmet="true">'+Y(i,r)+"</"+e+">"}(e,t.title,t.titleAttributes,n)}};case g:case v:return{toComponent:function(){return de(t)},toString:function(){return ue(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[F]=!0,r);return Object.keys(t).forEach((function(e){var n=T[e]||e;if(n===w||n===x){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),p.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===w||e===x)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+Y(r[t],n)+'"';return e?e+" "+o:o}),""),i=r.innerHTML||r.cssText||"",a=-1===N.indexOf(e);return t+"<"+e+' data-react-helmet="true" '+o+(a?"/>":">"+i+"</"+e+">")}),"")}(e,t,n)}}}},pe=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.linkTags,a=e.metaTags,s=e.noscriptTags,l=e.scriptTags,c=e.styleTags,u=e.title,d=void 0===u?"":u,f=e.titleAttributes;return{base:fe(y.BASE,t,r),bodyAttributes:fe(g,n,r),htmlAttributes:fe(v,o,r),link:fe(y.LINK,i,r),meta:fe(y.META,a,r),noscript:fe(y.NOSCRIPT,s,r),script:fe(y.SCRIPT,l,r),style:fe(y.STYLE,c,r),title:fe(y.TITLE,{title:d,titleAttributes:f},r)}},he=u()((function(e){return{baseTag:$([C,j],e),bodyAttributes:K(g,e),defer:Q(e,M),encode:Q(e,D),htmlAttributes:K(v,e),linkTags:X(y.LINK,[B,C],e),metaTags:X(y.META,[S,A,_,E,k],e),noscriptTags:X(y.NOSCRIPT,[w],e),onChangeClientState:G(e),scriptTags:X(y.SCRIPT,[O,w],e),styleTags:X(y.STYLE,[x],e),title:Z(e),titleAttributes:K(b,e)}}),(function(e){oe&&ne(oe),e.defer?oe=te((function(){ie(e,(function(){oe=null}))})):(ie(e),oe=null)}),pe)((function(){return null})),me=(o=he,a=i=function(e){function t(){return q(this,t),V(this,e.apply(this,arguments))}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),t.prototype.shouldComponentUpdate=function(e){return!f()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case y.SCRIPT:case y.NOSCRIPT:return{innerHTML:t};case y.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,i=e.nestedChildren;return H({},r,((t={})[n.type]=[].concat(r[n.type]||[],[H({},o,this.mapNestedChildrenToProps(n,i))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,i=e.newChildProps,a=e.nestedChildren;switch(r.type){case y.TITLE:return H({},o,((t={})[r.type]=a,t.titleAttributes=H({},i),t));case y.BODY:return H({},o,{bodyAttributes:H({},i)});case y.HTML:return H({},o,{htmlAttributes:H({},i)})}return H({},o,((n={})[r.type]=H({},i),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=H({},t);return Object.keys(e).forEach((function(t){var r;n=H({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return p.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,i=o.children,a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[I[n]||n]=e[n],t}),t)}(W(o,["children"]));switch(n.warnOnInvalidChildren(e,i),e.type){case y.LINK:case y.META:case y.NOSCRIPT:case y.SCRIPT:case y.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:a,nestedChildren:i});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:a,nestedChildren:i})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=W(e,["children"]),r=H({},n);return t&&(r=this.mapChildrenToProps(t,r)),p.createElement(o,r)},U(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(p.Component),i.propTypes={base:l().object,bodyAttributes:l().object,children:l().oneOfType([l().arrayOf(l().node),l().node]),defaultTitle:l().string,defer:l().bool,encodeSpecialCharacters:l().bool,htmlAttributes:l().object,link:l().arrayOf(l().object),meta:l().arrayOf(l().object),noscript:l().arrayOf(l().object),onChangeClientState:l().func,script:l().arrayOf(l().object),style:l().arrayOf(l().object),title:l().string,titleAttributes:l().object,titleTemplate:l().string},i.defaultProps={defer:!0,encodeSpecialCharacters:!0},i.peek=o.peek,i.rewind=function(){var e=o.rewind();return e||(e=pe({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},a);me.renderStatic=me.rewind},69921: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,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,A=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 u:case d:case i:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case c:case f:case g:case m:case l:return e;default:return t}}case o:return t}}}function C(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return C(e)||x(e)===u},t.isConcurrentMode=C,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},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)===g},t.isMemo=function(e){return x(e)===m},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)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===A||e.$$typeof===v)},t.typeOf=x},59864:function(e,t,n){"use strict";e.exports=n(69921)},47797:function(e,t,n){"use strict";n.d(t,{aO:function(){return Qe},FP:function(){return Je},Q_:function(){return tt},ZP:function(){return Zt}});var r=n(67294);function o(e){return function(t){return typeof t===e}}var i=o("function"),a=function(e){return"RegExp"===Object.prototype.toString.call(e).slice(8,-1)},s=function(e){return!l(e)&&!function(e){return null===e}(e)&&(i(e)||"object"==typeof e)},l=o("undefined"),c=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function u(e,t){if(e===t)return!0;if(e&&s(e)&&t&&s(t)){if(e.constructor!==t.constructor)return!1;if(Array.isArray(e)&&Array.isArray(t))return function(e,t){var n=e.length;if(n!==t.length)return!1;for(var r=n;0!=r--;)if(!u(e[r],t[r]))return!1;return!0}(e,t);if(e instanceof Map&&t instanceof Map)return function(e,t){var n,r,o,i;if(e.size!==t.size)return!1;try{for(var a=c(e.entries()),s=a.next();!s.done;s=a.next()){var l=s.value;if(!t.has(l[0]))return!1}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}try{for(var d=c(e.entries()),f=d.next();!f.done;f=d.next())if(!u((l=f.value)[1],t.get(l[0])))return!1}catch(e){o={error:e}}finally{try{f&&!f.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}return!0}(e,t);if(e instanceof Set&&t instanceof Set)return function(e,t){var n,r;if(e.size!==t.size)return!1;try{for(var o=c(e.entries()),i=o.next();!i.done;i=o.next()){var a=i.value;if(!t.has(a[0]))return!1}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return!0}(e,t);if(ArrayBuffer.isView(e)&&ArrayBuffer.isView(t))return function(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=new DataView(e.buffer),r=new DataView(t.buffer),o=e.byteLength;o--;)if(n.getUint8(o)!==r.getUint8(o))return!1;return!0}(e,t);if(a(e)&&a(t))return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=n.length;0!=o--;)if(!Object.prototype.hasOwnProperty.call(t,n[o]))return!1;for(o=n.length;0!=o--;){var i=n[o];if(("_owner"!==i||!e.$$typeof)&&!u(e[i],t[i]))return!1}return!0}return!(!Number.isNaN(e)||!Number.isNaN(t))||e===t}var d=["innerHTML","ownerDocument","style","attributes","nodeValue"],f=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],p=["bigint","boolean","null","number","string","symbol","undefined"];function h(e){var t,n=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(n)?"HTMLElement":(t=n,f.includes(t)?n:void 0)}function m(e){return function(t){return h(t)===e}}function g(e){return function(t){return typeof t===e}}function v(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(v.array(e))return"Array";if(v.plainFunction(e))return"Function";var t=h(e);return t||"Object"}v.array=Array.isArray,v.arrayOf=function(e,t){return!(!v.array(e)&&!v.function(t))&&e.every((function(e){return t(e)}))},v.asyncGeneratorFunction=function(e){return"AsyncGeneratorFunction"===h(e)},v.asyncFunction=m("AsyncFunction"),v.bigint=g("bigint"),v.boolean=function(e){return!0===e||!1===e},v.date=m("Date"),v.defined=function(e){return!v.undefined(e)},v.domElement=function(e){return v.object(e)&&!v.plainObject(e)&&1===e.nodeType&&v.string(e.nodeName)&&d.every((function(t){return t in e}))},v.empty=function(e){return v.string(e)&&0===e.length||v.array(e)&&0===e.length||v.object(e)&&!v.map(e)&&!v.set(e)&&0===Object.keys(e).length||v.set(e)&&0===e.size||v.map(e)&&0===e.size},v.error=m("Error"),v.function=g("function"),v.generator=function(e){return v.iterable(e)&&v.function(e.next)&&v.function(e.throw)},v.generatorFunction=m("GeneratorFunction"),v.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},v.iterable=function(e){return!v.nullOrUndefined(e)&&v.function(e[Symbol.iterator])},v.map=m("Map"),v.nan=function(e){return Number.isNaN(e)},v.null=function(e){return null===e},v.nullOrUndefined=function(e){return v.null(e)||v.undefined(e)},v.number=function(e){return g("number")(e)&&!v.nan(e)},v.numericString=function(e){return v.string(e)&&e.length>0&&!Number.isNaN(Number(e))},v.object=function(e){return!v.nullOrUndefined(e)&&(v.function(e)||"object"==typeof e)},v.oneOf=function(e,t){return!!v.array(e)&&e.indexOf(t)>-1},v.plainFunction=m("Function"),v.plainObject=function(e){if("Object"!==h(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},v.primitive=function(e){return v.null(e)||(t=typeof e,p.includes(t));var t},v.promise=m("Promise"),v.propertyOf=function(e,t,n){if(!v.object(e)||!t)return!1;var r=e[t];return v.function(n)?n(r):v.defined(r)},v.regexp=m("RegExp"),v.set=m("Set"),v.string=g("string"),v.symbol=g("symbol"),v.undefined=g("undefined"),v.weakMap=m("WeakMap"),v.weakSet=m("WeakSet");var b=v;function y(e,t,n){var r=n.actual,o=n.key,i=n.previous,a=n.type,s=E(e,o),l=E(t,o),c=[s,l].every(b.number)&&("increased"===a?s<l:s>l);return b.undefined(r)||(c=c&&l===r),b.undefined(i)||(c=c&&s===i),c}function A(e,t,n){var r=n.key,o=n.type,i=n.value,a=E(e,r),s=E(t,r),l="added"===o?a:s,c="added"===o?s:a;return b.nullOrUndefined(i)?[a,s].every(b.array)?!c.every(k(l)):[a,s].every(b.plainObject)?function(e,t){return t.some((function(t){return!e.includes(t)}))}(Object.keys(l),Object.keys(c)):![a,s].every((function(e){return b.primitive(e)&&b.defined(e)}))&&("added"===o?!b.defined(a)&&b.defined(s):b.defined(a)&&!b.defined(s)):b.defined(l)?!(!b.array(l)&&!b.plainObject(l))&&function(e,t,n){return!!S(e,t)&&([e,t].every(b.array)?!e.some(_(n))&&t.some(_(n)):[e,t].every(b.plainObject)?!Object.entries(e).some(C(n))&&Object.entries(t).some(C(n)):t===n)}(l,c,i):u(c,i)}function x(e,t,n){var r=(void 0===n?{}:n).key,o=E(e,r),i=E(t,r);if(!S(o,i))throw new TypeError("Inputs have different types");if(!function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every((function(e){return b.string(e)||b.array(e)||b.plainObject(e)}))}(o,i))throw new TypeError("Inputs don't have length");return[o,i].every(b.plainObject)&&(o=Object.keys(o),i=Object.keys(i)),[o,i]}function C(e){return function(t){var n=t[0],r=t[1];return b.array(e)?u(e,r)||e.some((function(e){return u(e,r)||b.array(r)&&k(r)(e)})):b.plainObject(e)&&e[n]?!!e[n]&&u(e[n],r):u(e,r)}}function _(e){return function(t){return b.array(e)?e.some((function(e){return u(e,t)||b.array(t)&&k(t)(e)})):u(e,t)}}function w(e,t){return b.array(e)?e.some((function(e){return u(e,t)})):u(e,t)}function k(e){return function(t){return e.some((function(e){return u(e,t)}))}}function S(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return e.every(b.array)||e.every(b.number)||e.every(b.plainObject)||e.every(b.string)}function E(e,t){return b.plainObject(e)||b.array(e)?b.string(t)?t.split(".").reduce((function(e,t){return e&&e[t]}),e):b.number(t)?e[t]:e:e}function B(e,t){if([e,t].some(b.nullOrUndefined))throw new Error("Missing required parameters");if(![e,t].every((function(e){return b.plainObject(e)||b.array(e)})))throw new Error("Expected plain objects or array");var n=function(n,r,o){try{var i=E(e,n),a=E(t,n),s=b.defined(r),l=b.defined(o);if(s||l){var c=l?w(o,i):!w(r,i),d=w(r,a);return c&&d}return[i,a].every(b.array)||[i,a].every(b.plainObject)?!u(i,a):i!==a}catch(e){return!1}};return{added:function(n,r){try{return A(e,t,{key:n,type:"added",value:r})}catch(e){return!1}},changed:n,changedFrom:function(n,r,o){if(!b.defined(n))return!1;try{var i=E(e,n),a=E(t,n),s=b.defined(o);return w(r,i)&&(s?w(o,a):!s)}catch(e){return!1}},changedTo:function(e,t){return!!b.defined(e)&&n(e,t)},decreased:function(n,r,o){if(!b.defined(n))return!1;try{return y(e,t,{key:n,actual:r,previous:o,type:"decreased"})}catch(e){return!1}},emptied:function(n){try{var r=x(e,t,{key:n}),o=r[0],i=r[1];return!!o.length&&!i.length}catch(e){return!1}},filled:function(n){try{var r=x(e,t,{key:n}),o=r[0],i=r[1];return!o.length&&!!i.length}catch(e){return!1}},increased:function(n,r,o){if(!b.defined(n))return!1;try{return y(e,t,{key:n,actual:r,previous:o,type:"increased"})}catch(e){return!1}},removed:function(n,r){try{return A(e,t,{key:n,type:"removed",value:r})}catch(e){return!1}}}}var O=["innerHTML","ownerDocument","style","attributes","nodeValue"],j=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],T=["bigint","boolean","null","number","string","symbol","undefined"];function P(e){const t=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(t)?"HTMLElement":(n=t,j.includes(n)?t:void 0);var n}function M(e){return t=>P(t)===e}function D(e){return t=>typeof t===e}function R(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(R.array(e))return"Array";if(R.plainFunction(e))return"Function";const t=P(e);return t||"Object"}R.array=Array.isArray,R.arrayOf=(e,t)=>!(!R.array(e)&&!R.function(t))&&e.every((e=>t(e))),R.asyncGeneratorFunction=e=>"AsyncGeneratorFunction"===P(e),R.asyncFunction=M("AsyncFunction"),R.bigint=D("bigint"),R.boolean=e=>!0===e||!1===e,R.date=M("Date"),R.defined=e=>!R.undefined(e),R.domElement=e=>R.object(e)&&!R.plainObject(e)&&1===e.nodeType&&R.string(e.nodeName)&&O.every((t=>t in e)),R.empty=e=>R.string(e)&&0===e.length||R.array(e)&&0===e.length||R.object(e)&&!R.map(e)&&!R.set(e)&&0===Object.keys(e).length||R.set(e)&&0===e.size||R.map(e)&&0===e.size,R.error=M("Error"),R.function=D("function"),R.generator=e=>R.iterable(e)&&R.function(e.next)&&R.function(e.throw),R.generatorFunction=M("GeneratorFunction"),R.instanceOf=(e,t)=>!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype,R.iterable=e=>!R.nullOrUndefined(e)&&R.function(e[Symbol.iterator]),R.map=M("Map"),R.nan=e=>Number.isNaN(e),R.null=e=>null===e,R.nullOrUndefined=e=>R.null(e)||R.undefined(e),R.number=e=>D("number")(e)&&!R.nan(e),R.numericString=e=>R.string(e)&&e.length>0&&!Number.isNaN(Number(e)),R.object=e=>!R.nullOrUndefined(e)&&(R.function(e)||"object"==typeof e),R.oneOf=(e,t)=>!!R.array(e)&&e.indexOf(t)>-1,R.plainFunction=M("Function"),R.plainObject=e=>{if("Object"!==P(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},R.primitive=e=>{return R.null(e)||(t=typeof e,T.includes(t));var t},R.promise=M("Promise"),R.propertyOf=(e,t,n)=>{if(!R.object(e)||!t)return!1;const r=e[t];return R.function(n)?n(r):R.defined(r)},R.regexp=M("RegExp"),R.set=M("Set"),R.string=D("string"),R.symbol=D("symbol"),R.undefined=D("undefined"),R.weakMap=M("WeakMap"),R.weakSet=M("WeakSet");var L=R,I=n(73935),N=n(58875),F=n.n(N),z=n(67339),q=n.n(z),U=n(27274),H=n.n(U),W=n(59864),V=n(9996),Y=n.n(V),Z=n(45697),G=n.n(Z),K=n(66494),$=n(28981),X=["innerHTML","ownerDocument","style","attributes","nodeValue"],Q=["Array","ArrayBuffer","AsyncFunction","AsyncGenerator","AsyncGeneratorFunction","Date","Error","Function","Generator","GeneratorFunction","HTMLElement","Map","Object","Promise","RegExp","Set","WeakMap","WeakSet"],J=["bigint","boolean","null","number","string","symbol","undefined"];function ee(e){var t,n=Object.prototype.toString.call(e).slice(8,-1);return/HTML\w+Element/.test(n)?"HTMLElement":(t=n,Q.includes(t)?n:void 0)}function te(e){return function(t){return ee(t)===e}}function ne(e){return function(t){return typeof t===e}}function re(e){if(null===e)return"null";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"number":return"number";case"string":return"string";case"symbol":return"symbol";case"undefined":return"undefined"}if(re.array(e))return"Array";if(re.plainFunction(e))return"Function";var t=ee(e);return t||"Object"}re.array=Array.isArray,re.arrayOf=function(e,t){return!(!re.array(e)&&!re.function(t))&&e.every((function(e){return t(e)}))},re.asyncGeneratorFunction=function(e){return"AsyncGeneratorFunction"===ee(e)},re.asyncFunction=te("AsyncFunction"),re.bigint=ne("bigint"),re.boolean=function(e){return!0===e||!1===e},re.date=te("Date"),re.defined=function(e){return!re.undefined(e)},re.domElement=function(e){return re.object(e)&&!re.plainObject(e)&&1===e.nodeType&&re.string(e.nodeName)&&X.every((function(t){return t in e}))},re.empty=function(e){return re.string(e)&&0===e.length||re.array(e)&&0===e.length||re.object(e)&&!re.map(e)&&!re.set(e)&&0===Object.keys(e).length||re.set(e)&&0===e.size||re.map(e)&&0===e.size},re.error=te("Error"),re.function=ne("function"),re.generator=function(e){return re.iterable(e)&&re.function(e.next)&&re.function(e.throw)},re.generatorFunction=te("GeneratorFunction"),re.instanceOf=function(e,t){return!(!e||!t)&&Object.getPrototypeOf(e)===t.prototype},re.iterable=function(e){return!re.nullOrUndefined(e)&&re.function(e[Symbol.iterator])},re.map=te("Map"),re.nan=function(e){return Number.isNaN(e)},re.null=function(e){return null===e},re.nullOrUndefined=function(e){return re.null(e)||re.undefined(e)},re.number=function(e){return ne("number")(e)&&!re.nan(e)},re.numericString=function(e){return re.string(e)&&e.length>0&&!Number.isNaN(Number(e))},re.object=function(e){return!re.nullOrUndefined(e)&&(re.function(e)||"object"==typeof e)},re.oneOf=function(e,t){return!!re.array(e)&&e.indexOf(t)>-1},re.plainFunction=te("Function"),re.plainObject=function(e){if("Object"!==ee(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.getPrototypeOf({})},re.primitive=function(e){return re.null(e)||(t=typeof e,J.includes(t));var t},re.promise=te("Promise"),re.propertyOf=function(e,t,n){if(!re.object(e)||!t)return!1;var r=e[t];return re.function(n)?n(r):re.defined(r)},re.regexp=te("RegExp"),re.set=te("Set"),re.string=ne("string"),re.symbol=ne("symbol"),re.undefined=ne("undefined"),re.weakMap=te("WeakMap"),re.weakSet=te("WeakSet");var oe=re;function ie(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 ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){ue(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function se(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function le(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 ce(e,t,n){return t&&le(e.prototype,t),n&&le(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ue(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(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&&pe(e,t)}function fe(e){return fe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},fe(e)}function pe(e,t){return pe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},pe(e,t)}function he(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 me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ge(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return me(e)}function ve(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=fe(e);if(t){var o=fe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ge(this,n)}}var be={flip:{padding:20},preventOverflow:{padding:10}},ye={INIT:"init",IDLE:"idle",OPENING:"opening",OPEN:"open",CLOSING:"closing",ERROR:"error"},Ae=F().canUseDOM,xe=void 0!==I.createPortal;function Ce(){return"ontouchstart"in window&&/Mobi/.test(navigator.userAgent)}function _e(e){var t=e.title,n=e.data,r=e.warn,o=void 0!==r&&r,i=e.debug,a=void 0!==i&&i,s=o?console.warn||console.error:console.log;a&&t&&n&&(console.groupCollapsed("%creact-floater: ".concat(t),"color: #9b00ff; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){oe.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd())}function we(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.addEventListener(t,n,r)}function ke(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.removeEventListener(t,n,r)}function Se(){}var Ee=function(e){de(n,e);var t=ve(n);function n(){return se(this,n),t.apply(this,arguments)}return ce(n,[{key:"componentDidMount",value:function(){Ae&&(this.node||this.appendNode(),xe||this.renderPortal())}},{key:"componentDidUpdate",value:function(){Ae&&(xe||this.renderPortal())}},{key:"componentWillUnmount",value:function(){Ae&&this.node&&(xe||I.unmountComponentAtNode(this.node),this.node&&this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var e=this.props,t=e.id,n=e.zIndex;this.node||(this.node=document.createElement("div"),t&&(this.node.id=t),n&&(this.node.style.zIndex=n),document.body.appendChild(this.node))}},{key:"renderPortal",value:function(){if(!Ae)return null;var e=this.props,t=e.children,n=e.setRef;return this.node||this.appendNode(),xe?I.createPortal(t,this.node):(n(I.unstable_renderSubtreeIntoContainer(this,t.length>1?r.createElement("div",null,t):t[0],this.node)),null)}},{key:"renderReact16",value:function(){var e=this.props,t=e.hasChildren,n=e.placement,r=e.target;return t||r||"center"===n?this.renderPortal():null}},{key:"render",value:function(){return xe?this.renderReact16():null}}]),n}(r.Component);ue(Ee,"propTypes",{children:G().oneOfType([G().element,G().array]),hasChildren:G().bool,id:G().oneOfType([G().string,G().number]),placement:G().string,setRef:G().func.isRequired,target:G().oneOfType([G().object,G().string]),zIndex:G().number});var Be=function(e){de(n,e);var t=ve(n);function n(){return se(this,n),t.apply(this,arguments)}return ce(n,[{key:"parentStyle",get:function(){var e=this.props,t=e.placement,n=e.styles.arrow.length,r={pointerEvents:"none",position:"absolute",width:"100%"};return t.startsWith("top")?(r.bottom=0,r.left=0,r.right=0,r.height=n):t.startsWith("bottom")?(r.left=0,r.right=0,r.top=0,r.height=n):t.startsWith("left")?(r.right=0,r.top=0,r.bottom=0):t.startsWith("right")&&(r.left=0,r.top=0),r}},{key:"render",value:function(){var e,t=this.props,n=t.placement,o=t.setArrowRef,i=t.styles.arrow,a=i.color,s=i.display,l=i.length,c=i.margin,u=i.position,d=i.spread,f={display:s,position:u},p=d,h=l;return n.startsWith("top")?(e="0,0 ".concat(p/2,",").concat(h," ").concat(p,",0"),f.bottom=0,f.marginLeft=c,f.marginRight=c):n.startsWith("bottom")?(e="".concat(p,",").concat(h," ").concat(p/2,",0 0,").concat(h),f.top=0,f.marginLeft=c,f.marginRight=c):n.startsWith("left")?(h=d,e="0,0 ".concat(p=l,",").concat(h/2," 0,").concat(h),f.right=0,f.marginTop=c,f.marginBottom=c):n.startsWith("right")&&(h=d,e="".concat(p=l,",").concat(h," ").concat(p,",0 0,").concat(h/2),f.left=0,f.marginTop=c,f.marginBottom=c),r.createElement("div",{className:"__floater__arrow",style:this.parentStyle},r.createElement("span",{ref:o,style:f},r.createElement("svg",{width:p,height:h,version:"1.1",xmlns:"http://www.w3.org/2000/svg"},r.createElement("polygon",{points:e,fill:a}))))}}]),n}(r.Component);ue(Be,"propTypes",{placement:G().string.isRequired,setArrowRef:G().func.isRequired,styles:G().object.isRequired});var Oe=["color","height","width"],je=function(e){var t=e.handleClick,n=e.styles,o=n.color,i=n.height,a=n.width,s=he(n,Oe);return r.createElement("button",{"aria-label":"close",onClick:t,style:s,type:"button"},r.createElement("svg",{width:"".concat(a,"px"),height:"".concat(i,"px"),viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.createElement("g",null,r.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))};je.propTypes={handleClick:G().func.isRequired,styles:G().object.isRequired};var Te=function(e){var t=e.content,n=e.footer,o=e.handleClick,i=e.open,a=e.positionWrapper,s=e.showCloseButton,l=e.title,c=e.styles,u={content:r.isValidElement(t)?t:r.createElement("div",{className:"__floater__content",style:c.content},t)};return l&&(u.title=r.isValidElement(l)?l:r.createElement("div",{className:"__floater__title",style:c.title},l)),n&&(u.footer=r.isValidElement(n)?n:r.createElement("div",{className:"__floater__footer",style:c.footer},n)),!s&&!a||oe.boolean(i)||(u.close=r.createElement(je,{styles:c.close,handleClick:o})),r.createElement("div",{className:"__floater__container",style:c.container},u.close,u.title,u.content,u.footer)};Te.propTypes={content:G().node.isRequired,footer:G().node,handleClick:G().func.isRequired,open:G().bool,positionWrapper:G().bool.isRequired,showCloseButton:G().bool.isRequired,styles:G().object.isRequired,title:G().node};var Pe=function(e){de(n,e);var t=ve(n);function n(){return se(this,n),t.apply(this,arguments)}return ce(n,[{key:"style",get:function(){var e=this.props,t=e.disableAnimation,n=e.component,r=e.placement,o=e.hideArrow,i=e.status,a=e.styles,s=a.arrow.length,l=a.floater,c=a.floaterCentered,u=a.floaterClosing,d=a.floaterOpening,f=a.floaterWithAnimation,p=a.floaterWithComponent,h={};return o||(r.startsWith("top")?h.padding="0 0 ".concat(s,"px"):r.startsWith("bottom")?h.padding="".concat(s,"px 0 0"):r.startsWith("left")?h.padding="0 ".concat(s,"px 0 0"):r.startsWith("right")&&(h.padding="0 0 0 ".concat(s,"px"))),-1!==[ye.OPENING,ye.OPEN].indexOf(i)&&(h=ae(ae({},h),d)),i===ye.CLOSING&&(h=ae(ae({},h),u)),i!==ye.OPEN||t||(h=ae(ae({},h),f)),"center"===r&&(h=ae(ae({},h),c)),n&&(h=ae(ae({},h),p)),ae(ae({},l),h)}},{key:"render",value:function(){var e=this.props,t=e.component,n=e.handleClick,o=e.hideArrow,i=e.setFloaterRef,a=e.status,s={},l=["__floater"];return s.content=t?r.isValidElement(t)?r.cloneElement(t,{closeFn:n}):t({closeFn:n}):r.createElement(Te,this.props),a===ye.OPEN&&l.push("__floater__open"),o||(s.arrow=r.createElement(Be,this.props)),r.createElement("div",{ref:i,className:l.join(" "),style:this.style},r.createElement("div",{className:"__floater__body"},s.content,s.arrow))}}]),n}(r.Component);ue(Pe,"propTypes",{component:G().oneOfType([G().func,G().element]),content:G().node,disableAnimation:G().bool.isRequired,footer:G().node,handleClick:G().func.isRequired,hideArrow:G().bool.isRequired,open:G().bool,placement:G().string.isRequired,positionWrapper:G().bool.isRequired,setArrowRef:G().func.isRequired,setFloaterRef:G().func.isRequired,showCloseButton:G().bool,status:G().string.isRequired,styles:G().object.isRequired,title:G().node});var Me=function(e){de(n,e);var t=ve(n);function n(){return se(this,n),t.apply(this,arguments)}return ce(n,[{key:"render",value:function(){var e,t=this.props,n=t.children,o=t.handleClick,i=t.handleMouseEnter,a=t.handleMouseLeave,s=t.setChildRef,l=t.setWrapperRef,c=t.style,u=t.styles;if(n)if(1===r.Children.count(n))if(r.isValidElement(n)){var d=oe.function(n.type)?"innerRef":"ref";e=r.cloneElement(r.Children.only(n),ue({},d,s))}else e=r.createElement("span",null,n);else e=n;return e?r.createElement("span",{ref:l,style:ae(ae({},u),c),onClick:o,onMouseEnter:i,onMouseLeave:a},e):null}}]),n}(r.Component);ue(Me,"propTypes",{children:G().node,handleClick:G().func.isRequired,handleMouseEnter:G().func.isRequired,handleMouseLeave:G().func.isRequired,setChildRef:G().func.isRequired,setWrapperRef:G().func.isRequired,style:G().object,styles:G().object.isRequired});var De={zIndex:100};var Re=["arrow","flip","offset"],Le=["position","top","right","bottom","left"],Ie=function(e){de(o,e);var t=ve(o);function o(e){var n;return se(this,o),ue(me(n=t.call(this,e)),"setArrowRef",(function(e){n.arrowRef=e})),ue(me(n),"setChildRef",(function(e){n.childRef=e})),ue(me(n),"setFloaterRef",(function(e){n.floaterRef=e})),ue(me(n),"setWrapperRef",(function(e){n.wrapperRef=e})),ue(me(n),"handleTransitionEnd",(function(){var e=n.state.status,t=n.props.callback;n.wrapperPopper&&n.wrapperPopper.instance.update(),n.setState({status:e===ye.OPENING?ye.OPEN:ye.IDLE},(function(){var e=n.state.status;t(e===ye.OPEN?"open":"close",n.props)}))})),ue(me(n),"handleClick",(function(){var e=n.props,t=e.event,r=e.open;if(!oe.boolean(r)){var o=n.state,i=o.positionWrapper,a=o.status;("click"===n.event||"hover"===n.event&&i)&&(_e({title:"click",data:[{event:t,status:a===ye.OPEN?"closing":"opening"}],debug:n.debug}),n.toggle())}})),ue(me(n),"handleMouseEnter",(function(){var e=n.props,t=e.event,r=e.open;if(!oe.boolean(r)&&!Ce()){var o=n.state.status;"hover"===n.event&&o===ye.IDLE&&(_e({title:"mouseEnter",data:[{key:"originalEvent",value:t}],debug:n.debug}),clearTimeout(n.eventDelayTimeout),n.toggle())}})),ue(me(n),"handleMouseLeave",(function(){var e=n.props,t=e.event,r=e.eventDelay,o=e.open;if(!oe.boolean(o)&&!Ce()){var i=n.state,a=i.status,s=i.positionWrapper;"hover"===n.event&&(_e({title:"mouseLeave",data:[{key:"originalEvent",value:t}],debug:n.debug}),r?-1===[ye.OPENING,ye.OPEN].indexOf(a)||s||n.eventDelayTimeout||(n.eventDelayTimeout=setTimeout((function(){delete n.eventDelayTimeout,n.toggle()}),1e3*r)):n.toggle(ye.IDLE))}})),n.state={currentPlacement:e.placement,needsUpdate:!1,positionWrapper:e.wrapperOptions.position&&!!e.target,status:ye.INIT,statusWrapper:ye.INIT},n._isMounted=!1,n.hasMounted=!1,Ae&&window.addEventListener("load",(function(){n.popper&&n.popper.instance.update(),n.wrapperPopper&&n.wrapperPopper.instance.update()})),n}return ce(o,[{key:"componentDidMount",value:function(){if(Ae){var e=this.state.positionWrapper,t=this.props,n=t.children,r=t.open,o=t.target;this._isMounted=!0,_e({title:"init",data:{hasChildren:!!n,hasTarget:!!o,isControlled:oe.boolean(r),positionWrapper:e,target:this.target,floater:this.floaterRef},debug:this.debug}),this.hasMounted||(this.initPopper(),this.hasMounted=!0),!n&&o&&oe.boolean(r)}}},{key:"componentDidUpdate",value:function(e,t){if(Ae){var n,r=this.props,o=r.autoOpen,i=r.open,a=r.target,s=r.wrapperOptions,l=B(t,this.state),c=l.changedFrom,u=l.changed;if(e.open!==i)oe.boolean(i)&&(n=i?ye.OPENING:ye.CLOSING),this.toggle(n);e.wrapperOptions.position===s.position&&e.target===a||this.changeWrapperPosition(this.props),(u("status",ye.IDLE)&&i||c("status",ye.INIT,ye.IDLE)&&o)&&this.toggle(ye.OPEN),this.popper&&u("status",ye.OPENING)&&this.popper.instance.update(),this.floaterRef&&(u("status",ye.OPENING)||u("status",ye.CLOSING))&&function(e,t,n){var r;we(e,t,r=function(o){n(o),ke(e,t,r)},arguments.length>3&&void 0!==arguments[3]&&arguments[3])}(this.floaterRef,"transitionend",this.handleTransitionEnd),u("needsUpdate",!0)&&this.rebuildPopper()}}},{key:"componentWillUnmount",value:function(){Ae&&(this._isMounted=!1,this.popper&&this.popper.instance.destroy(),this.wrapperPopper&&this.wrapperPopper.instance.destroy())}},{key:"initPopper",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.target,n=this.state.positionWrapper,r=this.props,o=r.disableFlip,i=r.getPopper,a=r.hideArrow,s=r.offset,l=r.placement,c=r.wrapperOptions,u="top"===l||"bottom"===l?"flip":["right","bottom-end","top-end","left","top-start","bottom-start"];if("center"===l)this.setState({status:ye.IDLE});else if(t&&this.floaterRef){var d=this.options,f=d.arrow,p=d.flip,h=d.offset,m=he(d,Re);new $.default(t,this.floaterRef,{placement:l,modifiers:ae({arrow:ae({enabled:!a,element:this.arrowRef},f),flip:ae({enabled:!o,behavior:u},p),offset:ae({offset:"0, ".concat(s,"px")},h)},m),onCreate:function(t){var n;e.popper=t,null!==(n=e.floaterRef)&&void 0!==n&&n.isConnected?(i(t,"floater"),e._isMounted&&e.setState({currentPlacement:t.placement,status:ye.IDLE}),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)):e.setState({needsUpdate:!0})},onUpdate:function(t){e.popper=t;var n=e.state.currentPlacement;e._isMounted&&t.placement!==n&&e.setState({currentPlacement:t.placement})}})}if(n){var g=oe.undefined(c.offset)?0:c.offset;new $.default(this.target,this.wrapperRef,{placement:c.placement||l,modifiers:{arrow:{enabled:!1},offset:{offset:"0, ".concat(g,"px")},flip:{enabled:!1}},onCreate:function(t){e.wrapperPopper=t,e._isMounted&&e.setState({statusWrapper:ye.IDLE}),i(t,"wrapper"),l!==t.placement&&setTimeout((function(){t.instance.update()}),1)}})}}},{key:"rebuildPopper",value:function(){var e=this;this.floaterRefInterval=setInterval((function(){var t;null!==(t=e.floaterRef)&&void 0!==t&&t.isConnected&&(clearInterval(e.floaterRefInterval),e.setState({needsUpdate:!1}),e.initPopper())}),50)}},{key:"changeWrapperPosition",value:function(e){var t=e.target,n=e.wrapperOptions;this.setState({positionWrapper:n.position&&!!t})}},{key:"toggle",value:function(e){var t=this.state.status===ye.OPEN?ye.CLOSING:ye.OPENING;oe.undefined(e)||(t=e),this.setState({status:t})}},{key:"debug",get:function(){return this.props.debug||!!n.g.ReactFloaterDebug}},{key:"event",get:function(){var e=this.props,t=e.disableHoverToClick,n=e.event;return"hover"===n&&Ce()&&!t?"click":n}},{key:"options",get:function(){var e=this.props.options;return Y()(be,e||{})}},{key:"styles",get:function(){var e,t=this,n=this.state,r=n.status,o=n.positionWrapper,i=n.statusWrapper,a=this.props.styles,s=Y()(function(e){var t=Y()(De,e.options||{});return{wrapper:{cursor:"help",display:"inline-flex",flexDirection:"column",zIndex:t.zIndex},wrapperPosition:{left:-1e3,position:"absolute",top:-1e3,visibility:"hidden"},floater:{display:"inline-block",filter:"drop-shadow(0 0 3px rgba(0, 0, 0, 0.3))",maxWidth:300,opacity:0,position:"relative",transition:"opacity 0.3s",visibility:"hidden",zIndex:t.zIndex},floaterOpening:{opacity:1,visibility:"visible"},floaterWithAnimation:{opacity:1,transition:"opacity 0.3s, transform 0.2s",visibility:"visible"},floaterWithComponent:{maxWidth:"100%"},floaterClosing:{opacity:0,visibility:"visible"},floaterCentered:{left:"50%",position:"fixed",top:"50%",transform:"translate(-50%, -50%)"},container:{backgroundColor:"#fff",color:"#666",minHeight:60,minWidth:200,padding:20,position:"relative",zIndex:10},title:{borderBottom:"1px solid #555",color:"#555",fontSize:18,marginBottom:5,paddingBottom:6,paddingRight:18},content:{fontSize:15},close:{backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",fontSize:0,height:15,outline:"none",padding:10,position:"absolute",right:0,top:0,width:15,WebkitAppearance:"none"},footer:{borderTop:"1px solid #ccc",fontSize:13,marginTop:10,paddingTop:5},arrow:{color:"#fff",display:"inline-flex",length:16,margin:8,position:"absolute",spread:32},options:t}}(a),a);o&&(e=-1===[ye.IDLE].indexOf(r)||-1===[ye.IDLE].indexOf(i)?s.wrapperPosition:this.wrapperPopper.styles,s.wrapper=ae(ae({},s.wrapper),e));if(this.target){var l=window.getComputedStyle(this.target);this.wrapperStyles?s.wrapper=ae(ae({},s.wrapper),this.wrapperStyles):-1===["relative","static"].indexOf(l.position)&&(this.wrapperStyles={},o||(Le.forEach((function(e){t.wrapperStyles[e]=l[e]})),s.wrapper=ae(ae({},s.wrapper),this.wrapperStyles),this.target.style.position="relative",this.target.style.top="auto",this.target.style.right="auto",this.target.style.bottom="auto",this.target.style.left="auto"))}return s}},{key:"target",get:function(){if(!Ae)return null;var e=this.props.target;return e?oe.domElement(e)?e:document.querySelector(e):this.childRef||this.wrapperRef}},{key:"render",value:function(){var e=this.state,t=e.currentPlacement,n=e.positionWrapper,o=e.status,i=this.props,a=i.children,s=i.component,l=i.content,c=i.disableAnimation,u=i.footer,d=i.hideArrow,f=i.id,p=i.open,h=i.showCloseButton,m=i.style,g=i.target,v=i.title,b=r.createElement(Me,{handleClick:this.handleClick,handleMouseEnter:this.handleMouseEnter,handleMouseLeave:this.handleMouseLeave,setChildRef:this.setChildRef,setWrapperRef:this.setWrapperRef,style:m,styles:this.styles.wrapper},a),y={};return n?y.wrapperInPortal=b:y.wrapperAsChildren=b,r.createElement("span",null,r.createElement(Ee,{hasChildren:!!a,id:f,placement:t,setRef:this.setFloaterRef,target:g,zIndex:this.styles.options.zIndex},r.createElement(Pe,{component:s,content:l,disableAnimation:c,footer:u,handleClick:this.handleClick,hideArrow:d||"center"===t,open:p,placement:t,positionWrapper:n,setArrowRef:this.setArrowRef,setFloaterRef:this.setFloaterRef,showCloseButton:h,status:o,styles:this.styles,title:v}),y.wrapperInPortal),y.wrapperAsChildren)}}]),o}(r.Component);function Ne(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 Fe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){He(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ze(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(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 Ue(e,t,n){return t&&qe(e.prototype,t),n&&qe(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function We(){return We=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},We.apply(this,arguments)}function Ve(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&&Ze(e,t)}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ye(e)}function Ze(e,t){return Ze=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ze(e,t)}function Ge(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 Ke(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $e(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ke(e)}function Xe(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=Ye(e);if(t){var o=Ye(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $e(this,n)}}ue(Ie,"propTypes",{autoOpen:G().bool,callback:G().func,children:G().node,component:(0,K.Z)(G().oneOfType([G().func,G().element]),(function(e){return!e.content})),content:(0,K.Z)(G().node,(function(e){return!e.component})),debug:G().bool,disableAnimation:G().bool,disableFlip:G().bool,disableHoverToClick:G().bool,event:G().oneOf(["hover","click"]),eventDelay:G().number,footer:G().node,getPopper:G().func,hideArrow:G().bool,id:G().oneOfType([G().string,G().number]),offset:G().number,open:G().bool,options:G().object,placement:G().oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto","center"]),showCloseButton:G().bool,style:G().object,styles:G().object,target:G().oneOfType([G().object,G().string]),title:G().node,wrapperOptions:G().shape({offset:G().number,placement:G().oneOf(["top","top-start","top-end","bottom","bottom-start","bottom-end","left","left-start","left-end","right","right-start","right-end","auto"]),position:G().bool})}),ue(Ie,"defaultProps",{autoOpen:!1,callback:Se,debug:!1,disableAnimation:!1,disableFlip:!1,disableHoverToClick:!1,event:"click",eventDelay:.4,getPopper:Se,hideArrow:!1,offset:15,placement:"bottom",showCloseButton:!1,styles:{},target:null,wrapperOptions:{position:!1}});var Qe={INIT:"init",START:"start",STOP:"stop",RESET:"reset",PREV:"prev",NEXT:"next",GO:"go",CLOSE:"close",SKIP:"skip",UPDATE:"update"},Je={TOUR_START:"tour:start",STEP_BEFORE:"step:before",BEACON:"beacon",TOOLTIP:"tooltip",STEP_AFTER:"step:after",TOUR_END:"tour:end",TOUR_STATUS:"tour:status",TARGET_NOT_FOUND:"error:target_not_found",ERROR:"error"},et={INIT:"init",READY:"ready",BEACON:"beacon",TOOLTIP:"tooltip",COMPLETE:"complete",ERROR:"error"},tt={IDLE:"idle",READY:"ready",WAITING:"waiting",RUNNING:"running",PAUSED:"paused",SKIPPED:"skipped",FINISHED:"finished",ERROR:"error"},nt=F().canUseDOM,rt=void 0!==I.createPortal;function ot(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent,t=e;return"undefined"==typeof window?t="node":document.documentMode?t="ie":/Edge/.test(e)?t="edge":Boolean(window.opera)||e.indexOf(" OPR/")>=0?t="opera":void 0!==window.InstallTrigger?t="firefox":window.chrome?t="chrome":/(Version\/([0-9._]+).*Safari|CriOS|FxiOS| Mobile\/)/.test(e)&&(t="safari"),t}function it(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function at(e){var t=[];return function e(n){if("string"==typeof n||"number"==typeof n)t.push(n);else if(Array.isArray(n))n.forEach((function(t){return e(t)}));else if(n&&n.props){var r=n.props.children;Array.isArray(r)?r.forEach((function(t){return e(t)})):e(r)}}(e),t.join(" ").trim()}function st(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function lt(e,t){return!(!L.plainObject(e)||!L.array(t))&&Object.keys(e).every((function(e){return-1!==t.indexOf(e)}))}function ct(e){var t=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,n,r){return t+t+n+n+r+r})),n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return n?[parseInt(n[1],16),parseInt(n[2],16),parseInt(n[3],16)]:[]}function ut(e){return e.disableBeacon||"center"===e.placement}function dt(e,t){var n,o=(0,r.isValidElement)(e)||(0,r.isValidElement)(t),i=L.undefined(e)||L.undefined(t);if(it(e)!==it(t)||o||i)return!1;if(L.domElement(e))return e.isSameNode(t);if(L.number(e))return e===t;if(L.function(e))return e.toString()===t.toString();for(var a in e)if(st(e,a)){if(void 0===e[a]||void 0===t[a])return!1;if(n=it(e[a]),-1!==["object","array"].indexOf(n)&&dt(e[a],t[a]))continue;if("function"===n&&dt(e[a],t[a]))continue;if(e[a]!==t[a])return!1}for(var s in t)if(st(t,s)&&void 0===e[s])return!1;return!0}function ft(){return!(-1!==["chrome","safari","firefox","opera"].indexOf(ot()))}function pt(e){var t=e.title,n=e.data,r=e.warn,o=void 0!==r&&r,i=e.debug,a=void 0!==i&&i,s=o?console.warn||console.error:console.log;a&&(t&&n?(console.groupCollapsed("%creact-joyride: ".concat(t),"color: #ff0044; font-weight: bold; font-size: 12px;"),Array.isArray(n)?n.forEach((function(e){L.plainObject(e)&&e.key?s.apply(console,[e.key,e.value]):s.apply(console,[e])})):s.apply(console,[n]),console.groupEnd()):console.error("Missing title or data props"))}var ht={action:"",controlled:!1,index:0,lifecycle:et.INIT,size:0,status:tt.IDLE},mt=["action","index","lifecycle","status"];function gt(e){var t=new Map,n=new Map,r=function(){function e(){var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=r.continuous,i=void 0!==o&&o,a=r.stepIndex,s=r.steps,l=void 0===s?[]:s;ze(this,e),He(this,"listener",void 0),He(this,"setSteps",(function(e){var r=t.getState(),o=r.size,i=r.status,a={size:e.length,status:i};n.set("steps",e),i===tt.WAITING&&!o&&e.length&&(a.status=tt.RUNNING),t.setState(a)})),He(this,"addListener",(function(e){t.listener=e})),He(this,"update",(function(e){if(!lt(e,mt))throw new Error("State is not valid. Valid keys: ".concat(mt.join(", ")));t.setState(Fe({},t.getNextState(Fe(Fe(Fe({},t.getState()),e),{},{action:e.action||Qe.UPDATE}),!0)))})),He(this,"start",(function(e){var n=t.getState(),r=n.index,o=n.size;t.setState(Fe(Fe({},t.getNextState({action:Qe.START,index:L.number(e)?e:r},!0)),{},{status:o?tt.RUNNING:tt.WAITING}))})),He(this,"stop",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),r=n.index,o=n.status;-1===[tt.FINISHED,tt.SKIPPED].indexOf(o)&&t.setState(Fe(Fe({},t.getNextState({action:Qe.STOP,index:r+(e?1:0)})),{},{status:tt.PAUSED}))})),He(this,"close",(function(){var e=t.getState(),n=e.index;e.status===tt.RUNNING&&t.setState(Fe({},t.getNextState({action:Qe.CLOSE,index:n+1})))})),He(this,"go",(function(e){var n=t.getState(),r=n.controlled,o=n.status;if(!r&&o===tt.RUNNING){var i=t.getSteps()[e];t.setState(Fe(Fe({},t.getNextState({action:Qe.GO,index:e})),{},{status:i?o:tt.FINISHED}))}})),He(this,"info",(function(){return t.getState()})),He(this,"next",(function(){var e=t.getState(),n=e.index;e.status===tt.RUNNING&&t.setState(t.getNextState({action:Qe.NEXT,index:n+1}))})),He(this,"open",(function(){t.getState().status===tt.RUNNING&&t.setState(Fe({},t.getNextState({action:Qe.UPDATE,lifecycle:et.TOOLTIP})))})),He(this,"prev",(function(){var e=t.getState(),n=e.index;e.status===tt.RUNNING&&t.setState(Fe({},t.getNextState({action:Qe.PREV,index:n-1})))})),He(this,"reset",(function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=t.getState(),r=n.controlled;r||t.setState(Fe(Fe({},t.getNextState({action:Qe.RESET,index:0})),{},{status:e?tt.RUNNING:tt.READY}))})),He(this,"skip",(function(){t.getState().status===tt.RUNNING&&t.setState({action:Qe.SKIP,lifecycle:et.INIT,status:tt.SKIPPED})})),this.setState({action:Qe.INIT,controlled:L.number(a),continuous:i,index:L.number(a)?a:0,lifecycle:et.INIT,status:l.length?tt.READY:tt.IDLE},!0),this.setSteps(l)}return Ue(e,[{key:"setState",value:function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=this.getState(),o=Fe(Fe({},r),e),i=o.action,a=o.index,s=o.lifecycle,l=o.size,c=o.status;t.set("action",i),t.set("index",a),t.set("lifecycle",s),t.set("size",l),t.set("status",c),n&&(t.set("controlled",e.controlled),t.set("continuous",e.continuous)),this.listener&&this.hasUpdatedState(r)&&this.listener(this.getState())}},{key:"getState",value:function(){return t.size?{action:t.get("action")||"",controlled:t.get("controlled")||!1,index:parseInt(t.get("index"),10),lifecycle:t.get("lifecycle")||"",size:t.get("size")||0,status:t.get("status")||""}:Fe({},ht)}},{key:"getNextState",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=this.getState(),r=n.action,o=n.controlled,i=n.index,a=n.size,s=n.status,l=L.number(e.index)?e.index:i,c=o&&!t?i:Math.min(Math.max(l,0),a);return{action:e.action||r,controlled:o,index:c,lifecycle:e.lifecycle||et.INIT,size:e.size||a,status:c===a?tt.FINISHED:e.status||s}}},{key:"hasUpdatedState",value:function(e){return JSON.stringify(e)!==JSON.stringify(this.getState())}},{key:"getSteps",value:function(){var e=n.get("steps");return Array.isArray(e)?e:[]}},{key:"getHelpers",value:function(){return{close:this.close,go:this.go,info:this.info,next:this.next,open:this.open,prev:this.prev,reset:this.reset,skip:this.skip}}}]),e}();return new r(e)}function vt(e){return e?e.getBoundingClientRect():{}}function bt(e){return"string"==typeof e?document.querySelector(e):e}function yt(e){return e&&1===e.nodeType?getComputedStyle(e):{}}function At(e,t,n){var r=H()(e);return r.isSameNode(kt())?n?document:kt():r.scrollHeight>r.offsetHeight||t?r:(r.style.overflow="initial",kt())}function xt(e,t){return!!e&&!At(e,t).isSameNode(kt())}function Ct(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"fixed";if(!(e&&e instanceof HTMLElement))return!1;var n=e.nodeName;return"BODY"!==n&&"HTML"!==n&&(yt(e).position===t||Ct(e.parentNode,t))}function _t(e){return e instanceof HTMLElement?e.offsetParent instanceof HTMLElement?_t(e.offsetParent)+e.offsetTop:e.offsetTop:0}function wt(e,t,n){if(!e)return 0;var r=H()(e),o=_t(e);return xt(e,n)&&!function(e){return e.offsetParent!==document.body}(e)&&(o-=_t(r)),Math.floor(o-t)}function kt(){return document.scrollingElement||document.createElement("body")}!function(e){function t(t,n,r,o,i,a){var s=o||"<<anonymous>>",l=a||r;if(null==n[r])return t?new Error("Required ".concat(i," `").concat(l,"` was not specified in `").concat(s,"`.")):null;for(var c=arguments.length,u=new Array(c>6?c-6:0),d=6;d<c;d++)u[d-6]=arguments[d];return e.apply(void 0,[n,r,s,i,l].concat(u))}var n=t.bind(null,!1);n.isRequired=t.bind(null,!0)}((function(e,t,n,o,i){var a=e[t],s=a;if(!r.isValidElement(a)&&(0,W.isValidElementType)(a)){var l={ref:function(){},step:{}};s=r.createElement(s,l)}if(L.string(a)||L.number(a)||!(0,W.isValidElementType)(a)||-1===[W.Element,W.ForwardRef].indexOf((0,W.typeOf)(s)))return new Error("Invalid ".concat(o," `").concat(i,"` supplied to `").concat(n,"`. Expected a React class or forwardRef."))}));var St={arrowColor:"#fff",backgroundColor:"#fff",beaconSize:36,overlayColor:"rgba(0, 0, 0, 0.5)",primaryColor:"#f04",spotlightShadow:"0 0 15px rgba(0, 0, 0, 0.5)",textColor:"#333",zIndex:100},Et={backgroundColor:"transparent",border:0,borderRadius:0,color:"#555",cursor:"pointer",fontSize:16,lineHeight:1,padding:8,WebkitAppearance:"none"},Bt={borderRadius:4,position:"absolute"};var Ot={floaterProps:{options:{preventOverflow:{boundariesElement:"scrollParent"}},wrapperOptions:{offset:-18,position:!0}},locale:{back:"Back",close:"Close",last:"Last",next:"Next",open:"Open the dialog",skip:"Skip"},step:{event:"click",placement:"bottom",offset:10}};function jt(e){var t=["beaconComponent","disableCloseOnEsc","disableOverlay","disableOverlayClose","disableScrolling","disableScrollParentFix","floaterProps","hideBackButton","hideCloseButton","locale","showProgress","showSkipButton","spotlightClicks","spotlightPadding","styles","tooltipComponent"];return Object.keys(e).filter((function(e){return-1!==t.indexOf(e)})).reduce((function(t,n){return t[n]=e[n],t}),{})}function Tt(e,t){if(!e)return null;var n=Y().all([jt(t),Ot.step,e],{isMergeableObject:L.plainObject}),r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Y()(St,e.options||{}),n=290;window.innerWidth>480&&(n=380),t.width&&(n=window.innerWidth<t.width?window.innerWidth-30:t.width);var r={bottom:0,left:0,overflow:"hidden",position:"absolute",right:0,top:0,zIndex:t.zIndex},o={beacon:Fe(Fe({},Et),{},{display:"inline-block",height:t.beaconSize,position:"relative",width:t.beaconSize,zIndex:t.zIndex}),beaconInner:{animation:"joyride-beacon-inner 1.2s infinite ease-in-out",backgroundColor:t.primaryColor,borderRadius:"50%",display:"block",height:"50%",left:"50%",opacity:.7,position:"absolute",top:"50%",transform:"translate(-50%, -50%)",width:"50%"},beaconOuter:{animation:"joyride-beacon-outer 1.2s infinite ease-in-out",backgroundColor:"rgba(".concat(ct(t.primaryColor).join(","),", 0.2)"),border:"2px solid ".concat(t.primaryColor),borderRadius:"50%",boxSizing:"border-box",display:"block",height:"100%",left:0,opacity:.9,position:"absolute",top:0,transformOrigin:"center",width:"100%"},tooltip:{backgroundColor:t.backgroundColor,borderRadius:5,boxSizing:"border-box",color:t.textColor,fontSize:16,maxWidth:"100%",padding:15,position:"relative",width:n},tooltipContainer:{lineHeight:1.4,textAlign:"center"},tooltipTitle:{fontSize:18,margin:0},tooltipContent:{padding:"20px 10px"},tooltipFooter:{alignItems:"center",display:"flex",justifyContent:"flex-end",marginTop:15},tooltipFooterSpacer:{flex:1},buttonNext:Fe(Fe({},Et),{},{backgroundColor:t.primaryColor,borderRadius:4,color:"#fff"}),buttonBack:Fe(Fe({},Et),{},{color:t.primaryColor,marginLeft:"auto",marginRight:5}),buttonClose:Fe(Fe({},Et),{},{color:t.textColor,height:14,padding:15,position:"absolute",right:0,top:0,width:14}),buttonSkip:Fe(Fe({},Et),{},{color:t.textColor,fontSize:14}),overlay:Fe(Fe({},r),{},{backgroundColor:t.overlayColor,mixBlendMode:"hard-light"}),overlayLegacy:Fe({},r),overlayLegacyCenter:Fe(Fe({},r),{},{backgroundColor:t.overlayColor}),spotlight:Fe(Fe({},Bt),{},{backgroundColor:"gray"}),spotlightLegacy:Fe(Fe({},Bt),{},{boxShadow:"0 0 0 9999px ".concat(t.overlayColor,", ").concat(t.spotlightShadow)}),floaterStyles:{arrow:{color:t.arrowColor},options:{zIndex:t.zIndex+100}},options:t};return Y()(o,e)}(Y()(t.styles||{},e.styles||{})),o=xt(bt(e.target),n.disableScrollParentFix),i=Y().all([t.floaterProps||{},Ot.floaterProps,n.floaterProps||{}]);return i.offset=n.offset,i.styles=Y()(i.styles||{},r.floaterStyles||{}),delete r.floaterStyles,i.offset+=t.spotlightPadding||e.spotlightPadding||0,e.placementBeacon&&(i.wrapperOptions.placement=e.placementBeacon),o&&(i.options.preventOverflow.boundariesElement="window"),Fe(Fe({},n),{},{locale:Y().all([Ot.locale,t.locale||{},n.locale||{}]),floaterProps:i,styles:r})}function Pt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return L.plainObject(e)?!!e.target||(pt({title:"validateStep",data:"target is missing from the step",warn:!0,debug:t}),!1):(pt({title:"validateStep",data:"step must be an object",warn:!0,debug:t}),!1)}function Mt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return L.array(e)?e.every((function(e){return Pt(e,t)})):(pt({title:"validateSteps",data:"steps must be an array",warn:!0,debug:t}),!1)}var Dt=Ue((function e(t){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(ze(this,e),He(this,"element",void 0),He(this,"options",void 0),He(this,"canBeTabbed",(function(e){var t=e.tabIndex;return(null===t||t<0)&&(t=void 0),!isNaN(t)&&n.canHaveFocus(e)})),He(this,"canHaveFocus",(function(e){var t=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(t)&&!e.getAttribute("disabled")||"a"===t&&!!e.getAttribute("href"))&&n.isVisible(e)})),He(this,"findValidTabElements",(function(){return[].slice.call(n.element.querySelectorAll("*"),0).filter(n.canBeTabbed)})),He(this,"handleKeyDown",(function(e){var t=n.options.keyCode,r=void 0===t?9:t;e.keyCode===r&&n.interceptTab(e)})),He(this,"interceptTab",(function(e){var t=n.findValidTabElements();if(t.length){e.preventDefault();var r=e.shiftKey,o=t.indexOf(document.activeElement);-1===o||!r&&o+1===t.length?o=0:r&&0===o?o=t.length-1:o+=r?-1:1,t[o].focus()}})),He(this,"isHidden",(function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0,n=window.getComputedStyle(e);return!(!t||e.innerHTML)||(t&&"visible"!==n.getPropertyValue("overflow")||"none"===n.getPropertyValue("display"))})),He(this,"isVisible",(function(e){for(var t=e;t;)if(t instanceof HTMLElement){if(t===document.body)break;if(n.isHidden(t))return!1;t=t.parentNode}return!0})),He(this,"removeScope",(function(){window.removeEventListener("keydown",n.handleKeyDown)})),He(this,"checkFocus",(function(e){document.activeElement!==e&&(e.focus(),window.requestAnimationFrame((function(){return n.checkFocus(e)})))})),He(this,"setFocus",(function(){var e=n.options.selector;if(e){var t=n.element.querySelector(e);t&&window.requestAnimationFrame((function(){return n.checkFocus(t)}))}})),!(t instanceof HTMLElement))throw new TypeError("Invalid parameter: element must be an HTMLElement");this.element=t,this.options=r,window.addEventListener("keydown",this.handleKeyDown,!1),this.setFocus()})),Rt=function(e){Ve(n,e);var t=Xe(n);function n(e){var r;if(ze(this,n),He(Ke(r=t.call(this,e)),"setBeaconRef",(function(e){r.beacon=e})),!e.beaconComponent){var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.id="joyride-beacon-animation",void 0!==e.nonce&&i.setAttribute("nonce",e.nonce),i.appendChild(document.createTextNode("\n        @keyframes joyride-beacon-inner {\n          20% {\n            opacity: 0.9;\n          }\n        \n          90% {\n            opacity: 0.7;\n          }\n        }\n        \n        @keyframes joyride-beacon-outer {\n          0% {\n            transform: scale(1);\n          }\n        \n          45% {\n            opacity: 0.7;\n            transform: scale(0.75);\n          }\n        \n          100% {\n            opacity: 0.9;\n            transform: scale(1);\n          }\n        }\n      ")),o.appendChild(i)}return r}return Ue(n,[{key:"componentDidMount",value:function(){var e=this,t=this.props.shouldFocus;setTimeout((function(){L.domElement(e.beacon)&&t&&e.beacon.focus()}),0)}},{key:"componentWillUnmount",value:function(){var e=document.getElementById("joyride-beacon-animation");e&&e.parentNode.removeChild(e)}},{key:"render",value:function(){var e,t=this.props,n=t.beaconComponent,o=t.locale,i=t.onClickOrHover,a=t.styles,s={"aria-label":o.open,onClick:i,onMouseEnter:i,ref:this.setBeaconRef,title:o.open};if(n){var l=n;e=r.createElement(l,s)}else e=r.createElement("button",We({key:"JoyrideBeacon",className:"react-joyride__beacon",style:a.beacon,type:"button"},s),r.createElement("span",{style:a.beaconInner}),r.createElement("span",{style:a.beaconOuter}));return e}}]),n}(r.Component);function Lt(e){var t=e.styles;return r.createElement("div",{key:"JoyrideSpotlight",className:"react-joyride__spotlight",style:t})}var It=["mixBlendMode","zIndex"],Nt=function(e){Ve(n,e);var t=Xe(n);function n(){var e;ze(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return He(Ke(e=t.call.apply(t,[this].concat(o))),"_isMounted",!1),He(Ke(e),"state",{mouseOverSpotlight:!1,isScrolling:!1,showSpotlight:!0}),He(Ke(e),"handleMouseMove",(function(t){var n=e.state.mouseOverSpotlight,r=e.spotlightStyles,o=r.height,i=r.left,a=r.position,s=r.top,l=r.width,c="fixed"===a?t.clientY:t.pageY,u="fixed"===a?t.clientX:t.pageX,d=u>=i&&u<=i+l&&(c>=s&&c<=s+o);d!==n&&e.updateState({mouseOverSpotlight:d})})),He(Ke(e),"handleScroll",(function(){var t=bt(e.props.target);e.scrollParent!==document?(e.state.isScrolling||e.updateState({isScrolling:!0,showSpotlight:!1}),clearTimeout(e.scrollTimeout),e.scrollTimeout=setTimeout((function(){e.updateState({isScrolling:!1,showSpotlight:!0})}),50)):Ct(t,"sticky")&&e.updateState({})})),He(Ke(e),"handleResize",(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout((function(){e._isMounted&&e.forceUpdate()}),100)})),e}return Ue(n,[{key:"componentDidMount",value:function(){var e=this.props;e.debug,e.disableScrolling;var t=e.disableScrollParentFix,n=bt(e.target);this.scrollParent=At(n,t,!0),this._isMounted=!0,window.addEventListener("resize",this.handleResize)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.lifecycle,o=n.spotlightClicks,i=B(e,this.props).changed;i("lifecycle",et.TOOLTIP)&&(this.scrollParent.addEventListener("scroll",this.handleScroll,{passive:!0}),setTimeout((function(){t.state.isScrolling||t.updateState({showSpotlight:!0})}),100)),(i("spotlightClicks")||i("disableOverlay")||i("lifecycle"))&&(o&&r===et.TOOLTIP?window.addEventListener("mousemove",this.handleMouseMove,!1):r!==et.TOOLTIP&&window.removeEventListener("mousemove",this.handleMouseMove))}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,window.removeEventListener("mousemove",this.handleMouseMove),window.removeEventListener("resize",this.handleResize),clearTimeout(this.resizeTimeout),clearTimeout(this.scrollTimeout),this.scrollParent.removeEventListener("scroll",this.handleScroll)}},{key:"spotlightStyles",get:function(){var e=this.state.showSpotlight,t=this.props,n=t.disableScrollParentFix,r=t.spotlightClicks,o=t.spotlightPadding,i=t.styles,a=bt(t.target),s=vt(a),l=Ct(a),c=function(e,t,n){var r=vt(e),o=At(e,n),i=xt(e,n),a=0;o instanceof HTMLElement&&(a=o.scrollTop);var s=r.top+(i||Ct(e)?0:a);return Math.floor(s-t)}(a,o,n);return Fe(Fe({},ft()?i.spotlightLegacy:i.spotlight),{},{height:Math.round(s.height+2*o),left:Math.round(s.left-o),opacity:e?1:0,pointerEvents:r?"none":"auto",position:l?"fixed":"absolute",top:c,transition:"opacity 0.2s",width:Math.round(s.width+2*o)})}},{key:"updateState",value:function(e){this._isMounted&&this.setState(e)}},{key:"render",value:function(){var e=this.state,t=e.mouseOverSpotlight,n=e.showSpotlight,o=this.props,i=o.disableOverlay,a=o.disableOverlayClose,s=o.lifecycle,l=o.onClickOverlay,c=o.placement,u=o.styles;if(i||s!==et.TOOLTIP)return null;var d=u.overlay;ft()&&(d="center"===c?u.overlayLegacyCenter:u.overlayLegacy);var f,p,h,m=Fe({cursor:a?"default":"pointer",height:(f=document,p=f.body,h=f.documentElement,p&&h?Math.max(p.scrollHeight,p.offsetHeight,h.clientHeight,h.scrollHeight,h.offsetHeight):0),pointerEvents:t?"none":"auto"},d),g="center"!==c&&n&&r.createElement(Lt,{styles:this.spotlightStyles});if("safari"===ot()){m.mixBlendMode,m.zIndex;var v=Ge(m,It);g=r.createElement("div",{style:Fe({},v)},g),delete m.backgroundColor}return r.createElement("div",{className:"react-joyride__overlay",style:m,onClick:l},g)}}]),n}(r.Component),Ft=["styles"],zt=["color","height","width"];function qt(e){var t=e.styles,n=Ge(e,Ft),o=t.color,i=t.height,a=t.width,s=Ge(t,zt);return r.createElement("button",We({style:s,type:"button"},n),r.createElement("svg",{width:"number"==typeof a?"".concat(a,"px"):a,height:"number"==typeof i?"".concat(i,"px"):i,viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid"},r.createElement("g",null,r.createElement("path",{d:"M8.13911129,9.00268191 L0.171521827,17.0258467 C-0.0498027049,17.248715 -0.0498027049,17.6098394 0.171521827,17.8327545 C0.28204354,17.9443526 0.427188206,17.9998706 0.572051765,17.9998706 C0.71714958,17.9998706 0.862013139,17.9443526 0.972581703,17.8327545 L9.0000937,9.74924618 L17.0276057,17.8327545 C17.1384085,17.9443526 17.2832721,17.9998706 17.4281356,17.9998706 C17.5729992,17.9998706 17.718097,17.9443526 17.8286656,17.8327545 C18.0499901,17.6098862 18.0499901,17.2487618 17.8286656,17.0258467 L9.86135722,9.00268191 L17.8340066,0.973848225 C18.0553311,0.750979934 18.0553311,0.389855532 17.8340066,0.16694039 C17.6126821,-0.0556467968 17.254037,-0.0556467968 17.0329467,0.16694039 L9.00042166,8.25611765 L0.967006424,0.167268345 C0.745681892,-0.0553188426 0.387317931,-0.0553188426 0.165993399,0.167268345 C-0.0553311331,0.390136635 -0.0553311331,0.751261038 0.165993399,0.974176179 L8.13920499,9.00268191 L8.13911129,9.00268191 Z",fill:o}))))}var Ut=function(e){Ve(n,e);var t=Xe(n);function n(){return ze(this,n),t.apply(this,arguments)}return Ue(n,[{key:"render",value:function(){var e=this.props,t=e.backProps,n=e.closeProps,o=e.continuous,i=e.index,a=e.isLastStep,s=e.primaryProps,l=e.size,c=e.skipProps,u=e.step,d=e.tooltipProps,f=u.content,p=u.hideBackButton,h=u.hideCloseButton,m=u.hideFooter,g=u.showProgress,v=u.showSkipButton,b=u.title,y=u.styles,A=u.locale,x=A.back,C=A.close,_=A.last,w=A.next,k=A.skip,S={primary:C};return o&&(S.primary=a?_:w,g&&(S.primary=r.createElement("span",null,S.primary," (",i+1,"/",l,")"))),v&&!a&&(S.skip=r.createElement("button",We({style:y.buttonSkip,type:"button","aria-live":"off"},c),k)),!p&&i>0&&(S.back=r.createElement("button",We({style:y.buttonBack,type:"button"},t),x)),S.close=!h&&r.createElement(qt,We({styles:y.buttonClose},n)),r.createElement("div",We({key:"JoyrideTooltip",className:"react-joyride__tooltip",style:y.tooltip},d),r.createElement("div",{style:y.tooltipContainer},b&&r.createElement("h4",{style:y.tooltipTitle,"aria-label":b},b),r.createElement("div",{style:y.tooltipContent},f)),!m&&r.createElement("div",{style:y.tooltipFooter},r.createElement("div",{style:y.tooltipFooterSpacer},S.skip),S.back,r.createElement("button",We({style:y.buttonNext,type:"button"},s),S.primary)),S.close)}}]),n}(r.Component),Ht=["beaconComponent","tooltipComponent"],Wt=function(e){Ve(n,e);var t=Xe(n);function n(){var e;ze(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return He(Ke(e=t.call.apply(t,[this].concat(o))),"handleClickBack",(function(t){t.preventDefault(),e.props.helpers.prev()})),He(Ke(e),"handleClickClose",(function(t){t.preventDefault(),e.props.helpers.close()})),He(Ke(e),"handleClickPrimary",(function(t){t.preventDefault();var n=e.props,r=n.continuous,o=n.helpers;r?o.next():o.close()})),He(Ke(e),"handleClickSkip",(function(t){t.preventDefault(),e.props.helpers.skip()})),He(Ke(e),"getElementsProps",(function(){var t=e.props,n=t.continuous,r=t.isLastStep,o=t.setTooltipRef,i=t.step,a=at(i.locale.back),s=at(i.locale.close),l=at(i.locale.last),c=at(i.locale.next),u=at(i.locale.skip),d=n?c:s;return r&&(d=l),{backProps:{"aria-label":a,"data-action":"back",onClick:e.handleClickBack,role:"button",title:a},closeProps:{"aria-label":s,"data-action":"close",onClick:e.handleClickClose,role:"button",title:s},primaryProps:{"aria-label":d,"data-action":"primary",onClick:e.handleClickPrimary,role:"button",title:d},skipProps:{"aria-label":u,"data-action":"skip",onClick:e.handleClickSkip,role:"button",title:u},tooltipProps:{"aria-modal":!0,ref:o,role:"alertdialog"}}})),e}return Ue(n,[{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.index,o=e.isLastStep,i=e.size,a=e.step;a.beaconComponent;var s,l=a.tooltipComponent,c=Ge(a,Ht);if(l){var u=Fe(Fe({},this.getElementsProps()),{},{continuous:t,index:n,isLastStep:o,size:i,step:c}),d=l;s=r.createElement(d,u)}else s=r.createElement(Ut,We({},this.getElementsProps(),{continuous:t,index:n,isLastStep:o,size:i,step:a}));return s}}]),n}(r.Component),Vt=function(e){Ve(n,e);var t=Xe(n);function n(){return ze(this,n),t.apply(this,arguments)}return Ue(n,[{key:"componentDidMount",value:function(){nt&&(rt||this.renderReact15())}},{key:"componentDidUpdate",value:function(){nt&&(rt||this.renderReact15())}},{key:"componentWillUnmount",value:function(){nt&&this.node&&(rt||I.unmountComponentAtNode(this.node),this.node.parentNode===document.body&&(document.body.removeChild(this.node),this.node=void 0))}},{key:"appendNode",value:function(){var e=this.props.id;this.node||(this.node=document.createElement("div"),e&&(this.node.id=e),document.body.appendChild(this.node))}},{key:"renderReact15",value:function(){if(!nt)return null;var e=this.props.children;return this.node||this.appendNode(),I.unstable_renderSubtreeIntoContainer(this,e,this.node),null}},{key:"renderReact16",value:function(){if(!nt||!rt)return null;var e=this.props.children;return this.node||this.appendNode(),I.createPortal(e,this.node)}},{key:"render",value:function(){return rt?this.renderReact16():null}}]),n}(r.Component),Yt=function(e){Ve(n,e);var t=Xe(n);function n(){var e;ze(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return He(Ke(e=t.call.apply(t,[this].concat(o))),"scope",{removeScope:function(){}}),He(Ke(e),"handleClickHoverBeacon",(function(t){var n=e.props,r=n.step,o=n.update;"mouseenter"===t.type&&"hover"!==r.event||o({lifecycle:et.TOOLTIP})})),He(Ke(e),"handleClickOverlay",(function(){var t=e.props,n=t.helpers;t.step.disableOverlayClose||n.close()})),He(Ke(e),"setTooltipRef",(function(t){e.tooltip=t})),He(Ke(e),"setPopper",(function(t,n){var r=e.props,o=r.action,i=r.setPopper,a=r.update;"wrapper"===n?e.beaconPopper=t:e.tooltipPopper=t,i(t,n),e.beaconPopper&&e.tooltipPopper&&a({action:o===Qe.CLOSE?Qe.CLOSE:o,lifecycle:et.READY})})),e}return Ue(n,[{key:"componentDidMount",value:function(){var e=this.props,t=e.debug,n=e.index;pt({title:"step:".concat(n),data:[{key:"props",value:this.props}],debug:t})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.action,r=t.callback,o=t.continuous,i=t.controlled,a=t.debug,s=t.index,l=t.lifecycle,c=t.size,u=t.status,d=t.step,f=t.update,p=B(e,this.props),h=p.changed,m=p.changedFrom,g={action:n,controlled:i,index:s,lifecycle:l,size:c,status:u},v=o&&n!==Qe.CLOSE&&(s>0||n===Qe.PREV),b=h("action")||h("index")||h("lifecycle")||h("status"),y=m("lifecycle",[et.TOOLTIP,et.INIT],et.INIT);if(h("action",[Qe.NEXT,Qe.PREV,Qe.SKIP,Qe.CLOSE])&&(y||i)&&r(Fe(Fe({},g),{},{index:e.index,lifecycle:et.COMPLETE,step:e.step,type:Je.STEP_AFTER})),"center"===d.placement&&u===tt.RUNNING&&h("index")&&n!==Qe.START&&l===et.INIT&&f({lifecycle:et.READY}),b){var A=bt(d.target),x=!!A,C=x&&function(e){if(!e)return!1;for(var t=e;t&&t!==document.body;){if(t instanceof HTMLElement){var n=getComputedStyle(t),r=n.display,o=n.visibility;if("none"===r||"hidden"===o)return!1}t=t.parentNode}return!0}(A);C?(m("status",tt.READY,tt.RUNNING)||m("lifecycle",et.INIT,et.READY))&&r(Fe(Fe({},g),{},{step:d,type:Je.STEP_BEFORE})):(console.warn(x?"Target not visible":"Target not mounted",d),r(Fe(Fe({},g),{},{type:Je.TARGET_NOT_FOUND,step:d})),i||f({index:s+(-1!==[Qe.PREV].indexOf(n)?-1:1)}))}m("lifecycle",et.INIT,et.READY)&&f({lifecycle:ut(d)||v?et.TOOLTIP:et.BEACON}),h("index")&&pt({title:"step:".concat(l),data:[{key:"props",value:this.props}],debug:a}),h("lifecycle",et.BEACON)&&r(Fe(Fe({},g),{},{step:d,type:Je.BEACON})),h("lifecycle",et.TOOLTIP)&&(r(Fe(Fe({},g),{},{step:d,type:Je.TOOLTIP})),this.scope=new Dt(this.tooltip,{selector:"[data-action=primary]"}),this.scope.setFocus()),m("lifecycle",[et.TOOLTIP,et.INIT],et.INIT)&&(this.scope.removeScope(),delete this.beaconPopper,delete this.tooltipPopper)}},{key:"componentWillUnmount",value:function(){this.scope.removeScope()}},{key:"open",get:function(){var e=this.props,t=e.step,n=e.lifecycle;return!(!ut(t)&&n!==et.TOOLTIP)}},{key:"render",value:function(){var e=this.props,t=e.continuous,n=e.debug,o=e.helpers,i=e.index,a=e.lifecycle,s=e.nonce,l=e.shouldScroll,c=e.size,u=e.step,d=bt(u.target);return Pt(u)&&L.domElement(d)?r.createElement("div",{key:"JoyrideStep-".concat(i),className:"react-joyride__step"},r.createElement(Vt,{id:"react-joyride-portal"},r.createElement(Nt,We({},u,{debug:n,lifecycle:a,onClickOverlay:this.handleClickOverlay}))),r.createElement(Ie,We({component:r.createElement(Wt,{continuous:t,helpers:o,index:i,isLastStep:i+1===c,setTooltipRef:this.setTooltipRef,size:c,step:u}),debug:n,getPopper:this.setPopper,id:"react-joyride-step-".concat(i),isPositioned:u.isFixed||Ct(d),open:this.open,placement:u.placement,target:u.target},u.floaterProps),r.createElement(Rt,{beaconComponent:u.beaconComponent,locale:u.locale,nonce:s,onClickOrHover:this.handleClickHoverBeacon,shouldFocus:l,styles:u.styles}))):null}}]),n}(r.Component),Zt=function(e){Ve(n,e);var t=Xe(n);function n(e){var r;return ze(this,n),He(Ke(r=t.call(this,e)),"initStore",(function(){var e=r.props,t=e.debug,n=e.getHelpers,o=e.run,i=e.stepIndex;r.store=new gt(Fe(Fe({},r.props),{},{controlled:o&&L.number(i)})),r.helpers=r.store.getHelpers();var a=r.store.addListener;return pt({title:"init",data:[{key:"props",value:r.props},{key:"state",value:r.state}],debug:t}),a(r.syncState),n(r.helpers),r.store.getState()})),He(Ke(r),"callback",(function(e){var t=r.props.callback;L.function(t)&&t(e)})),He(Ke(r),"handleKeyboard",(function(e){var t=r.state,n=t.index,o=t.lifecycle,i=r.props.steps[n],a=window.Event?e.which:e.keyCode;o===et.TOOLTIP&&27===a&&i&&!i.disableCloseOnEsc&&r.store.close()})),He(Ke(r),"syncState",(function(e){r.setState(e)})),He(Ke(r),"setPopper",(function(e,t){"wrapper"===t?r.beaconPopper=e:r.tooltipPopper=e})),He(Ke(r),"shouldScroll",(function(e,t,n,r,o,i,a){return!e&&(0!==t||n||r===et.TOOLTIP)&&"center"!==o.placement&&(!o.isFixed||!Ct(i))&&a.lifecycle!==r&&-1!==[et.BEACON,et.TOOLTIP].indexOf(r)})),r.state=r.initStore(),r}return Ue(n,[{key:"componentDidMount",value:function(){if(nt){var e=this.props,t=e.disableCloseOnEsc,n=e.debug,r=e.run,o=e.steps,i=this.store.start;Mt(o,n)&&r&&i(),t||document.body.addEventListener("keydown",this.handleKeyboard,{passive:!0})}}},{key:"componentDidUpdate",value:function(e,t){if(nt){var n=this.state,r=n.action,o=n.controlled,i=n.index,a=n.lifecycle,s=n.status,l=this.props,c=l.debug,u=l.run,d=l.stepIndex,f=l.steps,p=e.steps,h=e.stepIndex,m=this.store,g=m.reset,v=m.setSteps,b=m.start,y=m.stop,A=m.update,x=B(e,this.props).changed,C=B(t,this.state),_=C.changed,w=C.changedFrom,k=Tt(f[i],this.props),S=!dt(p,f),E=L.number(d)&&x("stepIndex"),O=bt(null==k?void 0:k.target);if(S&&(Mt(f,c)?v(f):console.warn("Steps are not valid",f)),x("run")&&(u?b(d):y()),E){var j=h<d?Qe.NEXT:Qe.PREV;r===Qe.STOP&&(j=Qe.START),-1===[tt.FINISHED,tt.SKIPPED].indexOf(s)&&A({action:r===Qe.CLOSE?Qe.CLOSE:j,index:d,lifecycle:et.INIT})}o||s!==tt.RUNNING||0!==i||O||(A({index:i+1}),this.callback(Fe(Fe({},this.state),{},{type:Je.TARGET_NOT_FOUND,step:k})));var T=Fe(Fe({},this.state),{},{index:i,step:k});if(_("action",[Qe.NEXT,Qe.PREV,Qe.SKIP,Qe.CLOSE])&&_("status",tt.PAUSED)){var P=Tt(f[t.index],this.props);this.callback(Fe(Fe({},T),{},{index:t.index,lifecycle:et.COMPLETE,step:P,type:Je.STEP_AFTER}))}if(_("status",[tt.FINISHED,tt.SKIPPED])){var M=Tt(f[t.index],this.props);o||this.callback(Fe(Fe({},T),{},{index:t.index,lifecycle:et.COMPLETE,step:M,type:Je.STEP_AFTER})),this.callback(Fe(Fe({},T),{},{index:t.index,step:M,type:Je.TOUR_END})),g()}else w("status",[tt.IDLE,tt.READY],tt.RUNNING)?this.callback(Fe(Fe({},T),{},{type:Je.TOUR_START})):(_("status")||_("action",Qe.RESET))&&this.callback(Fe(Fe({},T),{},{type:Je.TOUR_STATUS}));k&&(this.scrollToStep(t),"center"===k.placement&&s===tt.RUNNING&&r===Qe.START&&a===et.INIT&&A({lifecycle:et.READY}))}}},{key:"componentWillUnmount",value:function(){this.props.disableCloseOnEsc||document.body.removeEventListener("keydown",this.handleKeyboard)}},{key:"scrollToStep",value:function(e){var t=this.state,n=t.index,r=t.lifecycle,o=t.status,i=this.props,a=i.debug,s=i.disableScrolling,l=i.disableScrollParentFix,c=i.scrollToFirstStep,u=i.scrollOffset,d=i.scrollDuration,f=Tt(i.steps[n],this.props);if(f){var p=bt(f.target),h=this.shouldScroll(s,n,c,r,f,p,e);if(o===tt.RUNNING&&h){var m=xt(p,l),g=At(p,l),v=Math.floor(wt(p,u,l))||0;if(pt({title:"scrollToStep",data:[{key:"index",value:n},{key:"lifecycle",value:r},{key:"status",value:o}],debug:a}),r===et.BEACON&&this.beaconPopper){var b=this.beaconPopper,y=b.placement,A=b.popper;-1!==["bottom"].indexOf(y)||m||(v=Math.floor(A.top-u))}else if(r===et.TOOLTIP&&this.tooltipPopper){var x=this.tooltipPopper,C=x.flipped,_=x.placement,w=x.popper;-1===["top","right","left"].indexOf(_)||C||m?v-=f.spotlightPadding:v=Math.floor(w.top-u)}v=v>=0?v:0,o===tt.RUNNING&&function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kt(),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300;new Promise((function(r,o){var i=t.scrollTop,a=e>i?e-i:i-e;q().top(t,e,{duration:a<100?50:n},(function(e){return e&&"Element already at target scroll position"!==e.message?o(e):r()}))}))}(v,g,d)}}}},{key:"render",value:function(){if(!nt)return null;var e,t=this.state,n=t.index,o=t.status,i=this.props,a=i.continuous,s=i.debug,l=i.nonce,c=i.scrollToFirstStep,u=Tt(i.steps[n],this.props);return o===tt.RUNNING&&u&&(e=r.createElement(Yt,We({},this.state,{callback:this.callback,continuous:a,debug:s,setPopper:this.setPopper,helpers:this.helpers,nonce:l,shouldScroll:!u.disableScrolling&&(0!==n||c),step:u,update:this.store.update}))),r.createElement("div",{className:"react-joyride"},e)}}]),n}(r.Component);He(Zt,"defaultProps",{continuous:!1,debug:!1,disableCloseOnEsc:!1,disableOverlay:!1,disableOverlayClose:!1,disableScrolling:!1,disableScrollParentFix:!1,getHelpers:function(){},hideBackButton:!1,run:!0,scrollOffset:20,scrollDuration:300,scrollToFirstStep:!1,showSkipButton:!1,showProgress:!1,spotlightClicks:!1,spotlightPadding:10,steps:[]})},46871:function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n  "+n:"")+(null!==a?"\n  "+a:"")+(null!==s?"\n  "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:function(){return a}}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},58949:function(e,t,n){"use strict";n.r(t),n.d(t,{IGNORE_CLASS_NAME:function(){return h}});var r=n(67294),o=n(73935);function i(e,t){return i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},i(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e,t,n){return e===t||(e.correspondingElement?e.correspondingElement.classList.contains(n):e.classList.contains(n))}var l,c,u=(void 0===l&&(l=0),function(){return++l}),d={},f={},p=["touchstart","touchmove"],h="ignore-react-onclickoutside";function m(e,t){var n=null;return-1!==p.indexOf(t)&&c&&(n={passive:!e.props.preventDefault}),n}t.default=function(e,t){var n,l,p=e.displayName||e.name||"Component";return l=n=function(n){var l,h;function g(e){var r;return(r=n.call(this,e)||this).__outsideClickHandler=function(e){if("function"!=typeof r.__clickOutsideHandlerProp){var t=r.getInstance();if("function"!=typeof t.props.handleClickOutside){if("function"!=typeof t.handleClickOutside)throw new Error("WrappedComponent: "+p+" lacks a handleClickOutside(event) function for processing outside click events.");t.handleClickOutside(e)}else t.props.handleClickOutside(e)}else r.__clickOutsideHandlerProp(e)},r.__getComponentNode=function(){var e=r.getInstance();return t&&"function"==typeof t.setClickOutsideRef?t.setClickOutsideRef()(e):"function"==typeof e.setClickOutsideRef?e.setClickOutsideRef():(0,o.findDOMNode)(e)},r.enableOnClickOutside=function(){if("undefined"!=typeof document&&!f[r._uid]){void 0===c&&(c=function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),n=function(){};return window.addEventListener("testPassiveEventSupport",n,t),window.removeEventListener("testPassiveEventSupport",n,t),e}}()),f[r._uid]=!0;var e=r.props.eventTypes;e.forEach||(e=[e]),d[r._uid]=function(e){var t;null!==r.componentNode&&(r.props.preventDefault&&e.preventDefault(),r.props.stopPropagation&&e.stopPropagation(),r.props.excludeScrollbar&&(t=e,document.documentElement.clientWidth<=t.clientX||document.documentElement.clientHeight<=t.clientY)||function(e,t,n){if(e===t)return!0;for(;e.parentNode||e.host;){if(e.parentNode&&s(e,t,n))return!0;e=e.parentNode||e.host}return e}(e.composed&&e.composedPath&&e.composedPath().shift()||e.target,r.componentNode,r.props.outsideClickIgnoreClass)===document&&r.__outsideClickHandler(e))},e.forEach((function(e){document.addEventListener(e,d[r._uid],m(a(r),e))}))}},r.disableOnClickOutside=function(){delete f[r._uid];var e=d[r._uid];if(e&&"undefined"!=typeof document){var t=r.props.eventTypes;t.forEach||(t=[t]),t.forEach((function(t){return document.removeEventListener(t,e,m(a(r),t))})),delete d[r._uid]}},r.getRef=function(e){return r.instanceRef=e},r._uid=u(),r}h=n,(l=g).prototype=Object.create(h.prototype),l.prototype.constructor=l,i(l,h);var v=g.prototype;return v.getInstance=function(){if(e.prototype&&!e.prototype.isReactComponent)return this;var t=this.instanceRef;return t.getInstance?t.getInstance():t},v.componentDidMount=function(){if("undefined"!=typeof document&&document.createElement){var e=this.getInstance();if(t&&"function"==typeof t.handleClickOutside&&(this.__clickOutsideHandlerProp=t.handleClickOutside(e),"function"!=typeof this.__clickOutsideHandlerProp))throw new Error("WrappedComponent: "+p+" lacks a function for processing outside click events specified by the handleClickOutside config option.");this.componentNode=this.__getComponentNode(),this.props.disableOnClickOutside||this.enableOnClickOutside()}},v.componentDidUpdate=function(){this.componentNode=this.__getComponentNode()},v.componentWillUnmount=function(){this.disableOnClickOutside()},v.render=function(){var t=this.props;t.excludeScrollbar;var n=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,["excludeScrollbar"]);return e.prototype&&e.prototype.isReactComponent?n.ref=this.getRef:n.wrappedRef=this.getRef,n.disableOnClickOutside=this.disableOnClickOutside,n.enableOnClickOutside=this.enableOnClickOutside,(0,r.createElement)(e,n)},g}(r.Component),n.displayName="OnClickOutside("+p+")",n.defaultProps={eventTypes:["mousedown","touchstart"],excludeScrollbar:t&&t.excludeScrollbar||!1,outsideClickIgnoreClass:h,preventDefault:!1,stopPropagation:!1},n.getClass=function(){return e.getClass?e.getClass():e},l}},26492:function(e,t,n){"use strict";n.d(t,{BB:function(){return ue},T3:function(){return Ye},v0:function(){return r}});var r=n(78783),o=n(87462),i=n(45987),a=n(71002),s=n(15671),l=n(43144),c=n(97326),u=n(60136),d=n(82963),f=n(61120),p=n(4942),h=n(67294),m=n(45697),g=n.n(m),v=function(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))},b=["onKeyDown","onKeyPress","onKeyUp"],y=["onClick","onContextMenu","onDoubleClick","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],A=["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],x=v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v(v([],["onCopy","onCut","onPaste"],!0),["onCompositionEnd","onCompositionStart","onCompositionUpdate"],!0),["onFocus","onBlur"],!0),["onInput","onInvalid","onReset","onSubmit"],!0),["onLoad","onError"],!0),b,!0),["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],!0),y,!0),["onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop"],!0),["onSelect"],!0),A,!0),["onPointerDown","onPointerMove","onPointerUp","onPointerCancel","onGotPointerCapture","onLostPointerCapture","onPointerEnter","onPointerLeave","onPointerOver","onPointerOut"],!0),["onScroll"],!0),["onWheel"],!0),["onAnimationStart","onAnimationEnd","onAnimationIteration"],!0),["onTransitionEnd"],!0),["onChange"],!0),["onToggle"],!0);function C(e,t){var n={};return x.forEach((function(r){var o=e[r];o&&(n[r]=t?function(e){return o(e,t(r))}:o)})),n}function _(e){var t=!1;return{promise:new Promise((function(n,r){e.then((function(e){return!t&&n(e)})).catch((function(e){return!t&&r(e)}))})),cancel:function(){t=!0}}}function w(){return Array.prototype.slice.call(arguments).reduce((function(e,t){return e.concat(t)}),[]).filter((function(e){return"string"==typeof e})).join(" ")}var k=n(38776);var S=function(e,t){},E=(0,h.createContext)(null);function B(e){var t=e.children,n=e.type;return h.createElement("div",{className:"react-pdf__message react-pdf__message--".concat(n)},t)}B.propTypes={children:g().node,type:g().oneOf(["error","loading","no-data"]).isRequired};var O=function(){function e(){(0,s.Z)(this,e),this.externalLinkTarget=null,this.externalLinkRel=null}return(0,l.Z)(e,[{key:"setDocument",value:function(e){this.pdfDocument=e}},{key:"setViewer",value:function(e){this.pdfViewer=e}},{key:"setExternalLinkRel",value:function(e){this.externalLinkRel=e}},{key:"setExternalLinkTarget",value:function(e){this.externalLinkTarget=e}},{key:"setHistory",value:function(){}},{key:"pagesCount",get:function(){return this.pdfDocument?this.pdfDocument.numPages:0}},{key:"page",get:function(){return this.pdfViewer.currentPageNumber},set:function(e){this.pdfViewer.currentPageNumber=e}},{key:"rotation",get:function(){return 0},set:function(e){}},{key:"goToDestination",value:function(e){var t=this;new Promise((function(n){"string"==typeof e?t.pdfDocument.getDestination(e).then(n):Array.isArray(e)?n(e):e.then(n)})).then((function(n){(0,k.Z)(Array.isArray(n),'"'.concat(n,'" is not a valid destination array.'));var r=n[0];new Promise((function(e){r instanceof Object?t.pdfDocument.getPageIndex(r).then((function(t){e(t)})).catch((function(){(0,k.Z)(!1,'"'.concat(r,'" is not a valid page reference.'))})):"number"==typeof r?e(r):(0,k.Z)(!1,'"'.concat(r,'" is not a valid destination reference.'))})).then((function(n){var r=n+1;(0,k.Z)(r>=1&&r<=t.pagesCount,'"'.concat(r,'" is not a valid page number.')),t.pdfViewer.scrollPageIntoView({dest:e,pageIndex:n,pageNumber:r})}))}))}},{key:"navigateTo",value:function(e){this.goToDestination(e)}},{key:"goToPage",value:function(){}},{key:"addLinkAttributes",value:function(e,t,n){e.href=t,e.rel=this.externalLinkRel||"noopener noreferrer nofollow",e.target=n?"_blank":this.externalLinkTarget||""}},{key:"getDestinationHash",value:function(){return"#"}},{key:"getAnchorUrl",value:function(){return"#"}},{key:"setHash",value:function(){}},{key:"executeNamedAction",value:function(){}},{key:"cachePageRef",value:function(){}},{key:"isPageVisible",value:function(){return!0}},{key:"isPageCached",value:function(){return!0}}]),e}(),j={NEED_PASSWORD:1,INCORRECT_PASSWORD:2},T=n(86854),P="undefined"!=typeof window,M=P&&"file:"===window.location.protocol;function D(e){return void 0!==e}function R(e){return D(e)&&null!==e}function L(e){return e instanceof ArrayBuffer}function I(e){return(0,k.Z)(P,"isBlob can only be used in a browser environment"),e instanceof Blob}function N(e){return(0,k.Z)(P,"isFile can only be used in a browser environment"),e instanceof File}function F(e){return"string"==typeof e&&/^data:/.test(e)}function z(e){(0,k.Z)(F(e),"Invalid data URI.");var t=e.split(","),n=(0,T.Z)(t,2),r=n[0],o=n[1];return-1!==r.split(";").indexOf("base64")?atob(o):unescape(o)}var q="On Chromium based browsers, you can use --allow-file-access-from-files flag for debugging purposes.";function U(){S(!M,"Loading PDF as base64 strings/URLs may not work on protocols other than HTTP/HTTPS. ".concat(q))}function H(e){e&&e.cancel&&e.cancel()}function W(e,t){return Object.defineProperty(e,"width",{get:function(){return this.view[2]*t},configurable:!0}),Object.defineProperty(e,"height",{get:function(){return this.view[3]*t},configurable:!0}),Object.defineProperty(e,"originalWidth",{get:function(){return this.view[2]},configurable:!0}),Object.defineProperty(e,"originalHeight",{get:function(){return this.view[3]},configurable:!0}),e}function V(e){return"RenderingCancelledException"===e.name}function Y(e){return new Promise((function(t,n){var r=new FileReader;return r.onload=function(){return t(new Uint8Array(r.result))},r.onerror=function(e){switch(e.target.error.code){case e.target.error.NOT_FOUND_ERR:return n(new Error("Error while reading a file: File not found."));case e.target.error.NOT_READABLE_ERR:return n(new Error("Error while reading a file: File not readable."));case e.target.error.SECURITY_ERR:return n(new Error("Error while reading a file: Security error."));case e.target.error.ABORT_ERR:return n(new Error("Error while reading a file: Aborted."));default:return n(new Error("Error while reading a file."))}},r.readAsArrayBuffer(e),null}))}var Z,G=n(41451),K=(Z={},[].concat((0,G.Z)(y),(0,G.Z)(A),(0,G.Z)(b)).forEach((function(e){Z[e]=g().func})),Z),$=[g().string,g().instanceOf(ArrayBuffer),g().shape({data:g().oneOfType([g().object,g().string]),httpHeaders:g().object,range:g().object,url:g().string,withCredentials:g().bool})];"undefined"!=typeof File&&$.push(g().instanceOf(File)),"undefined"!=typeof Blob&&$.push(g().instanceOf(Blob));var X=g().oneOfType([g().string,g().arrayOf(g().string)]),Q=g().oneOfType($),J=g().instanceOf(O),ee=(g().oneOf(["_self","_blank","_parent","_top"]),g().shape({_transport:g().shape({fontLoader:g().object.isRequired}).isRequired,commonObjs:g().shape({_objs:g().object.isRequired}).isRequired,getAnnotations:g().func.isRequired,getTextContent:g().func.isRequired,getViewport:g().func.isRequired,render:g().func.isRequired})),te=g().oneOfType([g().shape({getDestination:g().func.isRequired,getOutline:g().func.isRequired,getPage:g().func.isRequired,numPages:g().number.isRequired}),g().bool]),ne=g().oneOfType([g().func,g().shape({current:g().any})]),re=g().oneOf(["canvas","none","svg"]),oe=g().oneOf([0,90,180,270]),ie=["url"];function ae(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 se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function le(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var ce=r.PDFDataRangeTransport,ue=function(e){(0,u.Z)(n,e);var t=le(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];return e=t.call.apply(t,[this].concat(l)),(0,p.Z)((0,c.Z)(e),"state",{pdf:null}),(0,p.Z)((0,c.Z)(e),"viewer",{scrollPageIntoView:function(t){var n=t.dest,r=t.pageIndex,o=t.pageNumber,i=e.props.onItemClick;if(i)i({dest:n,pageIndex:r,pageNumber:o});else{var a=e.pages[r];a?a.scrollIntoView():S(!1,"An internal link leading to page ".concat(o," was clicked, but neither <Document> was provided with onItemClick nor it was able to find the page within itself. Either provide onItemClick to <Document> and handle navigating by yourself or ensure that all pages are rendered within <Document>."))}}}),(0,p.Z)((0,c.Z)(e),"linkService",new O),(0,p.Z)((0,c.Z)(e),"loadDocument",(function(){H(e.runningTask),e.loadingTask&&e.loadingTask.destroy();var t=_(e.findDocumentSource());e.runningTask=t,t.promise.then((function(t){if(e.onSourceSuccess(),t){e.setState((function(e){return e.pdf?{pdf:null}:null}));var n=e.props,o=n.options,i=n.onLoadProgress,a=n.onPassword;e.loadingTask=r.getDocument(se(se({},t),o)),e.loadingTask.onPassword=a,i&&(e.loadingTask.onProgress=i);var s=_(e.loadingTask.promise);e.runningTask=s,s.promise.then((function(t){e.setState((function(e){return e.pdf&&e.pdf.fingerprint===t.fingerprint?null:{pdf:t}}),e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))}})).catch((function(t){e.onSourceError(t)}))})),(0,p.Z)((0,c.Z)(e),"setupLinkService",(function(){var t=e.props,n=t.externalLinkRel,r=t.externalLinkTarget;e.linkService.setViewer(e.viewer),e.linkService.setExternalLinkRel(n),e.linkService.setExternalLinkTarget(r)})),(0,p.Z)((0,c.Z)(e),"onSourceSuccess",(function(){var t=e.props.onSourceSuccess;t&&t()})),(0,p.Z)((0,c.Z)(e),"onSourceError",(function(t){S(t);var n=e.props.onSourceError;n&&n(t)})),(0,p.Z)((0,c.Z)(e),"onLoadSuccess",(function(){var t=e.props.onLoadSuccess,n=e.state.pdf;t&&t(n),e.pages=new Array(n.numPages),e.linkService.setDocument(n)})),(0,p.Z)((0,c.Z)(e),"onLoadError",(function(t){e.setState({pdf:!1}),S(t);var n=e.props.onLoadError;n&&n(t)})),(0,p.Z)((0,c.Z)(e),"findDocumentSource",(function(){return new Promise((function(t){var n=e.props.file;if(n||t(null),"string"==typeof n){if(F(n)){var r=z(n);t({data:r})}U(),t({url:n})}if(n instanceof ce&&t({range:n}),L(n)&&t({data:n}),P&&(I(n)||N(n)))Y(n).then((function(e){t({data:e})}));else{if((0,k.Z)("object"===(0,a.Z)(n),"Invalid parameter in file, need either Uint8Array, string or a parameter object"),(0,k.Z)(n.url||n.data||n.range,"Invalid parameter object: need either .data, .range or .url"),"string"==typeof n.url){if(F(n.url)){var o=n.url,s=(0,i.Z)(n,ie),l=z(o);t(se({data:l},s))}U()}t(n)}}))})),(0,p.Z)((0,c.Z)(e),"registerPage",(function(t,n){e.pages[t]=n})),(0,p.Z)((0,c.Z)(e),"unregisterPage",(function(t){delete e.pages[t]})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.loadDocument(),this.setupLinkService()}},{key:"componentDidUpdate",value:function(e){this.props.file!==e.file&&this.loadDocument()}},{key:"componentWillUnmount",value:function(){H(this.runningTask),this.loadingTask&&this.loadingTask.destroy()}},{key:"childContext",get:function(){var e=this.linkService,t=this.registerPage,n=this.unregisterPage,r=this.props,o=r.imageResourcesPath,i=r.renderMode,a=r.rotate;return{imageResourcesPath:o,linkService:e,pdf:this.state.pdf,registerPage:t,renderMode:i,rotate:a,unregisterPage:n}}},{key:"eventProps",get:function(){var e=this;return C(this.props,(function(){return e.state.pdf}))}},{key:"renderChildren",value:function(){var e=this.props.children;return h.createElement(E.Provider,{value:this.childContext},e)}},{key:"renderContent",value:function(){var e=this.props.file,t=this.state.pdf;if(!e){var n=this.props.noData;return h.createElement(B,{type:"no-data"},"function"==typeof n?n():n)}if(null===t){var r=this.props.loading;return h.createElement(B,{type:"loading"},"function"==typeof r?r():r)}if(!1===t){var o=this.props.error;return h.createElement(B,{type:"error"},"function"==typeof o?o():o)}return this.renderChildren()}},{key:"render",value:function(){var e=this.props,t=e.className,n=e.inputRef;return h.createElement("div",(0,o.Z)({className:w("react-pdf__Document",t),ref:n},this.eventProps),this.renderContent())}}]),n}(h.PureComponent);ue.defaultProps={error:"Failed to load PDF file.",loading:"Loading PDF…",noData:"No PDF file specified.",onPassword:function(e,t){switch(t){case j.NEED_PASSWORD:e(prompt("Enter the password to open this PDF file."));break;case j.INCORRECT_PASSWORD:e(prompt("Invalid password. Please try again."))}}};var de=g().oneOfType([g().func,g().node]);ue.propTypes=se(se({},K),{},{children:g().node,className:X,error:de,externalLinkRel:g().string,externalLinkTarget:g().string,file:Q,imageResourcesPath:g().string,inputRef:ne,loading:de,noData:de,onItemClick:g().func,onLoadError:g().func,onLoadProgress:g().func,onLoadSuccess:g().func,onPassword:g().func,onSourceError:g().func,onSourceSuccess:g().func,rotate:g().number});var fe=(0,h.createContext)(null),pe=function(){function e(t){var n=t.num,r=t.gen;(0,s.Z)(this,e),this.num=n,this.gen=r}return(0,l.Z)(e,[{key:"toString",value:function(){var e="".concat(this.num,"R");return 0!==this.gen&&(e+=this.gen),e}}]),e}(),he=["item"];function me(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var ge=function(e){(0,u.Z)(n,e);var t=me(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"getDestination",(function(){return new Promise((function(t,n){var r=e.props,o=r.item,i=r.pdf;return D(e.destination)||("string"==typeof o.dest?i.getDestination(o.dest).then(t).catch(n):t(o.dest)),e.destination})).then((function(t){return e.destination=t,t}))})),(0,p.Z)((0,c.Z)(e),"getPageIndex",(function(){return new Promise((function(t,n){var r=e.props.pdf;D(e.pageIndex)&&t(e.pageIndex),e.getDestination().then((function(e){if(e){var o=(0,T.Z)(e,1)[0];r.getPageIndex(new pe(o)).then(t).catch(n)}}))})).then((function(t){return e.pageIndex=t,e.pageIndex}))})),(0,p.Z)((0,c.Z)(e),"getPageNumber",(function(){return new Promise((function(t,n){D(e.pageNumber)&&t(e.pageNumber),e.getPageIndex().then((function(e){t(e+1)})).catch(n)})).then((function(t){return e.pageNumber=t,t}))})),(0,p.Z)((0,c.Z)(e),"onClick",(function(t){var n=e.props.onClick;return t.preventDefault(),!!n&&Promise.all([e.getDestination(),e.getPageIndex(),e.getPageNumber()]).then((function(e){var t=(0,T.Z)(e,3),r=t[0],o=t[1],i=t[2];n({dest:r,pageIndex:o,pageNumber:i})}))})),e}return(0,l.Z)(n,[{key:"renderSubitems",value:function(){var e=this.props,t=e.item,r=(0,i.Z)(e,he);if(!t.items||!t.items.length)return null;var a=t.items;return h.createElement("ul",null,a.map((function(e,t){return h.createElement(n,(0,o.Z)({key:"string"==typeof e.destination?e.destination:t,item:e},r))})))}},{key:"render",value:function(){var e=this.props.item;return h.createElement("li",null,h.createElement("a",{href:"#",onClick:this.onClick},e.title),this.renderSubitems())}}]),n}(h.PureComponent),ve=g().oneOfType([g().string,g().arrayOf(g().any)]);ge.propTypes={item:g().shape({dest:ve,items:g().arrayOf(g().shape({dest:ve,title:g().string})),title:g().string}).isRequired,onClick:g().func,pdf:te.isRequired};var be=function(e){return h.createElement(E.Consumer,null,(function(t){return h.createElement(fe.Consumer,null,(function(n){return h.createElement(ge,(0,o.Z)({},t,n,e))}))}))};function ye(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 Ae(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var xe=function(e){(0,u.Z)(n,e);var t=Ae(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"state",{outline:null}),(0,p.Z)((0,c.Z)(e),"loadOutline",(function(){var t=e.props.pdf;e.setState((function(e){return e.outline?{outline:null}:null}));var n=_(t.getOutline());e.runningTask=n,n.promise.then((function(t){e.setState({outline:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,p.Z)((0,c.Z)(e),"onLoadSuccess",(function(){var t=e.props.onLoadSuccess,n=e.state.outline;t&&t(n)})),(0,p.Z)((0,c.Z)(e),"onLoadError",(function(t){e.setState({outline:!1}),S(t);var n=e.props.onLoadError;n&&n(t)})),(0,p.Z)((0,c.Z)(e),"onItemClick",(function(t){var n=t.dest,r=t.pageIndex,o=t.pageNumber,i=e.props.onItemClick;i&&i({dest:n,pageIndex:r,pageNumber:o})})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.pdf;(0,k.Z)(e,"Attempted to load an outline, but no document was specified."),this.loadOutline()}},{key:"componentDidUpdate",value:function(e){var t=this.props.pdf;e.pdf&&t!==e.pdf&&this.loadOutline()}},{key:"componentWillUnmount",value:function(){H(this.runningTask)}},{key:"childContext",get:function(){return{onClick:this.onItemClick}}},{key:"eventProps",get:function(){var e=this;return C(this.props,(function(){return e.state.outline}))}},{key:"renderOutline",value:function(){var e=this.state.outline;return h.createElement("ul",null,e.map((function(e,t){return h.createElement(be,{key:"string"==typeof e.destination?e.destination:t,item:e})})))}},{key:"render",value:function(){var e=this.props.pdf,t=this.state.outline;if(!e||!t)return null;var n=this.props,r=n.className,i=n.inputRef;return h.createElement("div",(0,o.Z)({className:w("react-pdf__Outline",r),ref:i},this.eventProps),h.createElement(fe.Provider,{value:this.childContext},this.renderOutline()))}}]),n}(h.PureComponent);xe.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){(0,p.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:X,inputRef:ne,onItemClick:g().func,onLoadError:g().func,onLoadSuccess:g().func,pdf:te},K);function Ce(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=e.filter(Boolean);if(n.length<=1){var r=n[0];return r||null}return function(e){n.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}var _e=(0,h.createContext)(null);function we(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var ke=r.AnnotationMode,Se=function(e){(0,u.Z)(n,e);var t=we(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"canvasElement",(0,h.createRef)()),(0,p.Z)((0,c.Z)(e),"onRenderSuccess",(function(){e.renderer=null;var t=e.props,n=t.onRenderSuccess,r=t.page,o=t.scale;n&&n(W(r,o))})),(0,p.Z)((0,c.Z)(e),"onRenderError",(function(t){if(!V(t)){S(t);var n=e.props.onRenderError;n&&n(t)}})),(0,p.Z)((0,c.Z)(e),"drawPageOnCanvas",(function(){var t=e.canvasElement.current;if(!t)return null;var n=(0,c.Z)(e),r=n.renderViewport,o=n.viewport,i=e.props,a=i.canvasBackground,s=i.page,l=i.renderForms;t.width=r.width,t.height=r.height,t.style.width="".concat(Math.floor(o.width),"px"),t.style.height="".concat(Math.floor(o.height),"px");var u={annotationMode:l?ke.ENABLE_FORMS:ke.ENABLE,get canvasContext(){return t.getContext("2d")},viewport:r};return a&&(u.background=a),e.cancelRenderingTask(),e.renderer=s.render(u),e.renderer.promise.then(e.onRenderSuccess).catch(e.onRenderError)})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.drawPageOnCanvas()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.canvasBackground,r=t.page,o=t.renderForms;n===e.canvasBackground&&o===e.renderForms||(r.cleanup(),this.drawPageOnCanvas())}},{key:"componentWillUnmount",value:function(){this.cancelRenderingTask();var e=this.canvasElement.current;e&&(e.width=0,e.height=0)}},{key:"cancelRenderingTask",value:function(){this.renderer&&(this.renderer.cancel(),this.renderer=null)}},{key:"renderViewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale,o=P&&window.devicePixelRatio||1;return t.getViewport({scale:r*o,rotation:n})}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"render",value:function(){var e=this.props.canvasRef;return h.createElement("canvas",{className:"react-pdf__Page__canvas",dir:"ltr",ref:Ce(e,this.canvasElement),style:{display:"block",userSelect:"none"}})}}]),n}(h.PureComponent);function Ee(e){return h.createElement(_e.Consumer,null,(function(t){return h.createElement(Se,(0,o.Z)({},t,e))}))}function Be(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}Se.propTypes={canvasBackground:g().string,canvasRef:ne,onRenderError:g().func,onRenderSuccess:g().func,page:ee.isRequired,renderForms:g().bool,rotate:oe,scale:g().number.isRequired};var Oe=function(e){(0,u.Z)(n,e);var t=Be(n);function n(){var e;(0,s.Z)(this,n);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return e=t.call.apply(t,[this].concat(i)),(0,p.Z)((0,c.Z)(e),"state",{svg:null}),(0,p.Z)((0,c.Z)(e),"onRenderSuccess",(function(){e.renderer=null;var t=e.props,n=t.onRenderSuccess,r=t.page,o=t.scale;n&&n(W(r,o))})),(0,p.Z)((0,c.Z)(e),"onRenderError",(function(t){if(!V(t)){S(t);var n=e.props.onRenderError;n&&n(t)}})),(0,p.Z)((0,c.Z)(e),"renderSVG",(function(){var t=e.props.page;return e.renderer=t.getOperatorList(),e.renderer.then((function(n){var o=new r.SVGGraphics(t.commonObjs,t.objs);e.renderer=o.getSVG(n,e.viewport).then((function(t){e.setState({svg:t},e.onRenderSuccess)})).catch(e.onRenderError)})).catch(e.onRenderError)})),(0,p.Z)((0,c.Z)(e),"drawPageOnContainer",(function(t){var n=e.state.svg;if(t&&n){t.firstElementChild||t.appendChild(n);var r=e.viewport,o=r.width,i=r.height;n.setAttribute("width",o),n.setAttribute("height",i)}})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.renderSVG()}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"render",value:function(){var e=this,t=this.viewport,n=t.width,r=t.height;return h.createElement("div",{className:"react-pdf__Page__svg",ref:function(t){return e.drawPageOnContainer(t)},style:{display:"block",backgroundColor:"white",overflow:"hidden",width:n,height:r,userSelect:"none"}})}}]),n}(h.PureComponent);function je(e){return h.createElement(_e.Consumer,null,(function(t){return h.createElement(Oe,(0,o.Z)({},t,e))}))}function Te(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}Oe.propTypes={onRenderError:g().func,onRenderSuccess:g().func,page:ee.isRequired,rotate:oe,scale:g().number.isRequired};var Pe=function(e){(0,u.Z)(n,e);var t=Te(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"itemElement",(0,h.createRef)()),(0,p.Z)((0,c.Z)(e),"getElementWidth",(function(t){var n=(0,c.Z)(e).sideways;return t.getBoundingClientRect()[n?"height":"width"]})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){this.alignTextItem()}},{key:"componentDidUpdate",value:function(){this.alignTextItem()}},{key:"unrotatedViewport",get:function(){var e=this.props,t=e.page,n=e.scale;return t.getViewport({scale:n})}},{key:"rotate",get:function(){var e=this.props,t=e.page;return e.rotate-t.rotate}},{key:"sideways",get:function(){return this.rotate%180!=0}},{key:"defaultSideways",get:function(){return this.unrotatedViewport.rotation%180!=0}},{key:"fontSize",get:function(){var e=this.props.transform,t=this.defaultSideways,n=(0,T.Z)(e,2),r=n[0],o=n[1];return t?o:r}},{key:"top",get:function(){var e=this.props.transform,t=this.unrotatedViewport,n=this.defaultSideways,r=(0,T.Z)(e,6),o=r[2],i=r[3],a=r[4],s=r[5],l=(0,T.Z)(t.viewBox,4),c=l[1],u=l[3];return n?a+o+c:u-(s+i)}},{key:"left",get:function(){var e=this.props.transform,t=this.unrotatedViewport,n=this.defaultSideways,r=(0,T.Z)(e,6),o=r[4],i=r[5],a=(0,T.Z)(t.viewBox,1)[0];return n?i-a:o-a}},{key:"getFontData",value:function(e){var t=this.props.page;return new Promise((function(n){t.commonObjs.get(e,n)}))}},{key:"alignTextItem",value:function(){var e=this,t=this.itemElement.current;if(t){t.style.transform="";var n=this.props,r=n.fontName,o=n.scale,i=n.width;t.style.fontFamily="".concat(r,", sans-serif"),this.getFontData(r).then((function(n){var a=n?n.fallbackName:"sans-serif";t.style.fontFamily="".concat(r,", ").concat(a);var s=i*o,l=e.getElementWidth(t),c="scaleX(".concat(s/l,")"),u=n?n.ascent:0;u&&(c+=" translateY(".concat(100*(1-u),"%)")),t.style.transform=c,t.style.WebkitTransform=c}))}}},{key:"render",value:function(){var e=this.fontSize,t=this.top,n=this.left,r=this.props,o=r.customTextRenderer,i=r.scale,a=r.str;return h.createElement("span",{ref:this.itemElement,style:{height:"1em",fontFamily:"sans-serif",fontSize:"".concat(e*i,"px"),position:"absolute",top:"".concat(t*i,"px"),left:"".concat(n*i,"px"),transformOrigin:"left bottom",whiteSpace:"pre",pointerEvents:"all"}},o?o(this.props):a)}}]),n}(h.PureComponent);function Me(e){return h.createElement(_e.Consumer,null,(function(t){return h.createElement(Pe,(0,o.Z)({},t,e))}))}function De(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}Pe.propTypes={customTextRenderer:g().func,fontName:g().string.isRequired,itemIndex:g().number.isRequired,page:ee.isRequired,rotate:oe,scale:g().number,str:g().string.isRequired,transform:g().arrayOf(g().number).isRequired,width:g().number.isRequired};var Re=function(e){(0,u.Z)(n,e);var t=De(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"state",{textItems:null}),(0,p.Z)((0,c.Z)(e),"loadTextItems",(function(){var t=_(e.props.page.getTextContent());e.runningTask=t,t.promise.then((function(t){var n=t.items;e.setState({textItems:n},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,p.Z)((0,c.Z)(e),"onLoadSuccess",(function(){var t=e.props.onGetTextSuccess,n=e.state.textItems;t&&t(n)})),(0,p.Z)((0,c.Z)(e),"onLoadError",(function(t){e.setState({textItems:!1}),S(t);var n=e.props.onGetTextError;n&&n(t)})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.page;(0,k.Z)(e,"Attempted to load page text content, but no page was specified."),this.loadTextItems()}},{key:"componentDidUpdate",value:function(e){var t=this.props.page;e.page&&t!==e.page&&this.loadTextItems()}},{key:"componentWillUnmount",value:function(){H(this.runningTask)}},{key:"unrotatedViewport",get:function(){var e=this.props,t=e.page,n=e.scale;return t.getViewport({scale:n})}},{key:"rotate",get:function(){var e=this.props,t=e.page;return e.rotate-t.rotate}},{key:"renderTextItems",value:function(){var e=this.state.textItems;return e?e.map((function(e,t){return h.createElement(Me,(0,o.Z)({key:t,itemIndex:t},e))})):null}},{key:"render",value:function(){var e=this.unrotatedViewport,t=this.rotate;return h.createElement("div",{className:"react-pdf__Page__textContent",style:{position:"absolute",top:"50%",left:"50%",width:"".concat(e.width,"px"),height:"".concat(e.height,"px"),color:"transparent",transform:"translate(-50%, -50%) rotate(".concat(t,"deg)"),WebkitTransform:"translate(-50%, -50%) rotate(".concat(t,"deg)"),pointerEvents:"none"}},this.renderTextItems())}}]),n}(h.PureComponent);function Le(e){return h.createElement(_e.Consumer,null,(function(t){return h.createElement(Re,(0,o.Z)({},t,e))}))}function Ie(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}Re.propTypes={onGetTextError:g().func,onGetTextSuccess:g().func,page:ee.isRequired,rotate:oe,scale:g().number};var Ne=function(e){(0,u.Z)(n,e);var t=Ie(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"state",{annotations:null}),(0,p.Z)((0,c.Z)(e),"layerElement",(0,h.createRef)()),(0,p.Z)((0,c.Z)(e),"loadAnnotations",(function(){var t=_(e.props.page.getAnnotations());e.runningTask=t,t.promise.then((function(t){e.setState({annotations:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))})),(0,p.Z)((0,c.Z)(e),"onLoadSuccess",(function(){var t=e.props.onGetAnnotationsSuccess,n=e.state.annotations;t&&t(n)})),(0,p.Z)((0,c.Z)(e),"onLoadError",(function(t){e.setState({annotations:!1}),S(t);var n=e.props.onGetAnnotationsError;n&&n(t)})),(0,p.Z)((0,c.Z)(e),"onRenderSuccess",(function(){var t=e.props.onRenderAnnotationLayerSuccess;t&&t()})),(0,p.Z)((0,c.Z)(e),"onRenderError",(function(t){S(t);var n=e.props.onRenderAnnotationLayerError;n&&n(t)})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.page;(0,k.Z)(e,"Attempted to load page annotations, but no page was specified."),this.loadAnnotations()}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.page,r=t.renderForms;(e.page&&n!==e.page||r!==e.renderForms)&&this.loadAnnotations()}},{key:"componentWillUnmount",value:function(){H(this.runningTask)}},{key:"viewport",get:function(){var e=this.props,t=e.page,n=e.rotate,r=e.scale;return t.getViewport({scale:r,rotation:n})}},{key:"renderAnnotationLayer",value:function(){var e=this.state.annotations;if(e){var t=this.props,n=t.imageResourcesPath,o=t.linkService,i=t.page,a=t.renderForms,s=this.viewport.clone({dontFlip:!0}),l={annotations:e,div:this.layerElement.current,imageResourcesPath:n,linkService:o,page:i,renderForms:a,viewport:s};this.layerElement.current.innerHTML="";try{r.AnnotationLayer.render(l),this.onRenderSuccess()}catch(e){this.onRenderError(e)}}}},{key:"render",value:function(){return h.createElement("div",{className:"react-pdf__Page__annotations annotationLayer",ref:this.layerElement},this.renderAnnotationLayer())}}]),n}(h.PureComponent);Ne.propTypes={imageResourcesPath:g().string,linkService:J.isRequired,onGetAnnotationsError:g().func,onGetAnnotationsSuccess:g().func,onRenderAnnotationLayerError:g().func,onRenderAnnotationLayerSuccess:g().func,page:ee,renderForms:g().bool,rotate:oe,scale:g().number};var Fe=function(e){return h.createElement(E.Consumer,null,(function(t){return h.createElement(_e.Consumer,null,(function(n){return h.createElement(Ne,(0,o.Z)({},t,n,e))}))}))};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 qe(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){(0,p.Z)(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}function Ue(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=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,d.Z)(this,n)}}var He=function(e){(0,u.Z)(n,e);var t=Ue(n);function n(){var e;(0,s.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,p.Z)((0,c.Z)(e),"state",{page:null}),(0,p.Z)((0,c.Z)(e),"pageElement",(0,h.createRef)()),(0,p.Z)((0,c.Z)(e),"onLoadSuccess",(function(){var t=e.props,n=t.onLoadSuccess,r=t.registerPage,o=e.state.page;n&&n(W(o,e.scale)),r&&r(e.pageIndex,e.pageElement.current)})),(0,p.Z)((0,c.Z)(e),"onLoadError",(function(t){e.setState({page:!1}),S(t);var n=e.props.onLoadError;n&&n(t)})),(0,p.Z)((0,c.Z)(e),"loadPage",(function(){var t=e.props.pdf,n=e.getPageNumber();if(n){e.setState((function(e){return e.page?{page:null}:null}));var r=_(t.getPage(n));e.runningTask=r,r.promise.then((function(t){e.setState({page:t},e.onLoadSuccess)})).catch((function(t){e.onLoadError(t)}))}})),e}return(0,l.Z)(n,[{key:"componentDidMount",value:function(){var e=this.props.pdf;(0,k.Z)(e,"Attempted to load a page, but no document was specified."),this.loadPage()}},{key:"componentDidUpdate",value:function(e){var t=this.props.pdf;if(e.pdf&&t!==e.pdf||this.getPageNumber()!==this.getPageNumber(e)){var n=this.props.unregisterPage;n&&n(this.getPageIndex(e)),this.loadPage()}}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterPage;e&&e(this.pageIndex),H(this.runningTask)}},{key:"childContext",get:function(){var e=this.state.page;if(!e)return{};var t=this.props,n=t.canvasBackground,r=t.customTextRenderer,o=t.onGetAnnotationsError,i=t.onGetAnnotationsSuccess,a=t.onGetTextError,s=t.onGetTextSuccess,l=t.onRenderAnnotationLayerError,c=t.onRenderAnnotationLayerSuccess,u=t.onRenderError,d=t.onRenderSuccess,f=t.renderForms,p=t.renderInteractiveForms;return{canvasBackground:n,customTextRenderer:r,onGetAnnotationsError:o,onGetAnnotationsSuccess:i,onGetTextError:a,onGetTextSuccess:s,onRenderAnnotationLayerError:l,onRenderAnnotationLayerSuccess:c,onRenderError:u,onRenderSuccess:d,page:e,renderForms:null!=f?f:p,rotate:this.rotate,scale:this.scale}}},{key:"getPageIndex",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return R(e.pageNumber)?e.pageNumber-1:R(e.pageIndex)?e.pageIndex:null}},{key:"getPageNumber",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props;return R(e.pageNumber)?e.pageNumber:R(e.pageIndex)?e.pageIndex+1:null}},{key:"pageIndex",get:function(){return this.getPageIndex()}},{key:"pageNumber",get:function(){return this.getPageNumber()}},{key:"rotate",get:function(){var e=this.props.rotate;if(R(e))return e;var t=this.state.page;return t?t.rotate:null}},{key:"scale",get:function(){var e=this.state.page;if(!e)return null;var t=this.props,n=t.scale,r=t.width,o=t.height,i=this.rotate,a=1,s=null===n?1:n;if(r||o){var l=e.getViewport({scale:1,rotation:i});a=r?r/l.width:o/l.height}return s*a}},{key:"eventProps",get:function(){var e=this;return C(this.props,(function(){var t=e.state.page;return t?W(t,e.scale):t}))}},{key:"pageKey",get:function(){var e=this.state.page;return"".concat(e.pageIndex,"@").concat(this.scale,"/").concat(this.rotate)}},{key:"pageKeyNoScale",get:function(){var e=this.state.page;return"".concat(e.pageIndex,"/").concat(this.rotate)}},{key:"renderMainLayer",value:function(){var e=this.props,t=e.canvasRef;switch(e.renderMode){case"none":return null;case"svg":return h.createElement(je,{key:"".concat(this.pageKeyNoScale,"_svg")});default:return h.createElement(Ee,{key:"".concat(this.pageKey,"_canvas"),canvasRef:t})}}},{key:"renderTextLayer",value:function(){var e=this.props.renderTextLayer;return e?h.createElement(Le,{key:"".concat(this.pageKey,"_text")}):null}},{key:"renderAnnotationLayer",value:function(){var e=this.props.renderAnnotationLayer;return e?h.createElement(Fe,{key:"".concat(this.pageKey,"_annotations")}):null}},{key:"renderChildren",value:function(){var e=this.props.children;return h.createElement(_e.Provider,{value:this.childContext},this.renderMainLayer(),this.renderTextLayer(),this.renderAnnotationLayer(),e)}},{key:"renderContent",value:function(){var e=this.pageNumber,t=this.props.pdf,n=this.state.page;if(!e){var r=this.props.noData;return h.createElement(B,{type:"no-data"},"function"==typeof r?r():r)}if(null===t||null===n){var o=this.props.loading;return h.createElement(B,{type:"loading"},"function"==typeof o?o():o)}if(!1===t||!1===n){var i=this.props.error;return h.createElement(B,{type:"error"},"function"==typeof i?i():i)}return this.renderChildren()}},{key:"render",value:function(){var e=this.pageNumber,t=this.props,n=t.className,r=t.inputRef;return h.createElement("div",(0,o.Z)({className:w("react-pdf__Page",n),"data-page-number":e,ref:Ce(r,this.pageElement),style:{position:"relative"}},this.eventProps),this.renderContent())}}]),n}(h.PureComponent);He.defaultProps={error:"Failed to load the page.",loading:"Loading page…",noData:"No page specified.",renderAnnotationLayer:!0,renderForms:!1,renderMode:"canvas",renderTextLayer:!0,scale:1};var We=g().oneOfType([g().func,g().node]);function Ve(e,t){return h.createElement(E.Consumer,null,(function(n){return h.createElement(He,(0,o.Z)({ref:t},n,e))}))}He.propTypes=qe(qe({},K),{},{canvasBackground:g().string,children:g().node,className:X,customTextRenderer:g().func,error:We,height:g().number,imageResourcesPath:g().string,inputRef:ne,loading:We,noData:We,onGetTextError:g().func,onGetTextSuccess:g().func,onLoadError:g().func,onLoadSuccess:g().func,onRenderError:g().func,onRenderSuccess:g().func,pageIndex:function(e,t,n){var r=e[t],o=e.pageNumber,i=e.pdf;if(!D(i))return null;if(D(r)){if("number"!=typeof r)return new Error("`".concat(t,"` of type `").concat((0,a.Z)(r),"` supplied to `").concat(n,"`, expected `number`."));if(r<0)return new Error("Expected `".concat(t,"` to be greater or equal to 0."));var s=i.numPages;if(r+1>s)return new Error("Expected `".concat(t,"` to be less or equal to ").concat(s-1,"."))}else if(!D(o))return new Error("`".concat(t,"` not supplied. Either pageIndex or pageNumber must be supplied to `").concat(n,"`."));return null},pageNumber:function(e,t,n){var r=e[t],o=e.pageIndex,i=e.pdf;if(!D(i))return null;if(D(r)){if("number"!=typeof r)return new Error("`".concat(t,"` of type `").concat((0,a.Z)(r),"` supplied to `").concat(n,"`, expected `number`."));if(r<1)return new Error("Expected `".concat(t,"` to be greater or equal to 1."));var s=i.numPages;if(r>s)return new Error("Expected `".concat(t,"` to be less or equal to ").concat(s,"."))}else if(!D(o))return new Error("`".concat(t,"` not supplied. Either pageIndex or pageNumber must be supplied to `").concat(n,"`."));return null},pdf:te,registerPage:g().func,renderAnnotationLayer:g().bool,renderForms:g().bool,renderInteractiveForms:g().bool,renderMode:re,renderTextLayer:g().bool,rotate:oe,scale:g().number,unregisterPage:g().func,width:g().number});var Ye=h.forwardRef(Ve);S(!M,"Loading PDF.js worker may not work on protocols other than HTTP/HTTPS. ".concat(q)),r.GlobalWorkerOptions.workerSrc="pdf.worker.js"},60722: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.default=void 0;var o,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=c();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),a=(o=n(69590))&&o.__esModule?o:{default:o},s=n(85741),l=n(38045);function c(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return c=function(){return e},e}function u(){return u=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},u.apply(this,arguments)}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 p(e,t){return p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},p(e,t)}function h(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 Date.prototype.toString.call(Reflect.construct(Date,[],(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 m(this,n)}}function m(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?g(e):t}function g(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 b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=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}}),t&&p(e,t)}(s,e);var t,n,r,o=h(s);function s(){var e;d(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(g(e=o.call.apply(o,[this].concat(n))),"mounted",!1),b(g(e),"isReady",!1),b(g(e),"isPlaying",!1),b(g(e),"isLoading",!0),b(g(e),"loadOnReady",null),b(g(e),"startOnPlay",!0),b(g(e),"seekOnPlay",null),b(g(e),"onDurationCalled",!1),b(g(e),"handlePlayerMount",(function(t){e.player||(e.player=t,e.player.load(e.props.url)),e.progress()})),b(g(e),"getInternalPlayer",(function(t){return e.player?e.player[t]:null})),b(g(e),"progress",(function(){if(e.props.url&&e.player&&e.isReady){var t=e.getCurrentTime()||0,n=e.getSecondsLoaded(),r=e.getDuration();if(r){var o={playedSeconds:t,played:t/r};null!==n&&(o.loadedSeconds=n,o.loaded=n/r),o.playedSeconds===e.prevPlayed&&o.loadedSeconds===e.prevLoaded||e.props.onProgress(o),e.prevPlayed=o.playedSeconds,e.prevLoaded=o.loadedSeconds}}e.progressTimeout=setTimeout(e.progress,e.props.progressFrequency||e.props.progressInterval)})),b(g(e),"handleReady",(function(){if(e.mounted){e.isReady=!0,e.isLoading=!1;var t=e.props,n=t.onReady,r=t.playing,o=t.volume,i=t.muted;n(),i||null===o||e.player.setVolume(o),e.loadOnReady?(e.player.load(e.loadOnReady,!0),e.loadOnReady=null):r&&e.player.play(),e.handleDurationCheck()}})),b(g(e),"handlePlay",(function(){e.isPlaying=!0,e.isLoading=!1;var t=e.props,n=t.onStart,r=t.onPlay,o=t.playbackRate;e.startOnPlay&&(e.player.setPlaybackRate&&1!==o&&e.player.setPlaybackRate(o),n(),e.startOnPlay=!1),r(),e.seekOnPlay&&(e.seekTo(e.seekOnPlay),e.seekOnPlay=null),e.handleDurationCheck()})),b(g(e),"handlePause",(function(t){e.isPlaying=!1,e.isLoading||e.props.onPause(t)})),b(g(e),"handleEnded",(function(){var t=e.props,n=t.activePlayer,r=t.loop,o=t.onEnded;n.loopOnEnded&&r&&e.seekTo(0),r||(e.isPlaying=!1,o())})),b(g(e),"handleError",(function(){var t;e.isLoading=!1,(t=e.props).onError.apply(t,arguments)})),b(g(e),"handleDurationCheck",(function(){clearTimeout(e.durationCheckTimeout);var t=e.getDuration();t?e.onDurationCalled||(e.props.onDuration(t),e.onDurationCalled=!0):e.durationCheckTimeout=setTimeout(e.handleDurationCheck,100)})),b(g(e),"handleLoaded",(function(){e.isLoading=!1})),e}return t=s,n=[{key:"componentDidMount",value:function(){this.mounted=!0}},{key:"componentWillUnmount",value:function(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}},{key:"componentDidUpdate",value:function(e){var t=this;if(this.player){var n=this.props,r=n.url,o=n.playing,i=n.volume,s=n.muted,c=n.playbackRate,u=n.pip,d=n.loop,f=n.activePlayer,p=n.disableDeferredLoading;if(!(0,a.default)(e.url,r)){if(this.isLoading&&!f.forceLoad&&!p&&!(0,l.isMediaStream)(r))return console.warn("ReactPlayer: the attempt to load ".concat(r," is being deferred until the player has loaded")),void(this.loadOnReady=r);this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}e.playing||!o||this.isPlaying||this.player.play(),e.playing&&!o&&this.isPlaying&&this.player.pause(),!e.pip&&u&&this.player.enablePIP&&this.player.enablePIP(),e.pip&&!u&&this.player.disablePIP&&this.player.disablePIP(),e.volume!==i&&null!==i&&this.player.setVolume(i),e.muted!==s&&(s?this.player.mute():(this.player.unmute(),null!==i&&setTimeout((function(){return t.player.setVolume(i)})))),e.playbackRate!==c&&this.player.setPlaybackRate&&this.player.setPlaybackRate(c),e.loop!==d&&this.player.setLoop&&this.player.setLoop(d)}}},{key:"getDuration",value:function(){return this.isReady?this.player.getDuration():null}},{key:"getCurrentTime",value:function(){return this.isReady?this.player.getCurrentTime():null}},{key:"getSecondsLoaded",value:function(){return this.isReady?this.player.getSecondsLoaded():null}},{key:"seekTo",value:function(e,t){var n=this;if(this.isReady){if(t?"fraction"===t:e>0&&e<1){var r=this.player.getDuration();return r?void this.player.seekTo(r*e):void console.warn("ReactPlayer: could not seek using fraction – duration not yet available")}this.player.seekTo(e)}else 0!==e&&(this.seekOnPlay=e,setTimeout((function(){n.seekOnPlay=null}),5e3))}},{key:"render",value:function(){var e=this.props.activePlayer;return e?i.default.createElement(e,u({},this.props,{onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError})):null}}],n&&f(t.prototype,n),r&&f(t,r),s}(i.Component);t.default=y,b(y,"displayName","Player"),b(y,"propTypes",s.propTypes),b(y,"defaultProps",s.defaultProps)},83855: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}n.default=e,t&&t.set(e,n);return n}(n(67294));function i(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}function a(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 s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){m(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g="64px",v={},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}}),t&&u(e,t)}(a,e);var t,n,r,i=d(a);function a(){var e;l(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(p(e=i.call.apply(i,[this].concat(n))),"mounted",!1),m(p(e),"state",{image:null}),m(p(e),"handleKeyPress",(function(t){"Enter"!==t.key&&" "!==t.key||e.props.onClick()})),e}return t=a,(n=[{key:"componentDidMount",value:function(){this.mounted=!0,this.fetchImage(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.url,r=t.light;e.url===n&&e.light===r||this.fetchImage(this.props)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"fetchImage",value:function(e){var t=this,n=e.url,r=e.light,i=e.oEmbedUrl;if(!o.default.isValidElement(r))if("string"!=typeof r){if(!v[n])return this.setState({image:null}),window.fetch(i.replace("{url}",n)).then((function(e){return e.json()})).then((function(e){if(e.thumbnail_url&&t.mounted){var r=e.thumbnail_url.replace("height=100","height=480");t.setState({image:r}),v[n]=r}}));this.setState({image:v[n]})}else this.setState({image:r})}},{key:"render",value:function(){var e=this.props,t=e.light,n=e.onClick,r=e.playIcon,i=e.previewTabIndex,a=this.state.image,l=o.default.isValidElement(t),c={display:"flex",alignItems:"center",justifyContent:"center"},u={preview:s({width:"100%",height:"100%",backgroundImage:a&&!l?"url(".concat(a,")"):void 0,backgroundSize:"cover",backgroundPosition:"center",cursor:"pointer"},c),shadow:s({background:"radial-gradient(rgb(0, 0, 0, 0.3), rgba(0, 0, 0, 0) 60%)",borderRadius:g,width:g,height:g,position:l?"absolute":void 0},c),playIcon:{borderStyle:"solid",borderWidth:"16px 0 16px 26px",borderColor:"transparent transparent transparent white",marginLeft:"7px"}},d=o.default.createElement("div",{style:u.shadow,className:"react-player__shadow"},o.default.createElement("div",{style:u.playIcon,className:"react-player__play-icon"}));return o.default.createElement("div",{style:u.preview,className:"react-player__preview",onClick:n,tabIndex:i,onKeyPress:this.handleKeyPress},l?t:null,r||d)}}])&&c(t.prototype,n),r&&c(t,r),a}(o.Component);t.default=b},70390:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createReactPlayer=void 0;var r=S(n(67294)),o=u(n(9996)),i=u(n(30845)),a=u(n(69590)),s=n(85741),l=n(38045),c=u(n(60722));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return d="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},d(e)}function f(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 p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function h(){return h=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},h.apply(this,arguments)}function m(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(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 g(e,t)}(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 g(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 v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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 y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function A(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x(this,n)}}function x(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?C(e):t}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}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 k(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return k=function(){return e},e}function S(e){if(e&&e.__esModule)return e;if(null===e||"object"!==d(e)&&"function"!=typeof e)return{default:e};var t=k();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var E=(0,r.lazy)((function(){return Promise.resolve().then((function(){return S(n(83855))}))})),B="undefined"!=typeof window&&window.document,O=void 0!==n.g&&n.g.window&&n.g.window.document,j=Object.keys(s.propTypes),T=B||O?r.Suspense:function(){return null},P=[];t.createReactPlayer=function(e,t){var n,u;return u=n=function(n){!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}}),t&&y(e,t)}(x,n);var u,d,f,g=A(x);function x(){var n;v(this,x);for(var a=arguments.length,u=new Array(a),d=0;d<a;d++)u[d]=arguments[d];return w(C(n=g.call.apply(g,[this].concat(u))),"state",{showPreview:!!n.props.light}),w(C(n),"references",{wrapper:function(e){n.wrapper=e},player:function(e){n.player=e}}),w(C(n),"handleClickPreview",(function(e){n.setState({showPreview:!1}),n.props.onClickPreview(e)})),w(C(n),"showPreview",(function(){n.setState({showPreview:!0})})),w(C(n),"getDuration",(function(){return n.player?n.player.getDuration():null})),w(C(n),"getCurrentTime",(function(){return n.player?n.player.getCurrentTime():null})),w(C(n),"getSecondsLoaded",(function(){return n.player?n.player.getSecondsLoaded():null})),w(C(n),"getInternalPlayer",(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"player";return n.player?n.player.getInternalPlayer(e):null})),w(C(n),"seekTo",(function(e,t){if(!n.player)return null;n.player.seekTo(e,t)})),w(C(n),"handleReady",(function(){n.props.onReady(C(n))})),w(C(n),"getActivePlayer",(0,i.default)((function(n){for(var r=0,o=[].concat(P,m(e));r<o.length;r++){var i=o[r];if(i.canPlay(n))return i}return t||null}))),w(C(n),"getConfig",(0,i.default)((function(e,t){var r=n.props.config;return o.default.all([s.defaultProps.config,s.defaultProps.config[t]||{},r,r[t]||{}])}))),w(C(n),"getAttributes",(0,i.default)((function(e){return(0,l.omit)(n.props,j)}))),w(C(n),"renderActivePlayer",(function(e){if(!e)return null;var t=n.getActivePlayer(e);if(!t)return null;var o=n.getConfig(e,t.key);return r.default.createElement(c.default,h({},n.props,{key:t.key,ref:n.references.player,config:o,activePlayer:t.lazyPlayer||t,onReady:n.handleReady}))})),n}return u=x,d=[{key:"shouldComponentUpdate",value:function(e,t){return!(0,a.default)(this.props,e)||!(0,a.default)(this.state,t)}},{key:"componentDidUpdate",value:function(e){var t=this.props.light;!e.light&&t&&this.setState({showPreview:!0}),e.light&&!t&&this.setState({showPreview:!1})}},{key:"renderPreview",value:function(e){if(!e)return null;var t=this.props,n=t.light,o=t.playIcon,i=t.previewTabIndex,a=t.oEmbedUrl;return r.default.createElement(E,{url:e,light:n,playIcon:o,previewTabIndex:i,oEmbedUrl:a,onClick:this.handleClickPreview})}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.style,o=e.width,i=e.height,a=e.fallback,s=e.wrapper,l=this.state.showPreview,c=this.getAttributes(t),u="string"==typeof s?this.references.wrapper:void 0;return r.default.createElement(s,h({ref:u,style:p(p({},n),{},{width:o,height:i})},c),r.default.createElement(T,{fallback:a},l?this.renderPreview(t):this.renderActivePlayer(t)))}}],d&&b(u.prototype,d),f&&b(u,f),x}(r.Component),w(n,"displayName","ReactPlayer"),w(n,"propTypes",s.propTypes),w(n,"defaultProps",s.defaultProps),w(n,"addCustomPlayer",(function(e){P.push(e)})),w(n,"removeCustomPlayers",(function(){P.length=0})),w(n,"canPlay",(function(t){for(var n=0,r=[].concat(P,m(e));n<r.length;n++){if(r[n].canPlay(t))return!0}return!1})),w(n,"canEnablePIP",(function(t){for(var n=0,r=[].concat(P,m(e));n<r.length;n++){var o=r[n];if(o.canEnablePIP&&o.canEnablePIP(t))return!0}return!1})),u}},22004:function(e,t,n){"use strict";t.Z=void 0;var r,o=(r=n(86497))&&r.__esModule?r:{default:r},i=n(70390);var a=o.default[o.default.length-1],s=(0,i.createReactPlayer)(o.default,a);t.Z=s},71776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canPlay=t.FLV_EXTENSIONS=t.DASH_EXTENSIONS=t.HLS_EXTENSIONS=t.VIDEO_EXTENSIONS=t.AUDIO_EXTENSIONS=t.MATCH_URL_KALTURA=t.MATCH_URL_VIDYARD=t.MATCH_URL_MIXCLOUD=t.MATCH_URL_DAILYMOTION=t.MATCH_URL_TWITCH_CHANNEL=t.MATCH_URL_TWITCH_VIDEO=t.MATCH_URL_WISTIA=t.MATCH_URL_STREAMABLE=t.MATCH_URL_FACEBOOK_WATCH=t.MATCH_URL_FACEBOOK=t.MATCH_URL_VIMEO=t.MATCH_URL_SOUNDCLOUD=t.MATCH_URL_YOUTUBE=void 0;var r=n(38045);function o(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return i(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 i(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw a}}}}function i(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 a=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//;t.MATCH_URL_YOUTUBE=a;var s=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/;t.MATCH_URL_SOUNDCLOUD=s;var l=/vimeo\.com\/(?!progressive_redirect).+/;t.MATCH_URL_VIMEO=l;var c=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/;t.MATCH_URL_FACEBOOK=c;var u=/^https?:\/\/fb\.watch\/.+$/;t.MATCH_URL_FACEBOOK_WATCH=u;var d=/streamable\.com\/([a-z0-9]+)$/;t.MATCH_URL_STREAMABLE=d;var f=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/;t.MATCH_URL_WISTIA=f;var p=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/;t.MATCH_URL_TWITCH_VIDEO=p;var h=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/;t.MATCH_URL_TWITCH_CHANNEL=h;var m=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/;t.MATCH_URL_DAILYMOTION=m;var g=/mixcloud\.com\/([^/]+\/[^/]+)/;t.MATCH_URL_MIXCLOUD=g;var v=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/;t.MATCH_URL_VIDYARD=v;var b=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/;t.MATCH_URL_KALTURA=b;var y=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i;t.AUDIO_EXTENSIONS=y;var A=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i;t.VIDEO_EXTENSIONS=A;var x=/\.(m3u8)($|\?)/i;t.HLS_EXTENSIONS=x;var C=/\.(mpd)($|\?)/i;t.DASH_EXTENSIONS=C;var _=/\.(flv)($|\?)/i;t.FLV_EXTENSIONS=_;var w={youtube:function(e){return e instanceof Array?e.every((function(e){return a.test(e)})):a.test(e)},soundcloud:function(e){return s.test(e)&&!y.test(e)},vimeo:function(e){return l.test(e)&&!A.test(e)&&!x.test(e)},facebook:function(e){return c.test(e)||u.test(e)},streamable:function(e){return d.test(e)},wistia:function(e){return f.test(e)},twitch:function(e){return p.test(e)||h.test(e)},dailymotion:function(e){return m.test(e)},mixcloud:function(e){return g.test(e)},vidyard:function(e){return v.test(e)},kaltura:function(e){return b.test(e)},file:function e(t){if(t instanceof Array){var n,i=o(t);try{for(i.s();!(n=i.n()).done;){var a=n.value;if("string"==typeof a&&e(a))return!0;if(e(a.src))return!0}}catch(e){i.e(e)}finally{i.f()}return!1}return!(!(0,r.isMediaStream)(t)&&!(0,r.isBlobUrl)(t))||(y.test(t)||A.test(t)||x.test(t)||C.test(t)||_.test(t))}};t.canPlay=w},36807: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(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 d(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 d(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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 m(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(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 A=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}}),t&&h(e,t)}(l,e);var t,n,r,s=m(l);function l(){var e;f(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(v(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),y(v(e),"onDurationChange",(function(){var t=e.getDuration();e.props.onDuration(t)})),y(v(e),"mute",(function(){e.callPlayer("setMuted",!0)})),y(v(e),"unmute",(function(){e.callPlayer("setMuted",!1)})),y(v(e),"ref",(function(t){e.container=t})),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.controls,o=n.config,s=n.onError,l=n.playing,d=u(e.match(a.MATCH_URL_DAILYMOTION),2)[1];this.player?this.player.load(d,{start:(0,i.parseStartTime)(e),autoplay:l}):(0,i.getSDK)("https://api.dmcdn.net/all.js","DM","dmAsyncInit",(function(e){return e.player})).then((function(n){if(t.container){var a=n.player;t.player=new a(t.container,{width:"100%",height:"100%",video:d,params:c({controls:r,autoplay:t.props.playing,mute:t.props.muted,start:(0,i.parseStartTime)(e),origin:window.location.origin},o.params),events:{apiready:t.props.onReady,seeked:function(){return t.props.onSeek(t.player.currentTime)},video_end:t.props.onEnded,durationchange:t.onDurationChange,pause:t.props.onPause,playing:t.props.onPlay,waiting:t.props.onBuffer,error:function(e){return s(e)}}})}}),s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.player.duration||null}},{key:"getCurrentTime",value:function(){return this.player.currentTime}},{key:"getSecondsLoaded",value:function(){return this.player.bufferedTime}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return o.default.createElement("div",{style:e},o.default.createElement("div",{ref:this.ref}))}}])&&p(t.prototype,n),r&&p(t,r),l}(o.Component);t.default=A,y(A,"displayName","DailyMotion"),y(A,"canPlay",a.canPlay.dailymotion),y(A,"loopOnEnded",!0)},31972: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(){return l=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},l.apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v="https://connect.facebook.net/en_US/sdk.js",b="fbAsyncInit",y="facebook-player-",A=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}}),t&&d(e,t)}(s,e);var t,n,r,a=f(s);function s(){var e;c(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=a.call.apply(a,[this].concat(n))),"callPlayer",i.callPlayer),g(h(e),"playerID",e.props.config.playerId||"".concat(y).concat((0,i.randomString)())),g(h(e),"mute",(function(){e.callPlayer("mute")})),g(h(e),"unmute",(function(){e.callPlayer("unmute")})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;t?(0,i.getSDK)(v,"FB",b).then((function(e){return e.XFBML.parse()})):(0,i.getSDK)(v,"FB",b).then((function(e){e.init({appId:n.props.config.appId,xfbml:!0,version:n.props.config.version}),e.Event.subscribe("xfbml.render",(function(e){n.props.onLoaded()})),e.Event.subscribe("xfbml.ready",(function(e){"video"===e.type&&e.id===n.playerID&&(n.player=e.instance,n.player.subscribe("startedPlaying",n.props.onPlay),n.player.subscribe("paused",n.props.onPause),n.player.subscribe("finishedPlaying",n.props.onEnded),n.player.subscribe("startedBuffering",n.props.onBuffer),n.player.subscribe("finishedBuffering",n.props.onBufferEnd),n.player.subscribe("error",n.props.onError),n.props.muted?n.callPlayer("mute"):n.callPlayer("unmute"),n.props.onReady(),document.getElementById(n.playerID).querySelector("iframe").style.visibility="visible")}))}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentPosition")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.config.attributes;return o.default.createElement("div",l({style:{width:"100%",height:"100%"},id:this.playerID,className:"fb-video","data-href":this.props.url,"data-autoplay":this.props.playing?"true":"false","data-allowfullscreen":"true","data-controls":this.props.controls?"true":"false"},e))}}])&&u(t.prototype,n),r&&u(t,r),s}(o.Component);t.default=A,g(A,"displayName","Facebook"),g(A,"canPlay",a.canPlay.facebook),g(A,"loopOnEnded",!0)},14926: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(){return l=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},l.apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v="undefined"!=typeof navigator,b=v&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,y=v&&(/iPad|iPhone|iPod/.test(navigator.userAgent)||b)&&!window.MSStream,A=/www\.dropbox\.com\/.+/,x=/https:\/\/watch\.cloudflarestream\.com\/([a-z0-9]+)/,C=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}}),t&&d(e,t)}(p,e);var t,n,r,s=f(p);function p(){var e;c(this,p);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=s.call.apply(s,[this].concat(n))),"onReady",(function(){var t;return(t=e.props).onReady.apply(t,arguments)})),g(h(e),"onPlay",(function(){var t;return(t=e.props).onPlay.apply(t,arguments)})),g(h(e),"onBuffer",(function(){var t;return(t=e.props).onBuffer.apply(t,arguments)})),g(h(e),"onBufferEnd",(function(){var t;return(t=e.props).onBufferEnd.apply(t,arguments)})),g(h(e),"onPause",(function(){var t;return(t=e.props).onPause.apply(t,arguments)})),g(h(e),"onEnded",(function(){var t;return(t=e.props).onEnded.apply(t,arguments)})),g(h(e),"onError",(function(){var t;return(t=e.props).onError.apply(t,arguments)})),g(h(e),"onPlayBackRateChange",(function(t){return e.props.onPlaybackRateChange(t.target.playbackRate)})),g(h(e),"onEnablePIP",(function(){var t;return(t=e.props).onEnablePIP.apply(t,arguments)})),g(h(e),"onDisablePIP",(function(t){var n=e.props,r=n.onDisablePIP,o=n.playing;r(t),o&&e.play()})),g(h(e),"onPresentationModeChange",(function(t){if(e.player&&(0,i.supportsWebKitPresentationMode)(e.player)){var n=e.player.webkitPresentationMode;"picture-in-picture"===n?e.onEnablePIP(t):"inline"===n&&e.onDisablePIP(t)}})),g(h(e),"onSeek",(function(t){e.props.onSeek(t.target.currentTime)})),g(h(e),"mute",(function(){e.player.muted=!0})),g(h(e),"unmute",(function(){e.player.muted=!1})),g(h(e),"renderSourceElement",(function(e,t){return"string"==typeof e?o.default.createElement("source",{key:t,src:e}):o.default.createElement("source",l({key:t},e))})),g(h(e),"renderTrack",(function(e,t){return o.default.createElement("track",l({key:t},e))})),g(h(e),"ref",(function(t){e.player&&(e.prevPlayer=e.player),e.player=t})),e}return t=p,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this),this.addListeners(this.player),y&&this.player.load()}},{key:"componentDidUpdate",value:function(e){this.shouldUseAudio(this.props)!==this.shouldUseAudio(e)&&(this.removeListeners(this.prevPlayer,e.url),this.addListeners(this.player)),this.props.url===e.url||(0,i.isMediaStream)(this.props.url)||(this.player.srcObject=null)}},{key:"componentWillUnmount",value:function(){this.player.src="",this.removeListeners(this.player),this.hls&&this.hls.destroy()}},{key:"addListeners",value:function(e){var t=this.props,n=t.url,r=t.playsinline;e.addEventListener("play",this.onPlay),e.addEventListener("waiting",this.onBuffer),e.addEventListener("playing",this.onBufferEnd),e.addEventListener("pause",this.onPause),e.addEventListener("seeked",this.onSeek),e.addEventListener("ended",this.onEnded),e.addEventListener("error",this.onError),e.addEventListener("ratechange",this.onPlayBackRateChange),e.addEventListener("enterpictureinpicture",this.onEnablePIP),e.addEventListener("leavepictureinpicture",this.onDisablePIP),e.addEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(n)||e.addEventListener("canplay",this.onReady),r&&(e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("x5-playsinline",""))}},{key:"removeListeners",value:function(e,t){e.removeEventListener("canplay",this.onReady),e.removeEventListener("play",this.onPlay),e.removeEventListener("waiting",this.onBuffer),e.removeEventListener("playing",this.onBufferEnd),e.removeEventListener("pause",this.onPause),e.removeEventListener("seeked",this.onSeek),e.removeEventListener("ended",this.onEnded),e.removeEventListener("error",this.onError),e.removeEventListener("ratechange",this.onPlayBackRateChange),e.removeEventListener("enterpictureinpicture",this.onEnablePIP),e.removeEventListener("leavepictureinpicture",this.onDisablePIP),e.removeEventListener("webkitpresentationmodechanged",this.onPresentationModeChange),this.shouldUseHLS(t)||e.removeEventListener("canplay",this.onReady)}},{key:"shouldUseAudio",value:function(e){return!e.config.forceVideo&&!e.config.attributes.poster&&(a.AUDIO_EXTENSIONS.test(e.url)||e.config.forceAudio)}},{key:"shouldUseHLS",value:function(e){return!!this.props.config.forceHLS||!y&&(a.HLS_EXTENSIONS.test(e)||x.test(e))}},{key:"shouldUseDASH",value:function(e){return a.DASH_EXTENSIONS.test(e)||this.props.config.forceDASH}},{key:"shouldUseFLV",value:function(e){return a.FLV_EXTENSIONS.test(e)||this.props.config.forceFLV}},{key:"load",value:function(e){var t=this,n=this.props.config,r=n.hlsVersion,o=n.hlsOptions,a=n.dashVersion,s=n.flvVersion;if(this.hls&&this.hls.destroy(),this.dash&&this.dash.reset(),this.shouldUseHLS(e)&&(0,i.getSDK)("https://cdn.jsdelivr.net/npm/hls.js@VERSION/dist/hls.min.js".replace("VERSION",r),"Hls").then((function(n){if(t.hls=new n(o),t.hls.on(n.Events.MANIFEST_PARSED,(function(){t.props.onReady()})),t.hls.on(n.Events.ERROR,(function(e,r){t.props.onError(e,r,t.hls,n)})),x.test(e)){var r=e.match(x)[1];t.hls.loadSource("https://videodelivery.net/{id}/manifest/video.m3u8".replace("{id}",r))}else t.hls.loadSource(e);t.hls.attachMedia(t.player),t.props.onLoaded()})),this.shouldUseDASH(e)&&(0,i.getSDK)("https://cdnjs.cloudflare.com/ajax/libs/dashjs/VERSION/dash.all.min.js".replace("VERSION",a),"dashjs").then((function(n){t.dash=n.MediaPlayer().create(),t.dash.initialize(t.player,e,t.props.playing),t.dash.on("error",t.props.onError),parseInt(a)<3?t.dash.getDebug().setLogToBrowserConsole(!1):t.dash.updateSettings({debug:{logLevel:n.Debug.LOG_LEVEL_NONE}}),t.props.onLoaded()})),this.shouldUseFLV(e)&&(0,i.getSDK)("https://cdn.jsdelivr.net/npm/flv.js@VERSION/dist/flv.min.js".replace("VERSION",s),"flvjs").then((function(n){t.flv=n.createPlayer({type:"flv",url:e}),t.flv.attachMediaElement(t.player),t.flv.on(n.Events.ERROR,(function(e,r){t.props.onError(e,r,t.flv,n)})),t.flv.load(),t.props.onLoaded()})),e instanceof Array)this.player.load();else if((0,i.isMediaStream)(e))try{this.player.srcObject=e}catch(t){this.player.src=window.URL.createObjectURL(e)}}},{key:"play",value:function(){var e=this.player.play();e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.player.pause()}},{key:"stop",value:function(){this.player.removeAttribute("src"),this.dash&&this.dash.reset()}},{key:"seekTo",value:function(e){this.player.currentTime=e}},{key:"setVolume",value:function(e){this.player.volume=e}},{key:"enablePIP",value:function(){this.player.requestPictureInPicture&&document.pictureInPictureElement!==this.player?this.player.requestPictureInPicture():(0,i.supportsWebKitPresentationMode)(this.player)&&"picture-in-picture"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("picture-in-picture")}},{key:"disablePIP",value:function(){document.exitPictureInPicture&&document.pictureInPictureElement===this.player?document.exitPictureInPicture():(0,i.supportsWebKitPresentationMode)(this.player)&&"inline"!==this.player.webkitPresentationMode&&this.player.webkitSetPresentationMode("inline")}},{key:"setPlaybackRate",value:function(e){try{this.player.playbackRate=e}catch(e){this.props.onError(e)}}},{key:"getDuration",value:function(){if(!this.player)return null;var e=this.player,t=e.duration,n=e.seekable;return t===1/0&&n.length>0?n.end(n.length-1):t}},{key:"getCurrentTime",value:function(){return this.player?this.player.currentTime:null}},{key:"getSecondsLoaded",value:function(){if(!this.player)return null;var e=this.player.buffered;if(0===e.length)return 0;var t=e.end(e.length-1),n=this.getDuration();return t>n?n:t}},{key:"getSource",value:function(e){var t=this.shouldUseHLS(e),n=this.shouldUseDASH(e),r=this.shouldUseFLV(e);if(!(e instanceof Array||(0,i.isMediaStream)(e)||t||n||r))return A.test(e)?e.replace("www.dropbox.com","dl.dropboxusercontent.com"):e}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.playing,r=e.loop,i=e.controls,a=e.muted,s=e.config,c=e.width,u=e.height,d=this.shouldUseAudio(this.props)?"audio":"video",f={width:"auto"===c?c:"100%",height:"auto"===u?u:"100%"};return o.default.createElement(d,l({ref:this.ref,src:this.getSource(t),style:f,preload:"auto",autoPlay:n||void 0,controls:i,muted:a,loop:r},s.attributes),t instanceof Array&&t.map(this.renderSourceElement),s.tracks.map(this.renderTrack))}}])&&u(t.prototype,n),r&&u(t,r),p}(o.Component);t.default=C,g(C,"displayName","FilePlayer"),g(C,"canPlay",a.canPlay.file)},73911: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw 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}}),t&&u(e,t)}(s,e);var t,n,r,a=d(s);function s(){var e;l(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(p(e=a.call.apply(a,[this].concat(n))),"callPlayer",i.callPlayer),m(p(e),"duration",null),m(p(e),"currentTime",null),m(p(e),"secondsLoaded",null),m(p(e),"mute",(function(){e.callPlayer("mute")})),m(p(e),"unmute",(function(){e.callPlayer("unmute")})),m(p(e),"ref",(function(t){e.iframe=t})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,i.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.on("ready",(function(){setTimeout((function(){t.player.isReady=!0,t.player.setLoop(t.props.loop),t.props.muted&&t.player.mute(),t.addListeners(t.player,t.props),t.props.onReady()}),500)})))}),this.props.onError)}},{key:"addListeners",value:function(e,t){var n=this;e.on("play",t.onPlay),e.on("pause",t.onPause),e.on("ended",t.onEnded),e.on("error",t.onError),e.on("timeupdate",(function(e){var t=e.duration,r=e.seconds;n.duration=t,n.currentTime=r}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){return o.default.createElement("iframe",{ref:this.ref,src:this.props.url,frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;",referrerPolicy:"no-referrer-when-downgrade"})}}])&&c(t.prototype,n),r&&c(t,r),s}(o.Component);t.default=g,m(g,"displayName","Kaltura"),m(g,"canPlay",a.canPlay.kaltura)},50143: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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 f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(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}}),t&&f(e,t)}(l,e);var t,n,r,s=p(l);function l(){var e;u(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(m(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),v(m(e),"duration",null),v(m(e),"currentTime",null),v(m(e),"secondsLoaded",null),v(m(e),"mute",(function(){})),v(m(e),"unmute",(function(){})),v(m(e),"ref",(function(t){e.iframe=t})),e}return t=l,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,i.getSDK)("https://widget.mixcloud.com/media/js/widgetApi.js","Mixcloud").then((function(e){t.player=e.PlayerWidget(t.iframe),t.player.ready.then((function(){t.player.events.play.on(t.props.onPlay),t.player.events.pause.on(t.props.onPause),t.player.events.ended.on(t.props.onEnded),t.player.events.error.on(t.props.error),t.player.events.progress.on((function(e,n){t.currentTime=e,t.duration=n})),t.props.onReady()}))}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props,t=e.url,n=e.config,r=t.match(a.MATCH_URL_MIXCLOUD)[1],s=(0,i.queryString)(c(c({},n.options),{},{feed:"/".concat(r,"/")}));return o.default.createElement("iframe",{key:r,ref:this.ref,style:{width:"100%",height:"100%"},src:"https://www.mixcloud.com/widget/iframe/?".concat(s),frameBorder:"0",allow:"autoplay"})}}],n&&d(t.prototype,n),r&&d(t,r),l}(o.Component);t.default=b,v(b,"displayName","Mixcloud"),v(b,"canPlay",a.canPlay.mixcloud),v(b,"loopOnEnded",!0)},72648: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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 f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(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}}),t&&f(e,t)}(s,e);var t,n,r,a=p(s);function s(){var e;u(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(m(e=a.call.apply(a,[this].concat(n))),"callPlayer",i.callPlayer),v(m(e),"duration",null),v(m(e),"currentTime",null),v(m(e),"fractionLoaded",null),v(m(e),"mute",(function(){e.setVolume(0)})),v(m(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),v(m(e),"ref",(function(t){e.iframe=t})),e}return t=s,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this;(0,i.getSDK)("https://w.soundcloud.com/player/api.js","SC").then((function(r){if(n.iframe){var o=r.Widget.Events,i=o.PLAY,a=o.PLAY_PROGRESS,s=o.PAUSE,l=o.FINISH,u=o.ERROR;t||(n.player=r.Widget(n.iframe),n.player.bind(i,n.props.onPlay),n.player.bind(s,(function(){n.duration-n.currentTime<.05||n.props.onPause()})),n.player.bind(a,(function(e){n.currentTime=e.currentPosition/1e3,n.fractionLoaded=e.loadedProgress})),n.player.bind(l,(function(){return n.props.onEnded()})),n.player.bind(u,(function(e){return n.props.onError(e)}))),n.player.load(e,c(c({},n.props.config.options),{},{callback:function(){n.player.getDuration((function(e){n.duration=e/1e3,n.props.onReady()}))}}))}}))}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",1e3*e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.fractionLoaded*this.duration}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return o.default.createElement("iframe",{ref:this.ref,src:"https://w.soundcloud.com/player/?url=".concat(encodeURIComponent(this.props.url)),style:e,frameBorder:0,allow:"autoplay"})}}])&&d(t.prototype,n),r&&d(t,r),s}(o.Component);t.default=b,v(b,"displayName","SoundCloud"),v(b,"canPlay",a.canPlay.soundcloud),v(b,"loopOnEnded",!0)},50993: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?p(e):t}function p(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw 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}}),t&&u(e,t)}(f,e);var t,n,r,s=d(f);function f(){var e;l(this,f);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return m(p(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),m(p(e),"duration",null),m(p(e),"currentTime",null),m(p(e),"secondsLoaded",null),m(p(e),"mute",(function(){e.callPlayer("mute")})),m(p(e),"unmute",(function(){e.callPlayer("unmute")})),m(p(e),"ref",(function(t){e.iframe=t})),e}return t=f,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;(0,i.getSDK)("https://cdn.embed.ly/player-0.1.0.min.js","playerjs").then((function(e){t.iframe&&(t.player=new e.Player(t.iframe),t.player.setLoop(t.props.loop),t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seeked",t.props.onSeek),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.duration,r=e.seconds;t.duration=n,t.currentTime=r})),t.player.on("buffered",(function(e){var n=e.percent;t.duration&&(t.secondsLoaded=t.duration*n)})),t.props.muted&&t.player.mute())}),this.props.onError)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e=this.props.url.match(a.MATCH_URL_STREAMABLE)[1];return o.default.createElement("iframe",{ref:this.ref,src:"https://streamable.com/o/".concat(e),frameBorder:"0",scrolling:"no",style:{width:"100%",height:"100%"},allow:"encrypted-media; autoplay; fullscreen;"})}}])&&c(t.prototype,n),r&&c(t,r),f}(o.Component);t.default=g,m(g,"displayName","Streamable"),m(g,"canPlay",a.canPlay.streamable)},29482: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v="twitch-player-",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}}),t&&d(e,t)}(p,e);var t,n,r,s=f(p);function p(){var e;c(this,p);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),g(h(e),"playerID",e.props.config.playerId||"".concat(v).concat((0,i.randomString)())),g(h(e),"mute",(function(){e.callPlayer("setMuted",!0)})),g(h(e),"unmute",(function(){e.callPlayer("setMuted",!1)})),e}return t=p,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e,t){var n=this,r=this.props,o=r.playsinline,s=r.onError,c=r.config,u=r.controls,d=a.MATCH_URL_TWITCH_CHANNEL.test(e),f=d?e.match(a.MATCH_URL_TWITCH_CHANNEL)[1]:e.match(a.MATCH_URL_TWITCH_VIDEO)[1];t?d?this.player.setChannel(f):this.player.setVideo("v"+f):(0,i.getSDK)("https://player.twitch.tv/js/embed/v1.js","Twitch").then((function(t){n.player=new t.Player(n.playerID,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({video:d?"":f,channel:d?f:"",height:"100%",width:"100%",playsinline:o,autoplay:n.props.playing,muted:n.props.muted,controls:!!d||u,time:(0,i.parseStartTime)(e)},c.options));var r=t.Player,a=r.READY,s=r.PLAYING,p=r.PAUSE,h=r.ENDED,m=r.ONLINE,v=r.OFFLINE,b=r.SEEK;n.player.addEventListener(a,n.props.onReady),n.player.addEventListener(s,n.props.onPlay),n.player.addEventListener(p,n.props.onPause),n.player.addEventListener(h,n.props.onEnded),n.player.addEventListener(b,n.props.onSeek),n.player.addEventListener(m,n.props.onLoaded),n.player.addEventListener(v,n.props.onLoaded)}),s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("pause")}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){return o.default.createElement("div",{style:{width:"100%",height:"100%"},id:this.playerID})}}],n&&u(t.prototype,n),r&&u(t,r),p}(o.Component);t.default=b,g(b,"displayName","Twitch"),g(b,"canPlay",a.canPlay.twitch),g(b,"loopOnEnded",!0)},36596: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=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}}),t&&d(e,t)}(p,e);var t,n,r,s=f(p);function p(){var e;c(this,p);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),g(h(e),"mute",(function(){e.setVolume(0)})),g(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),g(h(e),"ref",(function(t){e.container=t})),e}return t=p,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,o=n.config,s=n.onError,c=n.onDuration,u=e&&e.match(a.MATCH_URL_VIDYARD)[1];this.player&&this.stop(),(0,i.getSDK)("https://play.vidyard.com/embed/v4.js","VidyardV4","onVidyardAPI").then((function(e){t.container&&(e.api.addReadyListener((function(e,n){t.player||(t.player=n,t.player.on("ready",t.props.onReady),t.player.on("play",t.props.onPlay),t.player.on("pause",t.props.onPause),t.player.on("seek",t.props.onSeek),t.player.on("playerComplete",t.props.onEnded))}),u),e.api.renderPlayer(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({uuid:u,container:t.container,autoplay:r?1:0},o.options)),e.api.getPlayerMetadata(u).then((function(e){t.duration=e.length_in_seconds,c(e.length_in_seconds)})))}),s)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){window.VidyardV4.api.destroyPlayer(this.player)}},{key:"seekTo",value:function(e){this.callPlayer("seek",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackSpeed",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.callPlayer("currentTime")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return o.default.createElement("div",{style:e},o.default.createElement("div",{ref:this.ref}))}}],n&&u(t.prototype,n),r&&u(t,r),p}(o.Component);t.default=v,g(v,"displayName","Vidyard"),g(v,"canPlay",a.canPlay.vidyard)},80868: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?h(e):t}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=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}}),t&&d(e,t)}(s,e);var t,n,r,a=f(s);function s(){var e;c(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return g(h(e=a.call.apply(a,[this].concat(n))),"callPlayer",i.callPlayer),g(h(e),"duration",null),g(h(e),"currentTime",null),g(h(e),"secondsLoaded",null),g(h(e),"mute",(function(){e.setVolume(0)})),g(h(e),"unmute",(function(){null!==e.props.volume&&e.setVolume(e.props.volume)})),g(h(e),"ref",(function(t){e.container=t})),e}return t=s,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this;this.duration=null,(0,i.getSDK)("https://player.vimeo.com/api/player.js","Vimeo").then((function(n){if(t.container){var r=t.props.config,o=r.playerOptions,i=r.title;t.player=new n.Player(t.container,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){g(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:e,autoplay:t.props.playing,muted:t.props.muted,loop:t.props.loop,playsinline:t.props.playsinline,controls:t.props.controls},o)),t.player.ready().then((function(){var e=t.container.querySelector("iframe");e.style.width="100%",e.style.height="100%",i&&(e.title=i)})).catch(t.props.onError),t.player.on("loaded",(function(){t.props.onReady(),t.refreshDuration()})),t.player.on("play",(function(){t.props.onPlay(),t.refreshDuration()})),t.player.on("pause",t.props.onPause),t.player.on("seeked",(function(e){return t.props.onSeek(e.seconds)})),t.player.on("ended",t.props.onEnded),t.player.on("error",t.props.onError),t.player.on("timeupdate",(function(e){var n=e.seconds;t.currentTime=n})),t.player.on("progress",(function(e){var n=e.seconds;t.secondsLoaded=n})),t.player.on("bufferstart",t.props.onBuffer),t.player.on("bufferend",t.props.onBufferEnd),t.player.on("playbackratechange",(function(e){return t.props.onPlaybackRateChange(e.playbackRate)}))}}),this.props.onError)}},{key:"refreshDuration",value:function(){var e=this;this.player.getDuration().then((function(t){e.duration=t}))}},{key:"play",value:function(){var e=this.callPlayer("play");e&&e.catch(this.props.onError)}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.callPlayer("unload")}},{key:"seekTo",value:function(e){this.callPlayer("setCurrentTime",e)}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"getDuration",value:function(){return this.duration}},{key:"getCurrentTime",value:function(){return this.currentTime}},{key:"getSecondsLoaded",value:function(){return this.secondsLoaded}},{key:"render",value:function(){var e={width:"100%",height:"100%",overflow:"hidden",display:this.props.display};return o.default.createElement("div",{key:this.props.url,ref:this.ref,style:e})}}],n&&u(t.prototype,n),r&&u(t,r),s}(o.Component);t.default=v,g(v,"displayName","Vimeo"),g(v,"canPlay",a.canPlay.vimeo),g(v,"forceLoad",!0)},8018: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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 f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?m(e):t}function m(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function v(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="wistia-player-",y=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}}),t&&f(e,t)}(l,e);var t,n,r,s=p(l);function l(){var e;u(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return v(m(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),v(m(e),"playerID",e.props.config.playerId||"".concat(b).concat((0,i.randomString)())),v(m(e),"onPlay",(function(){var t;return(t=e.props).onPlay.apply(t,arguments)})),v(m(e),"onPause",(function(){var t;return(t=e.props).onPause.apply(t,arguments)})),v(m(e),"onSeek",(function(){var t;return(t=e.props).onSeek.apply(t,arguments)})),v(m(e),"onEnded",(function(){var t;return(t=e.props).onEnded.apply(t,arguments)})),v(m(e),"onPlaybackRateChange",(function(){var t;return(t=e.props).onPlaybackRateChange.apply(t,arguments)})),v(m(e),"mute",(function(){e.callPlayer("mute")})),v(m(e),"unmute",(function(){e.callPlayer("unmute")})),e}return t=l,n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"load",value:function(e){var t=this,n=this.props,r=n.playing,o=n.muted,a=n.controls,s=n.onReady,l=n.config,u=n.onError;(0,i.getSDK)("https://fast.wistia.com/assets/external/E-v1.js","Wistia").then((function(e){l.customControls&&l.customControls.forEach((function(t){return e.defineControl(t)})),window._wq=window._wq||[],window._wq.push({id:t.playerID,options:c({autoPlay:r,silentAutoPlay:"allow",muted:o,controlsVisibleOnLoad:a,fullscreenButton:a,playbar:a,playbackRateControl:a,qualityControl:a,volumeControl:a,settingsControl:a,smallPlayButton:a},l.options),onReady:function(e){t.player=e,t.unbind(),t.player.bind("play",t.onPlay),t.player.bind("pause",t.onPause),t.player.bind("seek",t.onSeek),t.player.bind("end",t.onEnded),t.player.bind("playbackratechange",t.onPlaybackRateChange),s()}})}),u)}},{key:"unbind",value:function(){this.player.unbind("play",this.onPlay),this.player.unbind("pause",this.onPause),this.player.unbind("seek",this.onSeek),this.player.unbind("end",this.onEnded),this.player.unbind("playbackratechange",this.onPlaybackRateChange)}},{key:"play",value:function(){this.callPlayer("play")}},{key:"pause",value:function(){this.callPlayer("pause")}},{key:"stop",value:function(){this.unbind(),this.callPlayer("remove")}},{key:"seekTo",value:function(e){this.callPlayer("time",e)}},{key:"setVolume",value:function(e){this.callPlayer("volume",e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("playbackRate",e)}},{key:"getDuration",value:function(){return this.callPlayer("duration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("time")}},{key:"getSecondsLoaded",value:function(){return null}},{key:"render",value:function(){var e=this.props.url,t=e&&e.match(a.MATCH_URL_WISTIA)[1],n="wistia_embed wistia_async_".concat(t);return o.default.createElement("div",{id:this.playerID,key:t,className:n,style:{width:"100%",height:"100%"}})}}],n&&d(t.prototype,n),r&&d(t,r),l}(o.Component);t.default=y,v(y,"displayName","Wistia"),v(y,"canPlay",a.canPlay.wistia),v(y,"loopOnEnded",!0)},60356: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.default=void 0;var o=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(67294)),i=n(38045),a=n(71776);function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return d(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 d(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 d(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 f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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 m(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 Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?v(e):t}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(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 A="YT",x=/[?&](?:list|channel)=([a-zA-Z0-9_-]+)/,C=/user\/([a-zA-Z0-9_-]+)\/?/,_=/youtube-nocookie\.com/,w=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}}),t&&h(e,t)}(l,e);var t,n,r,s=m(l);function l(){var e;f(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return y(v(e=s.call.apply(s,[this].concat(n))),"callPlayer",i.callPlayer),y(v(e),"parsePlaylist",(function(t){return t instanceof Array?{listType:"playlist",playlist:t.map(e.getID).join(",")}:x.test(t)?{listType:"playlist",list:u(t.match(x),2)[1].replace(/^UC/,"UU")}:C.test(t)?{listType:"user_uploads",list:u(t.match(C),2)[1]}:{}})),y(v(e),"onStateChange",(function(t){var n=t.data,r=e.props,o=r.onPlay,i=r.onPause,a=r.onBuffer,s=r.onBufferEnd,l=r.onEnded,c=r.onReady,u=r.loop,d=r.config,f=d.playerVars,p=d.onUnstarted,h=window.YT.PlayerState,m=h.UNSTARTED,g=h.PLAYING,v=h.PAUSED,b=h.BUFFERING,y=h.ENDED,A=h.CUED;if(n===m&&p(),n===g&&(o(),s()),n===v&&i(),n===b&&a(),n===y){var x=!!e.callPlayer("getPlaylist");u&&!x&&(f.start?e.seekTo(f.start):e.play()),l()}n===A&&c()})),y(v(e),"mute",(function(){e.callPlayer("mute")})),y(v(e),"unmute",(function(){e.callPlayer("unMute")})),y(v(e),"ref",(function(t){e.container=t})),e}return t=l,(n=[{key:"componentDidMount",value:function(){this.props.onMount&&this.props.onMount(this)}},{key:"getID",value:function(e){return!e||e instanceof Array||x.test(e)?null:e.match(a.MATCH_URL_YOUTUBE)[1]}},{key:"load",value:function(e,t){var n=this,r=this.props,o=r.playing,a=r.muted,s=r.playsinline,l=r.controls,u=r.loop,d=r.config,f=r.onError,p=d.playerVars,h=d.embedOptions,m=this.getID(e);if(t)return x.test(e)||C.test(e)||e instanceof Array?void this.player.loadPlaylist(this.parsePlaylist(e)):void this.player.cueVideoById({videoId:m,startSeconds:(0,i.parseStartTime)(e)||p.start,endSeconds:(0,i.parseEndTime)(e)||p.end});(0,i.getSDK)("https://www.youtube.com/iframe_api",A,"onYouTubeIframeAPIReady",(function(e){return e.loaded})).then((function(t){n.container&&(n.player=new t.Player(n.container,c({width:"100%",height:"100%",videoId:m,playerVars:c(c({autoplay:o?1:0,mute:a?1:0,controls:l?1:0,start:(0,i.parseStartTime)(e),end:(0,i.parseEndTime)(e),origin:window.location.origin,playsinline:s?1:0},n.parsePlaylist(e)),p),events:{onReady:function(){u&&n.player.setLoop(!0),n.props.onReady()},onPlaybackRateChange:function(e){return n.props.onPlaybackRateChange(e.data)},onStateChange:n.onStateChange,onError:function(e){return f(e.data)}},host:_.test(e)?"https://www.youtube-nocookie.com":void 0},h)))}),f),h.events&&console.warn("Using `embedOptions.events` will likely break things. Use ReactPlayer’s callback props instead, eg onReady, onPlay, onPause")}},{key:"play",value:function(){this.callPlayer("playVideo")}},{key:"pause",value:function(){this.callPlayer("pauseVideo")}},{key:"stop",value:function(){document.body.contains(this.callPlayer("getIframe"))&&this.callPlayer("stopVideo")}},{key:"seekTo",value:function(e){this.callPlayer("seekTo",e),this.props.playing||this.pause()}},{key:"setVolume",value:function(e){this.callPlayer("setVolume",100*e)}},{key:"setPlaybackRate",value:function(e){this.callPlayer("setPlaybackRate",e)}},{key:"setLoop",value:function(e){this.callPlayer("setLoop",e)}},{key:"getDuration",value:function(){return this.callPlayer("getDuration")}},{key:"getCurrentTime",value:function(){return this.callPlayer("getCurrentTime")}},{key:"getSecondsLoaded",value:function(){return this.callPlayer("getVideoLoadedFraction")*this.getDuration()}},{key:"render",value:function(){var e={width:"100%",height:"100%",display:this.props.display};return o.default.createElement("div",{style:e},o.default.createElement("div",{ref:this.ref}))}}])&&p(t.prototype,n),r&&p(t,r),l}(o.Component);t.default=w,y(w,"displayName","YouTube"),y(w,"canPlay",a.canPlay.youtube)},86497:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(67294),o=n(38045),i=n(71776);function a(e){return a="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},a(e)}function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},r=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var i=r?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=e[o]}return n.default=e,t&&t.set(e,n),n}var c=[{key:"youtube",name:"YouTube",canPlay:i.canPlay.youtube,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(60356))}))}))},{key:"soundcloud",name:"SoundCloud",canPlay:i.canPlay.soundcloud,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(72648))}))}))},{key:"vimeo",name:"Vimeo",canPlay:i.canPlay.vimeo,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(80868))}))}))},{key:"facebook",name:"Facebook",canPlay:i.canPlay.facebook,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(31972))}))}))},{key:"streamable",name:"Streamable",canPlay:i.canPlay.streamable,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(50993))}))}))},{key:"wistia",name:"Wistia",canPlay:i.canPlay.wistia,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(8018))}))}))},{key:"twitch",name:"Twitch",canPlay:i.canPlay.twitch,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(29482))}))}))},{key:"dailymotion",name:"DailyMotion",canPlay:i.canPlay.dailymotion,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(36807))}))}))},{key:"mixcloud",name:"Mixcloud",canPlay:i.canPlay.mixcloud,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(50143))}))}))},{key:"vidyard",name:"Vidyard",canPlay:i.canPlay.vidyard,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(36596))}))}))},{key:"kaltura",name:"Kaltura",canPlay:i.canPlay.kaltura,lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(73911))}))}))},{key:"file",name:"FilePlayer",canPlay:i.canPlay.file,canEnablePIP:function(e){return i.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,o.supportsWebKitPresentationMode)())&&!i.AUDIO_EXTENSIONS.test(e)},lazyPlayer:(0,r.lazy)((function(){return Promise.resolve().then((function(){return l(n(14926))}))}))}];t.default=c},85741:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultProps=t.propTypes=void 0;var r,o=(r=n(45697))&&r.__esModule?r:{default:r};var i=o.default.string,a=o.default.bool,s=o.default.number,l=o.default.array,c=o.default.oneOfType,u=o.default.shape,d=o.default.object,f=o.default.func,p=o.default.node,h={url:c([i,l,d]),playing:a,loop:a,controls:a,volume:s,muted:a,playbackRate:s,width:c([i,s]),height:c([i,s]),style:d,progressInterval:s,playsinline:a,pip:a,stopOnUnmount:a,light:c([a,i,d]),playIcon:p,previewTabIndex:s,fallback:p,oEmbedUrl:i,wrapper:c([i,f,u({render:f.isRequired})]),config:u({soundcloud:u({options:d}),youtube:u({playerVars:d,embedOptions:d,onUnstarted:f}),facebook:u({appId:i,version:i,playerId:i,attributes:d}),dailymotion:u({params:d}),vimeo:u({playerOptions:d,title:i}),file:u({attributes:d,tracks:l,forceVideo:a,forceAudio:a,forceHLS:a,forceDASH:a,forceFLV:a,hlsOptions:d,hlsVersion:i,dashVersion:i,flvVersion:i}),wistia:u({options:d,playerId:i,customControls:l}),mixcloud:u({options:d}),twitch:u({options:d,playerId:i}),vidyard:u({options:d})}),onReady:f,onStart:f,onPlay:f,onPause:f,onBuffer:f,onBufferEnd:f,onEnded:f,onError:f,onDuration:f,onSeek:f,onPlaybackRateChange:f,onProgress:f,onClickPreview:f,onEnablePIP:f,onDisablePIP:f};t.propTypes=h;var m=function(){},g={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:m},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0"},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onPlaybackRateChange:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m};t.defaultProps=g},38045:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.parseStartTime=function(e){return f(e,l)},t.parseEndTime=function(e){return f(e,c)},t.randomString=function(){return Math.random().toString(36).substr(2,5)},t.queryString=function(e){return Object.keys(e).map((function(t){return"".concat(t,"=").concat(e[t])})).join("&")},t.getSDK=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){return!0},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:r.default,a=p(t);if(a&&o(a))return Promise.resolve(a);return new Promise((function(r,o){if(h[e])h[e].push({resolve:r,reject:o});else{h[e]=[{resolve:r,reject:o}];var a=function(t){h[e].forEach((function(e){return e.resolve(t)}))};if(n){var s=window[n];window[n]=function(){s&&s(),a(p(t))}}i(e,(function(r){r?(h[e].forEach((function(e){return e.reject(r)})),h[e]=null):n||a(p(t))}))}}))},t.getConfig=function(e,t){return(0,o.default)(t.config,e.config)},t.omit=function(e){for(var t,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];for(var i=(t=[]).concat.apply(t,r),a={},s=Object.keys(e),l=0,c=s;l<c.length;l++){var u=c[l];-1===i.indexOf(u)&&(a[u]=e[u])}return a},t.callPlayer=function(e){var t;if(!this.player||!this.player[e]){var n="ReactPlayer: ".concat(this.constructor.displayName," player could not call %c").concat(e,"%c – ");return this.player?this.player[e]||(n+="The method was not available"):n+="The player was not available",console.warn(n,"font-weight: bold",""),null}for(var r=arguments.length,o=new Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];return(t=this.player)[e].apply(t,o)},t.isMediaStream=function(e){return"undefined"!=typeof window&&void 0!==window.MediaStream&&e instanceof window.MediaStream},t.isBlobUrl=function(e){return/^blob:/.test(e)},t.supportsWebKitPresentationMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.createElement("video"),t=!1===/iPhone|iPod/.test(navigator.userAgent);return e.webkitSupportsPresentationMode&&"function"==typeof e.webkitSetPresentationMode&&t};var r=i(n(49090)),o=i(n(9996));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(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 s(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 s(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 l=/[?&#](?:start|t)=([0-9hms]+)/,c=/[?&#]end=([0-9hms]+)/,u=/(\d+)(h|m|s)/g,d=/^\d+$/;function f(e,t){if(!(e instanceof Array)){var n=e.match(t);if(n){var r=n[1];if(r.match(u))return function(e){var t=0,n=u.exec(e);for(;null!==n;){var r=a(n,3),o=r[1],i=r[2];"h"===i&&(t+=60*parseInt(o,10)*60),"m"===i&&(t+=60*parseInt(o,10)),"s"===i&&(t+=parseInt(o,10)),n=u.exec(e)}return t}(r);if(d.test(r))return parseInt(r)}}}function p(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}var h={}},81385:function(e,t,n){"use strict";n.d(t,{C8:function(){return c},ZP:function(){return d},mq:function(){return u}});var r=n(94578),o=n(97326),i=n(4942),a=n(67294),s=n(88740),l=n.n(s),c=l()(),u=l()(),d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return t=e.call.apply(e,[this].concat(r))||this,(0,i.Z)((0,o.Z)((0,o.Z)(t)),"referenceNode",void 0),(0,i.Z)((0,o.Z)((0,o.Z)(t)),"setReferenceNode",(function(e){e&&t.referenceNode!==e&&(t.referenceNode=e,t.forceUpdate())})),t}(0,r.Z)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.referenceNode=null},n.render=function(){return a.createElement(c.Provider,{value:this.referenceNode},a.createElement(u.Provider,{value:this.setReferenceNode},this.props.children))},t}(a.Component)},74688:function(e,t,n){"use strict";n.d(t,{Ct:function(){return v},ZP:function(){return b}});var r=n(63366),o=n(87462),i=n(94578),a=n(97326),s=n(4942),l=n(10251),c=n.n(l),u=n(67294),d=n(28981),f=n(81385),p=n(67139),h={position:"absolute",top:0,left:0,opacity:0,pointerEvents:"none"},m={},g=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return t=e.call.apply(e,[this].concat(r))||this,(0,s.Z)((0,a.Z)((0,a.Z)(t)),"state",{data:void 0,placement:void 0}),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"popperInstance",void 0),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"popperNode",null),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"arrowNode",null),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"setPopperNode",(function(e){e&&t.popperNode!==e&&((0,p.k$)(t.props.innerRef,e),t.popperNode=e,t.updatePopperInstance())})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"setArrowNode",(function(e){t.arrowNode=e})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"updateStateModifier",{enabled:!0,order:900,fn:function(e){var n=e.placement;return t.setState({data:e,placement:n}),e}}),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"getOptions",(function(){return{placement:t.props.placement,eventsEnabled:t.props.eventsEnabled,positionFixed:t.props.positionFixed,modifiers:(0,o.Z)({},t.props.modifiers,{arrow:(0,o.Z)({},t.props.modifiers&&t.props.modifiers.arrow,{enabled:!!t.arrowNode,element:t.arrowNode}),applyStyle:{enabled:!1},updateStateModifier:t.updateStateModifier})}})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"getPopperStyle",(function(){return t.popperNode&&t.state.data?(0,o.Z)({position:t.state.data.offsets.popper.position},t.state.data.styles):h})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"getPopperPlacement",(function(){return t.state.data?t.state.placement:void 0})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"getArrowStyle",(function(){return t.arrowNode&&t.state.data?t.state.data.arrowStyles:m})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"getOutOfBoundariesState",(function(){return t.state.data?t.state.data.hide:void 0})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"destroyPopperInstance",(function(){t.popperInstance&&(t.popperInstance.destroy(),t.popperInstance=null)})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"updatePopperInstance",(function(){t.destroyPopperInstance();var e=(0,a.Z)((0,a.Z)(t)).popperNode,n=t.props.referenceElement;n&&e&&(t.popperInstance=new d.default(n,e,t.getOptions()))})),(0,s.Z)((0,a.Z)((0,a.Z)(t)),"scheduleUpdate",(function(){t.popperInstance&&t.popperInstance.scheduleUpdate()})),t}(0,i.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){this.props.placement===e.placement&&this.props.referenceElement===e.referenceElement&&this.props.positionFixed===e.positionFixed&&c()(this.props.modifiers,e.modifiers,{strict:!0})?this.props.eventsEnabled!==e.eventsEnabled&&this.popperInstance&&(this.props.eventsEnabled?this.popperInstance.enableEventListeners():this.popperInstance.disableEventListeners()):this.updatePopperInstance(),t.placement!==this.state.placement&&this.scheduleUpdate()},n.componentWillUnmount=function(){(0,p.k$)(this.props.innerRef,null),this.destroyPopperInstance()},n.render=function(){return(0,p.$p)(this.props.children)({ref:this.setPopperNode,style:this.getPopperStyle(),placement:this.getPopperPlacement(),outOfBoundaries:this.getOutOfBoundariesState(),scheduleUpdate:this.scheduleUpdate,arrowProps:{ref:this.setArrowNode,style:this.getArrowStyle()}})},t}(u.Component);(0,s.Z)(g,"defaultProps",{placement:"bottom",eventsEnabled:!0,referenceElement:void 0,positionFixed:!1});var v=d.default.placements;function b(e){var t=e.referenceElement,n=(0,r.Z)(e,["referenceElement"]);return u.createElement(f.C8.Consumer,null,(function(e){return u.createElement(g,(0,o.Z)({referenceElement:void 0!==t?t:e},n))}))}},63351:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(94578),i=n(97326),a=n(4942),s=n(67294),l=n(42473),c=n.n(l),u=n(81385),d=n(67139),f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t=e.call.apply(e,[this].concat(r))||this,(0,a.Z)((0,i.Z)((0,i.Z)(t)),"refHandler",(function(e){(0,d.k$)(t.props.innerRef,e),(0,d.DL)(t.props.setReferenceNode,e)})),t}(0,o.Z)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){(0,d.k$)(this.props.innerRef,null)},n.render=function(){return c()(Boolean(this.props.setReferenceNode),"`Reference` should not be used outside of a `Manager` component."),(0,d.$p)(this.props.children)({ref:this.refHandler})},t}(s.Component);function p(e){return s.createElement(u.mq.Consumer,null,(function(t){return s.createElement(f,(0,r.Z)({setReferenceNode:t},e))}))}},61203:function(e,t,n){"use strict";n.r(t),n.d(t,{Manager:function(){return o.ZP},Popper:function(){return r.ZP},Reference:function(){return i.Z},placements:function(){return r.Ct}});var r=n(74688),o=n(81385),i=n(63351)},67139:function(e,t,n){"use strict";n.d(t,{$p:function(){return r},DL:function(){return o},k$:function(){return i}});var r=function(e){return Array.isArray(e)?e[0]:e},o=function(e){if("function"==typeof 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 e.apply(void 0,n)}},i=function(e,t){if("function"==typeof e)return o(e,t);null!=e&&(e.current=t)}},66494:function(e,t){"use strict";var n=function(e,t,n,r){return"boolean"==typeof e?e:"function"==typeof e?e(t,n,r):!(!0!=!!e||!e)},r=function(e,t){return Object.hasOwnProperty.call(e,t)},o=function(e,t,n,r){return r?new Error(r):new Error("Required "+e[t]+" `"+t+"` was not specified in `"+n+"`.")};t.Z=function(e,t,i){return function(e,t){if("function"!=typeof e)throw new TypeError("The typeValidator argument must be a function with the signature function(props, propName, componentName).");if(t&&"string"!=typeof t)throw new TypeError("The error message is optional, but must be a string if provided.")}(e,i),function(a,s,l){for(var c=arguments.length,u=Array(3<c?c-3:0),d=3;d<c;d++)u[d-3]=arguments[d];return n(t,a,s,l)?r(a,s)?e.apply(void 0,[a,s,l].concat(u)):o(a,s,l,i):e.apply(void 0,[a,s,l].concat(u))}}},71167:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)},a=this&&this.__spreadArrays||function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},l=s(n(67294)),c=s(n(73935)),u=s(n(18446)),d=s(n(76095)),f=function(e){function t(t){var n=e.call(this,t)||this;n.dirtyProps=["modules","formats","bounds","theme","children"],n.cleanProps=["id","className","style","placeholder","tabIndex","onChange","onChangeSelection","onFocus","onBlur","onKeyPress","onKeyDown","onKeyUp"],n.state={generation:0},n.selection=null,n.onEditorChange=function(e,t,r,o){var i,a,s,l;"text-change"===e?null===(a=(i=n).onEditorChangeText)||void 0===a||a.call(i,n.editor.root.innerHTML,t,o,n.unprivilegedEditor):"selection-change"===e&&(null===(l=(s=n).onEditorChangeSelection)||void 0===l||l.call(s,t,o,n.unprivilegedEditor))};var r=n.isControlled()?t.value:t.defaultValue;return n.value=null!=r?r:"",n}return o(t,e),t.prototype.validateProps=function(e){var t;if(l.default.Children.count(e.children)>1)throw new Error("The Quill editing area can only be composed of a single React element.");if(l.default.Children.count(e.children)&&"textarea"===(null===(t=l.default.Children.only(e.children))||void 0===t?void 0:t.type))throw new Error("Quill does not support editing on a <textarea>. Use a <div> instead.");if(this.lastDeltaChangeSet&&e.value===this.lastDeltaChangeSet)throw new Error("You are passing the `delta` object from the `onChange` event back as `value`. You most probably want `editor.getContents()` instead. See: https://github.com/zenoamaro/react-quill#using-deltas")},t.prototype.shouldComponentUpdate=function(e,t){var n,r=this;if(this.validateProps(e),!this.editor||this.state.generation!==t.generation)return!0;if("value"in e){var o=this.getEditorContents(),i=null!=(n=e.value)?n:"";this.isEqualValue(i,o)||this.setEditorContents(this.editor,i)}return e.readOnly!==this.props.readOnly&&this.setEditorReadOnly(this.editor,e.readOnly),a(this.cleanProps,this.dirtyProps).some((function(t){return!u.default(e[t],r.props[t])}))},t.prototype.shouldComponentRegenerate=function(e){var t=this;return this.dirtyProps.some((function(n){return!u.default(e[n],t.props[n])}))},t.prototype.componentDidMount=function(){this.instantiateEditor(),this.setEditorContents(this.editor,this.getEditorContents())},t.prototype.componentWillUnmount=function(){this.destroyEditor()},t.prototype.componentDidUpdate=function(e,t){var n=this;if(this.editor&&this.shouldComponentRegenerate(e)){var r=this.editor.getContents(),o=this.editor.getSelection();this.regenerationSnapshot={delta:r,selection:o},this.setState({generation:this.state.generation+1}),this.destroyEditor()}if(this.state.generation!==t.generation){var i=this.regenerationSnapshot,a=(r=i.delta,i.selection);delete this.regenerationSnapshot,this.instantiateEditor();var s=this.editor;s.setContents(r),p((function(){return n.setEditorSelection(s,a)}))}},t.prototype.instantiateEditor=function(){this.editor?this.hookEditor(this.editor):this.editor=this.createEditor(this.getEditingArea(),this.getEditorConfig())},t.prototype.destroyEditor=function(){this.editor&&this.unhookEditor(this.editor)},t.prototype.isControlled=function(){return"value"in this.props},t.prototype.getEditorConfig=function(){return{bounds:this.props.bounds,formats:this.props.formats,modules:this.props.modules,placeholder:this.props.placeholder,readOnly:this.props.readOnly,scrollingContainer:this.props.scrollingContainer,tabIndex:this.props.tabIndex,theme:this.props.theme}},t.prototype.getEditor=function(){if(!this.editor)throw new Error("Accessing non-instantiated editor");return this.editor},t.prototype.createEditor=function(e,t){var n=new d.default(e,t);return null!=t.tabIndex&&this.setEditorTabIndex(n,t.tabIndex),this.hookEditor(n),n},t.prototype.hookEditor=function(e){this.unprivilegedEditor=this.makeUnprivilegedEditor(e),e.on("editor-change",this.onEditorChange)},t.prototype.unhookEditor=function(e){e.off("editor-change",this.onEditorChange)},t.prototype.getEditorContents=function(){return this.value},t.prototype.getEditorSelection=function(){return this.selection},t.prototype.isDelta=function(e){return e&&e.ops},t.prototype.isEqualValue=function(e,t){return this.isDelta(e)&&this.isDelta(t)?u.default(e.ops,t.ops):u.default(e,t)},t.prototype.setEditorContents=function(e,t){var n=this;this.value=t;var r=this.getEditorSelection();"string"==typeof t?e.setContents(e.clipboard.convert(t)):e.setContents(t),p((function(){return n.setEditorSelection(e,r)}))},t.prototype.setEditorSelection=function(e,t){if(this.selection=t,t){var n=e.getLength();t.index=Math.max(0,Math.min(t.index,n-1)),t.length=Math.max(0,Math.min(t.length,n-1-t.index)),e.setSelection(t)}},t.prototype.setEditorTabIndex=function(e,t){var n,r;(null===(r=null===(n=e)||void 0===n?void 0:n.scroll)||void 0===r?void 0:r.domNode)&&(e.scroll.domNode.tabIndex=t)},t.prototype.setEditorReadOnly=function(e,t){t?e.disable():e.enable()},t.prototype.makeUnprivilegedEditor=function(e){var t=e;return{getHTML:function(){return t.root.innerHTML},getLength:t.getLength.bind(t),getText:t.getText.bind(t),getContents:t.getContents.bind(t),getSelection:t.getSelection.bind(t),getBounds:t.getBounds.bind(t)}},t.prototype.getEditingArea=function(){if(!this.editingArea)throw new Error("Instantiating on missing editing area");var e=c.default.findDOMNode(this.editingArea);if(!e)throw new Error("Cannot find element for editing area");if(3===e.nodeType)throw new Error("Editing area cannot be a text node");return e},t.prototype.renderEditingArea=function(){var e=this,t=this.props,n=t.children,r=t.preserveWhitespace,o={key:this.state.generation,ref:function(t){e.editingArea=t}};return l.default.Children.count(n)?l.default.cloneElement(l.default.Children.only(n),o):r?l.default.createElement("pre",i({},o)):l.default.createElement("div",i({},o))},t.prototype.render=function(){var e;return l.default.createElement("div",{id:this.props.id,style:this.props.style,key:this.state.generation,className:"quill "+(e=this.props.className,null!=e?e:""),onKeyPress:this.props.onKeyPress,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp},this.renderEditingArea())},t.prototype.onEditorChangeText=function(e,t,n,r){var o,i;if(this.editor){var a=this.isDelta(this.value)?r.getContents():r.getHTML();a!==this.getEditorContents()&&(this.lastDeltaChangeSet=t,this.value=a,null===(i=(o=this.props).onChange)||void 0===i||i.call(o,e,t,n,r))}},t.prototype.onEditorChangeSelection=function(e,t,n){var r,o,i,a,s,l;if(this.editor){var c=this.getEditorSelection(),d=!c&&e,f=c&&!e;u.default(e,c)||(this.selection=e,null===(o=(r=this.props).onChangeSelection)||void 0===o||o.call(r,e,t,n),d?null===(a=(i=this.props).onFocus)||void 0===a||a.call(i,e,t,n):f&&(null===(l=(s=this.props).onBlur)||void 0===l||l.call(s,c,t,n)))}},t.prototype.focus=function(){this.editor&&this.editor.focus()},t.prototype.blur=function(){this.editor&&(this.selection=null,this.editor.blur())},t.displayName="React Quill",t.Quill=d.default,t.defaultProps={theme:"snow",modules:{},readOnly:!1},t}(l.default.Component);function p(e){Promise.resolve().then(e)}e.exports=f},73727:function(e,t,n){"use strict";n.d(t,{OL:function(){return y},VK:function(){return u},rU:function(){return g}});var r=n(16550),o=n(94578),i=n(67294),a=n(42358),s=n(87462),l=n(63366),c=n(38776),u=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).history=(0,a.lX)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return i.createElement(r.F0,{history:this.history,children:this.props.children})},t}(i.Component);i.Component;var d=function(e,t){return"function"==typeof e?e(t):e},f=function(e,t){return"string"==typeof e?(0,a.ob)(e,null,null,t):e},p=function(e){return e},h=i.forwardRef;void 0===h&&(h=p);var m=h((function(e,t){var n=e.innerRef,r=e.navigate,o=e.onClick,a=(0,l.Z)(e,["innerRef","navigate","onClick"]),c=a.target,u=(0,s.Z)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||c&&"_self"!==c||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),r())}});return u.ref=p!==h&&t||n,i.createElement("a",u)}));var g=h((function(e,t){var n=e.component,o=void 0===n?m:n,u=e.replace,g=e.to,v=e.innerRef,b=(0,l.Z)(e,["component","replace","to","innerRef"]);return i.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=e.history,r=f(d(g,e.location),e.location),l=r?n.createHref(r):"",m=(0,s.Z)({},b,{href:l,navigate:function(){var t=d(g,e.location),r=(0,a.Ep)(e.location)===(0,a.Ep)(f(t));(u||r?n.replace:n.push)(t)}});return p!==h?m.ref=t||v:m.innerRef=v,i.createElement(o,m)}))})),v=function(e){return e},b=i.forwardRef;void 0===b&&(b=v);var y=b((function(e,t){var n=e["aria-current"],o=void 0===n?"page":n,a=e.activeClassName,u=void 0===a?"active":a,p=e.activeStyle,h=e.className,m=e.exact,y=e.isActive,A=e.location,x=e.sensitive,C=e.strict,_=e.style,w=e.to,k=e.innerRef,S=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(r.s6.Consumer,null,(function(e){e||(0,c.Z)(!1);var n=A||e.location,a=f(d(w,n),n),l=a.pathname,E=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),B=E?(0,r.LX)(n.pathname,{path:E,exact:m,sensitive:x,strict:C}):null,O=!!(y?y(B,n):B),j="function"==typeof h?h(O):h,T="function"==typeof _?_(O):_;O&&(j=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).join(" ")}(j,u),T=(0,s.Z)({},T,p));var P=(0,s.Z)({"aria-current":O&&o||null,className:j,style:T,to:a},S);return v!==b?P.ref=t||k:P.innerRef=k,i.createElement(g,P)}))}))},16550:function(e,t,n){"use strict";n.d(t,{AW:function(){return T},EN:function(){return N},F0:function(){return C},LX:function(){return j},TH:function(){return q},UO:function(){return U},k6:function(){return z},l_:function(){return E},rs:function(){return I},s6:function(){return x}});var r=n(94578),o=n(67294),i=n(45697),a=n.n(i),s=n(42358),l=n(38776),c=n(87462),u=n(14779),d=n.n(u),f=(n(59864),n(63366)),p=n(8679),h=n.n(p),m=1073741823,g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:{};function v(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(n,r){e=n,t.forEach((function(t){return t(e,r)}))}}}var b=o.createContext||function(e,t){var n,i,s="__create-react-context-"+function(){var e="__global_unique_id__";return g[e]=(g[e]||0)+1}()+"__",l=function(e){function n(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).emitter=v(t.props.value),t}(0,r.Z)(n,e);var o=n.prototype;return o.getChildContext=function(){var e;return(e={})[s]=this.emitter,e},o.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var n,r=this.props.value,o=e.value;!function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}(r,o)?(n="function"==typeof t?t(r,o):m,0!==(n|=0)&&this.emitter.set(e.value,n)):n=0}},o.render=function(){return this.props.children},n}(o.Component);l.childContextTypes=((n={})[s]=a().object.isRequired,n);var c=function(t){function n(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(e=t.call.apply(t,[this].concat(r))||this).observedBits=void 0,e.state={value:e.getValue()},e.onUpdate=function(t,n){0!=((0|e.observedBits)&n)&&e.setState({value:e.getValue()})},e}(0,r.Z)(n,t);var o=n.prototype;return o.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?m:t},o.componentDidMount=function(){this.context[s]&&this.context[s].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?m:e},o.componentWillUnmount=function(){this.context[s]&&this.context[s].off(this.onUpdate)},o.getValue=function(){return this.context[s]?this.context[s].get():e},o.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},n}(o.Component);return c.contextTypes=((i={})[s]=a().object,i),{Provider:l,Consumer:c}},y=function(e){var t=b();return t.displayName=e,t},A=y("Router-History"),x=y("Router"),C=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={location:t.history.location},n._isMounted=!1,n._pendingLocation=null,t.staticContext||(n.unlisten=t.history.listen((function(e){n._pendingLocation=e}))),n}(0,r.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var n=t.prototype;return n.componentDidMount=function(){var e=this;this._isMounted=!0,this.unlisten&&this.unlisten(),this.props.staticContext||(this.unlisten=this.props.history.listen((function(t){e._isMounted&&e.setState({location:t})}))),this._pendingLocation&&this.setState({location:this._pendingLocation})},n.componentWillUnmount=function(){this.unlisten&&(this.unlisten(),this._isMounted=!1,this._pendingLocation=null)},n.render=function(){return o.createElement(x.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(A.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;var _=function(e){function t(){return e.apply(this,arguments)||this}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},n.componentDidUpdate=function(e){this.props.onUpdate&&this.props.onUpdate.call(this,this,e)},n.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},n.render=function(){return null},t}(o.Component);var w={},k=0;function S(e,t){return void 0===e&&(e="/"),void 0===t&&(t={}),"/"===e?e:function(e){if(w[e])return w[e];var t=d().compile(e);return k<1e4&&(w[e]=t,k++),t}(e)(t,{pretty:!0})}function E(e){var t=e.computedMatch,n=e.to,r=e.push,i=void 0!==r&&r;return o.createElement(x.Consumer,null,(function(e){e||(0,l.Z)(!1);var r=e.history,a=e.staticContext,u=i?r.push:r.replace,d=(0,s.ob)(t?"string"==typeof n?S(n,t.params):(0,c.Z)({},n,{pathname:S(n.pathname,t.params)}):n);return a?(u(d),null):o.createElement(_,{onMount:function(){u(d)},onUpdate:function(e,t){var n=(0,s.ob)(t.to);(0,s.Hp)(n,(0,c.Z)({},d,{key:n.key}))||u(d)},to:n})}))}var B={},O=0;function j(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var n=t,r=n.path,o=n.exact,i=void 0!==o&&o,a=n.strict,s=void 0!==a&&a,l=n.sensitive,c=void 0!==l&&l;return[].concat(r).reduce((function(t,n){if(!n&&""!==n)return null;if(t)return t;var r=function(e,t){var n=""+t.end+t.strict+t.sensitive,r=B[n]||(B[n]={});if(r[e])return r[e];var o=[],i={regexp:d()(e,o,t),keys:o};return O<1e4&&(r[e]=i,O++),i}(n,{end:i,strict:s,sensitive:c}),o=r.regexp,a=r.keys,l=o.exec(e);if(!l)return null;var u=l[0],f=l.slice(1),p=e===u;return i&&!p?null:{path:n,url:"/"===n&&""===u?"/":u,isExact:p,params:a.reduce((function(e,t,n){return e[t.name]=f[n],e}),{})}}),null)}var T=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(x.Consumer,null,(function(t){t||(0,l.Z)(!1);var n=e.props.location||t.location,r=e.props.computedMatch?e.props.computedMatch:e.props.path?j(n.pathname,e.props):t.match,i=(0,c.Z)({},t,{location:n,match:r}),a=e.props,s=a.children,u=a.component,d=a.render;return Array.isArray(s)&&function(e){return 0===o.Children.count(e)}(s)&&(s=null),o.createElement(x.Provider,{value:i},i.match?s?"function"==typeof s?s(i):s:u?o.createElement(u,i):d?d(i):null:"function"==typeof s?s(i):null)}))},t}(o.Component);function P(e){return"/"===e.charAt(0)?e:"/"+e}function M(e,t){if(!e)return t;var n=P(e);return 0!==t.pathname.indexOf(n)?t:(0,c.Z)({},t,{pathname:t.pathname.substr(n.length)})}function D(e){return"string"==typeof e?e:(0,s.Ep)(e)}function R(e){return function(){(0,l.Z)(!1)}}function L(){}o.Component;var I=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(x.Consumer,null,(function(t){t||(0,l.Z)(!1);var n,r,i=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==r&&o.isValidElement(e)){n=e;var a=e.props.path||e.props.from;r=a?j(i.pathname,(0,c.Z)({},e.props,{path:a})):t.match}})),r?o.cloneElement(n,{location:i,computedMatch:r}):null}))},t}(o.Component);function N(e){var t="withRouter("+(e.displayName||e.name)+")",n=function(t){var n=t.wrappedComponentRef,r=(0,f.Z)(t,["wrappedComponentRef"]);return o.createElement(x.Consumer,null,(function(t){return t||(0,l.Z)(!1),o.createElement(e,(0,c.Z)({},r,t,{ref:n}))}))};return n.displayName=t,n.WrappedComponent=e,h()(n,e)}var F=o.useContext;function z(){return F(A)}function q(){return F(x).location}function U(){var e=F(x).match;return e?e.params:{}}},38453:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(67294),i=n(59318),a=n(65342),s=n(1413),l=n(41451),c=n(45987),u=n(91585),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},p={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 h=(0,o.forwardRef)((function(e,t){var n,f,h,m,g,v,b,y,A,x,C,_,w,k,S,E,B,O,j,T,P,M,D,R,L,I,N,F,z=(0,a.u)(e),q=(f=(n=z).allowCreateWhileLoading,h=void 0!==f&&f,m=n.createOptionPosition,g=void 0===m?"last":m,v=n.formatCreateLabel,b=void 0===v?p.formatCreateLabel:v,y=n.isValidNewOption,A=void 0===y?p.isValidNewOption:y,x=n.getNewOptionData,C=void 0===x?p.getNewOptionData:x,_=n.onCreateOption,w=n.options,k=void 0===w?[]:w,S=n.onChange,E=(0,c.Z)(n,d),B=E.getOptionValue,O=void 0===B?i.g:B,j=E.getOptionLabel,T=void 0===j?i.b:j,P=E.inputValue,M=E.isLoading,D=E.isMulti,R=E.value,L=E.name,I=(0,o.useMemo)((function(){return A(P,(0,u.I)(R),k,{getOptionValue:O,getOptionLabel:T})?C(P,b(P)):void 0}),[b,C,T,O,P,A,k,R]),N=(0,o.useMemo)((function(){return!h&&M||!I?k:"first"===g?[I].concat((0,l.Z)(k)):[].concat((0,l.Z)(k),[I])}),[h,g,M,I,k]),F=(0,o.useCallback)((function(e,t){if("select-option"!==t.action)return S(e,t);var n=Array.isArray(e)?e:[e];if(n[n.length-1]!==I)S(e,t);else if(_)_(P);else{var r=C(P,P),o={action:"create-option",name:L,option:r};S((0,u.D)(D,[].concat((0,l.Z)((0,u.I)(R)),[r]),r),o)}}),[C,P,D,L,I,_,S,R]),(0,s.Z)((0,s.Z)({},E),{},{options:N,onChange:F}));return o.createElement(i.S,(0,r.Z)({ref:t},q))}))},53577:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var r=n(87462),o=n(67294),i=n(59318),a=n(65342),s=n(4942),l=n(1413),c=n(86854),u=n(45987),d=n(91585),f=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];n(73935),n(73469);var p=(0,o.forwardRef)((function(e,t){var n=function(e){var t=e.defaultOptions,n=void 0!==t&&t,r=e.cacheOptions,i=void 0!==r&&r,a=e.loadOptions;e.options;var p=e.isLoading,h=void 0!==p&&p,m=e.onInputChange,g=e.filterOption,v=void 0===g?null:g,b=(0,u.Z)(e,f),y=b.inputValue,A=(0,o.useRef)(void 0),x=(0,o.useRef)(!1),C=(0,o.useState)(Array.isArray(n)?n:void 0),_=(0,c.Z)(C,2),w=_[0],k=_[1],S=(0,o.useState)(void 0!==y?y:""),E=(0,c.Z)(S,2),B=E[0],O=E[1],j=(0,o.useState)(!0===n),T=(0,c.Z)(j,2),P=T[0],M=T[1],D=(0,o.useState)(void 0),R=(0,c.Z)(D,2),L=R[0],I=R[1],N=(0,o.useState)([]),F=(0,c.Z)(N,2),z=F[0],q=F[1],U=(0,o.useState)(!1),H=(0,c.Z)(U,2),W=H[0],V=H[1],Y=(0,o.useState)({}),Z=(0,c.Z)(Y,2),G=Z[0],K=Z[1],$=(0,o.useState)(void 0),X=(0,c.Z)($,2),Q=X[0],J=X[1],ee=(0,o.useState)(void 0),te=(0,c.Z)(ee,2),ne=te[0],re=te[1];i!==ne&&(K({}),re(i)),n!==Q&&(k(Array.isArray(n)?n:void 0),J(n)),(0,o.useEffect)((function(){return x.current=!0,function(){x.current=!1}}),[]);var oe=(0,o.useCallback)((function(e,t){if(!a)return t();var n=a(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[a]);(0,o.useEffect)((function(){!0===n&&oe(B,(function(e){x.current&&(k(e||[]),M(!!A.current))}))}),[]);var ie=(0,o.useCallback)((function(e,t){var n=(0,d.L)(e,t,m);if(!n)return A.current=void 0,O(""),I(""),q([]),M(!1),void V(!1);if(i&&G[n])O(n),I(n),q(G[n]),M(!1),V(!1);else{var r=A.current={};O(n),M(!0),V(!L),oe(n,(function(e){x&&r===A.current&&(A.current=void 0,M(!1),I(n),q(e||[]),V(!1),K(e?(0,l.Z)((0,l.Z)({},G),{},(0,s.Z)({},n,e)):G))}))}}),[i,oe,L,G,m]),ae=W?[]:B&&L?z:w||[];return(0,l.Z)((0,l.Z)({},b),{},{options:ae,isLoading:P||h,onInputChange:ie,filterOption:v})}(e),p=(0,a.u)(n);return o.createElement(i.S,(0,r.Z)({ref:t},p))}))},59318:function(e,t,n){"use strict";n.d(t,{S:function(){return ce},b:function(){return Y},g:function(){return Z}});var r=n(87462),o=n(1413),i=n(15671),a=n(43144),s=n(60136),l=n(61120);function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}var u=n(82963);var d=n(41451),f=n(67294),p=n(91585),h=n(33500),m=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function g(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||m(r)&&m(o)))return!1;var r,o;return!0}var v=n(45987);for(var b={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"},y=function(e){return(0,h.tZ)("span",(0,r.Z)({css:b},e))},A={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,l=e.isSelected,c=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(c(a,n),".");if("menu"===t){var u=s?" disabled":"",d="".concat(l?"selected":"focused").concat(u);return"option ".concat(i," ").concat(d,", ").concat(c(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},x=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,a=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=l.ariaLiveMessages,d=l.getOptionLabel,p=l.inputValue,m=l.isMulti,g=l.isOptionDisabled,v=l.isSearchable,b=l.menuIsOpen,x=l.options,C=l.screenReaderStatus,_=l.tabSelectsValue,w=l["aria-label"],k=l["aria-live"],S=(0,f.useMemo)((function(){return(0,o.Z)((0,o.Z)({},A),u||{})}),[u]),E=(0,f.useMemo)((function(){var e,n="";if(t&&S.onChange){var r=t.option,i=t.options,a=t.removedValue,l=t.removedValues,c=t.value,u=a||r||(e=c,Array.isArray(e)?null:e),f=u?d(u):"",p=i||l||void 0,h=p?p.map(d):[],m=(0,o.Z)({isDisabled:u&&g(u,s),label:f,labels:h},t);n=S.onChange(m)}return n}),[t,S,g,s,d]),B=(0,f.useMemo)((function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&S.onFocus){var a={focused:t,label:d(t),isDisabled:g(t,s),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:s};e=S.onFocus(a)}return e}),[n,r,d,g,S,i,s]),O=(0,f.useMemo)((function(){var e="";if(b&&x.length&&S.onFilter){var t=C({count:i.length});e=S.onFilter({inputValue:p,resultsMessage:t})}return e}),[i,p,b,S,x,C]),j=(0,f.useMemo)((function(){var e="";if(S.guidance){var t=r?"value":b?"menu":"input";e=S.guidance({"aria-label":w,context:t,isDisabled:n&&g(n,s),isMulti:m,isSearchable:v,tabSelectsValue:_})}return e}),[w,n,r,m,g,v,b,S,s,_]),T="".concat(B," ").concat(O," ").concat(j),P=(0,h.tZ)(f.Fragment,null,(0,h.tZ)("span",{id:"aria-selection"},E),(0,h.tZ)("span",{id:"aria-context"},T)),M="initial-input-focus"===(null==t?void 0:t.action);return(0,h.tZ)(f.Fragment,null,(0,h.tZ)(y,{id:c},M&&P),(0,h.tZ)(y,{"aria-live":k,"aria-atomic":"false","aria-relevant":"additions text"},a&&!M&&P))},C=[{base:"A",letters:"AⒶＡÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷＢḂḄḆɃƂƁ"},{base:"C",letters:"CⒸＣĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹＤḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"ǱǄ"},{base:"Dz",letters:"ǲǅ"},{base:"E",letters:"EⒺＥÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻＦḞƑꝻ"},{base:"G",letters:"GⒼＧǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽＨĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾＩÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿＪĴɈ"},{base:"K",letters:"KⓀＫḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁＬĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"Ǉ"},{base:"Lj",letters:"ǈ"},{base:"M",letters:"MⓂＭḾṀṂⱮƜ"},{base:"N",letters:"NⓃＮǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"Ǌ"},{base:"Nj",letters:"ǋ"},{base:"O",letters:"OⓄＯÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅＰṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆＱꝖꝘɊ"},{base:"R",letters:"RⓇＲŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈＳẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉＴṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊＵÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋＶṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌＷẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍＸẊẌ"},{base:"Y",letters:"YⓎＹỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏＺŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐａẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑｂḃḅḇƀƃɓ"},{base:"c",letters:"cⓒｃćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓｄḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"ǳǆ"},{base:"e",letters:"eⓔｅèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕｆḟƒꝼ"},{base:"g",letters:"gⓖｇǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗｈĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘｉìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙｊĵǰɉ"},{base:"k",letters:"kⓚｋḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛｌŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"ǉ"},{base:"m",letters:"mⓜｍḿṁṃɱɯ"},{base:"n",letters:"nⓝｎǹńñṅňṇņṋṉƞɲŉꞑꞥ"},{base:"nj",letters:"ǌ"},{base:"o",letters:"oⓞｏòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟｐṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠｑɋꝗꝙ"},{base:"r",letters:"rⓡｒŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢｓßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣｔṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤｕùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥｖṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦｗẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧｘẋẍ"},{base:"y",letters:"yⓨｙỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩｚźẑżžẓẕƶȥɀⱬꝣ"}],_=new RegExp("["+C.map((function(e){return e.letters})).join("")+"]","g"),w={},k=0;k<C.length;k++)for(var S=C[k],E=0;E<S.letters.length;E++)w[S.letters[E]]=S.base;var B=function(e){return e.replace(_,(function(e){return w[e]}))},O=function(e,t){void 0===t&&(t=g);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}(B),j=function(e){return e.replace(/^\s+|\s+$/g,"")},T=function(e){return"".concat(e.label," ").concat(e.value)},P=["innerRef"];function M(e){var t=e.innerRef,n=(0,v.Z)(e,P),o=(0,p.r)(n,"onExited","in","enter","exit","appear");return(0,h.tZ)("input",(0,r.Z)({ref:t},o,{css:(0,h.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 D=["boxSizing","height","overflow","paddingRight","position"],R={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function L(e){e.preventDefault()}function I(e){e.stopPropagation()}function N(){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),q=0,U={capture:!1,passive:!1};var H=function(){return document.activeElement&&document.activeElement.blur()},W={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function V(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,f.useRef)(!1),s=(0,f.useRef)(!1),l=(0,f.useRef)(0),c=(0,f.useRef)(null),u=(0,f.useCallback)((function(e,t){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,f=l.clientHeight,p=c.current,h=t>0,m=d-f-u,g=!1;m>t&&a.current&&(r&&r(e),a.current=!1),h&&s.current&&(i&&i(e),s.current=!1),h&&t>m?(n&&!a.current&&n(e),p.scrollTop=d,g=!0,a.current=!0):!h&&-t>u&&(o&&!s.current&&o(e),p.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,i]),d=(0,f.useCallback)((function(e){u(e,e.deltaY)}),[u]),h=(0,f.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),m=(0,f.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;u(e,t)}),[u]),g=(0,f.useCallback)((function(e){if(e){var t=!!p.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",m,t)}}),[m,h,d]),v=(0,f.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",m,!1))}),[m,h,d]);return(0,f.useEffect)((function(){if(t){var e=c.current;return g(e),function(){v(e)}}}),[t,g,v]),function(e){c.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,f.useRef)({}),i=(0,f.useRef)(null),a=(0,f.useCallback)((function(e){if(z){var t=document.body,n=t&&t.style;if(r&&D.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&q<1){var i=parseInt(o.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+i||0;Object.keys(R).forEach((function(e){var t=R[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&F()&&(t.addEventListener("touchmove",L,U),e&&(e.addEventListener("touchstart",N,U),e.addEventListener("touchmove",I,U))),q+=1}}),[r]),s=(0,f.useCallback)((function(e){if(z){var t=document.body,n=t&&t.style;q=Math.max(q-1,0),r&&q<1&&D.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&F()&&(t.removeEventListener("touchmove",L,U),e&&(e.removeEventListener("touchstart",N,U),e.removeEventListener("touchmove",I,U)))}}),[r]);return(0,f.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,h.tZ)(f.Fragment,null,n&&(0,h.tZ)("div",{onClick:H,css:W}),t((function(e){o(e),i(e)})))}var Y=function(e){return e.label},Z=function(e){return e.value},G={clearIndicator:p.a,container:p.b,control:p.d,dropdownIndicator:p.e,group:p.g,groupHeading:p.f,indicatorsContainer:p.i,indicatorSeparator:p.h,input:p.j,loadingIndicator:p.l,loadingMessage:p.k,menu:p.m,menuList:p.n,menuPortal:p.o,multiValue:p.p,multiValueLabel:p.q,multiValueRemove:p.t,noOptionsMessage:p.u,option:p.v,placeholder:p.w,singleValue:p.x,valueContainer:p.y};var 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,p.z)(),captureMenuScroll:!(0,p.z)(),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:T,trim:!0,matchFrom:"any"},K),r=n.ignoreCase,i=n.ignoreAccents,a=n.stringify,s=n.trim,l=n.matchFrom,c=s?j(t):t,u=s?j(a(e)):a(e);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),i&&(c=O(c),u=B(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:Y,getOptionValue:Z,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,p.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};function Q(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 J(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return Q(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=Q(e,n,t,r);return te(e,i)?i:void 0})).filter(p.G)}function ee(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,(0,d.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;if("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},le=1,ce=function(e){(0,s.Z)(m,e);var t,n,h=(t=m,n=c(),function(){var e,r=(0,l.Z)(t);if(n){var o=(0,l.Z)(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return(0,u.Z)(this,e)});function m(e){var t;if((0,i.Z)(this,m),(t=h.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},t.blockOptionHover=!1,t.isComposing=!1,t.commonProps=void 0,t.initialTouchX=0,t.initialTouchY=0,t.instancePrefix="",t.openAfterFocus=!1,t.scrollToFocusedOptionOnUpdate=!1,t.userIsDragging=void 0,t.controlRef=null,t.getControlRef=function(e){t.controlRef=e},t.focusedOptionRef=null,t.getFocusedOptionRef=function(e){t.focusedOptionRef=e},t.menuListRef=null,t.getMenuListRef=function(e){t.menuListRef=e},t.inputRef=null,t.getInputRef=function(e){t.inputRef=e},t.focus=t.focusInput,t.blur=t.blurInput,t.onChange=function(e,n){var r=t.props,o=r.onChange,i=r.name;n.name=i,t.ariaOnChange(e,n),o(e,n)},t.setValue=function(e,n,r){var o=t.props,i=o.closeMenuOnSelect,a=o.isMulti,s=o.inputValue;t.onInputChange("",{action:"set-value",prevInputValue:s}),i&&(t.setState({inputIsHiddenAfterUpdate:!a}),t.onMenuClose()),t.setState({clearFocusValueOnUpdate:!0}),t.onChange(e,{action:n,option:r})},t.selectOption=function(e){var n=t.props,r=n.blurInputOnSelect,o=n.isMulti,i=n.name,a=t.state.selectValue,s=o&&t.isOptionSelected(e,a),l=t.isOptionDisabled(e,a);if(s){var c=t.getOptionValue(e);t.setValue((0,p.B)(a.filter((function(e){return t.getOptionValue(e)!==c}))),"deselect-option",e)}else{if(l)return void t.ariaOnChange((0,p.C)(e),{action:"select-option",option:e,name:i});o?t.setValue((0,p.B)([].concat((0,d.Z)(a),[e])),"select-option",e):t.setValue((0,p.C)(e),"select-option")}r&&t.blurInput()},t.removeValue=function(e){var n=t.props.isMulti,r=t.state.selectValue,o=t.getOptionValue(e),i=r.filter((function(e){return t.getOptionValue(e)!==o})),a=(0,p.D)(n,i,i[0]||null);t.onChange(a,{action:"remove-value",removedValue:e}),t.focusInput()},t.clearValue=function(){var e=t.state.selectValue;t.onChange((0,p.D)(t.props.isMulti,[],null),{action:"clear",removedValues:e})},t.popValue=function(){var e=t.props.isMulti,n=t.state.selectValue,r=n[n.length-1],o=n.slice(0,n.length-1),i=(0,p.D)(e,o,o[0]||null);t.onChange(i,{action:"pop-value",removedValue:r})},t.getValue=function(){return t.state.selectValue},t.cx=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return p.E.apply(void 0,[t.props.classNamePrefix].concat(n))},t.getOptionLabel=function(e){return ne(t.props,e)},t.getOptionValue=function(e){return re(t.props,e)},t.getStyles=function(e,n){var r=G[e](n);r.boxSizing="border-box";var o=t.props.styles[e];return o?o(r,n):r},t.getElementId=function(e){return"".concat(t.instancePrefix,"-").concat(e)},t.getComponents=function(){return(0,p.F)(t.props)},t.buildCategorizedOptions=function(){return J(t.props,t.state.selectValue)},t.getCategorizedOptions=function(){return t.props.menuIsOpen?t.buildCategorizedOptions():[]},t.buildFocusableOptions=function(){return ee(t.buildCategorizedOptions())},t.getFocusableOptions=function(){return t.props.menuIsOpen?t.buildFocusableOptions():[]},t.ariaOnChange=function(e,n){t.setState({ariaSelection:(0,o.Z)({value:e},n)})},t.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),t.focusInput())},t.onMenuMouseMove=function(e){t.blockOptionHover=!1},t.onControlMouseDown=function(e){if(!e.defaultPrevented){var n=t.props.openMenuOnClick;t.state.isFocused?t.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&t.onMenuClose():n&&t.openMenu("first"):(n&&(t.openAfterFocus=!0),t.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},t.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||t.props.isDisabled)){var n=t.props,r=n.isMulti,o=n.menuIsOpen;t.focusInput(),o?(t.setState({inputIsHiddenAfterUpdate:!r}),t.onMenuClose()):t.openMenu("first"),e.preventDefault()}},t.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(t.clearValue(),e.preventDefault(),t.openAfterFocus=!1,"touchend"===e.type?t.focusInput():setTimeout((function(){return t.focusInput()})))},t.onScroll=function(e){"boolean"==typeof t.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,p.H)(e.target)&&t.props.onMenuClose():"function"==typeof t.props.closeMenuOnScroll&&t.props.closeMenuOnScroll(e)&&t.props.onMenuClose()},t.onCompositionStart=function(){t.isComposing=!0},t.onCompositionEnd=function(){t.isComposing=!1},t.onTouchStart=function(e){var n=e.touches,r=n&&n.item(0);r&&(t.initialTouchX=r.clientX,t.initialTouchY=r.clientY,t.userIsDragging=!1)},t.onTouchMove=function(e){var n=e.touches,r=n&&n.item(0);if(r){var o=Math.abs(r.clientX-t.initialTouchX),i=Math.abs(r.clientY-t.initialTouchY);t.userIsDragging=o>5||i>5}},t.onTouchEnd=function(e){t.userIsDragging||(t.controlRef&&!t.controlRef.contains(e.target)&&t.menuListRef&&!t.menuListRef.contains(e.target)&&t.blurInput(),t.initialTouchX=0,t.initialTouchY=0)},t.onControlTouchEnd=function(e){t.userIsDragging||t.onControlMouseDown(e)},t.onClearIndicatorTouchEnd=function(e){t.userIsDragging||t.onClearIndicatorMouseDown(e)},t.onDropdownIndicatorTouchEnd=function(e){t.userIsDragging||t.onDropdownIndicatorMouseDown(e)},t.handleInputChange=function(e){var n=t.props.inputValue,r=e.currentTarget.value;t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange(r,{action:"input-change",prevInputValue:n}),t.props.menuIsOpen||t.onMenuOpen()},t.onInputFocus=function(e){t.props.onFocus&&t.props.onFocus(e),t.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(t.openAfterFocus||t.props.openMenuOnFocus)&&t.openMenu("first"),t.openAfterFocus=!1},t.onInputBlur=function(e){var n=t.props.inputValue;t.menuListRef&&t.menuListRef.contains(document.activeElement)?t.inputRef.focus():(t.props.onBlur&&t.props.onBlur(e),t.onInputChange("",{action:"input-blur",prevInputValue:n}),t.onMenuClose(),t.setState({focusedValue:null,isFocused:!1}))},t.onOptionHover=function(e){t.blockOptionHover||t.state.focusedOption===e||t.setState({focusedOption:e})},t.shouldHideSelectedOptions=function(){return se(t.props)},t.onKeyDown=function(e){var n=t.props,r=n.isMulti,o=n.backspaceRemovesValue,i=n.escapeClearsValue,a=n.inputValue,s=n.isClearable,l=n.isDisabled,c=n.menuIsOpen,u=n.onKeyDown,d=n.tabSelectsValue,f=n.openMenuOnFocus,p=t.state,h=p.focusedOption,m=p.focusedValue,g=p.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(t.blockOptionHover=!0,e.key){case"ArrowLeft":if(!r||a)return;t.focusValue("previous");break;case"ArrowRight":if(!r||a)return;t.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(m)t.removeValue(m);else{if(!o)return;r?t.popValue():s&&t.clearValue()}break;case"Tab":if(t.isComposing)return;if(e.shiftKey||!c||!d||!h||f&&t.isOptionSelected(h,g))return;t.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(t.isComposing)return;t.selectOption(h);break}return;case"Escape":c?(t.setState({inputIsHiddenAfterUpdate:!1}),t.onInputChange("",{action:"menu-close",prevInputValue:a}),t.onMenuClose()):s&&i&&t.clearValue();break;case" ":if(a)return;if(!c){t.openMenu("first");break}if(!h)return;t.selectOption(h);break;case"ArrowUp":c?t.focusOption("up"):t.openMenu("last");break;case"ArrowDown":c?t.focusOption("down"):t.openMenu("first");break;case"PageUp":if(!c)return;t.focusOption("pageup");break;case"PageDown":if(!c)return;t.focusOption("pagedown");break;case"Home":if(!c)return;t.focusOption("first");break;case"End":if(!c)return;t.focusOption("last");break;default:return}e.preventDefault()}},t.instancePrefix="react-select-"+(t.props.instanceId||++le),t.state.selectValue=(0,p.I)(e.value),e.menuIsOpen&&t.state.selectValue.length){var n=t.buildFocusableOptions(),r=n.indexOf(t.state.selectValue[0]);t.state.focusedOption=n[r]}return t}return(0,a.Z)(m,[{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,p.J)(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,p.J)(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($):(0,o.Z)((0,o.Z)({},$),this.props.theme):$}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getValue,o=this.selectOption,i=this.setValue,a=this.props,s=a.isMulti,l=a.isRtl,c=a.options;return{clearValue:e,cx:t,getStyles:n,getValue:r,hasValue:this.hasValue(),isMulti:s,isRtl:l,options:c,selectOption:o,selectProps:a,setValue:i,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,l=e.form,c=e.menuIsOpen,u=this.getComponents().Input,d=this.state,h=d.inputIsHidden,m=d.ariaSelection,g=this.commonProps,v=i||this.getElementId("input"),b=(0,o.Z)((0,o.Z)((0,o.Z)({"aria-autocomplete":"list","aria-expanded":c,"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"],role:"combobox"},c&&{"aria-controls":this.getElementId("listbox"),"aria-owns":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?f.createElement(u,(0,r.Z)({},g,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:a},b)):f.createElement(M,(0,r.Z)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:p.K,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,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,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,h=u.isMulti,m=u.inputValue,g=u.placeholder,v=this.state,b=v.selectValue,y=v.focusedValue,A=v.isFocused;if(!this.hasValue()||!d)return m?null:f.createElement(l,(0,r.Z)({},c,{key:"placeholder",isDisabled:p,isFocused:A,innerProps:{id:this.getElementId("placeholder")}}),g);if(h)return b.map((function(t,s){var l=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return f.createElement(n,(0,r.Z)({},c,{components:{Container:o,Label:i,Remove:a},isFocused:l,isDisabled:p,key:u,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(m)return null;var x=b[0];return f.createElement(s,(0,r.Z)({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,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 f.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 f.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 f.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 f.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,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,h=this.state.focusedOption,m=this.props,g=m.captureMenuScroll,v=m.inputValue,b=m.isLoading,y=m.loadingMessage,A=m.minMenuHeight,x=m.maxMenuHeight,C=m.menuIsOpen,_=m.menuPlacement,w=m.menuPosition,k=m.menuPortalTarget,S=m.menuShouldBlockScroll,E=m.menuShouldScrollIntoView,B=m.noOptionsMessage,O=m.onMenuScrollToTop,j=m.onMenuScrollToBottom;if(!C)return null;var T,P=function(t,n){var o=t.type,i=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,p=h===i,m=a?void 0:function(){return e.onOptionHover(i)},g=a?void 0:function(){return e.selectOption(i)},v="".concat(e.getElementId("option"),"-").concat(n),b={id:v,onClick:g,onMouseMove:m,onMouseOver:m,tabIndex:-1};return f.createElement(u,(0,r.Z)({},d,{innerProps:b,data:i,isDisabled:a,isSelected:s,key:v,label:l,type:o,value:c,isFocused:p,innerRef:p?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,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return f.createElement(n,(0,r.Z)({},d,{key:l,data:i,options:a,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return P(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return P(t,"".concat(t.index))}));else if(b){var M=y({inputValue:v});if(null===M)return null;T=f.createElement(l,d,M)}else{var D=B({inputValue:v});if(null===D)return null;T=f.createElement(c,d,D)}var R={minMenuHeight:A,maxMenuHeight:x,menuPlacement:_,menuPosition:w,menuShouldScrollIntoView:E},L=f.createElement(p.M,(0,r.Z)({},d,R),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return f.createElement(i,(0,r.Z)({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove,id:e.getElementId("listbox")},isLoading:b,placement:s}),f.createElement(V,{captureEnabled:g,onTopArrive:O,onBottomArrive:j,lockEnabled:S},(function(t){return f.createElement(a,(0,r.Z)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},isLoading:b,maxHeight:l,focusedOption:h}),T)})))}));return k||"fixed"===w?f.createElement(s,(0,r.Z)({},d,{appendTo:k,controlElement:this.controlRef,menuPlacement:_,menuPosition:w}),L):L}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,i=t.name,a=this.state.selectValue;if(i&&!r){if(o){if(n){var s=a.map((function(t){return e.getOptionValue(t)})).join(n);return f.createElement("input",{name:i,type:"hidden",value:s})}var l=a.length>0?a.map((function(t,n){return f.createElement("input",{key:"i-".concat(n),name:i,type:"hidden",value:e.getOptionValue(t)})})):f.createElement("input",{name:i,type:"hidden"});return f.createElement("div",null,l)}var c=a[0]?this.getOptionValue(a[0]):"";return f.createElement("input",{name:i,type:"hidden",value:c})}}},{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,l=this.getFocusableOptions();return f.createElement(x,(0,r.Z)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:i,isFocused:a,selectValue:s,focusableOptions:l}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,i=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return f.createElement(o,(0,r.Z)({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),f.createElement(t,(0,r.Z)({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),f.createElement(i,(0,r.Z)({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),f.createElement(n,(0,r.Z)({},p,{isDisabled:c}),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,l=t.prevWasFocused,c=e.options,u=e.value,d=e.menuIsOpen,f=e.inputValue,h=e.isMulti,m=(0,p.I)(u),g={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||f!==n.inputValue)){var v=d?function(e,t){return ee(J(e,t))}(e,m):[],b=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,m):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);g={selectValue:m,focusedOption:y,focusedValue:b,clearFocusValueOnUpdate:!1}}var A=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},x=a,C=s&&l;return s&&!C&&(x={value:(0,p.D)(h,m,m[0]||null),options:m,action:"initial-input-focus"},C=!l),"initial-input-focus"===(null==a?void 0:a.action)&&(x=null),(0,o.Z)((0,o.Z)((0,o.Z)({},g),A),{},{prevProps:e,ariaSelection:x,prevWasFocused:C})}}]),m}(f.Component);ce.defaultProps=X},91585:function(e,t,n){"use strict";n.d(t,{A:function(){return V},B:function(){return J},C:function(){return Q},D:function(){return X},E:function(){return D},F:function(){return Ke},G:function(){return $},H:function(){return N},I:function(){return R},J:function(){return H},K:function(){return P},L:function(){return I},M:function(){return ie},a:function(){return Se},b:function(){return he},c:function(){return Ge},d:function(){return Pe},e:function(){return ke},f:function(){return Re},g:function(){return De},h:function(){return Ee},i:function(){return ge},j:function(){return Ie},k:function(){return ce},l:function(){return Oe},m:function(){return re},n:function(){return ae},o:function(){return pe},p:function(){return qe},q:function(){return Ue},r:function(){return ee},s:function(){return K},t:function(){return He},u:function(){return le},v:function(){return Ve},w:function(){return Ye},x:function(){return Ze},y:function(){return me},z:function(){return W}});var r=n(1413),o=n(87462),i=n(33500);var a=n(45987),s=n(86854),l=n(71002),c=n(4942),u=n(67294),d=n(73935);Math.min,Math.max;const f=["top","right","bottom","left"];f.reduce(((e,t)=>e.concat(t,t+"-start",t+"-end")),[]);function p(e){return e&&e.document&&e.location&&e.alert&&e.setInterval}function h(e){if(null==e)return window;if(!p(e)){const t=e.ownerDocument;return t&&t.defaultView||window}return e}function m(e){return h(e).getComputedStyle(e)}function g(e){return p(e)?"":e?(e.nodeName||"").toLowerCase():""}function v(){const e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((e=>e.brand+"/"+e.version)).join(" "):navigator.userAgent}function b(e){return e instanceof h(e).HTMLElement}function y(e){return e instanceof h(e).Element}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof h(e).ShadowRoot||e instanceof ShadowRoot)}function x(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=m(e);return/auto|scroll|overlay|hidden/.test(t+r+n)&&!["inline","contents"].includes(o)}function C(){return!/^((?!chrome|android).)*safari/i.test(v())}function _(e){return["html","body","#document"].includes(g(e))}Math.min,Math.max;const w=Math.round;function k(e,t,n){var r,o,i,a;void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect();let l=1,c=1;t&&b(e)&&(l=e.offsetWidth>0&&w(s.width)/e.offsetWidth||1,c=e.offsetHeight>0&&w(s.height)/e.offsetHeight||1);const u=y(e)?h(e):window,d=!C()&&n,f=(s.left+(d&&null!=(r=null==(o=u.visualViewport)?void 0:o.offsetLeft)?r:0))/l,p=(s.top+(d&&null!=(i=null==(a=u.visualViewport)?void 0:a.offsetTop)?i:0))/c,m=s.width/l,g=s.height/c;return{width:m,height:g,top:p,right:f+m,bottom:p+g,left:f,x:f,y:p}}function S(e){return(t=e,(t instanceof h(t).Node?e.ownerDocument:e.document)||window.document).documentElement;var t}function E(e){return"html"===g(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||S(e)}function B(e){const t=E(e);return _(t)?e.ownerDocument.body:b(t)&&x(t)?t:B(t)}function O(e,t){var n;void 0===t&&(t=[]);const r=B(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),i=h(r),a=o?[i].concat(i.visualViewport||[],x(r)?r:[]):r,s=t.concat(a);return o?s:s.concat(O(a))}var j=n(73469),T=["className","clearValue","cx","getStyles","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],P=function(){};function M(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function D(e,t,n){var r=[n];if(t&&e)for(var o in t)t.hasOwnProperty(o)&&t[o]&&r.push("".concat(M(e,o)));return r.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var R=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,l.Z)(e)&&null!==e?[e]:[];var t},L=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,a.Z)(e,T);return(0,r.Z)({},t)};function I(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}function N(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function F(e){return N(e)?window.pageYOffset:e.scrollTop}function z(e,t){N(e)?window.scrollTo(0,t):e.scrollTop=t}function q(e,t,n,r){return n*((e=e/r-1)*e*e+1)+t}function U(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:P,o=F(e),i=t-o,a=10,s=0;function l(){var t=q(s+=a,o,i,n);z(e,t),s<n?window.requestAnimationFrame(l):r(e)}l()}function H(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?z(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&z(e,Math.max(t.offsetTop-o,0))}function W(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function V(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var Y=!1,Z={get passive(){return Y=!0}},G="undefined"!=typeof window?window:{};G.addEventListener&&G.removeEventListener&&(G.addEventListener("p",P,Z),G.removeEventListener("p",P,!1));var K=Y;function $(e){return null!=e}function X(e,t,n){return e?t:n}function Q(e){return e}function J(e){return e}var ee=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,s.Z)(e,1)[0];return!n.includes(t)}));return o.reduce((function(e,t){var n=(0,s.Z)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})};function te(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,i=e.shouldScroll,a=e.isFixedPosition,s=e.theme.spacing,l=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),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,f=n.getBoundingClientRect(),p=f.bottom,h=f.height,m=f.top,g=n.offsetParent.getBoundingClientRect().top,v=a?window.innerHeight:N(u=l)?window.innerHeight:u.clientHeight,b=F(l),y=parseInt(getComputedStyle(n).marginBottom,10),A=parseInt(getComputedStyle(n).marginTop,10),x=g-A,C=v-m,_=x+b,w=d-b-m,k=p-v+b+y,S=b+m-A,E=160;switch(o){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(w>=h&&!a)return i&&U(l,k,E),{placement:"bottom",maxHeight:t};if(!a&&w>=r||a&&C>=r)return i&&U(l,k,E),{placement:"bottom",maxHeight:a?C-y:w-y};if("auto"===o||a){var B=t,O=a?x:_;return O>=r&&(B=Math.min(O-y-s.controlHeight,t)),{placement:"top",maxHeight:B}}if("bottom"===o)return i&&z(l,k),{placement:"bottom",maxHeight:t};break;case"top":if(x>=h)return{placement:"top",maxHeight:t};if(_>=h&&!a)return i&&U(l,S,E),{placement:"top",maxHeight:t};if(!a&&_>=r||a&&x>=r){var j=t;return(!a&&_>=r||a&&x>=r)&&(j=a?x-A:_-A),i&&U(l,S,E),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}var ne=function(e){return"auto"===e?"bottom":e},re=function(e){var t,n=e.placement,r=e.theme,o=r.borderRadius,i=r.spacing,a=r.colors;return t={label:"menu"},(0,c.Z)(t,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(n),"100%"),(0,c.Z)(t,"backgroundColor",a.neutral0),(0,c.Z)(t,"borderRadius",o),(0,c.Z)(t,"boxShadow","0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"),(0,c.Z)(t,"marginBottom",i.menuGutter),(0,c.Z)(t,"marginTop",i.menuGutter),(0,c.Z)(t,"position","absolute"),(0,c.Z)(t,"width","100%"),(0,c.Z)(t,"zIndex",1),t},oe=(0,u.createContext)(null),ie=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,i=e.menuPlacement,a=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,d=((0,u.useContext)(oe)||{}).setPortalPlacement,f=(0,u.useRef)(null),p=(0,u.useState)(o),h=(0,s.Z)(p,2),m=h[0],g=h[1],v=(0,u.useState)(null),b=(0,s.Z)(v,2),y=b[0],A=b[1];return(0,j.Z)((function(){var e=f.current;if(e){var t="fixed"===a,r=te({maxHeight:o,menuEl:e,minHeight:n,placement:i,shouldScroll:l&&!t,isFixedPosition:t,theme:c});g(r.maxHeight),A(r.placement),null==d||d(r.placement)}}),[o,i,a,l,n,d,c]),t({ref:f,placerProps:(0,r.Z)((0,r.Z)({},e),{},{placement:y||ne(i),maxHeight:m})})},ae=function(e){var t=e.maxHeight,n=e.theme.spacing.baseUnit;return{maxHeight:t,overflowY:"auto",paddingBottom:n,paddingTop:n,position:"relative",WebkitOverflowScrolling:"touch"}},se=function(e){var t=e.theme,n=t.spacing.baseUnit;return{color:t.colors.neutral40,padding:"".concat(2*n,"px ").concat(3*n,"px"),textAlign:"center"}},le=se,ce=se,ue=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("noOptionsMessage",e),className:r({"menu-notice":!0,"menu-notice--no-options":!0},n)},s),t)};ue.defaultProps={children:"No options"};var de=function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("loadingMessage",e),className:r({"menu-notice":!0,"menu-notice--loading":!0},n)},s),t)};de.defaultProps={children:"Loading..."};var fe,pe=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}},he=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},me=function(e){var t=e.theme.spacing,n=e.isMulti,r=e.hasValue,o=e.selectProps.controlShouldRenderValue;return{alignItems:"center",display:n&&r&&o?"flex":"grid",flex:1,flexWrap:"wrap",padding:"".concat(t.baseUnit/2,"px ").concat(2*t.baseUnit,"px"),WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"}},ge=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ve=["size"];var be,ye,Ae={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},xe=function(e){var t=e.size,n=(0,a.Z)(e,ve);return(0,i.tZ)("svg",(0,o.Z)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Ae},n))},Ce=function(e){return(0,i.tZ)(xe,(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"}))},_e=function(e){return(0,i.tZ)(xe,(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"}))},we=function(e){var t=e.isFocused,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorContainer",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*r,transition:"color 150ms",":hover":{color:t?o.neutral80:o.neutral40}}},ke=we,Se=we,Ee=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing.baseUnit,o=n.colors;return{label:"indicatorSeparator",alignSelf:"stretch",backgroundColor:t?o.neutral10:o.neutral20,marginBottom:2*r,marginTop:2*r,width:1}},Be=(0,i.F4)(fe||(be=["\n  0%, 80%, 100% { opacity: 0; }\n  40% { opacity: 1; }\n"],ye||(ye=be.slice(0)),fe=Object.freeze(Object.defineProperties(be,{raw:{value:Object.freeze(ye)}})))),Oe=function(e){var t=e.isFocused,n=e.size,r=e.theme,o=r.colors,i=r.spacing.baseUnit;return{label:"loadingIndicator",color:t?o.neutral60:o.neutral20,display:"flex",padding:2*i,transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"}},je=function(e){var t=e.delay,n=e.offset;return(0,i.tZ)("span",{css:(0,i.iv)({animation:"".concat(Be," 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"},"","")})},Te=function(e){var t=e.className,n=e.cx,r=e.getStyles,a=e.innerProps,s=e.isRtl;return(0,i.tZ)("div",(0,o.Z)({css:r("loadingIndicator",e),className:n({indicator:!0,"loading-indicator":!0},t)},a),(0,i.tZ)(je,{delay:0,offset:s}),(0,i.tZ)(je,{delay:160,offset:!0}),(0,i.tZ)(je,{delay:320,offset:!s}))};Te.defaultProps={size:4};var Pe=function(e){var t=e.isDisabled,n=e.isFocused,r=e.theme,o=r.colors,i=r.borderRadius,a=r.spacing;return{label:"control",alignItems:"center",backgroundColor:t?o.neutral5:o.neutral0,borderColor:t?o.neutral10:n?o.primary:o.neutral20,borderRadius:i,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(o.primary):void 0,cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms","&:hover":{borderColor:n?o.primary:o.neutral30}}},Me=["data"],De=function(e){var t=e.theme.spacing;return{paddingBottom:2*t.baseUnit,paddingTop:2*t.baseUnit}},Re=function(e){var t=e.theme.spacing;return{label:"group",color:"#999",cursor:"default",display:"block",fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*t.baseUnit,paddingRight:3*t.baseUnit,textTransform:"uppercase"}},Le=["innerRef","isDisabled","isHidden","inputClassName"],Ie=function(e){var t=e.isDisabled,n=e.value,o=e.theme,i=o.spacing,a=o.colors;return(0,r.Z)({margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,visibility:t?"hidden":"visible",color:a.neutral80,transform:n?"translateZ(0)":""},Fe)},Ne={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Fe={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"},Ne)},ze=function(e){return(0,r.Z)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ne)},qe=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius;return{label:"multiValue",backgroundColor:t.colors.neutral10,borderRadius:r/2,display:"flex",margin:n.baseUnit/2,minWidth:0}},Ue=function(e){var t=e.theme,n=t.borderRadius,r=t.colors,o=e.cropWithEllipsis;return{borderRadius:n/2,color:r.neutral80,fontSize:"85%",overflow:"hidden",padding:3,paddingLeft:6,textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"}},He=function(e){var t=e.theme,n=t.spacing,r=t.borderRadius,o=t.colors;return{alignItems:"center",borderRadius:r/2,backgroundColor:e.isFocused?o.dangerLight:void 0,display:"flex",paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}}},We=function(e){var t=e.children,n=e.innerProps;return(0,i.tZ)("div",n,t)};var Ve=function(e){var t=e.isDisabled,n=e.isFocused,r=e.isSelected,o=e.theme,i=o.spacing,a=o.colors;return{label:"option",backgroundColor:r?a.primary:n?a.primary25:"transparent",color:t?a.neutral20:r?a.neutral0:"inherit",cursor:"default",display:"block",fontSize:"inherit",padding:"".concat(2*i.baseUnit,"px ").concat(3*i.baseUnit,"px"),width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",":active":{backgroundColor:t?void 0:r?a.primary:a.primary50}}},Ye=function(e){var t=e.theme,n=t.spacing;return{label:"placeholder",color:t.colors.neutral50,gridArea:"1 / 1 / 2 / 3",marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2}},Ze=function(e){var t=e.isDisabled,n=e.theme,r=n.spacing,o=n.colors;return{label:"singleValue",color:t?o.neutral40:o.neutral80,gridArea:"1 / 1 / 2 / 3",marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2,maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},Ge={ClearIndicator:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("clearIndicator",e),className:r({indicator:!0,"clear-indicator":!0},n)},s),t||(0,i.tZ)(Ce,null))},Control:function(e){var t=e.children,n=e.cx,r=e.getStyles,a=e.className,s=e.isDisabled,l=e.isFocused,c=e.innerRef,u=e.innerProps,d=e.menuIsOpen;return(0,i.tZ)("div",(0,o.Z)({ref:c,css:r("control",e),className:n({control:!0,"control--is-disabled":s,"control--is-focused":l,"control--menu-is-open":d},a)},u),t)},DropdownIndicator:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("dropdownIndicator",e),className:r({indicator:!0,"dropdown-indicator":!0},n)},s),t||(0,i.tZ)(_e,null))},DownChevron:_e,CrossIcon:Ce,Group:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.Heading,l=e.headingProps,c=e.innerProps,u=e.label,d=e.theme,f=e.selectProps;return(0,i.tZ)("div",(0,o.Z)({css:a("group",e),className:r({group:!0},n)},c),(0,i.tZ)(s,(0,o.Z)({},l,{selectProps:f,theme:d,getStyles:a,cx:r}),u),(0,i.tZ)("div",null,t))},GroupHeading:function(e){var t=e.getStyles,n=e.cx,r=e.className,s=L(e);s.data;var l=(0,a.Z)(s,Me);return(0,i.tZ)("div",(0,o.Z)({css:t("groupHeading",e),className:n({"group-heading":!0},r)},l))},IndicatorsContainer:function(e){var t=e.children,n=e.className,r=e.cx,a=e.innerProps,s=e.getStyles;return(0,i.tZ)("div",(0,o.Z)({css:s("indicatorsContainer",e),className:r({indicators:!0},n)},a),t)},IndicatorSeparator:function(e){var t=e.className,n=e.cx,r=e.getStyles,a=e.innerProps;return(0,i.tZ)("span",(0,o.Z)({},a,{css:r("indicatorSeparator",e),className:n({"indicator-separator":!0},t)}))},Input:function(e){var t=e.className,n=e.cx,r=e.getStyles,s=e.value,l=L(e),c=l.innerRef,u=l.isDisabled,d=l.isHidden,f=l.inputClassName,p=(0,a.Z)(l,Le);return(0,i.tZ)("div",{className:n({"input-container":!0},t),css:r("input",e),"data-value":s||""},(0,i.tZ)("input",(0,o.Z)({className:n({input:!0},f),ref:c,style:ze(d),disabled:u},p)))},LoadingIndicator:Te,Menu:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerRef,l=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("menu",e),className:r({menu:!0},n),ref:s},l),t)},MenuList:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps,l=e.innerRef,c=e.isMulti;return(0,i.tZ)("div",(0,o.Z)({css:a("menuList",e),className:r({"menu-list":!0,"menu-list--is-multi":c},n),ref:l},s),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.className,a=e.controlElement,l=e.cx,c=e.innerProps,f=e.menuPlacement,p=e.menuPosition,h=e.getStyles,m=(0,u.useRef)(null),g=(0,u.useRef)(null),v=(0,u.useState)(ne(f)),b=(0,s.Z)(v,2),A=b[0],x=b[1],C=(0,u.useMemo)((function(){return{setPortalPlacement:x}}),[]),_=(0,u.useState)(null),w=(0,s.Z)(_,2),S=w[0],E=w[1],B=(0,u.useCallback)((function(){if(a){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}}(a),t="fixed"===p?0:window.pageYOffset,n=e[A]+t;n===(null==S?void 0:S.offset)&&e.left===(null==S?void 0:S.rect.left)&&e.width===(null==S?void 0:S.rect.width)||E({offset:n,rect:e})}}),[a,p,A,null==S?void 0:S.offset,null==S?void 0:S.rect.left,null==S?void 0:S.rect.width]);(0,j.Z)((function(){B()}),[B]);var T=(0,u.useCallback)((function(){"function"==typeof g.current&&(g.current(),g.current=null),a&&m.current&&(g.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=!0,animationFrame:s=!1}=r,l=o&&!s,c=l||i?[...y(e)?O(e):e.contextElement?O(e.contextElement):[],...O(t)]:[];c.forEach((e=>{l&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));let u,d=null;if(a){let r=!0;d=new ResizeObserver((()=>{r||n(),r=!1})),y(e)&&!s&&d.observe(e),y(e)||!e.contextElement||s||d.observe(e.contextElement),d.observe(t)}let f=s?k(e):null;return s&&function t(){const r=k(e);!f||r.x===f.x&&r.y===f.y&&r.width===f.width&&r.height===f.height||n(),f=r,u=requestAnimationFrame(t)}(),n(),()=>{var e;c.forEach((e=>{l&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==(e=d)||e.disconnect(),d=null,s&&cancelAnimationFrame(u)}}(a,m.current,B,{elementResize:"ResizeObserver"in window}))}),[a,B]);(0,j.Z)((function(){T()}),[T]);var P=(0,u.useCallback)((function(e){m.current=e,T()}),[T]);if(!t&&"fixed"!==p||!S)return null;var M=(0,i.tZ)("div",(0,o.Z)({ref:P,css:h("menuPortal",{offset:S.offset,position:p,rect:S.rect}),className:l({"menu-portal":!0},r)},c),n);return(0,i.tZ)(oe.Provider,{value:C},t?(0,d.createPortal)(M,t):M)},LoadingMessage:de,NoOptionsMessage:ue,MultiValue:function(e){var t=e.children,n=e.className,o=e.components,a=e.cx,s=e.data,l=e.getStyles,c=e.innerProps,u=e.isDisabled,d=e.removeProps,f=e.selectProps,p=o.Container,h=o.Label,m=o.Remove;return(0,i.tZ)(i.ms,null,(function(o){var g=o.css,v=o.cx;return(0,i.tZ)(p,{data:s,innerProps:(0,r.Z)({className:v(g(l("multiValue",e)),a({"multi-value":!0,"multi-value--is-disabled":u},n))},c),selectProps:f},(0,i.tZ)(h,{data:s,innerProps:{className:v(g(l("multiValueLabel",e)),a({"multi-value__label":!0},n))},selectProps:f},t),(0,i.tZ)(m,{data:s,innerProps:(0,r.Z)({className:v(g(l("multiValueRemove",e)),a({"multi-value__remove":!0},n)),"aria-label":"Remove ".concat(t||"option")},d),selectProps:f}))}))},MultiValueContainer:We,MultiValueLabel:We,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)(Ce,{size:14}))},Option:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.isDisabled,l=e.isFocused,c=e.isSelected,u=e.innerRef,d=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("option",e),className:r({option:!0,"option--is-disabled":s,"option--is-focused":l,"option--is-selected":c},n),ref:u,"aria-disabled":s},d),t)},Placeholder:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("placeholder",e),className:r({placeholder:!0},n)},s),t)},SelectContainer:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.innerProps,l=e.isDisabled,c=e.isRtl;return(0,i.tZ)("div",(0,o.Z)({css:a("container",e),className:r({"--is-disabled":l,"--is-rtl":c},n)},s),t)},SingleValue:function(e){var t=e.children,n=e.className,r=e.cx,a=e.getStyles,s=e.isDisabled,l=e.innerProps;return(0,i.tZ)("div",(0,o.Z)({css:a("singleValue",e),className:r({"single-value":!0,"single-value--is-disabled":s},n)},l),t)},ValueContainer:function(e){var t=e.children,n=e.className,r=e.cx,a=e.innerProps,s=e.isMulti,l=e.getStyles,c=e.hasValue;return(0,i.tZ)("div",(0,o.Z)({css:l("valueContainer",e),className:r({"value-container":!0,"value-container--is-multi":s,"value-container--has-value":c},n)},a),t)}},Ke=function(e){return(0,r.Z)((0,r.Z)({},Ge),e.components)}},23157:function(e,t,n){"use strict";var r=n(65342),o=n(87462),i=n(67294),a=n(59318),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))})));t.ZP=s},65342:function(e,t,n){"use strict";n.d(t,{u:function(){return l}});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 l(e){var t=e.defaultInputValue,n=void 0===t?"":t,l=e.defaultMenuIsOpen,c=void 0!==l&&l,u=e.defaultValue,d=void 0===u?null:u,f=e.inputValue,p=e.menuIsOpen,h=e.onChange,m=e.onInputChange,g=e.onMenuClose,v=e.onMenuOpen,b=e.value,y=(0,i.Z)(e,s),A=(0,a.useState)(void 0!==f?f:n),x=(0,o.Z)(A,2),C=x[0],_=x[1],w=(0,a.useState)(void 0!==p?p:c),k=(0,o.Z)(w,2),S=k[0],E=k[1],B=(0,a.useState)(void 0!==b?b:d),O=(0,o.Z)(B,2),j=O[0],T=O[1],P=(0,a.useCallback)((function(e,t){"function"==typeof h&&h(e,t),T(e)}),[h]),M=(0,a.useCallback)((function(e,t){var n;"function"==typeof m&&(n=m(e,t)),_(void 0!==n?n:e)}),[m]),D=(0,a.useCallback)((function(){"function"==typeof v&&v(),E(!0)}),[v]),R=(0,a.useCallback)((function(){"function"==typeof g&&g(),E(!1)}),[g]),L=void 0!==f?f:C,I=void 0!==p?p:S,N=void 0!==b?b:j;return(0,r.Z)((0,r.Z)({},y),{},{inputValue:L,menuIsOpen:I,onChange:P,onInputChange:M,onMenuClose:R,onMenuOpen:D,value:N})}},83524:function(e,t,n){"use strict";var r,o=n(67294),i=(r=o)&&"object"==typeof r&&"default"in r?r.default:r;function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=!("undefined"==typeof window||!window.document||!window.document.createElement);e.exports=function(e,t,n){if("function"!=typeof e)throw new Error("Expected reducePropsToState to be a function.");if("function"!=typeof t)throw new Error("Expected handleStateChangeOnClient to be a function.");if(void 0!==n&&"function"!=typeof n)throw new Error("Expected mapStateOnServer to either be undefined or a function.");return function(r){if("function"!=typeof r)throw new Error("Expected WrappedComponent to be a React component.");var l,c=[];function u(){l=e(c.map((function(e){return e.props}))),d.canUseDOM?t(l):n&&(l=n(l))}var d=function(e){var t,n;function o(){return e.apply(this,arguments)||this}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,o.peek=function(){return l},o.rewind=function(){if(o.canUseDOM)throw new Error("You may only call rewind() on the server. Call peek() to read the current state.");var e=l;return l=void 0,c=[],e};var a=o.prototype;return a.UNSAFE_componentWillMount=function(){c.push(this),u()},a.componentDidUpdate=function(){u()},a.componentWillUnmount=function(){var e=c.indexOf(this);c.splice(e,1),u()},a.render=function(){return i.createElement(r,this.props)},o}(o.PureComponent);return a(d,"displayName","SideEffect("+function(e){return e.displayName||e.name||"Component"}(r)+")"),a(d,"canUseDOM",s),d}}},8205: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.PrevArrow=t.NextArrow=void 0;var o=s(n(67294)),i=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=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},l.apply(this,arguments)}function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(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,n){return t&&p(e.prototype,t),n&&p(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function m(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&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function v(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=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}var A=function(e){m(n,e);var t=v(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-prev":!0},t=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(e["slick-disabled"]=!0,t=null);var n={key:"0","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.prevArrow?o.default.cloneElement(this.props.prevArrow,u(u({},n),r)):o.default.createElement("button",l({key:"0",type:"button"},n)," ","Previous")}}]),n}(o.default.PureComponent);t.PrevArrow=A;var x=function(e){m(n,e);var t=v(n);function n(){return f(this,n),t.apply(this,arguments)}return h(n,[{key:"clickHandler",value:function(e,t){t&&t.preventDefault(),this.props.clickHandler(e,t)}},{key:"render",value:function(){var e={"slick-arrow":!0,"slick-next":!0},t=this.clickHandler.bind(this,{message:"next"});(0,a.canGoNext)(this.props)||(e["slick-disabled"]=!0,t=null);var n={key:"1","data-role":"none",className:(0,i.default)(e),style:{display:"block"},onClick:t},r={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount};return this.props.nextArrow?o.default.cloneElement(this.props.nextArrow,u(u({},n),r)):o.default.createElement("button",l({key:"1",type:"button"},n)," ","Next")}}]),n}(o.default.PureComponent);t.NextArrow=x},23492:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=(r=n(67294))&&r.__esModule?r:{default:r};var i={accessibility:!0,adaptiveHeight:!1,afterChange:null,appendDots:function(e){return o.default.createElement("ul",{style:{display:"block"}},e)},arrows:!0,autoplay:!1,autoplaySpeed:3e3,beforeChange:null,centerMode:!1,centerPadding:"50px",className:"",cssEase:"ease",customPaging:function(e){return o.default.createElement("button",null,e+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,infinite:!0,initialSlide:0,lazyLoad:null,nextArrow:null,onEdge:null,onInit:null,onLazyLoadError:null,onReInit:null,pauseOnDotsHover:!1,pauseOnFocus:!1,pauseOnHover:!0,prevArrow:null,responsive:null,rows:1,rtl:!1,slide:"div",slidesPerRow:1,slidesToScroll:1,slidesToShow:1,speed:500,swipe:!0,swipeEvent:null,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,waitForAnimate:!0};t.default=i},16329: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.Dots=void 0;var o=s(n(67294)),i=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(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 f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(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=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(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 function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var g=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&&f(e,t)}(h,e);var t,n,r,s=p(h);function h(){return u(this,h),s.apply(this,arguments)}return t=h,n=[{key:"clickHandler",value:function(e,t){t.preventDefault(),this.props.clickHandler(e)}},{key:"render",value:function(){for(var e,t=this.props,n=t.onMouseEnter,r=t.onMouseOver,s=t.onMouseLeave,u=t.infinite,d=t.slidesToScroll,f=t.slidesToShow,p=t.slideCount,h=t.currentSlide,m=(e={slideCount:p,slidesToScroll:d,slidesToShow:f,infinite:u}).infinite?Math.ceil(e.slideCount/e.slidesToScroll):Math.ceil((e.slideCount-e.slidesToShow)/e.slidesToScroll)+1,g={onMouseEnter:n,onMouseOver:r,onMouseLeave:s},v=[],b=0;b<m;b++){var y=(b+1)*d-1,A=u?y:(0,a.clamp)(y,0,p-1),x=A-(d-1),C=u?x:(0,a.clamp)(x,0,p-1),_=(0,i.default)({"slick-active":u?h>=C&&h<=A:h===C}),w={message:"dots",index:b,slidesToScroll:d,currentSlide:h},k=this.clickHandler.bind(this,w);v=v.concat(o.default.createElement("li",{key:b,className:_},o.default.cloneElement(this.props.customPaging(b),{onClick:k})))}return o.default.cloneElement(this.props.appendDots(v),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({className:this.props.dotsClass},g))}}],n&&d(t.prototype,n),r&&d(t,r),Object.defineProperty(t,"prototype",{writable:!1}),h}(o.default.PureComponent);t.Dots=g},46066:function(e,t,n){"use strict";var r;t.Z=void 0;var o=((r=n(5798))&&r.__esModule?r:{default:r}).default;t.Z=o},46948:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={animating:!1,autoplaying:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,dragging:!1,edgeDragged:!1,initialized:!1,lazyLoadedList:[],listHeight:null,listWidth:null,scrolling:!1,slideCount:null,slideHeight:null,slideWidth:null,swipeLeft:null,swiped:!1,swiping:!1,touchObject:{startX:0,startY:0,curX:0,curY:0},trackStyle:{},trackWidth:0,targetSlide:0};t.default=n},58517:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.InnerSlider=void 0;var r=f(n(67294)),o=f(n(46948)),i=f(n(91296)),a=f(n(94184)),s=n(15518),l=n(64740),c=n(16329),u=n(8205),d=f(n(91033));function f(e){return e&&e.__esModule?e:{default:e}}function p(e){return p="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},p(e)}function h(){return h=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},h.apply(this,arguments)}function m(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 g(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(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 y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function A(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=_(e);if(t){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return x(this,n)}}function x(e,t){if(t&&("object"===p(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return C(e)}function C(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}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}var k=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&&y(e,t)}(x,e);var t,n,f,g=A(x);function x(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),w(C(t=g.call(this,e)),"listRefHandler",(function(e){return t.list=e})),w(C(t),"trackRefHandler",(function(e){return t.track=e})),w(C(t),"adaptHeight",(function(){if(t.props.adaptiveHeight&&t.list){var e=t.list.querySelector('[data-index="'.concat(t.state.currentSlide,'"]'));t.list.style.height=(0,s.getHeight)(e)+"px"}})),w(C(t),"componentDidMount",(function(){if(t.props.onInit&&t.props.onInit(),t.props.lazyLoad){var e=(0,s.getOnDemandLazySlides)(v(v({},t.props),t.state));e.length>0&&(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e))}var n=v({listRef:t.list,trackRef:t.track},t.props);t.updateState(n,!0,(function(){t.adaptHeight(),t.props.autoplay&&t.autoPlay("update")})),"progressive"===t.props.lazyLoad&&(t.lazyLoadTimer=setInterval(t.progressiveLazyLoad,1e3)),t.ro=new d.default((function(){t.state.animating?(t.onWindowResized(!1),t.callbackTimers.push(setTimeout((function(){return t.onWindowResized()}),t.props.speed))):t.onWindowResized()})),t.ro.observe(t.list),document.querySelectorAll&&Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=t.props.pauseOnFocus?t.onSlideFocus:null,e.onblur=t.props.pauseOnFocus?t.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",t.onWindowResized):window.attachEvent("onresize",t.onWindowResized)})),w(C(t),"componentWillUnmount",(function(){t.animationEndCallback&&clearTimeout(t.animationEndCallback),t.lazyLoadTimer&&clearInterval(t.lazyLoadTimer),t.callbackTimers.length&&(t.callbackTimers.forEach((function(e){return clearTimeout(e)})),t.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",t.onWindowResized):window.detachEvent("onresize",t.onWindowResized),t.autoplayTimer&&clearInterval(t.autoplayTimer),t.ro.disconnect()})),w(C(t),"componentDidUpdate",(function(e){if(t.checkImagesLoad(),t.props.onReInit&&t.props.onReInit(),t.props.lazyLoad){var n=(0,s.getOnDemandLazySlides)(v(v({},t.props),t.state));n.length>0&&(t.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(n)}})),t.props.onLazyLoad&&t.props.onLazyLoad(n))}t.adaptHeight();var o=v(v({listRef:t.list,trackRef:t.track},t.props),t.state),i=t.didPropsChange(e);i&&t.updateState(o,i,(function(){t.state.currentSlide>=r.default.Children.count(t.props.children)&&t.changeSlide({message:"index",index:r.default.Children.count(t.props.children)-t.props.slidesToShow,currentSlide:t.state.currentSlide}),t.props.autoplay?t.autoPlay("update"):t.pause("paused")}))})),w(C(t),"onWindowResized",(function(e){t.debouncedResize&&t.debouncedResize.cancel(),t.debouncedResize=(0,i.default)((function(){return t.resizeWindow(e)}),50),t.debouncedResize()})),w(C(t),"resizeWindow",(function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=Boolean(t.track&&t.track.node);if(n){var r=v(v({listRef:t.list,trackRef:t.track},t.props),t.state);t.updateState(r,e,(function(){t.props.autoplay?t.autoPlay("update"):t.pause("paused")})),t.setState({animating:!1}),clearTimeout(t.animationEndCallback),delete t.animationEndCallback}})),w(C(t),"updateState",(function(e,n,o){var i=(0,s.initializedState)(e);e=v(v(v({},e),i),{},{slideIndex:i.currentSlide});var a=(0,s.getTrackLeft)(e);e=v(v({},e),{},{left:a});var l=(0,s.getTrackCSS)(e);(n||r.default.Children.count(t.props.children)!==r.default.Children.count(e.children))&&(i.trackStyle=l),t.setState(i,o)})),w(C(t),"ssrInit",(function(){if(t.props.variableWidth){var e=0,n=0,o=[],i=(0,s.getPreClones)(v(v(v({},t.props),t.state),{},{slideCount:t.props.children.length})),a=(0,s.getPostClones)(v(v(v({},t.props),t.state),{},{slideCount:t.props.children.length}));t.props.children.forEach((function(t){o.push(t.props.style.width),e+=t.props.style.width}));for(var l=0;l<i;l++)n+=o[o.length-1-l],e+=o[o.length-1-l];for(var c=0;c<a;c++)e+=o[c];for(var u=0;u<t.state.currentSlide;u++)n+=o[u];var d={width:e+"px",left:-n+"px"};if(t.props.centerMode){var f="".concat(o[t.state.currentSlide],"px");d.left="calc(".concat(d.left," + (100% - ").concat(f,") / 2 ) ")}return{trackStyle:d}}var p=r.default.Children.count(t.props.children),h=v(v(v({},t.props),t.state),{},{slideCount:p}),m=(0,s.getPreClones)(h)+(0,s.getPostClones)(h)+p,g=100/t.props.slidesToShow*m,b=100/m,y=-b*((0,s.getPreClones)(h)+t.state.currentSlide)*g/100;return t.props.centerMode&&(y+=(100-b*g/100)/2),{slideWidth:b+"%",trackStyle:{width:g+"%",left:y+"%"}}})),w(C(t),"checkImagesLoad",(function(){var e=t.list&&t.list.querySelectorAll&&t.list.querySelectorAll(".slick-slide img")||[],n=e.length,r=0;Array.prototype.forEach.call(e,(function(e){var o=function(){return++r&&r>=n&&t.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(t.props.lazyLoad?e.onload=function(){t.adaptHeight(),t.callbackTimers.push(setTimeout(t.onWindowResized,t.props.speed))}:(e.onload=o,e.onerror=function(){o(),t.props.onLazyLoadError&&t.props.onLazyLoadError()}))}))})),w(C(t),"progressiveLazyLoad",(function(){for(var e=[],n=v(v({},t.props),t.state),r=t.state.currentSlide;r<t.state.slideCount+(0,s.getPostClones)(n);r++)if(t.state.lazyLoadedList.indexOf(r)<0){e.push(r);break}for(var o=t.state.currentSlide-1;o>=-(0,s.getPreClones)(n);o--)if(t.state.lazyLoadedList.indexOf(o)<0){e.push(o);break}e.length>0?(t.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),t.props.onLazyLoad&&t.props.onLazyLoad(e)):t.lazyLoadTimer&&(clearInterval(t.lazyLoadTimer),delete t.lazyLoadTimer)})),w(C(t),"slideHandler",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.props,o=r.asNavFor,i=r.beforeChange,a=r.onLazyLoad,l=r.speed,c=r.afterChange,u=t.state.currentSlide,d=(0,s.slideHandler)(v(v(v({index:e},t.props),t.state),{},{trackRef:t.track,useCSS:t.props.useCSS&&!n})),f=d.state,p=d.nextState;if(f){i&&i(u,f.currentSlide);var h=f.lazyLoadedList.filter((function(e){return t.state.lazyLoadedList.indexOf(e)<0}));a&&h.length>0&&a(h),!t.props.waitForAnimate&&t.animationEndCallback&&(clearTimeout(t.animationEndCallback),c&&c(u),delete t.animationEndCallback),t.setState(f,(function(){o&&t.asNavForIndex!==e&&(t.asNavForIndex=e,o.innerSlider.slideHandler(e)),p&&(t.animationEndCallback=setTimeout((function(){var e=p.animating,n=m(p,["animating"]);t.setState(n,(function(){t.callbackTimers.push(setTimeout((function(){return t.setState({animating:e})}),10)),c&&c(f.currentSlide),delete t.animationEndCallback}))}),l))}))}})),w(C(t),"changeSlide",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=v(v({},t.props),t.state),o=(0,s.changeSlide)(r,e);if((0===o||o)&&(!0===n?t.slideHandler(o,n):t.slideHandler(o),t.props.autoplay&&t.autoPlay("update"),t.props.focusOnSelect)){var i=t.list.querySelectorAll(".slick-current");i[0]&&i[0].focus()}})),w(C(t),"clickHandler",(function(e){!1===t.clickable&&(e.stopPropagation(),e.preventDefault()),t.clickable=!0})),w(C(t),"keyHandler",(function(e){var n=(0,s.keyHandler)(e,t.props.accessibility,t.props.rtl);""!==n&&t.changeSlide({message:n})})),w(C(t),"selectHandler",(function(e){t.changeSlide(e)})),w(C(t),"disableBodyScroll",(function(){window.ontouchmove=function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1}})),w(C(t),"enableBodyScroll",(function(){window.ontouchmove=null})),w(C(t),"swipeStart",(function(e){t.props.verticalSwiping&&t.disableBodyScroll();var n=(0,s.swipeStart)(e,t.props.swipe,t.props.draggable);""!==n&&t.setState(n)})),w(C(t),"swipeMove",(function(e){var n=(0,s.swipeMove)(e,v(v(v({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));n&&(n.swiping&&(t.clickable=!1),t.setState(n))})),w(C(t),"swipeEnd",(function(e){var n=(0,s.swipeEnd)(e,v(v(v({},t.props),t.state),{},{trackRef:t.track,listRef:t.list,slideIndex:t.state.currentSlide}));if(n){var r=n.triggerSlideHandler;delete n.triggerSlideHandler,t.setState(n),void 0!==r&&(t.slideHandler(r),t.props.verticalSwiping&&t.enableBodyScroll())}})),w(C(t),"touchEnd",(function(e){t.swipeEnd(e),t.clickable=!0})),w(C(t),"slickPrev",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"previous"})}),0))})),w(C(t),"slickNext",(function(){t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"next"})}),0))})),w(C(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(e=Number(e),isNaN(e))return"";t.callbackTimers.push(setTimeout((function(){return t.changeSlide({message:"index",index:e,currentSlide:t.state.currentSlide},n)}),0))})),w(C(t),"play",(function(){var e;if(t.props.rtl)e=t.state.currentSlide-t.props.slidesToScroll;else{if(!(0,s.canGoNext)(v(v({},t.props),t.state)))return!1;e=t.state.currentSlide+t.props.slidesToScroll}t.slideHandler(e)})),w(C(t),"autoPlay",(function(e){t.autoplayTimer&&clearInterval(t.autoplayTimer);var n=t.state.autoplaying;if("update"===e){if("hovered"===n||"focused"===n||"paused"===n)return}else if("leave"===e){if("paused"===n||"focused"===n)return}else if("blur"===e&&("paused"===n||"hovered"===n))return;t.autoplayTimer=setInterval(t.play,t.props.autoplaySpeed+50),t.setState({autoplaying:"playing"})})),w(C(t),"pause",(function(e){t.autoplayTimer&&(clearInterval(t.autoplayTimer),t.autoplayTimer=null);var n=t.state.autoplaying;"paused"===e?t.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==n&&"playing"!==n||t.setState({autoplaying:"focused"}):"playing"===n&&t.setState({autoplaying:"hovered"})})),w(C(t),"onDotsOver",(function(){return t.props.autoplay&&t.pause("hovered")})),w(C(t),"onDotsLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),w(C(t),"onTrackOver",(function(){return t.props.autoplay&&t.pause("hovered")})),w(C(t),"onTrackLeave",(function(){return t.props.autoplay&&"hovered"===t.state.autoplaying&&t.autoPlay("leave")})),w(C(t),"onSlideFocus",(function(){return t.props.autoplay&&t.pause("focused")})),w(C(t),"onSlideBlur",(function(){return t.props.autoplay&&"focused"===t.state.autoplaying&&t.autoPlay("blur")})),w(C(t),"render",(function(){var e,n,o,i=(0,a.default)("slick-slider",t.props.className,{"slick-vertical":t.props.vertical,"slick-initialized":!0}),d=v(v({},t.props),t.state),f=(0,s.extractObject)(d,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),p=t.props.pauseOnHover;if(f=v(v({},f),{},{onMouseEnter:p?t.onTrackOver:null,onMouseLeave:p?t.onTrackLeave:null,onMouseOver:p?t.onTrackOver:null,focusOnSelect:t.props.focusOnSelect&&t.clickable?t.selectHandler:null}),!0===t.props.dots&&t.state.slideCount>=t.props.slidesToShow){var m=(0,s.extractObject)(d,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),g=t.props.pauseOnDotsHover;m=v(v({},m),{},{clickHandler:t.changeSlide,onMouseEnter:g?t.onDotsLeave:null,onMouseOver:g?t.onDotsOver:null,onMouseLeave:g?t.onDotsLeave:null}),e=r.default.createElement(c.Dots,m)}var b=(0,s.extractObject)(d,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow"]);b.clickHandler=t.changeSlide,t.props.arrows&&(n=r.default.createElement(u.PrevArrow,b),o=r.default.createElement(u.NextArrow,b));var y=null;t.props.vertical&&(y={height:t.state.listHeight});var A=null;!1===t.props.vertical?!0===t.props.centerMode&&(A={padding:"0px "+t.props.centerPadding}):!0===t.props.centerMode&&(A={padding:t.props.centerPadding+" 0px"});var x=v(v({},y),A),C=t.props.touchMove,_={className:"slick-list",style:x,onClick:t.clickHandler,onMouseDown:C?t.swipeStart:null,onMouseMove:t.state.dragging&&C?t.swipeMove:null,onMouseUp:C?t.swipeEnd:null,onMouseLeave:t.state.dragging&&C?t.swipeEnd:null,onTouchStart:C?t.swipeStart:null,onTouchMove:t.state.dragging&&C?t.swipeMove:null,onTouchEnd:C?t.touchEnd:null,onTouchCancel:t.state.dragging&&C?t.swipeEnd:null,onKeyDown:t.props.accessibility?t.keyHandler:null},w={className:i,dir:"ltr",style:t.props.style};return t.props.unslick&&(_={className:"slick-list"},w={className:i}),r.default.createElement("div",w,t.props.unslick?"":n,r.default.createElement("div",h({ref:t.listRefHandler},_),r.default.createElement(l.Track,h({ref:t.trackRefHandler},f),t.props.children)),t.props.unslick?"":o,t.props.unslick?"":e)})),t.list=null,t.track=null,t.state=v(v({},o.default),{},{currentSlide:t.props.initialSlide,slideCount:r.default.Children.count(t.props.children)}),t.callbackTimers=[],t.clickable=!0,t.debouncedResize=null;var n=t.ssrInit();return t.state=v(v({},t.state),n),t}return t=x,(n=[{key:"didPropsChange",value:function(e){for(var t=!1,n=0,o=Object.keys(this.props);n<o.length;n++){var i=o[n];if(!e.hasOwnProperty(i)){t=!0;break}if("object"!==p(e[i])&&"function"!=typeof e[i]&&e[i]!==this.props[i]){t=!0;break}}return t||r.default.Children.count(this.props.children)!==r.default.Children.count(e.children)}}])&&b(t.prototype,n),f&&b(t,f),Object.defineProperty(t,"prototype",{writable:!1}),x}(r.default.Component);t.InnerSlider=k},5798: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.default=void 0;var o=c(n(67294)),i=n(58517),a=c(n(80973)),s=c(n(23492)),l=n(15518);function c(e){return e&&e.__esModule?e:{default:e}}function u(){return u=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},u.apply(this,arguments)}function d(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 f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function p(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 m(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=b(e);if(t){var o=b(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 v(e)}function v(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(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 A=(0,l.canUseDOM)()&&n(24974),x=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)}(d,e);var t,n,r,c=m(d);function d(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),y(v(t=c.call(this,e)),"innerSliderRefHandler",(function(e){return t.innerSlider=e})),y(v(t),"slickPrev",(function(){return t.innerSlider.slickPrev()})),y(v(t),"slickNext",(function(){return t.innerSlider.slickNext()})),y(v(t),"slickGoTo",(function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t.innerSlider.slickGoTo(e,n)})),y(v(t),"slickPause",(function(){return t.innerSlider.pause("paused")})),y(v(t),"slickPlay",(function(){return t.innerSlider.autoPlay("play")})),t.state={breakpoint:null},t._responsiveMediaHandlers=[],t}return t=d,(n=[{key:"media",value:function(e,t){A.register(e,t),this._responsiveMediaHandlers.push({query:e,handler:t})}},{key:"componentDidMount",value:function(){var e=this;if(this.props.responsive){var t=this.props.responsive.map((function(e){return e.breakpoint}));t.sort((function(e,t){return e-t})),t.forEach((function(n,r){var o;o=0===r?(0,a.default)({minWidth:0,maxWidth:n}):(0,a.default)({minWidth:t[r-1]+1,maxWidth:n}),(0,l.canUseDOM)()&&e.media(o,(function(){e.setState({breakpoint:n})}))}));var n=(0,a.default)({minWidth:t.slice(-1)[0]});(0,l.canUseDOM)()&&this.media(n,(function(){e.setState({breakpoint:null})}))}}},{key:"componentWillUnmount",value:function(){this._responsiveMediaHandlers.forEach((function(e){A.unregister(e.query,e.handler)}))}},{key:"render",value:function(){var e,t,n=this;(e=this.state.breakpoint?"unslick"===(t=this.props.responsive.filter((function(e){return e.breakpoint===n.state.breakpoint})))[0].settings?"unslick":f(f(f({},s.default),this.props),t[0].settings):f(f({},s.default),this.props)).centerMode&&(e.slidesToScroll,e.slidesToScroll=1),e.fade&&(e.slidesToShow,e.slidesToScroll,e.slidesToShow=1,e.slidesToScroll=1);var r=o.default.Children.toArray(this.props.children);r=r.filter((function(e){return"string"==typeof e?!!e.trim():!!e})),e.variableWidth&&(e.rows>1||e.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),e.variableWidth=!1);for(var a=[],l=null,c=0;c<r.length;c+=e.rows*e.slidesPerRow){for(var d=[],p=c;p<c+e.rows*e.slidesPerRow;p+=e.slidesPerRow){for(var h=[],m=p;m<p+e.slidesPerRow&&(e.variableWidth&&r[m].props.style&&(l=r[m].props.style.width),!(m>=r.length));m+=1)h.push(o.default.cloneElement(r[m],{key:100*c+10*p+m,tabIndex:-1,style:{width:"".concat(100/e.slidesPerRow,"%"),display:"inline-block"}}));d.push(o.default.createElement("div",{key:10*c+p},h))}e.variableWidth?a.push(o.default.createElement("div",{key:c,style:{width:l}},d)):a.push(o.default.createElement("div",{key:c},d))}if("unslick"===e){var g="regular slider "+(this.props.className||"");return o.default.createElement("div",{className:g},r)}return a.length<=e.slidesToShow&&(e.unslick=!0),o.default.createElement(i.InnerSlider,u({style:this.props.style,ref:this.innerSliderRefHandler},e),a)}}])&&p(t.prototype,n),r&&p(t,r),Object.defineProperty(t,"prototype",{writable:!1}),d}(o.default.Component);t.default=x},64740: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.Track=void 0;var o=s(n(67294)),i=s(n(94184)),a=n(15518);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=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},l.apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},d(e,t)}function f(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=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(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 h(e)}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function g(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 v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){var t,n,r,o,i;return r=(i=e.rtl?e.slideCount-1-e.index:e.index)<0||i>=e.slideCount,e.centerMode?(o=Math.floor(e.slidesToShow/2),n=(i-e.currentSlide)%e.slideCount==0,i>e.currentSlide-o-1&&i<=e.currentSlide+o&&(t=!0)):t=e.currentSlide<=i&&i<e.currentSlide+e.slidesToShow,{"slick-slide":!0,"slick-active":t,"slick-center":n,"slick-cloned":r,"slick-current":i===(e.targetSlide<0?e.targetSlide+e.slideCount:e.targetSlide>=e.slideCount?e.targetSlide-e.slideCount:e.targetSlide)}},A=function(e,t){return e.key||t},x=function(e){var t,n=[],r=[],s=[],l=o.default.Children.count(e.children),c=(0,a.lazyStartIndex)(e),u=(0,a.lazyEndIndex)(e);return o.default.Children.forEach(e.children,(function(d,f){var p,h={message:"children",index:f,slidesToScroll:e.slidesToScroll,currentSlide:e.currentSlide};p=!e.lazyLoad||e.lazyLoad&&e.lazyLoadedList.indexOf(f)>=0?d:o.default.createElement("div",null);var m=function(e){var t={};return void 0!==e.variableWidth&&!1!==e.variableWidth||(t.width=e.slideWidth),e.fade&&(t.position="relative",e.vertical?t.top=-e.index*parseInt(e.slideHeight):t.left=-e.index*parseInt(e.slideWidth),t.opacity=e.currentSlide===e.index?1:0,e.useCSS&&(t.transition="opacity "+e.speed+"ms "+e.cssEase+", visibility "+e.speed+"ms "+e.cssEase)),t}(v(v({},e),{},{index:f})),g=p.props.className||"",b=y(v(v({},e),{},{index:f}));if(n.push(o.default.cloneElement(p,{key:"original"+A(p,f),"data-index":f,className:(0,i.default)(b,g),tabIndex:"-1","aria-hidden":!b["slick-active"],style:v(v({outline:"none"},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})),e.infinite&&!1===e.fade){var x=l-f;x<=(0,a.getPreClones)(e)&&l!==e.slidesToShow&&((t=-x)>=c&&(p=d),b=y(v(v({},e),{},{index:t})),r.push(o.default.cloneElement(p,{key:"precloned"+A(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(b,g),"aria-hidden":!b["slick-active"],style:v(v({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}}))),l!==e.slidesToShow&&((t=l+f)<u&&(p=d),b=y(v(v({},e),{},{index:t})),s.push(o.default.cloneElement(p,{key:"postcloned"+A(p,t),"data-index":t,tabIndex:"-1",className:(0,i.default)(b,g),"aria-hidden":!b["slick-active"],style:v(v({},p.props.style||{}),m),onClick:function(t){p.props&&p.props.onClick&&p.props.onClick(t),e.focusOnSelect&&e.focusOnSelect(h)}})))}})),e.rtl?r.concat(n,s).reverse():r.concat(n,s)},C=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&&d(e,t)}(a,e);var t,n,r,i=f(a);function a(){var e;c(this,a);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return b(h(e=i.call.apply(i,[this].concat(n))),"node",null),b(h(e),"handleRef",(function(t){e.node=t})),e}return t=a,(n=[{key:"render",value:function(){var e=x(this.props),t=this.props,n={onMouseEnter:t.onMouseEnter,onMouseOver:t.onMouseOver,onMouseLeave:t.onMouseLeave};return o.default.createElement("div",l({ref:this.handleRef,className:"slick-track",style:this.props.trackStyle},n),e)}}])&&u(t.prototype,n),r&&u(t,r),Object.defineProperty(t,"prototype",{writable:!1}),a}(o.default.PureComponent);t.Track=C},15518:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.checkSpecKeys=t.checkNavigable=t.changeSlide=t.canUseDOM=t.canGoNext=void 0,t.clamp=l,t.swipeStart=t.swipeMove=t.swipeEnd=t.slidesOnRight=t.slidesOnLeft=t.slideHandler=t.siblingDirection=t.safePreventDefault=t.lazyStartIndex=t.lazySlidesOnRight=t.lazySlidesOnLeft=t.lazyEndIndex=t.keyHandler=t.initializedState=t.getWidth=t.getTrackLeft=t.getTrackCSS=t.getTrackAnimateCSS=t.getTotalSlides=t.getSwipeDirection=t.getSlideCount=t.getRequiredLazySlides=t.getPreClones=t.getPostClones=t.getOnDemandLazySlides=t.getNavigableIndexes=t.getHeight=t.extractObject=void 0;var r,o=(r=n(67294))&&r.__esModule?r:{default:r};function i(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 a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){s(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t,n){return Math.max(t,Math.min(e,n))}var c=function(e){["onTouchStart","onTouchMove","onWheel"].includes(e._reactName)||e.preventDefault()};t.safePreventDefault=c;var u=function(e){for(var t=[],n=d(e),r=f(e),o=n;o<r;o++)e.lazyLoadedList.indexOf(o)<0&&t.push(o);return t};t.getOnDemandLazySlides=u;t.getRequiredLazySlides=function(e){for(var t=[],n=d(e),r=f(e),o=n;o<r;o++)t.push(o);return t};var d=function(e){return e.currentSlide-p(e)};t.lazyStartIndex=d;var f=function(e){return e.currentSlide+h(e)};t.lazyEndIndex=f;var p=function(e){return e.centerMode?Math.floor(e.slidesToShow/2)+(parseInt(e.centerPadding)>0?1:0):0};t.lazySlidesOnLeft=p;var h=function(e){return e.centerMode?Math.floor((e.slidesToShow-1)/2)+1+(parseInt(e.centerPadding)>0?1:0):e.slidesToShow};t.lazySlidesOnRight=h;var m=function(e){return e&&e.offsetWidth||0};t.getWidth=m;var g=function(e){return e&&e.offsetHeight||0};t.getHeight=g;var v=function(e){var t,n,r,o,i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return t=e.startX-e.curX,n=e.startY-e.curY,r=Math.atan2(n,t),(o=Math.round(180*r/Math.PI))<0&&(o=360-Math.abs(o)),o<=45&&o>=0||o<=360&&o>=315?"left":o>=135&&o<=225?"right":!0===i?o>=35&&o<=135?"up":"down":"vertical"};t.getSwipeDirection=v;var b=function(e){var t=!0;return e.infinite||(e.centerMode&&e.currentSlide>=e.slideCount-1||e.slideCount<=e.slidesToShow||e.currentSlide>=e.slideCount-e.slidesToShow)&&(t=!1),t};t.canGoNext=b;t.extractObject=function(e,t){var n={};return t.forEach((function(t){return n[t]=e[t]})),n};t.initializedState=function(e){var t,n=o.default.Children.count(e.children),r=e.listRef,i=Math.ceil(m(r)),s=e.trackRef&&e.trackRef.node,l=Math.ceil(m(s));if(e.vertical)t=i;else{var c=e.centerMode&&2*parseInt(e.centerPadding);"string"==typeof e.centerPadding&&"%"===e.centerPadding.slice(-1)&&(c*=i/100),t=Math.ceil((i-c)/e.slidesToShow)}var d=r&&g(r.querySelector('[data-index="0"]')),f=d*e.slidesToShow,p=void 0===e.currentSlide?e.initialSlide:e.currentSlide;e.rtl&&void 0===e.currentSlide&&(p=n-1-e.initialSlide);var h=e.lazyLoadedList||[],v=u(a(a({},e),{},{currentSlide:p,lazyLoadedList:h})),b={slideCount:n,slideWidth:t,listWidth:i,trackWidth:l,currentSlide:p,slideHeight:d,listHeight:f,lazyLoadedList:h=h.concat(v)};return null===e.autoplaying&&e.autoplay&&(b.autoplaying="playing"),b};t.slideHandler=function(e){var t=e.waitForAnimate,n=e.animating,r=e.fade,o=e.infinite,i=e.index,s=e.slideCount,c=e.lazyLoad,d=e.currentSlide,f=e.centerMode,p=e.slidesToScroll,h=e.slidesToShow,m=e.useCSS,g=e.lazyLoadedList;if(t&&n)return{};var v,y,A,x=i,C={},S={},E=o?i:l(i,0,s-1);if(r){if(!o&&(i<0||i>=s))return{};i<0?x=i+s:i>=s&&(x=i-s),c&&g.indexOf(x)<0&&(g=g.concat(x)),C={animating:!0,currentSlide:x,lazyLoadedList:g,targetSlide:x},S={animating:!1,targetSlide:x}}else v=x,x<0?(v=x+s,o?s%p!=0&&(v=s-s%p):v=0):!b(e)&&x>d?x=v=d:f&&x>=s?(x=o?s:s-1,v=o?0:s-1):x>=s&&(v=x-s,o?s%p!=0&&(v=0):v=s-h),!o&&x+h>=s&&(v=s-h),y=k(a(a({},e),{},{slideIndex:x})),A=k(a(a({},e),{},{slideIndex:v})),o||(y===A&&(x=v),y=A),c&&(g=g.concat(u(a(a({},e),{},{currentSlide:x})))),m?(C={animating:!0,currentSlide:v,trackStyle:w(a(a({},e),{},{left:y})),lazyLoadedList:g,targetSlide:E},S={animating:!1,currentSlide:v,trackStyle:_(a(a({},e),{},{left:A})),swipeLeft:null,targetSlide:E}):C={currentSlide:v,trackStyle:_(a(a({},e),{},{left:A})),lazyLoadedList:g,targetSlide:E};return{state:C,nextState:S}};t.changeSlide=function(e,t){var n,r,o,i,s=e.slidesToScroll,l=e.slidesToShow,c=e.slideCount,u=e.currentSlide,d=e.targetSlide,f=e.lazyLoad,p=e.infinite;if(n=c%s!=0?0:(c-u)%s,"previous"===t.message)i=u-(o=0===n?s:l-n),f&&!p&&(i=-1===(r=u-o)?c-1:r),p||(i=d-s);else if("next"===t.message)i=u+(o=0===n?s:n),f&&!p&&(i=(u+s)%c+n),p||(i=d+s);else if("dots"===t.message)i=t.index*t.slidesToScroll;else if("children"===t.message){if(i=t.index,p){var h=O(a(a({},e),{},{targetSlide:i}));i>t.currentSlide&&"left"===h?i-=c:i<t.currentSlide&&"right"===h&&(i+=c)}}else"index"===t.message&&(i=Number(t.index));return i};t.keyHandler=function(e,t,n){return e.target.tagName.match("TEXTAREA|INPUT|SELECT")||!t?"":37===e.keyCode?n?"next":"previous":39===e.keyCode?n?"previous":"next":""};t.swipeStart=function(e,t,n){return"IMG"===e.target.tagName&&c(e),!t||!n&&-1!==e.type.indexOf("mouse")?"":{dragging:!0,touchObject:{startX:e.touches?e.touches[0].pageX:e.clientX,startY:e.touches?e.touches[0].pageY:e.clientY,curX:e.touches?e.touches[0].pageX:e.clientX,curY:e.touches?e.touches[0].pageY:e.clientY}}};t.swipeMove=function(e,t){var n=t.scrolling,r=t.animating,o=t.vertical,i=t.swipeToSlide,s=t.verticalSwiping,l=t.rtl,u=t.currentSlide,d=t.edgeFriction,f=t.edgeDragged,p=t.onEdge,h=t.swiped,m=t.swiping,g=t.slideCount,y=t.slidesToScroll,A=t.infinite,x=t.touchObject,C=t.swipeEvent,w=t.listHeight,S=t.listWidth;if(!n){if(r)return c(e);o&&i&&s&&c(e);var E,B={},O=k(t);x.curX=e.touches?e.touches[0].pageX:e.clientX,x.curY=e.touches?e.touches[0].pageY:e.clientY,x.swipeLength=Math.round(Math.sqrt(Math.pow(x.curX-x.startX,2)));var j=Math.round(Math.sqrt(Math.pow(x.curY-x.startY,2)));if(!s&&!m&&j>10)return{scrolling:!0};s&&(x.swipeLength=j);var T=(l?-1:1)*(x.curX>x.startX?1:-1);s&&(T=x.curY>x.startY?1:-1);var P=Math.ceil(g/y),M=v(t.touchObject,s),D=x.swipeLength;return A||(0===u&&("right"===M||"down"===M)||u+1>=P&&("left"===M||"up"===M)||!b(t)&&("left"===M||"up"===M))&&(D=x.swipeLength*d,!1===f&&p&&(p(M),B.edgeDragged=!0)),!h&&C&&(C(M),B.swiped=!0),E=o?O+D*(w/S)*T:l?O-D*T:O+D*T,s&&(E=O+D*T),B=a(a({},B),{},{touchObject:x,swipeLeft:E,trackStyle:_(a(a({},t),{},{left:E}))}),Math.abs(x.curX-x.startX)<.8*Math.abs(x.curY-x.startY)?B:(x.swipeLength>10&&(B.swiping=!0,c(e)),B)}};t.swipeEnd=function(e,t){var n=t.dragging,r=t.swipe,o=t.touchObject,i=t.listWidth,s=t.touchThreshold,l=t.verticalSwiping,u=t.listHeight,d=t.swipeToSlide,f=t.scrolling,p=t.onSwipe,h=t.targetSlide,m=t.currentSlide,g=t.infinite;if(!n)return r&&c(e),{};var b=l?u/s:i/s,y=v(o,l),C={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(f)return C;if(!o.swipeLength)return C;if(o.swipeLength>b){var _,S;c(e),p&&p(y);var E=g?m:h;switch(y){case"left":case"up":S=E+x(t),_=d?A(t,S):S,C.currentDirection=0;break;case"right":case"down":S=E-x(t),_=d?A(t,S):S,C.currentDirection=1;break;default:_=E}C.triggerSlideHandler=_}else{var B=k(t);C.trackStyle=w(a(a({},t),{},{left:B}))}return C};var y=function(e){for(var t=e.infinite?2*e.slideCount:e.slideCount,n=e.infinite?-1*e.slidesToShow:0,r=e.infinite?-1*e.slidesToShow:0,o=[];n<t;)o.push(n),n=r+e.slidesToScroll,r+=Math.min(e.slidesToScroll,e.slidesToShow);return o};t.getNavigableIndexes=y;var A=function(e,t){var n=y(e),r=0;if(t>n[n.length-1])t=n[n.length-1];else for(var o in n){if(t<n[o]){t=r;break}r=n[o]}return t};t.checkNavigable=A;var x=function(e){var t=e.centerMode?e.slideWidth*Math.floor(e.slidesToShow/2):0;if(e.swipeToSlide){var n,r=e.listRef,o=r.querySelectorAll&&r.querySelectorAll(".slick-slide")||[];if(Array.from(o).every((function(r){if(e.vertical){if(r.offsetTop+g(r)/2>-1*e.swipeLeft)return n=r,!1}else if(r.offsetLeft-t+m(r)/2>-1*e.swipeLeft)return n=r,!1;return!0})),!n)return 0;var i=!0===e.rtl?e.slideCount-e.currentSlide:e.currentSlide;return Math.abs(n.dataset.index-i)||1}return e.slidesToScroll};t.getSlideCount=x;var C=function(e,t){return t.reduce((function(t,n){return t&&e.hasOwnProperty(n)}),!0)?null:console.error("Keys Missing:",e)};t.checkSpecKeys=C;var _=function(e){var t,n;C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var r=e.slideCount+2*e.slidesToShow;e.vertical?n=r*e.slideHeight:t=B(e)*e.slideWidth;var o={opacity:1,transition:"",WebkitTransition:""};if(e.useTransform){var i=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",s=e.vertical?"translate3d(0px, "+e.left+"px, 0px)":"translate3d("+e.left+"px, 0px, 0px)",l=e.vertical?"translateY("+e.left+"px)":"translateX("+e.left+"px)";o=a(a({},o),{},{WebkitTransform:i,transform:s,msTransform:l})}else e.vertical?o.top=e.left:o.left=e.left;return e.fade&&(o={opacity:1}),t&&(o.width=t),n&&(o.height=n),window&&!window.addEventListener&&window.attachEvent&&(e.vertical?o.marginTop=e.left+"px":o.marginLeft=e.left+"px"),o};t.getTrackCSS=_;var w=function(e){C(e,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var t=_(e);return e.useTransform?(t.WebkitTransition="-webkit-transform "+e.speed+"ms "+e.cssEase,t.transition="transform "+e.speed+"ms "+e.cssEase):e.vertical?t.transition="top "+e.speed+"ms "+e.cssEase:t.transition="left "+e.speed+"ms "+e.cssEase,t};t.getTrackAnimateCSS=w;var k=function(e){if(e.unslick)return 0;C(e,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var t,n,r=e.slideIndex,o=e.trackRef,i=e.infinite,a=e.centerMode,s=e.slideCount,l=e.slidesToShow,c=e.slidesToScroll,u=e.slideWidth,d=e.listWidth,f=e.variableWidth,p=e.slideHeight,h=e.fade,m=e.vertical;if(h||1===e.slideCount)return 0;var g=0;if(i?(g=-S(e),s%c!=0&&r+c>s&&(g=-(r>s?l-(r-s):s%c)),a&&(g+=parseInt(l/2))):(s%c!=0&&r+c>s&&(g=l-s%c),a&&(g=parseInt(l/2))),t=m?r*p*-1+g*p:r*u*-1+g*u,!0===f){var v,b=o&&o.node;if(v=r+S(e),t=(n=b&&b.childNodes[v])?-1*n.offsetLeft:0,!0===a){v=i?r+S(e):r,n=b&&b.children[v],t=0;for(var y=0;y<v;y++)t-=b&&b.children[y]&&b.children[y].offsetWidth;t-=parseInt(e.centerPadding),t+=n&&(d-n.offsetWidth)/2}}return t};t.getTrackLeft=k;var S=function(e){return e.unslick||!e.infinite?0:e.variableWidth?e.slideCount:e.slidesToShow+(e.centerMode?1:0)};t.getPreClones=S;var E=function(e){return e.unslick||!e.infinite?0:e.slideCount};t.getPostClones=E;var B=function(e){return 1===e.slideCount?1:S(e)+e.slideCount+E(e)};t.getTotalSlides=B;var O=function(e){return e.targetSlide>e.currentSlide?e.targetSlide>e.currentSlide+j(e)?"left":"right":e.targetSlide<e.currentSlide-T(e)?"right":"left"};t.siblingDirection=O;var j=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r&&t%2==0&&(i+=1),i}return r?0:t-1};t.slidesOnRight=j;var T=function(e){var t=e.slidesToShow,n=e.centerMode,r=e.rtl,o=e.centerPadding;if(n){var i=(t-1)/2+1;return parseInt(o)>0&&(i+=1),r||t%2!=0||(i+=1),i}return r?t-1:0};t.slidesOnLeft=T;t.canUseDOM=function(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}},16093:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(87462),o=n(63366),i=n(67294),a=n(73469),s=function(e,t){"function"!=typeof e?e.current=t:e(t)},l=function(e,t){var n=(0,i.useRef)();return(0,i.useCallback)((function(r){e.current=r,n.current&&s(n.current,null),n.current=t,t&&s(t,r)}),[t])},c={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},u=function(e){Object.keys(c).forEach((function(t){e.style.setProperty(t,c[t],"important")}))},d=null;var f=function(){},p=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],h=!!document.documentElement.currentStyle,m=function(e){var t,n,r=(t=e,n=i.useRef(t),(0,a.Z)((function(){n.current=t})),n);(0,i.useLayoutEffect)((function(){var e=function(e){r.current(e)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}}),[])},g=function(e,t){var n=e.cacheMeasurements,a=e.maxRows,s=e.minRows,c=e.onChange,g=void 0===c?f:c,v=e.onHeightChange,b=void 0===v?f:v,y=(0,o.Z)(e,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]);var A=void 0!==y.value,x=(0,i.useRef)(null),C=l(x,t),_=(0,i.useRef)(0),w=(0,i.useRef)(),k=function(){var e=x.current,t=n&&w.current?w.current:function(e){var t=window.getComputedStyle(e);if(null===t)return null;var n,r=(n=t,p.reduce((function(e,t){return e[t]=n[t],e}),{})),o=r.boxSizing;return""===o?null:(h&&"border-box"===o&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px"),{sizingStyle:r,paddingSize:parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),borderSize:parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth)})}(e);if(t){w.current=t;var r=function(e,t,n,r){void 0===n&&(n=1),void 0===r&&(r=1/0),d||((d=document.createElement("textarea")).setAttribute("tabindex","-1"),d.setAttribute("aria-hidden","true"),u(d)),null===d.parentNode&&document.body.appendChild(d);var o=e.paddingSize,i=e.borderSize,a=e.sizingStyle,s=a.boxSizing;Object.keys(a).forEach((function(e){var t=e;d.style[t]=a[t]})),u(d),d.value=t;var l=function(e,t){var n=e.scrollHeight;return"border-box"===t.sizingStyle.boxSizing?n+t.borderSize:n-t.paddingSize}(d,e);d.value="x";var c=d.scrollHeight-o,f=c*n;"border-box"===s&&(f=f+o+i),l=Math.max(f,l);var p=c*r;return"border-box"===s&&(p=p+o+i),[l=Math.min(p,l),c]}(t,e.value||e.placeholder||"x",s,a),o=r[0],i=r[1];_.current!==o&&(_.current=o,e.style.setProperty("height",o+"px","important"),b(o,{rowHeight:i}))}};return(0,i.useLayoutEffect)(k),m(k),(0,i.createElement)("textarea",(0,r.Z)({},y,{onChange:function(e){A||k(),g(e)},ref:C}))},v=(0,i.forwardRef)(g)},26273:function(e,t,n){"use strict";n.d(t,{cn:function(){return f},d0:function(){return d},Ix:function(){return p},ZP:function(){return g}});var r=n(63366),o=n(94578),i=n(67294),a=n(73935),s=!1,l=i.createContext(null),c="unmounted",u="exited",d="entering",f="entered",p="exiting",h=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=u,r.appearStatus=d):o=f:o=t.unmountOnExit||t.mountOnEnter?c:u,r.state={status:o},r.nextCallback=null,r}(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===c?{status:u}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==d&&n!==f&&(t=d):n!==d&&n!==f||(t=p)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===d){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this);n&&function(e){e.scrollTop}(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===u&&this.setState({status:c})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[a.findDOMNode(this),r],i=o[0],l=o[1],c=this.getTimeouts(),u=r?c.appear:c.enter;!e&&!n||s?this.safeSetState({status:f},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,l),this.safeSetState({status:d},(function(){t.props.onEntering(i,l),t.onTransitionEnd(u,(function(){t.safeSetState({status:f},(function(){t.props.onEntered(i,l)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:a.findDOMNode(this);t&&!s?(this.props.onExit(r),this.safeSetState({status:p},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:u},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:u},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],s=o[1];this.props.addEndListener(i,s)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===c)return null;var t=this.props,n=t.children,o=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,r.Z)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return i.createElement(l.Provider,{value:null},"function"==typeof n?n(e,o):i.cloneElement(i.Children.only(n),o))},t}(i.Component);function m(){}h.contextType=l,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:m,onEntering:m,onEntered:m,onExit:m,onExiting:m,onExited:m},h.UNMOUNTED=c,h.EXITED=u,h.ENTERING=d,h.ENTERED=f,h.EXITING=p;var g=h},95301:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},r(e,t)},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0});var i=n(67294),a=function(e){function t(t){var n=e.call(this,t)||this;return n.container=null,n.editor=null,n.d=null,n.id=n.generateId(),n.state={showMergeTags:!1,tags:[]},n}return o(t,e),t.prototype.generateId=function(){var e=(new Date).getTime();return"T"+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?n:3&n|8).toString(16)}))},t.prototype.componentDidMount=function(){var e=this,t=this.props;this.container=document.getElementById("editor-"+this.id),this.container?(this.container.addEventListener("trix-initialize",(function(){e.editor=e.container.editor,e.editor||console.error("cannot  find trix editor"),t.onEditorReady&&"function"==typeof t.onEditorReady&&t.onEditorReady(e.editor)}),!1),this.container.addEventListener("trix-change",this.handleChange.bind(this),!1),t.uploadURL&&this.container.addEventListener("trix-attachment-add",this.handleUpload.bind(this))):console.error("editor not found")},t.prototype.componentWillUnmount=function(){this.container.removeEventListener("trix-initialize",this.handleChange),this.container.removeEventListener("trix-change",this.handleChange),this.props.uploadURL&&this.container.removeEventListener("trix-attachment-add",this.handleUpload)},t.prototype.handleChange=function(e){var t=this.props,n=this.state,r=e.target.innerText;t.onChange&&t.onChange(e.target.innerHTML,r);var o=this.editor.getSelectedRange();if(r&&o[0]==o[1]&&t.mergeTags){var i=o[0]-1;if(i>=0&&i<r.length)for(var a=r[i],s=0;s<t.mergeTags.length;s++)if(a==t.mergeTags[s].trigger){n.showMergeTags=!0,n.tags=t.mergeTags[s].tags,this.setState(n);break}}},t.prototype.handleUpload=function(e){var t=e.attachment;if(t.file)return this.uploadAttachment(t)},t.prototype.uploadAttachment=function(e){var t,n,r;if(t=e.file,n=new FormData,this.props.uploadData)for(var o in this.props.uploadData)n.append(o,this.props.uploadData[o]);return n.append(this.props.fileParamName||"file",t),(r=new XMLHttpRequest).open("POST",this.props.uploadURL,!0),r.upload.onprogress=function(t){var n=t.loaded/t.total*100;return e.setUploadProgress(n)},r.onload=function(){var t,n;if(r.status>=200&&r.status<300)return n=t=r.responseText,e.setAttributes({url:n,href:t})},r.send(n)},t.prototype.handleTagSelected=function(e,t){t.preventDefault();var n=this.state;n.showMergeTags=!1,this.setState(n),this.editor.expandSelectionInDirection("backward"),this.editor.insertString(e.tag)},t.prototype.renderTagSelector=function(e){var t=this;if(!e||!this.editor)return null;var n=document.getElementById("trix-editor-top-level-"+this.id).getBoundingClientRect(),r=this.editor.getClientRectAtPosition(this.editor.getSelectedRange()[0]),o={position:"absolute",top:r.top+25-n.top,left:r.left+25-n.left,width:"250px",boxSizing:"border-box",padding:0,margin:".2em 0 0",backgroundColor:"hsla(0,0%,100%,.9)",borderRadius:".3em",background:"linear-gradient(to bottom right, white, hsla(0,0%,100%,.8))",border:"1px solid rgba(0,0,0,.3)",boxShadow:".05em .2em .6em rgba(0,0,0,.2)",textShadow:"none"},a={display:"block",padding:".2em .5em",cursor:"pointer"};return i.createElement("div",{style:o,className:"react-trix-suggestions"},e.map((function(e){return i.createElement("a",{key:e.name,style:a,href:"#",onClick:t.handleTagSelected.bind(t,e)},e.name)})))},t.prototype.render=function(){var e=this,t=this.state,n=this.props,r={id:"editor-"+this.id,input:"input-"+this.id};n.className&&(r.class=n.className),n.autoFocus&&(r.autofocus=n.autoFocus.toString()),n.placeholder&&(r.placeholder=n.placeholder),n.toolbar&&(r.toolbar=n.toolbar);var o=null;return t.showMergeTags&&(o=this.renderTagSelector(t.tags)),i.createElement("div",{id:"trix-editor-top-level-"+this.id,ref:function(t){return e.d=t},style:{position:"relative"}},i.createElement("trix-editor",r),i.createElement("input",{type:"hidden",id:"input-"+this.id,value:this.props.value}),o)},t}(i.Component);t.TrixEditor=a},54244:function(e,t,n){t.TrixEditor=n(95301).TrixEditor},75251:function(e,t,n){"use strict";n(27418);var r=n(67294),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},72408:function(e,t,n){"use strict";var r=n(27418),o=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var d=Symbol.for;o=d("react.element"),i=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),a=d("react.provider"),s=d("react.context"),l=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),u=d("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function g(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function v(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=g.prototype;var y=b.prototype=new v;y.constructor=b,r(y,g.prototype),y.isPureReactComponent=!0;var A={current:null},x=Object.prototype.hasOwnProperty,C={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,r)&&!C.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:A.current}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var k=/\/+/g;function S(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function E(e,t,n,r,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case o:case i:l=!0}}if(l)return a=a(l=e),e=""===r?"."+S(l,0):r,Array.isArray(a)?(n="",null!=e&&(n=e.replace(k,"$&/")+"/"),E(a,t,n,"",(function(e){return e}))):null!=a&&(w(a)&&(a=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,n+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(k,"$&/")+"/")+e)),t.push(a)),1;if(l=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=r+S(s=e[c],c);l+=E(s,t,n,u,a)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=E(s=s.value,t,n,u=r+S(s,c++),a);else if("object"===s)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function B(e,t,n){if(null==e)return e;var r=[],o=0;return E(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function O(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var j={current:null};function T(){var e=j.current;if(null===e)throw Error(p(321));return e}var P={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:A,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:B,forEach:function(e,t,n){B(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return B(e,(function(){t++})),t},toArray:function(e){return B(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error(p(143));return e}},t.Component=g,t.PureComponent=b,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=P,t.cloneElement=function(e,t,n){if(null==e)throw Error(p(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=A.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)x.call(t,u)&&!C.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var d=0;d<u;d++)c[d]=arguments[d+2];i.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return T().useCallback(e,t)},t.useContext=function(e,t){return T().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return T().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return T().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return T().useLayoutEffect(e,t)},t.useMemo=function(e,t){return T().useMemo(e,t)},t.useReducer=function(e,t,n){return T().useReducer(e,t,n)},t.useRef=function(e){return T().useRef(e)},t.useState=function(e){return T().useState(e)},t.version="17.0.2"},67294:function(e,t,n){"use strict";e.exports=n(72408)},85893:function(e,t,n){"use strict";e.exports=n(75251)},17834:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(4942),a=n(67294),s=n(45697),l=n.n(s),c=n(94184),u=n.n(c),d=n(23663),f=n(69638),p=["className","closeClassName","closeAriaLabel","cssModule","tag","color","isOpen","toggle","children","transition","fade","innerRef"];function h(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g={children:l().node,className:l().string,closeClassName:l().string,closeAriaLabel:l().string,cssModule:l().object,color:l().string,fade:l().bool,isOpen:l().bool,toggle:l().func,tag:d.iC,transition:l().shape(f.Z.propTypes),innerRef:l().oneOfType([l().object,l().string,l().func])},v={color:"success",isOpen:!0,tag:"div",closeAriaLabel:"Close",fade:!0,transition:m(m({},f.Z.defaultProps),{},{unmountOnExit:!0})};function b(e){var t=e.className,n=e.closeClassName,i=e.closeAriaLabel,s=e.cssModule,l=e.tag,c=e.color,h=e.isOpen,g=e.toggle,v=e.children,b=e.transition,y=e.fade,A=e.innerRef,x=(0,o.Z)(e,p),C=(0,d.mx)(u()(t,"alert","alert-"+c,{"alert-dismissible":g}),s),_=(0,d.mx)(u()("close",n),s),w=m(m(m({},f.Z.defaultProps),b),{},{baseClass:y?b.baseClass:"",timeout:y?b.timeout:0});return a.createElement(f.Z,(0,r.Z)({},x,w,{tag:l,className:C,in:h,role:"alert",innerRef:A}),g?a.createElement("button",{type:"button",className:_,"aria-label":i,onClick:g},a.createElement("span",{"aria-hidden":"true"},"×")):null,v)}b.propTypes=g,b.defaultProps=v,t.Z=b},17354:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","color","innerRef","pill","tag"],f={color:s().string,pill:s().bool,tag:u.iC,innerRef:s().oneOfType([s().object,s().func,s().string]),children:s().node,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.color,s=e.innerRef,l=e.pill,f=e.tag,p=(0,o.Z)(e,d),h=(0,u.mx)(c()(t,"badge","badge-"+a,!!l&&"badge-pill"),n);return p.href&&"span"===f&&(f="a"),i.createElement(f,(0,r.Z)({},p,{className:h,ref:s}))};p.propTypes=f,p.defaultProps={color:"secondary",pill:!1,tag:"span"},t.Z=p},97975:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(23663),p=["active","aria-label","block","className","close","cssModule","color","outline","size","tag","innerRef"],h={active:c().bool,"aria-label":c().string,block:c().bool,color:c().string,disabled:c().bool,outline:c().bool,tag:f.iC,innerRef:c().oneOfType([c().object,c().func,c().string]),onClick:c().func,size:c().string,children:c().node,className:c().string,cssModule:c().object,close:c().bool},m=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.onClick=function(e){if(!this.props.disabled)return this.props.onClick?this.props.onClick(e):void 0;e.preventDefault()},n.render=function(){var e=this.props,t=e.active,n=e["aria-label"],i=e.block,a=e.className,l=e.close,c=e.cssModule,u=e.color,h=e.outline,m=e.size,g=e.tag,v=e.innerRef,b=(0,o.Z)(e,p);l&&void 0===b.children&&(b.children=s.createElement("span",{"aria-hidden":!0},"×"));var y="btn"+(h?"-outline":"")+"-"+u,A=(0,f.mx)(d()(a,{close:l},l||"btn",l||y,!!m&&"btn-"+m,!!i&&"btn-block",{active:t,disabled:this.props.disabled}),c);b.href&&"button"===g&&(g="a");var x=l?"Close":null;return s.createElement(g,(0,r.Z)({type:"button"===g&&b.onClick?"button":void 0},b,{className:A,ref:v,onClick:this.onClick,"aria-label":n||x}))},t}(s.Component);m.propTypes=h,m.defaultProps={color:"secondary",tag:"button"},t.Z=m},71997:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","size","vertical","tag"],f={tag:u.iC,"aria-label":s().string,className:s().string,cssModule:s().object,role:s().string,size:s().string,vertical:s().bool},p=function(e){var t=e.className,n=e.cssModule,a=e.size,s=e.vertical,l=e.tag,f=(0,o.Z)(e,d),p=(0,u.mx)(c()(t,!!a&&"btn-group-"+a,s?"btn-group-vertical":"btn-group"),n);return i.createElement(l,(0,r.Z)({},f,{className:p}))};p.propTypes=f,p.defaultProps={tag:"div",role:"group"},t.Z=p},56941:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","color","body","inverse","outline","tag","innerRef"],f={tag:u.iC,inverse:s().bool,color:s().string,body:s().bool,outline:s().bool,className:s().string,cssModule:s().object,innerRef:s().oneOfType([s().object,s().string,s().func])},p=function(e){var t=e.className,n=e.cssModule,a=e.color,s=e.body,l=e.inverse,f=e.outline,p=e.tag,h=e.innerRef,m=(0,o.Z)(e,d),g=(0,u.mx)(c()(t,"card",!!l&&"text-white",!!s&&"card-body",!!a&&(f?"border":"bg")+"-"+a),n);return i.createElement(p,(0,r.Z)({},m,{className:g,ref:h}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},91121:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","innerRef","tag"],f={tag:u.iC,className:s().string,cssModule:s().object,innerRef:s().oneOfType([s().object,s().string,s().func])},p=function(e){var t=e.className,n=e.cssModule,a=e.innerRef,s=e.tag,l=(0,o.Z)(e,d),f=(0,u.mx)(c()(t,"card-body"),n);return i.createElement(s,(0,r.Z)({},l,{className:f,ref:a}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},38089:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag"],f={tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=(0,o.Z)(e,d),l=(0,u.mx)(c()(t,"card-header"),n);return i.createElement(a,(0,r.Z)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},90442:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","top","bottom","tag"],f={tag:u.iC,top:s().bool,bottom:s().bool,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.top,s=e.bottom,l=e.tag,f=(0,o.Z)(e,d),p="card-img";a&&(p="card-img-top"),s&&(p="card-img-bottom");var h=(0,u.mx)(c()(t,p),n);return i.createElement(l,(0,r.Z)({},f,{className:h}))};p.propTypes=f,p.defaultProps={tag:"img"},t.Z=p},75351:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag"],f={tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=(0,o.Z)(e,d),l=(0,u.mx)(c()(t,"card-title"),n);return i.createElement(a,(0,r.Z)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},51252:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","widths","tag"],f=s().oneOfType([s().number,s().string]),p=s().oneOfType([s().bool,s().number,s().string,s().shape({size:s().oneOfType([s().bool,s().number,s().string]),order:f,offset:f})]),h={tag:u.iC,xs:p,sm:p,md:p,lg:p,xl:p,className:s().string,cssModule:s().object,widths:s().array},m={tag:"div",widths:["xs","sm","md","lg","xl"]},g=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},v=function(e){var t=e.className,n=e.cssModule,a=e.widths,s=e.tag,l=(0,o.Z)(e,d),f=[];a.forEach((function(t,r){var o=e[t];if(delete l[t],o||""===o){var i=!r;if((0,u.Kn)(o)){var a,s=i?"-":"-"+t+"-",d=g(i,t,o.size);f.push((0,u.mx)(c()(((a={})[d]=o.size||""===o.size,a["order"+s+o.order]=o.order||0===o.order,a["offset"+s+o.offset]=o.offset||0===o.offset,a)),n))}else{var p=g(i,t,o);f.push(p)}}})),f.length||f.push("col");var p=(0,u.mx)(c()(t,f),n);return i.createElement(s,(0,r.Z)({},l,{className:p}))};v.propTypes=h,v.defaultProps=m,t.Z=v},20627:function(e,t,n){"use strict";var r,o=n(87462),i=n(63366),a=n(97326),s=n(94578),l=n(4942),c=n(67294),u=n(45697),d=n.n(u),f=n(94184),p=n.n(f),h=n(793),m=n(23663),g=["tag","isOpen","className","navbar","cssModule","children","innerRef"];function v(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,l.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=b(b({},h.Transition.propTypes),{},{isOpen:d().bool,children:d().oneOfType([d().arrayOf(d().node),d().node]),tag:m.iC,className:d().node,navbar:d().bool,cssModule:d().object,innerRef:d().oneOfType([d().func,d().string,d().object])}),A=b(b({},h.Transition.defaultProps),{},{isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:m.wF.Collapse}),x=((r={})[m.E5.ENTERING]="collapsing",r[m.E5.ENTERED]="collapse show",r[m.E5.EXITING]="collapsing",r[m.E5.EXITED]="collapse",r);function C(e){return e.scrollHeight}var _=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={height:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(e){n[e]=n[e].bind((0,a.Z)(n))})),n}(0,s.Z)(t,e);var n=t.prototype;return n.onEntering=function(e,t){this.setState({height:C(e)}),this.props.onEntering(e,t)},n.onEntered=function(e,t){this.setState({height:null}),this.props.onEntered(e,t)},n.onExit=function(e){this.setState({height:C(e)}),this.props.onExit(e)},n.onExiting=function(e){e.offsetHeight;this.setState({height:0}),this.props.onExiting(e)},n.onExited=function(e){this.setState({height:null}),this.props.onExited(e)},n.render=function(){var e=this,t=this.props,n=t.tag,r=t.isOpen,a=t.className,s=t.navbar,l=t.cssModule,u=t.children,d=(t.innerRef,(0,i.Z)(t,g)),f=this.state.height,v=(0,m.ei)(d,m.rb),y=(0,m.CE)(d,m.rb);return c.createElement(h.Transition,(0,o.Z)({},v,{in:r,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(t){var r=function(e){return x[e]||"collapse"}(t),i=(0,m.mx)(p()(a,r,s&&"navbar-collapse"),l),d=null===f?null:{height:f};return c.createElement(n,(0,o.Z)({},y,{style:b(b({},y.style),d),className:i,ref:e.props.innerRef}),u)}))},t}(c.Component);_.propTypes=y,_.defaultProps=A,t.Z=_},2291:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=n(97326),f=n(94578),p=["className","label","valid","invalid","cssModule","children","bsSize","innerRef","htmlFor","type","onChange","dataBrowse","hidden"],h={className:s().string,id:s().oneOfType([s().string,s().number]).isRequired,label:s().node,valid:s().bool,invalid:s().bool,bsSize:s().string,htmlFor:s().string,cssModule:s().object,onChange:s().func,children:s().oneOfType([s().node,s().array,s().func]),innerRef:s().oneOfType([s().object,s().string,s().func])},m=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={files:null},n.onChange=n.onChange.bind((0,d.Z)(n)),n}(0,f.Z)(t,e);var n=t.prototype;return n.onChange=function(e){var t=e.target,n=this.props.onChange,r=this.getSelectedFiles(t);"function"==typeof n&&n.apply(void 0,arguments),this.setState({files:r})},n.getSelectedFiles=function(e){if(this.props.multiple&&e.files)return[].slice.call(e.files).map((function(e){return e.name})).join(", ");if(-1!==e.value.indexOf("fakepath")){var t=e.value.split("\\");return t[t.length-1]}return e.value},n.render=function(){var e=this.props,t=e.className,n=e.label,a=e.valid,s=e.invalid,l=e.cssModule,d=e.children,f=(e.bsSize,e.innerRef),h=e.htmlFor,m=(e.type,e.onChange,e.dataBrowse),g=e.hidden,v=(0,o.Z)(e,p),b=(0,u.mx)(c()(t,"custom-file"),l),y=(0,u.mx)(c()(s&&"is-invalid",a&&"is-valid"),l),A=h||v.id,x=this.state.files;return i.createElement("div",{className:b,hidden:g||!1},i.createElement("input",(0,r.Z)({type:"file"},v,{ref:f,"aria-invalid":s,className:c()(y,(0,u.mx)("custom-file-input",l)),onChange:this.onChange})),i.createElement("label",{className:(0,u.mx)("custom-file-label",l),htmlFor:A,"data-browse":m},x||n||"Choose file"),d)},t}(i.Component);m.propTypes=h;var g=m,v=["className","label","inline","valid","invalid","cssModule","children","bsSize","innerRef","htmlFor"],b=["type"],y=["hidden"],A={className:s().string,id:s().oneOfType([s().string,s().number]).isRequired,type:s().string.isRequired,label:s().node,inline:s().bool,valid:s().bool,invalid:s().bool,bsSize:s().string,htmlFor:s().string,cssModule:s().object,children:s().oneOfType([s().node,s().array,s().func]),innerRef:s().oneOfType([s().object,s().string,s().func])};function x(e){var t=e.className,n=e.label,a=e.inline,s=e.valid,l=e.invalid,d=e.cssModule,f=e.children,p=e.bsSize,h=e.innerRef,m=e.htmlFor,A=(0,o.Z)(e,v),x=A.type,C=(0,u.mx)(c()(t,"custom-"+x,!!p&&"custom-"+x+"-"+p),d),_=(0,u.mx)(c()(l&&"is-invalid",s&&"is-valid"),d),w=m||A.id;if("select"===x){A.type;var k=(0,o.Z)(A,b);return i.createElement("select",(0,r.Z)({},k,{ref:h,className:c()(_,C),"aria-invalid":l}),f)}if("file"===x)return i.createElement(g,e);if("checkbox"!==x&&"radio"!==x&&"switch"!==x)return i.createElement("input",(0,r.Z)({},A,{ref:h,"aria-invalid":l,className:c()(_,C)}));var S=c()(C,(0,u.mx)(c()("custom-control",{"custom-control-inline":a}),d)),E=A.hidden,B=(0,o.Z)(A,y);return i.createElement("div",{className:S,hidden:E||!1},i.createElement("input",(0,r.Z)({},B,{type:"switch"===x?"checkbox":x,ref:h,"aria-invalid":l,className:c()(_,(0,u.mx)("custom-control-input",d))})),i.createElement("label",{className:(0,u.mx)("custom-control-label",d),htmlFor:w},n),f)}x.propTypes=A;var C=x},86704:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(81385),d=n(94184),f=n.n(d),p=n(80935),h=n(23663),m=["className","cssModule","direction","isOpen","group","size","nav","setActiveFromChild","active","addonType","tag","menuRole"],g={a11y:c().bool,disabled:c().bool,direction:c().oneOf(["up","down","left","right"]),group:c().bool,isOpen:c().bool,nav:c().bool,active:c().bool,addonType:c().oneOfType([c().bool,c().oneOf(["prepend","append"])]),size:c().string,tag:h.iC,toggle:c().func,children:c().node,className:c().string,cssModule:c().object,inNavbar:c().bool,setActiveFromChild:c().bool,menuRole:c().oneOf(["listbox","menu"])},v=[h.Do.space,h.Do.enter,h.Do.up,h.Do.down,h.Do.end,h.Do.home],b=function(e){function t(t){var n;return(n=e.call(this,t)||this).addEvents=n.addEvents.bind((0,i.Z)(n)),n.handleDocumentClick=n.handleDocumentClick.bind((0,i.Z)(n)),n.handleKeyDown=n.handleKeyDown.bind((0,i.Z)(n)),n.removeEvents=n.removeEvents.bind((0,i.Z)(n)),n.toggle=n.toggle.bind((0,i.Z)(n)),n.handleMenuRef=n.handleMenuRef.bind((0,i.Z)(n)),n.containerRef=s.createRef(),n.menuRef=s.createRef(),n}(0,a.Z)(t,e);var n=t.prototype;return n.handleMenuRef=function(e){this.menuRef.current=e},n.getContextValue=function(){return{toggle:this.toggle,isOpen:this.props.isOpen,direction:"down"===this.props.direction&&this.props.dropup?"up":this.props.direction,inNavbar:this.props.inNavbar,disabled:this.props.disabled,onMenuRef:this.handleMenuRef,menuRole:this.props.menuRole}},n.componentDidMount=function(){this.handleProps()},n.componentDidUpdate=function(e){this.props.isOpen!==e.isOpen&&this.handleProps()},n.componentWillUnmount=function(){this.removeEvents()},n.getContainer=function(){return this.containerRef.current},n.getMenu=function(){return this.menuRef.current},n.getMenuCtrl=function(){return this._$menuCtrl||(this._$menuCtrl=this.getContainer().querySelector("[aria-expanded]")),this._$menuCtrl},n.getItemType=function(){return"listbox"===this.context.menuRole?"option":"menuitem"},n.getMenuItems=function(){var e=this.getMenu()||this.getContainer();return[].slice.call(e.querySelectorAll('[role="'+this.getItemType()+'"]'))},n.addEvents=function(){var e=this;["click","touchstart","keyup"].forEach((function(t){return document.addEventListener(t,e.handleDocumentClick,!0)}))},n.removeEvents=function(){var e=this;["click","touchstart","keyup"].forEach((function(t){return document.removeEventListener(t,e.handleDocumentClick,!0)}))},n.handleDocumentClick=function(e){if(!e||3!==e.which&&("keyup"!==e.type||e.which===h.Do.tab)){var t=this.getContainer(),n=this.getMenu(),r=t.contains(e.target)&&t!==e.target,o=n&&n.contains(e.target)&&n!==e.target;(!r&&!o||"keyup"===e.type&&e.which!==h.Do.tab)&&this.toggle(e)}},n.handleKeyDown=function(e){var t=this,n="menuitem"===e.target.getAttribute("role")||"option"===e.target.getAttribute("role"),r=this.getMenuCtrl()===e.target,o=h.Do.tab===e.which;if(!(/input|textarea/i.test(e.target.tagName)||o&&!this.props.a11y||o&&!n&&!r)&&((-1!==v.indexOf(e.which)||e.which>=48&&e.which<=90)&&e.preventDefault(),!this.props.disabled&&(r&&([h.Do.space,h.Do.enter,h.Do.up,h.Do.down].indexOf(e.which)>-1?(this.props.isOpen||this.toggle(e),setTimeout((function(){return t.getMenuItems()[0].focus()}))):this.props.isOpen&&o?(e.preventDefault(),this.getMenuItems()[0].focus()):this.props.isOpen&&e.which===h.Do.esc&&this.toggle(e)),this.props.isOpen&&n)))if([h.Do.tab,h.Do.esc].indexOf(e.which)>-1)this.toggle(e),this.getMenuCtrl().focus();else if([h.Do.space,h.Do.enter].indexOf(e.which)>-1)e.target.click(),this.getMenuCtrl().focus();else if([h.Do.down,h.Do.up].indexOf(e.which)>-1||[h.Do.n,h.Do.p].indexOf(e.which)>-1&&e.ctrlKey){var i=this.getMenuItems(),a=i.indexOf(e.target);h.Do.up===e.which||h.Do.p===e.which&&e.ctrlKey?a=0!==a?a-1:i.length-1:(h.Do.down===e.which||h.Do.n===e.which&&e.ctrlKey)&&(a=a===i.length-1?0:a+1),i[a].focus()}else if(h.Do.end===e.which){var s=this.getMenuItems();s[s.length-1].focus()}else if(h.Do.home===e.which){this.getMenuItems()[0].focus()}else if(e.which>=48&&e.which<=90)for(var l=this.getMenuItems(),c=String.fromCharCode(e.which).toLowerCase(),u=0;u<l.length;u+=1){if((l[u].textContent&&l[u].textContent[0].toLowerCase())===c){l[u].focus();break}}},n.handleProps=function(){this.props.isOpen?this.addEvents():this.removeEvents()},n.toggle=function(e){return this.props.disabled?e&&e.preventDefault():this.props.toggle(e)},n.render=function(){var e,t,n=(0,h.CE)(this.props,["toggle","disabled","inNavbar","a11y"]),i=n.className,a=n.cssModule,l=n.direction,c=n.isOpen,d=n.group,g=n.size,v=n.nav,b=n.setActiveFromChild,y=n.active,A=n.addonType,x=n.tag,C=(n.menuRole,(0,o.Z)(n,m)),_=x||(v?"li":"div"),w=!1;b&&s.Children.map(this.props.children[1].props.children,(function(e){e&&e.props.active&&(w=!0)}));var k=(0,h.mx)(f()(i,"down"!==l&&"drop"+l,!(!v||!y)&&"active",!(!b||!w)&&"active",((e={})["input-group-"+A]=A,e["btn-group"]=d,e["btn-group-"+g]=!!g,e.dropdown=!d&&!A,e.show=c,e["nav-item"]=v,e)),a);return s.createElement(p.D.Provider,{value:this.getContextValue()},s.createElement(u.ZP,null,s.createElement(_,(0,r.Z)({},C,((t={})["string"==typeof _?"ref":"innerRef"]=this.containerRef,t),{onKeyDown:this.handleKeyDown,className:k}))))},t}(s.Component);b.propTypes=g,b.defaultProps={a11y:!0,isOpen:!1,direction:"down",nav:!1,active:!1,addonType:!1,inNavbar:!1,setActiveFromChild:!1},t.Z=b},80935:function(e,t,n){"use strict";n.d(t,{D:function(){return r}});var r=n(67294).createContext({})},98227:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(80935),p=n(23663),h=["className","cssModule","divider","tag","header","active","text"],m={children:c().node,active:c().bool,disabled:c().bool,divider:c().bool,tag:p.iC,header:c().bool,onClick:c().func,className:c().string,cssModule:c().object,toggle:c().bool,text:c().bool},g=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind((0,i.Z)(n)),n.getTabIndex=n.getTabIndex.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.getRole=function(){return"listbox"===this.context.menuRole?"option":"menuitem"},n.onClick=function(e){var t=this.props,n=t.disabled,r=t.header,o=t.divider,i=t.text;n||r||o||i?e.preventDefault():(this.props.onClick&&this.props.onClick(e),this.props.toggle&&this.context.toggle(e))},n.getTabIndex=function(){var e=this.props,t=e.disabled,n=e.header,r=e.divider,o=e.text;return t||n||r||o?"-1":"0"},n.render=function(){var e=this.getTabIndex(),t=e>-1?this.getRole():void 0,n=(0,p.CE)(this.props,["toggle"]),i=n.className,a=n.cssModule,l=n.divider,c=n.tag,u=n.header,f=n.active,m=n.text,g=(0,o.Z)(n,h),v=(0,p.mx)(d()(i,{disabled:g.disabled,"dropdown-item":!l&&!u&&!m,active:f,"dropdown-header":u,"dropdown-divider":l,"dropdown-item-text":m}),a);return"button"===c&&(u?c="h6":l?c="div":g.href?c="a":m&&(c="span")),s.createElement(c,(0,r.Z)({type:"button"===c&&(g.onClick||this.props.toggle)?"button":void 0},g,{tabIndex:e,role:t,className:v,onClick:this.onClick}))},t}(s.Component);g.propTypes=m,g.defaultProps={tag:"button",toggle:!0},g.contextType=f.D,t.Z=g},42365:function(e,t,n){"use strict";var r=n(87462),o=n(4942),i=n(63366),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(73935),d=n(94184),f=n.n(d),p=n(74688),h=n(80935),m=n(23663),g=["className","cssModule","right","tag","flip","modifiers","persist","positionFixed","container"];function v(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y={tag:m.iC,children:c().node.isRequired,right:c().bool,flip:c().bool,modifiers:c().object,className:c().string,cssModule:c().object,persist:c().bool,positionFixed:c().bool,container:m.qW},A={flip:{enabled:!1}},x={up:"top",left:"left",right:"right",down:"bottom"},C=function(e){function t(){return e.apply(this,arguments)||this}(0,a.Z)(t,e);var n=t.prototype;return n.getRole=function(){return"listbox"===this.context.menuRole?"listbox":"menu"},n.render=function(){var e=this,t=this.props,n=t.className,o=t.cssModule,a=t.right,l=t.tag,c=t.flip,d=t.modifiers,h=t.persist,v=t.positionFixed,y=t.container,C=(0,i.Z)(t,g),_=(0,m.mx)(f()(n,"dropdown-menu",{"dropdown-menu-right":a,show:this.context.isOpen}),o),w=l;if(h||this.context.isOpen&&!this.context.inNavbar){var k=(x[this.context.direction]||"bottom")+"-"+(a?"end":"start"),S=c?d:b(b({},d),A),E=!!v,B=s.createElement(p.ZP,{placement:k,modifiers:S,positionFixed:E},(function(t){var n=t.ref,o=t.style,i=t.placement,a=b(b({},e.props.style),o);return s.createElement(w,(0,r.Z)({tabIndex:"-1",role:e.getRole(),ref:function(t){n(t);var r=e.context.onMenuRef;r&&r(t)}},C,{style:a,"aria-hidden":!e.context.isOpen,className:_,"x-placement":i}))}));return y?u.createPortal(B,(0,m.U9)(y)):B}return s.createElement(w,(0,r.Z)({tabIndex:"-1",role:this.getRole()},C,{"aria-hidden":!this.context.isOpen,className:_,"x-placement":C.placement}))},t}(s.Component);C.propTypes=y,C.defaultProps={tag:"div",flip:!0},C.contextType=h.D,t.Z=C},65497:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(63351),p=n(80935),h=n(23663),m=n(97975),g=["className","color","cssModule","caret","split","nav","tag","innerRef"],v={caret:c().bool,color:c().string,children:c().node,className:c().string,cssModule:c().object,disabled:c().bool,onClick:c().func,"aria-haspopup":c().bool,split:c().bool,tag:h.iC,nav:c().bool},b=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.onClick=function(e){this.props.disabled||this.context.disabled?e.preventDefault():(this.props.nav&&!this.props.tag&&e.preventDefault(),this.props.onClick&&this.props.onClick(e),this.context.toggle(e))},n.getRole=function(){return this.context.menuRole||this.props["aria-haspopup"]},n.render=function(){var e,t=this,n=this.props,i=n.className,a=n.color,l=n.cssModule,c=n.caret,u=n.split,p=n.nav,v=n.tag,b=n.innerRef,y=(0,o.Z)(n,g),A=y["aria-label"]||"Toggle Dropdown",x=(0,h.mx)(d()(i,{"dropdown-toggle":c||u,"dropdown-toggle-split":u,"nav-link":p}),l),C=void 0!==y.children?y.children:s.createElement("span",{className:"sr-only"},A);return p&&!v?(e="a",y.href="#"):v?e=v:(e=m.Z,y.color=a,y.cssModule=l),this.context.inNavbar?s.createElement(e,(0,r.Z)({},y,{className:x,onClick:this.onClick,"aria-expanded":this.context.isOpen,"aria-haspopup":this.getRole(),children:C})):s.createElement(f.Z,{innerRef:b},(function(n){var o,i=n.ref;return s.createElement(e,(0,r.Z)({},y,((o={})["string"==typeof e?"ref":"innerRef"]=i,o),{className:x,onClick:t.onClick,"aria-expanded":t.context.isOpen,"aria-haspopup":t.getRole(),children:C}))}))},t}(s.Component);b.propTypes=v,b.defaultProps={color:"secondary","aria-haspopup":!0},b.contextType=p.D,t.Z=b},69638:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(4942),a=n(67294),s=n(45697),l=n.n(s),c=n(94184),u=n.n(c),d=n(793),f=n(23663),p=["tag","baseClass","baseClassActive","className","cssModule","children","innerRef"];function h(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,i.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var g=m(m({},d.Transition.propTypes),{},{children:l().oneOfType([l().arrayOf(l().node),l().node]),tag:f.iC,baseClass:l().string,baseClassActive:l().string,className:l().string,cssModule:l().object,innerRef:l().oneOfType([l().object,l().string,l().func])}),v=m(m({},d.Transition.defaultProps),{},{tag:"div",baseClass:"fade",baseClassActive:"show",timeout:f.wF.Fade,appear:!0,enter:!0,exit:!0,in:!0});function b(e){var t=e.tag,n=e.baseClass,i=e.baseClassActive,s=e.className,l=e.cssModule,c=e.children,h=e.innerRef,m=(0,o.Z)(e,p),g=(0,f.ei)(m,f.rb),v=(0,f.CE)(m,f.rb);return a.createElement(d.Transition,g,(function(e){var o="entered"===e,d=(0,f.mx)(u()(s,n,o&&i),l);return a.createElement(t,(0,r.Z)({className:d},v,{ref:h}),c)}))}b.propTypes=g,b.defaultProps=v,t.Z=b},15538:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(23663),p=["className","cssModule","inline","tag","innerRef"],h={children:c().node,inline:c().bool,tag:f.iC,innerRef:c().oneOfType([c().object,c().func,c().string]),className:c().string,cssModule:c().object},m=function(e){function t(t){var n;return(n=e.call(this,t)||this).getRef=n.getRef.bind((0,i.Z)(n)),n.submit=n.submit.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.getRef=function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e},n.submit=function(){this.ref&&this.ref.submit()},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,i=e.inline,a=e.tag,l=e.innerRef,c=(0,o.Z)(e,p),u=(0,f.mx)(d()(t,!!i&&"form-inline"),n);return s.createElement(a,(0,r.Z)({},c,{ref:l,className:u}))},t}(s.Component);m.propTypes=h,m.defaultProps={tag:"form"},t.Z=m},70474:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","valid","tooltip","tag"],f={children:s().node,tag:u.iC,className:s().string,cssModule:s().object,valid:s().bool,tooltip:s().bool},p={tag:"div",valid:void 0},h=function(e){var t=e.className,n=e.cssModule,a=e.valid,s=e.tooltip,l=e.tag,f=(0,o.Z)(e,d),p=s?"tooltip":"feedback",h=(0,u.mx)(c()(t,a?"valid-"+p:"invalid-"+p),n);return i.createElement(l,(0,r.Z)({},f,{className:h}))};h.propTypes=f,h.defaultProps=p,t.Z=h},82669:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","row","disabled","check","inline","tag"],f={children:s().node,row:s().bool,check:s().bool,inline:s().bool,disabled:s().bool,tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.row,s=e.disabled,l=e.check,f=e.inline,p=e.tag,h=(0,o.Z)(e,d),m=(0,u.mx)(c()(t,!!a&&"row",l?"form-check":"form-group",!(!l||!f)&&"form-check-inline",!(!l||!s)&&"disabled"),n);return"fieldset"===p&&(h.disabled=s),i.createElement(p,(0,r.Z)({},h,{className:m}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},609:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(23663),p=["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"],h={children:c().node,type:c().string,size:c().oneOfType([c().number,c().string]),bsSize:c().string,valid:c().bool,invalid:c().bool,tag:f.iC,innerRef:c().oneOfType([c().object,c().func,c().string]),plaintext:c().bool,addon:c().bool,className:c().string,cssModule:c().object},m=function(e){function t(t){var n;return(n=e.call(this,t)||this).getRef=n.getRef.bind((0,i.Z)(n)),n.focus=n.focus.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.getRef=function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e},n.focus=function(){this.ref&&this.ref.focus()},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,i=e.type,a=e.bsSize,l=e.valid,c=e.invalid,u=e.tag,h=e.addon,m=e.plaintext,g=e.innerRef,v=(0,o.Z)(e,p),b=["radio","checkbox"].indexOf(i)>-1,y=new RegExp("\\D","g"),A=u||("select"===i||"textarea"===i?i:"input"),x="form-control";m?(x+="-plaintext",A=u||"input"):"file"===i?x+="-file":"range"===i?x+="-range":b&&(x=h?null:"form-check-input"),v.size&&y.test(v.size)&&((0,f.O4)('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),a=v.size,delete v.size);var C=(0,f.mx)(d()(t,c&&"is-invalid",l&&"is-valid",!!a&&"form-control-"+a,x),n);return("input"===A||u&&"function"==typeof u)&&(v.type=i),v.children&&!m&&"select"!==i&&"string"==typeof A&&"select"!==A&&((0,f.O4)('Input with a type of "'+i+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete v.children),s.createElement(A,(0,r.Z)({},v,{ref:g,className:C,"aria-invalid":c}))},t}(s.Component);m.propTypes=h,m.defaultProps={type:"text"},t.Z=m},69618:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag","size"],f={tag:u.iC,size:s().string,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=e.size,l=(0,o.Z)(e,d),f=(0,u.mx)(c()(t,"input-group",s?"input-group-"+s:null),n);return i.createElement(a,(0,r.Z)({},l,{className:f}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},88822:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=n(51566),f=["className","cssModule","tag","addonType","children"],p={tag:u.iC,addonType:s().oneOf(["prepend","append"]).isRequired,children:s().node,className:s().string,cssModule:s().object},h=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=e.addonType,l=e.children,p=(0,o.Z)(e,f),h=(0,u.mx)(c()(t,"input-group-"+s),n);return"string"==typeof l?i.createElement(a,(0,r.Z)({},p,{className:h}),i.createElement(d.Z,{children:l})):i.createElement(a,(0,r.Z)({},p,{className:h,children:l}))};h.propTypes=p,h.defaultProps={tag:"div"},t.Z=h},51566:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag"],f={tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=(0,o.Z)(e,d),l=(0,u.mx)(c()(t,"input-group-text"),n);return i.createElement(a,(0,r.Z)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"span"},t.Z=p},67954:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","hidden","widths","tag","check","size","for"],f=s().oneOfType([s().number,s().string]),p=s().oneOfType([s().bool,s().string,s().number,s().shape({size:f,order:f,offset:f})]),h={children:s().node,hidden:s().bool,check:s().bool,size:s().string,for:s().string,tag:u.iC,className:s().string,cssModule:s().object,xs:p,sm:p,md:p,lg:p,xl:p,widths:s().array},m={tag:"label",widths:["xs","sm","md","lg","xl"]},g=function(e,t,n){return!0===n||""===n?e?"col":"col-"+t:"auto"===n?e?"col-auto":"col-"+t+"-auto":e?"col-"+n:"col-"+t+"-"+n},v=function(e){var t=e.className,n=e.cssModule,a=e.hidden,s=e.widths,l=e.tag,f=e.check,p=e.size,h=e.for,m=(0,o.Z)(e,d),v=[];s.forEach((function(t,r){var o=e[t];if(delete m[t],o||""===o){var i,a=!r;if((0,u.Kn)(o)){var s,l=a?"-":"-"+t+"-";i=g(a,t,o.size),v.push((0,u.mx)(c()(((s={})[i]=o.size||""===o.size,s["order"+l+o.order]=o.order||0===o.order,s["offset"+l+o.offset]=o.offset||0===o.offset,s))),n)}else i=g(a,t,o),v.push(i)}}));var b=(0,u.mx)(c()(t,!!a&&"sr-only",!!f&&"form-check-label",!!p&&"col-form-label-"+p,v,!!v.length&&"col-form-label"),n);return i.createElement(l,(0,r.Z)({htmlFor:h},m,{className:b}))};v.propTypes=h,v.defaultProps=m,t.Z=v},54218:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag","flush","horizontal"],f={tag:u.iC,flush:s().bool,className:s().string,cssModule:s().object,horizontal:s().oneOfType([s().bool,s().string])},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=e.flush,l=e.horizontal,f=(0,o.Z)(e,d),p=(0,u.mx)(c()(t,"list-group",s?"list-group-flush":function(e){return!1!==e&&(!0===e||"xs"===e?"list-group-horizontal":"list-group-horizontal-"+e)}(l)),n);return i.createElement(a,(0,r.Z)({},f,{className:p}))};p.propTypes=f,p.defaultProps={tag:"ul",horizontal:!1},t.Z=p},59465:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag","active","disabled","action","color"],f={tag:u.iC,active:s().bool,disabled:s().bool,color:s().string,action:s().bool,className:s().any,cssModule:s().object},p=function(e){e.preventDefault()},h=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=e.active,l=e.disabled,f=e.action,h=e.color,m=(0,o.Z)(e,d),g=(0,u.mx)(c()(t,!!s&&"active",!!l&&"disabled",!!f&&"list-group-item-action",!!h&&"list-group-item-"+h,"list-group-item"),n);return l&&(m.onClick=p),i.createElement(a,(0,r.Z)({},m,{className:g}))};h.propTypes=f,h.defaultProps={tag:"li"},t.Z=h},45046:function(e,t,n){"use strict";n.d(t,{Z:function(){return S}});var r=n(4942),o=n(87462),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(73935),p=n(23663),h={children:c().node.isRequired,node:c().any},m=function(e){function t(){return e.apply(this,arguments)||this}(0,a.Z)(t,e);var n=t.prototype;return n.componentWillUnmount=function(){this.defaultNode&&document.body.removeChild(this.defaultNode),this.defaultNode=null},n.render=function(){return p.Nq?(this.props.node||this.defaultNode||(this.defaultNode=document.createElement("div"),document.body.appendChild(this.defaultNode)),f.createPortal(this.props.children,this.props.node||this.defaultNode)):null},t}(s.Component);m.propTypes=h;var g=m,v=n(69638);function b(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function A(){}var x=c().shape(v.Z.propTypes),C={isOpen:c().bool,autoFocus:c().bool,centered:c().bool,scrollable:c().bool,size:c().string,toggle:c().func,keyboard:c().bool,role:c().string,labelledBy:c().string,backdrop:c().oneOfType([c().bool,c().oneOf(["static"])]),onEnter:c().func,onExit:c().func,onOpened:c().func,onClosed:c().func,children:c().node,className:c().string,wrapClassName:c().string,modalClassName:c().string,backdropClassName:c().string,contentClassName:c().string,external:c().node,fade:c().bool,cssModule:c().object,zIndex:c().oneOfType([c().number,c().string]),backdropTransition:x,modalTransition:x,innerRef:c().oneOfType([c().object,c().string,c().func]),unmountOnClose:c().bool,returnFocusAfterClose:c().bool,container:p.qW,trapFocus:c().bool},_=Object.keys(C),w={isOpen:!1,autoFocus:!0,centered:!1,scrollable:!1,role:"dialog",backdrop:!0,keyboard:!0,zIndex:1050,fade:!0,onOpened:A,onClosed:A,modalTransition:{timeout:p.wF.Modal},backdropTransition:{mountOnEnter:!0,timeout:p.wF.Fade},unmountOnClose:!0,returnFocusAfterClose:!0,container:"body",trapFocus:!1},k=function(e){function t(t){var n;return(n=e.call(this,t)||this)._element=null,n._originalBodyPadding=null,n.getFocusableChildren=n.getFocusableChildren.bind((0,i.Z)(n)),n.handleBackdropClick=n.handleBackdropClick.bind((0,i.Z)(n)),n.handleBackdropMouseDown=n.handleBackdropMouseDown.bind((0,i.Z)(n)),n.handleEscape=n.handleEscape.bind((0,i.Z)(n)),n.handleStaticBackdropAnimation=n.handleStaticBackdropAnimation.bind((0,i.Z)(n)),n.handleTab=n.handleTab.bind((0,i.Z)(n)),n.onOpened=n.onOpened.bind((0,i.Z)(n)),n.onClosed=n.onClosed.bind((0,i.Z)(n)),n.manageFocusAfterClose=n.manageFocusAfterClose.bind((0,i.Z)(n)),n.clearBackdropAnimationTimeout=n.clearBackdropAnimationTimeout.bind((0,i.Z)(n)),n.trapFocus=n.trapFocus.bind((0,i.Z)(n)),n.state={isOpen:!1,showStaticBackdropAnimation:!1},n}(0,a.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){var e=this.props,t=e.isOpen,n=e.autoFocus,r=e.onEnter;t&&(this.init(),this.setState({isOpen:!0}),n&&this.setFocus()),r&&r(),document.addEventListener("focus",this.trapFocus,!0),this._isMounted=!0},n.componentDidUpdate=function(e,t){if(this.props.isOpen&&!e.isOpen)return this.init(),void this.setState({isOpen:!0});this.props.autoFocus&&this.state.isOpen&&!t.isOpen&&this.setFocus(),this._element&&e.zIndex!==this.props.zIndex&&(this._element.style.zIndex=this.props.zIndex)},n.componentWillUnmount=function(){this.clearBackdropAnimationTimeout(),this.props.onExit&&this.props.onExit(),this._element&&(this.destroy(),(this.props.isOpen||this.state.isOpen)&&this.close()),document.removeEventListener("focus",this.trapFocus,!0),this._isMounted=!1},n.trapFocus=function(e){if(this.props.trapFocus&&this._element&&!(this._dialog&&this._dialog.parentNode===e.target||this.modalIndex<t.openCount-1)){for(var n=this.getFocusableChildren(),r=0;r<n.length;r++)if(n[r]===e.target)return;n.length>0&&(e.preventDefault(),e.stopPropagation(),n[0].focus())}},n.onOpened=function(e,t){this.props.onOpened(),(this.props.modalTransition.onEntered||A)(e,t)},n.onClosed=function(e){var t=this.props.unmountOnClose;this.props.onClosed(),(this.props.modalTransition.onExited||A)(e),t&&this.destroy(),this.close(),this._isMounted&&this.setState({isOpen:!1})},n.setFocus=function(){this._dialog&&this._dialog.parentNode&&"function"==typeof this._dialog.parentNode.focus&&this._dialog.parentNode.focus()},n.getFocusableChildren=function(){return this._element.querySelectorAll(p.ku.join(", "))},n.getFocusedChild=function(){var e,t=this.getFocusableChildren();try{e=document.activeElement}catch(n){e=t[0]}return e},n.handleBackdropClick=function(e){if(e.target===this._mouseDownElement){e.stopPropagation();var t=this._dialog?this._dialog.parentNode:null;if(t&&e.target===t&&"static"===this.props.backdrop&&this.handleStaticBackdropAnimation(),!this.props.isOpen||!0!==this.props.backdrop)return;t&&e.target===t&&this.props.toggle&&this.props.toggle(e)}},n.handleTab=function(e){if(9===e.which&&!(this.modalIndex<t.openCount-1)){var n=this.getFocusableChildren(),r=n.length;if(0!==r){for(var o=this.getFocusedChild(),i=0,a=0;a<r;a+=1)if(n[a]===o){i=a;break}e.shiftKey&&0===i?(e.preventDefault(),n[r-1].focus()):e.shiftKey||i!==r-1||(e.preventDefault(),n[0].focus())}}},n.handleBackdropMouseDown=function(e){this._mouseDownElement=e.target},n.handleEscape=function(e){this.props.isOpen&&e.keyCode===p.Do.esc&&this.props.toggle&&(this.props.keyboard?(e.preventDefault(),e.stopPropagation(),this.props.toggle(e)):"static"===this.props.backdrop&&(e.preventDefault(),e.stopPropagation(),this.handleStaticBackdropAnimation()))},n.handleStaticBackdropAnimation=function(){var e=this;this.clearBackdropAnimationTimeout(),this.setState({showStaticBackdropAnimation:!0}),this._backdropAnimationTimeout=setTimeout((function(){e.setState({showStaticBackdropAnimation:!1})}),100)},n.init=function(){try{this._triggeringElement=document.activeElement}catch(e){this._triggeringElement=null}this._element||(this._element=document.createElement("div"),this._element.setAttribute("tabindex","-1"),this._element.style.position="relative",this._element.style.zIndex=this.props.zIndex,this._mountContainer=(0,p.U9)(this.props.container),this._mountContainer.appendChild(this._element)),this._originalBodyPadding=(0,p.X9)(),(0,p.Rf)(),0===t.openCount&&(document.body.className=d()(document.body.className,(0,p.mx)("modal-open",this.props.cssModule))),this.modalIndex=t.openCount,t.openCount+=1},n.destroy=function(){this._element&&(this._mountContainer.removeChild(this._element),this._element=null),this.manageFocusAfterClose()},n.manageFocusAfterClose=function(){if(this._triggeringElement){var e=this.props.returnFocusAfterClose;this._triggeringElement.focus&&e&&this._triggeringElement.focus(),this._triggeringElement=null}},n.close=function(){if(t.openCount<=1){var e=(0,p.mx)("modal-open",this.props.cssModule),n=new RegExp("(^| )"+e+"( |$)");document.body.className=document.body.className.replace(n," ").trim()}this.manageFocusAfterClose(),t.openCount=Math.max(0,t.openCount-1),(0,p.pp)(this._originalBodyPadding)},n.renderModalDialog=function(){var e,t=this,n=(0,p.CE)(this.props,_),r="modal-dialog";return s.createElement("div",(0,o.Z)({},n,{className:(0,p.mx)(d()(r,this.props.className,(e={},e["modal-"+this.props.size]=this.props.size,e["modal-dialog-centered"]=this.props.centered,e["modal-dialog-scrollable"]=this.props.scrollable,e)),this.props.cssModule),role:"document",ref:function(e){t._dialog=e}}),s.createElement("div",{className:(0,p.mx)(d()("modal-content",this.props.contentClassName),this.props.cssModule)},this.props.children))},n.render=function(){var e=this.props.unmountOnClose;if(this._element&&(this.state.isOpen||!e)){var t=!!this._element&&!this.state.isOpen&&!e;this._element.style.display=t?"none":"block";var n=this.props,r=n.wrapClassName,i=n.modalClassName,a=n.backdropClassName,l=n.cssModule,c=n.isOpen,u=n.backdrop,f=n.role,h=n.labelledBy,m=n.external,b=n.innerRef,A={onClick:this.handleBackdropClick,onMouseDown:this.handleBackdropMouseDown,onKeyUp:this.handleEscape,onKeyDown:this.handleTab,style:{display:"block"},"aria-labelledby":h,role:f,tabIndex:"-1"},x=this.props.fade,C=y(y(y({},v.Z.defaultProps),this.props.modalTransition),{},{baseClass:x?this.props.modalTransition.baseClass:"",timeout:x?this.props.modalTransition.timeout:0}),_=y(y(y({},v.Z.defaultProps),this.props.backdropTransition),{},{baseClass:x?this.props.backdropTransition.baseClass:"",timeout:x?this.props.backdropTransition.timeout:0}),w=u&&(x?s.createElement(v.Z,(0,o.Z)({},_,{in:c&&!!u,cssModule:l,className:(0,p.mx)(d()("modal-backdrop",a),l)})):s.createElement("div",{className:(0,p.mx)(d()("modal-backdrop","show",a),l)}));return s.createElement(g,{node:this._element},s.createElement("div",{className:(0,p.mx)(r)},s.createElement(v.Z,(0,o.Z)({},A,C,{in:c,onEntered:this.onOpened,onExited:this.onClosed,cssModule:l,className:(0,p.mx)(d()("modal",i,this.state.showStaticBackdropAnimation&&"modal-static"),l),innerRef:b}),m,this.renderModalDialog()),w))}return null},n.clearBackdropAnimationTimeout=function(){this._backdropAnimationTimeout&&(clearTimeout(this._backdropAnimationTimeout),this._backdropAnimationTimeout=void 0)},t}(s.Component);k.propTypes=C,k.defaultProps=w,k.openCount=0;var S=k},10684:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag"],f={tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=(0,o.Z)(e,d),l=(0,u.mx)(c()(t,"modal-body"),n);return i.createElement(a,(0,r.Z)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},97985:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag"],f={tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=(0,o.Z)(e,d),l=(0,u.mx)(c()(t,"modal-footer"),n);return i.createElement(a,(0,r.Z)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"div"},t.Z=p},32701:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","children","toggle","tag","wrapTag","closeAriaLabel","charCode","close"],f={tag:u.iC,wrapTag:u.iC,toggle:s().func,className:s().string,cssModule:s().object,children:s().node,closeAriaLabel:s().string,charCode:s().oneOfType([s().string,s().number]),close:s().object},p=function(e){var t,n=e.className,a=e.cssModule,s=e.children,l=e.toggle,f=e.tag,p=e.wrapTag,h=e.closeAriaLabel,m=e.charCode,g=e.close,v=(0,o.Z)(e,d),b=(0,u.mx)(c()(n,"modal-header"),a);if(!g&&l){var y="number"==typeof m?String.fromCharCode(m):m;t=i.createElement("button",{type:"button",onClick:l,className:(0,u.mx)("close",a),"aria-label":h},i.createElement("span",{"aria-hidden":"true"},y))}return i.createElement(p,(0,r.Z)({},v,{className:b}),i.createElement(f,{className:(0,u.mx)("modal-title",a)},s),g||t)};p.propTypes=f,p.defaultProps={tag:"h5",wrapTag:"div",closeAriaLabel:"Close",charCode:215},t.Z=p},77243:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tabs","pills","vertical","horizontal","justified","fill","navbar","card","tag"],f={tabs:s().bool,pills:s().bool,vertical:s().oneOfType([s().bool,s().string]),horizontal:s().string,justified:s().bool,fill:s().bool,navbar:s().bool,card:s().bool,tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tabs,s=e.pills,l=e.vertical,f=e.horizontal,p=e.justified,h=e.fill,m=e.navbar,g=e.card,v=e.tag,b=(0,o.Z)(e,d),y=(0,u.mx)(c()(t,m?"navbar-nav":"nav",!!f&&"justify-content-"+f,function(e){return!1!==e&&(!0===e||"xs"===e?"flex-column":"flex-"+e+"-column")}(l),{"nav-tabs":a,"card-header-tabs":g&&a,"nav-pills":s,"card-header-pills":g&&s,"nav-justified":p,"nav-fill":h}),n);return i.createElement(v,(0,r.Z)({},b,{className:y}))};p.propTypes=f,p.defaultProps={tag:"ul",vertical:!1},t.Z=p},53999:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","active","tag"],f={tag:u.iC,active:s().bool,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.active,s=e.tag,l=(0,o.Z)(e,d),f=(0,u.mx)(c()(t,"nav-item",!!a&&"active"),n);return i.createElement(s,(0,r.Z)({},l,{className:f}))};p.propTypes=f,p.defaultProps={tag:"li"},t.Z=p},98008:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(94184),d=n.n(u),f=n(23663),p=["className","cssModule","active","tag","innerRef"],h={tag:f.iC,innerRef:c().oneOfType([c().object,c().func,c().string]),disabled:c().bool,active:c().bool,className:c().string,cssModule:c().object,onClick:c().func,href:c().any},m=function(e){function t(t){var n;return(n=e.call(this,t)||this).onClick=n.onClick.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.onClick=function(e){this.props.disabled?e.preventDefault():("#"===this.props.href&&e.preventDefault(),this.props.onClick&&this.props.onClick(e))},n.render=function(){var e=this.props,t=e.className,n=e.cssModule,i=e.active,a=e.tag,l=e.innerRef,c=(0,o.Z)(e,p),u=(0,f.mx)(d()(t,"nav-link",{disabled:c.disabled,active:i}),n);return s.createElement(a,(0,r.Z)({},c,{ref:l,onClick:this.onClick,className:u}))},t}(s.Component);m.propTypes=h,m.defaultProps={tag:"a"},t.Z=m},9544:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["expand","className","cssModule","light","dark","fixed","sticky","color","tag"],f={light:s().bool,dark:s().bool,full:s().bool,fixed:s().string,sticky:s().string,color:s().string,role:s().string,tag:u.iC,className:s().string,cssModule:s().object,expand:s().oneOfType([s().bool,s().string])},p=function(e){var t,n=e.expand,a=e.className,s=e.cssModule,l=e.light,f=e.dark,p=e.fixed,h=e.sticky,m=e.color,g=e.tag,v=(0,o.Z)(e,d),b=(0,u.mx)(c()(a,"navbar",function(e){return!1!==e&&(!0===e||"xs"===e?"navbar-expand":"navbar-expand-"+e)}(n),((t={"navbar-light":l,"navbar-dark":f})["bg-"+m]=m,t["fixed-"+p]=p,t["sticky-"+h]=h,t)),s);return i.createElement(g,(0,r.Z)({},v,{className:b}))};p.propTypes=f,p.defaultProps={tag:"nav",expand:!1},t.Z=p},36992:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","tag"],f={tag:u.iC,className:s().string,cssModule:s().object},p=function(e){var t=e.className,n=e.cssModule,a=e.tag,s=(0,o.Z)(e,d),l=(0,u.mx)(c()(t,"navbar-brand"),n);return i.createElement(a,(0,r.Z)({},s,{className:l}))};p.propTypes=f,p.defaultProps={tag:"a"},t.Z=p},35614:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","children","tag"],f={tag:u.iC,type:s().string,className:s().string,cssModule:s().object,children:s().node},p=function(e){var t=e.className,n=e.cssModule,a=e.children,s=e.tag,l=(0,o.Z)(e,d),f=(0,u.mx)(c()(t,"navbar-toggler"),n);return i.createElement(s,(0,r.Z)({"aria-label":"Toggle navigation"},l,{className:f}),a||i.createElement("span",{className:(0,u.mx)("navbar-toggler-icon",n)}))};p.propTypes=f,p.defaultProps={tag:"button",type:"button"},t.Z=p},10267:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","noGutters","tag","form","widths"],f=s().oneOfType([s().number,s().string]),p={tag:u.iC,noGutters:s().bool,className:s().string,cssModule:s().object,form:s().bool,xs:f,sm:f,md:f,lg:f,xl:f},h={tag:"div",widths:["xs","sm","md","lg","xl"]},m=function(e){var t=e.className,n=e.cssModule,a=e.noGutters,s=e.tag,l=e.form,f=e.widths,p=(0,o.Z)(e,d),h=[];f.forEach((function(t,n){var r=e[t];if(delete p[t],r){var o=!n;h.push(o?"row-cols-"+r:"row-cols-"+t+"-"+r)}}));var m=(0,u.mx)(c()(t,a?"no-gutters":null,l?"form-row":"row",h),n);return i.createElement(s,(0,r.Z)({},p,{className:m}))};m.propTypes=p,m.defaultProps=h,t.Z=m},9393:function(e,t,n){"use strict";var r=n(87462),o=n(94578),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(70635),d=n(23663),f={tag:d.iC,activeTab:s().any,className:s().string,cssModule:s().object},p=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={activeTab:n.props.activeTab},n}return(0,o.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return t.activeTab!==e.activeTab?{activeTab:e.activeTab}:null},t.prototype.render=function(){var e=this.props,t=e.className,n=e.cssModule,o=e.tag,a=(0,d.CE)(this.props,Object.keys(f)),s=(0,d.mx)(c()("tab-content",t),n);return i.createElement(u.q.Provider,{value:{activeTabId:this.state.activeTab}},i.createElement(o,(0,r.Z)({},a,{className:s})))},t}(i.Component);t.Z=p,p.propTypes=f,p.defaultProps={tag:"div"}},70635:function(e,t,n){"use strict";n.d(t,{q:function(){return r}});var r=n(67294).createContext({})},18829:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(70635),d=n(23663),f=["className","cssModule","tabId","tag"],p={tag:d.iC,className:s().string,cssModule:s().object,tabId:s().any};function h(e){var t=e.className,n=e.cssModule,a=e.tabId,s=e.tag,l=(0,o.Z)(e,f),p=function(e){return(0,d.mx)(c()("tab-pane",t,{active:a===e}),n)};return i.createElement(u.q.Consumer,null,(function(e){var t=e.activeTabId;return i.createElement(s,(0,r.Z)({},l,{className:p(t)}))}))}h.propTypes=p,h.defaultProps={tag:"div"}},36595:function(e,t,n){"use strict";var r=n(87462),o=n(63366),i=n(67294),a=n(45697),s=n.n(a),l=n(94184),c=n.n(l),u=n(23663),d=["className","cssModule","size","bordered","borderless","striped","dark","hover","responsive","tag","responsiveTag","innerRef"],f={className:s().string,cssModule:s().object,size:s().string,bordered:s().bool,borderless:s().bool,striped:s().bool,dark:s().bool,hover:s().bool,responsive:s().oneOfType([s().bool,s().string]),tag:u.iC,responsiveTag:u.iC,innerRef:s().oneOfType([s().func,s().string,s().object])},p=function(e){var t=e.className,n=e.cssModule,a=e.size,s=e.bordered,l=e.borderless,f=e.striped,p=e.dark,h=e.hover,m=e.responsive,g=e.tag,v=e.responsiveTag,b=e.innerRef,y=(0,o.Z)(e,d),A=(0,u.mx)(c()(t,"table",!!a&&"table-"+a,!!s&&"table-bordered",!!l&&"table-borderless",!!f&&"table-striped",!!p&&"table-dark",!!h&&"table-hover"),n),x=i.createElement(g,(0,r.Z)({},y,{ref:b,className:A}));if(m){var C=(0,u.mx)(!0===m?"table-responsive":"table-responsive-"+m,n);return i.createElement(v,{className:C},x)}return x};p.propTypes=f,p.defaultProps={tag:"table",responsiveTag:"div"},t.Z=p},64871:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(87462),o=n(67294),i=n(94184),a=n.n(i),s=n(97326),l=n(94578),c=n(45697),u=n.n(c),d=n(63366),f=n(4942),p=n(73935),h=n(74688),m=n(23663),g=n(69638),v=["cssModule","children","isOpen","flip","target","offset","fallbackPlacement","placementPrefix","arrowClassName","hideArrow","popperClassName","tag","container","modifiers","positionFixed","boundariesElement","onClosed","fade","transition","placement"];function b(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 y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var A={children:u().oneOfType([u().node,u().func]).isRequired,popperClassName:u().string,placement:u().string,placementPrefix:u().string,arrowClassName:u().string,hideArrow:u().bool,tag:m.iC,isOpen:u().bool.isRequired,cssModule:u().object,offset:u().oneOfType([u().string,u().number]),fallbackPlacement:u().oneOfType([u().string,u().array]),flip:u().bool,container:m.qW,target:m.qW.isRequired,modifiers:u().object,positionFixed:u().bool,boundariesElement:u().oneOfType([u().string,m.n5]),onClosed:u().func,fade:u().bool,transition:u().shape(g.Z.propTypes)},x={boundariesElement:"scrollParent",placement:"auto",hideArrow:!1,isOpen:!1,offset:0,fallbackPlacement:"flip",flip:!0,container:"body",modifiers:{},onClosed:function(){},fade:!0,transition:y({},g.Z.defaultProps)},C=function(e){function t(t){var n;return(n=e.call(this,t)||this).setTargetNode=n.setTargetNode.bind((0,s.Z)(n)),n.getTargetNode=n.getTargetNode.bind((0,s.Z)(n)),n.getRef=n.getRef.bind((0,s.Z)(n)),n.onClosed=n.onClosed.bind((0,s.Z)(n)),n.state={isOpen:t.isOpen},n}(0,l.Z)(t,e),t.getDerivedStateFromProps=function(e,t){return e.isOpen&&!t.isOpen?{isOpen:e.isOpen}:null};var n=t.prototype;return n.componentDidUpdate=function(){this._element&&this._element.childNodes&&this._element.childNodes[0]&&this._element.childNodes[0].focus&&this._element.childNodes[0].focus()},n.setTargetNode=function(e){this.targetNode="string"==typeof e?(0,m.U9)(e):e},n.getTargetNode=function(){return this.targetNode},n.getContainerNode=function(){return(0,m.U9)(this.props.container)},n.getRef=function(e){this._element=e},n.onClosed=function(){this.props.onClosed(),this.setState({isOpen:!1})},n.renderChildren=function(){var e=this.props,t=e.cssModule,n=e.children,i=e.isOpen,s=e.flip,l=(e.target,e.offset),c=e.fallbackPlacement,u=e.placementPrefix,f=e.arrowClassName,p=e.hideArrow,b=e.popperClassName,A=e.tag,x=(e.container,e.modifiers),C=e.positionFixed,_=e.boundariesElement,w=(e.onClosed,e.fade),k=e.transition,S=e.placement,E=(0,d.Z)(e,v),B=(0,m.mx)(a()("arrow",f),t),O=(0,m.mx)(a()(b,u?u+"-auto":""),this.props.cssModule),j=y({offset:{offset:l},flip:{enabled:s,behavior:c},preventOverflow:{boundariesElement:_}},x),T=y(y(y({},g.Z.defaultProps),k),{},{baseClass:w?k.baseClass:"",timeout:w?k.timeout:0});return o.createElement(g.Z,(0,r.Z)({},T,E,{in:i,onExited:this.onClosed,tag:A}),o.createElement(h.ZP,{referenceElement:this.targetNode,modifiers:j,placement:S,positionFixed:C},(function(e){var t=e.ref,r=e.style,i=e.placement,a=e.outOfBoundaries,s=e.arrowProps,l=e.scheduleUpdate;return o.createElement("div",{ref:t,style:r,className:O,"x-placement":i,"x-out-of-boundaries":a?"true":void 0},"function"==typeof n?n({scheduleUpdate:l}):n,!p&&o.createElement("span",{ref:s.ref,className:B,style:s.style}))})))},n.render=function(){return this.setTargetNode(this.props.target),this.state.isOpen?"inline"===this.props.container?this.renderChildren():p.createPortal(o.createElement("div",{ref:this.getRef},this.renderChildren()),this.getContainerNode()):null},t}(o.Component);C.propTypes=A,C.defaultProps=x;var _=C,w={children:u().oneOfType([u().node,u().func]),placement:u().oneOf(m.JL),target:m.qW.isRequired,container:m.qW,isOpen:u().bool,disabled:u().bool,hideArrow:u().bool,boundariesElement:u().oneOfType([u().string,m.n5]),className:u().string,innerClassName:u().string,arrowClassName:u().string,popperClassName:u().string,cssModule:u().object,toggle:u().func,autohide:u().bool,placementPrefix:u().string,delay:u().oneOfType([u().shape({show:u().number,hide:u().number}),u().number]),modifiers:u().object,positionFixed:u().bool,offset:u().oneOfType([u().string,u().number]),innerRef:u().oneOfType([u().func,u().string,u().object]),trigger:u().string,fade:u().bool,flip:u().bool},k={show:0,hide:50},S={isOpen:!1,hideArrow:!1,autohide:!1,delay:k,toggle:function(){},trigger:"click",fade:!0};function E(e,t){return t&&(e===t||t.contains(e))}function B(e,t){return void 0===t&&(t=[]),t&&t.length&&t.filter((function(t){return E(e,t)}))[0]}var O=function(e){function t(t){var n;return(n=e.call(this,t)||this)._targets=[],n.currentTargetElement=null,n.addTargetEvents=n.addTargetEvents.bind((0,s.Z)(n)),n.handleDocumentClick=n.handleDocumentClick.bind((0,s.Z)(n)),n.removeTargetEvents=n.removeTargetEvents.bind((0,s.Z)(n)),n.toggle=n.toggle.bind((0,s.Z)(n)),n.showWithDelay=n.showWithDelay.bind((0,s.Z)(n)),n.hideWithDelay=n.hideWithDelay.bind((0,s.Z)(n)),n.onMouseOverTooltipContent=n.onMouseOverTooltipContent.bind((0,s.Z)(n)),n.onMouseLeaveTooltipContent=n.onMouseLeaveTooltipContent.bind((0,s.Z)(n)),n.show=n.show.bind((0,s.Z)(n)),n.hide=n.hide.bind((0,s.Z)(n)),n.onEscKeyDown=n.onEscKeyDown.bind((0,s.Z)(n)),n.getRef=n.getRef.bind((0,s.Z)(n)),n.state={isOpen:t.isOpen},n._isMounted=!1,n}(0,l.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this._isMounted=!0,this.updateTarget()},n.componentWillUnmount=function(){this._isMounted=!1,this.removeTargetEvents(),this._targets=null,this.clearShowTimeout(),this.clearHideTimeout()},t.getDerivedStateFromProps=function(e,t){return e.isOpen&&!t.isOpen?{isOpen:e.isOpen}:null},n.onMouseOverTooltipContent=function(){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._hideTimeout&&this.clearHideTimeout(),this.state.isOpen&&!this.props.isOpen&&this.toggle())},n.onMouseLeaveTooltipContent=function(e){this.props.trigger.indexOf("hover")>-1&&!this.props.autohide&&(this._showTimeout&&this.clearShowTimeout(),e.persist(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide")))},n.onEscKeyDown=function(e){"Escape"===e.key&&this.hide(e)},n.getRef=function(e){var t=this.props.innerRef;t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),this._popover=e},n.getDelay=function(e){var t=this.props.delay;return"object"==typeof t?isNaN(t[e])?k[e]:t[e]:t},n.getCurrentTarget=function(e){if(!e)return null;var t=this._targets.indexOf(e);return t>=0?this._targets[t]:this.getCurrentTarget(e.parentElement)},n.show=function(e){if(!this.props.isOpen){if(this.clearShowTimeout(),this.currentTargetElement=e?e.currentTarget||this.getCurrentTarget(e.target):null,e&&e.composedPath&&"function"==typeof e.composedPath){var t=e.composedPath();this.currentTargetElement=t&&t[0]||this.currentTargetElement}this.toggle(e)}},n.showWithDelay=function(e){this._hideTimeout&&this.clearHideTimeout(),this._showTimeout=setTimeout(this.show.bind(this,e),this.getDelay("show"))},n.hide=function(e){this.props.isOpen&&(this.clearHideTimeout(),this.currentTargetElement=null,this.toggle(e))},n.hideWithDelay=function(e){this._showTimeout&&this.clearShowTimeout(),this._hideTimeout=setTimeout(this.hide.bind(this,e),this.getDelay("hide"))},n.clearShowTimeout=function(){clearTimeout(this._showTimeout),this._showTimeout=void 0},n.clearHideTimeout=function(){clearTimeout(this._hideTimeout),this._hideTimeout=void 0},n.handleDocumentClick=function(e){var t=this.props.trigger.split(" ");t.indexOf("legacy")>-1&&(this.props.isOpen||B(e.target,this._targets))?(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen&&!E(e.target,this._popover)?this.hideWithDelay(e):this.props.isOpen||this.showWithDelay(e)):t.indexOf("click")>-1&&B(e.target,this._targets)&&(this._hideTimeout&&this.clearHideTimeout(),this.props.isOpen?this.hideWithDelay(e):this.showWithDelay(e))},n.addEventOnTargets=function(e,t,n){this._targets.forEach((function(r){r.addEventListener(e,t,n)}))},n.removeEventOnTargets=function(e,t,n){this._targets.forEach((function(r){r.removeEventListener(e,t,n)}))},n.addTargetEvents=function(){if(this.props.trigger){var e=this.props.trigger.split(" ");-1===e.indexOf("manual")&&((e.indexOf("click")>-1||e.indexOf("legacy")>-1)&&document.addEventListener("click",this.handleDocumentClick,!0),this._targets&&this._targets.length&&(e.indexOf("hover")>-1&&(this.addEventOnTargets("mouseover",this.showWithDelay,!0),this.addEventOnTargets("mouseout",this.hideWithDelay,!0)),e.indexOf("focus")>-1&&(this.addEventOnTargets("focusin",this.show,!0),this.addEventOnTargets("focusout",this.hide,!0)),this.addEventOnTargets("keydown",this.onEscKeyDown,!0)))}},n.removeTargetEvents=function(){this._targets&&(this.removeEventOnTargets("mouseover",this.showWithDelay,!0),this.removeEventOnTargets("mouseout",this.hideWithDelay,!0),this.removeEventOnTargets("keydown",this.onEscKeyDown,!0),this.removeEventOnTargets("focusin",this.show,!0),this.removeEventOnTargets("focusout",this.hide,!0)),document.removeEventListener("click",this.handleDocumentClick,!0)},n.updateTarget=function(){var e=(0,m.U9)(this.props.target,!0);e!==this._targets&&(this.removeTargetEvents(),this._targets=e?Array.from(e):[],this.currentTargetElement=this.currentTargetElement||this._targets[0],this.addTargetEvents())},n.toggle=function(e){return this.props.disabled||!this._isMounted?e&&e.preventDefault():this.props.toggle(e)},n.render=function(){var e=this;this.props.isOpen&&this.updateTarget();var t=this.currentTargetElement||this._targets[0];if(!t)return null;var n=this.props,i=n.className,a=n.cssModule,s=n.innerClassName,l=n.isOpen,c=n.hideArrow,u=n.boundariesElement,d=n.placement,f=n.placementPrefix,p=n.arrowClassName,h=n.popperClassName,g=n.container,v=n.modifiers,b=n.positionFixed,y=n.offset,A=n.fade,x=n.flip,C=n.children,k=(0,m.CE)(this.props,Object.keys(w)),S=(0,m.mx)(h,a),E=(0,m.mx)(s,a);return o.createElement(_,{className:i,target:t,isOpen:l,hideArrow:c,boundariesElement:u,placement:d,placementPrefix:f,arrowClassName:p,popperClassName:S,container:g,modifiers:v,positionFixed:b,offset:y,cssModule:a,fade:A,flip:x},(function(t){var n=t.scheduleUpdate;return o.createElement("div",(0,r.Z)({},k,{ref:e.getRef,className:E,role:"tooltip",onMouseOver:e.onMouseOverTooltipContent,onMouseLeave:e.onMouseLeaveTooltipContent,onKeyDown:e.onEscKeyDown}),"function"==typeof C?C({scheduleUpdate:n}):C)}))},t}(o.Component);O.propTypes=w,O.defaultProps=S;var j=O,T=function(e){var t=a()("tooltip","show",e.popperClassName),n=a()("tooltip-inner",e.innerClassName);return o.createElement(j,(0,r.Z)({},e,{popperClassName:t,innerClassName:n}))};T.propTypes=w,T.defaultProps={placement:"top",autohide:!0,placementPrefix:"bs-tooltip",trigger:"hover focus"};var P=T},9019:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(4942),o=n(87462),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(86704),d={children:c().node},f=function(e){return s.createElement(u.Z,(0,o.Z)({group:!0},e))};f.propTypes=d;var p=f,h=n(23663);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var g=["defaultOpen"],v=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={isOpen:t.defaultOpen||!1},n.toggle=n.toggle.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.toggle=function(){this.setState({isOpen:!this.state.isOpen})},n.render=function(){return s.createElement(p,(0,o.Z)({isOpen:this.state.isOpen,toggle:this.toggle},(0,h.CE)(this.props,g)))},t}(s.Component);v.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({defaultOpen:c().bool},p.propTypes)},97109:function(e,t,n){"use strict";var r=n(87462),o=n(97326),i=n(94578),a=n(67294),s=n(45697),l=n.n(s),c=n(20627),u=n(23663),d=["toggleEvents","defaultOpen"],f={defaultOpen:l().bool,toggler:l().string.isRequired,toggleEvents:l().arrayOf(l().string)},p={toggleEvents:u.mP},h=function(e){function t(t){var n;return(n=e.call(this,t)||this).togglers=null,n.removeEventListeners=null,n.toggle=n.toggle.bind((0,o.Z)(n)),n.state={isOpen:t.defaultOpen||!1},n}(0,i.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){this.togglers=(0,u.kQ)(this.props.toggler),this.togglers.length&&(this.removeEventListeners=(0,u.y_)(this.togglers,this.toggle,this.props.toggleEvents))},n.componentWillUnmount=function(){this.togglers.length&&this.removeEventListeners&&this.removeEventListeners()},n.toggle=function(e){this.setState((function(e){return{isOpen:!e.isOpen}})),e.preventDefault()},n.render=function(){return a.createElement(c.Z,(0,r.Z)({isOpen:this.state.isOpen},(0,u.CE)(this.props,d)))},t}(a.Component);h.propTypes=f,h.defaultProps=p,t.Z=h},83823:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(4942),o=n(87462),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(86704),d=n(23663);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var p=["defaultOpen"],h=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={isOpen:t.defaultOpen||!1},n.toggle=n.toggle.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.toggle=function(e){var t=this,n=!this.state.isOpen;this.setState({isOpen:n},(function(){t.props.onToggle&&t.props.onToggle(e,n)}))},n.render=function(){return s.createElement(u.Z,(0,o.Z)({isOpen:this.state.isOpen,toggle:this.toggle},(0,d.CE)(this.props,p)))},t}(s.Component);h.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({defaultOpen:c().bool,onToggle:c().func},u.Z.propTypes)},53346:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(4942),o=n(87462),i=n(97326),a=n(94578),s=n(67294),l=n(45697),c=n.n(l),u=n(64871),d=n(23663);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var p=["defaultOpen"],h=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={isOpen:t.defaultOpen||!1},n.toggle=n.toggle.bind((0,i.Z)(n)),n}(0,a.Z)(t,e);var n=t.prototype;return n.toggle=function(){this.setState({isOpen:!this.state.isOpen})},n.render=function(){return s.createElement(u.Z,(0,o.Z)({isOpen:this.state.isOpen,toggle:this.toggle},(0,d.CE)(this.props,p)))},t}(s.Component);h.propTypes=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({defaultOpen:c().bool},u.Z.propTypes)},23663:function(e,t,n){"use strict";n.d(t,{CE:function(){return u},Do:function(){return x},E5:function(){return A},JL:function(){return C},Kn:function(){return k},Nq:function(){return _},O4:function(){return p},Rf:function(){return l},U9:function(){return B},X9:function(){return s},ei:function(){return d},iC:function(){return v},kQ:function(){return S},ku:function(){return T},mP:function(){return O},mx:function(){return c},n5:function(){return m},pp:function(){return a},qW:function(){return g},rb:function(){return y},wF:function(){return b},y_:function(){return j}});var r,o=n(45697),i=n.n(o);function a(e){document.body.style.paddingRight=e>0?e+"px":null}function s(){var e=window.getComputedStyle(document.body,null);return parseInt(e&&e.getPropertyValue("padding-right")||0,10)}function l(){var e=function(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}(),t=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],n=t?parseInt(t.style.paddingRight||0,10):0;document.body.clientWidth<window.innerWidth&&a(n+e)}function c(e,t){return void 0===e&&(e=""),void 0===t&&(t=r),t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e}function u(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n}function d(e,t){for(var n,r=Array.isArray(t)?t:[t],o=r.length,i={};o>0;)i[n=r[o-=1]]=e[n];return i}var f={};function p(e){f[e]||("undefined"!=typeof console&&console.error(e),f[e]=!0)}var h="object"==typeof window&&window.Element||function(){};function m(e,t,n){if(!(e[t]instanceof h))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var g=i().oneOfType([i().string,i().func,m,i().shape({current:i().any})]),v=i().oneOfType([i().func,i().string,i().shape({$$typeof:i().symbol,render:i().func}),i().arrayOf(i().oneOfType([i().func,i().string,i().shape({$$typeof:i().symbol,render:i().func})]))]),b={Fade:150,Collapse:350,Modal:300,Carousel:600},y=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"],A={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"},x={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80},C=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],_=!("undefined"==typeof window||!window.document||!window.document.createElement);function w(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function k(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function S(e){if(function(e){return!(!e||"object"!=typeof e)&&"current"in e}(e))return e.current;if(function(e){if(!k(e))return!1;var t=w(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}(e))return e();if("string"==typeof e&&_){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function E(e){return null!==e&&(Array.isArray(e)||_&&"number"==typeof e.length)}function B(e,t){var n=S(e);return t?E(n)?n:null===n?[]:[n]:E(n)?n[0]:n}var O=["touchstart","click"];function j(e,t,n,r){var o=e;E(o)||(o=[o]);var i=n;if("string"==typeof i&&(i=i.split(/\s+/)),!E(o)||"function"!=typeof t||!Array.isArray(i))throw new Error("\n      The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\n      The second must be a function.\n      The third is a string or an array of strings that represents DOM events\n    ");return Array.prototype.forEach.call(i,(function(e){Array.prototype.forEach.call(o,(function(n){n.addEventListener(e,t,r)}))})),function(){Array.prototype.forEach.call(i,(function(e){Array.prototype.forEach.call(o,(function(n){n.removeEventListener(e,t,r)}))}))}}var T=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])']},48661:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o,i=r(n(10434)),a=r(n(7071)),s=r(n(66115)),l=r(n(7867)),c=r(n(38416)),u=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=g(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}r.default=e,n&&n.set(e,r);return r}(n(67294)),d=r(n(45697)),f=r(n(94184)),p=n(793),h=n(2221),m=["tag","isOpen","className","navbar","cssModule","children","innerRef"];function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(g=function(e){return e?n:t})(e)}function v(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 b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){(0,c.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var y=b(b({},p.Transition.propTypes),{},{isOpen:d.default.bool,children:d.default.oneOfType([d.default.arrayOf(d.default.node),d.default.node]),tag:h.tagPropType,className:d.default.node,navbar:d.default.bool,cssModule:d.default.object,innerRef:d.default.oneOfType([d.default.func,d.default.string,d.default.object])}),A=b(b({},p.Transition.defaultProps),{},{isOpen:!1,appear:!1,enter:!0,exit:!0,tag:"div",timeout:h.TransitionTimeouts.Collapse}),x=((o={})[h.TransitionStatuses.ENTERING]="collapsing",o[h.TransitionStatuses.ENTERED]="collapse show",o[h.TransitionStatuses.EXITING]="collapsing",o[h.TransitionStatuses.EXITED]="collapse",o);function C(e){return e.scrollHeight}var _=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={height:null},["onEntering","onEntered","onExit","onExiting","onExited"].forEach((function(e){n[e]=n[e].bind((0,s.default)(n))})),n}(0,l.default)(t,e);var n=t.prototype;return n.onEntering=function(e,t){this.setState({height:C(e)}),this.props.onEntering(e,t)},n.onEntered=function(e,t){this.setState({height:null}),this.props.onEntered(e,t)},n.onExit=function(e){this.setState({height:C(e)}),this.props.onExit(e)},n.onExiting=function(e){e.offsetHeight;this.setState({height:0}),this.props.onExiting(e)},n.onExited=function(e){this.setState({height:null}),this.props.onExited(e)},n.render=function(){var e=this,t=this.props,n=t.tag,r=t.isOpen,o=t.className,s=t.navbar,l=t.cssModule,c=t.children,d=(t.innerRef,(0,a.default)(t,m)),g=this.state.height,v=(0,h.pick)(d,h.TransitionPropTypeKeys),y=(0,h.omit)(d,h.TransitionPropTypeKeys);return u.default.createElement(p.Transition,(0,i.default)({},v,{in:r,onEntering:this.onEntering,onEntered:this.onEntered,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}),(function(t){var r=function(e){return x[e]||"collapse"}(t),a=(0,h.mapToCssModules)((0,f.default)(o,r,s&&"navbar-collapse"),l),d=null===g?null:{height:g};return u.default.createElement(n,(0,i.default)({},y,{style:b(b({},y.style),d),className:a,ref:e.props.innerRef}),c)}))},t}(u.Component);_.propTypes=y,_.defaultProps=A;var w=_;t.Z=w},32521:function(e,t,n){"use strict";var r=n(64836);t.Z=void 0;var o=r(n(10434)),i=r(n(7071)),a=r(n(67294)),s=r(n(45697)),l=r(n(94184)),c=n(2221),u=["className","cssModule","valid","tooltip","tag"],d={children:s.default.node,tag:c.tagPropType,className:s.default.string,cssModule:s.default.object,valid:s.default.bool,tooltip:s.default.bool},f={tag:"div",valid:void 0},p=function(e){var t=e.className,n=e.cssModule,r=e.valid,s=e.tooltip,d=e.tag,f=(0,i.default)(e,u),p=s?"tooltip":"feedback",h=(0,c.mapToCssModules)((0,l.default)(t,r?"valid-"+p:"invalid-"+p),n);return a.default.createElement(d,(0,o.default)({},f,{className:h}))};p.propTypes=d,p.defaultProps=f;var h=p;t.Z=h},2221:function(e,t,n){"use strict";var r=n(64836);t.__esModule=!0,t.getScrollbarWidth=a,t.setScrollbarWidth=s,t.isBodyOverflowing=l,t.getOriginalBodyPadding=function(){var e=window.getComputedStyle(document.body,null);return parseInt(e&&e.getPropertyValue("padding-right")||0,10)},t.conditionallyUpdateScrollbar=function(){var e=a(),t=document.querySelectorAll(".fixed-top, .fixed-bottom, .is-fixed, .sticky-top")[0],n=t?parseInt(t.style.paddingRight||0,10):0;l()&&s(n+e)},t.setGlobalCssModule=function(e){o=e},t.mapToCssModules=function(e,t){void 0===e&&(e="");void 0===t&&(t=o);return t?e.split(" ").map((function(e){return t[e]||e})).join(" "):e},t.omit=function(e,t){var n={};return Object.keys(e).forEach((function(r){-1===t.indexOf(r)&&(n[r]=e[r])})),n},t.pick=function(e,t){var n,r=Array.isArray(t)?t:[t],o=r.length,i={};for(;o>0;)n=r[o-=1],i[n]=e[n];return i},t.warnOnce=u,t.deprecated=function(e,t){return function(n,r,o){null!==n[r]&&void 0!==n[r]&&u('"'+r+'" property of "'+o+'" has been deprecated.\n'+t);for(var i=arguments.length,a=new Array(i>3?i-3:0),s=3;s<i;s++)a[s-3]=arguments[s];return e.apply(void 0,[n,r,o].concat(a))}},t.DOMElement=f,t.isReactRefObj=g,t.toNumber=function(e){var t=typeof e;if("number"===t)return e;if("symbol"===t||"object"===t&&"[object Symbol]"===v(e))return NaN;if(b(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=b(n)?""+n:n}if("string"!==t)return 0===e?e:+e;e=e.replace(/^\s+|\s+$/g,"");var r=/^0b[01]+$/i.test(e);return r||/^0o[0-7]+$/i.test(e)?parseInt(e.slice(2),r?2:8):/^[-+]0x[0-9a-f]+$/i.test(e)?NaN:+e},t.isObject=b,t.isFunction=y,t.findDOMElements=A,t.isArrayOrNodeList=x,t.getTarget=function(e,t){var n=A(e);return t?x(n)?n:null===n?[]:[n]:x(n)?n[0]:n},t.addMultipleEventListeners=function(e,t,n,r){var o=e;x(o)||(o=[o]);var i=n;"string"==typeof i&&(i=i.split(/\s+/));if(!x(o)||"function"!=typeof t||!Array.isArray(i))throw new Error("\n      The first argument of this function must be DOM node or an array on DOM nodes or NodeList.\n      The second must be a function.\n      The third is a string or an array of strings that represents DOM events\n    ");return Array.prototype.forEach.call(i,(function(e){Array.prototype.forEach.call(o,(function(n){n.addEventListener(e,t,r)}))})),function(){Array.prototype.forEach.call(i,(function(e){Array.prototype.forEach.call(o,(function(n){n.removeEventListener(e,t,r)}))}))}},t.focusableElements=t.defaultToggleEvents=t.canUseDOM=t.PopperPlacements=t.keyCodes=t.TransitionStatuses=t.TransitionPropTypeKeys=t.TransitionTimeouts=t.tagPropType=t.targetPropType=void 0;var o,i=r(n(45697));function a(){var e=document.createElement("div");e.style.position="absolute",e.style.top="-9999px",e.style.width="50px",e.style.height="50px",e.style.overflow="scroll",document.body.appendChild(e);var t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),t}function s(e){document.body.style.paddingRight=e>0?e+"px":null}function l(){return document.body.clientWidth<window.innerWidth}var c={};function u(e){c[e]||("undefined"!=typeof console&&console.error(e),c[e]=!0)}var d="object"==typeof window&&window.Element||function(){};function f(e,t,n){if(!(e[t]instanceof d))return new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Expected prop to be an instance of Element. Validation failed.")}var p=i.default.oneOfType([i.default.string,i.default.func,f,i.default.shape({current:i.default.any})]);t.targetPropType=p;var h=i.default.oneOfType([i.default.func,i.default.string,i.default.shape({$$typeof:i.default.symbol,render:i.default.func}),i.default.arrayOf(i.default.oneOfType([i.default.func,i.default.string,i.default.shape({$$typeof:i.default.symbol,render:i.default.func})]))]);t.tagPropType=h;t.TransitionTimeouts={Fade:150,Collapse:350,Modal:300,Carousel:600};t.TransitionPropTypeKeys=["in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","onEnter","onEntering","onEntered","onExit","onExiting","onExited"];t.TransitionStatuses={ENTERING:"entering",ENTERED:"entered",EXITING:"exiting",EXITED:"exited"};t.keyCodes={esc:27,space:32,enter:13,tab:9,up:38,down:40,home:36,end:35,n:78,p:80};t.PopperPlacements=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"];var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e){return!(!e||"object"!=typeof e)&&"current"in e}function v(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}function b(e){var t=typeof e;return null!=e&&("object"===t||"function"===t)}function y(e){if(!b(e))return!1;var t=v(e);return"[object Function]"===t||"[object AsyncFunction]"===t||"[object GeneratorFunction]"===t||"[object Proxy]"===t}function A(e){if(g(e))return e.current;if(y(e))return e();if("string"==typeof e&&m){var t=document.querySelectorAll(e);if(t.length||(t=document.querySelectorAll("#"+e)),!t.length)throw new Error("The target '"+e+"' could not be identified in the dom, tip: check spelling");return t}return e}function x(e){return null!==e&&(Array.isArray(e)||m&&"number"==typeof e.length)}t.canUseDOM=m;t.defaultToggleEvents=["touchstart","click"];t.focusableElements=["a[href]","area[href]","input:not([disabled]):not([type=hidden])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","object","embed","[tabindex]:not(.modal)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])']},99541:function(e,t,n){"use strict";var r=n(64836);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,o.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var o=r(n(53007));e.exports=t.default},53007:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},16900:function(e){"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}},95767:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(45697));var r=s(n(99541)),o=s(n(16900)),i=s(n(67294)),a=s(n(2337));n(64322);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=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},l.apply(this,arguments)}var c=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,r.default)(e,t)}))},u=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return(0,o.default)(e,t)}))},d=function(e){var t,n;function r(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).onEnter=function(e,n){var r=t.getClassNames(n?"appear":"enter").className;t.removeClasses(e,"exit"),c(e,r),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.getClassNames(n?"appear":"enter").activeClassName;t.reflowAndAddClass(e,r),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.getClassNames("appear").doneClassName,o=t.getClassNames("enter").doneClassName,i=n?r+" "+o:o;t.removeClasses(e,n?"appear":"enter"),c(e,i),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.getClassNames("exit").className;t.removeClasses(e,"appear"),t.removeClasses(e,"enter"),c(e,n),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.getClassNames("exit").activeClassName;t.reflowAndAddClass(e,n),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.getClassNames("exit").doneClassName;t.removeClasses(e,"exit"),c(e,n),t.props.onExited&&t.props.onExited(e)},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?(r&&n?n+"-":"")+e:n[e];return{className:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var o=r.prototype;return o.removeClasses=function(e,t){var n=this.getClassNames(t),r=n.className,o=n.activeClassName,i=n.doneClassName;r&&u(e,r),o&&u(e,o),i&&u(e,i)},o.reflowAndAddClass=function(e,t){t&&(e&&e.scrollTop,c(e,t))},o.render=function(){var e=l({},this.props);return delete e.classNames,i.default.createElement(a.default,l({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},r}(i.default.Component);d.defaultProps={classNames:""},d.propTypes={};var f=d;t.default=f,e.exports=t.default},60283:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;a(n(45697));var r=a(n(67294)),o=n(73935),i=a(n(79924));function a(e){return e&&e.__esModule?e:{default:e}}var s=function(e){var t,n;function a(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}n=e,(t=a).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=a.prototype;return s.handleLifecycle=function(e,t,n){var i,a=this.props.children,s=r.default.Children.toArray(a)[t];s.props[e]&&(i=s.props)[e].apply(i,n),this.props[e]&&this.props[e]((0,o.findDOMNode)(this))},s.render=function(){var e=this.props,t=e.children,n=e.in,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,["children","in"]),a=r.default.Children.toArray(t),s=a[0],l=a[1];return delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,r.default.createElement(i.default,o,n?r.default.cloneElement(s,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):r.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},a}(r.default.Component);s.propTypes={};var l=s;t.default=l,e.exports=t.default},2337:function(e,t,n){"use strict";t.__esModule=!0,t.default=t.EXITING=t.ENTERED=t.ENTERING=t.EXITED=t.UNMOUNTED=void 0;!function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}t.default=e}(n(45697));var r=s(n(67294)),o=s(n(73935)),i=n(46871),a=(n(64322),s(n(40112)));function s(e){return e&&e.__esModule?e:{default:e}}var l="unmounted";t.UNMOUNTED=l;var c="exited";t.EXITED=c;var u="entering";t.ENTERING=u;var d="entered";t.ENTERED=d;var f="exiting";t.EXITING=f;var p=function(e){var t,n;function i(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=c,r.appearStatus=u):o=d:o=t.unmountOnExit||t.mountOnEnter?l:c,r.state={status:o},r.nextCallback=null,r}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i.getDerivedStateFromProps=function(e,t){return e.in&&t.status===l?{status:c}:null};var s=i.prototype;return s.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},s.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==u&&n!==d&&(t=u):n!==u&&n!==d||(t=f)}this.updateStatus(!1,t)},s.componentWillUnmount=function(){this.cancelNextCallback()},s.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},s.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t){this.cancelNextCallback();var n=o.default.findDOMNode(this);t===u?this.performEnter(n,e):this.performExit(n)}else this.props.unmountOnExit&&this.state.status===c&&this.setState({status:l})},s.performEnter=function(e,t){var n=this,r=this.props.enter,o=this.context?this.context.isMounting:t,i=this.getTimeouts(),a=o?i.appear:i.enter;t||r?(this.props.onEnter(e,o),this.safeSetState({status:u},(function(){n.props.onEntering(e,o),n.onTransitionEnd(e,a,(function(){n.safeSetState({status:d},(function(){n.props.onEntered(e,o)}))}))}))):this.safeSetState({status:d},(function(){n.props.onEntered(e)}))},s.performExit=function(e){var t=this,n=this.props.exit,r=this.getTimeouts();n?(this.props.onExit(e),this.safeSetState({status:f},(function(){t.props.onExiting(e),t.onTransitionEnd(e,r.exit,(function(){t.safeSetState({status:c},(function(){t.props.onExited(e)}))}))}))):this.safeSetState({status:c},(function(){t.props.onExited(e)}))},s.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},s.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},s.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},s.onTransitionEnd=function(e,t,n){this.setNextCallback(n);var r=null==t&&!this.props.addEndListener;e&&!r?(this.props.addEndListener&&this.props.addEndListener(e,this.nextCallback),null!=t&&setTimeout(this.nextCallback,t)):setTimeout(this.nextCallback,0)},s.render=function(){var e=this.state.status;if(e===l)return null;var t=this.props,n=t.children,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,["children"]);if(delete o.in,delete o.mountOnEnter,delete o.unmountOnExit,delete o.appear,delete o.enter,delete o.exit,delete o.timeout,delete o.addEndListener,delete o.onEnter,delete o.onEntering,delete o.onEntered,delete o.onExit,delete o.onExiting,delete o.onExited,"function"==typeof n)return r.default.createElement(a.default.Provider,{value:null},n(e,o));var i=r.default.Children.only(n);return r.default.createElement(a.default.Provider,{value:null},r.default.cloneElement(i,o))},i}(r.default.Component);function h(){}p.contextType=a.default,p.propTypes={},p.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},p.UNMOUNTED=0,p.EXITED=1,p.ENTERING=2,p.ENTERED=3,p.EXITING=4;var m=(0,i.polyfill)(p);t.default=m},79924:function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;s(n(45697));var r=s(n(67294)),o=n(46871),i=s(n(40112)),a=n(29822);function s(e){return e&&e.__esModule?e:{default:e}}function l(){return l=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},l.apply(this,arguments)}function c(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},d=function(e){var t,n;function o(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(c(c(r)));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}n=e,(t=o).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var s=o.prototype;return s.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},s.componentWillUnmount=function(){this.mounted=!1},o.getDerivedStateFromProps=function(e,t){var n=t.children,r=t.handleExited;return{children:t.firstRender?(0,a.getInitialChildMapping)(e,r):(0,a.getNextChildMapping)(e,n,r),firstRender:!1}},s.handleExited=function(e,t){var n=(0,a.getChildMapping)(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=l({},t.children);return delete n[e.key],{children:n}})))},s.render=function(){var e=this.props,t=e.component,n=e.childFactory,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,["component","childFactory"]),a=this.state.contextValue,s=u(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===t?r.default.createElement(i.default.Provider,{value:a},s):r.default.createElement(i.default.Provider,{value:a},r.default.createElement(t,o,s))},o}(r.default.Component);d.propTypes={},d.defaultProps={component:"div",childFactory:function(e){return e}};var f=(0,o.polyfill)(d);t.default=f,e.exports=t.default},40112:function(e,t,n){"use strict";var r;t.__esModule=!0,t.default=void 0;var o=((r=n(67294))&&r.__esModule?r:{default:r}).default.createContext(null);t.default=o,e.exports=t.default},793:function(e,t,n){"use strict";var r=s(n(95767)),o=s(n(60283)),i=s(n(79924)),a=s(n(2337));function s(e){return e&&e.__esModule?e:{default:e}}e.exports={Transition:a.default,TransitionGroup:i.default,ReplaceTransition:o.default,CSSTransition:r.default}},29822:function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=o,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return o(e.children,(function(n){return(0,r.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:a(n,"appear",e),enter:a(n,"enter",e),exit:a(n,"exit",e)})}))},t.getNextChildMapping=function(e,t,n){var s=o(e.children),l=i(t,s);return Object.keys(l).forEach((function(o){var i=l[o];if((0,r.isValidElement)(i)){var c=o in t,u=o in s,d=t[o],f=(0,r.isValidElement)(d)&&!d.props.in;!u||c&&!f?u||!c||f?u&&c&&(0,r.isValidElement)(d)&&(l[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:a(i,"exit",e),enter:a(i,"enter",e)})):l[o]=(0,r.cloneElement)(i,{in:!1}):l[o]=(0,r.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:a(i,"exit",e),enter:a(i,"enter",e)})}})),l};var r=n(67294);function o(e,t){var n=Object.create(null);return e&&r.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,r.isValidElement)(e)?t(e):e}(e)})),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var c=o[l][r];s[o[l][r]]=n(c)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}function a(e,t,n){return null!=n[t]?n[t]:e.props[t]}},64322:function(e,t,n){"use strict";t.__esModule=!0,t.classNamesShape=t.timeoutsShape=void 0;var r;(r=n(45697))&&r.__esModule;t.timeoutsShape=null;t.classNamesShape=null},53697:function(e,t,n){"use strict";var r=n(25972).functionsHaveConfigurableNames(),o=Object,i=TypeError;e.exports=function(){if(null!=this&&this!==o(this))throw new i("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e},r&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},2847:function(e,t,n){"use strict";var r=n(4289),o=n(55559),i=n(53697),a=n(71721),s=n(32753),l=o(a());r(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},71721:function(e,t,n){"use strict";var r=n(53697),o=n(4289).supportsDescriptors,i=Object.getOwnPropertyDescriptor;e.exports=function(){if(o&&"gim"===/a/gim.flags){var e=i(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(n,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return r}},32753:function(e,t,n){"use strict";var r=n(4289).supportsDescriptors,o=n(71721),i=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,c=/a/;e.exports=function(){if(!r||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=o(),t=l(c),n=i(t,"flags");return n&&n.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},91033:function(e,t,n){"use strict";n.r(t);var r=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),o="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var s=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&l()}function s(){a(i)}function l(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(s,t);o=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;s.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},f=b(0,0,0,0);function p(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+p(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return f;var r=d(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=p(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=p(r.width),l=p(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=h(r,"left","right")+i),Math.round(l+a)!==n&&(l-=h(r,"top","bottom")+a)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(s+i)-t,u=Math.round(l+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(u)&&(l-=u)}return b(o.left,o.top,s,l)}var g="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function v(e){return o?g(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):m(e):f}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var y=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=v(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),A=function(e,t){var n=function(e){var t=e.x,n=e.y,r=e.width,o=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(i.prototype);return u(a,{x:t,y:n,width:r,height:o,top:n,right:t+r,bottom:o+n,left:t}),a}(t);u(this,{target:e,contentRect:n})},x=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new y(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new A(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),C="undefined"!=typeof WeakMap?new WeakMap:new r,_=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),r=new x(t,n,this);C.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){_.prototype[e]=function(){var t;return(t=C.get(this))[e].apply(t,arguments)}}));var w=void 0!==i.ResizeObserver?i.ResizeObserver:_;t.default=w},60053:function(e,t){"use strict";var n,r,o,i;if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,d=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(d,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){u=setTimeout(e,t)},o=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!=typeof console){var h=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof h&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,g=null,v=-1,b=5,y=0;t.unstable_shouldYield=function(){return t.unstable_now()>=y},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):b=0<e?Math.floor(1e3/e):5};var A=new MessageChannel,x=A.port2;A.port1.onmessage=function(){if(null!==g){var e=t.unstable_now();y=e+b;try{g(!0,e)?x.postMessage(null):(m=!1,g=null)}catch(e){throw x.postMessage(null),e}}else m=!1},n=function(e){g=e,m||(m=!0,x.postMessage(null))},r=function(e,n){v=f((function(){e(t.unstable_now())}),n)},o=function(){p(v),v=-1}}function C(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,o=e[r];if(!(void 0!==o&&0<k(o,t)))break e;e[r]=t,e[n]=o,n=r}}function _(e){return void 0===(e=e[0])?null:e}function w(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length;r<o;){var i=2*(r+1)-1,a=e[i],s=i+1,l=e[s];if(void 0!==a&&0>k(a,n))void 0!==l&&0>k(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[i]=n,r=i);else{if(!(void 0!==l&&0>k(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var S=[],E=[],B=1,O=null,j=3,T=!1,P=!1,M=!1;function D(e){for(var t=_(E);null!==t;){if(null===t.callback)w(E);else{if(!(t.startTime<=e))break;w(E),t.sortIndex=t.expirationTime,C(S,t)}t=_(E)}}function R(e){if(M=!1,D(e),!P)if(null!==_(S))P=!0,n(L);else{var t=_(E);null!==t&&r(R,t.startTime-e)}}function L(e,n){P=!1,M&&(M=!1,o()),T=!0;var i=j;try{for(D(n),O=_(S);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var a=O.callback;if("function"==typeof a){O.callback=null,j=O.priorityLevel;var s=a(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?O.callback=s:O===_(S)&&w(S),D(n)}else w(S);O=_(S)}if(null!==O)var l=!0;else{var c=_(E);null!==c&&r(R,c.startTime-n),l=!1}return l}finally{O=null,j=i,T=!1}}var I=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){P||T||(P=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return j},t.unstable_getFirstCallbackNode=function(){return _(S)},t.unstable_next=function(e){switch(j){case 1:case 2:case 3:var t=3;break;default:t=j}var n=j;j=t;try{return e()}finally{j=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=I,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=j;j=e;try{return t()}finally{j=n}},t.unstable_scheduleCallback=function(e,i,a){var s=t.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?s+a:s:a=s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:B++,callback:i,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>s?(e.sortIndex=a,C(E,e),null===_(S)&&e===_(E)&&(M?o():M=!0,r(R,a-s))):(e.sortIndex=l,C(S,e),P||T||(P=!0,n(L))),e},t.unstable_wrapCallback=function(e){var t=j;return function(){var n=j;j=t;try{return e.apply(this,arguments)}finally{j=n}}}},63840:function(e,t,n){"use strict";e.exports=n(60053)},67339:function(e){var t=new Error("Element already at target scroll position"),n=new Error("Scroll cancelled"),r=Math.min,o=Date.now;function i(e){return function(i,l,c,u){"function"==typeof(c=c||{})&&(u=c,c={}),"function"!=typeof u&&(u=s);var d=o(),f=i[e],p=c.ease||a,h=isNaN(c.duration)?350:+c.duration,m=!1;return f===l?u(t,i[e]):requestAnimationFrame((function t(a){if(m)return u(n,i[e]);var s=o(),c=r(1,(s-d)/h),g=p(c);i[e]=g*(l-f)+f,c<1?requestAnimationFrame(t):requestAnimationFrame((function(){u(null,i[e])}))})),function(){m=!0}}}function a(e){return.5*(1-Math.cos(Math.PI*e))}function s(){}e.exports={left:i("scrollLeft"),top:i("scrollTop")}},27274:function(e,t){var n,r,o;r=[],void 0===(o="function"==typeof(n=function(){var e=/(auto|scroll)/,t=function(e,n){return null===e.parentNode?n:t(e.parentNode,n.concat([e]))},n=function(e,t){return getComputedStyle(e,null).getPropertyValue(t)},r=function(e){return n(e,"overflow")+n(e,"overflow-y")+n(e,"overflow-x")},o=function(t){return e.test(r(t))};return function(e){if(e instanceof HTMLElement||e instanceof SVGElement){for(var n=t(e.parentNode,[]),r=0;r<n.length;r+=1)if(o(n[r]))return n[r];return document.scrollingElement||document.documentElement}}})?n.apply(t,r):n)||(e.exports=o)},40686:function(e,t,n){var r,o,i;o=[n(19755)],r=function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n,r,o;return t&&t.requirejs||(t?r=t:t={},function(e){var t,i,a,s,l={},c={},u={},d={},f=Object.prototype.hasOwnProperty,p=[].slice,h=/\.js$/;function m(e,t){return f.call(e,t)}function g(e,t){var n,r,o,i,a,s,l,c,d,f,p,m=t&&t.split("/"),g=u.map,v=g&&g["*"]||{};if(e){for(a=(e=e.split("/")).length-1,u.nodeIdCompat&&h.test(e[a])&&(e[a]=e[a].replace(h,"")),"."===e[0].charAt(0)&&m&&(e=m.slice(0,m.length-1).concat(e)),d=0;d<e.length;d++)if("."===(p=e[d]))e.splice(d,1),d-=1;else if(".."===p){if(0===d||1===d&&".."===e[2]||".."===e[d-1])continue;d>0&&(e.splice(d-1,2),d-=2)}e=e.join("/")}if((m||v)&&g){for(d=(n=e.split("/")).length;d>0;d-=1){if(r=n.slice(0,d).join("/"),m)for(f=m.length;f>0;f-=1)if((o=g[m.slice(0,f).join("/")])&&(o=o[r])){i=o,s=d;break}if(i)break;!l&&v&&v[r]&&(l=v[r],c=d)}!i&&l&&(i=l,s=c),i&&(n.splice(0,s,i),e=n.join("/"))}return e}function v(t,n){return function(){var r=p.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),i.apply(e,r.concat([t,n]))}}function b(e){return function(t){return g(t,e)}}function y(e){return function(t){l[e]=t}}function A(n){if(m(c,n)){var r=c[n];delete c[n],d[n]=!0,t.apply(e,r)}if(!m(l,n)&&!m(d,n))throw new Error("No "+n);return l[n]}function x(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function C(e){return e?x(e):[]}function _(e){return function(){return u&&u.config&&u.config[e]||{}}}a=function(e,t){var n,r=x(e),o=r[0],i=t[1];return e=r[1],o&&(n=A(o=g(o,i))),o?e=n&&n.normalize?n.normalize(e,b(i)):g(e,i):(o=(r=x(e=g(e,i)))[0],e=r[1],o&&(n=A(o))),{f:o?o+"!"+e:e,n:e,pr:o,p:n}},s={require:function(e){return v(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:_(e)}}},t=function(t,n,r,o){var i,u,f,p,h,g,b,x=[],_=typeof r;if(g=C(o=o||t),"undefined"===_||"function"===_){for(n=!n.length&&r.length?["require","exports","module"]:n,h=0;h<n.length;h+=1)if("require"===(u=(p=a(n[h],g)).f))x[h]=s.require(t);else if("exports"===u)x[h]=s.exports(t),b=!0;else if("module"===u)i=x[h]=s.module(t);else if(m(l,u)||m(c,u)||m(d,u))x[h]=A(u);else{if(!p.p)throw new Error(t+" missing "+u);p.p.load(p.n,v(o,!0),y(u),{}),x[h]=l[u]}f=r?r.apply(l[t],x):void 0,t&&(i&&i.exports!==e&&i.exports!==l[t]?l[t]=i.exports:f===e&&b||(l[t]=f))}else t&&(l[t]=r)},n=r=i=function(n,r,o,l,c){if("string"==typeof n)return s[n]?s[n](r):A(a(n,C(r)).f);if(!n.splice){if((u=n).deps&&i(u.deps,u.callback),!r)return;r.splice?(n=r,r=o,o=null):n=e}return r=r||function(){},"function"==typeof o&&(o=l,l=c),l?t(e,n,r,o):setTimeout((function(){t(e,n,r,o)}),4),i},i.config=function(e){return i(e)},n._defined=l,(o=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),m(l,e)||m(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=n,t.require=r,t.define=o),t.define("almond",(function(){})),t.define("jquery",[],(function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t})),t.define("select2/utils",["jquery"],(function(e){var t={};function n(e){var t=e.prototype,n=[];for(var r in t)"function"==typeof t[r]&&"constructor"!==r&&n.push(r);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},t.Decorate=function(e,t){var r=n(t),o=n(e);function i(){var n=Array.prototype.unshift,r=t.prototype.constructor.length,o=e.prototype.constructor;r>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}function a(){this.constructor=i}t.displayName=e.displayName,i.prototype=new a;for(var s=0;s<o.length;s++){var l=o[s];i.prototype[l]=e.prototype[l]}for(var c=function(e){var n=function(){};e in i.prototype&&(n=i.prototype[e]);var r=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},u=0;u<r.length;u++){var d=r[u];i.prototype[d]=c(d)}return i};var r=function(){this.listeners={}};r.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},r.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(e,t){for(var n=0,r=e.length;n<r;n++)e[n].apply(this,t)},t.Observable=r,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),r=e;if(1!==n.length){for(var o=0;o<n.length;o++){var i=n[o];(i=i.substring(0,1).toLowerCase()+i.substring(1))in r||(r[i]={}),o==n.length-1&&(r[i]=e[t]),r=r[i]}delete e[t]}}return e},t.hasScroll=function(t,n){var r=e(n),o=n.style.overflowX,i=n.style.overflowY;return(o!==i||"hidden"!==i&&"visible"!==i)&&("scroll"===o||"scroll"===i||r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.appendMany=function(t,n){if("1.7"===e.fn.jquery.substr(0,3)){var r=e();e.map(n,(function(e){r=r.add(e)})),n=r}t.append(n)},t.__cache={};var o=0;return t.GetUniqueElementId=function(e){var t=e.getAttribute("data-select2-id");return null==t&&(e.id?(t=e.id,e.setAttribute("data-select2-id",t)):(e.setAttribute("data-select2-id",++o),t=o.toString())),t},t.StoreData=function(e,n,r){var o=t.GetUniqueElementId(e);t.__cache[o]||(t.__cache[o]={}),t.__cache[o][n]=r},t.GetData=function(n,r){var o=t.GetUniqueElementId(n);return r?t.__cache[o]&&null!=t.__cache[o][r]?t.__cache[o][r]:e(n).data(r):t.__cache[o]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n],e.removeAttribute("data-select2-id")},t})),t.define("select2/results",["jquery","./utils"],(function(e,t){function n(e,t,r){this.$element=e,this.data=r,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(t.message);r.append(n(o(t.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var r=e.results[n],o=this.option(r);t.push(o)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option[aria-selected]"),t=e.filter("[aria-selected=true]");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(r){var o=e.map(r,(function(e){return e.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=e(this),r=t.GetData(this,"data"),i=""+r.id;null!=r.element&&r.element.selected||null==r.element&&e.inArray(i,o)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var o={role:"option","aria-selected":"false"},i=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var a in(null!=n.element&&i.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete o["aria-selected"],o["aria-disabled"]="true"),null==n.id&&delete o["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(o.role="group",o["aria-label"]=n.text,delete o["aria-selected"]),o){var s=o[a];r.setAttribute(a,s)}if(n.children){var l=e(r),c=document.createElement("strong");c.className="select2-results__group",e(c),this.template(n,c);for(var u=[],d=0;d<n.children.length;d++){var f=n.children[d],p=this.option(f);u.push(p)}var h=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});h.append(u),l.append(c),l.append(h)}else this.template(n,r);return t.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var o=this,i=n.id+"-results";this.$results.attr("id",i),n.on("results:all",(function(e){o.clear(),o.append(e.data),n.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),n.on("results:append",(function(e){o.append(e.data),n.isOpen()&&o.setClasses()})),n.on("query",(function(e){o.hideMessages(),o.showLoading(e)})),n.on("select",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("open",(function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()})),n.on("close",(function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),n.on("results:select",(function(){var e=o.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");"true"==e.attr("aria-selected")?o.trigger("close",{}):o.trigger("select",{data:n})}})),n.on("results:previous",(function(){var e=o.getHighlightedResults(),t=o.$results.find("[aria-selected]"),n=t.index(e);if(!(n<=0)){var r=n-1;0===e.length&&(r=0);var i=t.eq(r);i.trigger("mouseenter");var a=o.$results.offset().top,s=i.offset().top,l=o.$results.scrollTop()+(s-a);0===r?o.$results.scrollTop(0):s-a<0&&o.$results.scrollTop(l)}})),n.on("results:next",(function(){var e=o.getHighlightedResults(),t=o.$results.find("[aria-selected]"),n=t.index(e)+1;if(!(n>=t.length)){var r=t.eq(n);r.trigger("mouseenter");var i=o.$results.offset().top+o.$results.outerHeight(!1),a=r.offset().top+r.outerHeight(!1),s=o.$results.scrollTop()+a-i;0===n?o.$results.scrollTop(0):a>i&&o.$results.scrollTop(s)}})),n.on("results:focus",(function(e){e.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(e){o.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-t+e.deltaY,r=e.deltaY>0&&t-e.deltaY<=0,i=e.deltaY<0&&n<=o.$results.height();r?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):i&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var r=e(this),i=t.GetData(this,"data");"true"!==r.attr("aria-selected")?o.trigger("select",{originalEvent:n,data:i}):o.options.get("multiple")?o.trigger("unselect",{originalEvent:n,data:i}):o.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var r=t.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted"),o.trigger("results:focus",{data:r,element:e(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find("[aria-selected]").index(e),n=this.$results.offset().top,r=e.offset().top,o=this.$results.scrollTop()+(r-n),i=r-n;o-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(i>this.$results.outerHeight()||i<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var r=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),i=r(t,n);null==i?n.style.display="none":"string"==typeof i?n.innerHTML=o(i):e(n).append(i)},n})),t.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),t.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,t.Observable),r.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},r.prototype.bind=function(e,t){var r=this,o=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){r.trigger("focus",e)})),this.$selection.on("blur",(function(e){r._handleBlur(e)})),this.$selection.on("keydown",(function(e){r.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){r.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){r.update(e.data)})),e.on("open",(function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",o),r._attachCloseHandler(e)})),e.on("close",(function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(e)})),e.on("enable",(function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")}))},r.prototype._handleBlur=function(t){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)}),1)},r.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,(function(n){var r=e(n.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=r[0]&&t.GetData(this,"element").select2("close")}))}))},r.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},r.prototype.position=function(e,t){t.find(".selection").append(e)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r})),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,r){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e.addClass("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var r=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.trigger("focus")}))},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(t,n);n.empty().append(r);var o=t.title||t.text;o?n.attr("title",o):n.removeAttr("title")}else this.clear()},o})),t.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function r(e,t){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,t),r.prototype.render=function(){var e=r.__super__.render.call(this);return e.addClass("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},r.prototype.bind=function(t,o){var i=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(e){i.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(!i.isDisabled()){var r=e(this).parent(),o=n.GetData(r[0],"data");i.trigger("unselect",{originalEvent:t,data:o})}}))},r.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},r.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},r.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],r=0;r<e.length;r++){var o=e[r],i=this.selectionContainer(),a=this.display(o,i);i.append(a);var s=o.title||o.text;s&&i.attr("title",s),n.StoreData(i[0],"data",o),t.push(i)}var l=this.$selection.find(".select2-selection__rendered");n.appendMany(l,t)}},r})),t.define("select2/selection/placeholder",["../utils"],(function(e){function t(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return t.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},t.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();return n.html(this.display(t)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},t.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},t})),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,n){function r(){}return r.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){r._handleClear(e)})),t.on("keypress",(function(e){r._handleKeyboardClear(e,t)}))},r.prototype._handleClear=function(e,t){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){t.stopPropagation();var o=n.GetData(r[0],"data"),i=this.$element.val();this.$element.val(this.placeholder.id);var a={data:o};if(this.trigger("clear",a),a.prevented)this.$element.val(i);else{for(var s=0;s<o.length;s++)if(a={data:o[s]},this.trigger("unselect",a),a.prevented)return void this.$element.val(i);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(e,n,r){r.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},r.prototype.update=function(t,r){if(t.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var o=this.options.get("translations").get("removeAllItems"),i=e('<span class="select2-selection__clear" title="'+o()+'">&times;</span>');n.StoreData(i[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(i)}},r})),t.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function r(e,t,n){e.call(this,t,n)}return r.prototype.render=function(t){var n=e('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=t.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(e,r,o){var i=this,a=r.id+"-results";e.call(this,r,o),r.on("open",(function(){i.$search.attr("aria-controls",a),i.$search.trigger("focus")})),r.on("close",(function(){i.$search.val(""),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.trigger("focus")})),r.on("enable",(function(){i.$search.prop("disabled",!1),i._transferTabIndex()})),r.on("disable",(function(){i.$search.prop("disabled",!0)})),r.on("focus",(function(e){i.$search.trigger("focus")})),r.on("results:focus",(function(e){e.data._resultId?i.$search.attr("aria-activedescendant",e.data._resultId):i.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){i.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){i._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),i.trigger("keypress",e),i._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===i.$search.val()){var r=i.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var o=t.GetData(r[0],"data");i.searchRemoveChoice(o),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){i.$search.val()&&e.stopPropagation()}));var s=document.documentMode,l=s&&s<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){l?i.$selection.off("input.search input.searchcheck"):i.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(l&&"input"===e.type)i.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&i.handleSearch(e)}}))},r.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},r.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="";e=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",e)},r})),t.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,n,r){var o=this,i=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],a=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,r),n.on("*",(function(t,n){if(-1!==e.inArray(t,i)){n=n||{};var r=e.Event("select2:"+t,{params:n});o.$element.trigger(r),-1!==e.inArray(t,a)&&(n.prevented=r.isDefaultPrevented())}}))},t})),t.define("select2/translation",["jquery","require"],(function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var r=t(e);n._cache[e]=r}return new n(n._cache[e])},n})),t.define("select2/diacritics",[],(function(){return{"Ⓐ":"A","Ａ":"A","À":"A","Á":"A","Â":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ā":"A","Ă":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ǡ":"A","Ä":"A","Ǟ":"A","Ả":"A","Å":"A","Ǻ":"A","Ǎ":"A","Ȁ":"A","Ȃ":"A","Ạ":"A","Ậ":"A","Ặ":"A","Ḁ":"A","Ą":"A","Ⱥ":"A","Ɐ":"A","Ꜳ":"AA","Æ":"AE","Ǽ":"AE","Ǣ":"AE","Ꜵ":"AO","Ꜷ":"AU","Ꜹ":"AV","Ꜻ":"AV","Ꜽ":"AY","Ⓑ":"B","Ｂ":"B","Ḃ":"B","Ḅ":"B","Ḇ":"B","Ƀ":"B","Ƃ":"B","Ɓ":"B","Ⓒ":"C","Ｃ":"C","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","Ç":"C","Ḉ":"C","Ƈ":"C","Ȼ":"C","Ꜿ":"C","Ⓓ":"D","Ｄ":"D","Ḋ":"D","Ď":"D","Ḍ":"D","Ḑ":"D","Ḓ":"D","Ḏ":"D","Đ":"D","Ƌ":"D","Ɗ":"D","Ɖ":"D","Ꝺ":"D","Ǳ":"DZ","Ǆ":"DZ","ǲ":"Dz","ǅ":"Dz","Ⓔ":"E","Ｅ":"E","È":"E","É":"E","Ê":"E","Ề":"E","Ế":"E","Ễ":"E","Ể":"E","Ẽ":"E","Ē":"E","Ḕ":"E","Ḗ":"E","Ĕ":"E","Ė":"E","Ë":"E","Ẻ":"E","Ě":"E","Ȅ":"E","Ȇ":"E","Ẹ":"E","Ệ":"E","Ȩ":"E","Ḝ":"E","Ę":"E","Ḙ":"E","Ḛ":"E","Ɛ":"E","Ǝ":"E","Ⓕ":"F","Ｆ":"F","Ḟ":"F","Ƒ":"F","Ꝼ":"F","Ⓖ":"G","Ｇ":"G","Ǵ":"G","Ĝ":"G","Ḡ":"G","Ğ":"G","Ġ":"G","Ǧ":"G","Ģ":"G","Ǥ":"G","Ɠ":"G","Ꞡ":"G","Ᵹ":"G","Ꝿ":"G","Ⓗ":"H","Ｈ":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","Ȟ":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","Ⱨ":"H","Ⱶ":"H","Ɥ":"H","Ⓘ":"I","Ｉ":"I","Ì":"I","Í":"I","Î":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ï":"I","Ḯ":"I","Ỉ":"I","Ǐ":"I","Ȉ":"I","Ȋ":"I","Ị":"I","Į":"I","Ḭ":"I","Ɨ":"I","Ⓙ":"J","Ｊ":"J","Ĵ":"J","Ɉ":"J","Ⓚ":"K","Ｋ":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Ƙ":"K","Ⱪ":"K","Ꝁ":"K","Ꝃ":"K","Ꝅ":"K","Ꞣ":"K","Ⓛ":"L","Ｌ":"L","Ŀ":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ļ":"L","Ḽ":"L","Ḻ":"L","Ł":"L","Ƚ":"L","Ɫ":"L","Ⱡ":"L","Ꝉ":"L","Ꝇ":"L","Ꞁ":"L","Ǉ":"LJ","ǈ":"Lj","Ⓜ":"M","Ｍ":"M","Ḿ":"M","Ṁ":"M","Ṃ":"M","Ɱ":"M","Ɯ":"M","Ⓝ":"N","Ｎ":"N","Ǹ":"N","Ń":"N","Ñ":"N","Ṅ":"N","Ň":"N","Ṇ":"N","Ņ":"N","Ṋ":"N","Ṉ":"N","Ƞ":"N","Ɲ":"N","Ꞑ":"N","Ꞥ":"N","Ǌ":"NJ","ǋ":"Nj","Ⓞ":"O","Ｏ":"O","Ò":"O","Ó":"O","Ô":"O","Ồ":"O","Ố":"O","Ỗ":"O","Ổ":"O","Õ":"O","Ṍ":"O","Ȭ":"O","Ṏ":"O","Ō":"O","Ṑ":"O","Ṓ":"O","Ŏ":"O","Ȯ":"O","Ȱ":"O","Ö":"O","Ȫ":"O","Ỏ":"O","Ő":"O","Ǒ":"O","Ȍ":"O","Ȏ":"O","Ơ":"O","Ờ":"O","Ớ":"O","Ỡ":"O","Ở":"O","Ợ":"O","Ọ":"O","Ộ":"O","Ǫ":"O","Ǭ":"O","Ø":"O","Ǿ":"O","Ɔ":"O","Ɵ":"O","Ꝋ":"O","Ꝍ":"O","Œ":"OE","Ƣ":"OI","Ꝏ":"OO","Ȣ":"OU","Ⓟ":"P","Ｐ":"P","Ṕ":"P","Ṗ":"P","Ƥ":"P","Ᵽ":"P","Ꝑ":"P","Ꝓ":"P","Ꝕ":"P","Ⓠ":"Q","Ｑ":"Q","Ꝗ":"Q","Ꝙ":"Q","Ɋ":"Q","Ⓡ":"R","Ｒ":"R","Ŕ":"R","Ṙ":"R","Ř":"R","Ȑ":"R","Ȓ":"R","Ṛ":"R","Ṝ":"R","Ŗ":"R","Ṟ":"R","Ɍ":"R","Ɽ":"R","Ꝛ":"R","Ꞧ":"R","Ꞃ":"R","Ⓢ":"S","Ｓ":"S","ẞ":"S","Ś":"S","Ṥ":"S","Ŝ":"S","Ṡ":"S","Š":"S","Ṧ":"S","Ṣ":"S","Ṩ":"S","Ș":"S","Ş":"S","Ȿ":"S","Ꞩ":"S","Ꞅ":"S","Ⓣ":"T","Ｔ":"T","Ṫ":"T","Ť":"T","Ṭ":"T","Ț":"T","Ţ":"T","Ṱ":"T","Ṯ":"T","Ŧ":"T","Ƭ":"T","Ʈ":"T","Ⱦ":"T","Ꞇ":"T","Ꜩ":"TZ","Ⓤ":"U","Ｕ":"U","Ù":"U","Ú":"U","Û":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ü":"U","Ǜ":"U","Ǘ":"U","Ǖ":"U","Ǚ":"U","Ủ":"U","Ů":"U","Ű":"U","Ǔ":"U","Ȕ":"U","Ȗ":"U","Ư":"U","Ừ":"U","Ứ":"U","Ữ":"U","Ử":"U","Ự":"U","Ụ":"U","Ṳ":"U","Ų":"U","Ṷ":"U","Ṵ":"U","Ʉ":"U","Ⓥ":"V","Ｖ":"V","Ṽ":"V","Ṿ":"V","Ʋ":"V","Ꝟ":"V","Ʌ":"V","Ꝡ":"VY","Ⓦ":"W","Ｗ":"W","Ẁ":"W","Ẃ":"W","Ŵ":"W","Ẇ":"W","Ẅ":"W","Ẉ":"W","Ⱳ":"W","Ⓧ":"X","Ｘ":"X","Ẋ":"X","Ẍ":"X","Ⓨ":"Y","Ｙ":"Y","Ỳ":"Y","Ý":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","Ẏ":"Y","Ÿ":"Y","Ỷ":"Y","Ỵ":"Y","Ƴ":"Y","Ɏ":"Y","Ỿ":"Y","Ⓩ":"Z","Ｚ":"Z","Ź":"Z","Ẑ":"Z","Ż":"Z","Ž":"Z","Ẓ":"Z","Ẕ":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","Ꝣ":"Z","ⓐ":"a","ａ":"a","ẚ":"a","à":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","ā":"a","ă":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","ǡ":"a","ä":"a","ǟ":"a","ả":"a","å":"a","ǻ":"a","ǎ":"a","ȁ":"a","ȃ":"a","ạ":"a","ậ":"a","ặ":"a","ḁ":"a","ą":"a","ⱥ":"a","ɐ":"a","ꜳ":"aa","æ":"ae","ǽ":"ae","ǣ":"ae","ꜵ":"ao","ꜷ":"au","ꜹ":"av","ꜻ":"av","ꜽ":"ay","ⓑ":"b","ｂ":"b","ḃ":"b","ḅ":"b","ḇ":"b","ƀ":"b","ƃ":"b","ɓ":"b","ⓒ":"c","ｃ":"c","ć":"c","ĉ":"c","ċ":"c","č":"c","ç":"c","ḉ":"c","ƈ":"c","ȼ":"c","ꜿ":"c","ↄ":"c","ⓓ":"d","ｄ":"d","ḋ":"d","ď":"d","ḍ":"d","ḑ":"d","ḓ":"d","ḏ":"d","đ":"d","ƌ":"d","ɖ":"d","ɗ":"d","ꝺ":"d","ǳ":"dz","ǆ":"dz","ⓔ":"e","ｅ":"e","è":"e","é":"e","ê":"e","ề":"e","ế":"e","ễ":"e","ể":"e","ẽ":"e","ē":"e","ḕ":"e","ḗ":"e","ĕ":"e","ė":"e","ë":"e","ẻ":"e","ě":"e","ȅ":"e","ȇ":"e","ẹ":"e","ệ":"e","ȩ":"e","ḝ":"e","ę":"e","ḙ":"e","ḛ":"e","ɇ":"e","ɛ":"e","ǝ":"e","ⓕ":"f","ｆ":"f","ḟ":"f","ƒ":"f","ꝼ":"f","ⓖ":"g","ｇ":"g","ǵ":"g","ĝ":"g","ḡ":"g","ğ":"g","ġ":"g","ǧ":"g","ģ":"g","ǥ":"g","ɠ":"g","ꞡ":"g","ᵹ":"g","ꝿ":"g","ⓗ":"h","ｈ":"h","ĥ":"h","ḣ":"h","ḧ":"h","ȟ":"h","ḥ":"h","ḩ":"h","ḫ":"h","ẖ":"h","ħ":"h","ⱨ":"h","ⱶ":"h","ɥ":"h","ƕ":"hv","ⓘ":"i","ｉ":"i","ì":"i","í":"i","î":"i","ĩ":"i","ī":"i","ĭ":"i","ï":"i","ḯ":"i","ỉ":"i","ǐ":"i","ȉ":"i","ȋ":"i","ị":"i","į":"i","ḭ":"i","ɨ":"i","ı":"i","ⓙ":"j","ｊ":"j","ĵ":"j","ǰ":"j","ɉ":"j","ⓚ":"k","ｋ":"k","ḱ":"k","ǩ":"k","ḳ":"k","ķ":"k","ḵ":"k","ƙ":"k","ⱪ":"k","ꝁ":"k","ꝃ":"k","ꝅ":"k","ꞣ":"k","ⓛ":"l","ｌ":"l","ŀ":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","ſ":"l","ł":"l","ƚ":"l","ɫ":"l","ⱡ":"l","ꝉ":"l","ꞁ":"l","ꝇ":"l","ǉ":"lj","ⓜ":"m","ｍ":"m","ḿ":"m","ṁ":"m","ṃ":"m","ɱ":"m","ɯ":"m","ⓝ":"n","ｎ":"n","ǹ":"n","ń":"n","ñ":"n","ṅ":"n","ň":"n","ṇ":"n","ņ":"n","ṋ":"n","ṉ":"n","ƞ":"n","ɲ":"n","ŉ":"n","ꞑ":"n","ꞥ":"n","ǌ":"nj","ⓞ":"o","ｏ":"o","ò":"o","ó":"o","ô":"o","ồ":"o","ố":"o","ỗ":"o","ổ":"o","õ":"o","ṍ":"o","ȭ":"o","ṏ":"o","ō":"o","ṑ":"o","ṓ":"o","ŏ":"o","ȯ":"o","ȱ":"o","ö":"o","ȫ":"o","ỏ":"o","ő":"o","ǒ":"o","ȍ":"o","ȏ":"o","ơ":"o","ờ":"o","ớ":"o","ỡ":"o","ở":"o","ợ":"o","ọ":"o","ộ":"o","ǫ":"o","ǭ":"o","ø":"o","ǿ":"o","ɔ":"o","ꝋ":"o","ꝍ":"o","ɵ":"o","œ":"oe","ƣ":"oi","ȣ":"ou","ꝏ":"oo","ⓟ":"p","ｐ":"p","ṕ":"p","ṗ":"p","ƥ":"p","ᵽ":"p","ꝑ":"p","ꝓ":"p","ꝕ":"p","ⓠ":"q","ｑ":"q","ɋ":"q","ꝗ":"q","ꝙ":"q","ⓡ":"r","ｒ":"r","ŕ":"r","ṙ":"r","ř":"r","ȑ":"r","ȓ":"r","ṛ":"r","ṝ":"r","ŗ":"r","ṟ":"r","ɍ":"r","ɽ":"r","ꝛ":"r","ꞧ":"r","ꞃ":"r","ⓢ":"s","ｓ":"s","ß":"s","ś":"s","ṥ":"s","ŝ":"s","ṡ":"s","š":"s","ṧ":"s","ṣ":"s","ṩ":"s","ș":"s","ş":"s","ȿ":"s","ꞩ":"s","ꞅ":"s","ẛ":"s","ⓣ":"t","ｔ":"t","ṫ":"t","ẗ":"t","ť":"t","ṭ":"t","ț":"t","ţ":"t","ṱ":"t","ṯ":"t","ŧ":"t","ƭ":"t","ʈ":"t","ⱦ":"t","ꞇ":"t","ꜩ":"tz","ⓤ":"u","ｕ":"u","ù":"u","ú":"u","û":"u","ũ":"u","ṹ":"u","ū":"u","ṻ":"u","ŭ":"u","ü":"u","ǜ":"u","ǘ":"u","ǖ":"u","ǚ":"u","ủ":"u","ů":"u","ű":"u","ǔ":"u","ȕ":"u","ȗ":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","ử":"u","ự":"u","ụ":"u","ṳ":"u","ų":"u","ṷ":"u","ṵ":"u","ʉ":"u","ⓥ":"v","ｖ":"v","ṽ":"v","ṿ":"v","ʋ":"v","ꝟ":"v","ʌ":"v","ꝡ":"vy","ⓦ":"w","ｗ":"w","ẁ":"w","ẃ":"w","ŵ":"w","ẇ":"w","ẅ":"w","ẘ":"w","ẉ":"w","ⱳ":"w","ⓧ":"x","ｘ":"x","ẋ":"x","ẍ":"x","ⓨ":"y","ｙ":"y","ỳ":"y","ý":"y","ŷ":"y","ỹ":"y","ȳ":"y","ẏ":"y","ÿ":"y","ỷ":"y","ẙ":"y","ỵ":"y","ƴ":"y","ɏ":"y","ỿ":"y","ⓩ":"z","ｚ":"z","ź":"z","ẑ":"z","ż":"z","ž":"z","ẓ":"z","ẕ":"z","ƶ":"z","ȥ":"z","ɀ":"z","ⱬ":"z","ꝣ":"z","Ά":"Α","Έ":"Ε","Ή":"Η","Ί":"Ι","Ϊ":"Ι","Ό":"Ο","Ύ":"Υ","Ϋ":"Υ","Ώ":"Ω","ά":"α","έ":"ε","ή":"η","ί":"ι","ϊ":"ι","ΐ":"ι","ό":"ο","ύ":"υ","ϋ":"υ","ΰ":"υ","ώ":"ω","ς":"σ","’":"'"}})),t.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var r=t.id+"-result-";return r+=e.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+e.generateChars(4),r},t})),t.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,n){function r(e,t){this.$element=e,this.options=t,r.__super__.constructor.call(this)}return t.Extend(r,e),r.prototype.current=function(e){var t=[],r=this;this.$element.find(":selected").each((function(){var e=n(this),o=r.item(e);t.push(o)})),e(t)},r.prototype.select=function(e){var t=this;if(e.selected=!0,n(e.element).is("option"))return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(r){var o=[];(e=[e]).push.apply(e,r);for(var i=0;i<e.length;i++){var a=e[i].id;-1===n.inArray(a,o)&&o.push(a)}t.$element.val(o),t.$element.trigger("input").trigger("change")}));else{var r=e.id;this.$element.val(r),this.$element.trigger("input").trigger("change")}},r.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,n(e.element).is("option"))return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(r){for(var o=[],i=0;i<r.length;i++){var a=r[i].id;a!==e.id&&-1===n.inArray(a,o)&&o.push(a)}t.$element.val(o),t.$element.trigger("input").trigger("change")}))}},r.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},r.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},r.prototype.query=function(e,t){var r=[],o=this;this.$element.children().each((function(){var t=n(this);if(t.is("option")||t.is("optgroup")){var i=o.item(t),a=o.matches(e,i);null!==a&&r.push(a)}})),t({results:r})},r.prototype.addOptions=function(e){t.appendMany(this.$element,e)},r.prototype.option=function(e){var r;e.children?(r=document.createElement("optgroup")).label=e.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=e.text:r.innerText=e.text,void 0!==e.id&&(r.value=e.id),e.disabled&&(r.disabled=!0),e.selected&&(r.selected=!0),e.title&&(r.title=e.title);var o=n(r),i=this._normalizeItem(e);return i.element=r,t.StoreData(r,"data",i),o},r.prototype.item=function(e){var r={};if(null!=(r=t.GetData(e[0],"data")))return r;if(e.is("option"))r={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if(e.is("optgroup")){r={text:e.prop("label"),children:[],title:e.prop("title")};for(var o=e.children("option"),i=[],a=0;a<o.length;a++){var s=n(o[a]),l=this.item(s);i.push(l)}r.children=i}return(r=this._normalizeItem(r)).element=e[0],t.StoreData(e[0],"data",r),r},r.prototype._normalizeItem=function(e){e!==Object(e)&&(e={id:e,text:e});var t={selected:!1,disabled:!1};return null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},t,e)},r.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},r})),t.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,n){function r(e,t){this._dataToConvert=t.get("data")||[],r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype.bind=function(e,t){r.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),r.__super__.select.call(this,e)},r.prototype.convertToOptions=function(e){var r=this,o=this.$element.find("option"),i=o.map((function(){return r.item(n(this)).id})).get(),a=[];function s(e){return function(){return n(this).val()==e.id}}for(var l=0;l<e.length;l++){var c=this._normalizeItem(e[l]);if(n.inArray(c.id,i)>=0){var u=o.filter(s(c)),d=this.item(u),f=n.extend(!0,{},c,d),p=this.option(f);u.replaceWith(p)}else{var h=this.option(c);if(c.children){var m=this.convertToOptions(c.children);t.appendMany(h,m)}a.push(h)}}return a},r})),t.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function r(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,e,t)}return t.Extend(r,e),r.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,r){var o=n.ajax(e);return o.then(t),o.fail(r),o}};return n.extend({},t,e,!0)},r.prototype.processResults=function(e){return e},r.prototype.query=function(e,t){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);function i(){var i=o.transport(o,(function(o){var i=r.processResults(o,e);r.options.get("debug")&&window.console&&console.error&&(i&&i.results&&n.isArray(i.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(i)}),(function(){(!("status"in i)||0!==i.status&&"0"!==i.status)&&r.trigger("results:message",{message:"errorLoading"})}));r._request=i}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(i,this.ajaxOptions.delay)):i()},r})),t.define("select2/data/tags",["jquery"],(function(e){function t(t,n,r){var o=r.get("tags"),i=r.get("createTag");void 0!==i&&(this.createTag=i);var a=r.get("insertTag");if(void 0!==a&&(this.insertTag=a),t.call(this,n,r),e.isArray(o))for(var s=0;s<o.length;s++){var l=o[s],c=this._normalizeItem(l),u=this.option(c);this.$element.append(u)}}return t.prototype.query=function(e,t,n){var r=this;function o(e,i){for(var a=e.results,s=0;s<a.length;s++){var l=a[s],c=null!=l.children&&!o({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!i&&(e.data=a,void n(e))}if(i)return!0;var u=r.createTag(t);if(null!=u){var d=r.option(u);d.attr("data-select2-tag",!0),r.addOptions([d]),r.insertTag(a,u)}e.results=a,n(e)}this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,o):e.call(this,t,n)},t.prototype.createTag=function(t,n){var r=e.trim(n.term);return""===r?null:{id:r,text:r}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),t.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,r){var o=this;function i(t){var n=o._normalizeItem(t);if(!o.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var r=o.option(n);r.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([r])}a(n)}function a(e){o.trigger("select",{data:e})}n.term=n.term||"";var s=this.tokenizer(n,this.options,i);s.term!==n.term&&(this.$search.length&&(this.$search.val(s.term),this.$search.trigger("focus")),n.term=s.term),t.call(this,n,r)},t.prototype.tokenizer=function(t,n,r,o){for(var i=r.get("tokenSeparators")||[],a=n.term,s=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};s<a.length;){var c=a[s];if(-1!==e.inArray(c,i)){var u=a.substr(0,s),d=l(e.extend({},n,{term:u}));null!=d?(o(d),a=a.substr(s+1)||"",s=0):s++}else s++}return{term:a}},t})),t.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",(function(){r._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,n){var r=this;this._checkIfMaximumSelected((function(){e.call(r,t,n)}))},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current((function(e){var r=null!=e?e.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()}))},e})),t.define("select2/dropdown",["jquery","./utils"],(function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),t.define("select2/dropdown/search",["jquery","../utils"],(function(e,t){function n(){}return n.prototype.render=function(t){var n=t.call(this),r=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(t,n,r){var o=this,i=n.id+"-results";t.call(this,n,r),this.$search.on("keydown",(function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){o.handleSearch(e)})),n.on("open",(function(){o.$search.attr("tabindex",0),o.$search.attr("aria-controls",i),o.$search.trigger("focus"),window.setTimeout((function(){o.$search.trigger("focus")}),0)})),n.on("close",(function(){o.$search.attr("tabindex",-1),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.val(""),o.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||o.$search.trigger("focus")})),n.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(o.showSearch(e)?o.$searchContainer.removeClass("select2-search--hide"):o.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},n.prototype.showSearch=function(e,t){return!0},n})),t.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,r)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),r=t.length-1;r>=0;r--){var o=t[r];this.placeholder.id===o.id&&n.splice(r,1)}return n},e})),t.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,n,r){this.lastParams={},e.call(this,t,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("query",(function(e){r.lastParams=e,r.loading=!0})),t.on("query:append",(function(e){r.lastParams=e,r.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t})),t.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function n(t,n,r){this.$dropdownParent=e(r.get("dropdownParent")||document.body),t.call(this,n,r)}return n.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("open",(function(){r._showDropdown(),r._attachPositioningHandler(t),r._bindContainerResultHandlers(t)})),t.on("close",(function(){r._hideDropdown(),r._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t.removeClass("select2"),t.addClass("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),r=t.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var o=this,i="scroll.select2."+r.id,a="resize.select2."+r.id,s="orientationchange.select2."+r.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(i,(function(n){var r=t.GetData(this,"select2-scroll-position");e(this).scrollTop(r.y)})),e(window).on(i+" "+a+" "+s,(function(e){o._positionDropdown(),o._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,r){var o="scroll.select2."+r.id,i="resize.select2."+r.id,a="orientationchange.select2."+r.id;this.$container.parents().filter(t.hasScroll).off(o),e(window).off(o+" "+i+" "+a)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),o=null,i=this.$container.offset();i.bottom=i.top+this.$container.outerHeight(!1);var a={height:this.$container.outerHeight(!1)};a.top=i.top,a.bottom=i.top+a.height;var s={height:this.$dropdown.outerHeight(!1)},l={top:t.scrollTop(),bottom:t.scrollTop()+t.height()},c=l.top<i.top-s.height,u=l.bottom>i.bottom+s.height,d={left:i.left,top:a.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(e.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),d.top-=p.top,d.left-=p.left,n||r||(o="below"),u||!c||n?!c&&u&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(d.top=a.top-p.top-s.height),null!=o&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+o),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+o)),this.$dropdownContainer.css(d)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),t.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(t){for(var n=0,r=0;r<t.length;r++){var o=t[r];o.children?n+=e(o.children):n++}return n}function t(e,t,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,r)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t})),t.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("close",(function(e){r._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var o=this.getHighlightedResults();if(!(o.length<1)){var i=e.GetData(o[0],"data");null!=i.element&&i.element.selected||null==i.element&&i.selected||this.trigger("select",{data:i})}},t})),t.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var r=this;e.call(this,t,n),t.on("select",(function(e){r._selectTriggered(e)})),t.on("unselect",(function(e){r._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),t.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}})),t.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./i18n/en"],(function(e,t,n,r,o,i,a,s,l,c,u,d,f,p,h,m,g,v,b,y,A,x,C,_,w,k,S,E,B){function O(){this.reset()}return O.prototype.apply=function(u){if(null==(u=e.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=h:null!=u.data?u.dataAdapter=p:u.dataAdapter=f,u.minimumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,b)),u.maximumSelectionLength>0&&(u.dataAdapter=c.Decorate(u.dataAdapter,y)),u.tags&&(u.dataAdapter=c.Decorate(u.dataAdapter,m)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=c.Decorate(u.dataAdapter,g)),null!=u.query){var d=t(u.amdBase+"compat/query");u.dataAdapter=c.Decorate(u.dataAdapter,d)}if(null!=u.initSelection){var B=t(u.amdBase+"compat/initSelection");u.dataAdapter=c.Decorate(u.dataAdapter,B)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,_)),null!=u.placeholder&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,C)),u.selectOnClose&&(u.resultsAdapter=c.Decorate(u.resultsAdapter,S))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=A;else{var O=c.Decorate(A,x);u.dropdownAdapter=O}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,k)),u.closeOnSelect&&(u.dropdownAdapter=c.Decorate(u.dropdownAdapter,E)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var j=t(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=c.Decorate(u.dropdownAdapter,j)}u.dropdownAdapter=c.Decorate(u.dropdownAdapter,w)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=o:u.selectionAdapter=r,null!=u.placeholder&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,i)),u.allowClear&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,a)),u.multiple&&(u.selectionAdapter=c.Decorate(u.selectionAdapter,s)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var T=t(u.amdBase+"compat/containerCss");u.selectionAdapter=c.Decorate(u.selectionAdapter,T)}u.selectionAdapter=c.Decorate(u.selectionAdapter,l)}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var P=[],M=0;M<u.language.length;M++){var D=u.language[M];-1===P.indexOf(D)&&P.push(D)}return u.language=P,u.translations=this._processTranslations(u.language,u.debug),u},O.prototype.reset=function(){function t(e){function t(e){return d[e]||e}return e.replace(/[^\u0000-\u007E]/g,t)}function n(r,o){if(""===e.trim(r.term))return o;if(o.children&&o.children.length>0){for(var i=e.extend(!0,{},o),a=o.children.length-1;a>=0;a--)null==n(r,o.children[a])&&i.children.splice(a,1);return i.children.length>0?i:n(r,i)}var s=t(o.text).toUpperCase(),l=t(r.term).toUpperCase();return s.indexOf(l)>-1?o:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},O.prototype.applyFromElement=function(e,t){var n=e.language,r=this.defaults.language,o=t.prop("lang"),i=t.closest("[lang]").prop("lang"),a=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(i));return e.language=a,e},O.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var n;n=e.isArray(t)?t:[t];for(var r=[],o=0;o<n.length;o++)if(r.push(n[o]),"string"==typeof n[o]&&n[o].indexOf("-")>0){var i=n[o].split("-")[0];r.push(i)}return r},O.prototype._processTranslations=function(t,n){for(var r=new u,o=0;o<t.length;o++){var i=new u,a=t[o];if("string"==typeof a)try{i=u.loadPath(a)}catch(e){try{a=this.defaults.amdLanguageBase+a,i=u.loadPath(a)}catch(e){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+a+'" could not be automatically loaded. A fallback will be used instead.')}}else i=e.isPlainObject(a)?new u(a):a;r.extend(i)}return r},O.prototype.set=function(t,n){var r={};r[e.camelCase(t)]=n;var o=c._convertData(r);e.extend(!0,this.defaults,o)},new O})),t.define("select2/options",["require","jquery","./defaults","./utils"],(function(e,t,n,r){function o(t,o){if(this.options=t,null!=o&&this.fromElement(o),null!=o&&(this.options=n.applyFromElement(this.options,o)),this.options=n.apply(this.options),o&&o.is("input")){var i=e(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,i)}}return o.prototype.fromElement=function(e){var n=["select2"];null==this.options.multiple&&(this.options.multiple=e.prop("multiple")),null==this.options.disabled&&(this.options.disabled=e.prop("disabled")),null==this.options.dir&&(e.prop("dir")?this.options.dir=e.prop("dir"):e.closest("[dir]").prop("dir")?this.options.dir=e.closest("[dir]").prop("dir"):this.options.dir="ltr"),e.prop("disabled",this.options.disabled),e.prop("multiple",this.options.multiple),r.GetData(e[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),r.StoreData(e[0],"data",r.GetData(e[0],"select2Tags")),r.StoreData(e[0],"tags",!0)),r.GetData(e[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),e.attr("ajax--url",r.GetData(e[0],"ajaxUrl")),r.StoreData(e[0],"ajax-Url",r.GetData(e[0],"ajaxUrl")));var o={};function i(e,t){return t.toUpperCase()}for(var a=0;a<e[0].attributes.length;a++){var s=e[0].attributes[a].name,l="data-";if(s.substr(0,l.length)==l){var c=s.substring(l.length),u=r.GetData(e[0],c);o[c.replace(/-([a-z])/g,i)]=u}}t.fn.jquery&&"1."==t.fn.jquery.substr(0,2)&&e[0].dataset&&(o=t.extend(!0,{},e[0].dataset,o));var d=t.extend(!0,{},r.GetData(e[0]),o);for(var f in d=r._convertData(d))t.inArray(f,n)>-1||(t.isPlainObject(this.options[f])?t.extend(this.options[f],d[f]):this.options[f]=d[f]);return this},o.prototype.get=function(e){return this.options[e]},o.prototype.set=function(e,t){this.options[e]=t},o})),t.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,r){var o=function(e,r){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),r=r||{},this.options=new t(r,e),o.__super__.constructor.call(this);var i=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",i),e.attr("tabindex","-1");var a=this.options.get("dataAdapter");this.dataAdapter=new a(e,this.options);var s=this.render();this._placeContainer(s);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,s);var c=this.options.get("dropdownAdapter");this.dropdown=new c(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,s);var u=this.options.get("resultsAdapter");this.results=new u(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var d=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){d.trigger("selection:update",{data:e})})),e.addClass("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var r=this._resolveWidth(e,"style");return null!=r?r:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==t){var i=e.attr("style");if("string"!=typeof i)return null;for(var a=i.split(";"),s=0,l=a.length;s<l;s+=1){var c=a[s].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var t=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=t?(this._observer=new t((function(t){e._syncA(),e._syncS(null,t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",e._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",e._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",e._syncS,!1))},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerSelectionEvents=function(){var t=this,n=["toggle","focus"];this.selection.on("toggle",(function(){t.toggleDropdown()})),this.selection.on("focus",(function(e){t.focus(e)})),this.selection.on("*",(function(r,o){-1===e.inArray(r,n)&&t.trigger(r,o)}))},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container.addClass("select2-container--open")})),this.on("close",(function(){e.$container.removeClass("select2-container--open")})),this.on("enable",(function(){e.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){e.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){e.$container.removeClass("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))})),this.on("keypress",(function(t){var n=t.which;e.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&t.altKey?(e.close(t),t.preventDefault()):n===r.ENTER?(e.trigger("results:select",{}),t.preventDefault()):n===r.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===r.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===r.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._isChangeMutation=function(t,n){var r=!1,o=this;if(!t||!t.target||"OPTION"===t.target.nodeName||"OPTGROUP"===t.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var i=0;i<n.addedNodes.length;i++)n.addedNodes[i].selected&&(r=!0);else n.removedNodes&&n.removedNodes.length>0?r=!0:e.isArray(n)&&e.each(n,(function(e,t){if(o._isChangeMutation(e,t))return r=!0,!1}));else r=!0;return r}},o.prototype._syncSubtree=function(e,t){var n=this._isChangeMutation(e,t),r=this;n&&this.dataAdapter.current((function(e){r.trigger("selection:update",{data:e})}))},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in r){var i=r[e],a={prevented:!1,name:e,args:t};if(n.call(this,i,a),a.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},o.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},o.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},o.prototype.focus=function(e){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},o.prototype.val=function(t){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==t||0===t.length)return this.$element.val();var n=t[0];e.isArray(n)&&(n=e.map(n,(function(e){return e.toString()}))),this.$element.val(n).trigger("input").trigger("change")},o.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},o})),t.define("jquery-mousewheel",["jquery"],(function(e){return e})),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,n,r,o){if(null==e.fn.select2){var i=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each((function(){var r=e.extend(!0,{},t);new n(e(this),r)})),this;if("string"==typeof t){var r,a=Array.prototype.slice.call(arguments,1);return this.each((function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),r=e[t].apply(e,a)})),e.inArray(t,i)>-1?this:r}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=r),n})),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n},void 0===(i="function"==typeof r?r.apply(t,o):r)||(e.exports=i)},67771:function(e,t,n){"use strict";var r=n(40210),o=n(12296),i=n(31044)(),a=n(27296),s=n(14453),l=r("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],r=!0,c=!0;if("length"in e&&a){var u=a(e,"length");u&&!u.configurable&&(r=!1),u&&!u.writable&&(c=!1)}return(r||c||!n)&&(i?o(e,"length",t,!0,!0):o(e,"length",t)),e}},37478:function(e,t,n){"use strict";var r=n(40210),o=n(21924),i=n(70631),a=n(14453),s=r("%WeakMap%",!0),l=r("%Map%",!0),c=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),f=o("Map.prototype.get",!0),p=o("Map.prototype.set",!0),h=o("Map.prototype.has",!0),m=function(e,t){for(var n,r=e;null!==(n=r.next);r=n)if(n.key===t)return r.next=n.next,n.next=e.next,e.next=n,n};e.exports=function(){var e,t,n,r={assert:function(e){if(!r.has(e))throw new a("Side channel does not contain "+i(e))},get:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return c(e,r)}else if(l){if(t)return f(t,r)}else if(n)return function(e,t){var n=m(e,t);return n&&n.value}(n,r)},has:function(r){if(s&&r&&("object"==typeof r||"function"==typeof r)){if(e)return d(e,r)}else if(l){if(t)return h(t,r)}else if(n)return function(e,t){return!!m(e,t)}(n,r);return!1},set:function(r,o){s&&r&&("object"==typeof r||"function"==typeof r)?(e||(e=new s),u(e,r,o)):l?(t||(t=new l),p(t,r,o)):(n||(n={key:{},next:null}),function(e,t,n){var r=m(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(n,r,o))}};return r}},33988:function(e){"use strict";var t;t=function(){var e={},t={};return e.on=function(e,n){var r={name:e,handler:n};return t[e]=t[e]||[],t[e].unshift(r),r},e.off=function(e){var n=t[e.name].indexOf(e);-1!==n&&t[e.name].splice(n,1)},e.trigger=function(e,n){var r,o=t[e];if(o)for(r=o.length;r--;)o[r].handler(n)},e},e.exports=t},71169:function(e){e.exports=function(e){return e.replace(/[A-Z]/g,(function(e){return"-"+e.toLowerCase()})).toLowerCase()}},40054:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(81781),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},35521:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(57845),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},51229:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(93455),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},28708:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(93301),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},28362:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(28661),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},27299:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(75641),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},50068:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(91396),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},70115:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(96731),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},19058:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(70251),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},16617:function(e,t,n){"use strict";var r=n(93379),o=n.n(r),i=n(37745),a={insert:"head",singleton:!1};o()(i.Z,a),i.Z.locals},93379:function(e,t,n){"use strict";var r,o=function(){return void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r},i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),a=[];function s(e){for(var t=-1,n=0;n<a.length;n++)if(a[n].identifier===e){t=n;break}return t}function l(e,t){for(var n={},r=[],o=0;o<e.length;o++){var i=e[o],l=t.base?i[0]+t.base:i[0],c=n[l]||0,u="".concat(l," ").concat(c);n[l]=c+1;var d=s(u),f={css:i[1],media:i[2],sourceMap:i[3]};-1!==d?(a[d].references++,a[d].updater(f)):a.push({identifier:u,updater:g(f,t),references:1}),r.push(u)}return r}function c(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var a=i(e.insert||"head");if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(t)}return t}var u,d=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function f(e,t,n,r){var o=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=d(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t,n){var r=n.css,o=n.media,i=n.sourceMap;if(o?e.setAttribute("media",o):e.removeAttribute("media"),i&&"undefined"!=typeof btoa&&(r+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,m=0;function g(e,t){var n,r,o;if(t.singleton){var i=m++;n=h||(h=c(t)),r=f.bind(null,n,i,!1),o=f.bind(null,n,i,!0)}else n=c(t),r=p.bind(null,n,t),o=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=o());var n=l(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var o=s(n[r]);a[o].references--}for(var i=l(e,t),c=0;c<n.length;c++){var u=s(n[c]);0===a[u].references&&(a[u].updater(),a.splice(u,1))}n=i}}}},77630:function(e,t,n){e.exports=function(e,t){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=n(e),o=n(t);function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(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 s(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(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}}),t&&u(e,t)}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function u(e,t){return u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},u(e,t)}function d(){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 f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function p(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?f(e):t}function h(e){var t=d();return function(){var n,r=c(e);if(t){var o=c(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function m(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=c(e)););return e}function g(e,t,n){return g="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=m(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},g(e,t,n||e)}var v=[{key:"title",getter:function(e){return e.getTitle()}},{key:"html",getter:function(e){return e.getHtmlContainer()}},{key:"confirmButtonText",getter:function(e){return e.getConfirmButton()}},{key:"denyButtonText",getter:function(e){return e.getDenyButton()}},{key:"cancelButtonText",getter:function(e){return e.getCancelButton()}},{key:"footer",getter:function(e){return e.getFooter()}},{key:"closeButtonHtml",getter:function(e){return e.getCloseButton()}},{key:"iconHtml",getter:function(e){return e.getIcon().querySelector(".swal2-icon-content")}}],b=function(){},y=function(e){return new Error("sweetalert2-react-content: ".concat(e))};function A(e){return function(t){l(a,t);var n=h(a);function a(){return i(this,a),n.apply(this,arguments)}return s(a,[{key:"_main",value:function(t,n){return t=Object.assign({},n,t),v.forEach((function(n){var i=n.key,a=n.getter;if(r.default.isValidElement(t[i])){var s,l=t[i];t[i]=" ";var c=t.onOpen||!e.isValidParameter("didOpen")?"onOpen":"didOpen",u=t[c]||b;t[c]=function(t){(s=a(e))&&o.default.render(l,s),u(t)};var d=t.onDestroy||!e.isValidParameter("didDestroy")?"onDestroy":"didDestroy",f=t[d]||b;t[d]=function(e){f(e),s&&o.default.unmountComponentAtNode(s)}}})),g(c(a.prototype),"_main",this).call(this,t,n)}},{key:"update",value:function(){throw y("Swal.update() is not yet supported. See https://github.com/sweetalert2/sweetalert2-react-content/issues/73")}}],[{key:"argsToParams",value:function(t){if(r.default.isValidElement(t[0])||r.default.isValidElement(t[1])){var n={};return["title","html","icon"].forEach((function(e,r){void 0!==t[r]&&(n[e]=t[r])})),n}return e.argsToParams(t)}}]),a}(e)}return A}(n(67294),n(73935))},86455: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)}function t(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(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 r(e,t,r){return t&&n(e.prototype,t),r&&n(e,r),e}function o(){return 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},o.apply(this,arguments)}function i(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}}),t&&s(e,t)}function a(e){return a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(e)}function s(e,t){return s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},s(e,t)}function l(){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 c(e,t,n){return c=l()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&s(o,n.prototype),o},c.apply(null,arguments)}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function d(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?u(e):t}function f(e){var t=l();return function(){var n,r=a(e);if(t){var o=a(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function p(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=a(e)););return e}function h(e,t,n){return h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=p(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}},h(e,t,n||e)}var m="SweetAlert2:",g=function(e){for(var t=[],n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t},v=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},b=function(e){return Object.keys(e).map((function(t){return e[t]}))},y=function(e){return Array.prototype.slice.call(e)},A=function(e){console.warn("".concat(m," ").concat(e))},x=function(e){console.error("".concat(m," ").concat(e))},C=[],_=function(e){-1===C.indexOf(e)&&(C.push(e),A(e))},w=function(e,t){_('"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'))},k=function(e){return"function"==typeof e?e():e},S=function(e){return e&&"function"==typeof e.toPromise},E=function(e){return S(e)?e.toPromise():Promise.resolve(e)},B=function(e){return e&&Promise.resolve(e)===e},O=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),j=function(t){return"object"===e(t)&&t.jquery},T=function(e){return e instanceof Element||j(e)},P=function(t){var n={};return"object"!==e(t[0])||T(t[0])?["title","html","icon"].forEach((function(r,o){var i=t[o];"string"==typeof i||T(i)?n[r]=i:void 0!==i&&x("Unexpected type of ".concat(r,'! Expected "string" or "Element", got ').concat(e(i)))})):o(n,t[0]),n},M="swal2-",D=function(e){var t={};for(var n in e)t[e[n]]=M+e[n];return t},R=D(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","toast-column","show","hide","close","title","header","content","html-container","actions","confirm","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),L=D(["success","warning","info","question","error"]),I=function(){return document.body.querySelector(".".concat(R.container))},N=function(e){var t=I();return t?t.querySelector(e):null},F=function(e){return N(".".concat(e))},z=function(){return F(R.popup)},q=function(){var e=z();return y(e.querySelectorAll(".".concat(R.icon)))},U=function(){var e=q().filter((function(e){return _e(e)}));return e.length?e[0]:null},H=function(){return F(R.title)},W=function(){return F(R.content)},V=function(){return F(R["html-container"])},Y=function(){return F(R.image)},Z=function(){return F(R["progress-steps"])},G=function(){return F(R["validation-message"])},K=function(){return N(".".concat(R.actions," .").concat(R.confirm))},$=function(){return N(".".concat(R.actions," .").concat(R.cancel))},X=function(){return F(R.actions)},Q=function(){return F(R.header)},J=function(){return F(R.footer)},ee=function(){return F(R["timer-progress-bar"])},te=function(){return F(R.close)},ne='\n  a[href],\n  area[href],\n  input:not([disabled]),\n  select:not([disabled]),\n  textarea:not([disabled]),\n  button:not([disabled]),\n  iframe,\n  object,\n  embed,\n  [tabindex="0"],\n  [contenteditable],\n  audio[controls],\n  video[controls],\n  summary\n',re=function(){var e=y(z().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((function(e,t){return(e=parseInt(e.getAttribute("tabindex")))>(t=parseInt(t.getAttribute("tabindex")))?1:e<t?-1:0})),t=y(z().querySelectorAll(ne)).filter((function(e){return"-1"!==e.getAttribute("tabindex")}));return g(e.concat(t)).filter((function(e){return _e(e)}))},oe=function(){return!ie()&&!document.body.classList.contains(R["no-backdrop"])},ie=function(){return document.body.classList.contains(R["toast-shown"])},ae=function(){return z().hasAttribute("data-loading")},se={previousBodyPadding:null},le=function(e,t){if(e.textContent="",t){var n=(new DOMParser).parseFromString(t,"text/html");y(n.querySelector("head").childNodes).forEach((function(t){e.appendChild(t)})),y(n.querySelector("body").childNodes).forEach((function(t){e.appendChild(t)}))}},ce=function(e,t){if(!t)return!1;for(var n=t.split(/\s+/),r=0;r<n.length;r++)if(!e.classList.contains(n[r]))return!1;return!0},ue=function(e,t){y(e.classList).forEach((function(n){-1===b(R).indexOf(n)&&-1===b(L).indexOf(n)&&-1===b(t.showClass).indexOf(n)&&e.classList.remove(n)}))},de=function(t,n,r){if(ue(t,n),n.customClass&&n.customClass[r]){if("string"!=typeof n.customClass[r]&&!n.customClass[r].forEach)return A("Invalid type of customClass.".concat(r,'! Expected string or iterable object, got "').concat(e(n.customClass[r]),'"'));ge(t,n.customClass[r])}};function fe(e,t){if(!t)return null;switch(t){case"select":case"textarea":case"file":return be(e,R[t]);case"checkbox":return e.querySelector(".".concat(R.checkbox," input"));case"radio":return e.querySelector(".".concat(R.radio," input:checked"))||e.querySelector(".".concat(R.radio," input:first-child"));case"range":return e.querySelector(".".concat(R.range," input"));default:return be(e,R.input)}}var pe,he=function(e){if(e.focus(),"file"!==e.type){var t=e.value;e.value="",e.value=t}},me=function(e,t,n){e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((function(t){e.forEach?e.forEach((function(e){n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},ge=function(e,t){me(e,t,!0)},ve=function(e,t){me(e,t,!1)},be=function(e,t){for(var n=0;n<e.childNodes.length;n++)if(ce(e.childNodes[n],t))return e.childNodes[n]},ye=function(e,t,n){n||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},Ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.opacity="",e.style.display=t},xe=function(e){e.style.opacity="",e.style.display="none"},Ce=function(e,t,n){t?Ae(e,n):xe(e)},_e=function(e){return!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))},we=function(e){return!!(e.scrollHeight>e.clientHeight)},ke=function(e){var t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},Se=function(e,t){if("function"==typeof e.contains)return e.contains(t)},Ee=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=ee();_e(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((function(){n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},Be=function(){var e=ee(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";var n=parseInt(window.getComputedStyle(e).width),r=parseInt(t/n*100);e.style.removeProperty("transition"),e.style.width="".concat(r,"%")},Oe=function(){return"undefined"==typeof window||"undefined"==typeof document},je='\n <div aria-labelledby="'.concat(R.title,'" aria-describedby="').concat(R.content,'" class="').concat(R.popup,'" tabindex="-1">\n   <div class="').concat(R.header,'">\n     <ul class="').concat(R["progress-steps"],'"></ul>\n     <div class="').concat(R.icon," ").concat(L.error,'"></div>\n     <div class="').concat(R.icon," ").concat(L.question,'"></div>\n     <div class="').concat(R.icon," ").concat(L.warning,'"></div>\n     <div class="').concat(R.icon," ").concat(L.info,'"></div>\n     <div class="').concat(R.icon," ").concat(L.success,'"></div>\n     <img class="').concat(R.image,'" />\n     <h2 class="').concat(R.title,'" id="').concat(R.title,'"></h2>\n     <button type="button" class="').concat(R.close,'"></button>\n   </div>\n   <div class="').concat(R.content,'">\n     <div id="').concat(R.content,'" class="').concat(R["html-container"],'"></div>\n     <input class="').concat(R.input,'" />\n     <input type="file" class="').concat(R.file,'" />\n     <div class="').concat(R.range,'">\n       <input type="range" />\n       <output></output>\n     </div>\n     <select class="').concat(R.select,'"></select>\n     <div class="').concat(R.radio,'"></div>\n     <label for="').concat(R.checkbox,'" class="').concat(R.checkbox,'">\n       <input type="checkbox" />\n       <span class="').concat(R.label,'"></span>\n     </label>\n     <textarea class="').concat(R.textarea,'"></textarea>\n     <div class="').concat(R["validation-message"],'" id="').concat(R["validation-message"],'"></div>\n   </div>\n   <div class="').concat(R.actions,'">\n     <button type="button" class="').concat(R.confirm,'">OK</button>\n     <button type="button" class="').concat(R.cancel,'">Cancel</button>\n   </div>\n   <div class="').concat(R.footer,'"></div>\n   <div class="').concat(R["timer-progress-bar-container"],'">\n     <div class="').concat(R["timer-progress-bar"],'"></div>\n   </div>\n </div>\n').replace(/(^|\n)\s*/g,""),Te=function(){var e=I();return!!e&&(e.parentNode.removeChild(e),ve([document.documentElement,document.body],[R["no-backdrop"],R["toast-shown"],R["has-column"]]),!0)},Pe=function(e){Mr.isVisible()&&pe!==e.target.value&&Mr.resetValidationMessage(),pe=e.target.value},Me=function(){var e=W(),t=be(e,R.input),n=be(e,R.file),r=e.querySelector(".".concat(R.range," input")),o=e.querySelector(".".concat(R.range," output")),i=be(e,R.select),a=e.querySelector(".".concat(R.checkbox," input")),s=be(e,R.textarea);t.oninput=Pe,n.onchange=Pe,i.onchange=Pe,a.onchange=Pe,s.oninput=Pe,r.oninput=function(e){Pe(e),o.value=r.value},r.onchange=function(e){Pe(e),r.nextSibling.value=r.value}},De=function(e){return"string"==typeof e?document.querySelector(e):e},Re=function(e){var t=z();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")},Le=function(e){"rtl"===window.getComputedStyle(e).direction&&ge(I(),R.rtl)},Ie=function(e){var t=Te();if(Oe())x("SweetAlert2 requires document to initialize");else{var n=document.createElement("div");n.className=R.container,t&&ge(n,R["no-transition"]),le(n,je);var r=De(e.target);r.appendChild(n),Re(e),Le(r),Me()}},Ne=function(t,n){t instanceof HTMLElement?n.appendChild(t):"object"===e(t)?Fe(t,n):t&&le(n,t)},Fe=function(e,t){e.jquery?ze(t,e):le(t,e.toString())},ze=function(e,t){if(e.textContent="",0 in t)for(var n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},qe=function(){if(Oe())return!1;var e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1}(),Ue=function(){var e=document.createElement("div");e.className=R["scrollbar-measure"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},He=function(e,t){var n=X(),r=K(),o=$();t.showConfirmButton||t.showCancelButton||xe(n),de(n,t,"actions"),Ve(r,"confirm",t),Ve(o,"cancel",t),t.buttonsStyling?We(r,o,t):(ve([r,o],R.styled),r.style.backgroundColor=r.style.borderLeftColor=r.style.borderRightColor="",o.style.backgroundColor=o.style.borderLeftColor=o.style.borderRightColor=""),t.reverseButtons&&r.parentNode.insertBefore(o,r)};function We(e,t,n){if(ge([e,t],R.styled),n.confirmButtonColor&&(e.style.backgroundColor=n.confirmButtonColor),n.cancelButtonColor&&(t.style.backgroundColor=n.cancelButtonColor),!ae()){var r=window.getComputedStyle(e).getPropertyValue("background-color");e.style.borderLeftColor=r,e.style.borderRightColor=r}}function Ve(e,t,n){Ce(e,n["show".concat(v(t),"Button")],"inline-block"),le(e,n["".concat(t,"ButtonText")]),e.setAttribute("aria-label",n["".concat(t,"ButtonAriaLabel")]),e.className=R[t],de(e,n,"".concat(t,"Button")),ge(e,n["".concat(t,"ButtonClass")])}function Ye(e,t){"string"==typeof t?e.style.background=t:t||ge([document.documentElement,document.body],R["no-backdrop"])}function Ze(e,t){t in R?ge(e,R[t]):(A('The "position" parameter is not valid, defaulting to "center"'),ge(e,R.center))}function Ge(e,t){if(t&&"string"==typeof t){var n="grow-".concat(t);n in R&&ge(e,R[n])}}var Ke=function(e,t){var n=I();if(n){Ye(n,t.backdrop),!t.backdrop&&t.allowOutsideClick&&A('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),Ze(n,t.position),Ge(n,t.grow),de(n,t,"container");var r=document.body.getAttribute("data-swal2-queue-step");r&&(n.setAttribute("data-queue-step",r),document.body.removeAttribute("data-swal2-queue-step"))}},$e={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},Xe=["input","file","range","select","radio","checkbox","textarea"],Qe=function(e,t){var n=W(),r=$e.innerParams.get(e),o=!r||t.input!==r.input;Xe.forEach((function(e){var r=R[e],i=be(n,r);tt(e,t.inputAttributes),i.className=r,o&&xe(i)})),t.input&&(o&&Je(t),nt(t))},Je=function(e){if(!it[e.input])return x('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));var t=ot(e.input),n=it[e.input](t,e);Ae(n),setTimeout((function(){he(n)}))},et=function(e){for(var t=0;t<e.attributes.length;t++){var n=e.attributes[t].name;-1===["type","value","style"].indexOf(n)&&e.removeAttribute(n)}},tt=function(e,t){var n=fe(W(),e);if(n)for(var r in et(n),t)"range"===e&&"placeholder"===r||n.setAttribute(r,t[r])},nt=function(e){var t=ot(e.input);e.customClass&&ge(t,e.customClass.input)},rt=function(e,t){e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},ot=function(e){var t=R[e]?R[e]:R.input;return be(W(),t)},it={};it.text=it.email=it.password=it.number=it.tel=it.url=function(t,n){return"string"==typeof n.inputValue||"number"==typeof n.inputValue?t.value=n.inputValue:B(n.inputValue)||A('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(e(n.inputValue),'"')),rt(t,n),t.type=n.input,t},it.file=function(e,t){return rt(e,t),e},it.range=function(e,t){var n=e.querySelector("input"),r=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,r.value=t.inputValue,e},it.select=function(e,t){if(e.textContent="",t.inputPlaceholder){var n=document.createElement("option");le(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return e},it.radio=function(e){return e.textContent="",e},it.checkbox=function(e,t){var n=fe(W(),"checkbox");n.value=1,n.id=R.checkbox,n.checked=Boolean(t.inputValue);var r=e.querySelector("span");return le(r,t.inputPlaceholder),e},it.textarea=function(e,t){if(e.value=t.inputValue,rt(e,t),"MutationObserver"in window){var n=parseInt(window.getComputedStyle(z()).width),r=parseInt(window.getComputedStyle(z()).paddingLeft)+parseInt(window.getComputedStyle(z()).paddingRight);new MutationObserver((function(){var t=e.offsetWidth+r;z().style.width=t>n?"".concat(t,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}return e};var at=function(e,t){var n=W().querySelector("#".concat(R.content));t.html?(Ne(t.html,n),Ae(n,"block")):t.text?(n.textContent=t.text,Ae(n,"block")):xe(n),Qe(e,t),de(W(),t,"content")},st=function(e,t){var n=J();Ce(n,t.footer),t.footer&&Ne(t.footer,n),de(n,t,"footer")},lt=function(e,t){var n=te();le(n,t.closeButtonHtml),de(n,t,"closeButton"),Ce(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)},ct=function(e,t){var n=$e.innerParams.get(e);if(n&&t.icon===n.icon&&U())de(U(),t,"icon");else if(ut(),t.icon)if(-1!==Object.keys(L).indexOf(t.icon)){var r=N(".".concat(R.icon,".").concat(L[t.icon]));Ae(r),ft(r,t),dt(),de(r,t,"icon"),ge(r,t.showClass.icon)}else x('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"'))},ut=function(){for(var e=q(),t=0;t<e.length;t++)xe(e[t])},dt=function(){for(var e=z(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix"),r=0;r<n.length;r++)n[r].style.backgroundColor=t},ft=function(e,t){e.textContent="",t.iconHtml?le(e,pt(t.iconHtml)):"success"===t.icon?le(e,'\n      <div class="swal2-success-circular-line-left"></div>\n      <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n      <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n      <div class="swal2-success-circular-line-right"></div>\n    '):"error"===t.icon?le(e,'\n      <span class="swal2-x-mark">\n        <span class="swal2-x-mark-line-left"></span>\n        <span class="swal2-x-mark-line-right"></span>\n      </span>\n    '):le(e,pt({question:"?",warning:"!",info:"i"}[t.icon]))},pt=function(e){return'<div class="'.concat(R["icon-content"],'">').concat(e,"</div>")},ht=function(e,t){var n=Y();if(!t.imageUrl)return xe(n);Ae(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),ye(n,"width",t.imageWidth),ye(n,"height",t.imageHeight),n.className=R.image,de(n,t,"image")},mt=[],gt=function(e){var t=this;mt=e;var n=function(e,t){mt=[],e(t)},r=[];return new Promise((function(e){!function o(i,a){i<mt.length?(document.body.setAttribute("data-swal2-queue-step",i),t.fire(mt[i]).then((function(t){void 0!==t.value?(r.push(t.value),o(i+1,a)):n(e,{dismiss:t.dismiss})}))):n(e,{value:r})}(0)}))},vt=function(){return I()&&I().getAttribute("data-queue-step")},bt=function(e,t){return t&&t<mt.length?mt.splice(t,0,e):mt.push(e)},yt=function(e){void 0!==mt[e]&&mt.splice(e,1)},At=function(e){var t=document.createElement("li");return ge(t,R["progress-step"]),le(t,e),t},xt=function(e){var t=document.createElement("li");return ge(t,R["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t},Ct=function(e,t){var n=Z();if(!t.progressSteps||0===t.progressSteps.length)return xe(n);Ae(n),n.textContent="";var r=parseInt(void 0===t.currentProgressStep?vt():t.currentProgressStep);r>=t.progressSteps.length&&A("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach((function(e,o){var i=At(e);if(n.appendChild(i),o===r&&ge(i,R["active-progress-step"]),o!==t.progressSteps.length-1){var a=xt(t);n.appendChild(a)}}))},_t=function(e,t){var n=H();Ce(n,t.title||t.titleText),t.title&&Ne(t.title,n),t.titleText&&(n.innerText=t.titleText),de(n,t,"title")},wt=function(e,t){var n=Q();de(n,t,"header"),Ct(e,t),ct(e,t),ht(e,t),_t(e,t),lt(e,t)},kt=function(e,t){var n=z();ye(n,"width",t.width),ye(n,"padding",t.padding),t.background&&(n.style.background=t.background),St(n,t)},St=function(e,t){e.className="".concat(R.popup," ").concat(_e(e)?t.showClass.popup:""),t.toast?(ge([document.documentElement,document.body],R["toast-shown"]),ge(e,R.toast)):ge(e,R.modal),de(e,t,"popup"),"string"==typeof t.customClass&&ge(e,t.customClass),t.icon&&ge(e,R["icon-".concat(t.icon)])},Et=function(e,t){kt(e,t),Ke(e,t),wt(e,t),at(e,t),He(e,t),st(e,t),"function"==typeof t.onRender&&t.onRender(z())},Bt=function(){return _e(z())},Ot=function(){return K()&&K().click()},jt=function(){return $()&&$().click()};function Tt(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return c(e,n)}function Pt(e){var n=function(n){i(l,n);var s=f(l);function l(){return t(this,l),s.apply(this,arguments)}return r(l,[{key:"_main",value:function(t){return h(a(l.prototype),"_main",this).call(this,o({},e,t))}}]),l}(this);return n}var Mt=function(){var e=z();e||Mr.fire(),e=z();var t=X(),n=K();Ae(t),Ae(n,"inline-block"),ge([e,t],R.loading),n.disabled=!0,e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},Dt=100,Rt={},Lt=function(){Rt.previousActiveElement&&Rt.previousActiveElement.focus?(Rt.previousActiveElement.focus(),Rt.previousActiveElement=null):document.body&&document.body.focus()},It=function(){return new Promise((function(e){var t=window.scrollX,n=window.scrollY;Rt.restoreFocusTimeout=setTimeout((function(){Lt(),e()}),Dt),void 0!==t&&void 0!==n&&window.scrollTo(t,n)}))},Nt=function(){return Rt.timeout&&Rt.timeout.getTimerLeft()},Ft=function(){if(Rt.timeout)return Be(),Rt.timeout.stop()},zt=function(){if(Rt.timeout){var e=Rt.timeout.start();return Ee(e),e}},qt=function(){var e=Rt.timeout;return e&&(e.running?Ft():zt())},Ut=function(e){if(Rt.timeout){var t=Rt.timeout.increase(e);return Ee(t,!0),t}},Ht=function(){return Rt.timeout&&Rt.timeout.isRunning()},Wt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},Vt=["allowEscapeKey","allowOutsideClick","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","footer","hideClass","html","icon","imageAlt","imageHeight","imageUrl","imageWidth","onAfterClose","onClose","onDestroy","progressSteps","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","text","title","titleText"],Yt={animation:'showClass" and "hideClass'},Zt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],Gt=function(e){return Object.prototype.hasOwnProperty.call(Wt,e)},Kt=function(e){return-1!==Vt.indexOf(e)},$t=function(e){return Yt[e]},Xt=function(e){Gt(e)||A('Unknown parameter "'.concat(e,'"'))},Qt=function(e){-1!==Zt.indexOf(e)&&A('The parameter "'.concat(e,'" is incompatible with toasts'))},Jt=function(e){$t(e)&&w(e,$t(e))},en=function(e){for(var t in e)Xt(t),e.toast&&Qt(t),Jt(t)},tn=Object.freeze({isValidParameter:Gt,isUpdatableParameter:Kt,isDeprecatedParameter:$t,argsToParams:P,isVisible:Bt,clickConfirm:Ot,clickCancel:jt,getContainer:I,getPopup:z,getTitle:H,getContent:W,getHtmlContainer:V,getImage:Y,getIcon:U,getIcons:q,getCloseButton:te,getActions:X,getConfirmButton:K,getCancelButton:$,getHeader:Q,getFooter:J,getTimerProgressBar:ee,getFocusableElements:re,getValidationMessage:G,isLoading:ae,fire:Tt,mixin:Pt,queue:gt,getQueueStep:vt,insertQueueStep:bt,deleteQueueStep:yt,showLoading:Mt,enableLoading:Mt,getTimerLeft:Nt,stopTimer:Ft,resumeTimer:zt,toggleTimer:qt,increaseTimer:Ut,isTimerRunning:Ht});function nn(){var e=$e.innerParams.get(this);if(e){var t=$e.domCache.get(this);e.showConfirmButton||(xe(t.confirmButton),e.showCancelButton||xe(t.actions)),ve([t.popup,t.actions],R.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.cancelButton.disabled=!1}}function rn(e){var t=$e.innerParams.get(e||this),n=$e.domCache.get(e||this);return n?fe(n.content,t.input):null}var on=function(){null===se.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(se.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(se.previousBodyPadding+Ue(),"px"))},an=function(){null!==se.previousBodyPadding&&(document.body.style.paddingRight="".concat(se.previousBodyPadding,"px"),se.previousBodyPadding=null)},sn=function(){if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!ce(document.body,R.iosfix)){var e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),ge(document.body,R.iosfix),cn(),ln()}},ln=function(){if(!navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)){var e=44;z().scrollHeight>window.innerHeight-e&&(I().style.paddingBottom="".concat(e,"px"))}},cn=function(){var e,t=I();t.ontouchstart=function(t){e=un(t.target)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},un=function(e){var t=I();return e===t||!(we(t)||"INPUT"===e.tagName||we(W())&&W().contains(e))},dn=function(){if(ce(document.body,R.iosfix)){var e=parseInt(document.body.style.top,10);ve(document.body,R.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},fn=function(){return!!window.MSInputMethodContext&&!!document.documentMode},pn=function(){var e=I(),t=z();e.style.removeProperty("align-items"),t.offsetTop<0&&(e.style.alignItems="flex-start")},hn=function(){"undefined"!=typeof window&&fn()&&(pn(),window.addEventListener("resize",pn))},mn=function(){"undefined"!=typeof window&&fn()&&window.removeEventListener("resize",pn)},gn=function(){y(document.body.children).forEach((function(e){e===I()||Se(e,I())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))},vn=function(){y(document.body.children).forEach((function(e){e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},bn={swalPromiseResolve:new WeakMap};function yn(e,t,n,r){n?wn(e,r):(It().then((function(){return wn(e,r)})),Rt.keydownTarget.removeEventListener("keydown",Rt.keydownHandler,{capture:Rt.keydownListenerCapture}),Rt.keydownHandlerAdded=!1),t.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&t.parentNode.removeChild(t),oe()&&(an(),dn(),mn(),vn()),An()}function An(){ve([document.documentElement,document.body],[R.shown,R["height-auto"],R["no-backdrop"],R["toast-shown"],R["toast-column"]])}function xn(e){var t=z();if(t){var n=$e.innerParams.get(this);if(n&&!ce(t,n.hideClass.popup)){var r=bn.swalPromiseResolve.get(this);ve(t,n.showClass.popup),ge(t,n.hideClass.popup);var o=I();ve(o,n.showClass.backdrop),ge(o,n.hideClass.backdrop),Cn(this,t,n),void 0!==e?(e.isDismissed=void 0!==e.dismiss,e.isConfirmed=void 0===e.dismiss):e={isDismissed:!0,isConfirmed:!1},r(e||{})}}}var Cn=function(e,t,n){var r=I(),o=qe&&ke(t),i=n.onClose,a=n.onAfterClose;null!==i&&"function"==typeof i&&i(t),o?_n(e,t,r,a):yn(e,r,ie(),a)},_n=function(e,t,n,r){Rt.swalCloseEventFinishedCallback=yn.bind(null,e,n,ie(),r),t.addEventListener(qe,(function(e){e.target===t&&(Rt.swalCloseEventFinishedCallback(),delete Rt.swalCloseEventFinishedCallback)}))},wn=function(e,t){setTimeout((function(){"function"==typeof t&&t(),e._destroy()}))};function kn(e,t,n){var r=$e.domCache.get(e);t.forEach((function(e){r[e].disabled=n}))}function Sn(e,t){if(!e)return!1;if("radio"===e.type)for(var n=e.parentNode.parentNode.querySelectorAll("input"),r=0;r<n.length;r++)n[r].disabled=t;else e.disabled=t}function En(){kn(this,["confirmButton","cancelButton"],!1)}function Bn(){kn(this,["confirmButton","cancelButton"],!0)}function On(){return Sn(this.getInput(),!1)}function jn(){return Sn(this.getInput(),!0)}function Tn(e){var t=$e.domCache.get(this);le(t.validationMessage,e);var n=window.getComputedStyle(t.popup);t.validationMessage.style.marginLeft="-".concat(n.getPropertyValue("padding-left")),t.validationMessage.style.marginRight="-".concat(n.getPropertyValue("padding-right")),Ae(t.validationMessage);var r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedBy",R["validation-message"]),he(r),ge(r,R.inputerror))}function Pn(){var e=$e.domCache.get(this);e.validationMessage&&xe(e.validationMessage);var t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedBy"),ve(t,R.inputerror))}function Mn(){return $e.domCache.get(this).progressSteps}var Dn=function(){function e(n,r){t(this,e),this.callback=n,this.remaining=r,this.running=!1,this.start()}return r(e,[{key:"start",value:function(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}},{key:"stop",value:function(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date-this.started),this.remaining}},{key:"increase",value:function(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}},{key:"getTimerLeft",value:function(){return this.running&&(this.stop(),this.start()),this.remaining}},{key:"isRunning",value:function(){return this.running}}]),e}(),Rn={email:function(e,t){return/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address")},url:function(e,t){return/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")}};function Ln(e){e.inputValidator||Object.keys(Rn).forEach((function(t){e.input===t&&(e.inputValidator=Rn[t])}))}function In(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(A('Target parameter is not valid, defaulting to "body"'),e.target="body")}function Nn(e){Ln(e),e.showLoaderOnConfirm&&!e.preConfirm&&A("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),e.animation=k(e.animation),In(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),Ie(e)}var Fn=function(e){var t=I(),n=z();"function"==typeof e.onBeforeOpen&&e.onBeforeOpen(n);var r=window.getComputedStyle(document.body).overflowY;Hn(t,n,e),qn(t,n),oe()&&(Un(t,e.scrollbarPadding,r),gn()),ie()||Rt.previousActiveElement||(Rt.previousActiveElement=document.activeElement),"function"==typeof e.onOpen&&setTimeout((function(){return e.onOpen(n)})),ve(t,R["no-transition"])};function zn(e){var t=z();if(e.target===t){var n=I();t.removeEventListener(qe,zn),n.style.overflowY="auto"}}var qn=function(e,t){qe&&ke(t)?(e.style.overflowY="hidden",t.addEventListener(qe,zn)):e.style.overflowY="auto"},Un=function(e,t,n){sn(),hn(),t&&"hidden"!==n&&on(),setTimeout((function(){e.scrollTop=0}))},Hn=function(e,t,n){ge(e,n.showClass.backdrop),Ae(t),ge(t,n.showClass.popup),ge([document.documentElement,document.body],R.shown),n.heightAuto&&n.backdrop&&!n.toast&&ge([document.documentElement,document.body],R["height-auto"])},Wn=function(e,t){"select"===t.input||"radio"===t.input?Kn(e,t):-1!==["text","email","number","tel","textarea"].indexOf(t.input)&&(S(t.inputValue)||B(t.inputValue))&&$n(e,t)},Vn=function(e,t){var n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return Yn(n);case"radio":return Zn(n);case"file":return Gn(n);default:return t.inputAutoTrim?n.value.trim():n.value}},Yn=function(e){return e.checked?1:0},Zn=function(e){return e.checked?e.value:null},Gn=function(e){return e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null},Kn=function(t,n){var r=W(),o=function(e){return Xn[n.input](r,Qn(e),n)};S(n.inputOptions)||B(n.inputOptions)?(Mt(),E(n.inputOptions).then((function(e){t.hideLoading(),o(e)}))):"object"===e(n.inputOptions)?o(n.inputOptions):x("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(e(n.inputOptions)))},$n=function(e,t){var n=e.getInput();xe(n),E(t.inputValue).then((function(r){n.value="number"===t.input?parseFloat(r)||0:"".concat(r),Ae(n),n.focus(),e.hideLoading()})).catch((function(t){x("Error in inputValue promise: ".concat(t)),n.value="",Ae(n),n.focus(),e.hideLoading()}))},Xn={select:function(e,t,n){var r=be(e,R.select),o=function(e,t,r){var o=document.createElement("option");o.value=r,le(o,t),n.inputValue.toString()===r.toString()&&(o.selected=!0),e.appendChild(o)};t.forEach((function(e){var t=e[0],n=e[1];if(Array.isArray(n)){var i=document.createElement("optgroup");i.label=t,i.disabled=!1,r.appendChild(i),n.forEach((function(e){return o(i,e[1],e[0])}))}else o(r,n,t)})),r.focus()},radio:function(e,t,n){var r=be(e,R.radio);t.forEach((function(e){var t=e[0],o=e[1],i=document.createElement("input"),a=document.createElement("label");i.type="radio",i.name=R.radio,i.value=t,n.inputValue.toString()===t.toString()&&(i.checked=!0);var s=document.createElement("span");le(s,o),s.className=R.label,a.appendChild(i),a.appendChild(s),r.appendChild(a)}));var o=r.querySelectorAll("input");o.length&&o[0].focus()}},Qn=function t(n){var r=[];return"undefined"!=typeof Map&&n instanceof Map?n.forEach((function(n,o){var i=n;"object"===e(i)&&(i=t(i)),r.push([o,i])})):Object.keys(n).forEach((function(o){var i=n[o];"object"===e(i)&&(i=t(i)),r.push([o,i])})),r},Jn=function(e,t){e.disableButtons(),t.input?tr(e,t):rr(e,t,!0)},er=function(e,t){e.disableButtons(),t(O.cancel)},tr=function(e,t){var n=Vn(e,t);t.inputValidator?(e.disableInput(),Promise.resolve().then((function(){return E(t.inputValidator(n,t.validationMessage))})).then((function(r){e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):rr(e,t,n)}))):e.getInput().checkValidity()?rr(e,t,n):(e.enableButtons(),e.showValidationMessage(t.validationMessage))},nr=function(e,t){e.closePopup({value:t})},rr=function(e,t,n){t.showLoaderOnConfirm&&Mt(),t.preConfirm?(e.resetValidationMessage(),Promise.resolve().then((function(){return E(t.preConfirm(n,t.validationMessage))})).then((function(t){_e(G())||!1===t?e.hideLoading():nr(e,void 0===t?n:t)}))):nr(e,n)},or=function(e,t,n,r){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return lr(e,t,r)},t.keydownTarget=n.keydownListenerCapture?window:z(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)},ir=function(e,t,n){for(var r=re(),o=0;o<r.length;o++)return(t+=n)===r.length?t=0:-1===t&&(t=r.length-1),r[t].focus();z().focus()},ar=["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Left","Right","Up","Down"],sr=["Escape","Esc"],lr=function(e,t,n){var r=$e.innerParams.get(e);r.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?cr(e,t,r):"Tab"===t.key?ur(t,r):-1!==ar.indexOf(t.key)?dr():-1!==sr.indexOf(t.key)&&fr(t,r,n)},cr=function(e,t,n){if(!t.isComposing&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(-1!==["textarea","file"].indexOf(n.input))return;Ot(),t.preventDefault()}},ur=function(e,t){for(var n=e.target,r=re(),o=-1,i=0;i<r.length;i++)if(n===r[i]){o=i;break}e.shiftKey?ir(t,o,-1):ir(t,o,1),e.stopPropagation(),e.preventDefault()},dr=function(){var e=K(),t=$();document.activeElement===e&&_e(t)?t.focus():document.activeElement===t&&_e(e)&&e.focus()},fr=function(e,t,n){k(t.allowEscapeKey)&&(e.preventDefault(),n(O.esc))},pr=function(e,t,n){$e.innerParams.get(e).toast?hr(e,t,n):(gr(t),vr(t),br(e,t,n))},hr=function(e,t,n){t.popup.onclick=function(){var t=$e.innerParams.get(e);t.showConfirmButton||t.showCancelButton||t.showCloseButton||t.input||n(O.close)}},mr=!1,gr=function(e){e.popup.onmousedown=function(){e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(mr=!0)}}},vr=function(e){e.container.onmousedown=function(){e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(mr=!0)}}},br=function(e,t,n){t.container.onclick=function(r){var o=$e.innerParams.get(e);mr?mr=!1:r.target===t.container&&k(o.allowOutsideClick)&&n(O.backdrop)}};function yr(e){en(e),Rt.currentInstance&&Rt.currentInstance._destroy(),Rt.currentInstance=this;var t=Ar(e);Nn(t),Object.freeze(t),Rt.timeout&&(Rt.timeout.stop(),delete Rt.timeout),clearTimeout(Rt.restoreFocusTimeout);var n=Cr(this);return Et(this,t),$e.innerParams.set(this,t),xr(this,n,t)}var Ar=function(e){var t=o({},Wt.showClass,e.showClass),n=o({},Wt.hideClass,e.hideClass),r=o({},Wt,e);return r.showClass=t,r.hideClass=n,!1===e.animation&&(r.showClass={popup:"swal2-noanimation",backdrop:"swal2-noanimation"},r.hideClass={}),r},xr=function(e,t,n){return new Promise((function(r){var o=function(t){e.closePopup({dismiss:t})};bn.swalPromiseResolve.set(e,r),t.confirmButton.onclick=function(){return Jn(e,n)},t.cancelButton.onclick=function(){return er(e,o)},t.closeButton.onclick=function(){return o(O.close)},pr(e,t,o),or(e,Rt,n,o),n.toast&&(n.input||n.footer||n.showCloseButton)?ge(document.body,R["toast-column"]):ve(document.body,R["toast-column"]),Wn(e,n),Fn(n),_r(Rt,n,o),wr(t,n),setTimeout((function(){t.container.scrollTop=0}))}))},Cr=function(e){var t={popup:z(),container:I(),content:W(),actions:X(),confirmButton:K(),cancelButton:$(),closeButton:te(),validationMessage:G(),progressSteps:Z()};return $e.domCache.set(e,t),t},_r=function(e,t,n){var r=ee();xe(r),t.timer&&(e.timeout=new Dn((function(){n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(Ae(r),setTimeout((function(){e.timeout.running&&Ee(t.timer)}))))},wr=function(e,t){if(!t.toast)return k(t.allowEnterKey)?t.focusCancel&&_e(e.cancelButton)?e.cancelButton.focus():t.focusConfirm&&_e(e.confirmButton)?e.confirmButton.focus():void ir(t,-1,1):kr()},kr=function(){document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};function Sr(e){var t=z(),n=$e.innerParams.get(this);if(!t||ce(t,n.hideClass.popup))return A("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");var r={};Object.keys(e).forEach((function(t){Mr.isUpdatableParameter(t)?r[t]=e[t]:A('Invalid parameter to update: "'.concat(t,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js'))}));var i=o({},n,r);Et(this,i),$e.innerParams.set(this,i),Object.defineProperties(this,{params:{value:o({},this.params,e),writable:!1,enumerable:!0}})}function Er(){var e=$e.domCache.get(this),t=$e.innerParams.get(this);t&&(e.popup&&Rt.swalCloseEventFinishedCallback&&(Rt.swalCloseEventFinishedCallback(),delete Rt.swalCloseEventFinishedCallback),Rt.deferDisposalTimer&&(clearTimeout(Rt.deferDisposalTimer),delete Rt.deferDisposalTimer),"function"==typeof t.onDestroy&&t.onDestroy(),Or(this))}var Br,Or=function(e){delete e.params,delete Rt.keydownHandler,delete Rt.keydownTarget,jr($e),jr(bn)},jr=function(e){for(var t in e)e[t]=new WeakMap},Tr=Object.freeze({hideLoading:nn,disableLoading:nn,getInput:rn,close:xn,closePopup:xn,closeModal:xn,closeToast:xn,enableButtons:En,disableButtons:Bn,enableInput:On,disableInput:jn,showValidationMessage:Tn,resetValidationMessage:Pn,getProgressSteps:Mn,_main:yr,update:Sr,_destroy:Er}),Pr=function(){function e(){if(t(this,e),"undefined"!=typeof window){"undefined"==typeof Promise&&x("This package requires a Promise library, please include a shim to enable it in this browser (See: https://github.com/sweetalert2/sweetalert2/wiki/Migration-from-SweetAlert-to-SweetAlert2#1-ie-support)"),Br=this;for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=Object.freeze(this.constructor.argsToParams(r));Object.defineProperties(this,{params:{value:i,writable:!1,enumerable:!0,configurable:!0}});var a=this._main(this.params);$e.promise.set(this,a)}}return r(e,[{key:"then",value:function(e){return $e.promise.get(this).then(e)}},{key:"finally",value:function(e){return $e.promise.get(this).finally(e)}}]),e}();o(Pr.prototype,Tr),o(Pr,tn),Object.keys(Tr).forEach((function(e){Pr[e]=function(){var t;if(Br)return(t=Br)[e].apply(t,arguments)}})),Pr.DismissReason=O,Pr.version="9.17.2";var Mr=Pr;return Mr.default=Mr,Mr}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{flex-direction:row;align-items:center;width:auto;padding:.625em;overflow-y:hidden;background:#fff;box-shadow:0 0 .625em #d9d9d9}.swal2-popup.swal2-toast .swal2-header{flex-direction:row;padding:0}.swal2-popup.swal2-toast .swal2-title{flex-grow:1;justify-content:flex-start;margin:0 .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{position:static;width:.8em;height:.8em;line-height:.8}.swal2-popup.swal2-toast .swal2-content{justify-content:flex-start;padding:0;font-size:1em}.swal2-popup.swal2-toast .swal2-icon{width:2em;min-width:2em;height:2em;margin:0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{font-size:.25em}}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{flex-basis:auto!important;width:auto;height:auto;margin:0 .3125em}.swal2-popup.swal2-toast .swal2-styled{margin:0 .3125em;padding:.3125em .625em;font-size:1em}.swal2-popup.swal2-toast .swal2-styled:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:flex;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;flex-direction:row;align-items:center;justify-content:center;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-top{align-items:flex-start}.swal2-container.swal2-top-left,.swal2-container.swal2-top-start{align-items:flex-start;justify-content:flex-start}.swal2-container.swal2-top-end,.swal2-container.swal2-top-right{align-items:flex-start;justify-content:flex-end}.swal2-container.swal2-center{align-items:center}.swal2-container.swal2-center-left,.swal2-container.swal2-center-start{align-items:center;justify-content:flex-start}.swal2-container.swal2-center-end,.swal2-container.swal2-center-right{align-items:center;justify-content:flex-end}.swal2-container.swal2-bottom{align-items:flex-end}.swal2-container.swal2-bottom-left,.swal2-container.swal2-bottom-start{align-items:flex-end;justify-content:flex-start}.swal2-container.swal2-bottom-end,.swal2-container.swal2-bottom-right{align-items:flex-end;justify-content:flex-end}.swal2-container.swal2-bottom-end>:first-child,.swal2-container.swal2-bottom-left>:first-child,.swal2-container.swal2-bottom-right>:first-child,.swal2-container.swal2-bottom-start>:first-child,.swal2-container.swal2-bottom>:first-child{margin-top:auto}.swal2-container.swal2-grow-fullscreen>.swal2-modal{display:flex!important;flex:1;align-self:stretch;justify-content:center}.swal2-container.swal2-grow-row>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-grow-column{flex:1;flex-direction:column}.swal2-container.swal2-grow-column.swal2-bottom,.swal2-container.swal2-grow-column.swal2-center,.swal2-container.swal2-grow-column.swal2-top{align-items:center}.swal2-container.swal2-grow-column.swal2-bottom-left,.swal2-container.swal2-grow-column.swal2-bottom-start,.swal2-container.swal2-grow-column.swal2-center-left,.swal2-container.swal2-grow-column.swal2-center-start,.swal2-container.swal2-grow-column.swal2-top-left,.swal2-container.swal2-grow-column.swal2-top-start{align-items:flex-start}.swal2-container.swal2-grow-column.swal2-bottom-end,.swal2-container.swal2-grow-column.swal2-bottom-right,.swal2-container.swal2-grow-column.swal2-center-end,.swal2-container.swal2-grow-column.swal2-center-right,.swal2-container.swal2-grow-column.swal2-top-end,.swal2-container.swal2-grow-column.swal2-top-right{align-items:flex-end}.swal2-container.swal2-grow-column>.swal2-modal{display:flex!important;flex:1;align-content:center;justify-content:center}.swal2-container.swal2-no-transition{transition:none!important}.swal2-container:not(.swal2-top):not(.swal2-top-start):not(.swal2-top-end):not(.swal2-top-left):not(.swal2-top-right):not(.swal2-center-start):not(.swal2-center-end):not(.swal2-center-left):not(.swal2-center-right):not(.swal2-bottom):not(.swal2-bottom-start):not(.swal2-bottom-end):not(.swal2-bottom-left):not(.swal2-bottom-right):not(.swal2-grow-fullscreen)>.swal2-modal{margin:auto}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-container .swal2-modal{margin:0!important}}.swal2-popup{display:none;position:relative;box-sizing:border-box;flex-direction:column;justify-content:center;width:32em;max-width:100%;padding:1.25em;border:none;border-radius:.3125em;background:#fff;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-header{display:flex;flex-direction:column;align-items:center;padding:0 1.8em}.swal2-title{position:relative;max-width:100%;margin:0 0 .4em;padding:0;color:#595959;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;flex-wrap:wrap;align-items:center;justify-content:center;width:100%;margin:1.25em auto 0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-actions.swal2-loading .swal2-styled.swal2-confirm{box-sizing:border-box;width:2.5em;height:2.5em;margin:.46875em;padding:0;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:.25em solid transparent;border-radius:100%;border-color:transparent;background-color:transparent!important;color:transparent!important;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-actions.swal2-loading .swal2-styled.swal2-cancel{margin-right:30px;margin-left:30px}.swal2-actions.swal2-loading :not(.swal2-styled).swal2-confirm::after{content:"";display:inline-block;width:15px;height:15px;margin-left:5px;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border:3px solid #999;border-radius:50%;border-right-color:transparent;box-shadow:1px 1px 1px #fff}.swal2-styled{margin:.3125em;padding:.625em 2em;box-shadow:none;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#3085d6;color:#fff;font-size:1.0625em}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#aaa;color:#fff;font-size:1.0625em}.swal2-styled:focus{outline:0;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(50,100,150,.4)}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1.25em 0 0;padding:1em 0 0;border-top:1px solid #eee;color:#545454;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;height:.25em;overflow:hidden;border-bottom-right-radius:.3125em;border-bottom-left-radius:.3125em}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:1.25em auto}.swal2-close{position:absolute;z-index:2;top:0;right:0;align-items:center;justify-content:center;width:1.2em;height:1.2em;padding:0;overflow:hidden;transition:color .1s ease-out;border:none;border-radius:0;background:0 0;color:#ccc;font-family:serif;font-size:2.5em;line-height:1.2;cursor:pointer}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close::-moz-focus-inner{border:0}.swal2-content{z-index:1;justify-content:center;margin:0;padding:0 1.6em;color:#545454;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em auto}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:100%;transition:border-color .3s,box-shadow .3s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06);color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:0 0 3px #c4e6f5}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::-ms-input-placeholder,.swal2-input::-ms-input-placeholder,.swal2-textarea::-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em auto;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-input[type=number]{max-width:10em}.swal2-file{background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{margin:0 .4em}.swal2-validation-message{display:none;align-items:center;justify-content:center;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:1.25em auto 1.875em;border:.25em solid transparent;border-radius:50%;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{align-items:center;margin:0 0 1.25em;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;width:2em;height:2em;border-radius:2em;background:#3085d6;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#3085d6}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;width:2.5em;height:.4em;margin:0 -1px;background:#3085d6}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{right:auto;left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@supports (-ms-accelerator:true){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@media all and (-ms-high-contrast:none),(-ms-high-contrast:active){.swal2-range input{width:100%!important}.swal2-range output{display:none}}@-moz-document url-prefix(){.swal2-close:focus{outline:2px solid rgba(50,100,150,.4)}}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{top:auto;right:auto;bottom:auto;left:auto;max-width:calc(100% - .625em * 2);background-color:transparent!important}body.swal2-no-backdrop .swal2-container>.swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}body.swal2-no-backdrop .swal2-container.swal2-top{top:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-top-left,body.swal2-no-backdrop .swal2-container.swal2-top-start{top:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-top-end,body.swal2-no-backdrop .swal2-container.swal2-top-right{top:0;right:0}body.swal2-no-backdrop .swal2-container.swal2-center{top:50%;left:50%;transform:translate(-50%,-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-left,body.swal2-no-backdrop .swal2-container.swal2-center-start{top:50%;left:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-center-end,body.swal2-no-backdrop .swal2-container.swal2-center-right{top:50%;right:0;transform:translateY(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom{bottom:0;left:50%;transform:translateX(-50%)}body.swal2-no-backdrop .swal2-container.swal2-bottom-left,body.swal2-no-backdrop .swal2-container.swal2-bottom-start{bottom:0;left:0}body.swal2-no-backdrop .swal2-container.swal2-bottom-end,body.swal2-no-backdrop .swal2-container.swal2-bottom-right{right:0;bottom:0}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{background-color:transparent}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}body.swal2-toast-column .swal2-toast{flex-direction:column;align-items:stretch}body.swal2-toast-column .swal2-toast .swal2-actions{flex:1;align-self:stretch;height:2.2em;margin-top:.3125em}body.swal2-toast-column .swal2-toast .swal2-loading{justify-content:center}body.swal2-toast-column .swal2-toast .swal2-input{height:2em;margin:.3125em auto;font-size:1em}body.swal2-toast-column .swal2-toast .swal2-validation-message{font-size:1em}')},88785:function(){tinymce.IconManager.add("default",{icons:{"accessibility-check":'<svg width="24" height="24"><path d="M12 2a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2c0-1.1.9-2 2-2Zm8 7h-5v12c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5c0-.6-.4-1-1-1a1 1 0 0 0-1 1v5c0 .6-.4 1-1 1a1 1 0 0 1-1-1V9H4a1 1 0 1 1 0-2h16c.6 0 1 .4 1 1s-.4 1-1 1Z" fill-rule="nonzero"/></svg>',"action-next":'<svg width="24" height="24"><path fill-rule="nonzero" d="M5.7 7.3a1 1 0 0 0-1.4 1.4l7.7 7.7 7.7-7.7a1 1 0 1 0-1.4-1.4L12 13.6 5.7 7.3Z"/></svg>',"action-prev":'<svg width="24" height="24"><path fill-rule="nonzero" d="M18.3 15.7a1 1 0 0 0 1.4-1.4L12 6.6l-7.7 7.7a1 1 0 0 0 1.4 1.4L12 9.4l6.3 6.3Z"/></svg>',addtag:'<svg width="24" height="24"><path fill-rule="evenodd" clip-rule="evenodd" d="M15 5a2 2 0 0 1 1.6.8L21 12l-4.4 6.2a2 2 0 0 1-1.6.8h-3v-2h3l3.5-5L15 7H5v3H3V7c0-1.1.9-2 2-2h10Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M6 12a1 1 0 0 0-1 1v2H3a1 1 0 1 0 0 2h2v2a1 1 0 1 0 2 0v-2h2a1 1 0 1 0 0-2H7v-2c0-.6-.4-1-1-1Z"/></svg>',"align-center":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm3 4h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm-3-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-justify":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0 4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-left":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 4h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Zm0-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"align-none":'<svg width="24" height="24"><path d="M14.2 5 13 7H5a1 1 0 1 1 0-2h9.2Zm4 0h.8a1 1 0 0 1 0 2h-2l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h6.8Zm4 0H19a1 1 0 0 1 0 2h-4.4l1.2-2Zm-6.4 4-1.2 2H5a1 1 0 0 1 0-2h4.4Zm4 0H19a1 1 0 0 1 0 2h-6.8l1.2-2ZM7 17l-1.2 2H5a1 1 0 0 1 0-2h2Zm4 0h8a1 1 0 0 1 0 2H9.8l1.2-2Zm5.2-13.5 1.3.7-9.7 16.3-1.3-.7 9.7-16.3Z" fill-rule="evenodd"/></svg>',"align-right":'<svg width="24" height="24"><path d="M5 5h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2Zm6 4h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 8h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-6-4h14c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',"arrow-left":'<svg width="24" height="24"><path d="m5.6 13 12 6a1 1 0 0 0 1.4-1V6a1 1 0 0 0-1.4-.9l-12 6a1 1 0 0 0 0 1.8Z" fill-rule="evenodd"/></svg>',"arrow-right":'<svg width="24" height="24"><path d="m18.5 13-12 6A1 1 0 0 1 5 18V6a1 1 0 0 1 1.4-.9l12 6a1 1 0 0 1 0 1.8Z" fill-rule="evenodd"/></svg>',bold:'<svg width="24" height="24"><path d="M7.8 19c-.3 0-.5 0-.6-.2l-.2-.5V5.7c0-.2 0-.4.2-.5l.6-.2h5c1.5 0 2.7.3 3.5 1 .7.6 1.1 1.4 1.1 2.5a3 3 0 0 1-.6 1.9c-.4.6-1 1-1.6 1.2.4.1.9.3 1.3.6s.8.7 1 1.2c.4.4.5 1 .5 1.6 0 1.3-.4 2.3-1.3 3-.8.7-2.1 1-3.8 1H7.8Zm5-8.3c.6 0 1.2-.1 1.6-.5.4-.3.6-.7.6-1.3 0-1.1-.8-1.7-2.3-1.7H9.3v3.5h3.4Zm.5 6c.7 0 1.3-.1 1.7-.4.4-.4.6-.9.6-1.5s-.2-1-.7-1.4c-.4-.3-1-.4-2-.4H9.4v3.8h4Z" fill-rule="evenodd"/></svg>',bookmark:'<svg width="24" height="24"><path d="M6 4v17l6-4 6 4V4c0-.6-.4-1-1-1H7a1 1 0 0 0-1 1Z" fill-rule="nonzero"/></svg>',"border-style":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="2" x="3" y="6" rx="1"/><rect width="2.8" height="2" x="3" y="16" rx="1"/><rect width="2.8" height="2" x="6.8" y="16" rx="1"/><rect width="2.8" height="2" x="10.6" y="16" rx="1"/><rect width="2.8" height="2" x="14.4" y="16" rx="1"/><rect width="2.8" height="2" x="18.2" y="16" rx="1"/><rect width="8" height="2" x="3" y="11" rx="1"/><rect width="8" height="2" x="13" y="11" rx="1"/></g></svg>',"border-width":'<svg width="24" height="24"><g fill-rule="evenodd"><rect width="18" height="5" x="3" y="5" rx="1"/><rect width="18" height="3.5" x="3" y="11.5" rx="1"/><rect width="18" height="2" x="3" y="17" rx="1"/></g></svg>',brightness:'<svg width="24" height="24"><path d="M12 17c.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7v-1c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3Zm0-10a1 1 0 0 1-.7-.3A1 1 0 0 1 11 6V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v1c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3Zm7 4c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-1a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1ZM7 12c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H5a1 1 0 0 1-.7-.3A1 1 0 0 1 4 12c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h1c.3 0 .5.1.7.3.2.2.3.4.3.7Zm10 3.5.7.8c.2.1.3.4.3.6 0 .3-.1.6-.3.8a1 1 0 0 1-.8.3 1 1 0 0 1-.6-.3l-.8-.7a1 1 0 0 1-.3-.8c0-.2.1-.5.3-.7a1 1 0 0 1 1.4 0Zm-10-7-.7-.8a1 1 0 0 1-.3-.6c0-.3.1-.6.3-.8.2-.2.5-.3.8-.3.2 0 .5.1.7.3l.7.7c.2.2.3.5.3.8 0 .2-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.8-.3Zm10 0a1 1 0 0 1-.8.3 1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.6.3-.8l.8-.7c.1-.2.4-.3.6-.3.3 0 .6.1.8.3.2.2.3.5.3.8 0 .2-.1.5-.3.7l-.7.7Zm-10 7c.2-.2.5-.3.8-.3.2 0 .5.1.7.3a1 1 0 0 1 0 1.4l-.8.8a1 1 0 0 1-.6.3 1 1 0 0 1-.8-.3 1 1 0 0 1-.3-.8c0-.2.1-.5.3-.6l.7-.8ZM12 8a4 4 0 0 1 3.7 2.4 4 4 0 0 1 0 3.2A4 4 0 0 1 12 16a4 4 0 0 1-3.7-2.4 4 4 0 0 1 0-3.2A4 4 0 0 1 12 8Zm0 6.5c.7 0 1.3-.2 1.8-.7.5-.5.7-1.1.7-1.8s-.2-1.3-.7-1.8c-.5-.5-1.1-.7-1.8-.7s-1.3.2-1.8.7c-.5.5-.7 1.1-.7 1.8s.2 1.3.7 1.8c.5.5 1.1.7 1.8.7Z" fill-rule="evenodd"/></svg>',browse:'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-4v-2h4V8H5v10h4v2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9.4-2.3 2.3a1 1 0 1 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 0 1-1.4 1.4L13 13.4V20a1 1 0 0 1-2 0v-6.6Z" fill-rule="nonzero"/></svg>',cancel:'<svg width="24" height="24"><path d="M12 4.6a7.4 7.4 0 1 1 0 14.8 7.4 7.4 0 0 1 0-14.8ZM12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18Zm0 8L14.8 8l1 1.1-2.7 2.8 2.7 2.7-1.1 1.1-2.7-2.7-2.7 2.7-1-1.1 2.6-2.7-2.7-2.7 1-1.1 2.8 2.7Z" fill-rule="nonzero"/></svg>',"cell-background-color":'<svg width="24" height="24"><path d="m15.7 2 1.6 1.6-2.7 2.6 5.9 5.8c.7.7.7 1.7 0 2.4l-6.3 6.1a1.7 1.7 0 0 1-2.4 0l-6.3-6.1c-.7-.7-.7-1.7 0-2.4L15.7 2ZM18 12l-4.5-4L9 12h9ZM4 16s2 2.4 2 3.8C6 21 5.1 22 4 22s-2-1-2-2.2C2 18.4 4 16 4 16Z"/></svg>',"cell-border-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M5 13v5h2v2H5a2 2 0 0 1-2-2v-5h2zm8-7V4h6a2 2 0 0 1 2 2h-8z" opacity=".2"/><path fill-rule="nonzero" d="M13 4v2H5v7H3V6c0-1.1.9-2 2-2h8zm-2.6 14.1.1-.1.1.1.2.3.2.2.2.2c.4.6.8 1.2.8 1.7 0 .8-.7 1.5-1.5 1.5S9 21.3 9 20.5c0-.5.4-1.1.8-1.7l.2-.2.2-.2.2-.3z"/><path d="m13 11-2 2H5v-2h6V6h2z"/><path fill-rule="nonzero" d="m18.4 8 1 1-1.8 1.9 4 4c.5.4.5 1.1 0 1.6l-4.3 4.2a1.2 1.2 0 0 1-1.6 0l-4.4-4.2c-.4-.5-.4-1.2 0-1.7l7-6.8Zm1.6 7-3-3-3 3h6Z"/></g></svg>',"change-case":'<svg width="24" height="24"><path d="M18.4 18.2v-.6c-.5.8-1.3 1.2-2.4 1.2-2.2 0-3.3-1.6-3.3-4.8 0-3.1 1-4.7 3.3-4.7 1.1 0 1.8.3 2.4 1.1v-.6c0-.5.4-.8.8-.8s.8.3.8.8v8.4c0 .5-.4.8-.8.8a.8.8 0 0 1-.8-.8zm-2-7.4c-1.3 0-1.8.9-1.8 3.2 0 2.4.5 3.3 1.7 3.3 1.3 0 1.8-.9 1.8-3.2 0-2.4-.5-3.3-1.7-3.3zM10 15.7H5.5l-.8 2.6a1 1 0 0 1-1 .7h-.2a.7.7 0 0 1-.7-1l4-12a1 1 0 0 1 2 0l4 12a.7.7 0 0 1-.8 1h-.2a1 1 0 0 1-1-.7l-.8-2.6zm-.3-1.5-2-6.5-1.9 6.5h3.9z" fill-rule="evenodd"/></svg>',"character-count":'<svg width="24" height="24"><path d="M4 11.5h16v1H4v-1Zm4.8-6.8V10H7.7V5.8h-1v-1h2ZM11 8.3V9h2v1h-3V7.7l2-1v-.9h-2v-1h3v2.4l-2 1Zm6.3-3.4V10h-3.1V9h2.1V8h-2.1V6.8h2.1v-1h-2.1v-1h3.1ZM5.8 16.4c0-.5.2-.8.5-1 .2-.2.6-.3 1.2-.3l.8.1c.2 0 .4.2.5.3l.4.4v2.8l.2.3H8.2V18.7l-.6.3H7c-.4 0-.7 0-1-.2a1 1 0 0 1-.3-.9c0-.3 0-.6.3-.8.3-.2.7-.4 1.2-.4l.6-.2h.3v-.2l-.1-.2a.8.8 0 0 0-.5-.1 1 1 0 0 0-.4 0l-.3.4h-1Zm2.3.8h-.2l-.2.1-.4.1a1 1 0 0 0-.4.2l-.2.2.1.3.5.1h.4l.4-.4v-.6Zm2-3.4h1.2v1.7l.5-.3h.5c.5 0 .9.1 1.2.5.3.4.5.8.5 1.4 0 .6-.2 1.1-.5 1.5-.3.4-.7.6-1.3.6l-.6-.1-.4-.4v.4h-1.1v-5.4Zm1.1 3.3c0 .3 0 .6.2.8a.7.7 0 0 0 1.2 0l.2-.8c0-.4 0-.6-.2-.8a.7.7 0 0 0-.6-.3l-.6.3-.2.8Zm6.1-.5c0-.2 0-.3-.2-.4a.8.8 0 0 0-.5-.2c-.3 0-.5.1-.6.3l-.2.9c0 .3 0 .6.2.8.1.2.3.3.6.3.2 0 .4 0 .5-.2l.2-.4h1.1c0 .5-.3.8-.6 1.1a2 2 0 0 1-1.3.4c-.5 0-1-.2-1.3-.6a2 2 0 0 1-.5-1.4c0-.6.1-1.1.5-1.5.3-.4.8-.5 1.4-.5.5 0 1 0 1.2.3.4.3.5.7.5 1.2h-1v-.1Z" fill-rule="evenodd"/></svg>',"checklist-rtl":'<svg width="24" height="24"><path d="M5 17h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2zm14.2 11c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L18 8c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8z" fill-rule="evenodd"/></svg>',checklist:'<svg width="24" height="24"><path d="M11 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2h-8a1 1 0 0 1 0-2ZM7.2 16c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 20c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 14c-.2.3-.7.4-1 0l-1.3-1.3a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Zm0-6c.2-.4.6-.5.9-.3.3.2.4.6.2 1L6 8c-.2.3-.7.4-1 0L3.8 6.9a.7.7 0 0 1 0-1c.3-.2.7-.2 1 0l.7.9 1.7-2.8Z" fill-rule="evenodd"/></svg>',checkmark:'<svg width="24" height="24"><path d="M18.2 5.4a1 1 0 0 1 1.6 1.2l-8 12a1 1 0 0 1-1.5.1l-5-5a1 1 0 1 1 1.4-1.4l4.1 4.1 7.4-11Z" fill-rule="nonzero"/></svg>',"chevron-down":'<svg width="10" height="10"><path d="M8.7 2.2c.3-.3.8-.3 1 0 .4.4.4.9 0 1.2L5.7 7.8c-.3.3-.9.3-1.2 0L.2 3.4a.8.8 0 0 1 0-1.2c.3-.3.8-.3 1.1 0L5 6l3.7-3.8Z" fill-rule="nonzero"/></svg>',"chevron-left":'<svg width="10" height="10"><path d="M7.8 1.3 4 5l3.8 3.7c.3.3.3.8 0 1-.4.4-.9.4-1.2 0L2.2 5.7a.8.8 0 0 1 0-1.2L6.6.2C7 0 7.4 0 7.8.2c.3.3.3.8 0 1.1Z" fill-rule="nonzero"/></svg>',"chevron-right":'<svg width="10" height="10"><path d="M2.2 1.3a.8.8 0 0 1 0-1c.4-.4.9-.4 1.2 0l4.4 4.1c.3.4.3.9 0 1.2L3.4 9.8c-.3.3-.8.3-1.2 0a.8.8 0 0 1 0-1.1L6 5 2.2 1.3Z" fill-rule="nonzero"/></svg>',"chevron-up":'<svg width="10" height="10"><path d="M8.7 7.8 5 4 1.3 7.8c-.3.3-.8.3-1 0a.8.8 0 0 1 0-1.2l4.1-4.4c.3-.3.9-.3 1.2 0l4.2 4.4c.3.3.3.9 0 1.2-.3.3-.8.3-1.1 0Z" fill-rule="nonzero"/></svg>',close:'<svg width="24" height="24"><path d="M17.3 8.2 13.4 12l3.9 3.8a1 1 0 0 1-1.5 1.5L12 13.4l-3.8 3.9a1 1 0 0 1-1.5-1.5l3.9-3.8-3.9-3.8a1 1 0 0 1 1.5-1.5l3.8 3.9 3.8-3.9a1 1 0 0 1 1.5 1.5Z" fill-rule="evenodd"/></svg>',"code-sample":'<svg width="24" height="26"><path d="M7.1 11a2.8 2.8 0 0 1-.8 2 2.8 2.8 0 0 1 .8 2v1.7c0 .3.1.6.4.8.2.3.5.4.8.4.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.7 0-1.4-.3-2-.8-.5-.6-.8-1.3-.8-2V15c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4v-.8c0-.2.2-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V9.3c0-.7.3-1.4.8-2 .6-.5 1.3-.8 2-.8.3 0 .4.2.4.4v.8c0 .2-.1.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8V11Zm9.8 0V9.3c0-.3-.1-.6-.4-.8-.2-.3-.5-.4-.8-.4a.4.4 0 0 1-.4-.4V7c0-.2.1-.4.4-.4.7 0 1.4.3 2 .8.5.6.8 1.3.8 2V11c0 .3.1.6.4.8.2.3.5.4.8.4.2 0 .4.2.4.4v.8c0 .2-.2.4-.4.4-.3 0-.6.1-.8.4-.3.2-.4.5-.4.8v1.7c0 .7-.3 1.4-.8 2-.6.5-1.3.8-2 .8a.4.4 0 0 1-.4-.4v-.8c0-.2.1-.4.4-.4.3 0 .6-.1.8-.4.3-.2.4-.5.4-.8V15a2.8 2.8 0 0 1 .8-2 2.8 2.8 0 0 1-.8-2Zm-3.3-.4c0 .4-.1.8-.5 1.1-.3.3-.7.5-1.1.5-.4 0-.8-.2-1.1-.5-.4-.3-.5-.7-.5-1.1 0-.5.1-.9.5-1.2.3-.3.7-.4 1.1-.4.4 0 .8.1 1.1.4.4.3.5.7.5 1.2ZM12 13c.4 0 .8.1 1.1.5.4.3.5.7.5 1.1 0 1-.1 1.6-.5 2a3 3 0 0 1-1.1 1c-.4.3-.8.4-1.1.4a.5.5 0 0 1-.5-.5V17a3 3 0 0 0 1-.2l.6-.6c-.6 0-1-.2-1.3-.5-.2-.3-.3-.7-.3-1 0-.5.1-1 .5-1.2.3-.4.7-.5 1.1-.5Z" fill-rule="evenodd"/></svg>',"color-levels":'<svg width="24" height="24"><path d="M17.5 11.4A9 9 0 0 1 18 14c0 .5 0 1-.2 1.4 0 .4-.3.9-.5 1.3a6.2 6.2 0 0 1-3.7 3 5.7 5.7 0 0 1-3.2 0A5.9 5.9 0 0 1 7.6 18a6.2 6.2 0 0 1-1.4-2.6 6.7 6.7 0 0 1 0-2.8c0-.4.1-.9.3-1.3a13.6 13.6 0 0 1 2.3-4A20 20 0 0 1 12 4a26.4 26.4 0 0 1 3.2 3.4 18.2 18.2 0 0 1 2.3 4Zm-2 4.5c.4-.7.5-1.4.5-2a7.3 7.3 0 0 0-1-3.2c.2.6.2 1.2.2 1.9a4.5 4.5 0 0 1-1.3 3 5.3 5.3 0 0 1-2.3 1.5 4.9 4.9 0 0 1-2 .1 4.3 4.3 0 0 0 2.4.8 4 4 0 0 0 2-.6 4 4 0 0 0 1.5-1.5Z" fill-rule="evenodd"/></svg>',"color-picker":'<svg width="24" height="24"><path d="M12 3a9 9 0 0 0 0 18 1.5 1.5 0 0 0 1.1-2.5c-.2-.3-.4-.6-.4-1 0-.8.7-1.5 1.5-1.5H16a5 5 0 0 0 5-5c0-4.4-4-8-9-8Zm-5.5 9a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3-4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm5 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm3 4a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z" fill-rule="nonzero"/></svg>',"color-swatch-remove-color":'<svg width="24" height="24"><path stroke="#000" stroke-width="2" d="M21 3 3 21" fill-rule="evenodd"/></svg>',"color-swatch":'<svg width="24" height="24"><rect x="3" y="3" width="18" height="18" rx="1" fill-rule="evenodd"/></svg>',"comment-add":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/><path d="M13 10h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 0v-2H9a1 1 0 0 1 0-2h2V8a1 1 0 0 1 2 0v2Z"/></g></svg>',comment:'<svg width="24" height="24"><path fill-rule="nonzero" d="m9 19 3-2h7c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H5a1 1 0 0 0-1 1v10c0 .6.4 1 1 1h4v2Zm-2 4v-4H5a3 3 0 0 1-3-3V6a3 3 0 0 1 3-3h14a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3h-6.4L7 23Z"/></svg>',contrast:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-6 8a6 6 0 0 0 6 6V6a6 6 0 0 0-6 6Z" fill-rule="evenodd"/></svg>',copy:'<svg width="24" height="24"><path d="M16 3H6a2 2 0 0 0-2 2v11h2V5h10V3Zm1 4a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7Zm0 12V9h-7v10h7Z" fill-rule="nonzero"/></svg>',crop:'<svg width="24" height="24"><path d="M17 8v7h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v2c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-2H7V9H5a1 1 0 1 1 0-2h2V5c0-.6.4-1 1-1s1 .4 1 1v2h7l3-3 1 1-3 3ZM9 9v5l5-5H9Zm1 6h5v-5l-5 5Z" fill-rule="evenodd"/></svg>',"cut-column":'<svg width="24" height="24"><path fill-rule="evenodd" d="M7.2 4.5c.9 0 1.6.4 2.2 1A3.7 3.7 0 0 1 10.5 8v.5l1 1 4-4 1-.5a3.3 3.3 0 0 1 2 0c.4 0 .7.3 1 .5L17 8h4v13h-6V10l-1.5 1.5.5.5v4l-2.5-2.5-1 1v.5c0 .4 0 .8-.3 1.2-.2.5-.4.9-.8 1.2-.6.7-1.3 1-2.2 1-.8.2-1.5 0-2-.6l-.5-.8-.2-1c0-.4 0-.8.3-1.2A3.9 3.9 0 0 1 7 12.7c.5-.2 1-.3 1.5-.2l1-1-1-1c-.5 0-1 0-1.5-.2-.5-.1-1-.4-1.4-.9-.4-.3-.6-.7-.8-1.2L4.5 7c0-.4 0-.7.2-1 0-.3.3-.6.5-.8.5-.5 1.2-.8 2-.7Zm12.3 5h-3v10h3v-10ZM8 13.8h-.3l-.4.2a2.8 2.8 0 0 0-.7.4v.1a2.8 2.8 0 0 0-.6.8l-.1.4v.7l.2.5.5.2h.7a2.6 2.6 0 0 0 .8-.3 2.4 2.4 0 0 0 .7-.7 2.5 2.5 0 0 0 .3-.8 1.5 1.5 0 0 0 0-.8 1 1 0 0 0-.2-.4 1 1 0 0 0-.5-.2H8Zm3.5-3.7c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4ZM7 5.8h-.4a1 1 0 0 0-.5.3 1 1 0 0 0-.2.5v.7a2.5 2.5 0 0 0 .3.8l.2.3h.1l.4.4.4.2.4.1h.7L9 9l.2-.4a1.6 1.6 0 0 0 0-.8 2.6 2.6 0 0 0-.3-.8A2.5 2.5 0 0 0 7.7 6l-.4-.1H7Z"/></svg>',"cut-row":'<svg width="24" height="24"><path fill-rule="evenodd" d="M22 3v5H9l3 3 2-2h4l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8.7.6 1 1.3 1 2.2.2.8 0 1.5-.6 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l2 2V3h14ZM8.5 15.3h-.3a2.6 2.6 0 0 0-.8.4 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3L9 18V18l.4-.4.2-.4.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2h-.5Zm7 0H15a1 1 0 0 0-.4.3 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4a2.8 2.8 0 0 0 .5.7h.1a2.8 2.8 0 0 0 .8.6l.4.1h.7l.5-.2.2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3h-.3ZM12 11.6c-.4 0-.7.1-1 .4-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4s.7-.1 1-.4c.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4Zm8.5-7.1h-11v2h11v-2Z"/></svg>',cut:'<svg width="24" height="24"><path d="M18 15c.6.7 1 1.4 1 2.3 0 .8-.2 1.5-.7 2l-.8.5-1 .2c-.4 0-.8 0-1.2-.3a3.9 3.9 0 0 1-2.1-2.2c-.2-.5-.3-1-.2-1.5l-1-1-1 1c0 .5 0 1-.2 1.5-.1.5-.4 1-.9 1.4-.3.4-.7.6-1.2.8l-1.2.3c-.4 0-.7 0-1-.2-.3 0-.6-.3-.8-.5-.5-.5-.8-1.2-.7-2 0-.9.4-1.6 1-2.2A3.7 3.7 0 0 1 8.6 14H9l1-1-4-4-.5-1a3.3 3.3 0 0 1 0-2c0-.4.3-.7.5-1l6 6 6-6 .5 1a3.3 3.3 0 0 1 0 2c0 .4-.3.7-.5 1l-4 4 1 1h.5c.4 0 .8 0 1.2.3.5.2.9.4 1.2.8Zm-8.5 2.2.1-.4v-.7a1 1 0 0 0-.2-.5 1 1 0 0 0-.4-.2 1.6 1.6 0 0 0-.8 0 2.6 2.6 0 0 0-.8.3 2.5 2.5 0 0 0-.9 1.1l-.1.4v.7l.2.5.5.2h.7a2.5 2.5 0 0 0 .8-.3 2.8 2.8 0 0 0 1-1Zm2.5-2.8c.4 0 .7-.1 1-.4.3-.3.4-.6.4-1s-.1-.7-.4-1c-.3-.3-.6-.4-1-.4s-.7.1-1 .4c-.3.3-.4.6-.4 1s.1.7.4 1c.3.3.6.4 1 .4Zm5.4 4 .2-.5v-.7a2.6 2.6 0 0 0-.3-.8 2.4 2.4 0 0 0-.7-.7 2.5 2.5 0 0 0-.8-.3 1.5 1.5 0 0 0-.8 0 1 1 0 0 0-.4.2 1 1 0 0 0-.2.5 1.5 1.5 0 0 0 0 .7v.4l.3.4.3.4a2.8 2.8 0 0 0 .8.5l.4.1h.7l.5-.2Z" fill-rule="evenodd"/></svg>',"document-properties":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',drag:'<svg width="24" height="24"><path d="M13 5h2v2h-2V5Zm0 4h2v2h-2V9ZM9 9h2v2H9V9Zm4 4h2v2h-2v-2Zm-4 0h2v2H9v-2Zm0 4h2v2H9v-2Zm4 0h2v2h-2v-2ZM9 5h2v2H9V5Z" fill-rule="evenodd"/></svg>',"duplicate-column":'<svg width="24" height="24"><path d="M17 6v16h-7V6h7Zm-2 2h-3v12h3V8Zm-2-6v2H8v15H6V2h7Z"/></svg>',"duplicate-row":'<svg width="24" height="24"><path d="M22 11v7H6v-7h16Zm-2 2H8v3h12v-3Zm-1-6v2H4v5H2V7h17Z"/></svg>',duplicate:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M16 3v2H6v11H4V5c0-1.1.9-2 2-2h10Zm3 8h-2V9h-7v10h9a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2V9c0-1.2.9-2 2-2h7a2 2 0 0 1 2 2v2Z"/><path d="M17 14h1a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1h-1a1 1 0 0 1 0-2h1v-1a1 1 0 0 1 2 0v1Z"/></g></svg>',"edit-block":'<svg width="24" height="24"><path fill-rule="nonzero" d="m19.8 8.8-9.4 9.4c-.2.2-.5.4-.9.4l-5.4 1.2 1.2-5.4.5-.8 9.4-9.4c.7-.7 1.8-.7 2.5 0l2.1 2.1c.7.7.7 1.8 0 2.5Zm-2-.2 1-.9v-.3l-2.2-2.2a.3.3 0 0 0-.3 0l-1 1L18 8.5Zm-1 1-2.5-2.4-6 6 2.5 2.5 6-6Zm-7 7.1-2.6-2.4-.3.3-.1.2-.7 3 3.1-.6h.1l.4-.5Z"/></svg>',"edit-image":'<svg width="24" height="24"><path d="M18 16h2V7a2 2 0 0 0-2-2H7v2h11v9ZM6 17h15a1 1 0 0 1 0 2h-1v1a1 1 0 0 1-2 0v-1H6a2 2 0 0 1-2-2V7H3a1 1 0 1 1 0-2h1V4a1 1 0 1 1 2 0v13Zm3-5.3 1.3 2 3-4.7 3.7 6H7l2-3.3Z" fill-rule="nonzero"/></svg>',"embed-page":'<svg width="24" height="24"><path d="M19 6V5H5v14h2A13 13 0 0 1 19 6Zm0 1.4c-.8.8-1.6 2.4-2.2 4.6H19V7.4Zm0 5.6h-2.4c-.4 1.8-.6 3.8-.6 6h3v-6Zm-4 6c0-2.2.2-4.2.6-6H13c-.7 1.8-1.1 3.8-1.1 6h3Zm-4 0c0-2.2.4-4.2 1-6H9.6A12 12 0 0 0 8 19h3ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm11.8 9c.4-1.9 1-3.4 1.8-4.5a9.2 9.2 0 0 0-4 4.5h2.2Zm-3.4 0a12 12 0 0 1 2.8-4 12 12 0 0 0-5 4h2.2Z" fill-rule="nonzero"/></svg>',embed:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm4.8 2.6 5.6 4a.5.5 0 0 1 0 .8l-5.6 4A.5.5 0 0 1 9 16V8a.5.5 0 0 1 .8-.4Z" fill-rule="nonzero"/></svg>',emoji:'<svg width="24" height="24"><path d="M9 11c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm6 0c.6 0 1-.4 1-1s-.4-1-1-1a1 1 0 0 0-1 1c0 .6.4 1 1 1Zm-3 5.5c2.1 0 4-1.5 4.4-3.5H7.6c.5 2 2.3 3.5 4.4 3.5ZM12 4a8 8 0 1 0 0 16 8 8 0 0 0 0-16Zm0 14.5a6.5 6.5 0 1 1 0-13 6.5 6.5 0 0 1 0 13Z" fill-rule="nonzero"/></svg>',export:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M14.4 3 18 7v1h-5V5H7v14h9a1 1 0 0 1 2 0c0 1-.8 2-1.9 2H7c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2h7.5Z"/><path d="M18.1 12c.5 0 .9.4.9 1 0 .5-.3 1-.8 1h-7.3c-.5 0-.9-.4-.9-1 0-.5.3-1 .8-1h7.3Z"/><path d="M16.4 9.2a1 1 0 0 1 1.4.2l2.4 3.6-2.4 3.6a1 1 0 0 1-1.7-1v-.2l1.7-2.4-1.6-2.4a1 1 0 0 1 .2-1.4Z"/></g></svg>',fill:'<svg width="24" height="26"><path d="m16.6 12-9-9-1.4 1.4 2.4 2.4-5.2 5.1c-.5.6-.5 1.6 0 2.2L9 19.6a1.5 1.5 0 0 0 2.2 0l5.5-5.5c.5-.6.5-1.6 0-2.2ZM5.2 13 10 8.2l4.8 4.8H5.2ZM19 14.5s-2 2.2-2 3.5c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.3-2-3.5-2-3.5Z" fill-rule="nonzero"/></svg>',"flip-horizontally":'<svg width="24" height="24"><path d="M14 19h2v-2h-2v2Zm4-8h2V9h-2v2ZM4 7v10c0 1.1.9 2 2 2h3v-2H6V7h3V5H6a2 2 0 0 0-2 2Zm14-2v2h2a2 2 0 0 0-2-2Zm-7 16h2V3h-2v18Zm7-6h2v-2h-2v2Zm-4-8h2V5h-2v2Zm4 12a2 2 0 0 0 2-2h-2v2Z" fill-rule="nonzero"/></svg>',"flip-vertically":'<svg width="24" height="24"><path d="M5 14v2h2v-2H5Zm8 4v2h2v-2h-2Zm4-14H7a2 2 0 0 0-2 2v3h2V6h10v3h2V6a2 2 0 0 0-2-2Zm2 14h-2v2a2 2 0 0 0 2-2ZM3 11v2h18v-2H3Zm6 7v2h2v-2H9Zm8-4v2h2v-2h-2ZM5 18c0 1.1.9 2 2 2v-2H5Z" fill-rule="nonzero"/></svg>',footnote:'<svg width="24" height="24"><path d="M19 13c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h14Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M19 4v6h-1V5h-1.5V4h2.6Z"/><path d="M12 18c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 1 1 0-2h7ZM14 8c.6 0 1 .4 1 1s-.4 1-1 1H5a1 1 0 0 1 0-2h9Z"/></svg>',"format-painter":'<svg width="24" height="24"><path d="M18 5V4c0-.5-.4-1-1-1H5a1 1 0 0 0-1 1v4c0 .6.5 1 1 1h12c.6 0 1-.4 1-1V7h1v4H9v9c0 .6.4 1 1 1h2c.6 0 1-.4 1-1v-7h8V5h-3Z" fill-rule="nonzero"/></svg>',format:'<svg width="24" height="24"><path fill-rule="evenodd" d="M17 5a1 1 0 0 1 0 2h-4v11a1 1 0 0 1-2 0V7H7a1 1 0 1 1 0-2h10Z"/></svg>',fullscreen:'<svg width="24" height="24"><path d="m15.3 10-1.2-1.3 2.9-3h-2.3a.9.9 0 1 1 0-1.7H19c.5 0 .9.4.9.9v4.4a.9.9 0 1 1-1.8 0V7l-2.9 3Zm0 4 3 3v-2.3a.9.9 0 1 1 1.7 0V19c0 .5-.4.9-.9.9h-4.4a.9.9 0 1 1 0-1.8H17l-3-2.9 1.3-1.2ZM10 15.4l-2.9 3h2.3a.9.9 0 1 1 0 1.7H5a.9.9 0 0 1-.9-.9v-4.4a.9.9 0 1 1 1.8 0V17l2.9-3 1.2 1.3ZM8.7 10 5.7 7v2.3a.9.9 0 0 1-1.7 0V5c0-.5.4-.9.9-.9h4.4a.9.9 0 0 1 0 1.8H7l3 2.9-1.3 1.2Z" fill-rule="nonzero"/></svg>',gallery:'<svg width="24" height="24"><path fill-rule="nonzero" d="m5 15.7 2.3-2.2c.3-.3.7-.3 1 0L11 16l5.1-5c.3-.4.8-.4 1 0l2 1.9V8H5v7.7ZM5 18V19h3l1.8-1.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 6h16c.6 0 1 .4 1 1v13c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V7c0-.6.4-1 1-1Zm6 7a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM4.5 4h15a.5.5 0 1 1 0 1h-15a.5.5 0 0 1 0-1Zm2-2h11a.5.5 0 1 1 0 1h-11a.5.5 0 0 1 0-1Z"/></svg>',gamma:'<svg width="24" height="24"><path d="M4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm1 2v14h14V5H5Zm6.5 11.8V14L9.2 8.7a5.1 5.1 0 0 0-.4-.8l-.1-.2H8v-1l.3-.1.3-.1h.7a1 1 0 0 1 .6.5l.1.3a8.5 8.5 0 0 1 .3.6l1.9 4.6 2-5.2a1 1 0 0 1 1-.6.5.5 0 0 1 .5.6L13 14v2.8a.7.7 0 0 1-1.4 0Z" fill-rule="nonzero"/></svg>',help:'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M12 5.5a6.5 6.5 0 0 0-6 9 6.3 6.3 0 0 0 1.4 2l1 1a6.3 6.3 0 0 0 3.6 1 6.5 6.5 0 0 0 6-9 6.3 6.3 0 0 0-1.4-2l-1-1a6.3 6.3 0 0 0-3.6-1ZM12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Z"/><path d="M9.6 9.7a.7.7 0 0 1-.7-.8c0-1.1 1.5-1.8 3.2-1.8 1.8 0 3.2.8 3.2 2.4 0 1.4-.4 2.1-1.5 2.8-.2 0-.3.1-.3.2a2 2 0 0 0-.8.8.8.8 0 0 1-1.4-.6c.3-.7.8-1 1.3-1.5l.4-.2c.7-.4.8-.6.8-1.5 0-.5-.6-.9-1.7-.9-.5 0-1 .1-1.4.3-.2 0-.3.1-.3.2v-.2c0 .4-.4.8-.8.8Z" fill-rule="nonzero"/><circle cx="12" cy="16" r="1"/></g></svg>',"highlight-bg-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-highlight-bg-color__color" d="M3 18h18v3H3z"/><path fill-rule="nonzero" d="M7.7 16.7H3l3.3-3.3-.7-.8L10.2 8l4 4.1-4 4.2c-.2.2-.6.2-.8 0l-.6-.7-1.1 1.1zm5-7.5L11 7.4l3-2.9a2 2 0 0 1 2.6 0L18 6c.7.7.7 2 0 2.7l-2.9 2.9-1.8-1.8-.5-.6"/></g></svg>',home:'<svg width="24" height="24"><path fill-rule="nonzero" d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>',"horizontal-rule":'<svg width="24" height="24"><path d="M4 11h16v2H4z" fill-rule="evenodd"/></svg>',"image-options":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',image:'<svg width="24" height="24"><path d="m5 15.7 3.3-3.2c.3-.3.7-.3 1 0L12 15l4.1-4c.3-.4.8-.4 1 0l2 1.9V5H5v10.7ZM5 18V19h3l2.8-2.9-2-2L5 17.9Zm14-3-2.5-2.4-6.4 6.5H19v-4ZM4 3h16c.6 0 1 .4 1 1v16c0 .6-.4 1-1 1H4a1 1 0 0 1-1-1V4c0-.6.4-1 1-1Zm6 8a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z" fill-rule="nonzero"/></svg>',indent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm-2.6-3.8L6.2 12l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',info:'<svg width="24" height="24"><path d="M12 4a7.8 7.8 0 0 1 5.7 2.3A8 8 0 1 1 12 4Zm-1 3v2h2V7h-2Zm3 10v-1h-1v-5h-3v1h1v4h-1v1h4Z" fill-rule="evenodd"/></svg>',"insert-character":'<svg width="24" height="24"><path d="M15 18h4l1-2v4h-6v-3.3l1.4-1a6 6 0 0 0 1.8-2.9 6.3 6.3 0 0 0-.1-4.1 5.8 5.8 0 0 0-3-3.2c-.6-.3-1.3-.5-2.1-.5a5.1 5.1 0 0 0-3.9 1.8 6.3 6.3 0 0 0-1.3 6 6.2 6.2 0 0 0 1.8 3l1.4.9V20H4v-4l1 2h4v-.5l-2-1L5.4 15A6.5 6.5 0 0 1 4 11c0-1 .2-1.9.6-2.7A7 7 0 0 1 6.3 6C7.1 5.4 8 5 9 4.5c1-.3 2-.5 3.1-.5a8.8 8.8 0 0 1 5.7 2 7 7 0 0 1 1.7 2.3 6 6 0 0 1 .2 4.8c-.2.7-.6 1.3-1 1.9a7.6 7.6 0 0 1-3.6 2.5v.5Z" fill-rule="evenodd"/></svg>',"insert-time":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M12 19a7 7 0 1 0 0-14 7 7 0 0 0 0 14Zm0 2a9 9 0 1 1 0-18 9 9 0 0 1 0 18Z"/><path d="M16 12h-3V7c0-.6-.4-1-1-1a1 1 0 0 0-1 1v7h5c.6 0 1-.4 1-1s-.4-1-1-1Z"/></g></svg>',invert:'<svg width="24" height="24"><path d="M18 19.3 16.5 18a5.8 5.8 0 0 1-3.1 1.9 6.1 6.1 0 0 1-5.5-1.6A5.8 5.8 0 0 1 6 14v-.3l.1-1.2A13.9 13.9 0 0 1 7.7 9l-3-3 .7-.8 2.8 2.9 9 8.9 1.5 1.6-.7.6Zm0-5.5v.3l-.1 1.1-.4 1-1.2-1.2a4.3 4.3 0 0 0 .2-1v-.2c0-.4 0-.8-.2-1.3l-.5-1.4a14.8 14.8 0 0 0-3-4.2L12 6a26.1 26.1 0 0 0-2.2 2.5l-1-1a20.9 20.9 0 0 1 2.9-3.3L12 4l1 .8a22.2 22.2 0 0 1 4 5.4c.6 1.2 1 2.4 1 3.6Z" fill-rule="evenodd"/></svg>',italic:'<svg width="24" height="24"><path d="m16.7 4.7-.1.9h-.3c-.6 0-1 0-1.4.3-.3.3-.4.6-.5 1.1l-2.1 9.8v.6c0 .5.4.8 1.4.8h.2l-.2.8H8l.2-.8h.2c1.1 0 1.8-.5 2-1.5l2-9.8.1-.5c0-.6-.4-.8-1.4-.8h-.3l.2-.9h5.8Z" fill-rule="evenodd"/></svg>',language:'<svg width="24" height="24"><path d="M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18Zm4.3 13.3c-.5 1-1.2 2-2 2.9a7.5 7.5 0 0 0 3.2-2.1l-.2-.2a6 6 0 0 0-1-.6Zm-8.6 0c-.5.2-.9.5-1.2.8.9 1 2 1.7 3.2 2a10 10 0 0 1-2-2.8Zm3.6-.8c-.8 0-1.6.1-2.2.3.5 1 1.2 1.9 2.1 2.7Zm1.5 0v3c.9-.8 1.6-1.7 2.1-2.7-.6-.2-1.4-.3-2.1-.3Zm-6-2.7H4.5c.2 1 .5 2.1 1 3h.3l1.3-1a10 10 0 0 1-.3-2Zm12.7 0h-2.3c0 .7-.1 1.4-.3 2l1.6 1.1c.5-1 .9-2 1-3.1Zm-3.8 0h-3V14c1 0 2 .1 2.7.4.2-.5.3-1 .3-1.6Zm-4.4 0h-3l.3 1.6c.8-.3 1.7-.4 2.7-.4v-1.3Zm-5.5-5c-.7 1-1.1 2.2-1.3 3.5h2.3c0-1 .2-1.8.5-2.6l-1.5-1Zm2.9 1.4v.1c-.2.6-.4 1.3-.4 2h3V9.4c-1 0-1.8-.1-2.6-.3Zm6.6 0h-.1l-2.4.3v1.8h3l-.5-2.1Zm3-1.4-.3.1-1.3.8c.3.8.5 1.6.5 2.6h2.3a7.5 7.5 0 0 0-1.3-3.5Zm-9 0 2 .2V5.5a9 9 0 0 0-2 2.2Zm3.5-2.3V8c.6 0 1.3 0 1.9-.2a9 9 0 0 0-2-2.3Zm-3-.7h-.1c-1.1.4-2.1 1-3 1.8l1.2.7a10 10 0 0 1 1.9-2.5Zm4.4 0 .1.1a10 10 0 0 1 1.8 2.4l1.1-.7a7.5 7.5 0 0 0-3-1.8Z"/></svg>',"line-height":'<svg width="24" height="24"><path d="M21 5a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zm0 4a1 1 0 0 1 .1 2H13a1 1 0 0 1-.1-2H21zM7 3.6l3.7 3.7a1 1 0 0 1-1.3 1.5h-.1L8 7.3v9.2l1.3-1.3a1 1 0 0 1 1.3 0h.1c.4.4.4 1 0 1.3v.1L7 20.4l-3.7-3.7a1 1 0 0 1 1.3-1.5h.1L6 16.7V7.4L4.7 8.7a1 1 0 0 1-1.3 0h-.1a1 1 0 0 1 0-1.3v-.1L7 3.6z"/></svg>',line:'<svg width="24" height="24"><path d="m15 9-8 8H4v-3l8-8 3 3Zm1-1-3-3 1-1h1c-.2 0 0 0 0 0l2 2s0 .2 0 0v1l-1 1ZM4 18h16v2H4v-2Z" fill-rule="evenodd"/></svg>',link:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2-2a2 2 0 1 0-2.6-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2Z" fill-rule="nonzero"/></svg>',"list-bull-circle":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M11 16a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 26a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM11 36a2 2 0 1 0 0-4 2 2 0 0 0 0 4Zm0 1a3 3 0 1 1 0-6 3 3 0 0 1 0 6Z" fill-rule="nonzero"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-default":'<svg width="48" height="48"><g fill-rule="evenodd"><circle cx="11" cy="14" r="3"/><circle cx="11" cy="24" r="3"/><circle cx="11" cy="34" r="3"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-bull-square":'<svg width="48" height="48"><g fill-rule="evenodd"><path d="M8 11h6v6H8zM8 21h6v6H8zM8 31h6v6H8z"/><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/></g></svg>',"list-num-default-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 17v-4.8h-.1l-1.5 1v-1.1l1.6-1.1h1.2v6zM33.3 17.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm1.7 5.7c0-1.2 1-2 2.2-2 1.3 0 2.1.8 2.1 1.8 0 .7-.3 1.2-1.3 2.2l-1.2 1v.2h2.6v1h-4.3v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H35zm-1.7 4.3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7zm3.2 7.3v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H35c0-1.1 1-1.8 2.2-1.8 1.2 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.7.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .6 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7zm-3.3 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7z"/></g></svg>',"list-num-default":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10 17v-4.8l-1.5 1v-1.1l1.6-1h1.2V17h-1.2Zm3.6.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-5 5.7c0-1.2.8-2 2.1-2s2.1.8 2.1 1.8c0 .7-.3 1.2-1.4 2.2l-1.1 1v.2h2.6v1H8.6v-.9l2-1.9c.8-.8 1-1.1 1-1.5 0-.5-.4-.8-1-.8-.5 0-.9.3-.9.9H8.5Zm6.3 4.3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM10 34.4v-1h.7c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7s-1 .3-1 .8H8.6c0-1.1 1-1.8 2.2-1.8 1.3 0 2.1.6 2.1 1.6 0 .7-.4 1.2-1 1.3v.1c.8.1 1.3.7 1.3 1.4 0 1-1 1.9-2.4 1.9-1.3 0-2.2-.8-2.3-2h1.2c0 .6.5 1 1.1 1 .7 0 1-.4 1-1 0-.5-.3-.8-1-.8h-.7Zm4.7 2.7c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Z"/></g></svg>',"list-num-lower-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M36.5 16c-.9 0-1.5-.5-1.5-1.3s.6-1.3 1.8-1.4h1v-.4c0-.4-.2-.6-.7-.6-.4 0-.7.1-.8.4h-1.1c0-.8.8-1.4 2-1.4S39 12 39 13V16h-1.2v-.6c-.3.4-.8.7-1.4.7Zm.4-.8c.6 0 1-.4 1-.9V14h-1c-.5.1-.7.3-.7.6 0 .4.3.6.7.6ZM33.1 16.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7ZM37.7 26c-.7 0-1.2-.2-1.5-.7v.7H35v-6.3h1.2v2.5c.3-.5.8-.9 1.5-.9 1.1 0 1.8 1 1.8 2.4 0 1.5-.7 2.4-1.8 2.4Zm-.5-3.6c-.6 0-1 .5-1 1.3s.4 1.4 1 1.4c.7 0 1-.6 1-1.4 0-.8-.3-1.3-1-1.3ZM33.2 26.1c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7zm6 7h-1c-.1-.5-.4-.8-1-.8s-1 .5-1 1.4c0 1 .4 1.4 1 1.4.5 0 .9-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7zm-6.1 3c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7z"/></g></svg>',"list-num-lower-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.3 15.2c.5 0 1-.4 1-.9V14h-1c-.5.1-.8.3-.8.6 0 .4.3.6.8.6Zm-.4.9c-1 0-1.5-.6-1.5-1.4 0-.8.6-1.3 1.7-1.4h1.1v-.4c0-.4-.2-.6-.7-.6-.5 0-.8.1-.9.4h-1c0-.8.8-1.4 2-1.4 1.1 0 1.8.6 1.8 1.6V16h-1.1v-.6h-.1c-.2.4-.7.7-1.3.7Zm4.6 0c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-3.2 10c-.6 0-1.2-.3-1.4-.8v.7H8.5v-6.3H10v2.5c.3-.5.8-.9 1.4-.9 1.2 0 1.9 1 1.9 2.4 0 1.5-.7 2.4-1.9 2.4Zm-.4-3.7c-.7 0-1 .5-1 1.3s.3 1.4 1 1.4c.6 0 1-.6 1-1.4 0-.8-.4-1.3-1-1.3Zm4 3.7c-.5 0-.7-.3-.7-.7 0-.4.2-.7.7-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-2.2 7h-1.2c0-.5-.4-.8-.9-.8-.6 0-1 .5-1 1.4 0 1 .4 1.4 1 1.4.5 0 .8-.2 1-.7h1c0 1-.8 1.7-2 1.7-1.4 0-2.2-.9-2.2-2.4s.8-2.4 2.2-2.4c1.2 0 2 .7 2 1.7Zm1.8 3c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M37.4 16c-1.2 0-2-.8-2-2.3 0-1.5.8-2.4 2-2.4.6 0 1 .4 1.3 1v-.9H40v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1-.7h-.2c-.2.4-.7.8-1.3.8Zm.3-1c.6 0 1-.5 1-1.3s-.4-1.3-1-1.3-1 .5-1 1.3.4 1.4 1 1.4ZM33.3 16.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM36 21.9c0-1.5.8-2.3 2.1-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.9 1.3.9.3 1.3.8 1.3 1.7 0 1.2-.7 1.9-1.8 1.9-.6 0-1.1-.3-1.4-.8v2.2H36V22Zm1.8 1.2v-1h.3c.5 0 .9-.2.9-.7 0-.5-.3-.8-.9-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1 1.3s1-.4 1-1-.4-1-1.2-1h-.3ZM33.3 26.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7ZM37.1 34.6 34.8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.2.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1ZM33.3 36.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-greek":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M10.5 15c.7 0 1-.5 1-1.3s-.3-1.3-1-1.3c-.5 0-.9.5-.9 1.3s.4 1.4 1 1.4Zm-.3 1c-1.1 0-1.8-.8-1.8-2.3 0-1.5.7-2.4 1.8-2.4.7 0 1.1.4 1.3 1h.1v-.9h1.2v3.2c0 .4.1.5.4.5h.2v.9h-.6c-.6 0-1-.2-1.1-.7h-.1c-.2.4-.7.8-1.4.8Zm5 .1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.7-.7.5 0 .8.3.8.7 0 .4-.3.7-.8.7Zm-4.9 7v-1h.3c.6 0 1-.2 1-.7 0-.5-.4-.8-1-.8-.5 0-.8.3-.8 1v2.2c0 .8.4 1.3 1.1 1.3.6 0 1-.4 1-1s-.5-1-1.3-1h-.3ZM8.6 22c0-1.5.7-2.3 2-2.3 1.2 0 2 .6 2 1.6 0 .6-.3 1-.8 1.3.8.3 1.3.8 1.3 1.7 0 1.2-.8 1.9-1.9 1.9-.6 0-1.1-.3-1.3-.8v2.2H8.5V22Zm6.2 4.2c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm-4.5 8.5L8 30h1.4l1.7 3.5 1.7-3.5h1.1l-2.2 4.6v.1c.5.8.7 1.4.7 1.8 0 .4-.1.8-.4 1-.2.2-.6.3-1 .3-.9 0-1.3-.4-1.3-1.2 0-.5.2-1 .5-1.7l.1-.2Zm.7 1a2 2 0 0 0-.4.9c0 .3.1.4.4.4.3 0 .4-.1.4-.4 0-.2-.1-.6-.4-1Zm4.5.5c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-lower-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M32.9 16v-1.2h-1.3V16H33Zm0 10v-1.2h-1.3V26H33Zm0 10v-1.2h-1.3V36H33Z"/><path fill-rule="nonzero" d="M36 21h-1.5v5H36zM36 31h-1.5v5H36zM39 21h-1.5v5H39zM39 31h-1.5v5H39zM42 31h-1.5v5H42zM36 11h-1.5v5H36zM36 19h-1.5v1H36zM36 29h-1.5v1H36zM39 19h-1.5v1H39zM39 29h-1.5v1H39zM42 29h-1.5v1H42zM36 9h-1.5v1H36z"/></g></svg>',"list-num-lower-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 16v-1.2h1.3V16H15Zm0 10v-1.2h1.3V26H15Zm0 10v-1.2h1.3V36H15Z"/><path fill-rule="nonzero" d="M12 21h1.5v5H12zM12 31h1.5v5H12zM9 21h1.5v5H9zM9 31h1.5v5H9zM6 31h1.5v5H6zM12 11h1.5v5H12zM12 19h1.5v1H12zM12 29h1.5v1H12zM9 19h1.5v1H9zM9 29h1.5v1H9zM6 29h1.5v1H6zM12 9h1.5v1H12z"/></g></svg>',"list-num-upper-alpha-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="m39.3 17-.5-1.4h-2l-.5 1.4H35l2-6h1.6l2 6h-1.3Zm-1.6-4.7-.7 2.3h1.6l-.8-2.3ZM33.4 17c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7Zm4.7 9.9h-2.7v-6H38c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7Zm-1.4-5v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4h1.1c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9h-1.1V26ZM33 27.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm4.9 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm-4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-alpha":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="m12.6 17-.5-1.4h-2L9.5 17H8.3l2-6H12l2 6h-1.3ZM11 12.3l-.7 2.3h1.6l-.8-2.3Zm4.7 4.8c-.4 0-.7-.3-.7-.7 0-.4.3-.7.7-.7.5 0 .7.3.7.7 0 .4-.2.7-.7.7ZM11.4 27H8.7v-6h2.6c1.2 0 1.9.6 1.9 1.5 0 .6-.5 1.2-1 1.3.7.1 1.3.7 1.3 1.5 0 1-.8 1.7-2 1.7ZM10 22v1.5h1c.6 0 1-.3 1-.8 0-.4-.4-.7-1-.7h-1Zm0 4H11c.7 0 1.1-.3 1.1-.8 0-.6-.4-.9-1.1-.9H10V26Zm5.4 1.1c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Zm-4.1 10c-1.8 0-2.8-1.1-2.8-3.1s1-3.1 2.8-3.1c1.4 0 2.5.9 2.6 2.2h-1.3c0-.7-.6-1.1-1.3-1.1-1 0-1.6.7-1.6 2s.6 2 1.6 2c.7 0 1.2-.4 1.4-1h1.2c-.1 1.3-1.2 2.2-2.6 2.2Zm4.5 0c-.5 0-.8-.3-.8-.7 0-.4.3-.7.8-.7.4 0 .7.3.7.7 0 .4-.3.7-.7.7Z"/></g></svg>',"list-num-upper-roman-rtl":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M8 12h22v4H8zM8 22h22v4H8zM8 32h22v4H8z"/><path d="M31.6 17v-1.2H33V17h-1.3Zm0 10v-1.2H33V27h-1.3Zm0 10v-1.2H33V37h-1.3Z"/><path fill-rule="nonzero" d="M34.5 20H36v7h-1.5zM34.5 30H36v7h-1.5zM37.5 20H39v7h-1.5zM37.5 30H39v7h-1.5zM40.5 30H42v7h-1.5zM34.5 10H36v7h-1.5z"/></g></svg>',"list-num-upper-roman":'<svg width="48" height="48"><g fill-rule="evenodd"><path opacity=".2" d="M18 12h22v4H18zM18 22h22v4H18zM18 32h22v4H18z"/><path d="M15.1 17v-1.2h1.3V17H15Zm0 10v-1.2h1.3V27H15Zm0 10v-1.2h1.3V37H15Z"/><path fill-rule="nonzero" d="M12 20h1.5v7H12zM12 30h1.5v7H12zM9 20h1.5v7H9zM9 30h1.5v7H9zM6 30h1.5v7H6zM12 10h1.5v7H12z"/></g></svg>',lock:'<svg width="24" height="24"><path d="M16.3 11c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H8V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h.3ZM10 8v3h4V8a1 1 0 0 0-.3-.7A1 1 0 0 0 13 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7Z" fill-rule="evenodd"/></svg>',ltr:'<svg width="24" height="24"><path d="M11 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 7.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L11 5ZM4.4 16.2 6.2 15l-1.8-1.2a1 1 0 0 1 1.2-1.6l3 2a1 1 0 0 1 0 1.6l-3 2a1 1 0 1 1-1.2-1.6Z" fill-rule="evenodd"/></svg>',"more-drawer":'<svg width="24" height="24"><path d="M6 10a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm12 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Zm-6 0a2 2 0 0 0-2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2 2 2 0 0 0-2-2Z" fill-rule="nonzero"/></svg>',"new-document":'<svg width="24" height="24"><path d="M14.4 3H7a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h10a2 2 0 0 0 2-2V7.6L14.4 3ZM17 19H7V5h6v4h4v10Z" fill-rule="nonzero"/></svg>',"new-tab":'<svg width="24" height="24"><path d="m15 13 2-2v8H5V7h8l-2 2H7v8h8v-4Zm4-8v5.5l-2-2-5.6 5.5H10v-1.4L15.5 7l-2-2H19Z" fill-rule="evenodd"/></svg>',"non-breaking":'<svg width="24" height="24"><path d="M11 11H8a1 1 0 1 1 0-2h3V6c0-.6.4-1 1-1s1 .4 1 1v3h3c.6 0 1 .4 1 1s-.4 1-1 1h-3v3c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-3Zm10 4v5H3v-5c0-.6.4-1 1-1s1 .4 1 1v3h14v-3c0-.6.4-1 1-1s1 .4 1 1Z" fill-rule="evenodd"/></svg>',notice:'<svg width="24" height="24"><path d="M17.8 9.8 15.4 4 20 8.5v7L15.5 20h-7L4 15.5v-7L8.5 4h7l2.3 5.8Zm0 0 2.2 5.7-2.3-5.8ZM13 17v-2h-2v2h2Zm0-4V7h-2v6h2Z" fill-rule="evenodd"/></svg>',"ordered-list-rtl":'<svg width="24" height="24"><path d="M6 17h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 0 1 0-2Zm0-6h8a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2Zm13-1v3.5a.5.5 0 1 1-1 0V5h-.5a.5.5 0 1 1 0-1H19Zm-1 8.8.2.2h1.3a.5.5 0 1 1 0 1h-1.6a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2h-1.3a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3Zm2 4.2v2c0 .6-.4 1-1 1h-1.5a.5.5 0 0 1 0-1h1.2a.3.3 0 1 0 0-.6h-1.3a.4.4 0 1 1 0-.8h1.3a.3.3 0 0 0 0-.6h-1.2a.5.5 0 1 1 0-1H19c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',"ordered-list":'<svg width="24" height="24"><path d="M10 17h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0-6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 1 1 0-2ZM6 4v3.5c0 .3-.2.5-.5.5a.5.5 0 0 1-.5-.5V5h-.5a.5.5 0 0 1 0-1H6Zm-1 8.8.2.2h1.3c.3 0 .5.2.5.5s-.2.5-.5.5H4.9a1 1 0 0 1-.9-1V13c0-.4.3-.8.6-1l1.2-.4.2-.3a.2.2 0 0 0-.2-.2H4.5a.5.5 0 0 1-.5-.5c0-.3.2-.5.5-.5h1.6c.5 0 .9.4.9 1v.1c0 .4-.3.8-.6 1l-1.2.4-.2.3ZM7 17v2c0 .6-.4 1-1 1H4.5a.5.5 0 0 1 0-1h1.2c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.4a.4.4 0 1 1 0-.8h1.3c.2 0 .3-.1.3-.3 0-.2-.1-.3-.3-.3H4.5a.5.5 0 1 1 0-1H6c.6 0 1 .4 1 1Z" fill-rule="evenodd"/></svg>',orientation:'<svg width="24" height="24"><path d="M7.3 6.4 1 13l6.4 6.5 6.5-6.5-6.5-6.5ZM3.7 13l3.6-3.7L11 13l-3.7 3.7-3.6-3.7ZM12 6l2.8 2.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0L9.2 5.7a.8.8 0 0 1 0-1.2L13.6.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L12 4h1a9 9 0 1 1-4.3 16.9l1.5-1.5A7 7 0 1 0 13 6h-1Z" fill-rule="nonzero"/></svg>',outdent:'<svg width="24" height="24"><path d="M7 5h12c.6 0 1 .4 1 1s-.4 1-1 1H7a1 1 0 1 1 0-2Zm5 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm0 4h7c.6 0 1 .4 1 1s-.4 1-1 1h-7a1 1 0 0 1 0-2Zm-5 4h12a1 1 0 0 1 0 2H7a1 1 0 0 1 0-2Zm1.6-3.8a1 1 0 0 1-1.2 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 0 1 1.2 1.6L6.8 12l1.8 1.2Z" fill-rule="evenodd"/></svg>',"page-break":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M5 11c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h1c.6 0 1 .4 1 1s-.4 1-1 1h-1a1 1 0 0 1 0-2Zm4 0c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2ZM7 3v5h10V3c0-.6.4-1 1-1s1 .4 1 1v7H5V3c0-.6.4-1 1-1s1 .4 1 1ZM6 22a1 1 0 0 1-1-1v-7h14v7c0 .6-.4 1-1 1a1 1 0 0 1-1-1v-5H7v5c0 .6-.4 1-1 1Z"/></g></svg>',paragraph:'<svg width="24" height="24"><path fill-rule="evenodd" d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z"/></svg>',"paste-column-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h7v2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm8 7v12h-6V8h6Zm-1.5 1.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-column-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V18c0 1-.8 2-1.9 2H11v-2h7V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v2H4V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm-2 7v12H4V8h6ZM8.5 9.5h-3v9h3v-9ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-after":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V11h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h14c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 11v5H8v-5h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-row-before":'<svg width="24" height="24"><path fill-rule="evenodd" d="M12 1a3 3 0 0 1 2.8 2H18c1 0 2 .8 2 1.9V7h-2V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h12v-4h2v4c0 1-.8 2-1.9 2H6c-1 0-2-.8-2-1.9V5c0-1 .8-2 1.9-2H9.2A3 3 0 0 1 12 1Zm10 7v5H8V8h14Zm-1.5 1.5h-11v2h11v-2ZM12 3a1 1 0 1 0 0 2 1 1 0 0 0 0-2Z"/></svg>',"paste-text":'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Zm0 9h6v2h-.5l-.5-1h-1v4h.8v1h-3.6v-1h.8v-4h-1l-.5 1H12v-2Z" fill-rule="nonzero"/></svg>',paste:'<svg width="24" height="24"><path d="M18 9V5h-2v1c0 .6-.4 1-1 1H9a1 1 0 0 1-1-1V5H6v13h3V9h9ZM9 20H6a2 2 0 0 1-2-2V5c0-1.1.9-2 2-2h3.2A3 3 0 0 1 12 1a3 3 0 0 1 2.8 2H18a2 2 0 0 1 2 2v4h1v12H9v-1Zm1.5-9.5v9h9v-9h-9ZM12 3a1 1 0 0 0-1 1c0 .5.4 1 1 1s1-.5 1-1-.4-1-1-1Z" fill-rule="nonzero"/></svg>',"permanent-pen":'<svg width="24" height="24"><path d="M10.5 17.5 8 20H3v-3l3.5-3.5a2 2 0 0 1 0-3L14 3l1 1-7.3 7.3a1 1 0 0 0 0 1.4l3.6 3.6c.4.4 1 .4 1.4 0L20 9l1 1-7.6 7.6a2 2 0 0 1-2.8 0l-.1-.1Z" fill-rule="nonzero"/></svg>',plus:'<svg width="24" height="24"><path d="M12 4c.5 0 1 .4 1 .9V11h6a1 1 0 0 1 .1 2H13v6a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H11V5c0-.6.4-1 1-1Z"/></svg>',preferences:'<svg width="24" height="24"><path d="m20.1 13.5-1.9.2a5.8 5.8 0 0 1-.6 1.5l1.2 1.5c.4.4.3 1 0 1.4l-.7.7a1 1 0 0 1-1.4 0l-1.5-1.2a6.2 6.2 0 0 1-1.5.6l-.2 1.9c0 .5-.5.9-1 .9h-1a1 1 0 0 1-1-.9l-.2-1.9a5.8 5.8 0 0 1-1.5-.6l-1.5 1.2a1 1 0 0 1-1.4 0l-.7-.7a1 1 0 0 1 0-1.4l1.2-1.5a6.2 6.2 0 0 1-.6-1.5l-1.9-.2a1 1 0 0 1-.9-1v-1c0-.5.4-1 .9-1l1.9-.2a5.8 5.8 0 0 1 .6-1.5L5.2 7.3a1 1 0 0 1 0-1.4l.7-.7a1 1 0 0 1 1.4 0l1.5 1.2a6.2 6.2 0 0 1 1.5-.6l.2-1.9c0-.5.5-.9 1-.9h1c.5 0 1 .4 1 .9l.2 1.9a5.8 5.8 0 0 1 1.5.6l1.5-1.2a1 1 0 0 1 1.4 0l.7.7c.3.4.4 1 0 1.4l-1.2 1.5a6.2 6.2 0 0 1 .6 1.5l1.9.2c.5 0 .9.5.9 1v1c0 .5-.4 1-.9 1ZM12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z" fill-rule="evenodd"/></svg>',preview:'<svg width="24" height="24"><path d="M3.5 12.5c.5.8 1.1 1.6 1.8 2.3 2 2 4.2 3.2 6.7 3.2s4.7-1.2 6.7-3.2a16.2 16.2 0 0 0 2.1-2.8 15.7 15.7 0 0 0-2.1-2.8c-2-2-4.2-3.2-6.7-3.2a9.3 9.3 0 0 0-6.7 3.2A16.2 16.2 0 0 0 3.2 12c0 .2.2.3.3.5Zm-2.4-1 .7-1.2L4 7.8C6.2 5.4 8.9 4 12 4c3 0 5.8 1.4 8.1 3.8a18.2 18.2 0 0 1 2.8 3.7v1l-.7 1.2-2.1 2.5c-2.3 2.4-5 3.8-8.1 3.8-3 0-5.8-1.4-8.1-3.8a18.2 18.2 0 0 1-2.8-3.7 1 1 0 0 1 0-1Zm12-3.3a2 2 0 1 0 2.7 2.6 4 4 0 1 1-2.6-2.6Z" fill-rule="nonzero"/></svg>',print:'<svg width="24" height="24"><path d="M18 8H6a3 3 0 0 0-3 3v6h2v3h14v-3h2v-6a3 3 0 0 0-3-3Zm-1 10H7v-4h10v4Zm.5-5c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5Zm.5-8H6v2h12V5Z" fill-rule="nonzero"/></svg>',quote:'<svg width="24" height="24"><path d="M7.5 17h.9c.4 0 .7-.2.9-.6L11 13V8c0-.6-.4-1-1-1H6a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Zm8 0h.9c.4 0 .7-.2.9-.6L19 13V8c0-.6-.4-1-1-1h-4a1 1 0 0 0-1 1v4c0 .6.4 1 1 1h2l-1.3 2.7a1 1 0 0 0 .8 1.3Z" fill-rule="nonzero"/></svg>',redo:'<svg width="24" height="24"><path d="M17.6 10H12c-2.8 0-4.4 1.4-4.9 3.5-.4 2 .3 4 1.4 4.6a1 1 0 1 1-1 1.8c-2-1.2-2.9-4.1-2.3-6.8.6-3 3-5.1 6.8-5.1h5.6l-3.3-3.3a1 1 0 1 1 1.4-1.4l5 5a1 1 0 0 1 0 1.4l-5 5a1 1 0 0 1-1.4-1.4l3.3-3.3Z" fill-rule="nonzero"/></svg>',reload:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="m5 22.1-1.2-4.7v-.2a1 1 0 0 1 1-1l5 .4a1 1 0 1 1-.2 2l-2.2-.2a7.8 7.8 0 0 0 8.4.2 7.5 7.5 0 0 0 3.5-6.4 1 1 0 1 1 2 0 9.5 9.5 0 0 1-4.5 8 9.9 9.9 0 0 1-10.2 0l.4 1.4a1 1 0 1 1-2 .5ZM13.6 7.4c0-.5.5-1 1-.9l2.8.2a8 8 0 0 0-9.5-1 7.5 7.5 0 0 0-3.6 7 1 1 0 0 1-2 0 9.5 9.5 0 0 1 4.5-8.6 10 10 0 0 1 10.9.3l-.3-1a1 1 0 0 1 2-.5l1.1 4.8a1 1 0 0 1-1 1.2l-5-.4a1 1 0 0 1-.9-1Z"/></g></svg>',"remove-formatting":'<svg width="24" height="24"><path d="M13.2 6a1 1 0 0 1 0 .2l-2.6 10a1 1 0 0 1-1 .8h-.2a.8.8 0 0 1-.8-1l2.6-10H8a1 1 0 1 1 0-2h9a1 1 0 0 1 0 2h-3.8ZM5 18h7a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Zm13 1.5L16.5 18 15 19.5a.7.7 0 0 1-1-1l1.5-1.5-1.5-1.5a.7.7 0 0 1 1-1l1.5 1.5 1.5-1.5a.7.7 0 0 1 1 1L17.5 17l1.5 1.5a.7.7 0 0 1-1 1Z" fill-rule="evenodd"/></svg>',remove:'<svg width="24" height="24"><path d="M16 7h3a1 1 0 0 1 0 2h-1v9a3 3 0 0 1-3 3H9a3 3 0 0 1-3-3V9H5a1 1 0 1 1 0-2h3V6a3 3 0 0 1 3-3h2a3 3 0 0 1 3 3v1Zm-2 0V6c0-.6-.4-1-1-1h-2a1 1 0 0 0-1 1v1h4Zm2 2H8v9c0 .6.4 1 1 1h6c.6 0 1-.4 1-1V9Zm-7 3a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Zm4 0a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0v-4Z" fill-rule="nonzero"/></svg>',"resize-handle":'<svg width="10" height="10"><g fill-rule="nonzero"><path d="M8.1 1.1A.5.5 0 1 1 9 2l-7 7A.5.5 0 1 1 1 8l7-7ZM8.1 5.1A.5.5 0 1 1 9 6l-3 3A.5.5 0 1 1 5 8l3-3Z"/></g></svg>',resize:'<svg width="24" height="24"><path d="M4 5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h6c.3 0 .5.1.7.3.2.2.3.4.3.7 0 .3-.1.5-.3.7a1 1 0 0 1-.7.3H7.4L18 16.6V13c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3.3 0 .5.1.7.3.2.2.3.4.3.7v6c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-6a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3.6L6 7.4V11c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3 1 1 0 0 1-.7-.3A1 1 0 0 1 4 11V5Z" fill-rule="evenodd"/></svg>',"restore-draft":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M17 13c0 .6-.4 1-1 1h-4V8c0-.6.4-1 1-1s1 .4 1 1v4h2c.6 0 1 .4 1 1Z"/><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></g></svg>',"rotate-left":'<svg width="24" height="24"><path d="M4.7 10H9a1 1 0 0 1 0 2H3a1 1 0 0 1-1-1V5a1 1 0 1 1 2 0v3l2.5-2.4a9.2 9.2 0 0 1 10.8-1.5A9 9 0 0 1 13.4 21c-2.4.1-4.7-.7-6.5-2.2a1 1 0 1 1 1.3-1.5 7.2 7.2 0 0 0 11.6-3.7 7 7 0 0 0-3.5-7.7A7.2 7.2 0 0 0 8 7L4.7 10Z" fill-rule="nonzero"/></svg>',"rotate-right":'<svg width="24" height="24"><path d="M20 8V5a1 1 0 0 1 2 0v6c0 .6-.4 1-1 1h-6a1 1 0 0 1 0-2h4.3L16 7A7.2 7.2 0 0 0 7.7 6a7 7 0 0 0 3 13.1c1.9.1 3.7-.5 5-1.7a1 1 0 0 1 1.4 1.5A9.2 9.2 0 0 1 2.2 14c-.9-3.9 1-8 4.5-9.9 3.5-1.9 8-1.3 10.8 1.5L20 8Z" fill-rule="nonzero"/></svg>',rtl:'<svg width="24" height="24"><path d="M8 5h8v2h-2v12h-2V7h-2v12H8v-7c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 4.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L8 5Zm12 11.2a1 1 0 1 1-1 1.6l-3-2a1 1 0 0 1 0-1.6l3-2a1 1 0 1 1 1 1.6L18.4 15l1.8 1.2Z" fill-rule="evenodd"/></svg>',save:'<svg width="24" height="24"><path d="M5 16h14a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2Zm0 2v2h14v-2H5Zm10 0h2v2h-2v-2Zm-4-6.4L8.7 9.3a1 1 0 1 0-1.4 1.4l4 4c.4.4 1 .4 1.4 0l4-4a1 1 0 1 0-1.4-1.4L13 11.6V4a1 1 0 0 0-2 0v7.6Z" fill-rule="nonzero"/></svg>',search:'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Z" fill-rule="nonzero"/></svg>',"select-all":'<svg width="24" height="24"><path d="M3 5h2V3a2 2 0 0 0-2 2Zm0 8h2v-2H3v2Zm4 8h2v-2H7v2ZM3 9h2V7H3v2Zm10-6h-2v2h2V3Zm6 0v2h2a2 2 0 0 0-2-2ZM5 21v-2H3c0 1.1.9 2 2 2Zm-2-4h2v-2H3v2ZM9 3H7v2h2V3Zm2 18h2v-2h-2v2Zm8-8h2v-2h-2v2Zm0 8a2 2 0 0 0 2-2h-2v2Zm0-12h2V7h-2v2Zm0 8h2v-2h-2v2Zm-4 4h2v-2h-2v2Zm0-16h2V3h-2v2ZM7 17h10V7H7v10Zm2-8h6v6H9V9Z" fill-rule="nonzero"/></svg>',selected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm3.6 10.9L7 12.3a.7.7 0 0 0-1 1L9.6 17 18 8.6a.7.7 0 0 0 0-1 .7.7 0 0 0-1 0l-7.4 7.3Z"/></svg>',settings:'<svg width="24" height="24"><path d="M11 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V8H5a1 1 0 1 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.5V6ZM8 8h2V6H8v2Zm9 2.8v.2h2c.6 0 1 .4 1 1s-.4 1-1 1h-2v.3c0 .2 0 .3-.2.5l-.6.2h-2.4c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V13H5a1 1 0 0 1 0-2h8v-.3c0-.2 0-.3.2-.5l.6-.2h2.4c.3 0 .4 0 .6.2l.2.6ZM14 13h2v-2h-2v2Zm-3 2.8v.2h8c.6 0 1 .4 1 1s-.4 1-1 1h-8v.3c0 .2 0 .3-.2.5l-.6.2H7.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6V18H5a1 1 0 0 1 0-2h2v-.3c0-.2 0-.3.2-.5l.5-.2h2.5c.3 0 .4 0 .6.2l.2.6ZM8 18h2v-2H8v2Z" fill-rule="evenodd"/></svg>',sharpen:'<svg width="24" height="24"><path d="m16 6 4 4-8 9-8-9 4-4h8Zm-4 10.2 5.5-6.2-.1-.1H12v-.3h5.1l-.2-.2H12V9h4.6l-.2-.2H12v-.3h4.1l-.2-.2H12V8h3.6l-.2-.2H8.7L6.5 10l.1.1H12v.3H6.9l.2.2H12v.3H7.3l.2.2H12v.3H7.7l.3.2h4v.3H8.2l.2.2H12v.3H8.6l.3.2H12v.3H9l.3.2H12v.3H9.5l.2.2H12v.3h-2l.2.2H12v.3h-1.6l.2.2H12v.3h-1.1l.2.2h.9v.3h-.7l.2.2h.5v.3h-.3l.3.2Z" fill-rule="evenodd"/></svg>',sourcecode:'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M9.8 15.7c.3.3.3.8 0 1-.3.4-.9.4-1.2 0l-4.4-4.1a.8.8 0 0 1 0-1.2l4.4-4.2c.3-.3.9-.3 1.2 0 .3.3.3.8 0 1.1L6 12l3.8 3.7ZM14.2 15.7c-.3.3-.3.8 0 1 .4.4.9.4 1.2 0l4.4-4.1c.3-.3.3-.9 0-1.2l-4.4-4.2a.8.8 0 0 0-1.2 0c-.3.3-.3.8 0 1.1L18 12l-3.8 3.7Z"/></g></svg>',"spell-check":'<svg width="24" height="24"><path d="M6 8v3H5V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h2c.3 0 .5.1.7.3.2.2.3.4.3.7v6H8V8H6Zm0-3v2h2V5H6Zm13 0h-3v5h3v1h-3a1 1 0 0 1-.7-.3 1 1 0 0 1-.3-.7V5c0-.3.1-.5.3-.7.2-.2.4-.3.7-.3h3v1Zm-5 1.5-.1.7c-.1.2-.3.3-.6.3.3 0 .5.1.6.3l.1.7V10c0 .3-.1.5-.3.7a1 1 0 0 1-.7.3h-3V4h3c.3 0 .5.1.7.3.2.2.3.4.3.7v1.5ZM13 10V8h-2v2h2Zm0-3V5h-2v2h2Zm3 5 1 1-6.5 7L7 15.5l1.3-1 2.2 2.2L16 12Z" fill-rule="evenodd"/></svg>',"strike-through":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M15.6 8.5c-.5-.7-1-1.1-1.3-1.3-.6-.4-1.3-.6-2-.6-2.7 0-2.8 1.7-2.8 2.1 0 1.6 1.8 2 3.2 2.3 4.4.9 4.6 2.8 4.6 3.9 0 1.4-.7 4.1-5 4.1A6.2 6.2 0 0 1 7 16.4l1.5-1.1c.4.6 1.6 2 3.7 2 1.6 0 2.5-.4 3-1.2.4-.8.3-2-.8-2.6-.7-.4-1.6-.7-2.9-1-1-.2-3.9-.8-3.9-3.6C7.6 6 10.3 5 12.4 5c2.9 0 4.2 1.6 4.7 2.4l-1.5 1.1Z"/><path d="M5 11h14a1 1 0 0 1 0 2H5a1 1 0 0 1 0-2Z" fill-rule="nonzero"/></g></svg>',subscript:'<svg width="24" height="24"><path d="m10.4 10 4.6 4.6-1.4 1.4L9 11.4 4.4 16 3 14.6 7.6 10 3 5.4 4.4 4 9 8.6 13.6 4 15 5.4 10.4 10ZM21 19h-5v-1l1-.8 1.7-1.6c.3-.4.5-.8.5-1.2 0-.3 0-.6-.2-.7-.2-.2-.5-.3-.9-.3a2 2 0 0 0-.8.2l-.7.3-.4-1.1 1-.6 1.2-.2c.8 0 1.4.3 1.8.7.4.4.6.9.6 1.5s-.2 1.1-.5 1.6a8 8 0 0 1-1.3 1.3l-.6.6h2.6V19Z" fill-rule="nonzero"/></svg>',superscript:'<svg width="24" height="24"><path d="M15 9.4 10.4 14l4.6 4.6-1.4 1.4L9 15.4 4.4 20 3 18.6 7.6 14 3 9.4 4.4 8 9 12.6 13.6 8 15 9.4Zm5.9 1.6h-5v-1l1-.8 1.7-1.6c.3-.5.5-.9.5-1.3 0-.3 0-.5-.2-.7-.2-.2-.5-.3-.9-.3l-.8.2-.7.4-.4-1.2c.2-.2.5-.4 1-.5.3-.2.8-.2 1.2-.2.8 0 1.4.2 1.8.6.4.4.6 1 .6 1.6 0 .5-.2 1-.5 1.5l-1.3 1.4-.6.5h2.6V11Z" fill-rule="nonzero"/></svg>',"table-caption":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="12" height="2" x="3" y="4" rx="1"/><path d="M19 8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></g></svg>',"table-cell-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M13 4v9H3V6c0-1.1.9-2 2-2h8Zm-2 2H5v5h6V6Z"/><path fill-rule="nonzero" d="M13 4h6a2 2 0 0 1 2 2v7h-8v-2h6V6h-6V4Z" opacity=".2"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/><path fill-rule="nonzero" d="M3 13v5c0 1.1.9 2 2 2h8v-7h-2v5H5v-5H3Z" opacity=".2"/></g></svg>',"table-cell-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8 0h-6v5h6v-5Zm-8-7H5v5h6V6Z"/></svg>',"table-cell-select-all":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z" opacity=".2"/></g></svg>',"table-cell-select-inner":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v12h14V6Z" opacity=".2"/><path d="M13 6v5h6v2h-6v5h-2v-5H5v-2h6V6h2Z"/></g></svg>',"table-classes":'<svg width="24" height="24"><g fill-rule="evenodd"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v7h-8v7H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 9H5v5h6v-5Zm8-7h-6v5h6V6Zm-8 0H5v5h6V6Z"/><path d="m18 20-2.6 1.6.7-3-2.4-2 3.1-.2 1.2-2.9 1.2 2.9 3.1.2-2.4 2 .7 3z"/></g></svg>',"table-delete-column":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-4 4h-2V6h-2v2H9V6H5v12h4v-2h2v2h2v-2h2v2h4V6h-4v2Zm.3.5 1 1.2-3 2.3 3 2.3-1 1.2L12 13l-3.3 2.6-1-1.2 3-2.3-3-2.3 1-1.2L12 11l3.3-2.5Z"/></svg>',"table-delete-row":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 2H5v3h2.5v2H5v2h2.5v2H5v3h14v-3h-2.5v-2H19v-2h-2.5V9H19V6Zm-4.7 1.8 1.2 1L13 12l2.6 3.3-1.2 1-2.3-3-2.3 3-1.2-1L11 12 8.5 8.7l1.2-1 2.3 3 2.3-3Z"/></svg>',"table-delete-table":'<svg width="24" height="24"><g fill-rule="nonzero"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 6v12h14V6H5Z"/><path d="m14.4 8.6 1.1 1-2.4 2.4 2.4 2.4-1.1 1.1-2.4-2.4-2.4 2.4-1-1.1 2.3-2.4-2.3-2.4 1-1 2.4 2.3z"/></g></svg>',"table-insert-column-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M20 4c.6 0 1 .4 1 1v2a1 1 0 0 1-2 0V6h-8v12h8v-1a1 1 0 0 1 2 0v2c0 .5-.4 1-.9 1H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h15ZM9 13H5v5h4v-5Zm7-5c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H17v2a1 1 0 0 1-2 .1V13h-2a1 1 0 0 1-.1-2H15V9c0-.6.4-1 1-1ZM9 6H5v5h4V6Z"/></svg>',"table-insert-column-before":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H4a1 1 0 0 1-1-1v-2a1 1 0 0 1 2 0v1h8V6H5v1a1 1 0 1 1-2 0V5c0-.6.4-1 1-1h15Zm0 9h-4v5h4v-5ZM8 8c.5 0 1 .4 1 .9V11h2a1 1 0 0 1 .1 2H9v2a1 1 0 0 1-2 .1V13H5a1 1 0 0 1-.1-2H7V9c0-.6.4-1 1-1Zm11-2h-4v5h4V6Z"/></svg>',"table-insert-row-above":'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4a1 1 0 1 1 0 2H5v6h14V6h-1a1 1 0 0 1 0-2h2c.6 0 1 .4 1 1v13a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5c0-.6.4-1 1-1h2Zm5 10H5v4h6v-4Zm8 0h-6v4h6v-4ZM12 3c.5 0 1 .4 1 .9V6h2a1 1 0 0 1 0 2h-2v2a1 1 0 0 1-2 .1V8H9a1 1 0 0 1 0-2h2V4c0-.6.4-1 1-1Z"/></svg>',"table-insert-row-after":'<svg width="24" height="24"><path fill-rule="nonzero" d="M12 13c.5 0 1 .4 1 .9V16h2a1 1 0 0 1 .1 2H13v2a1 1 0 0 1-2 .1V18H9a1 1 0 0 1-.1-2H11v-2c0-.6.4-1 1-1Zm6 7a1 1 0 0 1 0-2h1v-6H5v6h1a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1V6c0-1.1.9-2 2-2h14a2 2 0 0 1 2 2v13c0 .5-.4 1-.9 1H18ZM11 6H5v4h6V6Zm8 0h-6v4h6V6Z"/></svg>',"table-left-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm0 9h-4v5h4v-5Zm-6 0H9v5h4v-5Zm0-7H9v5h4V6Zm6 0h-4v5h4V6Z"/></svg>',"table-merge-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15.5V18h3v-2.5H5Zm14-5h-9V18h9v-7.5ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Zm-8 7.5h3v-3H5v3Z"/></svg>',"table-row-numbering-rtl":'<svg width="24" height="24"><path d="M6 4a2 2 0 0 0-2 2v13c0 1.1.9 2 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2H6Zm0 12h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 11h8v3H6v-3Zm11 0c.6 0 1 .4 1 1v1a1 1 0 0 1-2 0v-1c0-.6.4-1 1-1ZM6 6h8v3H6V6Zm11 0c.6 0 1 .4 1 1v1a1 1 0 1 1-2 0V7c0-.6.4-1 1-1Z"/></svg>',"table-row-numbering":'<svg width="24" height="24"><path d="M18 4a2 2 0 0 1 2 2v13a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h12Zm0 12h-8v3h8v-3ZM7 16a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8v-3ZM7 11a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1c0-.6-.4-1-1-1Zm11-5h-8v3h8V6ZM7 6a1 1 0 0 0-1 1v1a1 1 0 1 0 2 0V7c0-.6-.4-1-1-1Z"/></svg>',"table-row-properties":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 15v3h6v-3H5Zm14 0h-6v3h6v-3Zm0-9h-6v3h6V6ZM5 9h6V6H5v3Z"/></svg>',"table-split-cells":'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM8 15.5H5V18h3v-2.5Zm11-5h-9V18h9v-7.5Zm-2.5 1 1 1-2 2 2 2-1 1-2-2-2 2-1-1 2-2-2-2 1-1 2 2 2-2Zm-8.5-1H5v3h3v-3ZM19 6h-4v2.5h4V6ZM8 6H5v2.5h3V6Zm5 0h-3v2.5h3V6Z"/></svg>',"table-top-header":'<svg width="24" height="24"><path d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14Zm-8 11H5v3h6v-3Zm8 0h-6v3h6v-3Zm0-5h-6v3h6v-3ZM5 13h6v-3H5v3Z"/></svg>',table:'<svg width="24" height="24"><path fill-rule="nonzero" d="M19 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h14ZM5 14v4h6v-4H5Zm14 0h-6v4h6v-4Zm0-6h-6v4h6V8ZM5 12h6V8H5v4Z"/></svg>',template:'<svg width="24" height="24"><path d="M19 19v-1H5v1h14ZM9 16v-4a5 5 0 1 1 6 0v4h4a2 2 0 0 1 2 2v3H3v-3c0-1.1.9-2 2-2h4Zm4 0v-5l.8-.6a3 3 0 1 0-3.6 0l.8.6v5h2Z" fill-rule="nonzero"/></svg>',"temporary-placeholder":'<svg width="24" height="24"><g fill-rule="evenodd"><path d="M9 7.6V6h2.5V4.5a.5.5 0 1 1 1 0V6H15v1.6a8 8 0 1 1-6 0Zm-2.6 5.3a.5.5 0 0 0 .3.6c.3 0 .6 0 .6-.3l.1-.2a5 5 0 0 1 3.3-2.8c.3-.1.4-.4.4-.6-.1-.3-.4-.5-.6-.4a6 6 0 0 0-4.1 3.7Z"/><circle cx="14" cy="4" r="1"/><circle cx="12" cy="2" r="1"/><circle cx="10" cy="4" r="1"/></g></svg>',"text-color":'<svg width="24" height="24"><g fill-rule="evenodd"><path id="tox-icon-text-color__color" d="M3 18h18v3H3z"/><path d="M8.7 16h-.8a.5.5 0 0 1-.5-.6l2.7-9c.1-.3.3-.4.5-.4h2.8c.2 0 .4.1.5.4l2.7 9a.5.5 0 0 1-.5.6h-.8a.5.5 0 0 1-.4-.4l-.7-2.2c0-.3-.3-.4-.5-.4h-3.4c-.2 0-.4.1-.5.4l-.7 2.2c0 .3-.2.4-.4.4Zm2.6-7.6-.6 2a.5.5 0 0 0 .5.6h1.6a.5.5 0 0 0 .5-.6l-.6-2c0-.3-.3-.4-.5-.4h-.4c-.2 0-.4.1-.5.4Z"/></g></svg>',toc:'<svg width="24" height="24"><path d="M5 5c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 1 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h11c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Zm0-4c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 1 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm-3 8c.6 0 1 .4 1 1s-.4 1-1 1a1 1 0 0 1 0-2Zm3 0h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',translate:'<svg width="24" height="24"><path d="m12.7 14.3-.3.7-.4.7-2.2-2.2-3.1 3c-.3.4-.8.4-1 0a.7.7 0 0 1 0-1l3.1-3A12.4 12.4 0 0 1 6.7 9H8a10.1 10.1 0 0 0 1.7 2.4c.5-.5 1-1.1 1.4-1.8l.9-2H4.7a.7.7 0 1 1 0-1.5h4.4v-.7c0-.4.3-.8.7-.8.4 0 .7.4.7.8v.7H15c.4 0 .8.3.8.7 0 .4-.4.8-.8.8h-1.4a12.3 12.3 0 0 1-1 2.4 13.5 13.5 0 0 1-1.7 2.3l1.9 1.8Zm4.3-3 2.7 7.3a.5.5 0 0 1-.4.7 1 1 0 0 1-1-.7l-.6-1.5h-3.4l-.6 1.5a1 1 0 0 1-1 .7.5.5 0 0 1-.4-.7l2.7-7.4a1 1 0 0 1 2 0Zm-2.2 4.4h2.4L16 12.5l-1.2 3.2Z" fill-rule="evenodd"/></svg>',underline:'<svg width="24" height="24"><path d="M16 5c.6 0 1 .4 1 1v5.5a4 4 0 0 1-.4 1.8l-1 1.4a5.3 5.3 0 0 1-5.5 1 5 5 0 0 1-1.6-1c-.5-.4-.8-.9-1.1-1.4a4 4 0 0 1-.4-1.8V6c0-.6.4-1 1-1s1 .4 1 1v5.5c0 .3 0 .6.2 1l.6.7a3.3 3.3 0 0 0 2.2.8 3.4 3.4 0 0 0 2.2-.8c.3-.2.4-.5.6-.8l.2-.9V6c0-.6.4-1 1-1ZM8 17h8c.6 0 1 .4 1 1s-.4 1-1 1H8a1 1 0 0 1 0-2Z" fill-rule="evenodd"/></svg>',undo:'<svg width="24" height="24"><path d="M6.4 8H12c3.7 0 6.2 2 6.8 5.1.6 2.7-.4 5.6-2.3 6.8a1 1 0 0 1-1-1.8c1.1-.6 1.8-2.7 1.4-4.6-.5-2.1-2.1-3.5-4.9-3.5H6.4l3.3 3.3a1 1 0 1 1-1.4 1.4l-5-5a1 1 0 0 1 0-1.4l5-5a1 1 0 0 1 1.4 1.4L6.4 8Z" fill-rule="nonzero"/></svg>',unlink:'<svg width="24" height="24"><path d="M6.2 12.3a1 1 0 0 1 1.4 1.4l-2 2a2 2 0 1 0 2.6 2.8l4.8-4.8a1 1 0 0 0 0-1.4 1 1 0 1 1 1.4-1.3 2.9 2.9 0 0 1 0 4L9.6 20a3.9 3.9 0 0 1-5.5-5.5l2-2Zm11.6-.6a1 1 0 0 1-1.4-1.4l2.1-2a2 2 0 1 0-2.7-2.8L11 10.3a1 1 0 0 0 0 1.4A1 1 0 1 1 9.6 13a2.9 2.9 0 0 1 0-4L14.4 4a3.9 3.9 0 0 1 5.5 5.5l-2 2ZM7.6 6.3a.8.8 0 0 1-1 1.1L3.3 4.2a.7.7 0 1 1 1-1l3.2 3.1ZM5.1 8.6a.8.8 0 0 1 0 1.5H3a.8.8 0 0 1 0-1.5H5Zm5-3.5a.8.8 0 0 1-1.5 0V3a.8.8 0 0 1 1.5 0V5Zm6 11.8a.8.8 0 0 1 1-1l3.2 3.2a.8.8 0 0 1-1 1L16 17Zm-2.2 2a.8.8 0 0 1 1.5 0V21a.8.8 0 0 1-1.5 0V19Zm5-3.5a.7.7 0 1 1 0-1.5H21a.8.8 0 0 1 0 1.5H19Z" fill-rule="nonzero"/></svg>',unlock:'<svg width="24" height="24"><path d="M16 5c.8 0 1.5.3 2.1.9.6.6.9 1.3.9 2.1v3h-2V8a1 1 0 0 0-.3-.7A1 1 0 0 0 16 7h-2a1 1 0 0 0-.7.3 1 1 0 0 0-.3.7v3h.3c.2 0 .3 0 .5.2l.2.6v7.4c0 .3 0 .4-.2.6l-.6.2H4.8c-.3 0-.4 0-.6-.2a.7.7 0 0 1-.2-.6v-7.4c0-.3 0-.4.2-.6l.5-.2H11V8c0-.8.3-1.5.9-2.1.6-.6 1.3-.9 2.1-.9h2Z" fill-rule="evenodd"/></svg>',"unordered-list":'<svg width="24" height="24"><path d="M11 5h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2Zm0 6h8c.6 0 1 .4 1 1s-.4 1-1 1h-8a1 1 0 0 1 0-2ZM4.5 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Zm0 6c0-.4.1-.8.4-1 .3-.4.7-.5 1.1-.5.4 0 .8.1 1 .4.4.3.5.7.5 1.1 0 .4-.1.8-.4 1-.3.4-.7.5-1.1.5-.4 0-.8-.1-1-.4-.4-.3-.5-.7-.5-1.1Z" fill-rule="evenodd"/></svg>',unselected:'<svg width="24" height="24"><path fill-rule="nonzero" d="M6 4h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2Zm0 1a1 1 0 0 0-1 1v12c0 .6.4 1 1 1h12c.6 0 1-.4 1-1V6c0-.6-.4-1-1-1H6Z"/></svg>',upload:'<svg width="24" height="24"><path d="M18 19v-2a1 1 0 0 1 2 0v3c0 .6-.4 1-1 1H5a1 1 0 0 1-1-1v-3a1 1 0 0 1 2 0v2h12ZM11 6.4 8.7 8.7a1 1 0 0 1-1.4-1.4l4-4a1 1 0 0 1 1.4 0l4 4a1 1 0 1 1-1.4 1.4L13 6.4V16a1 1 0 0 1-2 0V6.4Z" fill-rule="nonzero"/></svg>',user:'<svg width="24" height="24"><path d="M12 24a12 12 0 1 1 0-24 12 12 0 0 1 0 24Zm-8.7-5.3a11 11 0 0 0 17.4 0C19.4 16.3 14.6 15 12 15c-2.6 0-7.4 1.3-8.7 3.7ZM12 13c2.2 0 4-2 4-4.5S14.2 4 12 4 8 6 8 8.5 9.8 13 12 13Z" fill-rule="nonzero"/></svg>',"vertical-align":'<svg width="24" height="24"><g fill-rule="nonzero"><rect width="18" height="2" x="3" y="11" rx="1"/><path d="M12 2c.6 0 1 .4 1 1v4l2-1.3a1 1 0 0 1 1.2 1.5l-.1.1-4.1 3-4-3a1 1 0 0 1 1-1.7l2 1.5V3c0-.6.4-1 1-1zm0 11.8 4 2.9a1 1 0 0 1-1 1.7l-2-1.5V21c0 .5-.4 1-.9 1H12a1 1 0 0 1-1-1v-4l-2 1.3a1 1 0 0 1-1.2-.1l-.1-.1a1 1 0 0 1 .1-1.3l.1-.1 4.1-3z"/></g></svg>',visualblocks:'<svg width="24" height="24"><path d="M9 19v2H7v-2h2Zm-4 0v2a2 2 0 0 1-2-2h2Zm8 0v2h-2v-2h2Zm8 0a2 2 0 0 1-2 2v-2h2Zm-4 0v2h-2v-2h2ZM15 7a1 1 0 0 1 0 2v7a1 1 0 0 1-2 0V9h-1v7a1 1 0 0 1-2 0v-4a2.5 2.5 0 0 1-.2-5H15ZM5 15v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 11v2H3v-2h2Zm16 0v2h-2v-2h2ZM5 7v2H3V7h2Zm16 0v2h-2V7h2ZM5 3v2H3c0-1.1.9-2 2-2Zm8 0v2h-2V3h2Zm6 0a2 2 0 0 1 2 2h-2V3ZM9 3v2H7V3h2Zm8 0v2h-2V3h2Z" fill-rule="evenodd"/></svg>',visualchars:'<svg width="24" height="24"><path d="M10 5h7a1 1 0 0 1 0 2h-1v11a1 1 0 0 1-2 0V7h-2v11a1 1 0 0 1-2 0v-6c-.5 0-1 0-1.4-.3A3.4 3.4 0 0 1 6.8 10a3.3 3.3 0 0 1 0-2.8 3.4 3.4 0 0 1 1.8-1.8L10 5Z" fill-rule="evenodd"/></svg>',warning:'<svg width="24" height="24"><path d="M19.8 18.3c.2.5.3.9 0 1.2-.1.3-.5.5-1 .5H5.2c-.5 0-.9-.2-1-.5-.3-.3-.2-.7 0-1.2L11 4.7l.5-.5.5-.2c.2 0 .3 0 .5.2.2 0 .3.3.5.5l6.8 13.6ZM12 18c.3 0 .5-.1.7-.3.2-.2.3-.4.3-.7a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7c0 .3.1.5.3.7.2.2.4.3.7.3Zm.7-3 .3-4a1 1 0 0 0-.3-.7 1 1 0 0 0-.7-.3 1 1 0 0 0-.7.3 1 1 0 0 0-.3.7l.3 4h1.4Z" fill-rule="evenodd"/></svg>',"zoom-in":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-1-9a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0V8Zm-2 4a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>',"zoom-out":'<svg width="24" height="24"><path d="M16 17.3a8 8 0 1 1 1.4-1.4l4.3 4.4a1 1 0 0 1-1.4 1.4l-4.4-4.3Zm-5-.3a6 6 0 1 0 0-12 6 6 0 0 0 0 12Zm-3-5a1 1 0 0 1 0-2h6a1 1 0 0 1 0 2H8Z" fill-rule="nonzero"/></svg>'}})},6890:function(e,t,n){n(88785)},63557:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.ModelManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,n=e=>t=>typeof t===e,r=e=>t=>e===t,o=t("string"),i=t("object"),a=t("array"),s=r(null),l=n("boolean"),c=r(void 0),u=e=>!(e=>null==e)(e),d=n("function"),f=n("number"),p=()=>{},h=e=>()=>e,m=e=>e,g=(e,t)=>e===t;function v(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const b=e=>t=>!e(t),y=e=>e(),A=h(!1),x=h(!0);class C{constructor(e,t){this.tag=e,this.value=t}static some(e){return new C(!0,e)}static none(){return C.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?C.some(e(this.value)):C.none()}bind(e){return this.tag?e(this.value):C.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:C.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return u(e)?C.some(e):C.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}C.singletonNone=new C(!1);const _=Array.prototype.slice,w=Array.prototype.indexOf,k=Array.prototype.push,S=(e,t)=>((e,t)=>w.call(e,t))(e,t)>-1,E=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return!0}return!1},B=(e,t)=>{const n=[];for(let r=0;r<e;r++)n.push(t(r));return n},O=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},j=(e,t)=>{for(let n=0,r=e.length;n<r;n++){t(e[n],n)}},T=(e,t)=>{const n=[],r=[];for(let o=0,i=e.length;o<i;o++){const i=e[o];(t(i,o)?n:r).push(i)}return{pass:n,fail:r}},P=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},M=(e,t,n)=>(((e,t)=>{for(let n=e.length-1;n>=0;n--)t(e[n],n)})(e,((e,r)=>{n=t(n,e,r)})),n),D=(e,t,n)=>(j(e,((e,r)=>{n=t(n,e,r)})),n),R=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return C.some(o);if(n(o,r))break}return C.none()})(e,t,A),L=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return C.some(n)}return C.none()},I=e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!a(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);k.apply(t,e[n])}return t},N=(e,t)=>I(O(e,t)),F=(e,t)=>{for(let n=0,r=e.length;n<r;++n){if(!0!==t(e[n],n))return!1}return!0},z=(e,t)=>{const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r];n[String(o)]=t(o,r)}return n},q=(e,t)=>t>=0&&t<e.length?C.some(e[t]):C.none(),U=e=>q(e,0),H=e=>q(e,e.length-1),W=(e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n],n);if(r.isSome())return r}return C.none()},V=Object.keys,Y=Object.hasOwnProperty,Z=(e,t)=>{const n=V(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}},G=(e,t)=>K(e,((e,n)=>({k:n,v:t(e,n)}))),K=(e,t)=>{const n={};return Z(e,((e,r)=>{const o=t(e,r);n[o.k]=o.v})),n},$=(e,t)=>{const n={};return((e,t,n,r)=>{Z(e,((e,o)=>{(t(e,o)?n:r)(e,o)}))})(e,t,(e=>(t,n)=>{e[n]=t})(n),p),n},X=(e,t)=>{const n=[];return Z(e,((e,r)=>{n.push(t(e,r))})),n},Q=e=>X(e,m),J=(e,t)=>Y.call(e,t);"undefined"!=typeof window?window:Function("return this;")();const ee=e=>e.dom.nodeName.toLowerCase(),te=e=>e.dom.nodeType,ne=e=>t=>te(t)===e,re=e=>8===te(e)||"#comment"===ee(e),oe=ne(1),ie=ne(3),ae=ne(9),se=ne(11),le=e=>t=>oe(t)&&ee(t)===e,ce=(e,t,n)=>{if(!(o(n)||l(n)||f(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},ue=(e,t,n)=>{ce(e.dom,t,n)},de=(e,t)=>{const n=e.dom;Z(t,((e,t)=>{ce(n,t,e)}))},fe=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},pe=(e,t)=>C.from(fe(e,t)),he=(e,t)=>{e.dom.removeAttribute(t)},me=e=>D(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),ge=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},ve={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return ge(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return ge(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return ge(n)},fromDom:ge,fromPoint:(e,t,n)=>C.from(e.dom.elementFromPoint(t,n)).map(ge)},be=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},ye=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,Ae=(e,t)=>{const n=void 0===t?document:t.dom;return ye(n)?C.none():C.from(n.querySelector(e)).map(ve.fromDom)},xe=(e,t)=>e.dom===t.dom,Ce=(e,t)=>{const n=e.dom,r=t.dom;return n!==r&&n.contains(r)},_e=be,we=e=>ve.fromDom(e.dom.ownerDocument),ke=e=>ae(e)?e:we(e),Se=e=>C.from(e.dom.parentNode).map(ve.fromDom),Ee=(e,t)=>{const n=d(t)?t:A;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=ve.fromDom(e);if(o.push(t),!0===n(t))break;r=e}return o},Be=e=>C.from(e.dom.previousSibling).map(ve.fromDom),Oe=e=>C.from(e.dom.nextSibling).map(ve.fromDom),je=e=>O(e.dom.childNodes,ve.fromDom),Te=(e,t)=>{const n=e.dom.childNodes;return C.from(n[t]).map(ve.fromDom)},Pe=(e,t)=>{Se(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},Me=(e,t)=>{Oe(e).fold((()=>{Se(e).each((e=>{Re(e,t)}))}),(e=>{Pe(e,t)}))},De=(e,t)=>{const n=(e=>Te(e,0))(e);n.fold((()=>{Re(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))},Re=(e,t)=>{e.dom.appendChild(t.dom)},Le=(e,t)=>{Pe(e,t),Re(t,e)},Ie=(e,t)=>{j(t,((n,r)=>{const o=0===r?e:t[r-1];Me(o,n)}))},Ne=(e,t)=>{j(t,(t=>{Re(e,t)}))},Fe=e=>{e.dom.textContent="",j(je(e),(e=>{ze(e)}))},ze=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},qe=e=>{const t=je(e);t.length>0&&Ie(e,t),ze(e)},Ue=(e,t)=>ve.fromDom(e.dom.cloneNode(t)),He=e=>Ue(e,!1),We=e=>Ue(e,!0),Ve=(e,t)=>{const n=ve.fromTag(t),r=me(e);return de(n,r),n},Ye=["tfoot","thead","tbody","colgroup"],Ze=(e,t,n)=>({element:e,rowspan:t,colspan:n}),Ge=(e,t,n)=>({element:e,cells:t,section:n}),Ke=(e,t,n)=>({element:e,isNew:t,isLocked:n}),$e=(e,t,n,r)=>({element:e,cells:t,section:n,isNew:r}),Xe=d(Element.prototype.attachShadow)&&d(Node.prototype.getRootNode),Qe=h(Xe),Je=Xe?e=>ve.fromDom(e.dom.getRootNode()):ke,et=e=>{const t=Je(e);return se(n=t)&&u(n.dom.host)?C.some(t):C.none();var n},tt=e=>ve.fromDom(e.dom.host),nt=e=>u(e.dom.shadowRoot),rt=e=>{const t=ie(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return et(ve.fromDom(t)).fold((()=>n.body.contains(t)),(r=rt,o=tt,e=>r(o(e))));var r,o},ot=e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return ve.fromDom(t)},it=(e,t)=>{let n=[];return j(je(e),(e=>{t(e)&&(n=n.concat([e])),n=n.concat(it(e,t))})),n},at=(e,t,n)=>((e,t,n)=>P(Ee(e,n),t))(e,(e=>be(e,t)),n),st=(e,t)=>((e,t)=>P(je(e),t))(e,(e=>be(e,t))),lt=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return ye(n)?[]:O(n.querySelectorAll(e),ve.fromDom)})(t,e);var ct=(e,t,n,r,o)=>e(n,r)?C.some(n):d(o)&&o(n)?C.none():t(n,r,o);const ut=(e,t,n)=>{let r=e.dom;const o=d(n)?n:A;for(;r.parentNode;){r=r.parentNode;const e=ve.fromDom(r);if(t(e))return C.some(e);if(o(e))break}return C.none()},dt=(e,t,n)=>ut(e,(e=>be(e,t)),n),ft=(e,t)=>((e,t)=>R(e.dom.childNodes,(e=>t(ve.fromDom(e)))).map(ve.fromDom))(e,(e=>be(e,t))),pt=(e,t)=>Ae(t,e),ht=(e,t,n)=>ct(((e,t)=>be(e,t)),dt,e,t,n),mt=(e,t,n=g)=>e.exists((e=>n(e,t))),gt=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t<e.length;t++)e[t].each(n);return t},vt=(e,t)=>e?C.some(t):C.none(),bt=(e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t,yt=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!c(r)||o+t.length<=r)},At=(e,t)=>bt(e,t,0),xt=(e,t)=>bt(e,t,e.length-t.length),Ct=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),_t=e=>e.length>0,wt=e=>void 0!==e.style&&d(e.style.getPropertyValue),kt=(e,t,n)=>{if(!o(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);wt(e)&&e.style.setProperty(t,n)},St=(e,t,n)=>{const r=e.dom;kt(r,t,n)},Et=(e,t)=>{const n=e.dom;Z(t,((e,t)=>{kt(n,t,e)}))},Bt=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||rt(e)?r:Ot(n,t)},Ot=(e,t)=>wt(e)?e.style.getPropertyValue(t):"",jt=(e,t)=>{const n=e.dom,r=Ot(n,t);return C.from(r).filter((e=>e.length>0))},Tt=(e,t)=>{((e,t)=>{wt(e)&&e.style.removeProperty(t)})(e.dom,t),mt(pe(e,"style").map(Ct),"")&&he(e,"style")},Pt=(e,t,n=0)=>pe(e,t).map((e=>parseInt(e,10))).getOr(n),Mt=(e,t)=>Pt(e,t,1),Dt=e=>le("col")(e)?Pt(e,"span",1)>1:Mt(e,"colspan")>1,Rt=e=>Mt(e,"rowspan")>1,Lt=(e,t)=>parseInt(Bt(e,t),10),It=h(10),Nt=h(10),Ft=(e,t)=>zt(e,t,x),zt=(e,t,n)=>N(je(e),(e=>be(e,t)?n(e)?[e]:[]:zt(e,t,n))),qt=(e,t)=>((e,t,n=A)=>n(t)?C.none():S(e,ee(t))?C.some(t):dt(t,e.join(","),(e=>be(e,"table")||n(e))))(["td","th"],e,t),Ut=e=>Ft(e,"th,td"),Ht=e=>be(e,"colgroup")?st(e,"col"):N(Yt(e),(e=>st(e,"col"))),Wt=(e,t)=>ht(e,"table",t),Vt=e=>Ft(e,"tr"),Yt=e=>Wt(e).fold(h([]),(e=>st(e,"colgroup"))),Zt=(e,t)=>O(e,(e=>{if("colgroup"===ee(e)){const t=O(Ht(e),(e=>{const t=Pt(e,"span",1);return Ze(e,1,t)}));return Ge(e,t,"colgroup")}{const n=O(Ut(e),(e=>{const t=Pt(e,"rowspan",1),n=Pt(e,"colspan",1);return Ze(e,t,n)}));return Ge(e,n,t(e))}})),Gt=e=>Se(e).map((e=>{const t=ee(e);return(e=>S(Ye,e))(t)?t:"tbody"})).getOr("tbody"),Kt=e=>{const t=Vt(e),n=[...Yt(e),...t];return Zt(n,Gt)},$t=e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)},Xt=()=>Qt(0,0),Qt=(e,t)=>({major:e,minor:t}),Jt={nu:Qt,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?Xt():((e,t)=>{const n=((e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];if(r.test(t))return r}})(e,t);if(!n)return{major:0,minor:0};const r=e=>Number(t.replace(n,"$"+e));return Qt(r(1),r(2))})(e,n)},unknown:Xt},en=(e,t)=>{const n=String(t).toLowerCase();return R(e,(e=>e.search(n)))},tn=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,nn=e=>t=>yt(t,e),rn=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>yt(e,"edge/")&&yt(e,"chrome")&&yt(e,"safari")&&yt(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,tn],search:e=>yt(e,"chrome")&&!yt(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>yt(e,"msie")||yt(e,"trident")},{name:"Opera",versionRegexes:[tn,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:nn("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:nn("firefox")},{name:"Safari",versionRegexes:[tn,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(yt(e,"safari")||yt(e,"mobile/"))&&yt(e,"applewebkit")}],on=[{name:"Windows",search:nn("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>yt(e,"iphone")||yt(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:nn("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:nn("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:nn("linux"),versionRegexes:[]},{name:"Solaris",search:nn("sunos"),versionRegexes:[]},{name:"FreeBSD",search:nn("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:nn("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],an={browsers:h(rn),oses:h(on)},sn="Edge",ln="Chromium",cn="Opera",un="Firefox",dn="Safari",fn=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(sn),isChromium:r(ln),isIE:r("IE"),isOpera:r(cn),isFirefox:r(un),isSafari:r(dn)}},pn={unknown:()=>fn({current:void 0,version:Jt.unknown()}),nu:fn,edge:h(sn),chromium:h(ln),ie:h("IE"),opera:h(cn),firefox:h(un),safari:h(dn)},hn="Windows",mn="Android",gn="Linux",vn="macOS",bn="Solaris",yn="FreeBSD",An="ChromeOS",xn=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(hn),isiOS:r("iOS"),isAndroid:r(mn),isMacOS:r(vn),isLinux:r(gn),isSolaris:r(bn),isFreeBSD:r(yn),isChromeOS:r(An)}},Cn={unknown:()=>xn({current:void 0,version:Jt.unknown()}),nu:xn,windows:h(hn),ios:h("iOS"),android:h(mn),linux:h(gn),macos:h(vn),solaris:h(bn),freebsd:h(yn),chromeos:h(An)},_n=(e,t,n)=>{const r=an.browsers(),o=an.oses(),i=t.bind((e=>((e,t)=>W(t.brands,(t=>{const n=t.brand.toLowerCase();return R(e,(e=>{var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:Jt.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>en(e,t).map((e=>{const n=Jt.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(pn.unknown,pn.nu),a=((e,t)=>en(e,t).map((e=>{const n=Jt.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(Cn.unknown,Cn.nu),s=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:h(o),isiPhone:h(i),isTablet:h(l),isPhone:h(c),isTouch:h(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:h(u),isDesktop:h(d)}})(a,i,e,n);return{browser:i,os:a,deviceType:s}},wn=e=>window.matchMedia(e).matches;let kn=$t((()=>_n(navigator.userAgent,C.from(navigator.userAgentData),wn)));const Sn=()=>kn(),En=(e,t)=>{const n=n=>{const r=t(n);if(r<=0||null===r){const t=Bt(n,e);return parseFloat(t)||0}return r},r=(e,t)=>D(t,((t,n)=>{const r=Bt(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0);return{set:(t,n)=>{if(!f(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);const r=t.dom;wt(r)&&(r.style[e]=n+"px")},get:n,getOuter:n,aggregate:r,max:(e,t,n)=>{const o=r(e,n);return t>o?t-o:0}}},Bn=(e,t)=>(e=>{const t=parseFloat(e);return isNaN(t)?C.none():C.some(t)})(e).getOr(t),On=(e,t,n)=>Bn(Bt(e,t),n),jn=(e,t)=>{const n=e.dom,r=n.getBoundingClientRect().width||n.offsetWidth;return"border-box"===t?r:((e,t,n,r)=>t-On(e,`padding-${n}`,0)-On(e,`padding-${r}`,0)-On(e,`border-${n}-width`,0)-On(e,`border-${r}-width`,0))(e,r,"left","right")},Tn=En("width",(e=>e.dom.offsetWidth)),Pn=e=>Tn.get(e),Mn=e=>Tn.getOuter(e),Dn=e=>jn(e,"content-box"),Rn=e=>On(e,"width",e.dom.offsetWidth),Ln=(e,t,n)=>{const r=e.cells,o=r.slice(0,t),i=r.slice(t),a=o.concat(n).concat(i);return Fn(e,a)},In=(e,t,n)=>Ln(e,t,[n]),Nn=(e,t,n)=>{e.cells[t]=n},Fn=(e,t)=>$e(e.element,t,e.section,e.isNew),zn=(e,t)=>e.cells[t],qn=(e,t)=>zn(e,t).element,Un=e=>e.cells.length,Hn=e=>{const t=T(e,(e=>"colgroup"===e.section));return{rows:t.fail,cols:t.pass}},Wn=(e,t,n)=>{const r=O(e.cells,n);return $e(t(e.element),r,e.section,!0)},Vn="data-snooker-locked-cols",Yn=e=>pe(e,Vn).bind((e=>C.from(e.match(/\d+/g)))).map((e=>z(e,x))),Zn=e=>{const t=D(Hn(e).rows,((e,t)=>(j(t.cells,((t,n)=>{t.isLocked&&(e[n]=!0)})),e)),{}),n=X(t,((e,t)=>parseInt(t,10)));return((e,t)=>{const n=_.call(e,0);return n.sort(t),n})(n)},Gn=(e,t)=>e+","+t,Kn=(e,t)=>{const n=N(e.all,(e=>e.cells));return P(n,t)},$n=e=>{const t={},n=[],r=U(e).map((e=>e.element)).bind(Wt).bind(Yn).getOr({});let o=0,i=0,a=0;const{pass:s,fail:l}=T(e,(e=>"colgroup"===e.section));j(l,(e=>{const s=[];j(e.cells,(e=>{let n=0;for(;void 0!==t[Gn(a,n)];)n++;const o=((e,t)=>J(e,t)&&void 0!==e[t]&&null!==e[t])(r,n.toString()),l=((e,t,n,r,o,i)=>({element:e,rowspan:t,colspan:n,row:r,column:o,isLocked:i}))(e.element,e.rowspan,e.colspan,a,n,o);for(let r=0;r<e.colspan;r++)for(let o=0;o<e.rowspan;o++){const e=n+r,s=Gn(a+o,e);t[s]=l,i=Math.max(i,e+1)}s.push(l)})),o++,n.push(Ge(e.element,s,e.section)),a++}));const{columns:c,colgroups:u}=H(s).map((e=>{const t=(e=>{const t={};let n=0;return j(e.cells,(e=>{const r=e.colspan;B(r,(o=>{const i=n+o;t[i]=((e,t,n)=>({element:e,colspan:t,column:n}))(e.element,r,i)})),n+=r})),t})(e),n=((e,t)=>({element:e,columns:t}))(e.element,Q(t));return{colgroups:[n],columns:t}})).getOrThunk((()=>({colgroups:[],columns:{}}))),d=((e,t)=>({rows:e,columns:t}))(o,i);return{grid:d,access:t,all:n,columns:c,colgroups:u}},Xn={fromTable:e=>{const t=Kt(e);return $n(t)},generate:$n,getAt:(e,t,n)=>C.from(e.access[Gn(t,n)]),findItem:(e,t,n)=>{const r=Kn(e,(e=>n(t,e.element)));return r.length>0?C.some(r[0]):C.none()},filterItems:Kn,justCells:e=>N(e.all,(e=>e.cells)),justColumns:e=>Q(e.columns),hasColumns:e=>V(e.columns).length>0,getColumnAt:(e,t)=>C.from(e.columns[t])},Qn=(e,t=x)=>{const n=e.grid,r=B(n.columns,m),o=B(n.rows,m);return O(r,(n=>Jn((()=>N(o,(t=>Xn.getAt(e,t,n).filter((e=>e.column===n)).toArray()))),(e=>1===e.colspan&&t(e.element)),(()=>Xn.getAt(e,0,n)))))},Jn=(e,t,n)=>{const r=e();return R(r,t).orThunk((()=>C.from(r[0]).orThunk(n))).map((e=>e.element))},er=e=>{const t=e.grid,n=B(t.rows,m),r=B(t.columns,m);return O(n,(t=>Jn((()=>N(r,(n=>Xn.getAt(e,t,n).filter((e=>e.row===t)).fold(h([]),(e=>[e]))))),(e=>1===e.rowspan),(()=>Xn.getAt(e,t,0)))))},tr=(e,t)=>{if(t<0||t>=e.length-1)return C.none();const n=e[t].fold((()=>{const n=(e=>{const t=_.call(e,0);return t.reverse(),t})(e.slice(0,t));return W(n,((e,t)=>e.map((e=>({value:e,delta:t+1})))))}),(e=>C.some({value:e,delta:0}))),r=e[t+1].fold((()=>{const n=e.slice(t+1);return W(n,((e,t)=>e.map((e=>({value:e,delta:t+1})))))}),(e=>C.some({value:e,delta:1})));return n.bind((e=>r.map((t=>{const n=t.delta+e.delta;return Math.abs(t.value-e.value)/n}))))},nr=(e,t)=>n=>"rtl"===rr(n)?t:e,rr=e=>"rtl"===Bt(e,"direction")?"rtl":"ltr",or=En("height",(e=>{const t=e.dom;return rt(e)?t.getBoundingClientRect().height:t.offsetHeight})),ir=e=>or.get(e),ar=e=>or.getOuter(e),sr=e=>On(e,"height",e.dom.offsetHeight),lr=(e,t)=>({left:e,top:t,translate:(n,r)=>lr(e+n,t+r)}),cr=lr,ur=(e,t)=>void 0!==e?e:void 0!==t?t:0,dr=e=>{const t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return cr(n.offsetLeft,n.offsetTop);const i=ur(null==r?void 0:r.pageYOffset,o.scrollTop),a=ur(null==r?void 0:r.pageXOffset,o.scrollLeft),s=ur(o.clientTop,n.clientTop),l=ur(o.clientLeft,n.clientLeft);return fr(e).translate(a-l,i-s)},fr=e=>{const t=e.dom,n=t.ownerDocument.body;return n===t?cr(n.offsetLeft,n.offsetTop):rt(e)?(e=>{const t=e.getBoundingClientRect();return cr(t.left,t.top)})(t):cr(0,0)},pr=(e,t)=>({row:e,y:t}),hr=(e,t)=>({col:e,x:t}),mr=e=>dr(e).left+Mn(e),gr=e=>dr(e).left,vr=(e,t)=>hr(e,gr(t)),br=(e,t)=>hr(e,mr(t)),yr=e=>dr(e).top,Ar=(e,t)=>pr(e,yr(t)),xr=(e,t)=>pr(e,yr(t)+ar(t)),Cr=(e,t,n)=>{if(0===n.length)return[];const r=O(n.slice(1),((t,n)=>t.map((t=>e(n,t))))),o=n[n.length-1].map((e=>t(n.length-1,e)));return r.concat([o])},_r={delta:m,positions:e=>Cr(Ar,xr,e),edge:yr},wr=nr({delta:m,edge:gr,positions:e=>Cr(vr,br,e)},{delta:e=>-e,edge:mr,positions:e=>Cr(br,vr,e)}),kr={delta:(e,t)=>wr(t).delta(e,t),positions:(e,t)=>wr(t).positions(e,t),edge:e=>wr(e).edge(e)},Sr={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},Er=(()=>{const e="[0-9]+",t="[eE][+-]?[0-9]+",n=e=>`(?:${e})?`,r=["Infinity","[0-9]+\\."+n(e)+n(t),"\\.[0-9]+"+n(t),e+n(t)].join("|");return new RegExp(`^(${`[+-]?(?:${r})`})(.*)$`)})(),Br=(e,t)=>C.from(Er.exec(e)).bind((e=>{const n=Number(e[1]),r=e[2];return((e,t)=>E(t,(t=>E(Sr[t],(t=>e===t)))))(r,t)?C.some({value:n,unit:r}):C.none()})),Or=/(\d+(\.\d+)?)%/,jr=/(\d+(\.\d+)?)px|em/,Tr=le("col"),Pr=(e,t,n)=>{const r=(o=e,C.from(o.dom.parentElement).map(ve.fromDom)).getOrThunk((()=>ot(we(e))));var o;return t(e)/n(r)*100},Mr=(e,t)=>{St(e,"width",t+"px")},Dr=(e,t)=>{St(e,"width",t+"%")},Rr=(e,t)=>{St(e,"height",t+"px")},Lr=(e,t,n,r)=>{const o=parseFloat(e);return xt(e,"%")&&"table"!==ee(t)?((e,t,n,r)=>{const o=Wt(e).map((e=>{const r=n(e);return Math.floor(t/100*r)})).getOr(t);return r(e,o),o})(t,o,n,r):o},Ir=e=>{const t=(e=>sr(e)+"px")(e);return t?Lr(t,e,ir,Rr):ir(e)},Nr=(e,t)=>jt(e,t).orThunk((()=>pe(e,t).map((e=>e+"px")))),Fr=e=>Nr(e,"width"),zr=e=>Pr(e,Pn,Dn),qr=e=>Tr(e)?Pn(e):Rn(e),Ur=e=>((e,t,n)=>n(e)/Mt(e,t))(e,"rowspan",Ir),Hr=(e,t,n)=>{St(e,"width",t+n)},Wr=e=>Pr(e,Pn,Dn)+"%",Vr=h(Or),Yr=le("col"),Zr=e=>Fr(e).getOrThunk((()=>qr(e)+"px")),Gr=e=>{return(t=e,Nr(t,"height")).getOrThunk((()=>Ur(e)+"px"));var t},Kr=(e,t,n,r,o,i)=>e.filter(r).fold((()=>i(tr(n,t))),(e=>o(e))),$r=(e,t,n,r)=>{const o=Qn(e),i=Xn.hasColumns(e)?(e=>O(Xn.justColumns(e),(e=>C.from(e.element))))(e):o,a=[C.some(kr.edge(t))].concat(O(kr.positions(o,t),(e=>e.map((e=>e.x))))),s=b(Dt);return O(i,((e,t)=>Kr(e,t,a,s,(e=>{if((e=>{const t=Sn().browser,n=t.isChromium()||t.isFirefox();return!Yr(e)||n})(e))return n(e);{const e=((e,t)=>null!=e?t(e):C.none())(o[t],m);return Kr(e,t,a,s,(e=>r(C.some(Pn(e)))),r)}}),r)))},Xr=e=>e.map((e=>e+"px")).getOr(""),Qr=(e,t,n)=>$r(e,t,qr,(e=>e.getOrThunk(n.minCellWidth))),Jr=(e,t,n,r,o)=>{const i=er(e),a=[C.some(n.edge(t))].concat(O(n.positions(i,t),(e=>e.map((e=>e.y)))));return O(i,((e,t)=>Kr(e,t,a,b(Rt),r,o)))},eo=(e,t)=>()=>rt(e)?t(e):parseFloat(jt(e,"width").getOr("0")),to=e=>{const t=eo(e,Pn),n=h(0);return{width:t,pixelWidth:t,getWidths:(t,n)=>Qr(t,e,n),getCellDelta:n,singleColumnWidth:h([0]),minCellWidth:n,setElementWidth:p,adjustTableWidth:p,isRelative:!0,label:"none"}},no=e=>{const t=eo(e,(e=>parseFloat(Wr(e)))),n=eo(e,Pn);return{width:t,pixelWidth:n,getWidths:(t,n)=>((e,t,n)=>$r(e,t,zr,(e=>e.fold((()=>n.minCellWidth()),(e=>e/n.pixelWidth()*100)))))(t,e,n),getCellDelta:e=>e/n()*100,singleColumnWidth:(e,t)=>[100-e],minCellWidth:()=>It()/n()*100,setElementWidth:Dr,adjustTableWidth:n=>{const r=t();Dr(e,r+n/100*r)},isRelative:!0,label:"percent"}},ro=e=>{const t=eo(e,Pn);return{width:t,pixelWidth:t,getWidths:(t,n)=>Qr(t,e,n),getCellDelta:m,singleColumnWidth:(e,t)=>[Math.max(It(),e+t)-e],minCellWidth:It,setElementWidth:Mr,adjustTableWidth:n=>{const r=t()+n;Mr(e,r)},isRelative:!1,label:"pixel"}},oo=e=>Fr(e).fold((()=>to(e)),(t=>((e,t)=>null!==Vr().exec(t)?no(e):ro(e))(e,t))),io=ro,ao=no,so=(e,t,n)=>{const r=e[n].element,o=ve.fromTag("td");Re(o,ve.fromTag("br"));(t?Re:De)(r,o)},lo=(e,t)=>{const n=e=>be(e.element,t),r=We(e),o=Kt(r),i=oo(e),a=Xn.generate(o),s=((e,t)=>{const n=e.grid.columns;let r=e.grid.rows,o=n,i=0,a=0;const s=[],l=[];return Z(e.access,(e=>{if(s.push(e),t(e)){l.push(e);const t=e.row,n=t+e.rowspan-1,s=e.column,c=s+e.colspan-1;t<r?r=t:n>i&&(i=n),s<o?o=s:c>a&&(a=c)}})),((e,t,n,r,o,i)=>({minRow:e,minCol:t,maxRow:n,maxCol:r,allCells:o,selectedCells:i}))(r,o,i,a,s,l)})(a,n),l="th:not("+t+"),td:not("+t+")",c=zt(r,"th,td",(e=>be(e,l)));j(c,ze),((e,t,n,r)=>{const o=P(e,(e=>"colgroup"!==e.section)),i=t.grid.columns,a=t.grid.rows;for(let e=0;e<a;e++){let a=!1;for(let s=0;s<i;s++)e<n.minRow||e>n.maxRow||s<n.minCol||s>n.maxCol||(Xn.getAt(t,e,s).filter(r).isNone()?so(o,a,e):a=!0)}})(o,a,s,n);const u=((e,t,n,r)=>{if(0===r.minCol&&t.grid.columns===r.maxCol+1)return 0;const o=Qr(t,e,n),i=D(o,((e,t)=>e+t),0),a=D(o.slice(r.minCol,r.maxCol+1),((e,t)=>e+t),0),s=a/i*n.pixelWidth()-n.pixelWidth();return n.getCellDelta(s)})(e,Xn.fromTable(e),i,s);return((e,t,n,r)=>{Z(n.columns,(e=>{(e.column<t.minCol||e.column>t.maxCol)&&ze(e.element)}));const o=P(Ft(e,"tr"),(e=>0===e.dom.childElementCount));j(o,ze),t.minCol!==t.maxCol&&t.minRow!==t.maxRow||j(Ft(e,"th,td"),(e=>{he(e,"rowspan"),he(e,"colspan")})),he(e,Vn),he(e,"data-snooker-col-series"),oo(e).adjustTableWidth(r)})(r,s,a,u),r},co=((e,t)=>{const n=t=>e(t)?C.from(t.dom.nodeValue):C.none();return{get:r=>{if(!e(r))throw new Error("Can only get "+t+" value of a "+t+" node");return n(r).getOr("")},getOption:n,set:(n,r)=>{if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom.nodeValue=r}}})(ie,"text"),uo=e=>co.get(e),fo=e=>co.getOption(e),po=(e,t)=>co.set(e,t),ho=e=>"img"===ee(e)?1:fo(e).fold((()=>je(e).length),(e=>e.length)),mo=["img","br"],go=e=>fo(e).filter((e=>0!==e.trim().length||e.indexOf(" ")>-1)).isSome()||S(mo,ee(e)),vo=e=>((e,t)=>{const n=e=>{for(let r=0;r<e.childNodes.length;r++){const o=ve.fromDom(e.childNodes[r]);if(t(o))return C.some(o);const i=n(e.childNodes[r]);if(i.isSome())return i}return C.none()};return n(e.dom)})(e,go),bo=e=>yo(e,go),yo=(e,t)=>{const n=e=>{const r=je(e);for(let e=r.length-1;e>=0;e--){const o=r[e];if(t(o))return C.some(o);const i=n(o);if(i.isSome())return i}return C.none()};return n(e)},Ao={scope:["row","col"]},xo=e=>()=>{const t=ve.fromTag("td",e.dom);return Re(t,ve.fromTag("br",e.dom)),t},Co=e=>()=>ve.fromTag("col",e.dom),_o=e=>()=>ve.fromTag("colgroup",e.dom),wo=e=>()=>ve.fromTag("tr",e.dom),ko=(e,t,n)=>{const r=((e,t)=>{const n=Ve(e,t),r=je(We(e));return Ne(n,r),n})(e,t);return Z(n,((e,t)=>{null===e?he(r,t):ue(r,t,e)})),r},So=e=>e,Eo=(e,t,n)=>{const r=(e,t)=>{((e,t)=>{const n=e.dom,r=t.dom;wt(n)&&wt(r)&&(r.style.cssText=n.style.cssText)})(e.element,t),Tt(t,"height"),1!==e.colspan&&Tt(t,"width")};return{col:n=>{const o=ve.fromTag(ee(n.element),t.dom);return r(n,o),e(n.element,o),o},colgroup:_o(t),row:wo(t),cell:o=>{const i=ve.fromTag(ee(o.element),t.dom),a=n.getOr(["strong","em","b","i","span","font","h1","h2","h3","h4","h5","h6","p","div"]),s=a.length>0?((e,t,n)=>vo(e).map((r=>{const o=n.join(","),i=at(r,o,(t=>xe(t,e)));return M(i,((e,t)=>{const n=He(t);return he(n,"contenteditable"),Re(e,n),n}),t)})).getOr(t))(o.element,i,a):i;return Re(s,ve.fromTag("br")),r(o,i),((e,t)=>{Z(Ao,((n,r)=>pe(e,r).filter((e=>S(n,e))).each((e=>ue(t,r,e)))))})(o.element,i),e(o.element,i),i},replace:ko,colGap:Co(t),gap:xo(t)}},Bo=e=>({col:Co(e),colgroup:_o(e),row:wo(e),cell:xo(e),replace:So,colGap:Co(e),gap:xo(e)}),Oo=e=>ve.fromDom(e.getBody()),jo=e=>t=>xe(t,Oo(e)),To=e=>{he(e,"data-mce-style");const t=e=>he(e,"data-mce-style");j(Ut(e),t),j(Ht(e),t),j(Vt(e),t)},Po=e=>ve.fromDom(e.selection.getStart()),Mo=e=>e.getBoundingClientRect().width,Do=e=>e.getBoundingClientRect().height,Ro=(e,t)=>{const n=t.column,r=t.column+t.colspan-1,o=t.row,i=t.row+t.rowspan-1;return n<=e.finishCol&&r>=e.startCol&&o<=e.finishRow&&i>=e.startRow},Lo=(e,t)=>t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow,Io=(e,t,n)=>{const r=Xn.findItem(e,t,xe),o=Xn.findItem(e,n,xe);return r.bind((e=>o.map((t=>{return n=e,r=t,o=Math.min(n.row,r.row),i=Math.min(n.column,r.column),a=Math.max(n.row+n.rowspan-1,r.row+r.rowspan-1),s=Math.max(n.column+n.colspan-1,r.column+r.colspan-1),{startRow:o,startCol:i,finishRow:a,finishCol:s};var n,r,o,i,a,s}))))},No=(e,t,n)=>Io(e,t,n).bind((t=>((e,t)=>{let n=!0;const r=v(Lo,t);for(let o=t.startRow;o<=t.finishRow;o++)for(let i=t.startCol;i<=t.finishCol;i++)n=n&&Xn.getAt(e,o,i).exists(r);return n?C.some(t):C.none()})(e,t))),Fo=(e,t,n)=>Io(e,t,n).map((t=>{const n=Xn.filterItems(e,v(Ro,t));return O(n,(e=>e.element))})),zo=(e,t)=>Xn.findItem(e,t,((e,t)=>Ce(t,e))).map((e=>e.element)),qo=(e,t,n)=>Wt(e).bind((r=>((e,t,n,r)=>Xn.findItem(e,t,xe).bind((t=>{const o=n>0?t.row+t.rowspan-1:t.row,i=r>0?t.column+t.colspan-1:t.column;return Xn.getAt(e,o+n,i+r).map((e=>e.element))})))(Wo(r),e,t,n))),Uo=(e,t,n)=>{const r=Wo(e);return Fo(r,t,n)},Ho=(e,t,n,r,o)=>{const i=Wo(e),a=xe(e,n)?C.some(t):zo(i,t),s=xe(e,o)?C.some(r):zo(i,r);return a.bind((e=>s.bind((t=>Fo(i,e,t)))))},Wo=Xn.fromTable;var Vo=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],Yo=()=>({up:h({selector:dt,closest:ht,predicate:ut,all:Ee}),down:h({selector:lt,predicate:it}),styles:h({get:Bt,getRaw:jt,set:St,remove:Tt}),attrs:h({get:fe,set:ue,remove:he,copyTo:(e,t)=>{const n=me(e);de(t,n)}}),insert:h({before:Pe,after:Me,afterAll:Ie,append:Re,appendAll:Ne,prepend:De,wrap:Le}),remove:h({unwrap:qe,remove:ze}),create:h({nu:ve.fromTag,clone:e=>ve.fromDom(e.dom.cloneNode(!1)),text:ve.fromText}),query:h({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:Be,nextSibling:Oe}),property:h({children:je,name:ee,parent:Se,document:e=>ke(e).dom,isText:ie,isComment:re,isElement:oe,isSpecial:e=>{const t=ee(e);return S(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>oe(e)?pe(e,"lang"):C.none(),getText:uo,setText:po,isBoundary:e=>!!oe(e)&&("body"===ee(e)||S(Vo,ee(e))),isEmptyTag:e=>!!oe(e)&&S(["br","img","hr","input"],ee(e)),isNonEditable:e=>oe(e)&&"false"===fe(e,"contenteditable")}),eq:xe,is:_e});const Zo=(e,t,n,r)=>{const o=t(e,n);return M(r,((n,r)=>{const o=t(e,r);return Go(e,n,o)}),o)},Go=(e,t,n)=>t.bind((t=>n.filter(v(e.eq,t)))),Ko=(e,t,n)=>n.length>0?((e,t,n,r)=>r(e,t,n[0],n.slice(1)))(e,t,n,Zo):C.none(),$o=(e,t,n,r=A)=>{const o=[t].concat(e.up().all(t)),i=[n].concat(e.up().all(n)),a=e=>L(e,r).fold((()=>e),(t=>e.slice(0,t+1))),s=a(o),l=a(i),c=R(s,(t=>E(l,((e,t)=>v(e.eq,t))(e,t))));return{firstpath:s,secondpath:l,shared:c}},Xo=Yo(),Qo=(e,t)=>Ko(Xo,((t,n)=>e(n)),t),Jo=e=>dt(e,"table"),ei=(e,t,n)=>{const r=e=>t=>void 0!==n&&n(t)||xe(t,e);return xe(e,t)?C.some({boxes:C.some([e]),start:e,finish:t}):Jo(e).bind((o=>Jo(t).bind((i=>{if(xe(o,i))return C.some({boxes:Uo(o,e,t),start:e,finish:t});if(Ce(o,i)){const n=at(t,"td,th",r(o)),a=n.length>0?n[n.length-1]:t;return C.some({boxes:Ho(o,e,o,t,i),start:e,finish:a})}if(Ce(i,o)){const n=at(e,"td,th",r(i)),a=n.length>0?n[n.length-1]:e;return C.some({boxes:Ho(i,e,o,t,i),start:e,finish:a})}return((e,t,n)=>$o(Xo,e,t,n))(e,t).shared.bind((a=>ht(a,"table",n).bind((n=>{const a=at(t,"td,th",r(n)),s=a.length>0?a[a.length-1]:t,l=at(e,"td,th",r(n)),c=l.length>0?l[l.length-1]:e;return C.some({boxes:Ho(n,e,o,t,i),start:c,finish:s})}))))}))))},ti=(e,t)=>{const n=lt(e,t);return n.length>0?C.some(n):C.none()},ni=(e,t,n)=>pt(e,t).bind((t=>pt(e,n).bind((e=>Qo(Jo,[t,e]).map((n=>({first:t,last:e,table:n}))))))),ri=(e,t,n,r,o)=>((e,t)=>R(e,(e=>be(e,t))))(e,o).bind((e=>qo(e,t,n).bind((e=>((e,t)=>dt(e,"table").bind((n=>pt(n,t).bind((t=>ei(t,e).bind((e=>e.boxes.map((t=>({boxes:t,start:e.start,finish:e.finish}))))))))))(e,r))))),oi=(e,t)=>ti(e,t),ii=(e,t,n)=>ni(e,t,n).bind((t=>{const n=t=>xe(e,t),r="thead,tfoot,tbody,table",o=dt(t.first,r,n),i=dt(t.last,r,n);return o.bind((e=>i.bind((n=>xe(e,n)?((e,t,n)=>{const r=Wo(e);return No(r,t,n)})(t.table,t.first,t.last):C.none()))))})),ai=m,si=e=>{const t=(e,t)=>pe(e,t).exists((e=>parseInt(e,10)>1));return e.length>0&&F(e,(e=>t(e,"rowspan")||t(e,"colspan")))?C.some(e):C.none()},li=(e,t,n)=>t.length<=1?C.none():ii(e,n.firstSelectedSelector,n.lastSelectedSelector).map((e=>({bounds:e,cells:t}))),ci="data-mce-selected",ui="data-mce-first-selected",di="data-mce-last-selected",fi={selected:ci,selectedSelector:"td[data-mce-selected],th[data-mce-selected]",firstSelected:ui,firstSelectedSelector:"td[data-mce-first-selected],th[data-mce-first-selected]",lastSelected:di,lastSelectedSelector:"td[data-mce-last-selected],th[data-mce-last-selected]"},pi=(e,t,n)=>({element:n,mergable:li(t,e,fi),unmergable:si(e),selection:ai(e)}),hi=e=>(t,n)=>{const r=ee(t),o="col"===r||"colgroup"===r?Wt(i=t).bind((e=>oi(e,fi.firstSelectedSelector))).fold(h(i),(e=>e[0])):t;var i;return ht(o,e,n)},mi=hi("th,td,caption"),gi=hi("th,td"),vi=e=>{return t=e.model.table.getSelectedCells(),O(t,ve.fromDom);var t},bi=(e,t)=>{e.on("BeforeGetContent",(t=>{const n=n=>{t.preventDefault(),(e=>Wt(e[0]).map((e=>{const t=lo(e,"[data-mce-selected]");return To(t),[t]})))(n).each((n=>{t.content="text"===t.format?(e=>O(e,(e=>e.dom.innerText)).join(""))(n):((e,t)=>O(t,(t=>e.selection.serializer.serialize(t.dom,{}))).join(""))(e,n)}))};if(!0===t.selection){const t=(e=>P(vi(e),(e=>be(e,fi.selectedSelector))))(e);t.length>=1&&n(t)}})),e.on("BeforeSetContent",(n=>{if(!0===n.selection&&!0===n.paste){const r=vi(e);U(r).each((r=>{Wt(r).each((o=>{const i=P(((e,t)=>{const n=(t||document).createElement("div");return n.innerHTML=e,je(ve.fromDom(n))})(n.content),(e=>"meta"!==ee(e))),a=le("table");if(1===i.length&&a(i[0])){n.preventDefault();const a=ve.fromDom(e.getDoc()),s=Bo(a),l=((e,t,n)=>({element:e,clipboard:t,generators:n}))(r,i[0],s);t.pasteCells(o,l).each((()=>{e.focus()}))}}))}))}}))},yi=(e,t)=>({element:e,offset:t}),Ai=(e,t,n)=>e.property().isText(t)&&0===e.property().getText(t).trim().length||e.property().isComment(t)?n(t).bind((t=>Ai(e,t,n).orThunk((()=>C.some(t))))):C.none(),xi=(e,t)=>{if(e.property().isText(t))return e.property().getText(t).length;return e.property().children(t).length},Ci=(e,t)=>{const n=Ai(e,t,e.query().prevSibling).getOr(t);if(e.property().isText(n))return yi(n,xi(e,n));const r=e.property().children(n);return r.length>0?Ci(e,r[r.length-1]):yi(n,xi(e,n))},_i=Ci,wi=Yo(),ki=(e,t)=>{if(!Dt(e)){const n=(e=>Fr(e).bind((e=>Br(e,["fixed","relative","empty"]))))(e);n.each((n=>{const r=n.value/2;Hr(e,r,n.unit),Hr(t,r,n.unit)}))}},Si=e=>O(e,h(0)),Ei=(e,t,n,r,o)=>o(e.slice(0,t)).concat(r).concat(o(e.slice(n))),Bi=e=>(t,n,r,o)=>{if(e(r)){const e=Math.max(o,t[n]-Math.abs(r)),i=Math.abs(e-t[n]);return r>=0?i:-i}return r},Oi=Bi((e=>e<0)),ji=Bi(x),Ti=()=>{const e=(e,t,n,r)=>{const o=(100+n)/100,i=Math.max(r,(e[t]+n)/o);return O(e,((e,n)=>(n===t?i:e/o)-e))},t=(t,n,r,o,i,a)=>a?e(t,n,o,i):((e,t,n,r,o)=>{const i=Oi(e,t,r,o);return Ei(e,t,n+1,[i,0],Si)})(t,n,r,o,i);return{resizeTable:(e,t)=>e(t),clampTableDelta:Oi,calcLeftEdgeDeltas:t,calcMiddleDeltas:(e,n,r,o,i,a,s)=>t(e,r,o,i,a,s),calcRightEdgeDeltas:(t,n,r,o,i,a)=>{if(a)return e(t,r,o,i);{const e=Oi(t,r,o,i);return Si(t.slice(0,r)).concat([e])}},calcRedestributedWidths:(e,t,n,r)=>{if(r){const r=(t+n)/t,o=O(e,(e=>e/r));return{delta:100*r-100,newSizes:o}}return{delta:n,newSizes:e}}}},Pi=()=>{const e=(e,t,n,r,o)=>{const i=ji(e,r>=0?n:t,r,o);return Ei(e,t,n+1,[i,-i],Si)};return{resizeTable:(e,t,n)=>{n&&e(t)},clampTableDelta:(e,t,n,r,o)=>{if(o){if(n>=0)return n;{const t=D(e,((e,t)=>e+t-r),0);return Math.max(-t,n)}}return Oi(e,t,n,r)},calcLeftEdgeDeltas:e,calcMiddleDeltas:(t,n,r,o,i,a)=>e(t,r,o,i,a),calcRightEdgeDeltas:(e,t,n,r,o,i)=>{if(i)return Si(e);{const t=r/e.length;return O(e,h(t))}},calcRedestributedWidths:(e,t,n,r)=>({delta:0,newSizes:e})}},Mi=e=>Xn.fromTable(e).grid,Di=le("th"),Ri=e=>F(e,(e=>Di(e.element))),Li=(e,t)=>e&&t?"sectionCells":e?"section":"cells",Ii=e=>{const t="thead"===e.section,n=mt(Ni(e.cells),"th");return"tfoot"===e.section?{type:"footer"}:t||n?{type:"header",subType:Li(t,n)}:{type:"body"}},Ni=e=>{const t=P(e,(e=>Di(e.element)));return 0===t.length?C.some("td"):t.length===e.length?C.some("th"):C.none()},Fi=(e,t,n)=>Ke(n(e.element,t),!0,e.isLocked),zi=(e,t)=>e.section!==t?$e(e.element,e.cells,t,e.isNew):e,qi=()=>({transformRow:zi,transformCell:(e,t,n)=>{const r=n(e.element,t),o="td"!==ee(r)?((e,t)=>{const n=Ve(e,t);Me(e,n);const r=je(e);return Ne(n,r),ze(e),n})(r,"td"):r;return Ke(o,e.isNew,e.isLocked)}}),Ui=()=>({transformRow:zi,transformCell:Fi}),Hi=()=>({transformRow:(e,t)=>zi(e,"thead"===t?"tbody":t),transformCell:Fi}),Wi=(e,t)=>{const n=(e=>W(e.all,(e=>{const t=Ii(e);return"header"===t.type?C.from(t.subType):C.none()})))(Xn.fromTable(e)).getOr(t);switch(n){case"section":return qi();case"sectionCells":return Ui();case"cells":return Hi()}},Vi=qi,Yi=Ui,Zi=Hi,Gi=()=>({transformRow:m,transformCell:Fi}),Ki=e=>ht(e,"[contenteditable]"),$i=(e,t=!1)=>rt(e)?e.dom.isContentEditable:Ki(e).fold(h(t),(e=>"true"===Xi(e))),Xi=e=>e.dom.contentEditable,Qi=(e,t,n,r)=>{n===r?he(e,t):ue(e,t,n)},Ji=(e,t,n)=>{H(st(e,t)).fold((()=>De(e,n)),(e=>Me(e,n)))},ea=(e,t)=>{const n=[],r=[],o=e=>O(e,(e=>{e.isNew&&n.push(e.element);const t=e.element;return Fe(t),j(e.cells,(e=>{e.isNew&&r.push(e.element),Qi(e.element,"colspan",e.colspan,1),Qi(e.element,"rowspan",e.rowspan,1),Re(t,e.element)})),t})),i=e=>N(e,(e=>O(e.cells,(e=>(Qi(e.element,"span",e.colspan,1),e.element))))),a=(t,n)=>{const r=((e,t)=>{const n=ft(e,t).getOrThunk((()=>{const n=ve.fromTag(t,we(e).dom);return"thead"===t?Ji(e,"caption,colgroup",n):"colgroup"===t?Ji(e,"caption",n):Re(e,n),n}));return Fe(n),n})(e,n),a=("colgroup"===n?i:o)(t);Ne(r,a)},s=(t,n)=>{t.length>0?a(t,n):(t=>{ft(e,t).each(ze)})(n)},l=[],c=[],u=[],d=[];return j(t,(e=>{switch(e.section){case"thead":l.push(e);break;case"tbody":c.push(e);break;case"tfoot":u.push(e);break;case"colgroup":d.push(e)}})),s(d,"colgroup"),s(l,"thead"),s(c,"tbody"),s(u,"tfoot"),{newRows:n,newCells:r}},ta=(e,t)=>{if(0===e.length)return 0;const n=e[0];return L(e,(e=>!t(n.element,e.element))).getOr(e.length)},na=(e,t,n,r)=>{const o=((e,t)=>e[t])(e,t),i="colgroup"===o.section,a=ta(o.cells.slice(n),r),s=i?1:ta(((e,t)=>O(e,(e=>zn(e,t))))(e.slice(t),n),r);return{colspan:a,rowspan:s}},ra=(e,t)=>{const n=O(e,(e=>O(e.cells,A)));return O(e,((r,o)=>{const i=N(r.cells,((r,i)=>{if(!1===n[o][i]){const u=na(e,o,i,t);return((e,t,r,o)=>{for(let i=e;i<e+r;i++)for(let e=t;e<t+o;e++)n[i][e]=!0})(o,i,u.rowspan,u.colspan),[(a=r.element,s=u.rowspan,l=u.colspan,c=r.isNew,{element:a,rowspan:s,colspan:l,isNew:c})]}return[];var a,s,l,c}));return((e,t,n,r)=>({element:e,cells:t,section:n,isNew:r}))(r.element,i,r.section,r.isNew)}))},oa=(e,t,n)=>{const r=[];j(e.colgroups,(o=>{const i=[];for(let r=0;r<e.grid.columns;r++){const o=Xn.getColumnAt(e,r).map((e=>Ke(e.element,n,!1))).getOrThunk((()=>Ke(t.colGap(),!0,!1)));i.push(o)}r.push($e(o.element,i,"colgroup",n))}));for(let o=0;o<e.grid.rows;o++){const i=[];for(let r=0;r<e.grid.columns;r++){const a=Xn.getAt(e,o,r).map((e=>Ke(e.element,n,e.isLocked))).getOrThunk((()=>Ke(t.gap(),!0,!1)));i.push(a)}const a=e.all[o],s=$e(a.element,i,a.section,n);r.push(s)}return r},ia=e=>ra(e,xe),aa=(e,t)=>W(e.all,(e=>R(e.cells,(e=>xe(t,e.element))))),sa=(e,t,n)=>{const r=O(t.selection,(t=>qt(t).bind((t=>aa(e,t))).filter(n))),o=gt(r);return vt(o.length>0,o)},la=(e,t,n,r,o)=>(i,a,s,l)=>{const c=Xn.fromTable(i),u=C.from(null==l?void 0:l.section).getOrThunk(Gi);return t(c,a).map((t=>{const n=((e,t)=>oa(e,t,!1))(c,s),r=e(n,t,xe,o(s),u),i=Zn(r.grid);return{info:t,grid:ia(r.grid),cursor:r.cursor,lockedColumns:i}})).bind((e=>{const t=ea(i,e.grid),o=C.from(null==l?void 0:l.sizing).getOrThunk((()=>oo(i))),a=C.from(null==l?void 0:l.resize).getOrThunk(Pi);return n(i,e.grid,e.info,{sizing:o,resize:a,section:u}),r(i),he(i,Vn),e.lockedColumns.length>0&&ue(i,Vn,e.lockedColumns.join(",")),C.some({cursor:e.cursor,newRows:t.newRows,newCells:t.newCells})}))},ca=(e,t)=>sa(e,t,x).map((e=>({cells:e,generators:t.generators,clipboard:t.clipboard}))),ua=(e,t)=>sa(e,t,x),da=(e,t)=>sa(e,t,(e=>!e.isLocked)),fa=(e,t)=>F(t,(t=>((e,t)=>aa(e,t).exists((e=>!e.isLocked)))(e,t))),pa=(e,t,n,r)=>{const o=Hn(e).rows;let i=!0;for(let e=0;e<o.length;e++)for(let a=0;a<Un(o[0]);a++){const s=o[e],l=zn(s,a),c=n(l.element,t);c&&!i?Nn(s,a,Ke(r(),!0,l.isLocked)):c&&(i=!1)}return e},ha=(e,t,n,r)=>{const o=Hn(e).rows;if(t>0&&t<o.length){const e=((e,t)=>D(e,((e,n)=>E(e,(e=>t(e.element,n.element)))?e:e.concat([n])),[]))(o[t-1].cells,n);j(e,(e=>{let i=C.none();for(let a=t;a<o.length;a++)for(let t=0;t<Un(o[0]);t++){const s=o[a],l=zn(s,t);n(l.element,e.element)&&(i.isNone()&&(i=C.some(r())),i.each((e=>{Nn(s,t,Ke(e,!0,l.isLocked))})))}}))}return e},ma=e=>{const t=t=>t(e),n=h(e),r=()=>o,o={tag:!0,inner:e,fold:(t,n)=>n(e),isValue:x,isError:A,map:t=>va.value(t(e)),mapError:r,bind:t,exists:t,forall:t,getOr:n,or:r,getOrThunk:n,orThunk:r,getOrDie:n,each:t=>{t(e)},toOptional:()=>C.some(e)};return o},ga=e=>{const t=()=>n,n={tag:!1,inner:e,fold:(t,n)=>t(e),isValue:A,isError:x,map:t,mapError:t=>va.error(t(e)),bind:t,exists:A,forall:x,getOr:m,or:m,getOrThunk:y,orThunk:y,getOrDie:(r=String(e),()=>{throw new Error(r)}),each:p,toOptional:C.none};var r;return n},va={value:ma,error:ga,fromOption:(e,t)=>e.fold((()=>ga(t)),ma)},ba=(e,t)=>({rowDelta:0,colDelta:Un(e[0])-Un(t[0])}),ya=(e,t)=>({rowDelta:e.length-t.length,colDelta:0}),Aa=(e,t,n,r)=>{const o="colgroup"===t.section?n.col:n.cell;return B(e,(e=>Ke(o(),!0,r(e))))},xa=(e,t,n,r)=>{const o=e[e.length-1];return e.concat(B(t,(()=>{const e="colgroup"===o.section?n.colgroup:n.row,t=Wn(o,e,m),i=Aa(t.cells.length,t,n,(e=>J(r,e.toString())));return Fn(t,i)})))},Ca=(e,t,n,r)=>O(e,(e=>{const o=Aa(t,e,n,A);return Ln(e,r,o)})),_a=(e,t,n)=>{const r=t.colDelta<0?Ca:m,o=t.rowDelta<0?xa:m,i=Zn(e),a=Un(e[0]),s=E(i,(e=>e===a-1)),l=r(e,Math.abs(t.colDelta),n,s?a-1:a),c=Zn(l);return o(l,Math.abs(t.rowDelta),n,z(c,x))},wa=(e,t,n,r)=>{const o=v(r,zn(e[t],n).element),i=e[t];return e.length>1&&Un(i)>1&&(n>0&&o(qn(i,n-1))||n<i.cells.length-1&&o(qn(i,n+1))||t>0&&o(qn(e[t-1],n))||t<e.length-1&&o(qn(e[t+1],n)))},ka=(e,t,n)=>P(n,(n=>n>=e.column&&n<=Un(t[0])+e.column)),Sa=(e,t,n,r,o)=>{const i=Zn(t),a=((e,t,n)=>{const r=Un(t[0]),o=Hn(t).cols.length+e.row,i=B(r-e.column,(t=>t+e.column)),a=R(i,(e=>F(n,(t=>t!==e)))).getOr(r-1);return{row:o,column:a}})(e,t,i),s=Hn(n).rows,l=ka(a,s,i),c=((e,t,n)=>{if(e.row>=t.length||e.column>Un(t[0]))return va.error("invalid start address out of table bounds, row: "+e.row+", column: "+e.column);const r=t.slice(e.row),o=r[0].cells.slice(e.column),i=Un(n[0]),a=n.length;return va.value({rowDelta:r.length-a,colDelta:o.length-i})})(a,t,s);return c.map((e=>{const n={...e,colDelta:e.colDelta-l.length},i=_a(t,n,r),c=Zn(i),u=ka(a,s,c);return((e,t,n,r,o,i)=>{const a=e.row,s=e.column,l=a+n.length,c=s+Un(n[0])+i.length,u=z(i,x);for(let e=a;e<l;e++){let i=0;for(let l=s;l<c;l++){if(u[l]){i++;continue}wa(t,e,l,o)&&pa(t,qn(t[e],l),o,r.cell);const c=l-s-i,d=zn(n[e-a],c),f=d.element,p=r.replace(f);Nn(t[e],l,Ke(p,!0,d.isLocked))}}return t})(a,i,s,r,o,u)}))},Ea=(e,t,n,r,o)=>{((e,t,n,r)=>{t>0&&t<e[0].cells.length&&j(e,(e=>{const o=e.cells[t-1];let i=0;const a=r();for(;e.cells.length>t+i&&n(o.element,e.cells[t+i].element);)Nn(e,t+i,Ke(a,!0,e.cells[t+i].isLocked)),i++}))})(t,e,o,r.cell);const i=ya(n,t),a=_a(n,i,r),s=ya(t,a),l=_a(t,s,r);return O(l,((t,n)=>Ln(t,e,a[n].cells)))},Ba=(e,t,n,r,o)=>{ha(t,e,o,r.cell);const i=Zn(t),a=ba(t,n),s={...a,colDelta:a.colDelta-i.length},l=_a(t,s,r),{cols:c,rows:u}=Hn(l),d=Zn(l),f=ba(n,t),p={...f,colDelta:f.colDelta+d.length},h=((e,t,n)=>O(e,(e=>D(n,((n,r)=>{const o=Aa(1,e,t,x)[0];return In(n,r,o)}),e))))(n,r,d),m=_a(h,p,r);return[...c,...u.slice(0,e),...m,...u.slice(e,u.length)]},Oa=(e,t,n,r,o)=>{const{rows:i,cols:a}=Hn(e),s=i.slice(0,t),l=i.slice(t),c=((e,t,n,r)=>Wn(e,(e=>r(e,n)),t))(i[n],((e,n)=>t>0&&t<i.length&&r(qn(i[t-1],n),qn(i[t],n))?zn(i[t],n):Ke(o(e.element,r),!0,e.isLocked)),r,o);return[...a,...s,c,...l]},ja=(e,t,n,r,o)=>O(e,(e=>{const i=t>0&&t<Un(e)&&r(qn(e,t-1),qn(e,t)),a=((e,t,n,r,o,i,a)=>{if("colgroup"!==n&&r)return zn(e,t);{const t=zn(e,o);return Ke(a(t.element,i),!0,!1)}})(e,t,e.section,i,n,r,o);return In(e,t,a)})),Ta=(e,t,n,r)=>((e,t,n,r)=>void 0!==qn(e[t],n)&&t>0&&r(qn(e[t-1],n),qn(e[t],n)))(e,t,n,r)||((e,t,n)=>t>0&&n(qn(e,t-1),qn(e,t)))(e[t],n,r),Pa=(e,t,n,r)=>{const o=e=>(e=>"row"===e?Rt(t):Dt(t))(e)?`${e}group`:e;if(e)return Di(t)?o(n):null;if(r&&Di(t)){return o("row"===n?"col":"row")}return null},Ma=(e,t,n)=>Ke(n(e.element,t),!0,e.isLocked),Da=(e,t,n,r,o,i,a)=>O(e,((e,s)=>((e,t)=>{const n=e.cells,r=O(n,t);return $e(e.element,r,e.section,e.isNew)})(e,((e,l)=>{if((e=>E(t,(t=>n(e.element,t.element))))(e)){const t=a(e,s,l)?o(e,n,r):e;return i(t,s,l).each((e=>{var n,r;n=t.element,r={scope:C.from(e)},Z(r,((e,t)=>{e.fold((()=>{he(n,t)}),(e=>{ce(n.dom,t,e)}))}))})),t}return e})))),Ra=(e,t,n)=>N(e,((r,o)=>Ta(e,o,t,n)?[]:[zn(r,t)])),La=(e,t,n,r,o)=>{const i=Hn(e).rows,a=N(t,(e=>Ra(i,e,r))),s=O(i,(e=>Ri(e.cells))),l=((e,t)=>F(t,m)&&Ri(e)?x:(e,n,r)=>!("th"===ee(e.element)&&t[n]))(a,s),c=((e,t)=>(n,r)=>C.some(Pa(e,n.element,"row",t[r])))(n,s);return Da(e,a,r,o,Ma,c,l)},Ia=(e,t,n,r,o,i,a)=>{const{cols:s,rows:l}=Hn(e),c=l[t[0]],u=N(t,(e=>((e,t,n)=>{const r=e[t];return N(r.cells,((r,o)=>Ta(e,t,o,n)?[]:[r]))})(l,e,o))),d=O(c.cells,((e,t)=>Ri(Ra(l,t,o)))),f=[...l];j(t,(e=>{f[e]=a.transformRow(l[e],n)}));const p=[...s,...f],h=((e,t)=>F(t,m)&&Ri(e.cells)?x:(e,n,r)=>!("th"===ee(e.element)&&t[r]))(c,d),g=((e,t)=>(n,r,o)=>C.some(Pa(e,n.element,"col",t[o])))(r,d);return Da(p,u,o,i,a.transformCell,g,h)},Na=(e,t,n,r)=>{const o=Hn(e).rows,i=O(t,(e=>zn(o[e.row],e.column)));return Da(e,i,n,r,Ma,C.none,x)},Fa=e=>{if(!a(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],n={};return j(e,((r,o)=>{const i=V(r);if(1!==i.length)throw new Error("one and only one name per case");const s=i[0],l=r[s];if(void 0!==n[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!a(l))throw new Error("case arguments must be an array");t.push(s),n[s]=(...n)=>{const r=n.length;if(r!==l.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+l.length+" ("+l+"), got "+r);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:e=>{const r=V(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!F(t,(e=>S(r,e))))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[s].apply(null,n)},log:e=>{console.log(e,{constructors:t,constructor:s,params:n})}}}})),n},za={...Fa([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}])},qa=(e,t,n,r,o)=>{const i=e.slice(0),a=((e,t)=>0===e.length?za.none():1===e.length?za.only(0):0===t?za.left(0,1):t===e.length-1?za.right(t-1,t):t>0&&t<e.length-1?za.middle(t-1,t,t+1):za.none())(e,t),s=h(O(i,h(0)));return a.fold(s,(e=>r.singleColumnWidth(i[e],n)),((e,t)=>o.calcLeftEdgeDeltas(i,e,t,n,r.minCellWidth(),r.isRelative)),((e,t,a)=>o.calcMiddleDeltas(i,e,t,a,n,r.minCellWidth(),r.isRelative)),((e,t)=>o.calcRightEdgeDeltas(i,e,t,n,r.minCellWidth(),r.isRelative)))},Ua=(e,t,n)=>{let r=0;for(let o=e;o<t;o++)r+=void 0!==n[o]?n[o]:0;return r},Ha=(e,t)=>{const n=Xn.justCells(e);return O(n,(e=>{const n=Ua(e.row,e.row+e.rowspan,t);return{element:e.element,height:n,rowspan:e.rowspan}}))},Wa=(e,t)=>Xn.hasColumns(e)?((e,t)=>{const n=Xn.justColumns(e);return O(n,((e,n)=>({element:e.element,width:t[n],colspan:e.colspan})))})(e,t):((e,t)=>{const n=Xn.justCells(e);return O(n,(e=>{const n=Ua(e.column,e.column+e.colspan,t);return{element:e.element,width:n,colspan:e.colspan}}))})(e,t),Va=(e,t,n)=>{const r=Wa(e,t);j(r,(e=>{n.setElementWidth(e.element,e.width)}))},Ya=(e,t,n,r,o)=>{const i=Xn.fromTable(e),a=o.getCellDelta(t),s=o.getWidths(i,o),l=n===i.grid.columns-1,c=r.clampTableDelta(s,n,a,o.minCellWidth(),l),u=qa(s,n,c,o,r),d=O(u,((e,t)=>e+s[t]));Va(i,d,o),r.resizeTable(o.adjustTableWidth,c,l)},Za=(e,t,n,r)=>{const o=Xn.fromTable(e),i=((e,t,n)=>Jr(e,t,n,Ur,(e=>e.getOrThunk(Nt))))(o,e,r),a=O(i,((e,r)=>n===r?Math.max(t+e,Nt()):e)),s=Ha(o,a),l=((e,t)=>O(e.all,((e,n)=>({element:e.element,height:t[n]}))))(o,a);j(l,(e=>{Rr(e.element,e.height)})),j(s,(e=>{Rr(e.element,e.height)}));const c=M(a,((e,t)=>e+t),0);Rr(e,c)},Ga=e=>D(e,((e,t)=>E(e,(e=>e.column===t.column))?e:e.concat([t])),[]).sort(((e,t)=>e.column-t.column)),Ka=le("col"),$a=le("colgroup"),Xa=e=>"tr"===ee(e)||$a(e),Qa=e=>({element:e,colspan:Pt(e,"colspan",1),rowspan:Pt(e,"rowspan",1)}),Ja=e=>pe(e,"scope").map((e=>e.substr(0,3))),es=(e,t=Qa)=>{const n=n=>{if(Xa(n))return $a((o={element:n}).element)?e.colgroup(o):e.row(o);{const o=n,i=(t=>Ka(t.element)?e.col(t):e.cell(t))(t(o));return r=C.some({item:o,replacement:i}),i}var o};let r=C.none();return{getOrInit:(e,t)=>r.fold((()=>n(e)),(r=>t(e,r.item)?r.replacement:n(e)))}},ts=e=>t=>{const n=[],r=r=>{const o="td"===e?{scope:null}:{},i=t.replace(r,e,o);return n.push({item:r,sub:i}),i};return{replaceOrInit:(e,t)=>{if(Xa(e)||Ka(e))return e;{const o=e;return((e,t)=>R(n,(n=>t(n.item,e))))(o,t).fold((()=>r(o)),(n=>t(e,n.item)?n.sub:r(o)))}}}},ns=e=>({unmerge:t=>{const n=Ja(t);return n.each((e=>ue(t,"scope",e))),()=>{const r=e.cell({element:t,colspan:1,rowspan:1});return Tt(r,"width"),Tt(t,"width"),n.each((e=>ue(r,"scope",e))),r}},merge:e=>(Tt(e[0],"width"),(()=>{const t=gt(O(e,Ja));if(0===t.length)return C.none();{const e=t[0],n=["row","col"];return E(t,(t=>t!==e&&S(n,t)))?C.none():C.from(e)}})().fold((()=>he(e[0],"scope")),(t=>ue(e[0],"scope",t+"group"))),h(e[0]))}),rs=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","table","thead","tfoot","tbody","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"],os=Yo(),is=e=>((e,t)=>{const n=e.property().name(t);return S(rs,n)})(os,e),as=e=>((e,t)=>{const n=e.property().name(t);return S(["ol","ul"],n)})(os,e),ss=e=>((e,t)=>S(["br","img","hr","input"],e.property().name(t)))(os,e),ls=e=>{const t=le("br"),n=e=>bo(e).bind((n=>{const r=Oe(n).map((e=>!!is(e)||!!ss(e)&&"img"!==ee(e))).getOr(!1);return Se(n).map((o=>!0===r||(e=>"li"===ee(e)||ut(e,as).isSome())(o)||t(n)||is(o)&&!xe(e,o)?[]:[ve.fromTag("br")]))})).getOr([]),r=(()=>{const r=N(e,(e=>{const r=je(e);return(e=>F(e,(e=>t(e)||ie(e)&&0===uo(e).trim().length)))(r)?[]:r.concat(n(e))}));return 0===r.length?[ve.fromTag("br")]:r})();Fe(e[0]),Ne(e[0],r)},cs=e=>$i(e,!0),us=e=>{0===Ut(e).length&&ze(e)},ds=(e,t)=>({grid:e,cursor:t}),fs=(e,t,n)=>{var r,o;const i=Hn(e).rows;return C.from(null===(o=null===(r=i[t])||void 0===r?void 0:r.cells[n])||void 0===o?void 0:o.element).filter(cs).orThunk((()=>(e=>W(e,(e=>W(e.cells,(e=>{const t=e.element;return vt(cs(t),t)})))))(i)))},ps=(e,t,n)=>{const r=fs(e,t,n);return ds(e,r)},hs=e=>D(e,((e,t)=>E(e,(e=>e.row===t.row))?e:e.concat([t])),[]).sort(((e,t)=>e.row-t.row)),ms=(e,t)=>(n,r,o,i,a)=>{const s=hs(r),l=O(s,(e=>e.row)),c=Ia(n,l,e,t,o,i.replaceOrInit,a);return ps(c,r[0].row,r[0].column)},gs=ms("thead",!0),vs=ms("tbody",!1),bs=ms("tfoot",!1),ys=(e,t,n)=>{const r=((e,t)=>Zt(e,(()=>t)))(e,n.section),o=Xn.generate(r);return oa(o,t,!0)},As=(e,t,n,r)=>((e,t,n,r)=>{const o=Xn.generate(t),i=r.getWidths(o,r);Va(o,i,r)})(0,t,0,r.sizing),xs=(e,t,n,r)=>((e,t,n,r,o)=>{const i=Xn.generate(t),a=r.getWidths(i,r),s=r.pixelWidth(),{newSizes:l,delta:c}=o.calcRedestributedWidths(a,s,n.pixelDelta,r.isRelative);Va(i,l,r),r.adjustTableWidth(c)})(0,t,n,r.sizing,r.resize),Cs=(e,t)=>E(t,(e=>0===e.column&&e.isLocked)),_s=(e,t)=>E(t,(t=>t.column+t.colspan>=e.grid.columns&&t.isLocked)),ws=(e,t)=>{const n=Qn(e),r=Ga(t);return D(r,((e,t)=>e+n[t.column].map(Mn).getOr(0)),0)},ks=e=>(t,n)=>ua(t,n).filter((n=>!(e?Cs:_s)(t,n))).map((e=>({details:e,pixelDelta:ws(t,e)}))),Ss=e=>(t,n)=>ca(t,n).filter((n=>!(e?Cs:_s)(t,n.cells))),Es=ts("th"),Bs=ts("td"),Os=la(((e,t,n,r)=>{const o=t[0].row,i=hs(t),a=M(i,((e,t)=>({grid:Oa(e.grid,o,t.row+e.delta,n,r.getOrInit),delta:e.delta+1})),{grid:e,delta:0}).grid;return ps(a,o,t[0].column)}),ua,p,p,es),js=la(((e,t,n,r)=>{const o=hs(t),i=o[o.length-1],a=i.row+i.rowspan,s=M(o,((e,t)=>Oa(e,a,t.row,n,r.getOrInit)),e);return ps(s,a,t[0].column)}),ua,p,p,es),Ts=la(((e,t,n,r)=>{const o=t.details,i=Ga(o),a=i[0].column,s=M(i,((e,t)=>({grid:ja(e.grid,a,t.column+e.delta,n,r.getOrInit),delta:e.delta+1})),{grid:e,delta:0}).grid;return ps(s,o[0].row,a)}),ks(!0),xs,p,es),Ps=la(((e,t,n,r)=>{const o=t.details,i=o[o.length-1],a=i.column+i.colspan,s=Ga(o),l=M(s,((e,t)=>ja(e,a,t.column,n,r.getOrInit)),e);return ps(l,o[0].row,a)}),ks(!1),xs,p,es),Ms=la(((e,t,n,r)=>{const o=Ga(t.details),i=((e,t)=>N(e,(e=>{const n=e.cells,r=M(t,((e,t)=>t>=0&&t<e.length?e.slice(0,t).concat(e.slice(t+1)):e),n);return r.length>0?[$e(e.element,r,e.section,e.isNew)]:[]})))(e,O(o,(e=>e.column))),a=i.length>0?i[0].cells.length-1:0;return ps(i,o[0].row,Math.min(o[0].column,a))}),((e,t)=>da(e,t).map((t=>({details:t,pixelDelta:-ws(e,t)})))),xs,us,es),Ds=la(((e,t,n,r)=>{const o=hs(t),i=((e,t,n)=>{const{rows:r,cols:o}=Hn(e);return[...o,...r.slice(0,t),...r.slice(n+1)]})(e,o[0].row,o[o.length-1].row),a=i.length>0?i.length-1:0;return ps(i,Math.min(t[0].row,a),t[0].column)}),ua,p,us,es),Rs=la(((e,t,n,r)=>{const o=Ga(t),i=O(o,(e=>e.column)),a=La(e,i,!0,n,r.replaceOrInit);return ps(a,t[0].row,t[0].column)}),da,p,p,Es),Ls=la(((e,t,n,r)=>{const o=Ga(t),i=O(o,(e=>e.column)),a=La(e,i,!1,n,r.replaceOrInit);return ps(a,t[0].row,t[0].column)}),da,p,p,Bs),Is=la(gs,da,p,p,Es),Ns=la(vs,da,p,p,Bs),Fs=la(bs,da,p,p,Bs),zs=la(((e,t,n,r)=>{const o=Na(e,t,n,r.replaceOrInit);return ps(o,t[0].row,t[0].column)}),da,p,p,Es),qs=la(((e,t,n,r)=>{const o=Na(e,t,n,r.replaceOrInit);return ps(o,t[0].row,t[0].column)}),da,p,p,Bs),Us=la(((e,t,n,r)=>{const o=t.cells;ls(o);const i=((e,t,n,r)=>{const o=Hn(e).rows;if(0===o.length)return e;for(let e=t.startRow;e<=t.finishRow;e++)for(let n=t.startCol;n<=t.finishCol;n++){const t=o[e],i=zn(t,n).isLocked;Nn(t,n,Ke(r(),!1,i))}return e})(e,t.bounds,0,r.merge(o));return ds(i,C.from(o[0]))}),((e,t)=>((e,t)=>t.mergable)(0,t).filter((t=>fa(e,t.cells)))),As,p,ns),Hs=la(((e,t,n,r)=>{const o=M(t,((e,t)=>pa(e,t,n,r.unmerge(t))),e);return ds(o,C.from(t[0]))}),((e,t)=>((e,t)=>t.unmergable)(0,t).filter((t=>fa(e,t)))),As,p,ns),Ws=la(((e,t,n,r)=>{const o=((e,t)=>{const n=Xn.fromTable(e);return oa(n,t,!0)})(t.clipboard,t.generators),i=((e,t)=>({row:e,column:t}))(t.row,t.column);return Sa(i,e,o,t.generators,n).fold((()=>ds(e,C.some(t.element))),(e=>ps(e,t.row,t.column)))}),((e,t)=>qt(t.element).bind((n=>aa(e,n).map((e=>({...e,generators:t.generators,clipboard:t.clipboard})))))),As,p,es),Vs=la(((e,t,n,r)=>{const o=Hn(e).rows,i=t.cells[0].column,a=o[t.cells[0].row],s=ys(t.clipboard,t.generators,a),l=Ea(i,e,s,t.generators,n);return ps(l,t.cells[0].row,t.cells[0].column)}),Ss(!0),p,p,es),Ys=la(((e,t,n,r)=>{const o=Hn(e).rows,i=t.cells[t.cells.length-1].column+t.cells[t.cells.length-1].colspan,a=o[t.cells[0].row],s=ys(t.clipboard,t.generators,a),l=Ea(i,e,s,t.generators,n);return ps(l,t.cells[0].row,t.cells[0].column)}),Ss(!1),p,p,es),Zs=la(((e,t,n,r)=>{const o=Hn(e).rows,i=t.cells[0].row,a=o[i],s=ys(t.clipboard,t.generators,a),l=Ba(i,e,s,t.generators,n);return ps(l,t.cells[0].row,t.cells[0].column)}),ca,p,p,es),Gs=la(((e,t,n,r)=>{const o=Hn(e).rows,i=t.cells[t.cells.length-1].row+t.cells[t.cells.length-1].rowspan,a=o[t.cells[0].row],s=ys(t.clipboard,t.generators,a),l=Ba(i,e,s,t.generators,n);return ps(l,t.cells[0].row,t.cells[0].column)}),ca,p,p,es),Ks=(e,t)=>{const n=Xn.fromTable(e);return ua(n,t).bind((e=>{const t=e[e.length-1],r=e[0].column,o=t.column+t.colspan,i=I(O(n.all,(e=>P(e.cells,(e=>e.column>=r&&e.column<o)))));return Ni(i)})).getOr("")},$s=(e,t)=>{const n=Xn.fromTable(e);return ua(n,t).bind(Ni).getOr("")},Xs=(e,t)=>{const n=Xn.fromTable(e);return ua(n,t).bind((e=>{const t=e[e.length-1],r=e[0].row,o=t.row+t.rowspan;return(e=>{const t=O(e,(e=>Ii(e).type)),n=S(t,"header"),r=S(t,"footer");if(n||r){const e=S(t,"body");return!n||e||r?n||e||!r?C.none():C.some("footer"):C.some("header")}return C.some("body")})(n.all.slice(r,o))})).getOr("")},Qs=(e,t)=>e.dispatch("NewRow",{node:t}),Js=(e,t)=>e.dispatch("NewCell",{node:t}),el=(e,t,n)=>{e.dispatch("TableModified",{...n,table:t})},tl={structure:!1,style:!0},nl={structure:!0,style:!1},rl={structure:!0,style:!0},ol=e=>t=>t.options.get(e),il="100%",al=e=>{var t;const n=e.dom,r=null!==(t=n.getParent(e.selection.getStart(),n.isBlock))&&void 0!==t?t:e.getBody();return Dn(ve.fromDom(r))+"px"},sl=e=>C.from(e.options.get("table_clone_elements")),ll=ol("table_header_type"),cl=ol("table_column_resizing"),ul=e=>"preservetable"===cl(e),dl=e=>"resizetable"===cl(e),fl=ol("table_sizing_mode"),pl=e=>"relative"===fl(e),hl=e=>"fixed"===fl(e),ml=e=>"responsive"===fl(e),gl=ol("table_resize_bars"),vl=ol("table_style_by_css"),bl=e=>{const t=e.options,n=t.get("table_default_attributes");return t.isSet("table_default_attributes")?n:((e,t)=>ml(e)||vl(e)?t:hl(e)?{...t,width:al(e)}:{...t,width:il})(e,n)},yl=e=>{const t=e.options,n=t.get("table_default_styles");return t.isSet("table_default_styles")?n:((e,t)=>ml(e)||!vl(e)?t:hl(e)?{...t,width:al(e)}:{...t,width:il})(e,n)},Al=ol("table_use_colgroups"),xl=(e,t)=>pl(e)?ao(t):hl(e)?io(t):oo(t),Cl=(e,t,n)=>{const r=e=>"table"===ee(Oo(e)),o=sl(e),i=dl(e)?p:ki,a=t=>{switch(ll(e)){case"section":return Vi();case"sectionCells":return Yi();case"cells":return Zi();default:return Wi(t,"section")}},s=(t,r)=>r.cursor.fold((()=>{const r=Ut(t);return U(r).filter(rt).map((r=>{n.clearSelectedCells(t.dom);const o=e.dom.createRng();return o.selectNode(r.dom),e.selection.setRng(o),ue(r,"data-mce-selected","1"),o}))}),(r=>{const o=_i(wi,r);const i=e.dom.createRng();return i.setStart(o.element.dom,o.offset),i.setEnd(o.element.dom,o.offset),e.selection.setRng(i),n.clearSelectedCells(t.dom),C.some(i)})),l=(n,r,i,l)=>(c,u,d=!1)=>{To(c);const f=ve.fromDom(e.getDoc()),p=Eo(i,f,o),h={sizing:xl(e,c),resize:dl(e)?Ti():Pi(),section:a(c)};return r(c)?n(c,u,p,h).bind((n=>{t.refresh(c.dom),j(n.newRows,(t=>{Qs(e,t.dom)})),j(n.newCells,(t=>{Js(e,t.dom)}));const r=s(c,n);return rt(c)&&(To(c),d||el(e,c.dom,l)),r.map((e=>({rng:e,effect:l})))})):C.none()},c=l(Ds,(t=>!r(e)||Mi(t).rows>1),p,nl),u=l(Ms,(t=>!r(e)||Mi(t).columns>1),p,nl);return{deleteRow:c,deleteColumn:u,insertRowsBefore:l(Os,x,p,nl),insertRowsAfter:l(js,x,p,nl),insertColumnsBefore:l(Ts,x,i,nl),insertColumnsAfter:l(Ps,x,i,nl),mergeCells:l(Us,x,p,nl),unmergeCells:l(Hs,x,p,nl),pasteColsBefore:l(Vs,x,p,nl),pasteColsAfter:l(Ys,x,p,nl),pasteRowsBefore:l(Zs,x,p,nl),pasteRowsAfter:l(Gs,x,p,nl),pasteCells:l(Ws,x,p,rl),makeCellsHeader:l(zs,x,p,nl),unmakeCellsHeader:l(qs,x,p,nl),makeColumnsHeader:l(Rs,x,p,nl),unmakeColumnsHeader:l(Ls,x,p,nl),makeRowsHeader:l(Is,x,p,nl),makeRowsBody:l(Ns,x,p,nl),makeRowsFooter:l(Fs,x,p,nl),getTableRowType:Xs,getTableCellType:$s,getTableColType:Ks}},_l=(e,t,n)=>{const r=Pt(e,t,1);1===n||r<=1?he(e,t):ue(e,t,Math.min(n,r))},wl=(e,t)=>n=>{const r=n.column+n.colspan-1,o=n.column;return r>=e&&o<t},kl=(e,t)=>{const n=Xn.fromTable(e);return da(n,t).map((e=>{const t=e[e.length-1],r=e[0].column,o=t.column+t.colspan,i=((e,t,n)=>{if(Xn.hasColumns(e)){const r=P(Xn.justColumns(e),wl(t,n)),o=O(r,(e=>{const r=We(e.element);return _l(r,"span",n-t),r})),i=ve.fromTag("colgroup");return Ne(i,o),[i]}return[]})(n,r,o),a=((e,t,n)=>O(e.all,(e=>{const r=P(e.cells,wl(t,n)),o=O(r,(e=>{const r=We(e.element);return _l(r,"colspan",n-t),r})),i=ve.fromTag("tr");return Ne(i,o),i})))(n,r,o);return[...i,...a]}))},Sl=(e,t,n)=>{const r=Xn.fromTable(e);return ua(r,t).bind((e=>{const t=oa(r,n,!1),o=Hn(t).rows.slice(e[0].row,e[e.length-1].row+e[e.length-1].rowspan),i=N(o,(e=>{const t=P(e.cells,(e=>!e.isLocked));return t.length>0?[{...e,cells:t}]:[]})),a=ia(i);return vt(a.length>0,a)})).map((e=>(e=>O(e,(e=>{const t=He(e.element);return j(e.cells,(e=>{const n=We(e.element);Qi(n,"colspan",e.colspan,1),Qi(n,"rowspan",e.rowspan,1),Re(t,n)})),t})))(e)))},El=Fa([{invalid:["raw"]},{pixels:["value"]},{percent:["value"]}]),Bl=(e,t,n)=>{const r=n.substring(0,n.length-e.length),o=parseFloat(r);return r===o.toString()?t(o):El.invalid(n)},Ol={...El,from:e=>xt(e,"%")?Bl("%",El.percent,e):xt(e,"px")?Bl("px",El.pixels,e):El.invalid(e)},jl=(e,t,n)=>e.fold((()=>t),(e=>((e,t,n)=>{const r=n/t;return O(e,(e=>Ol.from(e).fold((()=>e),(e=>e*r+"px"),(e=>e/100*n+"px"))))})(t,n,e)),(e=>((e,t)=>O(e,(e=>Ol.from(e).fold((()=>e),(e=>e/t*100+"%"),(e=>e+"%")))))(t,n))),Tl=(e,t,n)=>{const r=Ol.from(n),o=F(e,(e=>"0px"===e))?((e,t)=>{const n=e.fold((()=>h("")),(e=>h(e/t+"px")),(()=>h(100/t+"%")));return B(t,n)})(r,e.length):jl(r,e,t);return Dl(o)},Pl=(e,t)=>0===e.length?t:M(e,((e,t)=>Ol.from(t).fold(h(0),m,m)+e),0),Ml=(e,t)=>Ol.from(e).fold(h(e),(e=>e+t+"px"),(e=>e+t+"%")),Dl=e=>{if(0===e.length)return e;const t=M(e,((e,t)=>{const n=Ol.from(t).fold((()=>({value:t,remainder:0})),(e=>((e,t)=>{const n=Math.floor(e);return{value:n+t,remainder:e-n}})(e,"px")),(e=>({value:e+"%",remainder:0})));return{output:[n.value].concat(e.output),remainder:e.remainder+n.remainder}}),{output:[],remainder:0}),n=t.output;return n.slice(0,n.length-1).concat([Ml(n[n.length-1],Math.round(t.remainder))])},Rl=Ol.from,Ll=e=>Rl(e).fold(h("px"),h("px"),h("%")),Il=(e,t,n)=>{const r=Xn.fromTable(e),o=r.all,i=Xn.justCells(r),a=Xn.justColumns(r);t.each((t=>{const n=Ll(t),o=Pn(e),s=((e,t)=>$r(e,t,Zr,Xr))(r,e),l=Tl(s,o,t);Xn.hasColumns(r)?((e,t,n)=>{j(t,((t,r)=>{const o=Pl([e[r]],It());St(t.element,"width",o+n)}))})(l,a,n):((e,t,n)=>{j(t,(t=>{const r=e.slice(t.column,t.colspan+t.column),o=Pl(r,It());St(t.element,"width",o+n)}))})(l,i,n),St(e,"width",t)})),n.each((t=>{const n=Ll(t),a=ir(e),s=((e,t,n)=>Jr(e,t,n,Gr,Xr))(r,e,_r);((e,t,n,r)=>{j(n,(t=>{const n=e.slice(t.row,t.rowspan+t.row),o=Pl(n,Nt());St(t.element,"height",o+r)})),j(t,((t,n)=>{St(t.element,"height",e[n])}))})(Tl(s,a,t),o,i,n),St(e,"height",t)}))},Nl=e=>Fr(e).exists((e=>Or.test(e))),Fl=e=>Fr(e).exists((e=>jr.test(e))),zl=e=>Fr(e).isNone(),ql=e=>{he(e,"width")},Ul=e=>{const t=Wr(e);Il(e,C.some(t),C.none()),ql(e)},Hl=e=>{const t=(e=>Pn(e)+"px")(e);Il(e,C.some(t),C.none()),ql(e)},Wl=e=>{Tt(e,"width");const t=Ht(e),n=t.length>0?t:Ut(e);j(n,(e=>{Tt(e,"width"),ql(e)})),ql(e)},Vl={styles:{"border-collapse":"collapse",width:"100%"},attributes:{border:"1"},colGroups:!1},Yl=e=>{const t=ve.fromTag("colgroup");return B(e,(()=>Re(t,ve.fromTag("col")))),t},Zl=(e,t,n,r)=>B(e,(e=>((e,t,n,r)=>{const o=ve.fromTag("tr");for(let i=0;i<e;i++){const e=r<t||i<n?ve.fromTag("th"):ve.fromTag("td");i<n&&ue(e,"scope","row"),r<t&&ue(e,"scope","col"),Re(e,ve.fromTag("br")),Re(o,e)}return o})(t,n,r,e))),Gl=(e,t)=>{e.selection.select(t.dom,!0),e.selection.collapse(!0)},Kl=(e,t,n,r,i)=>{const a=yl(e),s={styles:a,attributes:bl(e),colGroups:Al(e)};return e.undoManager.ignore((()=>{const o=((e,t,n,r,o,i=Vl)=>{const a=ve.fromTag("table"),s="cells"!==o;Et(a,i.styles),de(a,i.attributes),i.colGroups&&Re(a,Yl(t));const l=Math.min(e,n);if(s&&n>0){const e=ve.fromTag("thead");Re(a,e);const i=Zl(n,t,"sectionCells"===o?l:0,r);Ne(e,i)}const c=ve.fromTag("tbody");Re(a,c);const u=Zl(s?e-l:e,t,s?0:n,r);return Ne(c,u),a})(n,t,i,r,ll(e),s);ue(o,"data-mce-id","__mce");const a=(e=>{const t=ve.fromTag("div"),n=ve.fromDom(e.dom.cloneNode(!0));return Re(t,n),(e=>e.dom.innerHTML)(t)})(o);e.insertContent(a),e.addVisual()})),pt(Oo(e),'table[data-mce-id="__mce"]').map((t=>(hl(e)?Hl(t):ml(e)?Wl(t):(pl(e)||(e=>o(e)&&-1!==e.indexOf("%"))(a.width))&&Ul(t),To(t),he(t,"data-mce-id"),((e,t)=>{j(lt(t,"tr"),(t=>{Qs(e,t.dom),j(lt(t,"th,td"),(t=>{Js(e,t.dom)}))}))})(e,t),((e,t)=>{pt(t,"td,th").each(v(Gl,e))})(e,t),t.dom))).getOrNull()};var $l=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const Xl="x-tinymce/dom-table-",Ql=Xl+"rows",Jl=Xl+"columns",ec=e=>{const t=$l.FakeClipboardItem(e);$l.write([t])},tc=e=>{var t;const n=null!==(t=$l.read())&&void 0!==t?t:[];return W(n,(t=>C.from(t.getType(e))))},nc=e=>{tc(e).isSome()&&$l.clear()},rc=e=>{e.fold(ic,(e=>ec({[Ql]:e})))},oc=()=>tc(Ql),ic=()=>nc(Ql),ac=e=>{e.fold(lc,(e=>ec({[Jl]:e})))},sc=()=>tc(Jl),lc=()=>nc(Jl),cc=e=>mi(Po(e),jo(e)),uc=(e,t)=>{const n=jo(e),r=e=>Wt(e,n),a=t=>(e=>gi(Po(e),jo(e)))(e).bind((e=>r(e).map((n=>t(n,e))))),s=t=>{e.focus()},l=(t,n=!1)=>a(((r,o)=>{const i=pi(vi(e),r,o);t(r,i,n).each(s)})),c=()=>a(((t,n)=>{const r=pi(vi(e),t,n),o=Eo(p,ve.fromDom(e.getDoc()),C.none());return Sl(t,r,o)})),u=()=>a(((t,n)=>{const r=pi(vi(e),t,n);return kl(t,r)})),d=(t,n)=>n().each((n=>{const r=O(n,(e=>We(e)));a(((n,o)=>{const i=Bo(ve.fromDom(e.getDoc())),a=((e,t,n,r)=>({selection:ai(e),clipboard:n,generators:r}))(vi(e),0,r,i);t(n,a).each(s)}))})),h=e=>(t,n)=>((e,t)=>J(e,t)?C.from(e[t]):C.none())(n,"type").each((t=>{l(e(t),n.no_events)}));Z({mceTableSplitCells:()=>l(t.unmergeCells),mceTableMergeCells:()=>l(t.mergeCells),mceTableInsertRowBefore:()=>l(t.insertRowsBefore),mceTableInsertRowAfter:()=>l(t.insertRowsAfter),mceTableInsertColBefore:()=>l(t.insertColumnsBefore),mceTableInsertColAfter:()=>l(t.insertColumnsAfter),mceTableDeleteCol:()=>l(t.deleteColumn),mceTableDeleteRow:()=>l(t.deleteRow),mceTableCutCol:()=>u().each((e=>{ac(e),l(t.deleteColumn)})),mceTableCutRow:()=>c().each((e=>{rc(e),l(t.deleteRow)})),mceTableCopyCol:()=>u().each((e=>ac(e))),mceTableCopyRow:()=>c().each((e=>rc(e))),mceTablePasteColBefore:()=>d(t.pasteColsBefore,sc),mceTablePasteColAfter:()=>d(t.pasteColsAfter,sc),mceTablePasteRowBefore:()=>d(t.pasteRowsBefore,oc),mceTablePasteRowAfter:()=>d(t.pasteRowsAfter,oc),mceTableDelete:()=>cc(e).each((t=>{Wt(t,n).filter(b(n)).each((t=>{const n=ve.fromText("");if(Me(t,n),ze(t),e.dom.isEmpty(e.getBody()))e.setContent(""),e.selection.setCursorLocation();else{const t=e.dom.createRng();t.setStart(n.dom,0),t.setEnd(n.dom,0),e.selection.setRng(t),e.nodeChanged()}}))})),mceTableCellToggleClass:(t,n)=>{a((t=>{const r=vi(e),o=F(r,(t=>e.formatter.match("tablecellclass",{value:n},t.dom))),i=o?e.formatter.remove:e.formatter.apply;j(r,(e=>i("tablecellclass",{value:n},e.dom))),el(e,t.dom,tl)}))},mceTableToggleClass:(t,n)=>{a((t=>{e.formatter.toggle("tableclass",{value:n},t.dom),el(e,t.dom,tl)}))},mceTableToggleCaption:()=>{cc(e).each((t=>{Wt(t,n).each((n=>{ft(n,"caption").fold((()=>{const t=ve.fromTag("caption");Re(t,ve.fromText("Caption")),((e,t,n)=>{Te(e,n).fold((()=>{Re(e,t)}),(e=>{Pe(e,t)}))})(n,t,0),e.selection.setCursorLocation(t.dom,0)}),(r=>{le("caption")(t)&&Ae("td",n).each((t=>e.selection.setCursorLocation(t.dom,0))),ze(r)})),el(e,n.dom,nl)}))}))},mceTableSizingMode:(t,r)=>(t=>cc(e).each((r=>{ml(e)||hl(e)||pl(e)||Wt(r,n).each((n=>{"relative"!==t||Nl(n)?"fixed"!==t||Fl(n)?"responsive"!==t||zl(n)||Wl(n):Hl(n):Ul(n),To(n),el(e,n.dom,nl)}))})))(r),mceTableCellType:h((e=>"th"===e?t.makeCellsHeader:t.unmakeCellsHeader)),mceTableColType:h((e=>"th"===e?t.makeColumnsHeader:t.unmakeColumnsHeader)),mceTableRowType:h((e=>{switch(e){case"header":return t.makeRowsHeader;case"footer":return t.makeRowsFooter;default:return t.makeRowsBody}}))},((t,n)=>e.addCommand(n,t))),e.addCommand("mceInsertTable",((t,n)=>{((e,t,n,r={})=>{const o=e=>f(e)&&e>0;if(o(t)&&o(n)){const o=r.headerRows||0,i=r.headerColumns||0;return Kl(e,n,t,i,o)}console.error("Invalid values for mceInsertTable - rows and columns values are required to insert a table.")})(e,n.rows,n.columns,n.options)})),e.addCommand("mceTableApplyCellStyle",((t,n)=>{const a=e=>"tablecell"+e.toLowerCase().replace("-","");if(!i(n))return;const s=vi(e);if(0===s.length)return;const l=$(n,((t,n)=>e.formatter.has(a(n))&&o(t)));(e=>{for(const t in e)if(Y.call(e,t))return!1;return!0})(l)||(Z(l,((t,n)=>{const r=a(n);j(s,(n=>{""===t?e.formatter.remove(r,{value:null},n.dom,!0):e.formatter.apply(r,{value:t},n.dom)}))})),r(s[0]).each((t=>el(e,t.dom,tl))))}))},dc=Fa([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),fc={before:dc.before,on:dc.on,after:dc.after,cata:(e,t,n,r)=>e.fold(t,n,r),getStart:e=>e.fold(m,m,m)},pc=(e,t)=>({selection:e,kill:t}),hc=(e,t)=>{const n=e.document.createRange();return n.selectNode(t.dom),n},mc=(e,t)=>{const n=e.document.createRange();return gc(n,t),n},gc=(e,t)=>e.selectNodeContents(t.dom),vc=(e,t,n)=>{const r=e.document.createRange();var o;return o=r,t.fold((e=>{o.setStartBefore(e.dom)}),((e,t)=>{o.setStart(e.dom,t)}),(e=>{o.setStartAfter(e.dom)})),((e,t)=>{t.fold((t=>{e.setEndBefore(t.dom)}),((t,n)=>{e.setEnd(t.dom,n)}),(t=>{e.setEndAfter(t.dom)}))})(r,n),r},bc=(e,t,n,r,o)=>{const i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},yc=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),Ac=Fa([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),xc=(e,t,n)=>t(ve.fromDom(n.startContainer),n.startOffset,ve.fromDom(n.endContainer),n.endOffset),Cc=(e,t)=>{const n=((e,t)=>t.match({domRange:e=>({ltr:h(e),rtl:C.none}),relative:(t,n)=>({ltr:$t((()=>vc(e,t,n))),rtl:$t((()=>C.some(vc(e,n,t))))}),exact:(t,n,r,o)=>({ltr:$t((()=>bc(e,t,n,r,o))),rtl:$t((()=>C.some(bc(e,r,o,t,n))))})}))(e,t);return((e,t)=>{const n=t.ltr();if(n.collapsed)return t.rtl().filter((e=>!1===e.collapsed)).map((e=>Ac.rtl(ve.fromDom(e.endContainer),e.endOffset,ve.fromDom(e.startContainer),e.startOffset))).getOrThunk((()=>xc(0,Ac.ltr,n)));return xc(0,Ac.ltr,n)})(0,n)},_c=(e,t)=>Cc(e,t).match({ltr:(t,n,r,o)=>{const i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},rtl:(t,n,r,o)=>{const i=e.document.createRange();return i.setStart(r.dom,o),i.setEnd(t.dom,n),i}});Ac.ltr,Ac.rtl;const wc=(e,t,n,r)=>({start:e,soffset:t,finish:n,foffset:r}),kc=(e,t,n,r)=>({start:fc.on(e,t),finish:fc.on(n,r)}),Sc=(e,t)=>{const n=_c(e,t);return wc(ve.fromDom(n.startContainer),n.startOffset,ve.fromDom(n.endContainer),n.endOffset)},Ec=kc,Bc=(e,t,n,r,o)=>xe(n,r)?C.none():ei(n,r,t).bind((t=>{const r=t.boxes.getOr([]);return r.length>1?(o(e,r,t.start,t.finish),C.some(pc(C.some(Ec(n,0,n,ho(n))),!0))):C.none()})),Oc=(e,t)=>({item:e,mode:t}),jc=(e,t,n,r=Tc)=>e.property().parent(t).map((e=>Oc(e,r))),Tc=(e,t,n,r=Pc)=>n.sibling(e,t).map((e=>Oc(e,r))),Pc=(e,t,n,r=Pc)=>{const o=e.property().children(t);return n.first(o).map((e=>Oc(e,r)))},Mc=[{current:jc,next:Tc,fallback:C.none()},{current:Tc,next:Pc,fallback:C.some(jc)},{current:Pc,next:Pc,fallback:C.some(Tc)}],Dc=(e,t,n,r,o=Mc)=>R(o,(e=>e.current===n)).bind((n=>n.current(e,t,r,n.next).orThunk((()=>n.fallback.bind((n=>Dc(e,t,n,r))))))),Rc=()=>({sibling:(e,t)=>e.query().prevSibling(t),first:e=>e.length>0?C.some(e[e.length-1]):C.none()}),Lc=()=>({sibling:(e,t)=>e.query().nextSibling(t),first:e=>e.length>0?C.some(e[0]):C.none()}),Ic=(e,t,n,r,o,i)=>Dc(e,t,r,o).bind((t=>i(t.item)?C.none():n(t.item)?C.some(t.item):Ic(e,t.item,n,t.mode,o,i))),Nc=e=>t=>0===e.property().children(t).length,Fc=(e,t,n,r)=>Ic(e,t,n,Tc,Rc(),r),zc=(e,t,n,r)=>Ic(e,t,n,Tc,Lc(),r),qc=Yo(),Uc=(e,t)=>((e,t,n)=>Fc(e,t,Nc(e),n))(qc,e,t),Hc=(e,t)=>((e,t,n)=>zc(e,t,Nc(e),n))(qc,e,t),Wc=Fa([{none:["message"]},{success:[]},{failedUp:["cell"]},{failedDown:["cell"]}]),Vc=e=>ht(e,"tr"),Yc={...Wc,verify:(e,t,n,r,o,i,a)=>ht(r,"td,th",a).bind((n=>ht(t,"td,th",a).map((t=>xe(n,t)?xe(r,n)&&ho(n)===o?i(t):Wc.none("in same cell"):Qo(Vc,[n,t]).fold((()=>((e,t,n)=>{const r=e.getRect(t),o=e.getRect(n);return o.right>r.left&&o.left<r.right})(e,t,n)?Wc.success():i(t)),(e=>i(t))))))).getOr(Wc.none("default")),cata:(e,t,n,r,o)=>e.fold(t,n,r,o)},Zc=(e,t)=>L(e,v(xe,t)),Gc=le("br"),Kc=(e,t,n)=>t(e,n).bind((e=>ie(e)&&0===uo(e).trim().length?Kc(e,t,n):C.some(e))),$c=(e,t,n,r)=>((e,t)=>Te(e,t).filter(Gc).orThunk((()=>Te(e,t-1).filter(Gc))))(t,n).bind((t=>r.traverse(t).fold((()=>Kc(t,r.gather,e).map(r.relative)),(e=>(e=>Se(e).bind((t=>{const n=je(t);return Zc(n,e).map((r=>((e,t,n,r)=>({parent:e,children:t,element:n,index:r}))(t,n,e,r)))})))(e).map((e=>fc.on(e.parent,e.index))))))),Xc=(e,t,n,r)=>{const o=Gc(t)?((e,t,n)=>n.traverse(t).orThunk((()=>Kc(t,n.gather,e))).map(n.relative))(e,t,r):$c(e,t,n,r);return o.map((e=>({start:e,finish:e})))},Qc=(e,t)=>({left:e.left,top:e.top+t,right:e.right,bottom:e.bottom+t}),Jc=(e,t)=>({left:e.left,top:e.top-t,right:e.right,bottom:e.bottom-t}),eu=(e,t,n)=>({left:e.left+t,top:e.top+n,right:e.right+t,bottom:e.bottom+n}),tu=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom}),nu=(e,t)=>C.some(e.getRect(t)),ru=(e,t,n)=>oe(t)?nu(e,t).map(tu):ie(t)?((e,t,n)=>n>=0&&n<ho(t)?e.getRangedRect(t,n,t,n+1):n>0?e.getRangedRect(t,n-1,t,n):C.none())(e,t,n).map(tu):C.none(),ou=(e,t)=>oe(t)?nu(e,t).map(tu):ie(t)?e.getRangedRect(t,0,t,ho(t)).map(tu):C.none(),iu=Fa([{none:[]},{retry:["caret"]}]),au=(e,t,n)=>{return(r=t,o=is,ct(((e,t)=>t(e)),ut,r,o,i)).fold(A,(t=>ou(e,t).exists((e=>((e,t)=>e.left<t.left||Math.abs(t.right-e.left)<1||e.left>t.right)(n,e)))));var r,o,i},su={point:e=>e.bottom,adjuster:(e,t,n,r,o)=>{const i=Qc(o,5);return Math.abs(n.bottom-r.bottom)<1||n.top>o.bottom?iu.retry(i):n.top===o.bottom?iu.retry(Qc(o,1)):au(e,t,o)?iu.retry(eu(i,5,0)):iu.none()},move:Qc,gather:Hc},lu=(e,t,n,r,o)=>0===o?C.some(r):((e,t,n)=>e.elementFromPoint(t,n).filter((e=>"table"===ee(e))).isSome())(e,r.left,t.point(r))?((e,t,n,r,o)=>lu(e,t,n,t.move(r,5),o))(e,t,n,r,o-1):e.situsFromPoint(r.left,t.point(r)).bind((i=>i.start.fold(C.none,(i=>ou(e,i).bind((a=>t.adjuster(e,i,a,n,r).fold(C.none,(r=>lu(e,t,n,r,o-1))))).orThunk((()=>C.some(r)))),C.none))),cu=(e,t,n)=>{const r=e.move(n,5),o=lu(t,e,n,r,100).getOr(r);return((e,t,n)=>e.point(t)>n.getInnerHeight()?C.some(e.point(t)-n.getInnerHeight()):e.point(t)<0?C.some(-e.point(t)):C.none())(e,o,t).fold((()=>t.situsFromPoint(o.left,e.point(o))),(n=>(t.scrollBy(0,n),t.situsFromPoint(o.left,e.point(o)-n))))},uu={tryUp:v(cu,{point:e=>e.top,adjuster:(e,t,n,r,o)=>{const i=Jc(o,5);return Math.abs(n.top-r.top)<1||n.bottom<o.top?iu.retry(i):n.bottom===o.top?iu.retry(Jc(o,1)):au(e,t,o)?iu.retry(eu(i,5,0)):iu.none()},move:Jc,gather:Uc}),tryDown:v(cu,su),getJumpSize:h(5)},du=(e,t,n)=>e.getSelection().bind((r=>Xc(t,r.finish,r.foffset,n).fold((()=>C.some(yi(r.finish,r.foffset))),(o=>{const i=e.fromSitus(o);return(e=>Yc.cata(e,(e=>C.none()),(()=>C.none()),(e=>C.some(yi(e,0))),(e=>C.some(yi(e,ho(e))))))(Yc.verify(e,r.finish,r.foffset,i.finish,i.foffset,n.failure,t))})))),fu=(e,t,n,r,o,i)=>0===i?C.none():mu(e,t,n,r,o).bind((a=>{const s=e.fromSitus(a),l=Yc.verify(e,n,r,s.finish,s.foffset,o.failure,t);return Yc.cata(l,(()=>C.none()),(()=>C.some(a)),(a=>xe(n,a)&&0===r?pu(e,n,r,Jc,o):fu(e,t,a,0,o,i-1)),(a=>xe(n,a)&&r===ho(a)?pu(e,n,r,Qc,o):fu(e,t,a,ho(a),o,i-1)))})),pu=(e,t,n,r,o)=>ru(e,t,n).bind((t=>hu(e,o,r(t,uu.getJumpSize())))),hu=(e,t,n)=>{const r=Sn().browser;return r.isChromium()||r.isSafari()||r.isFirefox()?t.retry(e,n):C.none()},mu=(e,t,n,r,o)=>ru(e,n,r).bind((t=>hu(e,o,t))),gu=(e,t)=>{return ut(e,(e=>Se(e).exists((e=>xe(e,t)))),n).isSome();var n},vu=(e,t,n,r,o)=>ht(r,"td,th",t).bind((r=>ht(r,"table",t).bind((i=>gu(o,i)?((e,t,n)=>du(e,t,n).bind((r=>fu(e,t,r.element,r.offset,n,20).map(e.fromSitus))))(e,t,n).bind((e=>ht(e.finish,"td,th",t).map((t=>({start:r,finish:t,range:e}))))):C.none())))),bu=(e,t,n,r,o,i)=>i(r,t).orThunk((()=>vu(e,t,n,r,o).map((e=>{const t=e.range;return pc(C.some(Ec(t.start,t.soffset,t.finish,t.foffset)),!0)})))),yu=(e,t)=>ht(e,"tr",t).bind((e=>ht(e,"table",t).bind((n=>{const r=lt(n,"tr");return xe(e,r[0])?((e,t,n)=>Fc(qc,e,t,n))(n,(e=>bo(e).isSome()),t).map((e=>{const t=ho(e);return pc(C.some(Ec(e,t,e,t)),!0)})):C.none()})))),Au=(e,t)=>ht(e,"tr",t).bind((e=>ht(e,"table",t).bind((n=>{const r=lt(n,"tr");return xe(e,r[r.length-1])?((e,t,n)=>zc(qc,e,t,n))(n,(e=>vo(e).isSome()),t).map((e=>pc(C.some(Ec(e,0,e,0)),!0))):C.none()})))),xu=(e,t,n,r,o,i,a)=>vu(e,n,r,o,i).bind((e=>Bc(t,n,e.start,e.finish,a))),Cu=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},_u=()=>{const e=(e=>{const t=Cu(C.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(C.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(C.some(e))}}})(p);return{...e,on:t=>e.get().each(t)}},wu=(e,t)=>ht(e,"td,th",t),ku={traverse:Oe,gather:Hc,relative:fc.before,retry:uu.tryDown,failure:Yc.failedDown},Su={traverse:Be,gather:Uc,relative:fc.before,retry:uu.tryUp,failure:Yc.failedUp},Eu=e=>t=>t===e,Bu=Eu(38),Ou=Eu(40),ju=e=>e>=37&&e<=40,Tu={isBackward:Eu(37),isForward:Eu(39)},Pu={isBackward:Eu(39),isForward:Eu(37)},Mu=Fa([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Du={domRange:Mu.domRange,relative:Mu.relative,exact:Mu.exact,exactFromRange:e=>Mu.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>ve.fromDom(e.startContainer),relative:(e,t)=>fc.getStart(e),exact:(e,t,n,r)=>e}))(e);return n=t,ve.fromDom(ke(n).dom.defaultView);var n},range:wc},Ru=(e,t,n)=>{var r,o;return C.from(null===(o=(r=e.dom).caretPositionFromPoint)||void 0===o?void 0:o.call(r,t,n)).bind((t=>{if(null===t.offsetNode)return C.none();const n=e.dom.createRange();return n.setStart(t.offsetNode,t.offset),n.collapse(),C.some(n)}))},Lu=(e,t,n)=>{var r,o;return C.from(null===(o=(r=e.dom).caretRangeFromPoint)||void 0===o?void 0:o.call(r,t,n))},Iu=document.caretPositionFromPoint?Ru:document.caretRangeFromPoint?Lu:C.none,Nu=(e,t)=>{const n=ee(e);return"input"===n?fc.after(e):S(["br","img"],n)?0===t?fc.before(e):fc.after(e):fc.on(e,t)},Fu=(e,t,n,r)=>{const o=((e,t,n,r)=>{const o=we(e).dom.createRange();return o.setStart(e.dom,t),o.setEnd(n.dom,r),o})(e,t,n,r),i=xe(e,n)&&t===r;return o.collapsed&&!i},zu=e=>C.from(e.getSelection()),qu=(e,t)=>{zu(e).each((e=>{e.removeAllRanges(),e.addRange(t)}))},Uu=(e,t,n,r,o)=>{const i=bc(e,t,n,r,o);qu(e,i)},Hu=(e,t)=>Cc(e,t).match({ltr:(t,n,r,o)=>{Uu(e,t,n,r,o)},rtl:(t,n,r,o)=>{zu(e).each((i=>{if(i.setBaseAndExtent)i.setBaseAndExtent(t.dom,n,r.dom,o);else if(i.extend)try{((e,t,n,r,o,i)=>{t.collapse(n.dom,r),t.extend(o.dom,i)})(0,i,t,n,r,o)}catch(i){Uu(e,r,o,t,n)}else Uu(e,r,o,t,n)}))}}),Wu=(e,t,n,r,o)=>{const i=((e,t,n,r)=>{const o=Nu(e,t),i=Nu(n,r);return Du.relative(o,i)})(t,n,r,o);Hu(e,i)},Vu=(e,t,n)=>{const r=((e,t)=>{const n=e.fold(fc.before,Nu,fc.after),r=t.fold(fc.before,Nu,fc.after);return Du.relative(n,r)})(t,n);Hu(e,r)},Yu=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),n=e.getRangeAt(e.rangeCount-1);return C.some(wc(ve.fromDom(t.startContainer),t.startOffset,ve.fromDom(n.endContainer),n.endOffset))}return C.none()},Zu=e=>{if(null===e.anchorNode||null===e.focusNode)return Yu(e);{const t=ve.fromDom(e.anchorNode),n=ve.fromDom(e.focusNode);return Fu(t,e.anchorOffset,n,e.focusOffset)?C.some(wc(t,e.anchorOffset,n,e.focusOffset)):Yu(e)}},Gu=(e,t,n=!0)=>{const r=(n?mc:hc)(e,t);qu(e,r)},Ku=e=>(e=>zu(e).filter((e=>e.rangeCount>0)).bind(Zu))(e).map((e=>Du.exact(e.start,e.soffset,e.finish,e.foffset))),$u=(e,t)=>(e=>{const t=e.getClientRects(),n=t.length>0?t[0]:e.getBoundingClientRect();return n.width>0||n.height>0?C.some(n).map(yc):C.none()})(_c(e,t)),Xu=(e,t,n)=>((e,t,n)=>{const r=ve.fromDom(e.document);return Iu(r,t,n).map((e=>wc(ve.fromDom(e.startContainer),e.startOffset,ve.fromDom(e.endContainer),e.endOffset)))})(e,t,n),Qu=e=>({elementFromPoint:(t,n)=>ve.fromPoint(ve.fromDom(e.document),t,n),getRect:e=>e.dom.getBoundingClientRect(),getRangedRect:(t,n,r,o)=>{const i=Du.exact(t,n,r,o);return $u(e,i)},getSelection:()=>Ku(e).map((t=>Sc(e,t))),fromSitus:t=>{const n=Du.relative(t.start,t.finish);return Sc(e,n)},situsFromPoint:(t,n)=>Xu(e,t,n).map((e=>kc(e.start,e.soffset,e.finish,e.foffset))),clearSelection:()=>{(e=>{zu(e).each((e=>e.removeAllRanges()))})(e)},collapseSelection:(t=!1)=>{Ku(e).each((n=>n.fold((e=>e.collapse(t)),((n,r)=>{const o=t?n:r;Vu(e,o,o)}),((n,r,o,i)=>{const a=t?n:o,s=t?r:i;Wu(e,a,s,a,s)}))))},setSelection:t=>{Wu(e,t.start,t.soffset,t.finish,t.foffset)},setRelativeSelection:(t,n)=>{Vu(e,t,n)},selectNode:t=>{Gu(e,t,!1)},selectContents:t=>{Gu(e,t)},getInnerHeight:()=>e.innerHeight,getScrollY:()=>(e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return cr(n,r)})(ve.fromDom(e.document)).top,scrollBy:(t,n)=>{((e,t,n)=>{const r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollBy(e,t)})(t,n,ve.fromDom(e.document))}}),Ju=(e,t)=>({rows:e,cols:t}),ed=(e,t,n,r)=>{const o=((e,t,n,r)=>{const o=_u(),i=o.clear,a=i=>{o.on((o=>{r.clearBeforeUpdate(t),wu(i.target,n).each((a=>{ei(o,a,n).each((n=>{const o=n.boxes.getOr([]);if(1===o.length){const n=o[0],a="false"===Xi(n),s=mt(Ki(i.target),n,xe);a&&s&&(r.selectRange(t,o,n,n),e.selectContents(n))}else o.length>1&&(r.selectRange(t,o,n.start,n.finish),e.selectContents(a))}))}))}))};return{clearstate:i,mousedown:e=>{r.clear(t),wu(e.target,n).each(o.set)},mouseover:e=>{a(e)},mouseup:e=>{a(e),i()}}})(Qu(e),t,n,r);return{clearstate:o.clearstate,mousedown:o.mousedown,mouseover:o.mouseover,mouseup:o.mouseup}},td=(e,t,n,r)=>{const o=Qu(e),i=()=>(r.clear(t),C.none());return{keydown:(e,a,s,l,c,u)=>{const d=e.raw,f=d.which,p=!0===d.shiftKey,h=ti(t,r.selectedSelector).fold((()=>(ju(f)&&!p&&r.clearBeforeUpdate(t),Ou(f)&&p?v(xu,o,t,n,ku,l,a,r.selectRange):Bu(f)&&p?v(xu,o,t,n,Su,l,a,r.selectRange):Ou(f)?v(bu,o,n,ku,l,a,Au):Bu(f)?v(bu,o,n,Su,l,a,yu):C.none)),(e=>{const n=n=>()=>{const i=W(n,(n=>((e,t,n,r,o)=>ri(r,e,t,o.firstSelectedSelector,o.lastSelectedSelector).map((e=>(o.clearBeforeUpdate(n),o.selectRange(n,e.boxes,e.start,e.finish),e.boxes))))(n.rows,n.cols,t,e,r)));return i.fold((()=>ni(t,r.firstSelectedSelector,r.lastSelectedSelector).map((e=>{const n=Ou(f)||u.isForward(f)?fc.after:fc.before;return o.setRelativeSelection(fc.on(e.first,0),n(e.table)),r.clear(t),pc(C.none(),!0)}))),(e=>C.some(pc(C.none(),!0))))};return Ou(f)&&p?n([Ju(1,0)]):Bu(f)&&p?n([Ju(-1,0)]):u.isBackward(f)&&p?n([Ju(0,-1),Ju(-1,0)]):u.isForward(f)&&p?n([Ju(0,1),Ju(1,0)]):ju(f)&&!p?i:C.none}));return h()},keyup:(e,o,i,a,s)=>ti(t,r.selectedSelector).fold((()=>{const l=e.raw,c=l.which;return!0===l.shiftKey&&ju(c)?((e,t,n,r,o,i,a)=>xe(n,o)&&r===i?C.none():ht(n,"td,th",t).bind((n=>ht(o,"td,th",t).bind((r=>Bc(e,t,n,r,a))))))(t,n,o,i,a,s,r.selectRange):C.none()}),C.none)}},nd=(e,t)=>{const n=fe(e,t);return void 0===n||""===n?[]:n.split(" ")},rd=e=>void 0!==e.dom.classList,od=(e,t)=>((e,t,n)=>{const r=nd(e,t).concat([n]);return ue(e,t,r.join(" ")),!0})(e,"class",t),id=(e,t)=>{rd(e)?e.dom.classList.add(t):od(e,t)},ad=(e,t)=>rd(e)&&e.dom.classList.contains(t),sd=(e,t,n)=>{const r=t=>{he(t,e.selected),he(t,e.firstSelected),he(t,e.lastSelected)},o=t=>{ue(t,e.selected,"1")},i=e=>{a(e),n()},a=t=>{const n=lt(t,`${e.selectedSelector},${e.firstSelectedSelector},${e.lastSelectedSelector}`);j(n,r)};return{clearBeforeUpdate:a,clear:i,selectRange:(n,r,a,s)=>{i(n),j(r,o),ue(a,e.firstSelected,"1"),ue(s,e.lastSelected,"1"),t(r,a,s)},selectedSelector:e.selectedSelector,firstSelectedSelector:e.firstSelectedSelector,lastSelectedSelector:e.lastSelectedSelector}},ld=()=>({tag:"none"}),cd=e=>({tag:"multiple",elements:e}),ud=e=>({tag:"single",element:e}),dd=(e,t,n)=>{const r=Xn.fromTable(e);return ua(r,t).map((e=>{const t=oa(r,n,!1),{rows:o}=Hn(t),i=((e,t)=>{const n=e.slice(0,t[t.length-1].row+1),r=ia(n);return N(r,(e=>{const n=e.cells.slice(0,t[t.length-1].column+1);return O(n,(e=>e.element))}))})(o,e),a=((e,t)=>{const n=e.slice(t[0].row+t[0].rowspan-1,e.length),r=ia(n);return N(r,(e=>{const n=e.cells.slice(t[0].column+t[0].colspan-1,e.cells.length);return O(n,(e=>e.element))}))})(o,e);return{upOrLeftCells:i,downOrRightCells:a}}))},fd=e=>{const t=ve.fromDom((e=>{if(Qe()&&u(e.target)){const t=ve.fromDom(e.target);if(oe(t)&&nt(t)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return U(t)}}return C.from(e.target)})(e).getOr(e.target)),n=()=>e.stopPropagation(),r=()=>e.preventDefault(),o=(i=r,a=n,(...e)=>i(a.apply(null,e)));var i,a;return((e,t,n,r,o,i,a)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:i,raw:a}))(t,e.clientX,e.clientY,n,r,o,e)},pd=(e,t,n,r,o)=>{const i=((e,t)=>n=>{e(n)&&t(fd(n))})(n,r);return e.dom.addEventListener(t,i,o),{unbind:v(hd,e,t,i,o)}},hd=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},md=x,gd=(e,t,n)=>((e,t,n,r)=>pd(e,t,n,r,!1))(e,t,md,n),vd=fd,bd=e=>!ad(ve.fromDom(e.target),"ephox-snooker-resizer-bar"),yd=(e,t)=>{const n=((e,t,n)=>({get:()=>oi(e(),n).fold((()=>t().fold(ld,ud)),cd)}))((()=>ve.fromDom(e.getBody())),(()=>gi(Po(e),jo(e))),fi.selectedSelector),r=sd(fi,((t,n,r)=>{Wt(n).each((o=>{const i=sl(e),a=Eo(p,ve.fromDom(e.getDoc()),i),s=vi(e),l=dd(o,{selection:s},a);((e,t,n,r,o)=>{e.dispatch("TableSelectionChange",{cells:t,start:n,finish:r,otherCells:o})})(e,t,n,r,l)}))}),(()=>(e=>{e.dispatch("TableSelectionClear")})(e)));e.on("init",(n=>{const o=e.getWin(),i=Oo(e),a=jo(e),s=ed(o,i,a,r),l=td(o,i,a,r),c=((e,t,n,r)=>{const o=Qu(e);return(e,i)=>{r.clearBeforeUpdate(t),ei(e,i,n).each((e=>{const n=e.boxes.getOr([]);r.selectRange(t,n,e.start,e.finish),o.selectContents(i),o.collapseSelection()}))}})(o,i,a,r);e.on("TableSelectorChange",(e=>c(e.start,e.finish)));const u=(t,n)=>{(e=>!0===e.raw.shiftKey)(t)&&(n.kill&&t.kill(),n.selection.each((t=>{const n=Du.relative(t.start,t.finish),r=_c(o,n);e.selection.setRng(r)})))},d=e=>0===e.button,f=(()=>{const e=Cu(ve.fromDom(i)),t=Cu(0);return{touchEnd:n=>{const r=ve.fromDom(n.target);if(le("td")(r)||le("th")(r)){const o=e.get(),i=t.get();xe(o,r)&&n.timeStamp-i<300&&(n.preventDefault(),c(r,r))}e.set(r),t.set(n.timeStamp)}}})();e.on("dragstart",(e=>{s.clearstate()})),e.on("mousedown",(e=>{d(e)&&bd(e)&&s.mousedown(vd(e))})),e.on("mouseover",(e=>{var t;void 0!==(t=e).buttons&&0==(1&t.buttons)||!bd(e)||s.mouseover(vd(e))})),e.on("mouseup",(e=>{d(e)&&bd(e)&&s.mouseup(vd(e))})),e.on("touchend",f.touchEnd),e.on("keyup",(t=>{const n=vd(t);if(n.raw.shiftKey&&ju(n.raw.which)){const t=e.selection.getRng(),r=ve.fromDom(t.startContainer),o=ve.fromDom(t.endContainer);l.keyup(n,r,t.startOffset,o,t.endOffset).each((e=>{u(n,e)}))}})),e.on("keydown",(n=>{const r=vd(n);t.hide();const o=e.selection.getRng(),i=ve.fromDom(o.startContainer),a=ve.fromDom(o.endContainer),s=nr(Tu,Pu)(ve.fromDom(e.selection.getStart()));l.keydown(r,i,o.startOffset,a,o.endOffset,s).each((e=>{u(r,e)})),t.show()})),e.on("NodeChange",(()=>{const t=e.selection,n=ve.fromDom(t.getStart()),o=ve.fromDom(t.getEnd());Qo(Wt,[n,o]).fold((()=>r.clear(i)),p)}))})),e.on("PreInit",(()=>{e.serializer.addTempAttr(fi.firstSelected),e.serializer.addTempAttr(fi.lastSelected)}));return{getSelectedCells:()=>((e,t,n,r)=>{switch(e.tag){case"none":return t();case"single":return r(e.element);case"multiple":return n(e.elements)}})(n.get(),h([]),(e=>O(e,(e=>e.dom))),(e=>[e.dom])),clearSelectedCells:e=>r.clear(ve.fromDom(e))}},Ad=e=>{let t=[];return{bind:e=>{if(void 0===e)throw new Error("Event bind error: undefined handler");t.push(e)},unbind:e=>{t=P(t,(t=>t!==e))},trigger:(...n)=>{const r={};j(e,((e,t)=>{r[e]=n[t]})),j(t,(e=>{e(r)}))}}},xd=e=>({registry:G(e,(e=>({bind:e.bind,unbind:e.unbind}))),trigger:G(e,(e=>e.trigger))}),Cd=e=>e.slice(0).sort(),_d=(e,t,n)=>{if(0===t.length)throw new Error("You must specify at least one required field.");return((e,t)=>{if(!a(t))throw new Error("The "+e+" fields must be an array. Was: "+t+".");j(t,(t=>{if(!o(t))throw new Error("The value "+t+" in the "+e+" fields was not a string.")}))})("required",t),(e=>{const t=Cd(e);R(t,((e,n)=>n<t.length-1&&e===t[n+1])).each((e=>{throw new Error("The field: "+e+" occurs more than once in the combined fields: ["+t.join(", ")+"].")}))})(t),r=>{const o=V(r);F(t,(e=>S(o,e)))||((e,t)=>{throw new Error("All required keys ("+Cd(e).join(", ")+") were not specified. Specified keys were: "+Cd(t).join(", ")+".")})(t,o),e(t,o);const i=P(t,(e=>!n.validate(r[e],e)));return i.length>0&&((e,t)=>{throw new Error("All values need to be of type: "+t+". Keys ("+Cd(e).join(", ")+") were not.")})(i,n.label),r}},wd=(e,t)=>{const n=P(t,(t=>!S(e,t)));n.length>0&&(e=>{throw new Error("Unsupported keys for object: "+Cd(e).join(", "))})(n)},kd=e=>((e,t)=>_d(e,t,{validate:d,label:"function"}))(wd,e),Sd=kd(["compare","extract","mutate","sink"]),Ed=kd(["element","start","stop","destroy"]),Bd=kd(["forceDrop","drop","move","delayDrop"]),Od=()=>{let e=C.none();const t=xd({move:Ad(["info"])});return{onEvent:(n,r)=>{r.extract(n).each((n=>{const o=((t,n)=>{const r=e.map((e=>t.compare(e,n)));return e=C.some(n),r})(r,n);o.each((e=>{t.trigger.move(e)}))}))},reset:()=>{e=C.none()},events:t.registry}},jd=()=>{const e=(()=>{const e=xd({move:Ad(["info"])});return{onEvent:p,reset:p,events:e.registry}})(),t=Od();let n=e;return{on:()=>{n.reset(),n=t},off:()=>{n.reset(),n=e},isOn:()=>n===t,onEvent:(e,t)=>{n.onEvent(e,t)},events:t.events}},Td=(e,t,n)=>{let r=!1;const o=xd({start:Ad([]),stop:Ad([])}),i=jd(),a=()=>{u.stop(),i.isOn()&&(i.off(),o.trigger.stop())},l=((e,t)=>{let n=null;const r=()=>{s(n)||(clearTimeout(n),n=null)};return{cancel:r,throttle:(...o)=>{r(),n=setTimeout((()=>{n=null,e.apply(null,o)}),t)}}})(a,200);i.events.move.bind((n=>{t.mutate(e,n.info)}));const c=e=>(...t)=>{r&&e.apply(null,t)},u=t.sink(Bd({forceDrop:a,drop:c(a),move:c((e=>{l.cancel(),i.onEvent(e,t)})),delayDrop:c(l.throttle)}),n);return{element:u.element,go:e=>{u.start(e),i.on(),o.trigger.start()},on:()=>{r=!0},off:()=>{r=!1},destroy:()=>{u.destroy()},events:o.registry}},Pd=e=>{const t=e.replace(/\./g,"-");return{resolve:e=>t+"-"+e}},Md=Pd("ephox-dragster").resolve;var Dd=Sd({compare:(e,t)=>cr(t.left-e.left,t.top-e.top),extract:e=>C.some(cr(e.x,e.y)),sink:(e,t)=>{const n=(e=>{const t={layerClass:Md("blocker"),...e},n=ve.fromTag("div");return ue(n,"role","presentation"),Et(n,{position:"fixed",left:"0px",top:"0px",width:"100%",height:"100%"}),id(n,Md("blocker")),id(n,t.layerClass),{element:h(n),destroy:()=>{ze(n)}}})(t),r=gd(n.element(),"mousedown",e.forceDrop),o=gd(n.element(),"mouseup",e.drop),i=gd(n.element(),"mousemove",e.move),a=gd(n.element(),"mouseout",e.delayDrop);return Ed({element:n.element,start:e=>{Re(e,n.element())},stop:()=>{ze(n.element())},destroy:()=>{n.destroy(),o.unbind(),i.unbind(),a.unbind(),r.unbind()}})},mutate:(e,t)=>{e.mutate(t.left,t.top)}});const Rd=Pd("ephox-snooker").resolve,Ld=()=>{const e=xd({drag:Ad(["xDelta","yDelta","target"])});let t=C.none();const n=(()=>{const e=xd({drag:Ad(["xDelta","yDelta"])});return{mutate:(t,n)=>{e.trigger.drag(t,n)},events:e.registry}})();n.events.drag.bind((n=>{t.each((t=>{e.trigger.drag(n.xDelta,n.yDelta,t)}))}));return{assign:e=>{t=C.some(e)},get:()=>t,mutate:n.mutate,events:e.registry}},Id=Rd("resizer-bar"),Nd=Rd("resizer-rows"),Fd=Rd("resizer-cols"),zd=e=>{const t=lt(e.parent(),"."+Id);j(t,ze)},qd=(e,t,n)=>{const r=e.origin();j(t,(t=>{t.each((t=>{const o=n(r,t);id(o,Id),Re(e.parent(),o)}))}))},Ud=(e,t,n,r)=>{qd(e,t,((e,t)=>{const o=((e,t,n,r,o)=>{const i=ve.fromTag("div");return Et(i,{position:"absolute",left:t-r/2+"px",top:n+"px",height:o+"px",width:r+"px"}),de(i,{"data-column":e,role:"presentation"}),i})(t.col,t.x-e.left,n.top-e.top,7,r);return id(o,Fd),o}))},Hd=(e,t,n,r)=>{qd(e,t,((e,t)=>{const o=((e,t,n,r,o)=>{const i=ve.fromTag("div");return Et(i,{position:"absolute",left:t+"px",top:n-o/2+"px",height:o+"px",width:r+"px"}),de(i,{"data-row":e,role:"presentation"}),i})(t.row,n.left-e.left,t.y-e.top,r,7);return id(o,Nd),o}))},Wd=(e,t,n,r,o)=>{const i=dr(n),a=t.isResizable,s=r.length>0?_r.positions(r,n):[],l=s.length>0?((e,t)=>N(e.all,((e,n)=>t(e.element)?[n]:[])))(e,a):[],c=P(s,((e,t)=>E(l,(e=>t===e))));Hd(t,c,i,Mn(n));const u=o.length>0?kr.positions(o,n):[],d=u.length>0?((e,t)=>{const n=[];return B(e.grid.columns,(r=>{const o=Xn.getColumnAt(e,r).map((e=>e.element));o.forall(t)&&n.push(r)})),P(n,(n=>{const r=Xn.filterItems(e,(e=>e.column===n));return F(r,(e=>t(e.element)))}))})(e,a):[],f=P(u,((e,t)=>E(d,(e=>t===e))));Ud(t,f,i,ar(n))},Vd=(e,t)=>{if(zd(e),e.isResizable(t)){const n=Xn.fromTable(t),r=er(n),o=Qn(n);Wd(n,e,t,r,o)}},Yd=(e,t)=>{const n=lt(e.parent(),"."+Id);j(n,t)},Zd=e=>{Yd(e,(e=>{St(e,"display","none")}))},Gd=e=>{Yd(e,(e=>{St(e,"display","block")}))},Kd=Rd("resizer-bar-dragging"),$d=e=>{const t=Ld(),n=((e,t={})=>{var n;const r=null!==(n=t.mode)&&void 0!==n?n:Dd;return Td(e,r,t)})(t,{});let r=C.none();const o=(e,t)=>C.from(fe(e,t));t.events.drag.bind((e=>{o(e.target,"data-row").each((t=>{const n=Lt(e.target,"top");St(e.target,"top",n+e.yDelta+"px")})),o(e.target,"data-column").each((t=>{const n=Lt(e.target,"left");St(e.target,"left",n+e.xDelta+"px")}))}));const i=(e,t)=>Lt(e,t)-Pt(e,"data-initial-"+t,0);n.events.stop.bind((()=>{t.get().each((t=>{r.each((n=>{o(t,"data-row").each((e=>{const r=i(t,"top");he(t,"data-initial-top"),u.trigger.adjustHeight(n,r,parseInt(e,10))})),o(t,"data-column").each((e=>{const r=i(t,"left");he(t,"data-initial-left"),u.trigger.adjustWidth(n,r,parseInt(e,10))})),Vd(e,n)}))}))}));const a=(r,o)=>{u.trigger.startAdjust(),t.assign(r),ue(r,"data-initial-"+o,Lt(r,o)),id(r,Kd),St(r,"opacity","0.2"),n.go(e.parent())},s=gd(e.parent(),"mousedown",(e=>{var t;t=e.target,ad(t,Nd)&&a(e.target,"top"),(e=>ad(e,Fd))(e.target)&&a(e.target,"left")})),l=t=>xe(t,e.view()),c=gd(e.view(),"mouseover",(t=>{var n;(n=t.target,ht(n,"table",l).filter($i)).fold((()=>{rt(t.target)&&zd(e)}),(t=>{r=C.some(t),Vd(e,t)}))})),u=xd({adjustHeight:Ad(["table","delta","row"]),adjustWidth:Ad(["table","delta","column"]),startAdjust:Ad([])});return{destroy:()=>{s.unbind(),c.unbind(),n.destroy(),zd(e)},refresh:t=>{Vd(e,t)},on:n.on,off:n.off,hideBars:v(Zd,e),showBars:v(Gd,e),events:u.registry}},Xd=(e,t,n)=>{const r=_r,o=kr,i=$d(e),a=xd({beforeResize:Ad(["table","type"]),afterResize:Ad(["table","type"]),startDrag:Ad([])});return i.events.adjustHeight.bind((e=>{const t=e.table;a.trigger.beforeResize(t,"row");const n=r.delta(e.delta,t);Za(t,n,e.row,r),a.trigger.afterResize(t,"row")})),i.events.startAdjust.bind((e=>{a.trigger.startDrag()})),i.events.adjustWidth.bind((e=>{const r=e.table;a.trigger.beforeResize(r,"col");const i=o.delta(e.delta,r),s=n(r);Ya(r,i,e.column,t,s),a.trigger.afterResize(r,"col")})),{on:i.on,off:i.off,refreshBars:i.refresh,hideBars:i.hideBars,showBars:i.showBars,destroy:i.destroy,events:a.registry}},Qd=(e,t)=>{const n=ae(e)?(e=>ve.fromDom(ke(e).dom.documentElement))(e):e;return{parent:h(n),view:h(e),origin:h(cr(0,0)),isResizable:t}},Jd=(e,t,n)=>({parent:h(t),view:h(e),origin:h(cr(0,0)),isResizable:n}),ef=()=>{const e=ve.fromTag("div");return Et(e,{position:"static",height:"0",width:"0",padding:"0",margin:"0",border:"0"}),Re(ot(ve.fromDom(document)),e),e},tf=e=>u(e)&&"TABLE"===e.nodeName,nf="bar-",rf=e=>"false"!==fe(e,"data-mce-resize"),of=e=>{const t=_u(),n=_u(),r=_u();let o,i;const a=t=>xl(e,t),s=()=>ul(e)?Pi():Ti(),l=(t,n,r)=>{const l=xt(n,"e");if(""===i&&Ul(t),r!==o&&""!==i){St(t,"width",i);const n=s(),c=a(t),u=ul(e)||l?(e=>Mi(e).columns)(t)-1:0;Ya(t,r-o,u,n,c)}else if((e=>/^(\d+(\.\d+)?)%$/.test(e))(i)){const e=parseFloat(i.replace("%",""));St(t,"width",r*e/o+"%")}(e=>/^(\d+(\.\d+)?)px$/.test(e))(i)&&(e=>{const t=Xn.fromTable(e);Xn.hasColumns(t)||j(Ut(e),(e=>{const t=Bt(e,"width");St(e,"width",t),he(e,"width")}))})(t)},c=()=>{n.on((e=>{e.destroy()})),r.on((t=>{((e,t)=>{e.inline&&ze(t.parent())})(e,t)}))};e.on("init",(()=>{const o=((e,t)=>e.inline?Jd(ve.fromDom(e.getBody()),ef(),t):Qd(ve.fromDom(e.getDoc()),t))(e,rf);if(r.set(o),(e=>{const t=e.options.get("object_resizing");return S(t.split(","),"table")})(e)&&gl(e)){const r=s(),i=Xd(o,r,a);i.on(),i.events.startDrag.bind((n=>{t.set(e.selection.getRng())})),i.events.beforeResize.bind((t=>{const n=t.table.dom;((e,t,n,r,o)=>{e.dispatch("ObjectResizeStart",{target:t,width:n,height:r,origin:o})})(e,n,Mo(n),Do(n),nf+t.type)})),i.events.afterResize.bind((n=>{const r=n.table,o=r.dom;To(r),t.on((t=>{e.selection.setRng(t),e.focus()})),((e,t,n,r,o)=>{e.dispatch("ObjectResized",{target:t,width:n,height:r,origin:o})})(e,o,Mo(o),Do(o),nf+n.type),e.undoManager.add()})),n.set(i)}})),e.on("ObjectResizeStart",(t=>{const n=t.target;if(tf(n)){const r=ve.fromDom(n);j(e.dom.select(".mce-clonedresizable"),(t=>{e.dom.addClass(t,"mce-"+cl(e)+"-columns")})),!Fl(r)&&hl(e)?Hl(r):!Nl(r)&&pl(e)&&Ul(r),zl(r)&&At(t.origin,nf)&&Ul(r),o=t.width,i=ml(e)?"":((e,t)=>{const n=e.dom.getStyle(t,"width")||e.dom.getAttrib(t,"width");return C.from(n).filter(_t)})(e,n).getOr("")}})),e.on("ObjectResized",(t=>{const n=t.target;if(tf(n)){const r=ve.fromDom(n),o=t.origin;At(o,"corner-")&&l(r,o,t.width),To(r),el(e,r.dom,tl)}})),e.on("SwitchMode",(()=>{n.on((t=>{e.mode.isReadOnly()?t.hideBars():t.showBars()}))})),e.on("remove",(()=>{c()}));return{refresh:e=>{n.on((t=>t.refreshBars(ve.fromDom(e))))},hide:()=>{n.on((e=>e.hideBars()))},show:()=>{n.on((e=>e.showBars()))}}},af=e=>{(e=>{const t=e.options.register;t("table_clone_elements",{processor:"string[]"}),t("table_use_colgroups",{processor:"boolean",default:!0}),t("table_header_type",{processor:e=>{const t=S(["section","cells","sectionCells","auto"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: section, cells, sectionCells or auto."}},default:"section"}),t("table_sizing_mode",{processor:"string",default:"auto"}),t("table_default_attributes",{processor:"object",default:{border:"1"}}),t("table_default_styles",{processor:"object",default:{"border-collapse":"collapse"}}),t("table_column_resizing",{processor:e=>{const t=S(["preservetable","resizetable"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be preservetable, or resizetable."}},default:"preservetable"}),t("table_resize_bars",{processor:"boolean",default:!0}),t("table_style_by_css",{processor:"boolean",default:!0})})(e);const t=of(e),n=yd(e,t),r=Cl(e,t,n);return uc(e,r),((e,t)=>{const n=jo(e),r=t=>gi(Po(e)).bind((r=>Wt(r,n).map((n=>{const o=pi(vi(e),n,r);return t(n,o)})))).getOr("");Z({mceTableRowType:()=>r(t.getTableRowType),mceTableCellType:()=>r(t.getTableCellType),mceTableColType:()=>r(t.getTableColType)},((t,n)=>e.addQueryValueHandler(n,t)))})(e,r),bi(e,r),{getSelectedCells:n.getSelectedCells,clearSelectedCells:n.clearSelectedCells}},sf=e=>({table:af(e)});e.add("dom",sf)}()},14400:function(e,t,n){n(92242)},92242:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(e,t,n)=>{const r="UL"===t?"InsertUnorderedList":"InsertOrderedList";e.execCommand(r,!1,!1===n?null:{"list-style-type":n})},n=e=>t=>t.options.get(e),r=n("advlist_number_styles"),o=n("advlist_bullet_styles"),i=e=>null==e,a=e=>!i(e);var s=tinymce.util.Tools.resolve("tinymce.util.Tools");class l{constructor(e,t){this.tag=e,this.value=t}static some(e){return new l(!0,e)}static none(){return l.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?l.some(e(this.value)):l.none()}bind(e){return this.tag?e(this.value):l.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:l.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return a(e)?l.some(e):l.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}l.singletonNone=new l(!1);const c=e=>a(e)&&/^(TH|TD)$/.test(e.nodeName),u=e=>i(e)||"default"===e?"":e,d=(e,t,n)=>{const r=((e,t)=>{for(let n=0;n<e.length;n++)if(t(e[n]))return n;return-1})(t.parents,c),o=-1!==r?t.parents.slice(0,r):t.parents,i=s.grep(o,(e=>t=>a(t)&&/^(OL|UL|DL)$/.test(t.nodeName)&&((e,t)=>e.dom.isChildOf(t,e.getBody()))(e,t))(e));return i.length>0&&i[0].nodeName===n},f=(e,t)=>n=>{const r=r=>{n.setActive(d(e,r,t)),n.setEnabled(!((e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return((e,t)=>null!==t&&"false"===e.dom.getContentEditableParent(t))(e,n)})(e,r.element))};return e.on("NodeChange",r),()=>e.off("NodeChange",r)},p=(e,n,r,o,i,a)=>{e.ui.registry.addSplitButton(n,{tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",presets:"listpreview",columns:3,fetch:e=>{e(s.map(a,(e=>{const t="OL"===i?"num":"bull",n="disc"===e||"decimal"===e?"default":e,r=u(e),o=(e=>e.replace(/\-/g," ").replace(/\b\w/g,(e=>e.toUpperCase())))(e);return{type:"choiceitem",value:r,icon:"list-"+t+"-"+n,text:o}})))},onAction:()=>e.execCommand(o),onItemAction:(n,r)=>{t(e,i,r)},select:t=>{const n=(e=>{const t=e.dom.getParent(e.selection.getNode(),"ol,ul"),n=e.dom.getStyle(t,"listStyleType");return l.from(n)})(e);return n.map((e=>t===e)).getOr(!1)},onSetup:f(e,i)})},h=(e,n,r,o,i,a)=>{a.length>1?p(e,n,r,o,i,a):((e,n,r,o,i,a)=>{e.ui.registry.addToggleButton(n,{active:!1,tooltip:r,icon:"OL"===i?"ordered-list":"unordered-list",onSetup:f(e,i),onAction:()=>e.queryCommandState(o)||""===a?e.execCommand(o):t(e,i,a)})})(e,n,r,o,i,u(a[0]))};e.add("advlist",(e=>{e.hasPlugin("lists")?((e=>{const t=e.options.register;t("advlist_number_styles",{processor:"string[]",default:"default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman".split(",")}),t("advlist_bullet_styles",{processor:"string[]",default:"default,circle,square".split(",")})})(e),(e=>{h(e,"numlist","Numbered list","InsertOrderedList","OL",r(e)),h(e,"bullist","Bullet list","InsertUnorderedList","UL",o(e))})(e),(e=>{e.addCommand("ApplyUnorderedListStyle",((n,r)=>{t(e,"UL",r["list-style-type"])})),e.addCommand("ApplyOrderedListStyle",((n,r)=>{t(e,"OL",r["list-style-type"])}))})(e)):console.error("Please use the Lists plugin together with the Advanced List plugin.")}))}()},82929:function(e,t,n){n(94773)},94773:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),n=tinymce.util.Tools.resolve("tinymce.util.Tools");const r=(o="allow_html_in_named_anchor",e=>e.options.get(o));var o;const i="a:not([href])",a=e=>!e,s=e=>e.getAttribute("id")||e.getAttribute("name")||"",l=e=>(e=>"a"===e.nodeName.toLowerCase())(e)&&!e.getAttribute("href")&&""!==s(e),c=e=>{const r=e.dom;t(r).walk(e.selection.getRng(),(e=>{n.each(e,(e=>{var t;l(t=e)&&!t.firstChild&&r.remove(e,!1)}))}))},u=e=>e.dom.getParent(e.selection.getStart(),i),d=(e,t)=>{const n=u(e);n?((e,t,n)=>{n.removeAttribute("name"),n.id=t,e.addVisual(),e.undoManager.add()})(e,t,n):((e,t)=>{e.undoManager.transact((()=>{r(e)||e.selection.collapse(!0),e.selection.isCollapsed()?e.insertContent(e.dom.createHTML("a",{id:t})):(c(e),e.formatter.remove("namedAnchor",void 0,void 0,!0),e.formatter.apply("namedAnchor",{value:t}),e.addVisual())}))})(e,t),e.focus()},f=e=>{const t=(e=>{const t=u(e);return t?s(t):""})(e);e.windowManager.open({title:"Anchor",size:"normal",body:{type:"panel",items:[{name:"id",type:"input",label:"ID",placeholder:"example"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:{id:t},onSubmit:t=>{((e,t)=>/^[A-Za-z][A-Za-z0-9\-:._]*$/.test(t)?(d(e,t),!0):(e.windowManager.alert("ID should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores."),!1))(e,t.getData().id)&&t.close()}})},p=e=>(e=>a(e.attr("href"))&&!a(e.attr("id")||e.attr("name")))(e)&&!e.firstChild,h=e=>t=>{for(let n=0;n<t.length;n++){const r=t[n];p(r)&&r.attr("contenteditable",e)}};e.add("anchor",(e=>{(e=>{(0,e.options.register)("allow_html_in_named_anchor",{processor:"boolean",default:!1})})(e),(e=>{e.on("PreInit",(()=>{e.parser.addNodeFilter("a",h("false")),e.serializer.addNodeFilter("a",h(null))}))})(e),(e=>{e.addCommand("mceAnchor",(()=>{f(e)}))})(e),(e=>{const t=()=>e.execCommand("mceAnchor");e.ui.registry.addToggleButton("anchor",{icon:"bookmark",tooltip:"Anchor",onAction:t,onSetup:t=>e.selection.selectorChangedWithUnbind("a:not([href])",t.setActive).unbind}),e.ui.registry.addMenuItem("anchor",{icon:"bookmark",text:"Anchor...",onAction:t})})(e),e.on("PreInit",(()=>{(e=>{e.formatter.register("namedAnchor",{inline:"a",selector:i,remove:"all",split:!0,deep:!0,attributes:{id:"%value"},onmatch:(e,t,n)=>l(e)})})(e)}))}))}()},66884:function(e,t,n){n(7652)},7652:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("autolink_pattern"),r=t("link_default_target"),o=t("link_default_protocol"),i=t("allow_unsafe_link_target"),a=(s="string",e=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(e)===s);var s;const l=(e=>t=>e===t)(void 0),c=e=>!(e=>null==e)(e),u=Object.hasOwnProperty,d=e=>"\ufeff"===e;var f=tinymce.util.Tools.resolve("tinymce.dom.TextSeeker");const p=e=>3===e.nodeType,h=e=>/^[(\[{ \u00a0]$/.test(e),m=(e,t,n)=>{for(let r=t-1;r>=0;r--){const t=e.charAt(r);if(!d(t)&&n(t))return r}return-1},g=(e,t)=>{var r;const i=e.schema.getVoidElements(),a=n(e),{dom:s,selection:c}=e;if(null!==s.getParent(c.getNode(),"a[href]"))return null;const d=c.getRng(),g=f(s,(e=>{return s.isBlock(e)||(t=i,n=e.nodeName.toLowerCase(),u.call(t,n))||"false"===s.getContentEditable(e);var t,n})),{container:v,offset:b}=((e,t)=>{let n=e,r=t;for(;1===n.nodeType&&n.childNodes[r];)n=n.childNodes[r],r=p(n)?n.data.length:n.childNodes.length;return{container:n,offset:r}})(d.endContainer,d.endOffset),y=null!==(r=s.getParent(v,s.isBlock))&&void 0!==r?r:s.getRoot(),A=g.backwards(v,b+t,((e,t)=>{const n=e.data,r=m(n,t,(e=>t=>!e(t))(h));return-1===r||(o=n[r],/[?!,.;:]/.test(o))?r:r+1;var o}),y);if(!A)return null;let x=A.container;const C=g.backwards(A.container,A.offset,((e,t)=>{x=e;const n=m(e.data,t,h);return-1===n?n:n+1}),y),_=s.createRng();C?_.setStart(C.container,C.offset):_.setStart(x,0),_.setEnd(A.container,A.offset);const w=_.toString().replace(/\uFEFF/g,"").match(a);if(w){let t=w[0];if(((e,t)=>((e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t)(e,t,0))(t,"www.")){t=o(e)+"://"+t}else((e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!l(r)||o+t.length<=r)})(t,"@")&&!(e=>/^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(e))(t)&&(t="mailto:"+t);return{rng:_,url:t}}return null},v=(e,t)=>{const{dom:n,selection:o}=e,{rng:s,url:l}=t,c=o.getBookmark();o.setRng(s);const u="createlink",d={command:u,ui:!1,value:l};if(!e.dispatch("BeforeExecCommand",d).isDefaultPrevented()){e.getDoc().execCommand(u,!1,l),e.dispatch("ExecCommand",d);const t=r(e);if(a(t)){const r=o.getNode();n.setAttrib(r,"target",t),"_blank"!==t||i(e)||n.setAttrib(r,"rel","noopener")}}o.moveToBookmark(c),e.nodeChanged()},b=e=>{const t=g(e,-1);c(t)&&v(e,t)},y=b,A=e=>{e.on("keydown",(t=>{13!==t.keyCode||t.isDefaultPrevented()||(e=>{const t=g(e,0);c(t)&&v(e,t)})(e)})),e.on("keyup",(t=>{32===t.keyCode?b(e):(48===t.keyCode&&t.shiftKey||221===t.keyCode)&&y(e)}))};e.add("autolink",(e=>{(e=>{const t=e.options.register;t("autolink_pattern",{processor:"regexp",default:new RegExp("^"+/(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g.source+"$","i")}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"})})(e),A(e)}))}()},15209:function(e,t,n){n(78578)},78578:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager"),t=tinymce.util.Tools.resolve("tinymce.Env");const n=e=>t=>t.options.get(e),r=n("min_height"),o=n("max_height"),i=n("autoresize_overflow_padding"),a=n("autoresize_bottom_margin"),s=(e,t)=>{const n=e.getBody();n&&(n.style.overflowY=t?"":"hidden",t||(n.scrollTop=0))},l=(e,t,n,r)=>{var o;const i=parseInt(null!==(o=e.getStyle(t,n,r))&&void 0!==o?o:"",10);return isNaN(i)?0:i},c=(e,n,i)=>{var u;const d=e.dom,f=e.getDoc();if(!f)return;if((e=>e.plugins.fullscreen&&e.plugins.fullscreen.isFullscreen())(e))return void s(e,!0);const p=f.documentElement,h=a(e),m=null!==(u=r(e))&&void 0!==u?u:e.getElement().offsetHeight;let g=m;const v=l(d,p,"margin-top",!0),b=l(d,p,"margin-bottom",!0);let y=p.offsetHeight+v+b+h;y<0&&(y=0);const A=e.getContainer().offsetHeight-e.getContentAreaContainer().offsetHeight;y+A>m&&(g=y+A);const x=o(e);if(x&&g>x?(g=x,s(e,!0)):s(e,!1),g!==n.get()){const r=g-n.get();if(d.setStyle(e.getContainer(),"height",g+"px"),n.set(g),(e=>{e.dispatch("ResizeEditor")})(e),t.browser.isSafari()&&(t.os.isMacOS()||t.os.isiOS())){const t=e.getWin();t.scrollTo(t.pageXOffset,t.pageYOffset)}e.hasFocus()&&(e=>{if("setcontent"===(null==e?void 0:e.type.toLowerCase())){const t=e;return!0===t.selection||!0===t.paste}return!1})(i)&&e.selection.scrollIntoView(),(t.browser.isSafari()||t.browser.isChromium())&&r<0&&c(e,n,i)}};e.add("autoresize",(e=>{if((e=>{const t=e.options.register;t("autoresize_overflow_padding",{processor:"number",default:1}),t("autoresize_bottom_margin",{processor:"number",default:50})})(e),e.options.isSet("resize")||e.options.set("resize",!1),!e.inline){const t=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(0);((e,t)=>{e.addCommand("mceAutoResize",(()=>{c(e,t)}))})(e,t),((e,t)=>{e.on("init",(()=>{const t=i(e),n=e.dom;n.setStyles(e.getDoc().documentElement,{height:"auto"}),n.setStyles(e.getBody(),{paddingLeft:t,paddingRight:t,"min-height":0})})),e.on("NodeChange SetContent keyup FullscreenStateChanged ResizeContent",(n=>{c(e,t,n)}))})(e,t)}}))}()},61665:function(e,t,n){n(72612)},72612:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(n="string",e=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(e)===n);var n;const r=(e=>t=>e===t)(void 0);var o=tinymce.util.Tools.resolve("tinymce.util.Delay"),i=tinymce.util.Tools.resolve("tinymce.util.LocalStorage"),a=tinymce.util.Tools.resolve("tinymce.util.Tools");const s=e=>{const t=/^(\d+)([ms]?)$/.exec(e);return(t&&t[2]?{s:1e3,m:6e4}[t[2]]:1)*parseInt(e,10)},l=e=>t=>t.options.get(e),c=l("autosave_ask_before_unload"),u=l("autosave_restore_when_empty"),d=l("autosave_interval"),f=l("autosave_retention"),p=e=>{const t=document.location;return e.options.get("autosave_prefix").replace(/{path}/g,t.pathname).replace(/{query}/g,t.search).replace(/{hash}/g,t.hash).replace(/{id}/g,e.id)},h=(e,t)=>{if(r(t))return e.dom.isEmpty(e.getBody());{const n=a.trim(t);if(""===n)return!0;{const t=(new DOMParser).parseFromString(n,"text/html");return e.dom.isEmpty(t)}}},m=e=>{var t;const n=parseInt(null!==(t=i.getItem(p(e)+"time"))&&void 0!==t?t:"0",10)||0;return!((new Date).getTime()-n>f(e))||(g(e,!1),!1)},g=(e,t)=>{const n=p(e);i.removeItem(n+"draft"),i.removeItem(n+"time"),!1!==t&&(e=>{e.dispatch("RemoveDraft")})(e)},v=e=>{const t=p(e);!h(e)&&e.isDirty()&&(i.setItem(t+"draft",e.getContent({format:"raw",no_events:!0})),i.setItem(t+"time",(new Date).getTime().toString()),(e=>{e.dispatch("StoreDraft")})(e))},b=e=>{var t;const n=p(e);m(e)&&(e.setContent(null!==(t=i.getItem(n+"draft"))&&void 0!==t?t:"",{format:"raw"}),(e=>{e.dispatch("RestoreDraft")})(e))};var y=tinymce.util.Tools.resolve("tinymce.EditorManager");const A=e=>t=>{t.setEnabled(m(e));const n=()=>t.setEnabled(m(e));return e.on("StoreDraft RestoreDraft RemoveDraft",n),()=>e.off("StoreDraft RestoreDraft RemoveDraft",n)},x=e=>{(e=>{const t=d(e);o.setEditorInterval(e,(()=>{v(e)}),t)})(e);const t=()=>{(e=>{e.undoManager.transact((()=>{b(e),g(e)})),e.focus()})(e)};e.ui.registry.addButton("restoredraft",{tooltip:"Restore last draft",icon:"restore-draft",onAction:t,onSetup:A(e)}),e.ui.registry.addMenuItem("restoredraft",{text:"Restore last draft",icon:"restore-draft",onAction:t,onSetup:A(e)})};e.add("autosave",(e=>((e=>{const n=e.options.register,r=e=>{const n=t(e);return n?{value:s(e),valid:n}:{valid:!1,message:"Must be a string."}};n("autosave_ask_before_unload",{processor:"boolean",default:!0}),n("autosave_prefix",{processor:"string",default:"tinymce-autosave-{path}{query}{hash}-{id}-"}),n("autosave_restore_when_empty",{processor:"boolean",default:!1}),n("autosave_interval",{processor:r,default:"30s"}),n("autosave_retention",{processor:r,default:"20m"})})(e),(e=>{e.editorManager.on("BeforeUnload",(e=>{let t;a.each(y.get(),(e=>{e.plugins.autosave&&e.plugins.autosave.storeDraft(),!t&&e.isDirty()&&c(e)&&(t=e.translate("You have unsaved changes are you sure you want to navigate away?"))})),t&&(e.preventDefault(),e.returnValue=t)}))})(e),x(e),e.on("init",(()=>{u(e)&&e.dom.isEmpty(e.getBody())&&b(e)})),(e=>({hasDraft:()=>m(e),storeDraft:()=>v(e),restoreDraft:()=>b(e),removeDraft:t=>g(e,t),isEmpty:t=>h(e,t)}))(e))))}()},39719:function(e,t,n){n(97660)},97660:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(e,t)=>{const n=((e,t)=>e.dispatch("insertCustomChar",{chr:t}))(e,t).chr;e.execCommand("mceInsertContent",!1,n)},n=e=>t=>e===t,r=(o="array",e=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(e)===o);var o;const i=n(null),a=n(void 0),s=(e=>t=>typeof t===e)("function"),l=(c=!1,()=>c);var c;class u{constructor(e,t){this.tag=e,this.value=t}static some(e){return new u(!0,e)}static none(){return u.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?u.some(e(this.value)):u.none()}bind(e){return this.tag?e(this.value):u.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:u.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return(e=>!(e=>null==e)(e))(e)?u.some(e):u.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}u.singletonNone=new u(!1);const d=Array.prototype.push,f=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},p=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return u.some(o);if(n(o,r))break}return u.none()})(e,t,l),h=(e,t)=>(e=>{const t=[];for(let n=0,o=e.length;n<o;++n){if(!r(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);d.apply(t,e[n])}return t})(f(e,t));var m=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=e=>t=>t.options.get(e),v=g("charmap"),b=g("charmap_append"),y=m.isArray,A="User Defined",x=e=>{return y(e)?(t=e,m.grep(t,(e=>y(e)&&2===e.length))):"function"==typeof e?e():[];var t},C=e=>{const t=((e,t)=>{const n=v(e);n&&(t=[{name:A,characters:x(n)}]);const r=b(e);if(r){const e=m.grep(t,(e=>e.name===A));return e.length?(e[0].characters=[...e[0].characters,...x(r)],t):t.concat({name:A,characters:x(r)})}return t})(e,[{name:"Currency",characters:[[36,"dollar sign"],[162,"cent sign"],[8364,"euro sign"],[163,"pound sign"],[165,"yen sign"],[164,"currency sign"],[8352,"euro-currency sign"],[8353,"colon sign"],[8354,"cruzeiro sign"],[8355,"french franc sign"],[8356,"lira sign"],[8357,"mill sign"],[8358,"naira sign"],[8359,"peseta sign"],[8360,"rupee sign"],[8361,"won sign"],[8362,"new sheqel sign"],[8363,"dong sign"],[8365,"kip sign"],[8366,"tugrik sign"],[8367,"drachma sign"],[8368,"german penny symbol"],[8369,"peso sign"],[8370,"guarani sign"],[8371,"austral sign"],[8372,"hryvnia sign"],[8373,"cedi sign"],[8374,"livre tournois sign"],[8375,"spesmilo sign"],[8376,"tenge sign"],[8377,"indian rupee sign"],[8378,"turkish lira sign"],[8379,"nordic mark sign"],[8380,"manat sign"],[8381,"ruble sign"],[20870,"yen character"],[20803,"yuan character"],[22291,"yuan character, in hong kong and taiwan"],[22278,"yen/yuan character variant one"]]},{name:"Text",characters:[[169,"copyright sign"],[174,"registered sign"],[8482,"trade mark sign"],[8240,"per mille sign"],[181,"micro sign"],[183,"middle dot"],[8226,"bullet"],[8230,"three dot leader"],[8242,"minutes / feet"],[8243,"seconds / inches"],[167,"section sign"],[182,"paragraph sign"],[223,"sharp s / ess-zed"]]},{name:"Quotations",characters:[[8249,"single left-pointing angle quotation mark"],[8250,"single right-pointing angle quotation mark"],[171,"left pointing guillemet"],[187,"right pointing guillemet"],[8216,"left single quotation mark"],[8217,"right single quotation mark"],[8220,"left double quotation mark"],[8221,"right double quotation mark"],[8218,"single low-9 quotation mark"],[8222,"double low-9 quotation mark"],[60,"less-than sign"],[62,"greater-than sign"],[8804,"less-than or equal to"],[8805,"greater-than or equal to"],[8211,"en dash"],[8212,"em dash"],[175,"macron"],[8254,"overline"],[164,"currency sign"],[166,"broken bar"],[168,"diaeresis"],[161,"inverted exclamation mark"],[191,"turned question mark"],[710,"circumflex accent"],[732,"small tilde"],[176,"degree sign"],[8722,"minus sign"],[177,"plus-minus sign"],[247,"division sign"],[8260,"fraction slash"],[215,"multiplication sign"],[185,"superscript one"],[178,"superscript two"],[179,"superscript three"],[188,"fraction one quarter"],[189,"fraction one half"],[190,"fraction three quarters"]]},{name:"Mathematical",characters:[[402,"function / florin"],[8747,"integral"],[8721,"n-ary sumation"],[8734,"infinity"],[8730,"square root"],[8764,"similar to"],[8773,"approximately equal to"],[8776,"almost equal to"],[8800,"not equal to"],[8801,"identical to"],[8712,"element of"],[8713,"not an element of"],[8715,"contains as member"],[8719,"n-ary product"],[8743,"logical and"],[8744,"logical or"],[172,"not sign"],[8745,"intersection"],[8746,"union"],[8706,"partial differential"],[8704,"for all"],[8707,"there exists"],[8709,"diameter"],[8711,"backward difference"],[8727,"asterisk operator"],[8733,"proportional to"],[8736,"angle"]]},{name:"Extended Latin",characters:[[192,"A - grave"],[193,"A - acute"],[194,"A - circumflex"],[195,"A - tilde"],[196,"A - diaeresis"],[197,"A - ring above"],[256,"A - macron"],[198,"ligature AE"],[199,"C - cedilla"],[200,"E - grave"],[201,"E - acute"],[202,"E - circumflex"],[203,"E - diaeresis"],[274,"E - macron"],[204,"I - grave"],[205,"I - acute"],[206,"I - circumflex"],[207,"I - diaeresis"],[298,"I - macron"],[208,"ETH"],[209,"N - tilde"],[210,"O - grave"],[211,"O - acute"],[212,"O - circumflex"],[213,"O - tilde"],[214,"O - diaeresis"],[216,"O - slash"],[332,"O - macron"],[338,"ligature OE"],[352,"S - caron"],[217,"U - grave"],[218,"U - acute"],[219,"U - circumflex"],[220,"U - diaeresis"],[362,"U - macron"],[221,"Y - acute"],[376,"Y - diaeresis"],[562,"Y - macron"],[222,"THORN"],[224,"a - grave"],[225,"a - acute"],[226,"a - circumflex"],[227,"a - tilde"],[228,"a - diaeresis"],[229,"a - ring above"],[257,"a - macron"],[230,"ligature ae"],[231,"c - cedilla"],[232,"e - grave"],[233,"e - acute"],[234,"e - circumflex"],[235,"e - diaeresis"],[275,"e - macron"],[236,"i - grave"],[237,"i - acute"],[238,"i - circumflex"],[239,"i - diaeresis"],[299,"i - macron"],[240,"eth"],[241,"n - tilde"],[242,"o - grave"],[243,"o - acute"],[244,"o - circumflex"],[245,"o - tilde"],[246,"o - diaeresis"],[248,"o slash"],[333,"o macron"],[339,"ligature oe"],[353,"s - caron"],[249,"u - grave"],[250,"u - acute"],[251,"u - circumflex"],[252,"u - diaeresis"],[363,"u - macron"],[253,"y - acute"],[254,"thorn"],[255,"y - diaeresis"],[563,"y - macron"],[913,"Alpha"],[914,"Beta"],[915,"Gamma"],[916,"Delta"],[917,"Epsilon"],[918,"Zeta"],[919,"Eta"],[920,"Theta"],[921,"Iota"],[922,"Kappa"],[923,"Lambda"],[924,"Mu"],[925,"Nu"],[926,"Xi"],[927,"Omicron"],[928,"Pi"],[929,"Rho"],[931,"Sigma"],[932,"Tau"],[933,"Upsilon"],[934,"Phi"],[935,"Chi"],[936,"Psi"],[937,"Omega"],[945,"alpha"],[946,"beta"],[947,"gamma"],[948,"delta"],[949,"epsilon"],[950,"zeta"],[951,"eta"],[952,"theta"],[953,"iota"],[954,"kappa"],[955,"lambda"],[956,"mu"],[957,"nu"],[958,"xi"],[959,"omicron"],[960,"pi"],[961,"rho"],[962,"final sigma"],[963,"sigma"],[964,"tau"],[965,"upsilon"],[966,"phi"],[967,"chi"],[968,"psi"],[969,"omega"]]},{name:"Symbols",characters:[[8501,"alef symbol"],[982,"pi symbol"],[8476,"real part symbol"],[978,"upsilon - hook symbol"],[8472,"Weierstrass p"],[8465,"imaginary part"]]},{name:"Arrows",characters:[[8592,"leftwards arrow"],[8593,"upwards arrow"],[8594,"rightwards arrow"],[8595,"downwards arrow"],[8596,"left right arrow"],[8629,"carriage return"],[8656,"leftwards double arrow"],[8657,"upwards double arrow"],[8658,"rightwards double arrow"],[8659,"downwards double arrow"],[8660,"left right double arrow"],[8756,"therefore"],[8834,"subset of"],[8835,"superset of"],[8836,"not a subset of"],[8838,"subset of or equal to"],[8839,"superset of or equal to"],[8853,"circled plus"],[8855,"circled times"],[8869,"perpendicular"],[8901,"dot operator"],[8968,"left ceiling"],[8969,"right ceiling"],[8970,"left floor"],[8971,"right floor"],[9001,"left-pointing angle bracket"],[9002,"right-pointing angle bracket"],[9674,"lozenge"],[9824,"black spade suit"],[9827,"black club suit"],[9829,"black heart suit"],[9830,"black diamond suit"],[8194,"en space"],[8195,"em space"],[8201,"thin space"],[8204,"zero width non-joiner"],[8205,"zero width joiner"],[8206,"left-to-right mark"],[8207,"right-to-left mark"]]}]);return t.length>1?[{name:"All",characters:h(t,(e=>e.characters))}].concat(t):t},_=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},w=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!a(r)||o+t.length<=r)},k=String.fromCodePoint,S=(e,t)=>{const n=[],r=t.toLowerCase();return((e,t)=>{for(let n=0,r=e.length;n<r;n++)t(e[n],n)})(e.characters,(e=>{((e,t,n)=>!!w(k(e).toLowerCase(),n)||w(t.toLowerCase(),n)||w(t.toLowerCase().replace(/\s+/g,""),n))(e[0],e[1],r)&&n.push(e)})),f(n,(e=>({text:e[1],value:k(e[0]),icon:k(e[0])})))},E="pattern",B=(e,n)=>{const r=()=>[{label:"Search",type:"input",name:E},{type:"collection",name:"results"}],o=1===n.length?_(A):_("All"),a=((e,t)=>{let n=null;const r=()=>{i(n)||(clearTimeout(n),n=null)};return{cancel:r,throttle:(...o)=>{r(),n=setTimeout((()=>{n=null,e.apply(null,o)}),t)}}})((e=>{const t=e.getData().pattern;((e,t)=>{p(n,(e=>e.name===o.get())).each((n=>{const r=S(n,t);e.setData({results:r})}))})(e,t)}),40),s={title:"Special Character",size:"normal",body:1===n.length?{type:"panel",items:r()}:{type:"tabpanel",tabs:f(n,(e=>({title:e.name,name:e.name,items:r()})))},buttons:[{type:"cancel",name:"close",text:"Close",primary:!0}],initialData:{pattern:"",results:S(n[0],"")},onAction:(n,r)=>{"results"===r.name&&(t(e,r.value),n.close())},onTabChange:(e,t)=>{o.set(t.newTabName),a.throttle(e)},onChange:(e,t)=>{t.name===E&&a.throttle(e)}};e.windowManager.open(s).focus(E)};e.add("charmap",(e=>{(e=>{const t=e.options.register,n=e=>s(e)||r(e);t("charmap",{processor:n}),t("charmap_append",{processor:n})})(e);const n=C(e);return((e,t)=>{e.addCommand("mceShowCharmap",(()=>{B(e,t)}))})(e,n),(e=>{const t=()=>e.execCommand("mceShowCharmap");e.ui.registry.addButton("charmap",{icon:"insert-character",tooltip:"Special character",onAction:t}),e.ui.registry.addMenuItem("charmap",{icon:"insert-character",text:"Special character...",onAction:t})})(e),((e,t)=>{e.ui.registry.addAutocompleter("charmap",{trigger:":",columns:"auto",minChars:2,fetch:(e,n)=>new Promise(((n,r)=>{n(S(t,e))})),onAction:(t,n,r)=>{e.selection.setRng(n),e.insertContent(r),t.hide()}})})(e,n[0]),(e=>({getCharMap:()=>C(e),insertChar:n=>{t(e,n)}}))(e)}))}()},73956:function(e,t,n){n(38006)},38006:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>t.options.get(e),n=t("insertdatetime_dateformat"),r=t("insertdatetime_timeformat"),o=t("insertdatetime_formats"),i=t("insertdatetime_element"),a="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),s="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),l="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),c="January February March April May June July August September October November December".split(" "),u=(e,t)=>{if((e=""+e).length<t)for(let n=0;n<t-e.length;n++)e="0"+e;return e},d=(e,t,n=new Date)=>t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",u(n.getMonth()+1,2))).replace("%d",u(n.getDate(),2))).replace("%H",""+u(n.getHours(),2))).replace("%M",""+u(n.getMinutes(),2))).replace("%S",""+u(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(c[n.getMonth()]))).replace("%b",""+e.translate(l[n.getMonth()]))).replace("%A",""+e.translate(s[n.getDay()]))).replace("%a",""+e.translate(a[n.getDay()]))).replace("%%","%"),f=(e,t)=>{if(i(e)){const n=d(e,t);let r;r=/%[HMSIp]/.test(t)?d(e,"%Y-%m-%dT%H:%M"):d(e,"%Y-%m-%d");const o=e.dom.getParent(e.selection.getStart(),"time");o?((e,t,n,r)=>{const o=e.dom.create("time",{datetime:n},r);e.dom.replace(o,t),e.selection.select(o,!0),e.selection.collapse(!1)})(e,o,r,n):e.insertContent('<time datetime="'+r+'">'+n+"</time>")}else e.insertContent(d(e,t))};var p=tinymce.util.Tools.resolve("tinymce.util.Tools");const h=e=>{const t=o(e),n=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})((e=>{const t=o(e);return t.length>0?t[0]:r(e)})(e)),i=t=>e.execCommand("mceInsertDate",!1,t);e.ui.registry.addSplitButton("insertdatetime",{icon:"insert-time",tooltip:"Insert date/time",select:e=>e===n.get(),fetch:n=>{n(p.map(t,(t=>({type:"choiceitem",text:d(e,t),value:t}))))},onAction:e=>{i(n.get())},onItemAction:(e,t)=>{n.set(t),i(t)}});const a=e=>()=>{n.set(e),i(e)};e.ui.registry.addNestedMenuItem("insertdatetime",{icon:"insert-time",text:"Date/time",getSubmenuItems:()=>p.map(t,(t=>({type:"menuitem",text:d(e,t),onAction:a(t)})))})};e.add("insertdatetime",(e=>{(e=>{const t=e.options.register;t("insertdatetime_dateformat",{processor:"string",default:e.translate("%Y-%m-%d")}),t("insertdatetime_timeformat",{processor:"string",default:e.translate("%H:%M:%S")}),t("insertdatetime_formats",{processor:"string[]",default:["%H:%M:%S","%Y-%m-%d","%I:%M:%S %p","%D"]}),t("insertdatetime_element",{processor:"boolean",default:!1})})(e),(e=>{e.addCommand("mceInsertDate",((t,r)=>{f(e,null!=r?r:n(e))})),e.addCommand("mceInsertTime",((t,n)=>{f(e,null!=n?n:r(e))}))})(e),h(e)}))}()},72682:function(e,t,n){n(27384)},27384:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,n=e=>t=>typeof t===e,r=t("string"),o=t("object"),i=t("array"),a=(e=>t=>e===t)(null),s=n("boolean"),l=e=>!(e=>null==e)(e),c=n("function"),u=(e,t)=>{if(i(e)){for(let n=0,r=e.length;n<r;++n)if(!t(e[n]))return!1;return!0}return!1},d=()=>{},f=(e,t)=>e===t;class p{constructor(e,t){this.tag=e,this.value=t}static some(e){return new p(!0,e)}static none(){return p.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?p.some(e(this.value)):p.none()}bind(e){return this.tag?e(this.value):p.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:p.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return l(e)?p.some(e):p.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}p.singletonNone=new p(!1);const h=Array.prototype.indexOf,m=Array.prototype.push,g=(e,t)=>((e,t)=>h.call(e,t))(e,t)>-1,v=e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!i(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);m.apply(t,e[n])}return t},b=(e,t)=>v(((e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r})(e,t)),y=(e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n],n);if(r.isSome())return r}return p.none()},A=(e,t,n=f)=>e.exists((e=>n(e,t))),x=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t<e.length;t++)e[t].each(n);return t},C=(e,t)=>e?p.some(t):p.none(),_=e=>t=>t.options.get(e),w=_("link_assume_external_targets"),k=_("link_context_toolbar"),S=_("link_list"),E=_("link_default_target"),B=_("link_default_protocol"),O=_("link_target_list"),j=_("link_rel_list"),T=_("link_class_list"),P=_("link_title"),M=_("allow_unsafe_link_target"),D=_("link_quicklink");var R=tinymce.util.Tools.resolve("tinymce.util.Tools");const L=e=>r(e.value)?e.value:"",I=(e,t)=>{const n=[];return R.each(e,(e=>{const o=(e=>r(e.text)?e.text:r(e.title)?e.title:"")(e);if(void 0!==e.menu){const r=I(e.menu,t);n.push({text:o,items:r})}else{const r=t(e);n.push({text:o,value:r})}})),n},N=(e=L)=>t=>p.from(t).map((t=>I(t,e))),F={sanitize:e=>N(L)(e),sanitizeWith:N,createUi:(e,t)=>n=>({name:e,type:"listbox",label:t,items:n}),getValue:L},z=Object.keys,q=Object.hasOwnProperty,U=(e,t,n,r)=>{((e,t)=>{const n=z(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}})(e,((e,o)=>{(t(e,o)?n:r)(e,o)}))},H=(e,t)=>q.call(e,t);var W=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),V=tinymce.util.Tools.resolve("tinymce.util.URI");const Y=e=>l(e)&&"a"===e.nodeName.toLowerCase(),Z=e=>Y(e)&&!!$(e),G=(e,t)=>{if(e.collapsed)return[];{const n=e.cloneContents(),r=n.firstChild,o=new W(r,n),i=[];let a=r;do{t(a)&&i.push(a)}while(a=o.next());return i}},K=e=>/^\w+:/i.test(e),$=e=>{var t,n;return null!==(n=null!==(t=e.getAttribute("data-mce-href"))&&void 0!==t?t:e.getAttribute("href"))&&void 0!==n?n:""},X=(e,t)=>{const n=["noopener"],r=e?e.split(/\s+/):[],o=e=>e.filter((e=>-1===R.inArray(n,e))),i=t?(e=>(e=o(e)).length>0?e.concat(n):n)(r):o(r);return i.length>0?(e=>R.trim(e.sort().join(" ")))(i):""},Q=(e,t)=>(t=t||e.selection.getNode(),re(t)?p.from(e.dom.select("a[href]",t)[0]):p.from(e.dom.getParent(t,"a[href]"))),J=(e,t)=>Q(e,t).isSome(),ee=(e,t)=>(e=>e.replace(/\uFEFF/g,""))(t.fold((()=>e.getContent({format:"text"})),(e=>e.innerText||e.textContent||""))),te=e=>R.grep(e,Z).length>0,ne=e=>{const t=e.schema.getTextInlineElements();return 0===G(e.selection.getRng(),(e=>1===e.nodeType&&!Y(e)&&!H(t,e.nodeName.toLowerCase()))).length},re=e=>l(e)&&"FIGURE"===e.nodeName&&/\bimage\b/i.test(e.className),oe=(e,t)=>{const n={...t};if(0===j(e).length&&!M(e)){const e=X(n.rel,"_blank"===n.target);n.rel=e||null}return p.from(n.target).isNone()&&!1===O(e)&&(n.target=E(e)),n.href=((e,t)=>"http"!==t&&"https"!==t||K(e)?e:t+"://"+e)(n.href,w(e)),n},ie=(e,t,n)=>{const r=e.selection.getNode(),o=Q(e,r),i=oe(e,(e=>((e,t,n)=>(((e,t)=>{for(let n=0,r=e.length;n<r;n++)t(e[n],n)})(e,((e,r)=>{n=t(n,e,r)})),n))(["title","rel","class","target"],((t,n)=>(e[n].each((e=>{t[n]=e.length>0?e:null})),t)),{href:e.href}))(n));e.undoManager.transact((()=>{n.href===t.href&&t.attach(),o.fold((()=>{((e,t,n,r)=>{const o=e.dom;re(t)?ue(o,t,r):n.fold((()=>{e.execCommand("mceInsertLink",!1,r)}),(t=>{e.insertContent(o.createHTML("a",r,o.encode(t)))}))})(e,r,n.text,i)}),(t=>{e.focus(),((e,t,n,r)=>{n.each((e=>{H(t,"innerText")?t.innerText=e:t.textContent=e})),e.dom.setAttribs(t,r),e.selection.select(t)})(e,t,n.text,i)}))}))},ae=e=>{const{class:t,href:n,rel:r,target:o,text:i,title:s}=e;return((e,t)=>{const n={};return U(e,t,(e=>(t,n)=>{e[n]=t})(n),d),n})({class:t.getOrNull(),href:n,rel:r.getOrNull(),target:o.getOrNull(),text:i.getOrNull(),title:s.getOrNull()},((e,t)=>!1===a(e)))},se=(e,t,n)=>{const r=((e,t)=>{const n=e.options.get,r={allow_html_data_urls:n("allow_html_data_urls"),allow_script_urls:n("allow_script_urls"),allow_svg_data_urls:n("allow_svg_data_urls")},o=t.href;return{...t,href:V.isDomSafe(o,"a",r)?o:""}})(e,n);e.hasPlugin("rtc",!0)?e.execCommand("createlink",!1,ae(r)):ie(e,t,r)},le=e=>{e.hasPlugin("rtc",!0)?e.execCommand("unlink"):(e=>{e.undoManager.transact((()=>{const t=e.selection.getNode();re(t)?ce(e,t):(e=>{const t=e.dom,n=e.selection,r=n.getBookmark(),o=n.getRng().cloneRange(),i=t.getParent(o.startContainer,"a[href]",e.getBody()),a=t.getParent(o.endContainer,"a[href]",e.getBody());i&&o.setStartBefore(i),a&&o.setEndAfter(a),n.setRng(o),e.execCommand("unlink"),n.moveToBookmark(r)})(e),e.focus()}))})(e)},ce=(e,t)=>{var n;const r=e.dom.select("img",t)[0];if(r){const o=e.dom.getParents(r,"a[href]",t)[0];o&&(null===(n=o.parentNode)||void 0===n||n.insertBefore(r,o),e.dom.remove(o))}},ue=(e,t,n)=>{var r;const o=e.select("img",t)[0];if(o){const t=e.create("a",n);null===(r=o.parentNode)||void 0===r||r.insertBefore(t,o),t.appendChild(o)}},de=e=>{return H(t=e,n="items")&&void 0!==t[n]&&null!==t[n];var t,n},fe=(e,t)=>y(t,(t=>de(t)?fe(e,t.items):C(t.value===e,t))),pe=(e,t,n,r)=>{const o=r[t],i=e.length>0;return void 0!==o?fe(o,n).map((t=>({url:{value:t.value,meta:{text:i?e:t.text,attach:d}},text:i?e:t.text}))):p.none()},he=(e,t)=>{const n={text:e.text,title:e.title},r=e=>{const t=(r=e.url,C(n.text.length<=0,p.from(null===(o=r.meta)||void 0===o?void 0:o.text).getOr(r.value)));var r,o;const i=(e=>{var t;return C(n.title.length<=0,p.from(null===(t=e.meta)||void 0===t?void 0:t.title).getOr(""))})(e.url);return t.isSome()||i.isSome()?p.some({...t.map((e=>({text:e}))).getOr({}),...i.map((e=>({title:e}))).getOr({})}):p.none()},o=(e,r)=>{const o=(i=t,a=r,"link"===a?i.link:"anchor"===a?i.anchor:p.none()).getOr([]);var i,a;return pe(n.text,r,o,e)};return{onChange:(e,t)=>{const i=t.name;return"url"===i?r(e()):g(["anchor","link"],i)?o(e(),i):"text"===i||"title"===i?(n[i]=e()[i],p.none()):p.none()}}};var me=tinymce.util.Tools.resolve("tinymce.util.Delay");const ge=e=>{const t=e.href;return t.indexOf("@")>0&&-1===t.indexOf("/")&&-1===t.indexOf("mailto:")?p.some({message:"The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?",preprocess:e=>({...e,href:"mailto:"+t})}):p.none()},ve=(e,t)=>n=>{const r=n.href;return 1===e&&!K(r)||0===e&&/^\s*www(\.|\d\.)/i.test(r)?p.some({message:`The URL you entered seems to be an external link. Do you want to add the required ${t}:// prefix?`,preprocess:e=>({...e,href:t+"://"+r})}):p.none()},be=(e,t)=>y([ge,ve(w(e),B(e))],(e=>e(t))).fold((()=>Promise.resolve(t)),(n=>new Promise((r=>{((e,t,n)=>{const r=e.selection.getRng();me.setEditorTimeout(e,(()=>{e.windowManager.confirm(t,(t=>{e.selection.setRng(r),n(t)}))}))})(e,n.message,(e=>{r(e?n.preprocess(t):t)}))})))),ye=e=>{const t=e.dom.select("a:not([href])"),n=b(t,(e=>{const t=e.name||e.id;return t?[{text:t,value:"#"+t}]:[]}));return n.length>0?p.some([{text:"None",value:""}].concat(n)):p.none()},Ae=e=>{const t=T(e);return t.length>0?F.sanitize(t):p.none()},xe=e=>{try{return p.some(JSON.parse(e))}catch(e){return p.none()}},Ce=e=>{const t=t=>e.convertURL(t.value||t.url||"","href"),n=S(e);return new Promise((e=>{r(n)?fetch(n).then((e=>e.ok?e.text().then(xe):Promise.reject())).then(e,(()=>e(p.none()))):c(n)?n((t=>e(p.some(t)))):e(p.from(n))})).then((e=>e.bind(F.sanitizeWith(t)).map((e=>{if(e.length>0){return[{text:"None",value:""}].concat(e)}return e}))))},_e=(e,t)=>{const n=j(e);if(n.length>0){const r=A(t,"_blank"),o=e=>X(F.getValue(e),r);return(!1===M(e)?F.sanitizeWith(o):F.sanitize)(n)}return p.none()},we=[{text:"Current window",value:""},{text:"New window",value:"_blank"}],ke=e=>{const t=O(e);return i(t)?F.sanitize(t).orThunk((()=>p.some(we))):!1===t?p.none():p.some(we)},Se=(e,t,n)=>{const r=e.getAttrib(t,n);return null!==r&&r.length>0?p.some(r):p.none()},Ee=(e,t)=>Ce(e).then((n=>{const r=((e,t)=>{const n=e.dom,r=ne(e)?p.some(ee(e.selection,t)):p.none(),o=t.bind((e=>p.from(n.getAttrib(e,"href")))),i=t.bind((e=>p.from(n.getAttrib(e,"target")))),a=t.bind((e=>Se(n,e,"rel"))),s=t.bind((e=>Se(n,e,"class")));return{url:o,text:r,title:t.bind((e=>Se(n,e,"title"))),target:i,rel:a,linkClass:s}})(e,t);return{anchor:r,catalogs:{targets:ke(e),rels:_e(e,r.target),classes:Ae(e),anchor:ye(e),link:n},optNode:t,flags:{titleEnabled:P(e)}}})),Be=e=>{const t=(e=>{const t=Q(e);return Ee(e,t)})(e);t.then((t=>{const n=((e,t)=>n=>{const r=n.getData();if(!r.url.value)return le(e),void n.close();const o=e=>p.from(r[e]).filter((n=>!A(t.anchor[e],n))),i={href:r.url.value,text:o("text"),target:o("target"),rel:o("rel"),class:o("linkClass"),title:o("title")},a={href:r.url.value,attach:void 0!==r.url.meta&&r.url.meta.attach?r.url.meta.attach:d};be(e,i).then((t=>{se(e,a,t)})),n.close()})(e,t);return((e,t,n)=>{const r=e.anchor.text.map((()=>({name:"text",type:"input",label:"Text to display"}))).toArray(),o=e.flags.titleEnabled?[{name:"title",type:"input",label:"Title"}]:[],i=((e,t)=>{const n=e.anchor,r=n.url.getOr("");return{url:{value:r,meta:{original:{value:r}}},text:n.text.getOr(""),title:n.title.getOr(""),anchor:r,link:r,rel:n.rel.getOr(""),target:n.target.or(t).getOr(""),linkClass:n.linkClass.getOr("")}})(e,p.from(E(n))),a=e.catalogs,s=he(i,a);return{title:"Insert/Edit Link",size:"normal",body:{type:"panel",items:v([[{name:"url",type:"urlinput",filetype:"file",label:"URL"}],r,o,x([a.anchor.map(F.createUi("anchor","Anchors")),a.rels.map(F.createUi("rel","Rel")),a.targets.map(F.createUi("target","Open link in...")),a.link.map(F.createUi("link","Link list")),a.classes.map(F.createUi("linkClass","Class"))])])},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:i,onChange:(e,{name:t})=>{s.onChange(e.getData,{name:t}).each((t=>{e.setData(t)}))},onSubmit:t}})(t,n,e)})).then((t=>{e.windowManager.open(t)}))};var Oe=tinymce.util.Tools.resolve("tinymce.util.VK");const je=e=>{const t=document.createElement("a");t.target="_blank",t.href=e,t.rel="noreferrer noopener";const n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),((e,t)=>{document.body.appendChild(e),e.dispatchEvent(t),document.body.removeChild(e)})(t,n)},Te=(e,t)=>e.dom.getParent(t,"a[href]"),Pe=e=>Te(e,e.selection.getStart()),Me=(e,t)=>{if(t){const n=$(t);if(/^#/.test(n)){const t=e.dom.select(n);t.length&&e.selection.scrollIntoView(t[0],!0)}else je(t.href)}},De=e=>()=>{e.execCommand("mceLink",!1,{dialog:!0})},Re=e=>()=>{Me(e,Pe(e))},Le=(e,t)=>(e.on("NodeChange",t),()=>e.off("NodeChange",t)),Ie=e=>t=>{const n=()=>t.setActive(!e.mode.isReadOnly()&&J(e,e.selection.getNode()));return n(),Le(e,n)},Ne=e=>t=>{const n=()=>t.setEnabled(J(e,e.selection.getNode()));return n(),Le(e,n)},Fe=e=>t=>{const n=t=>{return te(t)||(n=e.selection.getRng(),G(n,Z).length>0);var n},r=e.dom.getParents(e.selection.getStart());return t.setEnabled(n(r)),Le(e,(e=>t.setEnabled(n(e.parents))))},ze=e=>{const t=t=>{const n=e.selection.getNode();return t.setEnabled(J(e,n)),d};e.ui.registry.addContextForm("quicklink",{launch:{type:"contextformtogglebutton",icon:"link",tooltip:"Link",onSetup:Ie(e)},label:"Link",predicate:t=>k(e)&&J(e,t),initValue:()=>{return Q(e).fold((t="",()=>t),$);var t},commands:[{type:"contextformtogglebutton",icon:"link",tooltip:"Link",primary:!0,onSetup:t=>{const n=e.selection.getNode();return t.setActive(J(e,n)),Ie(e)(t)},onAction:t=>{const n=t.getValue(),r=(t=>{const n=Q(e),r=ne(e);if(n.isNone()&&r){const r=ee(e.selection,n);return p.some(r.length>0?r:t)}return p.none()})(n);se(e,{href:n,attach:d},{href:n,text:r,title:p.none(),rel:p.none(),target:p.none(),class:p.none()}),(e=>{e.selection.collapse(!1)})(e),t.hide()}},{type:"contextformbutton",icon:"unlink",tooltip:"Remove link",onSetup:t,onAction:t=>{le(e),t.hide()}},{type:"contextformbutton",icon:"new-tab",tooltip:"Open link",onSetup:t,onAction:t=>{Re(e)(),t.hide()}}]})};e.add("link",(e=>{(e=>{const t=e.options.register;t("link_assume_external_targets",{processor:e=>{const t=r(e)||s(e);return t?!0===e?{value:1,valid:t}:"http"===e||"https"===e?{value:e,valid:t}:{value:0,valid:t}:{valid:!1,message:"Must be a string or a boolean."}},default:!1}),t("link_context_toolbar",{processor:"boolean",default:!1}),t("link_list",{processor:e=>r(e)||c(e)||u(e,o)}),t("link_default_target",{processor:"string"}),t("link_default_protocol",{processor:"string",default:"https"}),t("link_target_list",{processor:e=>s(e)||u(e,o),default:!0}),t("link_rel_list",{processor:"object[]",default:[]}),t("link_class_list",{processor:"object[]",default:[]}),t("link_title",{processor:"boolean",default:!0}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("link_quicklink",{processor:"boolean",default:!1})})(e),(e=>{e.ui.registry.addToggleButton("link",{icon:"link",tooltip:"Insert/edit link",onAction:De(e),onSetup:Ie(e)}),e.ui.registry.addButton("openlink",{icon:"new-tab",tooltip:"Open link",onAction:Re(e),onSetup:Ne(e)}),e.ui.registry.addButton("unlink",{icon:"unlink",tooltip:"Remove link",onAction:()=>le(e),onSetup:Fe(e)})})(e),(e=>{e.ui.registry.addMenuItem("openlink",{text:"Open link",icon:"new-tab",onAction:Re(e),onSetup:Ne(e)}),e.ui.registry.addMenuItem("link",{icon:"link",text:"Link...",shortcut:"Meta+K",onAction:De(e)}),e.ui.registry.addMenuItem("unlink",{icon:"unlink",text:"Remove link",onAction:()=>le(e),onSetup:Fe(e)})})(e),(e=>{e.ui.registry.addContextMenu("link",{update:t=>te(e.dom.getParents(t,"a"))?"link unlink openlink":"link"})})(e),ze(e),(e=>{e.on("click",(t=>{const n=Te(e,t.target);n&&Oe.metaKeyPressed(t)&&(t.preventDefault(),Me(e,n))})),e.on("keydown",(t=>{if(!t.isDefaultPrevented()&&13===t.keyCode&&(e=>!0===e.altKey&&!1===e.shiftKey&&!1===e.ctrlKey&&!1===e.metaKey)(t)){const n=Pe(e);n&&(t.preventDefault(),Me(e,n))}}))})(e),(e=>{e.addCommand("mceLink",((t,n)=>{!0!==(null==n?void 0:n.dialog)&&D(e)?e.dispatch("contexttoolbar-show",{toolbarKey:"quicklink"}):Be(e)}))})(e),(e=>{e.addShortcut("Meta+K","",(()=>{e.execCommand("mceLink")}))})(e)}))}()},1236:function(e,t,n){n(77585)},77585:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,n=e=>t=>typeof t===e,r=t("string"),o=t("object"),i=t("array"),a=n("boolean"),s=e=>!(e=>null==e)(e),l=n("function"),c=n("number"),u=()=>{},d=(e,t)=>e===t,f=e=>t=>!e(t),p=(h=!1,()=>h);var h;class m{constructor(e,t){this.tag=e,this.value=t}static some(e){return new m(!0,e)}static none(){return m.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?m.some(e(this.value)):m.none()}bind(e){return this.tag?e(this.value):m.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:m.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return s(e)?m.some(e):m.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}m.singletonNone=new m(!1);const g=Array.prototype.slice,v=Array.prototype.indexOf,b=Array.prototype.push,y=(e,t)=>((e,t)=>v.call(e,t))(e,t)>-1,A=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return!0}return!1},x=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},C=(e,t)=>{for(let n=0,r=e.length;n<r;n++){t(e[n],n)}},_=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},w=(e,t,n)=>(C(e,((e,r)=>{n=t(n,e,r)})),n),k=(e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return m.some(o);if(n(o,r))break}return m.none()},S=(e,t)=>k(e,t,p),E=(e,t)=>(e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!i(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);b.apply(t,e[n])}return t})(x(e,t)),B=e=>{const t=g.call(e,0);return t.reverse(),t},O=(e,t)=>t>=0&&t<e.length?m.some(e[t]):m.none(),j=e=>O(e,0),T=e=>O(e,e.length-1),P=(e,t)=>{const n=[],r=l(t)?e=>A(n,(n=>t(n,e))):e=>y(n,e);for(let t=0,o=e.length;t<o;t++){const o=e[t];r(o)||n.push(o)}return n},M=(e,t,n=d)=>e.exists((e=>n(e,t))),D=(e,t,n)=>e.isSome()&&t.isSome()?m.some(n(e.getOrDie(),t.getOrDie())):m.none(),R=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},L={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return R(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return R(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return R(n)},fromDom:R,fromPoint:(e,t,n)=>m.from(e.dom.elementFromPoint(t,n)).map(R)},I=(e,t)=>e.dom===t.dom,N=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}};"undefined"!=typeof window?window:Function("return this;")();const F=e=>e.dom.nodeName.toLowerCase(),z=(e=>t=>(e=>e.dom.nodeType)(t)===e)(1),q=e=>t=>z(t)&&F(t)===e,U=e=>m.from(e.dom.parentNode).map(L.fromDom),H=e=>x(e.dom.childNodes,L.fromDom),W=(e,t)=>{const n=e.dom.childNodes;return m.from(n[t]).map(L.fromDom)},V=e=>W(e,0),Y=e=>W(e,e.dom.childNodes.length-1),Z=(e,t,n)=>{let r=e.dom;const o=l(n)?n:p;for(;r.parentNode;){r=r.parentNode;const e=L.fromDom(r);if(t(e))return m.some(e);if(o(e))break}return m.none()},G=(e,t,n)=>((e,t,n,r,o)=>e(n,r)?m.some(n):l(o)&&o(n)?m.none():t(n,r,o))(((e,t)=>t(e)),Z,e,t,n),K=(e,t)=>{U(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},$=(e,t)=>{const n=(e=>m.from(e.dom.nextSibling).map(L.fromDom))(e);n.fold((()=>{U(e).each((e=>{X(e,t)}))}),(e=>{K(e,t)}))},X=(e,t)=>{e.dom.appendChild(t.dom)},Q=(e,t)=>{C(t,(t=>{X(e,t)}))},J=e=>{e.dom.textContent="",C(H(e),(e=>{ee(e)}))},ee=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)};var te=tinymce.util.Tools.resolve("tinymce.dom.RangeUtils"),ne=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker"),re=tinymce.util.Tools.resolve("tinymce.util.VK");const oe=e=>x(e,L.fromDom),ie=Object.keys,ae=(e,t)=>{const n=ie(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}},se=(e,t)=>{const n={};return((e,t,n,r)=>{ae(e,((e,o)=>{(t(e,o)?n:r)(e,o)}))})(e,t,(e=>(t,n)=>{e[n]=t})(n),u),n},le=(e,t)=>{const n=e.dom;ae(t,((e,t)=>{((e,t,n)=>{if(!(r(n)||a(n)||c(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(n,t,e)}))},ce=e=>w(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),ue=e=>((e,t)=>L.fromDom(e.dom.cloneNode(t)))(e,!0),de=(e,t)=>{const n=((e,t)=>{const n=L.fromTag(t),r=ce(e);return le(n,r),n})(e,t);$(e,n);const r=H(e);return Q(n,r),ee(e),n};var fe=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),pe=tinymce.util.Tools.resolve("tinymce.util.Tools");const he=e=>t=>s(t)&&t.nodeName.toLowerCase()===e,me=e=>t=>s(t)&&e.test(t.nodeName),ge=e=>s(e)&&3===e.nodeType,ve=e=>s(e)&&1===e.nodeType,be=me(/^(OL|UL|DL)$/),ye=me(/^(OL|UL)$/),Ae=he("ol"),xe=me(/^(LI|DT|DD)$/),Ce=me(/^(DT|DD)$/),_e=me(/^(TH|TD)$/),we=he("br"),ke=(e,t)=>s(t)&&t.nodeName in e.schema.getTextBlockElements(),Se=(e,t)=>s(e)&&e.nodeName in t,Ee=(e,t,n)=>{const r=e.isEmpty(t);return!(n&&e.select("span[data-mce-type=bookmark]",t).length>0)&&r},Be=(e,t)=>e.isChildOf(t,e.getRoot()),Oe=e=>t=>t.options.get(e),je=Oe("lists_indent_on_tab"),Te=Oe("forced_root_block"),Pe=Oe("forced_root_block_attrs"),Me=(e,t)=>{const n=e.dom,r=e.schema.getBlockElements(),o=n.createFragment(),i=Te(e),a=Pe(e);let s,l,c=!1;for(l=n.create(i,a),Se(t.firstChild,r)||o.appendChild(l);s=t.firstChild;){const e=s.nodeName;c||"SPAN"===e&&"bookmark"===s.getAttribute("data-mce-type")||(c=!0),Se(s,r)?(o.appendChild(s),l=null):(l||(l=n.create(i,a),o.appendChild(l)),l.appendChild(s))}return!c&&l&&l.appendChild(n.create("br",{"data-mce-bogus":"1"})),o},De=fe.DOM,Re=(e,t,n)=>{const r=De.select('span[data-mce-type="bookmark"]',t),o=Me(e,n),i=De.createRng();i.setStartAfter(n),i.setEndAfter(t);const a=i.extractContents();for(let t=a.firstChild;t;t=t.firstChild)if("LI"===t.nodeName&&e.dom.isEmpty(t)){De.remove(t);break}e.dom.isEmpty(a)||De.insertAfter(a,t),De.insertAfter(o,t);const s=n.parentElement;s&&Ee(e.dom,s)&&(e=>{const t=e.parentNode;t&&pe.each(r,(e=>{t.insertBefore(e,n.parentNode)})),De.remove(e)})(s),De.remove(n),Ee(e.dom,t)&&De.remove(t)},Le=q("dd"),Ie=q("dt"),Ne=(e,t)=>{var n;Le(t)?de(t,"dt"):Ie(t)&&(n=t,m.from(n.dom.parentElement).map(L.fromDom)).each((n=>Re(e,n.dom,t.dom)))},Fe=e=>{Ie(e)&&de(e,"dd")},ze=(e,t)=>{if(ge(e))return{container:e,offset:t};const n=te.getNode(e,t);return ge(n)?{container:n,offset:t>=e.childNodes.length?n.data.length:0}:n.previousSibling&&ge(n.previousSibling)?{container:n.previousSibling,offset:n.previousSibling.data.length}:n.nextSibling&&ge(n.nextSibling)?{container:n.nextSibling,offset:0}:{container:e,offset:t}},qe=e=>{const t=e.cloneRange(),n=ze(e.startContainer,e.startOffset);t.setStart(n.container,n.offset);const r=ze(e.endContainer,e.endOffset);return t.setEnd(r.container,r.offset),t},Ue=["OL","UL","DL"],He=Ue.join(","),We=(e,t)=>{const n=t||e.selection.getStart(!0);return e.dom.getParent(n,He,Ge(e,n))},Ve=e=>{const t=We(e),n=e.selection.getSelectedBlocks();return((e,t)=>s(e)&&1===t.length&&t[0]===e)(t,n)?(e=>_(e.querySelectorAll(He),be))(t):_(n,(e=>be(e)&&t!==e))},Ye=e=>{const t=e.selection.getSelectedBlocks();return _(((e,t)=>{const n=pe.map(t,(t=>e.dom.getParent(t,"li,dd,dt",Ge(e,t))||t));return P(n)})(e,t),xe)},Ze=(e,t)=>{const n=e.dom.getParents(t,"TD,TH");return n.length>0?n[0]:e.getBody()},Ge=(e,t)=>{const n=e.dom.getParents(t,e.dom.isBlock),r=S(n,(t=>{return n=e.schema,!be(r=t)&&!xe(r)&&A(Ue,(e=>n.isValidChild(r.nodeName,e)));var n,r}));return r.getOr(e.getBody())},Ke=(e,t)=>{const n=e.dom.getParents(t,"ol,ul",Ge(e,t));return T(n)},$e=e=>{const t=(e=>{const t=Ke(e,e.selection.getStart()),n=_(e.selection.getSelectedBlocks(),ye);return t.toArray().concat(n)})(e);return Xe(e,t)},Xe=(e,t)=>{const n=x(t,(t=>Ke(e,t).getOr(t)));return P(n)},Qe=e=>/\btox\-/.test(e.className),Je=(e,t)=>k(e,be,_e).exists((e=>e.nodeName===t&&!Qe(e))),et=(e,t)=>null!==t&&"false"===e.dom.getContentEditableParent(t),tt=(e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return et(e,n)},nt=(e,t)=>{const n=e.selection.getNode();return t({parents:e.dom.getParents(n),element:n}),e.on("NodeChange",t),()=>e.off("NodeChange",t)},rt=(e,t,n)=>e.dispatch("ListMutation",{action:t,element:n}),ot=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),it=(e,t,n)=>{if(!r(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);(e=>void 0!==e.style&&l(e.style.getPropertyValue))(e)&&e.style.setProperty(t,n)},at=(e,t,n)=>{const r=e.dom;it(r,t,n)},st=(e,t)=>{X(e.item,t.list)},lt=(e,t)=>{const n={list:L.fromTag(t,e),item:L.fromTag("li",e)};return X(n.list,n.item),n},ct=(e,t,n)=>{const r=t.slice(0,n.depth);return T(r).each((t=>{const r=((e,t,n)=>{const r=L.fromTag("li",e);return le(r,t),Q(r,n),r})(e,n.itemAttributes,n.content);((e,t)=>{X(e.list,t),e.item=t})(t,r),((e,t)=>{F(e.list)!==t.listType&&(e.list=de(e.list,t.listType)),le(e.list,t.listAttributes)})(t,n)})),r},ut=(e,t,n)=>{const r=((e,t,n)=>{const r=[];for(let o=0;o<n;o++)r.push(lt(e,t.listType));return r})(e,n,n.depth-t.length);var o;return(e=>{for(let t=1;t<e.length;t++)st(e[t-1],e[t])})(r),((e,t)=>{for(let t=0;t<e.length-1;t++)at(e[t].item,"list-style-type","none");T(e).each((e=>{le(e.list,t.listAttributes),le(e.item,t.itemAttributes),Q(e.item,t.content)}))})(r,n),o=r,D(T(t),j(o),st),t.concat(r)},dt=e=>N(e,"OL,UL"),ft=e=>V(e).exists(dt),pt=e=>e.depth>0,ht=e=>e.isSelected,mt=e=>{const t=H(e),n=Y(e).exists(dt)?t.slice(0,-1):t;return x(n,ue)},gt=e=>(C(e,((t,n)=>{((e,t)=>{const n=e[t].depth,r=e=>e.depth===n&&!e.dirty,o=e=>e.depth<n;return k(B(e.slice(0,t)),r,o).orThunk((()=>k(e.slice(t+1),r,o)))})(e,n).fold((()=>{t.dirty&&(e=>{e.listAttributes=se(e.listAttributes,((e,t)=>"start"!==t))})(t)}),(e=>{return r=e,(n=t).listType=r.listType,void(n.listAttributes={...r.listAttributes});var n,r}))})),e),vt=(e,t,n,r)=>V(r).filter(dt).fold((()=>{t.each((e=>{I(e.start,r)&&n.set(!0)}));const o=((e,t,n)=>U(e).filter(z).map((r=>({depth:t,dirty:!1,isSelected:n,content:mt(e),itemAttributes:ce(e),listAttributes:ce(r),listType:F(r)}))))(r,e,n.get());t.each((e=>{I(e.end,r)&&n.set(!1)}));const i=Y(r).filter(dt).map((r=>bt(e,t,n,r))).getOr([]);return o.toArray().concat(i)}),(r=>bt(e,t,n,r))),bt=(e,t,n,r)=>E(H(r),(r=>(dt(r)?bt:vt)(e+1,t,n,r))),yt=(e,t)=>{const n=gt(t);return x(n,(t=>{const n=((e,t)=>{const n=(t||document).createDocumentFragment();return C(e,(e=>{n.appendChild(e.dom)})),L.fromDom(n)})(t.content);return L.fromDom(Me(e,n.dom))}))},At=(e,t)=>{const n=gt(t);return((e,t)=>{const n=w(t,((t,n)=>n.depth>t.length?ut(e,t,n):ct(e,t,n)),[]);return j(n).map((e=>e.list))})(e.contentDocument,n).toArray()},xt=(e,t,n)=>{const r=((e,t)=>{const n=(e=>{let t=!1;return{get:()=>t,set:e=>{t=e}}})();return x(e,(e=>({sourceList:e,entries:bt(0,t,n,e)})))})(t,(e=>{const t=x(Ye(e),L.fromDom);return D(S(t,f(ft)),S(B(t),f(ft)),((e,t)=>({start:e,end:t})))})(e));C(r,(t=>{((e,t)=>{C(_(e,ht),(e=>((e,t)=>{switch(e){case"Indent":t.depth++;break;case"Outdent":t.depth--;break;case"Flatten":t.depth=0}t.dirty=!0})(t,e)))})(t.entries,n);const r=((e,t)=>E(((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const r=[];let o=[];for(let i=0,a=e.length;i<a;i++){const a=e[i],s=t(a);s!==n&&(r.push(o),o=[]),n=s,o.push(a)}return 0!==o.length&&r.push(o),r}})(t,pt),(t=>j(t).exists(pt)?At(e,t):yt(e,t))))(e,t.entries);var o;C(r,(t=>{rt(e,"Indent"===n?"IndentList":"OutdentList",t.dom)})),o=t.sourceList,C(r,(e=>{K(o,e)})),ee(t.sourceList)}))},Ct=(e,t)=>{const n=oe($e(e)),r=oe((e=>_(Ye(e),Ce))(e));let o=!1;if(n.length||r.length){const i=e.selection.getBookmark();xt(e,n,t),((e,t,n)=>{C(n,"Indent"===t?Fe:t=>Ne(e,t))})(e,t,r),e.selection.moveToBookmark(i),e.selection.setRng(qe(e.selection.getRng())),e.nodeChanged(),o=!0}return o},_t=(e,t)=>!(e=>{const t=We(e);return et(e,t)})(e)&&Ct(e,t),wt=e=>_t(e,"Indent"),kt=e=>_t(e,"Outdent"),St=e=>_t(e,"Flatten");var Et=tinymce.util.Tools.resolve("tinymce.dom.BookmarkManager");const Bt=fe.DOM,Ot=e=>{const t={},n=n=>{let r=e[n?"startContainer":"endContainer"],o=e[n?"startOffset":"endOffset"];if(ve(r)){const e=Bt.create("span",{"data-mce-type":"bookmark"});r.hasChildNodes()?(o=Math.min(o,r.childNodes.length-1),n?r.insertBefore(e,r.childNodes[o]):Bt.insertAfter(e,r.childNodes[o])):r.appendChild(e),r=e,o=0}t[n?"startContainer":"endContainer"]=r,t[n?"startOffset":"endOffset"]=o};return n(!0),e.collapsed||n(),t},jt=e=>{const t=t=>{let n=e[t?"startContainer":"endContainer"],r=e[t?"startOffset":"endOffset"];if(n){if(ve(n)&&n.parentNode){const e=n;r=(e=>{var t;let n=null===(t=e.parentNode)||void 0===t?void 0:t.firstChild,r=0;for(;n;){if(n===e)return r;ve(n)&&"bookmark"===n.getAttribute("data-mce-type")||r++,n=n.nextSibling}return-1})(n),n=n.parentNode,Bt.remove(e),!n.hasChildNodes()&&Bt.isBlock(n)&&n.appendChild(Bt.create("br"))}e[t?"startContainer":"endContainer"]=n,e[t?"startOffset":"endOffset"]=r}};t(!0),t();const n=Bt.createRng();return n.setStart(e.startContainer,e.startOffset),e.endContainer&&n.setEnd(e.endContainer,e.endOffset),qe(n)},Tt=e=>{switch(e){case"UL":return"ToggleUlList";case"OL":return"ToggleOlList";case"DL":return"ToggleDLList"}},Pt=(e,t)=>{pe.each(t,((t,n)=>{e.setAttribute(n,t)}))},Mt=(e,t,n)=>{((e,t,n)=>{const r=n["list-style-type"]?n["list-style-type"]:null;e.setStyle(t,"list-style-type",r)})(e,t,n),((e,t,n)=>{Pt(t,n["list-attributes"]),pe.each(e.select("li",t),(e=>{Pt(e,n["list-item-attributes"])}))})(e,t,n)},Dt=(e,t,n,r)=>{let o=t[n?"startContainer":"endContainer"];const i=t[n?"startOffset":"endOffset"];for(ve(o)&&(o=o.childNodes[Math.min(i,o.childNodes.length-1)]||o),!n&&we(o.nextSibling)&&(o=o.nextSibling);o.parentNode!==r;){const t=o.parentNode;if(ke(e,o))return o;if(/^(TD|TH)$/.test(t.nodeName))return o;o=t}return o},Rt=(e,t,n)=>{const r=e.selection.getRng();let o="LI";const i=Ge(e,e.selection.getStart(!0)),a=e.dom;if("false"===a.getContentEditable(e.selection.getNode()))return;"DL"===(t=t.toUpperCase())&&(o="DT");const s=Ot(r),l=((e,t,n)=>{const r=[],o=e.dom,i=Dt(e,t,!0,n),a=Dt(e,t,!1,n);let s;const l=[];for(let e=i;e&&(l.push(e),e!==a);e=e.nextSibling);return pe.each(l,(t=>{var i;if(ke(e,t))return r.push(t),void(s=null);if(o.isBlock(t)||we(t))return we(t)&&o.remove(t),void(s=null);const a=t.nextSibling;Et.isBookmarkNode(t)&&(be(a)||ke(e,a)||!a&&t.parentNode===n)?s=null:(s||(s=o.create("p"),null===(i=t.parentNode)||void 0===i||i.insertBefore(s,t),r.push(s)),s.appendChild(t))})),r})(e,r,i);pe.each(l,(r=>{let i;const s=r.previousSibling,l=r.parentNode;xe(l)||(s&&be(s)&&s.nodeName===t&&((e,t,n)=>{const r=e.getStyle(t,"list-style-type");let o=n?n["list-style-type"]:"";return o=null===o?"":o,r===o})(a,s,n)?(i=s,r=a.rename(r,o),s.appendChild(r)):(i=a.create(t),l.insertBefore(i,r),i.appendChild(r),r=a.rename(r,o)),((e,t,n)=>{pe.each(n,(n=>e.setStyle(t,n,"")))})(a,r,["margin","margin-right","margin-bottom","margin-left","margin-top","padding","padding-right","padding-bottom","padding-left","padding-top"]),Mt(a,i,n),It(e.dom,i))})),e.selection.setRng(jt(s))},Lt=(e,t,n)=>{return((e,t)=>be(e)&&e.nodeName===(null==t?void 0:t.nodeName))(t,n)&&((e,t,n)=>e.getStyle(t,"list-style-type",!0)===e.getStyle(n,"list-style-type",!0))(e,t,n)&&(r=n,t.className===r.className);var r},It=(e,t)=>{let n,r=t.nextSibling;if(Lt(e,t,r)){const o=r;for(;n=o.firstChild;)t.appendChild(n);e.remove(o)}if(r=t.previousSibling,Lt(e,t,r)){const o=r;for(;n=o.lastChild;)t.insertBefore(n,t.firstChild);e.remove(o)}},Nt=(e,t,n,r,o)=>{const i=be(t);if(i&&t.nodeName===r&&!Ft(o))St(e);else{Rt(e,r,o);const a=Ot(e.selection.getRng()),s=i?[t,...n]:n;pe.each(s,(t=>{((e,t,n,r)=>{if(t.nodeName!==n){const o=e.dom.rename(t,n);Mt(e.dom,o,r),rt(e,Tt(n),o)}else Mt(e.dom,t,r),rt(e,Tt(n),t)})(e,t,r,o)})),e.selection.setRng(jt(a))}},Ft=e=>"list-style-type"in e,zt=(e,t,n)=>{const r=We(e);if(tt(e,r))return;const i=Ve(e),a=o(n)?n:{};i.length>0?Nt(e,r,i,t,a):((e,t,n,r)=>{if(t!==e.getBody())if(t)if(t.nodeName!==n||Ft(r)||Qe(t)){const o=Ot(e.selection.getRng());Mt(e.dom,t,r);const i=e.dom.rename(t,n);It(e.dom,i),e.selection.setRng(jt(o)),Rt(e,n,r),rt(e,Tt(n),i)}else St(e);else Rt(e,n,r),rt(e,Tt(n),t)})(e,r,t,a)},qt=fe.DOM,Ut=(e,t)=>{const n=pe.grep(e.select("ol,ul",t));pe.each(n,(t=>{((e,t)=>{const n=t.parentElement;if(n&&"LI"===n.nodeName&&n.firstChild===t){const r=n.previousSibling;r&&"LI"===r.nodeName?(r.appendChild(t),Ee(e,n)&&qt.remove(n)):qt.setStyle(n,"listStyleType","none")}if(be(n)){const e=n.previousSibling;e&&"LI"===e.nodeName&&e.appendChild(t)}})(e,t)}))},Ht=(e,t,n,r)=>{let o=t.startContainer;const i=t.startOffset;if(ge(o)&&(n?i<o.data.length:i>0))return o;const a=e.schema.getNonEmptyElements();ve(o)&&(o=te.getNode(o,i));const s=new ne(o,r);n&&((e,t)=>!!we(t)&&e.isBlock(t.nextSibling)&&!we(t.previousSibling))(e.dom,o)&&s.next();const l=n?s.next.bind(s):s.prev2.bind(s);for(;o=l();){if("LI"===o.nodeName&&!o.hasChildNodes())return o;if(a[o.nodeName])return o;if(ge(o)&&o.data.length>0)return o}return null},Wt=(e,t)=>{const n=t.childNodes;return 1===n.length&&!be(n[0])&&e.isBlock(n[0])},Vt=(e,t,n)=>{let r;const o=Wt(e,n)?n.firstChild:n;if(((e,t)=>{Wt(e,t)&&e.remove(t.firstChild,!0)})(e,t),!Ee(e,t,!0))for(;r=t.firstChild;)o.appendChild(r)},Yt=(e,t,n)=>{let r;const o=t.parentNode;if(!Be(e,t)||!Be(e,n))return;be(n.lastChild)&&(r=n.lastChild),o===n.lastChild&&we(o.previousSibling)&&e.remove(o.previousSibling);const i=n.lastChild;i&&we(i)&&t.hasChildNodes()&&e.remove(i),Ee(e,n,!0)&&J(L.fromDom(n)),Vt(e,t,n),r&&n.appendChild(r);const a=((e,t)=>{const n=e.dom,r=t.dom;return n!==r&&n.contains(r)})(L.fromDom(n),L.fromDom(t))?e.getParents(t,be,n):[];e.remove(t),C(a,(t=>{Ee(e,t)&&t!==e.getRoot()&&e.remove(t)}))},Zt=(e,t,n,r)=>{const o=e.dom;if(o.isEmpty(r))((e,t,n)=>{J(L.fromDom(n)),Yt(e.dom,t,n),e.selection.setCursorLocation(n,0)})(e,n,r);else{const i=Ot(t);Yt(o,n,r),e.selection.setRng(jt(i))}},Gt=(e,t)=>{const n=e.dom,r=e.selection,o=r.getStart(),i=Ze(e,o),a=n.getParent(r.getStart(),"LI",i);if(a){const o=a.parentElement;if(o===e.getBody()&&Ee(n,o))return!0;const s=qe(r.getRng()),l=n.getParent(Ht(e,s,t,i),"LI",i);if(l&&l!==a)return e.undoManager.transact((()=>{var n,r;t?Zt(e,s,l,a):(null===(r=(n=a).parentNode)||void 0===r?void 0:r.firstChild)===n?kt(e):((e,t,n,r)=>{const o=Ot(t);Yt(e.dom,n,r);const i=jt(o);e.selection.setRng(i)})(e,s,a,l)})),!0;if(!l&&!t&&0===s.startOffset&&0===s.endOffset)return e.undoManager.transact((()=>{St(e)})),!0}return!1},Kt=(e,t)=>{const n=e.dom,r=e.selection.getStart(),o=Ze(e,r),i=n.getParent(r,n.isBlock,o);if(i&&n.isEmpty(i)){const r=qe(e.selection.getRng()),a=n.getParent(Ht(e,r,t,o),"LI",o);if(a){const s=e=>y(["td","th","caption"],F(e)),l=e=>e.dom===o;return!!((e,t,n=d)=>D(e,t,n).getOr(e.isNone()&&t.isNone()))(G(L.fromDom(a),s,l),G(L.fromDom(r.startContainer),s,l),I)&&(e.undoManager.transact((()=>{((e,t,n)=>{const r=e.getParent(t.parentNode,e.isBlock,n);e.remove(t),r&&e.isEmpty(r)&&e.remove(r)})(n,i,o),It(n,a.parentNode),e.selection.select(a,!0),e.selection.collapse(t)})),!0)}}return!1},$t=e=>{const t=e.selection.getStart(),n=Ze(e,t);return e.dom.getParent(t,"LI,DT,DD",n)||Ye(e).length>0},Xt=(e,t)=>{const n=e.selection;return!tt(e,n.getNode())&&(n.isCollapsed()?((e,t)=>Gt(e,t)||Kt(e,t))(e,t):(e=>!!$t(e)&&(e.undoManager.transact((()=>{e.execCommand("Delete"),Ut(e.dom,e.getBody())})),!0))(e))},Qt=e=>{const t=B(ot(e).split("")),n=x(t,((e,t)=>{const n=e.toUpperCase().charCodeAt(0)-"A".charCodeAt(0)+1;return Math.pow(26,t)*n}));return w(n,((e,t)=>e+t),0)},Jt=e=>{if(--e<0)return"";{const t=e%26,n=Math.floor(e/26);return Jt(n)+String.fromCharCode("A".charCodeAt(0)+t)}},en=e=>{const t=parseInt(e.start,10);return M(e.listStyleType,"upper-alpha")?Jt(t):M(e.listStyleType,"lower-alpha")?Jt(t).toLowerCase():e.start},tn=e=>{const t=We(e);Ae(t)&&!tt(e,t)&&e.windowManager.open({title:"List Properties",body:{type:"panel",items:[{type:"input",name:"start",label:"Start list at number",inputMode:"numeric"}]},initialData:{start:en({start:e.dom.getAttrib(t,"start","1"),listStyleType:m.from(e.dom.getStyle(t,"list-style-type"))})},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:t=>{(e=>{switch((e=>/^[0-9]+$/.test(e)?2:/^[A-Z]+$/.test(e)?0:(e=>/^[a-z]+$/.test(e))(e)?1:e.length>0?4:3)(e)){case 2:return m.some({listStyleType:m.none(),start:e});case 0:return m.some({listStyleType:m.some("upper-alpha"),start:Qt(e).toString()});case 1:return m.some({listStyleType:m.some("lower-alpha"),start:Qt(e).toString()});case 3:return m.some({listStyleType:m.none(),start:""});case 4:return m.none()}})(t.getData().start).each((t=>{e.execCommand("mceListUpdate",!1,{attrs:{start:"1"===t.start?"":t.start},styles:{"list-style-type":t.listStyleType.getOr("")}})})),t.close()}})},nn=(e,t)=>()=>{const n=We(e);return s(n)&&n.nodeName===t},rn=e=>{e.addCommand("mceListProps",(()=>{tn(e)}))},on=e=>{e.on("BeforeExecCommand",(t=>{const n=t.command.toLowerCase();"indent"===n?wt(e):"outdent"===n&&kt(e)})),e.addCommand("InsertUnorderedList",((t,n)=>{zt(e,"UL",n)})),e.addCommand("InsertOrderedList",((t,n)=>{zt(e,"OL",n)})),e.addCommand("InsertDefinitionList",((t,n)=>{zt(e,"DL",n)})),e.addCommand("RemoveList",(()=>{St(e)})),rn(e),e.addCommand("mceListUpdate",((t,n)=>{o(n)&&((e,t)=>{const n=We(e);null===n||tt(e,n)||e.undoManager.transact((()=>{o(t.styles)&&e.dom.setStyles(n,t.styles),o(t.attrs)&&ae(t.attrs,((t,r)=>e.dom.setAttrib(n,r,t)))}))})(e,n)})),e.addQueryStateHandler("InsertUnorderedList",nn(e,"UL")),e.addQueryStateHandler("InsertOrderedList",nn(e,"OL")),e.addQueryStateHandler("InsertDefinitionList",nn(e,"DL"))},an=e=>{je(e)&&(e=>{e.on("keydown",(t=>{t.keyCode!==re.TAB||re.metaKeyPressed(t)||e.undoManager.transact((()=>{(t.shiftKey?kt(e):wt(e))&&t.preventDefault()}))}))})(e),(e=>{e.on("ExecCommand",(t=>{const n=t.command.toLowerCase();"delete"!==n&&"forwarddelete"!==n||!$t(e)||Ut(e.dom,e.getBody())})),e.on("keydown",(t=>{t.keyCode===re.BACKSPACE?Xt(e,!1)&&t.preventDefault():t.keyCode===re.DELETE&&Xt(e,!0)&&t.preventDefault()}))})(e)},sn=(e,t)=>n=>nt(e,(r=>{n.setActive(Je(r.parents,t)),n.setEnabled(!tt(e,r.element))})),ln=(e,t)=>n=>nt(e,(r=>n.setEnabled(Je(r.parents,t)&&!tt(e,r.element))));e.add("lists",(e=>((e=>{(0,e.options.register)("lists_indent_on_tab",{processor:"boolean",default:!0})})(e),e.hasPlugin("rtc",!0)?rn(e):(an(e),on(e)),(e=>{const t=t=>()=>e.execCommand(t);e.hasPlugin("advlist")||(e.ui.registry.addToggleButton("numlist",{icon:"ordered-list",active:!1,tooltip:"Numbered list",onAction:t("InsertOrderedList"),onSetup:sn(e,"OL")}),e.ui.registry.addToggleButton("bullist",{icon:"unordered-list",active:!1,tooltip:"Bullet list",onAction:t("InsertUnorderedList"),onSetup:sn(e,"UL")}))})(e),(e=>{const t={text:"List properties...",icon:"ordered-list",onAction:()=>e.execCommand("mceListProps"),onSetup:ln(e,"OL")};e.ui.registry.addMenuItem("listprops",t),e.ui.registry.addContextMenu("lists",{update:t=>{const n=We(e,t);return Ae(n)?["listprops"]:[]}})})(e),(e=>({backspaceDelete:t=>{Xt(e,t)}}))(e))))}()},31295:function(e,t,n){n(76834)},76834:function(){!function(){"use strict";const e=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}};var t=tinymce.util.Tools.resolve("tinymce.PluginManager");const n=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,r=e=>t=>typeof t===e,o=n("string"),i=n("array"),a=r("boolean"),s=r("number"),l=()=>{},c=e=>()=>e,u=c(!0),d=c("[!-#%-*,-\\/:;?@\\[-\\]_{}¡«·»¿;·՚-՟։֊־׀׃׆׳״؉؊،؍؛؞؟٪-٭۔܀-܍߷-߹࠰-࠾࡞।॥॰෴๏๚๛༄-༒༺-༽྅࿐-࿔࿙࿚၊-၏჻፡-፨᐀᙭᙮᚛᚜᛫-᛭᜵᜶។-៖៘-៚᠀-᠊᥄᥅᨞᨟᪠-᪦᪨-᪭᭚-᭠᯼-᯿᰻-᰿᱾᱿᳓‐-‧‰-⁃⁅-⁑⁓-⁞⁽⁾₍₎〈〉❨-❵⟅⟆⟦-⟯⦃-⦘⧘-⧛⧼⧽⳹-⳼⳾⳿⵰⸀-⸮⸰⸱、-〃〈-】〔-〟〰〽゠・꓾꓿꘍-꘏꙳꙾꛲-꛷꡴-꡷꣎꣏꣸-꣺꤮꤯꥟꧁-꧍꧞꧟꩜-꩟꫞꫟꯫﴾﴿︐-︙︰-﹒﹔-﹡﹣﹨﹪﹫！-＃％-＊，-／：；？＠［-］＿｛｝｟-･]");class f{constructor(e,t){this.tag=e,this.value=t}static some(e){return new f(!0,e)}static none(){return f.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?f.some(e(this.value)):f.none()}bind(e){return this.tag?e(this.value):f.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:f.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return(e=>!(e=>null==e)(e))(e)?f.some(e):f.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}f.singletonNone=new f(!1);const p=d;var h=tinymce.util.Tools.resolve("tinymce.Env"),m=tinymce.util.Tools.resolve("tinymce.util.Tools");const g=Array.prototype.slice,v=Array.prototype.push,b=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},y=(e,t)=>{for(let n=0,r=e.length;n<r;n++){t(e[n],n)}},A=(e,t)=>{for(let n=e.length-1;n>=0;n--){t(e[n],n)}},x=(e,t)=>(e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!i(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);v.apply(t,e[n])}return t})(b(e,t)),C=Object.hasOwnProperty,_=(e,t)=>C.call(e,t);"undefined"!=typeof window?window:Function("return this;")();const w=(e=>t=>(e=>e.dom.nodeType)(t)===e)(3),k=(e,t,n)=>{((e,t,n)=>{if(!(o(n)||a(n)||s(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")})(e.dom,t,n)},S=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},E={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return S(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return S(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return S(n)},fromDom:S,fromPoint:(e,t,n)=>f.from(e.dom.elementFromPoint(t,n)).map(S)},B=(e,t)=>({element:e,offset:t}),O=(e,t)=>{const n=(e=>b(e.dom.childNodes,E.fromDom))(e);return n.length>0&&t<n.length?B(n[t],0):B(e,t)},j=(e,t)=>{const n=(e=>f.from(e.dom.parentNode).map(E.fromDom))(e);n.each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},T=(e,t)=>{j(e,t),((e,t)=>{e.dom.appendChild(t.dom)})(t,e)},P=((e,t)=>{const n=t=>e(t)?f.from(t.dom.nodeValue):f.none();return{get:r=>{if(!e(r))throw new Error("Can only get "+t+" value of a "+t+" node");return n(r).getOr("")},getOption:n,set:(n,r)=>{if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom.nodeValue=r}}})(w,"text"),M=e=>P.get(e),D=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return 1!==(r=n).nodeType&&9!==r.nodeType&&11!==r.nodeType||0===r.childElementCount?[]:b(n.querySelectorAll(e),E.fromDom);var r})(t,e);var R=tinymce.util.Tools.resolve("tinymce.dom.TreeWalker");const L=(e,t)=>e.isBlock(t)||_(e.schema.getVoidElements(),t.nodeName),I=(e,t)=>"false"===e.getContentEditable(t),N=(e,t)=>!e.isBlock(t)&&_(e.schema.getWhitespaceElements(),t.nodeName),F=(e,t)=>O(E.fromDom(e),t),z=(e,t,n,r,o,i=!0)=>{let a=i?t(!1):n;for(;a;){const n=I(e,a);if(n||N(e,a)){if(n?r.cef(a):r.boundary(a))break;a=t(!0)}else{if(L(e,a)){if(r.boundary(a))break}else 3===a.nodeType&&r.text(a);if(a===o)break;a=t(!1)}}},q=(e,t,n,r,o)=>{var i;if(((e,t)=>L(e,t)||I(e,t)||N(e,t)||((e,t)=>"true"===e.getContentEditable(t)&&t.parentNode&&"false"===e.getContentEditableParent(t.parentNode))(e,t))(e,n))return;const a=null!==(i=e.getParent(r,e.isBlock))&&void 0!==i?i:e.getRoot(),s=new R(n,a),l=o?s.next.bind(s):s.prev.bind(s);z(e,l,n,{boundary:u,cef:u,text:e=>{o?t.fOffset+=e.length:t.sOffset+=e.length,t.elements.push(E.fromDom(e))}})},U=(e,t,n,r,o,i=!0)=>{const a=new R(n,t),s=[];let l={sOffset:0,fOffset:0,elements:[]};q(e,l,n,t,!1);const c=()=>(l.elements.length>0&&(s.push(l),l={sOffset:0,fOffset:0,elements:[]}),!1);return z(e,a.next.bind(a),n,{boundary:c,cef:e=>(c(),o&&s.push(...o.cef(e)),!1),text:e=>{l.elements.push(E.fromDom(e)),o&&o.text(e,l)}},r,i),r&&q(e,l,r,t,!0),c(),s},H=(e,t)=>{const n=F(t.startContainer,t.startOffset),r=n.element.dom,o=F(t.endContainer,t.endOffset),i=o.element.dom;return U(e,t.commonAncestorContainer,r,i,{text:(e,t)=>{e===i?t.fOffset+=e.length-o.offset:e===r&&(t.sOffset+=n.offset)},cef:t=>((e,t)=>{const n=g.call(e,0);return n.sort(t),n})(x(D(E.fromDom(t),"*[contenteditable=true]"),(t=>{const n=t.dom;return U(e,n,n)})),((e,t)=>((e,t)=>((e,t,n)=>0!=(e.compareDocumentPosition(t)&n))(e,t,Node.DOCUMENT_POSITION_PRECEDING))(e.elements[0].dom,t.elements[0].dom)?1:-1))},!1)},W=(e,t)=>t.collapsed?[]:H(e,t),V=(e,t)=>{const n=e.createRng();return n.selectNode(t),W(e,n)},Y=(e,t)=>((e,t)=>{if(0===e.length)return[];{let n=t(e[0]);const r=[];let o=[];for(let i=0,a=e.length;i<a;i++){const a=e[i],s=t(a);s!==n&&(r.push(o),o=[]),n=s,o.push(a)}return 0!==o.length&&r.push(o),r}})(((e,t,n)=>(y(e,((e,r)=>{n=t(n,e,r)})),n))(e,((e,n)=>{const r=M(n),o=e.last,i=o+r.length,a=x(t,((e,t)=>e.start<i&&e.finish>o?[{element:n,start:Math.max(o,e.start)-o,finish:Math.min(i,e.finish)-o,matchId:t}]:[]));return{results:e.results.concat(a),last:i}}),{results:[],last:0}).results,(e=>e.matchId)),Z=(e,t)=>x(t,(t=>{const n=t.elements,r=b(n,M).join(""),o=((e,t,n=0,r=e.length)=>{const o=t.regex;o.lastIndex=n;const i=[];let a;for(;a=o.exec(e);){const e=a[t.matchIndex],n=a.index+a[0].indexOf(e),s=n+e.length;if(s>r)break;i.push({start:n,finish:s}),o.lastIndex=s}return i})(r,e,t.sOffset,r.length-t.fOffset);return Y(n,o)})),G=(e,t)=>{A(e,((e,n)=>{A(e,(e=>{const r=E.fromDom(t.cloneNode(!1));k(r,"data-mce-index",n);const o=e.element.dom;if(o.length===e.finish&&0===e.start)T(e.element,r);else{o.length!==e.finish&&o.splitText(e.finish);const t=o.splitText(e.start);T(E.fromDom(t),r)}}))}))},K=(e,t,n,r)=>{const o=n.getBookmark(),i=e.select("td[data-mce-selected],th[data-mce-selected]"),a=i.length>0?((e,t)=>x(t,(t=>V(e,t))))(e,i):W(e,n.getRng()),s=Z(t,a);return G(s,r),n.moveToBookmark(o),s.length},$=e=>e.getAttribute("data-mce-index"),X=(e,t,n,r)=>{const o=e.dom.create("span",{"data-mce-bogus":1});o.className="mce-match-marker";const i=e.getBody();return se(e,t,!1),r?K(e.dom,n,e.selection,o):((e,t,n,r)=>{const o=V(e,n),i=Z(t,o);return G(i,r),i.length})(e.dom,n,i,o)},Q=e=>{var t;const n=e.parentNode;e.firstChild&&n.insertBefore(e.firstChild,e),null===(t=e.parentNode)||void 0===t||t.removeChild(e)},J=(e,t)=>{const n=[],r=m.toArray(e.getBody().getElementsByTagName("span"));if(r.length)for(let e=0;e<r.length;e++){const o=$(r[e]);null!==o&&o.length&&(o===t.toString()&&n.push(r[e]))}return n},ee=(e,t,n)=>{const r=t.get();let o=r.index;const i=e.dom;n?o+1===r.count?o=0:o++:o-1==-1?o=r.count-1:o--,i.removeClass(J(e,r.index),"mce-match-marker-selected");const a=J(e,o);return a.length?(i.addClass(J(e,o),"mce-match-marker-selected"),e.selection.scrollIntoView(a[0]),o):-1},te=(e,t)=>{const n=t.parentNode;e.remove(t),n&&e.isEmpty(n)&&e.remove(n)},ne=(e,t,n,r,o,i)=>{const a=e.selection,s=((e,t)=>{const n="("+e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&").replace(/\s/g,"[^\\S\\r\\n\\uFEFF]")+")";return t?`(?:^|\\s|${p()})`+n+`(?=$|\\s|${p()})`:n})(n,o),l=a.isForward(),c={regex:new RegExp(s,r?"g":"gi"),matchIndex:1},u=X(e,t,c,i);if(h.browser.isSafari()&&a.setRng(a.getRng(),l),u){const a=ee(e,t,!0);t.set({index:a,count:u,text:n,matchCase:r,wholeWord:o,inSelection:i})}return u},re=(e,t)=>{const n=ee(e,t,!0);t.set({...t.get(),index:n})},oe=(e,t)=>{const n=ee(e,t,!1);t.set({...t.get(),index:n})},ie=e=>{const t=$(e);return null!==t&&t.length>0},ae=(e,t,n,r,o)=>{const i=t.get(),a=i.index;let s,l=a;r=!1!==r;const c=e.getBody(),u=m.grep(m.toArray(c.getElementsByTagName("span")),ie);for(let t=0;t<u.length;t++){const c=$(u[t]);let d=s=parseInt(c,10);if(o||d===i.index){for(n.length?(u[t].innerText=n,Q(u[t])):te(e.dom,u[t]);u[++t];){if(d=parseInt($(u[t]),10),d!==s){t--;break}te(e.dom,u[t])}r&&l--}else s>a&&u[t].setAttribute("data-mce-index",String(s-1))}return t.set({...i,count:o?0:i.count-1,index:l}),r?re(e,t):oe(e,t),!o&&t.get().count>0},se=(e,t,n)=>{let r,o;const i=t.get(),a=m.toArray(e.getBody().getElementsByTagName("span"));for(let e=0;e<a.length;e++){const t=$(a[e]);null!==t&&t.length&&(t===i.index.toString()&&(r||(r=a[e].firstChild),o=a[e].firstChild),Q(a[e]))}if(t.set({...i,index:-1,count:0,text:""}),r&&o){const t=e.dom.createRng();return t.setStart(r,0),t.setEnd(o,o.data.length),!1!==n&&e.selection.setRng(t),t}},le=()=>{const t=(t=>{const n=e(f.none()),r=()=>n.get().each(t);return{clear:()=>{r(),n.set(f.none())},isSet:()=>n.get().isSome(),get:()=>n.get(),set:e=>{r(),n.set(f.some(e))}}})(l);return{...t,on:e=>t.get().each(e)}},ce=(e,t)=>{const n=le();e.undoManager.add();const r=m.trim(e.selection.getContent({format:"text"})),o=e=>{e.setEnabled("next",((e,t)=>t.get().count>1)(0,t)),e.setEnabled("prev",((e,t)=>t.get().count>1)(0,t))},i=(e,t)=>{y(["replace","replaceall","prev","next"],(n=>e.setEnabled(n,!t)))},a=(e,t)=>{h.browser.isSafari()&&h.deviceType.isTouch()&&("find"===t||"replace"===t||"replaceall"===t)&&e.focus(t)},s=n=>{se(e,t,!1),i(n,!0),o(n)},l=n=>{const r=n.getData(),a=t.get();if(r.findtext.length){if(a.text===r.findtext&&a.matchCase===r.matchcase&&a.wholeWord===r.wholewords)re(e,t);else{const o=ne(e,t,r.findtext,r.matchcase,r.wholewords,r.inselection);o<=0&&(t=>{e.windowManager.alert("Could not find the specified string.",(()=>{t.focus("findtext")}))})(n),i(n,0===o)}o(n)}else s(n)},c=t.get(),u={title:"Find and Replace",size:"normal",body:{type:"panel",items:[{type:"bar",items:[{type:"input",name:"findtext",placeholder:"Find",maximized:!0,inputMode:"search"},{type:"button",name:"prev",text:"Previous",icon:"action-prev",enabled:!1,borderless:!0},{type:"button",name:"next",text:"Next",icon:"action-next",enabled:!1,borderless:!0}]},{type:"input",name:"replacetext",placeholder:"Replace with",inputMode:"search"}]},buttons:[{type:"menu",name:"options",icon:"preferences",tooltip:"Preferences",align:"start",items:[{type:"togglemenuitem",name:"matchcase",text:"Match case"},{type:"togglemenuitem",name:"wholewords",text:"Find whole words only"},{type:"togglemenuitem",name:"inselection",text:"Find in selection"}]},{type:"custom",name:"find",text:"Find",primary:!0},{type:"custom",name:"replace",text:"Replace",enabled:!1},{type:"custom",name:"replaceall",text:"Replace all",enabled:!1}],initialData:{findtext:r,replacetext:"",wholewords:c.wholeWord,matchcase:c.matchCase,inselection:c.inSelection},onChange:(e,n)=>{"findtext"===n.name&&t.get().count>0&&s(e)},onAction:(n,r)=>{const i=n.getData();switch(r.name){case"find":l(n);break;case"replace":ae(e,t,i.replacetext)?o(n):s(n);break;case"replaceall":ae(e,t,i.replacetext,!0,!0),s(n);break;case"prev":oe(e,t),o(n);break;case"next":re(e,t),o(n);break;case"matchcase":case"wholewords":case"inselection":(e=>{const n=e.getData(),r=t.get();t.set({...r,matchCase:n.matchcase,wholeWord:n.wholewords,inSelection:n.inselection})})(n),s(n)}a(n,r.name)},onSubmit:e=>{l(e),a(e,"find")},onClose:()=>{e.focus(),se(e,t),e.undoManager.add()}};n.set(e.windowManager.open(u,{inline:"toolbar"}))},ue=(e,t)=>()=>{ce(e,t)};t.add("searchreplace",(t=>{const n=e({index:-1,count:0,text:"",matchCase:!1,wholeWord:!1,inSelection:!1});return((e,t)=>{e.addCommand("SearchReplace",(()=>{ce(e,t)}))})(t,n),((e,t)=>{e.ui.registry.addMenuItem("searchreplace",{text:"Find and replace...",shortcut:"Meta+F",onAction:ue(e,t),icon:"search"}),e.ui.registry.addButton("searchreplace",{tooltip:"Find and replace",onAction:ue(e,t),icon:"search"}),e.shortcuts.add("Meta+F","",ue(e,t))})(t,n),((e,t)=>({done:n=>se(e,t,n),find:(n,r,o,i=!1)=>ne(e,t,n,r,o,i),next:()=>re(e,t),prev:()=>oe(e,t),replace:(n,r,o)=>ae(e,t,n,r,o)}))(t,n)}))}()},38619:function(e,t,n){n(42590)},42590:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,n=e=>t=>typeof t===e,r=t("string"),o=t("array"),i=n("boolean"),a=(e=>t=>e===t)(void 0),s=e=>!(e=>null==e)(e),l=n("function"),c=n("number"),u=()=>{},d=e=>()=>e,f=e=>e,p=(e,t)=>e===t;function h(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const m=e=>{e()},g=d(!1),v=d(!0);class b{constructor(e,t){this.tag=e,this.value=t}static some(e){return new b(!0,e)}static none(){return b.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?b.some(e(this.value)):b.none()}bind(e){return this.tag?e(this.value):b.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:b.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return s(e)?b.some(e):b.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}b.singletonNone=new b(!1);const y=Object.keys,A=Object.hasOwnProperty,x=(e,t)=>{const n=y(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}},C=(e,t)=>{const n={};return((e,t,n,r)=>{x(e,((e,o)=>{(t(e,o)?n:r)(e,o)}))})(e,t,(e=>(t,n)=>{e[n]=t})(n),u),n},_=e=>((e,t)=>{const n=[];return x(e,((e,r)=>{n.push(t(e,r))})),n})(e,f),w=e=>y(e).length,k=(e,t)=>S(e,t)?b.from(e[t]):b.none(),S=(e,t)=>A.call(e,t),E=(e,t)=>S(e,t)&&void 0!==e[t]&&null!==e[t],B=Array.prototype.indexOf,O=Array.prototype.push,j=(e,t)=>((e,t)=>B.call(e,t))(e,t)>-1,T=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return!0}return!1},P=(e,t)=>{const n=[];for(let r=0;r<e;r++)n.push(t(r));return n},M=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},D=(e,t)=>{for(let n=0,r=e.length;n<r;n++){t(e[n],n)}},R=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},L=(e,t,n)=>(D(e,((e,r)=>{n=t(n,e,r)})),n),I=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return b.some(o);if(n(o,r))break}return b.none()})(e,t,g),N=(e,t)=>(e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!o(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);O.apply(t,e[n])}return t})(M(e,t)),F=(e,t)=>{for(let n=0,r=e.length;n<r;++n){if(!0!==t(e[n],n))return!1}return!0},z=(e,t)=>t>=0&&t<e.length?b.some(e[t]):b.none(),q=(e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n],n);if(r.isSome())return r}return b.none()},U=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},H={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return U(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return U(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return U(n)},fromDom:U,fromPoint:(e,t,n)=>b.from(e.dom.elementFromPoint(t,n)).map(U)};"undefined"!=typeof window?window:Function("return this;")();const W=e=>e.dom.nodeName.toLowerCase(),V=e=>e.dom.nodeType,Y=e=>t=>V(t)===e,Z=e=>8===V(e)||"#comment"===W(e),G=Y(1),K=Y(3),$=Y(9),X=Y(11),Q=e=>t=>G(t)&&W(t)===e,J=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},ee=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,te=(e,t)=>e.dom===t.dom,ne=J,re=e=>{return $(e)?e:(t=e,H.fromDom(t.dom.ownerDocument));var t},oe=e=>b.from(e.dom.parentNode).map(H.fromDom),ie=(e,t)=>{const n=l(t)?t:g;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=H.fromDom(e);if(o.push(t),!0===n(t))break;r=e}return o},ae=e=>b.from(e.dom.previousSibling).map(H.fromDom),se=e=>b.from(e.dom.nextSibling).map(H.fromDom),le=e=>M(e.dom.childNodes,H.fromDom),ce=e=>((e,t)=>{const n=e.dom.childNodes;return b.from(n[t]).map(H.fromDom)})(e,0),ue=l(Element.prototype.attachShadow)&&l(Node.prototype.getRootNode)?e=>H.fromDom(e.dom.getRootNode()):re,de=e=>{const t=ue(e);return X(n=t)&&s(n.dom.host)?b.some(t):b.none();var n},fe=e=>H.fromDom(e.dom.host),pe=e=>{const t=K(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return de(H.fromDom(t)).fold((()=>n.body.contains(t)),(r=pe,o=fe,e=>r(o(e))));var r,o},he=(e,t)=>{let n=[];return D(le(e),(e=>{t(e)&&(n=n.concat([e])),n=n.concat(he(e,t))})),n},me=(e,t)=>((e,t)=>R(le(e),t))(e,(e=>J(e,t))),ge=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return ee(n)?[]:M(n.querySelectorAll(e),H.fromDom)})(t,e);const ve=(e,t,n)=>{let r=e.dom;const o=l(n)?n:g;for(;r.parentNode;){r=r.parentNode;const e=H.fromDom(r);if(t(e))return b.some(e);if(o(e))break}return b.none()},be=(e,t,n)=>ve(e,(e=>J(e,t)),n),ye=(e,t)=>((e,t)=>I(e.dom.childNodes,(e=>t(H.fromDom(e)))).map(H.fromDom))(e,(e=>J(e,t))),Ae=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return ee(n)?b.none():b.from(n.querySelector(e)).map(H.fromDom)})(t,e),xe=(e,t,n)=>((e,t,n,r,o)=>e(n,r)?b.some(n):l(o)&&o(n)?b.none():t(n,r,o))(((e,t)=>J(e,t)),be,e,t,n),Ce=(e,t,n)=>{if(!(r(n)||i(n)||c(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},_e=(e,t,n)=>{Ce(e.dom,t,n)},we=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},ke=(e,t)=>b.from(we(e,t)),Se=(e,t)=>{e.dom.removeAttribute(t)},Ee=(e,t,n=p)=>e.exists((e=>n(e,t))),Be=(e,t,n)=>e.isSome()&&t.isSome()?b.some(n(e.getOrDie(),t.getOrDie())):b.none(),Oe=(e,t)=>((e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t)(e,t,0),je=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),Te=e=>e.length>0,Pe=(e,t=10)=>{const n=parseInt(e,t);return isNaN(n)?b.none():b.some(n)},Me=e=>void 0!==e.style&&l(e.style.getPropertyValue),De=(e,t,n)=>{((e,t,n)=>{if(!r(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Me(e)&&e.style.setProperty(t,n)})(e.dom,t,n)},Re=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||pe(e)?r:Le(n,t)},Le=(e,t)=>Me(e)?e.style.getPropertyValue(t):"",Ie=(e,t)=>{const n=e.dom,r=Le(n,t);return b.from(r).filter((e=>e.length>0))},Ne=(e,t)=>{((e,t)=>{Me(e)&&e.style.removeProperty(t)})(e.dom,t),Ee(ke(e,"style").map(je),"")&&Se(e,"style")},Fe=(e,t,n=0)=>ke(e,t).map((e=>parseInt(e,10))).getOr(n),ze=(e,t)=>qe(e,t,v),qe=(e,t,n)=>N(le(e),(e=>J(e,t)?n(e)?[e]:[]:qe(e,t,n))),Ue=["tfoot","thead","tbody","colgroup"],He=(e,t,n)=>({element:e,rowspan:t,colspan:n}),We=(e,t,n)=>({element:e,cells:t,section:n}),Ve=(e,t)=>((e,t,n=g)=>n(t)?b.none():j(e,W(t))?b.some(t):be(t,e.join(","),(e=>J(e,"table")||n(e))))(["td","th"],e,t),Ye=(e,t)=>xe(e,"table",t),Ze=e=>ze(e,"tr"),Ge=e=>Ye(e).fold(d([]),(e=>me(e,"colgroup"))),Ke=(e,t)=>M(e,(e=>{if("colgroup"===W(e)){const t=M((e=>J(e,"colgroup")?me(e,"col"):N(Ge(e),(e=>me(e,"col"))))(e),(e=>{const t=Fe(e,"span",1);return He(e,1,t)}));return We(e,t,"colgroup")}{const n=M((e=>ze(e,"th,td"))(e),(e=>{const t=Fe(e,"rowspan",1),n=Fe(e,"colspan",1);return He(e,t,n)}));return We(e,n,t(e))}})),$e=e=>oe(e).map((e=>{const t=W(e);return(e=>j(Ue,e))(t)?t:"tbody"})).getOr("tbody"),Xe=e=>ke(e,"data-snooker-locked-cols").bind((e=>b.from(e.match(/\d+/g)))).map((e=>((e,t)=>{const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r];n[String(o)]=t(o,r)}return n})(e,v))),Qe=(e,t)=>e+","+t,Je=(e,t)=>{const n=N(e.all,(e=>e.cells));return R(n,t)},et=e=>{const t={},n=[];var r;const o=(r=e,z(r,0)).map((e=>e.element)).bind(Ye).bind(Xe).getOr({});let i=0,a=0,s=0;const{pass:l,fail:c}=((e,t)=>{const n=[],r=[];for(let o=0,i=e.length;o<i;o++){const i=e[o];(t(i,o)?n:r).push(i)}return{pass:n,fail:r}})(e,(e=>"colgroup"===e.section));D(c,(e=>{const r=[];D(e.cells,(e=>{let n=0;for(;void 0!==t[Qe(s,n)];)n++;const i=E(o,n.toString()),l=((e,t,n,r,o,i)=>({element:e,rowspan:t,colspan:n,row:r,column:o,isLocked:i}))(e.element,e.rowspan,e.colspan,s,n,i);for(let r=0;r<e.colspan;r++)for(let o=0;o<e.rowspan;o++){const e=n+r,i=Qe(s+o,e);t[i]=l,a=Math.max(a,e+1)}r.push(l)})),i++,n.push(We(e.element,r,e.section)),s++}));const{columns:u,colgroups:d}=(e=>z(e,e.length-1))(l).map((e=>{const t=(e=>{const t={};let n=0;return D(e.cells,(e=>{const r=e.colspan;P(r,(o=>{const i=n+o;t[i]=((e,t,n)=>({element:e,colspan:t,column:n}))(e.element,r,i)})),n+=r})),t})(e),n=((e,t)=>({element:e,columns:t}))(e.element,_(t));return{colgroups:[n],columns:t}})).getOrThunk((()=>({colgroups:[],columns:{}}))),f=((e,t)=>({rows:e,columns:t}))(i,a);return{grid:f,access:t,all:n,columns:u,colgroups:d}},tt=e=>{const t=(e=>{const t=Ze(e),n=[...Ge(e),...t];return Ke(n,$e)})(e);return et(t)},nt=(e,t,n)=>b.from(e.access[Qe(t,n)]),rt=(e,t,n)=>{const r=Je(e,(e=>n(t,e.element)));return r.length>0?b.some(r[0]):b.none()},ot=e=>N(e.all,(e=>e.cells)),it=(e,t)=>b.from(e.columns[t]);var at=tinymce.util.Tools.resolve("tinymce.util.Tools");const st=(e,t,n)=>{const r=e.select("td,th",t);let o;for(let t=0;t<r.length;t++){const i=e.getStyle(r[t],n);if(a(o)&&(o=i),o!==i)return""}return o},lt=(e,t,n)=>{at.each("left center right".split(" "),(r=>{r!==n&&e.formatter.remove("align"+r,{},t)})),n&&e.formatter.apply("align"+n,{},t)},ct=(e,t,n)=>{e.dispatch("TableModified",{...n,table:t})},ut=(e,t)=>(e=>{const t=parseFloat(e);return isNaN(t)?b.none():b.some(t)})(e).getOr(t),dt=(e,t,n)=>ut(Re(e,t),n),ft=(e,t)=>{const n=e.dom,r=n.getBoundingClientRect().width||n.offsetWidth;return"border-box"===t?r:((e,t,n,r)=>t-dt(e,`padding-${n}`,0)-dt(e,`padding-${r}`,0)-dt(e,`border-${n}-width`,0)-dt(e,`border-${r}-width`,0))(e,r,"left","right")},pt=e=>ft(e,"content-box");var ht=tinymce.util.Tools.resolve("tinymce.Env");const mt=P(5,(e=>{const t=`${e+1}px`;return{title:t,value:t}})),gt=M(["Solid","Dotted","Dashed","Double","Groove","Ridge","Inset","Outset","None","Hidden"],(e=>({title:e,value:e.toLowerCase()}))),vt="100%",bt=e=>{var t;const n=e.dom,r=null!==(t=n.getParent(e.selection.getStart(),n.isBlock))&&void 0!==t?t:e.getBody();return pt(H.fromDom(r))+"px"},yt=e=>t=>t.options.get(e),At=yt("table_sizing_mode"),xt=yt("table_border_widths"),Ct=yt("table_border_styles"),_t=yt("table_cell_advtab"),wt=yt("table_row_advtab"),kt=yt("table_advtab"),St=yt("table_appearance_options"),Et=yt("table_grid"),Bt=yt("table_style_by_css"),Ot=yt("table_cell_class_list"),jt=yt("table_row_class_list"),Tt=yt("table_class_list"),Pt=yt("table_toolbar"),Mt=yt("table_background_color_map"),Dt=yt("table_border_color_map"),Rt=e=>"fixed"===At(e),Lt=e=>"responsive"===At(e),It=e=>{const t=e.options,n=t.get("table_default_styles");return t.isSet("table_default_styles")?n:((e,t)=>Lt(e)||!Bt(e)?t:Rt(e)?{...t,width:bt(e)}:{...t,width:vt})(e,n)},Nt=e=>{const t=e.options,n=t.get("table_default_attributes");return t.isSet("table_default_attributes")?n:((e,t)=>Lt(e)||Bt(e)?t:Rt(e)?{...t,width:bt(e)}:{...t,width:vt})(e,n)},Ft=e=>t=>te(t,(e=>H.fromDom(e.getBody()))(e)),zt=e=>/^\d+(\.\d+)?$/.test(e)?e+"px":e,qt=e=>H.fromDom(e.selection.getStart()),Ut=(e,t)=>t.column>=e.startCol&&t.column+t.colspan-1<=e.finishCol&&t.row>=e.startRow&&t.row+t.rowspan-1<=e.finishRow,Ht=(e,t,n)=>{const r=rt(e,t,te),o=rt(e,n,te);return r.bind((e=>o.map((t=>{return n=e,r=t,o=Math.min(n.row,r.row),i=Math.min(n.column,r.column),a=Math.max(n.row+n.rowspan-1,r.row+r.rowspan-1),s=Math.max(n.column+n.colspan-1,r.column+r.colspan-1),{startRow:o,startCol:i,finishRow:a,finishCol:s};var n,r,o,i,a,s}))))},Wt=(e,t,n)=>Ht(e,t,n).bind((t=>((e,t)=>{let n=!0;const r=h(Ut,t);for(let o=t.startRow;o<=t.finishRow;o++)for(let i=t.startCol;i<=t.finishCol;i++)n=n&&nt(e,o,i).exists(r);return n?b.some(t):b.none()})(e,t))),Vt=tt,Yt=(e,t)=>{oe(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},Zt=(e,t)=>{se(e).fold((()=>{oe(e).each((e=>{Kt(e,t)}))}),(e=>{Yt(e,t)}))},Gt=(e,t)=>{ce(e).fold((()=>{Kt(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))},Kt=(e,t)=>{e.dom.appendChild(t.dom)},$t=(e,t)=>{Yt(e,t),Kt(t,e)},Xt=(e,t)=>{D(t,((n,r)=>{const o=0===r?e:t[r-1];Zt(o,n)}))},Qt=(e,t)=>{D(t,(t=>{Kt(e,t)}))},Jt=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},en=e=>{const t=le(e);t.length>0&&Xt(e,t),Jt(e)},tn=((e,t)=>{const n=t=>e(t)?b.from(t.dom.nodeValue):b.none();return{get:r=>{if(!e(r))throw new Error("Can only get "+t+" value of a "+t+" node");return n(r).getOr("")},getOption:n,set:(n,r)=>{if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom.nodeValue=r}}})(K,"text"),nn=e=>tn.get(e),rn=(e,t)=>tn.set(e,t);var on=["body","p","div","article","aside","figcaption","figure","footer","header","nav","section","ol","ul","li","table","thead","tbody","tfoot","caption","tr","td","th","h1","h2","h3","h4","h5","h6","blockquote","pre","address"];const an=(e,t,n,r)=>((e,t,n)=>(((e,t)=>{for(let n=e.length-1;n>=0;n--)t(e[n],n)})(e,((e,r)=>{n=t(n,e,r)})),n))(r,((n,r)=>{const o=t(e,r);return sn(e,n,o)}),t(e,n)),sn=(e,t,n)=>t.bind((t=>n.filter(h(e.eq,t)))),ln=(e,t,n)=>n.length>0?((e,t,n,r)=>r(e,t,n[0],n.slice(1)))(e,t,n,an):b.none(),cn={up:d({selector:be,closest:xe,predicate:ve,all:ie}),down:d({selector:ge,predicate:he}),styles:d({get:Re,getRaw:Ie,set:De,remove:Ne}),attrs:d({get:we,set:_e,remove:Se,copyTo:(e,t)=>{((e,t)=>{const n=e.dom;x(t,((e,t)=>{Ce(n,t,e)}))})(t,L(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}))}}),insert:d({before:Yt,after:Zt,afterAll:Xt,append:Kt,appendAll:Qt,prepend:Gt,wrap:$t}),remove:d({unwrap:en,remove:Jt}),create:d({nu:H.fromTag,clone:e=>H.fromDom(e.dom.cloneNode(!1)),text:H.fromText}),query:d({comparePosition:(e,t)=>e.dom.compareDocumentPosition(t.dom),prevSibling:ae,nextSibling:se}),property:d({children:le,name:W,parent:oe,document:e=>re(e).dom,isText:K,isComment:Z,isElement:G,isSpecial:e=>{const t=W(e);return j(["script","noscript","iframe","noframes","noembed","title","style","textarea","xmp"],t)},getLanguage:e=>G(e)?ke(e,"lang"):b.none(),getText:nn,setText:rn,isBoundary:e=>!!G(e)&&("body"===W(e)||j(on,W(e))),isEmptyTag:e=>!!G(e)&&j(["br","img","hr","input"],W(e)),isNonEditable:e=>G(e)&&"false"===we(e,"contenteditable")}),eq:te,is:ne},un=e=>be(e,"table"),dn=(e,t,n)=>Ae(e,t).bind((t=>Ae(e,n).bind((e=>{return(n=un,r=[t,e],ln(cn,((e,t)=>n(t)),r)).map((n=>({first:t,last:e,table:n})));var n,r})))),fn=(e,t)=>((e,t)=>{const n=ge(e,t);return n.length>0?b.some(n):b.none()})(e,t),pn=(e,t,n)=>dn(e,t,n).bind((t=>{const n=t=>te(e,t),r="thead,tfoot,tbody,table",o=be(t.first,r,n),i=be(t.last,r,n);return o.bind((e=>i.bind((n=>te(e,n)?((e,t,n)=>{const r=Vt(e);return Wt(r,t,n)})(t.table,t.first,t.last):b.none()))))})),hn=e=>M(e,H.fromDom),mn="data-mce-selected",gn="data-mce-first-selected",vn="data-mce-last-selected",bn={selected:mn,selectedSelector:"td[data-mce-selected],th[data-mce-selected]",firstSelected:gn,firstSelectedSelector:"td[data-mce-first-selected],th[data-mce-first-selected]",lastSelected:vn,lastSelectedSelector:"td[data-mce-last-selected],th[data-mce-last-selected]"},yn=e=>(t,n)=>{const r=W(t),o="col"===r||"colgroup"===r?Ye(i=t).bind((e=>fn(e,bn.firstSelectedSelector))).fold(d(i),(e=>e[0])):t;var i;return xe(o,e,n)},An=yn("th,td,caption"),xn=yn("th,td"),Cn=e=>hn(e.model.table.getSelectedCells()),_n=(e,t)=>{const n=xn(e),r=n.bind((e=>Ye(e))).map((e=>Ze(e)));return Be(n,r,((e,n)=>R(n,(n=>T(hn(n.dom.cells),(n=>"1"===we(n,t)||te(n,e))))))).getOr([])},wn=[{text:"None",value:""},{text:"Top",value:"top"},{text:"Middle",value:"middle"},{text:"Bottom",value:"bottom"}],kn=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,Sn=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,En=e=>((e,t)=>Oe(e,t)?((e,t)=>e.substring(t))(e,t.length):e)(e,"#").toUpperCase(),Bn=e=>(e=>kn.test(e)||Sn.test(e))(e)?b.some({value:En(e)}):b.none(),On=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},jn=e=>(e=>({value:e}))(On(e.red)+On(e.green)+On(e.blue)),Tn=/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i,Pn=/^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i,Mn=(e,t,n,r)=>({red:e,green:t,blue:n,alpha:r}),Dn=(e,t,n,r)=>{const o=parseInt(e,10),i=parseInt(t,10),a=parseInt(n,10),s=parseFloat(r);return Mn(o,i,a,s)},Rn=e=>{if("transparent"===e)return b.some(Mn(0,0,0,0));const t=Tn.exec(e);if(null!==t)return b.some(Dn(t[1],t[2],t[3],"1"));const n=Pn.exec(e);return null!==n?b.some(Dn(n[1],n[2],n[3],n[4])):b.none()},Ln=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},In=()=>(e=>{const t=Ln(b.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(b.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(b.some(e))}}})((e=>e.unbind())),Nn=(e,t,n)=>r=>{const o=In(),i=!Te(n);const a=()=>{const a=Cn(e),s=r=>e.formatter.match(t,{value:n},r.dom,i);i?(r.setActive(!T(a,s)),o.set(e.formatter.formatChanged(t,(e=>r.setActive(!e)),!0))):(r.setActive(F(a,s)),o.set(e.formatter.formatChanged(t,r.setActive,!1,{value:n})))};return e.initialized?a():e.on("init",a),o.clear},Fn=e=>E(e,"menu"),zn=e=>M(e,(e=>{const t=e.text||e.title||"";return Fn(e)?{text:t,items:zn(e.menu)}:{text:t,value:e.value}})),qn=(e,t,n,r)=>M(t,(t=>{const o=t.text||t.title;return Fn(t)?{type:"nestedmenuitem",text:o,getSubmenuItems:()=>qn(e,t.menu,n,r)}:{text:o,type:"togglemenuitem",onAction:()=>r(t.value),onSetup:Nn(e,n,t.value)}})),Un=(e,t)=>n=>{e.execCommand("mceTableApplyCellStyle",!1,{[t]:n})},Hn=e=>N(e,(e=>Fn(e)?[{...e,menu:Hn(e.menu)}]:Te(e.value)?[e]:[])),Wn=(e,t,n,r)=>o=>o(qn(e,t,n,r)),Vn=(e,t,n)=>{const r=M(t,(e=>{return{text:e.title,value:"#"+(t=e.value,Bn(t).orThunk((()=>Rn(t).map(jn))).getOrThunk((()=>{const e=document.createElement("canvas");e.height=1,e.width=1;const n=e.getContext("2d");n.clearRect(0,0,e.width,e.height),n.fillStyle="#FFFFFF",n.fillStyle=t,n.fillRect(0,0,1,1);const r=n.getImageData(0,0,1,1).data,o=r[0],i=r[1],a=r[2],s=r[3];return jn(Mn(o,i,a,s))}))).value,type:"choiceitem"};var t}));return[{type:"fancymenuitem",fancytype:"colorswatch",initData:{colors:r.length>0?r:void 0,allowCustomColors:!1},onAction:t=>{const r="remove"===t.value?"":t.value;e.execCommand("mceTableApplyCellStyle",!1,{[n]:r})}}]},Yn=e=>()=>{const t="header"===e.queryCommandValue("mceTableRowType")?"body":"header";e.execCommand("mceTableRowType",!1,{type:t})},Zn=e=>()=>{const t="th"===e.queryCommandValue("mceTableColType")?"td":"th";e.execCommand("mceTableColType",!1,{type:t})},Gn=[{name:"width",type:"input",label:"Width"},{name:"height",type:"input",label:"Height"},{name:"celltype",type:"listbox",label:"Cell type",items:[{text:"Cell",value:"td"},{text:"Header cell",value:"th"}]},{name:"scope",type:"listbox",label:"Scope",items:[{text:"None",value:""},{text:"Row",value:"row"},{text:"Column",value:"col"},{text:"Row group",value:"rowgroup"},{text:"Column group",value:"colgroup"}]},{name:"halign",type:"listbox",label:"Horizontal align",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{name:"valign",type:"listbox",label:"Vertical align",items:wn}],Kn=e=>Gn.concat((e=>{const t=zn(Ot(e));return t.length>0?b.some({name:"class",type:"listbox",label:"Class",items:t}):b.none()})(e).toArray()),$n=(e,t)=>{const n=[{name:"borderstyle",type:"listbox",label:"Border style",items:[{text:"Select...",value:""}].concat(zn(Ct(e)))},{name:"bordercolor",type:"colorinput",label:"Border color"},{name:"backgroundcolor",type:"colorinput",label:"Background color"}];return{title:"Advanced",name:"advanced",items:"cell"===t?[{name:"borderwidth",type:"input",label:"Border width"}].concat(n):n}},Xn=(e,t)=>{const n=e.dom;return{setAttrib:(e,r)=>{n.setAttrib(t,e,r)},setStyle:(e,r)=>{n.setStyle(t,e,r)},setFormat:(n,r)=>{""===r?e.formatter.remove(n,{value:null},t,!0):e.formatter.apply(n,{value:r},t)}}},Qn=Q("th"),Jn=(e,t)=>e&&t?"sectionCells":e?"section":"cells",er=e=>{const t=R(e,(e=>Qn(e.element)));return 0===t.length?b.some("td"):t.length===e.length?b.some("th"):b.none()},tr=e=>{const t=M(e,(e=>(e=>{const t="thead"===e.section,n=Ee(er(e.cells),"th");return"tfoot"===e.section?{type:"footer"}:t||n?{type:"header",subType:Jn(t,n)}:{type:"body"}})(e).type)),n=j(t,"header"),r=j(t,"footer");if(n||r){const e=j(t,"body");return!n||e||r?n||e||!r?b.none():b.some("footer"):b.some("header")}return b.some("body")},nr=(e,t)=>q(e.all,(e=>I(e.cells,(e=>te(t,e.element))))),rr=(e,t,n)=>{const r=(e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t<e.length;t++)e[t].each(n);return t})(M(t.selection,(t=>Ve(t).bind((t=>nr(e,t))).filter(n))));return((e,t)=>e?b.some(t):b.none())(r.length>0,r)},or=(e,t)=>rr(e,t,v),ir=(e,t)=>F(t,(t=>((e,t)=>nr(e,t).exists((e=>!e.isLocked)))(e,t))),ar=(e,t)=>((e,t)=>t.mergable)(0,t).filter((t=>ir(e,t.cells))),sr=(e,t)=>((e,t)=>t.unmergable)(0,t).filter((t=>ir(e,t))),lr=e=>{if(!o(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],n={};return D(e,((r,i)=>{const a=y(r);if(1!==a.length)throw new Error("one and only one name per case");const s=a[0],l=r[s];if(void 0!==n[s])throw new Error("duplicate key detected:"+s);if("cata"===s)throw new Error("cannot have a case named cata (sorry)");if(!o(l))throw new Error("case arguments must be an array");t.push(s),n[s]=(...n)=>{const r=n.length;if(r!==l.length)throw new Error("Wrong number of arguments to case "+s+". Expected "+l.length+" ("+l+"), got "+r);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[i].apply(null,n)},match:e=>{const r=y(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!F(t,(e=>j(r,e))))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[s].apply(null,n)},log:e=>{console.log(e,{constructors:t,constructor:s,params:n})}}}})),n},cr=(lr([{none:[]},{only:["index"]},{left:["index","next"]},{middle:["prev","index","next"]},{right:["prev","index"]}]),(e,t)=>{const n=tt(e);return or(n,t).bind((e=>{const t=e[e.length-1],r=e[0].row,o=t.row+t.rowspan,i=n.all.slice(r,o);return tr(i)})).getOr("")}),ur=e=>{return Oe(e,"rgb")?Rn(t=e).map(jn).map((e=>"#"+e.value)).getOr(t):e;var t},dr=e=>{const t=H.fromDom(e);return{borderwidth:Ie(t,"border-width").getOr(""),borderstyle:Ie(t,"border-style").getOr(""),bordercolor:Ie(t,"border-color").map(ur).getOr(""),backgroundcolor:Ie(t,"background-color").map(ur).getOr("")}},fr=e=>{const t=e[0],n=e.slice(1);return D(n,(e=>{D(y(t),(n=>{x(e,((e,r)=>{const o=t[n];""!==o&&n===r&&o!==e&&(t[n]="")}))}))})),t},pr=(e,t,n,r)=>I(e,(e=>!a(n.formatter.matchNode(r,t+e)))).getOr(""),hr=h(pr,["left","center","right"],"align"),mr=h(pr,["top","middle","bottom"],"valign"),gr=e=>Ye(H.fromDom(e)).map((t=>{const n={selection:hn(e.cells)};return cr(t,n)})).getOr(""),vr=(e,t)=>{const n=tt(e),r=ot(n),o=R(r,(e=>T(t,(t=>te(e.element,t)))));return M(o,(e=>({element:e.element.dom,column:it(n,e.column).map((e=>e.element.dom))})))},br=(e,t,n,r)=>{const o=1===t.length;D(t,(t=>{const i=t.element,a=o?v:r,s=Xn(e,i);((e,t,n,r)=>{r("scope")&&e.setAttrib("scope",n.scope),r("class")&&e.setAttrib("class",n.class),r("height")&&e.setStyle("height",zt(n.height)),r("width")&&t.setStyle("width",zt(n.width))})(s,t.column.map((t=>Xn(e,t))).getOr(s),n,a),_t(e)&&((e,t,n)=>{n("backgroundcolor")&&e.setFormat("tablecellbackgroundcolor",t.backgroundcolor),n("bordercolor")&&e.setFormat("tablecellbordercolor",t.bordercolor),n("borderstyle")&&e.setFormat("tablecellborderstyle",t.borderstyle),n("borderwidth")&&e.setFormat("tablecellborderwidth",zt(t.borderwidth))})(s,n,a),r("halign")&&lt(e,i,n.halign),r("valign")&&((e,t,n)=>{at.each("top middle bottom".split(" "),(r=>{r!==n&&e.formatter.remove("valign"+r,{},t)})),n&&e.formatter.apply("valign"+n,{},t)})(e,i,n.valign)}))},yr=(e,t,n,r)=>{const o=r.getData();r.close(),e.undoManager.transact((()=>{((e,t,n,r)=>{const o=C(r,((e,t)=>n[t]!==e));w(o)>0&&t.length>=1&&Ye(t[0]).each((n=>{const i=vr(n,t),a=w(C(o,((e,t)=>"scope"!==t&&"celltype"!==t)))>0,s=S(o,"celltype");(a||S(o,"scope"))&&br(e,i,r,h(S,o)),s&&((e,t)=>{e.execCommand("mceTableCellType",!1,{type:t.celltype,no_events:!0})})(e,r),ct(e,n.dom,{structure:s,style:a})}))})(e,t,n,o),e.focus()}))},Ar=(e,t)=>{const n=Ye(t[0]).map((n=>M(vr(n,t),(t=>((e,t,n,r)=>{const o=e.dom,i=(e,t)=>o.getStyle(e,t)||o.getAttrib(e,t);return{width:i(r.getOr(t),"width"),height:i(t,"height"),scope:o.getAttrib(t,"scope"),celltype:(a=t,a.nodeName.toLowerCase()),class:o.getAttrib(t,"class",""),halign:hr(e,t),valign:mr(e,t),...n?dr(t):{}};var a})(e,t.element,_t(e),t.column)))));return fr(n.getOrDie())},xr=e=>{const t=Cn(e);if(0===t.length)return;const n=Ar(e,t),r={type:"tabpanel",tabs:[{title:"General",name:"general",items:Kn(e)},$n(e,"cell")]},o={type:"panel",items:[{type:"grid",columns:2,items:Kn(e)}]};e.windowManager.open({title:"Cell Properties",size:"normal",body:_t(e)?r:o,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:n,onSubmit:h(yr,e,t,n)})},Cr=[{type:"listbox",name:"type",label:"Row type",items:[{text:"Header",value:"header"},{text:"Body",value:"body"},{text:"Footer",value:"footer"}]},{type:"listbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]},{label:"Height",name:"height",type:"input"}],_r=e=>Cr.concat((e=>{const t=zn(jt(e));return t.length>0?b.some({name:"class",type:"listbox",label:"Class",items:t}):b.none()})(e).toArray()),wr=(e,t,n,r)=>{const o=1===t.length?v:r;D(t,(t=>{const i=Xn(e,t);((e,t,n)=>{n("class")&&e.setAttrib("class",t.class),n("height")&&e.setStyle("height",zt(t.height))})(i,n,o),wt(e)&&((e,t,n)=>{n("backgroundcolor")&&e.setStyle("background-color",t.backgroundcolor),n("bordercolor")&&e.setStyle("border-color",t.bordercolor),n("borderstyle")&&e.setStyle("border-style",t.borderstyle)})(i,n,o),r("align")&&lt(e,t,n.align)}))},kr=(e,t,n,r)=>{const o=r.getData();r.close(),e.undoManager.transact((()=>{((e,t,n,r)=>{const o=C(r,((e,t)=>n[t]!==e));if(w(o)>0){const n=S(o,"type"),i=!n||w(o)>1;i&&wr(e,t,r,h(S,o)),n&&((e,t)=>{e.execCommand("mceTableRowType",!1,{type:t.type,no_events:!0})})(e,r),Ye(H.fromDom(t[0])).each((t=>ct(e,t.dom,{structure:n,style:i})))}})(e,t,n,o),e.focus()}))},Sr=e=>{const t=_n(qt(e),bn.selected);if(0===t.length)return;const n=M(t,(t=>((e,t,n)=>{const r=e.dom;return{height:r.getStyle(t,"height")||r.getAttrib(t,"height"),class:r.getAttrib(t,"class",""),type:gr(t),align:hr(e,t),...n?dr(t):{}}})(e,t.dom,wt(e)))),r=fr(n),o={type:"tabpanel",tabs:[{title:"General",name:"general",items:_r(e)},$n(e,"row")]},i={type:"panel",items:[{type:"grid",columns:2,items:_r(e)}]};e.windowManager.open({title:"Row Properties",size:"normal",body:wt(e)?o:i,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:r,onSubmit:h(kr,e,M(t,(e=>e.dom)),r)})},Er=(e,t,n)=>{const r=n?[{type:"input",name:"cols",label:"Cols",inputMode:"numeric"},{type:"input",name:"rows",label:"Rows",inputMode:"numeric"}]:[],o=St(e)?[{type:"input",name:"cellspacing",label:"Cell spacing",inputMode:"numeric"},{type:"input",name:"cellpadding",label:"Cell padding",inputMode:"numeric"},{type:"input",name:"border",label:"Border width"},{type:"label",label:"Caption",items:[{type:"checkbox",name:"caption",label:"Show caption"}]}]:[],i=t.length>0?[{type:"listbox",name:"class",label:"Class",items:t}]:[];return r.concat([{type:"input",name:"width",label:"Width"},{type:"input",name:"height",label:"Height"}]).concat(o).concat([{type:"listbox",name:"align",label:"Alignment",items:[{text:"None",value:""},{text:"Left",value:"left"},{text:"Center",value:"center"},{text:"Right",value:"right"}]}]).concat(i)},Br=(e,t,n,o)=>{if("TD"===t.tagName||"TH"===t.tagName)r(n)&&s(o)?e.setStyle(t,n,o):e.setStyles(t,n);else if(t.children)for(let r=0;r<t.children.length;r++)Br(e,t.children[r],n,o)},Or=(e,t,n,r)=>{const o=e.dom,i=r.getData(),s=C(i,((e,t)=>n[t]!==e));r.close(),""===i.class&&delete i.class,e.undoManager.transact((()=>{if(!t){const n=Pe(i.cols).getOr(1),r=Pe(i.rows).getOr(1);e.execCommand("mceInsertTable",!1,{rows:r,columns:n}),t=xn(qt(e),Ft(e)).bind((t=>Ye(t,Ft(e)))).map((e=>e.dom)).getOrDie()}if(w(s)>0){((e,t,n)=>{const r=e.dom,o={},i={};if(a(n.class)||(o.class=n.class),i.height=zt(n.height),Bt(e)?i.width=zt(n.width):r.getAttrib(t,"width")&&(o.width=(e=>e?e.replace(/px$/,""):"")(n.width)),Bt(e)?(i["border-width"]=zt(n.border),i["border-spacing"]=zt(n.cellspacing)):(o.border=n.border,o.cellpadding=n.cellpadding,o.cellspacing=n.cellspacing),Bt(e)&&t.children)for(let o=0;o<t.children.length;o++)Br(r,t.children[o],{"border-width":zt(n.border),padding:zt(n.cellpadding)}),kt(e)&&Br(r,t.children[o],{"border-color":n.bordercolor});if(kt(e)){const e=n;i["background-color"]=e.backgroundcolor,i["border-color"]=e.bordercolor,i["border-style"]=e.borderstyle}o.style=r.serializeStyle({...It(e),...i}),r.setAttribs(t,{...Nt(e),...o})})(e,t,i);const n=o.select("caption",t)[0];(n&&!i.caption||!n&&i.caption)&&e.execCommand("mceTableToggleCaption"),lt(e,t,i.align)}if(e.focus(),e.addVisual(),w(s)>0){const n=S(s,"caption"),r=!n||w(s)>1;ct(e,t,{structure:n,style:r})}}))},jr=(e,t)=>{const n=e.dom;let r,o=((e,t)=>{const n=It(e),r=Nt(e),o=t?{borderstyle:k(n,"border-style").getOr(""),bordercolor:ur(k(n,"border-color").getOr("")),backgroundcolor:ur(k(n,"background-color").getOr(""))}:{};return{height:"",width:"100%",cellspacing:"",cellpadding:"",caption:!1,class:"",align:"",border:"",...n,...r,...o,...(()=>{const t=n["border-width"];return Bt(e)&&t?{border:t}:k(r,"border").fold((()=>({})),(e=>({border:e})))})(),...{...k(n,"border-spacing").or(k(r,"cellspacing")).fold((()=>({})),(e=>({cellspacing:e}))),...k(n,"border-padding").or(k(r,"cellpadding")).fold((()=>({})),(e=>({cellpadding:e})))}}})(e,kt(e));t?(o.cols="1",o.rows="1",kt(e)&&(o.borderstyle="",o.bordercolor="",o.backgroundcolor="")):(r=n.getParent(e.selection.getStart(),"table",e.getBody()),r?o=((e,t,n)=>{const r=e.dom,o=Bt(e)?r.getStyle(t,"border-spacing")||r.getAttrib(t,"cellspacing"):r.getAttrib(t,"cellspacing")||r.getStyle(t,"border-spacing"),i=Bt(e)?st(r,t,"padding")||r.getAttrib(t,"cellpadding"):r.getAttrib(t,"cellpadding")||st(r,t,"padding");return{width:r.getStyle(t,"width")||r.getAttrib(t,"width"),height:r.getStyle(t,"height")||r.getAttrib(t,"height"),cellspacing:null!=o?o:"",cellpadding:null!=i?i:"",border:((t,n)=>{const r=Ie(H.fromDom(n),"border-width");return Bt(e)&&r.isSome()?r.getOr(""):t.getAttrib(n,"border")||st(e.dom,n,"border-width")||st(e.dom,n,"border")||""})(r,t),caption:!!r.select("caption",t)[0],class:r.getAttrib(t,"class",""),align:hr(e,t),...n?dr(t):{}}})(e,r,kt(e)):kt(e)&&(o.borderstyle="",o.bordercolor="",o.backgroundcolor=""));const i=zn(Tt(e));i.length>0&&o.class&&(o.class=o.class.replace(/\s*mce\-item\-table\s*/g,""));const a={type:"grid",columns:2,items:Er(e,i,t)},s=kt(e)?{type:"tabpanel",tabs:[{title:"General",name:"general",items:[a]},$n(e,"table")]}:{type:"panel",items:[a]};e.windowManager.open({title:"Table Properties",size:"normal",body:s,onSubmit:h(Or,e,r,o),buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o})},Tr=f,Pr=e=>{const t=(e,t)=>ke(e,t).exists((e=>parseInt(e,10)>1));return e.length>0&&F(e,(e=>t(e,"rowspan")||t(e,"colspan")))?b.some(e):b.none()},Mr=(e,t,n)=>t.length<=1?b.none():pn(e,n.firstSelectedSelector,n.lastSelectedSelector).map((e=>({bounds:e,cells:t}))),Dr=e=>{const t=Ln(b.none()),n=Ln([]);let r=b.none();const o=Q("caption"),i=e=>r.forall((t=>!t[e])),a=()=>An((e=>H.fromDom(e.selection.getEnd()))(e),Ft(e)),s=()=>An(qt(e),Ft(e)).bind((t=>{return n=Be(Ye(t),a().bind(Ye),((n,r)=>te(n,r)?o(t)?b.some((e=>({element:e,mergable:b.none(),unmergable:b.none(),selection:[e]}))(t)):b.some(((e,t,n)=>({element:n,mergable:Mr(t,e,bn),unmergable:Pr(e),selection:Tr(e)}))(Cn(e),n,t)):b.none())),n.bind(f);var n})),l=e=>Ye(e.element).map((t=>{const n=tt(t),r=or(n,e).getOr([]),o=L(r,((e,t)=>(t.isLocked&&(e.onAny=!0,0===t.column?e.onFirst=!0:t.column+t.colspan>=n.grid.columns&&(e.onLast=!0)),e)),{onAny:!1,onFirst:!1,onLast:!1});return{mergeable:ar(n,e).isSome(),unmergeable:sr(n,e).isSome(),locked:o}})),c=()=>{t.set((e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)})(s)()),r=t.get().bind(l),D(n.get(),m)},u=e=>(e(),n.set(n.get().concat([e])),()=>{n.set(R(n.get(),(t=>t!==e)))}),d=(e,n)=>u((()=>t.get().fold((()=>{e.setEnabled(!1)}),(t=>{e.setEnabled(!n(t))})))),p=(e,n,r)=>u((()=>t.get().fold((()=>{e.setEnabled(!1),e.setActive(!1)}),(t=>{e.setEnabled(!n(t)),e.setActive(r(t))})))),h=e=>r.exists((t=>t.locked[e])),v=(t,n)=>r=>p(r,(e=>o(e.element)),(()=>e.queryCommandValue(t)===n)),y=v("mceTableRowType","header"),A=v("mceTableColType","th");return e.on("NodeChange ExecCommand TableSelectorChange",c),{onSetupTable:e=>d(e,(e=>!1)),onSetupCellOrRow:e=>d(e,(e=>o(e.element))),onSetupColumn:e=>t=>d(t,(t=>o(t.element)||h(e))),onSetupPasteable:e=>t=>d(t,(t=>o(t.element)||e().isNone())),onSetupPasteableColumn:(e,t)=>n=>d(n,(n=>o(n.element)||e().isNone()||h(t))),onSetupMergeable:e=>d(e,(e=>i("mergeable"))),onSetupUnmergeable:e=>d(e,(e=>i("unmergeable"))),resetTargets:c,onSetupTableWithCaption:t=>p(t,g,(t=>Ye(t.element,Ft(e)).exists((e=>ye(e,"caption").isSome())))),onSetupTableRowHeaders:y,onSetupTableColumnHeaders:A,targets:t.get}};var Rr=tinymce.util.Tools.resolve("tinymce.FakeClipboard");const Lr=e=>{var t;const n=null!==(t=Rr.read())&&void 0!==t?t:[];return q(n,(t=>b.from(t.getType(e))))},Ir=()=>Lr("x-tinymce/dom-table-rows"),Nr=()=>Lr("x-tinymce/dom-table-columns"),Fr=e=>{const t=Dr(e);(e=>{const t=e.options.register;t("table_border_widths",{processor:"object[]",default:mt}),t("table_border_styles",{processor:"object[]",default:gt}),t("table_cell_advtab",{processor:"boolean",default:!0}),t("table_row_advtab",{processor:"boolean",default:!0}),t("table_advtab",{processor:"boolean",default:!0}),t("table_appearance_options",{processor:"boolean",default:!0}),t("table_grid",{processor:"boolean",default:!ht.deviceType.isTouch()}),t("table_cell_class_list",{processor:"object[]",default:[]}),t("table_row_class_list",{processor:"object[]",default:[]}),t("table_class_list",{processor:"object[]",default:[]}),t("table_toolbar",{processor:"string",default:"tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol"}),t("table_background_color_map",{processor:"object[]",default:[]}),t("table_border_color_map",{processor:"object[]",default:[]})})(e),(e=>{x({mceTableProps:h(jr,e,!1),mceTableRowProps:h(Sr,e),mceTableCellProps:h(xr,e)},((t,n)=>e.addCommand(n,(()=>t())))),e.addCommand("mceInsertTableDialog",(t=>{jr(e,!0)}))})(e),((e,t)=>{const n=t=>()=>e.execCommand(t),r=(t,r)=>!!e.queryCommandSupported(r.command)&&(e.ui.registry.addMenuItem(t,{...r,onAction:l(r.onAction)?r.onAction:n(r.command)}),!0),o=(t,r)=>{e.queryCommandSupported(r.command)&&e.ui.registry.addToggleMenuItem(t,{...r,onAction:l(r.onAction)?r.onAction:n(r.command)})},i=t=>{e.execCommand("mceInsertTable",!1,{rows:t.numRows,columns:t.numColumns})},a=[r("tableinsertrowbefore",{text:"Insert row before",icon:"table-insert-row-above",command:"mceTableInsertRowBefore",onSetup:t.onSetupCellOrRow}),r("tableinsertrowafter",{text:"Insert row after",icon:"table-insert-row-after",command:"mceTableInsertRowAfter",onSetup:t.onSetupCellOrRow}),r("tabledeleterow",{text:"Delete row",icon:"table-delete-row",command:"mceTableDeleteRow",onSetup:t.onSetupCellOrRow}),r("tablerowprops",{text:"Row properties",icon:"table-row-properties",command:"mceTableRowProps",onSetup:t.onSetupCellOrRow}),r("tablecutrow",{text:"Cut row",icon:"cut-row",command:"mceTableCutRow",onSetup:t.onSetupCellOrRow}),r("tablecopyrow",{text:"Copy row",icon:"duplicate-row",command:"mceTableCopyRow",onSetup:t.onSetupCellOrRow}),r("tablepasterowbefore",{text:"Paste row before",icon:"paste-row-before",command:"mceTablePasteRowBefore",onSetup:t.onSetupPasteable(Ir)}),r("tablepasterowafter",{text:"Paste row after",icon:"paste-row-after",command:"mceTablePasteRowAfter",onSetup:t.onSetupPasteable(Ir)})],s=[r("tableinsertcolumnbefore",{text:"Insert column before",icon:"table-insert-column-before",command:"mceTableInsertColBefore",onSetup:t.onSetupColumn("onFirst")}),r("tableinsertcolumnafter",{text:"Insert column after",icon:"table-insert-column-after",command:"mceTableInsertColAfter",onSetup:t.onSetupColumn("onLast")}),r("tabledeletecolumn",{text:"Delete column",icon:"table-delete-column",command:"mceTableDeleteCol",onSetup:t.onSetupColumn("onAny")}),r("tablecutcolumn",{text:"Cut column",icon:"cut-column",command:"mceTableCutCol",onSetup:t.onSetupColumn("onAny")}),r("tablecopycolumn",{text:"Copy column",icon:"duplicate-column",command:"mceTableCopyCol",onSetup:t.onSetupColumn("onAny")}),r("tablepastecolumnbefore",{text:"Paste column before",icon:"paste-column-before",command:"mceTablePasteColBefore",onSetup:t.onSetupPasteableColumn(Nr,"onFirst")}),r("tablepastecolumnafter",{text:"Paste column after",icon:"paste-column-after",command:"mceTablePasteColAfter",onSetup:t.onSetupPasteableColumn(Nr,"onLast")})],c=[r("tablecellprops",{text:"Cell properties",icon:"table-cell-properties",command:"mceTableCellProps",onSetup:t.onSetupCellOrRow}),r("tablemergecells",{text:"Merge cells",icon:"table-merge-cells",command:"mceTableMergeCells",onSetup:t.onSetupMergeable}),r("tablesplitcells",{text:"Split cell",icon:"table-split-cells",command:"mceTableSplitCells",onSetup:t.onSetupUnmergeable})];Et(e)?e.ui.registry.addNestedMenuItem("inserttable",{text:"Table",icon:"table",getSubmenuItems:()=>[{type:"fancymenuitem",fancytype:"inserttable",onAction:i}]}):e.ui.registry.addMenuItem("inserttable",{text:"Table",icon:"table",onAction:n("mceInsertTableDialog")}),e.ui.registry.addMenuItem("inserttabledialog",{text:"Insert table",icon:"table",onAction:n("mceInsertTableDialog")}),r("tableprops",{text:"Table properties",onSetup:t.onSetupTable,command:"mceTableProps"}),r("deletetable",{text:"Delete table",icon:"table-delete-table",onSetup:t.onSetupTable,command:"mceTableDelete"}),j(a,!0)&&e.ui.registry.addNestedMenuItem("row",{type:"nestedmenuitem",text:"Row",getSubmenuItems:d("tableinsertrowbefore tableinsertrowafter tabledeleterow tablerowprops | tablecutrow tablecopyrow tablepasterowbefore tablepasterowafter")}),j(s,!0)&&e.ui.registry.addNestedMenuItem("column",{type:"nestedmenuitem",text:"Column",getSubmenuItems:d("tableinsertcolumnbefore tableinsertcolumnafter tabledeletecolumn | tablecutcolumn tablecopycolumn tablepastecolumnbefore tablepastecolumnafter")}),j(c,!0)&&e.ui.registry.addNestedMenuItem("cell",{type:"nestedmenuitem",text:"Cell",getSubmenuItems:d("tablecellprops tablemergecells tablesplitcells")}),e.ui.registry.addContextMenu("table",{update:()=>(t.resetTargets(),t.targets().fold(d(""),(e=>"caption"===W(e.element)?"tableprops deletetable":"cell row column | advtablesort | tableprops deletetable")))});const u=Hn(Tt(e));0!==u.length&&e.queryCommandSupported("mceTableToggleClass")&&e.ui.registry.addNestedMenuItem("tableclass",{icon:"table-classes",text:"Table styles",getSubmenuItems:()=>qn(e,u,"tableclass",(t=>e.execCommand("mceTableToggleClass",!1,t))),onSetup:t.onSetupTable});const f=Hn(Ot(e));0!==f.length&&e.queryCommandSupported("mceTableCellToggleClass")&&e.ui.registry.addNestedMenuItem("tablecellclass",{icon:"table-cell-classes",text:"Cell styles",getSubmenuItems:()=>qn(e,f,"tablecellclass",(t=>e.execCommand("mceTableCellToggleClass",!1,t))),onSetup:t.onSetupCellOrRow}),e.queryCommandSupported("mceTableApplyCellStyle")&&(e.ui.registry.addNestedMenuItem("tablecellvalign",{icon:"vertical-align",text:"Vertical align",getSubmenuItems:()=>qn(e,wn,"tablecellverticalalign",Un(e,"vertical-align")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellborderwidth",{icon:"border-width",text:"Border width",getSubmenuItems:()=>qn(e,xt(e),"tablecellborderwidth",Un(e,"border-width")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellborderstyle",{icon:"border-style",text:"Border style",getSubmenuItems:()=>qn(e,Ct(e),"tablecellborderstyle",Un(e,"border-style")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellbackgroundcolor",{icon:"cell-background-color",text:"Background color",getSubmenuItems:()=>Vn(e,Mt(e),"background-color"),onSetup:t.onSetupCellOrRow}),e.ui.registry.addNestedMenuItem("tablecellbordercolor",{icon:"cell-border-color",text:"Border color",getSubmenuItems:()=>Vn(e,Dt(e),"border-color"),onSetup:t.onSetupCellOrRow})),o("tablecaption",{icon:"table-caption",text:"Table caption",command:"mceTableToggleCaption",onSetup:t.onSetupTableWithCaption}),o("tablerowheader",{text:"Row header",icon:"table-top-header",command:"mceTableRowType",onAction:Yn(e),onSetup:t.onSetupTableRowHeaders}),o("tablecolheader",{text:"Column header",icon:"table-left-header",command:"mceTableColType",onAction:Zn(e),onSetup:t.onSetupTableRowHeaders})})(e,t),((e,t)=>{e.ui.registry.addMenuButton("table",{tooltip:"Table",icon:"table",fetch:e=>e("inserttable | cell row column | advtablesort | tableprops deletetable")});const n=t=>()=>e.execCommand(t),r=(t,r)=>{e.queryCommandSupported(r.command)&&e.ui.registry.addButton(t,{...r,onAction:l(r.onAction)?r.onAction:n(r.command)})},o=(t,r)=>{e.queryCommandSupported(r.command)&&e.ui.registry.addToggleButton(t,{...r,onAction:l(r.onAction)?r.onAction:n(r.command)})};r("tableprops",{tooltip:"Table properties",command:"mceTableProps",icon:"table",onSetup:t.onSetupTable}),r("tabledelete",{tooltip:"Delete table",command:"mceTableDelete",icon:"table-delete-table",onSetup:t.onSetupTable}),r("tablecellprops",{tooltip:"Cell properties",command:"mceTableCellProps",icon:"table-cell-properties",onSetup:t.onSetupCellOrRow}),r("tablemergecells",{tooltip:"Merge cells",command:"mceTableMergeCells",icon:"table-merge-cells",onSetup:t.onSetupMergeable}),r("tablesplitcells",{tooltip:"Split cell",command:"mceTableSplitCells",icon:"table-split-cells",onSetup:t.onSetupUnmergeable}),r("tableinsertrowbefore",{tooltip:"Insert row before",command:"mceTableInsertRowBefore",icon:"table-insert-row-above",onSetup:t.onSetupCellOrRow}),r("tableinsertrowafter",{tooltip:"Insert row after",command:"mceTableInsertRowAfter",icon:"table-insert-row-after",onSetup:t.onSetupCellOrRow}),r("tabledeleterow",{tooltip:"Delete row",command:"mceTableDeleteRow",icon:"table-delete-row",onSetup:t.onSetupCellOrRow}),r("tablerowprops",{tooltip:"Row properties",command:"mceTableRowProps",icon:"table-row-properties",onSetup:t.onSetupCellOrRow}),r("tableinsertcolbefore",{tooltip:"Insert column before",command:"mceTableInsertColBefore",icon:"table-insert-column-before",onSetup:t.onSetupColumn("onFirst")}),r("tableinsertcolafter",{tooltip:"Insert column after",command:"mceTableInsertColAfter",icon:"table-insert-column-after",onSetup:t.onSetupColumn("onLast")}),r("tabledeletecol",{tooltip:"Delete column",command:"mceTableDeleteCol",icon:"table-delete-column",onSetup:t.onSetupColumn("onAny")}),r("tablecutrow",{tooltip:"Cut row",command:"mceTableCutRow",icon:"cut-row",onSetup:t.onSetupCellOrRow}),r("tablecopyrow",{tooltip:"Copy row",command:"mceTableCopyRow",icon:"duplicate-row",onSetup:t.onSetupCellOrRow}),r("tablepasterowbefore",{tooltip:"Paste row before",command:"mceTablePasteRowBefore",icon:"paste-row-before",onSetup:t.onSetupPasteable(Ir)}),r("tablepasterowafter",{tooltip:"Paste row after",command:"mceTablePasteRowAfter",icon:"paste-row-after",onSetup:t.onSetupPasteable(Ir)}),r("tablecutcol",{tooltip:"Cut column",command:"mceTableCutCol",icon:"cut-column",onSetup:t.onSetupColumn("onAny")}),r("tablecopycol",{tooltip:"Copy column",command:"mceTableCopyCol",icon:"duplicate-column",onSetup:t.onSetupColumn("onAny")}),r("tablepastecolbefore",{tooltip:"Paste column before",command:"mceTablePasteColBefore",icon:"paste-column-before",onSetup:t.onSetupPasteableColumn(Nr,"onFirst")}),r("tablepastecolafter",{tooltip:"Paste column after",command:"mceTablePasteColAfter",icon:"paste-column-after",onSetup:t.onSetupPasteableColumn(Nr,"onLast")}),r("tableinsertdialog",{tooltip:"Insert table",command:"mceInsertTableDialog",icon:"table"});const i=Hn(Tt(e));0!==i.length&&e.queryCommandSupported("mceTableToggleClass")&&e.ui.registry.addMenuButton("tableclass",{icon:"table-classes",tooltip:"Table styles",fetch:Wn(e,i,"tableclass",(t=>e.execCommand("mceTableToggleClass",!1,t))),onSetup:t.onSetupTable});const a=Hn(Ot(e));0!==a.length&&e.queryCommandSupported("mceTableCellToggleClass")&&e.ui.registry.addMenuButton("tablecellclass",{icon:"table-cell-classes",tooltip:"Cell styles",fetch:Wn(e,a,"tablecellclass",(t=>e.execCommand("mceTableCellToggleClass",!1,t))),onSetup:t.onSetupCellOrRow}),e.queryCommandSupported("mceTableApplyCellStyle")&&(e.ui.registry.addMenuButton("tablecellvalign",{icon:"vertical-align",tooltip:"Vertical align",fetch:Wn(e,wn,"tablecellverticalalign",Un(e,"vertical-align")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellborderwidth",{icon:"border-width",tooltip:"Border width",fetch:Wn(e,xt(e),"tablecellborderwidth",Un(e,"border-width")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellborderstyle",{icon:"border-style",tooltip:"Border style",fetch:Wn(e,Ct(e),"tablecellborderstyle",Un(e,"border-style")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellbackgroundcolor",{icon:"cell-background-color",tooltip:"Background color",fetch:t=>t(Vn(e,Mt(e),"background-color")),onSetup:t.onSetupCellOrRow}),e.ui.registry.addMenuButton("tablecellbordercolor",{icon:"cell-border-color",tooltip:"Border color",fetch:t=>t(Vn(e,Dt(e),"border-color")),onSetup:t.onSetupCellOrRow})),o("tablecaption",{tooltip:"Table caption",icon:"table-caption",command:"mceTableToggleCaption",onSetup:t.onSetupTableWithCaption}),o("tablerowheader",{tooltip:"Row header",icon:"table-top-header",command:"mceTableRowType",onAction:Yn(e),onSetup:t.onSetupTableRowHeaders}),o("tablecolheader",{tooltip:"Column header",icon:"table-left-header",command:"mceTableColType",onAction:Zn(e),onSetup:t.onSetupTableColumnHeaders})})(e,t),(e=>{const t=t=>e.dom.is(t,"table")&&e.getBody().contains(t),n=Pt(e);n.length>0&&e.ui.registry.addContextToolbar("table",{predicate:t,items:n,scope:"node",position:"node"})})(e)};e.add("table",Fr)}()},21449:function(e,t,n){n(18745)},18745:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&((e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name})(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,n=t("string"),r=t("object"),o=t("array"),i=(a="function",e=>typeof e===a);var a;const s=(l=!1,()=>l);var l;var c=tinymce.util.Tools.resolve("tinymce.util.Tools");const u=e=>t=>t.options.get(e),d=e=>{const t=e.options.register;t("template_cdate_classes",{processor:"string",default:"cdate"}),t("template_mdate_classes",{processor:"string",default:"mdate"}),t("template_selected_content_classes",{processor:"string",default:"selcontent"}),t("template_preview_replace_values",{processor:"object"}),t("template_replace_values",{processor:"object"}),t("templates",{processor:e=>n(e)||((e,t)=>{if(o(e)){for(let n=0,r=e.length;n<r;++n)if(!t(e[n]))return!1;return!0}return!1})(e,r)||i(e),default:[]}),t("template_cdate_format",{processor:"string",default:e.translate("%Y-%m-%d")}),t("template_mdate_format",{processor:"string",default:e.translate("%Y-%m-%d")})},f=u("template_cdate_classes"),p=u("template_mdate_classes"),h=u("template_selected_content_classes"),m=u("template_preview_replace_values"),g=u("template_replace_values"),v=u("templates"),b=u("template_cdate_format"),y=u("template_mdate_format"),A=u("content_style"),x=u("content_css_cors"),C=u("body_class"),_=(e,t)=>{if((e=""+e).length<t)for(let n=0;n<t-e.length;n++)e="0"+e;return e},w=(e,t,n=new Date)=>{const r="Sun Mon Tue Wed Thu Fri Sat Sun".split(" "),o="Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sunday".split(" "),i="Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),a="January February March April May June July August September October November December".split(" ");return t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=(t=t.replace("%D","%m/%d/%Y")).replace("%r","%I:%M:%S %p")).replace("%Y",""+n.getFullYear())).replace("%y",""+n.getYear())).replace("%m",_(n.getMonth()+1,2))).replace("%d",_(n.getDate(),2))).replace("%H",""+_(n.getHours(),2))).replace("%M",""+_(n.getMinutes(),2))).replace("%S",""+_(n.getSeconds(),2))).replace("%I",""+((n.getHours()+11)%12+1))).replace("%p",n.getHours()<12?"AM":"PM")).replace("%B",""+e.translate(a[n.getMonth()]))).replace("%b",""+e.translate(i[n.getMonth()]))).replace("%A",""+e.translate(o[n.getDay()]))).replace("%a",""+e.translate(r[n.getDay()]))).replace("%%","%")};class k{constructor(e,t){this.tag=e,this.value=t}static some(e){return new k(!0,e)}static none(){return k.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?k.some(e(this.value)):k.none()}bind(e){return this.tag?e(this.value):k.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:k.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return(e=>!(e=>null==e)(e))(e)?k.some(e):k.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}k.singletonNone=new k(!1);const S=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return k.some(o);if(n(o,r))break}return k.none()})(e,t,s),E=Object.hasOwnProperty,B=(e,t)=>E.call(e,t),O={'"':"&quot;","<":"&lt;",">":"&gt;","&":"&amp;","'":"&#039;"},j=e=>e.replace(/["'<>&]/g,(e=>{return(t=O,n=e,B(t,n)?k.from(t[n]):k.none()).getOr(e);var t,n})),T=(e,t,n)=>((e,t)=>{for(let n=0,r=e.length;n<r;n++)if(t(e[n],n))return!0;return!1})(n.split(/\s+/),(n=>e.hasClass(t,n))),P=(e,t)=>(c.each(t,((t,n)=>{i(t)&&(t=t(n)),e=e.replace(new RegExp("\\{\\$"+(n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")+"\\}"),"g"),t)})),e),M=(e,t)=>{const n=e.dom,r=g(e);c.each(n.select("*",t),(e=>{c.each(r,((t,r)=>{n.hasClass(e,r)&&i(t)&&t(e)}))}))},D=(e,t,n)=>{const r=e.dom,o=e.selection.getContent();n=P(n,g(e));let i=r.create("div",{},n);const a=r.select(".mceTmpl",i);a&&a.length>0&&(i=r.create("div"),i.appendChild(a[0].cloneNode(!0))),c.each(r.select("*",i),(t=>{T(r,t,f(e))&&(t.innerHTML=w(e,b(e))),T(r,t,p(e))&&(t.innerHTML=w(e,y(e))),T(r,t,h(e))&&(t.innerHTML=o)})),M(e,i),e.execCommand("mceInsertContent",!1,i.innerHTML),e.addVisual()};var R=tinymce.util.Tools.resolve("tinymce.Env");const L=(e,t)=>{const n=e=>((e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r})(e,(e=>({text:e.text,value:e.text}))),r=(e,t)=>S(e,(e=>e.text===t)),o=t=>{e.windowManager.alert("Could not load the specified template.",(()=>t.focus("template")))},i=e=>e.value.url.fold((()=>Promise.resolve(e.value.content.getOr(""))),(e=>fetch(e).then((e=>e.ok?e.text():Promise.reject())))),a=(e,t)=>(n,a)=>{if("template"===a.name){const a=n.getData().template;r(e,a).each((e=>{n.block("Loading..."),i(e).then((r=>{t(n,e,r)})).catch((()=>{t(n,e,""),n.setEnabled("save",!1),o(n)}))}))}},s=t=>n=>{const a=n.getData();r(t,a.template).each((t=>{i(t).then((t=>{e.execCommand("mceInsertTemplate",!1,t),n.close()})).catch((()=>{n.setEnabled("save",!1),o(n)}))}))};(()=>{if(!t||0===t.length){const t=e.translate("No templates defined.");return e.notificationManager.open({text:t,type:"info"}),k.none()}return k.from(c.map(t,((e,t)=>{const n=e=>void 0!==e.url;return{selected:0===t,text:e.title,value:{url:n(e)?k.from(e.url):k.none(),content:n(e)?k.none():k.from(e.content),description:e.description}}})))})().each((t=>{const r=n(t),l=(e,n)=>({title:"Insert Template",size:"large",body:{type:"panel",items:e},initialData:n,buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],onSubmit:s(t),onChange:a(t,u)}),u=(t,n,o)=>{const i=((e,t)=>{var n;if(-1===t.indexOf("<html>")){let r="";const o=null!==(n=A(e))&&void 0!==n?n:"",i=x(e)?' crossorigin="anonymous"':"";c.each(e.contentCSS,(t=>{r+='<link type="text/css" rel="stylesheet" href="'+e.documentBaseURI.toAbsolute(t)+'"'+i+">"})),o&&(r+='<style type="text/css">'+o+"</style>");const a=C(e),s=e.dom.encode,l='<script>document.addEventListener && document.addEventListener("click", function(e) {for (var elm = e.target; elm; elm = elm.parentNode) {if (elm.nodeName === "A" && !('+(R.os.isMacOS()||R.os.isiOS()?"e.metaKey":"e.ctrlKey && !e.altKey")+")) {e.preventDefault();}}}, false);<\/script> ",u=e.getBody().dir,d=u?' dir="'+s(u)+'"':"";t='<!DOCTYPE html><html><head><base href="'+s(e.documentBaseURI.getURI())+'">'+r+l+'</head><body class="'+s(a)+'"'+d+">"+t+"</body></html>"}return P(t,m(e))})(e,o),a=[{type:"selectbox",name:"template",label:"Templates",items:r},{type:"htmlpanel",html:`<p aria-live="polite">${j(n.value.description)}</p>`},{label:"Preview",type:"iframe",name:"preview",sandboxed:!1,transparent:!1}],s={template:n.text,preview:i};t.unblock(),t.redial(l(a,s)),t.focus("template")},d=e.windowManager.open(l([],{template:"",preview:""}));d.block("Loading..."),i(t[0]).then((e=>{u(d,t[0],e)})).catch((()=>{u(d,t[0],""),d.setEnabled("save",!1),o(d)}))}))},I=e=>{e.addCommand("mceInsertTemplate",function(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}(D,e)),e.addCommand("mceTemplate",((e,t)=>()=>{const r=v(e);i(r)?r(t):n(r)?fetch(r).then((e=>{e.ok&&e.json().then(t)})):t(r)})(e,(e=>t=>{L(e,t)})(e)))};e.add("template",(e=>{d(e),(e=>{const t=()=>e.execCommand("mceTemplate");e.ui.registry.addButton("template",{icon:"template",tooltip:"Insert template",onAction:t}),e.ui.registry.addMenuItem("template",{icon:"template",text:"Insert template...",onAction:t})})(e),I(e),(e=>{e.on("PreProcess",(t=>{const n=e.dom,r=y(e);c.each(n.select("div",t.node),(t=>{n.hasClass(t,"mceTmpl")&&(c.each(n.select("*",t),(t=>{T(n,t,p(e))&&(t.innerHTML=w(e,r))})),M(e,t))}))}))})(e)}))}()},644:function(e,t,n){n(33951)},33951:function(){!function(){"use strict";var e=tinymce.util.Tools.resolve("tinymce.PluginManager");const t=(e,t,n)=>{e.dom.toggleClass(e.getBody(),"mce-visualblocks"),n.set(!n.get()),((e,t)=>{e.dispatch("VisualBlocks",{state:t})})(e,n.get())},n=(r="visualblocks_default_state",e=>e.options.get(r));var r;const o=(e,t)=>n=>{n.setActive(t.get());const r=e=>n.setActive(e.state);return e.on("VisualBlocks",r),()=>e.off("VisualBlocks",r)};e.add("visualblocks",((e,r)=>{(e=>{(0,e.options.register)("visualblocks_default_state",{processor:"boolean",default:!1})})(e);const i=(e=>{let t=e;return{get:()=>t,set:e=>{t=e}}})(!1);((e,n,r)=>{e.addCommand("mceVisualBlocks",(()=>{t(e,0,r)}))})(e,0,i),((e,t)=>{const n=()=>e.execCommand("mceVisualBlocks");e.ui.registry.addToggleButton("visualblocks",{icon:"visualblocks",tooltip:"Show blocks",onAction:n,onSetup:o(e,t)}),e.ui.registry.addToggleMenuItem("visualblocks",{text:"Show blocks",icon:"visualblocks",onAction:n,onSetup:o(e,t)})})(e,i),((e,r,o)=>{e.on("PreviewFormats AfterPreviewFormats",(t=>{o.get()&&e.dom.toggleClass(e.getBody(),"mce-visualblocks","afterpreviewformats"===t.type)})),e.on("init",(()=>{n(e)&&t(e,0,o)}))})(e,0,i)}))}()},38860:function(e,t,n){n(51768)},51768:function(){!function(){"use strict";const e=Object.getPrototypeOf,t=(e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name},n=e=>n=>(e=>{const n=typeof e;return null===e?"null":"object"===n&&Array.isArray(e)?"array":"object"===n&&t(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":n})(n)===e,r=e=>t=>typeof t===e,o=e=>t=>e===t,i=n("string"),a=n("object"),s=n=>((n,r)=>a(n)&&t(n,r,((t,n)=>e(t)===n)))(n,Object),l=n("array"),c=o(null),u=r("boolean"),d=o(void 0),f=e=>null==e,p=e=>!f(e),h=r("function"),m=r("number"),g=(e,t)=>{if(l(e)){for(let n=0,r=e.length;n<r;++n)if(!t(e[n]))return!1;return!0}return!1},v=()=>{},b=e=>()=>e(),y=(e,t)=>(...n)=>e(t.apply(null,n)),A=e=>()=>e,x=e=>e,C=(e,t)=>e===t;function _(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const w=e=>t=>!e(t),k=e=>()=>{throw new Error(e)},S=e=>e(),E=A(!1),B=A(!0);var O=tinymce.util.Tools.resolve("tinymce.ThemeManager");class j{constructor(e,t){this.tag=e,this.value=t}static some(e){return new j(!0,e)}static none(){return j.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?j.some(e(this.value)):j.none()}bind(e){return this.tag?e(this.value):j.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:j.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return p(e)?j.some(e):j.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}j.singletonNone=new j(!1);const T=Array.prototype.slice,P=Array.prototype.indexOf,M=Array.prototype.push,D=(e,t)=>P.call(e,t),R=(e,t)=>{const n=D(e,t);return-1===n?j.none():j.some(n)},L=(e,t)=>D(e,t)>-1,I=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return!0}return!1},N=(e,t)=>{const n=[];for(let r=0;r<e;r++)n.push(t(r));return n},F=(e,t)=>{const n=[];for(let r=0;r<e.length;r+=t){const o=T.call(e,r,r+t);n.push(o)}return n},z=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},q=(e,t)=>{for(let n=0,r=e.length;n<r;n++){t(e[n],n)}},U=(e,t)=>{const n=[],r=[];for(let o=0,i=e.length;o<i;o++){const i=e[o];(t(i,o)?n:r).push(i)}return{pass:n,fail:r}},H=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},W=(e,t,n)=>(((e,t)=>{for(let n=e.length-1;n>=0;n--)t(e[n],n)})(e,((e,r)=>{n=t(n,e,r)})),n),V=(e,t,n)=>(q(e,((e,r)=>{n=t(n,e,r)})),n),Y=(e,t)=>((e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return j.some(o);if(n(o,r))break}return j.none()})(e,t,E),Z=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return j.some(n)}return j.none()},G=e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!l(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);M.apply(t,e[n])}return t},K=(e,t)=>G(z(e,t)),$=(e,t)=>{for(let n=0,r=e.length;n<r;++n){if(!0!==t(e[n],n))return!1}return!0},X=e=>{const t=T.call(e,0);return t.reverse(),t},Q=(e,t)=>H(e,(e=>!L(t,e))),J=(e,t)=>{const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r];n[String(o)]=t(o,r)}return n},ee=e=>[e],te=(e,t)=>{const n=T.call(e,0);return n.sort(t),n},ne=(e,t)=>t>=0&&t<e.length?j.some(e[t]):j.none(),re=e=>ne(e,0),oe=e=>ne(e,e.length-1),ie=h(Array.from)?Array.from:e=>T.call(e),ae=(e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n],n);if(r.isSome())return r}return j.none()},se=Object.keys,le=Object.hasOwnProperty,ce=(e,t)=>{const n=se(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}},ue=(e,t)=>de(e,((e,n)=>({k:n,v:t(e,n)}))),de=(e,t)=>{const n={};return ce(e,((e,r)=>{const o=t(e,r);n[o.k]=o.v})),n},fe=e=>(t,n)=>{e[n]=t},pe=(e,t,n,r)=>{ce(e,((e,o)=>{(t(e,o)?n:r)(e,o)}))},he=(e,t)=>{const n={};return pe(e,t,fe(n),v),n},me=(e,t)=>{const n=[];return ce(e,((e,r)=>{n.push(t(e,r))})),n},ge=(e,t)=>{const n=se(e);for(let r=0,o=n.length;r<o;r++){const o=n[r],i=e[o];if(t(i,o,e))return j.some(i)}return j.none()},ve=e=>me(e,x),be=(e,t)=>ye(e,t)?j.from(e[t]):j.none(),ye=(e,t)=>le.call(e,t),Ae=(e,t)=>ye(e,t)&&void 0!==e[t]&&null!==e[t],xe=(e,t,n=C)=>e.exists((e=>n(e,t))),Ce=e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t<e.length;t++)e[t].each(n);return t},_e=(e,t,n)=>e.isSome()&&t.isSome()?j.some(n(e.getOrDie(),t.getOrDie())):j.none(),we=(e,t)=>e?j.some(t):j.none(),ke=(e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t,Se=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!d(r)||o+t.length<=r)},Ee=(e,t)=>ke(e,t,0),Be=(e,t)=>ke(e,t,e.length-t.length),Oe=(e=>t=>t.replace(e,""))(/^\s+|\s+$/g),je=e=>e.length>0,Te=e=>void 0!==e.style&&h(e.style.getPropertyValue),Pe=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},Me={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return Pe(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return Pe(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return Pe(n)},fromDom:Pe,fromPoint:(e,t,n)=>j.from(e.dom.elementFromPoint(t,n)).map(Pe)},De="undefined"!=typeof window?window:Function("return this;")(),Re=(e,t)=>((e,t)=>{let n=null!=t?t:De;for(let t=0;t<e.length&&null!=n;++t)n=n[e[t]];return n})(e.split("."),t),Le=(e,t)=>{const n=((e,t)=>Re(e,t))(e,t);if(null==n)throw new Error(e+" not available on this browser");return n},Ie=Object.getPrototypeOf,Ne=e=>{const t=Re("ownerDocument.defaultView",e);return a(e)&&((e=>Le("HTMLElement",e))(t).prototype.isPrototypeOf(e)||/^HTML\w*Element$/.test(Ie(e).constructor.name))},Fe=e=>e.dom.nodeName.toLowerCase(),ze=e=>t=>(e=>e.dom.nodeType)(t)===e,qe=ze(1),Ue=ze(3),He=ze(9),We=ze(11),Ve=e=>t=>qe(t)&&Fe(t)===e,Ye=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},Ze=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,Ge=(e,t)=>e.dom===t.dom,Ke=(e,t)=>{const n=e.dom,r=t.dom;return n!==r&&n.contains(r)},$e=e=>Me.fromDom(e.dom.ownerDocument),Xe=e=>He(e)?e:$e(e),Qe=e=>Me.fromDom(Xe(e).dom.documentElement),Je=e=>Me.fromDom(Xe(e).dom.defaultView),et=e=>j.from(e.dom.parentNode).map(Me.fromDom),tt=e=>j.from(e.dom.parentElement).map(Me.fromDom),nt=e=>j.from(e.dom.offsetParent).map(Me.fromDom),rt=e=>z(e.dom.childNodes,Me.fromDom),ot=(e,t)=>{const n=e.dom.childNodes;return j.from(n[t]).map(Me.fromDom)},it=(e,t)=>({element:e,offset:t}),at=(e,t)=>{const n=rt(e);return n.length>0&&t<n.length?it(n[t],0):it(e,t)},st=e=>We(e)&&p(e.dom.host),lt=h(Element.prototype.attachShadow)&&h(Node.prototype.getRootNode),ct=A(lt),ut=lt?e=>Me.fromDom(e.dom.getRootNode()):Xe,dt=e=>st(e)?e:Me.fromDom(Xe(e).dom.body),ft=e=>{const t=ut(e);return st(t)?j.some(t):j.none()},pt=e=>Me.fromDom(e.dom.host),ht=e=>p(e.dom.shadowRoot),mt=e=>{const t=Ue(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return ft(Me.fromDom(t)).fold((()=>n.body.contains(t)),(r=mt,o=pt,e=>r(o(e))));var r,o},gt=()=>vt(Me.fromDom(document)),vt=e=>{const t=e.dom.body;if(null==t)throw new Error("Body is not available yet");return Me.fromDom(t)},bt=(e,t,n)=>{if(!(i(n)||u(n)||m(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},yt=(e,t,n)=>{bt(e.dom,t,n)},At=(e,t)=>{const n=e.dom;ce(t,((e,t)=>{bt(n,t,e)}))},xt=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},Ct=(e,t)=>j.from(xt(e,t)),_t=(e,t)=>{const n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},wt=(e,t)=>{e.dom.removeAttribute(t)},kt=(e,t,n)=>{if(!i(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);Te(e)&&e.style.setProperty(t,n)},St=(e,t)=>{Te(e)&&e.style.removeProperty(t)},Et=(e,t,n)=>{const r=e.dom;kt(r,t,n)},Bt=(e,t)=>{const n=e.dom;ce(t,((e,t)=>{kt(n,t,e)}))},Ot=(e,t)=>{const n=e.dom;ce(t,((e,t)=>{e.fold((()=>{St(n,t)}),(e=>{kt(n,t,e)}))}))},jt=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||mt(e)?r:Tt(n,t)},Tt=(e,t)=>Te(e)?e.style.getPropertyValue(t):"",Pt=(e,t)=>{const n=e.dom,r=Tt(n,t);return j.from(r).filter((e=>e.length>0))},Mt=e=>{const t={},n=e.dom;if(Te(n))for(let e=0;e<n.style.length;e++){const r=n.style.item(e);t[r]=n.style[r]}return t},Dt=(e,t,n)=>{const r=Me.fromTag(e);Et(r,t,n);return Pt(r,t).isSome()},Rt=(e,t)=>{const n=e.dom;St(n,t),xe(Ct(e,"style").map(Oe),"")&&wt(e,"style")},Lt=e=>e.dom.offsetWidth,It=(e,t)=>{const n=n=>{const r=t(n);if(r<=0||null===r){const t=jt(n,e);return parseFloat(t)||0}return r},r=(e,t)=>V(t,((t,n)=>{const r=jt(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0);return{set:(t,n)=>{if(!m(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);const r=t.dom;Te(r)&&(r.style[e]=n+"px")},get:n,getOuter:n,aggregate:r,max:(e,t,n)=>{const o=r(e,n);return t>o?t-o:0}}},Nt=It("height",(e=>{const t=e.dom;return mt(e)?t.getBoundingClientRect().height:t.offsetHeight})),Ft=e=>Nt.get(e),zt=e=>Nt.getOuter(e),qt=(e,t)=>({left:e,top:t,translate:(n,r)=>qt(e+n,t+r)}),Ut=qt,Ht=(e,t)=>void 0!==e?e:void 0!==t?t:0,Wt=e=>{const t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return Ut(n.offsetLeft,n.offsetTop);const i=Ht(null==r?void 0:r.pageYOffset,o.scrollTop),a=Ht(null==r?void 0:r.pageXOffset,o.scrollLeft),s=Ht(o.clientTop,n.clientTop),l=Ht(o.clientLeft,n.clientLeft);return Vt(e).translate(a-l,i-s)},Vt=e=>{const t=e.dom,n=t.ownerDocument.body;return n===t?Ut(n.offsetLeft,n.offsetTop):mt(e)?(e=>{const t=e.getBoundingClientRect();return Ut(t.left,t.top)})(t):Ut(0,0)},Yt=It("width",(e=>e.dom.offsetWidth)),Zt=e=>Yt.get(e),Gt=e=>Yt.getOuter(e),Kt=e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)},$t=()=>Xt(0,0),Xt=(e,t)=>({major:e,minor:t}),Qt={nu:Xt,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?$t():((e,t)=>{const n=((e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];if(r.test(t))return r}})(e,t);if(!n)return{major:0,minor:0};const r=e=>Number(t.replace(n,"$"+e));return Xt(r(1),r(2))})(e,n)},unknown:$t},Jt=(e,t)=>{const n=String(t).toLowerCase();return Y(e,(e=>e.search(n)))},en=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,tn=e=>t=>Se(t,e),nn=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>Se(e,"edge/")&&Se(e,"chrome")&&Se(e,"safari")&&Se(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,en],search:e=>Se(e,"chrome")&&!Se(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>Se(e,"msie")||Se(e,"trident")},{name:"Opera",versionRegexes:[en,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:tn("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:tn("firefox")},{name:"Safari",versionRegexes:[en,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(Se(e,"safari")||Se(e,"mobile/"))&&Se(e,"applewebkit")}],rn=[{name:"Windows",search:tn("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>Se(e,"iphone")||Se(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:tn("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:tn("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:tn("linux"),versionRegexes:[]},{name:"Solaris",search:tn("sunos"),versionRegexes:[]},{name:"FreeBSD",search:tn("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:tn("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],on={browsers:A(nn),oses:A(rn)},an="Edge",sn="Chromium",ln="Opera",cn="Firefox",un="Safari",dn=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(an),isChromium:r(sn),isIE:r("IE"),isOpera:r(ln),isFirefox:r(cn),isSafari:r(un)}},fn={unknown:()=>dn({current:void 0,version:Qt.unknown()}),nu:dn,edge:A(an),chromium:A(sn),ie:A("IE"),opera:A(ln),firefox:A(cn),safari:A(un)},pn="Windows",hn="Android",mn="Linux",gn="macOS",vn="Solaris",bn="FreeBSD",yn="ChromeOS",An=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(pn),isiOS:r("iOS"),isAndroid:r(hn),isMacOS:r(gn),isLinux:r(mn),isSolaris:r(vn),isFreeBSD:r(bn),isChromeOS:r(yn)}},xn={unknown:()=>An({current:void 0,version:Qt.unknown()}),nu:An,windows:A(pn),ios:A("iOS"),android:A(hn),linux:A(mn),macos:A(gn),solaris:A(vn),freebsd:A(bn),chromeos:A(yn)},Cn=(e,t,n)=>{const r=on.browsers(),o=on.oses(),i=t.bind((e=>((e,t)=>ae(t.brands,(t=>{const n=t.brand.toLowerCase();return Y(e,(e=>{var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:Qt.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>Jt(e,t).map((e=>{const n=Qt.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(fn.unknown,fn.nu),a=((e,t)=>Jt(e,t).map((e=>{const n=Qt.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(xn.unknown,xn.nu),s=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:A(o),isiPhone:A(i),isTablet:A(l),isPhone:A(c),isTouch:A(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:A(u),isDesktop:A(d)}})(a,i,e,n);return{browser:i,os:a,deviceType:s}},_n=e=>window.matchMedia(e).matches;let wn=Kt((()=>Cn(navigator.userAgent,j.from(navigator.userAgentData),_n)));const kn=()=>wn(),Sn=e=>{const t=Me.fromDom((e=>{if(ct()&&p(e.target)){const t=Me.fromDom(e.target);if(qe(t)&&ht(t)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return re(t)}}return j.from(e.target)})(e).getOr(e.target)),n=()=>e.stopPropagation(),r=()=>e.preventDefault(),o=y(r,n);return((e,t,n,r,o,i,a)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:i,raw:a}))(t,e.clientX,e.clientY,n,r,o,e)},En=(e,t,n,r,o)=>{const i=((e,t)=>n=>{e(n)&&t(Sn(n))})(n,r);return e.dom.addEventListener(t,i,o),{unbind:_(Bn,e,t,i,o)}},Bn=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},On=(e,t)=>{et(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},jn=(e,t)=>{const n=(e=>j.from(e.dom.nextSibling).map(Me.fromDom))(e);n.fold((()=>{et(e).each((e=>{Pn(e,t)}))}),(e=>{On(e,t)}))},Tn=(e,t)=>{const n=(e=>ot(e,0))(e);n.fold((()=>{Pn(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))},Pn=(e,t)=>{e.dom.appendChild(t.dom)},Mn=(e,t)=>{q(t,(t=>{Pn(e,t)}))},Dn=e=>{e.dom.textContent="",q(rt(e),(e=>{Rn(e)}))},Rn=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},Ln=e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return Ut(n,r)},In=(e,t,n)=>{const r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollTo(e,t)},Nn=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),Fn=e=>{const t=void 0===e?window:e,n=t.document,r=Ln(Me.fromDom(n));return(e=>{const t=void 0===e?window:e;return kn().browser.isFirefox()?j.none():j.from(t.visualViewport)})(t).fold((()=>{const e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return Nn(r.left,r.top,n,o)}),(e=>Nn(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)))},zn=()=>Me.fromDom(document),qn=(e,t)=>e.view(t).fold(A([]),(t=>{const n=e.owner(t),r=qn(e,n);return[t].concat(r)}));var Un=Object.freeze({__proto__:null,view:e=>{var t;return(e.dom===document?j.none():j.from(null===(t=e.dom.defaultView)||void 0===t?void 0:t.frameElement)).map(Me.fromDom)},owner:e=>$e(e)});const Hn=e=>{const t=zn(),n=Ln(t),r=((e,t)=>{const n=t.owner(e),r=qn(t,n);return j.some(r)})(e,Un);return r.fold(_(Wt,e),(t=>{const r=Vt(e),o=W(t,((e,t)=>{const n=Vt(t);return{left:e.left+n.left,top:e.top+n.top}}),{left:0,top:0});return Ut(o.left+r.left+n.left,o.top+r.top+n.top)}))},Wn=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),Vn=e=>{const t=Wt(e),n=Gt(e),r=zt(e);return Wn(t.left,t.top,n,r)},Yn=e=>{const t=Hn(e),n=Gt(e),r=zt(e);return Wn(t.left,t.top,n,r)},Zn=()=>Fn(window),Gn=e=>{const t=t=>t(e),n=A(e),r=()=>o,o={tag:!0,inner:e,fold:(t,n)=>n(e),isValue:B,isError:E,map:t=>$n.value(t(e)),mapError:r,bind:t,exists:t,forall:t,getOr:n,or:r,getOrThunk:n,orThunk:r,getOrDie:n,each:t=>{t(e)},toOptional:()=>j.some(e)};return o},Kn=e=>{const t=()=>n,n={tag:!1,inner:e,fold:(t,n)=>t(e),isValue:E,isError:B,map:t,mapError:t=>$n.error(t(e)),bind:t,exists:E,forall:B,getOr:x,or:x,getOrThunk:S,orThunk:S,getOrDie:k(String(e)),each:v,toOptional:j.none};return n},$n={value:Gn,error:Kn,fromOption:(e,t)=>e.fold((()=>Kn(t)),Gn)};var Xn;!function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"}(Xn||(Xn={}));const Qn=(e,t,n)=>e.stype===Xn.Error?t(e.serror):n(e.svalue),Jn=e=>({stype:Xn.Value,svalue:e}),er=e=>({stype:Xn.Error,serror:e}),tr=e=>e.fold(er,Jn),nr=e=>Qn(e,$n.error,$n.value),rr=Jn,or=e=>{const t=[],n=[];return q(e,(e=>{Qn(e,(e=>n.push(e)),(e=>t.push(e)))})),{values:t,errors:n}},ir=er,ar=(e,t)=>e.stype===Xn.Value?t(e.svalue):e,sr=(e,t)=>e.stype===Xn.Error?t(e.serror):e,lr=(e,t)=>e.stype===Xn.Value?{stype:Xn.Value,svalue:t(e.svalue)}:e,cr=(e,t)=>e.stype===Xn.Error?{stype:Xn.Error,serror:t(e.serror)}:e,ur=Qn,dr=(e,t,n,r)=>({tag:"field",key:e,newKey:t,presence:n,prop:r}),fr=(e,t,n)=>{switch(e.tag){case"field":return t(e.key,e.newKey,e.presence,e.prop);case"custom":return n(e.newKey,e.instantiator)}},pr=e=>(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const n={};for(let r=0;r<t.length;r++){const o=t[r];for(const t in o)ye(o,t)&&(n[t]=e(n[t],o[t]))}return n},hr=pr(((e,t)=>s(e)&&s(t)?hr(e,t):t)),mr=pr(((e,t)=>t)),gr=e=>({tag:"defaultedThunk",process:e}),vr=e=>gr(A(e)),br=e=>({tag:"mergeWithThunk",process:e}),yr=e=>y(ir,G)(e),Ar=e=>{const t=or(e);return t.errors.length>0?yr(t.errors):rr(t.values)},xr=e=>a(e)&&se(e).length>100?" removed due to size":JSON.stringify(e,null,2),Cr=(e,t)=>ir([{path:e,getErrorInfo:t}]),_r=e=>({extract:(t,n)=>sr(e(n),(e=>((e,t)=>Cr(e,A(t)))(t,e))),toString:A("val")}),wr=_r(rr),kr=(e,t,n,r)=>be(t,n).fold((()=>((e,t,n)=>Cr(e,(()=>'Could not find valid *required* value for "'+t+'" in '+xr(n))))(e,n,t)),r),Sr=(e,t,n,r)=>r(be(e,t).getOrThunk((()=>n(e)))),Er=(e,t,n,r,o)=>{const i=e=>o.extract(t.concat([r]),e),a=e=>e.fold((()=>rr(j.none())),(e=>{const n=o.extract(t.concat([r]),e);return lr(n,j.some)}));switch(e.tag){case"required":return kr(t,n,r,i);case"defaultedThunk":return Sr(n,r,e.process,i);case"option":return((e,t,n)=>n(be(e,t)))(n,r,a);case"defaultedOptionThunk":return((e,t,n,r)=>r(be(e,t).map((t=>!0===t?n(e):t))))(n,r,e.process,a);case"mergeWithThunk":return Sr(n,r,A({}),(t=>{const r=hr(e.process(n),t);return i(r)}))}},Br=e=>({extract:(t,n)=>e().extract(t,n),toString:()=>e().toString()}),Or=e=>se(he(e,p)),jr=e=>{const t=Tr(e),n=W(e,((e,t)=>fr(t,(t=>hr(e,{[t]:!0})),A(e))),{});return{extract:(e,r)=>{const o=u(r)?[]:Or(r),i=H(o,(e=>!Ae(n,e)));return 0===i.length?t.extract(e,r):((e,t)=>Cr(e,(()=>"There are unsupported fields: ["+t.join(", ")+"] specified")))(e,i)},toString:t.toString}},Tr=e=>({extract:(t,n)=>((e,t,n)=>{const r={},o=[];for(const i of n)fr(i,((n,i,a,s)=>{const l=Er(a,e,t,n,s);ur(l,(e=>{o.push(...e)}),(e=>{r[i]=e}))}),((e,n)=>{r[e]=n(t)}));return o.length>0?ir(o):rr(r)})(t,n,e),toString:()=>{const t=z(e,(e=>fr(e,((e,t,n,r)=>e+" -> "+r.toString()),((e,t)=>"state("+e+")"))));return"obj{\n"+t.join("\n")+"}"}}),Pr=e=>({extract:(t,n)=>{const r=z(n,((n,r)=>e.extract(t.concat(["["+r+"]"]),n)));return Ar(r)},toString:()=>"array("+e.toString()+")"}),Mr=(e,t)=>{const n=void 0!==t?t:x;return{extract:(t,r)=>{const o=[];for(const i of e){const e=i.extract(t,r);if(e.stype===Xn.Value)return{stype:Xn.Value,svalue:n(e.svalue)};o.push(e)}return Ar(o)},toString:()=>"oneOf("+z(e,(e=>e.toString())).join(", ")+")"}},Dr=(e,t)=>({extract:(n,r)=>{const o=se(r),i=((t,n)=>Pr(_r(e)).extract(t,n))(n,o);return ar(i,(e=>{const o=z(e,(e=>dr(e,e,{tag:"required",process:{}},t)));return Tr(o).extract(n,r)}))},toString:()=>"setOf("+t.toString()+")"}),Rr=y(Pr,Tr),Lr=A(wr),Ir=(e,t)=>_r((n=>{const r=typeof n;return e(n)?rr(n):ir(`Expected type: ${t} but got: ${r}`)})),Nr=Ir(m,"number"),Fr=Ir(i,"string"),zr=Ir(u,"boolean"),qr=Ir(h,"function"),Ur=e=>{if(Object(e)!==e)return!0;switch({}.toString.call(e).slice(8,-1)){case"Boolean":case"Number":case"String":case"Date":case"RegExp":case"Blob":case"FileList":case"ImageData":case"ImageBitmap":case"ArrayBuffer":return!0;case"Array":case"Object":return Object.keys(e).every((t=>Ur(e[t])));default:return!1}},Hr=_r((e=>Ur(e)?rr(e):ir("Expected value to be acceptable for sending via postMessage"))),Wr=(e,t,n,r)=>be(n,r).fold((()=>((e,t,n)=>Cr(e,(()=>'The chosen schema: "'+n+'" did not exist in branches: '+xr(t))))(e,n,r)),(n=>n.extract(e.concat(["branch: "+r]),t))),Vr=(e,t)=>({extract:(n,r)=>be(r,e).fold((()=>((e,t)=>Cr(e,(()=>'Choice schema did not contain choice key: "'+t+'"')))(n,e)),(e=>Wr(n,r,t,e))),toString:()=>"chooseOn("+e+"). Possible values: "+se(t)}),Yr=e=>_r((t=>e(t).fold(ir,rr))),Zr=(e,t)=>Dr((t=>tr(e(t))),t),Gr=(e,t,n)=>nr(((e,t,n)=>{const r=t.extract([e],n);return cr(r,(e=>({input:n,errors:e})))})(e,t,n)),Kr=e=>e.fold((e=>{throw new Error(Xr(e))}),x),$r=(e,t,n)=>Kr(Gr(e,t,n)),Xr=e=>"Errors: \n"+(e=>{const t=e.length>10?e.slice(0,10).concat([{path:[],getErrorInfo:A("... (only showing first ten failures)")}]):e;return z(t,(e=>"Failed path: ("+e.path.join(" > ")+")\n"+e.getErrorInfo()))})(e.errors).join("\n")+"\n\nInput object: "+xr(e.input),Qr=(e,t)=>Vr(e,ue(t,Tr)),Jr=dr,eo=(e,t)=>({tag:"custom",newKey:e,instantiator:t}),to=e=>Yr((t=>L(e,t)?$n.value(t):$n.error(`Unsupported value: "${t}", choose one of "${e.join(", ")}".`))),no=e=>Jr(e,e,{tag:"required",process:{}},Lr()),ro=(e,t)=>Jr(e,e,{tag:"required",process:{}},t),oo=e=>ro(e,Nr),io=e=>ro(e,Fr),ao=(e,t)=>Jr(e,e,{tag:"required",process:{}},to(t)),so=e=>ro(e,qr),lo=(e,t)=>Jr(e,e,{tag:"required",process:{}},Tr(t)),co=(e,t)=>Jr(e,e,{tag:"required",process:{}},Rr(t)),uo=(e,t)=>Jr(e,e,{tag:"required",process:{}},Pr(t)),fo=e=>Jr(e,e,{tag:"option",process:{}},Lr()),po=(e,t)=>Jr(e,e,{tag:"option",process:{}},t),ho=e=>po(e,Nr),mo=e=>po(e,Fr),go=(e,t)=>po(e,to(t)),vo=e=>po(e,qr),bo=(e,t)=>po(e,Pr(t)),yo=(e,t)=>po(e,Tr(t)),Ao=(e,t)=>Jr(e,e,vr(t),Lr()),xo=(e,t,n)=>Jr(e,e,vr(t),n),Co=(e,t)=>xo(e,t,Nr),_o=(e,t)=>xo(e,t,Fr),wo=(e,t,n)=>xo(e,t,to(n)),ko=(e,t)=>xo(e,t,zr),So=(e,t)=>xo(e,t,qr),Eo=(e,t,n)=>xo(e,t,Pr(n)),Bo=(e,t,n)=>xo(e,t,Tr(n)),Oo=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},jo=e=>{if(!l(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],n={};return q(e,((r,o)=>{const i=se(r);if(1!==i.length)throw new Error("one and only one name per case");const a=i[0],s=r[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!l(s))throw new Error("case arguments must be an array");t.push(a),n[a]=(...n)=>{const r=n.length;if(r!==s.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+s.length+" ("+s+"), got "+r);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:e=>{const r=se(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!$(t,(e=>L(r,e))))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)},log:e=>{console.log(e,{constructors:t,constructor:a,params:n})}}}})),n};jo([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const To=(e,t)=>((e,t)=>{const n={};return ce(e,((e,r)=>{L(t,r)||(n[r]=e)})),n})(e,t),Po=(e,t)=>((e,t)=>({[e]:t}))(e,t),Mo=e=>(e=>{const t={};return q(e,(e=>{t[e.key]=e.value})),t})(e),Do=(e,t)=>{const n=(e=>{const t=[],n=[];return q(e,(e=>{e.fold((e=>{t.push(e)}),(e=>{n.push(e)}))})),{errors:t,values:n}})(e);return n.errors.length>0?(r=n.errors,$n.error(G(r))):((e,t)=>0===e.length?$n.value(t):$n.value(hr(t,mr.apply(void 0,e))))(n.values,t);var r},Ro=e=>h(e)?e:E,Lo=(e,t,n)=>{let r=e.dom;const o=Ro(n);for(;r.parentNode;){r=r.parentNode;const e=Me.fromDom(r),n=t(e);if(n.isSome())return n;if(o(e))break}return j.none()},Io=(e,t,n)=>{const r=t(e),o=Ro(n);return r.orThunk((()=>o(e)?j.none():Lo(e,t,o)))},No=(e,t)=>Ge(e.element,t.event.target),Fo={can:B,abort:E,run:v},zo=e=>{if(!Ae(e,"can")&&!Ae(e,"abort")&&!Ae(e,"run"))throw new Error("EventHandler defined by: "+JSON.stringify(e,null,2)+" does not have can, abort, or run!");return{...Fo,...e}},qo=e=>{const t=((e,t)=>(...n)=>V(e,((e,r)=>e&&t(r).apply(void 0,n)),!0))(e,(e=>e.can)),n=((e,t)=>(...n)=>V(e,((e,r)=>e||t(r).apply(void 0,n)),!1))(e,(e=>e.abort));return{can:t,abort:n,run:(...t)=>{q(e,(e=>{e.run.apply(void 0,t)}))}}},Uo=A,Ho=Uo("touchstart"),Wo=Uo("touchmove"),Vo=Uo("touchend"),Yo=Uo("touchcancel"),Zo=Uo("mousedown"),Go=Uo("mousemove"),Ko=Uo("mouseout"),$o=Uo("mouseup"),Xo=Uo("mouseover"),Qo=Uo("focusin"),Jo=Uo("focusout"),ei=Uo("keydown"),ti=Uo("keyup"),ni=Uo("input"),ri=Uo("change"),oi=Uo("click"),ii=Uo("transitioncancel"),ai=Uo("transitionend"),si=Uo("transitionstart"),li=Uo("selectstart"),ci=e=>A("alloy."+e),ui={tap:ci("tap")},di=ci("focus"),fi=ci("blur.post"),pi=ci("paste.post"),hi=ci("receive"),mi=ci("execute"),gi=ci("focus.item"),vi=ui.tap,bi=ci("longpress"),yi=ci("sandbox.close"),Ai=ci("typeahead.cancel"),xi=ci("system.init"),Ci=ci("system.touchmove"),_i=ci("system.touchend"),wi=ci("system.scroll"),ki=ci("system.resize"),Si=ci("system.attached"),Ei=ci("system.detached"),Bi=ci("system.dismissRequested"),Oi=ci("system.repositionRequested"),ji=ci("focusmanager.shifted"),Ti=ci("slotcontainer.visibility"),Pi=ci("change.tab"),Mi=ci("dismiss.tab"),Di=ci("highlight"),Ri=ci("dehighlight"),Li=(e,t)=>{zi(e,e.element,t,{})},Ii=(e,t,n)=>{zi(e,e.element,t,n)},Ni=e=>{Li(e,mi())},Fi=(e,t,n)=>{zi(e,t,n,{})},zi=(e,t,n,r)=>{const o={target:t,...r};e.getSystem().triggerEvent(n,t,o)},qi=(e,t,n,r)=>{e.getSystem().triggerEvent(n,t,r.event)},Ui=e=>Mo(e),Hi=(e,t)=>({key:e,value:zo({abort:t})}),Wi=e=>({key:e,value:zo({run:(e,t)=>{t.event.prevent()}})}),Vi=(e,t)=>({key:e,value:zo({run:t})}),Yi=(e,t,n)=>({key:e,value:zo({run:(e,r)=>{t.apply(void 0,[e,r].concat(n))}})}),Zi=e=>t=>({key:e,value:zo({run:(e,n)=>{No(e,n)&&t(e,n)}})}),Gi=(e,t,n)=>((e,t)=>Vi(e,((n,r)=>{n.getSystem().getByUid(t).each((t=>{qi(t,t.element,e,r)}))})))(e,t.partUids[n]),Ki=(e,t)=>Vi(e,((e,n)=>{const r=n.event,o=e.getSystem().getByDom(r.target).getOrThunk((()=>Io(r.target,(t=>e.getSystem().getByDom(t).toOptional()),E).getOr(e)));t(e,o,n)})),$i=e=>Vi(e,((e,t)=>{t.cut()})),Xi=e=>Vi(e,((e,t)=>{t.stop()})),Qi=(e,t)=>Zi(e)(t),Ji=Zi(Si()),ea=Zi(Ei()),ta=Zi(xi()),na=(e=>t=>Vi(e,t))(mi()),ra=e=>e.dom.innerHTML,oa=(e,t)=>{const n=$e(e).dom,r=Me.fromDom(n.createDocumentFragment()),o=((e,t)=>{const n=(t||document).createElement("div");return n.innerHTML=e,rt(Me.fromDom(n))})(t,n);Mn(r,o),Dn(e),Pn(e,r)},ia=e=>((e,t)=>Me.fromDom(e.dom.cloneNode(t)))(e,!1),aa=e=>{if(st(e))return"#shadow-root";return(e=>{const t=Me.fromTag("div"),n=Me.fromDom(e.dom.cloneNode(!0));return Pn(t,n),ra(t)})(ia(e))},sa=e=>aa(e),la=Ui([((e,t)=>({key:e,value:zo({can:t})}))(di(),((e,t)=>{const n=t.event,r=n.originator,o=n.target;return!((e,t,n)=>Ge(t,e.element)&&!Ge(t,n))(e,r,o)||(console.warn(di()+" did not get interpreted by the desired target. \nOriginator: "+sa(r)+"\nTarget: "+sa(o)+"\nCheck the "+di()+" event handlers"),!1)}))]);var ca=Object.freeze({__proto__:null,events:la});let ua=0;const da=e=>{const t=(new Date).getTime(),n=Math.floor(1e9*Math.random());return ua++,e+"_"+n+ua+String(t)},fa=A("alloy-id-"),pa=A("data-alloy-id"),ha=fa(),ma=pa(),ga=(e,t)=>{Object.defineProperty(e.dom,ma,{value:t,writable:!0})},va=e=>{const t=qe(e)?e.dom[ma]:null;return j.from(t)},ba=e=>da(e),ya=x,Aa=e=>{const t=t=>`The component must be in a context to execute: ${t}`+(e?"\n"+sa(e().element)+" is not in context.":""),n=e=>()=>{throw new Error(t(e))},r=e=>()=>{console.warn(t(e))};return{debugInfo:A("fake"),triggerEvent:r("triggerEvent"),triggerFocus:r("triggerFocus"),triggerEscape:r("triggerEscape"),broadcast:r("broadcast"),broadcastOn:r("broadcastOn"),broadcastEvent:r("broadcastEvent"),build:n("build"),buildOrPatch:n("buildOrPatch"),addToWorld:n("addToWorld"),removeFromWorld:n("removeFromWorld"),addToGui:n("addToGui"),removeFromGui:n("removeFromGui"),getByUid:n("getByUid"),getByDom:n("getByDom"),isConnected:E}},xa=Aa(),Ca=e=>z(e,(e=>Be(e,"/*")?e.substring(0,e.length-"/*".length):e)),_a=(e,t)=>{const n=e.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:t,parameters:Ca(i)}),e},wa=da("alloy-premade"),ka=e=>(Object.defineProperty(e.element.dom,wa,{value:e.uid,writable:!0}),Po(wa,e)),Sa=e=>be(e,wa),Ea=e=>((e,t)=>{const n=t.toString(),r=n.indexOf(")")+1,o=n.indexOf("("),i=n.substring(o+1,r-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:"OVERRIDE",parameters:Ca(i.slice(1))}),e})(((t,...n)=>e(t.getApis(),t,...n)),e),Ba={init:()=>Oa({readState:A("No State required")})},Oa=e=>e,ja=(e,t)=>{const n={};return ce(e,((e,r)=>{ce(e,((e,o)=>{const i=be(n,o).getOr([]);n[o]=i.concat([t(r,e)])}))})),n},Ta=e=>({classes:d(e.classes)?[]:e.classes,attributes:d(e.attributes)?{}:e.attributes,styles:d(e.styles)?{}:e.styles}),Pa=e=>e.cHandler,Ma=(e,t)=>({name:e,handler:t}),Da=(e,t)=>{const n={};return q(e,(e=>{n[e.name()]=e.handlers(t)})),n},Ra=(e,t,n,r)=>{const o=((e,t,n)=>{const r={...n,...Da(t,e)};return ja(r,Ma)})(e,n,r);return Na(o,t)},La=e=>{const t=(e=>h(e)?{can:B,abort:E,run:e}:e)(e);return(e,n,...r)=>{const o=[e,n].concat(r);t.abort.apply(void 0,o)?n.stop():t.can.apply(void 0,o)&&t.run.apply(void 0,o)}},Ia=(e,t,n)=>{const r=t[n];return r?((e,t,n,r)=>{try{const o=te(n,((n,o)=>{const i=n[t],a=o[t],s=r.indexOf(i),l=r.indexOf(a);if(-1===s)throw new Error("The ordering for "+e+" does not have an entry for "+i+".\nOrder specified: "+JSON.stringify(r,null,2));if(-1===l)throw new Error("The ordering for "+e+" does not have an entry for "+a+".\nOrder specified: "+JSON.stringify(r,null,2));return s<l?-1:l<s?1:0}));return $n.value(o)}catch(e){return $n.error([e])}})("Event: "+n,"name",e,r).map((e=>{const t=z(e,(e=>e.handler));return qo(t)})):((e,t)=>$n.error(["The event ("+e+') has more than one behaviour that listens to it.\nWhen this occurs, you must specify an event ordering for the behaviours in your spec (e.g. [ "listing", "toggling" ]).\nThe behaviours that can trigger it are: '+JSON.stringify(z(t,(e=>e.name)),null,2)]))(n,e)},Na=(e,t)=>{const n=me(e,((e,n)=>(1===e.length?$n.value(e[0].handler):Ia(e,t,n)).map((r=>{const o=La(r),i=e.length>1?H(t[n],(t=>I(e,(e=>e.name===t)))).join(" > "):e[0].name;return Po(n,((e,t)=>({handler:e,purpose:t}))(o,i))}))));return Do(n,{})},Fa="alloy.base.behaviour",za=Tr([Jr("dom","dom",{tag:"required",process:{}},Tr([no("tag"),Ao("styles",{}),Ao("classes",[]),Ao("attributes",{}),fo("value"),fo("innerHtml")])),no("components"),no("uid"),Ao("events",{}),Ao("apis",{}),Jr("eventOrder","eventOrder",(e=>br(A(e)))({[mi()]:["disabling",Fa,"toggling","typeaheadevents"],[di()]:[Fa,"focusing","keying"],[xi()]:[Fa,"disabling","toggling","representing"],[ni()]:[Fa,"representing","streaming","invalidating"],[Ei()]:[Fa,"representing","item-events","tooltipping"],[Zo()]:["focusing",Fa,"item-type-events"],[Ho()]:["focusing",Fa,"item-type-events"],[Xo()]:["item-type-events","tooltipping"],[hi()]:["receiving","reflecting","tooltipping"]}),Lr()),fo("domModification")]),qa=e=>e.events,Ua=(e,t)=>{const n=xt(e,t);return void 0===n||""===n?[]:n.split(" ")},Ha=e=>void 0!==e.dom.classList,Wa=e=>Ua(e,"class"),Va=(e,t)=>((e,t,n)=>{const r=Ua(e,t).concat([n]);return yt(e,t,r.join(" ")),!0})(e,"class",t),Ya=(e,t)=>((e,t,n)=>{const r=H(Ua(e,t),(e=>e!==n));return r.length>0?yt(e,t,r.join(" ")):wt(e,t),!1})(e,"class",t),Za=(e,t)=>{Ha(e)?e.dom.classList.add(t):Va(e,t)},Ga=(e,t)=>{if(Ha(e)){e.dom.classList.remove(t)}else Ya(e,t);(e=>{0===(Ha(e)?e.dom.classList:Wa(e)).length&&wt(e,"class")})(e)},Ka=(e,t)=>Ha(e)&&e.dom.classList.contains(t),$a=(e,t)=>{q(t,(t=>{Za(e,t)}))},Xa=(e,t)=>{q(t,(t=>{Ga(e,t)}))},Qa=e=>Ha(e)?(e=>{const t=e.dom.classList,n=new Array(t.length);for(let e=0;e<t.length;e++){const r=t.item(e);null!==r&&(n[e]=r)}return n})(e):Wa(e),Ja=e=>e.dom.value,es=(e,t)=>{if(void 0===t)throw new Error("Value.set was undefined");e.dom.value=t},ts=(e,t,n)=>{n.fold((()=>Pn(e,t)),(e=>{Ge(e,t)||(On(e,t),Rn(e))}))},ns=(e,t,n)=>{const r=z(t,n),o=rt(e);return q(o.slice(r.length),Rn),r},rs=(e,t,n,r)=>{const o=ot(e,t),i=r(n,o),a=((e,t,n)=>ot(e,t).map((e=>{if(n.exists((t=>!Ge(t,e)))){const t=n.map(Fe).getOr("span"),r=Me.fromTag(t);return On(e,r),r}return e})))(e,t,o);return ts(e,i.element,a),i},os=(e,t)=>{const n=se(e),r=se(t),o=Q(r,n),i=((e,t)=>{const n={},r={};return pe(e,t,fe(n),fe(r)),{t:n,f:r}})(e,((e,n)=>!ye(t,n)||e!==t[n])).t;return{toRemove:o,toSet:i}},is=(e,t)=>{const{class:n,style:r,...o}=(e=>V(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}))(t),{toSet:i,toRemove:a}=os(e.attributes,o),s=Mt(t),{toSet:l,toRemove:c}=os(e.styles,s),u=Qa(t),d=Q(u,e.classes),f=Q(e.classes,u);return q(a,(e=>wt(t,e))),At(t,i),$a(t,f),Xa(t,d),q(c,(e=>Rt(t,e))),Bt(t,l),e.innerHtml.fold((()=>{const n=e.domChildren;((e,t)=>{ns(e,t,((t,n)=>{const r=ot(e,n);return ts(e,t,r),t}))})(t,n)}),(e=>{oa(t,e)})),(()=>{const n=t,r=e.value.getOrUndefined();r!==Ja(n)&&es(n,null!=r?r:"")})(),t},as=(e,t)=>{const n=t.filter((t=>Fe(t)===e.tag&&!(e=>e.innerHtml.isSome()&&e.domChildren.length>0)(e)&&!(e=>ye(e.dom,wa))(t))).bind((t=>((e,t)=>{try{const n=is(e,t);return j.some(n)}catch(e){return j.none()}})(e,t))).getOrThunk((()=>(e=>{const t=Me.fromTag(e.tag);At(t,e.attributes),$a(t,e.classes),Bt(t,e.styles),e.innerHtml.each((e=>oa(t,e)));const n=e.domChildren;return Mn(t,n),e.value.each((e=>{es(t,e)})),t})(e)));return ga(n,e.uid),n},ss=(e,t)=>((e,t)=>{const n=z(t,(e=>yo(e.name(),[no("config"),Ao("state",Ba)]))),r=Gr("component.behaviours",Tr(n),e.behaviours).fold((t=>{throw new Error(Xr(t)+"\nComplete spec:\n"+JSON.stringify(e,null,2))}),x);return{list:t,data:ue(r,(e=>{const t=e.map((e=>({config:e.config,state:e.state.init(e.config)})));return A(t)}))}})(e,t),ls=e=>{const t=(e=>{const t=be(e,"behaviours").getOr({});return K(se(t),(e=>{const n=t[e];return p(n)?[n.me]:[]}))})(e);return ss(e,t)},cs=(e,t,n)=>{const r={...(o=e).dom,uid:o.uid,domChildren:z(o.components,(e=>e.element))};var o;const i=(e=>e.domModification.fold((()=>Ta({})),Ta))(e),a={"alloy.base.modification":i},s=t.length>0?((e,t,n,r)=>{const o={...t};q(n,(t=>{o[t.name()]=t.exhibit(e,r)}));const i=ja(o,((e,t)=>({name:e,modification:t}))),a=e=>W(e,((e,t)=>({...t.modification,...e})),{}),s=W(i.classes,((e,t)=>t.modification.concat(e)),[]),l=a(i.attributes),c=a(i.styles);return Ta({classes:s,attributes:l,styles:c})})(n,a,t,r):i;return l=r,c=s,{...l,attributes:{...l.attributes,...c.attributes},styles:{...l.styles,...c.styles},classes:l.classes.concat(c.classes)};var l,c},us=(e,t)=>{const n=()=>f,r=Oo(xa),o=Kr((e=>Gr("custom.definition",za,e))(e)),i=ls(e),a=(e=>e.list)(i),s=(e=>e.data)(i),l=cs(o,a,s),c=as(l,t),u=((e,t,n)=>{const r={"alloy.base.behaviour":qa(e)};return Ra(n,e.eventOrder,t,r).getOrDie()})(o,a,s),d=Oo(o.components),f={uid:e.uid,getSystem:r.get,config:t=>{const n=s;return(h(n[t.name()])?n[t.name()]:()=>{throw new Error("Could not find "+t.name()+" in "+JSON.stringify(e,null,2))})()},hasConfigured:e=>h(s[e.name()]),spec:e,readState:e=>s[e]().map((e=>e.state.readState())).getOr("not enabled"),getApis:()=>o.apis,connect:e=>{r.set(e)},disconnect:()=>{r.set(Aa(n))},element:c,syncComponents:()=>{const e=rt(c),t=K(e,(e=>r.get().getByDom(e).fold((()=>[]),ee)));d.set(t)},components:d.get,events:u};return f},ds=(e,t)=>{const{events:n,...r}=ya(e),o=((e,t)=>{const n=be(e,"components").getOr([]);return t.fold((()=>z(n,gs)),(e=>z(n,((t,n)=>ms(t,ot(e,n))))))})(r,t),i={...r,events:{...ca,...n},components:o};return $n.value(us(i,t))},fs=e=>{const t=Me.fromText(e);return ps({element:t})},ps=e=>{const t=$r("external.component",jr([no("element"),fo("uid")]),e),n=Oo(Aa()),r=t.uid.getOrThunk((()=>ba("external")));ga(t.element,r);const o={uid:r,getSystem:n.get,config:j.none,hasConfigured:E,connect:e=>{n.set(e)},disconnect:()=>{n.set(Aa((()=>o)))},getApis:()=>({}),element:t.element,spec:e,readState:A("No state"),syncComponents:v,components:A([]),events:{}};return ka(o)},hs=ba,ms=(e,t)=>Sa(e).getOrThunk((()=>{const n=(e=>ye(e,"uid"))(e)?e:{uid:hs(""),...e};return ds(n,t).getOrDie()})),gs=e=>ms(e,j.none()),vs=ka;var bs=(e,t,n,r,o)=>e(n,r)?j.some(n):h(o)&&o(n)?j.none():t(n,r,o);const ys=(e,t,n)=>{let r=e.dom;const o=h(n)?n:E;for(;r.parentNode;){r=r.parentNode;const e=Me.fromDom(r);if(t(e))return j.some(e);if(o(e))break}return j.none()},As=(e,t,n)=>bs(((e,t)=>t(e)),ys,e,t,n),xs=(e,t,n)=>As(e,t,n).isSome(),Cs=(e,t,n)=>ys(e,(e=>Ye(e,t)),n),_s=(e,t)=>((e,t)=>Y(e.dom.childNodes,(e=>t(Me.fromDom(e)))).map(Me.fromDom))(e,(e=>Ye(e,t))),ws=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return Ze(n)?j.none():j.from(n.querySelector(e)).map(Me.fromDom)})(t,e),ks=(e,t,n)=>bs(((e,t)=>Ye(e,t)),Cs,e,t,n),Ss="aria-controls",Es=()=>{const e=da(Ss);return{id:e,link:t=>{yt(t,Ss,e)},unlink:e=>{wt(e,Ss)}}},Bs=(e,t)=>(e=>As(e,(e=>{if(!qe(e))return!1;const t=xt(e,"id");return void 0!==t&&t.indexOf(Ss)>-1})).bind((e=>{const t=xt(e,"id"),n=ut(e);return ws(n,`[${Ss}="${t}"]`)})))(t).exists((t=>Os(e,t))),Os=(e,t)=>xs(t,(t=>Ge(t,e.element)),E)||Bs(e,t),js="unknown";var Ts;!function(e){e[e.STOP=0]="STOP",e[e.NORMAL=1]="NORMAL",e[e.LOGGING=2]="LOGGING"}(Ts||(Ts={}));const Ps=Oo({}),Ms=(e,t,n)=>{switch(be(Ps.get(),e).orThunk((()=>{const t=se(Ps.get());return ae(t,(t=>e.indexOf(t)>-1?j.some(Ps.get()[t]):j.none()))})).getOr(Ts.NORMAL)){case Ts.NORMAL:return n(Ls());case Ts.LOGGING:{const r=((e,t)=>{const n=[],r=(new Date).getTime();return{logEventCut:(e,t,r)=>{n.push({outcome:"cut",target:t,purpose:r})},logEventStopped:(e,t,r)=>{n.push({outcome:"stopped",target:t,purpose:r})},logNoParent:(e,t,r)=>{n.push({outcome:"no-parent",target:t,purpose:r})},logEventNoHandlers:(e,t)=>{n.push({outcome:"no-handlers-left",target:t})},logEventResponse:(e,t,r)=>{n.push({outcome:"response",purpose:r,target:t})},write:()=>{const o=(new Date).getTime();L(["mousemove","mouseover","mouseout",xi()],e)||console.log(e,{event:e,time:o-r,target:t.dom,sequence:z(n,(e=>L(["cut","stopped","response"],e.outcome)?"{"+e.purpose+"} "+e.outcome+" at ("+sa(e.target)+")":e.outcome))})}}})(e,t),o=n(r);return r.write(),o}case Ts.STOP:return!0}},Ds=["alloy/data/Fields","alloy/debugging/Debugging"],Rs=(e,t,n)=>Ms(e,t,n),Ls=A({logEventCut:v,logEventStopped:v,logNoParent:v,logEventNoHandlers:v,logEventResponse:v,write:v}),Is=A([no("menu"),no("selectedMenu")]),Ns=A([no("item"),no("selectedItem")]);A(Tr(Ns().concat(Is())));const Fs=A(Tr(Ns())),zs=lo("initSize",[no("numColumns"),no("numRows")]),qs=()=>lo("markers",[no("backgroundMenu")].concat(Is()).concat(Ns())),Us=e=>lo("markers",z(e,no)),Hs=(e,t,n)=>((()=>{const e=new Error;if(void 0!==e.stack){const t=e.stack.split("\n");return Y(t,(e=>e.indexOf("alloy")>0&&!I(Ds,(t=>e.indexOf(t)>-1)))).getOr(js)}})(),Jr(t,t,n,Yr((e=>$n.value(((...t)=>e.apply(void 0,t))))))),Ws=e=>Hs(0,e,vr(v)),Vs=e=>Hs(0,e,vr(j.none)),Ys=e=>Hs(0,e,{tag:"required",process:{}}),Zs=e=>Hs(0,e,{tag:"required",process:{}}),Gs=(e,t)=>eo(e,A(t)),Ks=e=>eo(e,x),$s=A(zs),Xs=(e,t,n,r,o,i,a,s=!1)=>({x:e,y:t,bubble:n,direction:r,placement:o,restriction:i,label:`${a}-${o}`,alwaysFit:s}),Qs=jo([{southeast:[]},{southwest:[]},{northeast:[]},{northwest:[]},{south:[]},{north:[]},{east:[]},{west:[]}]),Js=Qs.southeast,el=Qs.southwest,tl=Qs.northeast,nl=Qs.northwest,rl=Qs.south,ol=Qs.north,il=Qs.east,al=Qs.west,sl=(e,t,n,r)=>{const o=e+t;return o>r?n:o<n?r:o},ll=(e,t,n)=>Math.min(Math.max(e,t),n),cl=(e,t)=>J(["left","right","top","bottom"],(n=>be(t,n).map((t=>((e,t)=>{switch(t){case 1:return e.x;case 0:return e.x+e.width;case 2:return e.y;case 3:return e.y+e.height}})(e,t))))),ul="layout",dl=e=>e.x,fl=(e,t)=>e.x+e.width/2-t.width/2,pl=(e,t)=>e.x+e.width-t.width,hl=(e,t)=>e.y-t.height,ml=e=>e.y+e.height,gl=(e,t)=>e.y+e.height/2-t.height/2,vl=(e,t,n)=>Xs(dl(e),ml(e),n.southeast(),Js(),"southeast",cl(e,{left:1,top:3}),ul),bl=(e,t,n)=>Xs(pl(e,t),ml(e),n.southwest(),el(),"southwest",cl(e,{right:0,top:3}),ul),yl=(e,t,n)=>Xs(dl(e),hl(e,t),n.northeast(),tl(),"northeast",cl(e,{left:1,bottom:2}),ul),Al=(e,t,n)=>Xs(pl(e,t),hl(e,t),n.northwest(),nl(),"northwest",cl(e,{right:0,bottom:2}),ul),xl=(e,t,n)=>Xs(fl(e,t),hl(e,t),n.north(),ol(),"north",cl(e,{bottom:2}),ul),Cl=(e,t,n)=>Xs(fl(e,t),ml(e),n.south(),rl(),"south",cl(e,{top:3}),ul),_l=(e,t,n)=>Xs((e=>e.x+e.width)(e),gl(e,t),n.east(),il(),"east",cl(e,{left:0}),ul),wl=(e,t,n)=>Xs(((e,t)=>e.x-t.width)(e,t),gl(e,t),n.west(),al(),"west",cl(e,{right:1}),ul),kl=()=>[vl,bl,yl,Al,Cl,xl,_l,wl],Sl=()=>[bl,vl,Al,yl,Cl,xl,_l,wl],El=()=>[yl,Al,vl,bl,xl,Cl],Bl=()=>[Al,yl,bl,vl,xl,Cl],Ol=()=>[vl,bl,yl,Al,Cl,xl],jl=()=>[bl,vl,Al,yl,Cl,xl];var Tl=Object.freeze({__proto__:null,events:e=>Ui([Vi(hi(),((t,n)=>{const r=e.channels,o=se(r),i=n,a=((e,t)=>t.universal?e:H(e,(e=>L(t.channels,e))))(o,i);q(a,(e=>{const n=r[e],o=n.schema,a=$r("channel["+e+"] data\nReceiver: "+sa(t.element),o,i.data);n.onReceive(t,a)}))}))])}),Pl=[ro("channels",Zr($n.value,jr([Ys("onReceive"),Ao("schema",Lr())])))];const Ml=(e,t,n)=>ta(((r,o)=>{n(r,e,t)})),Dl=(e,t,n)=>((e,t,n)=>{const r=n.toString(),o=r.indexOf(")")+1,i=r.indexOf("("),a=r.substring(i+1,o-1).split(/,\s*/);return e.toFunctionAnnotation=()=>({name:t,parameters:Ca(a.slice(0,1).concat(a.slice(3)))}),e})(((r,...o)=>{const i=[r].concat(o);return r.config({name:A(e)}).fold((()=>{throw new Error("We could not find any behaviour configuration for: "+e+". Using API: "+n)}),(e=>{const n=Array.prototype.slice.call(i,1);return t.apply(void 0,[r,e.config,e.state].concat(n))}))}),n,t),Rl=e=>({key:e,value:void 0}),Ll=(e,t,n,r,o,i,a)=>{const s=e=>Ae(e,n)?e[n]():j.none(),l=ue(o,((e,t)=>Dl(n,e,t))),c={...ue(i,((e,t)=>_a(e,t))),...l,revoke:_(Rl,n),config:t=>{const r=$r(n+"-config",e,t);return{key:n,value:{config:r,me:c,configAsRaw:Kt((()=>$r(n+"-config",e,t))),initialConfig:t,state:a}}},schema:A(t),exhibit:(e,t)=>_e(s(e),be(r,"exhibit"),((e,n)=>n(t,e.config,e.state))).getOrThunk((()=>Ta({}))),name:A(n),handlers:e=>s(e).map((e=>be(r,"events").getOr((()=>({})))(e.config,e.state))).getOr({})};return c},Il=e=>Mo(e),Nl=jr([no("fields"),no("name"),Ao("active",{}),Ao("apis",{}),Ao("state",Ba),Ao("extra",{})]),Fl=e=>{const t=$r("Creating behaviour: "+e.name,Nl,e);return((e,t,n,r,o,i)=>{const a=jr(e),s=yo(t,[(l="config",c=e,po(l,jr(c)))]);var l,c;return Ll(a,s,t,n,r,o,i)})(t.fields,t.name,t.active,t.apis,t.extra,t.state)},zl=jr([no("branchKey"),no("branches"),no("name"),Ao("active",{}),Ao("apis",{}),Ao("state",Ba),Ao("extra",{})]),ql=e=>{const t=$r("Creating behaviour: "+e.name,zl,e);return((e,t,n,r,o,i)=>{const a=e,s=yo(t,[po("config",e)]);return Ll(a,s,t,n,r,o,i)})(Qr(t.branchKey,t.branches),t.name,t.active,t.apis,t.extra,t.state)},Ul=A(void 0),Hl=Fl({fields:Pl,name:"receiving",active:Tl});var Wl=Object.freeze({__proto__:null,exhibit:(e,t)=>Ta({classes:[],styles:t.useFixed()?{}:{position:"relative"}})});const Vl=e=>e.dom.focus(),Yl=e=>{const t=ut(e).dom;return e.dom===t.activeElement},Zl=(e=zn())=>j.from(e.dom.activeElement).map(Me.fromDom),Gl=e=>Zl(ut(e)).filter((t=>e.dom.contains(t.dom))),Kl=(e,t)=>{const n=ut(t),r=Zl(n).bind((e=>{const n=t=>Ge(e,t);return n(t)?j.some(t):((e,t)=>{const n=e=>{for(let r=0;r<e.childNodes.length;r++){const o=Me.fromDom(e.childNodes[r]);if(t(o))return j.some(o);const i=n(e.childNodes[r]);if(i.isSome())return i}return j.none()};return n(e.dom)})(t,n)})),o=e(t);return r.each((e=>{Zl(n).filter((t=>Ge(t,e))).fold((()=>{Vl(e)}),v)})),o},$l=(e,t,n,r,o)=>{const i=e=>e+"px";return{position:e,left:t.map(i),top:n.map(i),right:r.map(i),bottom:o.map(i)}},Xl=(e,t)=>{Ot(e,(e=>({...e,position:j.some(e.position)}))(t))},Ql=jo([{none:[]},{relative:["x","y","width","height"]},{fixed:["x","y","width","height"]}]),Jl=(e,t,n,r,o,i)=>{const a=t.rect,s=a.x-n,l=a.y-r,c=o-(s+a.width),u=i-(l+a.height),d=j.some(s),f=j.some(l),p=j.some(c),h=j.some(u),m=j.none();return((e,t,n,r,o,i,a,s,l)=>e.fold(t,n,r,o,i,a,s,l))(t.direction,(()=>$l(e,d,f,m,m)),(()=>$l(e,m,f,p,m)),(()=>$l(e,d,m,m,h)),(()=>$l(e,m,m,p,h)),(()=>$l(e,d,f,m,m)),(()=>$l(e,d,m,m,h)),(()=>$l(e,d,f,m,m)),(()=>$l(e,m,f,p,m)))},ec=(e,t)=>e.fold((()=>{const e=t.rect;return $l("absolute",j.some(e.x),j.some(e.y),j.none(),j.none())}),((e,n,r,o)=>Jl("absolute",t,e,n,r,o)),((e,n,r,o)=>Jl("fixed",t,e,n,r,o))),tc=(e,t)=>{const n=_(Hn,t),r=e.fold(n,n,(()=>{const e=Ln();return Hn(t).translate(-e.left,-e.top)})),o=Gt(t),i=zt(t);return Wn(r.left,r.top,o,i)},nc=(e,t)=>t.fold((()=>e.fold(Zn,Zn,Wn)),(t=>e.fold(t,t,(()=>{const n=t(),r=rc(e,n.x,n.y);return Wn(r.left,r.top,n.width,n.height)})))),rc=(e,t,n)=>{const r=Ut(t,n);return e.fold(A(r),A(r),(()=>{const e=Ln();return r.translate(-e.left,-e.top)}))};Ql.none;const oc=Ql.relative,ic=Ql.fixed,ac=(e,t)=>((e,t)=>({anchorBox:e,origin:t}))(e,t),sc="data-alloy-placement",lc=e=>Ct(e,sc),cc=jo([{fit:["reposition"]},{nofit:["reposition","visibleW","visibleH","isVisible"]}]),uc=(e,t,n,r)=>{const o=e.bubble,i=o.offset,a=((e,t,n)=>{const r=(r,o)=>t[r].map((t=>{const i="top"===r||"bottom"===r,a=i?n.top:n.left,s=("left"===r||"top"===r?Math.max:Math.min)(t,o)+a;return i?ll(s,e.y,e.bottom):ll(s,e.x,e.right)})).getOr(o),o=r("left",e.x),i=r("top",e.y),a=r("right",e.right),s=r("bottom",e.bottom);return Wn(o,i,a-o,s-i)})(r,e.restriction,i),s=e.x+i.left,l=e.y+i.top,c=Wn(s,l,t,n),{originInBounds:u,sizeInBounds:d,visibleW:f,visibleH:p}=((e,t)=>{const{x:n,y:r,right:o,bottom:i}=t,{x:a,y:s,right:l,bottom:c,width:u,height:d}=e;return{originInBounds:a>=n&&a<=o&&s>=r&&s<=i,sizeInBounds:l<=o&&l>=n&&c<=i&&c>=r,visibleW:Math.min(u,a>=n?o-a:l-n),visibleH:Math.min(d,s>=r?i-s:c-r)}})(c,a),h=u&&d,m=h?c:((e,t)=>{const{x:n,y:r,right:o,bottom:i}=t,{x:a,y:s,width:l,height:c}=e,u=Math.max(n,o-l),d=Math.max(r,i-c),f=ll(a,n,u),p=ll(s,r,d),h=Math.min(f+l,o)-f,m=Math.min(p+c,i)-p;return Wn(f,p,h,m)})(c,a),g=m.width>0&&m.height>0,{maxWidth:v,maxHeight:b}=((e,t,n)=>{const r=A(t.bottom-n.y),o=A(n.bottom-t.y),i=((e,t,n,r)=>e.fold(t,t,r,r,t,r,n,n))(e,o,o,r),a=A(t.right-n.x),s=A(n.right-t.x),l=((e,t,n,r)=>e.fold(t,r,t,r,n,n,t,r))(e,s,s,a);return{maxWidth:l,maxHeight:i}})(e.direction,m,r),y={rect:m,maxHeight:b,maxWidth:v,direction:e.direction,placement:e.placement,classes:{on:o.classesOn,off:o.classesOff},layout:e.label,testY:l};return h||e.alwaysFit?cc.fit(y):cc.nofit(y,f,p,g)},dc=e=>{const t=Oo(j.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(j.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(j.some(e))}}},fc=()=>dc((e=>e.unbind())),pc=()=>{const e=dc(v);return{...e,on:t=>e.get().each(t)}},hc=B,mc=(e,t,n)=>((e,t,n,r)=>En(e,t,n,r,!1))(e,t,hc,n),gc=(e,t,n)=>((e,t,n,r)=>En(e,t,n,r,!0))(e,t,hc,n),vc=Sn,bc=["top","bottom","right","left"],yc="data-alloy-transition-timer",Ac=(e,t)=>((e,t)=>$(t,(t=>Ka(e,t))))(e,t.classes),xc=(e,t)=>{const n=e=>parseFloat(e).toFixed(3);return ge(t,((t,r)=>!((e,t,n=C)=>_e(e,t,n).getOr(e.isNone()&&t.isNone()))(e[r].map(n),t.map(n)))).isSome()},Cc=(e,t)=>{const n=fc(),r=fc();let o;const a=t=>{var n;const r=null!==(n=t.raw.pseudoElement)&&void 0!==n?n:"";return Ge(t.target,e)&&!je(r)&&L(bc,t.raw.propertyName)},s=i=>{if(f(i)||a(i)){n.clear(),r.clear();const a=null==i?void 0:i.raw.type;(f(a)||a===ai())&&(clearTimeout(o),wt(e,yc),Xa(e,t.classes))}},l=mc(e,si(),(t=>{a(t)&&(l.unbind(),n.set(mc(e,ai(),s)),r.set(mc(e,ii(),s)))})),c=(e=>{const t=t=>{const n=jt(e,t).split(/\s*,\s*/);return H(n,je)},n=e=>{if(i(e)&&/^[\d.]+/.test(e)){const t=parseFloat(e);return Be(e,"ms")?t:1e3*t}return 0},r=t("transition-delay"),o=t("transition-duration");return V(o,((e,t,o)=>{const i=n(r[o])+n(t);return Math.max(e,i)}),0)})(e);requestAnimationFrame((()=>{o=setTimeout(s,c+17),yt(e,yc,o)}))},_c=(e,t,n,r,o,i)=>{const a=((e,t,n)=>n.exists((n=>{const r=e.mode;return"all"===r||n[r]!==t[r]})))(r,o,i);if(a||Ac(e,r)){Et(e,"position",n.position);const i=tc(t,e),s=ec(t,{...o,rect:i}),l=J(bc,(e=>s[e]));xc(n,l)&&(Ot(e,l),a&&((e,t)=>{$a(e,t.classes),Ct(e,yc).each((t=>{clearTimeout(parseInt(t,10)),wt(e,yc)})),Cc(e,t)})(e,r),Lt(e))}else Xa(e,r.classes)},wc=(e,t,n,r)=>{Rt(t,"max-height"),Rt(t,"max-width");const o={width:Gt(i=t),height:zt(i)};var i;return((e,t,n,r,o,i)=>{const a=r.width,s=r.height,l=(t,l,c,u,d)=>{const f=t(n,r,o,e,i),p=uc(f,a,s,i);return p.fold(A(p),((e,t,n,r)=>(d===r?n>u||t>c:!d&&r)?p:cc.nofit(l,c,u,d)))},c=V(t,((e,t)=>{const n=_(l,t);return e.fold(A(e),n)}),cc.nofit({rect:n,maxHeight:r.height,maxWidth:r.width,direction:Js(),placement:"southeast",classes:{on:[],off:[]},layout:"none",testY:n.y},-1,-1,!1));return c.fold(x,x)})(t,r.preference,e,o,n,r.bounds)},kc=(e,t)=>{((e,t)=>{yt(e,sc,t)})(e,t.placement)},Sc=(e,t)=>{((e,t)=>{const n=Nt.max(e,t,["margin-top","border-top-width","padding-top","padding-bottom","border-bottom-width","margin-bottom"]);Et(e,"max-height",n+"px")})(e,Math.floor(t))},Ec=A(((e,t)=>{Sc(e,t),Bt(e,{"overflow-x":"hidden","overflow-y":"auto"})})),Bc=A(((e,t)=>{Sc(e,t)})),Oc=(e,t,n)=>void 0===e[t]?n:e[t],jc=(e,t,n,r)=>{const o=wc(e,t,n,r);return((e,t,n)=>{const r=ec(n.origin,t);n.transition.each((o=>{_c(e,n.origin,r,o,t,n.lastPlacement)})),Xl(e,r)})(t,o,r),kc(t,o),((e,t)=>{const n=t.classes;Xa(e,n.off),$a(e,n.on)})(t,o),((e,t,n)=>{(0,n.maxHeightFunction)(e,t.maxHeight)})(t,o,r),((e,t,n)=>{(0,n.maxWidthFunction)(e,t.maxWidth)})(t,o,r),{layout:o.layout,placement:o.placement}},Tc=["valignCentre","alignLeft","alignRight","alignCentre","top","bottom","left","right","inset"],Pc=(e,t,n,r=1)=>{const o=e*r,i=t*r,a=e=>be(n,e).getOr([]),s=(e,t,n)=>{const r=Q(Tc,n);return{offset:Ut(e,t),classesOn:K(n,a),classesOff:K(r,a)}};return{southeast:()=>s(-e,t,["top","alignLeft"]),southwest:()=>s(e,t,["top","alignRight"]),south:()=>s(-e/2,t,["top","alignCentre"]),northeast:()=>s(-e,-t,["bottom","alignLeft"]),northwest:()=>s(e,-t,["bottom","alignRight"]),north:()=>s(-e/2,-t,["bottom","alignCentre"]),east:()=>s(e,-t/2,["valignCentre","left"]),west:()=>s(-e,-t/2,["valignCentre","right"]),insetNortheast:()=>s(o,i,["top","alignLeft","inset"]),insetNorthwest:()=>s(-o,i,["top","alignRight","inset"]),insetNorth:()=>s(-o/2,i,["top","alignCentre","inset"]),insetSoutheast:()=>s(o,-i,["bottom","alignLeft","inset"]),insetSouthwest:()=>s(-o,-i,["bottom","alignRight","inset"]),insetSouth:()=>s(-o/2,-i,["bottom","alignCentre","inset"]),insetEast:()=>s(-o,-i/2,["valignCentre","right","inset"]),insetWest:()=>s(o,-i/2,["valignCentre","left","inset"])}},Mc=()=>Pc(0,0,{}),Dc=x,Rc=(e,t)=>n=>"rtl"===Lc(n)?t:e,Lc=e=>"rtl"===jt(e,"direction")?"rtl":"ltr";var Ic;!function(e){e.TopToBottom="toptobottom",e.BottomToTop="bottomtotop"}(Ic||(Ic={}));const Nc="data-alloy-vertical-dir",Fc=e=>xs(e,(e=>qe(e)&&xt(e,"data-alloy-vertical-dir")===Ic.BottomToTop)),zc=()=>yo("layouts",[no("onLtr"),no("onRtl"),fo("onBottomLtr"),fo("onBottomRtl")]),qc=(e,t,n,r,o,i,a)=>{const s=a.map(Fc).getOr(!1),l=t.layouts.map((t=>t.onLtr(e))),c=t.layouts.map((t=>t.onRtl(e))),u=s?t.layouts.bind((t=>t.onBottomLtr.map((t=>t(e))))).or(l).getOr(o):l.getOr(n),d=s?t.layouts.bind((t=>t.onBottomRtl.map((t=>t(e))))).or(c).getOr(i):c.getOr(r);return Rc(u,d)(e)};var Uc=[no("hotspot"),fo("bubble"),Ao("overrides",{}),zc(),Gs("placement",((e,t,n)=>{const r=t.hotspot,o=tc(n,r.element),i=qc(e.element,t,Ol(),jl(),El(),Bl(),j.some(t.hotspot.element));return j.some(Dc({anchorBox:o,bubble:t.bubble.getOr(Mc()),overrides:t.overrides,layouts:i,placer:j.none()}))}))];var Hc=[no("x"),no("y"),Ao("height",0),Ao("width",0),Ao("bubble",Mc()),Ao("overrides",{}),zc(),Gs("placement",((e,t,n)=>{const r=rc(n,t.x,t.y),o=Wn(r.left,r.top,t.width,t.height),i=qc(e.element,t,kl(),Sl(),kl(),Sl(),j.none());return j.some(Dc({anchorBox:o,bubble:t.bubble,overrides:t.overrides,layouts:i,placer:j.none()}))}))];const Wc=jo([{screen:["point"]},{absolute:["point","scrollLeft","scrollTop"]}]),Vc=e=>e.fold(x,((e,t,n)=>e.translate(-t,-n))),Yc=e=>e.fold(x,x),Zc=e=>V(e,((e,t)=>e.translate(t.left,t.top)),Ut(0,0)),Gc=e=>{const t=z(e,Yc);return Zc(t)},Kc=Wc.screen,$c=Wc.absolute,Xc=(e,t,n)=>{const r=$e(e.element),o=Ln(r),i=((e,t,n)=>{const r=Je(n.root).dom;return j.from(r.frameElement).map(Me.fromDom).filter((t=>{const n=$e(t),r=$e(e.element);return Ge(n,r)})).map(Wt)})(e,0,n).getOr(o);return $c(i,o.left,o.top)},Qc=(e,t,n,r)=>{const o=Kc(Ut(e,t));return j.some(((e,t,n)=>({point:e,width:t,height:n}))(o,n,r))},Jc=(e,t,n,r,o)=>e.map((e=>{const i=[t,e.point],a=(s=()=>Gc(i),l=()=>Gc(i),c=()=>(e=>{const t=z(e,Vc);return Zc(t)})(i),r.fold(s,l,c));var s,l,c;const u=((e,t,n,r)=>({x:e,y:t,width:n,height:r}))(a.left,a.top,e.width,e.height),d=n.showAbove?El():Ol(),f=n.showAbove?Bl():jl(),p=qc(o,n,d,f,d,f,j.none());return Dc({anchorBox:u,bubble:n.bubble.getOr(Mc()),overrides:n.overrides,layouts:p,placer:j.none()})}));var eu=[no("node"),no("root"),fo("bubble"),zc(),Ao("overrides",{}),Ao("showAbove",!1),Gs("placement",((e,t,n)=>{const r=Xc(e,0,t);return t.node.filter(mt).bind((o=>{const i=o.dom.getBoundingClientRect(),a=Qc(i.left,i.top,i.width,i.height),s=t.node.getOr(e.element);return Jc(a,r,t,n,s)}))}))];const tu=(e,t,n,r)=>({start:e,soffset:t,finish:n,foffset:r}),nu=jo([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),ru=(nu.before,nu.on,nu.after,e=>e.fold(x,x,x)),ou=jo([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),iu={domRange:ou.domRange,relative:ou.relative,exact:ou.exact,exactFromRange:e=>ou.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>Me.fromDom(e.startContainer),relative:(e,t)=>ru(e),exact:(e,t,n,r)=>e}))(e);return Je(t)},range:tu},au=(e,t,n)=>{const r=e.document.createRange();var o;return o=r,t.fold((e=>{o.setStartBefore(e.dom)}),((e,t)=>{o.setStart(e.dom,t)}),(e=>{o.setStartAfter(e.dom)})),((e,t)=>{t.fold((t=>{e.setEndBefore(t.dom)}),((t,n)=>{e.setEnd(t.dom,n)}),(t=>{e.setEndAfter(t.dom)}))})(r,n),r},su=(e,t,n,r,o)=>{const i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},lu=e=>({left:e.left,top:e.top,right:e.right,bottom:e.bottom,width:e.width,height:e.height}),cu=jo([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),uu=(e,t,n)=>t(Me.fromDom(n.startContainer),n.startOffset,Me.fromDom(n.endContainer),n.endOffset),du=(e,t)=>{const n=((e,t)=>t.match({domRange:e=>({ltr:A(e),rtl:j.none}),relative:(t,n)=>({ltr:Kt((()=>au(e,t,n))),rtl:Kt((()=>j.some(au(e,n,t))))}),exact:(t,n,r,o)=>({ltr:Kt((()=>su(e,t,n,r,o))),rtl:Kt((()=>j.some(su(e,r,o,t,n))))})}))(e,t);return((e,t)=>{const n=t.ltr();if(n.collapsed)return t.rtl().filter((e=>!1===e.collapsed)).map((e=>cu.rtl(Me.fromDom(e.endContainer),e.endOffset,Me.fromDom(e.startContainer),e.startOffset))).getOrThunk((()=>uu(0,cu.ltr,n)));return uu(0,cu.ltr,n)})(0,n)},fu=(e,t)=>du(e,t).match({ltr:(t,n,r,o)=>{const i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},rtl:(t,n,r,o)=>{const i=e.document.createRange();return i.setStart(r.dom,o),i.setEnd(t.dom,n),i}});cu.ltr,cu.rtl;const pu=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return Ze(n)?[]:z(n.querySelectorAll(e),Me.fromDom)})(t,e),hu=(e,t,n,r)=>{const o=((e,t,n,r)=>{const o=$e(e).dom.createRange();return o.setStart(e.dom,t),o.setEnd(n.dom,r),o})(e,t,n,r),i=Ge(e,n)&&t===r;return o.collapsed&&!i},mu=e=>{if(e.rangeCount>0){const t=e.getRangeAt(0),n=e.getRangeAt(e.rangeCount-1);return j.some(tu(Me.fromDom(t.startContainer),t.startOffset,Me.fromDom(n.endContainer),n.endOffset))}return j.none()},gu=e=>{if(null===e.anchorNode||null===e.focusNode)return mu(e);{const t=Me.fromDom(e.anchorNode),n=Me.fromDom(e.focusNode);return hu(t,e.anchorOffset,n,e.focusOffset)?j.some(tu(t,e.anchorOffset,n,e.focusOffset)):mu(e)}},vu=e=>(e=>j.from(e.getSelection()))(e).filter((e=>e.rangeCount>0)).bind(gu),bu=(e,t)=>(e=>{const t=e.getClientRects(),n=t.length>0?t[0]:e.getBoundingClientRect();return n.width>0||n.height>0?j.some(n).map(lu):j.none()})(fu(e,t)),yu=(e,t)=>(e=>{const t=e.getBoundingClientRect();return t.width>0||t.height>0?j.some(t).map(lu):j.none()})(fu(e,t)),Au=((e,t)=>{const n=t=>e(t)?j.from(t.dom.nodeValue):j.none();return{get:r=>{if(!e(r))throw new Error("Can only get "+t+" value of a "+t+" node");return n(r).getOr("")},getOption:n,set:(n,r)=>{if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom.nodeValue=r}}})(Ue,"text"),xu=(e,t)=>({element:e,offset:t}),Cu=(e,t)=>{const n=rt(e);if(0===n.length)return xu(e,t);if(t<n.length)return xu(n[t],0);{const e=n[n.length-1],t=Ue(e)?(e=>Au.get(e))(e).length:rt(e).length;return xu(e,t)}},_u=(e,t)=>Ue(e)?xu(e,t):Cu(e,t),wu=(e,t)=>t.getSelection.getOrThunk((()=>()=>vu(e)))().map((e=>{const t=_u(e.start,e.soffset),n=_u(e.finish,e.foffset);return iu.range(t.element,t.offset,n.element,n.offset)}));var ku=[fo("getSelection"),no("root"),fo("bubble"),zc(),Ao("overrides",{}),Ao("showAbove",!1),Gs("placement",((e,t,n)=>{const r=Je(t.root).dom,o=Xc(e,0,t),i=wu(r,t).bind((e=>{const t=yu(r,iu.exactFromRange(e)).orThunk((()=>{const t=Me.fromText("\ufeff");On(e.start,t);const n=bu(r,iu.exact(t,0,t,1));return Rn(t),n}));return t.bind((e=>Qc(e.left,e.top,e.width,e.height)))})),a=wu(r,t).bind((e=>qe(e.start)?j.some(e.start):tt(e.start))).getOr(e.element);return Jc(i,o,t,n,a)}))];const Su="link-layout",Eu=e=>e.x+e.width,Bu=(e,t)=>e.x-t.width,Ou=(e,t)=>e.y-t.height+e.height,ju=e=>e.y,Tu=(e,t,n)=>Xs(Eu(e),ju(e),n.southeast(),Js(),"southeast",cl(e,{left:0,top:2}),Su),Pu=(e,t,n)=>Xs(Bu(e,t),ju(e),n.southwest(),el(),"southwest",cl(e,{right:1,top:2}),Su),Mu=(e,t,n)=>Xs(Eu(e),Ou(e,t),n.northeast(),tl(),"northeast",cl(e,{left:0,bottom:3}),Su),Du=(e,t,n)=>Xs(Bu(e,t),Ou(e,t),n.northwest(),nl(),"northwest",cl(e,{right:1,bottom:3}),Su),Ru=()=>[Tu,Pu,Mu,Du],Lu=()=>[Pu,Tu,Du,Mu];var Iu=[no("item"),zc(),Ao("overrides",{}),Gs("placement",((e,t,n)=>{const r=tc(n,t.item.element),o=qc(e.element,t,Ru(),Lu(),Ru(),Lu(),j.none());return j.some(Dc({anchorBox:r,bubble:Mc(),overrides:t.overrides,layouts:o,placer:j.none()}))}))],Nu=Qr("type",{selection:ku,node:eu,hotspot:Uc,submenu:Iu,makeshift:Hc});const Fu=[uo("classes",Fr),wo("mode","all",["all","layout","placement"])],zu=[Ao("useFixed",E),fo("getBounds")],qu=[ro("anchor",Nu),yo("transition",Fu)],Uu=(e,t,n,r,o,i,a)=>((e,t,n,r,o,i,a,s)=>{const l=Oc(a,"maxHeightFunction",Ec()),c=Oc(a,"maxWidthFunction",v),u=e.anchorBox,d=e.origin,f={bounds:nc(d,i),origin:d,preference:r,maxHeightFunction:l,maxWidthFunction:c,lastPlacement:o,transition:s};return jc(u,t,n,f)})(ac(n.anchorBox,t),o.element,n.bubble,n.layouts,i,r,n.overrides,a),Hu=(e,t,n,r,o,i)=>{const a=i.map(Vn);return Wu(e,t,n,r,o,a)},Wu=(e,t,n,r,o,i)=>{const a=$r("placement.info",Tr(qu),o),s=a.anchor,l=r.element,c=n.get(r.uid);Kl((()=>{Et(l,"position","fixed");const o=Pt(l,"visibility");Et(l,"visibility","hidden");const u=t.useFixed()?(()=>{const e=document.documentElement;return ic(0,0,e.clientWidth,e.clientHeight)})():(e=>{const t=Wt(e.element),n=e.element.dom.getBoundingClientRect();return oc(t.left,t.top,n.width,n.height)})(e),d=s.placement,f=i.map(A).or(t.getBounds);d(e,s,u).each((t=>{const o=t.placer.getOr(Uu)(e,u,t,f,r,c,a.transition);n.set(r.uid,o)})),o.fold((()=>{Rt(l,"visibility")}),(e=>{Et(l,"visibility",e)})),Pt(l,"left").isNone()&&Pt(l,"top").isNone()&&Pt(l,"right").isNone()&&Pt(l,"bottom").isNone()&&xe(Pt(l,"position"),"fixed")&&Rt(l,"position")}),l)};var Vu=Object.freeze({__proto__:null,position:(e,t,n,r,o)=>{Hu(e,t,n,r,o,j.none())},positionWithin:Hu,positionWithinBounds:Wu,getMode:(e,t,n)=>t.useFixed()?"fixed":"absolute",reset:(e,t,n,r)=>{const o=r.element;q(["position","left","right","top","bottom"],(e=>Rt(o,e))),(e=>{wt(e,sc)})(o),n.clear(r.uid)}});const Yu=Fl({fields:zu,name:"positioning",active:Wl,apis:Vu,state:Object.freeze({__proto__:null,init:()=>{let e={};return Oa({readState:()=>e,clear:t=>{p(t)?delete e[t]:e={}},set:(t,n)=>{e[t]=n},get:t=>be(e,t)})}})}),Zu=e=>e.getSystem().isConnected(),Gu=e=>{Li(e,Ei());const t=e.components();q(t,Gu)},Ku=e=>{const t=e.components();q(t,Ku),Li(e,Si())},$u=(e,t)=>{e.getSystem().addToWorld(t),mt(e.element)&&Ku(t)},Xu=e=>{Gu(e),e.getSystem().removeFromWorld(e)},Qu=(e,t)=>{Pn(e.element,t.element)},Ju=(e,t,n)=>{const r=e.components();(e=>{q(e.components(),(e=>Rn(e.element))),Dn(e.element),e.syncComponents()})(e);const o=n(t),i=Q(r,o);q(i,(t=>{Gu(t),e.getSystem().removeFromWorld(t)})),q(o,(t=>{Zu(t)?Qu(e,t):(e.getSystem().addToWorld(t),Qu(e,t),mt(e.element)&&Ku(t))})),e.syncComponents()},ed=(e,t)=>{td(e,t,Pn)},td=(e,t,n)=>{e.getSystem().addToWorld(t),n(e.element,t.element),mt(e.element)&&Ku(t),e.syncComponents()},nd=e=>{Gu(e),Rn(e.element),e.getSystem().removeFromWorld(e)},rd=e=>{const t=et(e.element).bind((t=>e.getSystem().getByDom(t).toOptional()));nd(e),t.each((e=>{e.syncComponents()}))},od=e=>{const t=e.components();q(t,nd),Dn(e.element),e.syncComponents()},id=(e,t)=>{ad(e,t,Pn)},ad=(e,t,n)=>{n(e,t.element);const r=rt(t.element);q(r,(e=>{t.getByDom(e).each(Ku)}))},sd=e=>{const t=rt(e.element);q(t,(t=>{e.getByDom(t).each(Gu)})),Rn(e.element)},ld=(e,t,n,r)=>{n.get().each((t=>{od(e)}));const o=t.getAttachPoint(e);ed(o,e);const i=e.getSystem().build(r);return ed(e,i),n.set(i),i},cd=(e,t,n,r)=>{const o=ld(e,t,n,r);return t.onOpen(e,o),o},ud=(e,t,n)=>{n.get().each((r=>{od(e),rd(e),t.onClose(e,r),n.clear()}))},dd=(e,t,n)=>n.isOpen(),fd=(e,t,n)=>{const r=t.getAttachPoint(e);Et(e.element,"position",Yu.getMode(r)),((e,t,n,r)=>{Pt(e.element,t).fold((()=>{wt(e.element,n)}),(t=>{yt(e.element,n,t)})),Et(e.element,t,r)})(e,"visibility",t.cloakVisibilityAttr,"hidden")},pd=(e,t,n)=>{(e=>I(["top","left","right","bottom"],(t=>Pt(e,t).isSome())))(e.element)||Rt(e.element,"position"),((e,t,n)=>{Ct(e.element,n).fold((()=>Rt(e.element,t)),(n=>Et(e.element,t,n)))})(e,"visibility",t.cloakVisibilityAttr)};var hd=Object.freeze({__proto__:null,cloak:fd,decloak:pd,open:cd,openWhileCloaked:(e,t,n,r,o)=>{fd(e,t),cd(e,t,n,r),o(),pd(e,t)},close:ud,isOpen:dd,isPartOf:(e,t,n,r)=>dd(0,0,n)&&n.get().exists((n=>t.isPartOf(e,n,r))),getState:(e,t,n)=>n.get(),setContent:(e,t,n,r)=>n.get().map((()=>ld(e,t,n,r)))});var md=Object.freeze({__proto__:null,events:(e,t)=>Ui([Vi(yi(),((n,r)=>{ud(n,e,t)}))])}),gd=[Ws("onOpen"),Ws("onClose"),no("isPartOf"),no("getAttachPoint"),Ao("cloakVisibilityAttr","data-precloak-visibility")];var vd=Object.freeze({__proto__:null,init:()=>{const e=pc(),t=A("not-implemented");return Oa({readState:t,isOpen:e.isSet,clear:e.clear,set:e.set,get:e.get})}});const bd=Fl({fields:gd,name:"sandboxing",active:md,apis:hd,state:vd}),yd=A("dismiss.popups"),Ad=A("reposition.popups"),xd=A("mouse.released"),Cd=jr([Ao("isExtraPart",E),yo("fireEventInstead",[Ao("event",Bi())])]),_d=e=>{const t=$r("Dismissal",Cd,e);return{[yd()]:{schema:jr([no("target")]),onReceive:(e,n)=>{if(bd.isOpen(e)){bd.isPartOf(e,n.target)||t.isExtraPart(e,n.target)||t.fireEventInstead.fold((()=>bd.close(e)),(t=>Li(e,t.event)))}}}}},wd=jr([yo("fireEventInstead",[Ao("event",Oi())]),so("doReposition")]),kd=e=>{const t=$r("Reposition",wd,e);return{[Ad()]:{onReceive:e=>{bd.isOpen(e)&&t.fireEventInstead.fold((()=>t.doReposition(e)),(t=>Li(e,t.event)))}}}},Sd=(e,t,n)=>{t.store.manager.onLoad(e,t,n)},Ed=(e,t,n)=>{t.store.manager.onUnload(e,t,n)};var Bd=Object.freeze({__proto__:null,onLoad:Sd,onUnload:Ed,setValue:(e,t,n,r)=>{t.store.manager.setValue(e,t,n,r)},getValue:(e,t,n)=>t.store.manager.getValue(e,t,n),getState:(e,t,n)=>n});var Od=Object.freeze({__proto__:null,events:(e,t)=>{const n=e.resetOnDom?[Ji(((n,r)=>{Sd(n,e,t)})),ea(((n,r)=>{Ed(n,e,t)}))]:[Ml(e,t,Sd)];return Ui(n)}});const jd=()=>{const e=Oo(null);return Oa({set:e.set,get:e.get,isNotSet:()=>null===e.get(),clear:()=>{e.set(null)},readState:()=>({mode:"memory",value:e.get()})})},Td=()=>{const e=Oo({}),t=Oo({});return Oa({readState:()=>({mode:"dataset",dataByValue:e.get(),dataByText:t.get()}),lookup:n=>be(e.get(),n).orThunk((()=>be(t.get(),n))),update:n=>{const r=e.get(),o=t.get(),i={},a={};q(n,(e=>{i[e.value]=e,be(e,"meta").each((t=>{be(t,"text").each((t=>{a[t]=e}))}))})),e.set({...r,...i}),t.set({...o,...a})},clear:()=>{e.set({}),t.set({})}})};var Pd=Object.freeze({__proto__:null,memory:jd,dataset:Td,manual:()=>Oa({readState:v}),init:e=>e.store.manager.state(e)});const Md=(e,t,n,r)=>{const o=t.store;n.update([r]),o.setValue(e,r),t.onSetValue(e,r)};var Dd=[fo("initialValue"),no("getFallbackEntry"),no("getDataKey"),no("setValue"),Gs("manager",{setValue:Md,getValue:(e,t,n)=>{const r=t.store,o=r.getDataKey(e);return n.lookup(o).getOrThunk((()=>r.getFallbackEntry(o)))},onLoad:(e,t,n)=>{t.store.initialValue.each((r=>{Md(e,t,n,r)}))},onUnload:(e,t,n)=>{n.clear()},state:Td})];var Rd=[no("getValue"),Ao("setValue",v),fo("initialValue"),Gs("manager",{setValue:(e,t,n,r)=>{t.store.setValue(e,r),t.onSetValue(e,r)},getValue:(e,t,n)=>t.store.getValue(e),onLoad:(e,t,n)=>{t.store.initialValue.each((n=>{t.store.setValue(e,n)}))},onUnload:v,state:Ba.init})];var Ld=[fo("initialValue"),Gs("manager",{setValue:(e,t,n,r)=>{n.set(r),t.onSetValue(e,r)},getValue:(e,t,n)=>n.get(),onLoad:(e,t,n)=>{t.store.initialValue.each((e=>{n.isNotSet()&&n.set(e)}))},onUnload:(e,t,n)=>{n.clear()},state:jd})],Id=[xo("store",{mode:"memory"},Qr("mode",{memory:Ld,manual:Rd,dataset:Dd})),Ws("onSetValue"),Ao("resetOnDom",!1)];const Nd=Fl({fields:Id,name:"representing",active:Od,apis:Bd,extra:{setValueFrom:(e,t)=>{const n=Nd.getValue(t);Nd.setValue(e,n)}},state:Pd}),Fd=(e,t)=>Bo(e,{},z(t,(t=>{return n=t.name(),r="Cannot configure "+t.name()+" for "+e,Jr(n,n,{tag:"option",process:{}},_r((e=>ir("The field: "+n+" is forbidden. "+r))));var n,r})).concat([eo("dump",x)])),zd=e=>e.dump,qd=(e,t)=>({...Il(t),...e.dump}),Ud=Fd,Hd=qd,Wd="placeholder",Vd=jo([{single:["required","valueThunk"]},{multiple:["required","valueThunks"]}]),Yd=e=>ye(e,"uiType"),Zd=(e,t,n,r)=>Yd(n)&&n.uiType===Wd?((e,t,n,r)=>e.exists((e=>e!==n.owner))?Vd.single(!0,A(n)):be(r,n.name).fold((()=>{throw new Error("Unknown placeholder component: "+n.name+"\nKnown: ["+se(r)+"]\nNamespace: "+e.getOr("none")+"\nSpec: "+JSON.stringify(n,null,2))}),(e=>e.replace())))(e,0,n,r):Vd.single(!1,A(n)),Gd=(e,t,n,r)=>Zd(e,0,n,r).fold(((o,i)=>{const a=Yd(n)?i(t,n.config,n.validated):i(t),s=be(a,"components").getOr([]),l=K(s,(n=>Gd(e,t,n,r)));return[{...a,components:l}]}),((e,r)=>{if(Yd(n)){const e=r(t,n.config,n.validated);return n.validated.preprocess.getOr(x)(e)}return r(t)})),Kd=(e,t,n,r)=>{const o=ue(r,((e,t)=>((e,t)=>{let n=!1;return{name:A(e),required:()=>t.fold(((e,t)=>e),((e,t)=>e)),used:()=>n,replace:()=>{if(n)throw new Error("Trying to use the same placeholder more than once: "+e);return n=!0,t}}})(t,e))),i=((e,t,n,r)=>K(n,(n=>Gd(e,t,n,r))))(e,t,n,o);return ce(o,(n=>{if(!1===n.used()&&n.required())throw new Error("Placeholder: "+n.name()+" was not found in components list\nNamespace: "+e.getOr("none")+"\nComponents: "+JSON.stringify(t.components,null,2))})),i},$d=Vd.single,Xd=Vd.multiple,Qd=A(Wd),Jd=jo([{required:["data"]},{external:["data"]},{optional:["data"]},{group:["data"]}]),ef=Ao("factory",{sketch:x}),tf=Ao("schema",[]),nf=no("name"),rf=Jr("pname","pname",gr((e=>"<alloy."+da(e.name)+">")),Lr()),of=eo("schema",(()=>[fo("preprocess")])),af=Ao("defaults",A({})),sf=Ao("overrides",A({})),lf=Tr([ef,tf,nf,rf,af,sf]),cf=Tr([ef,tf,nf,af,sf]),uf=Tr([ef,tf,nf,rf,af,sf]),df=Tr([ef,of,nf,no("unit"),rf,af,sf]),ff=e=>e.fold(j.some,j.none,j.some,j.some),pf=e=>{const t=e=>e.name;return e.fold(t,t,t,t)},hf=(e,t)=>n=>{const r=$r("Converting part type",t,n);return e(r)},mf=hf(Jd.required,lf),gf=hf(Jd.external,cf),vf=hf(Jd.optional,uf),bf=hf(Jd.group,df),yf=A("entirety");var Af=Object.freeze({__proto__:null,required:mf,external:gf,optional:vf,group:bf,asNamedPart:ff,name:pf,asCommon:e=>e.fold(x,x,x,x),original:yf});const xf=(e,t,n,r)=>hr(t.defaults(e,n,r),n,{uid:e.partUids[t.name]},t.overrides(e,n,r)),Cf=(e,t)=>{const n={};return q(t,(t=>{ff(t).each((t=>{const r=_f(e,t.pname);n[t.name]=n=>{const o=$r("Part: "+t.name+" in "+e,Tr(t.schema),n);return{...r,config:n,validated:o}}}))})),n},_f=(e,t)=>({uiType:Qd(),owner:e,name:t}),wf=(e,t,n)=>({uiType:Qd(),owner:e,name:t,config:n,validated:{}}),kf=e=>K(e,(e=>e.fold(j.none,j.some,j.none,j.none).map((e=>lo(e.name,e.schema.concat([Ks(yf())])))).toArray())),Sf=e=>z(e,pf),Ef=(e,t,n)=>((e,t,n)=>{const r={},o={};return q(n,(e=>{e.fold((e=>{r[e.pname]=$d(!0,((t,n,r)=>e.factory.sketch(xf(t,e,n,r))))}),(e=>{const n=t.parts[e.name];o[e.name]=A(e.factory.sketch(xf(t,e,n[yf()]),n))}),(e=>{r[e.pname]=$d(!1,((t,n,r)=>e.factory.sketch(xf(t,e,n,r))))}),(e=>{r[e.pname]=Xd(!0,((t,n,r)=>{const o=t[e.name];return z(o,(n=>e.factory.sketch(hr(e.defaults(t,n,r),n,e.overrides(t,n)))))}))}))})),{internals:A(r),externals:A(o)}})(0,t,n),Bf=(e,t,n)=>Kd(j.some(e),t,t.components,n),Of=(e,t,n)=>{const r=t.partUids[n];return e.getSystem().getByUid(r).toOptional()},jf=(e,t,n)=>Of(e,t,n).getOrDie("Could not find part: "+n),Tf=(e,t,n)=>{const r={},o=t.partUids,i=e.getSystem();return q(n,(e=>{r[e]=A(i.getByUid(o[e]))})),r},Pf=(e,t)=>{const n=e.getSystem();return ue(t.partUids,((e,t)=>A(n.getByUid(e))))},Mf=e=>se(e.partUids),Df=(e,t,n)=>{const r={},o=t.partUids,i=e.getSystem();return q(n,(e=>{r[e]=A(i.getByUid(o[e]).getOrDie())})),r},Rf=(e,t)=>{const n=Sf(t);return Mo(z(n,(t=>({key:t,value:e+"-"+t}))))},Lf=e=>Jr("partUids","partUids",br((t=>Rf(t.uid,e))),Lr());var If=Object.freeze({__proto__:null,generate:Cf,generateOne:wf,schemas:kf,names:Sf,substitutes:Ef,components:Bf,defaultUids:Rf,defaultUidsSchema:Lf,getAllParts:Pf,getAllPartNames:Mf,getPart:Of,getPartOrDie:jf,getParts:Tf,getPartsOrDie:Df});const Nf=(e,t,n,r,o)=>{const i=((e,t)=>(e.length>0?[lo("parts",e)]:[]).concat([no("uid"),Ao("dom",{}),Ao("components",[]),Ks("originalSpec"),Ao("debug.sketcher",{})]).concat(t))(r,o);return $r(e+" [SpecSchema]",jr(i.concat(t)),n)},Ff=(e,t,n,r,o)=>{const i=zf(o),a=kf(n),s=Lf(n),l=Nf(e,t,i,a,[s]),c=Ef(0,l,n);return r(l,Bf(e,l,c.internals()),i,c.externals())},zf=e=>(e=>ye(e,"uid"))(e)?e:{...e,uid:ba("uid")},qf=jr([no("name"),no("factory"),no("configFields"),Ao("apis",{}),Ao("extraApis",{})]),Uf=jr([no("name"),no("factory"),no("configFields"),no("partFields"),Ao("apis",{}),Ao("extraApis",{})]),Hf=e=>{const t=$r("Sketcher for "+e.name,qf,e),n=ue(t.apis,Ea),r=ue(t.extraApis,((e,t)=>_a(e,t)));return{name:t.name,configFields:t.configFields,sketch:e=>((e,t,n,r)=>{const o=zf(r);return n(Nf(e,t,o,[],[]),o)})(t.name,t.configFields,t.factory,e),...n,...r}},Wf=e=>{const t=$r("Sketcher for "+e.name,Uf,e),n=Cf(t.name,t.partFields),r=ue(t.apis,Ea),o=ue(t.extraApis,((e,t)=>_a(e,t)));return{name:t.name,partFields:t.partFields,configFields:t.configFields,sketch:e=>Ff(t.name,t.configFields,t.partFields,t.factory,e),parts:n,...r,...o}},Vf=e=>Ve("input")(e)&&"radio"!==xt(e,"type")||Ve("textarea")(e);var Yf=Object.freeze({__proto__:null,getCurrent:(e,t,n)=>t.find(e)});const Zf=[no("find")],Gf=Fl({fields:Zf,name:"composing",apis:Yf}),Kf=["input","button","textarea","select"],$f=(e,t,n)=>{(t.disabled()?np:rp)(e,t)},Xf=(e,t)=>!0===t.useNative&&L(Kf,Fe(e.element)),Qf=e=>{yt(e.element,"disabled","disabled")},Jf=e=>{wt(e.element,"disabled")},ep=e=>{yt(e.element,"aria-disabled","true")},tp=e=>{yt(e.element,"aria-disabled","false")},np=(e,t,n)=>{t.disableClass.each((t=>{Za(e.element,t)}));(Xf(e,t)?Qf:ep)(e),t.onDisabled(e)},rp=(e,t,n)=>{t.disableClass.each((t=>{Ga(e.element,t)}));(Xf(e,t)?Jf:tp)(e),t.onEnabled(e)},op=(e,t)=>Xf(e,t)?(e=>_t(e.element,"disabled"))(e):(e=>"true"===xt(e.element,"aria-disabled"))(e);var ip=Object.freeze({__proto__:null,enable:rp,disable:np,isDisabled:op,onLoad:$f,set:(e,t,n,r)=>{(r?np:rp)(e,t)}});var ap=Object.freeze({__proto__:null,exhibit:(e,t)=>Ta({classes:t.disabled()?t.disableClass.toArray():[]}),events:(e,t)=>Ui([Hi(mi(),((t,n)=>op(t,e))),Ml(e,t,$f)])}),sp=[So("disabled",E),Ao("useNative",!0),fo("disableClass"),Ws("onDisabled"),Ws("onEnabled")];const lp=Fl({fields:sp,name:"disabling",active:ap,apis:ip}),cp=(e,t,n,r)=>{const o=pu(e.element,"."+t.highlightClass);q(o,(n=>{I(r,(e=>Ge(e.element,n)))||(Ga(n,t.highlightClass),e.getSystem().getByDom(n).each((n=>{t.onDehighlight(e,n),Li(n,Ri())})))}))},up=(e,t,n,r)=>{cp(e,t,0,[r]),dp(e,t,n,r)||(Za(r.element,t.highlightClass),t.onHighlight(e,r),Li(r,Di()))},dp=(e,t,n,r)=>Ka(r.element,t.highlightClass),fp=(e,t,n,r)=>{const o=pu(e.element,"."+t.itemClass);return j.from(o[r]).fold((()=>$n.error(new Error("No element found with index "+r))),e.getSystem().getByDom)},pp=(e,t,n)=>ws(e.element,"."+t.itemClass).bind((t=>e.getSystem().getByDom(t).toOptional())),hp=(e,t,n)=>{const r=pu(e.element,"."+t.itemClass);return(r.length>0?j.some(r[r.length-1]):j.none()).bind((t=>e.getSystem().getByDom(t).toOptional()))},mp=(e,t,n,r)=>{const o=pu(e.element,"."+t.itemClass),i=Z(o,(e=>Ka(e,t.highlightClass)));return i.bind((t=>{const n=sl(t,r,0,o.length-1);return e.getSystem().getByDom(o[n]).toOptional()}))},gp=(e,t,n)=>{const r=pu(e.element,"."+t.itemClass);return Ce(z(r,(t=>e.getSystem().getByDom(t).toOptional())))};var vp=Object.freeze({__proto__:null,dehighlightAll:(e,t,n)=>cp(e,t,0,[]),dehighlight:(e,t,n,r)=>{dp(e,t,n,r)&&(Ga(r.element,t.highlightClass),t.onDehighlight(e,r),Li(r,Ri()))},highlight:up,highlightFirst:(e,t,n)=>{pp(e,t).each((r=>{up(e,t,n,r)}))},highlightLast:(e,t,n)=>{hp(e,t).each((r=>{up(e,t,n,r)}))},highlightAt:(e,t,n,r)=>{fp(e,t,n,r).fold((e=>{throw e}),(r=>{up(e,t,n,r)}))},highlightBy:(e,t,n,r)=>{const o=gp(e,t);Y(o,r).each((r=>{up(e,t,n,r)}))},isHighlighted:dp,getHighlighted:(e,t,n)=>ws(e.element,"."+t.highlightClass).bind((t=>e.getSystem().getByDom(t).toOptional())),getFirst:pp,getLast:hp,getPrevious:(e,t,n)=>mp(e,t,0,-1),getNext:(e,t,n)=>mp(e,t,0,1),getCandidates:gp}),bp=[no("highlightClass"),no("itemClass"),Ws("onHighlight"),Ws("onDehighlight")];const yp=Fl({fields:bp,name:"highlighting",apis:vp}),Ap=[8],xp=[9],Cp=[13],_p=[27],wp=[32],kp=[37],Sp=[38],Ep=[39],Bp=[40],Op=(e,t,n)=>{const r=X(e.slice(0,t)),o=X(e.slice(t+1));return Y(r.concat(o),n)},jp=(e,t,n)=>{const r=X(e.slice(0,t));return Y(r,n)},Tp=(e,t,n)=>{const r=e.slice(0,t),o=e.slice(t+1);return Y(o.concat(r),n)},Pp=(e,t,n)=>{const r=e.slice(t+1);return Y(r,n)},Mp=e=>t=>{const n=t.raw;return L(e,n.which)},Dp=e=>t=>$(e,(e=>e(t))),Rp=e=>!0===e.raw.shiftKey,Lp=e=>!0===e.raw.ctrlKey,Ip=w(Rp),Np=(e,t)=>({matches:e,classification:t}),Fp=(e,t,n)=>{t.exists((e=>n.exists((t=>Ge(t,e)))))||Ii(e,ji(),{prevFocus:t,newFocus:n})},zp=()=>{const e=e=>Gl(e.element);return{get:e,set:(t,n)=>{const r=e(t);t.getSystem().triggerFocus(n,t.element);const o=e(t);Fp(t,r,o)}}},qp=()=>{const e=e=>yp.getHighlighted(e).map((e=>e.element));return{get:e,set:(t,n)=>{const r=e(t);t.getSystem().getByDom(n).fold(v,(e=>{yp.highlight(t,e)}));const o=e(t);Fp(t,r,o)}}};var Up;!function(e){e.OnFocusMode="onFocus",e.OnEnterOrSpaceMode="onEnterOrSpace",e.OnApiMode="onApi"}(Up||(Up={}));const Hp=(e,t,n,r,o)=>{const i=(e,t,n,r,o)=>((e,t)=>{const n=Y(e,(e=>e.matches(t)));return n.map((e=>e.classification))})(n(e,t,r,o),t.event).bind((n=>n(e,t,r,o))),a={schema:()=>e.concat([Ao("focusManager",zp()),xo("focusInside","onFocus",Yr((e=>L(["onFocus","onEnterOrSpace","onApi"],e)?$n.value(e):$n.error("Invalid value for focusInside")))),Gs("handler",a),Gs("state",t),Gs("sendFocusIn",o)]),processKey:i,toEvents:(e,t)=>{const a=e.focusInside!==Up.OnFocusMode?j.none():o(e).map((n=>Vi(di(),((r,o)=>{n(r,e,t),o.stop()})))),s=[Vi(ei(),((r,a)=>{i(r,a,n,e,t).fold((()=>{((n,r)=>{const i=Mp(wp.concat(Cp))(r.event);e.focusInside===Up.OnEnterOrSpaceMode&&i&&No(n,r)&&o(e).each((o=>{o(n,e,t),r.stop()}))})(r,a)}),(e=>{a.stop()}))})),Vi(ti(),((n,o)=>{i(n,o,r,e,t).each((e=>{o.stop()}))}))];return Ui(a.toArray().concat(s))}};return a},Wp=e=>{const t=[fo("onEscape"),fo("onEnter"),Ao("selector",'[data-alloy-tabstop="true"]:not(:disabled)'),Ao("firstTabstop",0),Ao("useTabstopAt",B),fo("visibilitySelector")].concat([e]),n=(e,t)=>{const n=e.visibilitySelector.bind((e=>ks(t,e))).getOr(t);return Ft(n)>0},r=(e,t,r)=>{((e,t)=>{const r=pu(e.element,t.selector),o=H(r,(e=>n(t,e)));return j.from(o[t.firstTabstop])})(e,t).each((n=>{t.focusManager.set(e,n)}))},o=(e,t,r,o,i)=>i(t,r,(e=>((e,t)=>n(e,t)&&e.useTabstopAt(t))(o,e))).fold((()=>o.cyclic?j.some(!0):j.none()),(t=>(o.focusManager.set(e,t),j.some(!0)))),i=(e,t,n,r)=>{const i=pu(e.element,n.selector);return((e,t)=>t.focusManager.get(e).bind((e=>ks(e,t.selector))))(e,n).bind((t=>Z(i,_(Ge,t)).bind((t=>o(e,i,t,n,r)))))},a=A([Np(Dp([Rp,Mp(xp)]),((e,t,n)=>{const r=n.cyclic?Op:jp;return i(e,0,n,r)})),Np(Mp(xp),((e,t,n)=>{const r=n.cyclic?Tp:Pp;return i(e,0,n,r)})),Np(Dp([Ip,Mp(Cp)]),((e,t,n)=>n.onEnter.bind((n=>n(e,t)))))]),s=A([Np(Mp(_p),((e,t,n)=>n.onEscape.bind((n=>n(e,t)))))]);return Hp(t,Ba.init,a,s,(()=>j.some(r)))};var Vp=Wp(eo("cyclic",E)),Yp=Wp(eo("cyclic",B));const Zp=(e,t,n)=>Vf(n)&&Mp(wp)(t.event)?j.none():((e,t,n)=>(Fi(e,n,mi()),j.some(!0)))(e,0,n),Gp=(e,t)=>j.some(!0),Kp=[Ao("execute",Zp),Ao("useSpace",!1),Ao("useEnter",!0),Ao("useControlEnter",!1),Ao("useDown",!1)],$p=(e,t,n)=>n.execute(e,t,e.element);var Xp=Hp(Kp,Ba.init,((e,t,n,r)=>{const o=n.useSpace&&!Vf(e.element)?wp:[],i=n.useEnter?Cp:[],a=n.useDown?Bp:[],s=o.concat(i).concat(a);return[Np(Mp(s),$p)].concat(n.useControlEnter?[Np(Dp([Lp,Mp(Cp)]),$p)]:[])}),((e,t,n,r)=>n.useSpace&&!Vf(e.element)?[Np(Mp(wp),Gp)]:[]),(()=>j.none()));const Qp=()=>{const e=pc();return Oa({readState:()=>e.get().map((e=>({numRows:String(e.numRows),numColumns:String(e.numColumns)}))).getOr({numRows:"?",numColumns:"?"}),setGridSize:(t,n)=>{e.set({numRows:t,numColumns:n})},getNumRows:()=>e.get().map((e=>e.numRows)),getNumColumns:()=>e.get().map((e=>e.numColumns))})};var Jp=Object.freeze({__proto__:null,flatgrid:Qp,init:e=>e.state(e)});const eh=e=>(t,n,r,o)=>{const i=e(t.element);return oh(i,t,n,r,o)},th=(e,t)=>{const n=Rc(e,t);return eh(n)},nh=(e,t)=>{const n=Rc(t,e);return eh(n)},rh=e=>(t,n,r,o)=>oh(e,t,n,r,o),oh=(e,t,n,r,o)=>r.focusManager.get(t).bind((n=>e(t.element,n,r,o))).map((e=>(r.focusManager.set(t,e),!0))),ih=rh,ah=rh,sh=rh,lh=e=>!(e=>e.offsetWidth<=0&&e.offsetHeight<=0)(e.dom),ch=(e,t,n)=>{const r=pu(e,n);return((e,t)=>Z(e,t).map((t=>({index:t,candidates:e}))))(H(r,lh),(e=>Ge(e,t)))},uh=(e,t)=>Z(e,(e=>Ge(t,e))),dh=(e,t,n,r)=>r(Math.floor(t/n),t%n).bind((t=>{const r=t.row*n+t.column;return r>=0&&r<e.length?j.some(e[r]):j.none()})),fh=(e,t,n,r,o)=>dh(e,t,r,((t,i)=>{const a=t===n-1?e.length-t*r:r,s=sl(i,o,0,a-1);return j.some({row:t,column:s})})),ph=(e,t,n,r,o)=>dh(e,t,r,((t,i)=>{const a=sl(t,o,0,n-1),s=a===n-1?e.length-a*r:r,l=ll(i,0,s-1);return j.some({row:a,column:l})})),hh=[no("selector"),Ao("execute",Zp),Vs("onEscape"),Ao("captureTab",!1),$s()],mh=(e,t,n)=>{ws(e.element,t.selector).each((n=>{t.focusManager.set(e,n)}))},gh=e=>(t,n,r,o)=>ch(t,n,r.selector).bind((t=>e(t.candidates,t.index,o.getNumRows().getOr(r.initSize.numRows),o.getNumColumns().getOr(r.initSize.numColumns)))),vh=(e,t,n)=>n.captureTab?j.some(!0):j.none(),bh=gh(((e,t,n,r)=>fh(e,t,n,r,-1))),yh=gh(((e,t,n,r)=>fh(e,t,n,r,1))),Ah=gh(((e,t,n,r)=>ph(e,t,n,r,-1))),xh=gh(((e,t,n,r)=>ph(e,t,n,r,1))),Ch=A([Np(Mp(kp),th(bh,yh)),Np(Mp(Ep),nh(bh,yh)),Np(Mp(Sp),ih(Ah)),Np(Mp(Bp),ah(xh)),Np(Dp([Rp,Mp(xp)]),vh),Np(Dp([Ip,Mp(xp)]),vh),Np(Mp(wp.concat(Cp)),((e,t,n,r)=>((e,t)=>t.focusManager.get(e).bind((e=>ks(e,t.selector))))(e,n).bind((r=>n.execute(e,t,r)))))]),_h=A([Np(Mp(_p),((e,t,n)=>n.onEscape(e,t))),Np(Mp(wp),Gp)]);var wh=Hp(hh,Qp,Ch,_h,(()=>j.some(mh)));const kh=(e,t,n,r)=>{const o=(e,t,n)=>{const i=sl(t,r,0,n.length-1);return i===e?j.none():(a=n[i],"button"===Fe(a)&&"disabled"===xt(a,"disabled")?o(e,i,n):j.from(n[i]));var a};return ch(e,n,t).bind((e=>{const t=e.index,n=e.candidates;return o(t,t,n)}))},Sh=[no("selector"),Ao("getInitial",j.none),Ao("execute",Zp),Vs("onEscape"),Ao("executeOnMove",!1),Ao("allowVertical",!0)],Eh=(e,t,n)=>((e,t)=>t.focusManager.get(e).bind((e=>ks(e,t.selector))))(e,n).bind((r=>n.execute(e,t,r))),Bh=(e,t,n)=>{t.getInitial(e).orThunk((()=>ws(e.element,t.selector))).each((n=>{t.focusManager.set(e,n)}))},Oh=(e,t,n)=>kh(e,n.selector,t,-1),jh=(e,t,n)=>kh(e,n.selector,t,1),Th=e=>(t,n,r,o)=>e(t,n,r,o).bind((()=>r.executeOnMove?Eh(t,n,r):j.some(!0))),Ph=A([Np(Mp(wp),Gp),Np(Mp(_p),((e,t,n)=>n.onEscape(e,t)))]);var Mh=Hp(Sh,Ba.init,((e,t,n,r)=>{const o=kp.concat(n.allowVertical?Sp:[]),i=Ep.concat(n.allowVertical?Bp:[]);return[Np(Mp(o),Th(th(Oh,jh))),Np(Mp(i),Th(nh(Oh,jh))),Np(Mp(Cp),Eh),Np(Mp(wp),Eh)]}),Ph,(()=>j.some(Bh)));const Dh=(e,t,n)=>j.from(e[t]).bind((e=>j.from(e[n]).map((e=>({rowIndex:t,columnIndex:n,cell:e}))))),Rh=(e,t,n,r)=>{const o=e[t].length,i=sl(n,r,0,o-1);return Dh(e,t,i)},Lh=(e,t,n,r)=>{const o=sl(n,r,0,e.length-1),i=e[o].length,a=ll(t,0,i-1);return Dh(e,o,a)},Ih=(e,t,n,r)=>{const o=e[t].length,i=ll(n+r,0,o-1);return Dh(e,t,i)},Nh=(e,t,n,r)=>{const o=ll(n+r,0,e.length-1),i=e[o].length,a=ll(t,0,i-1);return Dh(e,o,a)},Fh=[lo("selectors",[no("row"),no("cell")]),Ao("cycles",!0),Ao("previousSelector",j.none),Ao("execute",Zp)],zh=(e,t,n)=>{t.previousSelector(e).orThunk((()=>{const n=t.selectors;return ws(e.element,n.cell)})).each((n=>{t.focusManager.set(e,n)}))},qh=(e,t)=>(n,r,o)=>{const i=o.cycles?e:t;return ks(r,o.selectors.row).bind((e=>{const t=pu(e,o.selectors.cell);return uh(t,r).bind((t=>{const r=pu(n,o.selectors.row);return uh(r,e).bind((e=>{const n=((e,t)=>z(e,(e=>pu(e,t.selectors.cell))))(r,o);return i(n,e,t).map((e=>e.cell))}))}))}))},Uh=qh(((e,t,n)=>Rh(e,t,n,-1)),((e,t,n)=>Ih(e,t,n,-1))),Hh=qh(((e,t,n)=>Rh(e,t,n,1)),((e,t,n)=>Ih(e,t,n,1))),Wh=qh(((e,t,n)=>Lh(e,n,t,-1)),((e,t,n)=>Nh(e,n,t,-1))),Vh=qh(((e,t,n)=>Lh(e,n,t,1)),((e,t,n)=>Nh(e,n,t,1))),Yh=A([Np(Mp(kp),th(Uh,Hh)),Np(Mp(Ep),nh(Uh,Hh)),Np(Mp(Sp),ih(Wh)),Np(Mp(Bp),ah(Vh)),Np(Mp(wp.concat(Cp)),((e,t,n)=>Gl(e.element).bind((r=>n.execute(e,t,r)))))]),Zh=A([Np(Mp(wp),Gp)]);var Gh=Hp(Fh,Ba.init,Yh,Zh,(()=>j.some(zh)));const Kh=[no("selector"),Ao("execute",Zp),Ao("moveOnTab",!1)],$h=(e,t,n)=>n.focusManager.get(e).bind((r=>n.execute(e,t,r))),Xh=(e,t,n)=>{ws(e.element,t.selector).each((n=>{t.focusManager.set(e,n)}))},Qh=(e,t,n)=>kh(e,n.selector,t,-1),Jh=(e,t,n)=>kh(e,n.selector,t,1),em=A([Np(Mp(Sp),sh(Qh)),Np(Mp(Bp),sh(Jh)),Np(Dp([Rp,Mp(xp)]),((e,t,n,r)=>n.moveOnTab?sh(Qh)(e,t,n,r):j.none())),Np(Dp([Ip,Mp(xp)]),((e,t,n,r)=>n.moveOnTab?sh(Jh)(e,t,n,r):j.none())),Np(Mp(Cp),$h),Np(Mp(wp),$h)]),tm=A([Np(Mp(wp),Gp)]);var nm=Hp(Kh,Ba.init,em,tm,(()=>j.some(Xh)));const rm=[Vs("onSpace"),Vs("onEnter"),Vs("onShiftEnter"),Vs("onLeft"),Vs("onRight"),Vs("onTab"),Vs("onShiftTab"),Vs("onUp"),Vs("onDown"),Vs("onEscape"),Ao("stopSpaceKeyup",!1),fo("focusIn")];var om=Hp(rm,Ba.init,((e,t,n)=>[Np(Mp(wp),n.onSpace),Np(Dp([Ip,Mp(Cp)]),n.onEnter),Np(Dp([Rp,Mp(Cp)]),n.onShiftEnter),Np(Dp([Rp,Mp(xp)]),n.onShiftTab),Np(Dp([Ip,Mp(xp)]),n.onTab),Np(Mp(Sp),n.onUp),Np(Mp(Bp),n.onDown),Np(Mp(kp),n.onLeft),Np(Mp(Ep),n.onRight),Np(Mp(wp),n.onSpace)]),((e,t,n)=>[...n.stopSpaceKeyup?[Np(Mp(wp),Gp)]:[],Np(Mp(_p),n.onEscape)]),(e=>e.focusIn));const im=Vp.schema(),am=Yp.schema(),sm=Mh.schema(),lm=wh.schema(),cm=Gh.schema(),um=Xp.schema(),dm=nm.schema(),fm=om.schema();const pm=ql({branchKey:"mode",branches:Object.freeze({__proto__:null,acyclic:im,cyclic:am,flow:sm,flatgrid:lm,matrix:cm,execution:um,menu:dm,special:fm}),name:"keying",active:{events:(e,t)=>e.handler.toEvents(e,t)},apis:{focusIn:(e,t,n)=>{t.sendFocusIn(t).fold((()=>{e.getSystem().triggerFocus(e.element,e.element)}),(r=>{r(e,t,n)}))},setGridSize:(e,t,n,r,o)=>{(e=>Ae(e,"setGridSize"))(n)?n.setGridSize(r,o):console.error("Layout does not support setGridSize")}},state:Jp}),hm=(e,t)=>{Kl((()=>{Ju(e,t,(()=>z(t,e.getSystem().build)))}),e.element)},mm=(e,t)=>{Kl((()=>{((e,t,n)=>{const r=e.components(),o=K(t,(e=>Sa(e).toArray()));q(r,(e=>{L(o,e)||Xu(e)}));const i=n(t),a=Q(r,i);q(a,(e=>{Zu(e)&&Xu(e)})),q(i,(t=>{Zu(t)||$u(e,t)})),e.syncComponents()})(e,t,(()=>((e,t,n)=>ns(e,t,((t,r)=>rs(e,r,t,n))))(e.element,t,e.getSystem().buildOrPatch)))}),e.element)},gm=(e,t,n,r)=>{Xu(t);const o=rs(e.element,n,r,e.getSystem().buildOrPatch);$u(e,o),e.syncComponents()},vm=(e,t,n)=>{const r=e.getSystem().build(n);td(e,r,t)},bm=(e,t,n,r)=>{rd(t),vm(e,((e,t)=>((e,t,n)=>{ot(e,n).fold((()=>{Pn(e,t)}),(e=>{On(e,t)}))})(e,t,n)),r)},ym=(e,t)=>e.components(),Am=(e,t,n,r,o)=>{const i=ym(e);return j.from(i[r]).map((n=>(o.fold((()=>rd(n)),(o=>{(t.reuseDom?gm:bm)(e,n,r,o)})),n)))};var xm=Object.freeze({__proto__:null,append:(e,t,n,r)=>{vm(e,Pn,r)},prepend:(e,t,n,r)=>{vm(e,Tn,r)},remove:(e,t,n,r)=>{const o=ym(e),i=Y(o,(e=>Ge(r.element,e.element)));i.each(rd)},replaceAt:Am,replaceBy:(e,t,n,r,o)=>{const i=ym(e);return Z(i,r).bind((n=>Am(e,t,0,n,o)))},set:(e,t,n,r)=>(t.reuseDom?mm:hm)(e,r),contents:ym});const Cm=Fl({fields:[ko("reuseDom",!0)],name:"replacing",apis:xm}),_m=(e,t)=>{const n=((e,t)=>{const n=Ui(t);return Fl({fields:[no("enabled")],name:e,active:{events:A(n)}})})(e,t);return{key:e,value:{config:{},me:n,configAsRaw:A({}),initialConfig:{},state:Ba}}},wm=(e,t)=>{t.ignore||(Vl(e.element),t.onFocus(e))};var km=Object.freeze({__proto__:null,focus:wm,blur:(e,t)=>{t.ignore||(e=>{e.dom.blur()})(e.element)},isFocused:e=>Yl(e.element)});var Sm=Object.freeze({__proto__:null,exhibit:(e,t)=>{const n=t.ignore?{}:{attributes:{tabindex:"-1"}};return Ta(n)},events:e=>Ui([Vi(di(),((t,n)=>{wm(t,e),n.stop()}))].concat(e.stopMousedown?[Vi(Zo(),((e,t)=>{t.event.prevent()}))]:[]))}),Em=[Ws("onFocus"),Ao("stopMousedown",!1),Ao("ignore",!1)];const Bm=Fl({fields:Em,name:"focusing",active:Sm,apis:km}),Om=(e,t,n,r)=>{const o=n.get();n.set(r),((e,t,n)=>{t.toggleClass.each((t=>{n.get()?Za(e.element,t):Ga(e.element,t)}))})(e,t,n),((e,t,n)=>{const r=t.aria;r.update(e,r,n.get())})(e,t,n),o!==r&&t.onToggled(e,r)},jm=(e,t,n)=>{Om(e,t,n,!n.get())},Tm=(e,t,n)=>{Om(e,t,n,t.selected)};var Pm=Object.freeze({__proto__:null,onLoad:Tm,toggle:jm,isOn:(e,t,n)=>n.get(),on:(e,t,n)=>{Om(e,t,n,!0)},off:(e,t,n)=>{Om(e,t,n,!1)},set:Om});var Mm=Object.freeze({__proto__:null,exhibit:()=>Ta({}),events:(e,t)=>{const n=(r=e,o=t,i=jm,na((e=>{i(e,r,o)})));var r,o,i;const a=Ml(e,t,Tm);return Ui(G([e.toggleOnExecute?[n]:[],[a]]))}});const Dm=(e,t,n)=>{yt(e.element,"aria-expanded",n)};var Rm=[Ao("selected",!1),fo("toggleClass"),Ao("toggleOnExecute",!0),Ws("onToggled"),xo("aria",{mode:"none"},Qr("mode",{pressed:[Ao("syncWithExpanded",!1),Gs("update",((e,t,n)=>{yt(e.element,"aria-pressed",n),t.syncWithExpanded&&Dm(e,t,n)}))],checked:[Gs("update",((e,t,n)=>{yt(e.element,"aria-checked",n)}))],expanded:[Gs("update",Dm)],selected:[Gs("update",((e,t,n)=>{yt(e.element,"aria-selected",n)}))],none:[Gs("update",v)]}))];const Lm=Fl({fields:Rm,name:"toggling",active:Mm,apis:Pm,state:(Im=!1,{init:()=>{const e=Oo(Im);return{get:()=>e.get(),set:t=>e.set(t),clear:()=>e.set(Im),readState:()=>e.get()}}})});var Im;const Nm=()=>{const e=(e,t)=>{t.stop(),Ni(e)};return[Vi(oi(),e),Vi(vi(),e),$i(Ho()),$i(Zo())]},Fm=e=>Ui(G([e.map((e=>na(((t,n)=>{e(t),n.stop()})))).toArray(),Nm()])),zm="alloy.item-hover",qm="alloy.item-focus",Um="alloy.item-toggled",Hm=e=>{(Gl(e.element).isNone()||Bm.isFocused(e))&&(Bm.isFocused(e)||Bm.focus(e),Ii(e,zm,{item:e}))},Wm=e=>{Ii(e,qm,{item:e})},Vm=A(zm),Ym=A(qm),Zm=A(Um),Gm=e=>e.toggling.map((e=>e.exclusive?"menuitemradio":"menuitemcheckbox")).getOr("menuitem"),Km=e=>({aria:{mode:"checked"},...he(e,((e,t)=>"exclusive"!==t)),onToggled:(t,n)=>{h(e.onToggled)&&e.onToggled(t,n),((e,t)=>{Ii(e,Um,{item:e,state:t})})(t,n)}}),$m=[no("data"),no("components"),no("dom"),Ao("hasSubmenu",!1),fo("toggling"),Ud("itemBehaviours",[Lm,Bm,pm,Nd]),Ao("ignoreFocus",!1),Ao("domModification",{}),Gs("builder",(e=>({dom:e.dom,domModification:{...e.domModification,attributes:{role:Gm(e),...e.domModification.attributes,"aria-haspopup":e.hasSubmenu,...e.hasSubmenu?{"aria-expanded":!1}:{}}},behaviours:Hd(e.itemBehaviours,[e.toggling.fold(Lm.revoke,(e=>Lm.config(Km(e)))),Bm.config({ignore:e.ignoreFocus,stopMousedown:e.ignoreFocus,onFocus:e=>{Wm(e)}}),pm.config({mode:"execution"}),Nd.config({store:{mode:"memory",initialValue:e.data}}),_m("item-type-events",[...Nm(),Vi(Xo(),Hm),Vi(gi(),Bm.focus)])]),components:e.components,eventOrder:e.eventOrder}))),Ao("eventOrder",{})],Xm=[no("dom"),no("components"),Gs("builder",(e=>({dom:e.dom,components:e.components,events:Ui([Xi(gi())])})))],Qm=A("item-widget"),Jm=A([mf({name:"widget",overrides:e=>({behaviours:Il([Nd.config({store:{mode:"manual",getValue:t=>e.data,setValue:v}})])})})]),eg=[no("uid"),no("data"),no("components"),no("dom"),Ao("autofocus",!1),Ao("ignoreFocus",!1),Ud("widgetBehaviours",[Nd,Bm,pm]),Ao("domModification",{}),Lf(Jm()),Gs("builder",(e=>{const t=Ef(Qm(),e,Jm()),n=Bf(Qm(),e,t.internals()),r=t=>Of(t,e,"widget").map((e=>(pm.focusIn(e),e))),o=(t,n)=>Vf(n.event.target)?j.none():e.autofocus?(n.setSource(t.element),j.none()):j.none();return{dom:e.dom,components:n,domModification:e.domModification,events:Ui([na(((e,t)=>{r(e).each((e=>{t.stop()}))})),Vi(Xo(),Hm),Vi(gi(),((t,n)=>{e.autofocus?r(t):Bm.focus(t)}))]),behaviours:Hd(e.widgetBehaviours,[Nd.config({store:{mode:"memory",initialValue:e.data}}),Bm.config({ignore:e.ignoreFocus,onFocus:e=>{Wm(e)}}),pm.config({mode:"special",focusIn:e.autofocus?e=>{r(e)}:Ul(),onLeft:o,onRight:o,onEscape:(t,n)=>Bm.isFocused(t)||e.autofocus?e.autofocus?(n.setSource(t.element),j.none()):j.none():(Bm.focus(t),j.some(!0))})])}}))],tg=Qr("type",{widget:eg,item:$m,separator:Xm}),ng=A([bf({factory:{sketch:e=>{const t=$r("menu.spec item",tg,e);return t.builder(t)}},name:"items",unit:"item",defaults:(e,t)=>ye(t,"uid")?t:{...t,uid:ba("item")},overrides:(e,t)=>({type:t.type,ignoreFocus:e.fakeFocus,domModification:{classes:[e.markers.item]}})})]),rg=A([no("value"),no("items"),no("dom"),no("components"),Ao("eventOrder",{}),Fd("menuBehaviours",[yp,Nd,Gf,pm]),xo("movement",{mode:"menu",moveOnTab:!0},Qr("mode",{grid:[$s(),Gs("config",((e,t)=>({mode:"flatgrid",selector:"."+e.markers.item,initSize:{numColumns:t.initSize.numColumns,numRows:t.initSize.numRows},focusManager:e.focusManager})))],matrix:[Gs("config",((e,t)=>({mode:"matrix",selectors:{row:t.rowSelector,cell:"."+e.markers.item},focusManager:e.focusManager}))),no("rowSelector")],menu:[Ao("moveOnTab",!0),Gs("config",((e,t)=>({mode:"menu",selector:"."+e.markers.item,moveOnTab:t.moveOnTab,focusManager:e.focusManager})))]})),ro("markers",Fs()),Ao("fakeFocus",!1),Ao("focusManager",zp()),Ws("onHighlight"),Ws("onDehighlight")]),og=A("alloy.menu-focus"),ig=Wf({name:"Menu",configFields:rg(),partFields:ng(),factory:(e,t,n,r)=>({uid:e.uid,dom:e.dom,markers:e.markers,behaviours:qd(e.menuBehaviours,[yp.config({highlightClass:e.markers.selectedItem,itemClass:e.markers.item,onHighlight:e.onHighlight,onDehighlight:e.onDehighlight}),Nd.config({store:{mode:"memory",initialValue:e.value}}),Gf.config({find:j.some}),pm.config(e.movement.config(e,e.movement))]),events:Ui([Vi(Ym(),((e,t)=>{const n=t.event;e.getSystem().getByDom(n.target).each((n=>{yp.highlight(e,n),t.stop(),Ii(e,og(),{menu:e,item:n})}))})),Vi(Vm(),((e,t)=>{const n=t.event.item;yp.highlight(e,n)})),Vi(Zm(),((e,t)=>{const{item:n,state:r}=t.event;r&&"menuitemradio"===xt(n.element,"role")&&((e,t)=>{const n=pu(e.element,'[role="menuitemradio"][aria-checked="true"]');q(n,(n=>{Ge(n,t.element)||e.getSystem().getByDom(n).each((e=>{Lm.off(e)}))}))})(e,n)}))]),components:t,eventOrder:e.eventOrder,domModification:{attributes:{role:"menu"}}})}),ag=(e,t,n,r)=>be(n,r).bind((r=>be(e,r).bind((r=>{const o=ag(e,t,n,r);return j.some([r].concat(o))})))).getOr([]),sg=(e,t)=>{const n={};ce(e,((e,t)=>{q(e,(e=>{n[e]=t}))}));const r=t,o=de(t,((e,t)=>({k:e,v:t})));const i=ue(o,((e,t)=>[t].concat(ag(n,r,o,t))));return ue(n,(e=>be(i,e).getOr([e])))},lg=e=>"prepared"===e.type?j.some(e.menu):j.none(),cg={init:()=>{const e=Oo({}),t=Oo({}),n=Oo({}),r=pc(),o=Oo({}),i=(t,n,r)=>a(t).bind((o=>(t=>ge(e.get(),((e,n)=>e===t)))(t).bind((e=>n(e).map((e=>({triggeredMenu:o,triggeringItem:e,triggeringPath:r}))))))),a=e=>s(e).bind(lg),s=e=>be(t.get(),e),l=t=>be(e.get(),t);return{setMenuBuilt:(e,n)=>{t.set({...t.get(),[e]:{type:"prepared",menu:n}})},setContents:(i,a,s,l)=>{r.set(i),e.set(s),t.set(a),o.set(l);const c=sg(l,s);n.set(c)},expand:t=>be(e.get(),t).map((e=>{const r=be(n.get(),t).getOr([]);return[e].concat(r)})),refresh:e=>be(n.get(),e),collapse:e=>be(n.get(),e).bind((e=>e.length>1?j.some(e.slice(1)):j.none())),lookupMenu:s,lookupItem:l,otherMenus:e=>{const t=o.get();return Q(se(t),e)},getPrimary:()=>r.get().bind(a),getMenus:()=>t.get(),clear:()=>{e.set({}),t.set({}),n.set({}),r.clear()},isClear:()=>r.get().isNone(),getTriggeringPath:(e,t)=>{const o=H(l(e).toArray(),(e=>a(e).isSome()));return be(n.get(),e).bind((e=>{const n=X(o.concat(e));return(e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n];if(!r.isSome())return j.none();t.push(r.getOrDie())}return j.some(t)})(K(n,((e,o)=>i(e,t,n.slice(0,o+1)).fold((()=>xe(r.get(),e)?[]:[j.none()]),(e=>[j.some(e)])))))}))}}},extractPreparedMenu:lg},ug=da("tiered-menu-item-highlight"),dg=da("tiered-menu-item-dehighlight");var fg;!function(e){e[e.HighlightMenuAndItem=0]="HighlightMenuAndItem",e[e.HighlightJustMenu=1]="HighlightJustMenu",e[e.HighlightNone=2]="HighlightNone"}(fg||(fg={}));const pg=A("collapse-item"),hg=Hf({name:"TieredMenu",configFields:[Zs("onExecute"),Zs("onEscape"),Ys("onOpenMenu"),Ys("onOpenSubmenu"),Ws("onRepositionMenu"),Ws("onCollapseMenu"),Ao("highlightOnOpen",fg.HighlightMenuAndItem),lo("data",[no("primary"),no("menus"),no("expansions")]),Ao("fakeFocus",!1),Ws("onHighlightItem"),Ws("onDehighlightItem"),Ws("onHover"),qs(),no("dom"),Ao("navigateOnHover",!0),Ao("stayInDom",!1),Fd("tmenuBehaviours",[pm,yp,Gf,Cm]),Ao("eventOrder",{})],apis:{collapseMenu:(e,t)=>{e.collapseMenu(t)},highlightPrimary:(e,t)=>{e.highlightPrimary(t)},repositionMenus:(e,t)=>{e.repositionMenus(t)}},factory:(e,t)=>{const n=pc(),r=cg.init(),o=t=>{const n=((t,n,r)=>ue(r,((r,o)=>{const i=()=>ig.sketch({...r,value:o,markers:e.markers,fakeFocus:e.fakeFocus,onHighlight:(e,t)=>{Ii(e,ug,{menuComp:e,itemComp:t})},onDehighlight:(e,t)=>{Ii(e,dg,{menuComp:e,itemComp:t})},focusManager:e.fakeFocus?qp():zp()});return o===n?{type:"prepared",menu:t.getSystem().build(i())}:{type:"notbuilt",nbMenu:i}})))(t,e.data.primary,e.data.menus),o=a();return r.setContents(e.data.primary,n,e.data.expansions,o),r.getPrimary()},i=e=>Nd.getValue(e).value,a=t=>ue(e.data.menus,((e,t)=>K(e.items,(e=>"separator"===e.type?[]:[e.data.value])))),s=yp.highlight,l=(t,n)=>{s(t,n),yp.getHighlighted(n).orThunk((()=>yp.getFirst(n))).each((r=>{e.fakeFocus?yp.highlight(n,r):Fi(t,r.element,gi())}))},c=(e,t)=>Ce(z(t,(t=>e.lookupMenu(t).bind((e=>"prepared"===e.type?j.some(e.menu):j.none()))))),u=(t,n,r)=>{const o=c(n,n.otherMenus(r));q(o,(n=>{Xa(n.element,[e.markers.backgroundMenu]),e.stayInDom||Cm.remove(t,n)}))},d=(t,r)=>{const o=(t=>n.get().getOrThunk((()=>{const r={},o=pu(t.element,`.${e.markers.item}`),a=H(o,(e=>"true"===xt(e,"aria-haspopup")));return q(a,(e=>{t.getSystem().getByDom(e).each((e=>{const t=i(e);r[t]=e}))})),n.set(r),r})))(t);ce(o,((e,t)=>{const n=L(r,t);yt(e.element,"aria-expanded",n)}))},f=(t,n,r)=>j.from(r[0]).bind((o=>n.lookupMenu(o).bind((o=>{if("notbuilt"===o.type)return j.none();{const i=o.menu,a=c(n,r.slice(1));return q(a,(t=>{Za(t.element,e.markers.backgroundMenu)})),mt(i.element)||Cm.append(t,vs(i)),Xa(i.element,[e.markers.backgroundMenu]),l(t,i),u(t,n,r),j.some(i)}}))));let p;!function(e){e[e.HighlightSubmenu=0]="HighlightSubmenu",e[e.HighlightParent=1]="HighlightParent"}(p||(p={}));const h=(t,n,o=p.HighlightSubmenu)=>{if(n.hasConfigured(lp)&&lp.isDisabled(n))return j.some(n);{const a=i(n);return r.expand(a).bind((i=>(d(t,i),j.from(i[0]).bind((a=>r.lookupMenu(a).bind((s=>{const l=((e,t,n)=>{if("notbuilt"===n.type){const o=e.getSystem().build(n.nbMenu());return r.setMenuBuilt(t,o),o}return n.menu})(t,a,s);return mt(l.element)||Cm.append(t,vs(l)),e.onOpenSubmenu(t,n,l,X(i)),o===p.HighlightSubmenu?(yp.highlightFirst(l),f(t,r,i)):(yp.dehighlightAll(l),j.some(n))})))))))}},m=(t,n)=>{const o=i(n);return r.collapse(o).bind((o=>(d(t,o),f(t,r,o).map((r=>(e.onCollapseMenu(t,n,r),r))))))},g=t=>(n,r)=>ks(r.getSource(),`.${e.markers.item}`).bind((e=>n.getSystem().getByDom(e).toOptional().bind((e=>t(n,e).map(B))))),b=Ui([Vi(og(),((e,t)=>{const n=t.event.item;r.lookupItem(i(n)).each((()=>{const n=t.event.menu;yp.highlight(e,n);const o=i(t.event.item);r.refresh(o).each((t=>u(e,r,t)))}))})),na(((t,n)=>{const r=n.event.target;t.getSystem().getByDom(r).each((n=>{0===i(n).indexOf("collapse-item")&&m(t,n),h(t,n,p.HighlightSubmenu).fold((()=>{e.onExecute(t,n)}),v)}))})),Ji(((t,n)=>{o(t).each((n=>{Cm.append(t,vs(n)),e.onOpenMenu(t,n),e.highlightOnOpen===fg.HighlightMenuAndItem?l(t,n):e.highlightOnOpen===fg.HighlightJustMenu&&s(t,n)}))})),Vi(ug,((t,n)=>{e.onHighlightItem(t,n.event.menuComp,n.event.itemComp)})),Vi(dg,((t,n)=>{e.onDehighlightItem(t,n.event.menuComp,n.event.itemComp)})),...e.navigateOnHover?[Vi(Vm(),((t,n)=>{const o=n.event.item;((e,t)=>{const n=i(t);r.refresh(n).bind((t=>(d(e,t),f(e,r,t))))})(t,o),h(t,o,p.HighlightParent),e.onHover(t,o)}))]:[]]),y=e=>yp.getHighlighted(e).bind(yp.getHighlighted),A={collapseMenu:e=>{y(e).each((t=>{m(e,t)}))},highlightPrimary:e=>{r.getPrimary().each((t=>{l(e,t)}))},repositionMenus:t=>{const n=r.getPrimary().bind((e=>y(t).bind((e=>{const t=i(e),n=ve(r.getMenus()),o=Ce(z(n,cg.extractPreparedMenu));return r.getTriggeringPath(t,(e=>((e,t,n)=>ae(t,(e=>{if(!e.getSystem().isConnected())return j.none();const t=yp.getCandidates(e);return Y(t,(e=>i(e)===n))})))(0,o,e)))})).map((t=>({primary:e,triggeringPath:t})))));n.fold((()=>{(e=>j.from(e.components()[0]).filter((e=>"menu"===xt(e.element,"role"))))(t).each((n=>{e.onRepositionMenu(t,n,[])}))}),(({primary:n,triggeringPath:r})=>{e.onRepositionMenu(t,n,r)}))}};return{uid:e.uid,dom:e.dom,markers:e.markers,behaviours:qd(e.tmenuBehaviours,[pm.config({mode:"special",onRight:g(((e,t)=>Vf(t.element)?j.none():h(e,t,p.HighlightSubmenu))),onLeft:g(((e,t)=>Vf(t.element)?j.none():m(e,t))),onEscape:g(((t,n)=>m(t,n).orThunk((()=>e.onEscape(t,n).map((()=>t)))))),focusIn:(e,t)=>{r.getPrimary().each((t=>{Fi(e,t.element,gi())}))}}),yp.config({highlightClass:e.markers.selectedMenu,itemClass:e.markers.menu}),Gf.config({find:e=>yp.getHighlighted(e)}),Cm.config({})]),eventOrder:e.eventOrder,apis:A,events:b}},extraApis:{tieredData:(e,t,n)=>({primary:e,menus:t,expansions:n}),singleData:(e,t)=>({primary:e,menus:Po(e,t),expansions:{}}),collapseItem:e=>({value:da(pg()),meta:{text:e}})}}),mg=Hf({name:"InlineView",configFields:[no("lazySink"),Ws("onShow"),Ws("onHide"),vo("onEscape"),Fd("inlineBehaviours",[bd,Nd,Hl]),yo("fireDismissalEventInstead",[Ao("event",Bi())]),yo("fireRepositionEventInstead",[Ao("event",Oi())]),Ao("getRelated",j.none),Ao("isExtraPart",E),Ao("eventOrder",j.none)],factory:(e,t)=>{const n=(e,t,n,o)=>{r(e,t,n,(()=>o.map((e=>Vn(e)))))},r=(t,n,r,o)=>{const i=e.lazySink(t).getOrDie();bd.openWhileCloaked(t,n,(()=>Yu.positionWithinBounds(i,t,r,o()))),Nd.setValue(t,j.some({mode:"position",config:r,getBounds:o}))},o=(t,n,r,o)=>{const i=((e,t,n,r,o)=>{const i=()=>e.lazySink(t),a="horizontal"===r.type?{layouts:{onLtr:()=>Ol(),onRtl:()=>jl()}}:{},s=e=>(e=>2===e.length)(e)?a:{};return hg.sketch({dom:{tag:"div"},data:r.data,markers:r.menu.markers,highlightOnOpen:r.menu.highlightOnOpen,fakeFocus:r.menu.fakeFocus,onEscape:()=>(bd.close(t),e.onEscape.map((e=>e(t))),j.some(!0)),onExecute:()=>j.some(!0),onOpenMenu:(e,t)=>{Yu.positionWithinBounds(i().getOrDie(),t,n,o())},onOpenSubmenu:(e,t,n,r)=>{const o=i().getOrDie();Yu.position(o,n,{anchor:{type:"submenu",item:t,...s(r)}})},onRepositionMenu:(e,t,r)=>{const a=i().getOrDie();Yu.positionWithinBounds(a,t,n,o()),q(r,(e=>{const t=s(e.triggeringPath);Yu.position(a,e.triggeredMenu,{anchor:{type:"submenu",item:e.triggeringItem,...t}})}))}})})(e,t,n,r,o);bd.open(t,i),Nd.setValue(t,j.some({mode:"menu",menu:i}))},i=t=>{bd.isOpen(t)&&Nd.getValue(t).each((n=>{switch(n.mode){case"menu":bd.getState(t).each(hg.repositionMenus);break;case"position":const r=e.lazySink(t).getOrDie();Yu.positionWithinBounds(r,t,n.config,n.getBounds())}}))},a={setContent:(e,t)=>{bd.setContent(e,t)},showAt:(e,t,r)=>{n(e,t,r,j.none())},showWithin:n,showWithinBounds:r,showMenuAt:(e,t,n)=>{o(e,t,n,j.none)},showMenuWithinBounds:o,hide:e=>{bd.isOpen(e)&&(Nd.setValue(e,j.none()),bd.close(e))},getContent:e=>bd.getState(e),reposition:i,isOpen:bd.isOpen};return{uid:e.uid,dom:e.dom,behaviours:qd(e.inlineBehaviours,[bd.config({isPartOf:(t,n,r)=>Os(n,r)||((t,n)=>e.getRelated(t).exists((e=>Os(e,n))))(t,r),getAttachPoint:t=>e.lazySink(t).getOrDie(),onOpen:t=>{e.onShow(t)},onClose:t=>{e.onHide(t)}}),Nd.config({store:{mode:"memory",initialValue:j.none()}}),Hl.config({channels:{..._d({isExtraPart:t.isExtraPart,...e.fireDismissalEventInstead.map((e=>({fireEventInstead:{event:e.event}}))).getOr({})}),...kd({...e.fireRepositionEventInstead.map((e=>({fireEventInstead:{event:e.event}}))).getOr({}),doReposition:i})}})]),eventOrder:e.eventOrder,apis:a}},apis:{showAt:(e,t,n,r)=>{e.showAt(t,n,r)},showWithin:(e,t,n,r,o)=>{e.showWithin(t,n,r,o)},showWithinBounds:(e,t,n,r,o)=>{e.showWithinBounds(t,n,r,o)},showMenuAt:(e,t,n,r)=>{e.showMenuAt(t,n,r)},showMenuWithinBounds:(e,t,n,r,o)=>{e.showMenuWithinBounds(t,n,r,o)},hide:(e,t)=>{e.hide(t)},isOpen:(e,t)=>e.isOpen(t),getContent:(e,t)=>e.getContent(t),setContent:(e,t,n)=>{e.setContent(t,n)},reposition:(e,t)=>{e.reposition(t)}}});var gg=tinymce.util.Tools.resolve("tinymce.util.Delay");const vg=Hf({name:"Button",factory:e=>{const t=Fm(e.action),n=e.dom.tag,r=t=>be(e.dom,"attributes").bind((e=>be(e,t)));return{uid:e.uid,dom:e.dom,components:e.components,events:t,behaviours:Hd(e.buttonBehaviours,[Bm.config({}),pm.config({mode:"execution",useSpace:!0,useEnter:!0})]),domModification:{attributes:(()=>{if("button"===n){return{type:r("type").getOr("button"),...r("role").map((e=>({role:e}))).getOr({})}}return{role:r("role").getOr("button")}})()},eventOrder:e.eventOrder}},configFields:[Ao("uid",void 0),no("dom"),Ao("components",[]),Ud("buttonBehaviours",[Bm,pm]),fo("action"),fo("role"),Ao("eventOrder",{})]}),bg=e=>{const t=(e=>void 0!==e.uid)(e)&&Ae(e,"uid")?e.uid:ba("memento");return{get:e=>e.getSystem().getByUid(t).getOrDie(),getOpt:e=>e.getSystem().getByUid(t).toOptional(),asSpec:()=>({...e,uid:t})}};var yg=tinymce.util.Tools.resolve("tinymce.util.I18n");const Ag={indent:!0,outdent:!0,"table-insert-column-after":!0,"table-insert-column-before":!0,"paste-column-after":!0,"paste-column-before":!0,"unordered-list":!0,"list-bull-circle":!0,"list-bull-default":!0,"list-bull-square":!0},xg="temporary-placeholder",Cg=e=>()=>be(e,xg).getOr("!not found!"),_g=(e,t)=>{const n=e.toLowerCase();if(yg.isRtl()){const e=((e,t)=>Be(e,t)?e:((e,t)=>e+t)(e,t))(n,"-rtl");return ye(t,e)?e:n}return n},wg=(e,t)=>be(t,_g(e,t)),kg=(e,t)=>{const n=t();return wg(e,n).getOrThunk(Cg(n))},Sg=()=>_m("add-focusable",[Ji((e=>{_s(e.element,"svg").each((e=>yt(e,"focusable","false")))}))]),Eg=(e,t,n,r)=>{var o,i;const a=(e=>!!yg.isRtl()&&ye(Ag,e))(t)?["tox-icon--flip"]:[],s=be(n,_g(t,n)).or(r).getOrThunk(Cg(n));return{dom:{tag:e.tag,attributes:null!==(o=e.attributes)&&void 0!==o?o:{},classes:e.classes.concat(a),innerHtml:s},behaviours:Il([...null!==(i=e.behaviours)&&void 0!==i?i:[],Sg()])}},Bg=(e,t,n,r=j.none())=>Eg(t,e,n(),r),Og={success:"checkmark",error:"warning",err:"error",warning:"warning",warn:"warning",info:"info"},jg=Hf({name:"Notification",factory:e=>{const t=bg({dom:{tag:"p",innerHtml:e.translationProvider(e.text)},behaviours:Il([Cm.config({})])}),n=e=>({dom:{tag:"div",classes:["tox-bar"],styles:{width:`${e}%`}}}),r=e=>({dom:{tag:"div",classes:["tox-text"],innerHtml:`${e}%`}}),o=bg({dom:{tag:"div",classes:e.progress?["tox-progress-bar","tox-progress-indicator"]:["tox-progress-bar"]},components:[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(0)]},r(0)],behaviours:Il([Cm.config({})])}),i={updateProgress:(e,t)=>{e.getSystem().isConnected()&&o.getOpt(e).each((e=>{Cm.set(e,[{dom:{tag:"div",classes:["tox-bar-container"]},components:[n(t)]},r(t)])}))},updateText:(e,n)=>{if(e.getSystem().isConnected()){const r=t.get(e);Cm.set(r,[fs(n)])}}},a=G([e.icon.toArray(),e.level.toArray(),e.level.bind((e=>j.from(Og[e]))).toArray()]),s=bg(vg.sketch({dom:{tag:"button",classes:["tox-notification__dismiss","tox-button","tox-button--naked","tox-button--icon"]},components:[Bg("close",{tag:"div",classes:["tox-icon"],attributes:{"aria-label":e.translationProvider("Close")}},e.iconProvider)],action:t=>{e.onAction(t)}})),l=((e,t,n)=>{const r=n(),o=Y(e,(e=>ye(r,_g(e,r))));return Eg(t,o.getOr(xg),r,j.none())})(a,{tag:"div",classes:["tox-notification__icon"]},e.iconProvider),c=[l,{dom:{tag:"div",classes:["tox-notification__body"]},components:[t.asSpec()],behaviours:Il([Cm.config({})])}];return{uid:e.uid,dom:{tag:"div",attributes:{role:"alert"},classes:e.level.map((e=>["tox-notification","tox-notification--in",`tox-notification--${e}`])).getOr(["tox-notification","tox-notification--in"])},behaviours:Il([Bm.config({}),_m("notification-events",[Vi(Qo(),(e=>{s.getOpt(e).each(Bm.focus)}))])]),components:c.concat(e.progress?[o.asSpec()]:[]).concat(e.closeButton?[s.asSpec()]:[]),apis:i}},configFields:[fo("level"),no("progress"),fo("icon"),no("onAction"),no("text"),no("iconProvider"),no("translationProvider"),ko("closeButton",!0)],apis:{updateProgress:(e,t,n)=>{e.updateProgress(t,n)},updateText:(e,t,n)=>{e.updateText(t,n)}}});var Tg,Pg,Mg=tinymce.util.Tools.resolve("tinymce.dom.DOMUtils"),Dg=tinymce.util.Tools.resolve("tinymce.EditorManager"),Rg=tinymce.util.Tools.resolve("tinymce.Env");!function(e){e.default="wrap",e.floating="floating",e.sliding="sliding",e.scrolling="scrolling"}(Tg||(Tg={})),function(e){e.auto="auto",e.top="top",e.bottom="bottom"}(Pg||(Pg={}));const Lg=e=>t=>t.options.get(e),Ig=e=>t=>j.from(e(t)),Ng=e=>{const t=Rg.deviceType.isPhone(),n=Rg.deviceType.isTablet()||t,r=e.options.register,o=e=>i(e)||!1===e,a=e=>i(e)||m(e);r("skin",{processor:e=>i(e)||!1===e,default:"oxide"}),r("skin_url",{processor:"string"}),r("height",{processor:a,default:Math.max(e.getElement().offsetHeight,400)}),r("width",{processor:a,default:Mg.DOM.getStyle(e.getElement(),"width")}),r("min_height",{processor:"number",default:100}),r("min_width",{processor:"number"}),r("max_height",{processor:"number"}),r("max_width",{processor:"number"}),r("style_formats",{processor:"object[]"}),r("style_formats_merge",{processor:"boolean",default:!1}),r("style_formats_autohide",{processor:"boolean",default:!1}),r("line_height_formats",{processor:"string",default:"1 1.1 1.2 1.3 1.4 1.5 2"}),r("font_family_formats",{processor:"string",default:"Andale Mono=andale mono,monospace;Arial=arial,helvetica,sans-serif;Arial Black=arial black,sans-serif;Book Antiqua=book antiqua,palatino,serif;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier,monospace;Georgia=georgia,palatino,serif;Helvetica=helvetica,arial,sans-serif;Impact=impact,sans-serif;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco,monospace;Times New Roman=times new roman,times,serif;Trebuchet MS=trebuchet ms,geneva,sans-serif;Verdana=verdana,geneva,sans-serif;Webdings=webdings;Wingdings=wingdings,zapf dingbats"}),r("font_size_formats",{processor:"string",default:"8pt 10pt 12pt 14pt 18pt 24pt 36pt"}),r("block_formats",{processor:"string",default:"Paragraph=p;Heading 1=h1;Heading 2=h2;Heading 3=h3;Heading 4=h4;Heading 5=h5;Heading 6=h6;Preformatted=pre"}),r("content_langs",{processor:"object[]"}),r("removed_menuitems",{processor:"string",default:""}),r("menubar",{processor:e=>i(e)||u(e),default:!t}),r("menu",{processor:"object",default:{}}),r("toolbar",{processor:e=>u(e)||i(e)||l(e)?{value:e,valid:!0}:{valid:!1,message:"Must be a boolean, string or array."},default:!0}),N(9,(e=>{r("toolbar"+(e+1),{processor:"string"})})),r("toolbar_mode",{processor:"string",default:n?"scrolling":"floating"}),r("toolbar_groups",{processor:"object",default:{}}),r("toolbar_location",{processor:"string",default:Pg.auto}),r("toolbar_persist",{processor:"boolean",default:!1}),r("toolbar_sticky",{processor:"boolean",default:e.inline}),r("toolbar_sticky_offset",{processor:"number",default:0}),r("fixed_toolbar_container",{processor:"string",default:""}),r("fixed_toolbar_container_target",{processor:"object"}),r("file_picker_callback",{processor:"function"}),r("file_picker_validator_handler",{processor:"function"}),r("file_picker_types",{processor:"string"}),r("typeahead_urls",{processor:"boolean",default:!0}),r("anchor_top",{processor:o,default:"#top"}),r("anchor_bottom",{processor:o,default:"#bottom"}),r("draggable_modal",{processor:"boolean",default:!1}),r("statusbar",{processor:"boolean",default:!0}),r("elementpath",{processor:"boolean",default:!0}),r("branding",{processor:"boolean",default:!0}),r("promotion",{processor:"boolean",default:!0}),r("resize",{processor:e=>"both"===e||u(e),default:!Rg.deviceType.isTouch()}),r("sidebar_show",{processor:"string"})},Fg=Lg("readonly"),zg=Lg("height"),qg=Lg("width"),Ug=Ig(Lg("min_width")),Hg=Ig(Lg("min_height")),Wg=Ig(Lg("max_width")),Vg=Ig(Lg("max_height")),Yg=Ig(Lg("style_formats")),Zg=Lg("style_formats_merge"),Gg=Lg("style_formats_autohide"),Kg=Lg("content_langs"),$g=Lg("removed_menuitems"),Xg=Lg("toolbar_mode"),Qg=Lg("toolbar_groups"),Jg=Lg("toolbar_location"),ev=Lg("fixed_toolbar_container"),tv=Lg("fixed_toolbar_container_target"),nv=Lg("toolbar_persist"),rv=Lg("toolbar_sticky_offset"),ov=Lg("menubar"),iv=Lg("toolbar"),av=Lg("file_picker_callback"),sv=Lg("file_picker_validator_handler"),lv=Lg("file_picker_types"),cv=Lg("typeahead_urls"),uv=Lg("anchor_top"),dv=Lg("anchor_bottom"),fv=Lg("draggable_modal"),pv=Lg("statusbar"),hv=Lg("elementpath"),mv=Lg("branding"),gv=Lg("resize"),vv=Lg("paste_as_text"),bv=Lg("sidebar_show"),yv=Lg("promotion"),Av=e=>!1===e.options.get("skin"),xv=e=>!1!==e.options.get("menubar"),Cv=e=>{const t=e.options.get("skin_url");if(Av(e))return t;if(t)return e.documentBaseURI.toAbsolute(t);{const t=e.options.get("skin");return Dg.baseURL+"/skins/ui/"+t}},_v=e=>e.options.get("line_height_formats").split(" "),wv=e=>{const t=iv(e),n=i(t),r=l(t)&&t.length>0;return!Sv(e)&&(r||n||!0===t)},kv=e=>{const t=N(9,(t=>e.options.get("toolbar"+(t+1)))),n=H(t,i);return we(n.length>0,n)},Sv=e=>kv(e).fold((()=>{const t=iv(e);return g(t,i)&&t.length>0}),B),Ev=e=>Jg(e)===Pg.bottom,Bv=e=>{var t;if(!e.inline)return j.none();const n=null!==(t=ev(e))&&void 0!==t?t:"";if(n.length>0)return ws(gt(),n);const r=tv(e);return p(r)?j.some(Me.fromDom(r)):j.none()},Ov=e=>e.inline&&Bv(e).isSome(),jv=e=>Bv(e).getOrThunk((()=>dt(ut(Me.fromDom(e.getElement()))))),Tv=e=>e.inline&&!xv(e)&&!wv(e)&&!Sv(e),Pv=e=>(e.options.get("toolbar_sticky")||e.inline)&&!Ov(e)&&!Tv(e),Mv=e=>{const t=e.options.get("menu");return ue(t,(e=>({...e,items:e.items})))};var Dv=Object.freeze({__proto__:null,get ToolbarMode(){return Tg},get ToolbarLocation(){return Pg},register:Ng,getSkinUrl:Cv,isReadOnly:Fg,isSkinDisabled:Av,getHeightOption:zg,getWidthOption:qg,getMinWidthOption:Ug,getMinHeightOption:Hg,getMaxWidthOption:Wg,getMaxHeightOption:Vg,getUserStyleFormats:Yg,shouldMergeStyleFormats:Zg,shouldAutoHideStyleFormats:Gg,getLineHeightFormats:_v,getContentLanguages:Kg,getRemovedMenuItems:$g,isMenubarEnabled:xv,isMultipleToolbars:Sv,isToolbarEnabled:wv,isToolbarPersist:nv,getMultipleToolbarsOption:kv,getUiContainer:jv,useFixedContainer:Ov,getToolbarMode:Xg,isDraggableModal:fv,isDistractionFree:Tv,isStickyToolbar:Pv,getStickyToolbarOffset:rv,getToolbarLocation:Jg,isToolbarLocationBottom:Ev,getToolbarGroups:Qg,getMenus:Mv,getMenubar:ov,getToolbar:iv,getFilePickerCallback:av,getFilePickerTypes:lv,useTypeaheadUrls:cv,getAnchorTop:uv,getAnchorBottom:dv,getFilePickerValidatorHandler:sv,useStatusBar:pv,useElementPath:hv,promotionEnabled:yv,useBranding:mv,getResize:gv,getPasteAsText:vv,getSidebarShow:bv});const Rv="[data-mce-autocompleter]",Lv=e=>ks(e,Rv),Iv=(e,t)=>{const n=(e,t)=>{Ii(e,ei(),{raw:t})},r=()=>e.getMenu().bind(yp.getHighlighted);t.on("keydown",(t=>{const o=t.which;e.isActive()&&(e.isMenuOpen()?13===o?(r().each(Ni),t.preventDefault()):40===o?(r().fold((()=>{e.getMenu().each(yp.highlightFirst)}),(e=>{n(e,t)})),t.preventDefault(),t.stopImmediatePropagation()):37!==o&&38!==o&&39!==o||r().each((e=>{n(e,t),t.preventDefault(),t.stopImmediatePropagation()})):13!==o&&38!==o&&40!==o||e.cancelIfNecessary())})),t.on("NodeChange",(t=>{e.isActive()&&!e.isProcessingAction()&&Lv(Me.fromDom(t.element)).isNone()&&e.cancelIfNecessary()}))};var Nv;!function(e){e[e.CLOSE_ON_EXECUTE=0]="CLOSE_ON_EXECUTE",e[e.BUBBLE_TO_SANDBOX=1]="BUBBLE_TO_SANDBOX"}(Nv||(Nv={}));var Fv=Nv;const zv="tox-menu-nav__js",qv="tox-collection__item",Uv="tox-swatch",Hv={normal:zv,color:Uv},Wv="tox-collection__item--enabled",Vv="tox-collection__item-icon",Yv="tox-collection__item-label",Zv="tox-collection__item-caret",Gv="tox-collection__item--active",Kv="tox-collection__item-container",$v="tox-collection__item-container--row",Xv=e=>be(Hv,e).getOr(zv),Qv=e=>"color"===e?"tox-swatches":"tox-menu",Jv=e=>({backgroundMenu:"tox-background-menu",selectedMenu:"tox-selected-menu",selectedItem:"tox-collection__item--active",hasIcons:"tox-menu--has-icons",menu:Qv(e),tieredMenu:"tox-tiered-menu"}),eb=e=>{const t=Jv(e);return{backgroundMenu:t.backgroundMenu,selectedMenu:t.selectedMenu,menu:t.menu,selectedItem:t.selectedItem,item:Xv(e)}},tb=(e,t,n)=>{const r=Jv(n);return{tag:"div",classes:G([[r.menu,`tox-menu-${t}-column`],e?[r.hasIcons]:[]])}},nb=[ig.parts.items({})],rb=(e,t,n)=>{const r=Jv(n);return{dom:{tag:"div",classes:G([[r.tieredMenu]])},markers:eb(n)}},ob=A([fo("data"),Ao("inputAttributes",{}),Ao("inputStyles",{}),Ao("tag","input"),Ao("inputClasses",[]),Ws("onSetValue"),Ao("styles",{}),Ao("eventOrder",{}),Fd("inputBehaviours",[Nd,Bm]),Ao("selectOnFocus",!0)]),ib=e=>Il([Bm.config({onFocus:e.selectOnFocus?e=>{const t=e.element,n=Ja(t);t.dom.setSelectionRange(0,n.length)}:v})]),ab=e=>({...ib(e),...qd(e.inputBehaviours,[Nd.config({store:{mode:"manual",...e.data.map((e=>({initialValue:e}))).getOr({}),getValue:e=>Ja(e.element),setValue:(e,t)=>{Ja(e.element)!==t&&es(e.element,t)}},onSetValue:e.onSetValue})])}),sb=e=>({tag:e.tag,attributes:{type:"text",...e.inputAttributes},styles:e.inputStyles,classes:e.inputClasses}),lb=Hf({name:"Input",configFields:ob(),factory:(e,t)=>({uid:e.uid,dom:sb(e),components:[],behaviours:ab(e),eventOrder:e.eventOrder})}),cb=da("refetch-trigger-event"),ub=da("redirect-menu-item-interaction"),db="tox-menu__searcher",fb=e=>ws(e.element,".tox-menu__searcher").bind((t=>e.getSystem().getByDom(t).toOptional())),pb=fb,hb=e=>({fetchPattern:Nd.getValue(e),selectionStart:e.element.dom.selectionStart,selectionEnd:e.element.dom.selectionEnd}),mb=e=>{const t=(e,t)=>(t.cut(),j.none()),n=(e,t)=>{const n={interactionEvent:t.event,eventType:t.event.raw.type};return Ii(e,ub,n),j.some(!0)},r="searcher-events";return{dom:{tag:"div",classes:[qv]},components:[lb.sketch({inputClasses:[db,"tox-textfield"],inputAttributes:{...e.placeholder.map((t=>({placeholder:e.i18n(t)}))).getOr({}),type:"search","aria-autocomplete":"list"},inputBehaviours:Il([_m(r,[Vi(ni(),(e=>{Li(e,cb)})),Vi(ei(),((e,t)=>{"Escape"===t.event.raw.key&&t.stop()}))]),pm.config({mode:"special",onLeft:t,onRight:t,onSpace:t,onEnter:n,onEscape:n,onUp:n,onDown:n})]),eventOrder:{keydown:[r,pm.name()]}})]}},gb="tox-collection--results__js",vb=e=>{var t;return e.dom?{...e,dom:{...e.dom,attributes:{...null!==(t=e.dom.attributes)&&void 0!==t?t:{},id:da("aria-item-search-result-id"),"aria-selected":"false"}}}:e},bb=(e,t)=>n=>{const r=F(n,t);return z(r,(t=>({dom:e,components:t})))},yb=(e,t)=>{const n=[];let r=[];return q(e,((e,o)=>{t(e,o)?(r.length>0&&n.push(r),r=[],(ye(e.dom,"innerHtml")||e.components&&e.components.length>0)&&r.push(e)):r.push(e)})),r.length>0&&n.push(r),z(n,(e=>({dom:{tag:"div",classes:["tox-collection__group"]},components:e})))},Ab=(e,t,n)=>ig.parts.items({preprocess:r=>{const o=z(r,n);return"auto"!==e&&e>1?bb({tag:"div",classes:["tox-collection__group"]},e)(o):yb(o,((e,n)=>"separator"===t[n].type))}}),xb=(e,t,n=!0)=>({dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"])},components:[Ab(e,t,x)]}),Cb=e=>I(e,(e=>"icon"in e&&void 0!==e.icon)),_b=e=>(console.error(Xr(e)),console.log(e),j.none()),wb=(e,t,n,r,o)=>{const i=(a=n,{dom:{tag:"div",classes:["tox-collection","tox-collection--horizontal"]},components:[ig.parts.items({preprocess:e=>yb(e,((e,t)=>"separator"===a[t].type))})]});var a;return{value:e,dom:i.dom,components:i.components,items:n}},kb=(e,t,n,r,o)=>{const i=()=>"searchable"!==o.menuType?xb(r,n):"search-with-field"===o.searchMode.searchMode?((e,t,n)=>{const r=da("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection"].concat(1===e?["tox-collection--list"]:["tox-collection--grid"])},components:[mb({i18n:yg.translate,placeholder:n.placeholder}),{dom:{tag:"div",classes:[...1===e?["tox-collection--list"]:["tox-collection--grid"],gb],attributes:{id:r}},components:[Ab(e,t,vb)]}]}})(r,n,o.searchMode):((e,t,n=!0)=>{const r=da("aria-controls-search-results");return{dom:{tag:"div",classes:["tox-menu","tox-collection",gb].concat(1===e?["tox-collection--list"]:["tox-collection--grid"]),attributes:{id:r}},components:[Ab(e,t,vb)]}})(r,n);if("color"===o.menuType){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-swatches-menu"]},components:[{dom:{tag:"div",classes:["tox-swatches"]},components:[ig.parts.items({preprocess:"auto"!==e?bb({tag:"div",classes:["tox-swatches__row"]},e):x})]}]}))(r);return{value:e,dom:t.dom,components:t.components,items:n}}if("normal"===o.menuType&&"auto"===r){const t=xb(r,n);return{value:e,dom:t.dom,components:t.components,items:n}}if("normal"===o.menuType||"searchable"===o.menuType){const t=i();return{value:e,dom:t.dom,components:t.components,items:n}}if("listpreview"===o.menuType&&"auto"!==r){const t=(e=>({dom:{tag:"div",classes:["tox-menu","tox-collection","tox-collection--toolbar","tox-collection--toolbar-lg"]},components:[ig.parts.items({preprocess:bb({tag:"div",classes:["tox-collection__group"]},e)})]}))(r);return{value:e,dom:t.dom,components:t.components,items:n}}return{value:e,dom:tb(t,r,o.menuType),components:nb,items:n}},Sb=io("type"),Eb=io("name"),Bb=io("label"),Ob=io("text"),jb=io("title"),Tb=io("icon"),Pb=io("value"),Mb=so("fetch"),Db=so("getSubmenuItems"),Rb=so("onAction"),Lb=so("onItemAction"),Ib=So("onSetup",(()=>v)),Nb=mo("name"),Fb=mo("text"),zb=mo("icon"),qb=mo("tooltip"),Ub=mo("label"),Hb=mo("shortcut"),Wb=vo("select"),Vb=ko("active",!1),Yb=ko("borderless",!1),Zb=ko("enabled",!0),Gb=ko("primary",!1),Kb=e=>Ao("columns",e),$b=Ao("meta",{}),Xb=So("onAction",v),Qb=e=>_o("type",e),Jb=e=>Jr("name","name",gr((()=>da(`${e}-name`))),Fr),ey=Tr([Sb,Fb]),ty=Tr([Qb("autocompleteitem"),Vb,Zb,$b,Pb,Fb,zb]),ny=[Zb,qb,zb,Fb,Ib],ry=Tr([Sb,Rb].concat(ny)),oy=e=>Gr("toolbarbutton",ry,e),iy=[Vb].concat(ny),ay=Tr(iy.concat([Sb,Rb])),sy=e=>Gr("ToggleButton",ay,e),ly=[So("predicate",E),wo("scope","node",["node","editor"]),wo("position","selection",["node","selection","line"])],cy=ny.concat([Qb("contextformbutton"),Gb,Rb,eo("original",x)]),uy=iy.concat([Qb("contextformbutton"),Gb,Rb,eo("original",x)]),dy=ny.concat([Qb("contextformbutton")]),fy=iy.concat([Qb("contextformtogglebutton")]),py=Qr("type",{contextformbutton:cy,contextformtogglebutton:uy}),hy=Tr([Qb("contextform"),So("initValue",A("")),Ub,uo("commands",py),po("launch",Qr("type",{contextformbutton:dy,contextformtogglebutton:fy}))].concat(ly)),my=Tr([Qb("contexttoolbar"),io("items")].concat(ly)),gy=[Sb,io("src"),mo("alt"),Eo("classes",[],Fr)],vy=Tr(gy),by=[Sb,Ob,Nb,Eo("classes",["tox-collection__item-label"],Fr)],yy=Tr(by),Ay=Br((()=>Vr("type",{cardimage:vy,cardtext:yy,cardcontainer:xy}))),xy=Tr([Sb,_o("direction","horizontal"),_o("align","left"),_o("valign","middle"),uo("items",Ay)]),Cy=[Zb,Fb,Hb,(_y="menuitem",Jr("value","value",gr((()=>da(`${_y}-value`))),Lr())),$b];var _y;const wy=Tr([Sb,Ub,uo("items",Ay),Ib,Xb].concat(Cy)),ky=Tr([Sb,Vb,zb].concat(Cy)),Sy=[Sb,io("fancytype"),Xb],Ey=[Ao("initData",{})].concat(Sy),By=[Bo("initData",{},[ko("allowCustomColors",!0),bo("colors",Lr())])].concat(Sy),Oy=Qr("fancytype",{inserttable:Ey,colorswatch:By}),jy=Tr([Sb,Ib,Xb,zb].concat(Cy)),Ty=Tr([Sb,Db,Ib,zb].concat(Cy)),Py=Tr([Sb,zb,Vb,Ib,Rb].concat(Cy)),My=(e,t,n)=>{const r=pu(e.element,"."+n);if(r.length>0){const e=Z(r,(e=>{const n=e.dom.getBoundingClientRect().top,o=r[0].dom.getBoundingClientRect().top;return Math.abs(n-o)>t})).getOr(r.length);return j.some({numColumns:e,numRows:Math.ceil(r.length/e)})}return j.none()},Dy=(e,t)=>Il([_m(e,t)]),Ry=e=>Dy(da("unnamed-events"),e),Ly=da("tooltip.exclusive"),Iy=da("tooltip.show"),Ny=da("tooltip.hide"),Fy=(e,t,n)=>{e.getSystem().broadcastOn([Ly],{})};var zy=Object.freeze({__proto__:null,hideAllExclusive:Fy,setComponents:(e,t,n,r)=>{n.getTooltip().each((e=>{e.getSystem().isConnected()&&Cm.set(e,r)}))}});var qy=Object.freeze({__proto__:null,events:(e,t)=>{const n=n=>{t.getTooltip().each((r=>{rd(r),e.onHide(n,r),t.clearTooltip()})),t.clearTimer()};return Ui(G([[Vi(Iy,(n=>{t.resetTimer((()=>{(n=>{if(!t.isShowing()){Fy(n);const r=e.lazySink(n).getOrDie(),o=n.getSystem().build({dom:e.tooltipDom,components:e.tooltipComponents,events:Ui("normal"===e.mode?[Vi(Xo(),(e=>{Li(n,Iy)})),Vi(Ko(),(e=>{Li(n,Ny)}))]:[]),behaviours:Il([Cm.config({})])});t.setTooltip(o),ed(r,o),e.onShow(n,o),Yu.position(r,o,{anchor:e.anchor(n)})}})(n)}),e.delay)})),Vi(Ny,(r=>{t.resetTimer((()=>{n(r)}),e.delay)})),Vi(hi(),((e,t)=>{const r=t;r.universal||L(r.channels,Ly)&&n(e)})),ea((e=>{n(e)}))],"normal"===e.mode?[Vi(Qo(),(e=>{Li(e,Iy)})),Vi(fi(),(e=>{Li(e,Ny)})),Vi(Xo(),(e=>{Li(e,Iy)})),Vi(Ko(),(e=>{Li(e,Ny)}))]:[Vi(Di(),((e,t)=>{Li(e,Iy)})),Vi(Ri(),(e=>{Li(e,Ny)}))]]))}}),Uy=[no("lazySink"),no("tooltipDom"),Ao("exclusive",!0),Ao("tooltipComponents",[]),Ao("delay",300),wo("mode","normal",["normal","follow-highlight"]),Ao("anchor",(e=>({type:"hotspot",hotspot:e,layouts:{onLtr:A([Cl,xl,vl,yl,bl,Al]),onRtl:A([Cl,xl,vl,yl,bl,Al])}}))),Ws("onHide"),Ws("onShow")];const Hy=Fl({fields:Uy,name:"tooltipping",active:qy,state:Object.freeze({__proto__:null,init:()=>{const e=pc(),t=pc(),n=()=>{e.on(clearTimeout)},r=A("not-implemented");return Oa({getTooltip:t.get,isShowing:t.isSet,setTooltip:t.set,clearTooltip:t.clear,clearTimer:n,resetTimer:(t,r)=>{n(),e.set(setTimeout(t,r))},readState:r})}}),apis:zy}),Wy="silver.readonly",Vy=Tr([(Yy="readonly",ro(Yy,zr))]);var Yy;const Zy=(e,t)=>{const n=e.outerContainer.element;t&&(e.mothership.broadcastOn([yd()],{target:n}),e.uiMothership.broadcastOn([yd()],{target:n})),e.mothership.broadcastOn([Wy],{readonly:t}),e.uiMothership.broadcastOn([Wy],{readonly:t})},Gy=(e,t)=>{e.on("init",(()=>{e.mode.isReadOnly()&&Zy(t,!0)})),e.on("SwitchMode",(()=>Zy(t,e.mode.isReadOnly()))),Fg(e)&&e.mode.set("readonly")},Ky=()=>Hl.config({channels:{[Wy]:{schema:Vy,onReceive:(e,t)=>{lp.set(e,t.readonly)}}}}),$y=e=>lp.config({disabled:e,disableClass:"tox-collection__item--state-disabled"}),Xy=e=>lp.config({disabled:e}),Qy=e=>lp.config({disabled:e,disableClass:"tox-tbtn--disabled"}),Jy=e=>lp.config({disabled:e,disableClass:"tox-tbtn--disabled",useNative:!1}),eA=(e,t)=>{const n=e.getApi(t);return e=>{e(n)}},tA=(e,t)=>Ji((n=>{eA(e,n)((n=>{const r=e.onSetup(n);h(r)&&t.set(r)}))})),nA=(e,t)=>ea((n=>eA(e,n)(t.get()))),rA=(e,t)=>na(((n,r)=>{eA(e,n)(e.onAction),e.triggersSubmenu||t!==Fv.CLOSE_ON_EXECUTE||(n.getSystem().isConnected()&&Li(n,yi()),r.stop())})),oA={[mi()]:["disabling","alloy.base.behaviour","toggling","item-events"]},iA=Ce,aA=(e,t,n,r)=>{const o=Oo(v);return{type:"item",dom:t.dom,components:iA(t.optComponents),data:e.data,eventOrder:oA,hasSubmenu:e.triggersSubmenu,itemBehaviours:Il([_m("item-events",[rA(e,n),tA(e,o),nA(e,o)]),$y((()=>!e.enabled||r.isDisabled())),Ky(),Cm.config({})].concat(e.itemBehaviours))}},sA=e=>({value:e.value,meta:{text:e.text.getOr(""),...e.meta}}),lA=e=>{const t=Rg.os.isMacOS()||Rg.os.isiOS(),n=t?{alt:"⌥",ctrl:"⌃",shift:"⇧",meta:"⌘",access:"⌃⌥"}:{meta:"Ctrl",access:"Shift+Alt"},r=e.split("+"),o=z(r,(e=>{const t=e.toLowerCase().trim();return ye(n,t)?n[t]:e}));return t?o.join(""):o.join("+")},cA=(e,t,n=[Vv])=>Bg(e,{tag:"div",classes:n},t),uA=e=>({dom:{tag:"div",classes:[Yv]},components:[fs(yg.translate(e))]}),dA=(e,t)=>({dom:{tag:"div",classes:t,innerHtml:e}}),fA=(e,t)=>({dom:{tag:"div",classes:[Yv]},components:[{dom:{tag:e.tag,styles:e.styles},components:[fs(yg.translate(t))]}]}),pA=e=>({dom:{tag:"div",classes:["tox-collection__item-accessory"]},components:[fs(lA(e))]}),hA=e=>cA("checkmark",e,["tox-collection__item-checkmark"]),mA=(e,t,n)=>{const r=e.ariaLabel,o=e.value,i=e.iconContent.map((e=>((e,t,n)=>{const r=t();return wg(e,r).or(n).getOrThunk(Cg(r))})(e,t.icons,n)));return{dom:(()=>{const e=i.getOr(""),n=r.map((e=>({title:t.translate(e)}))).getOr({}),a={tag:"div",attributes:n,classes:["tox-swatch"]};return"custom"===o?{...a,tag:"button",classes:[...a.classes,"tox-swatches__picker-btn"],innerHtml:e}:"remove"===o?{...a,classes:[...a.classes,"tox-swatch--remove"],innerHtml:e}:p(o)?{...a,attributes:{...a.attributes,"data-mce-color":o},styles:{"background-color":o}}:a})(),optComponents:[]}},gA=e=>{const t=e.map((e=>({attributes:{title:yg.translate(e)}}))).getOr({});return{tag:"div",classes:[zv,qv],...t}},vA=(e,t,n,r=j.none())=>"color"===e.presets?mA(e,t,r):((e,t,n,r)=>{const o={tag:"div",classes:[Vv]},i=n?e.iconContent.map((e=>Bg(e,o,t.icons,r))).orThunk((()=>j.some({dom:o}))):j.none(),a=e.checkMark,s=j.from(e.meta).fold((()=>uA),(e=>ye(e,"style")?_(fA,e.style):uA)),l=e.htmlContent.fold((()=>e.textContent.map(s)),(e=>j.some(dA(e,[Yv]))));return{dom:gA(e.ariaLabel),optComponents:[i,l,e.shortcutContent.map(pA),a,e.caret]}})(e,t,n,r),bA=(e,t)=>be(e,"tooltipWorker").map((e=>[Hy.config({lazySink:t.getSink,tooltipDom:{tag:"div",classes:["tox-tooltip-worker-container"]},tooltipComponents:[],anchor:e=>({type:"submenu",item:e,overrides:{maxHeightFunction:Bc}}),mode:"follow-highlight",onShow:(t,n)=>{e((e=>{Hy.setComponents(t,[ps({element:Me.fromDom(e)})])}))}})])).getOr([]),yA=(e,t)=>{const n=(e=>Mg.DOM.encode(e))(yg.translate(e));if(t.length>0){const e=new RegExp((e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"))(t),"gi");return n.replace(e,(e=>`<span class="tox-autocompleter-highlight">${e}</span>`))}return n},AA=(e,t)=>z(e,(e=>{switch(e.type){case"cardcontainer":return((e,t)=>{const n="vertical"===e.direction?"tox-collection__item-container--column":$v,r="left"===e.align?"tox-collection__item-container--align-left":"tox-collection__item-container--align-right";return{dom:{tag:"div",classes:[Kv,n,r,(()=>{switch(e.valign){case"top":return"tox-collection__item-container--valign-top";case"middle":return"tox-collection__item-container--valign-middle";case"bottom":return"tox-collection__item-container--valign-bottom"}})()]},components:t}})(e,AA(e.items,t));case"cardimage":return((e,t,n)=>({dom:{tag:"img",classes:t,attributes:{src:e,alt:n.getOr("")}}}))(e.src,e.classes,e.alt);case"cardtext":const n=e.name.exists((e=>L(t.cardText.highlightOn,e))),r=n?j.from(t.cardText.matchText).getOr(""):"";return dA(yA(e.text,r),e.classes)}})),xA=Cf(Qm(),Jm()),CA=e=>({value:e}),_A=/^#?([a-f\d])([a-f\d])([a-f\d])$/i,wA=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i,kA=e=>_A.test(e)||wA.test(e),SA=e=>((e,t)=>Ee(e,t)?((e,t)=>e.substring(t))(e,t.length):e)(e,"#").toUpperCase(),EA=e=>{const t=(e=>{const t=e.value.replace(_A,((e,t,n,r)=>t+t+n+n+r+r));return{value:t}})(e),n=wA.exec(t.value);return null===n?["FFFFFF","FF","FF","FF"]:n},BA=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},OA=e=>{const t=BA(e.red)+BA(e.green)+BA(e.blue);return CA(t)},jA=Math.min,TA=Math.max,PA=Math.round,MA=/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i,DA=/^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i,RA=(e,t,n,r)=>({red:e,green:t,blue:n,alpha:r}),LA=e=>{const t=parseInt(e,10);return t.toString()===e&&t>=0&&t<=255},IA=e=>{let t,n,r;const o=(e.hue||0)%360;let i=e.saturation/100,a=e.value/100;if(i=TA(0,jA(i,1)),a=TA(0,jA(a,1)),0===i)return t=n=r=PA(255*a),RA(t,n,r,1);const s=o/60,l=a*i,c=l*(1-Math.abs(s%2-1)),u=a-l;switch(Math.floor(s)){case 0:t=l,n=c,r=0;break;case 1:t=c,n=l,r=0;break;case 2:t=0,n=l,r=c;break;case 3:t=0,n=c,r=l;break;case 4:t=c,n=0,r=l;break;case 5:t=l,n=0,r=c;break;default:t=n=r=0}return t=PA(255*(t+u)),n=PA(255*(n+u)),r=PA(255*(r+u)),RA(t,n,r,1)},NA=e=>{const t=EA(e),n=parseInt(t[1],16),r=parseInt(t[2],16),o=parseInt(t[3],16);return RA(n,r,o,1)},FA=(e,t,n,r)=>{const o=parseInt(e,10),i=parseInt(t,10),a=parseInt(n,10),s=parseFloat(r);return RA(o,i,a,s)},zA=e=>{if("transparent"===e)return j.some(RA(0,0,0,0));const t=MA.exec(e);if(null!==t)return j.some(FA(t[1],t[2],t[3],"1"));const n=DA.exec(e);return null!==n?j.some(FA(n[1],n[2],n[3],n[4])):j.none()},qA=e=>`rgba(${e.red},${e.green},${e.blue},${e.alpha})`,UA=RA(255,0,0,1),HA=(e,t)=>{e.dispatch("ResizeContent",t)},WA=(e,t)=>e.dispatch("ResolveName",{name:t.nodeName.toLowerCase(),target:t}),VA=(e,t,n)=>({hue:e,saturation:t,value:n}),YA=e=>{let t=0,n=0,r=0;const o=e.red/255,i=e.green/255,a=e.blue/255,s=Math.min(o,Math.min(i,a)),l=Math.max(o,Math.max(i,a));if(s===l)return r=s,VA(0,0,100*r);return t=o===s?3:a===s?1:5,t=60*(t-(o===s?i-a:a===s?o-i:a-o)/(l-s)),n=(l-s)/l,r=l,VA(Math.round(t),Math.round(100*n),Math.round(100*r))},ZA=e=>OA(IA(e)),GA=e=>{return(t=e,kA(t)?j.some({value:SA(t)}):j.none()).orThunk((()=>zA(e).map(OA))).getOrThunk((()=>{const t=document.createElement("canvas");t.height=1,t.width=1;const n=t.getContext("2d");n.clearRect(0,0,t.width,t.height),n.fillStyle="#FFFFFF",n.fillStyle=e,n.fillRect(0,0,1,1);const r=n.getImageData(0,0,1,1).data,o=r[0],i=r[1],a=r[2],s=r[3];return OA(RA(o,i,a,s))}));var t};var KA=tinymce.util.Tools.resolve("tinymce.util.LocalStorage");const $A="tinymce-custom-colors",XA=((e=10)=>{const t=KA.getItem($A),n=i(t)?JSON.parse(t):[],r=e-(o=n).length<0?o.slice(0,e):o;var o;const a=e=>{r.splice(e,1)};return{add:t=>{R(r,t).each(a),r.unshift(t),r.length>e&&r.pop(),KA.setItem($A,JSON.stringify(r))},state:()=>r.slice(0)}})(10),QA=e=>{const t=[];for(let n=0;n<e.length;n+=2)t.push({text:e[n+1],value:"#"+GA(e[n]).value,type:"choiceitem"});return t},JA=e=>t=>t.options.get(e),ex=JA("color_cols"),tx=JA("custom_colors"),nx=JA("color_map"),rx=e=>{XA.add(e)},ox="#000000",ix=(e,t)=>{let n;return e.dom.getParents(e.selection.getStart(),(e=>{const r=p(e.style)?e.style["forecolor"===t?"color":"backgroundColor"]:null;r&&(n=n||r)})),j.from(n)},ax=e=>{const t="choiceitem",n={type:t,text:"Remove color",icon:"color-swatch-remove-color",value:"remove"};return e?[n,{type:t,text:"Custom color",icon:"color-picker",value:"custom"}]:[n]},sx=(e,t,n,r)=>{if("custom"===n){px(e)((n=>{n.each((n=>{rx(n),e.execCommand("mceApplyTextcolor",t,n),r(n)}))}),ox)}else"remove"===n?(r(""),e.execCommand("mceRemoveTextcolor",t)):(r(n),e.execCommand("mceApplyTextcolor",t,n))},lx=(e,t)=>e.concat(z(XA.state(),(e=>({type:"choiceitem",text:e,value:e}))).concat(ax(t))),cx=(e,t)=>n=>{n(lx(e,t))},ux=(e,t,n)=>{const r="forecolor"===t?"tox-icon-text-color__color":"tox-icon-highlight-bg-color__color";e.setIconFill(r,n)},dx=(e,t,n,r,o)=>{e.ui.registry.addSplitButton(t,{tooltip:r,presets:"color",icon:"forecolor"===t?"text-color":"highlight-bg-color",select:t=>ix(e,n).bind((e=>zA(e).map((e=>{const n=OA(e).value;return Se(t.toLowerCase(),n)})))).getOr(!1),columns:ex(e),fetch:cx(nx(e),tx(e)),onAction:t=>{sx(e,n,o.get(),v)},onItemAction:(r,i)=>{sx(e,n,i,(n=>{o.set(n),((e,t)=>{e.dispatch("TextColorChange",t)})(e,{name:t,color:n})}))},onSetup:n=>{ux(n,t,o.get());const r=e=>{e.name===t&&ux(n,e.name,e.color)};return e.on("TextColorChange",r),()=>{e.off("TextColorChange",r)}}})},fx=(e,t,n,r)=>{e.ui.registry.addNestedMenuItem(t,{text:r,icon:"forecolor"===t?"text-color":"highlight-bg-color",getSubmenuItems:()=>[{type:"fancymenuitem",fancytype:"colorswatch",onAction:t=>{sx(e,n,t.value,v)}}]})},px=e=>(t,n)=>{let r=!1;const o={colorpicker:n};e.windowManager.open({title:"Color Picker",size:"normal",body:{type:"panel",items:[{type:"colorpicker",name:"colorpicker",label:"Color"}]},buttons:[{type:"cancel",name:"cancel",text:"Cancel"},{type:"submit",name:"save",text:"Save",primary:!0}],initialData:o,onAction:(e,t)=>{"hex-valid"===t.name&&(r=t.value)},onSubmit:n=>{const o=n.getData().colorpicker;r?(t(j.from(o)),n.close()):e.windowManager.alert(e.translate(["Invalid hex color code: {0}",o]))},onClose:v,onCancel:()=>{t(j.none())}})},hx=(e,t,n,r,o,i,a,s)=>{const l=Cb(t),c=mx(t,n,r,"color"!==o?"normal":"color",i,a,s);return kb(e,l,c,r,{menuType:o})},mx=(e,t,n,r,o,i,a)=>Ce(z(e,(s=>{return"choiceitem"===s.type?(l=s,Gr("choicemenuitem",ky,l)).fold(_b,(s=>j.some(((e,t,n,r,o,i,a,s=!0)=>{const l=vA({presets:n,textContent:t?e.text:j.none(),htmlContent:j.none(),ariaLabel:e.text,iconContent:e.icon,shortcutContent:t?e.shortcut:j.none(),checkMark:t?j.some(hA(a.icons)):j.none(),caret:j.none(),value:e.value},a,s);return hr(aA({data:sA(e),enabled:e.enabled,getApi:e=>({setActive:t=>{Lm.set(e,t)},isActive:()=>Lm.isOn(e),isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t)}),onAction:t=>r(e.value),onSetup:e=>(e.setActive(o),v),triggersSubmenu:!1,itemBehaviours:[]},l,i,a),{toggling:{toggleClass:Wv,toggleOnExecute:!1,selected:e.active,exclusive:!0}})})(s,1===n,r,t,i(s.value),o,a,Cb(e))))):j.none();var l}))),gx=(e,t)=>{const n=eb(t);if(1===e)return{mode:"menu",moveOnTab:!0};if("auto"===e)return{mode:"grid",selector:"."+n.item,initSize:{numColumns:1,numRows:1}};return{mode:"matrix",rowSelector:"."+("color"===t?"tox-swatches__row":"tox-collection__group")}},vx=(e,t)=>{const n=e.initData.allowCustomColors&&t.colorinput.hasCustomColors();return e.initData.colors.fold((()=>lx(t.colorinput.getColors(),n)),(e=>e.concat(ax(n))))},bx=da("cell-over"),yx=da("cell-execute"),Ax=(e,t,n)=>{const r=n=>Ii(n,yx,{row:e,col:t}),o=(e,t)=>{t.stop(),r(e)};return gs({dom:{tag:"div",attributes:{role:"button","aria-labelledby":n}},behaviours:Il([_m("insert-table-picker-cell",[Vi(Xo(),Bm.focus),Vi(mi(),r),Vi(oi(),o),Vi(vi(),o)]),Lm.config({toggleClass:"tox-insert-table-picker__selected",toggleOnExecute:!1}),Bm.config({onFocus:n=>Ii(n,bx,{row:e,col:t})})])})},xx=e=>K(e,(e=>z(e,vs))),Cx=(e,t)=>fs(`${t}x${e}`),_x={inserttable:e=>{const t=da("size-label"),n=((e,t,n)=>{const r=[];for(let o=0;o<t;o++){const t=[];for(let r=0;r<n;r++)t.push(Ax(o,r,e));r.push(t)}return r})(t,10,10),r=Cx(0,0),o=bg({dom:{tag:"span",classes:["tox-insert-table-picker__label"],attributes:{id:t}},components:[r],behaviours:Il([Cm.config({})])});return{type:"widget",data:{value:da("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[xA.widget({dom:{tag:"div",classes:["tox-insert-table-picker"]},components:xx(n).concat(o.asSpec()),behaviours:Il([_m("insert-table-picker",[Ji((e=>{Cm.set(o.get(e),[r])})),Ki(bx,((e,t,r)=>{const{row:i,col:a}=r.event;((e,t,n,r,o)=>{for(let i=0;i<r;i++)for(let r=0;r<o;r++)Lm.set(e[i][r],i<=t&&r<=n)})(n,i,a,10,10),Cm.set(o.get(e),[Cx(i+1,a+1)])})),Ki(yx,((t,n,r)=>{const{row:o,col:i}=r.event;e.onAction({numRows:o+1,numColumns:i+1}),Li(t,yi())}))]),pm.config({initSize:{numRows:10,numColumns:10},mode:"flatgrid",selector:'[role="button"]'})])})]}},colorswatch:(e,t)=>{const n=vx(e,t),r=t.colorinput.getColorCols(),o="color",i=hx(da("menu-value"),n,(t=>{e.onAction({value:t})}),r,o,Fv.CLOSE_ON_EXECUTE,E,t.shared.providers),a={...i,markers:eb(o),movement:gx(r,o)};return{type:"widget",data:{value:da("widget-id")},dom:{tag:"div",classes:["tox-fancymenuitem"]},autofocus:!0,components:[xA.widget(ig.sketch(a))]}}},wx=(e,t,n,r,o,i,a,s=!0)=>{const l=vA({presets:r,textContent:j.none(),htmlContent:n?e.text.map((e=>yA(e,t))):j.none(),ariaLabel:e.text,iconContent:e.icon,shortcutContent:j.none(),checkMark:j.none(),caret:j.none(),value:e.value},a.providers,s,e.icon);return aA({data:sA(e),enabled:e.enabled,getApi:A({}),onAction:t=>o(e.value,e.meta),onSetup:A(v),triggersSubmenu:!1,itemBehaviours:bA(e.meta,a)},l,i,a.providers)},kx=e=>({type:"separator",dom:{tag:"div",classes:[qv,"tox-collection__group-heading"]},components:e.text.map(fs).toArray()}),Sx=(e,t,n,r=!0)=>{const o=vA({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:j.none(),ariaLabel:e.text,caret:j.none(),checkMark:j.none(),shortcutContent:e.shortcut},n,r);return aA({data:sA(e),getApi:e=>({isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t)}),enabled:e.enabled,onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},o,t,n)},Ex=(e,t,n,r=!0,o=!1)=>{const i=o?(a=n.icons,cA("chevron-down",a,[Zv])):(e=>cA("chevron-right",e,[Zv]))(n.icons);var a;const s=vA({presets:"normal",iconContent:e.icon,textContent:e.text,htmlContent:j.none(),ariaLabel:e.text,caret:j.some(i),checkMark:j.none(),shortcutContent:e.shortcut},n,r);return aA({data:sA(e),getApi:e=>({isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t)}),enabled:e.enabled,onAction:v,onSetup:e.onSetup,triggersSubmenu:!0,itemBehaviours:[]},s,t,n)},Bx=(e,t,n,r=!0)=>{const o=vA({iconContent:e.icon,textContent:e.text,htmlContent:j.none(),ariaLabel:e.text,checkMark:j.some(hA(n.icons)),caret:j.none(),shortcutContent:e.shortcut,presets:"normal",meta:e.meta},n,r);return hr(aA({data:sA(e),enabled:e.enabled,getApi:e=>({setActive:t=>{Lm.set(e,t)},isActive:()=>Lm.isOn(e),isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t)}),onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:[]},o,t,n),{toggling:{toggleClass:Wv,toggleOnExecute:!1,selected:e.active}})},Ox=(e,t)=>be(_x,e.fancytype).map((n=>n(e,t))),jx=(e,t,n,r)=>{const o={dom:gA(e.label),optComponents:[j.some({dom:{tag:"div",classes:[Kv,$v]},components:AA(e.items,r)})]};return aA({data:sA({text:j.none(),...e}),enabled:e.enabled,getApi:e=>({isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>{lp.set(e,!t),q(pu(e.element,"*"),(n=>{e.getSystem().getByDom(n).each((e=>{e.hasConfigured(lp)&&lp.set(e,!t)}))}))}}),onAction:e.onAction,onSetup:e.onSetup,triggersSubmenu:!1,itemBehaviours:j.from(r.itemBehaviours).getOr([])},o,t,n.providers)};var Tx=Object.freeze({__proto__:null,getCoupled:(e,t,n,r)=>n.getOrCreate(e,t,r),getExistingCoupled:(e,t,n,r)=>n.getExisting(e,t,r)}),Px=[ro("others",Zr($n.value,Lr()))];var Mx=Object.freeze({__proto__:null,init:()=>{const e={},t=(t,n)=>{if(0===se(t.others).length)throw new Error("Cannot find any known coupled components");return be(e,n)},n=A({});return Oa({readState:n,getExisting:(e,n,r)=>t(n,r).orThunk((()=>(be(n.others,r).getOrDie("No information found for coupled component: "+r),j.none()))),getOrCreate:(n,r,o)=>t(r,o).getOrThunk((()=>{const t=be(r.others,o).getOrDie("No information found for coupled component: "+o)(n),i=n.getSystem().build(t);return e[o]=i,i}))})}});const Dx=Fl({fields:Px,name:"coupling",apis:Tx,state:Mx}),Rx=e=>{let t=j.none(),n=[];const r=e=>{o()?a(e):n.push(e)},o=()=>t.isSome(),i=e=>{q(e,a)},a=e=>{t.each((t=>{setTimeout((()=>{e(t)}),0)}))};return e((e=>{o()||(t=j.some(e),i(n),n=[])})),{get:r,map:e=>Rx((t=>{r((n=>{t(e(n))}))})),isReady:o}},Lx={nu:Rx,pure:e=>Rx((t=>{t(e)}))},Ix=e=>{setTimeout((()=>{throw e}),0)},Nx=e=>{const t=t=>{e().then(t,Ix)};return{map:t=>Nx((()=>e().then(t))),bind:t=>Nx((()=>e().then((e=>t(e).toPromise())))),anonBind:t=>Nx((()=>e().then((()=>t.toPromise())))),toLazy:()=>Lx.nu(t),toCached:()=>{let t=null;return Nx((()=>(null===t&&(t=e()),t)))},toPromise:e,get:t}},Fx=e=>Nx((()=>new Promise(e))),zx=e=>Nx((()=>Promise.resolve(e))),qx=A("sink"),Ux=A(vf({name:qx(),overrides:A({dom:{tag:"div"},behaviours:Il([Yu.config({useFixed:B})]),events:Ui([$i(ei()),$i(Zo()),$i(oi())])})})),Hx=(e,t)=>{const n=e.getHotspot(t).getOr(t),r="hotspot",o=e.getAnchorOverrides();return e.layouts.fold((()=>({type:r,hotspot:n,overrides:o})),(e=>({type:r,hotspot:n,overrides:o,layouts:e})))},Wx=(e,t,n,r,o,i,a)=>{const s=((e,t,n,r,o,i,a)=>{const s=((e,t,n)=>(0,e.fetch)(n).map(t))(e,t,r),l=Gx(r,e);return s.map((e=>e.bind((e=>j.from(hg.sketch({...i.menu(),uid:ba(""),data:e,highlightOnOpen:a,onOpenMenu:(e,t)=>{const r=l().getOrDie();Yu.position(r,t,{anchor:n}),bd.decloak(o)},onOpenSubmenu:(e,t,n)=>{const r=l().getOrDie();Yu.position(r,n,{anchor:{type:"submenu",item:t}}),bd.decloak(o)},onRepositionMenu:(e,t,r)=>{const o=l().getOrDie();Yu.position(o,t,{anchor:n}),q(r,(e=>{Yu.position(o,e.triggeredMenu,{anchor:{type:"submenu",item:e.triggeringItem}})}))},onEscape:()=>(Bm.focus(r),bd.close(o),j.some(!0))}))))))})(e,t,Hx(e,n),n,r,o,a);return s.map((e=>(e.fold((()=>{bd.isOpen(r)&&bd.close(r)}),(e=>{bd.cloak(r),bd.open(r,e),i(r)})),r)))},Vx=(e,t,n,r,o,i,a)=>(bd.close(r),zx(r)),Yx=(e,t,n,r,o,i)=>{const a=Dx.getCoupled(n,"sandbox");return(bd.isOpen(a)?Vx:Wx)(e,t,n,a,r,o,i)},Zx=(e,t,n)=>{const r=Gf.getCurrent(t).getOr(t),o=Zt(e.element);n?Et(r.element,"min-width",o+"px"):((e,t)=>{Yt.set(e,t)})(r.element,o)},Gx=(e,t)=>e.getSystem().getByUid(t.uid+"-"+qx()).map((e=>()=>$n.value(e))).getOrThunk((()=>t.lazySink.fold((()=>()=>$n.error(new Error("No internal sink is specified, nor could an external sink be found"))),(t=>()=>t(e))))),Kx=e=>{bd.getState(e).each((e=>{hg.repositionMenus(e)}))},$x=(e,t,n)=>{const r=Es(),o=Gx(t,e);return{dom:{tag:"div",classes:e.sandboxClasses,attributes:{id:r.id,role:"listbox"}},behaviours:Hd(e.sandboxBehaviours,[Nd.config({store:{mode:"memory",initialValue:t}}),bd.config({onOpen:(o,i)=>{const a=Hx(e,t);r.link(t.element),e.matchWidth&&Zx(a.hotspot,i,e.useMinWidth),e.onOpen(a,o,i),void 0!==n&&void 0!==n.onOpen&&n.onOpen(o,i)},onClose:(e,o)=>{r.unlink(t.element),void 0!==n&&void 0!==n.onClose&&n.onClose(e,o)},isPartOf:(e,n,r)=>Os(n,r)||Os(t,r),getAttachPoint:()=>o().getOrDie()}),Gf.config({find:e=>bd.getState(e).bind((e=>Gf.getCurrent(e)))}),Hl.config({channels:{..._d({isExtraPart:E}),...kd({doReposition:Kx})}})])}},Xx=e=>{const t=Dx.getCoupled(e,"sandbox");Kx(t)},Qx=()=>[Ao("sandboxClasses",[]),Ud("sandboxBehaviours",[Gf,Hl,bd,Nd])],Jx=A([no("dom"),no("fetch"),Ws("onOpen"),Vs("onExecute"),Ao("getHotspot",j.some),Ao("getAnchorOverrides",A({})),zc(),Fd("dropdownBehaviours",[Lm,Dx,pm,Bm]),no("toggleClass"),Ao("eventOrder",{}),fo("lazySink"),Ao("matchWidth",!1),Ao("useMinWidth",!1),fo("role")].concat(Qx())),eC=A([gf({schema:[qs(),Ao("fakeFocus",!1)],name:"menu",defaults:e=>({onExecute:e.onExecute})}),Ux()]),tC=Wf({name:"Dropdown",configFields:Jx(),partFields:eC(),factory:(e,t,n,r)=>{const o=e=>{bd.getState(e).each((e=>{hg.highlightPrimary(e)}))},i=(t,n,o)=>Yx(e,x,t,r,n,o),a={expand:e=>{Lm.isOn(e)||i(e,v,fg.HighlightNone).get(v)},open:e=>{Lm.isOn(e)||i(e,v,fg.HighlightMenuAndItem).get(v)},refetch:t=>Dx.getExistingCoupled(t,"sandbox").fold((()=>i(t,v,fg.HighlightMenuAndItem).map(v)),(n=>Wx(e,x,t,n,r,v,fg.HighlightMenuAndItem).map(v))),isOpen:Lm.isOn,close:e=>{Lm.isOn(e)&&i(e,v,fg.HighlightMenuAndItem).get(v)},repositionMenus:e=>{Lm.isOn(e)&&Xx(e)}},s=(e,t)=>(Ni(e),j.some(!0));return{uid:e.uid,dom:e.dom,components:t,behaviours:qd(e.dropdownBehaviours,[Lm.config({toggleClass:e.toggleClass,aria:{mode:"expanded"}}),Dx.config({others:{sandbox:t=>$x(e,t,{onOpen:()=>Lm.on(t),onClose:()=>Lm.off(t)})}}),pm.config({mode:"special",onSpace:s,onEnter:s,onDown:(e,t)=>{if(tC.isOpen(e)){const t=Dx.getCoupled(e,"sandbox");o(t)}else tC.open(e);return j.some(!0)},onEscape:(e,t)=>tC.isOpen(e)?(tC.close(e),j.some(!0)):j.none()}),Bm.config({})]),events:Fm(j.some((e=>{i(e,o,fg.HighlightMenuAndItem).get(v)}))),eventOrder:{...e.eventOrder,[mi()]:["disabling","toggling","alloy.base.behaviour"]},apis:a,domModification:{attributes:{"aria-haspopup":"true",...e.role.fold((()=>({})),(e=>({role:e}))),..."button"===e.dom.tag?{type:(l="type",be(e.dom,"attributes").bind((e=>be(e,l)))).getOr("button")}:{}}}};var l},apis:{open:(e,t)=>e.open(t),refetch:(e,t)=>e.refetch(t),expand:(e,t)=>e.expand(t),close:(e,t)=>e.close(t),isOpen:(e,t)=>e.isOpen(t),repositionMenus:(e,t)=>e.repositionMenus(t)}}),nC=e=>{const t=Nd.getValue(e),n=fb(e).map(hb);tC.refetch(t).get((()=>{const e=Dx.getCoupled(t,"sandbox");n.each((t=>fb(e).each((e=>((e,t)=>{Nd.setValue(e,t.fetchPattern),e.element.dom.selectionStart=t.selectionStart,e.element.dom.selectionEnd=t.selectionEnd})(e,t)))))}))},rC=e=>bd.getState(e).bind(yp.getHighlighted).bind(yp.getHighlighted),oC=(e,t,n)=>{pb(e).each((e=>{((e,t)=>{Ct(t.element,"id").each((t=>yt(e.element,"aria-activedescendant",t)))})(e,n);var r;(Ka((r=t).element,gb)?j.some(r.element):ws(r.element,"."+gb)).each((t=>{Ct(t,"id").each((t=>yt(e.element,"aria-controls",t)))}))})),yt(n.element,"aria-selected","true")},iC=(e,t,n)=>{yt(n.element,"aria-selected","false")},aC=e=>Dx.getExistingCoupled(e,"sandbox").bind(fb).map(hb).map((e=>e.fetchPattern)).getOr("");var sC;!function(e){e[e.ContentFocus=0]="ContentFocus",e[e.UiFocus=1]="UiFocus"}(sC||(sC={}));const lC=(e,t,n,r,o)=>{const i=n.shared.providers,a=e=>o?{...e,shortcut:j.none(),icon:e.text.isSome()?j.none():e.icon}:e;switch(e.type){case"menuitem":return(s=e,Gr("menuitem",jy,s)).fold(_b,(e=>j.some(Sx(a(e),t,i,r))));case"nestedmenuitem":return(e=>Gr("nestedmenuitem",Ty,e))(e).fold(_b,(e=>j.some(Ex(a(e),t,i,r,o))));case"togglemenuitem":return(e=>Gr("togglemenuitem",Py,e))(e).fold(_b,(e=>j.some(Bx(a(e),t,i,r))));case"separator":return(e=>Gr("separatormenuitem",ey,e))(e).fold(_b,(e=>j.some(kx(e))));case"fancymenuitem":return(e=>Gr("fancymenuitem",Oy,e))(e).fold(_b,(e=>Ox(e,n)));default:return console.error("Unknown item in general menu",e),j.none()}var s},cC=(e,t,n,r,o,i,a)=>{const s=1===r,l=!s||Cb(e);return Ce(z(e,(e=>{switch(e.type){case"separator":return(r=e,Gr("Autocompleter.Separator",ey,r)).fold(_b,(e=>j.some(kx(e))));case"cardmenuitem":return(e=>Gr("cardmenuitem",wy,e))(e).fold(_b,(e=>j.some(jx({...e,onAction:t=>{e.onAction(t),n(e.value,e.meta)}},o,i,{itemBehaviours:bA(e.meta,i),cardText:{matchText:t,highlightOn:a}}))));default:return(e=>Gr("Autocompleter.Item",ty,e))(e).fold(_b,(e=>j.some(wx(e,t,s,"normal",n,o,i,l))))}var r})))},uC=(e,t,n,r,o,i)=>{const a=Cb(t),s=Ce(z(t,(e=>{const t=e=>lC(e,n,r,(e=>o?!ye(e,"text"):a)(e),o);return"nestedmenuitem"===e.type&&e.getSubmenuItems().length<=0?t({...e,enabled:!1}):t(e)}))),l=(e=>"no-search"===e.searchMode?{menuType:"normal"}:{menuType:"searchable",searchMode:e})(i);return(o?wb:kb)(e,a,s,1,l)},dC=e=>hg.singleData(e.value,e),fC=(e,t)=>{const n=Oo(!1),r=Oo(!1),o=gs(mg.sketch({dom:{tag:"div",classes:["tox-autocompleter"]},components:[],fireDismissalEventInstead:{},inlineBehaviours:Il([_m("dismissAutocompleter",[Vi(Bi(),(()=>c()))])]),lazySink:t.getSink})),i=()=>mg.isOpen(o),a=r.get,s=()=>{i()&&mg.hide(o)},l=()=>mg.getContent(o).bind((e=>ne(e.components(),0))),c=()=>e.execCommand("mceAutocompleterClose"),u=r=>{const o=ae(r,(e=>j.from(e.columns))).getOr(1);return K(r,(r=>{const i=r.items;return cC(i,r.matchText,((t,o)=>{const i=e.selection.getRng();((e,t)=>Lv(Me.fromDom(t.startContainer)).map((t=>{const n=e.createRng();return n.selectNode(t.dom),n})))(e.dom,i).each((i=>{const a={hide:()=>c(),reload:t=>{s(),e.execCommand("mceAutocompleterReload",!1,{fetchOptions:t})}};n.set(!0),r.onAction(a,i,t,o),n.set(!1)}))}),o,Fv.BUBBLE_TO_SANDBOX,t,r.highlightOn)}))},d=(t,n)=>{var r;(r=Me.fromDom(e.getBody()),ws(r,Rv)).each((r=>{const i=ae(t,(e=>j.from(e.columns))).getOr(1);mg.showMenuAt(o,{anchor:{type:"node",root:Me.fromDom(e.getBody()),node:j.from(r)}},((e,t,n,r)=>{const o=gx(t,r),i=eb(r);return{data:dC({...e,movement:o,menuBehaviours:Ry("auto"!==t?[]:[Ji(((e,t)=>{My(e,4,i.item).each((({numColumns:t,numRows:n})=>{pm.setGridSize(e,n,t)}))}))])}),menu:{markers:eb(r),fakeFocus:n===sC.ContentFocus}}})(kb("autocompleter-value",!0,n,i,{menuType:"normal"}),i,sC.ContentFocus,"normal"))})),l().each(yp.highlightFirst)},f=e=>{const t=u(e);t.length>0?d(e,t):s()};e.on("AutocompleterStart",(({lookupData:e})=>{r.set(!0),n.set(!1),f(e)})),e.on("AutocompleterUpdate",(({lookupData:e})=>f(e))),e.on("AutocompleterEnd",(()=>{s(),r.set(!1),n.set(!1)}));const p={cancelIfNecessary:c,isMenuOpen:i,isActive:a,isProcessingAction:n.get,getMenu:l};Iv(p,e)},pC=(e,t,n)=>ks(e,t,n).isSome(),hC=(e,t)=>{let n=null;return{cancel:()=>{null!==n&&(clearTimeout(n),n=null)},schedule:(...r)=>{n=setTimeout((()=>{e.apply(null,r),n=null}),t)}}},mC=e=>{const t=e.raw;return void 0===t.touches||1!==t.touches.length?j.none():j.some(t.touches[0])},gC=e=>{const t=pc(),n=Oo(!1),r=hC((t=>{e.triggerEvent(bi(),t),n.set(!0)}),400),o=Mo([{key:Ho(),value:e=>(mC(e).each((o=>{r.cancel();const i={x:o.clientX,y:o.clientY,target:e.target};r.schedule(e),n.set(!1),t.set(i)})),j.none())},{key:Wo(),value:e=>(r.cancel(),mC(e).each((e=>{t.on((n=>{((e,t)=>{const n=Math.abs(e.clientX-t.x),r=Math.abs(e.clientY-t.y);return n>5||r>5})(e,n)&&t.clear()}))})),j.none())},{key:Vo(),value:o=>{r.cancel();return t.get().filter((e=>Ge(e.target,o.target))).map((t=>n.get()?(o.prevent(),!1):e.triggerEvent(vi(),o)))}}]);return{fireIfReady:(e,t)=>be(o,t).bind((t=>t(e)))}},vC=(e,t)=>{const n={stopBackspace:!0,...t},r=gC(n),o=z(["touchstart","touchmove","touchend","touchcancel","gesturestart","mousedown","mouseup","mouseover","mousemove","mouseout","click"].concat(["selectstart","input","contextmenu","change","transitionend","transitioncancel","drag","dragstart","dragend","dragenter","dragleave","dragover","drop","keyup"]),(t=>mc(e,t,(e=>{r.fireIfReady(e,t).each((t=>{t&&e.kill()}));n.triggerEvent(t,e)&&e.kill()})))),i=pc(),a=mc(e,"paste",(e=>{r.fireIfReady(e,"paste").each((t=>{t&&e.kill()}));n.triggerEvent("paste",e)&&e.kill(),i.set(setTimeout((()=>{n.triggerEvent(pi(),e)}),0))})),s=mc(e,"keydown",(e=>{n.triggerEvent("keydown",e)?e.kill():n.stopBackspace&&(e=>e.raw.which===Ap[0]&&!L(["input","textarea"],Fe(e.target))&&!pC(e.target,'[contenteditable="true"]'))(e)&&e.prevent()})),l=mc(e,"focusin",(e=>{n.triggerEvent("focusin",e)&&e.kill()})),c=pc(),u=mc(e,"focusout",(e=>{n.triggerEvent("focusout",e)&&e.kill(),c.set(setTimeout((()=>{n.triggerEvent(fi(),e)}),0))}));return{unbind:()=>{q(o,(e=>{e.unbind()})),s.unbind(),l.unbind(),u.unbind(),a.unbind(),i.on(clearTimeout),c.on(clearTimeout)}}},bC=(e,t)=>{const n=be(e,"target").getOr(t);return Oo(n)},yC=jo([{stopped:[]},{resume:["element"]},{complete:[]}]),AC=(e,t,n,r,o,i)=>{const a=e(t,r),s=((e,t)=>{const n=Oo(!1),r=Oo(!1);return{stop:()=>{n.set(!0)},cut:()=>{r.set(!0)},isStopped:n.get,isCut:r.get,event:e,setSource:t.set,getSource:t.get}})(n,o);return a.fold((()=>(i.logEventNoHandlers(t,r),yC.complete())),(e=>{const n=e.descHandler;return Pa(n)(s),s.isStopped()?(i.logEventStopped(t,e.element,n.purpose),yC.stopped()):s.isCut()?(i.logEventCut(t,e.element,n.purpose),yC.complete()):et(e.element).fold((()=>(i.logNoParent(t,e.element,n.purpose),yC.complete())),(r=>(i.logEventResponse(t,e.element,n.purpose),yC.resume(r))))}))},xC=(e,t,n,r,o,i)=>AC(e,t,n,r,o,i).fold(B,(r=>xC(e,t,n,r,o,i)),E),CC=(e,t,n)=>{const r=(e=>{const t=Oo(!1);return{stop:()=>{t.set(!0)},cut:v,isStopped:t.get,isCut:E,event:e,setSource:k("Cannot set source of a broadcasted event"),getSource:k("Cannot get source of a broadcasted event")}})(t);return q(e,(e=>{const t=e.descHandler;Pa(t)(r)})),r.isStopped()},_C=(e,t,n,r,o)=>{const i=bC(n,r);return xC(e,t,n,r,i,o)},wC=()=>{const e={};return{registerId:(t,n,r)=>{ce(r,((r,o)=>{const i=void 0!==e[o]?e[o]:{};i[n]=((e,t)=>{return n=_.apply(void 0,[e.handler].concat(t)),r=e.purpose,{cHandler:n,purpose:r};var n,r})(r,t),e[o]=i}))},unregisterId:t=>{ce(e,((e,n)=>{ye(e,t)&&delete e[t]}))},filterByType:t=>be(e,t).map((e=>me(e,((e,t)=>((e,t)=>({id:e,descHandler:t}))(t,e))))).getOr([]),find:(t,n,r)=>be(e,n).bind((e=>Io(r,(t=>((e,t)=>va(t).bind((t=>be(e,t))).map((e=>((e,t)=>({element:e,descHandler:t}))(t,e))))(e,t)),t)))}},kC=()=>{const e=wC(),t={},n=e=>{const t=e.element;return va(t).getOrThunk((()=>((e,t)=>{const n=da(ha+e);return ga(t,n),n})("uid-",e.element)))},r=n=>{va(n.element).each((n=>{delete t[n],e.unregisterId(n)}))};return{find:(t,n,r)=>e.find(t,n,r),filter:t=>e.filterByType(t),register:o=>{const i=n(o);Ae(t,i)&&((e,n)=>{const o=t[n];if(o!==e)throw new Error('The tagId "'+n+'" is already used by: '+sa(o.element)+"\nCannot use it for: "+sa(e.element)+"\nThe conflicting element is"+(mt(o.element)?" ":" not ")+"already in the DOM");r(e)})(o,i);const a=[o];e.registerId(a,i,o.events),t[i]=o},unregister:r,getById:e=>be(t,e)}},SC=Hf({name:"Container",factory:e=>{const{attributes:t,...n}=e.dom;return{uid:e.uid,dom:{tag:"div",attributes:{role:"presentation",...t},...n},components:e.components,behaviours:zd(e.containerBehaviours),events:e.events,domModification:e.domModification,eventOrder:e.eventOrder}},configFields:[Ao("components",[]),Fd("containerBehaviours",[]),Ao("events",{}),Ao("domModification",{}),Ao("eventOrder",{})]}),EC=e=>{const t=t=>et(e.element).fold(B,(e=>Ge(t,e))),n=kC(),r=(e,r)=>n.find(t,e,r),o=vC(e.element,{triggerEvent:(e,t)=>Rs(e,t.target,(n=>((e,t,n,r)=>_C(e,t,n,n.target,r))(r,e,t,n)))}),i={debugInfo:A("real"),triggerEvent:(e,t,n)=>{Rs(e,t,(o=>_C(r,e,n,t,o)))},triggerFocus:(e,t)=>{va(e).fold((()=>{Vl(e)}),(n=>{Rs(di(),e,(n=>(((e,t,n,r,o)=>{const i=bC(n,r);AC(e,t,n,r,i,o)})(r,di(),{originator:t,kill:v,prevent:v,target:e},e,n),!1)))}))},triggerEscape:(e,t)=>{i.triggerEvent("keydown",e.element,t.event)},getByUid:e=>h(e),getByDom:e=>m(e),build:gs,buildOrPatch:ms,addToGui:e=>{l(e)},removeFromGui:e=>{c(e)},addToWorld:e=>{a(e)},removeFromWorld:e=>{s(e)},broadcast:e=>{d(e)},broadcastOn:(e,t)=>{f(e,t)},broadcastEvent:(e,t)=>{p(e,t)},isConnected:B},a=e=>{e.connect(i),Ue(e.element)||(n.register(e),q(e.components(),a),i.triggerEvent(xi(),e.element,{target:e.element}))},s=e=>{Ue(e.element)||(q(e.components(),s),n.unregister(e)),e.disconnect()},l=t=>{ed(e,t)},c=e=>{rd(e)},u=e=>{const t=n.filter(hi());q(t,(t=>{const n=t.descHandler;Pa(n)(e)}))},d=e=>{u({universal:!0,data:e})},f=(e,t)=>{u({universal:!1,channels:e,data:t})},p=(e,t)=>{const r=n.filter(e);return CC(r,t)},h=e=>n.getById(e).fold((()=>$n.error(new Error('Could not find component with uid: "'+e+'" in system.'))),$n.value),m=e=>{const t=va(e).getOr("not found");return h(t)};return a(e),{root:e,element:e.element,destroy:()=>{o.unbind(),Rn(e.element)},add:l,remove:c,getByUid:h,getByDom:m,addToWorld:a,removeFromWorld:s,broadcast:d,broadcastOn:f,broadcastEvent:p}},BC=A([Ao("prefix","form-field"),Fd("fieldBehaviours",[Gf,Nd])]),OC=A([vf({schema:[no("dom")],name:"label"}),vf({factory:{sketch:e=>({uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}})},schema:[no("text")],name:"aria-descriptor"}),mf({factory:{sketch:e=>{const t=To(e,["factory"]);return e.factory.sketch(t)}},schema:[no("factory")],name:"field"})]),jC=Wf({name:"FormField",configFields:BC(),partFields:OC(),factory:(e,t,n,r)=>{const o=qd(e.fieldBehaviours,[Gf.config({find:t=>Of(t,e,"field")}),Nd.config({store:{mode:"manual",getValue:e=>Gf.getCurrent(e).bind(Nd.getValue),setValue:(e,t)=>{Gf.getCurrent(e).each((e=>{Nd.setValue(e,t)}))}}})]),i=Ui([Ji(((t,n)=>{const r=Tf(t,e,["label","field","aria-descriptor"]);r.field().each((t=>{const n=da(e.prefix);r.label().each((e=>{yt(e.element,"for",n),yt(t.element,"id",n)})),r["aria-descriptor"]().each((n=>{const r=da(e.prefix);yt(n.element,"id",r),yt(t.element,"aria-describedby",r)}))}))}))]),a={getField:t=>Of(t,e,"field"),getLabel:t=>Of(t,e,"label")};return{uid:e.uid,dom:e.dom,components:t,behaviours:o,events:i,apis:a}},apis:{getField:(e,t)=>e.getField(t),getLabel:(e,t)=>e.getLabel(t)}});var TC=Object.freeze({__proto__:null,exhibit:(e,t)=>Ta({attributes:Mo([{key:t.tabAttr,value:"true"}])})}),PC=[Ao("tabAttr","data-alloy-tabstop")];const MC=Fl({fields:PC,name:"tabstopping",active:TC});var DC=tinymce.util.Tools.resolve("tinymce.html.Entities");const RC=(e,t,n,r)=>{const o=LC(e,t,n,r);return jC.sketch(o)},LC=(e,t,n,r)=>({dom:IC(n),components:e.toArray().concat([t]),fieldBehaviours:Il(r)}),IC=e=>({tag:"div",classes:["tox-form__group"].concat(e)}),NC=(e,t)=>jC.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[fs(t.translate(e))]}),FC=da("form-component-change"),zC=da("form-close"),qC=da("form-cancel"),UC=da("form-action"),HC=da("form-submit"),WC=da("form-block"),VC=da("form-unblock"),YC=da("form-tabchange"),ZC=da("form-resize"),GC=(e,t,n)=>{const r=e.label.map((e=>NC(e,t))),o=e=>(t,n)=>{ks(n.event.target,"[data-collection-item-value]").each((r=>{e(t,n,r,xt(r,"data-collection-item-value"))}))},i=o(((n,r,o,i)=>{r.stop(),t.isDisabled()||Ii(n,UC,{name:e.name,value:i})})),a=[Vi(Xo(),o(((e,t,n)=>{Vl(n)}))),Vi(oi(),i),Vi(vi(),i),Vi(Qo(),o(((e,t,n)=>{ws(e.element,"."+Gv).each((e=>{Ga(e,Gv)})),Za(n,Gv)}))),Vi(Jo(),o((e=>{ws(e.element,"."+Gv).each((e=>{Ga(e,Gv)}))}))),na(o(((t,n,r,o)=>{Ii(t,UC,{name:e.name,value:o})})))],s=(e,t)=>z(pu(e.element,".tox-collection__item"),t),l=jC.parts.field({dom:{tag:"div",classes:["tox-collection"].concat(1!==e.columns?["tox-collection--grid"]:["tox-collection--list"])},components:[],factory:{sketch:x},behaviours:Il([lp.config({disabled:t.isDisabled,onDisabled:e=>{s(e,(e=>{Za(e,"tox-collection__item--state-disabled"),yt(e,"aria-disabled",!0)}))},onEnabled:e=>{s(e,(e=>{Ga(e,"tox-collection__item--state-disabled"),wt(e,"aria-disabled")}))}}),Ky(),Cm.config({}),Nd.config({store:{mode:"memory",initialValue:n.getOr([])},onSetValue:(n,r)=>{((n,r)=>{const o=z(r,(n=>{const r=yg.translate(n.text),o=1===e.columns?`<div class="tox-collection__item-label">${r}</div>`:"",i=`<div class="tox-collection__item-icon">${n.icon}</div>`,a={_:" "," - ":" ","-":" "},s=r.replace(/\_| \- |\-/g,(e=>a[e]));return`<div class="tox-collection__item${t.isDisabled()?" tox-collection__item--state-disabled":""}" tabindex="-1" data-collection-item-value="${DC.encodeAllRaw(n.value)}" title="${s}" aria-label="${s}">${i}${o}</div>`})),i="auto"!==e.columns&&e.columns>1?F(o,e.columns):[o],a=z(i,(e=>`<div class="tox-collection__group">${e.join("")}</div>`));oa(n.element,a.join(""))})(n,r),"auto"===e.columns&&My(n,5,"tox-collection__item").each((({numRows:e,numColumns:t})=>{pm.setGridSize(n,e,t)})),Li(n,ZC)}}),MC.config({}),pm.config((c=e.columns,u="normal",1===c?{mode:"menu",moveOnTab:!1,selector:".tox-collection__item"}:"auto"===c?{mode:"flatgrid",selector:".tox-collection__item",initSize:{numColumns:1,numRows:1}}:{mode:"matrix",selectors:{row:"color"===u?".tox-swatches__row":".tox-collection__group",cell:"color"===u?".tox-swatch":`.${qv}`}})),_m("collection-events",a)]),eventOrder:{[mi()]:["disabling","alloy.base.behaviour","collection-events"]}});var c,u;return RC(r,l,["tox-form__group--collection"],[])},KC=["input","textarea"],$C=e=>{const t=Fe(e);return L(KC,t)},XC=(e,t)=>{const n=t.getRoot(e).getOr(e.element);Ga(n,t.invalidClass),t.notify.each((t=>{$C(e.element)&&yt(e.element,"aria-invalid",!1),t.getContainer(e).each((e=>{oa(e,t.validHtml)})),t.onValid(e)}))},QC=(e,t,n,r)=>{const o=t.getRoot(e).getOr(e.element);Za(o,t.invalidClass),t.notify.each((t=>{$C(e.element)&&yt(e.element,"aria-invalid",!0),t.getContainer(e).each((e=>{oa(e,r)})),t.onInvalid(e,r)}))},JC=(e,t,n)=>t.validator.fold((()=>zx($n.value(!0))),(t=>t.validate(e))),e_=(e,t,n)=>(t.notify.each((t=>{t.onValidate(e)})),JC(e,t).map((n=>e.getSystem().isConnected()?n.fold((n=>(QC(e,t,0,n),$n.error(n))),(n=>(XC(e,t),$n.value(n)))):$n.error("No longer in system"))));var t_=Object.freeze({__proto__:null,markValid:XC,markInvalid:QC,query:JC,run:e_,isInvalid:(e,t)=>{const n=t.getRoot(e).getOr(e.element);return Ka(n,t.invalidClass)}});var n_=Object.freeze({__proto__:null,events:(e,t)=>e.validator.map((t=>Ui([Vi(t.onEvent,(t=>{e_(t,e).get(x)}))].concat(t.validateOnLoad?[Ji((t=>{e_(t,e).get(v)}))]:[])))).getOr({})}),r_=[no("invalidClass"),Ao("getRoot",j.none),yo("notify",[Ao("aria","alert"),Ao("getContainer",j.none),Ao("validHtml",""),Ws("onValid"),Ws("onInvalid"),Ws("onValidate")]),yo("validator",[no("validate"),Ao("onEvent","input"),Ao("validateOnLoad",!0)])];const o_=Fl({fields:r_,name:"invalidating",active:n_,apis:t_,extra:{validation:e=>t=>{const n=Nd.getValue(t);return zx(e(n))}}});const i_=Fl({fields:[],name:"unselecting",active:Object.freeze({__proto__:null,events:()=>Ui([Hi(li(),B)]),exhibit:()=>Ta({styles:{"-webkit-user-select":"none","user-select":"none","-ms-user-select":"none","-moz-user-select":"-moz-none"},attributes:{unselectable:"on"}})})}),a_=da("color-input-change"),s_=da("color-swatch-change"),l_=da("color-picker-cancel"),c_=(e,t,n,r)=>{const o=jC.parts.field({factory:lb,inputClasses:["tox-textfield"],data:r,onSetValue:e=>o_.run(e).get(v),inputBehaviours:Il([lp.config({disabled:t.providers.isDisabled}),Ky(),MC.config({}),o_.config({invalidClass:"tox-textbox-field-invalid",getRoot:e=>tt(e.element),notify:{onValid:e=>{const t=Nd.getValue(e);Ii(e,a_,{color:t})}},validator:{validateOnLoad:!1,validate:e=>{const t=Nd.getValue(e);if(0===t.length)return zx($n.value(!0));{const e=Me.fromTag("span");Et(e,"background-color",t);const n=Pt(e,"background-color").fold((()=>$n.error("blah")),(e=>$n.value(t)));return zx(n)}}}})]),selectOnFocus:!1}),i=e.label.map((e=>NC(e,t.providers))),a=(e,t)=>{Ii(e,s_,{value:t})},s=bg(((e,t)=>tC.sketch({dom:e.dom,components:e.components,toggleClass:"mce-active",dropdownBehaviours:Il([Xy(t.providers.isDisabled),Ky(),i_.config({}),MC.config({})]),layouts:e.layouts,sandboxClasses:["tox-dialog__popups"],lazySink:t.getSink,fetch:n=>Fx((t=>e.fetch(t))).map((r=>j.from(dC(hr(hx(da("menu-value"),r,(t=>{e.onItemAction(n,t)}),e.columns,e.presets,Fv.CLOSE_ON_EXECUTE,E,t.providers),{movement:gx(e.columns,e.presets)}))))),parts:{menu:rb(0,0,e.presets)}}))({dom:{tag:"span",attributes:{"aria-label":t.providers.translate("Color swatch")}},layouts:{onRtl:()=>[bl,vl,Cl],onLtr:()=>[vl,bl,Cl]},components:[],fetch:cx(n.getColors(),n.hasCustomColors()),columns:n.getColorCols(),presets:"color",onItemAction:(e,t)=>{s.getOpt(e).each((e=>{"custom"===t?n.colorPicker((t=>{t.fold((()=>Li(e,l_)),(t=>{a(e,t),rx(t)}))}),"#ffffff"):a(e,"remove"===t?"":t)}))}},t));return jC.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:i.toArray().concat([{dom:{tag:"div",classes:["tox-color-input"]},components:[o,s.asSpec()]}]),fieldBehaviours:Il([_m("form-field-events",[Vi(a_,((t,n)=>{s.getOpt(t).each((e=>{Et(e.element,"background-color",n.event.color)})),Ii(t,FC,{name:e.name})})),Vi(s_,((e,t)=>{jC.getField(e).each((n=>{Nd.setValue(n,t.event.value),Gf.getCurrent(e).each(Bm.focus)}))})),Vi(l_,((e,t)=>{jC.getField(e).each((t=>{Gf.getCurrent(e).each(Bm.focus)}))}))])])})},u_=vf({schema:[no("dom")],name:"label"}),d_=e=>vf({name:e+"-edge",overrides:t=>t.model.manager.edgeActions[e].fold((()=>({})),(e=>({events:Ui([Yi(Ho(),((t,n,r)=>e(t,r)),[t]),Yi(Zo(),((t,n,r)=>e(t,r)),[t]),Yi(Go(),((t,n,r)=>{r.mouseIsDown.get()&&e(t,r)}),[t])])})))}),f_=d_("top-left"),p_=d_("top"),h_=d_("top-right"),m_=d_("right"),g_=d_("bottom-right"),v_=d_("bottom"),b_=d_("bottom-left"),y_=d_("left"),A_=mf({name:"thumb",defaults:A({dom:{styles:{position:"absolute"}}}),overrides:e=>({events:Ui([Gi(Ho(),e,"spectrum"),Gi(Wo(),e,"spectrum"),Gi(Vo(),e,"spectrum"),Gi(Zo(),e,"spectrum"),Gi(Go(),e,"spectrum"),Gi($o(),e,"spectrum")])})}),x_=mf({schema:[eo("mouseIsDown",(()=>Oo(!1)))],name:"spectrum",overrides:e=>{const t=e.model.manager,n=(n,r)=>t.getValueFromEvent(r).map((r=>t.setValueFrom(n,e,r)));return{behaviours:Il([pm.config({mode:"special",onLeft:n=>t.onLeft(n,e),onRight:n=>t.onRight(n,e),onUp:n=>t.onUp(n,e),onDown:n=>t.onDown(n,e)}),Bm.config({})]),events:Ui([Vi(Ho(),n),Vi(Wo(),n),Vi(Zo(),n),Vi(Go(),((t,r)=>{e.mouseIsDown.get()&&n(t,r)}))])}}});var C_=[u_,y_,m_,p_,v_,f_,h_,b_,g_,A_,x_];const __=A("slider.change.value"),w_=e=>{const t=e.event.raw;if((e=>-1!==e.type.indexOf("touch"))(t)){const e=t;return void 0!==e.touches&&1===e.touches.length?j.some(e.touches[0]).map((e=>Ut(e.clientX,e.clientY))):j.none()}{const e=t;return void 0!==e.clientX?j.some(e).map((e=>Ut(e.clientX,e.clientY))):j.none()}},k_=e=>e.model.minX,S_=e=>e.model.minY,E_=e=>e.model.minX-1,B_=e=>e.model.minY-1,O_=e=>e.model.maxX,j_=e=>e.model.maxY,T_=e=>e.model.maxX+1,P_=e=>e.model.maxY+1,M_=(e,t,n)=>t(e)-n(e),D_=e=>M_(e,O_,k_),R_=e=>M_(e,j_,S_),L_=e=>D_(e)/2,I_=e=>R_(e)/2,N_=e=>e.stepSize,F_=e=>e.snapToGrid,z_=e=>e.snapStart,q_=e=>e.rounded,U_=(e,t)=>void 0!==e[t+"-edge"],H_=e=>U_(e,"left"),W_=e=>U_(e,"right"),V_=e=>U_(e,"top"),Y_=e=>U_(e,"bottom"),Z_=e=>e.model.value.get(),G_=(e,t)=>({x:e,y:t}),K_=(e,t)=>{Ii(e,__(),{value:t})},$_=(e,t,n,r)=>e<t?e:e>n?n:e===t?t-1:Math.max(t,e-r),X_=(e,t,n,r)=>e>n?e:e<t?t:e===n?n+1:Math.min(n,e+r),Q_=(e,t,n)=>Math.max(t,Math.min(n,e)),J_=e=>{const{min:t,max:n,range:r,value:o,step:i,snap:a,snapStart:s,rounded:l,hasMinEdge:c,hasMaxEdge:u,minBound:d,maxBound:f,screenRange:p}=e,h=c?t-1:t,m=u?n+1:n;if(o<d)return h;if(o>f)return m;{const e=((e,t,n)=>Math.min(n,Math.max(e,t))-t)(o,d,f),c=Q_(e/p*r+t,h,m);return a&&c>=t&&c<=n?((e,t,n,r,o)=>o.fold((()=>{const o=e-t,i=Math.round(o/r)*r;return Q_(t+i,t-1,n+1)}),(t=>{const o=(e-t)%r,i=Math.round(o/r),a=Math.floor((e-t)/r),s=Math.floor((n-t)/r),l=t+Math.min(s,a+i)*r;return Math.max(t,l)})))(c,t,n,i,s):l?Math.round(c):c}},ew=e=>{const{min:t,max:n,range:r,value:o,hasMinEdge:i,hasMaxEdge:a,maxBound:s,maxOffset:l,centerMinEdge:c,centerMaxEdge:u}=e;return o<t?i?0:c:o>n?a?s:u:(o-t)/r*l},tw="top",nw="right",rw="bottom",ow="left",iw=e=>e.element.dom.getBoundingClientRect(),aw=(e,t)=>e[t],sw=e=>{const t=iw(e);return aw(t,ow)},lw=e=>{const t=iw(e);return aw(t,nw)},cw=e=>{const t=iw(e);return aw(t,tw)},uw=e=>{const t=iw(e);return aw(t,rw)},dw=e=>{const t=iw(e);return aw(t,"width")},fw=e=>{const t=iw(e);return aw(t,"height")},pw=(e,t,n)=>(e+t)/2-n,hw=(e,t)=>{const n=iw(e),r=iw(t),o=aw(n,ow),i=aw(n,nw),a=aw(r,ow);return pw(o,i,a)},mw=(e,t)=>{const n=iw(e),r=iw(t),o=aw(n,tw),i=aw(n,rw),a=aw(r,tw);return pw(o,i,a)},gw=(e,t)=>{Ii(e,__(),{value:t})},vw=(e,t,n)=>{const r={min:k_(t),max:O_(t),range:D_(t),value:n,step:N_(t),snap:F_(t),snapStart:z_(t),rounded:q_(t),hasMinEdge:H_(t),hasMaxEdge:W_(t),minBound:sw(e),maxBound:lw(e),screenRange:dw(e)};return J_(r)},bw=e=>(t,n)=>((e,t,n)=>{const r=(e>0?X_:$_)(Z_(n),k_(n),O_(n),N_(n));return gw(t,r),j.some(r)})(e,t,n).map(B),yw=(e,t,n,r,o,i)=>{const a=((e,t,n,r,o)=>{const i=dw(e),a=r.bind((t=>j.some(hw(t,e)))).getOr(0),s=o.bind((t=>j.some(hw(t,e)))).getOr(i),l={min:k_(t),max:O_(t),range:D_(t),value:n,hasMinEdge:H_(t),hasMaxEdge:W_(t),minBound:sw(e),minOffset:0,maxBound:lw(e),maxOffset:i,centerMinEdge:a,centerMaxEdge:s};return ew(l)})(t,i,n,r,o);return sw(t)-sw(e)+a},Aw=bw(-1),xw=bw(1),Cw=j.none,_w=j.none,ww={"top-left":j.none(),top:j.none(),"top-right":j.none(),right:j.some(((e,t)=>{K_(e,T_(t))})),"bottom-right":j.none(),bottom:j.none(),"bottom-left":j.none(),left:j.some(((e,t)=>{K_(e,E_(t))}))};var kw=Object.freeze({__proto__:null,setValueFrom:(e,t,n)=>{const r=vw(e,t,n);return gw(e,r),r},setToMin:(e,t)=>{const n=k_(t);gw(e,n)},setToMax:(e,t)=>{const n=O_(t);gw(e,n)},findValueOfOffset:vw,getValueFromEvent:e=>w_(e).map((e=>e.left)),findPositionOfValue:yw,setPositionFromValue:(e,t,n,r)=>{const o=Z_(n),i=yw(e,r.getSpectrum(e),o,r.getLeftEdge(e),r.getRightEdge(e),n),a=Zt(t.element)/2;Et(t.element,"left",i-a+"px")},onLeft:Aw,onRight:xw,onUp:Cw,onDown:_w,edgeActions:ww});const Sw=(e,t)=>{Ii(e,__(),{value:t})},Ew=(e,t,n)=>{const r={min:S_(t),max:j_(t),range:R_(t),value:n,step:N_(t),snap:F_(t),snapStart:z_(t),rounded:q_(t),hasMinEdge:V_(t),hasMaxEdge:Y_(t),minBound:cw(e),maxBound:uw(e),screenRange:fw(e)};return J_(r)},Bw=e=>(t,n)=>((e,t,n)=>{const r=(e>0?X_:$_)(Z_(n),S_(n),j_(n),N_(n));return Sw(t,r),j.some(r)})(e,t,n).map(B),Ow=(e,t,n,r,o,i)=>{const a=((e,t,n,r,o)=>{const i=fw(e),a=r.bind((t=>j.some(mw(t,e)))).getOr(0),s=o.bind((t=>j.some(mw(t,e)))).getOr(i),l={min:S_(t),max:j_(t),range:R_(t),value:n,hasMinEdge:V_(t),hasMaxEdge:Y_(t),minBound:cw(e),minOffset:0,maxBound:uw(e),maxOffset:i,centerMinEdge:a,centerMaxEdge:s};return ew(l)})(t,i,n,r,o);return cw(t)-cw(e)+a},jw=j.none,Tw=j.none,Pw=Bw(-1),Mw=Bw(1),Dw={"top-left":j.none(),top:j.some(((e,t)=>{K_(e,B_(t))})),"top-right":j.none(),right:j.none(),"bottom-right":j.none(),bottom:j.some(((e,t)=>{K_(e,P_(t))})),"bottom-left":j.none(),left:j.none()};var Rw=Object.freeze({__proto__:null,setValueFrom:(e,t,n)=>{const r=Ew(e,t,n);return Sw(e,r),r},setToMin:(e,t)=>{const n=S_(t);Sw(e,n)},setToMax:(e,t)=>{const n=j_(t);Sw(e,n)},findValueOfOffset:Ew,getValueFromEvent:e=>w_(e).map((e=>e.top)),findPositionOfValue:Ow,setPositionFromValue:(e,t,n,r)=>{const o=Z_(n),i=Ow(e,r.getSpectrum(e),o,r.getTopEdge(e),r.getBottomEdge(e),n),a=Ft(t.element)/2;Et(t.element,"top",i-a+"px")},onLeft:jw,onRight:Tw,onUp:Pw,onDown:Mw,edgeActions:Dw});const Lw=(e,t)=>{Ii(e,__(),{value:t})},Iw=(e,t)=>({x:e,y:t}),Nw=(e,t)=>(n,r)=>((e,t,n,r)=>{const o=e>0?X_:$_,i=t?Z_(r).x:o(Z_(r).x,k_(r),O_(r),N_(r)),a=t?o(Z_(r).y,S_(r),j_(r),N_(r)):Z_(r).y;return Lw(n,Iw(i,a)),j.some(i)})(e,t,n,r).map(B),Fw=Nw(-1,!1),zw=Nw(1,!1),qw=Nw(-1,!0),Uw=Nw(1,!0),Hw={"top-left":j.some(((e,t)=>{K_(e,G_(E_(t),B_(t)))})),top:j.some(((e,t)=>{K_(e,G_(L_(t),B_(t)))})),"top-right":j.some(((e,t)=>{K_(e,G_(T_(t),B_(t)))})),right:j.some(((e,t)=>{K_(e,G_(T_(t),I_(t)))})),"bottom-right":j.some(((e,t)=>{K_(e,G_(T_(t),P_(t)))})),bottom:j.some(((e,t)=>{K_(e,G_(L_(t),P_(t)))})),"bottom-left":j.some(((e,t)=>{K_(e,G_(E_(t),P_(t)))})),left:j.some(((e,t)=>{K_(e,G_(E_(t),I_(t)))}))};var Ww=Object.freeze({__proto__:null,setValueFrom:(e,t,n)=>{const r=vw(e,t,n.left),o=Ew(e,t,n.top),i=Iw(r,o);return Lw(e,i),i},setToMin:(e,t)=>{const n=k_(t),r=S_(t);Lw(e,Iw(n,r))},setToMax:(e,t)=>{const n=O_(t),r=j_(t);Lw(e,Iw(n,r))},getValueFromEvent:e=>w_(e),setPositionFromValue:(e,t,n,r)=>{const o=Z_(n),i=yw(e,r.getSpectrum(e),o.x,r.getLeftEdge(e),r.getRightEdge(e),n),a=Ow(e,r.getSpectrum(e),o.y,r.getTopEdge(e),r.getBottomEdge(e),n),s=Zt(t.element)/2,l=Ft(t.element)/2;Et(t.element,"left",i-s+"px"),Et(t.element,"top",a-l+"px")},onLeft:Fw,onRight:zw,onUp:qw,onDown:Uw,edgeActions:Hw});const Vw=Wf({name:"Slider",configFields:[Ao("stepSize",1),Ao("onChange",v),Ao("onChoose",v),Ao("onInit",v),Ao("onDragStart",v),Ao("onDragEnd",v),Ao("snapToGrid",!1),Ao("rounded",!0),fo("snapStart"),ro("model",Qr("mode",{x:[Ao("minX",0),Ao("maxX",100),eo("value",(e=>Oo(e.mode.minX))),no("getInitialValue"),Gs("manager",kw)],y:[Ao("minY",0),Ao("maxY",100),eo("value",(e=>Oo(e.mode.minY))),no("getInitialValue"),Gs("manager",Rw)],xy:[Ao("minX",0),Ao("maxX",100),Ao("minY",0),Ao("maxY",100),eo("value",(e=>Oo({x:e.mode.minX,y:e.mode.minY}))),no("getInitialValue"),Gs("manager",Ww)]})),Fd("sliderBehaviours",[pm,Nd]),eo("mouseIsDown",(()=>Oo(!1)))],partFields:C_,factory:(e,t,n,r)=>{const o=t=>jf(t,e,"thumb"),i=t=>jf(t,e,"spectrum"),a=t=>Of(t,e,"left-edge"),s=t=>Of(t,e,"right-edge"),l=t=>Of(t,e,"top-edge"),c=t=>Of(t,e,"bottom-edge"),u=e.model,d=u.manager,f=(t,n)=>{d.setPositionFromValue(t,n,e,{getLeftEdge:a,getRightEdge:s,getTopEdge:l,getBottomEdge:c,getSpectrum:i})},p=(e,t)=>{u.value.set(t);const n=o(e);f(e,n)},h=t=>{const n=e.mouseIsDown.get();e.mouseIsDown.set(!1),n&&Of(t,e,"thumb").each((n=>{const r=u.value.get();e.onChoose(t,n,r)}))},m=(t,n)=>{n.stop(),e.mouseIsDown.set(!0),e.onDragStart(t,o(t))},g=(t,n)=>{n.stop(),e.onDragEnd(t,o(t)),h(t)};return{uid:e.uid,dom:e.dom,components:t,behaviours:qd(e.sliderBehaviours,[pm.config({mode:"special",focusIn:t=>Of(t,e,"spectrum").map(pm.focusIn).map(B)}),Nd.config({store:{mode:"manual",getValue:e=>u.value.get(),setValue:p}}),Hl.config({channels:{[xd()]:{onReceive:h}}})]),events:Ui([Vi(__(),((t,n)=>{((t,n)=>{p(t,n);const r=o(t);e.onChange(t,r,n),j.some(!0)})(t,n.event.value)})),Ji(((t,n)=>{const r=u.getInitialValue();u.value.set(r);const a=o(t);f(t,a);const s=i(t);e.onInit(t,a,s,u.value.get())})),Vi(Ho(),m),Vi(Vo(),g),Vi(Zo(),m),Vi($o(),g)]),apis:{resetToMin:t=>{d.setToMin(t,e)},resetToMax:t=>{d.setToMax(t,e)},setValue:p,refresh:f},domModification:{styles:{position:"relative"}}}},apis:{setValue:(e,t,n)=>{e.setValue(t,n)},resetToMin:(e,t)=>{e.resetToMin(t)},resetToMax:(e,t)=>{e.resetToMax(t)},refresh:(e,t)=>{e.refresh(t)}}}),Yw=da("rgb-hex-update"),Zw=da("slider-update"),Gw=da("palette-update"),Kw="form",$w=[Fd("formBehaviours",[Nd])],Xw=e=>"<alloy.field."+e+">",Qw=(e,t)=>({uid:e.uid,dom:e.dom,components:t,behaviours:qd(e.formBehaviours,[Nd.config({store:{mode:"manual",getValue:t=>{const n=Pf(t,e);return ue(n,((e,t)=>e().bind((e=>((e,t)=>e.fold((()=>$n.error(t)),$n.value))(Gf.getCurrent(e),new Error(`Cannot find a current component to extract the value from for form part '${t}': `+sa(e.element))))).map(Nd.getValue)))},setValue:(t,n)=>{ce(n,((n,r)=>{Of(t,e,r).each((e=>{Gf.getCurrent(e).each((e=>{Nd.setValue(e,n)}))}))}))}}})]),apis:{getField:(t,n)=>Of(t,e,n).bind(Gf.getCurrent)}}),Jw={getField:Ea(((e,t,n)=>e.getField(t,n))),sketch:e=>{const t=(()=>{const e=[];return{field:(t,n)=>(e.push(t),wf(Kw,Xw(t),n)),record:A(e)}})(),n=e(t),r=t.record(),o=z(r,(e=>mf({name:e,pname:Xw(e)})));return Ff(Kw,$w,o,Qw,n)}},ek=da("valid-input"),tk=da("invalid-input"),nk=da("validating-input"),rk="colorcustom.rgb.",ok=(e,t,n,r)=>{const o=(n,r)=>o_.config({invalidClass:t("invalid"),notify:{onValidate:e=>{Ii(e,nk,{type:n})},onValid:e=>{Ii(e,ek,{type:n,value:Nd.getValue(e)})},onInvalid:e=>{Ii(e,tk,{type:n,value:Nd.getValue(e)})}},validator:{validate:t=>{const n=Nd.getValue(t),o=r(n)?$n.value(!0):$n.error(e("aria.input.invalid"));return zx(o)},validateOnLoad:!1}}),i=(n,r,i,a,s)=>{const l=e("colorcustom.rgb.range"),c=jC.parts.label({dom:{tag:"label",attributes:{"aria-label":a}},components:[fs(i)]}),u=jC.parts.field({data:s,factory:lb,inputAttributes:{type:"text",..."hex"===r?{"aria-live":"polite"}:{}},inputClasses:[t("textfield")],inputBehaviours:Il([o(r,n),MC.config({})]),onSetValue:e=>{if(o_.isInvalid(e)){o_.run(e).get(v)}}}),d=[c,u],f="hex"!==r?[jC.parts["aria-descriptor"]({text:l})]:[];return{dom:{tag:"div",attributes:{role:"presentation"}},components:d.concat(f)}},a=(e,t)=>{const n=t.red,r=t.green,o=t.blue;Nd.setValue(e,{red:n,green:r,blue:o})},s=bg({dom:{tag:"div",classes:[t("rgba-preview")],styles:{"background-color":"white"},attributes:{role:"presentation"}}}),l=(e,t)=>{s.getOpt(e).each((e=>{Et(e.element,"background-color","#"+t.value)}))},c=Hf({factory:()=>{const o={red:Oo(j.some(255)),green:Oo(j.some(255)),blue:Oo(j.some(255)),hex:Oo(j.some("ffffff"))},c=e=>o[e].get(),u=(e,t)=>{o[e].set(t)},d=e=>{const t=e.red,n=e.green,r=e.blue;u("red",j.some(t)),u("green",j.some(n)),u("blue",j.some(r))},f=(e,t)=>{const n=t.event;"hex"!==n.type?u(n.type,j.none()):r(e)},p=(e,t,n)=>{const r=parseInt(n,10);u(t,j.some(r)),c("red").bind((e=>c("green").bind((t=>c("blue").map((n=>RA(e,t,n,1))))))).each((t=>{const n=((e,t)=>{const n=OA(t);return Jw.getField(e,"hex").each((t=>{Bm.isFocused(t)||Nd.setValue(e,{hex:n.value})})),n})(e,t);Ii(e,Yw,{hex:n}),l(e,n)}))},h=(e,t)=>{const r=t.event;(e=>"hex"===e.type)(r)?((e,t)=>{n(e);const r=CA(t);u("hex",j.some(t));const o=NA(r);a(e,o),d(o),Ii(e,Yw,{hex:r}),l(e,r)})(e,r.value):p(e,r.type,r.value)},m=t=>({label:e(rk+t+".label"),description:e(rk+t+".description")}),g=m("red"),v=m("green"),b=m("blue"),y=m("hex");return hr(Jw.sketch((n=>({dom:{tag:"form",classes:[t("rgb-form")],attributes:{"aria-label":e("aria.color.picker")}},components:[n.field("red",jC.sketch(i(LA,"red",g.label,g.description,255))),n.field("green",jC.sketch(i(LA,"green",v.label,v.description,255))),n.field("blue",jC.sketch(i(LA,"blue",b.label,b.description,255))),n.field("hex",jC.sketch(i(kA,"hex",y.label,y.description,"ffffff"))),s.asSpec()],formBehaviours:Il([o_.config({invalidClass:t("form-invalid")}),_m("rgb-form-events",[Vi(ek,h),Vi(tk,f),Vi(nk,f)])])}))),{apis:{updateHex:(e,t)=>{Nd.setValue(e,{hex:t.value}),((e,t)=>{const n=NA(t);a(e,n),d(n)})(e,t),l(e,t)}}})},name:"RgbForm",configFields:[],apis:{updateHex:(e,t,n)=>{e.updateHex(t,n)}},extraApis:{}});return c},ik=(e,t)=>{const n=Vw.parts.spectrum({dom:{tag:"canvas",attributes:{role:"presentation"},classes:[t("sv-palette-spectrum")]}}),r=Vw.parts.thumb({dom:{tag:"div",attributes:{role:"presentation"},classes:[t("sv-palette-thumb")],innerHtml:`<div class=${t("sv-palette-inner-thumb")} role="presentation"></div>`}}),o=(e,t)=>{const{width:n,height:r}=e,o=e.getContext("2d");if(null===o)return;o.fillStyle=t,o.fillRect(0,0,n,r);const i=o.createLinearGradient(0,0,n,0);i.addColorStop(0,"rgba(255,255,255,1)"),i.addColorStop(1,"rgba(255,255,255,0)"),o.fillStyle=i,o.fillRect(0,0,n,r);const a=o.createLinearGradient(0,0,0,r);a.addColorStop(0,"rgba(0,0,0,0)"),a.addColorStop(1,"rgba(0,0,0,1)"),o.fillStyle=a,o.fillRect(0,0,n,r)},i=Hf({factory:e=>{const i=A({x:0,y:0}),a=Il([Gf.config({find:j.some}),Bm.config({})]);return Vw.sketch({dom:{tag:"div",attributes:{role:"presentation"},classes:[t("sv-palette")]},model:{mode:"xy",getInitialValue:i},rounded:!1,components:[n,r],onChange:(e,t,n)=>{Ii(e,Gw,{value:n})},onInit:(e,t,n,r)=>{o(n.element.dom,qA(UA))},sliderBehaviours:a})},name:"SaturationBrightnessPalette",configFields:[],apis:{setHue:(e,t,n)=>{((e,t)=>{const n=e.components()[0].element.dom,r=VA(t,100,100),i=IA(r);o(n,qA(i))})(t,n)},setThumb:(e,t,n)=>{((e,t)=>{const n=YA(NA(t));Vw.setValue(e,{x:n.saturation,y:100-n.value})})(t,n)}},extraApis:{}});return i},ak=(e,t)=>{const n=Hf({name:"ColourPicker",configFields:[no("dom"),Ao("onValidHex",v),Ao("onInvalidHex",v)],factory:n=>{const r=ok(e,t,n.onValidHex,n.onInvalidHex),o=ik(0,t),i={paletteRgba:Oo(UA),paletteHue:Oo(0)},a=bg(((e,t)=>{const n=Vw.parts.spectrum({dom:{tag:"div",classes:[t("hue-slider-spectrum")],attributes:{role:"presentation"}}}),r=Vw.parts.thumb({dom:{tag:"div",classes:[t("hue-slider-thumb")],attributes:{role:"presentation"}}});return Vw.sketch({dom:{tag:"div",classes:[t("hue-slider")],attributes:{role:"presentation"}},rounded:!1,model:{mode:"y",getInitialValue:A(0)},components:[n,r],sliderBehaviours:Il([Bm.config({})]),onChange:(e,t,n)=>{Ii(e,Zw,{value:n})}})})(0,t)),s=bg(o.sketch({})),l=bg(r.sketch({})),c=(e,t,n)=>{s.getOpt(e).each((e=>{o.setHue(e,n)}))},u=(e,t)=>{l.getOpt(e).each((e=>{r.updateHex(e,t)}))},d=(e,t,n)=>{a.getOpt(e).each((e=>{Vw.setValue(e,(e=>100-e/360*100)(n))}))},f=(e,t)=>{s.getOpt(e).each((e=>{o.setThumb(e,t)}))},p=(e,t,n,r)=>{((e,t)=>{const n=NA(e);i.paletteRgba.set(n),i.paletteHue.set(t)})(t,n),q(r,(r=>{r(e,t,n)}))};return{uid:n.uid,dom:n.dom,components:[s.asSpec(),a.asSpec(),l.asSpec()],behaviours:Il([_m("colour-picker-events",[Vi(Yw,(()=>{const e=[c,d,f];return(t,n)=>{const r=n.event.hex,o=(e=>YA(NA(e)))(r);p(t,r,o.hue,e)}})()),Vi(Gw,(()=>{const e=[u];return(t,n)=>{const r=n.event.value,o=i.paletteHue.get(),a=VA(o,r.x,100-r.y),s=ZA(a);p(t,s,o,e)}})()),Vi(Zw,(()=>{const e=[c,u];return(t,n)=>{const r=(e=>(100-e)/100*360)(n.event.value),o=i.paletteRgba.get(),a=YA(o),s=VA(r,a.saturation,a.value),l=ZA(s);p(t,l,r,e)}})())]),Gf.config({find:e=>l.getOpt(e)}),pm.config({mode:"acyclic"})])}}});return n},sk=()=>Gf.config({find:j.some}),lk=e=>Gf.config({find:e.getOpt}),ck=e=>Gf.config({find:t=>ot(t.element,e).bind((e=>t.getSystem().getByDom(e).toOptional()))}),uk=Tr([Ao("preprocess",x),Ao("postprocess",x)]),dk=(e,t,n)=>Nd.config({store:{mode:"manual",...e.map((e=>({initialValue:e}))).getOr({}),getValue:t,setValue:n}}),fk=(e,t,n)=>dk(e,(e=>t(e.element)),((e,t)=>n(e.element,t))),pk=(e,t)=>{const n=$r("RepresentingConfigs.memento processors",uk,t);return Nd.config({store:{mode:"manual",getValue:t=>{const r=e.get(t),o=Nd.getValue(r);return n.postprocess(o)},setValue:(t,r)=>{const o=n.preprocess(r),i=e.get(t);Nd.setValue(i,o)}}})},hk=fk,mk=dk,gk=e=>fk(e,ra,oa),vk=e=>Nd.config({store:{mode:"memory",initialValue:e}}),bk={"colorcustom.rgb.red.label":"R","colorcustom.rgb.red.description":"Red component","colorcustom.rgb.green.label":"G","colorcustom.rgb.green.description":"Green component","colorcustom.rgb.blue.label":"B","colorcustom.rgb.blue.description":"Blue component","colorcustom.rgb.hex.label":"#","colorcustom.rgb.hex.description":"Hex color code","colorcustom.rgb.range":"Range 0 to 255","aria.color.picker":"Color Picker","aria.input.invalid":"Invalid input"},yk=(e,t,n)=>{const r=e=>"tox-"+e,o=ak((e=>t=>e.translate(bk[t]))(t),r),i=bg(o.sketch({dom:{tag:"div",classes:[r("color-picker-container")],attributes:{role:"presentation"}},onValidHex:e=>{Ii(e,UC,{name:"hex-valid",value:!0})},onInvalidHex:e=>{Ii(e,UC,{name:"hex-valid",value:!1})}}));return{dom:{tag:"div"},components:[i.asSpec()],behaviours:Il([mk(n,(e=>{const t=i.get(e);return Gf.getCurrent(t).bind((e=>Nd.getValue(e).hex)).map((e=>"#"+e)).getOr("")}),((e,t)=>{const n=j.from(/^#([a-fA-F0-9]{3}(?:[a-fA-F0-9]{3})?)/.exec(t)).bind((e=>ne(e,1))),r=i.get(e);Gf.getCurrent(r).fold((()=>{console.log("Can not find form")}),(e=>{Nd.setValue(e,{hex:n.getOr("")}),Jw.getField(e,"hex").each((e=>{Li(e,ni())}))}))})),sk()])}};var Ak=tinymce.util.Tools.resolve("tinymce.Resource");var xk=tinymce.util.Tools.resolve("tinymce.util.Tools");const Ck=(e,t,n)=>{const r=(e,t)=>{t.stop()},o=e=>(t,n)=>{q(e,(e=>{e(t,n)}))},i=(e,t)=>{var n;if(!lp.isDisabled(e)){const r=t.event.raw;s(e,null===(n=r.dataTransfer)||void 0===n?void 0:n.files)}},a=(e,t)=>{const n=t.event.raw.target;s(e,n.files)},s=(n,r)=>{r&&(Nd.setValue(n,((e,t)=>{const n=xk.explode(t.getOption("images_file_types"));return H(ie(e),(e=>I(n,(t=>Be(e.name.toLowerCase(),`.${t.toLowerCase()}`)))))})(r,t)),Ii(n,FC,{name:e.name}))},l=bg({dom:{tag:"input",attributes:{type:"file",accept:"image/*"},styles:{display:"none"}},behaviours:Il([_m("input-file-events",[$i(oi()),$i(vi())])])}),c=e.label.map((e=>NC(e,t))),u=jC.parts.field({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-dropzone-container"]},behaviours:Il([vk(n.getOr([])),sk(),lp.config({}),Lm.config({toggleClass:"dragenter",toggleOnExecute:!1}),_m("dropzone-events",[Vi("dragenter",o([r,Lm.toggle])),Vi("dragleave",o([r,Lm.toggle])),Vi("dragover",r),Vi("drop",o([r,i])),Vi(ri(),a)])]),components:[{dom:{tag:"div",classes:["tox-dropzone"],styles:{}},components:[{dom:{tag:"p"},components:[fs(t.translate("Drop an image here"))]},vg.sketch({dom:{tag:"button",styles:{position:"relative"},classes:["tox-button","tox-button--secondary"]},components:[fs(t.translate("Browse for an image")),l.asSpec()],action:e=>{l.get(e).element.dom.click()},buttonBehaviours:Il([MC.config({}),Xy(t.isDisabled),Ky()])})]}]})}});return RC(c,u,["tox-form__group--stretched"],[])},_k=da("alloy-fake-before-tabstop"),wk=da("alloy-fake-after-tabstop"),kk=e=>({dom:{tag:"div",styles:{width:"1px",height:"1px",outline:"none"},attributes:{tabindex:"0"},classes:e},behaviours:Il([Bm.config({ignore:!0}),MC.config({})])}),Sk=e=>({dom:{tag:"div",classes:["tox-navobj"]},components:[kk([_k]),e,kk([wk])],behaviours:Il([ck(1)])}),Ek=(e,t)=>{Ii(e,ei(),{raw:{which:9,shiftKey:t}})},Bk=(e,t)=>{const n=t.element;Ka(n,_k)?Ek(e,!0):Ka(n,wk)&&Ek(e,!1)},Ok=e=>pC(e,["."+_k,"."+wk].join(","),E),jk=(e,t,n)=>{const r=e.sandboxed,o=e.transparent,i="tox-dialog__iframe",a={...e.label.map((e=>({title:e}))).getOr({}),...n.map((e=>({srcdoc:e}))).getOr({}),...r?{sandbox:"allow-scripts allow-same-origin"}:{}},s=(e=>{const t=Oo(e.getOr(""));return{getValue:e=>t.get(),setValue:(e,n)=>{t.get()!==n&&yt(e.element,"srcdoc",n),t.set(n)}}})(n),l=e.label.map((e=>NC(e,t))),c=jC.parts.field({factory:{sketch:e=>Sk({uid:e.uid,dom:{tag:"iframe",attributes:a,classes:o?[i]:[i,`${i}--opaque`]},behaviours:Il([MC.config({}),Bm.config({}),mk(n,s.getValue,s.setValue)])})}});return RC(l,c,["tox-form__group--stretched"],[])},Tk=(e,t)=>{const n=Oo(t.getOr({url:""})),r=bg({dom:{tag:"img",classes:["tox-imagepreview__image"],attributes:t.map((e=>({src:e.url}))).getOr({})}}),o=bg({dom:{tag:"div",classes:["tox-imagepreview__container"],attributes:{role:"presentation"}},components:[r.asSpec()]}),i={};e.height.each((e=>i.height=e));const a=t.map((e=>({url:e.url,zoom:j.from(e.zoom),cachedWidth:j.from(e.cachedWidth),cachedHeight:j.from(e.cachedHeight)})));return{dom:{tag:"div",classes:["tox-imagepreview"],styles:i,attributes:{role:"presentation"}},components:[o.asSpec()],behaviours:Il([sk(),mk(a,(()=>n.get()),((e,t)=>{const i={url:t.url};t.zoom.each((e=>i.zoom=e)),t.cachedWidth.each((e=>i.cachedWidth=e)),t.cachedHeight.each((e=>i.cachedHeight=e)),n.set(i);const a=()=>{const{cachedWidth:t,cachedHeight:n,zoom:r}=i;if(!d(t)&&!d(n)){if(d(r)){const r=((e,t,n)=>{const r=Zt(e),o=Ft(e);return Math.min(r/t,o/n,1)})(e.element,t,n);i.zoom=r}const a=((e,t,n,r,o)=>{const i=n*o,a=r*o,s=Math.max(0,e/2-i/2),l=Math.max(0,t/2-a/2);return{left:s.toString()+"px",top:l.toString()+"px",width:i.toString()+"px",height:a.toString()+"px"}})(Zt(e.element),Ft(e.element),t,n,i.zoom);o.getOpt(e).each((e=>{Bt(e.element,a)}))}};r.getOpt(e).each((n=>{const r=n.element;t.url!==xt(r,"src")&&(yt(r,"src",t.url),Ga(e.element,"tox-imagepreview__loaded")),a(),(e=>new Promise(((t,n)=>{const r=()=>{i(),t(e)},o=[mc(e,"load",r),mc(e,"error",(()=>{i(),n("Unable to load data from image: "+e.dom.src)}))],i=()=>q(o,(e=>e.unbind()));e.dom.complete&&r()})))(r).then((t=>{e.getSystem().isConnected()&&(Za(e.element,"tox-imagepreview__loaded"),i.cachedWidth=t.dom.naturalWidth,i.cachedHeight=t.dom.naturalHeight,a())}))}))}))])}},Pk=da("toolbar.button.execute"),Mk={[mi()]:["disabling","alloy.base.behaviour","toggling","toolbar-button-events"]},Dk=(e,t,n)=>Bg(e,{tag:"span",classes:["tox-icon","tox-tbtn__icon-wrap"],behaviours:n},t),Rk=(e,t)=>Dk(e,t,[]),Lk=(e,t)=>Dk(e,t,[Cm.config({})]),Ik=(e,t,n)=>({dom:{tag:"span",classes:[`${t}__select-label`]},components:[fs(n.translate(e))],behaviours:Il([Cm.config({})])}),Nk=da("update-menu-text"),Fk=da("update-menu-icon"),zk=(e,t,n)=>{const r=Oo(v),o=e.text.map((e=>bg(Ik(e,t,n.providers)))),i=e.icon.map((e=>bg(Lk(e,n.providers.icons)))),a=(e,t)=>{const n=Nd.getValue(e);return Bm.focus(n),Ii(n,"keydown",{raw:t.event.raw}),tC.close(n),j.some(!0)},s=e.role.fold((()=>({})),(e=>({role:e}))),l=e.tooltip.fold((()=>({})),(e=>{const t=n.providers.translate(e);return{title:t,"aria-label":t}})),c=Bg("chevron-down",{tag:"div",classes:[`${t}__select-chevron`]},n.providers.icons),u=bg(tC.sketch({...e.uid?{uid:e.uid}:{},...s,dom:{tag:"button",classes:[t,`${t}--select`].concat(z(e.classes,(e=>`${t}--${e}`))),attributes:{...l}},components:iA([i.map((e=>e.asSpec())),o.map((e=>e.asSpec())),j.some(c)]),matchWidth:!0,useMinWidth:!0,onOpen:(t,n,r)=>{e.searchable&&(e=>{pb(e).each((e=>Bm.focus(e)))})(r)},dropdownBehaviours:Il([...e.dropdownBehaviours,Xy((()=>e.disabled||n.providers.isDisabled())),Ky(),i_.config({}),Cm.config({}),_m("dropdown-events",[tA(e,r),nA(e,r)]),_m("menubutton-update-display-text",[Vi(Nk,((e,t)=>{o.bind((t=>t.getOpt(e))).each((e=>{Cm.set(e,[fs(n.providers.translate(t.event.text))])}))})),Vi(Fk,((e,t)=>{i.bind((t=>t.getOpt(e))).each((e=>{Cm.set(e,[Lk(t.event.icon,n.providers.icons)])}))}))])]),eventOrder:hr(Mk,{mousedown:["focusing","alloy.base.behaviour","item-type-events","normal-dropdown-events"]}),sandboxBehaviours:Il([pm.config({mode:"special",onLeft:a,onRight:a}),_m("dropdown-sandbox-events",[Vi(cb,((e,t)=>{nC(e),t.stop()})),Vi(ub,((e,t)=>{((e,t)=>{rC(e).each((n=>{((e,t,n,r)=>{const o={...r,target:t};e.getSystem().triggerEvent(n,t,o)})(e,n.element,t.event.eventType,t.event.interactionEvent)}))})(e,t),t.stop()}))])]),lazySink:n.getSink,toggleClass:`${t}--active`,parts:{menu:{...rb(0,e.columns,e.presets),fakeFocus:e.searchable,onHighlightItem:oC,onCollapseMenu:(e,t,n)=>{yp.getHighlighted(n).each((t=>{oC(e,n,t)}))},onDehighlightItem:iC}},fetch:t=>Fx(_(e.fetch,t))}));return u.asSpec()},qk=e=>"separator"===e.type,Uk={type:"separator"},Hk=(e,t)=>{const n=V(e,((e,n)=>(e=>i(e))(n)?""===n?e:"|"===n?e.length>0&&!qk(e[e.length-1])?e.concat([Uk]):e:ye(t,n.toLowerCase())?e.concat([t[n.toLowerCase()]]):e:e.concat([n])),[]);return n.length>0&&qk(n[n.length-1])&&n.pop(),n},Wk=(e,t)=>{const n=Hk(i(e)?e.split(" "):e,t);return W(n,((e,n)=>{if((e=>ye(e,"getSubmenuItems"))(n)){const r=(e=>{const t=be(e,"value").getOrThunk((()=>da("generated-menu-item")));return hr({value:t},e)})(n),o=((e,t)=>{const n=e.getSubmenuItems(),r=Wk(n,t);return{item:e,menus:hr(r.menus,{[e.value]:r.items}),expansions:hr(r.expansions,{[e.value]:e.value})}})(r,t);return{menus:hr(e.menus,o.menus),items:[o.item,...e.items],expansions:hr(e.expansions,o.expansions)}}return{...e,items:[n,...e.items]}}),{menus:{},expansions:{},items:[]})},Vk=(e,t,n,r)=>{const o=da("primary-menu"),i=Wk(e,n.shared.providers.menuItems());if(0===i.items.length)return j.none();const a=(e=>e.search.fold((()=>({searchMode:"no-search"})),(e=>({searchMode:"search-with-field",placeholder:e.placeholder}))))(r),s=uC(o,i.items,t,n,r.isHorizontalMenu,a),l=(e=>e.search.fold((()=>({searchMode:"no-search"})),(e=>({searchMode:"search-with-results"}))))(r),c=ue(i.menus,((e,r)=>uC(r,e,t,n,!1,l))),u=hr(c,Po(o,s));return j.from(hg.tieredData(o,u,i.expansions))},Yk=e=>!ye(e,"items"),Zk="data-value",Gk=(e,t,n,r)=>z(n,(n=>Yk(n)?{type:"togglemenuitem",text:n.text,value:n.value,active:n.value===r,onAction:()=>{Nd.setValue(e,n.value),Ii(e,FC,{name:t}),Bm.focus(e)}}:{type:"nestedmenuitem",text:n.text,getSubmenuItems:()=>Gk(e,t,n.items,r)})),Kk=(e,t)=>ae(e,(e=>Yk(e)?we(e.value===t,e):Kk(e.items,t))),$k=Hf({name:"HtmlSelect",configFields:[no("options"),Fd("selectBehaviours",[Bm,Nd]),Ao("selectClasses",[]),Ao("selectAttributes",{}),fo("data")],factory:(e,t)=>{const n=z(e.options,(e=>({dom:{tag:"option",value:e.value,innerHtml:e.text}}))),r=e.data.map((e=>Po("initialValue",e))).getOr({});return{uid:e.uid,dom:{tag:"select",classes:e.selectClasses,attributes:e.selectAttributes},components:n,behaviours:qd(e.selectBehaviours,[Bm.config({}),Nd.config({store:{mode:"manual",getValue:e=>Ja(e.element),setValue:(t,n)=>{Y(e.options,(e=>e.value===n)).isSome()&&es(t.element,n)},...r}})])}}}),Xk=A([Ao("field1Name","field1"),Ao("field2Name","field2"),Ys("onLockedChange"),Us(["lockClass"]),Ao("locked",!1),Ud("coupledFieldBehaviours",[Gf,Nd])]),Qk=(e,t)=>mf({factory:jC,name:e,overrides:e=>({fieldBehaviours:Il([_m("coupled-input-behaviour",[Vi(ni(),(n=>{((e,t,n)=>Of(e,t,n).bind(Gf.getCurrent))(n,e,t).each((t=>{Of(n,e,"lock").each((r=>{Lm.isOn(r)&&e.onLockedChange(n,t,r)}))}))}))])])})}),Jk=A([Qk("field1","field2"),Qk("field2","field1"),mf({factory:vg,schema:[no("dom")],name:"lock",overrides:e=>({buttonBehaviours:Il([Lm.config({selected:e.locked,toggleClass:e.markers.lockClass,aria:{mode:"pressed"}})])})})]),eS=Wf({name:"FormCoupledInputs",configFields:Xk(),partFields:Jk(),factory:(e,t,n,r)=>({uid:e.uid,dom:e.dom,components:t,behaviours:Hd(e.coupledFieldBehaviours,[Gf.config({find:j.some}),Nd.config({store:{mode:"manual",getValue:t=>{const n=Df(t,e,["field1","field2"]);return{[e.field1Name]:Nd.getValue(n.field1()),[e.field2Name]:Nd.getValue(n.field2())}},setValue:(t,n)=>{const r=Df(t,e,["field1","field2"]);Ae(n,e.field1Name)&&Nd.setValue(r.field1(),n[e.field1Name]),Ae(n,e.field2Name)&&Nd.setValue(r.field2(),n[e.field2Name])}}})]),apis:{getField1:t=>Of(t,e,"field1"),getField2:t=>Of(t,e,"field2"),getLock:t=>Of(t,e,"lock")}}),apis:{getField1:(e,t)=>e.getField1(t),getField2:(e,t)=>e.getField2(t),getLock:(e,t)=>e.getLock(t)}}),tS=e=>{const t=/^\s*(\d+(?:\.\d+)?)\s*(|cm|mm|in|px|pt|pc|em|ex|ch|rem|vw|vh|vmin|vmax|%)\s*$/.exec(e);if(null!==t){const e=parseFloat(t[1]),n=t[2];return $n.value({value:e,unit:n})}return $n.error(e)},nS=(e,t)=>{const n={"":96,px:96,pt:72,cm:2.54,pc:12,mm:25.4,in:1},r=e=>ye(n,e);return e.unit===t?j.some(e.value):r(e.unit)&&r(t)?n[e.unit]===n[t]?j.some(e.value):j.some(e.value/n[e.unit]*n[t]):j.none()},rS=e=>j.none(),oS=(e,t)=>{const n=tS(e).toOptional(),r=tS(t).toOptional();return _e(n,r,((e,t)=>nS(e,t.unit).map((e=>t.value/e)).map((e=>{return n=e,r=t.unit,e=>nS(e,r).map((e=>({value:e*n,unit:r})));var n,r})).getOr(rS))).getOr(rS)},iS=(e,t)=>{const n=e.label.map((e=>NC(e,t))),r=[lp.config({disabled:()=>e.disabled||t.isDisabled()}),Ky(),pm.config({mode:"execution",useEnter:!0!==e.multiline,useControlEnter:!0===e.multiline,execute:e=>(Li(e,HC),j.some(!0))}),_m("textfield-change",[Vi(ni(),((t,n)=>{Ii(t,FC,{name:e.name})})),Vi(pi(),((t,n)=>{Ii(t,FC,{name:e.name})}))]),MC.config({})],o=e.validation.map((e=>o_.config({getRoot:e=>tt(e.element),invalidClass:"tox-invalid",validator:{validate:t=>{const n=Nd.getValue(t),r=e.validator(n);return zx(!0===r?$n.value(n):$n.error(r))},validateOnLoad:e.validateOnLoad}}))).toArray(),i={...e.placeholder.fold(A({}),(e=>({placeholder:t.translate(e)}))),...e.inputMode.fold(A({}),(e=>({inputmode:e})))},a=jC.parts.field({tag:!0===e.multiline?"textarea":"input",...e.data.map((e=>({data:e}))).getOr({}),inputAttributes:i,inputClasses:[e.classname],inputBehaviours:Il(G([r,o])),selectOnFocus:!1,factory:lb}),s=(e.flex?["tox-form__group--stretched"]:[]).concat(e.maximized?["tox-form-group--maximize"]:[]),l=[lp.config({disabled:()=>e.disabled||t.isDisabled(),onDisabled:e=>{jC.getField(e).each(lp.disable)},onEnabled:e=>{jC.getField(e).each(lp.enable)}}),Ky()];return RC(n,a,s,l)};var aS=Object.freeze({__proto__:null,events:(e,t)=>{const n=e.stream.streams.setup(e,t);return Ui([Vi(e.event,n),ea((()=>t.cancel()))].concat(e.cancelEvent.map((e=>[Vi(e,(()=>t.cancel()))])).getOr([])))}});const sS=(e,t)=>{let n=null;const r=()=>{c(n)||(clearTimeout(n),n=null)};return{cancel:r,throttle:(...o)=>{r(),n=setTimeout((()=>{n=null,e.apply(null,o)}),t)}}},lS=e=>{const t=Oo(null);return Oa({readState:()=>({timer:null!==t.get()?"set":"unset"}),setTimer:e=>{t.set(e)},cancel:()=>{const e=t.get();null!==e&&e.cancel()}})};var cS=Object.freeze({__proto__:null,throttle:lS,init:e=>e.stream.streams.state(e)});var uS=[ro("stream",Qr("mode",{throttle:[no("delay"),Ao("stopEvent",!0),Gs("streams",{setup:(e,t)=>{const n=e.stream,r=sS(e.onStream,n.delay);return t.setTimer(r),(e,t)=>{r.throttle(e,t),n.stopEvent&&t.stop()}},state:lS})]})),Ao("event","input"),fo("cancelEvent"),Ys("onStream")];const dS=Fl({fields:uS,name:"streaming",active:aS,state:cS}),fS=(e,t,n)=>{const r=Nd.getValue(n);Nd.setValue(t,r),hS(t)},pS=(e,t)=>{const n=e.element,r=Ja(n),o=n.dom;"number"!==xt(n,"type")&&t(o,r)},hS=e=>{pS(e,((e,t)=>e.setSelectionRange(t.length,t.length)))},mS=(e,t,n)=>{if(e.selectsOver){const r=Nd.getValue(t),o=e.getDisplayText(r),i=Nd.getValue(n);return 0===e.getDisplayText(i).indexOf(o)?j.some((()=>{fS(0,t,n),((e,t)=>{pS(e,((e,n)=>e.setSelectionRange(t,n.length)))})(t,o.length)})):j.none()}return j.none()},gS=A("alloy.typeahead.itemexecute"),vS=A([fo("lazySink"),no("fetch"),Ao("minChars",5),Ao("responseTime",1e3),Ws("onOpen"),Ao("getHotspot",j.some),Ao("getAnchorOverrides",A({})),Ao("layouts",j.none()),Ao("eventOrder",{}),Bo("model",{},[Ao("getDisplayText",(e=>void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.value)),Ao("selectsOver",!0),Ao("populateFromBrowse",!0)]),Ws("onSetValue"),Vs("onExecute"),Ws("onItemExecute"),Ao("inputClasses",[]),Ao("inputAttributes",{}),Ao("inputStyles",{}),Ao("matchWidth",!0),Ao("useMinWidth",!1),Ao("dismissOnBlur",!0),Us(["openClass"]),fo("initialData"),Fd("typeaheadBehaviours",[Bm,Nd,dS,pm,Lm,Dx]),eo("lazyTypeaheadComp",(()=>Oo(j.none))),eo("previewing",(()=>Oo(!0)))].concat(ob()).concat(Qx())),bS=A([gf({schema:[qs()],name:"menu",overrides:e=>({fakeFocus:!0,onHighlightItem:(t,n,r)=>{e.previewing.get()?e.lazyTypeaheadComp.get().each((t=>{mS(e.model,t,r).fold((()=>{e.model.selectsOver?(yp.dehighlight(n,r),e.previewing.set(!0)):e.previewing.set(!1)}),(t=>{t(),e.previewing.set(!1)}))})):e.lazyTypeaheadComp.get().each((t=>{e.model.populateFromBrowse&&fS(e.model,t,r)}))},onExecute:(t,n)=>e.lazyTypeaheadComp.get().map((e=>(Ii(e,gS(),{item:n}),!0))),onHover:(t,n)=>{e.previewing.set(!1),e.lazyTypeaheadComp.get().each((t=>{e.model.populateFromBrowse&&fS(e.model,t,n)}))}})})]),yS=Wf({name:"Typeahead",configFields:vS(),partFields:bS(),factory:(e,t,n,r)=>{const o=(t,n,o)=>{e.previewing.set(!1);const i=Dx.getCoupled(t,"sandbox");if(bd.isOpen(i))Gf.getCurrent(i).each((e=>{yp.getHighlighted(e).fold((()=>{o(e)}),(()=>{qi(i,e.element,"keydown",n)}))}));else{const n=e=>{Gf.getCurrent(e).each(o)};Wx(e,a(t),t,i,r,n,fg.HighlightMenuAndItem).get(v)}},i=ib(e),a=e=>t=>t.map((t=>{const n=ve(t.menus),r=K(n,(e=>H(e.items,(e=>"item"===e.type))));return Nd.getState(e).update(z(r,(e=>e.data))),t})),s=e=>Gf.getCurrent(e),l="typeaheadevents",c=[Bm.config({}),Nd.config({onSetValue:e.onSetValue,store:{mode:"dataset",getDataKey:e=>Ja(e.element),getFallbackEntry:e=>({value:e,meta:{}}),setValue:(t,n)=>{es(t.element,e.model.getDisplayText(n))},...e.initialData.map((e=>Po("initialValue",e))).getOr({})}}),dS.config({stream:{mode:"throttle",delay:e.responseTime,stopEvent:!1},onStream:(t,n)=>{const o=Dx.getCoupled(t,"sandbox");if(Bm.isFocused(t)&&Ja(t.element).length>=e.minChars){const n=s(o).bind((e=>yp.getHighlighted(e).map(Nd.getValue)));e.previewing.set(!0);const i=t=>{s(o).each((t=>{n.fold((()=>{e.model.selectsOver&&yp.highlightFirst(t)}),(e=>{yp.highlightBy(t,(t=>Nd.getValue(t).value===e.value)),yp.getHighlighted(t).orThunk((()=>(yp.highlightFirst(t),j.none())))}))}))};Wx(e,a(t),t,o,r,i,fg.HighlightJustMenu).get(v)}},cancelEvent:Ai()}),pm.config({mode:"special",onDown:(e,t)=>(o(e,t,yp.highlightFirst),j.some(!0)),onEscape:e=>{const t=Dx.getCoupled(e,"sandbox");return bd.isOpen(t)?(bd.close(t),j.some(!0)):j.none()},onUp:(e,t)=>(o(e,t,yp.highlightLast),j.some(!0)),onEnter:t=>{const n=Dx.getCoupled(t,"sandbox"),r=bd.isOpen(n);if(r&&!e.previewing.get())return s(n).bind((e=>yp.getHighlighted(e))).map((e=>(Ii(t,gS(),{item:e}),!0)));{const o=Nd.getValue(t);return Li(t,Ai()),e.onExecute(n,t,o),r&&bd.close(n),j.some(!0)}}}),Lm.config({toggleClass:e.markers.openClass,aria:{mode:"expanded"}}),Dx.config({others:{sandbox:t=>$x(e,t,{onOpen:()=>Lm.on(t),onClose:()=>Lm.off(t)})}}),_m(l,[Ji((t=>{e.lazyTypeaheadComp.set(j.some(t))})),ea((t=>{e.lazyTypeaheadComp.set(j.none())})),na((t=>{const n=v;Yx(e,a(t),t,r,n,fg.HighlightMenuAndItem).get(v)})),Vi(gS(),((t,n)=>{const r=Dx.getCoupled(t,"sandbox");fS(e.model,t,n.event.item),Li(t,Ai()),e.onItemExecute(t,r,n.event.item,Nd.getValue(t)),bd.close(r),hS(t)}))].concat(e.dismissOnBlur?[Vi(fi(),(e=>{const t=Dx.getCoupled(e,"sandbox");Gl(t.element).isNone()&&bd.close(t)}))]:[]))],u={[Ei()]:[Nd.name(),dS.name(),l],...e.eventOrder};return{uid:e.uid,dom:sb(hr(e,{inputAttributes:{role:"combobox","aria-autocomplete":"list","aria-haspopup":"true"}})),behaviours:{...i,...qd(e.typeaheadBehaviours,c)},eventOrder:u}}}),AS=e=>({...e,toCached:()=>AS(e.toCached()),bindFuture:t=>AS(e.bind((e=>e.fold((e=>zx($n.error(e))),(e=>t(e)))))),bindResult:t=>AS(e.map((e=>e.bind(t)))),mapResult:t=>AS(e.map((e=>e.map(t)))),mapError:t=>AS(e.map((e=>e.mapError(t)))),foldResult:(t,n)=>e.map((e=>e.fold(t,n))),withTimeout:(t,n)=>AS(Fx((r=>{let o=!1;const i=setTimeout((()=>{o=!0,r($n.error(n()))}),t);e.get((e=>{o||(clearTimeout(i),r(e))}))})))}),xS=e=>AS(Fx(e)),CS=xS,_S=e=>({isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t),setActive:t=>{const n=e.element;t?(Za(n,"tox-tbtn--enabled"),yt(n,"aria-pressed",!0)):(Ga(n,"tox-tbtn--enabled"),wt(n,"aria-pressed"))},isActive:()=>Ka(e.element,"tox-tbtn--enabled")}),wS=(e,t,n,r)=>zk({text:e.text,icon:e.icon,tooltip:e.tooltip,searchable:e.search.isSome(),role:r,fetch:(t,r)=>{const o={pattern:e.search.isSome()?aC(t):""};e.fetch((t=>{r(Vk(t,Fv.CLOSE_ON_EXECUTE,n,{isHorizontalMenu:!1,search:e.search}))}),o)},onSetup:e.onSetup,getApi:_S,columns:1,presets:"normal",classes:[],dropdownBehaviours:[MC.config({})]},t,n.shared),kS=(e,t,n)=>{const r=e=>r=>{const o=!r.isActive();r.setActive(o),e.storage.set(o),n.shared.getSink().each((n=>{t().getOpt(n).each((t=>{Vl(t.element),Ii(t,UC,{name:e.name,value:e.storage.get()})}))}))},o=e=>t=>{t.setActive(e.storage.get())};return t=>{t(z(e,(e=>{const t=e.text.fold((()=>({})),(e=>({text:e})));return{type:e.type,active:!1,...t,onAction:r(e),onSetup:o(e)}})))}},SS=(e,t,n=[],r,o,i)=>{const a=t.fold((()=>({})),(e=>({action:e}))),s={buttonBehaviours:Il([Xy((()=>!e.enabled||i.isDisabled())),Ky(),MC.config({}),_m("button press",[Wi("click"),Wi("mousedown")])].concat(n)),eventOrder:{click:["button press","alloy.base.behaviour"],mousedown:["button press","alloy.base.behaviour"]},...a},l=hr(s,{dom:r});return hr(l,{components:o})},ES=(e,t,n,r=[])=>{const o={tag:"button",classes:["tox-tbtn"],attributes:e.tooltip.map((e=>({"aria-label":n.translate(e),title:n.translate(e)}))).getOr({})},i=e.icon.map((e=>Rk(e,n.icons))),a=iA([i]);return SS(e,t,r,o,a,n)},BS=(e,t,n,r=[],o=[])=>{const i=n.translate(e.text),a=e.icon.map((e=>Rk(e,n.icons))),s=[a.getOrThunk((()=>fs(i)))],l=(e=>{switch(e){case"primary":return["tox-button"];case"toolbar":return["tox-tbtn"];default:return["tox-button","tox-button--secondary"]}})(e.buttonType.getOr(e.primary||e.borderless?"primary":"secondary")),c=[...l,...a.isSome()?["tox-button--icon"]:[],...e.borderless?["tox-button--naked"]:[],...o];return SS(e,t,r,{tag:"button",classes:c,attributes:{title:i}},s,n)},OS=(e,t,n,r=[],o=[])=>{const i=BS(e,j.some(t),n,r,o);return vg.sketch(i)},jS=(e,t)=>n=>{"custom"===t?Ii(n,UC,{name:e,value:{}}):"submit"===t?Li(n,HC):"cancel"===t?Li(n,qC):console.error("Unknown button type: ",t)},TS=(e,t,n)=>{if(((e,t)=>"menu"===t)(0,t)){const t=()=>i,r=e,o={...e,type:"menubutton",search:j.none(),onSetup:t=>(t.setEnabled(e.enabled),v),fetch:kS(r.items,t,n)},i=bg(wS(o,"tox-tbtn",n,j.none()));return i.asSpec()}if(((e,t)=>"custom"===t||"cancel"===t||"submit"===t)(0,t)){const r=jS(e.name,t),o={...e,borderless:!1};return OS(o,r,n.shared.providers,[])}throw console.error("Unknown footer button type: ",t),new Error("Unknown footer button type")},PS=(e,t)=>{const n=jS(e.name,"custom");return r=j.none(),o=jC.parts.field({factory:vg,...BS(e,j.some(n),t,[vk(""),sk()])}),RC(r,o,[],[]);var r,o},MS={type:"separator"},DS=e=>({type:"menuitem",value:e.url,text:e.title,meta:{attach:e.attach},onAction:v}),RS=(e,t)=>({type:"menuitem",value:t,text:e,meta:{attach:void 0},onAction:v}),LS=(e,t)=>(e=>z(e,DS))(((e,t)=>H(t,(t=>t.type===e)))(e,t)),IS=e=>LS("header",e.targets),NS=e=>LS("anchor",e.targets),FS=e=>j.from(e.anchorTop).map((e=>RS("<top>",e))).toArray(),zS=e=>j.from(e.anchorBottom).map((e=>RS("<bottom>",e))).toArray(),qS=(e,t)=>{const n=e.toLowerCase();return H(t,(e=>{var t;const r=void 0!==e.meta&&void 0!==e.meta.text?e.meta.text:e.text,o=null!==(t=e.value)&&void 0!==t?t:"";return Se(r.toLowerCase(),n)||Se(o.toLowerCase(),n)}))},US=(e,t,n)=>{const r=Nd.getValue(t),o=void 0!==r.meta.text?r.meta.text:r.value;return n.getLinkInformation().fold((()=>[]),(t=>{const r=qS(o,(e=>z(e,(e=>RS(e,e))))(n.getHistory(e)));return"file"===e?(i=[r,qS(o,IS(t)),qS(o,G([FS(t),NS(t),zS(t)]))],V(i,((e,t)=>0===e.length||0===t.length?e.concat(t):e.concat(MS,t)),[])):r;var i}))},HS=da("aria-invalid"),WS=(e,t)=>{e.dom.checked=t},VS=e=>e.dom.checked,YS=e=>(t,n,r,o)=>be(n,"name").fold((()=>e(n,o,j.none())),(i=>t.field(i,e(n,o,be(r,i))))),ZS={bar:YS(((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-bar","tox-form__controls-h-stack"]},components:z(e.items,t.interpreter)}))(e,t.shared))),collection:YS(((e,t,n)=>GC(e,t.shared.providers,n))),alertbanner:YS(((e,t)=>((e,t)=>SC.sketch({dom:{tag:"div",attributes:{role:"alert"},classes:["tox-notification","tox-notification--in",`tox-notification--${e.level}`]},components:[{dom:{tag:"div",classes:["tox-notification__icon"]},components:[vg.sketch({dom:{tag:"button",classes:["tox-button","tox-button--naked","tox-button--icon"],innerHtml:kg(e.icon,t.icons),attributes:{title:t.translate(e.iconTooltip)}},action:t=>{Ii(t,UC,{name:"alert-banner",value:e.url})},buttonBehaviours:Il([Sg()])})]},{dom:{tag:"div",classes:["tox-notification__body"],innerHtml:t.translate(e.text)}}]}))(e,t.shared.providers))),input:YS(((e,t,n)=>((e,t,n)=>iS({name:e.name,multiline:!1,label:e.label,inputMode:e.inputMode,placeholder:e.placeholder,flex:!1,disabled:!e.enabled,classname:"tox-textfield",validation:j.none(),maximized:e.maximized,data:n},t))(e,t.shared.providers,n))),textarea:YS(((e,t,n)=>((e,t,n)=>iS({name:e.name,multiline:!0,label:e.label,inputMode:j.none(),placeholder:e.placeholder,flex:!0,disabled:!e.enabled,classname:"tox-textarea",validation:j.none(),maximized:e.maximized,data:n},t))(e,t.shared.providers,n))),label:YS(((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"label",classes:["tox-label"]},components:[fs(t.providers.translate(e.label))]},...z(e.items,t.interpreter)],behaviours:Il([sk(),Cm.config({}),gk(j.none()),pm.config({mode:"acyclic"})])}))(e,t.shared))),iframe:(e=>(t,n,r,o)=>{const i=hr(n,{source:"dynamic"});return YS(e)(t,i,r,o)})(((e,t,n)=>jk(e,t.shared.providers,n))),button:YS(((e,t)=>PS(e,t.shared.providers))),checkbox:YS(((e,t,n)=>((e,t,n)=>{const r=e=>(e.element.dom.click(),j.some(!0)),o=jC.parts.field({factory:{sketch:x},dom:{tag:"input",classes:["tox-checkbox__input"],attributes:{type:"checkbox"}},behaviours:Il([sk(),lp.config({disabled:()=>!e.enabled||t.isDisabled()}),MC.config({}),Bm.config({}),hk(n,VS,WS),pm.config({mode:"special",onEnter:r,onSpace:r,stopSpaceKeyup:!0}),_m("checkbox-events",[Vi(ri(),((t,n)=>{Ii(t,FC,{name:e.name})}))])])}),i=jC.parts.label({dom:{tag:"span",classes:["tox-checkbox__label"]},components:[fs(t.translate(e.label))],behaviours:Il([i_.config({})])}),a=e=>Bg("checked"===e?"selected":"unselected",{tag:"span",classes:["tox-icon","tox-checkbox-icon__"+e]},t.icons),s=bg({dom:{tag:"div",classes:["tox-checkbox__icons"]},components:[a("checked"),a("unchecked")]});return jC.sketch({dom:{tag:"label",classes:["tox-checkbox"]},components:[o,s.asSpec(),i],fieldBehaviours:Il([lp.config({disabled:()=>!e.enabled||t.isDisabled(),disableClass:"tox-checkbox--disabled",onDisabled:e=>{jC.getField(e).each(lp.disable)},onEnabled:e=>{jC.getField(e).each(lp.enable)}}),Ky()])})})(e,t.shared.providers,n))),colorinput:YS(((e,t,n)=>c_(e,t.shared,t.colorinput,n))),colorpicker:YS(((e,t,n)=>yk(0,t.shared.providers,n))),dropzone:YS(((e,t,n)=>Ck(e,t.shared.providers,n))),grid:YS(((e,t)=>((e,t)=>({dom:{tag:"div",classes:["tox-form__grid",`tox-form__grid--${e.columns}col`]},components:z(e.items,t.interpreter)}))(e,t.shared))),listbox:YS(((e,t,n)=>((e,t,n)=>{const r=t.shared.providers,o=n.bind((t=>Kk(e.items,t))).orThunk((()=>re(e.items).filter(Yk))),i=e.label.map((e=>NC(e,r))),a=jC.parts.field({dom:{},factory:{sketch:n=>zk({uid:n.uid,text:o.map((e=>e.text)),icon:j.none(),tooltip:e.label,role:j.none(),fetch:(n,r)=>{const o=Gk(n,e.name,e.items,Nd.getValue(n));r(Vk(o,Fv.CLOSE_ON_EXECUTE,t,{isHorizontalMenu:!1,search:j.none()}))},onSetup:A(v),getApi:A({}),columns:1,presets:"normal",classes:[],dropdownBehaviours:[MC.config({}),mk(o.map((e=>e.value)),(e=>xt(e.element,Zk)),((t,n)=>{Kk(e.items,n).each((e=>{yt(t.element,Zk,e.value),Ii(t,Nk,{text:e.text})}))}))]},"tox-listbox",t.shared)}}),s={dom:{tag:"div",classes:["tox-listboxfield"]},components:[a]};return jC.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:G([i.toArray(),[s]]),fieldBehaviours:Il([lp.config({disabled:A(!e.enabled),onDisabled:e=>{jC.getField(e).each(lp.disable)},onEnabled:e=>{jC.getField(e).each(lp.enable)}})])})})(e,t,n))),selectbox:YS(((e,t,n)=>((e,t,n)=>{const r=z(e.items,(e=>({text:t.translate(e.text),value:e.value}))),o=e.label.map((e=>NC(e,t))),i=jC.parts.field({dom:{},...n.map((e=>({data:e}))).getOr({}),selectAttributes:{size:e.size},options:r,factory:$k,selectBehaviours:Il([lp.config({disabled:()=>!e.enabled||t.isDisabled()}),MC.config({}),_m("selectbox-change",[Vi(ri(),((t,n)=>{Ii(t,FC,{name:e.name})}))])])}),a=e.size>1?j.none():j.some(Bg("chevron-down",{tag:"div",classes:["tox-selectfield__icon-js"]},t.icons)),s={dom:{tag:"div",classes:["tox-selectfield"]},components:G([[i],a.toArray()])};return jC.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:G([o.toArray(),[s]]),fieldBehaviours:Il([lp.config({disabled:()=>!e.enabled||t.isDisabled(),onDisabled:e=>{jC.getField(e).each(lp.disable)},onEnabled:e=>{jC.getField(e).each(lp.enable)}}),Ky()])})})(e,t.shared.providers,n))),sizeinput:YS(((e,t)=>((e,t)=>{let n=rS;const r=da("ratio-event"),o=e=>Bg(e,{tag:"span",classes:["tox-icon","tox-lock-icon__"+e]},t.icons),i=eS.parts.lock({dom:{tag:"button",classes:["tox-lock","tox-button","tox-button--naked","tox-button--icon"],attributes:{title:t.translate(e.label.getOr("Constrain proportions"))}},components:[o("lock"),o("unlock")],buttonBehaviours:Il([lp.config({disabled:()=>!e.enabled||t.isDisabled()}),Ky(),MC.config({})])}),a=e=>({dom:{tag:"div",classes:["tox-form__group"]},components:e}),s=n=>jC.parts.field({factory:lb,inputClasses:["tox-textfield"],inputBehaviours:Il([lp.config({disabled:()=>!e.enabled||t.isDisabled()}),Ky(),MC.config({}),_m("size-input-events",[Vi(Qo(),((e,t)=>{Ii(e,r,{isField1:n})})),Vi(ri(),((t,n)=>{Ii(t,FC,{name:e.name})}))])]),selectOnFocus:!1}),l=e=>({dom:{tag:"label",classes:["tox-label"]},components:[fs(t.translate(e))]}),c=eS.parts.field1(a([jC.parts.label(l("Width")),s(!0)])),u=eS.parts.field2(a([jC.parts.label(l("Height")),s(!1)]));return eS.sketch({dom:{tag:"div",classes:["tox-form__group"]},components:[{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:[c,u,a([l(" "),i])]}],field1Name:"width",field2Name:"height",locked:!0,markers:{lockClass:"tox-locked"},onLockedChange:(e,t,r)=>{tS(Nd.getValue(e)).each((e=>{n(e).each((e=>{Nd.setValue(t,(e=>{const t={"":0,px:0,pt:1,mm:1,pc:2,ex:2,em:2,ch:2,rem:2,cm:3,in:4,"%":4};let n=e.value.toFixed((r=e.unit)in t?t[r]:1);var r;return-1!==n.indexOf(".")&&(n=n.replace(/\.?0*$/,"")),n+e.unit})(e))}))}))},coupledFieldBehaviours:Il([lp.config({disabled:()=>!e.enabled||t.isDisabled(),onDisabled:e=>{eS.getField1(e).bind(jC.getField).each(lp.disable),eS.getField2(e).bind(jC.getField).each(lp.disable),eS.getLock(e).each(lp.disable)},onEnabled:e=>{eS.getField1(e).bind(jC.getField).each(lp.enable),eS.getField2(e).bind(jC.getField).each(lp.enable),eS.getLock(e).each(lp.enable)}}),Ky(),_m("size-input-events2",[Vi(r,((e,t)=>{const r=t.event.isField1,o=r?eS.getField1(e):eS.getField2(e),i=r?eS.getField2(e):eS.getField1(e),a=o.map(Nd.getValue).getOr(""),s=i.map(Nd.getValue).getOr("");n=oS(a,s)}))])])})})(e,t.shared.providers))),slider:YS(((e,t,n)=>((e,t,n)=>{const r=Vw.parts.label({dom:{tag:"label",classes:["tox-label"]},components:[fs(t.translate(e.label))]}),o=Vw.parts.spectrum({dom:{tag:"div",classes:["tox-slider__rail"],attributes:{role:"presentation"}}}),i=Vw.parts.thumb({dom:{tag:"div",classes:["tox-slider__handle"],attributes:{role:"presentation"}}});return Vw.sketch({dom:{tag:"div",classes:["tox-slider"],attributes:{role:"presentation"}},model:{mode:"x",minX:e.min,maxX:e.max,getInitialValue:A(n.getOrThunk((()=>(Math.abs(e.max)-Math.abs(e.min))/2)))},components:[r,o,i],sliderBehaviours:Il([sk(),Bm.config({})]),onChoose:(t,n,r)=>{Ii(t,FC,{name:e.name,value:r})}})})(e,t.shared.providers,n))),urlinput:YS(((e,t,n)=>((e,t,n,r)=>{const o=t.shared.providers,i=t=>{const r=Nd.getValue(t);n.addToHistory(r.value,e.filetype)},a={...r.map((e=>({initialData:e}))).getOr({}),dismissOnBlur:!0,inputClasses:["tox-textfield"],sandboxClasses:["tox-dialog__popups"],inputAttributes:{"aria-errormessage":HS,type:"url"},minChars:0,responseTime:0,fetch:r=>{const o=US(e.filetype,r,n),i=Vk(o,Fv.BUBBLE_TO_SANDBOX,t,{isHorizontalMenu:!1,search:j.none()});return zx(i)},getHotspot:e=>p.getOpt(e),onSetValue:(e,t)=>{e.hasConfigured(o_)&&o_.run(e).get(v)},typeaheadBehaviours:Il([...n.getValidationHandler().map((t=>o_.config({getRoot:e=>tt(e.element),invalidClass:"tox-control-wrap--status-invalid",notify:{onInvalid:(e,t)=>{c.getOpt(e).each((e=>{yt(e.element,"title",o.translate(t))}))}},validator:{validate:n=>{const r=Nd.getValue(n);return CS((n=>{t({type:e.filetype,url:r.value},(e=>{if("invalid"===e.status){const t=$n.error(e.message);n(t)}else{const t=$n.value(e.message);n(t)}}))}))},validateOnLoad:!1}}))).toArray(),lp.config({disabled:()=>!e.enabled||o.isDisabled()}),MC.config({}),_m("urlinput-events",[Vi(ni(),(t=>{const n=Ja(t.element),r=n.trim();r!==n&&es(t.element,r),"file"===e.filetype&&Ii(t,FC,{name:e.name})})),Vi(ri(),(t=>{Ii(t,FC,{name:e.name}),i(t)})),Vi(pi(),(t=>{Ii(t,FC,{name:e.name}),i(t)}))])]),eventOrder:{[ni()]:["streaming","urlinput-events","invalidating"]},model:{getDisplayText:e=>e.value,selectsOver:!1,populateFromBrowse:!1},markers:{openClass:"tox-textfield--popup-open"},lazySink:t.shared.getSink,parts:{menu:rb(0,0,"normal")},onExecute:(e,t,n)=>{Ii(t,HC,{})},onItemExecute:(t,n,r,o)=>{i(t),Ii(t,FC,{name:e.name})}},s=jC.parts.field({...a,factory:yS}),l=e.label.map((e=>NC(e,o))),c=bg(((e,t,n=e,r=e)=>Bg(n,{tag:"div",classes:["tox-icon","tox-control-wrap__status-icon-"+e],attributes:{title:o.translate(r),"aria-live":"polite",...t.fold((()=>({})),(e=>({id:e})))}},o.icons))("invalid",j.some(HS),"warning")),u=bg({dom:{tag:"div",classes:["tox-control-wrap__status-icon-wrap"]},components:[c.asSpec()]}),d=n.getUrlPicker(e.filetype),f=da("browser.url.event"),p=bg({dom:{tag:"div",classes:["tox-control-wrap"]},components:[s,u.asSpec()],behaviours:Il([lp.config({disabled:()=>!e.enabled||o.isDisabled()})])}),h=bg(OS({name:e.name,icon:j.some("browse"),text:e.label.getOr(""),enabled:e.enabled,primary:!1,buttonType:j.none(),borderless:!0},(e=>Li(e,f)),o,[],["tox-browse-url"]));return jC.sketch({dom:IC([]),components:l.toArray().concat([{dom:{tag:"div",classes:["tox-form__controls-h-stack"]},components:G([[p.asSpec()],d.map((()=>h.asSpec())).toArray()])}]),fieldBehaviours:Il([lp.config({disabled:()=>!e.enabled||o.isDisabled(),onDisabled:e=>{jC.getField(e).each(lp.disable),h.getOpt(e).each(lp.disable)},onEnabled:e=>{jC.getField(e).each(lp.enable),h.getOpt(e).each(lp.enable)}}),Ky(),_m("url-input-events",[Vi(f,(t=>{Gf.getCurrent(t).each((n=>{const r=Nd.getValue(n),o={fieldname:e.name,...r};d.each((r=>{r(o).get((r=>{Nd.setValue(n,r),Ii(t,FC,{name:e.name})}))}))}))}))])])})})(e,t,t.urlinput,n))),customeditor:YS((e=>{const t=pc(),n=bg({dom:{tag:e.tag}}),r=pc();return{dom:{tag:"div",classes:["tox-custom-editor"]},behaviours:Il([_m("custom-editor-events",[Ji((o=>{n.getOpt(o).each((n=>{((e=>ye(e,"init"))(e)?e.init(n.element.dom):Ak.load(e.scriptId,e.scriptUrl).then((t=>t(n.element.dom,e.settings)))).then((e=>{r.on((t=>{e.setValue(t)})),r.clear(),t.set(e)}))}))}))]),mk(j.none(),(()=>t.get().fold((()=>r.get().getOr("")),(e=>e.getValue()))),((e,n)=>{t.get().fold((()=>r.set(n)),(e=>e.setValue(n)))})),sk()]),components:[n.asSpec()]}})),htmlpanel:YS((e=>"presentation"===e.presets?SC.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:e.html}}):SC.sketch({dom:{tag:"div",classes:["tox-form__group"],innerHtml:e.html,attributes:{role:"document"}},containerBehaviours:Il([MC.config({}),Bm.config({})])}))),imagepreview:YS(((e,t,n)=>Tk(e,n))),table:YS(((e,t)=>((e,t)=>{const n=e=>({dom:{tag:"th",innerHtml:t.translate(e)}}),r=e=>({dom:{tag:"td",innerHtml:t.translate(e)}}),o=e=>({dom:{tag:"tr"},components:z(e,r)});return{dom:{tag:"table",classes:["tox-dialog__table"]},components:[(a=e.header,{dom:{tag:"thead"},components:[{dom:{tag:"tr"},components:z(a,n)}]}),(i=e.cells,{dom:{tag:"tbody"},components:z(i,o)})],behaviours:Il([MC.config({}),Bm.config({})])};var i,a})(e,t.shared.providers))),panel:YS(((e,t)=>((e,t)=>({dom:{tag:"div",classes:e.classes},components:z(e.items,t.shared.interpreter)}))(e,t)))},GS={field:(e,t)=>t,record:A([])},KS=(e,t,n,r)=>{const o=hr(r,{shared:{interpreter:t=>$S(e,t,n,o)}});return $S(e,t,n,o)},$S=(e,t,n,r)=>be(ZS,t.type).fold((()=>(console.error(`Unknown factory type "${t.type}", defaulting to container: `,t),t)),(o=>o(e,t,n,r))),XS="layout-inset",QS=e=>e.x,JS=(e,t)=>e.x+e.width/2-t.width/2,eE=(e,t)=>e.x+e.width-t.width,tE=e=>e.y,nE=(e,t)=>e.y+e.height-t.height,rE=(e,t)=>e.y+e.height/2-t.height/2,oE=(e,t,n)=>Xs(eE(e,t),nE(e,t),n.insetSouthwest(),nl(),"southwest",cl(e,{right:0,bottom:3}),XS),iE=(e,t,n)=>Xs(QS(e),nE(e,t),n.insetSoutheast(),tl(),"southeast",cl(e,{left:1,bottom:3}),XS),aE=(e,t,n)=>Xs(eE(e,t),tE(e),n.insetNorthwest(),el(),"northwest",cl(e,{right:0,top:2}),XS),sE=(e,t,n)=>Xs(QS(e),tE(e),n.insetNortheast(),Js(),"northeast",cl(e,{left:1,top:2}),XS),lE=(e,t,n)=>Xs(JS(e,t),tE(e),n.insetNorth(),rl(),"north",cl(e,{top:2}),XS),cE=(e,t,n)=>Xs(JS(e,t),nE(e,t),n.insetSouth(),ol(),"south",cl(e,{bottom:3}),XS),uE=(e,t,n)=>Xs(eE(e,t),rE(e,t),n.insetEast(),al(),"east",cl(e,{right:0}),XS),dE=(e,t,n)=>Xs(QS(e),rE(e,t),n.insetWest(),il(),"west",cl(e,{left:1}),XS),fE=e=>{switch(e){case"north":return lE;case"northeast":return sE;case"northwest":return aE;case"south":return cE;case"southeast":return iE;case"southwest":return oE;case"east":return uE;case"west":return dE}},pE=(e,t,n,r,o)=>lc(r).map(fE).getOr(lE)(e,t,n,r,o),hE=e=>{switch(e){case"north":return cE;case"northeast":return iE;case"northwest":return oE;case"south":return lE;case"southeast":return sE;case"southwest":return aE;case"east":return dE;case"west":return uE}},mE=(e,t,n,r,o)=>lc(r).map(hE).getOr(lE)(e,t,n,r,o),gE={valignCentre:[],alignCentre:[],alignLeft:[],alignRight:[],right:[],left:[],bottom:[],top:[]},vE=(e,t,n)=>{const r={maxHeightFunction:Bc()};return()=>n()?{type:"node",root:dt(ut(e())),node:j.from(e()),bubble:Pc(12,12,gE),layouts:{onRtl:()=>[sE],onLtr:()=>[aE]},overrides:r}:{type:"hotspot",hotspot:t(),bubble:Pc(-12,12,gE),layouts:{onRtl:()=>[vl],onLtr:()=>[bl]},overrides:r}},bE=(e,t,n)=>()=>n()?{type:"node",root:dt(ut(e())),node:j.from(e()),layouts:{onRtl:()=>[lE],onLtr:()=>[lE]}}:{type:"hotspot",hotspot:t(),layouts:{onRtl:()=>[Cl],onLtr:()=>[Cl]}},yE=(e,t)=>()=>({type:"selection",root:t(),getSelection:()=>{const t=e.selection.getRng();return j.some(iu.range(Me.fromDom(t.startContainer),t.startOffset,Me.fromDom(t.endContainer),t.endOffset))}}),AE=e=>t=>({type:"node",root:e(),node:t}),xE=(e,t,n)=>{const r=Ov(e),o=()=>Me.fromDom(e.getBody()),i=()=>Me.fromDom(e.getContentAreaContainer()),a=()=>r||!n();return{inlineDialog:vE(i,t,a),banner:bE(i,t,a),cursor:yE(e,o),node:AE(o)}},CE=e=>(t,n)=>{px(e)(t,n)},_E=e=>()=>tx(e),wE=e=>()=>nx(e),kE=e=>()=>ex(e),SE=e=>({colorPicker:CE(e),hasCustomColors:_E(e),getColors:wE(e),getColorCols:kE(e)}),EE=e=>()=>fv(e),BE=e=>({isDraggableModal:EE(e)}),OE=e=>Ae(e,"items"),jE=e=>Ae(e,"format"),TE=[{title:"Headings",items:[{title:"Heading 1",format:"h1"},{title:"Heading 2",format:"h2"},{title:"Heading 3",format:"h3"},{title:"Heading 4",format:"h4"},{title:"Heading 5",format:"h5"},{title:"Heading 6",format:"h6"}]},{title:"Inline",items:[{title:"Bold",format:"bold"},{title:"Italic",format:"italic"},{title:"Underline",format:"underline"},{title:"Strikethrough",format:"strikethrough"},{title:"Superscript",format:"superscript"},{title:"Subscript",format:"subscript"},{title:"Code",format:"code"}]},{title:"Blocks",items:[{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Div",format:"div"},{title:"Pre",format:"pre"}]},{title:"Align",items:[{title:"Left",format:"alignleft"},{title:"Center",format:"aligncenter"},{title:"Right",format:"alignright"},{title:"Justify",format:"alignjustify"}]}],PE=e=>V(e,((e,t)=>{if(ye(t,"items")){const n=PE(t.items);return{customFormats:e.customFormats.concat(n.customFormats),formats:e.formats.concat([{title:t.title,items:n.formats}])}}if((e=>ye(e,"inline"))(t)||(e=>ye(e,"block"))(t)||(e=>ye(e,"selector"))(t)){const n=`custom-${i(t.name)?t.name:t.title.toLowerCase()}`;return{customFormats:e.customFormats.concat([{name:n,format:t}]),formats:e.formats.concat([{title:t.title,format:n,icon:t.icon}])}}return{...e,formats:e.formats.concat(t)}}),{customFormats:[],formats:[]}),ME=e=>Yg(e).map((t=>{const n=((e,t)=>{const n=PE(t),r=t=>{q(t,(t=>{e.formatter.has(t.name)||e.formatter.register(t.name,t.format)}))};return e.formatter?r(n.customFormats):e.on("init",(()=>{r(n.customFormats)})),n.formats})(e,t);return Zg(e)?TE.concat(n):n})).getOr(TE),DE=(e,t,n)=>({...e,type:"formatter",isSelected:t(e.format),getStylePreview:n(e.format)}),RE=(e,t,n,r)=>{const o=t=>z(t,(t=>OE(t)?(e=>{const t=o(e.items);return{...e,type:"submenu",getStyleItems:A(t)}})(t):jE(t)?(e=>DE(e,n,r))(t):(e=>{const t=se(e);return 1===t.length&&L(t,"title")})(t)?{...t,type:"separator"}:(t=>{const o=i(t.name)?t.name:da(t.title),a=`custom-${o}`,s={...t,type:"formatter",format:a,isSelected:n(a),getStylePreview:r(a)};return e.formatter.register(o,s),s})(t)));return o(t)},LE=e=>{const t=t=>()=>e.formatter.match(t),n=t=>()=>{const n=e.formatter.get(t);return void 0!==n?j.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):j.none()},r=Oo([]),o=Oo([]),i=Oo(!1);e.on("PreInit",(o=>{const i=ME(e),a=RE(e,i,t,n);r.set(a)})),e.on("addStyleModifications",(r=>{const a=RE(e,r.items,t,n);o.set(a),i.set(r.replace)}));return{getData:()=>{const e=i.get()?[]:r.get(),t=o.get();return e.concat(t)}}},IE=xk.trim,NE=e=>t=>{if((e=>p(e)&&1===e.nodeType)(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1},FE=NE("true"),zE=NE("false"),qE=(e,t,n,r,o)=>({type:e,title:t,url:n,level:r,attach:o}),UE=e=>e.innerText||e.textContent,HE=e=>(e=>e&&"A"===e.nodeName&&void 0!==(e.id||e.name))(e)&&VE(e),WE=e=>e&&/^(H[1-6])$/.test(e.nodeName),VE=e=>(e=>{let t=e;for(;t=t.parentNode;){const e=t.contentEditable;if(e&&"inherit"!==e)return FE(t)}return!1})(e)&&!zE(e),YE=e=>WE(e)&&VE(e),ZE=e=>{var t;const n=(e=>e.id?e.id:da("h"))(e);return qE("header",null!==(t=UE(e))&&void 0!==t?t:"","#"+n,(e=>WE(e)?parseInt(e.nodeName.substr(1),10):0)(e),(()=>{e.id=n}))},GE=e=>{const t=e.id||e.name,n=UE(e);return qE("anchor",n||"#"+t,"#"+t,0,v)},KE=e=>{const t=(n="h1,h2,h3,h4,h5,h6,a:not([href])",r=e,z(pu(Me.fromDom(r),n),(e=>e.dom)));var n,r;return t},$E=e=>IE(e.title).length>0,XE=e=>{const t=KE(e);return H((e=>z(H(e,YE),ZE))(t).concat((e=>z(H(e,HE),GE))(t)),$E)},QE="tinymce-url-history",JE=e=>i(e)&&/^https?/.test(e),eB=e=>a(e)&&ge(e,(e=>!(e=>l(e)&&e.length<=5&&$(e,JE))(e))).isNone(),tB=()=>{const e=KA.getItem(QE);if(null===e)return{};let t;try{t=JSON.parse(e)}catch(e){if(e instanceof SyntaxError)return console.log("Local storage "+QE+" was not valid JSON",e),{};throw e}return eB(t)?t:(console.log("Local storage "+QE+" was not valid format",t),{})},nB=e=>{const t=tB();return be(t,e).getOr([])},rB=(e,t)=>{if(!JE(e))return;const n=tB(),r=be(n,t).getOr([]),o=H(r,(t=>t!==e));n[t]=[e].concat(o).slice(0,5),(e=>{if(!eB(e))throw new Error("Bad format for history:\n"+JSON.stringify(e));KA.setItem(QE,JSON.stringify(e))})(n)},oB=e=>!!e,iB=e=>ue(xk.makeMap(e,/[, ]/),oB),aB=e=>j.from(av(e)),sB=(e,t)=>{const n=(e=>{const t=j.from(lv(e)).filter(oB).map(iB);return aB(e).fold(E,(e=>t.fold(B,(e=>se(e).length>0&&e))))})(e);return u(n)?n?aB(e):j.none():n[t]?aB(e):j.none()},lB=e=>j.from(e).filter(i).getOrUndefined(),cB=e=>({getHistory:nB,addToHistory:rB,getLinkInformation:()=>(e=>cv(e)?j.some({targets:XE(e.getBody()),anchorTop:lB(uv(e)),anchorBottom:lB(dv(e))}):j.none())(e),getValidationHandler:()=>(e=>j.from(sv(e)))(e),getUrlPicker:t=>((e,t)=>sB(e,t).map((n=>r=>Fx((o=>{const s={filetype:t,fieldname:r.fieldname,...j.from(r.meta).getOr({})};n.call(e,((e,t)=>{if(!i(e))throw new Error("Expected value to be string");if(void 0!==t&&!a(t))throw new Error("Expected meta to be a object");o({value:e,meta:t})}),r.value,s)})))))(e,t)}),uB=(e,t,n)=>{const r=Oo(!1),o=(e=>{const t=Oo(Ev(e)?"bottom":"top");return{isPositionedAtTop:()=>"top"===t.get(),getDockingMode:t.get,setDockingMode:t.set}})(t),i={shared:{providers:{icons:()=>t.ui.registry.getAll().icons,menuItems:()=>t.ui.registry.getAll().menuItems,translate:yg.translate,isDisabled:()=>t.mode.isReadOnly()||!t.ui.isEnabled(),getOption:t.options.get},interpreter:e=>((e,t,n)=>$S(GS,e,t,n))(e,{},i),anchors:xE(t,n,o.isPositionedAtTop),header:o,getSink:e},urlinput:cB(t),styles:LE(t),colorinput:SE(t),dialog:BE(t),isContextMenuOpen:()=>r.get(),setContextMenuState:e=>r.set(e)};return i},dB=If,fB=Af,pB=A([Ao("shell",!1),no("makeItem"),Ao("setupItem",v),Ud("listBehaviours",[Cm])]),hB=vf({name:"items",overrides:()=>({behaviours:Il([Cm.config({})])})}),mB=A([hB]),gB=Wf({name:A("CustomList")(),configFields:pB(),partFields:mB(),factory:(e,t,n,r)=>{const o=e.shell?{behaviours:[Cm.config({})],components:[]}:{behaviours:[],components:t},i=t=>e.shell?j.some(t):Of(t,e,"items");return{uid:e.uid,dom:e.dom,components:o.components,behaviours:qd(e.listBehaviours,o.behaviours),apis:{setItems:(t,n)=>{i(t).fold((()=>{throw console.error("Custom List was defined to not be a shell, but no item container was specified in components"),new Error("Custom List was defined to not be a shell, but no item container was specified in components")}),(r=>{const o=Cm.contents(r),i=n.length,a=i-o.length,s=a>0?N(a,(()=>e.makeItem())):[],l=o.slice(i);q(l,(e=>Cm.remove(r,e))),q(s,(e=>Cm.append(r,e)));const c=Cm.contents(r);q(c,((r,o)=>{e.setupItem(t,r,n[o],o)}))}))}}}},apis:{setItems:(e,t,n)=>{e.setItems(t,n)}}}),vB=A([no("dom"),Ao("shell",!0),Fd("toolbarBehaviours",[Cm])]),bB=A([vf({name:"groups",overrides:()=>({behaviours:Il([Cm.config({})])})})]),yB=Wf({name:"Toolbar",configFields:vB(),partFields:bB(),factory:(e,t,n,r)=>{const o=t=>e.shell?j.some(t):Of(t,e,"groups"),i=e.shell?{behaviours:[Cm.config({})],components:[]}:{behaviours:[],components:t};return{uid:e.uid,dom:e.dom,components:i.components,behaviours:qd(e.toolbarBehaviours,i.behaviours),apis:{setGroups:(e,t)=>{o(e).fold((()=>{throw console.error("Toolbar was defined to not be a shell, but no groups container was specified in components"),new Error("Toolbar was defined to not be a shell, but no groups container was specified in components")}),(e=>{Cm.set(e,t)}))}},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,t,n)=>{e.setGroups(t,n)}}}),AB=v,xB=E,CB=A([]);var _B=Object.freeze({__proto__:null,setup:AB,isDocked:xB,getBehaviours:CB});const wB=e=>(xe(Pt(e,"position"),"fixed")?j.none():nt(e)).orThunk((()=>{const t=Me.fromTag("span");return et(e).bind((e=>{Pn(e,t);const n=nt(t);return Rn(t),n}))})),kB=e=>wB(e).map(Wt).getOrThunk((()=>Ut(0,0))),SB=jo([{static:[]},{absolute:["positionCss"]},{fixed:["positionCss"]}]),EB=(e,t)=>{const n=e.element;Za(n,t.transitionClass),Ga(n,t.fadeOutClass),Za(n,t.fadeInClass),t.onShow(e)},BB=(e,t)=>{const n=e.element;Za(n,t.transitionClass),Ga(n,t.fadeInClass),Za(n,t.fadeOutClass),t.onHide(e)},OB=(e,t,n)=>$(e,(e=>{switch(e){case"bottom":return((e,t)=>e.bottom<=t.bottom)(t,n);case"top":return((e,t)=>e.y>=t.y)(t,n)}})),jB=(e,t)=>t.getInitialPos().map((t=>Wn(t.bounds.x,t.bounds.y,Zt(e),Ft(e)))),TB=(e,t,n)=>n.getInitialPos().bind((r=>{switch(n.clearInitialPos(),r.position){case"static":return j.some(SB.static());case"absolute":const n=wB(e).map(Vn).getOrThunk((()=>Vn(gt())));return j.some(SB.absolute($l("absolute",be(r.style,"left").map((e=>t.x-n.x)),be(r.style,"top").map((e=>t.y-n.y)),be(r.style,"right").map((e=>n.right-t.right)),be(r.style,"bottom").map((e=>n.bottom-t.bottom)))));default:return j.none()}})),PB=(e,t,n)=>{const r=Vn(e);if(OB(n.getModes(),r,t))return j.none();{((e,t,n)=>{n.setInitialPos({style:Mt(e),position:jt(e,"position")||"static",bounds:t})})(e,r,n);const o=Zn(),i=r.x-o.x,a=t.y-o.y,s=o.bottom-t.bottom,l=r.y<=t.y;return j.some(SB.fixed($l("fixed",j.some(i),l?j.some(a):j.none(),j.none(),l?j.none():j.some(s))))}},MB=(e,t,n)=>{const r=e.element;return xe(Pt(r,"position"),"fixed")?((e,t,n)=>jB(e,n).filter((e=>OB(n.getModes(),e,t))).bind((t=>TB(e,t,n))))(r,t,n):PB(r,t,n)},DB=(e,t,n)=>{n.setDocked(!1),q(["left","right","top","bottom","position"],(t=>Rt(e.element,t))),t.onUndocked(e)},RB=(e,t,n,r)=>{const o="fixed"===r.position;n.setDocked(o),Xl(e.element,r);(o?t.onDocked:t.onUndocked)(e)},LB=(e,t,n,r,o=!1)=>{t.contextual.each((t=>{t.lazyContext(e).each((i=>{const a=((e,t)=>e.y<t.bottom&&e.bottom>t.y)(i,r);if(a!==n.isVisible())if(n.setVisible(a),o&&!a)$a(e.element,[t.fadeOutClass]),t.onHide(e);else{(a?EB:BB)(e,t)}}))}))},IB=(e,t,n)=>{const r=e.element;n.setDocked(!1),((e,t)=>{const n=e.element;return jB(n,t).bind((e=>TB(n,e,t)))})(e,n).each((r=>{r.fold((()=>DB(e,t,n)),(r=>RB(e,t,n,r)),v)})),n.setVisible(!0),t.contextual.each((t=>{Xa(r,[t.fadeInClass,t.fadeOutClass,t.transitionClass]),t.onShow(e)})),NB(e,t,n)},NB=(e,t,n)=>{e.getSystem().isConnected()&&((e,t,n)=>{const r=t.lazyViewport(e);n.isDocked()&&LB(e,t,n,r),MB(e,r,n).each((o=>{o.fold((()=>DB(e,t,n)),(r=>RB(e,t,n,r)),(o=>{LB(e,t,n,r,!0),RB(e,t,n,o)}))}))})(e,t,n)},FB=(e,t,n)=>{n.isDocked()&&IB(e,t,n)};var zB=Object.freeze({__proto__:null,refresh:NB,reset:FB,isDocked:(e,t,n)=>n.isDocked(),getModes:(e,t,n)=>n.getModes(),setModes:(e,t,n,r)=>n.setModes(r)});var qB=Object.freeze({__proto__:null,events:(e,t)=>Ui([Qi(ai(),((n,r)=>{e.contextual.each((e=>{if(Ka(n.element,e.transitionClass)){Xa(n.element,[e.transitionClass,e.fadeInClass]);(t.isVisible()?e.onShown:e.onHidden)(n)}r.stop()}))})),Vi(wi(),((n,r)=>{NB(n,e,t)})),Vi(ki(),((n,r)=>{FB(n,e,t)}))])}),UB=[yo("contextual",[io("fadeInClass"),io("fadeOutClass"),io("transitionClass"),so("lazyContext"),Ws("onShow"),Ws("onShown"),Ws("onHide"),Ws("onHidden")]),So("lazyViewport",Zn),Eo("modes",["top","bottom"],Fr),Ws("onDocked"),Ws("onUndocked")];const HB=Fl({fields:UB,name:"docking",active:qB,apis:zB,state:Object.freeze({__proto__:null,init:e=>{const t=Oo(!1),n=Oo(!0),r=pc(),o=Oo(e.modes);return Oa({isDocked:t.get,setDocked:t.set,getInitialPos:r.get,setInitialPos:r.set,clearInitialPos:r.clear,isVisible:n.get,setVisible:n.set,getModes:o.get,setModes:o.set,readState:()=>`docked:  ${t.get()}, visible: ${n.get()}, modes: ${o.get().join(",")}`})}})}),WB=A(da("toolbar-height-change")),VB={fadeInClass:"tox-editor-dock-fadein",fadeOutClass:"tox-editor-dock-fadeout",transitionClass:"tox-editor-dock-transition"},YB="tox-tinymce--toolbar-sticky-on",ZB="tox-tinymce--toolbar-sticky-off",GB=(e,t)=>L(HB.getModes(e),t),KB=e=>{const t=e.element;tt(t).each((n=>{const r="padding-"+HB.getModes(e)[0];if(HB.isDocked(e)){const e=Zt(n);Et(t,"width",e+"px"),Et(n,r,(e=>zt(e)+(parseInt(jt(e,"margin-top"),10)||0)+(parseInt(jt(e,"margin-bottom"),10)||0))(t)+"px")}else Rt(t,"width"),Rt(n,r)}))},$B=(e,t)=>{t?(Ga(e,VB.fadeOutClass),$a(e,[VB.transitionClass,VB.fadeInClass])):(Ga(e,VB.fadeInClass),$a(e,[VB.fadeOutClass,VB.transitionClass]))},XB=(e,t)=>{const n=Me.fromDom(e.getContainer());t?(Za(n,YB),Ga(n,ZB)):(Za(n,ZB),Ga(n,YB))},QB=(e,t)=>{const n=pc(),r=t.getSink,o=e=>{r().each((t=>e(t.element)))},i=t=>{e.inline||KB(t),XB(e,HB.isDocked(t)),t.getSystem().broadcastOn([Ad()],{}),r().each((e=>e.getSystem().broadcastOn([Ad()],{})))},a=e.inline?[]:[Hl.config({channels:{[WB()]:{onReceive:KB}}})];return[Bm.config({}),HB.config({contextual:{lazyContext:t=>{const n=zt(t.element),r=e.inline?e.getContentAreaContainer():e.getContainer(),o=Vn(Me.fromDom(r)),i=o.height-n,a=o.y+(GB(t,"top")?0:n);return j.some(Wn(o.x,a,o.width,i))},onShow:()=>{o((e=>$B(e,!0)))},onShown:e=>{o((e=>Xa(e,[VB.transitionClass,VB.fadeInClass]))),n.get().each((t=>{((e,t)=>{const n=$e(t);Zl(n).filter((e=>!Ge(t,e))).filter((t=>Ge(t,Me.fromDom(n.dom.body))||Ke(e,t))).each((()=>Vl(t)))})(e.element,t),n.clear()}))},onHide:e=>{((e,t)=>Gl(e).orThunk((()=>t().toOptional().bind((e=>Gl(e.element))))))(e.element,r).fold(n.clear,n.set),o((e=>$B(e,!1)))},onHidden:()=>{o((e=>Xa(e,[VB.transitionClass])))},...VB},lazyViewport:t=>{const n=Zn(),r=rv(e),o=n.y+(GB(t,"top")?r:0),i=n.height-(GB(t,"bottom")?r:0);return Wn(n.x,o,n.width,i)},modes:[t.header.getDockingMode()],onDocked:i,onUndocked:i}),...a]};var JB=Object.freeze({__proto__:null,setup:(e,t,n)=>{e.inline||(t.header.isPositionedAtTop()||e.on("ResizeEditor",(()=>{n().each(HB.reset)})),e.on("ResizeWindow ResizeEditor",(()=>{n().each(KB)})),e.on("SkinLoaded",(()=>{n().each((e=>{HB.isDocked(e)?HB.reset(e):HB.refresh(e)}))})),e.on("FullscreenStateChanged",(()=>{n().each(HB.reset)}))),e.on("AfterScrollIntoView",(e=>{n().each((t=>{HB.refresh(t);const n=t.element;lh(n)&&((e,t)=>{const n=$e(t),r=Je(t).dom.innerHeight,o=Ln(n),i=Me.fromDom(e.elm),a=Yn(i),s=Ft(i),l=a.y,c=l+s,u=Wt(t),d=Ft(t),f=u.top,p=f+d,h=Math.abs(f-o.top)<2,m=Math.abs(p-(o.top+r))<2;if(h&&l<p)In(o.left,l-d,n);else if(m&&c>f){const e=l-r+s+d;In(o.left,e,n)}})(e,n)}))})),e.on("PostRender",(()=>{XB(e,!1)}))},isDocked:e=>e().map(HB.isDocked).getOr(!1),getBehaviours:QB});const eO=Tr([Sb,ro("items",Mr([Rr([Eb,uo("items",Fr)]),Fr]))].concat(ny)),tO=[mo("text"),mo("tooltip"),mo("icon"),xo("search",!1,Mr([zr,Tr([mo("placeholder")])],(e=>u(e)?e?j.some({placeholder:j.none()}):j.none():j.some(e)))),so("fetch"),So("onSetup",(()=>v))],nO=Tr([Sb,...tO]),rO=e=>Gr("menubutton",nO,e),oO=Tr([Sb,qb,zb,Fb,Wb,Mb,Ib,wo("presets","normal",["normal","color","listpreview"]),Kb(1),Rb,Lb]);var iO=Hf({factory:(e,t)=>{const n={focus:pm.focusIn,setMenus:(e,n)=>{const r=z(n,(e=>{const n={type:"menubutton",text:e.text,fetch:t=>{t(e.getItems())}},r=rO(n).mapError((e=>Xr(e))).getOrDie();return wS(r,"tox-mbtn",t.backstage,j.some("menuitem"))}));Cm.set(e,r)}};return{uid:e.uid,dom:e.dom,components:[],behaviours:Il([Cm.config({}),_m("menubar-events",[Ji((t=>{e.onSetup(t)})),Vi(Xo(),((e,t)=>{ws(e.element,".tox-mbtn--active").each((n=>{ks(t.event.target,".tox-mbtn").each((t=>{Ge(n,t)||e.getSystem().getByDom(n).each((n=>{e.getSystem().getByDom(t).each((e=>{tC.expand(e),tC.close(n),Bm.focus(e)}))}))}))}))})),Vi(ji(),((e,t)=>{t.event.prevFocus.bind((t=>e.getSystem().getByDom(t).toOptional())).each((n=>{t.event.newFocus.bind((t=>e.getSystem().getByDom(t).toOptional())).each((e=>{tC.isOpen(n)&&(tC.expand(e),tC.close(n))}))}))}))]),pm.config({mode:"flow",selector:".tox-mbtn",onEscape:t=>(e.onEscape(t),j.some(!0))}),MC.config({})]),apis:n,domModification:{attributes:{role:"menubar"}}}},name:"silver.Menubar",configFields:[no("dom"),no("uid"),no("onEscape"),no("backstage"),Ao("onSetup",v)],apis:{focus:(e,t)=>{e.focus(t)},setMenus:(e,t,n)=>{e.setMenus(t,n)}}});const aO=(e,t)=>t.getAnimationRoot.fold((()=>e.element),(t=>t(e))),sO=e=>e.dimension.property,lO=(e,t)=>e.dimension.getDimension(t),cO=(e,t)=>{const n=aO(e,t);Xa(n,[t.shrinkingClass,t.growingClass])},uO=(e,t)=>{Ga(e.element,t.openClass),Za(e.element,t.closedClass),Et(e.element,sO(t),"0px"),Lt(e.element)},dO=(e,t)=>{Ga(e.element,t.closedClass),Za(e.element,t.openClass),Rt(e.element,sO(t))},fO=(e,t,n,r)=>{n.setCollapsed(),Et(e.element,sO(t),lO(t,e.element)),cO(e,t),uO(e,t),t.onStartShrink(e),t.onShrunk(e)},pO=(e,t,n,r)=>{const o=r.getOrThunk((()=>lO(t,e.element)));n.setCollapsed(),Et(e.element,sO(t),o),Lt(e.element);const i=aO(e,t);Ga(i,t.growingClass),Za(i,t.shrinkingClass),uO(e,t),t.onStartShrink(e)},hO=(e,t,n)=>{const r=lO(t,e.element);("0px"===r?fO:pO)(e,t,n,j.some(r))},mO=(e,t,n)=>{const r=aO(e,t),o=Ka(r,t.shrinkingClass),i=lO(t,e.element);dO(e,t);const a=lO(t,e.element);(o?()=>{Et(e.element,sO(t),i),Lt(e.element)}:()=>{uO(e,t)})(),Ga(r,t.shrinkingClass),Za(r,t.growingClass),dO(e,t),Et(e.element,sO(t),a),n.setExpanded(),t.onStartGrow(e)},gO=(e,t,n)=>{const r=aO(e,t);return!0===Ka(r,t.growingClass)},vO=(e,t,n)=>{const r=aO(e,t);return!0===Ka(r,t.shrinkingClass)};var bO=Object.freeze({__proto__:null,refresh:(e,t,n)=>{if(n.isExpanded()){Rt(e.element,sO(t));const n=lO(t,e.element);Et(e.element,sO(t),n)}},grow:(e,t,n)=>{n.isExpanded()||mO(e,t,n)},shrink:(e,t,n)=>{n.isExpanded()&&hO(e,t,n)},immediateShrink:(e,t,n)=>{n.isExpanded()&&fO(e,t,n)},hasGrown:(e,t,n)=>n.isExpanded(),hasShrunk:(e,t,n)=>n.isCollapsed(),isGrowing:gO,isShrinking:vO,isTransitioning:(e,t,n)=>gO(e,t)||vO(e,t),toggleGrow:(e,t,n)=>{(n.isExpanded()?hO:mO)(e,t,n)},disableTransitions:cO,immediateGrow:(e,t,n)=>{n.isExpanded()||(dO(e,t),Et(e.element,sO(t),lO(t,e.element)),cO(e,t),n.setExpanded(),t.onStartGrow(e),t.onGrown(e))}});var yO=Object.freeze({__proto__:null,exhibit:(e,t,n)=>{const r=t.expanded;return Ta(r?{classes:[t.openClass],styles:{}}:{classes:[t.closedClass],styles:Po(t.dimension.property,"0px")})},events:(e,t)=>Ui([Qi(ai(),((n,r)=>{if(r.event.raw.propertyName===e.dimension.property){cO(n,e),t.isExpanded()&&Rt(n.element,e.dimension.property);(t.isExpanded()?e.onGrown:e.onShrunk)(n)}}))])}),AO=[no("closedClass"),no("openClass"),no("shrinkingClass"),no("growingClass"),fo("getAnimationRoot"),Ws("onShrunk"),Ws("onStartShrink"),Ws("onGrown"),Ws("onStartGrow"),Ao("expanded",!1),ro("dimension",Qr("property",{width:[Gs("property","width"),Gs("getDimension",(e=>Zt(e)+"px"))],height:[Gs("property","height"),Gs("getDimension",(e=>Ft(e)+"px"))]}))];const xO=Fl({fields:AO,name:"sliding",active:yO,apis:bO,state:Object.freeze({__proto__:null,init:e=>{const t=Oo(e.expanded);return Oa({isExpanded:()=>!0===t.get(),isCollapsed:()=>!1===t.get(),setCollapsed:_(t.set,!1),setExpanded:_(t.set,!0),readState:()=>"expanded: "+t.get()})}})}),CO="container",_O=[Fd("slotBehaviours",[])],wO=e=>"<alloy.field."+e+">",kO=(e,t)=>{const n=t=>Mf(e),r=(t,n)=>(r,o)=>Of(r,e,o).map((e=>t(e,o))).getOr(n),o=(e,t)=>"true"!==xt(e.element,"aria-hidden"),i=r(o,!1),a=r(((e,t)=>{if(o(e)){const n=e.element;Et(n,"display","none"),yt(n,"aria-hidden","true"),Ii(e,Ti(),{name:t,visible:!1})}})),s=(e=>(t,n)=>{q(n,(n=>e(t,n)))})(a),l=r(((e,t)=>{if(!o(e)){const n=e.element;Rt(n,"display"),wt(n,"aria-hidden"),Ii(e,Ti(),{name:t,visible:!0})}})),c={getSlotNames:n,getSlot:(t,n)=>Of(t,e,n),isShowing:i,hideSlot:a,hideAllSlots:e=>s(e,n()),showSlot:l};return{uid:e.uid,dom:e.dom,components:t,behaviours:zd(e.slotBehaviours),apis:c}},SO=ue({getSlotNames:(e,t)=>e.getSlotNames(t),getSlot:(e,t,n)=>e.getSlot(t,n),isShowing:(e,t,n)=>e.isShowing(t,n),hideSlot:(e,t,n)=>e.hideSlot(t,n),hideAllSlots:(e,t)=>e.hideAllSlots(t),showSlot:(e,t,n)=>e.showSlot(t,n)},(e=>Ea(e))),EO={...SO,sketch:e=>{const t=(()=>{const e=[];return{slot:(t,n)=>(e.push(t),wf(CO,wO(t),n)),record:A(e)}})(),n=e(t),r=t.record(),o=z(r,(e=>mf({name:e,pname:wO(e)})));return Ff(CO,_O,o,kO,n)}},BO=Tr([zb,qb,So("onShow",v),So("onHide",v),Ib]),OO=e=>({element:()=>e.element.dom}),jO=(e,t)=>{const n=z(se(t),(e=>{const n=t[e],r=Kr((e=>Gr("sidebar",BO,e))(n));return{name:e,getApi:OO,onSetup:r.onSetup,onShow:r.onShow,onHide:r.onHide}}));return z(n,(t=>{const r=Oo(v);return e.slot(t.name,{dom:{tag:"div",classes:["tox-sidebar__pane"]},behaviours:Ry([tA(t,r),nA(t,r),Vi(Ti(),((e,t)=>{const r=t.event,o=Y(n,(e=>e.name===r.name));o.each((t=>{(r.visible?t.onShow:t.onHide)(t.getApi(e))}))}))])})}))},TO=e=>EO.sketch((t=>({dom:{tag:"div",classes:["tox-sidebar__pane-container"]},components:jO(t,e),slotBehaviours:Ry([Ji((e=>EO.hideAllSlots(e)))])}))),PO=e=>Gf.getCurrent(e).bind((e=>{if(xO.isGrowing(e)||xO.hasGrown(e)){return Gf.getCurrent(e).bind((e=>Y(EO.getSlotNames(e),(t=>EO.isShowing(e,t)))))}return j.none()})),MO=da("FixSizeEvent"),DO=da("AutoSizeEvent");var RO=Object.freeze({__proto__:null,block:(e,t,n,r)=>{yt(e.element,"aria-busy",!0);const o=t.getRoot(e).getOr(e),i=Il([pm.config({mode:"special",onTab:()=>j.some(!0),onShiftTab:()=>j.some(!0)}),Bm.config({})]),a=r(o,i),s=o.getSystem().build(a);Cm.append(o,vs(s)),s.hasConfigured(pm)&&t.focus&&pm.focusIn(s),n.isBlocked()||t.onBlock(e),n.blockWith((()=>Cm.remove(o,s)))},unblock:(e,t,n)=>{wt(e.element,"aria-busy"),n.isBlocked()&&t.onUnblock(e),n.clear()}}),LO=[So("getRoot",j.none),ko("focus",!0),Ws("onBlock"),Ws("onUnblock")];const IO=Fl({fields:LO,name:"blocking",apis:RO,state:Object.freeze({__proto__:null,init:()=>{const e=dc((e=>e.destroy()));return Oa({readState:e.isSet,blockWith:t=>{e.set({destroy:t})},clear:e.clear,isBlocked:e.isSet})}})}),NO=e=>{const t=Me.fromHtml(e),n=rt(t),r=(e=>{const t=void 0!==e.dom.attributes?e.dom.attributes:[];return V(t,((e,t)=>"class"===t.name?e:{...e,[t.name]:t.value}),{})})(t),o=(e=>Array.prototype.slice.call(e.dom.classList,0))(t),i=0===n.length?{}:{innerHtml:ra(t)};return{tag:Fe(t),classes:o,attributes:r,...i}},FO=e=>Gf.getCurrent(e).each((e=>Vl(e.element))),zO=(e,t,n,r)=>{const o=t.element;if(((e,t)=>{const n="tabindex",r="data-mce-tabindex";j.from(e.iframeElement).map(Me.fromDom).each((e=>{t?(Ct(e,n).each((t=>yt(e,r,t))),yt(e,n,-1)):(wt(e,n),Ct(e,r).each((t=>{yt(e,n,t),wt(e,r)})))}))})(e,n),n)IO.block(t,(e=>(t,n)=>({dom:{tag:"div",attributes:{"aria-label":e.translate("Loading..."),tabindex:"0"},classes:["tox-throbber__busy-spinner"]},components:[{dom:NO('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}))(r)),Rt(o,"display"),wt(o,"aria-hidden"),e.hasFocus()&&FO(t);else{const n=Gf.getCurrent(t).exists((e=>Yl(e.element)));IO.unblock(t),Et(o,"display","none"),yt(o,"aria-hidden","true"),n&&e.focus()}},qO=(e,t,n)=>{const r=Oo(!1),o=pc(),i=n=>{r.get()&&!(e=>{if((e=>"focusin"===e.type)(e))return(e.composed?re(e.composedPath()):j.from(e.target)).map(Me.fromDom).filter(qe).exists((e=>Ka(e,"mce-pastebin")));return!1})(n)&&(n.preventDefault(),FO(t()),e.editorManager.setActive(e))};e.inline||e.on("PreInit",(()=>{e.dom.bind(e.getWin(),"focusin",i),e.on("BeforeExecCommand",(e=>{"mcefocus"===e.command.toLowerCase()&&!0!==e.value&&i(e)}))}));const a=o=>{o!==r.get()&&(r.set(o),zO(e,t(),o,n.providers),((e,t)=>{e.dispatch("AfterProgressState",{state:t})})(e,o))};e.on("ProgressState",(t=>{if(o.on(clearTimeout),m(t.time)){const n=gg.setEditorTimeout(e,(()=>a(t.state)),t.time);o.set(n)}else a(t.state),o.clear()}))},UO=(e,t,n)=>({within:e,extra:t,withinWidth:n}),HO=(e,t,n)=>{const r=((e,t)=>{const n=V(e,((e,n)=>t(n,e.len).fold(A(e),(t=>({len:t.finish,list:e.list.concat([t])})))),{len:0,list:[]});return n.list})(e,((e,t)=>{const r=n(e);return j.some({element:e,start:t,finish:t+r,width:r})})),o=H(r,(e=>e.finish<=t)),i=W(o,((e,t)=>e+t.width),0);return{within:o,extra:r.slice(o.length),withinWidth:i}},WO=e=>z(e,(e=>e.element)),VO=(e,t,n,r)=>{const o=((e,t,n)=>{const r=HO(t,e,n);return 0===r.extra.length?j.some(r):j.none()})(e,t,n).getOrThunk((()=>HO(t,e-n(r),n))),i=o.within,a=o.extra,s=o.withinWidth;return 1===a.length&&a[0].width<=n(r)?((e,t,n)=>{const r=WO(e.concat(t));return UO(r,[],n)})(i,a,s):a.length>=1?((e,t,n,r)=>{const o=WO(e).concat([n]);return UO(o,WO(t),r)})(i,a,r,s):((e,t,n)=>UO(WO(e),[],n))(i,0,s)},YO=(e,t)=>{const n=z(t,(e=>vs(e)));yB.setGroups(e,n)},ZO=(e,t,n)=>{const r=t.builtGroups.get();if(0===r.length)return;const o=jf(e,t,"primary"),i=Dx.getCoupled(e,"overflowGroup");Et(o.element,"visibility","hidden");const a=r.concat([i]),s=ae(a,(e=>Gl(e.element).bind((t=>e.getSystem().getByDom(t).toOptional()))));n([]),YO(o,a);const l=Zt(o.element),c=VO(l,t.builtGroups.get(),(e=>Zt(e.element)),i);0===c.extra.length?(Cm.remove(o,i),n([])):(YO(o,c.within),n(c.extra)),Rt(o.element,"visibility"),Lt(o.element),s.each(Bm.focus)},GO=A([Fd("splitToolbarBehaviours",[Dx]),eo("builtGroups",(()=>Oo([])))]),KO=A([Us(["overflowToggledClass"]),vo("getOverflowBounds"),no("lazySink"),eo("overflowGroups",(()=>Oo([])))].concat(GO())),$O=A([mf({factory:yB,schema:vB(),name:"primary"}),gf({schema:vB(),name:"overflow"}),gf({name:"overflow-button"}),gf({name:"overflow-group"})]),XO=A(((e,t)=>{((e,t)=>{const n=Yt.max(e,t,["margin-left","border-left-width","padding-left","padding-right","border-right-width","margin-right"]);Et(e,"max-width",n+"px")})(e,Math.floor(t))})),QO=A([Us(["toggledClass"]),no("lazySink"),so("fetch"),vo("getBounds"),yo("fireDismissalEventInstead",[Ao("event",Bi())]),zc()]),JO=A([gf({name:"button",overrides:e=>({dom:{attributes:{"aria-haspopup":"true"}},buttonBehaviours:Il([Lm.config({toggleClass:e.markers.toggledClass,aria:{mode:"expanded"},toggleOnExecute:!1})])})}),gf({factory:yB,schema:vB(),name:"toolbar",overrides:e=>({toolbarBehaviours:Il([pm.config({mode:"cyclic",onEscape:t=>(Of(t,e,"button").each(Bm.focus),j.none())})])})})]),ej=(e,t)=>{const n=Dx.getCoupled(e,"toolbarSandbox");bd.isOpen(n)?bd.close(n):bd.open(n,t.toolbar())},tj=(e,t,n,r)=>{const o=n.getBounds.map((e=>e())),i=n.lazySink(e).getOrDie();Yu.positionWithinBounds(i,t,{anchor:{type:"hotspot",hotspot:e,layouts:r,overrides:{maxWidthFunction:XO()}}},o)},nj=(e,t,n,r,o)=>{yB.setGroups(t,o),tj(e,t,n,r),Lm.on(e)},rj=Wf({name:"FloatingToolbarButton",factory:(e,t,n,r)=>({...vg.sketch({...r.button(),action:e=>{ej(e,r)},buttonBehaviours:Hd({dump:r.button().buttonBehaviours},[Dx.config({others:{toolbarSandbox:t=>((e,t,n)=>{const r=Es();return{dom:{tag:"div",attributes:{id:r.id}},behaviours:Il([pm.config({mode:"special",onEscape:e=>(bd.close(e),j.some(!0))}),bd.config({onOpen:(o,i)=>{n.fetch().get((o=>{nj(e,i,n,t.layouts,o),r.link(e.element),pm.focusIn(i)}))},onClose:()=>{Lm.off(e),Bm.focus(e),r.unlink(e.element)},isPartOf:(t,n,r)=>Os(n,r)||Os(e,r),getAttachPoint:()=>n.lazySink(e).getOrDie()}),Hl.config({channels:{..._d({isExtraPart:E,...n.fireDismissalEventInstead.map((e=>({fireEventInstead:{event:e.event}}))).getOr({})}),...kd({doReposition:()=>{bd.getState(Dx.getCoupled(e,"toolbarSandbox")).each((r=>{tj(e,r,n,t.layouts)}))}})}})])}})(t,n,e)}})])}),apis:{setGroups:(t,r)=>{bd.getState(Dx.getCoupled(t,"toolbarSandbox")).each((o=>{nj(t,o,e,n.layouts,r)}))},reposition:t=>{bd.getState(Dx.getCoupled(t,"toolbarSandbox")).each((r=>{tj(t,r,e,n.layouts)}))},toggle:e=>{ej(e,r)},getToolbar:e=>bd.getState(Dx.getCoupled(e,"toolbarSandbox")),isOpen:e=>bd.isOpen(Dx.getCoupled(e,"toolbarSandbox"))}}),configFields:QO(),partFields:JO(),apis:{setGroups:(e,t,n)=>{e.setGroups(t,n)},reposition:(e,t)=>{e.reposition(t)},toggle:(e,t)=>{e.toggle(t)},getToolbar:(e,t)=>e.getToolbar(t),isOpen:(e,t)=>e.isOpen(t)}}),oj=A([no("items"),Us(["itemSelector"]),Fd("tgroupBehaviours",[pm])]),ij=A([bf({name:"items",unit:"item"})]),aj=Wf({name:"ToolbarGroup",configFields:oj(),partFields:ij(),factory:(e,t,n,r)=>({uid:e.uid,dom:e.dom,components:t,behaviours:qd(e.tgroupBehaviours,[pm.config({mode:"flow",selector:e.markers.itemSelector})]),domModification:{attributes:{role:"toolbar"}}})}),sj=e=>z(e,(e=>vs(e))),lj=(e,t,n)=>{ZO(e,n,(r=>{n.overflowGroups.set(r),t.getOpt(e).each((e=>{rj.setGroups(e,sj(r))}))}))},cj=Wf({name:"SplitFloatingToolbar",configFields:KO(),partFields:$O(),factory:(e,t,n,r)=>{const o=bg(rj.sketch({fetch:()=>Fx((t=>{t(sj(e.overflowGroups.get()))})),layouts:{onLtr:()=>[bl,vl],onRtl:()=>[vl,bl],onBottomLtr:()=>[Al,yl],onBottomRtl:()=>[yl,Al]},getBounds:n.getOverflowBounds,lazySink:e.lazySink,fireDismissalEventInstead:{},markers:{toggledClass:e.markers.overflowToggledClass},parts:{button:r["overflow-button"](),toolbar:r.overflow()}}));return{uid:e.uid,dom:e.dom,components:t,behaviours:qd(e.splitToolbarBehaviours,[Dx.config({others:{overflowGroup:()=>aj.sketch({...r["overflow-group"](),items:[o.asSpec()]})}})]),apis:{setGroups:(t,n)=>{e.builtGroups.set(z(n,t.getSystem().build)),lj(t,o,e)},refresh:t=>lj(t,o,e),toggle:e=>{o.getOpt(e).each((e=>{rj.toggle(e)}))},isOpen:e=>o.getOpt(e).map(rj.isOpen).getOr(!1),reposition:e=>{o.getOpt(e).each((e=>{rj.reposition(e)}))},getOverflow:e=>o.getOpt(e).bind(rj.getToolbar)},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,t,n)=>{e.setGroups(t,n)},refresh:(e,t)=>{e.refresh(t)},reposition:(e,t)=>{e.reposition(t)},toggle:(e,t)=>{e.toggle(t)},isOpen:(e,t)=>e.isOpen(t),getOverflow:(e,t)=>e.getOverflow(t)}}),uj=A([Us(["closedClass","openClass","shrinkingClass","growingClass","overflowToggledClass"]),Ws("onOpened"),Ws("onClosed")].concat(GO())),dj=A([mf({factory:yB,schema:vB(),name:"primary"}),mf({factory:yB,schema:vB(),name:"overflow",overrides:e=>({toolbarBehaviours:Il([xO.config({dimension:{property:"height"},closedClass:e.markers.closedClass,openClass:e.markers.openClass,shrinkingClass:e.markers.shrinkingClass,growingClass:e.markers.growingClass,onShrunk:t=>{Of(t,e,"overflow-button").each((e=>{Lm.off(e),Bm.focus(e)})),e.onClosed(t)},onGrown:t=>{pm.focusIn(t),e.onOpened(t)},onStartGrow:t=>{Of(t,e,"overflow-button").each(Lm.on)}}),pm.config({mode:"acyclic",onEscape:t=>(Of(t,e,"overflow-button").each(Bm.focus),j.some(!0))})])})}),gf({name:"overflow-button",overrides:e=>({buttonBehaviours:Il([Lm.config({toggleClass:e.markers.overflowToggledClass,aria:{mode:"pressed"},toggleOnExecute:!1})])})}),gf({name:"overflow-group"})]),fj=(e,t)=>{Of(e,t,"overflow-button").bind((()=>Of(e,t,"overflow"))).each((n=>{pj(e,t),xO.toggleGrow(n)}))},pj=(e,t)=>{Of(e,t,"overflow").each((n=>{ZO(e,t,(e=>{const t=z(e,(e=>vs(e)));yB.setGroups(n,t)})),Of(e,t,"overflow-button").each((e=>{xO.hasGrown(n)&&Lm.on(e)})),xO.refresh(n)}))},hj=Wf({name:"SplitSlidingToolbar",configFields:uj(),partFields:dj(),factory:(e,t,n,r)=>{const o="alloy.toolbar.toggle";return{uid:e.uid,dom:e.dom,components:t,behaviours:qd(e.splitToolbarBehaviours,[Dx.config({others:{overflowGroup:e=>aj.sketch({...r["overflow-group"](),items:[vg.sketch({...r["overflow-button"](),action:t=>{Li(e,o)}})]})}}),_m("toolbar-toggle-events",[Vi(o,(t=>{fj(t,e)}))])]),apis:{setGroups:(t,n)=>{((t,n)=>{const r=z(n,t.getSystem().build);e.builtGroups.set(r)})(t,n),pj(t,e)},refresh:t=>pj(t,e),toggle:t=>fj(t,e),isOpen:t=>((e,t)=>Of(e,t,"overflow").map(xO.hasGrown).getOr(!1))(t,e)},domModification:{attributes:{role:"group"}}}},apis:{setGroups:(e,t,n)=>{e.setGroups(t,n)},refresh:(e,t)=>{e.refresh(t)},toggle:(e,t)=>{e.toggle(t)},isOpen:(e,t)=>e.isOpen(t)}}),mj=e=>{const t=e.title.fold((()=>({})),(e=>({attributes:{title:e}})));return{dom:{tag:"div",classes:["tox-toolbar__group"],...t},components:[aj.parts.items({})],items:e.items,markers:{itemSelector:"*:not(.tox-split-button) > .tox-tbtn:not([disabled]), .tox-split-button:not([disabled]), .tox-toolbar-nav-js:not([disabled])"},tgroupBehaviours:Il([MC.config({}),Bm.config({})])}},gj=e=>aj.sketch(mj(e)),vj=(e,t)=>{const n=Ji((t=>{const n=z(e.initGroups,gj);yB.setGroups(t,n)}));return Il([Jy(e.providers.isDisabled),Ky(),pm.config({mode:t,onEscape:e.onEscape,selector:".tox-toolbar__group"}),_m("toolbar-events",[n])])},bj=e=>{const t=e.cyclicKeying?"cyclic":"acyclic";return{uid:e.uid,dom:{tag:"div",classes:["tox-toolbar-overlord"]},parts:{"overflow-group":mj({title:j.none(),items:[]}),"overflow-button":ES({name:"more",icon:j.some("more-drawer"),enabled:!0,tooltip:j.some("More..."),primary:!1,buttonType:j.none(),borderless:!1},j.none(),e.providers)},splitToolbarBehaviours:vj(e,t)}},yj=e=>{const t=bj(e),n=cj.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}});return cj.sketch({...t,lazySink:e.getSink,getOverflowBounds:()=>{const t=e.moreDrawerData.lazyHeader().element,n=Yn(t),r=Qe(t),o=Yn(r),i=Math.max(r.dom.scrollHeight,o.height);return Wn(n.x+4,o.y,n.width-8,i)},parts:{...t.parts,overflow:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:e.attributes}}},components:[n],markers:{overflowToggledClass:"tox-tbtn--enabled"}})},Aj=e=>{const t=hj.parts.primary({dom:{tag:"div",classes:["tox-toolbar__primary"]}}),n=hj.parts.overflow({dom:{tag:"div",classes:["tox-toolbar__overflow"]}}),r=bj(e);return hj.sketch({...r,components:[t,n],markers:{openClass:"tox-toolbar__overflow--open",closedClass:"tox-toolbar__overflow--closed",growingClass:"tox-toolbar__overflow--growing",shrinkingClass:"tox-toolbar__overflow--shrinking",overflowToggledClass:"tox-tbtn--enabled"},onOpened:e=>{e.getSystem().broadcastOn([WB()],{type:"opened"})},onClosed:e=>{e.getSystem().broadcastOn([WB()],{type:"closed"})}})},xj=e=>{const t=e.cyclicKeying?"cyclic":"acyclic";return yB.sketch({uid:e.uid,dom:{tag:"div",classes:["tox-toolbar"].concat(e.type===Tg.scrolling?["tox-toolbar--scrolling"]:[])},components:[yB.parts.groups({})],toolbarBehaviours:vj(e,t)})},Cj=fB.optional({factory:iO,name:"menubar",schema:[no("backstage")]}),_j=fB.optional({factory:{sketch:e=>gB.sketch({uid:e.uid,dom:e.dom,listBehaviours:Il([pm.config({mode:"acyclic",selector:".tox-toolbar"})]),makeItem:()=>xj({type:e.type,uid:da("multiple-toolbar-item"),cyclicKeying:!1,initGroups:[],providers:e.providers,onEscape:()=>(e.onEscape(),j.some(!0))}),setupItem:(e,t,n,r)=>{yB.setGroups(t,n)},shell:!0})},name:"multiple-toolbar",schema:[no("dom"),no("onEscape")]}),wj=fB.optional({factory:{sketch:e=>{const t=(e=>e.type===Tg.sliding?Aj:e.type===Tg.floating?yj:xj)(e);return t({type:e.type,uid:e.uid,onEscape:()=>(e.onEscape(),j.some(!0)),cyclicKeying:!1,initGroups:[],getSink:e.getSink,providers:e.providers,moreDrawerData:{lazyToolbar:e.lazyToolbar,lazyMoreButton:e.lazyMoreButton,lazyHeader:e.lazyHeader},attributes:e.attributes})}},name:"toolbar",schema:[no("dom"),no("onEscape"),no("getSink")]}),kj=fB.optional({factory:{sketch:e=>{const t=e.editor,n=e.sticky?QB:CB;return{uid:e.uid,dom:e.dom,components:e.components,behaviours:Il(n(t,e.sharedBackstage))}}},name:"header",schema:[no("dom")]}),Sj=fB.optional({factory:{sketch:e=>({uid:e.uid,dom:e.dom,components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/tinymce-self-hosted-premium-features/?utm_source=TinyMCE&utm_medium=SPAP&utm_campaign=SPAP&utm_id=editorreferral",rel:"noopener",target:"_blank","aria-hidden":"true"},classes:["tox-promotion-link"],innerHtml:"⚡️Upgrade"}}]})},name:"promotion",schema:[no("dom")]}),Ej=fB.optional({name:"socket",schema:[no("dom")]}),Bj=fB.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",classes:["tox-sidebar"],attributes:{role:"complementary"}},components:[{dom:{tag:"div",classes:["tox-sidebar__slider"]},components:[],behaviours:Il([MC.config({}),Bm.config({}),xO.config({dimension:{property:"width"},closedClass:"tox-sidebar--sliding-closed",openClass:"tox-sidebar--sliding-open",shrinkingClass:"tox-sidebar--sliding-shrinking",growingClass:"tox-sidebar--sliding-growing",onShrunk:e=>{Gf.getCurrent(e).each(EO.hideAllSlots),Li(e,DO)},onGrown:e=>{Li(e,DO)},onStartGrow:e=>{Ii(e,MO,{width:Pt(e.element,"width").getOr("")})},onStartShrink:e=>{Ii(e,MO,{width:Zt(e.element)+"px"})}}),Cm.config({}),Gf.config({find:e=>{const t=Cm.contents(e);return re(t)}})])}],behaviours:Il([ck(0),_m("sidebar-sliding-events",[Vi(MO,((e,t)=>{Et(e.element,"width",t.event.width)})),Vi(DO,((e,t)=>{Rt(e.element,"width")}))])])})},name:"sidebar",schema:[no("dom")]}),Oj=fB.optional({factory:{sketch:e=>({uid:e.uid,dom:{tag:"div",attributes:{"aria-hidden":"true"},classes:["tox-throbber"],styles:{display:"none"}},behaviours:Il([Cm.config({}),IO.config({focus:!1}),Gf.config({find:e=>re(e.components())})]),components:[]})},name:"throbber",schema:[no("dom")]});var jj=Wf({name:"OuterContainer",factory:(e,t,n)=>{const r={getSocket:t=>dB.getPart(t,e,"socket"),setSidebar:(t,n,r)=>{dB.getPart(t,e,"sidebar").each((e=>((e,t,n)=>{Gf.getCurrent(e).each((e=>{Cm.set(e,[TO(t)]);const r=null==n?void 0:n.toLowerCase();i(r)&&ye(t,r)&&Gf.getCurrent(e).each((t=>{EO.showSlot(t,r),xO.immediateGrow(e),Rt(e.element,"width")}))}))})(e,n,r)))},toggleSidebar:(t,n)=>{dB.getPart(t,e,"sidebar").each((e=>((e,t)=>{Gf.getCurrent(e).each((e=>{Gf.getCurrent(e).each((n=>{xO.hasGrown(e)?EO.isShowing(n,t)?xO.shrink(e):(EO.hideAllSlots(n),EO.showSlot(n,t)):(EO.hideAllSlots(n),EO.showSlot(n,t),xO.grow(e))}))}))})(e,n)))},whichSidebar:t=>dB.getPart(t,e,"sidebar").bind(PO).getOrNull(),getHeader:t=>dB.getPart(t,e,"header"),getToolbar:t=>dB.getPart(t,e,"toolbar"),setToolbar:(t,n)=>{dB.getPart(t,e,"toolbar").each((e=>{const t=z(n,gj);e.getApis().setGroups(e,t)}))},setToolbars:(t,n)=>{dB.getPart(t,e,"multiple-toolbar").each((e=>{const t=z(n,(e=>z(e,gj)));gB.setItems(e,t)}))},refreshToolbar:t=>{dB.getPart(t,e,"toolbar").each((e=>e.getApis().refresh(e)))},toggleToolbarDrawer:t=>{dB.getPart(t,e,"toolbar").each((e=>{((e,t)=>{null!=e?j.some(t(e)):j.none()})(e.getApis().toggle,(t=>t(e)))}))},isToolbarDrawerToggled:t=>dB.getPart(t,e,"toolbar").bind((e=>j.from(e.getApis().isOpen).map((t=>t(e))))).getOr(!1),getThrobber:t=>dB.getPart(t,e,"throbber"),focusToolbar:t=>{dB.getPart(t,e,"toolbar").orThunk((()=>dB.getPart(t,e,"multiple-toolbar"))).each((e=>{pm.focusIn(e)}))},setMenubar:(t,n)=>{dB.getPart(t,e,"menubar").each((e=>{iO.setMenus(e,n)}))},focusMenubar:t=>{dB.getPart(t,e,"menubar").each((e=>{iO.focus(e)}))}};return{uid:e.uid,dom:e.dom,components:t,apis:r,behaviours:e.behaviours}},configFields:[no("dom"),no("behaviours")],partFields:[kj,Cj,wj,_j,Ej,Bj,Sj,Oj],apis:{getSocket:(e,t)=>e.getSocket(t),setSidebar:(e,t,n,r)=>{e.setSidebar(t,n,r)},toggleSidebar:(e,t,n)=>{e.toggleSidebar(t,n)},whichSidebar:(e,t)=>e.whichSidebar(t),getHeader:(e,t)=>e.getHeader(t),getToolbar:(e,t)=>e.getToolbar(t),setToolbar:(e,t,n)=>{e.setToolbar(t,n)},setToolbars:(e,t,n)=>{e.setToolbars(t,n)},refreshToolbar:(e,t)=>e.refreshToolbar(t),toggleToolbarDrawer:(e,t)=>{e.toggleToolbarDrawer(t)},isToolbarDrawerToggled:(e,t)=>e.isToolbarDrawerToggled(t),getThrobber:(e,t)=>e.getThrobber(t),setMenubar:(e,t,n)=>{e.setMenubar(t,n)},focusMenubar:(e,t)=>{e.focusMenubar(t)},focusToolbar:(e,t)=>{e.focusToolbar(t)}}});const Tj={file:{title:"File",items:"newdocument restoredraft | preview | export print | deleteallconversations"},edit:{title:"Edit",items:"undo redo | cut copy paste pastetext | selectall | searchreplace"},view:{title:"View",items:"code | visualaid visualchars visualblocks | spellchecker | preview fullscreen | showcomments"},insert:{title:"Insert",items:"image link media addcomment pageembed template codesample inserttable | charmap emoticons hr | pagebreak nonbreaking anchor tableofcontents footnotes | mergetags | insertdatetime"},format:{title:"Format",items:"bold italic underline strikethrough superscript subscript codeformat | styles blocks fontfamily fontsize align lineheight | forecolor backcolor | language | removeformat"},tools:{title:"Tools",items:"spellchecker spellcheckerlanguage | autocorrect capitalization | a11ycheck code wordcount"},table:{title:"Table",items:"inserttable | cell row column | advtablesort | tableprops deletetable"},help:{title:"Help",items:"help"}},Pj=e=>e.split(" "),Mj=(e,t)=>{const n={...Tj,...t.menus},r=se(t.menus).length>0,o=void 0===t.menubar||!0===t.menubar?Pj("file edit view insert format tools table help"):Pj(!1===t.menubar?"":t.menubar),a=H(o,(e=>{const n=ye(Tj,e);return r?n||be(t.menus,e).exists((e=>ye(e,"items"))):n})),s=z(a,(r=>{const o=n[r];return((e,t,n)=>{const r=$g(n).split(/[ ,]/);return{text:e.title,getItems:()=>K(e.items,(e=>{const n=e.toLowerCase();return 0===n.trim().length||I(r,(e=>e===n))?[]:"separator"===n||"|"===n?[{type:"separator"}]:t.menuItems[n]?[t.menuItems[n]]:[]}))}})({title:o.title,items:Pj(o.items)},t,e)}));return H(s,(e=>e.getItems().length>0&&I(e.getItems(),(e=>i(e)||"separator"!==e.type))))},Dj=e=>{const t=()=>{e._skinLoaded=!0,(e=>{e.dispatch("SkinLoaded")})(e)};return()=>{e.initialized?t():e.on("init",t)}},Rj=(e,t,n)=>(e.on("remove",(()=>n.unload(t))),n.load(t)),Lj=(e,t)=>Rj(e,t+"/skin.min.css",e.ui.styleSheetLoader),Ij=(e,t)=>{if((e=>ft(e).isSome())(Me.fromDom(e.getElement()))){return Rj(e,t+"/skin.shadowdom.min.css",Mg.DOM.styleSheetLoader)}return Promise.resolve()},Nj=(e,t)=>{const n=Cv(t);n&&t.contentCSS.push(n+(e?"/content.inline":"/content")+".min.css"),!Av(t)&&i(n)?Promise.all([Lj(t,n),Ij(t,n)]).then(Dj(t),((e,t)=>()=>((e,t)=>{e.dispatch("SkinLoadError",t)})(e,{message:t}))(t,"Skin could not be loaded")):Dj(t)()},Fj=_(Nj,!1),zj=_(Nj,!0),qj=(e,t)=>n=>{const r=fc(),o=()=>{n.setActive(e.formatter.match(t));const o=e.formatter.formatChanged(t,n.setActive);r.set(o)};return e.initialized?o():e.once("init",o),()=>{e.off("init",o),r.clear()}},Uj=(e,t,n)=>r=>{const o=()=>n(r),i=()=>{n(r),e.on(t,o)};return e.initialized?i():e.once("init",i),()=>{e.off("init",i),e.off(t,o)}},Hj=e=>t=>()=>{e.undoManager.transact((()=>{e.focus(),e.execCommand("mceToggleFormat",!1,t.format)}))},Wj=(e,t)=>()=>e.execCommand(t),Vj=(e,t,n)=>{const r=(e,r,i,a)=>{const s=t.shared.providers.translate(e.title);if("separator"===e.type)return j.some({type:"separator",text:s});if("submenu"===e.type){const t=K(e.getStyleItems(),(e=>o(e,r,a)));return 0===r&&t.length<=0?j.none():j.some({type:"nestedmenuitem",text:s,enabled:t.length>0,getSubmenuItems:()=>K(e.getStyleItems(),(e=>o(e,r,a)))})}return j.some({type:"togglemenuitem",text:s,icon:e.icon,active:e.isSelected(a),enabled:!i,onAction:n.onAction(e),...e.getStylePreview().fold((()=>({})),(e=>({meta:{style:e}})))})},o=(e,t,o)=>{const i="formatter"===e.type&&n.isInvalid(e);return 0===t?i?[]:r(e,t,!1,o).toArray():r(e,t,i,o).toArray()},i=e=>{const t=n.getCurrentValue(),r=n.shouldHide?0:1;return K(e,(e=>o(e,r,t)))};return{validateItems:i,getFetch:(e,t)=>(n,r)=>{const o=t(),a=i(o);r(Vk(a,Fv.CLOSE_ON_EXECUTE,e,{isHorizontalMenu:!1,search:j.none()}))}}},Yj=(e,t,n)=>{const r=n.dataset,o="basic"===r.type?()=>z(r.data,(e=>DE(e,n.isSelectedFor,n.getPreviewFor))):r.getData;return{items:Vj(0,t,n),getStyleItems:o}},Zj=(e,t,n)=>{const{items:r,getStyleItems:o}=Yj(0,t,n),i=Uj(e,"NodeChange",(e=>{const t=e.getComponent();n.updateText(t)}));return zk({text:n.icon.isSome()?j.none():n.text,icon:n.icon,tooltip:j.from(n.tooltip),role:j.none(),fetch:r.getFetch(t,o),onSetup:i,getApi:e=>({getComponent:A(e)}),columns:1,presets:"normal",classes:n.icon.isSome()?[]:["bespoke"],dropdownBehaviours:[]},"tox-tbtn",t.shared)};var Gj;!function(e){e[e.SemiColon=0]="SemiColon",e[e.Space=1]="Space"}(Gj||(Gj={}));const Kj=(e,t,n)=>{const r=(e=>z(e,(e=>{let t=e,n=e;const r=e.split("=");return r.length>1&&(t=r[0],n=r[1]),{title:t,format:n}})))(((e,t)=>t===Gj.SemiColon?e.replace(/;$/,"").split(";"):e.split(" "))(e.options.get(t),n));return{type:"basic",data:r}},$j=[{title:"Left",icon:"align-left",format:"alignleft",command:"JustifyLeft"},{title:"Center",icon:"align-center",format:"aligncenter",command:"JustifyCenter"},{title:"Right",icon:"align-right",format:"alignright",command:"JustifyRight"},{title:"Justify",icon:"align-justify",format:"alignjustify",command:"JustifyFull"}],Xj=e=>{const t={type:"basic",data:$j};return{tooltip:"Align",text:j.none(),icon:j.some("align-left"),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:j.none,getPreviewFor:e=>j.none,onAction:t=>()=>Y($j,(e=>e.format===t.format)).each((t=>e.execCommand(t.command))),updateText:t=>{const n=Y($j,(t=>e.formatter.match(t.format))),r=n.fold(A("left"),(e=>e.title.toLowerCase()));Ii(t,Fk,{icon:`align-${r}`})},dataset:t,shouldHide:!1,isInvalid:t=>!e.formatter.canApply(t.format)}},Qj=(e,t)=>{const n=t(),r=z(n,(e=>e.format));return j.from(e.formatter.closest(r)).bind((e=>Y(n,(t=>t.format===e)))).orThunk((()=>we(e.formatter.match("p"),{title:"Paragraph",format:"p"})))},Jj=e=>{const t="Paragraph",n=Kj(e,"block_formats",Gj.SemiColon);return{tooltip:"Blocks",text:j.some(t),icon:j.none(),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:j.none,getPreviewFor:t=>()=>{const n=e.formatter.get(t);return n?j.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):j.none()},onAction:Hj(e),updateText:r=>{const o=Qj(e,(()=>n.data)).fold(A(t),(e=>e.title));Ii(r,Nk,{text:o})},dataset:n,shouldHide:!1,isInvalid:t=>!e.formatter.canApply(t.format)}},eT=["-apple-system","Segoe UI","Roboto","Helvetica Neue","sans-serif"],tT=e=>{const t=e.split(/\s*,\s*/);return z(t,(e=>e.replace(/^['"]+|['"]+$/g,"")))},nT=e=>{const t="System Font",n=()=>{const n=e=>e?tT(e)[0]:"",o=e.queryCommandValue("FontName"),i=r.data,a=o?o.toLowerCase():"",s=Y(i,(e=>{const t=e.format;return t.toLowerCase()===a||n(t).toLowerCase()===n(a).toLowerCase()})).orThunk((()=>we((e=>0===e.indexOf("-apple-system")&&(()=>{const t=tT(e.toLowerCase());return $(eT,(e=>t.indexOf(e.toLowerCase())>-1))})())(a),{title:t,format:a})));return{matchOpt:s,font:o}},r=Kj(e,"font_family_formats",Gj.SemiColon);return{tooltip:"Fonts",text:j.some(t),icon:j.none(),isSelectedFor:e=>t=>t.exists((t=>t.format===e)),getCurrentValue:()=>{const{matchOpt:e}=n();return e},getPreviewFor:e=>()=>j.some({tag:"div",styles:-1===e.indexOf("dings")?{"font-family":e}:{}}),onAction:t=>()=>{e.undoManager.transact((()=>{e.focus(),e.execCommand("FontName",!1,t.format)}))},updateText:e=>{const{matchOpt:t,font:r}=n(),o=t.fold(A(r),(e=>e.title));Ii(e,Nk,{text:o})},dataset:r,shouldHide:!1,isInvalid:E}},rT={"8pt":"1","10pt":"2","12pt":"3","14pt":"4","18pt":"5","24pt":"6","36pt":"7"},oT={"xx-small":"7pt","x-small":"8pt",small:"10pt",medium:"12pt",large:"14pt","x-large":"18pt","xx-large":"24pt"},iT=(e,t)=>/[0-9.]+px$/.test(e)?((e,t)=>{const n=Math.pow(10,t);return Math.round(e*n)/n})(72*parseInt(e,10)/96,t||0)+"pt":be(oT,e).getOr(e),aT=e=>be(rT,e).getOr(""),sT=e=>{const t=()=>{let t=j.none();const n=r.data,o=e.queryCommandValue("FontSize");if(o)for(let e=3;t.isNone()&&e>=0;e--){const r=iT(o,e),i=aT(r);t=Y(n,(e=>e.format===o||e.format===r||e.format===i))}return{matchOpt:t,size:o}},n=A(j.none),r=Kj(e,"font_size_formats",Gj.Space);return{tooltip:"Font sizes",text:j.some("12pt"),icon:j.none(),isSelectedFor:e=>t=>t.exists((t=>t.format===e)),getPreviewFor:n,getCurrentValue:()=>{const{matchOpt:e}=t();return e},onAction:t=>()=>{e.undoManager.transact((()=>{e.focus(),e.execCommand("FontSize",!1,t.format)}))},updateText:e=>{const{matchOpt:n,size:r}=t(),o=n.fold(A(r),(e=>e.title));Ii(e,Nk,{text:o})},dataset:r,shouldHide:!1,isInvalid:E}},lT=(e,t)=>{const n="Paragraph";return{tooltip:"Formats",text:j.some(n),icon:j.none(),isSelectedFor:t=>()=>e.formatter.match(t),getCurrentValue:j.none,getPreviewFor:t=>()=>{const n=e.formatter.get(t);return void 0!==n?j.some({tag:n.length>0&&(n[0].inline||n[0].block)||"div",styles:e.dom.parseStyle(e.formatter.getCssText(t))}):j.none()},onAction:Hj(e),updateText:t=>{const r=e=>OE(e)?K(e.items,r):jE(e)?[{title:e.title,format:e.format}]:[],o=K(ME(e),r),i=Qj(e,A(o)).fold(A(n),(e=>e.title));Ii(t,Nk,{text:i})},shouldHide:Gg(e),isInvalid:t=>!e.formatter.canApply(t.format),dataset:t}};var cT=Object.freeze({__proto__:null,events:(e,t)=>{const n=(n,r)=>{e.updateState.each((e=>{const o=e(n,r);t.set(o)})),e.renderComponents.each((o=>{const i=o(r,t.get());(e.reuseDom?mm:hm)(n,i)}))};return Ui([Vi(hi(),((t,r)=>{const o=r;if(!o.universal){const r=e.channel;L(o.channels,r)&&n(t,o.data)}})),Ji(((t,r)=>{e.initialData.each((e=>{n(t,e)}))}))])}});var uT=Object.freeze({__proto__:null,getState:(e,t,n)=>n}),dT=[no("channel"),fo("renderComponents"),fo("updateState"),fo("initialData"),ko("reuseDom",!0)];const fT=Fl({fields:dT,name:"reflecting",active:cT,apis:uT,state:Object.freeze({__proto__:null,init:()=>{const e=Oo(j.none());return{readState:()=>e.get().getOr("none"),get:e.get,set:e.set,clear:()=>e.set(j.none())}}})}),pT=A([no("toggleClass"),no("fetch"),Ys("onExecute"),Ao("getHotspot",j.some),Ao("getAnchorOverrides",A({})),zc(),Ys("onItemExecute"),fo("lazySink"),no("dom"),Ws("onOpen"),Fd("splitDropdownBehaviours",[Dx,pm,Bm]),Ao("matchWidth",!1),Ao("useMinWidth",!1),Ao("eventOrder",{}),fo("role")].concat(Qx())),hT=mf({factory:vg,schema:[no("dom")],name:"arrow",defaults:()=>({buttonBehaviours:Il([Bm.revoke()])}),overrides:e=>({dom:{tag:"span",attributes:{role:"presentation"}},action:t=>{t.getSystem().getByUid(e.uid).each(Ni)},buttonBehaviours:Il([Lm.config({toggleOnExecute:!1,toggleClass:e.toggleClass})])})}),mT=mf({factory:vg,schema:[no("dom")],name:"button",defaults:()=>({buttonBehaviours:Il([Bm.revoke()])}),overrides:e=>({dom:{tag:"span",attributes:{role:"presentation"}},action:t=>{t.getSystem().getByUid(e.uid).each((n=>{e.onExecute(n,t)}))}})}),gT=A([hT,mT,vf({factory:{sketch:e=>({uid:e.uid,dom:{tag:"span",styles:{display:"none"},attributes:{"aria-hidden":"true"},innerHtml:e.text}})},schema:[no("text")],name:"aria-descriptor"}),gf({schema:[qs()],name:"menu",defaults:e=>({onExecute:(t,n)=>{t.getSystem().getByUid(e.uid).each((r=>{e.onItemExecute(r,t,n)}))}})}),Ux()]),vT=Wf({name:"SplitDropdown",configFields:pT(),partFields:gT(),factory:(e,t,n,r)=>{const o=e=>{Gf.getCurrent(e).each((e=>{yp.highlightFirst(e),pm.focusIn(e)}))},i=t=>{Yx(e,x,t,r,o,fg.HighlightMenuAndItem).get(v)},a=t=>{const n=jf(t,e,"button");return Ni(n),j.some(!0)},s={...Ui([Ji(((t,n)=>{Of(t,e,"aria-descriptor").each((e=>{const n=da("aria");yt(e.element,"id",n),yt(t.element,"aria-describedby",n)}))}))]),...Fm(j.some(i))},l={repositionMenus:e=>{Lm.isOn(e)&&Xx(e)}};return{uid:e.uid,dom:e.dom,components:t,apis:l,eventOrder:{...e.eventOrder,[mi()]:["disabling","toggling","alloy.base.behaviour"]},events:s,behaviours:qd(e.splitDropdownBehaviours,[Dx.config({others:{sandbox:t=>{const n=jf(t,e,"arrow");return $x(e,t,{onOpen:()=>{Lm.on(n),Lm.on(t)},onClose:()=>{Lm.off(n),Lm.off(t)}})}}}),pm.config({mode:"special",onSpace:a,onEnter:a,onDown:e=>(i(e),j.some(!0))}),Bm.config({}),Lm.config({toggleOnExecute:!1,aria:{mode:"expanded"}})]),domModification:{attributes:{role:e.role.getOr("button"),"aria-haspopup":!0}}}},apis:{repositionMenus:(e,t)=>e.repositionMenus(t)}}),bT=e=>({isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t)}),yT=e=>({setActive:t=>{Lm.set(e,t)},isActive:()=>Lm.isOn(e),isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t)}),AT=(e,t)=>e.map((e=>({"aria-label":t.translate(e),title:t.translate(e)}))).getOr({}),xT=da("focus-button"),CT=(e,t,n,r,o,i)=>({dom:{tag:"button",classes:["tox-tbtn"].concat(t.isSome()?["tox-tbtn--select"]:[]),attributes:AT(n,i)},components:iA([e.map((e=>Rk(e,i.icons))),t.map((e=>Ik(e,"tox-tbtn",i)))]),eventOrder:{[Zo()]:["focusing","alloy.base.behaviour","common-button-display-events"]},buttonBehaviours:Il([Jy(i.isDisabled),Ky(),_m("common-button-display-events",[Vi(Zo(),((e,t)=>{t.event.prevent(),Li(e,xT)}))])].concat(r.map((n=>fT.config({channel:n,initialData:{icon:e,text:t},renderComponents:(e,t)=>iA([e.icon.map((e=>Rk(e,i.icons))),e.text.map((e=>Ik(e,"tox-tbtn",i)))])}))).toArray()).concat(o.getOr([])))}),_T=(e,t,n)=>{const r=Oo(v),o=CT(e.icon,e.text,e.tooltip,j.none(),j.none(),n);return vg.sketch({dom:o.dom,components:o.components,eventOrder:Mk,buttonBehaviours:Il([_m("toolbar-button-events",[(i={onAction:e.onAction,getApi:t.getApi},na(((e,t)=>{eA(i,e)((t=>{Ii(e,Pk,{buttonApi:t}),i.onAction(t)}))}))),tA(t,r),nA(t,r)]),Jy((()=>!e.enabled||n.isDisabled())),Ky()].concat(t.toolbarButtonBehaviours))});var i},wT=(e,t,n)=>_T(e,{toolbarButtonBehaviours:n.length>0?[_m("toolbarButtonWith",n)]:[],getApi:bT,onSetup:e.onSetup},t),kT=(e,t,n)=>_T(e,{toolbarButtonBehaviours:[Cm.config({}),Lm.config({toggleClass:"tox-tbtn--enabled",aria:{mode:"pressed"},toggleOnExecute:!1})].concat(n.length>0?[_m("toolbarToggleButtonWith",n)]:[]),getApi:yT,onSetup:e.onSetup},t),ST=(e,t,n)=>r=>Fx((e=>t.fetch(e))).map((o=>j.from(dC(hr(hx(da("menu-value"),o,(n=>{t.onItemAction(e(r),n)}),t.columns,t.presets,Fv.CLOSE_ON_EXECUTE,t.select.getOr(E),n),{movement:gx(t.columns,t.presets),menuBehaviours:Ry("auto"!==t.columns?[]:[Ji(((e,n)=>{My(e,4,Xv(t.presets)).each((({numRows:t,numColumns:n})=>{pm.setGridSize(e,t,n)}))}))])}))))),ET=[{name:"history",items:["undo","redo"]},{name:"styles",items:["styles"]},{name:"formatting",items:["bold","italic"]},{name:"alignment",items:["alignleft","aligncenter","alignright","alignjustify"]},{name:"indentation",items:["outdent","indent"]},{name:"permanent pen",items:["permanentpen"]},{name:"comments",items:["addcomment"]}],BT=(e,t)=>(n,r,o)=>{const i=e(n).mapError((e=>Xr(e))).getOrDie();return t(i,r,o)},OT={button:BT(oy,((e,t)=>{return n=e,r=t.shared.providers,wT(n,r,[]);var n,r})),togglebutton:BT(sy,((e,t)=>{return n=e,r=t.shared.providers,kT(n,r,[]);var n,r})),menubutton:BT(rO,((e,t)=>wS(e,"tox-tbtn",t,j.none()))),splitbutton:BT((e=>Gr("SplitButton",oO,e)),((e,t)=>((e,t)=>{const n=da("channel-update-split-dropdown-display"),r=e=>({isEnabled:()=>!lp.isDisabled(e),setEnabled:t=>lp.set(e,!t),setIconFill:(t,n)=>{ws(e.element,'svg path[id="'+t+'"], rect[id="'+t+'"]').each((e=>{yt(e,"fill",n)}))},setActive:t=>{yt(e.element,"aria-pressed",t),ws(e.element,"span").each((n=>{e.getSystem().getByDom(n).each((e=>Lm.set(e,t)))}))},isActive:()=>ws(e.element,"span").exists((t=>e.getSystem().getByDom(t).exists(Lm.isOn)))}),o=Oo(v),i={getApi:r,onSetup:e.onSetup};return vT.sketch({dom:{tag:"div",classes:["tox-split-button"],attributes:{"aria-pressed":!1,...AT(e.tooltip,t.providers)}},onExecute:t=>{e.onAction(r(t))},onItemExecute:(e,t,n)=>{},splitDropdownBehaviours:Il([Qy(t.providers.isDisabled),Ky(),_m("split-dropdown-events",[Vi(xT,Bm.focus),tA(i,o),nA(i,o)]),i_.config({})]),eventOrder:{[Si()]:["alloy.base.behaviour","split-dropdown-events"]},toggleClass:"tox-tbtn--enabled",lazySink:t.getSink,fetch:ST(r,e,t.providers),parts:{menu:rb(0,e.columns,e.presets)},components:[vT.parts.button(CT(e.icon,e.text,j.none(),j.some(n),j.some([Lm.config({toggleClass:"tox-tbtn--enabled",toggleOnExecute:!1})]),t.providers)),vT.parts.arrow({dom:{tag:"button",classes:["tox-tbtn","tox-split-button__chevron"],innerHtml:kg("chevron-down",t.providers.icons)},buttonBehaviours:Il([Qy(t.providers.isDisabled),Ky(),Sg()])}),vT.parts["aria-descriptor"]({text:t.providers.translate("To open the popup, press Shift+Enter")})]})})(e,t.shared))),grouptoolbarbutton:BT((e=>Gr("GroupToolbarButton",eO,e)),((e,t,n)=>{const r=n.ui.registry.getAll().buttons,o=e=>MT(n,{buttons:r,toolbar:e,allowToolbarGroups:!1},t,j.none()),i={[Nc]:t.shared.header.isPositionedAtTop()?Ic.TopToBottom:Ic.BottomToTop};if(Xg(n)===Tg.floating)return((e,t,n,r)=>{const o=t.shared;return rj.sketch({lazySink:o.getSink,fetch:()=>Fx((t=>{t(z(n(e.items),gj))})),markers:{toggledClass:"tox-tbtn--enabled"},parts:{button:CT(e.icon,e.text,e.tooltip,j.none(),j.none(),o.providers),toolbar:{dom:{tag:"div",classes:["tox-toolbar__overflow"],attributes:r}}}})})(e,t,o,i);throw new Error("Toolbar groups are only supported when using floating toolbar mode")}))},jT={styles:(e,t)=>{const n={type:"advanced",...t.styles};return Zj(e,t,lT(e,n))},fontsize:(e,t)=>Zj(e,t,sT(e)),fontfamily:(e,t)=>Zj(e,t,nT(e)),blocks:(e,t)=>Zj(e,t,Jj(e)),align:(e,t)=>Zj(e,t,Xj(e))},TT=e=>{const t=e.toolbar,n=e.buttons;return!1===t?[]:void 0===t||!0===t?(e=>{const t=z(ET,(t=>{const n=H(t.items,(t=>ye(e,t)||ye(jT,t)));return{name:t.name,items:n}}));return H(t,(e=>e.items.length>0))})(n):i(t)?(e=>{const t=e.split("|");return z(t,(e=>({items:e.trim().split(" ")})))})(t):(e=>g(e,(e=>ye(e,"name")&&ye(e,"items"))))(t)?t:(console.error("Toolbar type should be string, string[], boolean or ToolbarGroup[]"),[])},PT=(e,t,n,r,o,i)=>be(t,n.toLowerCase()).orThunk((()=>i.bind((e=>ae(e,(e=>be(t,e+n.toLowerCase()))))))).fold((()=>be(jT,n.toLowerCase()).map((t=>t(e,o)))),(t=>"grouptoolbarbutton"!==t.type||r?((e,t,n)=>be(OT,e.type).fold((()=>(console.error("skipping button defined by",e),j.none())),(r=>j.some(r(e,t,n)))))(t,o,e):(console.warn(`Ignoring the '${n}' toolbar button. Group toolbar buttons are only supported when using floating toolbar mode and cannot be nested.`),j.none()))),MT=(e,t,n,r)=>{const o=TT(t),i=z(o,(o=>{const i=K(o.items,(o=>0===o.trim().length?[]:PT(e,t.buttons,o,t.allowToolbarGroups,n,r).toArray()));return{title:j.from(e.translate(o.name)),items:i}}));return H(i,(e=>e.items.length>0))},DT=(e,t,n,r)=>{const o=t.outerContainer,a=n.toolbar,s=n.buttons;if(g(a,i)){const t=a.map((t=>{const o={toolbar:t,buttons:s,allowToolbarGroups:n.allowToolbarGroups};return MT(e,o,r,j.none())}));jj.setToolbars(o,t)}else jj.setToolbar(o,MT(e,n,r,j.none()))},RT=kn(),LT=RT.os.isiOS()&&RT.os.version.major<=12;var IT=Object.freeze({__proto__:null,render:(e,t,n,r,o)=>{const i=Oo(0),a=t.outerContainer;Fj(e);const s=Me.fromDom(o.targetNode),l=dt(ut(s));((e,t)=>{ad(e,t,jn)})(s,t.mothership),id(l,t.uiMothership),e.on("PostRender",(()=>{jj.setSidebar(a,n.sidebar,bv(e)),DT(e,t,n,r),i.set(e.getWin().innerWidth),jj.setMenubar(a,Mj(e,n)),((e,t)=>{const n=e.dom;let r=e.getWin();const o=e.getDoc().documentElement,i=Oo(Ut(r.innerWidth,r.innerHeight)),a=Oo(Ut(o.offsetWidth,o.offsetHeight)),s=()=>{const t=i.get();t.left===r.innerWidth&&t.top===r.innerHeight||(i.set(Ut(r.innerWidth,r.innerHeight)),HA(e))},l=()=>{const t=e.getDoc().documentElement,n=a.get();n.left===t.offsetWidth&&n.top===t.offsetHeight||(a.set(Ut(t.offsetWidth,t.offsetHeight)),HA(e))},c=t=>{((e,t)=>{e.dispatch("ScrollContent",t)})(e,t)};n.bind(r,"resize",s),n.bind(r,"scroll",c);const u=gc(Me.fromDom(e.getBody()),"load",l),d=t.uiMothership.element;e.on("hide",(()=>{Et(d,"display","none")})),e.on("show",(()=>{Rt(d,"display")})),e.on("NodeChange",l),e.on("remove",(()=>{u.unbind(),n.unbind(r,"resize",s),n.unbind(r,"scroll",c),r=null}))})(e,t)}));const u=jj.getSocket(a).getOrDie("Could not find expected socket element");if(LT){Bt(u.element,{overflow:"scroll","-webkit-overflow-scrolling":"touch"});const t=((e,t)=>{let n=null;return{cancel:()=>{c(n)||(clearTimeout(n),n=null)},throttle:(...r)=>{c(n)&&(n=setTimeout((()=>{n=null,e.apply(null,r)}),t))}}})((()=>{e.dispatch("ScrollContent")}),20),n=mc(u.element,"scroll",t.throttle);e.on("remove",n.unbind)}Gy(e,t),e.addCommand("ToggleSidebar",((t,n)=>{jj.toggleSidebar(a,n),e.dispatch("ToggleSidebar")})),e.addQueryValueHandler("ToggleSidebar",(()=>{var e;return null!==(e=jj.whichSidebar(a))&&void 0!==e?e:""}));const d=Xg(e);d!==Tg.sliding&&d!==Tg.floating||e.on("ResizeWindow ResizeEditor ResizeContent",(()=>{const n=e.getWin().innerWidth;n!==i.get()&&(jj.refreshToolbar(t.outerContainer),i.set(n))}));const f={setEnabled:e=>{Zy(t,!e)},isEnabled:()=>!lp.isDisabled(a)};return{iframeContainer:u.element.dom,editorContainer:a.element.dom,api:f}}});const NT=e=>/^[0-9\.]+(|px)$/i.test(""+e)?j.some(parseInt(""+e,10)):j.none(),FT=e=>m(e)?e+"px":e,zT=(e,t,n)=>{const r=t.filter((t=>e<t)),o=n.filter((t=>e>t));return r.or(o).getOr(e)},qT=e=>{const t=(e=>{const t=zg(e),n=Hg(e),r=Vg(e);return NT(t).map((e=>zT(e,n,r)))})(e);return t.getOr(zg(e))},UT=e=>{const t=qg(e),n=Ug(e),r=Wg(e);return NT(t).map((e=>zT(e,n,r)))},{ToolbarLocation:HT,ToolbarMode:WT}=Dv,VT=(e,t,n,r,o)=>{const{uiMothership:i,outerContainer:a}=n,s=Mg.DOM,l=Ov(e),c=Pv(e),u=Wg(e).or(UT(e)),d=r.shared.header,f=d.isPositionedAtTop,p=Xg(e),h=p===WT.sliding||p===WT.floating,m=Oo(!1),g=()=>m.get()&&!e.removed,v=e=>h?e.fold(A(0),(e=>e.components().length>1?Ft(e.components()[1].element):0)):0,b=()=>{i.broadcastOn([Ad()],{})},y=(e=!1)=>{if(g()){if(l||o.on((e=>{const n=u.getOrThunk((()=>{const e=NT(jt(gt(),"margin-left")).getOr(0);return Zt(gt())-Wt(t).left+e}));Et(e.element,"max-width",n+"px")})),h&&jj.refreshToolbar(a),l||o.on((e=>{const n=jj.getToolbar(a),r=v(n),o=Vn(t),i=f()?Math.max(o.y-Ft(e.element)+r,0):o.bottom;Bt(a.element,{position:"absolute",top:Math.round(i)+"px",left:Math.round(o.x)+"px"})})),c){const t=e?HB.reset:HB.refresh;o.on(t)}b()}},x=(n=!0)=>{!l&&c&&g()&&o.on((r=>{const i=d.getDockingMode(),s=(n=>{switch(Jg(e)){case HT.auto:const e=jj.getToolbar(a),r=v(e),o=Ft(n.element)-r,i=Vn(t);if(i.y>o)return"top";{const e=Qe(t),n=Math.max(e.dom.scrollHeight,Ft(e));return i.bottom<n-o||Zn().bottom<i.bottom-o?"bottom":"top"}case HT.bottom:return"bottom";case HT.top:default:return"top"}})(r);var l;s!==i&&(l=s,o.on((e=>{HB.setModes(e,[l]),d.setDockingMode(l);const t=f()?Ic.TopToBottom:Ic.BottomToTop;yt(e.element,Nc,t)})),n&&y(!0))}))};return{isVisible:g,isPositionedAtTop:f,show:()=>{m.set(!0),Et(a.element,"display","flex"),s.addClass(e.getBody(),"mce-edit-focus"),Rt(i.element,"display"),x(!1),y()},hide:()=>{m.set(!1),n.outerContainer&&(Et(a.element,"display","none"),s.removeClass(e.getBody(),"mce-edit-focus")),Et(i.element,"display","none")},update:y,updateMode:x,repositionPopups:b}},YT=(e,t)=>{const n=Vn(e);return{pos:t?n.y:n.bottom,bounds:n}};var ZT=Object.freeze({__proto__:null,render:(e,t,n,r,o)=>{const{mothership:i,uiMothership:a,outerContainer:s}=t,l=pc(),c=Me.fromDom(o.targetNode),u=VT(e,c,t,r,l),d=nv(e);zj(e);const f=()=>{if(l.isSet())return void u.show();l.set(jj.getHeader(s).getOrDie());const o=jv(e);id(o,i),id(o,a),DT(e,t,n,r),jj.setMenubar(s,Mj(e,n)),u.show(),((e,t,n,r)=>{const o=Oo(YT(t,n.isPositionedAtTop())),i=r=>{const{pos:i,bounds:a}=YT(t,n.isPositionedAtTop()),{pos:s,bounds:l}=o.get(),c=a.height!==l.height||a.width!==l.width;o.set({pos:i,bounds:a}),c&&HA(e,r),n.isVisible()&&(s!==i?n.update(!0):c&&(n.updateMode(),n.repositionPopups()))};r||(e.on("activate",n.show),e.on("deactivate",n.hide)),e.on("SkinLoaded ResizeWindow",(()=>n.update(!0))),e.on("NodeChange keydown",(e=>{requestAnimationFrame((()=>i(e)))})),e.on("ScrollWindow",(()=>n.updateMode()));const a=fc();a.set(gc(Me.fromDom(e.getBody()),"load",(e=>i(e.raw)))),e.on("remove",(()=>{a.clear()}))})(e,c,u,d),e.nodeChanged()};e.on("show",f),e.on("hide",u.hide),d||(e.on("focus",f),e.on("blur",u.hide)),e.on("init",(()=>{(e.hasFocus()||d)&&f()})),Gy(e,t);const p={show:f,hide:u.hide,setEnabled:e=>{Zy(t,!e)},isEnabled:()=>!lp.isDisabled(s)};return{editorContainer:s.element.dom,api:p}}});const GT="contexttoolbar-hide",KT=(e,t)=>Vi(Pk,((n,r)=>{const o=(e=>({hide:()=>Li(e,yi()),getValue:()=>Nd.getValue(e)}))(e.get(n));t.onAction(o,r.event.buttonApi)})),$T=(e,t,n)=>(e=>"contextformtogglebutton"===e.type)(t)?((e,t,n)=>{const{primary:r,...o}=t.original,i=Kr(sy({...o,type:"togglebutton",onAction:v}));return kT(i,n,[KT(e,t)])})(e,t,n):((e,t,n)=>{const{primary:r,...o}=t.original,i=Kr(oy({...o,type:"button",onAction:v}));return wT(i,n,[KT(e,t)])})(e,t,n),XT=(e,t)=>{const n=e.label.fold((()=>({})),(e=>({"aria-label":e}))),r=bg(lb.sketch({inputClasses:["tox-toolbar-textfield","tox-toolbar-nav-js"],data:e.initValue(),inputAttributes:n,selectOnFocus:!0,inputBehaviours:Il([pm.config({mode:"special",onEnter:e=>o.findPrimary(e).map((e=>(Ni(e),!0))),onLeft:(e,t)=>(t.cut(),j.none()),onRight:(e,t)=>(t.cut(),j.none())})])})),o=((e,t,n)=>{const r=z(t,(t=>bg($T(e,t,n))));return{asSpecs:()=>z(r,(e=>e.asSpec())),findPrimary:e=>ae(t,((t,n)=>t.primary?j.from(r[n]).bind((t=>t.getOpt(e))).filter(w(lp.isDisabled)):j.none()))}})(r,e.commands,t);return[{title:j.none(),items:[r.asSpec()]},{title:j.none(),items:o.asSpecs()}]},QT=XT,JT=(e,t,n=.01)=>t.bottom-e.y>=n&&e.bottom-t.y>=n,eP=e=>{const t=(e=>{const t=e.getBoundingClientRect();if(t.height<=0&&t.width<=0){const n=at(Me.fromDom(e.startContainer),e.startOffset).element;return(Ue(n)?et(n):j.some(n)).filter(qe).map((e=>e.dom.getBoundingClientRect())).getOr(t)}return t})(e.selection.getRng());if(e.inline){const e=Ln();return Wn(e.left+t.left,e.top+t.top,t.width,t.height)}{const n=Yn(Me.fromDom(e.getBody()));return Wn(n.x+t.left,n.y+t.top,t.width,t.height)}},tP=(e,t)=>t.filter((e=>mt(e)&&(e=>qe(e)&&Ne(e.dom))(e))).map(Yn).getOrThunk((()=>eP(e))),nP=(e,t,n,r=0)=>{const o=Fn(window),i=Vn(Me.fromDom(e.getContentAreaContainer())),a=xv(e)||wv(e)||Sv(e),{x:s,width:l}=((e,t,n)=>{const r=Math.max(e.x+n,t.x);return{x:r,width:Math.min(e.right-n,t.right)-r}})(i,o,r);if(e.inline&&!a)return Wn(s,o.y,l,o.height);{const a=t.header.isPositionedAtTop(),{y:c,bottom:u}=((e,t,n,r,o,i)=>{const a=Me.fromDom(e.getContainer()),s=ws(a,".tox-editor-header").getOr(a),l=Vn(s),c=l.y>=t.bottom,u=r&&!c;if(e.inline&&u)return{y:Math.max(l.bottom+i,n.y),bottom:n.bottom};if(e.inline&&!u)return{y:n.y,bottom:Math.min(l.y-i,n.bottom)};const d="line"===o?Vn(a):t;return u?{y:Math.max(l.bottom+i,n.y),bottom:Math.min(d.bottom-i,n.bottom)}:{y:Math.max(d.y+i,n.y),bottom:Math.min(l.y-i,n.bottom)}})(e,i,o,a,n,r);return Wn(s,c,l,u-c)}},rP={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"],inset:["tox-pop--inset"]},oP={maxHeightFunction:Bc(),maxWidthFunction:XO()},iP=e=>"node"===e,aP=(e,t,n,r,o)=>{const i=eP(e),a=r.lastElement().exists((e=>Ge(n,e)));if(((e,t)=>{const n=e.selection.getRng(),r=at(Me.fromDom(n.startContainer),n.startOffset);return n.startContainer===n.endContainer&&n.startOffset===n.endOffset-1&&Ge(r.element,t)})(e,n))return a?pE:lE;if(a)return((e,t,n)=>{const r=Pt(e,"position");Et(e,"position",t);const o=n(e);return r.each((t=>Et(e,"position",t))),o})(t,r.getMode(),(()=>JT(i,Vn(t))&&!r.isReposition()?mE:pE));return("fixed"===r.getMode()?o.y+Ln().top:o.y)+(Ft(t)+12)<=i.y?lE:cE},sP=(e,t,n,r)=>{const o=t=>(r,o,i,a,s)=>({...aP(e,a,t,n,s)({...r,y:s.y,height:s.height},o,i,a,s),alwaysFit:!0}),i=e=>iP(r)?[o(e)]:[];return t?{onLtr:e=>[Cl,vl,bl,yl,Al,xl].concat(i(e)),onRtl:e=>[Cl,bl,vl,Al,yl,xl].concat(i(e))}:{onLtr:e=>[xl,Cl,yl,vl,Al,bl].concat(i(e)),onRtl:e=>[xl,Cl,Al,bl,yl,vl].concat(i(e))}},lP=(e,t)=>{const n=H(t,(t=>t.predicate(e.dom))),{pass:r,fail:o}=U(n,(e=>"contexttoolbar"===e.type));return{contextToolbars:r,contextForms:o}},cP=(e,t,n)=>{const r=lP(e,t);if(r.contextForms.length>0)return j.some({elem:e,toolbars:[r.contextForms[0]]});{const t=lP(e,n);if(t.contextForms.length>0)return j.some({elem:e,toolbars:[t.contextForms[0]]});if(r.contextToolbars.length>0||t.contextToolbars.length>0){const n=(e=>{if(e.length<=1)return e;{const t=t=>I(e,(e=>e.position===t)),n=t=>H(e,(e=>e.position===t)),r=t("selection"),o=t("node");if(r||o){if(o&&r){const e=n("node"),t=z(n("selection"),(e=>({...e,position:"node"})));return e.concat(t)}return n(r?"selection":"node")}return n("line")}})(r.contextToolbars.concat(t.contextToolbars));return j.some({elem:e,toolbars:n})}return j.none()}},uP=(e,t,n)=>e(t)?j.none():Lo(t,(e=>{if(qe(e)){const{contextToolbars:t,contextForms:r}=lP(e,n.inNodeScope),o=r.length>0?r:(e=>{if(e.length<=1)return e;{const t=t=>Y(e,(e=>e.position===t)),n=t("selection").orThunk((()=>t("node"))).orThunk((()=>t("line"))).map((e=>e.position));return n.fold((()=>[]),(t=>H(e,(e=>e.position===t))))}})(t);return o.length>0?j.some({elem:e,toolbars:o}):j.none()}return j.none()}),e),dP=(e,t)=>{const n={},r=[],o=[],i={},a={},s=(e,s)=>{const l=Kr(Gr("ContextForm",hy,s));n[e]=l,l.launch.map((n=>{i["form:"+e]={...s.launch,type:"contextformtogglebutton"===n.type?"togglebutton":"button",onAction:()=>{t(l)}}})),"editor"===l.scope?o.push(l):r.push(l),a[e]=l},l=(e,t)=>{var n;(n=t,Gr("ContextToolbar",my,n)).each((n=>{"editor"===t.scope?o.push(n):r.push(n),a[e]=n}))},c=se(e);return q(c,(t=>{const n=e[t];"contextform"===n.type?s(t,n):"contexttoolbar"===n.type&&l(t,n)})),{forms:n,inNodeScope:r,inEditorScope:o,lookupTable:a,formNavigators:i}},fP=da("forward-slide"),pP=da("backward-slide"),hP=da("change-slide-event"),mP="tox-pop--resizing",gP="tox-pop--transition",vP=(e,t,n,r)=>{const o=r.backstage,i=o.shared,a=kn().deviceType.isTouch,s=pc(),l=pc(),c=pc(),u=gs((e=>{const t=Oo([]);return mg.sketch({dom:{tag:"div",classes:["tox-pop"]},fireDismissalEventInstead:{event:"doNotDismissYet"},onShow:e=>{t.set([]),mg.getContent(e).each((e=>{Rt(e.element,"visibility")})),Ga(e.element,mP),Rt(e.element,"width")},inlineBehaviours:Il([_m("context-toolbar-events",[Qi(ai(),((e,t)=>{"width"===t.event.raw.propertyName&&(Ga(e.element,mP),Rt(e.element,"width"))})),Vi(hP,((e,t)=>{const n=e.element;Rt(n,"width");const r=Zt(n);mg.setContent(e,t.event.contents),Za(n,mP);const o=Zt(n);Et(n,"width",r+"px"),mg.getContent(e).each((e=>{t.event.focus.bind((e=>(Vl(e),Gl(n)))).orThunk((()=>(pm.focusIn(e),Zl(ut(n)))))})),setTimeout((()=>{Et(e.element,"width",o+"px")}),0)})),Vi(fP,((e,n)=>{mg.getContent(e).each((n=>{t.set(t.get().concat([{bar:n,focus:Zl(ut(e.element))}]))})),Ii(e,hP,{contents:n.event.forwardContents,focus:j.none()})})),Vi(pP,((e,n)=>{oe(t.get()).each((n=>{t.set(t.get().slice(0,t.get().length-1)),Ii(e,hP,{contents:vs(n.bar),focus:n.focus})}))}))]),pm.config({mode:"special",onEscape:n=>oe(t.get()).fold((()=>e.onEscape()),(e=>(Li(n,pP),j.some(!0))))})]),lazySink:()=>$n.value(e.sink)})})({sink:n,onEscape:()=>(e.focus(),j.some(!0))})),d=()=>{const t=c.get().getOr("node"),n=iP(t)?1:0;return nP(e,i,t,n)},f=()=>!(e.removed||a()&&o.isContextMenuOpen()),p=()=>{if(f()){const t=d(),n=xe(c.get(),"node")?tP(e,s.get()):eP(e);return t.height<=0||!JT(n,t)}return!0},h=()=>{s.clear(),l.clear(),c.clear(),mg.hide(u)},m=()=>{if(mg.isOpen(u)){const e=u.element;Rt(e,"display"),p()?Et(e,"display","none"):(l.set(0),mg.reposition(u))}},g=t=>({dom:{tag:"div",classes:["tox-pop__dialog"]},components:[t],behaviours:Il([pm.config({mode:"acyclic"}),_m("pop-dialog-wrap-events",[Ji((t=>{e.shortcuts.add("ctrl+F9","focus statusbar",(()=>pm.focusIn(t)))})),ea((t=>{e.shortcuts.remove("ctrl+F9")}))])])}),b=Kt((()=>dP(t,(e=>{const t=y([e]);Ii(u,fP,{forwardContents:g(t)})})))),y=t=>{const{buttons:n}=e.ui.registry.getAll(),o={...n,...b().formNavigators},a=Xg(e)===Tg.scrolling?Tg.scrolling:Tg.default,s=G(z(t,(t=>"contexttoolbar"===t.type?((t,n)=>MT(e,{buttons:t,toolbar:n.items,allowToolbarGroups:!1},r.backstage,j.some(["form:"])))(o,t):((e,t)=>QT(e,t))(t,i.providers))));return xj({type:a,uid:da("context-toolbar"),initGroups:s,onEscape:j.none,cyclicKeying:!0,providers:i.providers})},A=(t,r)=>{const o="node"===t?i.anchors.node(r):i.anchors.cursor(),c=((e,t,n,r)=>"line"===t?{bubble:Pc(12,0,rP),layouts:{onLtr:()=>[_l],onRtl:()=>[wl]},overrides:oP}:{bubble:Pc(0,12,rP,1/12),layouts:sP(e,n,r,t),overrides:oP})(e,t,a(),{lastElement:s.get,isReposition:()=>xe(l.get(),0),getMode:()=>Yu.getMode(n)});return hr(o,c)},x=(e,t)=>{if(C.cancel(),!f())return;const r=y(e),o=e[0].position,i=A(o,t);c.set(o),l.set(1);const a=u.element;Rt(a,"display"),(e=>xe(_e(e,s.get(),Ge),!0))(t)||(Ga(a,gP),Yu.reset(n,u)),mg.showWithinBounds(u,g(r),{anchor:i,transition:{classes:[gP],mode:"placement"}},(()=>j.some(d()))),t.fold(s.clear,s.set),p()&&Et(a,"display","none")},C=sS((()=>{if(e.hasFocus()&&!e.removed)if(Ka(u.element,gP))C.throttle();else{((e,t)=>{const n=Me.fromDom(t.getBody()),r=e=>Ge(e,n),o=Me.fromDom(t.selection.getNode());return(e=>!r(e)&&!Ke(n,e))(o)?j.none():cP(o,e.inNodeScope,e.inEditorScope).orThunk((()=>uP(r,o,e)))})(b(),e).fold(h,(e=>{x(e.toolbars,j.some(e.elem))}))}}),17);e.on("init",(()=>{e.on("remove",h),e.on("ScrollContent ScrollWindow ObjectResized ResizeEditor longpress",m),e.on("click keyup focus SetContent",C.throttle),e.on(GT,h),e.on("contexttoolbar-show",(t=>{const n=b();be(n.lookupTable,t.toolbarKey).each((n=>{x([n],we(t.target!==e,t.target)),mg.getContent(u).each(pm.focusIn)}))})),e.on("focusout",(t=>{gg.setEditorTimeout(e,(()=>{Gl(n.element).isNone()&&Gl(u.element).isNone()&&h()}),0)})),e.on("SwitchMode",(()=>{e.mode.isReadOnly()&&h()})),e.on("AfterProgressState",(t=>{t.state?h():e.hasFocus()&&C.throttle()})),e.on("NodeChange",(e=>{Gl(u.element).fold(C.throttle,v)}))}))},bP={unsupportedLength:["em","ex","cap","ch","ic","rem","lh","rlh","vw","vh","vi","vb","vmin","vmax","cm","mm","Q","in","pc","pt","px"],fixed:["px","pt"],relative:["%"],empty:[""]},yP=(()=>{const e="[0-9]+",t="[eE][+-]?[0-9]+",n=e=>`(?:${e})?`,r=["Infinity","[0-9]+\\."+n(e)+n(t),"\\.[0-9]+"+n(t),e+n(t)].join("|");return new RegExp(`^(${`[+-]?(?:${r})`})(.*)$`)})(),AP=(e,t)=>j.from(yP.exec(e)).bind((e=>{const n=Number(e[1]),r=e[2];return((e,t)=>I(t,(t=>I(bP[t],(t=>e===t)))))(r,t)?j.some({value:n,unit:r}):j.none()})),xP=(e,t)=>{const n=()=>{const n=t.getOptions(e),r=t.getCurrent(e).map(t.hash),o=pc();return z(n,(n=>({type:"togglemenuitem",text:t.display(n),onSetup:i=>{const a=e=>{e&&(o.on((e=>e.setActive(!1))),o.set(i)),i.setActive(e)};a(xe(r,t.hash(n)));const s=t.watcher(e,n,a);return()=>{o.clear(),s()}},onAction:()=>t.setCurrent(e,n)})))};e.ui.registry.addMenuButton(t.name,{tooltip:t.text,icon:t.icon,fetch:e=>e(n()),onSetup:t.onToolbarSetup}),e.ui.registry.addNestedMenuItem(t.name,{type:"nestedmenuitem",text:t.text,getSubmenuItems:n,onSetup:t.onMenuSetup})},CP={name:"lineheight",text:"Line height",icon:"line-height",getOptions:_v,hash:e=>((e,t)=>AP(e,t).map((({value:e,unit:t})=>e+t)))(e,["fixed","relative","empty"]).getOr(e),display:x,watcher:(e,t,n)=>e.formatter.formatChanged("lineheight",n,!1,{value:t}).unbind,getCurrent:e=>j.from(e.queryCommandValue("LineHeight")),setCurrent:(e,t)=>e.execCommand("LineHeight",!1,t)},_P=e=>{xP(e,CP),(e=>j.from(Kg(e)).map((t=>({name:"language",text:"Language",icon:"language",getOptions:A(t),hash:e=>d(e.customCode)?e.code:`${e.code}/${e.customCode}`,display:e=>e.title,watcher:(e,t,n)=>{var r;return e.formatter.formatChanged("lang",n,!1,{value:t.code,customValue:null!==(r=t.customCode)&&void 0!==r?r:null}).unbind},getCurrent:e=>{const t=Me.fromDom(e.selection.getNode());return Io(t,(e=>j.some(e).filter(qe).bind((e=>Ct(e,"lang").map((t=>({code:t,customCode:Ct(e,"data-mce-lang").getOrUndefined(),title:""})))))))},setCurrent:(e,t)=>e.execCommand("Lang",!1,t),onToolbarSetup:t=>{const n=fc();return t.setActive(e.formatter.match("lang",{},void 0,!0)),n.set(e.formatter.formatChanged("lang",t.setActive,!0)),n.clear}}))))(e).each((t=>xP(e,t)))},wP=(e,t)=>{((e,t)=>{const n=Yj(0,t,Xj(e));e.ui.registry.addNestedMenuItem("align",{text:t.shared.providers.translate("Align"),getSubmenuItems:()=>n.items.validateItems(n.getStyleItems())})})(e,t),((e,t)=>{const n=Yj(0,t,nT(e));e.ui.registry.addNestedMenuItem("fontfamily",{text:t.shared.providers.translate("Fonts"),getSubmenuItems:()=>n.items.validateItems(n.getStyleItems())})})(e,t),((e,t)=>{const n={type:"advanced",...t.styles},r=Yj(0,t,lT(e,n));e.ui.registry.addNestedMenuItem("styles",{text:"Formats",getSubmenuItems:()=>r.items.validateItems(r.getStyleItems())})})(e,t),((e,t)=>{const n=Yj(0,t,Jj(e));e.ui.registry.addNestedMenuItem("blocks",{text:"Blocks",getSubmenuItems:()=>n.items.validateItems(n.getStyleItems())})})(e,t),((e,t)=>{const n=Yj(0,t,sT(e));e.ui.registry.addNestedMenuItem("fontsize",{text:"Font sizes",getSubmenuItems:()=>n.items.validateItems(n.getStyleItems())})})(e,t)},kP=e=>Uj(e,"NodeChange",(t=>{t.setEnabled(e.queryCommandState("outdent"))})),SP=e=>{(e=>{e.ui.registry.addButton("outdent",{tooltip:"Decrease indent",icon:"outdent",onSetup:kP(e),onAction:Wj(e,"outdent")}),e.ui.registry.addButton("indent",{tooltip:"Increase indent",icon:"indent",onAction:Wj(e,"indent")})})(e)},EP=(e,t)=>n=>{n.setActive(t.get());const r=e=>{t.set(e.state),n.setActive(e.state)};return e.on("PastePlainTextToggle",r),()=>e.off("PastePlainTextToggle",r)},BP=(e,t)=>()=>{e.execCommand("mceToggleFormat",!1,t)},OP=e=>{(e=>{xk.each([{name:"bold",text:"Bold",icon:"bold"},{name:"italic",text:"Italic",icon:"italic"},{name:"underline",text:"Underline",icon:"underline"},{name:"strikethrough",text:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",icon:"superscript"}],((t,n)=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onSetup:qj(e,t.name),onAction:BP(e,t.name)})}));for(let t=1;t<=6;t++){const n="h"+t;e.ui.registry.addToggleButton(n,{text:n.toUpperCase(),tooltip:"Heading "+t,onSetup:qj(e,n),onAction:BP(e,n)})}})(e),(e=>{xk.each([{name:"cut",text:"Cut",action:"Cut",icon:"cut"},{name:"copy",text:"Copy",action:"Copy",icon:"copy"},{name:"paste",text:"Paste",action:"Paste",icon:"paste"},{name:"help",text:"Help",action:"mceHelp",icon:"help"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"remove",text:"Remove",action:"Delete",icon:"remove"},{name:"print",text:"Print",action:"mcePrint",icon:"print"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],(t=>{e.ui.registry.addButton(t.name,{tooltip:t.text,icon:t.icon,onAction:Wj(e,t.action)})}))})(e),(e=>{xk.each([{name:"blockquote",text:"Blockquote",action:"mceBlockQuote",icon:"quote"}],(t=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:Wj(e,t.action),onSetup:qj(e,t.name)})}))})(e)},jP=e=>{OP(e),(e=>{xk.each([{name:"bold",text:"Bold",action:"Bold",icon:"bold",shortcut:"Meta+B"},{name:"italic",text:"Italic",action:"Italic",icon:"italic",shortcut:"Meta+I"},{name:"underline",text:"Underline",action:"Underline",icon:"underline",shortcut:"Meta+U"},{name:"strikethrough",text:"Strikethrough",action:"Strikethrough",icon:"strike-through"},{name:"subscript",text:"Subscript",action:"Subscript",icon:"subscript"},{name:"superscript",text:"Superscript",action:"Superscript",icon:"superscript"},{name:"removeformat",text:"Clear formatting",action:"RemoveFormat",icon:"remove-formatting"},{name:"newdocument",text:"New document",action:"mceNewDocument",icon:"new-document"},{name:"cut",text:"Cut",action:"Cut",icon:"cut",shortcut:"Meta+X"},{name:"copy",text:"Copy",action:"Copy",icon:"copy",shortcut:"Meta+C"},{name:"paste",text:"Paste",action:"Paste",icon:"paste",shortcut:"Meta+V"},{name:"selectall",text:"Select all",action:"SelectAll",icon:"select-all",shortcut:"Meta+A"},{name:"print",text:"Print...",action:"mcePrint",icon:"print",shortcut:"Meta+P"},{name:"hr",text:"Horizontal line",action:"InsertHorizontalRule",icon:"horizontal-rule"}],(t=>{e.ui.registry.addMenuItem(t.name,{text:t.text,icon:t.icon,shortcut:t.shortcut,onAction:Wj(e,t.action)})})),e.ui.registry.addMenuItem("codeformat",{text:"Code",icon:"sourcecode",onAction:BP(e,"code")})})(e)},TP=(e,t)=>Uj(e,"Undo Redo AddUndo TypingUndo ClearUndos SwitchMode",(n=>{n.setEnabled(!e.mode.isReadOnly()&&e.undoManager[t]())})),PP=e=>{(e=>{e.ui.registry.addMenuItem("undo",{text:"Undo",icon:"undo",shortcut:"Meta+Z",onSetup:TP(e,"hasUndo"),onAction:Wj(e,"undo")}),e.ui.registry.addMenuItem("redo",{text:"Redo",icon:"redo",shortcut:"Meta+Y",onSetup:TP(e,"hasRedo"),onAction:Wj(e,"redo")})})(e),(e=>{e.ui.registry.addButton("undo",{tooltip:"Undo",icon:"undo",enabled:!1,onSetup:TP(e,"hasUndo"),onAction:Wj(e,"undo")}),e.ui.registry.addButton("redo",{tooltip:"Redo",icon:"redo",enabled:!1,onSetup:TP(e,"hasRedo"),onAction:Wj(e,"redo")})})(e)},MP=e=>Uj(e,"VisualAid",(t=>{t.setActive(e.hasVisual)})),DP=e=>{(e=>{e.ui.registry.addButton("visualaid",{tooltip:"Visual aids",text:"Visual aids",onAction:Wj(e,"mceToggleVisualAid")})})(e),(e=>{e.ui.registry.addToggleMenuItem("visualaid",{text:"Visual aids",onSetup:MP(e),onAction:Wj(e,"mceToggleVisualAid")})})(e)},RP=(e,t)=>{(e=>{q([{name:"alignleft",text:"Align left",cmd:"JustifyLeft",icon:"align-left"},{name:"aligncenter",text:"Align center",cmd:"JustifyCenter",icon:"align-center"},{name:"alignright",text:"Align right",cmd:"JustifyRight",icon:"align-right"},{name:"alignjustify",text:"Justify",cmd:"JustifyFull",icon:"align-justify"}],(t=>{e.ui.registry.addToggleButton(t.name,{tooltip:t.text,icon:t.icon,onAction:Wj(e,t.cmd),onSetup:qj(e,t.name)})})),e.ui.registry.addButton("alignnone",{tooltip:"No alignment",icon:"align-none",onAction:Wj(e,"JustifyNone")})})(e),jP(e),wP(e,t),PP(e),(e=>{(e=>{e.addCommand("mceApplyTextcolor",((t,n)=>{((e,t,n)=>{e.undoManager.transact((()=>{e.focus(),e.formatter.apply(t,{value:n}),e.nodeChanged()}))})(e,t,n)})),e.addCommand("mceRemoveTextcolor",(t=>{((e,t)=>{e.undoManager.transact((()=>{e.focus(),e.formatter.remove(t,{value:null},void 0,!0),e.nodeChanged()}))})(e,t)}))})(e);const t=Oo(ox),n=Oo(ox);dx(e,"forecolor","forecolor","Text color",t),dx(e,"backcolor","hilitecolor","Background color",n),fx(e,"forecolor","forecolor","Text color"),fx(e,"backcolor","hilitecolor","Background color")})(e),DP(e),SP(e),_P(e),(e=>{const t=Oo(vv(e)),n=()=>e.execCommand("mceTogglePlainTextPaste");e.ui.registry.addToggleButton("pastetext",{active:!1,icon:"paste-text",tooltip:"Paste as text",onAction:n,onSetup:EP(e,t)}),e.ui.registry.addToggleMenuItem("pastetext",{text:"Paste as text",icon:"paste-text",onAction:n,onSetup:EP(e,t)})})(e)},LP=e=>i(e)?e.split(/[ ,]/):e,IP=e=>t=>t.options.get(e),NP=IP("contextmenu_never_use_native"),FP=IP("contextmenu_avoid_overlap"),zP=e=>{const t=e.ui.registry.getAll().contextMenus,n=e.options.get("contextmenu");return e.options.isSet("contextmenu")?n:H(n,(e=>ye(t,e)))},qP=(e,t)=>({type:"makeshift",x:e,y:t}),UP=e=>"longpress"===e.type||0===e.type.indexOf("touch"),HP=(e,t)=>{const n=Mg.DOM.getPos(e);return((e,t,n)=>qP(e.x+t,e.y+n))(t,n.x,n.y)},WP=(e,t)=>"contextmenu"===t.type||"longpress"===t.type?e.inline?(e=>{if(UP(e)){const t=e.touches[0];return qP(t.pageX,t.pageY)}return qP(e.pageX,e.pageY)})(t):HP(e.getContentAreaContainer(),(e=>{if(UP(e)){const t=e.touches[0];return qP(t.clientX,t.clientY)}return qP(e.clientX,e.clientY)})(t)):VP(e),VP=e=>({type:"selection",root:Me.fromDom(e.selection.getNode())}),YP=(e,t,n)=>{switch(n){case"node":return(e=>({type:"node",node:j.some(Me.fromDom(e.selection.getNode())),root:Me.fromDom(e.getBody())}))(e);case"point":return WP(e,t);case"selection":return VP(e)}},ZP=(e,t,n,r,o,i)=>{const a=n(),s=YP(e,t,i);Vk(a,Fv.CLOSE_ON_EXECUTE,r,{isHorizontalMenu:!1,search:j.none()}).map((e=>{t.preventDefault(),mg.showMenuAt(o,{anchor:s},{menu:{markers:eb("normal")},data:e})}))},GP={onLtr:()=>[Cl,vl,bl,yl,Al,xl,lE,cE,sE,iE,aE,oE],onRtl:()=>[Cl,bl,vl,Al,yl,xl,lE,cE,aE,oE,sE,iE]},KP={valignCentre:[],alignCentre:[],alignLeft:["tox-pop--align-left"],alignRight:["tox-pop--align-right"],right:["tox-pop--right"],left:["tox-pop--left"],bottom:["tox-pop--bottom"],top:["tox-pop--top"]},$P=(e,t,n,r,o,i,a)=>{const s=((e,t,n)=>{const r=YP(e,t,n);return{bubble:Pc(0,"point"===n?12:0,KP),layouts:GP,overrides:{maxWidthFunction:XO(),maxHeightFunction:Bc()},...r}})(e,t,i);Vk(n,Fv.CLOSE_ON_EXECUTE,r,{isHorizontalMenu:!0,search:j.none()}).map((n=>{t.preventDefault();const l=a?fg.HighlightMenuAndItem:fg.HighlightNone;mg.showMenuWithinBounds(o,{anchor:s},{menu:{markers:eb("normal"),highlightOnOpen:l},data:n,type:"horizontal"},(()=>j.some(nP(e,r.shared,"node"===i?"node":"selection")))),e.dispatch(GT)}))},XP=(e,t,n,r,o,i)=>{const a=kn(),s=a.os.isiOS(),l=a.os.isMacOS(),c=a.os.isAndroid(),u=a.deviceType.isTouch(),d=()=>{const a=n();$P(e,t,a,r,o,i,!(c||s||l&&u))};if((l||s)&&"node"!==i){const n=()=>{(e=>{const t=e.selection.getRng(),n=()=>{gg.setEditorTimeout(e,(()=>{e.selection.setRng(t)}),10),i()};e.once("touchend",n);const r=e=>{e.preventDefault(),e.stopImmediatePropagation()};e.on("mousedown",r,!0);const o=()=>i();e.once("longpresscancel",o);const i=()=>{e.off("touchend",n),e.off("longpresscancel",o),e.off("mousedown",r)}})(e),d()};((e,t)=>{const n=e.selection;if(n.isCollapsed()||t.touches.length<1)return!1;{const r=t.touches[0],o=n.getRng();return bu(e.getWin(),iu.domRange(o)).exists((e=>e.left<=r.clientX&&e.right>=r.clientX&&e.top<=r.clientY&&e.bottom>=r.clientY))}})(e,t)?n():(e.once("selectionchange",n),e.once("touchend",(()=>e.off("selectionchange",n))))}else d()},QP=e=>i(e)?"|"===e:"separator"===e.type,JP={type:"separator"},eM=e=>{const t=e=>({text:e.text,icon:e.icon,enabled:e.enabled,shortcut:e.shortcut});if(i(e))return e;switch(e.type){case"separator":return JP;case"submenu":return{type:"nestedmenuitem",...t(e),getSubmenuItems:()=>{const t=e.getSubmenuItems();return i(t)?t:z(t,eM)}};default:const n=e;return{type:"menuitem",...t(n),onAction:b(n.onAction)}}},tM=(e,t)=>{if(0===t.length)return e;const n=oe(e).filter((e=>!QP(e))),r=n.fold((()=>[]),(e=>[JP]));return e.concat(r).concat(t).concat([JP])},nM=(e,t)=>!(e=>"longpress"===e.type||ye(e,"touches"))(t)&&(2!==t.button||t.target===e.getBody()&&""===t.pointerType),rM=(e,t)=>nM(e,t)?e.selection.getStart(!0):t.target,oM=(e,t,n)=>{const r=kn().deviceType.isTouch,o=gs(mg.sketch({dom:{tag:"div"},lazySink:t,onEscape:()=>e.focus(),onShow:()=>n.setContextMenuState(!0),onHide:()=>n.setContextMenuState(!1),fireDismissalEventInstead:{},inlineBehaviours:Il([_m("dismissContextMenu",[Vi(Bi(),((t,n)=>{bd.close(t),e.focus()}))])])})),a=()=>mg.hide(o),s=t=>{if(NP(e)&&t.preventDefault(),((e,t)=>t.ctrlKey&&!NP(e))(e,t)||(e=>0===zP(e).length)(e))return;const a=((e,t)=>{const n=FP(e),r=nM(e,t)?"selection":"point";if(je(n)){const o=rM(e,t);return pC(Me.fromDom(o),n)?"node":r}return r})(e,t);(r()?XP:ZP)(e,t,(()=>{const n=rM(e,t),r=e.ui.registry.getAll(),o=zP(e);return((e,t,n)=>{const r=V(t,((t,r)=>be(e,r.toLowerCase()).map((e=>{const r=e.update(n);if(i(r))return tM(t,r.split(" "));if(r.length>0){const e=z(r,eM);return tM(t,e)}return t})).getOrThunk((()=>t.concat([r])))),[]);return r.length>0&&QP(r[r.length-1])&&r.pop(),r})(r.contextMenus,o,n)}),n,o,a)};e.on("init",(()=>{const t="ResizeEditor ScrollContent ScrollWindow longpresscancel"+(r()?"":" ResizeWindow");e.on(t,a),e.on("longpress contextmenu",s)}))},iM=jo([{offset:["x","y"]},{absolute:["x","y"]},{fixed:["x","y"]}]),aM=e=>t=>t.translate(-e.left,-e.top),sM=e=>t=>t.translate(e.left,e.top),lM=e=>(t,n)=>V(e,((e,t)=>t(e)),Ut(t,n)),cM=(e,t,n)=>e.fold(lM([sM(n),aM(t)]),lM([aM(t)]),lM([])),uM=(e,t,n)=>e.fold(lM([sM(n)]),lM([]),lM([sM(t)])),dM=(e,t,n)=>e.fold(lM([]),lM([aM(n)]),lM([sM(t),aM(n)])),fM=(e,t,n)=>{const r=e.fold(((e,t)=>({position:j.some("absolute"),left:j.some(e+"px"),top:j.some(t+"px")})),((e,t)=>({position:j.some("absolute"),left:j.some(e-n.left+"px"),top:j.some(t-n.top+"px")})),((e,t)=>({position:j.some("fixed"),left:j.some(e+"px"),top:j.some(t+"px")})));return{right:j.none(),bottom:j.none(),...r}},pM=(e,t,n,r)=>{const o=(e,o)=>(i,a)=>{const s=e(t,n,r);return o(i.getOr(s.left),a.getOr(s.top))};return e.fold(o(dM,hM),o(uM,mM),o(cM,gM))},hM=iM.offset,mM=iM.absolute,gM=iM.fixed,vM=(e,t)=>{const n=xt(e,t);return d(n)?NaN:parseInt(n,10)},bM=(e,t,n,r)=>((e,t)=>{const n=e.element,r=vM(n,t.leftAttr),o=vM(n,t.topAttr);return isNaN(r)||isNaN(o)?j.none():j.some(Ut(r,o))})(e,t).fold((()=>n),(e=>gM(e.left+r.left,e.top+r.top))),yM=(e,t,n,r,o,i)=>{const a=bM(e,t,n,r),s=t.mustSnap?CM(e,t,a,o,i):_M(e,t,a,o,i),l=cM(a,o,i);return((e,t,n)=>{const r=e.element;yt(r,t.leftAttr,n.left+"px"),yt(r,t.topAttr,n.top+"px")})(e,t,l),s.fold((()=>({coord:gM(l.left,l.top),extra:j.none()})),(e=>({coord:e.output,extra:e.extra})))},AM=(e,t)=>{((e,t)=>{const n=e.element;wt(n,t.leftAttr),wt(n,t.topAttr)})(e,t)},xM=(e,t,n,r)=>ae(e,(e=>{const o=e.sensor,i=((e,t,n,r,o,i)=>{const a=uM(e,o,i),s=uM(t,o,i);return Math.abs(a.left-s.left)<=n&&Math.abs(a.top-s.top)<=r})(t,o,e.range.left,e.range.top,n,r);return i?j.some({output:pM(e.output,t,n,r),extra:e.extra}):j.none()})),CM=(e,t,n,r,o)=>{const i=t.getSnapPoints(e);return xM(i,n,r,o).orThunk((()=>{const e=V(i,((e,t)=>{const i=t.sensor,a=((e,t,n,r,o,i)=>{const a=uM(e,o,i),s=uM(t,o,i),l=Math.abs(a.left-s.left),c=Math.abs(a.top-s.top);return Ut(l,c)})(n,i,t.range.left,t.range.top,r,o);return e.deltas.fold((()=>({deltas:j.some(a),snap:j.some(t)})),(n=>(a.left+a.top)/2<=(n.left+n.top)/2?{deltas:j.some(a),snap:j.some(t)}:e))}),{deltas:j.none(),snap:j.none()});return e.snap.map((e=>({output:pM(e.output,n,r,o),extra:e.extra})))}))},_M=(e,t,n,r,o)=>{const i=t.getSnapPoints(e);return xM(i,n,r,o)};var wM=Object.freeze({__proto__:null,snapTo:(e,t,n,r)=>{const o=t.getTarget(e.element);if(t.repositionTarget){const t=$e(e.element),n=Ln(t),i=kB(o),a=((e,t,n)=>({coord:pM(e.output,e.output,t,n),extra:e.extra}))(r,n,i),s=fM(a.coord,0,i);Ot(o,s)}}});const kM="data-initial-z-index",SM=(e,t)=>{e.getSystem().addToGui(t),(e=>{et(e.element).filter(qe).each((t=>{Pt(t,"z-index").each((e=>{yt(t,kM,e)})),Et(t,"z-index",jt(e.element,"z-index"))}))})(t)},EM=e=>{(e=>{et(e.element).filter(qe).each((e=>{Ct(e,kM).fold((()=>Rt(e,"z-index")),(t=>Et(e,"z-index",t))),wt(e,kM)}))})(e),e.getSystem().removeFromGui(e)},BM=(e,t,n)=>e.getSystem().build(SC.sketch({dom:{styles:{left:"0px",top:"0px",width:"100%",height:"100%",position:"fixed","z-index":"1000000000000000"},classes:[t]},events:n}));var OM=yo("snaps",[no("getSnapPoints"),Ws("onSensor"),no("leftAttr"),no("topAttr"),Ao("lazyViewport",Zn),Ao("mustSnap",!1)]);const jM=[Ao("useFixed",E),no("blockerClass"),Ao("getTarget",x),Ao("onDrag",v),Ao("repositionTarget",!0),Ao("onDrop",v),So("getBounds",Zn),OM],TM=e=>((e,t,n,r)=>e.isSome()&&t.isSome()&&n.isSome()?j.some(r(e.getOrDie(),t.getOrDie(),n.getOrDie())):j.none())(Pt(e,"left"),Pt(e,"top"),Pt(e,"position"),((e,t,n)=>("fixed"===n?gM:hM)(parseInt(e,10),parseInt(t,10)))).getOrThunk((()=>{const t=Wt(e);return mM(t.left,t.top)})),PM=(e,t,n,r,o,i,a)=>((e,t,n,r,o)=>{const i=o.bounds,a=uM(t,n,r),s=ll(a.left,i.x,i.x+i.width-o.width),l=ll(a.top,i.y,i.y+i.height-o.height),c=mM(s,l);return t.fold((()=>{const e=dM(c,n,r);return hM(e.left,e.top)}),A(c),(()=>{const e=cM(c,n,r);return gM(e.left,e.top)}))})(0,t.fold((()=>{const e=(t=n,a=i.left,s=i.top,t.fold(((e,t)=>hM(e+a,t+s)),((e,t)=>mM(e+a,t+s)),((e,t)=>gM(e+a,t+s))));var t,a,s;const l=cM(e,r,o);return gM(l.left,l.top)}),(t=>{const a=yM(e,t,n,i,r,o);return a.extra.each((n=>{t.onSensor(e,n)})),a.coord})),r,o,a),MM=(e,t)=>({bounds:e.getBounds(),height:zt(t.element),width:Gt(t.element)}),DM=(e,t,n,r,o)=>{const i=n.update(r,o),a=n.getStartData().getOrThunk((()=>MM(t,e)));i.each((n=>{((e,t,n,r)=>{const o=t.getTarget(e.element);if(t.repositionTarget){const i=$e(e.element),a=Ln(i),s=kB(o),l=TM(o),c=PM(e,t.snaps,l,a,s,r,n),u=fM(c,0,s);Ot(o,u)}t.onDrag(e,o,r)})(e,t,a,n)}))},RM=(e,t,n,r)=>{t.each(EM),n.snaps.each((t=>{AM(e,t)}));const o=n.getTarget(e.element);r.reset(),n.onDrop(e,o)},LM=e=>(t,n)=>{const r=e=>{n.setStartData(MM(t,e))};return Ui([Vi(wi(),(e=>{n.getStartData().each((()=>r(e)))})),...e(t,n,r)])};var IM=Object.freeze({__proto__:null,getData:e=>j.from(Ut(e.x,e.y)),getDelta:(e,t)=>Ut(t.left-e.left,t.top-e.top)});const NM=(e,t,n)=>[Vi(Zo(),((r,o)=>{if(0!==o.event.raw.button)return;o.stop();const i=()=>RM(r,j.some(l),e,t),a=hC(i,200),s={drop:i,delayDrop:a.schedule,forceDrop:i,move:n=>{a.cancel(),DM(r,e,t,IM,n)}},l=BM(r,e.blockerClass,(e=>Ui([Vi(Zo(),e.forceDrop),Vi($o(),e.drop),Vi(Go(),((t,n)=>{e.move(n.event)})),Vi(Ko(),e.delayDrop)]))(s));n(r),SM(r,l)}))],FM=[...jM,Gs("dragger",{handlers:LM(NM)})];var zM=Object.freeze({__proto__:null,getData:e=>{const t=e.raw.touches;return 1===t.length?(e=>{const t=e[0];return j.some(Ut(t.clientX,t.clientY))})(t):j.none()},getDelta:(e,t)=>Ut(t.left-e.left,t.top-e.top)});const qM=(e,t,n)=>{const r=pc(),o=n=>{RM(n,r.get(),e,t),r.clear()};return[Vi(Ho(),((i,a)=>{a.stop();const s=()=>o(i),l={drop:s,delayDrop:v,forceDrop:s,move:n=>{DM(i,e,t,zM,n)}},c=BM(i,e.blockerClass,(e=>Ui([Vi(Ho(),e.forceDrop),Vi(Vo(),e.drop),Vi(Yo(),e.drop),Vi(Wo(),((t,n)=>{e.move(n.event)}))]))(l));r.set(c);n(i),SM(i,c)})),Vi(Wo(),((n,r)=>{r.stop(),DM(n,e,t,zM,r.event)})),Vi(Vo(),((e,t)=>{t.stop(),o(e)})),Vi(Yo(),o)]},UM=FM,HM=[...jM,Gs("dragger",{handlers:LM(qM)})],WM=[...jM,Gs("dragger",{handlers:LM(((e,t,n)=>[...NM(e,t,n),...qM(e,t,n)]))})];var VM=Object.freeze({__proto__:null,mouse:UM,touch:HM,mouseOrTouch:WM});var YM=Object.freeze({__proto__:null,init:()=>{let e=j.none(),t=j.none();const n=A({});return Oa({readState:n,reset:()=>{e=j.none(),t=j.none()},update:(t,n)=>t.getData(n).bind((n=>((t,n)=>{const r=e.map((e=>t.getDelta(e,n)));return e=j.some(n),r})(t,n))),getStartData:()=>t,setStartData:e=>{t=j.some(e)}})}});const ZM=ql({branchKey:"mode",branches:VM,name:"dragging",active:{events:(e,t)=>e.dragger.handlers(e,t)},extra:{snap:e=>({sensor:e.sensor,range:e.range,output:e.output,extra:j.from(e.extra)})},state:YM,apis:wM}),GM=(e,t,n,r,o,i)=>e.fold((()=>ZM.snap({sensor:mM(n-20,r-20),range:Ut(o,i),output:mM(j.some(n),j.some(r)),extra:{td:t}})),(e=>{const o=n-20,i=r-20,a=e.element.dom.getBoundingClientRect();return ZM.snap({sensor:mM(o,i),range:Ut(40,40),output:mM(j.some(n-a.width/2),j.some(r-a.height/2)),extra:{td:t}})})),KM=(e,t,n)=>({getSnapPoints:e,leftAttr:"data-drag-left",topAttr:"data-drag-top",onSensor:(e,r)=>{const o=r.td;((e,t)=>e.exists((e=>Ge(e,t))))(t.get(),o)||(t.set(o),n(o))},mustSnap:!0}),$M=e=>bg(vg.sketch({dom:{tag:"div",classes:["tox-selector"]},buttonBehaviours:Il([ZM.config({mode:"mouseOrTouch",blockerClass:"blocker",snaps:e}),i_.config({})]),eventOrder:{mousedown:["dragging","alloy.base.behaviour"],touchstart:["dragging","alloy.base.behaviour"]}})),XM=(e,t)=>{const n=Oo([]),r=Oo([]),o=Oo(!1),i=pc(),a=pc(),s=e=>{const n=Yn(e);return GM(d.getOpt(t),e,n.x,n.y,n.width,n.height)},l=e=>{const n=Yn(e);return GM(f.getOpt(t),e,n.right,n.bottom,n.width,n.height)},c=KM((()=>z(n.get(),(e=>s(e)))),i,(t=>{a.get().each((n=>{e.dispatch("TableSelectorChange",{start:t,finish:n})}))})),u=KM((()=>z(r.get(),(e=>l(e)))),a,(t=>{i.get().each((n=>{e.dispatch("TableSelectorChange",{start:n,finish:t})}))})),d=$M(c),f=$M(u),p=gs(d.asSpec()),h=gs(f.asSpec()),m=(t,n,r,o)=>{const i=r(n);ZM.snapTo(t,i);((t,n,r,o)=>{const i=n.dom.getBoundingClientRect();Rt(t.element,"display");const a=Je(Me.fromDom(e.getBody())).dom.innerHeight,s=r(i),l=o(i,a);(s||l)&&Et(t.element,"display","none")})(t,n,(e=>e[o]<0),((e,t)=>e[o]>t))},g=e=>m(p,e,s,"top"),v=e=>m(h,e,l,"bottom");kn().deviceType.isTouch()&&(e.on("TableSelectionChange",(e=>{o.get()||(ed(t,p),ed(t,h),o.set(!0)),i.set(e.start),a.set(e.finish),e.otherCells.each((t=>{n.set(t.upOrLeftCells),r.set(t.downOrRightCells),g(e.start),v(e.finish)}))})),e.on("ResizeEditor ResizeWindow ScrollContent",(()=>{i.get().each(g),a.get().each(v)})),e.on("TableSelectionClear",(()=>{o.get()&&(rd(p),rd(h),o.set(!1)),i.clear(),a.clear()})))};const QM=(e,t,n)=>{var r;const o=null!==(r=t.delimiter)&&void 0!==r?r:"›",i=t=>V(t,((t,r,i)=>{const a=((t,r,o)=>vg.sketch({dom:{tag:"div",classes:["tox-statusbar__path-item"],attributes:{"data-index":o,"aria-level":o+1}},components:[fs(t)],action:t=>{e.focus(),e.selection.select(r),e.nodeChanged()},buttonBehaviours:Il([Xy(n.isDisabled),Ky()])}))(r.name,r.element,i);return 0===i?t.concat([a]):t.concat([{dom:{tag:"div",classes:["tox-statusbar__path-divider"],attributes:{"aria-hidden":!0}},components:[fs(` ${o} `)]},a])}),[]);return{dom:{tag:"div",classes:["tox-statusbar__path"],attributes:{role:"navigation"}},behaviours:Il([pm.config({mode:"flow",selector:"div[role=button]"}),lp.config({disabled:n.isDisabled}),Ky(),MC.config({}),Cm.config({}),_m("elementPathEvents",[Ji(((t,n)=>{e.shortcuts.add("alt+F11","focus statusbar elementpath",(()=>pm.focusIn(t))),e.on("NodeChange",(n=>{const r=(t=>{const n=[];let r=t.length;for(;r-- >0;){const i=t[r];if(1===i.nodeType&&"BR"!==(o=i).nodeName&&!o.getAttribute("data-mce-bogus")&&"bookmark"!==o.getAttribute("data-mce-type")){const t=WA(e,i);if(t.isDefaultPrevented()||n.push({name:t.name,element:i}),t.isPropagationStopped())break}}var o;return n})(n.parents),o=r.length>0?i(r):[];Cm.set(t,o)}))}))])]),components:[]}};var JM;!function(e){e[e.None=0]="None",e[e.Both=1]="Both",e[e.Vertical=2]="Vertical"}(JM||(JM={}));const eD=(e,t,n)=>{const r=Me.fromDom(e.getContainer()),o=((e,t,n,r,o)=>{const i={height:zT(r+t.top,Hg(e),Vg(e))};return n===JM.Both&&(i.width=zT(o+t.left,Ug(e),Wg(e))),i})(e,t,n,Ft(r),Zt(r));ce(o,((e,t)=>{m(e)&&Et(r,t,FT(e))})),(e=>{e.dispatch("ResizeEditor")})(e)},tD=(e,t,n,r)=>{const o=Ut(20*n,20*r);return eD(e,o,t),j.some(!0)},nD=(e,t)=>{const n=(e=>{const t=gv(e);return!1===t?JM.None:"both"===t?JM.Both:JM.Vertical})(e);return n===JM.None?j.none():j.some(Bg("resize-handle",{tag:"div",classes:["tox-statusbar__resize-handle"],attributes:{title:t.translate("Resize")},behaviours:[ZM.config({mode:"mouse",repositionTarget:!1,onDrag:(t,r,o)=>eD(e,o,n),blockerClass:"tox-blocker"}),pm.config({mode:"special",onLeft:()=>tD(e,n,-1,0),onRight:()=>tD(e,n,1,0),onUp:()=>tD(e,n,0,-1),onDown:()=>tD(e,n,0,1)}),MC.config({}),Bm.config({})]},t.icons))},rD=(e,t)=>{const n=()=>{const n=[];return hv(e)&&n.push(QM(e,{},t)),e.hasPlugin("wordcount")&&n.push(((e,t)=>{const n=(e,n,r)=>Cm.set(e,[fs(t.translate(["{0} "+r,n[r]]))]);return vg.sketch({dom:{tag:"button",classes:["tox-statusbar__wordcount"]},components:[],buttonBehaviours:Il([Xy(t.isDisabled),Ky(),MC.config({}),Cm.config({}),Nd.config({store:{mode:"memory",initialValue:{mode:"words",count:{words:0,characters:0}}}}),_m("wordcount-events",[na((e=>{const t=Nd.getValue(e),r="words"===t.mode?"characters":"words";Nd.setValue(e,{mode:r,count:t.count}),n(e,t.count,r)})),Ji((t=>{e.on("wordCountUpdate",(e=>{const{mode:r}=Nd.getValue(t);Nd.setValue(t,{mode:r,count:e.wordCount}),n(t,e.wordCount,r)}))}))])]),eventOrder:{[mi()]:["disabling","alloy.base.behaviour","wordcount-events"]}})})(e,t)),mv(e)&&n.push({dom:{tag:"span",classes:["tox-statusbar__branding"]},components:[{dom:{tag:"a",attributes:{href:"https://www.tiny.cloud/powered-by-tiny?utm_campaign=editor_referral&utm_medium=poweredby&utm_source=tinymce&utm_content=v6",rel:"noopener",target:"_blank","aria-label":yg.translate(["Powered by {0}","Tiny"])},innerHtml:'<svg width="50px" height="16px" viewBox="0 0 50 16" xmlns="http://www.w3.org/2000/svg">\n  <path fill-rule="evenodd" clip-rule="evenodd" d="M10.143 0c2.608.015 5.186 2.178 5.186 5.331 0 0 .077 3.812-.084 4.87-.361 2.41-2.164 4.074-4.65 4.496-1.453.284-2.523.49-3.212.623-.373.071-.634.122-.785.152-.184.038-.997.145-1.35.145-2.732 0-5.21-2.04-5.248-5.33 0 0 0-3.514.03-4.442.093-2.4 1.758-4.342 4.926-4.963 0 0 3.875-.752 4.036-.782.368-.07.775-.1 1.15-.1Zm1.826 2.8L5.83 3.989v2.393l-2.455.475v5.968l6.137-1.189V9.243l2.456-.476V2.8ZM5.83 6.382l3.682-.713v3.574l-3.682.713V6.382Zm27.173-1.64-.084-1.066h-2.226v9.132h2.456V7.743c-.008-1.151.998-2.064 2.149-2.072 1.15-.008 1.987.92 1.995 2.072v5.065h2.455V7.359c-.015-2.18-1.657-3.929-3.837-3.913a3.993 3.993 0 0 0-2.908 1.296Zm-6.3-4.266L29.16 0v2.387l-2.456.475V.476Zm0 3.2v9.132h2.456V3.676h-2.456Zm18.179 11.787L49.11 3.676H46.58l-1.612 4.527-.46 1.382-.384-1.382-1.611-4.527H39.98l3.3 9.132L42.15 16l2.732-.537ZM22.867 9.738c0 .752.568 1.075.921 1.075.353 0 .668-.047.998-.154l.537 1.765c-.23.154-.92.537-2.225.537-1.305 0-2.655-.997-2.686-2.686a136.877 136.877 0 0 1 0-4.374H18.8V3.676h1.612v-1.98l2.455-.476v2.456h2.302V5.9h-2.302v3.837Z"/>\n</svg>\n'.trim()},behaviours:Il([Bm.config({})])}]}),n.length>0?[{dom:{tag:"div",classes:["tox-statusbar__text-container"]},components:n}]:[]};return{dom:{tag:"div",classes:["tox-statusbar"]},components:(()=>{const r=n(),o=nD(e,t);return r.concat(o.toArray())})()}},oD=e=>e.get().getOrDie("UI has not been rendered"),iD=e=>{const t=e.inline,n=t?ZT:IT,r=Pv(e)?JB:_B,o=pc(),i=pc(),a=pc(),s=pc(),l=kn().deviceType.isTouch()?["tox-platform-touch"]:[],c=Ev(e),u=Xg(e),d=bg({dom:{tag:"div",classes:["tox-anchorbar"]}}),f=()=>i.get().bind(jj.getHeader),p=()=>$n.fromOption(o.get(),"UI has not been rendered"),h=()=>i.get().bind((e=>jj.getToolbar(e))).getOrDie("Could not find more toolbar element"),m=()=>i.get().bind((e=>jj.getThrobber(e))).getOrDie("Could not find throbber element"),g=uB(p,e,(()=>i.get().bind((e=>d.getOpt(e))).getOrDie("Could not find a anchor bar element"))),v=()=>jj.parts.promotion({dom:{tag:"div",classes:["tox-promotion"]}}),b=()=>{const n=(()=>{const t={attributes:{[Nc]:c?Ic.BottomToTop:Ic.TopToBottom}},n=jj.parts.menubar({dom:{tag:"div",classes:["tox-menubar"]},backstage:g,onEscape:()=>{e.focus()}}),r=jj.parts.toolbar({dom:{tag:"div",classes:["tox-toolbar"]},getSink:p,providers:g.shared.providers,onEscape:()=>{e.focus()},type:u,lazyToolbar:h,lazyHeader:()=>f().getOrDie("Could not find header element"),...t}),o=jj.parts["multiple-toolbar"]({dom:{tag:"div",classes:["tox-toolbar-overlord"]},providers:g.shared.providers,onEscape:()=>{e.focus()},type:u}),i=Sv(e),a=wv(e),s=xv(e),l=yv(e),m=v(),b=l?[m,n]:[n];return jj.parts.header({dom:{tag:"div",classes:["tox-editor-header"],...t},components:G([s?b:[],i?[o]:a?[r]:[],Ov(e)?[]:[d.asSpec()]]),sticky:Pv(e),editor:e,sharedBackstage:g.shared})})(),r={dom:{tag:"div",classes:["tox-sidebar-wrap"]},components:[jj.parts.socket({dom:{tag:"div",classes:["tox-edit-area"]}}),jj.parts.sidebar({dom:{tag:"div",classes:["tox-sidebar"]}})]},o=jj.parts.throbber({dom:{tag:"div",classes:["tox-throbber"]},backstage:g}),s=pv(e)&&!t?j.some(rD(e,g.shared.providers)):j.none(),m=G([c?[]:[n],t?[]:[r],c?[n]:[]]),b=G([[{dom:{tag:"div",classes:["tox-editor-container"]},components:m}],t?[]:s.toArray(),[o]]),y=Tv(e),A={role:"application",...yg.isRtl()?{dir:"rtl"}:{},...y?{"aria-hidden":"true"}:{}},x=gs(jj.sketch({dom:{tag:"div",classes:["tox","tox-tinymce"].concat(t?["tox-tinymce-inline"]:[]).concat(c?["tox-tinymce--toolbar-bottom"]:[]).concat(l),styles:{visibility:"hidden",...y?{opacity:"0",border:"0"}:{}},attributes:A},components:b,behaviours:Il([Ky(),lp.config({disableClass:"tox-tinymce--disabled"}),pm.config({mode:"cyclic",selector:".tox-menubar, .tox-toolbar, .tox-toolbar__primary, .tox-toolbar__overflow--open, .tox-sidebar__overflow--open, .tox-statusbar__path, .tox-statusbar__wordcount, .tox-statusbar__branding a, .tox-statusbar__resize-handle"})])})),C=EC(x);return i.set(x),a.set(C),{mothership:C,outerContainer:x}},y=t=>{const n=FT(qT(e)),r=FT((e=>UT(e).getOr(qg(e)))(e));return e.inline||(Dt("div","width",r)&&Et(t.element,"width",r),Dt("div","height",n)?Et(t.element,"height",n):Et(t.element,"height","400px")),n};return{getMothership:()=>oD(a),getUiMothership:()=>oD(s),backstage:g,renderUI:()=>{const{mothership:t,outerContainer:i}=b(),{uiMothership:a,sink:c}=(()=>{const t=jv(e),n=Ge(gt(),t)&&"grid"===jt(t,"display"),i={dom:{tag:"div",classes:["tox","tox-silver-sink","tox-tinymce-aux"].concat(l),attributes:{...yg.isRtl()?{dir:"rtl"}:{}}},behaviours:Il([Yu.config({useFixed:()=>r.isDocked(f)})])},a={dom:{styles:{width:document.body.clientWidth+"px"}},events:Ui([Vi(ki(),(e=>{Et(e.element,"width",document.body.clientWidth+"px")}))])},c=gs(hr(i,n?a:{})),u=EC(c);return o.set(c),s.set(u),{sink:c,uiMothership:u}})();ue(Qg(e),((t,n)=>{e.ui.registry.addGroupToolbarButton(n,t)}));const{buttons:d,menuItems:h,contextToolbars:v,sidebars:A}=e.ui.registry.getAll(),x=kv(e),C={menuItems:h,menus:Mv(e),menubar:ov(e),toolbar:x.getOrThunk((()=>iv(e))),allowToolbarGroups:u===Tg.floating,buttons:d,sidebar:A};(t=>{e.addShortcut("alt+F9","focus menubar",(()=>{jj.focusMenubar(t)})),e.addShortcut("alt+F10","focus toolbar",(()=>{jj.focusToolbar(t)})),e.addCommand("ToggleToolbarDrawer",(()=>{jj.toggleToolbarDrawer(t)})),e.addQueryStateHandler("ToggleToolbarDrawer",(()=>jj.isToolbarDrawerToggled(t)))})(i),((e,t,n)=>{const r=(e,r)=>{q([t,n],(t=>{t.broadcastEvent(e,r)}))},o=(e,r)=>{q([t,n],(t=>{t.broadcastOn([e],r)}))},i=e=>o(yd(),{target:e.target}),a=zn(),s=mc(a,"touchstart",i),l=mc(a,"touchmove",(e=>r(Ci(),e))),c=mc(a,"touchend",(e=>r(_i(),e))),u=mc(a,"mousedown",i),d=mc(a,"mouseup",(e=>{0===e.raw.button&&o(xd(),{target:e.target})})),f=e=>o(yd(),{target:Me.fromDom(e.target)}),p=e=>{0===e.button&&o(xd(),{target:Me.fromDom(e.target)})},h=()=>{q(e.editorManager.get(),(t=>{e!==t&&t.dispatch("DismissPopups",{relatedTarget:e})}))},m=e=>r(wi(),vc(e)),g=e=>{o(Ad(),{}),r(ki(),vc(e))},v=()=>o(Ad(),{}),b=t=>{t.state&&o(yd(),{target:Me.fromDom(e.getContainer())})},y=e=>{o(yd(),{target:Me.fromDom(e.relatedTarget.getContainer())})};e.on("PostRender",(()=>{e.on("click",f),e.on("tap",f),e.on("mouseup",p),e.on("mousedown",h),e.on("ScrollWindow",m),e.on("ResizeWindow",g),e.on("ResizeEditor",v),e.on("AfterProgressState",b),e.on("DismissPopups",y)})),e.on("remove",(()=>{e.off("click",f),e.off("tap",f),e.off("mouseup",p),e.off("mousedown",h),e.off("ScrollWindow",m),e.off("ResizeWindow",g),e.off("ResizeEditor",v),e.off("AfterProgressState",b),e.off("DismissPopups",y),u.unbind(),s.unbind(),l.unbind(),c.unbind(),d.unbind()})),e.on("detach",(()=>{sd(t),sd(n),t.destroy(),n.destroy()}))})(e,t,a),r.setup(e,g.shared,f),RP(e,g),oM(e,p,g),(e=>{const{sidebars:t}=e.ui.registry.getAll();q(se(t),(n=>{const r=t[n],o=()=>xe(j.from(e.queryCommandValue("ToggleSidebar")),n);e.ui.registry.addToggleButton(n,{icon:r.icon,tooltip:r.tooltip,onAction:t=>{e.execCommand("ToggleSidebar",!1,n),t.setActive(o())},onSetup:t=>{t.setActive(o());const n=()=>t.setActive(o());return e.on("ToggleSidebar",n),()=>{e.off("ToggleSidebar",n)}}})}))})(e),qO(e,m,g.shared),vP(e,v,c,{backstage:g}),XM(e,c);const _={mothership:t,uiMothership:a,outerContainer:i,sink:c},w={targetNode:e.getElement(),height:y(i)};return n.render(e,_,C,g,w)}}},aD=A([no("lazySink"),fo("dragBlockClass"),So("getBounds",Zn),Ao("useTabstopAt",B),Ao("eventOrder",{}),Fd("modalBehaviours",[pm]),Vs("onExecute"),Zs("onEscape")]),sD={sketch:x},lD=A([vf({name:"draghandle",overrides:(e,t)=>({behaviours:Il([ZM.config({mode:"mouse",getTarget:e=>Cs(e,'[role="dialog"]').getOr(e),blockerClass:e.dragBlockClass.getOrDie(new Error("The drag blocker class was not specified for a dialog with a drag handle: \n"+JSON.stringify(t,null,2)).message),getBounds:e.getDragBounds})])})}),mf({schema:[no("dom")],name:"title"}),mf({factory:sD,schema:[no("dom")],name:"close"}),mf({factory:sD,schema:[no("dom")],name:"body"}),vf({factory:sD,schema:[no("dom")],name:"footer"}),gf({factory:{sketch:(e,t)=>({...e,dom:t.dom,components:t.components})},schema:[Ao("dom",{tag:"div",styles:{position:"fixed",left:"0px",top:"0px",right:"0px",bottom:"0px"}}),Ao("components",[])],name:"blocker"})]),cD=Wf({name:"ModalDialog",configFields:aD(),partFields:lD(),factory:(e,t,n,r)=>{const o=pc(),i=da("modal-events"),a={...e.eventOrder,[Si()]:[i].concat(e.eventOrder["alloy.system.attached"]||[])};return{uid:e.uid,dom:e.dom,components:t,apis:{show:t=>{o.set(t);const n=e.lazySink(t).getOrDie(),i=r.blocker(),a=n.getSystem().build({...i,components:i.components.concat([vs(t)]),behaviours:Il([Bm.config({}),_m("dialog-blocker-events",[Qi(Qo(),(()=>{pm.focusIn(t)}))])])});ed(n,a),pm.focusIn(t)},hide:e=>{o.clear(),et(e.element).each((t=>{e.getSystem().getByDom(t).each((e=>{rd(e)}))}))},getBody:t=>jf(t,e,"body"),getFooter:t=>jf(t,e,"footer"),setIdle:e=>{IO.unblock(e)},setBusy:(e,t)=>{IO.block(e,t)}},eventOrder:a,domModification:{attributes:{role:"dialog","aria-modal":"true"}},behaviours:qd(e.modalBehaviours,[Cm.config({}),pm.config({mode:"cyclic",onEnter:e.onExecute,onEscape:e.onEscape,useTabstopAt:e.useTabstopAt}),IO.config({getRoot:o.get}),_m(i,[Ji((t=>{((e,t)=>{const n=Ct(e,"id").fold((()=>{const e=da("dialog-label");return yt(t,"id",e),e}),x);yt(e,"aria-labelledby",n)})(t.element,jf(t,e,"title").element),((e,t)=>{const n=j.from(xt(e,"id")).fold((()=>{const e=da("dialog-describe");return yt(t,"id",e),e}),x);yt(e,"aria-describedby",n)})(t.element,jf(t,e,"body").element)}))])])}},apis:{show:(e,t)=>{e.show(t)},hide:(e,t)=>{e.hide(t)},getBody:(e,t)=>e.getBody(t),getFooter:(e,t)=>e.getFooter(t),setBusy:(e,t,n)=>{e.setBusy(t,n)},setIdle:(e,t)=>{e.setIdle(t)}}}),uD=Tr([Sb,Eb].concat(Cy)),dD=zr,fD=[Jb("button"),zb,wo("align","end",["start","end"]),Gb,Zb,go("buttonType",["primary","secondary"])],pD=[...fD,Ob],hD=[ao("type",["submit","cancel","custom"]),...pD],mD=[ao("type",["menu"]),Fb,qb,zb,uo("items",uD),...fD],gD=Qr("type",{submit:hD,cancel:hD,custom:hD,menu:mD}),vD=[Sb,Ob,ao("level",["info","warn","error","success"]),Tb,Ao("url","")],bD=Tr(vD),yD=[Sb,Ob,Zb,Jb("button"),zb,Yb,go("buttonType",["primary","secondary","toolbar"]),Gb],AD=Tr(yD),xD=[Sb,Eb],CD=xD.concat([Ub]),_D=xD.concat([Bb,Zb]),wD=Tr(_D),kD=zr,SD=CD.concat([Kb("auto")]),ED=Tr(SD),BD=Rr([Pb,Ob,Tb]),OD=Tr(CD),jD=Fr,TD=Tr(CD),PD=Fr,MD=xD.concat([_o("tag","textarea"),io("scriptId"),io("scriptUrl"),((e,t)=>xo(e,t,Hr))("settings",void 0)]),DD=xD.concat([_o("tag","textarea"),so("init")]),RD=Yr((e=>Gr("customeditor.old",jr(DD),e).orThunk((()=>Gr("customeditor.new",jr(MD),e))))),LD=Fr,ID=Tr(CD),ND=Pr(wr),FD=e=>[Sb,oo("columns"),e],zD=[Sb,io("html"),wo("presets","presentation",["presentation","document"])],qD=Tr(zD),UD=CD.concat([ko("sandboxed",!0),ko("transparent",!0)]),HD=Tr(UD),WD=Fr,VD=Tr(xD.concat([mo("height")])),YD=Tr([io("url"),ho("zoom"),ho("cachedWidth"),ho("cachedHeight")]),ZD=CD.concat([mo("inputMode"),mo("placeholder"),ko("maximized",!1),Zb]),GD=Tr(ZD),KD=Fr,$D=e=>[Sb,Bb,e],XD=[Ob,Pb],QD=[Ob,uo("items",((e,t)=>((e,t)=>{const n=Kt(t);return{extract:(e,t)=>n().extract(e,t),toString:()=>n().toString()}})(0,t))(0,(()=>JD)))],JD=Mr([Tr(XD),Tr(QD)]),eR=CD.concat([uo("items",JD),Zb]),tR=Tr(eR),nR=Fr,rR=CD.concat([co("items",[Ob,Pb]),Co("size",1),Zb]),oR=Tr(rR),iR=Fr,aR=CD.concat([ko("constrain",!0),Zb]),sR=Tr(aR),lR=Tr([io("width"),io("height")]),cR=xD.concat([Bb,Co("min",0),Co("max",0)]),uR=Tr(cR),dR=Nr,fR=[Sb,uo("header",Fr),uo("cells",Pr(Fr))],pR=Tr(fR),hR=CD.concat([mo("placeholder"),ko("maximized",!1),Zb]),mR=Tr(hR),gR=Fr,vR=CD.concat([wo("filetype","file",["image","media","file"]),Zb]),bR=Tr(vR),yR=Tr([Pb,$b]),AR=e=>Jr("items","items",{tag:"required",process:{}},Pr(Yr((t=>Gr(`Checking item of ${e}`,xR,t).fold((e=>$n.error(Xr(e))),(e=>$n.value(e))))))),xR=Br((()=>{return Vr("type",{alertbanner:bD,bar:Tr((e=AR("bar"),[Sb,e])),button:AD,checkbox:wD,colorinput:OD,colorpicker:TD,dropzone:ID,grid:Tr(FD(AR("grid"))),iframe:HD,input:GD,listbox:tR,selectbox:oR,sizeinput:sR,slider:uR,textarea:mR,urlinput:bR,customeditor:RD,htmlpanel:qD,imagepreview:VD,collection:ED,label:Tr($D(AR("label"))),table:pR,panel:_R});var e})),CR=[Sb,Ao("classes",[]),uo("items",xR)],_R=Tr(CR),wR=[Jb("tab"),jb,uo("items",xR)],kR=[Sb,co("tabs",wR)],SR=Tr(kR),ER=pD,BR=gD,OR=Tr([io("title"),ro("body",Vr("type",{panel:_R,tabpanel:SR})),_o("size","normal"),uo("buttons",BR),Ao("initialData",{}),So("onAction",v),So("onChange",v),So("onSubmit",v),So("onClose",v),So("onCancel",v),So("onTabChange",v)]),jR=Tr([ao("type",["cancel","custom"]),...ER]),TR=Tr([io("title"),io("url"),ho("height"),ho("width"),bo("buttons",jR),So("onAction",v),So("onCancel",v),So("onClose",v),So("onMessage",v)]),PR=e=>a(e)?[e].concat(K(ve(e),PR)):l(e)?K(e,PR):[],MR=e=>i(e.type)&&i(e.name),DR={checkbox:kD,colorinput:jD,colorpicker:PD,dropzone:ND,input:KD,iframe:WD,imagepreview:YD,selectbox:iR,sizeinput:lR,slider:dR,listbox:nR,size:lR,textarea:gR,urlinput:yR,customeditor:LD,collection:BD,togglemenuitem:dD},RR=e=>{const t=(e=>H(PR(e),MR))(e),n=K(t,(e=>(e=>j.from(DR[e.type]))(e).fold((()=>[]),(t=>[ro(e.name,t)]))));return Tr(n)},LR=e=>{var t;return{internalDialog:Kr(Gr("dialog",OR,e)),dataValidator:RR(e),initialData:null!==(t=e.initialData)&&void 0!==t?t:{}}},IR={open:(e,t)=>{const n=LR(t);return e(n.internalDialog,n.initialData,n.dataValidator)},openUrl:(e,t)=>e(Kr(Gr("dialog",TR,t))),redial:e=>LR(e)},NR=e=>{const t=[],n={};return ce(e,((e,r)=>{e.fold((()=>{t.push(r)}),(e=>{n[r]=e}))})),t.length>0?$n.error(t):$n.value(n)},FR=(e,t,n)=>{const r=bg(Jw.sketch((r=>({dom:{tag:"div",classes:["tox-form"].concat(e.classes)},components:z(e.items,(e=>KS(r,e,t,n)))}))));return{dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[r.asSpec()]}],behaviours:Il([pm.config({mode:"acyclic",useTabstopAt:w(Ok)}),lk(r),pk(r,{postprocess:e=>NR(e).fold((e=>(console.error(e),{})),x)})])}},zR=Hf({name:"TabButton",configFields:[Ao("uid",void 0),no("value"),Jr("dom","dom",br((()=>({attributes:{role:"tab",id:da("aria"),"aria-selected":"false"}}))),Lr()),fo("action"),Ao("domModification",{}),Fd("tabButtonBehaviours",[Bm,pm,Nd]),no("view")],factory:(e,t)=>({uid:e.uid,dom:e.dom,components:e.components,events:Fm(e.action),behaviours:qd(e.tabButtonBehaviours,[Bm.config({}),pm.config({mode:"execution",useSpace:!0,useEnter:!0}),Nd.config({store:{mode:"memory",initialValue:e.value}})]),domModification:e.domModification})}),qR=A([no("tabs"),no("dom"),Ao("clickToDismiss",!1),Fd("tabbarBehaviours",[yp,pm]),Us(["tabClass","selectedClass"])]),UR=bf({factory:zR,name:"tabs",unit:"tab",overrides:e=>{const t=(e,t)=>{yp.dehighlight(e,t),Ii(e,Mi(),{tabbar:e,button:t})},n=(e,t)=>{yp.highlight(e,t),Ii(e,Pi(),{tabbar:e,button:t})};return{action:r=>{const o=r.getSystem().getByUid(e.uid).getOrDie(),i=yp.isHighlighted(o,r);(i&&e.clickToDismiss?t:i?v:n)(o,r)},domModification:{classes:[e.markers.tabClass]}}}}),HR=A([UR]),WR=Wf({name:"Tabbar",configFields:qR(),partFields:HR(),factory:(e,t,n,r)=>({uid:e.uid,dom:e.dom,components:t,"debug.sketcher":"Tabbar",domModification:{attributes:{role:"tablist"}},behaviours:qd(e.tabbarBehaviours,[yp.config({highlightClass:e.markers.selectedClass,itemClass:e.markers.tabClass,onHighlight:(e,t)=>{yt(t.element,"aria-selected","true")},onDehighlight:(e,t)=>{yt(t.element,"aria-selected","false")}}),pm.config({mode:"flow",getInitial:e=>yp.getHighlighted(e).map((e=>e.element)),selector:"."+e.markers.tabClass,executeOnMove:!0})])})}),VR=Hf({name:"Tabview",configFields:[Fd("tabviewBehaviours",[Cm])],factory:(e,t)=>({uid:e.uid,dom:e.dom,behaviours:qd(e.tabviewBehaviours,[Cm.config({})]),domModification:{attributes:{role:"tabpanel"}}})}),YR=A([Ao("selectFirst",!0),Ws("onChangeTab"),Ws("onDismissTab"),Ao("tabs",[]),Fd("tabSectionBehaviours",[])]),ZR=mf({factory:WR,schema:[no("dom"),lo("markers",[no("tabClass"),no("selectedClass")])],name:"tabbar",defaults:e=>({tabs:e.tabs})}),GR=mf({factory:VR,name:"tabview"}),KR=A([ZR,GR]),$R=Wf({name:"TabSection",configFields:YR(),partFields:KR(),factory:(e,t,n,r)=>{const o=(t,n)=>{Of(t,e,"tabbar").each((e=>{n(e).each(Ni)}))};return{uid:e.uid,dom:e.dom,components:t,behaviours:zd(e.tabSectionBehaviours),events:Ui(G([e.selectFirst?[Ji(((e,t)=>{o(e,yp.getFirst)}))]:[],[Vi(Pi(),((t,n)=>{(t=>{const n=Nd.getValue(t);Of(t,e,"tabview").each((r=>{const o=Y(e.tabs,(e=>e.value===n));o.each((n=>{const o=n.view();Ct(t.element,"id").each((e=>{yt(r.element,"aria-labelledby",e)})),Cm.set(r,o),e.onChangeTab(r,t,o)}))}))})(n.event.button)})),Vi(Mi(),((t,n)=>{const r=n.event.button;e.onDismissTab(t,r)}))]])),apis:{getViewItems:t=>Of(t,e,"tabview").map((e=>Cm.contents(e))).getOr([]),showTab:(e,t)=>{o(e,(e=>{const n=yp.getCandidates(e);return Y(n,(e=>Nd.getValue(e)===t)).filter((t=>!yp.isHighlighted(e,t)))}))}}}},apis:{getViewItems:(e,t)=>e.getViewItems(t),showTab:(e,t,n)=>{e.showTab(t,n)}}}),XR=(e,t)=>{Et(e,"height",t+"px"),Et(e,"flex-basis",t+"px")},QR=(e,t,n)=>{Cs(e,'[role="dialog"]').each((e=>{ws(e,'[role="tablist"]').each((r=>{n.get().map((n=>(Et(t,"height","0"),Et(t,"flex-basis","0"),Math.min(n,((e,t,n)=>{const r=Qe(e).dom,o=Cs(e,".tox-dialog-wrap").getOr(e);let i;i="fixed"===jt(o,"position")?Math.max(r.clientHeight,window.innerHeight):Math.max(r.offsetHeight,r.scrollHeight);const a=Ft(t),s=t.dom.offsetLeft>=n.dom.offsetLeft+Zt(n)?Math.max(Ft(n),a):a,l=parseInt(jt(e,"margin-top"),10)||0,c=parseInt(jt(e,"margin-bottom"),10)||0;return i-(Ft(e)+l+c-s)})(e,t,r))))).each((e=>{XR(t,e)}))}))}))},JR=e=>ws(e,'[role="tabpanel"]'),eL=e=>{const t=pc(),n=[Ji((n=>{const r=n.element;JR(r).each((o=>{Et(o,"visibility","hidden"),n.getSystem().getByDom(o).toOptional().each((n=>{const r=((e,t,n)=>z(e,((r,o)=>{Cm.set(n,e[o].view());const i=t.dom.getBoundingClientRect();return Cm.set(n,[]),i.height})))(e,o,n),i=(e=>re(te(e,((e,t)=>e>t?-1:e<t?1:0))))(r);i.fold(t.clear,t.set)})),QR(r,o,t),Rt(o,"visibility"),((e,t)=>{re(e).each((e=>$R.showTab(t,e.value)))})(e,n),requestAnimationFrame((()=>{QR(r,o,t)}))}))})),Vi(ki(),(e=>{const n=e.element;JR(n).each((e=>{QR(n,e,t)}))})),Vi(ZC,((e,n)=>{const r=e.element;JR(r).each((e=>{const n=Zl(ut(e));Et(e,"visibility","hidden");const o=Pt(e,"height").map((e=>parseInt(e,10)));Rt(e,"height"),Rt(e,"flex-basis");const i=e.dom.getBoundingClientRect().height;o.forall((e=>i>e))?(t.set(i),QR(r,e,t)):o.each((t=>{XR(e,t)})),Rt(e,"visibility"),n.each(Vl)}))}))];return{extraEvents:n,selectFirst:!1}},tL="send-data-to-section",nL="send-data-to-view",rL=(e,t,n)=>{const r=Oo({}),o=e=>{const t=Nd.getValue(e),n=NR(t).getOr({}),o=r.get(),i=hr(o,n);r.set(i)},i=e=>{const t=r.get();Nd.setValue(e,t)},a=Oo(null),s=z(e.tabs,(e=>({value:e.name,dom:{tag:"div",classes:["tox-dialog__body-nav-item"]},components:[fs(n.shared.providers.translate(e.title))],view:()=>[Jw.sketch((r=>({dom:{tag:"div",classes:["tox-form"]},components:z(e.items,(e=>KS(r,e,t,n))),formBehaviours:Il([pm.config({mode:"acyclic",useTabstopAt:w(Ok)}),_m("TabView.form.events",[Ji(i),ea(o)]),Hl.config({channels:Mo([{key:tL,value:{onReceive:o}},{key:nL,value:{onReceive:i}}])})])})))]}))),l=eL(s);return $R.sketch({dom:{tag:"div",classes:["tox-dialog__body"]},onChangeTab:(e,t,n)=>{const r=Nd.getValue(t);Ii(e,YC,{name:r,oldName:a.get()}),a.set(r)},tabs:s,components:[$R.parts.tabbar({dom:{tag:"div",classes:["tox-dialog__body-nav"]},components:[WR.parts.tabs({})],markers:{tabClass:"tox-tab",selectedClass:"tox-dialog__body-nav-item--active"},tabbarBehaviours:Il([MC.config({})])}),$R.parts.tabview({dom:{tag:"div",classes:["tox-dialog__body-content"]}})],selectFirst:l.selectFirst,tabSectionBehaviours:Il([_m("tabpanel",l.extraEvents),pm.config({mode:"acyclic"}),Gf.config({find:e=>re($R.getViewItems(e))}),mk(j.none(),(e=>(e.getSystem().broadcastOn([tL],{}),r.get())),((e,t)=>{r.set(t),e.getSystem().broadcastOn([nL],{})}))])})},oL=da("update-dialog"),iL=da("update-title"),aL=da("update-body"),sL=da("update-footer"),lL=da("body-send-message"),cL=(e,t,n,r,o)=>({dom:{tag:"div",classes:["tox-dialog__content-js"],attributes:{...n.map((e=>({id:e}))).getOr({}),...o?{"aria-live":"polite"}:{}}},components:[],behaviours:Il([ck(0),fT.config({channel:`${aL}-${t}`,updateState:(e,t)=>j.some({isTabPanel:()=>"tabpanel"===t.body.type}),renderComponents:e=>{const t=e.body;return"tabpanel"===t.type?[rL(t,e.initialData,r)]:[FR(t,e.initialData,r)]},initialData:e})])}),uL=Rg.deviceType.isTouch(),dL=(e,t)=>({dom:{tag:"div",styles:{display:"none"},classes:["tox-dialog__header"]},components:[e,t]}),fL=(e,t)=>cD.parts.close(vg.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":t.translate("Close")}},action:e,buttonBehaviours:Il([MC.config({})])})),pL=()=>cD.parts.title({dom:{tag:"div",classes:["tox-dialog__title"],innerHtml:"",styles:{display:"none"}}}),hL=(e,t)=>cD.parts.body({dom:{tag:"div",classes:["tox-dialog__body"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-content"]},components:[{dom:NO(`<p>${t.translate(e)}</p>`)}]}]}),mL=e=>cD.parts.footer({dom:{tag:"div",classes:["tox-dialog__footer"]},components:e}),gL=(e,t)=>[SC.sketch({dom:{tag:"div",classes:["tox-dialog__footer-start"]},components:e}),SC.sketch({dom:{tag:"div",classes:["tox-dialog__footer-end"]},components:t})],vL=e=>{const t="tox-dialog",n=t+"-wrap",r=n+"__backdrop",o=t+"__disable-scroll";return cD.sketch({lazySink:e.lazySink,onEscape:t=>(e.onEscape(t),j.some(!0)),useTabstopAt:e=>!Ok(e),dom:{tag:"div",classes:[t].concat(e.extraClasses),styles:{position:"relative",...e.extraStyles}},components:[e.header,e.body,...e.footer.toArray()],parts:{blocker:{dom:NO(`<div class="${n}"></div>`),components:[{dom:{tag:"div",classes:uL?[r,r+"--opaque"]:[r]}}]}},dragBlockClass:n,modalBehaviours:Il([Bm.config({}),_m("dialog-events",e.dialogEvents.concat([Qi(Qo(),((e,t)=>{pm.focusIn(e)}))])),_m("scroll-lock",[Ji((()=>{Za(gt(),o)})),ea((()=>{Ga(gt(),o)}))]),...e.extraBehaviours]),eventOrder:{[mi()]:["dialog-events"],[Si()]:["scroll-lock","dialog-events","alloy.base.behaviour"],[Ei()]:["alloy.base.behaviour","dialog-events","scroll-lock"],...e.eventOrder}})},bL=e=>vg.sketch({dom:{tag:"button",classes:["tox-button","tox-button--icon","tox-button--naked"],attributes:{type:"button","aria-label":e.translate("Close"),title:e.translate("Close")}},components:[Bg("close",{tag:"div",classes:["tox-icon"]},e.icons)],action:e=>{Li(e,qC)}}),yL=(e,t,n,r)=>({dom:{tag:"div",classes:["tox-dialog__title"],attributes:{...n.map((e=>({id:e}))).getOr({})}},components:[],behaviours:Il([fT.config({channel:`${iL}-${t}`,initialData:e,renderComponents:e=>[fs(r.translate(e.title))]})])}),AL=()=>({dom:NO('<div class="tox-dialog__draghandle"></div>')}),xL=(e,t,n)=>((e,t,n)=>{const r=cD.parts.title(yL(e,t,j.none(),n)),o=cD.parts.draghandle(AL()),i=cD.parts.close(bL(n)),a=[r].concat(e.draggable?[o]:[]).concat([i]);return SC.sketch({dom:NO('<div class="tox-dialog__header"></div>'),components:a})})({title:n.shared.providers.translate(e),draggable:n.dialog.isDraggableModal()},t,n.shared.providers),CL=(e,t,n)=>({dom:{tag:"div",classes:["tox-dialog__busy-spinner"],attributes:{"aria-label":n.translate(e)},styles:{left:"0px",right:"0px",bottom:"0px",top:"0px",position:"absolute"}},behaviours:t,components:[{dom:NO('<div class="tox-spinner"><div></div><div></div><div></div></div>')}]}),_L=(e,t,n)=>({onClose:()=>n.closeWindow(),onBlock:n=>{cD.setBusy(e(),((e,r)=>CL(n.message,r,t)))},onUnblock:()=>{cD.setIdle(e())}}),wL=(e,t,n,r)=>gs(vL({...e,lazySink:r.shared.getSink,extraBehaviours:[fT.config({channel:`${oL}-${e.id}`,updateState:(e,t)=>j.some(t),initialData:t}),vk({}),...e.extraBehaviours],onEscape:e=>{Li(e,qC)},dialogEvents:n,eventOrder:{[hi()]:[fT.name(),Hl.name()],[Si()]:["scroll-lock",fT.name(),"messages","dialog-events","alloy.base.behaviour"],[Ei()]:["alloy.base.behaviour","dialog-events","messages",fT.name(),"scroll-lock"]}})),kL=e=>z(e,(e=>"menu"===e.type?(e=>{const t=z(e.items,(e=>({...e,storage:Oo(!1)})));return{...e,items:t}})(e):e)),SL=e=>V(e,((e,t)=>{if("menu"===t.type){return V(t.items,((e,t)=>(e[t.name]=t.storage,e)),e)}return e}),{}),EL=(e,t)=>[Ki(Qo(),Bk),e(zC,((e,n)=>{t.onClose(),n.onClose()})),e(qC,((e,t,n,r)=>{t.onCancel(e),Li(r,zC)})),Vi(VC,((e,n)=>t.onUnblock())),Vi(WC,((e,n)=>t.onBlock(n.event)))],BL=(e,t)=>{const n=(t,n)=>Vi(t,((t,o)=>{r(t,((r,i)=>{n(e(),r,o.event,t)}))})),r=(e,t)=>{fT.getState(e).get().each((n=>{t(n,e)}))};return[...EL(n,t),n(UC,((e,t,n)=>{t.onAction(e,{name:n.name})}))]},OL=(e,t,n)=>{const r=(t,n)=>Vi(t,((t,r)=>{o(t,((o,i)=>{n(e(),o,r.event,t)}))})),o=(e,t)=>{fT.getState(e).get().each((n=>{t(n.internalDialog,e)}))};return[...EL(r,t),r(HC,((e,t)=>t.onSubmit(e))),r(FC,((e,t,n)=>{t.onChange(e,{name:n.name})})),r(UC,((e,t,r,o)=>{const i=()=>pm.focusIn(o),a=e=>_t(e,"disabled")||Ct(e,"aria-disabled").exists((e=>"true"===e)),s=ut(o.element),l=Zl(s);t.onAction(e,{name:r.name,value:r.value}),Zl(s).fold(i,(e=>{a(e)||l.exists((t=>Ke(e,t)&&a(t)))?i():n().toOptional().filter((t=>!Ke(t.element,e))).each(i)}))})),r(YC,((e,t,n)=>{t.onTabChange(e,{newTabName:n.name,oldTabName:n.oldName})})),ea((t=>{const n=e();Nd.setValue(t,n.getData())}))]},jL=(e,t)=>{const n=t.map((e=>e.footerButtons)).getOr([]),r=U(n,(e=>"start"===e.align)),o=(e,t)=>SC.sketch({dom:{tag:"div",classes:[`tox-dialog__footer-${e}`]},components:z(t,(e=>e.memento.asSpec()))});return[o("start",r.pass),o("end",r.fail)]},TL=(e,t,n)=>({dom:NO('<div class="tox-dialog__footer"></div>'),components:[],behaviours:Il([fT.config({channel:`${sL}-${t}`,initialData:e,updateState:(e,t)=>{const r=z(t.buttons,(e=>{const t=bg(((e,t)=>TS(e,e.type,t))(e,n));return{name:e.name,align:e.align,memento:t}}));return j.some({lookupByName:t=>((e,t,n)=>Y(t,(e=>e.name===n)).bind((t=>t.memento.getOpt(e))))(e,r,t),footerButtons:r})},renderComponents:jL})])}),PL=(e,t,n)=>cD.parts.footer(TL(e,t,n)),ML=(e,t)=>{if(e.getRoot().getSystem().isConnected()){const n=Gf.getCurrent(e.getFormWrapper()).getOr(e.getFormWrapper());return Jw.getField(n,t).orThunk((()=>{const n=e.getFooter();return fT.getState(n).get().bind((e=>e.lookupByName(t)))}))}return j.none()},DL=(e,t,n)=>{const r=t=>{const n=e.getRoot();n.getSystem().isConnected()&&t(n)},o={getData:()=>{const t=e.getRoot(),r=t.getSystem().isConnected()?e.getFormWrapper():t;return{...Nd.getValue(r),...ue(n,(e=>e.get()))}},setData:t=>{r((r=>{const i=o.getData(),a=hr(i,t),s=((e,t)=>{const n=e.getRoot();return fT.getState(n).get().map((e=>Kr(Gr("data",e.dataValidator,t)))).getOr(t)})(e,a),l=e.getFormWrapper();Nd.setValue(l,s),ce(n,((e,t)=>{ye(a,t)&&e.set(a[t])}))}))},setEnabled:(t,n)=>{ML(e,t).each(n?lp.enable:lp.disable)},focus:t=>{ML(e,t).each(Bm.focus)},block:e=>{if(!i(e))throw new Error("The dialogInstanceAPI.block function should be passed a blocking message of type string as an argument");r((t=>{Ii(t,WC,{message:e})}))},unblock:()=>{r((e=>{Li(e,VC)}))},showTab:t=>{r((n=>{const r=e.getBody();fT.getState(r).get().exists((e=>e.isTabPanel()))&&Gf.getCurrent(r).each((e=>{$R.showTab(e,t)}))}))},redial:n=>{r((r=>{const i=e.getId(),a=t(n);r.getSystem().broadcastOn([`${oL}-${i}`],a),r.getSystem().broadcastOn([`${iL}-${i}`],a.internalDialog),r.getSystem().broadcastOn([`${aL}-${i}`],a.internalDialog),r.getSystem().broadcastOn([`${sL}-${i}`],a.internalDialog),o.setData(a.initialData)}))},close:()=>{r((e=>{Li(e,zC)}))}};return o},RL=(e,t,n)=>{const r=da("dialog"),o=e.internalDialog,i=xL(o.title,r,n),a=((e,t,n)=>{const r=cL(e,t,j.none(),n,!1);return cD.parts.body(r)})({body:o.body,initialData:o.initialData},r,n),s=kL(o.buttons),l=SL(s),c=PL({buttons:s},r,n),u=OL((()=>m),_L((()=>p),n.shared.providers,t),n.shared.getSink),d=(e=>{switch(e){case"large":return["tox-dialog--width-lg"];case"medium":return["tox-dialog--width-md"];default:return[]}})(o.size),f={id:r,header:i,body:a,footer:j.some(c),extraClasses:d,extraBehaviours:[],extraStyles:{}},p=wL(f,e,u,n),h={getId:A(r),getRoot:A(p),getBody:()=>cD.getBody(p),getFooter:()=>cD.getFooter(p),getFormWrapper:()=>{const e=cD.getBody(p);return Gf.getCurrent(e).getOr(e)}},m=DL(h,t.redial,l);return{dialog:p,instanceApi:m}},LL=(e,t,n,r)=>{const o=da("dialog"),i=da("dialog-label"),a=da("dialog-content"),s=e.internalDialog,l=bg(((e,t,n,r)=>SC.sketch({dom:NO('<div class="tox-dialog__header"></div>'),components:[yL(e,t,j.some(n),r),AL(),bL(r)],containerBehaviours:Il([ZM.config({mode:"mouse",blockerClass:"blocker",getTarget:e=>ks(e,'[role="dialog"]').getOrDie(),snaps:{getSnapPoints:()=>[],leftAttr:"data-drag-left",topAttr:"data-drag-top"}})])}))({title:s.title,draggable:!0},o,i,n.shared.providers)),c=bg(((e,t,n,r,o)=>cL(e,t,j.some(n),r,o))({body:s.body,initialData:s.initialData},o,a,n,r)),u=kL(s.buttons),d=SL(u),f=bg(((e,t,n)=>TL(e,t,n))({buttons:u},o,n)),p=OL((()=>m),{onBlock:e=>{IO.block(h,((t,r)=>CL(e.message,r,n.shared.providers)))},onUnblock:()=>{IO.unblock(h)},onClose:()=>t.closeWindow()},n.shared.getSink),h=gs({dom:{tag:"div",classes:["tox-dialog","tox-dialog-inline"],attributes:{role:"dialog","aria-labelledby":i,"aria-describedby":a}},eventOrder:{[hi()]:[fT.name(),Hl.name()],[mi()]:["execute-on-form"],[Si()]:["reflecting","execute-on-form"]},behaviours:Il([pm.config({mode:"cyclic",onEscape:e=>(Li(e,zC),j.some(!0)),useTabstopAt:e=>!Ok(e)&&("button"!==Fe(e)||"disabled"!==xt(e,"disabled"))}),fT.config({channel:`${oL}-${o}`,updateState:(e,t)=>j.some(t),initialData:e}),Bm.config({}),_m("execute-on-form",p.concat([Qi(Qo(),((e,t)=>{pm.focusIn(e)}))])),IO.config({getRoot:()=>j.some(h)}),Cm.config({}),vk({})]),components:[l.asSpec(),c.asSpec(),f.asSpec()]}),m=DL({getId:A(o),getRoot:A(h),getFooter:()=>f.get(h),getBody:()=>c.get(h),getFormWrapper:()=>{const e=c.get(h);return Gf.getCurrent(e).getOr(e)}},t.redial,d);return{dialog:h,instanceApi:m}};var IL=tinymce.util.Tools.resolve("tinymce.util.URI");const NL=["insertContent","setContent","execCommand","close","block","unblock"],FL=e=>a(e)&&-1!==NL.indexOf(e.mceAction),zL=(e,t,n,r)=>{const o=da("dialog"),s=xL(e.title,o,r),l=(e=>{const t={dom:{tag:"div",classes:["tox-dialog__content-js"]},components:[{dom:{tag:"div",classes:["tox-dialog__body-iframe"]},components:[Sk({dom:{tag:"iframe",attributes:{src:e.url}},behaviours:Il([MC.config({}),Bm.config({})])})]}],behaviours:Il([pm.config({mode:"acyclic",useTabstopAt:w(Ok)})])};return cD.parts.body(t)})(e),c=e.buttons.bind((e=>0===e.length?j.none():j.some(PL({buttons:e},o,r)))),d=BL((()=>A),_L((()=>y),r.shared.providers,t)),f={...e.height.fold((()=>({})),(e=>({height:e+"px","max-height":e+"px"}))),...e.width.fold((()=>({})),(e=>({width:e+"px","max-width":e+"px"})))},h=e.width.isNone()&&e.height.isNone()?["tox-dialog--width-lg"]:[],m=new IL(e.url,{base_uri:new IL(window.location.href)}),g=`${m.protocol}://${m.host}${m.port?":"+m.port:""}`,v=fc(),b=[_m("messages",[Ji((()=>{const t=mc(Me.fromDom(window),"message",(t=>{if(m.isSameOrigin(new IL(t.raw.origin))){const r=t.raw.data;FL(r)?((e,t,n)=>{switch(n.mceAction){case"insertContent":e.insertContent(n.content);break;case"setContent":e.setContent(n.content);break;case"execCommand":const r=!!u(n.ui)&&n.ui;e.execCommand(n.cmd,r,n.value);break;case"close":t.close();break;case"block":t.block(n.message);break;case"unblock":t.unblock()}})(n,A,r):(e=>!FL(e)&&a(e)&&ye(e,"mceAction"))(r)&&e.onMessage(A,r)}}));v.set(t)})),ea(v.clear)]),Hl.config({channels:{[lL]:{onReceive:(e,t)=>{ws(e.element,"iframe").each((e=>{const n=e.dom.contentWindow;p(n)&&n.postMessage(t,g)}))}}}})],y=wL({id:o,header:s,body:l,footer:c,extraClasses:h,extraBehaviours:b,extraStyles:f},e,d,r),A=(e=>{const t=t=>{e.getSystem().isConnected()&&t(e)};return{block:e=>{if(!i(e))throw new Error("The urlDialogInstanceAPI.block function should be passed a blocking message of type string as an argument");t((t=>{Ii(t,WC,{message:e})}))},unblock:()=>{t((e=>{Li(e,VC)}))},close:()=>{t((e=>{Li(e,zC)}))},sendMessage:e=>{t((t=>{t.getSystem().broadcastOn([lL],e)}))}}})(y);return{dialog:y,instanceApi:A}},qL=(e,t,n)=>t&&n?[]:[HB.config({contextual:{lazyContext:()=>j.some(Vn(Me.fromDom(e.getContentAreaContainer()))),fadeInClass:"tox-dialog-dock-fadein",fadeOutClass:"tox-dialog-dock-fadeout",transitionClass:"tox-dialog-dock-transition"},modes:["top"]})],UL=e=>{const t=e.backstage,n=e.editor,r=Pv(n),o=(e=>{const t=e.shared;return{open:(n,r)=>{const o=()=>{cD.hide(l),r()},i=bg(TS({name:"close-alert",text:"OK",primary:!0,buttonType:j.some("primary"),align:"end",enabled:!0,icon:j.none()},"cancel",e)),a=pL(),s=fL(o,t.providers),l=gs(vL({lazySink:()=>t.getSink(),header:dL(a,s),body:hL(n,t.providers),footer:j.some(mL(gL([],[i.asSpec()]))),onEscape:o,extraClasses:["tox-alert-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Vi(qC,o)],eventOrder:{}}));cD.show(l);const c=i.get(l);Bm.focus(c)}}})(t),i=(e=>{const t=e.shared;return{open:(n,r)=>{const o=e=>{cD.hide(c),r(e)},i=bg(TS({name:"yes",text:"Yes",primary:!0,buttonType:j.some("primary"),align:"end",enabled:!0,icon:j.none()},"submit",e)),a=TS({name:"no",text:"No",primary:!1,buttonType:j.some("secondary"),align:"end",enabled:!0,icon:j.none()},"cancel",e),s=pL(),l=fL((()=>o(!1)),t.providers),c=gs(vL({lazySink:()=>t.getSink(),header:dL(s,l),body:hL(n,t.providers),footer:j.some(mL(gL([],[a,i.asSpec()]))),onEscape:()=>o(!1),extraClasses:["tox-confirm-dialog"],extraBehaviours:[],extraStyles:{},dialogEvents:[Vi(qC,(()=>o(!1))),Vi(HC,(()=>o(!0)))],eventOrder:{}}));cD.show(c);const u=i.get(c);Bm.focus(u)}}})(t),a=(e,r)=>IR.openUrl((e=>{const o=zL(e,{closeWindow:()=>{cD.hide(o.dialog),r(o.instanceApi)}},n,t);return cD.show(o.dialog),o.instanceApi}),e),s=(e,n)=>IR.open(((e,r,o)=>{const i=r,a=RL({dataValidator:o,initialData:i,internalDialog:e},{redial:IR.redial,closeWindow:()=>{cD.hide(a.dialog),n(a.instanceApi)}},t);return cD.show(a.dialog),a.instanceApi.setData(i),a.instanceApi}),e),l=(e,o,i,a=!1)=>IR.open(((e,s,l)=>{const c=Kr(Gr("data",l,s));const u=pc(),d=t.shared.header.isPositionedAtTop(),f=()=>u.on((e=>{mg.reposition(e),HB.refresh(e)})),p=LL({dataValidator:l,initialData:c,internalDialog:e},{redial:IR.redial,closeWindow:()=>{u.on(mg.hide),n.off("ResizeEditor",f),u.clear(),i(p.instanceApi)}},t,a),h=gs(mg.sketch({lazySink:t.shared.getSink,dom:{tag:"div",classes:[]},fireDismissalEventInstead:{},...d?{}:{fireRepositionEventInstead:{}},inlineBehaviours:Il([_m("window-manager-inline-events",[Vi(Bi(),((e,t)=>{Li(p.dialog,qC)}))]),...qL(n,r,d)]),isExtraPart:(e,t)=>(e=>pC(e,".tox-alert-dialog")||pC(e,".tox-confirm-dialog"))(t)}));return u.set(h),mg.showWithin(h,vs(p.dialog),{anchor:o},j.some(gt())),r&&d||(HB.refresh(h),n.on("ResizeEditor",f)),p.instanceApi.setData(c),pm.focusIn(p.dialog),p.instanceApi}),e);return{open:(e,n,r)=>void 0!==n&&"toolbar"===n.inline?l(e,t.shared.anchors.inlineDialog(),r,n.ariaAttrs):void 0!==n&&"cursor"===n.inline?l(e,t.shared.anchors.cursor(),r,n.ariaAttrs):s(e,r),openUrl:(e,t)=>a(e,t),alert:(e,t)=>{o.open(e,t)},close:e=>{e.close()},confirm:(e,t)=>{i.open(e,t)}}},HL=e=>{Ng(e),(e=>{const t=e.options.register;var n;t("color_map",{processor:e=>g(e,i)?{value:QA(e),valid:!0}:{valid:!1,message:"Must be an array of strings."},default:["#BFEDD2","Light Green","#FBEEB8","Light Yellow","#F8CAC6","Light Red","#ECCAFA","Light Purple","#C2E0F4","Light Blue","#2DC26B","Green","#F1C40F","Yellow","#E03E2D","Red","#B96AD9","Purple","#3598DB","Blue","#169179","Dark Turquoise","#E67E23","Orange","#BA372A","Dark Red","#843FA1","Dark Purple","#236FA1","Dark Blue","#ECF0F1","Light Gray","#CED4D9","Medium Gray","#95A5A6","Gray","#7E8C8D","Dark Gray","#34495E","Navy Blue","#000000","Black","#ffffff","White"]}),t("color_cols",{processor:"number",default:(n=nx(e).length,Math.max(5,Math.ceil(Math.sqrt(n))))}),t("custom_colors",{processor:"boolean",default:!0})})(e),(e=>{const t=e.options.register;t("contextmenu_avoid_overlap",{processor:"string",default:""}),t("contextmenu_never_use_native",{processor:"boolean",default:!1}),t("contextmenu",{processor:e=>!1===e?{value:[],valid:!0}:i(e)||g(e,i)?{value:LP(e),valid:!0}:{valid:!1,message:"Must be false or a string."},default:"link linkchecker image editimage table spellchecker configurepermanentpen"})})(e)};O.add("silver",(e=>{HL(e);const{getUiMothership:t,backstage:n,renderUI:r}=iD(e);fC(e,n.shared);const o=UL({editor:e,backstage:n});return{renderUI:r,getWindowManagerImpl:A(o),getNotificationManagerImpl:()=>((e,t,n)=>{const r=t.backstage.shared,o=()=>{const t=Vn(Me.fromDom(e.getContentAreaContainer())),n=Zn(),r=ll(n.x,t.x,t.right),o=ll(n.y,t.y,t.bottom),i=Math.max(t.right,n.right),a=Math.max(t.bottom,n.bottom);return j.some(Wn(r,o,i-r,a-o))};return{open:(t,i)=>{const a=()=>{i(),mg.hide(l)},s=gs(jg.sketch({text:t.text,level:L(["success","error","warning","warn","info"],t.type)?t.type:void 0,progress:!0===t.progressBar,icon:t.icon,closeButton:t.closeButton,onAction:a,iconProvider:r.providers.icons,translationProvider:r.providers.translate})),l=gs(mg.sketch({dom:{tag:"div",classes:["tox-notifications-container"]},lazySink:r.getSink,fireDismissalEventInstead:{},...r.header.isPositionedAtTop()?{}:{fireRepositionEventInstead:{}}}));n.add(l),m(t.timeout)&&t.timeout>0&&gg.setEditorTimeout(e,(()=>{a()}),t.timeout);const c={close:a,reposition:()=>{const t=vs(s),n={maxHeightFunction:Bc()},i=e.notificationManager.getNotifications();if(i[0]===c){const e={...r.anchors.banner(),overrides:n};mg.showWithinBounds(l,t,{anchor:e},o)}else R(i,c).each((e=>{const r=i[e-1].getEl(),a={type:"node",root:gt(),node:j.some(Me.fromDom(r)),overrides:n,layouts:{onRtl:()=>[Cl],onLtr:()=>[Cl]}};mg.showWithinBounds(l,t,{anchor:a},o)}))},text:e=>{jg.updateText(s,e)},settings:t,getEl:()=>s.element.dom,progressBar:{value:e=>{jg.updateProgress(s,e)}}};return c},close:e=>{e.close()},getArgs:e=>e.settings}})(e,{backstage:n},t())}}))}()},47575:function(e){!function(){"use strict";var t=function(e){if(null===e)return"null";if(void 0===e)return"undefined";var t=typeof e;return"object"===t&&(Array.prototype.isPrototypeOf(e)||e.constructor&&"Array"===e.constructor.name)?"array":"object"===t&&(String.prototype.isPrototypeOf(e)||e.constructor&&"String"===e.constructor.name)?"string":t},n=function(e){return{eq:e}},r=n((function(e,t){return e===t})),o=function(e){return n((function(t,n){if(t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e.eq(t[o],n[o]))return!1;return!0}))},i=function(e,t){return function(e,t){return n((function(n,r){return e.eq(t(n),t(r))}))}(o(e),(function(e){return function(e,t){return Array.prototype.slice.call(e).sort(t)}(e,t)}))},a=function(e){return n((function(t,n){var o=Object.keys(t),a=Object.keys(n);if(!i(r).eq(o,a))return!1;for(var s=o.length,l=0;l<s;l++){var c=o[l];if(!e.eq(t[c],n[c]))return!1}return!0}))},s=n((function(e,n){if(e===n)return!0;var r=t(e);return r===t(n)&&(function(e){return-1!==["undefined","boolean","number","string","function","xml","null"].indexOf(e)}(r)?e===n:"array"===r?o(s).eq(e,n):"object"===r&&a(s).eq(e,n))}));const l=Object.getPrototypeOf,c=(e,t,n)=>{var r;return!!n(e,t.prototype)||(null===(r=e.constructor)||void 0===r?void 0:r.name)===t.name},u=e=>t=>(e=>{const t=typeof e;return null===e?"null":"object"===t&&Array.isArray(e)?"array":"object"===t&&c(e,String,((e,t)=>t.isPrototypeOf(e)))?"string":t})(t)===e,d=e=>t=>typeof t===e,f=e=>t=>e===t,p=(e,t)=>m(e)&&c(e,t,((e,t)=>l(e)===t)),h=u("string"),m=u("object"),g=e=>p(e,Object),v=u("array"),b=f(null),y=d("boolean"),A=f(void 0),x=e=>null==e,C=e=>!x(e),_=d("function"),w=d("number"),k=(e,t)=>{if(v(e)){for(let n=0,r=e.length;n<r;++n)if(!t(e[n]))return!1;return!0}return!1},S=()=>{},E=(e,t)=>(...n)=>e(t.apply(null,n)),B=(e,t)=>n=>e(t(n)),O=e=>()=>e,j=e=>e,T=(e,t)=>e===t;function P(e,...t){return(...n)=>{const r=t.concat(n);return e.apply(null,r)}}const M=e=>t=>!e(t),D=e=>e(),R=e=>{e()},L=O(!1),I=O(!0);class N{constructor(e,t){this.tag=e,this.value=t}static some(e){return new N(!0,e)}static none(){return N.singletonNone}fold(e,t){return this.tag?t(this.value):e()}isSome(){return this.tag}isNone(){return!this.tag}map(e){return this.tag?N.some(e(this.value)):N.none()}bind(e){return this.tag?e(this.value):N.none()}exists(e){return this.tag&&e(this.value)}forall(e){return!this.tag||e(this.value)}filter(e){return!this.tag||e(this.value)?this:N.none()}getOr(e){return this.tag?this.value:e}or(e){return this.tag?this:e}getOrThunk(e){return this.tag?this.value:e()}orThunk(e){return this.tag?this:e()}getOrDie(e){if(this.tag)return this.value;throw new Error(null!=e?e:"Called getOrDie on None")}static from(e){return C(e)?N.some(e):N.none()}getOrNull(){return this.tag?this.value:null}getOrUndefined(){return this.value}each(e){this.tag&&e(this.value)}toArray(){return this.tag?[this.value]:[]}toString(){return this.tag?`some(${this.value})`:"none()"}}N.singletonNone=new N(!1);const F=Array.prototype.slice,z=Array.prototype.indexOf,q=Array.prototype.push,U=(e,t)=>z.call(e,t),H=(e,t)=>U(e,t)>-1,W=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return!0}return!1},V=(e,t)=>{const n=e.length,r=new Array(n);for(let o=0;o<n;o++){const n=e[o];r[o]=t(n,o)}return r},Y=(e,t)=>{for(let n=0,r=e.length;n<r;n++){t(e[n],n)}},Z=(e,t)=>{for(let n=e.length-1;n>=0;n--){t(e[n],n)}},G=(e,t)=>{const n=[],r=[];for(let o=0,i=e.length;o<i;o++){const i=e[o];(t(i,o)?n:r).push(i)}return{pass:n,fail:r}},K=(e,t)=>{const n=[];for(let r=0,o=e.length;r<o;r++){const o=e[r];t(o,r)&&n.push(o)}return n},$=(e,t,n)=>(Z(e,((e,r)=>{n=t(n,e,r)})),n),X=(e,t,n)=>(Y(e,((e,r)=>{n=t(n,e,r)})),n),Q=(e,t,n)=>{for(let r=0,o=e.length;r<o;r++){const o=e[r];if(t(o,r))return N.some(o);if(n(o,r))break}return N.none()},J=(e,t)=>Q(e,t,L),ee=(e,t)=>{for(let n=0,r=e.length;n<r;n++){if(t(e[n],n))return N.some(n)}return N.none()},te=e=>{const t=[];for(let n=0,r=e.length;n<r;++n){if(!v(e[n]))throw new Error("Arr.flatten item "+n+" was not an array, input: "+e);q.apply(t,e[n])}return t},ne=(e,t)=>te(V(e,t)),re=(e,t)=>{for(let n=0,r=e.length;n<r;++n){if(!0!==t(e[n],n))return!1}return!0},oe=e=>{const t=F.call(e,0);return t.reverse(),t},ie=(e,t)=>K(e,(e=>!H(t,e))),ae=(e,t)=>{const n={};for(let r=0,o=e.length;r<o;r++){const o=e[r];n[String(o)]=t(o,r)}return n},se=(e,t)=>{const n=F.call(e,0);return n.sort(t),n},le=(e,t)=>t>=0&&t<e.length?N.some(e[t]):N.none(),ce=e=>le(e,0),ue=e=>le(e,e.length-1),de=_(Array.from)?Array.from:e=>F.call(e),fe=(e,t)=>{for(let n=0;n<e.length;n++){const r=t(e[n],n);if(r.isSome())return r}return N.none()},pe=Object.keys,he=Object.hasOwnProperty,me=(e,t)=>{const n=pe(e);for(let r=0,o=n.length;r<o;r++){const o=n[r];t(e[o],o)}},ge=(e,t)=>ve(e,((e,n)=>({k:n,v:t(e,n)}))),ve=(e,t)=>{const n={};return me(e,((e,r)=>{const o=t(e,r);n[o.k]=o.v})),n},be=e=>(t,n)=>{e[n]=t},ye=(e,t,n,r)=>{me(e,((e,o)=>{(t(e,o)?n:r)(e,o)}))},Ae=(e,t)=>{const n={};return ye(e,t,be(n),S),n},xe=(e,t)=>{const n=[];return me(e,((e,r)=>{n.push(t(e,r))})),n},Ce=e=>xe(e,j),_e=(e,t)=>we(e,t)?N.from(e[t]):N.none(),we=(e,t)=>he.call(e,t),ke=(e,t)=>we(e,t)&&void 0!==e[t]&&null!==e[t],Se=e=>{const t={};return Y(e,(e=>{t[e]={}})),pe(t)},Ee=e=>void 0!==e.length,Be=Array.isArray,Oe=(e,t,n)=>{if(!e)return!1;if(n=n||e,Ee(e)){for(let r=0,o=e.length;r<o;r++)if(!1===t.call(n,e[r],r,e))return!1}else for(const r in e)if(we(e,r)&&!1===t.call(n,e[r],r,e))return!1;return!0},je=(e,t)=>{const n=[];return Oe(e,((r,o)=>{n.push(t(r,o,e))})),n},Te=(e,t)=>{const n=[];return Oe(e,((r,o)=>{t&&!t(r,o,e)||n.push(r)})),n},Pe=(e,t,n,r)=>{let o=A(n)?e[0]:n;for(let n=0;n<e.length;n++)o=t.call(r,o,e[n],n);return o},Me=(e,t,n)=>{for(let r=0,o=e.length;r<o;r++)if(t.call(n,e[r],r,e))return r;return-1},De=e=>e[e.length-1],Re=e=>{let t,n=!1;return(...r)=>(n||(n=!0,t=e.apply(null,r)),t)},Le=()=>Ie(0,0),Ie=(e,t)=>({major:e,minor:t}),Ne={nu:Ie,detect:(e,t)=>{const n=String(t).toLowerCase();return 0===e.length?Le():((e,t)=>{const n=((e,t)=>{for(let n=0;n<e.length;n++){const r=e[n];if(r.test(t))return r}})(e,t);if(!n)return{major:0,minor:0};const r=e=>Number(t.replace(n,"$"+e));return Ie(r(1),r(2))})(e,n)},unknown:Le},Fe=(e,t)=>{const n=String(t).toLowerCase();return J(e,(e=>e.search(n)))},ze=(e,t,n)=>""===t||e.length>=t.length&&e.substr(n,n+t.length)===t,qe=(e,t,n=0,r)=>{const o=e.indexOf(t,n);return-1!==o&&(!!A(r)||o+t.length<=r)},Ue=(e,t)=>ze(e,t,0),He=(e,t)=>ze(e,t,e.length-t.length),We=e=>t=>t.replace(e,""),Ve=We(/^\s+|\s+$/g),Ye=We(/^\s+/g),Ze=We(/\s+$/g),Ge=e=>e.length>0,Ke=e=>!Ge(e),$e=(e,t=10)=>{const n=parseInt(e,t);return isNaN(n)?N.none():N.some(n)},Xe=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,Qe=e=>t=>qe(t,e),Je=[{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:e=>qe(e,"edge/")&&qe(e,"chrome")&&qe(e,"safari")&&qe(e,"applewebkit")},{name:"Chromium",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,Xe],search:e=>qe(e,"chrome")&&!qe(e,"chromeframe")},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:e=>qe(e,"msie")||qe(e,"trident")},{name:"Opera",versionRegexes:[Xe,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Qe("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Qe("firefox")},{name:"Safari",versionRegexes:[Xe,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:e=>(qe(e,"safari")||qe(e,"mobile/"))&&qe(e,"applewebkit")}],et=[{name:"Windows",search:Qe("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:e=>qe(e,"iphone")||qe(e,"ipad"),versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Qe("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"macOS",search:Qe("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Qe("linux"),versionRegexes:[]},{name:"Solaris",search:Qe("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Qe("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Qe("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}],tt={browsers:O(Je),oses:O(et)},nt="Edge",rt="Chromium",ot="Opera",it="Firefox",at="Safari",st=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isEdge:r(nt),isChromium:r(rt),isIE:r("IE"),isOpera:r(ot),isFirefox:r(it),isSafari:r(at)}},lt={unknown:()=>st({current:void 0,version:Ne.unknown()}),nu:st,edge:O(nt),chromium:O(rt),ie:O("IE"),opera:O(ot),firefox:O(it),safari:O(at)},ct="Windows",ut="Android",dt="Linux",ft="macOS",pt="Solaris",ht="FreeBSD",mt="ChromeOS",gt=e=>{const t=e.current,n=e.version,r=e=>()=>t===e;return{current:t,version:n,isWindows:r(ct),isiOS:r("iOS"),isAndroid:r(ut),isMacOS:r(ft),isLinux:r(dt),isSolaris:r(pt),isFreeBSD:r(ht),isChromeOS:r(mt)}},vt={unknown:()=>gt({current:void 0,version:Ne.unknown()}),nu:gt,windows:O(ct),ios:O("iOS"),android:O(ut),linux:O(dt),macos:O(ft),solaris:O(pt),freebsd:O(ht),chromeos:O(mt)},bt=(e,t,n)=>{const r=tt.browsers(),o=tt.oses(),i=t.bind((e=>((e,t)=>fe(t.brands,(t=>{const n=t.brand.toLowerCase();return J(e,(e=>{var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((e=>({current:e.name,version:Ne.nu(parseInt(t.version,10),0)})))})))(r,e))).orThunk((()=>((e,t)=>Fe(e,t).map((e=>{const n=Ne.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(r,e))).fold(lt.unknown,lt.nu),a=((e,t)=>Fe(e,t).map((e=>{const n=Ne.detect(e.versionRegexes,t);return{current:e.name,version:n}})))(o,e).fold(vt.unknown,vt.nu),s=((e,t,n,r)=>{const o=e.isiOS()&&!0===/ipad/i.test(n),i=e.isiOS()&&!o,a=e.isiOS()||e.isAndroid(),s=a||r("(pointer:coarse)"),l=o||!i&&a&&r("(min-device-width:768px)"),c=i||a&&!l,u=t.isSafari()&&e.isiOS()&&!1===/safari/i.test(n),d=!c&&!l&&!u;return{isiPad:O(o),isiPhone:O(i),isTablet:O(l),isPhone:O(c),isTouch:O(s),isAndroid:e.isAndroid,isiOS:e.isiOS,isWebView:O(u),isDesktop:O(d)}})(a,i,e,n);return{browser:i,os:a,deviceType:s}},yt=e=>window.matchMedia(e).matches;let At=Re((()=>bt(navigator.userAgent,N.from(navigator.userAgentData),yt)));const xt=()=>At(),Ct=navigator.userAgent,_t=xt(),wt=_t.browser,kt=_t.os,St=_t.deviceType,Et=-1!==Ct.indexOf("Windows Phone"),Bt={transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",documentMode:wt.isIE()?document.documentMode||7:10,cacheSuffix:null,container:null,canHaveCSP:!wt.isIE(),windowsPhone:Et,browser:{current:wt.current,version:wt.version,isChromium:wt.isChromium,isEdge:wt.isEdge,isFirefox:wt.isFirefox,isIE:wt.isIE,isOpera:wt.isOpera,isSafari:wt.isSafari},os:{current:kt.current,version:kt.version,isAndroid:kt.isAndroid,isChromeOS:kt.isChromeOS,isFreeBSD:kt.isFreeBSD,isiOS:kt.isiOS,isLinux:kt.isLinux,isMacOS:kt.isMacOS,isSolaris:kt.isSolaris,isWindows:kt.isWindows},deviceType:{isDesktop:St.isDesktop,isiPad:St.isiPad,isiPhone:St.isiPhone,isPhone:St.isPhone,isTablet:St.isTablet,isTouch:St.isTouch,isWebView:St.isWebView}},Ot=/^\s*|\s*$/g,jt=e=>x(e)?"":(""+e).replace(Ot,""),Tt=function(e,t,n,r){r=r||this,e&&(n&&(e=e[n]),Oe(e,((e,o)=>!1!==t.call(r,e,o,n)&&(Tt(e,t,n,r),!0))))},Pt={trim:jt,isArray:Be,is:(e,t)=>t?!("array"!==t||!Be(e))||typeof e===t:void 0!==e,toArray:e=>{if(Be(e))return e;{const t=[];for(let n=0,r=e.length;n<r;n++)t[n]=e[n];return t}},makeMap:(e,t,n={})=>{const r=h(e)?e.split(t||","):e||[];let o=r.length;for(;o--;)n[r[o]]={};return n},each:Oe,map:je,grep:Te,inArray:(e,t)=>{if(e)for(let n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},hasOwn:we,extend:(e,...t)=>{for(let n=0;n<t.length;n++){const r=t[n];for(const t in r)if(we(r,t)){const n=r[t];void 0!==n&&(e[t]=n)}}return e},walk:Tt,resolve:(e,t=window)=>{const n=e.split(".");for(let e=0,r=n.length;e<r&&(t=t[n[e]]);e++);return t},explode:(e,t)=>v(e)?e:""===e?[]:je(e.split(t||","),jt),_addCacheSuffix:e=>{const t=Bt.cacheSuffix;return t&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}},Mt=(e,t,n=T)=>e.exists((e=>n(e,t))),Dt=(e,t,n)=>e.isSome()&&t.isSome()?N.some(n(e.getOrDie(),t.getOrDie())):N.none(),Rt=(e,t)=>e?N.some(t):N.none();"undefined"!=typeof window?window:Function("return this;")();const Lt=e=>e.dom.nodeName.toLowerCase(),It=e=>e.dom.nodeType,Nt=e=>t=>It(t)===e,Ft=Nt(1),zt=Nt(3),qt=Nt(9),Ut=Nt(11),Ht=e=>t=>Ft(t)&&Lt(t)===e,Wt=(e,t,n)=>{if(!(h(n)||y(n)||w(n)))throw console.error("Invalid call to Attribute.set. Key ",t,":: Value ",n,":: Element ",e),new Error("Attribute value was not simple");e.setAttribute(t,n+"")},Vt=(e,t,n)=>{Wt(e.dom,t,n)},Yt=(e,t)=>{const n=e.dom;me(t,((e,t)=>{Wt(n,t,e)}))},Zt=(e,t)=>{const n=e.dom.getAttribute(t);return null===n?void 0:n},Gt=(e,t)=>N.from(Zt(e,t)),Kt=(e,t)=>{const n=e.dom;return!(!n||!n.hasAttribute)&&n.hasAttribute(t)},$t=(e,t)=>{e.dom.removeAttribute(t)},Xt=e=>X(e.dom.attributes,((e,t)=>(e[t.name]=t.value,e)),{}),Qt=(e,t)=>{const n=Zt(e,t);return void 0===n||""===n?[]:n.split(" ")},Jt=e=>void 0!==e.dom.classList,en=e=>Qt(e,"class"),tn=(e,t)=>((e,t,n)=>{const r=Qt(e,t).concat([n]);return Vt(e,t,r.join(" ")),!0})(e,"class",t),nn=(e,t)=>((e,t,n)=>{const r=K(Qt(e,t),(e=>e!==n));return r.length>0?Vt(e,t,r.join(" ")):$t(e,t),!1})(e,"class",t),rn=(e,t)=>{Jt(e)?e.dom.classList.add(t):tn(e,t)},on=e=>{0===(Jt(e)?e.dom.classList:en(e)).length&&$t(e,"class")},an=(e,t)=>{if(Jt(e)){e.dom.classList.remove(t)}else nn(e,t);on(e)},sn=(e,t)=>{const n=Jt(e)?e.dom.classList.toggle(t):((e,t)=>H(en(e),t)?nn(e,t):tn(e,t))(e,t);return on(e),n},ln=(e,t)=>Jt(e)&&e.dom.classList.contains(t),cn=e=>void 0!==e.style&&_(e.style.getPropertyValue),un=e=>{if(null==e)throw new Error("Node cannot be null or undefined");return{dom:e}},dn={fromHtml:(e,t)=>{const n=(t||document).createElement("div");if(n.innerHTML=e,!n.hasChildNodes()||n.childNodes.length>1){const t="HTML does not have a single root node";throw console.error(t,e),new Error(t)}return un(n.childNodes[0])},fromTag:(e,t)=>{const n=(t||document).createElement(e);return un(n)},fromText:(e,t)=>{const n=(t||document).createTextNode(e);return un(n)},fromDom:un,fromPoint:(e,t,n)=>N.from(e.dom.elementFromPoint(t,n)).map(un)},fn=(e,t)=>{const n=[],r=e=>(n.push(e),t(e));let o=t(e);do{o=o.bind(r)}while(o.isSome());return n},pn=(e,t)=>{const n=e.dom;if(1!==n.nodeType)return!1;{const e=n;if(void 0!==e.matches)return e.matches(t);if(void 0!==e.msMatchesSelector)return e.msMatchesSelector(t);if(void 0!==e.webkitMatchesSelector)return e.webkitMatchesSelector(t);if(void 0!==e.mozMatchesSelector)return e.mozMatchesSelector(t);throw new Error("Browser lacks native selectors")}},hn=e=>1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType||0===e.childElementCount,mn=(e,t)=>e.dom===t.dom,gn=(e,t)=>{const n=e.dom,r=t.dom;return n!==r&&n.contains(r)},vn=e=>dn.fromDom(e.dom.ownerDocument),bn=e=>qt(e)?e:vn(e),yn=e=>dn.fromDom(bn(e).dom.defaultView),An=e=>N.from(e.dom.parentNode).map(dn.fromDom),xn=e=>N.from(e.dom.previousSibling).map(dn.fromDom),Cn=e=>N.from(e.dom.nextSibling).map(dn.fromDom),_n=e=>oe(fn(e,xn)),wn=e=>fn(e,Cn),kn=e=>V(e.dom.childNodes,dn.fromDom),Sn=(e,t)=>{const n=e.dom.childNodes;return N.from(n[t]).map(dn.fromDom)},En=e=>Sn(e,0),Bn=e=>Sn(e,e.dom.childNodes.length-1),On=e=>e.dom.childNodes.length,jn=e=>Ut(e)&&C(e.dom.host),Tn=_(Element.prototype.attachShadow)&&_(Node.prototype.getRootNode),Pn=O(Tn),Mn=Tn?e=>dn.fromDom(e.dom.getRootNode()):bn,Dn=e=>jn(e)?e:(e=>{const t=e.dom.head;if(null==t)throw new Error("Head is not available yet");return dn.fromDom(t)})(bn(e)),Rn=e=>dn.fromDom(e.dom.host),Ln=e=>{if(Pn()&&C(e.target)){const t=dn.fromDom(e.target);if(Ft(t)&&In(t)&&e.composed&&e.composedPath){const t=e.composedPath();if(t)return ce(t)}}return N.from(e.target)},In=e=>C(e.dom.shadowRoot),Nn=e=>{const t=zt(e)?e.dom.parentNode:e.dom;if(null==t||null===t.ownerDocument)return!1;const n=t.ownerDocument;return(e=>{const t=Mn(e);return jn(t)?N.some(t):N.none()})(dn.fromDom(t)).fold((()=>n.body.contains(t)),B(Nn,Rn))},Fn=(e,t,n)=>{if(!h(n))throw console.error("Invalid call to CSS.set. Property ",t,":: Value ",n,":: Element ",e),new Error("CSS value must be a string: "+n);cn(e)&&e.style.setProperty(t,n)},zn=(e,t,n)=>{const r=e.dom;Fn(r,t,n)},qn=(e,t)=>{const n=e.dom;me(t,((e,t)=>{Fn(n,t,e)}))},Un=(e,t)=>{const n=e.dom,r=window.getComputedStyle(n).getPropertyValue(t);return""!==r||Nn(e)?r:Hn(n,t)},Hn=(e,t)=>cn(e)?e.style.getPropertyValue(t):"",Wn=(e,t)=>{const n=e.dom,r=Hn(n,t);return N.from(r).filter((e=>e.length>0))},Vn=e=>{const t={},n=e.dom;if(cn(n))for(let e=0;e<n.style.length;e++){const r=n.style.item(e);t[r]=n.style[r]}return t},Yn=(e,t)=>{((e,t)=>{cn(e)&&e.style.removeProperty(t)})(e.dom,t),Mt(Gt(e,"style").map(Ve),"")&&$t(e,"style")},Zn=(e,t)=>{An(e).each((n=>{n.dom.insertBefore(t.dom,e.dom)}))},Gn=(e,t)=>{Cn(e).fold((()=>{An(e).each((e=>{$n(e,t)}))}),(e=>{Zn(e,t)}))},Kn=(e,t)=>{En(e).fold((()=>{$n(e,t)}),(n=>{e.dom.insertBefore(t.dom,n.dom)}))},$n=(e,t)=>{e.dom.appendChild(t.dom)},Xn=(e,t)=>{Y(t,(t=>{$n(e,t)}))},Qn=e=>{e.dom.textContent="",Y(kn(e),(e=>{Jn(e)}))},Jn=e=>{const t=e.dom;null!==t.parentNode&&t.parentNode.removeChild(t)},er=e=>{const t=kn(e);var n,r;t.length>0&&(n=e,Y(r=t,((e,t)=>{const o=0===t?n:r[t-1];Gn(o,e)}))),Jn(e)},tr=e=>e.dom.innerHTML,nr=(e,t)=>{const n=vn(e).dom,r=dn.fromDom(n.createDocumentFragment()),o=((e,t)=>{const n=(t||document).createElement("div");return n.innerHTML=e,kn(dn.fromDom(n))})(t,n);Xn(r,o),Qn(e),$n(e,r)},rr=(e,t)=>n=>{e(n)&&t((e=>{const t=dn.fromDom(Ln(e).getOr(e.target)),n=()=>e.stopPropagation(),r=()=>e.preventDefault(),o=E(r,n);return((e,t,n,r,o,i,a)=>({target:e,x:t,y:n,stop:r,prevent:o,kill:i,raw:a}))(t,e.clientX,e.clientY,n,r,o,e)})(n))},or=(e,t,n,r)=>((e,t,n,r,o)=>{const i=rr(n,r);return e.dom.addEventListener(t,i,o),{unbind:P(ir,e,t,i,o)}})(e,t,n,r,!1),ir=(e,t,n,r)=>{e.dom.removeEventListener(t,n,r)},ar=(e,t)=>({left:e,top:t,translate:(n,r)=>ar(e+n,t+r)}),sr=ar,lr=(e,t)=>void 0!==e?e:void 0!==t?t:0,cr=e=>{const t=e.dom,n=t.ownerDocument.body;return n===t?sr(n.offsetLeft,n.offsetTop):Nn(e)?(e=>{const t=e.getBoundingClientRect();return sr(t.left,t.top)})(t):sr(0,0)},ur=e=>{const t=void 0!==e?e.dom:document,n=t.body.scrollLeft||t.documentElement.scrollLeft,r=t.body.scrollTop||t.documentElement.scrollTop;return sr(n,r)},dr=(e,t,n)=>{const r=(void 0!==n?n.dom:document).defaultView;r&&r.scrollTo(e,t)},fr=(e,t)=>{xt().browser.isSafari()&&_(e.dom.scrollIntoViewIfNeeded)?e.dom.scrollIntoViewIfNeeded(!1):e.dom.scrollIntoView(t)},pr=(e,t,n,r)=>({x:e,y:t,width:n,height:r,right:e+n,bottom:t+r}),hr=e=>{const t=void 0===e?window:e,n=t.document,r=ur(dn.fromDom(n));return(e=>{const t=void 0===e?window:e;return xt().browser.isFirefox()?N.none():N.from(t.visualViewport)})(t).fold((()=>{const e=t.document.documentElement,n=e.clientWidth,o=e.clientHeight;return pr(r.left,r.top,n,o)}),(e=>pr(Math.max(e.pageLeft,r.left),Math.max(e.pageTop,r.top),e.width,e.height)))},mr=e=>t=>!!t&&t.nodeType===e,gr=e=>!!e&&!Object.getPrototypeOf(e),vr=mr(1),br=e=>{const t=e.toLowerCase();return e=>C(e)&&e.nodeName.toLowerCase()===t},yr=e=>{const t=e.map((e=>e.toLowerCase()));return e=>{if(e&&e.nodeName){const n=e.nodeName.toLowerCase();return H(t,n)}return!1}},Ar=(e,t)=>{const n=t.toLowerCase().split(" ");return t=>{if(vr(t)){const r=t.ownerDocument.defaultView;if(r)for(let o=0;o<n.length;o++){const i=r.getComputedStyle(t,null);if((i?i.getPropertyValue(e):null)===n[o])return!0}}return!1}},xr=e=>t=>vr(t)&&t.hasAttribute(e),Cr=e=>vr(e)&&e.hasAttribute("data-mce-bogus"),_r=e=>vr(e)&&"TABLE"===e.tagName,wr=e=>t=>{if(vr(t)){if(t.contentEditable===e)return!0;if(t.getAttribute("data-mce-contenteditable")===e)return!0}return!1},kr=yr(["textarea","input"]),Sr=mr(3),Er=mr(4),Br=mr(7),Or=mr(8),jr=mr(9),Tr=mr(11),Pr=br("br"),Mr=br("img"),Dr=wr("true"),Rr=wr("false"),Lr=yr(["td","th"]),Ir=yr(["td","th","caption"]),Nr=yr(["video","audio","object","embed"]),Fr=br("li"),zr=xt().browser,qr=e=>J(e,Ft),Ur=(e,t)=>e.children&&H(e.children,t),Hr=(e,t,n)=>{let r=0,o=0;const i=e.ownerDocument;if(n=n||e,t){if(n===e&&t.getBoundingClientRect&&"static"===Un(dn.fromDom(e),"position")){const n=t.getBoundingClientRect();return r=n.left+(i.documentElement.scrollLeft||e.scrollLeft)-i.documentElement.clientLeft,o=n.top+(i.documentElement.scrollTop||e.scrollTop)-i.documentElement.clientTop,{x:r,y:o}}let a=t;for(;a&&a!==n&&a.nodeType&&!Ur(a,n);){const e=a;r+=e.offsetLeft||0,o+=e.offsetTop||0,a=e.offsetParent}for(a=t.parentNode;a&&a!==n&&a.nodeType&&!Ur(a,n);)r-=a.scrollLeft||0,o-=a.scrollTop||0,a=a.parentNode;o+=(e=>zr.isFirefox()&&"table"===Lt(e)?qr(kn(e)).filter((e=>"caption"===Lt(e))).bind((e=>qr(wn(e)).map((t=>{const n=t.dom.offsetTop,r=e.dom.offsetTop,o=e.dom.offsetHeight;return n<=r?-o:0})))).getOr(0):0)(dn.fromDom(t))}return{x:r,y:o}};var Wr=(e,t,n,r,o)=>e(n,r)?N.some(n):_(o)&&o(n)?N.none():t(n,r,o);const Vr=(e,t,n)=>{let r=e.dom;const o=_(n)?n:L;for(;r.parentNode;){r=r.parentNode;const e=dn.fromDom(r);if(t(e))return N.some(e);if(o(e))break}return N.none()},Yr=(e,t,n)=>Wr(((e,t)=>t(e)),Vr,e,t,n),Zr=(e,t)=>J(e.dom.childNodes,(e=>t(dn.fromDom(e)))).map(dn.fromDom),Gr=(e,t,n)=>Vr(e,(e=>pn(e,t)),n),Kr=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return hn(n)?N.none():N.from(n.querySelector(e)).map(dn.fromDom)})(t,e),$r=(e,t,n)=>Wr(((e,t)=>pn(e,t)),Gr,e,t,n),Xr=(e,t={})=>{let n=0;const r={},o=dn.fromDom(e),i=bn(o),a=t.maxLoadTime||5e3,s=s=>new Promise(((l,c)=>{let u;const d=Pt._addCacheSuffix(s),f=(e=>_e(r,e).getOrThunk((()=>({id:"mce-u"+n++,passed:[],failed:[],count:0}))))(d);r[d]=f,f.count++;const p=(e,t)=>{Y(e,R),f.status=t,f.passed=[],f.failed=[],u&&(u.onload=null,u.onerror=null,u=null)},h=()=>p(f.passed,2),m=()=>p(f.failed,3),g=()=>{var t,n;t=()=>{const t=e.styleSheets;let n=t.length;for(;n--;){const e=t[n].ownerNode;if(e&&u&&e.id===u.id)return h(),!0}return!1},n=g,t()||(Date.now()-b<a?setTimeout(n):m())};if(l&&f.passed.push(l),c&&f.failed.push(c),1===f.status)return;if(2===f.status)return void h();if(3===f.status)return void m();f.status=1;const v=dn.fromTag("link",i.dom);Yt(v,{rel:"stylesheet",type:"text/css",id:f.id});const b=Date.now();var y;t.contentCssCors&&Vt(v,"crossOrigin","anonymous"),t.referrerPolicy&&Vt(v,"referrerpolicy",t.referrerPolicy),u=v.dom,u.onload=g,u.onerror=m,y=v,$n(Dn(o),y),Vt(v,"href",d)})),l=e=>{const t=Pt._addCacheSuffix(e);_e(r,t).each((e=>{0===--e.count&&(delete r[t],(e=>{const t=Dn(o);Kr(t,"#"+e).each(Jn)})(e.id))}))};return{load:s,loadAll:e=>Promise.allSettled(V(e,(e=>s(e).then(O(e))))).then((e=>{const t=G(e,(e=>"fulfilled"===e.status));return t.fail.length>0?Promise.reject(V(t.fail,(e=>e.reason))):V(t.pass,(e=>e.value))})),unload:l,unloadAll:e=>{Y(e,(e=>{l(e)}))},_setReferrerPolicy:e=>{t.referrerPolicy=e}}},Qr=(()=>{const e=new WeakMap;return{forElement:(t,n)=>{const r=Mn(t).dom;return N.from(e.get(r)).getOrThunk((()=>{const t=Xr(r,n);return e.set(r,t),t}))}}})();class Jr{constructor(e,t){this.node=e,this.rootNode=t,this.current=this.current.bind(this),this.next=this.next.bind(this),this.prev=this.prev.bind(this),this.prev2=this.prev2.bind(this)}current(){return this.node}next(e){return this.node=this.findSibling(this.node,"firstChild","nextSibling",e),this.node}prev(e){return this.node=this.findSibling(this.node,"lastChild","previousSibling",e),this.node}prev2(e){return this.node=this.findPreviousNode(this.node,e),this.node}findSibling(e,t,n,r){if(e){if(!r&&e[t])return e[t];if(e!==this.rootNode){let t=e[n];if(t)return t;for(let r=e.parentNode;r&&r!==this.rootNode;r=r.parentNode)if(t=r[n],t)return t}}}findPreviousNode(e,t){if(e){const n=e.previousSibling;if(this.rootNode&&n===this.rootNode)return;if(n){if(!t)for(let e=n.lastChild;e;e=e.lastChild)if(!e.lastChild)return e;return n}const r=e.parentNode;if(r&&r!==this.rootNode)return r}}}const eo=["pre"].concat(["h1","h2","h3","h4","h5","h6"]),to=e=>{let t;return n=>(t=t||ae(e,I),we(t,Lt(n)))},no=to(["article","aside","details","div","dt","figcaption","footer","form","fieldset","header","hgroup","html","main","nav","section","summary","body","p","dl","multicol","dd","figure","address","center","blockquote","h1","h2","h3","h4","h5","h6","listing","xmp","pre","plaintext","menu","dir","ul","ol","li","hr","table","tbody","thead","tfoot","th","tr","td","caption"]),ro=e=>Ft(e)&&!no(e),oo=e=>Ft(e)&&"br"===Lt(e),io=to(["h1","h2","h3","h4","h5","h6","p","div","address","pre","form","blockquote","center","dir","fieldset","header","footer","article","section","hgroup","aside","nav","figure"]),ao=to(["ul","ol","dl"]),so=to(["li","dd","dt"]),lo=to(["thead","tbody","tfoot"]),co=to(["td","th"]),uo=to(["pre","script","textarea","style"]),fo=to(eo),po=e=>fo(e)||ro(e),ho=(e,t,n)=>Gr(e,t,n).isSome(),mo="\ufeff",go=" ",vo=e=>e===mo,bo=(e,t)=>{let n=[];return Y(kn(e),(e=>{t(e)&&(n=n.concat([e])),n=n.concat(bo(e,t))})),n},yo=(e,t)=>((e,t)=>{const n=void 0===t?document:t.dom;return hn(n)?[]:V(n.querySelectorAll(e),dn.fromDom)})(t,e),Ao=((e,t)=>{const n=t=>e(t)?N.from(t.dom.nodeValue):N.none();return{get:r=>{if(!e(r))throw new Error("Can only get "+t+" value of a "+t+" node");return n(r).getOr("")},getOption:n,set:(n,r)=>{if(!e(n))throw new Error("Can only set raw "+t+" value of a "+t+" node");n.dom.nodeValue=r}}})(zt,"text"),xo=e=>Ao.get(e),Co=e=>Ao.getOption(e),_o=e=>{const t=yo(e,"br"),n=K((e=>{const t=[];let n=e.dom;for(;n;)t.push(dn.fromDom(n)),n=n.lastChild;return t})(e).slice(-1),oo);t.length===n.length&&Y(n,Jn)},wo=()=>{const e=dn.fromTag("br");return Vt(e,"data-mce-bogus","1"),e},ko=e=>{Qn(e),$n(e,wo())},So=e=>{Bn(e).each((t=>{xn(t).each((n=>{no(e)&&oo(t)&&no(n)&&Jn(t)}))}))},Eo=mo,Bo=vo,Oo=e=>e.replace(/\uFEFF/g,""),jo=vr,To=Sr,Po=e=>(To(e)&&(e=e.parentNode),jo(e)&&e.hasAttribute("data-mce-caret")),Mo=e=>To(e)&&Bo(e.data),Do=e=>Po(e)||Mo(e),Ro=e=>e.firstChild!==e.lastChild||!Pr(e.firstChild),Lo=e=>{const t=e.container();return!!Sr(t)&&(t.data.charAt(e.offset())===Eo||e.isAtStart()&&Mo(t.previousSibling))},Io=e=>{const t=e.container();return!!Sr(t)&&(t.data.charAt(e.offset()-1)===Eo||e.isAtEnd()&&Mo(t.nextSibling))},No=e=>To(e)&&e.data[0]===Eo,Fo=e=>To(e)&&e.data[e.data.length-1]===Eo,zo=e=>e&&e.hasAttribute("data-mce-caret")?((e=>{var t;const n=e.getElementsByTagName("br"),r=n[n.length-1];Cr(r)&&(null===(t=r.parentNode)||void 0===t||t.removeChild(r))})(e),e.removeAttribute("data-mce-caret"),e.removeAttribute("data-mce-bogus"),e.removeAttribute("style"),e.removeAttribute("data-mce-style"),e.removeAttribute("_moz_abspos"),e):null,qo=e=>Po(e.startContainer),Uo=Dr,Ho=Rr,Wo=Pr,Vo=Sr,Yo=yr(["script","style","textarea"]),Zo=yr(["img","input","textarea","hr","iframe","video","audio","object","embed"]),Go=yr(["table"]),Ko=Do,$o=e=>!Ko(e)&&(Vo(e)?!Yo(e.parentNode):Zo(e)||Wo(e)||Go(e)||Xo(e)),Xo=e=>!(e=>vr(e)&&"true"===e.getAttribute("unselectable"))(e)&&Ho(e),Qo=(e,t)=>$o(e)&&((e,t)=>{for(let n=e.parentNode;n&&n!==t;n=n.parentNode){if(Xo(n))return!1;if(Uo(n))return!0}return!0})(e,t),Jo=/^[ \t\r\n]*$/,ei=e=>Jo.test(e),ti=e=>"\n"===e||"\r"===e,ni=(e,t=4,n=!0,r=!0)=>{const o=((e,t)=>t<=0?"":new Array(t+1).join(e))(" ",t),i=e.replace(/\t/g,o),a=X(i,((e,t)=>(e=>-1!==" \f\t\v".indexOf(e))(t)||t===go?e.pcIsSpace||""===e.str&&n||e.str.length===i.length-1&&r||((e,t)=>t<e.length&&t>=0&&ti(e[t]))(i,e.str.length+1)?{pcIsSpace:!1,str:e.str+go}:{pcIsSpace:!0,str:e.str+" "}:{pcIsSpace:ti(t),str:e.str+t}),{pcIsSpace:!1,str:""});return a.str},ri=(e,t)=>Sr(e)&&ei(e.data)&&!((e,t)=>{const n=dn.fromDom(t),r=dn.fromDom(e);return ho(r,"pre,code",P(mn,n))})(e,t),oi=(e,t)=>$o(e)&&!ri(e,t)||(e=>vr(e)&&"A"===e.nodeName&&!e.hasAttribute("href")&&(e.hasAttribute("name")||e.hasAttribute("id")))(e)||ii(e),ii=xr("data-mce-bookmark"),ai=xr("data-mce-bogus"),si=(li="data-mce-bogus",ci="all",e=>vr(e)&&e.getAttribute(li)===ci);var li,ci;const ui=(e,t=!0)=>((e,t)=>{let n=0;if(oi(e,e))return!1;{let r=e.firstChild;if(!r)return!0;const o=new Jr(r,e);do{if(t){if(si(r)){r=o.next(!0);continue}if(ai(r)){r=o.next();continue}}if(Pr(r))n++,r=o.next();else{if(oi(r,e))return!1;r=o.next()}}while(r);return n<=1}})(e.dom,t),di=(e,t)=>C(e)&&(oi(e,t)||ro(dn.fromDom(e))),fi=e=>(e=>"span"===e.nodeName.toLowerCase())(e)&&"bookmark"===e.getAttribute("data-mce-type"),pi=(e,t)=>Sr(e)&&e.data.length>0&&((e,t)=>{const n=new Jr(e,t).prev(!1),r=new Jr(e,t).next(!1),o=A(n)||di(n,t),i=A(r)||di(r,t);return o&&i})(e,t),hi=(e,t,n)=>{var r;const o=n||t;if(vr(t)&&fi(t))return t;const i=t.childNodes;for(let t=i.length-1;t>=0;t--)hi(e,i[t],o);if(vr(t)){const e=t.childNodes;1===e.length&&fi(e[0])&&(null===(r=t.parentNode)||void 0===r||r.insertBefore(e[0],t))}return(e=>Tr(e)||jr(e))(t)||oi(t,o)||(e=>!!vr(e)&&e.childNodes.length>0)(t)||pi(t,o)||e.remove(t),t},mi=Pt.makeMap,gi=/[&<>\"\u0060\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,vi=/[<>&\u007E-\uD7FF\uE000-\uFFEF]|[\uD800-\uDBFF][\uDC00-\uDFFF]/g,bi=/[<>&\"\']/g,yi=/&#([a-z0-9]+);?|&([a-z0-9]+);/gi,Ai={128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},xi={'"':"&quot;","'":"&#39;","<":"&lt;",">":"&gt;","&":"&amp;","`":"&#96;"},Ci={"&lt;":"<","&gt;":">","&amp;":"&","&quot;":'"',"&apos;":"'"},_i=(e,t)=>{const n={};if(e){const r=e.split(",");t=t||10;for(let e=0;e<r.length;e+=2){const o=String.fromCharCode(parseInt(r[e],t));if(!xi[o]){const t="&"+r[e+1]+";";n[o]=t,n[t]=o}}return n}},wi=_i("50,nbsp,51,iexcl,52,cent,53,pound,54,curren,55,yen,56,brvbar,57,sect,58,uml,59,copy,5a,ordf,5b,laquo,5c,not,5d,shy,5e,reg,5f,macr,5g,deg,5h,plusmn,5i,sup2,5j,sup3,5k,acute,5l,micro,5m,para,5n,middot,5o,cedil,5p,sup1,5q,ordm,5r,raquo,5s,frac14,5t,frac12,5u,frac34,5v,iquest,60,Agrave,61,Aacute,62,Acirc,63,Atilde,64,Auml,65,Aring,66,AElig,67,Ccedil,68,Egrave,69,Eacute,6a,Ecirc,6b,Euml,6c,Igrave,6d,Iacute,6e,Icirc,6f,Iuml,6g,ETH,6h,Ntilde,6i,Ograve,6j,Oacute,6k,Ocirc,6l,Otilde,6m,Ouml,6n,times,6o,Oslash,6p,Ugrave,6q,Uacute,6r,Ucirc,6s,Uuml,6t,Yacute,6u,THORN,6v,szlig,70,agrave,71,aacute,72,acirc,73,atilde,74,auml,75,aring,76,aelig,77,ccedil,78,egrave,79,eacute,7a,ecirc,7b,euml,7c,igrave,7d,iacute,7e,icirc,7f,iuml,7g,eth,7h,ntilde,7i,ograve,7j,oacute,7k,ocirc,7l,otilde,7m,ouml,7n,divide,7o,oslash,7p,ugrave,7q,uacute,7r,ucirc,7s,uuml,7t,yacute,7u,thorn,7v,yuml,ci,fnof,sh,Alpha,si,Beta,sj,Gamma,sk,Delta,sl,Epsilon,sm,Zeta,sn,Eta,so,Theta,sp,Iota,sq,Kappa,sr,Lambda,ss,Mu,st,Nu,su,Xi,sv,Omicron,t0,Pi,t1,Rho,t3,Sigma,t4,Tau,t5,Upsilon,t6,Phi,t7,Chi,t8,Psi,t9,Omega,th,alpha,ti,beta,tj,gamma,tk,delta,tl,epsilon,tm,zeta,tn,eta,to,theta,tp,iota,tq,kappa,tr,lambda,ts,mu,tt,nu,tu,xi,tv,omicron,u0,pi,u1,rho,u2,sigmaf,u3,sigma,u4,tau,u5,upsilon,u6,phi,u7,chi,u8,psi,u9,omega,uh,thetasym,ui,upsih,um,piv,812,bull,816,hellip,81i,prime,81j,Prime,81u,oline,824,frasl,88o,weierp,88h,image,88s,real,892,trade,89l,alefsym,8cg,larr,8ch,uarr,8ci,rarr,8cj,darr,8ck,harr,8dl,crarr,8eg,lArr,8eh,uArr,8ei,rArr,8ej,dArr,8ek,hArr,8g0,forall,8g2,part,8g3,exist,8g5,empty,8g7,nabla,8g8,isin,8g9,notin,8gb,ni,8gf,prod,8gh,sum,8gi,minus,8gn,lowast,8gq,radic,8gt,prop,8gu,infin,8h0,ang,8h7,and,8h8,or,8h9,cap,8ha,cup,8hb,int,8hk,there4,8hs,sim,8i5,cong,8i8,asymp,8j0,ne,8j1,equiv,8j4,le,8j5,ge,8k2,sub,8k3,sup,8k4,nsub,8k6,sube,8k7,supe,8kl,oplus,8kn,otimes,8l5,perp,8m5,sdot,8o8,lceil,8o9,rceil,8oa,lfloor,8ob,rfloor,8p9,lang,8pa,rang,9ea,loz,9j0,spades,9j3,clubs,9j5,hearts,9j6,diams,ai,OElig,aj,oelig,b0,Scaron,b1,scaron,bo,Yuml,m6,circ,ms,tilde,802,ensp,803,emsp,809,thinsp,80c,zwnj,80d,zwj,80e,lrm,80f,rlm,80j,ndash,80k,mdash,80o,lsquo,80p,rsquo,80q,sbquo,80s,ldquo,80t,rdquo,80u,bdquo,810,dagger,811,Dagger,81g,permil,81p,lsaquo,81q,rsaquo,85c,euro",32),ki=(e,t)=>e.replace(t?gi:vi,(e=>xi[e]||e)),Si=(e,t)=>e.replace(t?gi:vi,(e=>e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":xi[e]||"&#"+e.charCodeAt(0)+";")),Ei=(e,t,n)=>{const r=n||wi;return e.replace(t?gi:vi,(e=>xi[e]||r[e]||e))},Bi={encodeRaw:ki,encodeAllRaw:e=>(""+e).replace(bi,(e=>xi[e]||e)),encodeNumeric:Si,encodeNamed:Ei,getEncodeFunc:(e,t)=>{const n=_i(t)||wi,r=(e,t)=>e.replace(t?gi:vi,(e=>void 0!==xi[e]?xi[e]:void 0!==n[e]?n[e]:e.length>1?"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";":"&#"+e.charCodeAt(0)+";")),o=(e,t)=>Ei(e,t,n),i=mi(e.replace(/\+/g,","));return i.named&&i.numeric?r:i.named?t?o:Ei:i.numeric?Si:ki},decode:e=>e.replace(yi,((e,t)=>t?(t="x"===t.charAt(0).toLowerCase()?parseInt(t.substr(1),16):parseInt(t,10))>65535?(t-=65536,String.fromCharCode(55296+(t>>10),56320+(1023&t))):Ai[t]||String.fromCharCode(t):Ci[e]||wi[e]||(e=>{const t=dn.fromTag("div").dom;return t.innerHTML=e,t.textContent||t.innerText||e})(e)))},Oi={},ji={},Ti={},Pi=Pt.makeMap,Mi=Pt.each,Di=Pt.extend,Ri=Pt.explode,Li=Pt.inArray,Ii=(e,t)=>(e=Pt.trim(e))?e.split(t||" "):[],Ni=(e,t={})=>{const n=Pi(e," ",Pi(e.toUpperCase()," "));return Di(n,t)},Fi=e=>Ni("td th li dt dd figcaption caption details summary",e.getTextBlockElements()),zi=(e,t)=>{if(e){const n={};return h(e)&&(e={"*":e}),Mi(e,((e,r)=>{n[r]=n[r.toUpperCase()]="map"===t?Pi(e,/[, ]/):Ri(e,/[, ]/)})),n}},qi=(e={})=>{var t;const n={},r={};let o=[];const i={},a={},s=(t,n,r)=>{const o=e[t];if(o)return Pi(o,/[, ]/,Pi(o.toUpperCase(),/[, ]/));{let e=ji[t];return e||(e=Ni(n,r),ji[t]=e),e}},l=null!==(t=e.schema)&&void 0!==t?t:"html5",c=(e=>{const t={};let n,r,o,i;const a=(e,r="",o="")=>{const i=Ii(o),a=Ii(e);let s=a.length;for(;s--;){const e=Ii([n,r].join(" "));t[a[s]]={attributes:ae(e,(()=>({}))),attributesOrder:e,children:ae(i,O(Ti))}}},s=(e,n)=>{const r=Ii(e),o=Ii(n);let i=r.length;for(;i--;){const e=t[r[i]];for(let t=0,n=o.length;t<n;t++)e.attributes[o[t]]={},e.attributesOrder.push(o[t])}};if(Oi[e])return Oi[e];if(n="id accesskey class dir lang style tabindex title role",r="address blockquote div dl fieldset form h1 h2 h3 h4 h5 h6 hr menu ol p pre table ul",o="a abbr b bdo br button cite code del dfn em embed i iframe img input ins kbd label map noscript object q s samp script select small span strong sub sup textarea u var #text #comment","html4"!==e&&(n+=" contenteditable contextmenu draggable dropzone hidden spellcheck translate",r+=" article aside details dialog figure main header footer hgroup section nav",o+=" audio canvas command datalist mark meter output picture progress time wbr video ruby bdi keygen"),"html5-strict"!==e){n+=" xml:lang";const e="acronym applet basefont big font strike tt";o=[o,e].join(" "),Mi(Ii(e),(e=>{a(e,"",o)}));const t="center dir isindex noframes";r=[r,t].join(" "),i=[r,o].join(" "),Mi(Ii(t),(e=>{a(e,"",i)}))}return i=i||[r,o].join(" "),a("html","manifest","head body"),a("head","","base command link meta noscript script style title"),a("title hr noscript br"),a("base","href target"),a("link","href rel media hreflang type sizes hreflang"),a("meta","name http-equiv content charset"),a("style","media type scoped"),a("script","src async defer type charset"),a("body","onafterprint onbeforeprint onbeforeunload onblur onerror onfocus onhashchange onload onmessage onoffline ononline onpagehide onpageshow onpopstate onresize onscroll onstorage onunload",i),a("address dt dd div caption","",i),a("h1 h2 h3 h4 h5 h6 pre p abbr code var samp kbd sub sup i b u bdo span legend em strong small s cite dfn","",o),a("blockquote","cite",i),a("ol","reversed start type","li"),a("ul","","li"),a("li","value",i),a("dl","","dt dd"),a("a","href target rel media hreflang type",o),a("q","cite",o),a("ins del","cite datetime",i),a("img","src sizes srcset alt usemap ismap width height"),a("iframe","src name width height",i),a("embed","src type width height"),a("object","data type typemustmatch name usemap form width height",[i,"param"].join(" ")),a("param","name value"),a("map","name",[i,"area"].join(" ")),a("area","alt coords shape href target rel media hreflang type"),a("table","border","caption colgroup thead tfoot tbody tr"+("html4"===e?" col":"")),a("colgroup","span","col"),a("col","span"),a("tbody thead tfoot","","tr"),a("tr","","td th"),a("td","colspan rowspan headers",i),a("th","colspan rowspan headers scope abbr",i),a("form","accept-charset action autocomplete enctype method name novalidate target",i),a("fieldset","disabled form name",[i,"legend"].join(" ")),a("label","form for",o),a("input","accept alt autocomplete checked dirname disabled form formaction formenctype formmethod formnovalidate formtarget height list max maxlength min multiple name pattern readonly required size src step type value width"),a("button","disabled form formaction formenctype formmethod formnovalidate formtarget name type value","html4"===e?i:o),a("select","disabled form multiple name required size","option optgroup"),a("optgroup","disabled label","option"),a("option","disabled label selected value"),a("textarea","cols dirname disabled form maxlength name readonly required rows wrap"),a("menu","type label",[i,"li"].join(" ")),a("noscript","",i),"html4"!==e&&(a("wbr"),a("ruby","",[o,"rt rp"].join(" ")),a("figcaption","",i),a("mark rt rp summary bdi","",o),a("canvas","width height",i),a("video","src crossorigin poster preload autoplay mediagroup loop muted controls width height buffered",[i,"track source"].join(" ")),a("audio","src crossorigin preload autoplay mediagroup loop muted controls buffered volume",[i,"track source"].join(" ")),a("picture","","img source"),a("source","src srcset type media sizes"),a("track","kind src srclang label default"),a("datalist","",[o,"option"].join(" ")),a("article section nav aside main header footer","",i),a("hgroup","","h1 h2 h3 h4 h5 h6"),a("figure","",[i,"figcaption"].join(" ")),a("time","datetime",o),a("dialog","open",i),a("command","type label icon disabled checked radiogroup command"),a("output","for form name",o),a("progress","value max",o),a("meter","value min max low high optimum",o),a("details","open",[i,"summary"].join(" ")),a("keygen","autofocus challenge disabled form keytype name")),"html5-strict"!==e&&(s("script","language xml:space"),s("style","xml:space"),s("object","declare classid code codebase codetype archive standby align border hspace vspace"),s("embed","align name hspace vspace"),s("param","valuetype type"),s("a","charset name rev shape coords"),s("br","clear"),s("applet","codebase archive code object alt name width height align hspace vspace"),s("img","name longdesc align border hspace vspace"),s("iframe","longdesc frameborder marginwidth marginheight scrolling align"),s("font basefont","size color face"),s("input","usemap align"),s("select"),s("textarea"),s("h1 h2 h3 h4 h5 h6 div p legend caption","align"),s("ul","type compact"),s("li","type"),s("ol dl menu dir","compact"),s("pre","width xml:space"),s("hr","align noshade size width"),s("isindex","prompt"),s("table","summary width frame rules cellspacing cellpadding align bgcolor"),s("col","width align char charoff valign"),s("colgroup","width align char charoff valign"),s("thead","align char charoff valign"),s("tr","align char charoff valign bgcolor"),s("th","axis align char charoff valign nowrap bgcolor width height"),s("form","accept"),s("td","abbr axis scope align char charoff valign nowrap bgcolor width height"),s("tfoot","align char charoff valign"),s("tbody","align char charoff valign"),s("area","nohref"),s("body","background bgcolor text link vlink alink")),"html4"!==e&&(s("input button select textarea","autofocus"),s("input textarea","placeholder"),s("a","download"),s("link script img","crossorigin"),s("img","loading"),s("iframe","sandbox seamless allow allowfullscreen loading")),"html4"!==e&&Y([t.video,t.audio],(e=>{delete e.children.audio,delete e.children.video})),Mi(Ii("a form meter progress dfn"),(e=>{t[e]&&delete t[e].children[e]})),delete t.caption.children.table,delete t.script,Oi[e]=t,t})(l);!1===e.verify_html&&(e.valid_elements="*[*]");const u=zi(e.valid_styles),d=zi(e.invalid_styles,"map"),f=zi(e.valid_classes,"map"),p=s("whitespace_elements","pre script noscript style textarea video audio iframe object code"),h=s("self_closing_elements","colgroup dd dt li option p td tfoot th thead tr"),m=s("void_elements","area base basefont br col frame hr img input isindex link meta param embed source wbr track"),g=s("boolean_attributes","checked compact declare defer disabled ismap multiple nohref noresize noshade nowrap readonly selected autoplay loop controls allowfullscreen"),v="td th iframe video audio object script code",b=s("non_empty_elements",v+" pre",m),y=s("move_caret_before_on_enter_elements",v+" table",m),A=s("text_block_elements","h1 h2 h3 h4 h5 h6 p div address pre form blockquote center dir fieldset header footer article section hgroup aside main nav figure"),x=s("block_elements","hr table tbody thead tfoot th tr td li ol ul caption dl dt dd noscript menu isindex option datalist select optgroup figcaption details summary",A),C=s("text_inline_elements","span strong b em i font s strike u var cite dfn code mark q sup sub samp");Mi("script noscript iframe noframes noembed title style textarea xmp plaintext".split(" "),(e=>{a[e]=new RegExp("</"+e+"[^>]*>","gi")}));const _=e=>new RegExp("^"+e.replace(/([?+*])/g,".$1")+"$"),w=e=>{const t=/^([#+\-])?([^\[!\/]+)(?:\/([^\[!]+))?(?:(!?)\[([^\]]+)])?$/,r=/^([!\-])?(\w+[\\:]:\w+|[^=~<]+)?(?:([=~<])(.*))?$/,i=/[*?+]/;if(e){const a=Ii(e,",");let s,l;n["@"]&&(s=n["@"].attributes,l=n["@"].attributesOrder);for(let e=0,c=a.length;e<c;e++){let c=t.exec(a[e]);if(c){const e=c[1],t=c[2],a=c[3],u=c[5],d={},f=[],p={attributes:d,attributesOrder:f};if("#"===e&&(p.paddEmpty=!0),"-"===e&&(p.removeEmpty=!0),"!"===c[4]&&(p.removeEmptyAttrs=!0),s&&(me(s,((e,t)=>{d[t]=e})),l&&f.push(...l)),u){const e=Ii(u,"|");for(let t=0,n=e.length;t<n;t++)if(c=r.exec(e[t]),c){const e={},t=c[1],n=c[2].replace(/[\\:]:/g,":"),r=c[3],o=c[4];if("!"===t&&(p.attributesRequired=p.attributesRequired||[],p.attributesRequired.push(n),e.required=!0),"-"===t){delete d[n],f.splice(Li(f,n),1);continue}if(r&&("="===r&&(p.attributesDefault=p.attributesDefault||[],p.attributesDefault.push({name:n,value:o}),e.defaultValue=o),"~"===r&&(p.attributesForced=p.attributesForced||[],p.attributesForced.push({name:n,value:o}),e.forcedValue=o),"<"===r&&(e.validValues=Pi(o,"?"))),i.test(n)){const t=e;p.attributePatterns=p.attributePatterns||[],t.pattern=_(n),p.attributePatterns.push(t)}else d[n]||f.push(n),d[n]=e}}if(s||"@"!==t||(s=d,l=f),a&&(p.outputName=t,n[a]=p),i.test(t)){const e=p;e.pattern=_(t),o.push(e)}else n[t]=p}}}},k=e=>{o=[],Y(pe(n),(e=>{delete n[e]})),w(e),Mi(c,((e,t)=>{r[t]=e.children}))},S=e=>{const t=/^(~)?(.+)$/;e&&(delete ji.text_block_elements,delete ji.block_elements,Mi(Ii(e,","),(e=>{const o=t.exec(e);if(o){const e="~"===o[1],t=e?"span":"div",a=o[2];if(r[a]=r[t],i[a]=t,b[a.toUpperCase()]={},b[a]={},e||(x[a.toUpperCase()]={},x[a]={}),!n[a]){let e=n[t];e=Di({},e),delete e.removeEmptyAttrs,delete e.removeEmpty,n[a]=e}Mi(r,((e,n)=>{e[t]&&(r[n]=e=Di({},r[n]),e[a]=e[t])}))}})))},E=e=>{const t=/^([+\-]?)([A-Za-z0-9_\-.\u00b7\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u037d\u037f-\u1fff\u200c-\u200d\u203f-\u2040\u2070-\u218f\u2c00-\u2fef\u3001-\ud7ff\uf900-\ufdcf\ufdf0-\ufffd]+)\[([^\]]+)]$/;delete Oi[l],e&&Mi(Ii(e,","),(e=>{const n=t.exec(e);if(n){const e=n[1];let t;t=e?r[n[2]]:r[n[2]]={"#comment":{}},t=r[n[2]],Mi(Ii(n[3],"|"),(n=>{"-"===e?delete t[n]:t[n]={}}))}}))},B=e=>{const t=n[e];if(t)return t;let r=o.length;for(;r--;){const t=o[r];if(t.pattern.test(e))return t}};e.valid_elements?k(e.valid_elements):(Mi(c,((e,t)=>{n[t]={attributes:e.attributes,attributesOrder:e.attributesOrder},r[t]=e.children})),Mi(Ii("strong/b em/i"),(e=>{const t=Ii(e,"/");n[t[1]].outputName=t[0]})),Mi(C,((t,r)=>{n[r]&&(e.padd_empty_block_inline_children&&(n[r].paddInEmptyBlock=!0),n[r].removeEmpty=!0)})),Mi(Ii("ol ul blockquote a table tbody"),(e=>{n[e]&&(n[e].removeEmpty=!0)})),Mi(Ii("p h1 h2 h3 h4 h5 h6 th td pre div address caption li"),(e=>{n[e].paddEmpty=!0})),Mi(Ii("span"),(e=>{n[e].removeEmptyAttrs=!0}))),S(e.custom_elements),E(e.valid_children),w(e.extended_valid_elements),E("+ol[ul|ol],+ul[ul|ol]"),Mi({dd:"dl",dt:"dl",li:"ul ol",td:"tr",th:"tr",tr:"tbody thead tfoot",tbody:"table",thead:"table",tfoot:"table",legend:"fieldset",area:"map",param:"video audio object"},((e,t)=>{n[t]&&(n[t].parentsRequired=Ii(e))})),e.invalid_elements&&Mi(Ri(e.invalid_elements),(e=>{n[e]&&delete n[e]})),B("span")||w("span[!data-mce-type|*]");const j=O(u),T=O(d),P=O(f),M=O(g),D=O(x),R=O(A),L=O(C),I=O(Object.seal(m)),N=O(h),F=O(b),z=O(y),q=O(p),U=O(Object.seal(a)),H=O(i);return{type:l,children:r,elements:n,getValidStyles:j,getValidClasses:P,getBlockElements:D,getInvalidStyles:T,getVoidElements:I,getTextBlockElements:R,getTextInlineElements:L,getBoolAttrs:M,getElementRule:B,getSelfClosingElements:N,getNonEmptyElements:F,getMoveCaretBeforeOnEnterElements:z,getWhitespaceElements:q,getSpecialElements:U,isValidChild:(e,t)=>{const n=r[e.toLowerCase()];return!(!n||!n[t.toLowerCase()])},isValid:(e,t)=>{const n=B(e);if(n){if(!t)return!0;{if(n.attributes[t])return!0;const e=n.attributePatterns;if(e){let n=e.length;for(;n--;)if(e[n].pattern.test(t))return!0}}}return!1},getCustomElements:H,addValidElements:w,setValidElements:k,addCustomElements:S,addValidChildren:E}},Ui=(e={},t)=>{const n=/(?:url(?:(?:\(\s*\"([^\"]+)\"\s*\))|(?:\(\s*\'([^\']+)\'\s*\))|(?:\(\s*([^)\s]+)\s*\))))|(?:\'([^\']+)\')|(?:\"([^\"]+)\")/gi,r=/\s*([^:]+):\s*([^;]+);?/g,o=/\s+$/,i={};let a,s;const l=mo;t&&(a=t.getValidStyles(),s=t.getInvalidStyles());const c="\\\" \\' \\; \\: ; : \ufeff".split(" ");for(let e=0;e<c.length;e++)i[c[e]]=l+e,i[l+e]=c[e];const u={parse:t=>{const a={};let s=!1;const c=e.url_converter,d=e.url_converter_scope||u,f=(e,t,n)=>{const r=a[e+"-top"+t];if(!r)return;const o=a[e+"-right"+t];if(!o)return;const i=a[e+"-bottom"+t];if(!i)return;const s=a[e+"-left"+t];if(!s)return;const l=[r,o,i,s];let c=l.length-1;for(;c--&&l[c]===l[c+1];);c>-1&&n||(a[e+t]=-1===c?l[0]:l.join(" "),delete a[e+"-top"+t],delete a[e+"-right"+t],delete a[e+"-bottom"+t],delete a[e+"-left"+t])},p=e=>{const t=a[e];if(!t)return;const n=t.split(" ");let r=n.length;for(;r--;)if(n[r]!==n[0])return!1;return a[e]=n[0],!0},h=e=>(s=!0,i[e]),m=(e,t)=>(s&&(e=e.replace(/\uFEFF[0-9]/g,(e=>i[e]))),t||(e=e.replace(/\\([\'\";:])/g,"$1")),e),g=e=>String.fromCharCode(parseInt(e.slice(1),16)),v=e=>e.replace(/\\[0-9a-f]+/gi,g),b=(t,n,r,o,i,a)=>{if(i=i||a)return"'"+(i=m(i)).replace(/\'/g,"\\'")+"'";if(n=m(n||r||o||""),!e.allow_script_urls){const t=n.replace(/[\s\r\n]+/g,"");if(/(java|vb)script:/i.test(t))return"";if(!e.allow_svg_data_urls&&/^data:image\/svg/i.test(t))return""}return c&&(n=c.call(d,n,"style")),"url('"+n.replace(/\'/g,"\\'")+"')"};if(t){let i;for(t=(t=t.replace(/[\u0000-\u001F]/g,"")).replace(/\\[\"\';:\uFEFF]/g,h).replace(/\"[^\"]+\"|\'[^\']+\'/g,(e=>e.replace(/[;:]/g,h)));i=r.exec(t);){r.lastIndex=i.index+i[0].length;let t=i[1].replace(o,"").toLowerCase(),c=i[2].replace(o,"");if(t&&c){if(t=v(t),c=v(c),-1!==t.indexOf(l)||-1!==t.indexOf('"'))continue;if(!e.allow_script_urls&&("behavior"===t||/expression\s*\(|\/\*|\*\//.test(c)))continue;"font-weight"===t&&"700"===c?c="bold":"color"!==t&&"background-color"!==t||(c=c.toLowerCase()),c=c.replace(n,b),a[t]=s?m(c,!0):c}}f("border","",!0),f("border","-width"),f("border","-color"),f("border","-style"),f("padding",""),f("margin",""),((e,t,n,r)=>{p(t)&&p(n)&&p(r)&&(a[e]=a[t]+" "+a[n]+" "+a[r],delete a[t],delete a[n],delete a[r])})("border","border-width","border-style","border-color"),"medium none"===a.border&&delete a.border,"none"===a["border-image"]&&delete a["border-image"]}return a},serialize:(e,t)=>{let n="";const r=(t,r)=>{const o=r[t];if(o)for(let t=0,r=o.length;t<r;t++){const r=o[t],i=e[r];i&&(n+=(n.length>0?" ":"")+r+": "+i+";")}};return t&&a?(r("*",a),r(t,a)):me(e,((e,r)=>{e&&((e,t)=>{if(!s||!t)return!0;let n=s["*"];return!(n&&n[e]||(n=s[t],n&&n[e]))})(r,t)&&(n+=(n.length>0?" ":"")+r+": "+e+";")})),n}};return u},Hi={keyLocation:!0,layerX:!0,layerY:!0,returnValue:!0,webkitMovementX:!0,webkitMovementY:!0,keyIdentifier:!0,mozPressure:!0},Wi=e=>x(e.preventDefault)||(e=>e instanceof Event||_(e.initEvent))(e),Vi=(e,t)=>{const n=null!=t?t:{};for(const t in e)we(Hi,t)||(n[t]=e[t]);return C(e.composedPath)&&(n.composedPath=()=>e.composedPath()),n},Yi=(e,t,n,r)=>{var o;const i=Vi(t,r);return i.type=e,x(i.target)&&(i.target=null!==(o=i.srcElement)&&void 0!==o?o:n),Wi(t)&&(i.preventDefault=()=>{i.defaultPrevented=!0,i.isDefaultPrevented=I,_(t.preventDefault)&&t.preventDefault()},i.stopPropagation=()=>{i.cancelBubble=!0,i.isPropagationStopped=I,_(t.stopPropagation)&&t.stopPropagation()},i.stopImmediatePropagation=()=>{i.isImmediatePropagationStopped=I,i.stopPropagation()},(e=>e.isDefaultPrevented===I||e.isDefaultPrevented===L)(i)||(i.isDefaultPrevented=!0===i.defaultPrevented?I:L,i.isPropagationStopped=!0===i.cancelBubble?I:L,i.isImmediatePropagationStopped=L)),i},Zi=/^(?:mouse|contextmenu)|click/,Gi=(e,t,n,r)=>{e.addEventListener(t,n,r||!1)},Ki=(e,t,n,r)=>{e.removeEventListener(t,n,r||!1)},$i=(e,t)=>{const n=Yi(e.type,e,document,t);if((e=>C(e)&&Zi.test(e.type))(e)&&A(e.pageX)&&!A(e.clientX)){const t=n.target.ownerDocument||document,r=t.documentElement,o=t.body,i=n;i.pageX=e.clientX+(r&&r.scrollLeft||o&&o.scrollLeft||0)-(r&&r.clientLeft||o&&o.clientLeft||0),i.pageY=e.clientY+(r&&r.scrollTop||o&&o.scrollTop||0)-(r&&r.clientTop||o&&o.clientTop||0)}return n},Xi=(e,t,n)=>{const r=e.document,o={type:"ready"};if(n.domLoaded)return void t(o);const i=()=>{Ki(e,"DOMContentLoaded",i),Ki(e,"load",i),n.domLoaded||(n.domLoaded=!0,t(o)),e=null};"complete"===r.readyState||"interactive"===r.readyState&&r.body?i():Gi(e,"DOMContentLoaded",i),n.domLoaded||Gi(e,"load",i)};class Qi{constructor(){this.domLoaded=!1,this.events={},this.count=1,this.expando="mce-data-"+(+new Date).toString(32),this.hasFocusIn="onfocusin"in document.documentElement,this.count=1}bind(e,t,n,r){const o=this;let i;const a=window,s=e=>{o.executeHandlers($i(e||a.event),l)};if(!e||Sr(e)||Or(e))return n;let l;e[o.expando]?l=e[o.expando]:(l=o.count++,e[o.expando]=l,o.events[l]={}),r=r||e;const c=t.split(" ");let u=c.length;for(;u--;){let t=c[u],d=s,f=!1,p=!1;"DOMContentLoaded"===t&&(t="ready"),o.domLoaded&&"ready"===t&&"complete"===e.readyState?n.call(r,$i({type:t})):(o.hasFocusIn||"focusin"!==t&&"focusout"!==t||(f=!0,p="focusin"===t?"focus":"blur",d=e=>{const t=$i(e||a.event);t.type="focus"===t.type?"focusin":"focusout",o.executeHandlers(t,l)}),i=o.events[l][t],i?"ready"===t&&o.domLoaded?n($i({type:t})):i.push({func:n,scope:r}):(o.events[l][t]=i=[{func:n,scope:r}],i.fakeName=p,i.capture=f,i.nativeHandler=d,"ready"===t?Xi(e,d,o):Gi(e,p||t,d,f)))}return e=i=null,n}unbind(e,t,n){if(!e||Sr(e)||Or(e))return this;const r=e[this.expando];if(r){let o=this.events[r];if(t){const r=t.split(" ");let i=r.length;for(;i--;){const t=r[i],a=o[t];if(a){if(n){let e=a.length;for(;e--;)if(a[e].func===n){const n=a.nativeHandler,r=a.fakeName,i=a.capture,s=a.slice(0,e).concat(a.slice(e+1));s.nativeHandler=n,s.fakeName=r,s.capture=i,o[t]=s}}n&&0!==a.length||(delete o[t],Ki(e,a.fakeName||t,a.nativeHandler,a.capture))}}}else me(o,((t,n)=>{Ki(e,t.fakeName||n,t.nativeHandler,t.capture)})),o={};for(const e in o)if(we(o,e))return this;delete this.events[r];try{delete e[this.expando]}catch(t){e[this.expando]=null}}return this}fire(e,t,n){return this.dispatch(e,t,n)}dispatch(e,t,n){if(!e||Sr(e)||Or(e))return this;const r=$i({type:t,target:e},n);do{const t=e[this.expando];t&&this.executeHandlers(r,t),e=e.parentNode||e.ownerDocument||e.defaultView||e.parentWindow}while(e&&!r.isPropagationStopped());return this}clean(e){if(!e||Sr(e)||Or(e))return this;if(e[this.expando]&&this.unbind(e),e.getElementsByTagName||(e=e.document),e&&e.getElementsByTagName){this.unbind(e);const t=e.getElementsByTagName("*");let n=t.length;for(;n--;)e=t[n],e[this.expando]&&this.unbind(e)}return this}destroy(){this.events={}}cancel(e){return e&&(e.preventDefault(),e.stopImmediatePropagation()),!1}executeHandlers(e,t){const n=this.events[t],r=n&&n[e.type];if(r)for(let t=0,n=r.length;t<n;t++){const n=r[t];if(n&&!1===n.func.call(n.scope,e)&&e.preventDefault(),e.isImmediatePropagationStopped())return}}}Qi.Event=new Qi;const Ji=Pt.each,ea=Pt.grep,ta="data-mce-style",na=Pt.makeMap("fill-opacity font-weight line-height opacity orphans widows z-index zoom"," "),ra=(e,t,n)=>{x(n)||""===n?$t(e,t):Vt(e,t,n)},oa=e=>e.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),ia=(e,t)=>{let n=0;if(e)for(let r=e.nodeType,o=e.previousSibling;o;o=o.previousSibling){const e=o.nodeType;(!t||!Sr(o)||e!==r&&o.data.length)&&(n++,r=e)}return n},aa=(e,t)=>{const n=Zt(t,"style"),r=e.serialize(e.parse(n),Lt(t));ra(t,ta,r)},sa=(e,t,n)=>{const r=oa(t);x(n)||""===n?Yn(e,r):zn(e,r,((e,t)=>w(e)?we(na,t)?e+"":e+"px":e)(n,r))},la=(e,t={})=>{const n={},r=window,o={};let i=0;const a=Qr.forElement(dn.fromDom(e),{contentCssCors:t.contentCssCors,referrerPolicy:t.referrerPolicy}),s=[],l=t.schema?t.schema:qi({}),c=Ui({url_converter:t.url_converter,url_converter_scope:t.url_converter_scope},t.schema),u=t.ownEvents?new Qi:Qi.Event,d=l.getBlockElements(),f=t=>t&&e&&h(t)?e.getElementById(t):t,p=e=>{const t=f(e);return C(t)?dn.fromDom(t):null},m=(e,t,n="")=>{let r;const o=p(e);if(C(o)&&Ft(o)){const e=G[t];r=e&&e.get?e.get(o.dom,t):Zt(o,t)}return C(r)?r:n},g=e=>{const t=f(e);return x(t)?[]:t.attributes},b=(e,n,r)=>{T(e,(e=>{if(vr(e)){const o=dn.fromDom(e),i=""===r?null:r,a=Zt(o,n),s=G[n];s&&s.set?s.set(o.dom,i,n):ra(o,n,i),a!==i&&t.onSetAttrib&&t.onSetAttrib({attrElm:o.dom,attrName:n,attrValue:i})}}))},y=()=>t.root_element||e.body,A=(t,n)=>Hr(e.body,f(t),n),w=(e,t,n)=>{const r=f(e);if(!x(r)&&vr(r))return n?Un(dn.fromDom(r),oa(t)):("float"===(t=t.replace(/-(\D)/g,((e,t)=>t.toUpperCase())))&&(t="cssFloat"),r.style?r.style[t]:void 0)},k=e=>{const t=f(e);if(!t)return{w:0,h:0};let n=w(t,"width"),r=w(t,"height");return n&&-1!==n.indexOf("px")||(n="0"),r&&-1!==r.indexOf("px")||(r="0"),{w:parseInt(n,10)||t.offsetWidth||t.clientWidth,h:parseInt(r,10)||t.offsetHeight||t.clientHeight}},E=(e,t)=>{if(!e)return!1;const n=v(e)?e:[e];return W(n,(e=>pn(dn.fromDom(e),t)))},B=(e,t,n,r)=>{const o=[];let i=f(e);r=void 0===r;const a=n||("BODY"!==y().nodeName?y().parentNode:null);if(h(t))if("*"===t)t=vr;else{const e=t;t=t=>E(t,e)}for(;i&&!(i===a||x(i.nodeType)||jr(i)||Tr(i));){if(!t||t(i)){if(!r)return[i];o.push(i)}i=i.parentNode}return r?o:null},j=(e,t,n)=>{let r=t;if(e){h(t)&&(r=e=>E(e,t));for(let t=e[n];t;t=t[n])if(_(r)&&r(t))return t}return null},T=function(e,t,n){const r=null!=n?n:this;if(v(e)){const n=[];return Ji(e,((e,o)=>{const i=f(e);i&&n.push(t.call(r,i,o))})),n}{const n=f(e);return!!n&&t.call(r,n)}},P=(e,t)=>{T(e,(e=>{me(t,((t,n)=>{b(e,n,t)}))}))},M=(e,t)=>{T(e,(e=>{const n=dn.fromDom(e);nr(n,t)}))},D=(t,n,r,o,i)=>T(t,(t=>{const a=h(n)?e.createElement(n):n;return C(r)&&P(a,r),o&&(!h(o)&&o.nodeType?a.appendChild(o):h(o)&&M(a,o)),i?a:t.appendChild(a)})),R=(t,n,r)=>D(e.createElement(t),t,n,r,!0),L=Bi.encodeAllRaw,I=(e,t)=>T(e,(e=>{const n=dn.fromDom(e);return t&&Y(kn(n),(e=>{zt(e)&&0===e.dom.length?Jn(e):Zn(n,e)})),Jn(n),n.dom})),N=(e,t,n)=>{T(e,(e=>{if(vr(e)){const r=dn.fromDom(e),o=t.split(" ");Y(o,(e=>{if(C(n)){(n?rn:an)(r,e)}else sn(r,e)}))}}))},F=(e,t,n)=>T(t,(r=>{var o;const i=v(t)?e.cloneNode(!0):e;return n&&Ji(ea(r.childNodes),(e=>{i.appendChild(e)})),null===(o=r.parentNode)||void 0===o||o.replaceChild(i,r),r})),z=e=>{if(vr(e)){const t="a"===e.nodeName.toLowerCase()&&!m(e,"href")&&m(e,"id");if(m(e,"name")||m(e,"data-mce-bookmark")||t)return!0}return!1},q=()=>e.createRange(),U=(n,o,i,a)=>{if(v(n)){let e=n.length;const t=[];for(;e--;)t[e]=U(n[e],o,i,a);return t}return!t.collect||n!==e&&n!==r||s.push([n,o,i,a]),u.bind(n,o,i,a||Z)},H=(t,n,o)=>{if(v(t)){let e=t.length;const r=[];for(;e--;)r[e]=H(t[e],n,o);return r}if(s.length>0&&(t===e||t===r)){let e=s.length;for(;e--;){const[r,i,a]=s[e];t!==r||n&&n!==i||o&&o!==a||u.unbind(r,i,a)}}return u.unbind(t,n,o)},V=e=>{if(e&&vr(e)){const t=e.getAttribute("data-mce-contenteditable");return t&&"inherit"!==t?t:"inherit"!==e.contentEditable?e.contentEditable:null}return null},Z={doc:e,settings:t,win:r,files:o,stdMode:!0,boxModel:!0,styleSheetLoader:a,boundEvents:s,styles:c,schema:l,events:u,isBlock:e=>h(e)?we(d,e):vr(e)&&we(d,e.nodeName),root:null,clone:(e,t)=>e.cloneNode(t),getRoot:y,getViewPort:e=>{const t=hr(e);return{x:t.x,y:t.y,w:t.width,h:t.height}},getRect:e=>{const t=f(e),n=A(t),r=k(t);return{x:n.x,y:n.y,w:r.w,h:r.h}},getSize:k,getParent:(e,t,n)=>{const r=B(e,t,n,!1);return r&&r.length>0?r[0]:null},getParents:B,get:f,getNext:(e,t)=>j(e,t,"nextSibling"),getPrev:(e,t)=>j(e,t,"previousSibling"),select:(n,r)=>{var o,i;const a=null!==(i=null!==(o=f(r))&&void 0!==o?o:t.root_element)&&void 0!==i?i:e;return _(a.querySelectorAll)?de(a.querySelectorAll(n)):[]},is:E,add:D,create:R,createHTML:(e,t,n="")=>{let r="<"+e;for(const e in t)ke(t,e)&&(r+=" "+e+'="'+L(t[e])+'"');return Ke(n)&&we(l.getVoidElements(),e)?r+" />":r+">"+n+"</"+e+">"},createFragment:t=>{const n=e.createElement("div"),r=e.createDocumentFragment();let o;for(r.appendChild(n),t&&(n.innerHTML=t);o=n.firstChild;)r.appendChild(o);return r.removeChild(n),r},remove:I,setStyle:(e,n,r)=>{T(e,(e=>{const o=dn.fromDom(e);sa(o,n,r),t.update_styles&&aa(c,o)}))},getStyle:w,setStyles:(e,n)=>{T(e,(e=>{const r=dn.fromDom(e);me(n,((e,t)=>{sa(r,t,e)})),t.update_styles&&aa(c,r)}))},removeAllAttribs:e=>T(e,(e=>{const t=e.attributes;for(let n=t.length-1;n>=0;n--)e.removeAttributeNode(t.item(n))})),setAttrib:b,setAttribs:P,getAttrib:m,getPos:A,parseStyle:e=>c.parse(e),serializeStyle:(e,t)=>c.serialize(e,t),addStyle:t=>{if(Z!==la.DOM&&e===document){if(n[t])return;n[t]=!0}let r=e.getElementById("mceDefaultStyles");if(!r){r=e.createElement("style"),r.id="mceDefaultStyles",r.type="text/css";const t=e.head;t.firstChild?t.insertBefore(r,t.firstChild):t.appendChild(r)}r.styleSheet?r.styleSheet.cssText+=t:r.appendChild(e.createTextNode(t))},loadCSS:e=>{e||(e=""),Y(e.split(","),(e=>{o[e]=!0,a.load(e).catch(S)}))},addClass:(e,t)=>{N(e,t,!0)},removeClass:(e,t)=>{N(e,t,!1)},hasClass:(e,t)=>{const n=p(e),r=t.split(" ");return C(n)&&re(r,(e=>ln(n,e)))},toggleClass:N,show:e=>{T(e,(e=>Yn(dn.fromDom(e),"display")))},hide:e=>{T(e,(e=>zn(dn.fromDom(e),"display","none")))},isHidden:e=>{const t=p(e);return C(t)&&Mt(Wn(t,"display"),"none")},uniqueId:e=>(e||"mce_")+i++,setHTML:M,getOuterHTML:e=>{const t=p(e);return C(t)?vr(t.dom)?t.dom.outerHTML:(e=>{const t=dn.fromTag("div"),n=dn.fromDom(e.dom.cloneNode(!0));return $n(t,n),tr(t)})(t):""},setOuterHTML:(e,t)=>{T(e,(e=>{vr(e)&&(e.outerHTML=t)}))},decode:Bi.decode,encode:L,insertAfter:(e,t)=>{const n=f(t);return T(e,(e=>{const t=null==n?void 0:n.parentNode,r=null==n?void 0:n.nextSibling;return t&&(r?t.insertBefore(e,r):t.appendChild(e)),e}))},replace:F,rename:(e,t)=>{if(e.nodeName!==t.toUpperCase()){const n=R(t);return Ji(g(e),(t=>{b(n,t.nodeName,m(e,t.nodeName))})),F(n,e,!0),n}return e},findCommonAncestor:(e,t)=>{let n=e;for(;n;){let e=t;for(;e&&n!==e;)e=e.parentNode;if(n===e)break;n=n.parentNode}return!n&&e.ownerDocument?e.ownerDocument.documentElement:n},run:T,getAttribs:g,isEmpty:(e,t)=>{let n=0;if(z(e))return!1;const r=e.firstChild;if(r){const o=new Jr(r,e),i=l?l.getWhitespaceElements():{},a=t||(l?l.getNonEmptyElements():null);let s=r;do{if(vr(s)){const e=s.getAttribute("data-mce-bogus");if(e){s=o.next("all"===e);continue}const t=s.nodeName.toLowerCase();if(a&&a[t]){if("br"===t){n++,s=o.next();continue}return!1}if(z(s))return!1}if(Or(s))return!1;if(Sr(s)&&!ei(s.data))return!1;if(Sr(s)&&s.parentNode&&i[s.parentNode.nodeName]&&ei(s.data))return!1;s=o.next()}while(s)}return n<=1},createRng:q,nodeIndex:ia,split:(e,t,n)=>{let r,o,i=q();if(e&&t&&e.parentNode&&t.parentNode){const a=e.parentNode;return i.setStart(a,ia(e)),i.setEnd(t.parentNode,ia(t)),r=i.extractContents(),i=q(),i.setStart(t.parentNode,ia(t)+1),i.setEnd(a,ia(e)+1),o=i.extractContents(),a.insertBefore(hi(Z,r),e),n?a.insertBefore(n,e):a.insertBefore(t,e),a.insertBefore(hi(Z,o),e),I(e),n||t}},bind:U,unbind:H,fire:(e,t,n)=>u.dispatch(e,t,n),dispatch:(e,t,n)=>u.dispatch(e,t,n),getContentEditable:V,getContentEditableParent:e=>{const t=y();let n=null;for(let r=e;r&&r!==t&&(n=V(r),null===n);r=r.parentNode);return n},destroy:()=>{if(s.length>0){let e=s.length;for(;e--;){const[t,n,r]=s[e];u.unbind(t,n,r)}}me(o,((e,t)=>{a.unload(t),delete o[t]}))},isChildOf:(e,t)=>e===t||t.contains(e),dumpRng:e=>"startContainer: "+e.startContainer.nodeName+", startOffset: "+e.startOffset+", endContainer: "+e.endContainer.nodeName+", endOffset: "+e.endOffset},G=((e,t,n)=>{const r=t.keep_values,o={set:(e,r,o)=>{const i=dn.fromDom(e);_(t.url_converter)&&C(r)&&(r=t.url_converter.call(t.url_converter_scope||n(),String(r),o,e)),ra(i,"data-mce-"+o,r),ra(i,o,r)},get:(e,t)=>{const n=dn.fromDom(e);return Zt(n,"data-mce-"+t)||Zt(n,t)}},i={style:{set:(t,n)=>{const o=dn.fromDom(t);r&&ra(o,ta,n),$t(o,"style"),h(n)&&qn(o,e.parse(n))},get:t=>{const n=dn.fromDom(t),r=Zt(n,ta)||Zt(n,"style");return e.serialize(e.parse(r),Lt(n))}}};return r&&(i.href=i.src=o),i})(c,t,O(Z));return Z};la.DOM=la(document),la.nodeIndex=ia;const ca=la.DOM;class ua{constructor(e={}){this.states={},this.queue=[],this.scriptLoadedCallbacks={},this.queueLoadedCallbacks=[],this.loading=!1,this.settings=e}_setReferrerPolicy(e){this.settings.referrerPolicy=e}loadScript(e){return new Promise(((t,n)=>{const r=ca;let o;const i=()=>{r.remove(a),o&&(o.onerror=o.onload=o=null)},a=r.uniqueId();o=document.createElement("script"),o.id=a,o.type="text/javascript",o.src=Pt._addCacheSuffix(e),this.settings.referrerPolicy&&r.setAttrib(o,"referrerpolicy",this.settings.referrerPolicy),o.onload=()=>{i(),t()},o.onerror=()=>{i(),n("Failed to load script: "+e)},(document.getElementsByTagName("head")[0]||document.body).appendChild(o)}))}isDone(e){return 2===this.states[e]}markDone(e){this.states[e]=2}add(e){const t=this;t.queue.push(e);return void 0===t.states[e]&&(t.states[e]=0),new Promise(((n,r)=>{t.scriptLoadedCallbacks[e]||(t.scriptLoadedCallbacks[e]=[]),t.scriptLoadedCallbacks[e].push({resolve:n,reject:r})}))}load(e){return this.add(e)}remove(e){delete this.states[e],delete this.scriptLoadedCallbacks[e]}loadQueue(){const e=this.queue;return this.queue=[],this.loadScripts(e)}loadScripts(e){const t=this,n=(e,n)=>{_e(t.scriptLoadedCallbacks,n).each((t=>{Y(t,(t=>t[e](n)))})),delete t.scriptLoadedCallbacks[n]},r=e=>{const t=K(e,(e=>"rejected"===e.status));return t.length>0?Promise.reject(ne(t,(({reason:e})=>v(e)?e:[e]))):Promise.resolve()},o=e=>Promise.allSettled(V(e,(e=>2===t.states[e]?(n("resolve",e),Promise.resolve()):3===t.states[e]?(n("reject",e),Promise.reject(e)):(t.states[e]=1,t.loadScript(e).then((()=>{t.states[e]=2,n("resolve",e);const i=t.queue;return i.length>0?(t.queue=[],o(i).then(r)):Promise.resolve()}),(()=>(t.states[e]=3,n("reject",e),Promise.reject(e)))))))),i=e=>(t.loading=!0,o(e).then((e=>{t.loading=!1;const n=t.queueLoadedCallbacks.shift();return N.from(n).each(R),r(e)}))),a=Se(e);return t.loading?new Promise(((e,n)=>{t.queueLoadedCallbacks.push((()=>i(a).then(e,n)))})):i(a)}}ua.ScriptLoader=new ua;const da=e=>{let t=e;return{get:()=>t,set:e=>{t=e}}},fa={},pa=da("en"),ha=()=>_e(fa,pa.get()),ma={getData:()=>ge(fa,(e=>({...e}))),setCode:e=>{e&&pa.set(e)},getCode:()=>pa.get(),add:(e,t)=>{let n=fa[e];n||(fa[e]=n={}),me(t,((e,t)=>{n[t.toLowerCase()]=e}))},translate:e=>{const t=ha().getOr({}),n=e=>_(e)?Object.prototype.toString.call(e):r(e)?"":""+e,r=e=>""===e||null==e,o=e=>{const r=n(e);return _e(t,r.toLowerCase()).map(n).getOr(r)},i=e=>e.replace(/{context:\w+}$/,"");if(r(e))return"";if(m(a=e)&&we(a,"raw"))return n(e.raw);var a;if((e=>v(e)&&e.length>1)(e)){const t=e.slice(1);return i(o(e[0]).replace(/\{([0-9]+)\}/g,((e,r)=>we(t,r)?n(t[r]):e)))}return i(o(e))},isRtl:()=>ha().bind((e=>_e(e,"_dir"))).exists((e=>"rtl"===e)),hasCode:e=>we(fa,e)},ga=()=>{const e=[],t={},n={},r=[],o=(e,t)=>{const n=K(r,(n=>n.name===e&&n.state===t));Y(n,(e=>e.resolve()))},i=e=>we(t,e),a=(e,n)=>{const r=ma.getCode();!r||n&&-1===(","+(n||"")+",").indexOf(","+r+",")||ua.ScriptLoader.add(t[e]+"/langs/"+r+".js")},s=(e,t="added")=>"added"===t&&(e=>we(n,e))(e)||"loaded"===t&&i(e)?Promise.resolve():new Promise((n=>{r.push({name:e,state:t,resolve:n})}));return{items:e,urls:t,lookup:n,get:e=>{if(n[e])return n[e].instance},requireLangPack:(e,t)=>{!1!==ga.languageLoad&&(i(e)?a(e,t):s(e,"loaded").then((()=>a(e,t))))},add:(t,r)=>(e.push(r),n[t]={instance:r},o(t,"added"),r),remove:e=>{delete t[e],delete n[e]},createUrl:(e,t)=>h(t)?h(e)?{prefix:"",resource:t,suffix:""}:{prefix:e.prefix,resource:t,suffix:e.suffix}:t,load:(e,r)=>{if(t[e])return Promise.resolve();let i=h(r)?r:r.prefix+r.resource+r.suffix;0!==i.indexOf("/")&&-1===i.indexOf("://")&&(i=ga.baseURL+"/"+i),t[e]=i.substring(0,i.lastIndexOf("/"));const a=()=>(o(e,"loaded"),Promise.resolve());return n[e]?a():ua.ScriptLoader.add(i).then(a)},waitFor:s}};ga.languageLoad=!0,ga.baseURL="",ga.PluginManager=ga(),ga.ThemeManager=ga(),ga.ModelManager=ga();const va=e=>{const t=da(N.none()),n=()=>t.get().each((e=>clearInterval(e)));return{clear:()=>{n(),t.set(N.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:r=>{n(),t.set(N.some(setInterval(r,e)))}}},ba=()=>{const e=(e=>{const t=da(N.none()),n=()=>t.get().each(e);return{clear:()=>{n(),t.set(N.none())},isSet:()=>t.get().isSome(),get:()=>t.get(),set:e=>{n(),t.set(N.some(e))}}})(S);return{...e,on:t=>e.get().each(t)}},ya=(e,t)=>{let n=null;return{cancel:()=>{b(n)||(clearTimeout(n),n=null)},throttle:(...r)=>{b(n)&&(n=setTimeout((()=>{n=null,e.apply(null,r)}),t))}}},Aa=(e,t)=>{let n=null;const r=()=>{b(n)||(clearTimeout(n),n=null)};return{cancel:r,throttle:(...o)=>{r(),n=setTimeout((()=>{n=null,e.apply(null,o)}),t)}}},xa=O("mce-annotation"),Ca=O("data-mce-annotation"),_a=O("data-mce-annotation-uid"),wa=O("data-mce-annotation-active"),ka=O("data-mce-annotation-classes"),Sa=O("data-mce-annotation-attrs"),Ea=e=>t=>mn(t,e),Ba=(e,t)=>{const n=e.selection.getRng(),r=dn.fromDom(n.startContainer),o=dn.fromDom(e.getBody()),i=t.fold((()=>"."+xa()),(e=>`[${Ca()}="${e}"]`)),a=Sn(r,n.startOffset).getOr(r);return $r(a,i,Ea(o)).bind((t=>Gt(t,`${_a()}`).bind((n=>Gt(t,`${Ca()}`).map((t=>{const r=ja(e,n);return{uid:n,name:t,elements:r}}))))))},Oa=(e,t)=>Kt(e,"data-mce-bogus")||ho(e,'[data-mce-bogus="all"]',Ea(t)),ja=(e,t)=>{const n=dn.fromDom(e.getBody()),r=yo(n,`[${_a()}="${t}"]`);return K(r,(e=>!Oa(e,n)))},Ta=(e,t)=>{const n=dn.fromDom(e.getBody()),r=yo(n,`[${Ca()}="${t}"]`),o={};return Y(r,(e=>{if(!Oa(e,n)){const t=Zt(e,_a()),n=_e(o,t).getOr([]);o[t]=n.concat([e])}})),o},Pa=(e,t)=>{const n=da({}),r=()=>({listeners:[],previous:ba()}),o=(e,t)=>{i(e,(e=>(t(e),e)))},i=(e,t)=>{const o=n.get(),i=t(_e(o,e).getOrThunk(r));o[e]=i,n.set(o)},a=(t,n)=>{Y(ja(e,t),(e=>{n?Vt(e,wa(),"true"):$t(e,wa())}))},s=Aa((()=>{const n=se(t.getNames());Y(n,(t=>{i(t,(n=>{const r=n.previous.get();return Ba(e,N.some(t)).fold((()=>{r.each((e=>{(e=>{o(e,(t=>{Y(t.listeners,(t=>t(!1,e)))}))})(t),n.previous.clear(),a(e,!1)}))}),(({uid:e,name:t,elements:i})=>{Mt(r,e)||(r.each((e=>a(e,!1))),((e,t,n)=>{o(e,(r=>{Y(r.listeners,(r=>r(!0,e,{uid:t,nodes:V(n,(e=>e.dom))})))}))})(t,e,i),n.previous.set(e),a(e,!0))})),{previous:n.previous,listeners:n.listeners}}))}))}),30);e.on("remove",(()=>{s.cancel()})),e.on("NodeChange",(()=>{s.throttle()}));return{addListener:(e,t)=>{i(e,(e=>({previous:e.previous,listeners:e.listeners.concat([t])})))}}};let Ma=0;const Da=e=>{const t=(new Date).getTime(),n=Math.floor(1e9*Math.random());return Ma++,e+"_"+n+Ma+String(t)},Ra=(e,t)=>dn.fromDom(e.dom.cloneNode(t)),La=e=>Ra(e,!1),Ia=e=>Ra(e,!0),Na=(e,t)=>{const n=((e,t)=>{const n=dn.fromTag(t),r=Xt(e);return Yt(n,r),n})(e,t);Gn(e,n);const r=kn(e);return Xn(n,r),Jn(e),n},Fa=(e,t,n=L)=>{const r=new Jr(e,t),o=e=>{let t;do{t=r[e]()}while(t&&!Sr(t)&&!n(t));return N.from(t).filter(Sr)};return{current:()=>N.from(r.current()).filter(Sr),next:()=>o("next"),prev:()=>o("prev"),prev2:()=>o("prev2")}},za=(e,t)=>{const n=t||(t=>e.isBlock(t)||Pr(t)||Rr(t)),r=(e,t,n,o)=>{if(Sr(e)){const n=o(e,t,e.data);if(-1!==n)return N.some({container:e,offset:n})}return n().bind((e=>r(e.container,e.offset,n,o)))};return{backwards:(t,o,i,a)=>{const s=Fa(t,null!=a?a:e.getRoot(),n);return r(t,o,(()=>s.prev().map((e=>({container:e,offset:e.length})))),i).getOrNull()},forwards:(t,o,i,a)=>{const s=Fa(t,null!=a?a:e.getRoot(),n);return r(t,o,(()=>s.next().map((e=>({container:e,offset:0})))),i).getOrNull()}}},qa=Math.round,Ua=e=>e?{left:qa(e.left),top:qa(e.top),bottom:qa(e.bottom),right:qa(e.right),width:qa(e.width),height:qa(e.height)}:{left:0,top:0,bottom:0,right:0,width:0,height:0},Ha=(e,t)=>(e=Ua(e),t||(e.left=e.left+e.width),e.right=e.left,e.width=0,e),Wa=(e,t,n)=>e>=0&&e<=Math.min(t.height,n.height)/2,Va=(e,t)=>{const n=Math.min(t.height/2,e.height/2);return e.bottom-n<t.top||!(e.top>t.bottom)&&Wa(t.top-e.bottom,e,t)},Ya=(e,t)=>e.top>t.bottom||!(e.bottom<t.top)&&Wa(t.bottom-e.top,e,t),Za=(e,t,n)=>{const r=Math.max(Math.min(t,e.left+e.width),e.left),o=Math.max(Math.min(n,e.top+e.height),e.top);return Math.sqrt((t-r)*(t-r)+(n-o)*(n-o))},Ga=e=>{const t=e.startContainer,n=e.startOffset;return t===e.endContainer&&t.hasChildNodes()&&e.endOffset===n+1?t.childNodes[n]:null},Ka=(e,t)=>{if(vr(e)&&e.hasChildNodes()){const n=e.childNodes,r=((e,t,n)=>Math.min(Math.max(e,t),n))(t,0,n.length-1);return n[r]}return e},$a=new RegExp("[̀-ͯ҃-҇҈-҉֑-ֽֿׁ-ׂׄ-ׇׅؐ-ًؚ-ٰٟۖ-ۜ۟-ۤۧ-۪ۨ-ܑۭܰ-݊ަ-ް߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣣ-ंऺ़ु-ै्॑-ॗॢ-ॣঁ়াু-ৄ্ৗৢ-ৣਁ-ਂ਼ੁ-ੂੇ-ੈੋ-੍ੑੰ-ੱੵઁ-ં઼ુ-ૅે-ૈ્ૢ-ૣଁ଼ାିୁ-ୄ୍ୖୗୢ-ୣஂாீ்ௗఀా-ీె-ైొ-్ౕ-ౖౢ-ౣಁ಼ಿೂೆೌ-್ೕ-ೖೢ-ೣഁാു-ൄ്ൗൢ-ൣ්ාි-ුූෟัิ-ฺ็-๎ັິ-ູົ-ຼ່-ໍ༘-ཱ༹༙༵༷-ཾྀ-྄྆-྇ྍ-ྗྙ-ྼ࿆ိ-ူဲ-့္-်ွ-ှၘ-ၙၞ-ၠၱ-ၴႂႅ-ႆႍႝ፝-፟ᜒ-᜔ᜲ-᜴ᝒ-ᝓᝲ-ᝳ឴-឵ិ-ួំ៉-៓៝᠋-᠍ᢩᤠ-ᤢᤧ-ᤨᤲ᤹-᤻ᨗ-ᨘᨛᩖᩘ-ᩞ᩠ᩢᩥ-ᩬᩳ-᩿᩼᪰-᪽᪾ᬀ-ᬃ᬴ᬶ-ᬺᬼᭂ᭫-᭳ᮀ-ᮁᮢ-ᮥᮨ-ᮩ᮫-ᮭ᯦ᯨ-ᯩᯭᯯ-ᯱᰬ-ᰳᰶ-᰷᳐-᳔᳒-᳢᳠-᳨᳭᳴᳸-᳹᷀-᷵᷼-᷿‌-‍⃐-⃜⃝-⃠⃡⃢-⃤⃥-⃰⳯-⵿⳱ⷠ-〪ⷿ-〭〮-゙〯-゚꙯꙰-꙲ꙴ-꙽ꚞ-ꚟ꛰-꛱ꠂ꠆ꠋꠥ-ꠦ꣄꣠-꣱ꤦ-꤭ꥇ-ꥑꦀ-ꦂ꦳ꦶ-ꦹꦼꧥꨩ-ꨮꨱ-ꨲꨵ-ꨶꩃꩌꩼꪰꪲ-ꪴꪷ-ꪸꪾ-꪿꫁ꫬ-ꫭ꫶ꯥꯨ꯭ﬞ︀-️︠-︯ﾞ-ﾟ]"),Xa=e=>h(e)&&e.charCodeAt(0)>=768&&$a.test(e),Qa=vr,Ja=$o,es=Ar("display","block table"),ts=Ar("float","left right"),ns=((...e)=>t=>{for(let n=0;n<e.length;n++)if(!e[n](t))return!1;return!0})(Qa,Ja,M(ts)),rs=M(Ar("white-space","pre pre-line pre-wrap")),os=Sr,is=Pr,as=la.nodeIndex,ss=(e,t)=>t<0&&vr(e)&&e.hasChildNodes()?void 0:Ka(e,t),ls=e=>e?e.createRange():la.DOM.createRng(),cs=e=>h(e)&&/[\r\n\t ]/.test(e),us=e=>!!e.setStart&&!!e.setEnd,ds=e=>{const t=e.startContainer,n=e.startOffset;if(cs(e.toString())&&rs(t.parentNode)&&Sr(t)){const e=t.data;if(cs(e[n-1])||cs(e[n+1]))return!0}return!1},fs=e=>0===e.left&&0===e.right&&0===e.top&&0===e.bottom,ps=e=>{var t;let n;const r=e.getClientRects();return n=r.length>0?Ua(r[0]):Ua(e.getBoundingClientRect()),!us(e)&&is(e)&&fs(n)?(e=>{const t=e.ownerDocument,n=ls(t),r=t.createTextNode(go),o=e.parentNode;o.insertBefore(r,e),n.setStart(r,0),n.setEnd(r,1);const i=Ua(n.getBoundingClientRect());return o.removeChild(r),i})(e):fs(n)&&us(e)&&null!==(t=(e=>{const t=e.startContainer,n=e.endContainer,r=e.startOffset,o=e.endOffset;if(t===n&&Sr(n)&&0===r&&1===o){const t=e.cloneRange();return t.setEndAfter(n),ps(t)}return null})(e))&&void 0!==t?t:n},hs=(e,t)=>{const n=Ha(e,t);return n.width=1,n.right=n.left+1,n},ms=e=>{const t=[],n=e=>{var n,r;0!==e.height&&(t.length>0&&(n=e,r=t[t.length-1],n.left===r.left&&n.top===r.top&&n.bottom===r.bottom&&n.right===r.right)||t.push(e))},r=(e,t)=>{const r=ls(e.ownerDocument);if(t<e.data.length){if(Xa(e.data[t]))return;if(Xa(e.data[t-1])&&(r.setStart(e,t),r.setEnd(e,t+1),!ds(r)))return void n(hs(ps(r),!1))}t>0&&(r.setStart(e,t-1),r.setEnd(e,t),ds(r)||n(hs(ps(r),!1))),t<e.data.length&&(r.setStart(e,t),r.setEnd(e,t+1),ds(r)||n(hs(ps(r),!0)))},o=e.container(),i=e.offset();if(os(o))return r(o,i),t;if(Qa(o))if(e.isAtEnd()){const e=ss(o,i);os(e)&&r(e,e.data.length),ns(e)&&!is(e)&&n(hs(ps(e),!1))}else{const a=ss(o,i);if(os(a)&&r(a,0),ns(a)&&e.isAtEnd())return n(hs(ps(a),!1)),t;const s=ss(e.container(),e.offset()-1);ns(s)&&!is(s)&&(es(s)||es(a)||!ns(a))&&n(hs(ps(s),!1)),ns(a)&&n(hs(ps(a),!0))}return t},gs=(e,t,n)=>{const r=()=>(n||(n=ms(gs(e,t))),n);return{container:O(e),offset:O(t),toRange:()=>{const n=ls(e.ownerDocument);return n.setStart(e,t),n.setEnd(e,t),n},getClientRects:r,isVisible:()=>r().length>0,isAtStart:()=>(os(e),0===t),isAtEnd:()=>os(e)?t>=e.data.length:t>=e.childNodes.length,isEqual:n=>n&&e===n.container()&&t===n.offset(),getNode:n=>ss(e,n?t-1:t)}};gs.fromRangeStart=e=>gs(e.startContainer,e.startOffset),gs.fromRangeEnd=e=>gs(e.endContainer,e.endOffset),gs.after=e=>gs(e.parentNode,as(e)+1),gs.before=e=>gs(e.parentNode,as(e)),gs.isAbove=(e,t)=>Dt(ce(t.getClientRects()),ue(e.getClientRects()),Va).getOr(!1),gs.isBelow=(e,t)=>Dt(ue(t.getClientRects()),ce(e.getClientRects()),Ya).getOr(!1),gs.isAtStart=e=>!!e&&e.isAtStart(),gs.isAtEnd=e=>!!e&&e.isAtEnd(),gs.isTextPosition=e=>!!e&&Sr(e.container()),gs.isElementPosition=e=>!gs.isTextPosition(e);const vs=(e,t)=>{Sr(t)&&0===t.data.length&&e.remove(t)},bs=(e,t,n)=>{Tr(n)?((e,t,n)=>{const r=N.from(n.firstChild),o=N.from(n.lastChild);t.insertNode(n),r.each((t=>vs(e,t.previousSibling))),o.each((t=>vs(e,t.nextSibling)))})(e,t,n):((e,t,n)=>{t.insertNode(n),vs(e,n.previousSibling),vs(e,n.nextSibling)})(e,t,n)},ys=Sr,As=Cr,xs=la.nodeIndex,Cs=e=>{const t=e.parentNode;return As(t)?Cs(t):t},_s=e=>e?Pe(e.childNodes,((e,t)=>(As(t)&&"BR"!==t.nodeName?e=e.concat(_s(t)):e.push(t),e)),[]):[],ws=e=>t=>e===t,ks=e=>(ys(e)?"text()":e.nodeName.toLowerCase())+"["+(e=>{let t,n;t=_s(Cs(e)),n=Me(t,ws(e),e),t=t.slice(0,n+1);const r=Pe(t,((e,n,r)=>(ys(n)&&ys(t[r-1])&&e++,e)),0);return t=Te(t,yr([e.nodeName])),n=Me(t,ws(e),e),n-r})(e)+"]",Ss=(e,t)=>{let n,r=[],o=t.container(),i=t.offset();if(ys(o))n=((e,t)=>{let n=e;for(;(n=n.previousSibling)&&ys(n);)t+=n.data.length;return t})(o,i);else{const e=o.childNodes;i>=e.length?(n="after",i=e.length-1):n="before",o=e[i]}r.push(ks(o));let a=((e,t,n)=>{const r=[];for(let o=t.parentNode;o&&o!==e&&(!n||!n(o));o=o.parentNode)r.push(o);return r})(e,o);return a=Te(a,M(Cr)),r=r.concat(je(a,(e=>ks(e)))),r.reverse().join("/")+","+n},Es=(e,t)=>{if(!t)return null;const n=t.split(","),r=n[0].split("/"),o=n.length>1?n[1]:"before",i=Pe(r,((e,t)=>{const n=/([\w\-\(\)]+)\[([0-9]+)\]/.exec(t);return n?("text()"===n[1]&&(n[1]="#text"),((e,t,n)=>{let r=_s(e);return r=Te(r,((e,t)=>!ys(e)||!ys(r[t-1]))),r=Te(r,yr([t])),r[n]})(e,n[1],parseInt(n[2],10))):null}),e);if(!i)return null;if(!ys(i)&&i.parentNode){let e;return e="after"===o?xs(i)+1:xs(i),gs(i.parentNode,e)}return((e,t)=>{let n=e,r=0;for(;ys(n);){const o=n.data.length;if(t>=r&&t<=r+o){e=n,t-=r;break}if(!ys(n.nextSibling)){e=n,t=o;break}r+=o,n=n.nextSibling}return ys(e)&&t>e.data.length&&(t=e.data.length),gs(e,t)})(i,parseInt(o,10))},Bs=Rr,Os=(e,t,n,r,o)=>{const i=o?r.startContainer:r.endContainer;let a=o?r.startOffset:r.endOffset;const s=[],l=e.getRoot();if(Sr(i))s.push(n?((e,t,n)=>{let r=e(t.data.slice(0,n)).length;for(let n=t.previousSibling;n&&Sr(n);n=n.previousSibling)r+=e(n.data).length;return r})(t,i,a):a);else{let t=0;const r=i.childNodes;a>=r.length&&r.length&&(t=1,a=Math.max(0,r.length-1)),s.push(e.nodeIndex(r[a],n)+t)}for(let t=i;t&&t!==l;t=t.parentNode)s.push(e.nodeIndex(t,n));return s},js=(e,t,n)=>{let r=0;return Pt.each(e.select(t),(e=>"all"===e.getAttribute("data-mce-bogus")?void 0:e!==n&&void r++)),r},Ts=(e,t)=>{let n=t?e.startContainer:e.endContainer,r=t?e.startOffset:e.endOffset;if(vr(n)&&"TR"===n.nodeName){const o=n.childNodes;n=o[Math.min(t?r:r-1,o.length-1)],n&&(r=t?0:n.childNodes.length,t?e.setStart(n,r):e.setEnd(n,r))}},Ps=e=>(Ts(e,!0),Ts(e,!1),e),Ms=(e,t)=>{if(vr(e)&&(e=Ka(e,t),Bs(e)))return e;if(Do(e)){Sr(e)&&Po(e)&&(e=e.parentNode);let t=e.previousSibling;if(Bs(t))return t;if(t=e.nextSibling,Bs(t))return t}},Ds=(e,t,n)=>{const r=n.getNode(),o=n.getRng();if("IMG"===r.nodeName||Bs(r)){const e=r.nodeName;return{name:e,index:js(n.dom,e,r)}}const i=(e=>Ms(e.startContainer,e.startOffset)||Ms(e.endContainer,e.endOffset))(o);if(i){const e=i.tagName;return{name:e,index:js(n.dom,e,i)}}return((e,t,n,r)=>{const o=t.dom,i=Os(o,e,n,r,!0),a=t.isForward(),s=qo(r)?{isFakeCaret:!0}:{};return t.isCollapsed()?{start:i,forward:a,...s}:{start:i,end:Os(o,e,n,r,!1),forward:a,...s}})(e,n,t,o)},Rs=(e,t,n)=>{const r={"data-mce-type":"bookmark",id:t,style:"overflow:hidden;line-height:0px"};return n?e.create("span",r,"&#xFEFF;"):e.create("span",r)},Ls=(e,t)=>{const n=e.dom;let r=e.getRng();const o=n.uniqueId(),i=e.isCollapsed(),a=e.getNode(),s=a.nodeName,l=e.isForward();if("IMG"===s)return{name:s,index:js(n,s,a)};const c=Ps(r.cloneRange());if(!i){c.collapse(!1);const e=Rs(n,o+"_end",t);bs(n,c,e)}r=Ps(r),r.collapse(!0);const u=Rs(n,o+"_start",t);return bs(n,r,u),e.moveToBookmark({id:o,keep:!0,forward:l}),{id:o,forward:l}},Is=(e,t,n=!1)=>2===t?Ds(Oo,n,e):3===t?(e=>{const t=e.getRng();return{start:Ss(e.dom.getRoot(),gs.fromRangeStart(t)),end:Ss(e.dom.getRoot(),gs.fromRangeEnd(t)),forward:e.isForward()}})(e):t?(e=>({rng:e.getRng(),forward:e.isForward()}))(e):Ls(e,!1),Ns=P(Ds,j,!0),Fs=e=>{const t=t=>t(e),n=O(e),r=()=>o,o={tag:!0,inner:e,fold:(t,n)=>n(e),isValue:I,isError:L,map:t=>qs.value(t(e)),mapError:r,bind:t,exists:t,forall:t,getOr:n,or:r,getOrThunk:n,orThunk:r,getOrDie:n,each:t=>{t(e)},toOptional:()=>N.some(e)};return o},zs=e=>{const t=()=>n,n={tag:!1,inner:e,fold:(t,n)=>t(e),isValue:L,isError:I,map:t,mapError:t=>qs.error(t(e)),bind:t,exists:L,forall:I,getOr:j,or:j,getOrThunk:D,orThunk:D,getOrDie:(r=String(e),()=>{throw new Error(r)}),each:S,toOptional:N.none};var r;return n},qs={value:Fs,error:zs,fromOption:(e,t)=>e.fold((()=>zs(t)),Fs)},Us=e=>{if(!v(e))throw new Error("cases must be an array");if(0===e.length)throw new Error("there must be at least one case");const t=[],n={};return Y(e,((r,o)=>{const i=pe(r);if(1!==i.length)throw new Error("one and only one name per case");const a=i[0],s=r[a];if(void 0!==n[a])throw new Error("duplicate key detected:"+a);if("cata"===a)throw new Error("cannot have a case named cata (sorry)");if(!v(s))throw new Error("case arguments must be an array");t.push(a),n[a]=(...n)=>{const r=n.length;if(r!==s.length)throw new Error("Wrong number of arguments to case "+a+". Expected "+s.length+" ("+s+"), got "+r);return{fold:(...t)=>{if(t.length!==e.length)throw new Error("Wrong number of arguments to fold. Expected "+e.length+", got "+t.length);return t[o].apply(null,n)},match:e=>{const r=pe(e);if(t.length!==r.length)throw new Error("Wrong number of arguments to match. Expected: "+t.join(",")+"\nActual: "+r.join(","));if(!re(t,(e=>H(r,e))))throw new Error("Not all branches were specified when using match. Specified: "+r.join(", ")+"\nRequired: "+t.join(", "));return e[a].apply(null,n)},log:e=>{console.log(e,{constructors:t,constructor:a,params:n})}}}})),n};Us([{bothErrors:["error1","error2"]},{firstError:["error1","value2"]},{secondError:["value1","error2"]},{bothValues:["value1","value2"]}]);const Hs=e=>"inline-command"===e.type||"inline-format"===e.type,Ws=e=>"block-command"===e.type||"block-format"===e.type,Vs=e=>{const t=t=>qs.error({message:t,pattern:e}),n=(n,r,o)=>{if(void 0!==e.format){let o;if(v(e.format)){if(!re(e.format,h))return t(n+" pattern has non-string items in the `format` array");o=e.format}else{if(!h(e.format))return t(n+" pattern has non-string `format` parameter");o=[e.format]}return qs.value(r(o))}return void 0!==e.cmd?h(e.cmd)?qs.value(o(e.cmd,e.value)):t(n+" pattern has non-string `cmd` parameter"):t(n+" pattern is missing both `format` and `cmd` parameters")};if(!m(e))return t("Raw pattern is not an object");if(!h(e.start))return t("Raw pattern is missing `start` parameter");if(void 0!==e.end){if(!h(e.end))return t("Inline pattern has non-string `end` parameter");if(0===e.start.length&&0===e.end.length)return t("Inline pattern has empty `start` and `end` parameters");let r=e.start,o=e.end;return 0===o.length&&(o=r,r=""),n("Inline",(e=>({type:"inline-format",start:r,end:o,format:e})),((e,t)=>({type:"inline-command",start:r,end:o,cmd:e,value:t})))}return void 0!==e.replacement?h(e.replacement)?0===e.start.length?t("Replacement pattern has empty `start` parameter"):qs.value({type:"inline-command",start:"",end:e.start,cmd:"mceInsertContent",value:e.replacement}):t("Replacement pattern has non-string `replacement` parameter"):0===e.start.length?t("Block pattern has empty `start` parameter"):n("Block",(t=>({type:"block-format",start:e.start,format:t[0]})),((t,n)=>({type:"block-command",start:e.start,cmd:t,value:n})))},Ys=e=>K(e,Ws),Zs=e=>K(e,Hs),Gs=e=>{const t=(e=>{const t=[],n=[];return Y(e,(e=>{e.fold((e=>{t.push(e)}),(e=>{n.push(e)}))})),{errors:t,values:n}})(V(e,Vs));return Y(t.errors,(e=>console.error(e.message,e.pattern))),t.values},Ks=xt().deviceType,$s=Ks.isTouch(),Xs=la.DOM,Qs=e=>p(e,RegExp),Js=e=>t=>t.options.get(e),el=e=>h(e)||m(e),tl=(e,t="")=>n=>{const r=h(n);if(r){if(-1!==n.indexOf("=")){const o=(e=>{const t=e.indexOf("=")>0?e.split(/[;,](?![^=;,]*(?:[;,]|$))/):e.split(",");return X(t,((e,t)=>{const n=t.split("="),r=n[0],o=n.length>1?n[1]:r;return e[Ve(r)]=Ve(o),e}),{})})(n);return{value:_e(o,e.id).getOr(t),valid:r}}return{value:n,valid:r}}return{valid:!1,message:"Must be a string."}},nl=Js("iframe_attrs"),rl=Js("doctype"),ol=Js("document_base_url"),il=Js("body_id"),al=Js("body_class"),sl=Js("content_security_policy"),ll=Js("br_in_pre"),cl=Js("forced_root_block"),ul=Js("forced_root_block_attrs"),dl=Js("newline_behavior"),fl=Js("br_newline_selector"),pl=Js("no_newline_selector"),hl=Js("keep_styles"),ml=Js("end_container_on_empty_block"),gl=Js("automatic_uploads"),vl=Js("images_reuse_filename"),bl=Js("images_replace_blob_uris"),yl=Js("icons"),Al=Js("icons_url"),xl=Js("images_upload_url"),Cl=Js("images_upload_base_path"),_l=Js("images_upload_credentials"),wl=Js("images_upload_handler"),kl=Js("content_css_cors"),Sl=Js("referrer_policy"),El=Js("language"),Bl=Js("language_url"),Ol=Js("indent_use_margin"),jl=Js("indentation"),Tl=Js("content_css"),Pl=Js("content_style"),Ml=Js("font_css"),Dl=Js("directionality"),Rl=Js("inline_boundaries_selector"),Ll=Js("object_resizing"),Il=Js("resize_img_proportional"),Nl=Js("placeholder"),Fl=Js("event_root"),zl=Js("service_message"),ql=Js("theme"),Ul=Js("theme_url"),Hl=Js("model"),Wl=Js("model_url"),Vl=Js("inline_boundaries"),Yl=Js("formats"),Zl=Js("preview_styles"),Gl=Js("format_empty_lines"),Kl=Js("format_noneditable_selector"),$l=Js("custom_ui_selector"),Xl=Js("inline"),Ql=Js("hidden_input"),Jl=Js("submit_patch"),ec=Js("add_form_submit_trigger"),tc=Js("add_unload_trigger"),nc=Js("custom_undo_redo_levels"),rc=Js("disable_nodechange"),oc=Js("readonly"),ic=Js("content_css_cors"),ac=Js("plugins"),sc=Js("external_plugins"),lc=Js("block_unsupported_drop"),cc=Js("visual"),uc=Js("visual_table_class"),dc=Js("visual_anchor_class"),fc=Js("iframe_aria_text"),pc=Js("setup"),hc=Js("init_instance_callback"),mc=Js("urlconverter_callback"),gc=Js("auto_focus"),vc=Js("browser_spellcheck"),bc=Js("protect"),yc=Js("paste_block_drop"),Ac=Js("paste_data_images"),xc=Js("paste_preprocess"),Cc=Js("paste_postprocess"),_c=Js("paste_webkit_styles"),wc=Js("paste_remove_styles_if_webkit"),kc=Js("paste_merge_formats"),Sc=Js("smart_paste"),Ec=Js("paste_as_text"),Bc=Js("paste_tab_spaces"),Oc=Js("allow_html_data_urls"),jc=Js("text_patterns"),Tc=Js("text_patterns_lookup"),Pc=Js("noneditable_class"),Mc=Js("editable_class"),Dc=Js("noneditable_regexp"),Rc=Js("preserve_cdata"),Lc=e=>Pt.explode(e.options.get("images_file_types")),Ic=Js("table_tab_navigation"),Nc=vr,Fc=Sr,zc=e=>{const t=e.parentNode;t&&t.removeChild(e)},qc=e=>{const t=Oo(e);return{count:e.length-t.length,text:t}},Uc=e=>{let t;for(;-1!==(t=e.data.lastIndexOf(Eo));)e.deleteData(t,1)},Hc=(e,t)=>(Zc(e),t),Wc=(e,t)=>{const n=t.container(),r=((e,t)=>{const n=U(e,t);return-1===n?N.none():N.some(n)})(de(n.childNodes),e).map((e=>e<t.offset()?gs(n,t.offset()-1):t)).getOr(t);return Zc(e),r},Vc=(e,t)=>Fc(e)&&t.container()===e?((e,t)=>{const n=qc(e.data.substr(0,t.offset())),r=qc(e.data.substr(t.offset()));return(n.text+r.text).length>0?(Uc(e),gs(e,t.offset()-n.count)):t})(e,t):Hc(e,t),Yc=(e,t)=>gs.isTextPosition(t)?Vc(e,t):((e,t)=>t.container()===e.parentNode?Wc(e,t):Hc(e,t))(e,t),Zc=e=>{Nc(e)&&Do(e)&&(Ro(e)?e.removeAttribute("data-mce-caret"):zc(e)),Fc(e)&&(Uc(e),0===e.data.length&&zc(e))},Gc=Rr,Kc=Nr,$c=Lr,Xc=(e,t,n)=>{const r=Ha(t.getBoundingClientRect(),n);let o,i;if("BODY"===e.tagName){const t=e.ownerDocument.documentElement;o=e.scrollLeft||t.scrollLeft,i=e.scrollTop||t.scrollTop}else{const t=e.getBoundingClientRect();o=e.scrollLeft-t.left,i=e.scrollTop-t.top}r.left+=o,r.right+=o,r.top+=i,r.bottom+=i,r.width=1;let a=t.offsetWidth-t.clientWidth;return a>0&&(n&&(a*=-1),r.left+=a,r.right+=a),r},Qc=(e,t,n,r)=>{const o=ba();let i,a;const s=cl(e),l=e.dom,c=()=>{(e=>{var t,n;const r=yo(dn.fromDom(e),"*[contentEditable=false],video,audio,embed,object");for(let e=0;e<r.length;e++){const o=r[e].dom;let i=o.previousSibling;if(Fo(i)){const e=i.data;1===e.length?null===(t=i.parentNode)||void 0===t||t.removeChild(i):i.deleteData(e.length-1,1)}i=o.nextSibling,No(i)&&(1===i.data.length?null===(n=i.parentNode)||void 0===n||n.removeChild(i):i.deleteData(0,1))}})(t),a&&(Zc(a),a=null),o.on((e=>{l.remove(e.caret),o.clear()})),i&&(clearInterval(i),i=void 0)},u=()=>{i=setInterval((()=>{o.on((e=>{r()?l.toggleClass(e.caret,"mce-visual-caret-hidden"):l.addClass(e.caret,"mce-visual-caret-hidden")}))}),500)};return{show:(e,r)=>{let i;if(c(),$c(r))return null;if(!n(r))return a=((e,t)=>{var n;const r=(null!==(n=e.ownerDocument)&&void 0!==n?n:document).createTextNode(Eo),o=e.parentNode;if(t){const t=e.previousSibling;if(To(t)){if(Do(t))return t;if(Fo(t))return t.splitText(t.data.length-1)}null==o||o.insertBefore(r,e)}else{const t=e.nextSibling;if(To(t)){if(Do(t))return t;if(No(t))return t.splitText(1),t}e.nextSibling?null==o||o.insertBefore(r,e.nextSibling):null==o||o.appendChild(r)}return r})(r,e),i=r.ownerDocument.createRange(),eu(a.nextSibling)?(i.setStart(a,0),i.setEnd(a,0)):(i.setStart(a,1),i.setEnd(a,1)),i;{const n=((e,t,n)=>{var r;const o=(null!==(r=t.ownerDocument)&&void 0!==r?r:document).createElement(e);o.setAttribute("data-mce-caret",n?"before":"after"),o.setAttribute("data-mce-bogus","all"),o.appendChild(wo().dom);const i=t.parentNode;return n?null==i||i.insertBefore(o,t):t.nextSibling?null==i||i.insertBefore(o,t.nextSibling):null==i||i.appendChild(o),o})(s,r,e),c=Xc(t,r,e);l.setStyle(n,"top",c.top),a=n;const d=l.create("div",{class:"mce-visual-caret","data-mce-bogus":"all"});l.setStyles(d,{...c}),l.add(t,d),o.set({caret:d,element:r,before:e}),e&&l.addClass(d,"mce-visual-caret-before"),u(),i=r.ownerDocument.createRange(),i.setStart(n,0),i.setEnd(n,0)}return i},hide:c,getCss:()=>".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}",reposition:()=>{o.on((e=>{const n=Xc(t,e.element,e.before);l.setStyles(e.caret,{...n})}))},destroy:()=>clearInterval(i)}},Jc=()=>Bt.browser.isFirefox(),eu=e=>Gc(e)||Kc(e),tu=e=>eu(e)||_r(e)&&Jc(),nu=Dr,ru=Rr,ou=Nr,iu=Ar("display","block table table-cell table-caption list-item"),au=Do,su=Po,lu=vr,cu=Sr,uu=$o,du=e=>e>0,fu=e=>e<0,pu=(e,t)=>{let n;for(;n=e(t);)if(!su(n))return n;return null},hu=(e,t,n,r,o)=>{const i=new Jr(e,r),a=ru(e)||su(e);let s;if(fu(t)){if(a&&(s=pu(i.prev.bind(i),!0),n(s)))return s;for(;s=pu(i.prev.bind(i),o);)if(n(s))return s}if(du(t)){if(a&&(s=pu(i.next.bind(i),!0),n(s)))return s;for(;s=pu(i.next.bind(i),o);)if(n(s))return s}return null},mu=(e,t)=>{for(;e&&e!==t;){if(iu(e))return e;e=e.parentNode}return null},gu=(e,t,n)=>mu(e.container(),n)===mu(t.container(),n),vu=(e,t)=>{if(!t)return N.none();const n=t.container(),r=t.offset();return lu(n)?N.from(n.childNodes[r+e]):N.none()},bu=(e,t)=>{var n;const r=(null!==(n=t.ownerDocument)&&void 0!==n?n:document).createRange();return e?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)),r},yu=(e,t,n)=>mu(t,e)===mu(n,e),Au=(e,t,n)=>{const r=e?"previousSibling":"nextSibling";let o=n;for(;o&&o!==t;){let e=o[r];if(e&&au(e)&&(e=e[r]),ru(e)||ou(e)){if(yu(t,e,o))return e;break}if(uu(e))break;o=o.parentNode}return null},xu=P(bu,!0),Cu=P(bu,!1),_u=(e,t,n)=>{let r;const o=P(Au,!0,t),i=P(Au,!1,t),a=n.startContainer,s=n.startOffset;if(Po(a)){const e=cu(a)?a.parentNode:a,t=e.getAttribute("data-mce-caret");if("before"===t&&(r=e.nextSibling,tu(r)))return xu(r);if("after"===t&&(r=e.previousSibling,tu(r)))return Cu(r)}if(!n.collapsed)return n;if(Sr(a)){if(au(a)){if(1===e){if(r=i(a),r)return xu(r);if(r=o(a),r)return Cu(r)}if(-1===e){if(r=o(a),r)return Cu(r);if(r=i(a),r)return xu(r)}return n}if(Fo(a)&&s>=a.data.length-1)return 1===e&&(r=i(a),r)?xu(r):n;if(No(a)&&s<=1)return-1===e&&(r=o(a),r)?Cu(r):n;if(s===a.data.length)return r=i(a),r?xu(r):n;if(0===s)return r=o(a),r?Cu(r):n}return n},wu=(e,t)=>vu(e?0:-1,t).filter(ru),ku=(e,t,n)=>{const r=_u(e,t,n);return-1===e?gs.fromRangeStart(r):gs.fromRangeEnd(r)},Su=e=>N.from(e.getNode()).map(dn.fromDom),Eu=(e,t)=>{let n=t;for(;n=e(n);)if(n.isVisible())return n;return n},Bu=(e,t)=>{const n=gu(e,t);return!(n||!Pr(e.getNode()))||n};var Ou;!function(e){e[e.Backwards=-1]="Backwards",e[e.Forwards=1]="Forwards"}(Ou||(Ou={}));const ju=Rr,Tu=Sr,Pu=vr,Mu=Pr,Du=$o,Ru=e=>Zo(e)||(e=>!!Xo(e)&&!X(de(e.getElementsByTagName("*")),((e,t)=>e||Uo(t)),!1))(e),Lu=Qo,Iu=(e,t)=>e.hasChildNodes()&&t<e.childNodes.length?e.childNodes[t]:null,Nu=(e,t)=>{if(du(e)){if(Du(t.previousSibling)&&!Tu(t.previousSibling))return gs.before(t);if(Tu(t))return gs(t,0)}if(fu(e)){if(Du(t.nextSibling)&&!Tu(t.nextSibling))return gs.after(t);if(Tu(t))return gs(t,t.data.length)}return fu(e)?Mu(t)?gs.before(t):gs.after(t):gs.before(t)},Fu=(e,t,n)=>{let r,o,i,a;if(!Pu(n)||!t)return null;if(t.isEqual(gs.after(n))&&n.lastChild){if(a=gs.after(n.lastChild),fu(e)&&Du(n.lastChild)&&Pu(n.lastChild))return Mu(n.lastChild)?gs.before(n.lastChild):a}else a=t;const s=a.container();let l=a.offset();if(Tu(s)){if(fu(e)&&l>0)return gs(s,--l);if(du(e)&&l<s.length)return gs(s,++l);r=s}else{if(fu(e)&&l>0&&(o=Iu(s,l-1),Du(o)))return!Ru(o)&&(i=hu(o,e,Lu,o),i)?Tu(i)?gs(i,i.data.length):gs.after(i):Tu(o)?gs(o,o.data.length):gs.before(o);if(du(e)&&l<s.childNodes.length&&(o=Iu(s,l),Du(o)))return Mu(o)?((e,t)=>{const n=t.nextSibling;return n&&Du(n)?Tu(n)?gs(n,0):gs.before(n):Fu(Ou.Forwards,gs.after(t),e)})(n,o):!Ru(o)&&(i=hu(o,e,Lu,o),i)?Tu(i)?gs(i,0):gs.before(i):Tu(o)?gs(o,0):gs.after(o);r=o||a.getNode()}if(r&&(du(e)&&a.isAtEnd()||fu(e)&&a.isAtStart())&&(r=hu(r,e,I,n,!0),Lu(r,n)))return Nu(e,r);o=r?hu(r,e,Lu,n):r;const c=De(K(((e,t)=>{const n=[];let r=e;for(;r&&r!==t;)n.push(r),r=r.parentNode;return n})(s,n),ju));return!c||o&&c.contains(o)?o?Nu(e,o):null:(a=du(e)?gs.after(c):gs.before(c),a)},zu=e=>({next:t=>Fu(Ou.Forwards,t,e),prev:t=>Fu(Ou.Backwards,t,e)}),qu=e=>gs.isTextPosition(e)?0===e.offset():$o(e.getNode()),Uu=e=>{if(gs.isTextPosition(e)){const t=e.container();return e.offset()===t.data.length}return $o(e.getNode(!0))},Hu=(e,t)=>!gs.isTextPosition(e)&&!gs.isTextPosition(t)&&e.getNode()===t.getNode(!0),Wu=(e,t,n)=>{return e?!Hu(t,n)&&(r=t,!(!gs.isTextPosition(r)&&Pr(r.getNode())))&&Uu(t)&&qu(n):!Hu(n,t)&&qu(t)&&Uu(n);var r},Vu=(e,t,n)=>{const r=zu(t);return N.from(e?r.next(n):r.prev(n))},Yu=(e,t,n)=>Vu(e,t,n).bind((r=>gu(n,r,t)&&Wu(e,n,r)?Vu(e,t,r):N.some(r))),Zu=(e,t,n,r)=>Yu(e,t,n).bind((n=>r(n)?Zu(e,t,n,r):N.some(n))),Gu=(e,t)=>{const n=e?t.firstChild:t.lastChild;return Sr(n)?N.some(gs(n,e?0:n.data.length)):n?$o(n)?N.some(e?gs.before(n):Pr(r=n)?gs.before(r):gs.after(r)):((e,t,n)=>{const r=e?gs.before(n):gs.after(n);return Vu(e,t,r)})(e,t,n):N.none();var r},Ku=P(Vu,!0),$u=P(Vu,!1),Xu=P(Gu,!0),Qu=P(Gu,!1),Ju="_mce_caret",ed=e=>vr(e)&&e.id===Ju,td=(e,t)=>{let n=t;for(;n&&n!==e;){if(ed(n))return n;n=n.parentNode}return null},nd=e=>we(e,"name"),rd=e=>Pt.isArray(e.start),od=e=>!(!nd(e)&&y(e.forward))||e.forward,id=(e,t)=>(vr(t)&&e.isBlock(t)&&!t.innerHTML&&(t.innerHTML='<br data-mce-bogus="1" />'),t),ad=(e,t)=>Qu(e).fold(L,(e=>(t.setStart(e.container(),e.offset()),t.setEnd(e.container(),e.offset()),!0))),sd=(e,t,n)=>!(!(e=>!e.hasChildNodes())(t)||!td(e,t))&&(((e,t)=>{var n;const r=(null!==(n=e.ownerDocument)&&void 0!==n?n:document).createTextNode(Eo);e.appendChild(r),t.setStart(r,0),t.setEnd(r,0)})(t,n),!0),ld=(e,t,n,r)=>{const o=n[t?"start":"end"],i=e.getRoot();if(o){let e=i,n=o[0];for(let t=o.length-1;e&&t>=1;t--){const n=e.childNodes;if(sd(i,e,r))return!0;if(o[t]>n.length-1)return!!sd(i,e,r)||ad(e,r);e=n[o[t]]}Sr(e)&&(n=Math.min(o[0],e.data.length)),vr(e)&&(n=Math.min(o[0],e.childNodes.length)),t?r.setStart(e,n):r.setEnd(e,n)}return!0},cd=e=>Sr(e)&&e.data.length>0,ud=(e,t,n)=>{const r=e.get(n.id+"_"+t),o=null==r?void 0:r.parentNode,i=n.keep;if(r&&o){let a,s;if("start"===t?i?r.hasChildNodes()?(a=r.firstChild,s=1):cd(r.nextSibling)?(a=r.nextSibling,s=0):cd(r.previousSibling)?(a=r.previousSibling,s=r.previousSibling.data.length):(a=o,s=e.nodeIndex(r)+1):(a=o,s=e.nodeIndex(r)):i?r.hasChildNodes()?(a=r.firstChild,s=1):cd(r.previousSibling)?(a=r.previousSibling,s=r.previousSibling.data.length):(a=o,s=e.nodeIndex(r)):(a=o,s=e.nodeIndex(r)),!i){const o=r.previousSibling,i=r.nextSibling;let l;for(Pt.each(Pt.grep(r.childNodes),(e=>{Sr(e)&&(e.data=e.data.replace(/\uFEFF/g,""))}));l=e.get(n.id+"_"+t);)e.remove(l,!0);if(Sr(i)&&Sr(o)&&!Bt.browser.isOpera()){const t=o.data.length;o.appendData(i.data),e.remove(i),a=o,s=t}}return N.some(gs(a,s))}return N.none()},dd=(e,t)=>{const n=e.dom;if(t){if(rd(t))return((e,t)=>{const n=e.createRng();return ld(e,!0,t,n)&&ld(e,!1,t,n)?N.some({range:n,forward:od(t)}):N.none()})(n,t);if((e=>h(e.start))(t))return((e,t)=>{const n=N.from(Es(e.getRoot(),t.start)),r=N.from(Es(e.getRoot(),t.end));return Dt(n,r,((n,r)=>{const o=e.createRng();return o.setStart(n.container(),n.offset()),o.setEnd(r.container(),r.offset()),{range:o,forward:od(t)}}))})(n,t);if((e=>we(e,"id"))(t))return((e,t)=>{const n=ud(e,"start",t),r=ud(e,"end",t);return Dt(n,r.or(n),((n,r)=>{const o=e.createRng();return o.setStart(id(e,n.container()),n.offset()),o.setEnd(id(e,r.container()),r.offset()),{range:o,forward:od(t)}}))})(n,t);if(nd(t))return((e,t)=>N.from(e.select(t.name)[t.index]).map((t=>{const n=e.createRng();return n.selectNode(t),{range:n,forward:!0}})))(n,t);if((e=>we(e,"rng"))(t))return N.some({range:t.rng,forward:od(t)})}return N.none()},fd=(e,t,n)=>Is(e,t,n),pd=(e,t)=>{dd(e,t).each((({range:t,forward:n})=>{e.setRng(t,n)}))},hd=e=>vr(e)&&"SPAN"===e.tagName&&"bookmark"===e.getAttribute("data-mce-type"),md=(gd=go,e=>gd===e);var gd;const vd=e=>""!==e&&-1!==" \f\n\r\t\v".indexOf(e),bd=e=>!vd(e)&&!md(e)&&!vo(e),yd=e=>{const t=e.toString(16);return(1===t.length?"0"+t:t).toUpperCase()},Ad=e=>(e=>({value:e}))(yd(e.red)+yd(e.green)+yd(e.blue)),xd=/^\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)\s*$/i,Cd=/^\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d?(?:\.\d+)?)\s*\)\s*$/i,_d=(e,t,n,r)=>({red:e,green:t,blue:n,alpha:r}),wd=(e,t,n,r)=>{const o=parseInt(e,10),i=parseInt(t,10),a=parseInt(n,10),s=parseFloat(r);return _d(o,i,a,s)},kd=e=>(e=>{if("transparent"===e)return N.some(_d(0,0,0,0));const t=xd.exec(e);if(null!==t)return N.some(wd(t[1],t[2],t[3],"1"));const n=Cd.exec(e);return null!==n?N.some(wd(n[1],n[2],n[3],n[4])):N.none()})(e).map(Ad).map((e=>"#"+e.value)).getOr(e),Sd=e=>{const t=[];if(e)for(let n=0;n<e.rangeCount;n++)t.push(e.getRangeAt(n));return t},Ed=e=>K((e=>ne(e,(e=>{const t=Ga(e);return t?[dn.fromDom(t)]:[]})))(e),co),Bd=(e,t)=>{const n=yo(t,"td[data-mce-selected],th[data-mce-selected]");return n.length>0?n:Ed(e)},Od=e=>Bd(Sd(e.selection.getSel()),dn.fromDom(e.getBody())),jd=(e,t)=>Gr(e,"table",t),Td=e=>En(e).fold(O([e]),(t=>[e].concat(Td(t)))),Pd=e=>Bn(e).fold(O([e]),(t=>"br"===Lt(t)?xn(t).map((t=>[e].concat(Pd(t)))).getOr([]):[e].concat(Pd(t)))),Md=(e,t)=>Dt((e=>{const t=e.startContainer,n=e.startOffset;return Sr(t)?0===n?N.some(dn.fromDom(t)):N.none():N.from(t.childNodes[n]).map(dn.fromDom)})(t),(e=>{const t=e.endContainer,n=e.endOffset;return Sr(t)?n===t.data.length?N.some(dn.fromDom(t)):N.none():N.from(t.childNodes[n-1]).map(dn.fromDom)})(t),((t,n)=>{const r=J(Td(e),P(mn,t)),o=J(Pd(e),P(mn,n));return r.isSome()&&o.isSome()})).getOr(!1),Dd=(e,t,n,r)=>{const o=n,i=new Jr(n,o),a=Ae(e.schema.getMoveCaretBeforeOnEnterElements(),((e,t)=>!H(["td","th","table"],t.toLowerCase())));let s=n;do{if(Sr(s)&&0!==Pt.trim(s.data).length)return void(r?t.setStart(s,0):t.setEnd(s,s.data.length));if(a[s.nodeName])return void(r?t.setStartBefore(s):"BR"===s.nodeName?t.setEndBefore(s):t.setEndAfter(s))}while(s=r?i.next():i.prev());"BODY"===o.nodeName&&(r?t.setStart(o,0):t.setEnd(o,o.childNodes.length))},Rd=e=>{const t=e.selection.getSel();return C(t)&&t.rangeCount>0},Ld=(e,t)=>{const n=Od(e);n.length>0?Y(n,(n=>{const r=n.dom,o=e.dom.createRng();o.setStartBefore(r),o.setEndAfter(r),t(o,!0)})):t(e.selection.getRng(),!1)},Id=(e,t,n)=>{const r=Ls(e,t);n(r),e.moveToBookmark(r)},Nd=e=>w(null==e?void 0:e.nodeType),Fd=e=>vr(e)&&!hd(e)&&!ed(e)&&!Cr(e),zd=e=>!0===e.isContentEditable,qd=(e,t,n)=>{const{selection:r,dom:o}=e,i=r.getNode(),a=Rr(i);Id(r,!0,(()=>{t()}));a&&Rr(i)&&o.isChildOf(i,e.getBody())?e.selection.select(i):n(r.getStart())&&Ud(o,r)},Ud=(e,t)=>{var n,r;const o=t.getRng(),{startContainer:i,startOffset:a}=o;if(!((e,t)=>{if(Fd(t)&&!/^(TD|TH)$/.test(t.nodeName)){const n=e.getAttrib(t,"data-mce-selected"),r=parseInt(n,10);return!isNaN(r)&&r>0}return!1})(e,t.getNode())&&vr(i)){const s=i.childNodes,l=e.getRoot();let c;if(a<s.length){const t=s[a];c=new Jr(t,null!==(n=e.getParent(t,e.isBlock))&&void 0!==n?n:l)}else{const t=s[s.length-1];c=new Jr(t,null!==(r=e.getParent(t,e.isBlock))&&void 0!==r?r:l),c.next(!0)}for(let n=c.current();n;n=c.next()){if("false"===e.getContentEditable(n))return;if(Sr(n)&&!Yd(n))return o.setStart(n,0),void t.setRng(o)}}},Hd=(e,t,n)=>{if(e){const r=t?"nextSibling":"previousSibling";for(e=n?e:e[r];e;e=e[r])if(vr(e)||!Yd(e))return e}},Wd=(e,t)=>(Nd(t)&&(t=t.nodeName),!!e.schema.getTextBlockElements()[t.toLowerCase()]),Vd=(e,t,n)=>e.schema.isValidChild(t,n),Yd=(e,t=!1)=>{if(C(e)&&Sr(e)){const n=t?e.data.replace(/ /g," "):e.data;return ei(n)}return!1},Zd=(e,t)=>{const n=e.dom;return Fd(t)&&"false"===n.getContentEditable(t)&&((e,t)=>{const n="[data-mce-cef-wrappable]",r=Kl(e),o=Ke(r)?n:`${n},${r}`;return pn(dn.fromDom(t),o)})(e,t)&&0===n.select('[contenteditable="true"]',t).length},Gd=(e,t)=>_(e)?e(t):(C(t)&&(e=e.replace(/%(\w+)/g,((e,n)=>t[n]||e))),e),Kd=(e,t)=>(t=t||"",e=""+((e=e||"").nodeName||e),t=""+(t.nodeName||t),e.toLowerCase()===t.toLowerCase()),$d=(e,t)=>{if(x(e))return null;{let n=String(e);return"color"!==t&&"backgroundColor"!==t||(n=kd(n)),"fontWeight"===t&&700===e&&(n="bold"),"fontFamily"===t&&(n=n.replace(/[\'\"]/g,"").replace(/,\s+/g,",")),n}},Xd=(e,t,n)=>{const r=e.getStyle(t,n);return $d(r,n)},Qd=(e,t)=>{let n;return e.getParent(t,(t=>!!vr(t)&&(n=e.getStyle(t,"text-decoration"),!!n&&"none"!==n))),n},Jd=(e,t,n)=>e.getParents(t,n,e.getRoot()),ef=(e,t,n)=>{const r=e.formatter.get(t);return C(r)&&W(r,n)},tf=(e,t,n)=>{const r=["inline","block","selector","attributes","styles","classes"],o=e=>Ae(e,((e,t)=>W(r,(e=>e===t))));return ef(e,t,(t=>{const r=o(t);return ef(e,n,(e=>{const t=o(e);return((e,t,n=s)=>a(n).eq(e,t))(r,t)}))}))},nf=e=>ke(e,"block"),rf=e=>ke(e,"selector"),of=e=>ke(e,"inline"),af=e=>rf(e)&&!1!==e.expand&&!of(e),sf=hd,lf=Jd,cf=Yd,uf=Wd,df=(e,t)=>{let n=t;for(;n;){if(vr(n)&&e.getContentEditable(n))return"false"===e.getContentEditable(n)?n:t;n=n.parentNode}return t},ff=(e,t,n,r)=>{const o=t.data;for(let t=n;e?t>=0:t<o.length;e?t--:t++)if(r(o.charAt(t)))return e?t+1:t;return-1},pf=(e,t,n)=>ff(e,t,n,(e=>md(e)||vd(e))),hf=(e,t,n)=>ff(e,t,n,bd),mf=(e,t,n,r,o,i)=>{let a;const s=e.getParent(n,e.isBlock)||t,l=(t,n,r)=>{const i=za(e),l=o?i.backwards:i.forwards;return N.from(l(t,n,((e,t)=>sf(e.parentNode)?-1:(a=e,r(o,e,t))),s))};return l(n,r,pf).bind((e=>i?l(e.container,e.offset+(o?-1:0),hf):N.some(e))).orThunk((()=>a?N.some({container:a,offset:o?0:a.length}):N.none()))},gf=(e,t,n,r,o)=>{const i=r[o];Sr(r)&&Ke(r.data)&&i&&(r=i);const a=lf(e,r);for(let r=0;r<a.length;r++)for(let o=0;o<t.length;o++){const i=t[o];if((!C(i.collapsed)||i.collapsed===n.collapsed)&&(rf(i)&&e.is(a[r],i.selector)))return a[r]}return r},vf=(e,t,n,r)=>{var o;let i=n;const a=e.dom,s=a.getRoot(),l=t[0];if(nf(l)&&(i=l.wrapper?null:a.getParent(n,l.block,s)),!i){const t=null!==(o=a.getParent(n,"LI,TD,TH"))&&void 0!==o?o:s;i=a.getParent(Sr(n)?n.parentNode:n,(t=>t!==s&&uf(e,t)),t)}if(i&&nf(l)&&l.wrapper&&(i=lf(a,i,"ul,ol").reverse()[0]||i),!i)for(i=n;i&&i[r]&&!a.isBlock(i[r])&&(i=i[r],!Kd(i,"br")););return i||n},bf=(e,t,n,r)=>{const o=n.parentNode;return!C(n[r])&&(!(o!==t&&!x(o)&&!e.isBlock(o))||bf(e,t,o,r))},yf=(e,t,n,r,o)=>{let i=n;const a=o?"previousSibling":"nextSibling",s=e.getRoot();if(Sr(n)&&!cf(n)&&(o?r>0:r<n.data.length))return n;for(;i;){if(!t[0].block_expand&&e.isBlock(i))return i;for(let t=i[a];t;t=t[a]){const n=Sr(t)&&!bf(e,s,t,a);if(!sf(t)&&(!Pr(l=t)||!l.getAttribute("data-mce-bogus")||l.nextSibling)&&!cf(t,n))return i}if(i===s||i.parentNode===s){n=i;break}i=i.parentNode}var l;return n},Af=e=>sf(e.parentNode)||sf(e),xf=(e,t,n,r=!1)=>{let{startContainer:o,startOffset:i,endContainer:a,endOffset:s}=t;const l=e.dom,c=n[0];if(vr(o)&&o.hasChildNodes()&&(o=Ka(o,i),Sr(o)&&(i=0)),vr(a)&&a.hasChildNodes()&&(a=Ka(a,t.collapsed?s:s-1),Sr(a)&&(s=a.data.length)),o=df(l,o),a=df(l,a),Af(o)&&(o=sf(o)?o:o.parentNode,o=t.collapsed?o.previousSibling||o:o.nextSibling||o,Sr(o)&&(i=t.collapsed?o.length:0)),Af(a)&&(a=sf(a)?a:a.parentNode,a=t.collapsed?a.nextSibling||a:a.previousSibling||a,Sr(a)&&(s=t.collapsed?0:a.length)),t.collapsed){mf(l,e.getBody(),o,i,!0,r).each((({container:e,offset:t})=>{o=e,i=t}));mf(l,e.getBody(),a,s,!1,r).each((({container:e,offset:t})=>{a=e,s=t}))}return(of(c)||c.block_expand)&&(of(c)&&Sr(o)&&0!==i||(o=yf(l,n,o,i,!0)),of(c)&&Sr(a)&&s!==a.data.length||(a=yf(l,n,a,s,!1))),af(c)&&(o=gf(l,n,t,o,"previousSibling"),a=gf(l,n,t,a,"nextSibling")),(nf(c)||rf(c))&&(o=vf(e,n,o,"previousSibling"),a=vf(e,n,a,"nextSibling"),nf(c)&&(l.isBlock(o)||(o=yf(l,n,o,i,!0)),l.isBlock(a)||(a=yf(l,n,a,s,!1)))),vr(o)&&o.parentNode&&(i=l.nodeIndex(o),o=o.parentNode),vr(a)&&a.parentNode&&(s=l.nodeIndex(a)+1,a=a.parentNode),{startContainer:o,startOffset:i,endContainer:a,endOffset:s}},Cf=(e,t,n)=>{var r;const o=t.startOffset,i=Ka(t.startContainer,o),a=t.endOffset,s=Ka(t.endContainer,a-1),l=e=>{const t=e[0];Sr(t)&&t===i&&o>=t.data.length&&e.splice(0,1);const n=e[e.length-1];return 0===a&&e.length>0&&n===s&&Sr(n)&&e.splice(e.length-1,1),e},c=(e,t,n)=>{const r=[];for(;e&&e!==n;e=e[t])r.push(e);return r},u=(t,n)=>e.getParent(t,(e=>e.parentNode===n),n),d=(e,t,r)=>{const o=r?"nextSibling":"previousSibling";for(let i=e,a=i.parentNode;i&&i!==t;i=a){a=i.parentNode;const t=c(i===e?i:i[o],o);t.length&&(r||t.reverse(),n(l(t)))}};if(i===s)return n(l([i]));const f=null!==(r=e.findCommonAncestor(i,s))&&void 0!==r?r:e.getRoot();if(e.isChildOf(i,s))return d(i,f,!0);if(e.isChildOf(s,i))return d(s,f);const p=u(i,f)||i,h=u(s,f)||s;d(i,p,!0);const m=c(p===i?p:p.nextSibling,"nextSibling",h===s?h.nextSibling:h);m.length&&n(l(m)),d(s,h)},_f=['pre[class*=language-][contenteditable="false"]',"figure.image","div[data-ephox-embed-iri]","div.tiny-pageembed","div.mce-toc","div[data-mce-toc]"],wf=(e,t,n,r)=>An(t).fold((()=>"skipping"),(o=>"br"===r||(e=>zt(e)&&xo(e)===Eo)(t)?"valid":(e=>Ft(e)&&ln(e,xa()))(t)?"existing":ed(t.dom)?"caret":W(_f,(e=>pn(t,e)))?"valid-block":Vd(e,n,r)&&Vd(e,Lt(o),n)?"valid":"invalid-child")),kf=(e,t,n,r,o,i)=>{const{uid:a=t,...s}=n;rn(e,xa()),Vt(e,`${_a()}`,a),Vt(e,`${Ca()}`,r);const{attributes:l={},classes:c=[]}=o(a,s);if(Yt(e,l),((e,t)=>{Y(t,(t=>{rn(e,t)}))})(e,c),i){c.length>0&&Vt(e,`${ka()}`,c.join(","));const t=pe(l);t.length>0&&Vt(e,`${Sa()}`,t.join(","))}},Sf=e=>{an(e,xa()),$t(e,`${_a()}`),$t(e,`${Ca()}`),$t(e,`${wa()}`);const t=Gt(e,`${Sa()}`).map((e=>e.split(","))).getOr([]),n=Gt(e,`${ka()}`).map((e=>e.split(","))).getOr([]);var r;Y(t,(t=>$t(e,t))),r=e,Y(n,(e=>{an(r,e)})),$t(e,`${ka()}`),$t(e,`${Sa()}`)},Ef=(e,t,n,r,o)=>{const i=dn.fromTag("span",e);return kf(i,t,n,r,o,!1),i},Bf=(e,t,n,r,o,i)=>{const a=[],s=Ef(e.getDoc(),n,i,r,o),l=ba(),c=()=>{l.clear()},u=e=>{Y(e,d)},d=t=>{switch(wf(e,t,"span",Lt(t))){case"invalid-child":{c();const e=kn(t);u(e),c();break}case"valid-block":c(),kf(t,n,i,r,o,!0);break;case"valid":{const e=l.get().getOrThunk((()=>{const e=La(s);return a.push(e),l.set(e),e}));((e,t)=>{Zn(e,t),$n(t,e)})(t,e);break}}};return Cf(e.dom,t,(e=>{c(),(e=>{const t=V(e,dn.fromDom);u(t)})(e)})),a},Of=(e,t,n,r)=>{e.undoManager.transact((()=>{const o=e.selection,i=o.getRng(),a=Od(e).length>0,s=Da("mce-annotation");if(i.collapsed&&!a&&((e,t)=>{const n=xf(e,t,[{inline:"span"}]);t.setStart(n.startContainer,n.startOffset),t.setEnd(n.endContainer,n.endOffset),e.selection.setRng(t)})(e,i),o.getRng().collapsed&&!a){const i=Ef(e.getDoc(),s,r,t,n.decorate);nr(i,go),o.getRng().insertNode(i.dom),o.select(i.dom)}else Id(o,!1,(()=>{Ld(e,(o=>{Bf(e,o,s,t,n.decorate,r)}))}))}))},jf=e=>{const t=(()=>{const e={};return{register:(t,n)=>{e[t]={name:t,settings:n}},lookup:t=>_e(e,t).map((e=>e.settings)),getNames:()=>pe(e)}})();((e,t)=>{const n=Ca(),r=e=>N.from(e.attr(n)).bind(t.lookup),o=e=>{var t,n;e.attr(_a(),null),e.attr(Ca(),null),e.attr(wa(),null);const r=N.from(e.attr(Sa())).map((e=>e.split(","))).getOr([]),o=N.from(e.attr(ka())).map((e=>e.split(","))).getOr([]);Y(r,(t=>e.attr(t,null)));const i=null!==(n=null===(t=e.attr("class"))||void 0===t?void 0:t.split(" "))&&void 0!==n?n:[],a=ie(i,[xa()].concat(o));e.attr("class",a.length>0?a.join(" "):null),e.attr(ka(),null),e.attr(Sa(),null)};e.serializer.addTempAttr(wa()),e.serializer.addAttributeFilter(n,(e=>{for(const t of e)r(t).each((e=>{!1===e.persistent&&("span"===t.name?t.unwrap():o(t))}))}))})(e,t);const n=Pa(e,t),r=Ht("span"),o=e=>{Y(e,(e=>{r(e)?er(e):Sf(e)}))};return{register:(e,n)=>{t.register(e,n)},annotate:(n,r)=>{t.lookup(n).each((t=>{Of(e,n,t,r)}))},annotationChanged:(e,t)=>{n.addListener(e,t)},remove:t=>{const n=e.selection.getBookmark();Ba(e,N.some(t)).each((({elements:e})=>{o(e)})),e.selection.moveToBookmark(n)},removeAll:t=>{const n=e.selection.getBookmark();me(Ta(e,t),((e,t)=>{o(e)})),e.selection.moveToBookmark(n)},getAll:t=>{const n=Ta(e,t);return ge(n,(e=>V(e,(e=>e.dom))))}}},Tf=e=>({getBookmark:P(fd,e),moveToBookmark:P(pd,e)});Tf.isBookmarkNode=hd;const Pf=(e,t,n)=>!n.collapsed&&W(n.getClientRects(),(n=>((e,t,n)=>t>=e.left&&t<=e.right&&n>=e.top&&n<=e.bottom)(n,e,t))),Mf=(e,t,n)=>{e.dispatch(t,n)},Df=(e,t,n,r)=>{e.dispatch("FormatApply",{format:t,node:n,vars:r})},Rf=(e,t,n,r)=>{e.dispatch("FormatRemove",{format:t,node:n,vars:r})},Lf=(e,t)=>e.dispatch("SetContent",t),If=(e,t)=>e.dispatch("GetContent",t),Nf=(e,t)=>e.dispatch("PastePlainTextToggle",{state:t}),Ff={BACKSPACE:8,DELETE:46,DOWN:40,ENTER:13,ESC:27,LEFT:37,RIGHT:39,SPACEBAR:32,TAB:9,UP:38,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,modifierPressed:e=>e.shiftKey||e.ctrlKey||e.altKey||Ff.metaKeyPressed(e),metaKeyPressed:e=>Bt.os.isMacOS()||Bt.os.isiOS()?e.metaKey:e.ctrlKey&&!e.altKey},zf="data-mce-selected",qf=Math.abs,Uf=Math.round,Hf={nw:[0,0,-1,-1],ne:[1,0,1,-1],se:[1,1,1,1],sw:[0,1,-1,1]},Wf=(e,t)=>{const n=t.dom,r=t.getDoc(),o=document,i=t.getBody();let a,s,l,c,u,d,f,p,h,m,g,v,b,y,A;const x=e=>C(e)&&(Mr(e)||n.is(e,"figure.image")),_=e=>Nr(e)||n.hasClass(e,"mce-preview-object"),w=e=>{const n=e.target;((e,t)=>{if((e=>"longpress"===e.type||0===e.type.indexOf("touch"))(e)){const n=e.touches[0];return x(e.target)&&!Pf(n.clientX,n.clientY,t)}return x(e.target)&&!Pf(e.clientX,e.clientY,t)})(e,t.selection.getRng())&&!e.isDefaultPrevented()&&t.selection.select(n)},k=e=>n.hasClass(e,"mce-preview-object")&&C(e.firstElementChild)?[e,e.firstElementChild]:n.is(e,"figure.image")?[e.querySelector("img")]:[e],S=e=>{const r=Ll(t);return!!r&&("false"!==e.getAttribute("data-mce-resize")&&(e!==t.getBody()&&(n.hasClass(e,"mce-preview-object")&&C(e.firstElementChild)?pn(dn.fromDom(e.firstElementChild),r):pn(dn.fromDom(e),r))))},E=(e,r,o)=>{if(C(o)){const i=k(e);Y(i,(e=>{e.style[r]||!t.schema.isValid(e.nodeName.toLowerCase(),r)?n.setStyle(e,r,o):n.setAttrib(e,r,""+o)}))}},B=(e,t,n)=>{E(e,"width",t),E(e,"height",n)},O=e=>{let r,o,u,C,w;r=e.screenX-d,o=e.screenY-f,v=r*c[2]+p,b=o*c[3]+h,v=v<5?5:v,b=b<5?5:b,u=(x(a)||_(a))&&!1!==Il(t)?!Ff.modifierPressed(e):Ff.modifierPressed(e),u&&(qf(r)>qf(o)?(b=Uf(v*m),v=Uf(b/m)):(v=Uf(b/m),b=Uf(v*m))),B(s,v,b),C=c.startPos.x+r,w=c.startPos.y+o,C=C>0?C:0,w=w>0?w:0,n.setStyles(l,{left:C,top:w,display:"block"}),l.innerHTML=v+" &times; "+b,c[2]<0&&s.clientWidth<=v&&n.setStyle(s,"left",undefined+(p-v)),c[3]<0&&s.clientHeight<=b&&n.setStyle(s,"top",undefined+(h-b)),r=i.scrollWidth-y,o=i.scrollHeight-A,r+o!==0&&n.setStyles(l,{left:C-r,top:w-o}),g||(((e,t,n,r,o)=>{e.dispatch("ObjectResizeStart",{target:t,width:n,height:r,origin:o})})(t,a,p,h,"corner-"+c.name),g=!0)},j=()=>{const e=g;g=!1,e&&(E(a,"width",v),E(a,"height",b)),n.unbind(r,"mousemove",O),n.unbind(r,"mouseup",j),o!==r&&(n.unbind(o,"mousemove",O),n.unbind(o,"mouseup",j)),n.remove(s),n.remove(l),n.remove(u),T(a),e&&(((e,t,n,r,o)=>{e.dispatch("ObjectResized",{target:t,width:n,height:r,origin:o})})(t,a,v,b,"corner-"+c.name),n.setAttrib(a,"style",n.getAttrib(a,"style"))),t.nodeChanged()},T=e=>{L();const g=n.getPos(e,i),x=g.x,C=g.y,w=e.getBoundingClientRect(),E=w.width||w.right-w.left,T=w.height||w.bottom-w.top;a!==e&&(M(),a=e,v=b=0);const P=t.dispatch("ObjectSelected",{target:e});S(e)&&!P.isDefaultPrevented()?me(Hf,((e,t)=>{const g=g=>{const v=k(a)[0];var b;d=g.screenX,f=g.screenY,p=v.clientWidth,h=v.clientHeight,m=h/p,c=e,c.name=t,c.startPos={x:E*e[0]+x,y:T*e[1]+C},y=i.scrollWidth,A=i.scrollHeight,u=n.add(i,"div",{class:"mce-resize-backdrop","data-mce-bogus":"all"}),n.setStyles(u,{position:"fixed",left:"0",top:"0",width:"100%",height:"100%"}),s=_(b=a)?n.create("img",{src:Bt.transparentSrc}):b.cloneNode(!0),n.addClass(s,"mce-clonedresizable"),n.setAttrib(s,"data-mce-bogus","all"),s.contentEditable="false",n.setStyles(s,{left:x,top:C,margin:0}),B(s,E,T),s.removeAttribute(zf),i.appendChild(s),n.bind(r,"mousemove",O),n.bind(r,"mouseup",j),o!==r&&(n.bind(o,"mousemove",O),n.bind(o,"mouseup",j)),l=n.add(i,"div",{class:"mce-resize-helper","data-mce-bogus":"all"},p+" &times; "+h)};let v=n.get("mceResizeHandle"+t);v&&n.remove(v),v=n.add(i,"div",{id:"mceResizeHandle"+t,"data-mce-bogus":"all",class:"mce-resizehandle",unselectable:!0,style:"cursor:"+t+"-resize; margin:0; padding:0"}),n.bind(v,"mousedown",(e=>{e.stopImmediatePropagation(),e.preventDefault(),g(e)})),e.elm=v,n.setStyles(v,{left:E*e[0]+x-v.offsetWidth/2,top:T*e[1]+C-v.offsetHeight/2})})):M(!1)},P=ya(T,0),M=(e=!0)=>{P.cancel(),L(),a&&e&&a.removeAttribute(zf),me(Hf,((e,t)=>{const r=n.get("mceResizeHandle"+t);r&&(n.unbind(r),n.remove(r))}))},D=(e,t)=>n.isChildOf(e,t),R=r=>{if(g||t.removed||t.composing)return;const o="mousedown"===r.type?r.target:e.getNode(),a=$r(dn.fromDom(o),"table,img,figure.image,hr,video,span.mce-preview-object").map((e=>e.dom)).getOrUndefined(),s=C(a)?n.getAttrib(a,zf,"1"):"1";if(Y(n.select("img[data-mce-selected],hr[data-mce-selected]"),(e=>{e.removeAttribute(zf)})),C(a)&&D(a,i)){I();const t=e.getStart(!0);if(D(t,a)&&D(e.getEnd(!0),a))return n.setAttrib(a,zf,s),void P.throttle(a)}M()},L=()=>{me(Hf,(e=>{e.elm&&(n.unbind(e.elm),delete e.elm)}))},I=()=>{try{t.getDoc().execCommand("enableObjectResizing",!1,"false")}catch(e){}};t.on("init",(()=>{I(),t.on("NodeChange ResizeEditor ResizeWindow ResizeContent drop",R),t.on("keyup compositionend",(e=>{a&&"TABLE"===a.nodeName&&R(e)})),t.on("hide blur",M),t.on("contextmenu longpress",w,!0)})),t.on("remove",L);return{isResizable:S,showResizeRect:T,hideResizeRect:M,updateResizeRect:R,destroy:()=>{P.cancel(),a=s=u=null}}},Vf=(e,t,n)=>{const r=e.document.createRange();var o;return o=r,t.fold((e=>{o.setStartBefore(e.dom)}),((e,t)=>{o.setStart(e.dom,t)}),(e=>{o.setStartAfter(e.dom)})),((e,t)=>{t.fold((t=>{e.setEndBefore(t.dom)}),((t,n)=>{e.setEnd(t.dom,n)}),(t=>{e.setEndAfter(t.dom)}))})(r,n),r},Yf=(e,t,n,r,o)=>{const i=e.document.createRange();return i.setStart(t.dom,n),i.setEnd(r.dom,o),i},Zf=Us([{ltr:["start","soffset","finish","foffset"]},{rtl:["start","soffset","finish","foffset"]}]),Gf=(e,t,n)=>t(dn.fromDom(n.startContainer),n.startOffset,dn.fromDom(n.endContainer),n.endOffset),Kf=(e,t)=>{const n=((e,t)=>t.match({domRange:e=>({ltr:O(e),rtl:N.none}),relative:(t,n)=>({ltr:Re((()=>Vf(e,t,n))),rtl:Re((()=>N.some(Vf(e,n,t))))}),exact:(t,n,r,o)=>({ltr:Re((()=>Yf(e,t,n,r,o))),rtl:Re((()=>N.some(Yf(e,r,o,t,n))))})}))(e,t);return((e,t)=>{const n=t.ltr();if(n.collapsed)return t.rtl().filter((e=>!1===e.collapsed)).map((e=>Zf.rtl(dn.fromDom(e.endContainer),e.endOffset,dn.fromDom(e.startContainer),e.startOffset))).getOrThunk((()=>Gf(0,Zf.ltr,n)));return Gf(0,Zf.ltr,n)})(0,n)};Zf.ltr,Zf.rtl;const $f=(e,t,n,r)=>({start:e,soffset:t,finish:n,foffset:r}),Xf=(e,t,n)=>{var r,o;return N.from(null===(o=(r=e.dom).caretPositionFromPoint)||void 0===o?void 0:o.call(r,t,n)).bind((t=>{if(null===t.offsetNode)return N.none();const n=e.dom.createRange();return n.setStart(t.offsetNode,t.offset),n.collapse(),N.some(n)}))},Qf=(e,t,n)=>{var r,o;return N.from(null===(o=(r=e.dom).caretRangeFromPoint)||void 0===o?void 0:o.call(r,t,n))},Jf=document.caretPositionFromPoint?Xf:document.caretRangeFromPoint?Qf:N.none,ep=Us([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),tp={before:ep.before,on:ep.on,after:ep.after,cata:(e,t,n,r)=>e.fold(t,n,r),getStart:e=>e.fold(j,j,j)},np=Us([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),rp={domRange:np.domRange,relative:np.relative,exact:np.exact,exactFromRange:e=>np.exact(e.start,e.soffset,e.finish,e.foffset),getWin:e=>{const t=(e=>e.match({domRange:e=>dn.fromDom(e.startContainer),relative:(e,t)=>tp.getStart(e),exact:(e,t,n,r)=>e}))(e);return yn(t)},range:$f},op=(e,t)=>{const n=Lt(e);return"input"===n?tp.after(e):H(["br","img"],n)?0===t?tp.before(e):tp.after(e):tp.on(e,t)},ip=(e,t)=>{const n=e.fold(tp.before,op,tp.after),r=t.fold(tp.before,op,tp.after);return rp.relative(n,r)},ap=(e,t,n,r)=>{const o=op(e,t),i=op(n,r);return rp.relative(o,i)},sp=(e,t)=>{const n=(t||document).createDocumentFragment();return Y(e,(e=>{n.appendChild(e.dom)})),dn.fromDom(n)},lp=e=>{const t=rp.getWin(e).dom,n=(e,n,r,o)=>Yf(t,e,n,r,o),r=(e=>e.match({domRange:e=>{const t=dn.fromDom(e.startContainer),n=dn.fromDom(e.endContainer);return ap(t,e.startOffset,n,e.endOffset)},relative:ip,exact:ap}))(e);return Kf(t,r).match({ltr:n,rtl:n})},cp=(e,t,n)=>((e,t,n)=>{const r=dn.fromDom(e.document);return Jf(r,t,n).map((e=>$f(dn.fromDom(e.startContainer),e.startOffset,dn.fromDom(e.endContainer),e.endOffset)))})(e,t,n),up=(e,t,n)=>{const r=yn(dn.fromDom(n));return cp(r.dom,e,t).map((e=>{const t=n.createRange();return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),t})).getOrUndefined()},dp=(e,t)=>C(e)&&C(t)&&e.startContainer===t.startContainer&&e.startOffset===t.startOffset&&e.endContainer===t.endContainer&&e.endOffset===t.endOffset,fp=(e,t,n)=>null!==((e,t,n)=>{let r=e;for(;r&&r!==t;){if(n(r))return r;r=r.parentNode}return null})(e,t,n),pp=(e,t,n)=>fp(e,t,(e=>e.nodeName===n)),hp=(e,t)=>Do(e)&&!fp(e,t,ed),mp=(e,t,n)=>{const r=t.parentNode;if(r){const o=new Jr(t,e.getParent(r,e.isBlock)||e.getRoot());let i;for(;i=o[n?"prev":"next"]();)if(Pr(i))return!0}return!1},gp=(e,t,n,r,o)=>{const i=e.getRoot(),a=e.schema.getNonEmptyElements(),s=o.parentNode;let l,c;if(!s)return N.none();const u=e.getParent(s,e.isBlock)||i;if(r&&Pr(o)&&t&&e.isEmpty(u))return N.some(gs(s,e.nodeIndex(o)));const d=new Jr(o,u);for(;c=d[r?"prev":"next"]();){if("false"===e.getContentEditableParent(c)||hp(c,i))return N.none();if(Sr(c)&&c.data.length>0)return pp(c,i,"A")?N.none():N.some(gs(c,r?c.data.length:0));if(e.isBlock(c)||a[c.nodeName.toLowerCase()])return N.none();l=c}return Or(l)?N.none():n&&l?N.some(gs(l,0)):N.none()},vp=(e,t,n,r)=>{const o=e.getRoot();let i,a=!1,s=n?r.startContainer:r.endContainer,l=n?r.startOffset:r.endOffset;const c=vr(s)&&l===s.childNodes.length,u=e.schema.getNonEmptyElements();let d=n;if(Do(s))return N.none();if(vr(s)&&l>s.childNodes.length-1&&(d=!1),jr(s)&&(s=o,l=0),s===o){if(d&&(i=s.childNodes[l>0?l-1:0],i)){if(Do(i))return N.none();if(u[i.nodeName]||_r(i))return N.none()}if(s.hasChildNodes()){if(l=Math.min(!d&&l>0?l-1:l,s.childNodes.length-1),s=s.childNodes[l],l=Sr(s)&&c?s.data.length:0,!t&&s===o.lastChild&&_r(s))return N.none();if(((e,t)=>{let n=t;for(;n&&n!==e;){if(Rr(n))return!0;n=n.parentNode}return!1})(o,s)||Do(s))return N.none();if(s.hasChildNodes()&&!_r(s)){i=s;const t=new Jr(s,o);do{if(Rr(i)||Do(i)){a=!1;break}if(Sr(i)&&i.data.length>0){l=d?0:i.data.length,s=i,a=!0;break}if(u[i.nodeName.toLowerCase()]&&!Ir(i)){l=e.nodeIndex(i),s=i.parentNode,d||l++,a=!0;break}}while(i=d?t.next():t.prev())}}}return t&&(Sr(s)&&0===l&&gp(e,c,t,!0,s).each((e=>{s=e.container(),l=e.offset(),a=!0})),vr(s)&&(i=s.childNodes[l],i||(i=s.childNodes[l-1]),!i||!Pr(i)||((e,t)=>{var n;return(null===(n=e.previousSibling)||void 0===n?void 0:n.nodeName)===t})(i,"A")||mp(e,i,!1)||mp(e,i,!0)||gp(e,c,t,!0,i).each((e=>{s=e.container(),l=e.offset(),a=!0})))),d&&!t&&Sr(s)&&l===s.data.length&&gp(e,c,t,!1,s).each((e=>{s=e.container(),l=e.offset(),a=!0})),a&&s?N.some(gs(s,l)):N.none()},bp=(e,t)=>{const n=t.collapsed,r=t.cloneRange(),o=gs.fromRangeStart(t);return vp(e,n,!0,r).each((e=>{n&&gs.isAbove(o,e)||r.setStart(e.container(),e.offset())})),n||vp(e,n,!1,r).each((e=>{r.setEnd(e.container(),e.offset())})),n&&r.collapse(!0),dp(t,r)?N.none():N.some(r)},yp=(e,t)=>e.splitText(t),Ap=e=>{let t=e.startContainer,n=e.startOffset,r=e.endContainer,o=e.endOffset;if(t===r&&Sr(t)){if(n>0&&n<t.data.length)if(r=yp(t,n),t=r.previousSibling,o>n){o-=n;const e=yp(r,o).previousSibling;t=r=e,o=e.data.length,n=0}else o=0}else if(Sr(t)&&n>0&&n<t.data.length&&(t=yp(t,n),n=0),Sr(r)&&o>0&&o<r.data.length){const e=yp(r,o).previousSibling;r=e,o=e.data.length}return{startContainer:t,startOffset:n,endContainer:r,endOffset:o}},xp=e=>({walk:(t,n)=>Cf(e,t,n),split:Ap,normalize:t=>bp(e,t).fold(L,(e=>(t.setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),!0)))});xp.compareRanges=dp,xp.getCaretRangeFromPoint=up,xp.getSelectedNode=Ga,xp.getNode=Ka;const Cp=((e,t)=>{const n=n=>{const r=t(n);if(r<=0||null===r){const t=Un(n,e);return parseFloat(t)||0}return r},r=(e,t)=>X(t,((t,n)=>{const r=Un(e,n),o=void 0===r?0:parseInt(r,10);return isNaN(o)?t:t+o}),0);return{set:(t,n)=>{if(!w(n)&&!n.match(/^[0-9]+$/))throw new Error(e+".set accepts only positive integer values. Value was "+n);const r=t.dom;cn(r)&&(r.style[e]=n+"px")},get:n,getOuter:n,aggregate:r,max:(e,t,n)=>{const o=r(e,n);return t>o?t-o:0}}})("height",(e=>{const t=e.dom;return Nn(e)?t.getBoundingClientRect().height:t.offsetHeight})),_p=()=>dn.fromDom(document),wp=(e,t)=>e.view(t).fold(O([]),(t=>{const n=e.owner(t),r=wp(e,n);return[t].concat(r)}));var kp=Object.freeze({__proto__:null,view:e=>{var t;return(e.dom===document?N.none():N.from(null===(t=e.dom.defaultView)||void 0===t?void 0:t.frameElement)).map(dn.fromDom)},owner:e=>bn(e)});const Sp=e=>{const t=_p(),n=ur(t),r=((e,t)=>{const n=t.owner(e);return wp(t,n)})(e,kp),o=cr(e),i=$(r,((e,t)=>{const n=cr(t);return{left:e.left+n.left,top:e.top+n.top}}),{left:0,top:0});return sr(i.left+o.left+n.left,i.top+o.top+n.top)},Ep=e=>"textarea"===Lt(e),Bp=(e,t)=>{const n=(e=>{const t=e.dom.ownerDocument,n=t.body,r=t.defaultView,o=t.documentElement;if(n===e.dom)return sr(n.offsetLeft,n.offsetTop);const i=lr(null==r?void 0:r.pageYOffset,o.scrollTop),a=lr(null==r?void 0:r.pageXOffset,o.scrollLeft),s=lr(o.clientTop,n.clientTop),l=lr(o.clientLeft,n.clientLeft);return cr(e).translate(a-l,i-s)})(e),r=(e=>Cp.get(e))(e);return{element:e,bottom:n.top+r,height:r,pos:n,cleanup:t}},Op=(e,t)=>{const n=((e,t)=>{const n=kn(e);if(0===n.length||Ep(e))return{element:e,offset:t};if(t<n.length&&!Ep(n[t]))return{element:n[t],offset:0};{const r=n[n.length-1];return Ep(r)?{element:e,offset:t}:"img"===Lt(r)?{element:r,offset:1}:zt(r)?{element:r,offset:xo(r).length}:{element:r,offset:kn(r).length}}})(e,t),r=dn.fromHtml('<span data-mce-bogus="all" style="display: inline-block;">\ufeff</span>');return Zn(n.element,r),Bp(r,(()=>Jn(r)))},jp=(e,t,n,r)=>{Dp(e,((o,i)=>Pp(e,t,n,r)),n)},Tp=(e,t,n,r,o)=>{const i={elm:r.element.dom,alignToTop:o};if(((e,t)=>e.dispatch("ScrollIntoView",t).isDefaultPrevented())(e,i))return;n(t,ur(t).top,r,o),((e,t)=>{e.dispatch("AfterScrollIntoView",t)})(e,i)},Pp=(e,t,n,r)=>{const o=dn.fromDom(e.getBody()),i=dn.fromDom(e.getDoc());(e=>{e.dom.offsetWidth})(o);const a=Op(dn.fromDom(n.startContainer),n.startOffset);Tp(e,i,t,a,r),a.cleanup()},Mp=(e,t,n,r)=>{const o=dn.fromDom(e.getDoc());Tp(e,o,n,(e=>Bp(dn.fromDom(e),S))(t),r)},Dp=(e,t,n)=>{const r=n.startContainer,o=n.startOffset,i=n.endContainer,a=n.endOffset;t(dn.fromDom(r),dn.fromDom(i));const s=e.dom.createRng();s.setStart(r,o),s.setEnd(i,a),e.selection.setRng(n)},Rp=(e,t,n,r)=>{const o=e.pos;if(n)dr(o.left,o.top,r);else{const n=o.top-t+e.height;dr(o.left,n,r)}},Lp=(e,t,n,r,o)=>{const i=n+t,a=r.pos.top,s=r.bottom,l=s-a>=n;if(a<t)Rp(r,n,!1!==o,e);else if(a>i){Rp(r,n,l?!1!==o:!0===o,e)}else s>i&&!l&&Rp(r,n,!0===o,e)},Ip=(e,t,n,r)=>{const o=yn(e).dom.innerHeight;Lp(e,t,o,n,r)},Np=(e,t,n,r)=>{const o=yn(e).dom.innerHeight;Lp(e,t,o,n,r);const i=Sp(n.element),a=hr(window);i.top<a.y?fr(n.element,!1!==r):i.top>a.bottom&&fr(n.element,!0===r)},Fp=(e,t,n)=>jp(e,Ip,t,n),zp=(e,t,n)=>Mp(e,t,Ip,n),qp=(e,t,n)=>jp(e,Np,t,n),Up=(e,t,n)=>Mp(e,t,Np,n),Hp=(e,t,n)=>{(e.inline?Fp:qp)(e,t,n)},Wp=e=>e.dom.focus(),Vp=e=>{const t=Mn(e).dom;return e.dom===t.activeElement},Yp=(e=_p())=>N.from(e.dom.activeElement).map(dn.fromDom),Zp=(e,t)=>{const n=zt(t)?xo(t).length:kn(t).length+1;return e>n?n:e<0?0:e},Gp=e=>rp.range(e.start,Zp(e.soffset,e.start),e.finish,Zp(e.foffset,e.finish)),Kp=(e,t)=>!gr(t.dom)&&(gn(e,t)||mn(e,t)),$p=e=>t=>Kp(e,t.start)&&Kp(e,t.finish),Xp=e=>rp.range(dn.fromDom(e.startContainer),e.startOffset,dn.fromDom(e.endContainer),e.endOffset),Qp=e=>(e=>{const t=e.getSelection();return(t&&0!==t.rangeCount?N.from(t.getRangeAt(0)):N.none()).map(Xp)})(yn(e).dom).filter($p(e)),Jp=e=>{const t=document.createRange();try{return t.setStart(e.start.dom,e.soffset),t.setEnd(e.finish.dom,e.foffset),N.some(t)}catch(e){return N.none()}},eh=e=>{const t=(e=>e.inline)(e)?Qp(dn.fromDom(e.getBody())):N.none();e.bookmark=t.isSome()?t:e.bookmark},th=e=>(e.bookmark?e.bookmark:N.none()).bind((t=>((e,t)=>N.from(t).filter($p(e)).map(Gp))(dn.fromDom(e.getBody()),t))).bind(Jp),nh={isEditorUIElement:e=>{const t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")}},rh={setEditorTimeout:(e,t,n)=>((e,t)=>(w(t)||(t=0),setTimeout(e,t)))((()=>{e.removed||t()}),n),setEditorInterval:(e,t,n)=>{const r=((e,t)=>(w(t)||(t=0),setInterval(e,t)))((()=>{e.removed?clearInterval(r):t()}),n);return r}},oh=e=>{const t=ya((()=>{eh(e)}),0);e.on("init",(()=>{e.inline&&((e,t)=>{const n=()=>{t.throttle()};la.DOM.bind(document,"mouseup",n),e.on("remove",(()=>{la.DOM.unbind(document,"mouseup",n)}))})(e,t),((e,t)=>{((e,t)=>{e.on("mouseup touchend",(e=>{t.throttle()}))})(e,t),e.on("keyup NodeChange AfterSetSelectionRange",(t=>{(e=>"nodechange"===e.type&&e.selectionChange)(t)||eh(e)}))})(e,t)})),e.on("remove",(()=>{t.cancel()}))};let ih;const ah=la.DOM,sh=(e,t)=>{const n=$l(e),r=ah.getParent(t,(t=>(e=>vr(e)&&nh.isEditorUIElement(e))(t)||!!n&&e.dom.is(t,n)));return null!==r},lh=(e,t)=>{const n=t.editor;oh(n),n.on("focusin",(()=>{const t=e.focusedEditor;t!==n&&(t&&t.dispatch("blur",{focusedEditor:n}),e.setActive(n),e.focusedEditor=n,n.dispatch("focus",{blurredEditor:t}),n.focus(!0))})),n.on("focusout",(()=>{rh.setEditorTimeout(n,(()=>{const t=e.focusedEditor;sh(n,(e=>{try{const t=Mn(dn.fromDom(e.getElement()));return Yp(t).fold((()=>document.body),(e=>e.dom))}catch(e){return document.body}})(n))||t!==n||(n.dispatch("blur",{focusedEditor:null}),e.focusedEditor=null)}))})),ih||(ih=t=>{const n=e.activeEditor;n&&Ln(t).each((t=>{const r=t;r.ownerDocument===document&&(r===document.body||sh(n,r)||e.focusedEditor!==n||(n.dispatch("blur",{focusedEditor:null}),e.focusedEditor=null))}))},ah.bind(document,"focusin",ih))},ch=(e,t)=>{e.focusedEditor===t.editor&&(e.focusedEditor=null),!e.activeEditor&&ih&&(ah.unbind(document,"focusin",ih),ih=null)},uh=(e,t)=>(e=>e.collapsed?N.from(Ka(e.startContainer,e.startOffset)).map(dn.fromDom):N.none())(t).bind((t=>lo(t)?N.some(t):gn(e,t)?N.none():N.some(e))),dh=(e,t)=>{uh(dn.fromDom(e.getBody()),t).bind((e=>Xu(e.dom))).fold((()=>{e.selection.normalize()}),(t=>e.selection.setRng(t.toRange())))},fh=e=>{if(e.setActive)try{e.setActive()}catch(t){e.focus()}else e.focus()},ph=e=>{return Vp(e)||(t=e,Yp(Mn(t)).filter((e=>t.dom.contains(e.dom)))).isSome();var t},hh=e=>e.inline?(e=>{const t=e.getBody();return t&&ph(dn.fromDom(t))})(e):(e=>C(e.iframeElement)&&Vp(dn.fromDom(e.iframeElement)))(e),mh=e=>hh(e)||(e=>{const t=Mn(dn.fromDom(e.getElement()));return Yp(t).filter((t=>!(e=>{const t=e.classList;return void 0!==t&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body"))})(t.dom)&&sh(e,t.dom))).isSome()})(e),gh=e=>e.editorManager.setActive(e),vh=(e,t)=>{e.removed||(t?gh(e):(e=>{const t=e.selection,n=e.getBody();let r=t.getRng();e.quirks.refreshContentEditable(),C(e.bookmark)&&!hh(e)&&th(e).each((t=>{e.selection.setRng(t),r=t}));const o=((e,t)=>e.dom.getParent(t,(t=>"true"===e.dom.getContentEditable(t))))(e,t.getNode());if(o&&e.dom.isChildOf(o,n))return fh(o),dh(e,r),void gh(e);e.inline||(Bt.browser.isOpera()||fh(n),e.getWin().focus()),(Bt.browser.isFirefox()||e.inline)&&(fh(n),dh(e,r)),gh(e)})(e))},bh=(e,t,n,r,o)=>{const i=n?t.startContainer:t.endContainer,a=n?t.startOffset:t.endOffset;return N.from(i).map(dn.fromDom).map((e=>r&&t.collapsed?e:Sn(e,o(e,a)).getOr(e))).bind((e=>Ft(e)?N.some(e):An(e).filter(Ft))).map((e=>e.dom)).getOr(e)},yh=(e,t,n=!1)=>bh(e,t,!0,n,((e,t)=>Math.min(On(e),t))),Ah=(e,t,n=!1)=>bh(e,t,!1,n,((e,t)=>t>0?t-1:t)),xh=(e,t)=>{const n=e;for(;e&&Sr(e)&&0===e.length;)e=t?e.nextSibling:e.previousSibling;return e||n},Ch=(e,t)=>V(t,(t=>{const n=e.dispatch("GetSelectionRange",{range:t});return n.range!==t?n.range:t})),_h=["img","br"],wh=e=>{const t=Co(e).filter((e=>0!==e.trim().length||e.indexOf(go)>-1)).isSome();return t||H(_h,Lt(e))},kh=e=>((e,t)=>{const n=e=>{for(let r=0;r<e.childNodes.length;r++){const o=dn.fromDom(e.childNodes[r]);if(t(o))return N.some(o);const i=n(e.childNodes[r]);if(i.isSome())return i}return N.none()};return n(e.dom)})(e,wh),Sh=(e,t)=>{const n=e=>{const r=kn(e);for(let e=r.length-1;e>=0;e--){const o=r[e];if(t(o))return N.some(o);const i=n(o);if(i.isSome())return i}return N.none()};return n(e)},Eh="[data-mce-autocompleter]",Bh=(e,t)=>{if(Oh(dn.fromDom(e.getBody())).isNone()){const r=dn.fromHtml('<span data-mce-autocompleter="1" data-mce-bogus="1"></span>',e.getDoc());$n(r,dn.fromDom(t.extractContents())),t.insertNode(r.dom),An(r).each((e=>e.dom.normalize())),(n=r,Sh(n,wh)).map((t=>{e.selection.setCursorLocation(t.dom,(e=>"img"===Lt(e)?1:Co(e).fold((()=>kn(e).length),(e=>e.length)))(t))}))}var n},Oh=e=>Kr(e,Eh),jh={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Th=(e,t,n)=>{const r=n?"lastChild":"firstChild",o=n?"prev":"next";if(e[r])return e[r];if(e!==t){let n=e[o];if(n)return n;for(let r=e.parent;r&&r!==t;r=r.parent)if(n=r[o],n)return n}},Ph=e=>{var t;const n=null!==(t=e.value)&&void 0!==t?t:"";if(!ei(n))return!1;const r=e.parent;return!r||"span"===r.name&&!r.attr("style")||!/^[ ]+$/.test(n)},Mh=e=>{const t="a"===e.name&&!e.attr("href")&&e.attr("id");return e.attr("name")||e.attr("id")&&!e.firstChild||e.attr("data-mce-bookmark")||t};class Dh{constructor(e,t){this.name=e,this.type=t,1===t&&(this.attributes=[],this.attributes.map={})}static create(e,t){const n=new Dh(e,jh[e]||1);return t&&me(t,((e,t)=>{n.attr(t,e)})),n}replace(e){const t=this;return e.parent&&e.remove(),t.insert(e,t),t.remove(),t}attr(e,t){const n=this;if(!h(e))return C(e)&&me(e,((e,t)=>{n.attr(t,e)})),n;const r=n.attributes;if(r){if(void 0!==t){if(null===t){if(e in r.map){delete r.map[e];let t=r.length;for(;t--;)if(r[t].name===e)return r.splice(t,1),n}return n}if(e in r.map){let n=r.length;for(;n--;)if(r[n].name===e){r[n].value=t;break}}else r.push({name:e,value:t});return r.map[e]=t,n}return r.map[e]}}clone(){const e=this,t=new Dh(e.name,e.type),n=e.attributes;if(n){const e=[];e.map={};for(let t=0,r=n.length;t<r;t++){const r=n[t];"id"!==r.name&&(e[e.length]={name:r.name,value:r.value},e.map[r.name]=r.value)}t.attributes=e}return t.value=e.value,t}wrap(e){const t=this;return t.parent&&(t.parent.insert(e,t),e.append(t)),t}unwrap(){const e=this;for(let t=e.firstChild;t;){const n=t.next;e.insert(t,e,!0),t=n}e.remove()}remove(){const e=this,t=e.parent,n=e.next,r=e.prev;return t&&(t.firstChild===e?(t.firstChild=n,n&&(n.prev=null)):r&&(r.next=n),t.lastChild===e?(t.lastChild=r,r&&(r.next=null)):n&&(n.prev=r),e.parent=e.next=e.prev=null),e}append(e){const t=this;e.parent&&e.remove();const n=t.lastChild;return n?(n.next=e,e.prev=n,t.lastChild=e):t.lastChild=t.firstChild=e,e.parent=t,e}insert(e,t,n){e.parent&&e.remove();const r=t.parent||this;return n?(t===r.firstChild?r.firstChild=e:t.prev&&(t.prev.next=e),e.prev=t.prev,e.next=t,t.prev=e):(t===r.lastChild?r.lastChild=e:t.next&&(t.next.prev=e),e.next=t.next,e.prev=t,t.next=e),e.parent=r,e}getAll(e){const t=this,n=[];for(let r=t.firstChild;r;r=Th(r,t))r.name===e&&n.push(r);return n}children(){const e=[];for(let t=this.firstChild;t;t=t.next)e.push(t);return e}empty(){const e=this;if(e.firstChild){const t=[];for(let n=e.firstChild;n;n=Th(n,e))t.push(n);let n=t.length;for(;n--;){const e=t[n];e.parent=e.firstChild=e.lastChild=e.next=e.prev=null}}return e.firstChild=e.lastChild=null,e}isEmpty(e,t={},n){var r;const o=this;let i=o.firstChild;if(Mh(o))return!1;if(i)do{if(1===i.type){if(i.attr("data-mce-bogus"))continue;if(e[i.name])return!1;if(Mh(i))return!1}if(8===i.type)return!1;if(3===i.type&&!Ph(i))return!1;if(3===i.type&&i.parent&&t[i.parent.name]&&ei(null!==(r=i.value)&&void 0!==r?r:""))return!1;if(n&&n(i))return!1}while(i=Th(i,o));return!0}walk(e){return Th(this,null,e)}}const Rh=(e,t,n=0)=>{const r=e.toLowerCase();if(-1!==r.indexOf("[if ",n)&&((e,t)=>/^\s*\[if [\w\W]+\]>.*<!\[endif\](--!?)?>/.test(e.substr(t)))(r,n)){const e=r.indexOf("[endif]",n);return r.indexOf(">",e)}if(t){const e=r.indexOf(">",n);return-1!==e?e:r.length}{const t=/--!?>/g;t.lastIndex=n;const o=t.exec(e);return o?o.index+o[0].length:r.length}},Lh=(e,t,n)=>{const r=/<([!?\/])?([A-Za-z0-9\-_:.]+)/g,o=/(?:\s(?:[^'">]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,i=e.getVoidElements();let a=1,s=n;for(;0!==a;)for(r.lastIndex=s;;){const e=r.exec(t);if(null===e)return s;if("!"===e[1]){s=Ue(e[2],"--")?Rh(t,!1,e.index+"!--".length):Rh(t,!0,e.index+1);break}{o.lastIndex=r.lastIndex;const n=o.exec(t);if(b(n)||n.index!==r.lastIndex)continue;"/"===e[1]?a-=1:we(i,e[2])||(a+=1),s=r.lastIndex+n[0].length;break}}return s},Ih=(e,t)=>{const n=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,r=e.schema;let o=((e,t)=>{const n=new RegExp(["\\s?("+e.join("|")+')="[^"]+"'].join("|"),"gi");return t.replace(n,"")})(e.getTempAttrs(),t);const i=r.getVoidElements();let a;for(;a=n.exec(o);){const e=n.lastIndex,t=a[0].length;let s;s=i[a[1]]?e:Lh(r,o,e),o=o.substring(0,e-t)+o.substring(s),n.lastIndex=e-t}return Oo(o)},Nh=Ih,Fh=(e,t)=>{const n=e.getDoc(),r=Mn(dn.fromDom(e.getBody())),o=dn.fromTag("div",n);Vt(o,"data-mce-bogus","all"),qn(o,{position:"fixed",left:"-9999999px",top:"0"}),nr(o,t.innerHTML);const i=yo(o,"[data-mce-bogus]");Y(i,(e=>{"all"===Zt(e,"data-mce-bogus")?Jn(e):oo(e)?(Zn(e,dn.fromText(mo)),Jn(e)):er(e)}));const a=(e=>jn(e)?e:dn.fromDom(bn(e).dom.body))(r);$n(a,o);const s=Oo(o.dom.innerText);return Jn(o),s},zh=(e,t,n)=>{let r;r="raw"===t.format?Pt.trim(Nh(e.serializer,n.innerHTML)):"text"===t.format?Fh(e,n):"tree"===t.format?e.serializer.serialize(n,t):((e,t)=>{const n=cl(e),r=new RegExp(`^(<${n}[^>]*>(&nbsp;|&#160;|\\s| |<br \\/>|)<\\/${n}>[\r\n]*|<br \\/>[\r\n]*)$`);return t.replace(r,"")})(e,e.serializer.serialize(n,t));return"text"!==t.format&&!uo(dn.fromDom(n))&&h(r)?Pt.trim(r):r},qh=Pt.makeMap,Uh=e=>{const t=[],n=(e=e||{}).indent,r=qh(e.indent_before||""),o=qh(e.indent_after||""),i=Bi.getEncodeFunc(e.entity_encoding||"raw",e.entities),a="xhtml"!==e.element_format;return{start:(e,s,l)=>{if(n&&r[e]&&t.length>0){const e=t[t.length-1];e.length>0&&"\n"!==e&&t.push("\n")}if(t.push("<",e),s)for(let e=0,n=s.length;e<n;e++){const n=s[e];t.push(" ",n.name,'="',i(n.value,!0),'"')}if(t[t.length]=!l||a?">":" />",l&&n&&o[e]&&t.length>0){const e=t[t.length-1];e.length>0&&"\n"!==e&&t.push("\n")}},end:e=>{let r;t.push("</",e,">"),n&&o[e]&&t.length>0&&(r=t[t.length-1],r.length>0&&"\n"!==r&&t.push("\n"))},text:(e,n)=>{e.length>0&&(t[t.length]=n?e:i(e))},cdata:e=>{t.push("<![CDATA[",e,"]]>")},comment:e=>{t.push("\x3c!--",e,"--\x3e")},pi:(e,r)=>{r?t.push("<?",e," ",i(r),"?>"):t.push("<?",e,"?>"),n&&t.push("\n")},doctype:e=>{t.push("<!DOCTYPE",e,">",n?"\n":"")},reset:()=>{t.length=0},getContent:()=>t.join("").replace(/\n$/,"")}},Hh=(e={},t=qi())=>{const n=Uh(e);e.validate=!("validate"in e)||e.validate;return{serialize:r=>{const o=e.validate,i={3:e=>{var t;n.text(null!==(t=e.value)&&void 0!==t?t:"",e.raw)},8:e=>{var t;n.comment(null!==(t=e.value)&&void 0!==t?t:"")},7:e=>{n.pi(e.name,e.value)},10:e=>{var t;n.doctype(null!==(t=e.value)&&void 0!==t?t:"")},4:e=>{var t;n.cdata(null!==(t=e.value)&&void 0!==t?t:"")},11:e=>{let t=e;if(t=t.firstChild)do{a(t)}while(t=t.next)}};n.reset();const a=e=>{var r;const s=i[e.type];if(s)s(e);else{const i=e.name,s=i in t.getVoidElements();let l=e.attributes;if(o&&l&&l.length>1){const n=[];n.map={};const r=t.getElementRule(e.name);if(r){for(let e=0,t=r.attributesOrder.length;e<t;e++){const t=r.attributesOrder[e];if(t in l.map){const e=l.map[t];n.map[t]=e,n.push({name:t,value:e})}}for(let e=0,t=l.length;e<t;e++){const t=l[e].name;if(!(t in n.map)){const e=l.map[t];n.map[t]=e,n.push({name:t,value:e})}}l=n}}if(n.start(i,l,s),!s){let t=e.firstChild;if(t){"pre"!==i&&"textarea"!==i||3!==t.type||"\n"!==(null===(r=t.value)||void 0===r?void 0:r[0])||n.text("\n",!0);do{a(t)}while(t=t.next)}n.end(i)}}};return 1!==r.type||e.inner?3===r.type?i[3](r):i[11](r):a(r),n.getContent()}}},Wh=new Set;Y(["margin","margin-left","margin-right","margin-top","margin-bottom","padding","padding-left","padding-right","padding-top","padding-bottom","border","border-width","border-style","border-color","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","float","position","left","right","top","bottom","z-index","display","transform","width","max-width","min-width","height","max-height","min-height","overflow","overflow-x","overflow-y","text-overflow","vertical-align","transition","transition-delay","transition-duration","transition-property","transition-timing-function"],(e=>{Wh.add(e)}));const Vh=["font","text-decoration","text-emphasis"],Yh=(e,t)=>pe(e.parseStyle(e.getAttrib(t,"style"))),Zh=(e,t)=>re(Yh(e,t),(e=>!(e=>Wh.has(e))(e))),Gh=(e,t,n)=>{const r=Yh(e,t),o=Yh(e,n),i=r=>{var o,i;const a=null!==(o=e.getStyle(t,r))&&void 0!==o?o:"",s=null!==(i=e.getStyle(n,r))&&void 0!==i?i:"";return Ge(a)&&Ge(s)&&a!==s};return W(r,(e=>{const t=t=>W(t,(t=>t===e));if(!t(o)&&t(Vh)){const e=K(o,(e=>W(Vh,(t=>Ue(e,t)))));return W(e,i)}return i(e)}))},Kh=(e,t,n)=>N.from(n.container()).filter(Sr).exists((r=>{const o=e?0:-1;return t(r.data.charAt(n.offset()+o))})),$h=P(Kh,!0,vd),Xh=P(Kh,!1,vd),Qh=e=>{const t=e.container();return Sr(t)&&(0===t.data.length||Bo(t.data)&&Tf.isBookmarkNode(t.parentNode))},Jh=(e,t)=>n=>vu(e?0:-1,n).filter(t).isSome(),em=e=>Mr(e)&&"block"===Un(dn.fromDom(e),"display"),tm=e=>Rr(e)&&!(e=>vr(e)&&"all"===e.getAttribute("data-mce-bogus"))(e),nm=Jh(!0,em),rm=Jh(!1,em),om=Jh(!0,Nr),im=Jh(!1,Nr),am=Jh(!0,_r),sm=Jh(!1,_r),lm=Jh(!0,tm),cm=Jh(!1,tm),um=(e,t,n)=>{return gn(t,e)?(r=((e,t)=>{const n=_(t)?t:L;let r=e.dom;const o=[];for(;null!==r.parentNode&&void 0!==r.parentNode;){const e=r.parentNode,t=dn.fromDom(e);if(o.push(t),!0===n(t))break;r=e}return o})(e,(e=>n(e)||mn(e,t))),r.slice(0,-1)):[];var r},dm=(e,t)=>um(e,t,L),fm=(e,t)=>[e].concat(dm(e,t)),pm=(e,t,n)=>Zu(e,t,n,Qh),hm=(e,t)=>J(fm(dn.fromDom(t.container()),e),no),mm=(e,t,n)=>pm(e,t.dom,n).forall((e=>hm(t,n).fold((()=>!gu(e,n,t.dom)),(r=>!gu(e,n,t.dom)&&gn(r,dn.fromDom(e.container())))))),gm=(e,t,n)=>hm(t,n).fold((()=>pm(e,t.dom,n).forall((e=>!gu(e,n,t.dom)))),(t=>pm(e,t.dom,n).isNone())),vm=P(gm,!1),bm=P(gm,!0),ym=P(mm,!1),Am=P(mm,!0),xm=e=>Su(e).exists(oo),Cm=(e,t,n)=>{const r=K(fm(dn.fromDom(n.container()),t),no),o=ce(r).getOr(t);return Vu(e,o.dom,n).filter(xm)},_m=(e,t)=>Su(t).exists(oo)||Cm(!0,e,t).isSome(),wm=(e,t)=>(e=>N.from(e.getNode(!0)).map(dn.fromDom))(t).exists(oo)||Cm(!1,e,t).isSome(),km=P(Cm,!1),Sm=P(Cm,!0),Em=e=>gs.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd(),Bm=(e,t)=>{const n=K(fm(dn.fromDom(t.container()),e),no);return ce(n).getOr(e)},Om=(e,t)=>Em(t)?Xh(t):Xh(t)||$u(Bm(e,t).dom,t).exists(Xh),jm=(e,t)=>Em(t)?$h(t):$h(t)||Ku(Bm(e,t).dom,t).exists($h),Tm=e=>Su(e).bind((e=>Yr(e,Ft))).exists((e=>(e=>H(["pre","pre-wrap"],e))(Un(e,"white-space")))),Pm=(e,t)=>((e,t)=>$u(e.dom,t).isNone())(e,t)||((e,t)=>Ku(e.dom,t).isNone())(e,t)||vm(e,t)||bm(e,t)||wm(e,t)||_m(e,t),Mm=(e,t)=>n=>{return r=new Jr(n,e)[t](),C(r)&&Rr(r)&&iu(r);var r},Dm=(e,t)=>!Tm(t)&&(vm(e,t)||ym(e,t)||wm(e,t)||Om(e,t)||((e,t)=>{const n=$u(e.dom,t).getOr(t),r=Mm(e.dom,"prev");return t.isAtStart()&&(r(t.container())||r(n.container()))})(e,t)),Rm=(e,t)=>!Tm(t)&&(bm(e,t)||Am(e,t)||_m(e,t)||jm(e,t)||((e,t)=>{const n=Ku(e.dom,t).getOr(t),r=Mm(e.dom,"next");return t.isAtEnd()&&(r(t.container())||r(n.container()))})(e,t)),Lm=(e,t)=>Dm(e,t)||Rm(e,(e=>{const t=e.container(),n=e.offset();return Sr(t)&&n<t.data.length?gs(t,n+1):e})(t)),Im=(e,t)=>md(e.charAt(t)),Nm=(e,t)=>vd(e.charAt(t)),Fm=(e,t,n)=>{const r=t.data,o=gs(t,0);return n||!Im(r,0)||Lm(e,o)?!!(n&&Nm(r,0)&&Dm(e,o))&&(t.data=go+r.slice(1),!0):(t.data=" "+r.slice(1),!0)},zm=e=>{const t=e.data,n=(e=>{const t=e.split("");return V(t,((e,n)=>md(e)&&n>0&&n<t.length-1&&bd(t[n-1])&&bd(t[n+1])?" ":e)).join("")})(t);return n!==t&&(e.data=n,!0)},qm=(e,t,n)=>{const r=t.data,o=gs(t,r.length-1);return n||!Im(r,r.length-1)||Lm(e,o)?!!(n&&Nm(r,r.length-1)&&Rm(e,o))&&(t.data=r.slice(0,-1)+go,!0):(t.data=r.slice(0,-1)+" ",!0)},Um=(e,t)=>{const n=t.container();if(!Sr(n))return N.none();if((e=>{const t=e.container();return Sr(t)&&qe(t.data,go)})(t)){const r=Fm(e,n,!1)||zm(n)||qm(e,n,!1);return Rt(r,t)}if(Lm(e,t)){const r=Fm(e,n,!0)||qm(e,n,!0);return Rt(r,t)}return N.none()},Hm=(e,t,n)=>{if(0===n)return;const r=dn.fromDom(e),o=Vr(r,no).getOr(r),i=e.data.slice(t,t+n),a=t+n>=e.data.length&&Rm(o,gs(e,e.data.length)),s=0===t&&Dm(o,gs(e,0));e.replaceData(t,n,ni(i,4,s,a))},Wm=(e,t)=>{const n=e.data.slice(t),r=n.length-Ye(n).length;Hm(e,t,r)},Vm=(e,t)=>{const n=e.data.slice(0,t),r=n.length-Ze(n).length;Hm(e,t-r,r)},Ym=(e,t,n,r=!0)=>{const o=Ze(e.data).length,i=r?e:t,a=r?t:e;return r?i.appendData(a.data):i.insertData(0,a.data),Jn(dn.fromDom(a)),n&&Wm(i,o),i},Zm=(e,t)=>((e,t)=>{const n=e.container(),r=e.offset();return!gs.isTextPosition(e)&&n===t.parentNode&&r>gs.before(t).offset()})(t,e)?gs(t.container(),t.offset()-1):t,Gm=e=>{return $o(e.previousSibling)?N.some((t=e.previousSibling,Sr(t)?gs(t,t.data.length):gs.after(t))):e.previousSibling?Qu(e.previousSibling):N.none();var t},Km=e=>{return $o(e.nextSibling)?N.some((t=e.nextSibling,Sr(t)?gs(t,0):gs.before(t))):e.nextSibling?Xu(e.nextSibling):N.none();var t},$m=(e,t)=>Gm(t).orThunk((()=>Km(t))).orThunk((()=>((e,t)=>N.from(t.previousSibling?t.previousSibling:t.parentNode).bind((t=>$u(e,gs.before(t)))).orThunk((()=>Ku(e,gs.after(t)))))(e,t))),Xm=(e,t)=>Km(t).orThunk((()=>Gm(t))).orThunk((()=>((e,t)=>Ku(e,gs.after(t)).orThunk((()=>$u(e,gs.before(t)))))(e,t))),Qm=(e,t,n)=>((e,t,n)=>e?Xm(t,n):$m(t,n))(e,t,n).map(P(Zm,n)),Jm=(e,t,n)=>{n.fold((()=>{e.focus()}),(n=>{e.selection.setRng(n.toRange(),t)}))},eg=(e,t)=>t&&we(e.schema.getBlockElements(),Lt(t)),tg=e=>{if(ui(e)){const t=dn.fromHtml('<br data-mce-bogus="1">');return Qn(e),$n(e,t),N.some(gs.before(t.dom))}return N.none()},ng=(e,t,n)=>{const r=xn(e).filter(zt),o=Cn(e).filter(zt);return Jn(e),((e,t,n,r)=>e.isSome()&&t.isSome()&&n.isSome()?N.some(r(e.getOrDie(),t.getOrDie(),n.getOrDie())):N.none())(r,o,t,((e,t,r)=>{const o=e.dom,i=t.dom,a=o.data.length;return Ym(o,i,n),r.container()===i?gs(o,a):r})).orThunk((()=>(n&&(r.each((e=>Vm(e.dom,e.dom.length))),o.each((e=>Wm(e.dom,0)))),t)))},rg=(e,t,n,r=!0)=>{const o=Qm(t,e.getBody(),n.dom),i=Vr(n,P(eg,e),(a=e.getBody(),e=>e.dom===a));var a;const s=ng(n,o,((e,t)=>we(e.schema.getTextInlineElements(),Lt(t)))(e,n));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):i.bind(tg).fold((()=>{r&&Jm(e,t,s)}),(n=>{r&&Jm(e,t,N.some(n))}))},og=/[\u0591-\u07FF\uFB1D-\uFDFF\uFE70-\uFEFC]/,ig=(e,t)=>pn(dn.fromDom(t),Rl(e)),ag=e=>{var t;return"rtl"===la.DOM.getStyle(e,"direction",!0)||(e=>og.test(e))(null!==(t=e.textContent)&&void 0!==t?t:"")},sg=(e,t,n)=>{const r=((e,t,n)=>K(la.DOM.getParents(n.container(),"*",t),e))(e,t,n);return N.from(r[r.length-1])},lg=(e,t)=>{const n=t.container(),r=t.offset();return e?Mo(n)?Sr(n.nextSibling)?gs(n.nextSibling,0):gs.after(n):Lo(t)?gs(n,r+1):t:Mo(n)?Sr(n.previousSibling)?gs(n.previousSibling,n.previousSibling.data.length):gs.before(n):Io(t)?gs(n,r-1):t},cg=P(lg,!0),ug=P(lg,!1),dg=(e,t)=>{const n=e=>e.stopImmediatePropagation();e.on("beforeinput input",n,!0),e.getDoc().execCommand(t),e.off("beforeinput input",n)},fg=e=>dg(e,"Delete"),pg=e=>io(e)||so(e),hg=(e,t)=>gn(e,t)?Yr(t,pg,(e=>t=>Mt(An(t),e,mn))(e)):N.none(),mg=(e,t=!0)=>{e.dom.isEmpty(e.getBody())&&e.setContent("",{no_selection:!t})},gg=e=>{var t;return(8===It(t=e)||"#comment"===Lt(t)?xn(e):Bn(e)).bind(gg).orThunk((()=>N.some(e)))},vg=(e,t,n,r=!0)=>{var o;t.deleteContents();const i=gg(n).getOr(n),a=dn.fromDom(null!==(o=e.dom.getParent(i.dom,e.dom.isBlock))&&void 0!==o?o:n.dom);if(a.dom===e.getBody()?mg(e,r):ui(a)&&(ko(a),r&&e.selection.setCursorLocation(a.dom,0)),!mn(n,a)){const e=Mt(An(a),n)?[]:An(s=a).map(kn).map((e=>K(e,(e=>!mn(s,e))))).getOr([]);Y(e.concat(kn(n)),(e=>{mn(e,a)||gn(e,a)||!ui(e)||Jn(e)}))}var s},bg=e=>yo(e,"td,th"),yg=(e,t)=>({start:e,end:t}),Ag=Us([{singleCellTable:["rng","cell"]},{fullTable:["table"]},{partialTable:["cells","outsideDetails"]},{multiTable:["startTableCells","endTableCells","betweenRng"]}]),xg=(e,t)=>$r(dn.fromDom(e),"td,th",t),Cg=e=>!mn(e.start,e.end),_g=(e,t)=>jd(e.start,t).bind((n=>jd(e.end,t).bind((e=>Rt(mn(n,e),n))))),wg=e=>t=>_g(t,e).map((e=>((e,t,n)=>({rng:e,table:t,cells:n}))(t,e,bg(e)))),kg=(e,t,n,r)=>{if(n.collapsed||!e.forall(Cg))return N.none();if(t.isSameTable){const t=e.bind(wg(r));return N.some({start:t,end:t})}{const e=xg(n.startContainer,r),t=xg(n.endContainer,r),o=e.bind((e=>t=>jd(t,e).bind((e=>ue(bg(e)).map((e=>yg(t,e))))))(r)).bind(wg(r)),i=t.bind((e=>t=>jd(t,e).bind((e=>ce(bg(e)).map((e=>yg(e,t))))))(r)).bind(wg(r));return N.some({start:o,end:i})}},Sg=(e,t)=>ee(e,(e=>mn(e,t))),Eg=e=>Dt(Sg(e.cells,e.rng.start),Sg(e.cells,e.rng.end),((t,n)=>e.cells.slice(t,n+1))),Bg=(e,t,n)=>e.exists((e=>((e,t)=>!Cg(e)&&_g(e,t).exists((e=>{const t=e.dom.rows;return 1===t.length&&1===t[0].cells.length})))(e,n)&&Md(e.start,t))),Og=(e,t)=>{const{startTable:n,endTable:r}=t,o=e.cloneRange();return n.each((e=>o.setStartAfter(e.dom))),r.each((e=>o.setEndBefore(e.dom))),o},jg=(e,t)=>{const n=(e=>t=>mn(e,t))(e),r=((e,t)=>{const n=xg(e.startContainer,t),r=xg(e.endContainer,t);return Dt(n,r,yg)})(t,n),o=((e,t)=>{const n=e=>jd(dn.fromDom(e),t),r=n(e.startContainer),o=n(e.endContainer),i=r.isSome(),a=o.isSome(),s=Dt(r,o,mn).getOr(!1);return{startTable:r,endTable:o,isStartInTable:i,isEndInTable:a,isSameTable:s,isMultiTable:!s&&i&&a}})(t,n);return Bg(r,t,n)?r.map((e=>Ag.singleCellTable(t,e.start))):o.isMultiTable?((e,t,n,r)=>kg(e,t,n,r).bind((({start:e,end:r})=>{const o=e.bind(Eg).getOr([]),i=r.bind(Eg).getOr([]);if(o.length>0&&i.length>0){const e=Og(n,t);return N.some(Ag.multiTable(o,i,e))}return N.none()})))(r,o,t,n):((e,t,n,r)=>kg(e,t,n,r).bind((({start:e,end:t})=>e.or(t))).bind((e=>{const{isSameTable:r}=t,o=Eg(e).getOr([]);if(r&&e.cells.length===o.length)return N.some(Ag.fullTable(e.table));if(o.length>0){if(r)return N.some(Ag.partialTable(o,N.none()));{const e=Og(n,t);return N.some(Ag.partialTable(o,N.some({...t,rng:e})))}}return N.none()})))(r,o,t,n)},Tg=e=>Y(e,(e=>{$t(e,"contenteditable"),ko(e)})),Pg=(e,t,n,r)=>{const o=n.cloneRange();r?(o.setStart(n.startContainer,n.startOffset),o.setEndAfter(t.dom.lastChild)):(o.setStartBefore(t.dom.firstChild),o.setEnd(n.endContainer,n.endOffset)),Lg(e,o,t,!1).each((e=>e()))},Mg=e=>{const t=Od(e),n=dn.fromDom(e.selection.getNode());Lr(n.dom)&&ui(n)?e.selection.setCursorLocation(n.dom,0):e.selection.collapse(!0),t.length>1&&W(t,(e=>mn(e,n)))&&Vt(n,"data-mce-selected","1")},Dg=(e,t,n)=>N.some((()=>{const r=e.selection.getRng(),o=n.bind((({rng:n,isStartInTable:o})=>{const i=((e,t)=>N.from(e.dom.getParent(t,e.dom.isBlock)).map(dn.fromDom))(e,o?n.endContainer:n.startContainer);n.deleteContents(),((e,t,n)=>{n.each((n=>{t?Jn(n):(ko(n),e.selection.setCursorLocation(n.dom,0))}))})(e,o,i.filter(ui));const a=o?t[0]:t[t.length-1];return Pg(e,a,r,o),ui(a)?N.none():N.some(o?t.slice(1):t.slice(0,-1))})).getOr(t);Tg(o),Mg(e)})),Rg=(e,t,n,r)=>N.some((()=>{const o=e.selection.getRng(),i=t[0],a=n[n.length-1];Pg(e,i,o,!0),Pg(e,a,o,!1);const s=ui(i)?t:t.slice(1),l=ui(a)?n:n.slice(0,-1);Tg(s.concat(l)),r.deleteContents(),Mg(e)})),Lg=(e,t,n,r=!0)=>N.some((()=>{vg(e,t,n,r)})),Ig=(e,t)=>N.some((()=>rg(e,!1,t))),Ng=(e,t,n,r)=>zg(t,r).fold((()=>((e,t,n)=>jg(t,n).bind((t=>t.fold(P(Lg,e),P(Ig,e),P(Dg,e),P(Rg,e)))))(e,t,n)),(t=>((e,t)=>qg(e,t))(e,t))),Fg=(e,t)=>J(fm(t,e),co),zg=(e,t)=>J(fm(t,e),Ht("caption")),qg=(e,t)=>N.some((()=>{ko(t),e.selection.setCursorLocation(t.dom,0)})),Ug=(e,t,n,r,o)=>Yu(n,e.getBody(),o).fold((()=>N.some(S)),(i=>((e,t,n,r)=>Xu(e.dom).bind((o=>Qu(e.dom).map((e=>t?n.isEqual(o)&&r.isEqual(e):n.isEqual(e)&&r.isEqual(o))))).getOr(!0))(r,n,o,i)?((e,t)=>qg(e,t))(e,r):((e,t,n)=>zg(e,dn.fromDom(n.getNode())).fold((()=>N.some(S)),(e=>Rt(!mn(e,t),S))))(t,r,i))),Hg=(e,t,n,r)=>{const o=gs.fromRangeStart(e.selection.getRng());return Fg(n,r).bind((r=>ui(r)?qg(e,r):((e,t,n,r,o)=>Yu(n,e.getBody(),o).bind((e=>Fg(t,dn.fromDom(e.getNode())).bind((e=>mn(e,r)?N.none():N.some(S))))))(e,n,t,r,o)))},Wg=(e,t)=>e?am(t):sm(t),Vg=(e,t,n)=>{const r=dn.fromDom(e.getBody());return zg(r,n).fold((()=>Hg(e,t,r,n).orThunk((()=>Rt(((e,t)=>{const n=gs.fromRangeStart(e.selection.getRng());return Wg(t,n)||Vu(t,e.getBody(),n).exists((e=>Wg(t,e)))})(e,t),S)))),(n=>((e,t,n,r)=>{const o=gs.fromRangeStart(e.selection.getRng());return ui(r)?qg(e,r):Ug(e,n,t,r,o)})(e,t,r,n)))},Yg=(e,t)=>{const n=dn.fromDom(e.selection.getStart(!0)),r=Od(e);return e.selection.isCollapsed()&&0===r.length?Vg(e,t,n):((e,t,n)=>{const r=dn.fromDom(e.getBody()),o=e.selection.getRng();return 0!==n.length?Dg(e,n,N.none()):Ng(e,r,o,t)})(e,n,r)},Zg=(e,t)=>{let n=t;for(;n&&n!==e;){if(Dr(n)||Rr(n))return n;n=n.parentNode}return null},Gg=["data-ephox-","data-mce-","data-alloy-","data-snooker-","_"],Kg=Pt.each,$g=e=>{const t=e.dom,n=new Set(e.serializer.getTempAttrs()),r=e=>W(Gg,(t=>Ue(e,t)))||n.has(e);return{compare:(e,n)=>{if(e.nodeName!==n.nodeName||e.nodeType!==n.nodeType)return!1;const o=e=>{const n={};return Kg(t.getAttribs(e),(o=>{const i=o.nodeName.toLowerCase();"style"===i||r(i)||(n[i]=t.getAttrib(e,i))})),n},i=(e,t)=>{for(const n in e)if(we(e,n)){const r=t[n];if(A(r))return!1;if(e[n]!==r)return!1;delete t[n]}for(const e in t)if(we(t,e))return!1;return!0};if(vr(e)&&vr(n)){if(!i(o(e),o(n)))return!1;if(!i(t.parseStyle(t.getAttrib(e,"style")),t.parseStyle(t.getAttrib(n,"style"))))return!1}return!hd(e)&&!hd(n)},isAttributeInternal:r}},Xg=(e,t,n,r)=>{const o=n.name;for(let t=0,i=e.length;t<i;t++){const i=e[t];if(i.name===o){const e=r.nodes[o];e?e.nodes.push(n):r.nodes[o]={filter:i,nodes:[n]}}}if(n.attributes)for(let e=0,o=t.length;e<o;e++){const o=t[e],i=o.name;if(i in n.attributes.map){const e=r.attributes[i];e?e.nodes.push(n):r.attributes[i]={filter:o,nodes:[n]}}}},Qg=(e,t)=>{const n=(e,n)=>{me(e,(e=>{const r=de(e.nodes);Y(e.filter.callbacks,(o=>{for(let t=r.length-1;t>=0;t--){const o=r[t];(n?void 0!==o.attr(e.filter.name):o.name===e.filter.name)&&!x(o.parent)||r.splice(t,1)}r.length>0&&o(r,e.filter.name,t)}))}))};n(e.nodes,!1),n(e.attributes,!0)},Jg=(e,t,n,r={})=>{const o=((e,t,n)=>{const r={nodes:{},attributes:{}};return n.firstChild&&((e,t)=>{let n=e;for(;n=n.walk();)t(n)})(n,(n=>{Xg(e,t,n,r)})),r})(e,t,n);Qg(o,r)},ev=(e,t,n,r)=>{if(t.insert&&n[r.name]){const e=new Dh("br",1);e.attr("data-mce-bogus","1"),r.empty().append(e)}else r.empty().append(new Dh("#text",3)).value=go},tv=(e,t)=>{const n=null==e?void 0:e.firstChild;return C(n)&&n===e.lastChild&&n.name===t},nv=(e,t,n,r)=>r.isEmpty(t,n,(t=>((e,t)=>{const n=e.getElementRule(t.name);return!0===(null==n?void 0:n.paddEmpty)})(e,t))),rv=(e,t,n=e.parent)=>{if(t.getSpecialElements()[e.name])e.empty().remove();else{const r=e.children();for(const e of r)n&&!t.isValidChild(n.name,e.name)&&rv(e,t,n);e.unwrap()}},ov=(e,t,n=S)=>{const r=t.getTextBlockElements(),o=t.getNonEmptyElements(),i=t.getWhitespaceElements(),a=Pt.makeMap("tr,td,th,tbody,thead,tfoot,table"),s=new Set;for(let l=0;l<e.length;l++){const c=e[l];let u,d,f;if(!c.parent||s.has(c))continue;if(r[c.name]&&"li"===c.parent.name){let e=c.next;for(;e&&r[e.name];)e.name="li",s.add(e),c.parent.insert(e,c.parent),e=e.next;c.unwrap();continue}const p=[c];for(u=c.parent;u&&!t.isValidChild(u.name,c.name)&&!a[u.name];u=u.parent)p.push(u);if(u&&p.length>1)if(t.isValidChild(u.name,c.name)){p.reverse(),d=p[0].clone(),n(d);let e=d;for(let r=0;r<p.length-1;r++){t.isValidChild(e.name,p[r].name)?(f=p[r].clone(),n(f),e.append(f)):f=e;for(let e=p[r].firstChild;e&&e!==p[r+1];){const t=e.next;f.append(e),e=t}e=f}nv(t,o,i,d)?u.insert(c,p[0],!0):(u.insert(d,p[0],!0),u.insert(c,d)),u=p[0],(nv(t,o,i,u)||tv(u,"br"))&&u.empty().remove()}else rv(c,t);else if(c.parent){if("li"===c.name){let e=c.prev;if(e&&("ul"===e.name||"ol"===e.name)){e.append(c);continue}if(e=c.next,e&&("ul"===e.name||"ol"===e.name)&&e.firstChild){e.insert(c,e.firstChild,!0);continue}const t=new Dh("ul",1);n(t),c.wrap(t);continue}if(t.isValidChild(c.parent.name,"div")&&t.isValidChild("div",c.name)){const e=new Dh("div",1);n(e),c.wrap(e)}else rv(c,t)}}},iv=e=>{const t=gs.fromRangeStart(e),n=gs.fromRangeEnd(e),r=e.commonAncestorContainer;return Vu(!1,r,n).map((o=>!gu(t,n,r)&&gu(t,o,r)?((e,t,n,r)=>{const o=document.createRange();return o.setStart(e,t),o.setEnd(n,r),o})(t.container(),t.offset(),o.container(),o.offset()):e)).getOr(e)},av=e=>e.collapsed?e:iv(e),sv=(e,t)=>e.getBlockElements()[t.name]&&(e=>C(e.firstChild)&&e.firstChild===e.lastChild)(t)&&(e=>"br"===e.name||e.value===go)(t.firstChild),lv=(e,t)=>{let n=t.firstChild,r=t.lastChild;return n&&"meta"===n.name&&(n=n.next),r&&"mce_marker"===r.attr("id")&&(r=r.prev),((e,t)=>{const n=e.getNonEmptyElements();return C(t)&&(t.isEmpty(n)||sv(e,t))})(e,r)&&(r=null==r?void 0:r.prev),!(!n||n!==r)&&("ul"===n.name||"ol"===n.name)},cv=e=>C(null==e?void 0:e.firstChild)&&e.firstChild===e.lastChild&&(e=>e.data===go||Pr(e))(e.firstChild),uv=e=>{return e.length>0&&(!(t=e[e.length-1]).firstChild||cv(t))?e.slice(0,-1):e;var t},dv=(e,t)=>{const n=e.getParent(t,e.isBlock);return n&&"LI"===n.nodeName?n:null},fv=(e,t)=>{const n=gs.after(e),r=zu(t).prev(n);return r?r.toRange():null},pv=(e,t,n)=>{const r=e.parentNode;return r&&Pt.each(t,(t=>{r.insertBefore(t,e)})),((e,t)=>{const n=gs.before(e),r=zu(t).next(n);return r?r.toRange():null})(e,n)},hv=(e,t,n,r)=>{const o=((e,t,n)=>{const r=t.serialize(n);return(e=>{var t,n;const r=e.firstChild,o=e.lastChild;return r&&"META"===r.nodeName&&(null===(t=r.parentNode)||void 0===t||t.removeChild(r)),o&&"mce_marker"===o.id&&(null===(n=o.parentNode)||void 0===n||n.removeChild(o)),e})(e.createFragment(r))})(t,e,r),i=dv(t,n.startContainer),a=uv((s=o.firstChild,K(null!==(l=null==s?void 0:s.childNodes)&&void 0!==l?l:[],(e=>"LI"===e.nodeName))));var s,l;const c=t.getRoot(),u=e=>{const r=gs.fromRangeStart(n),o=zu(t.getRoot()),a=1===e?o.prev(r):o.next(r),s=null==a?void 0:a.getNode();return!s||dv(t,s)!==i};return i?u(1)?pv(i,a,c):u(2)?((e,t,n,r)=>(r.insertAfter(t.reverse(),e),fv(t[0],n)))(i,a,c,t):((e,t,n,r)=>{const o=((e,t)=>{const n=t.cloneRange(),r=t.cloneRange();return n.setStartBefore(e),r.setEndAfter(e),[n.cloneContents(),r.cloneContents()]})(e,r),i=e.parentNode;return i&&(i.insertBefore(o[0],e),Pt.each(t,(t=>{i.insertBefore(t,e)})),i.insertBefore(o[1],e),i.removeChild(e)),fv(t[t.length-1],n)})(i,a,c,n):null},mv=["pre"],gv=Lr,vv=(e,t)=>{var n,r,o;let i;const a=e.dom,s=e.selection;if(!t)return;s.scrollIntoView(t);const l=Zg(e.getBody(),t);if(l&&"false"===a.getContentEditable(l))return a.remove(t),void s.select(l);let c=a.createRng();const u=t.previousSibling;if(Sr(u)){c.setStart(u,null!==(r=null===(n=u.nodeValue)||void 0===n?void 0:n.length)&&void 0!==r?r:0);const e=t.nextSibling;Sr(e)&&(u.appendData(e.data),null===(o=e.parentNode)||void 0===o||o.removeChild(e))}else c.setStartBefore(t),c.setEndBefore(t);const d=a.getParent(t,a.isBlock);a.remove(t),d&&a.isEmpty(d)&&(Qn(dn.fromDom(d)),c.setStart(d,0),c.setEnd(d,0),gv(d)||(e=>!!e.getAttribute("data-mce-fragment"))(d)||!(i=(t=>{let n=gs.fromRangeStart(t);return n=zu(e.getBody()).next(n),null==n?void 0:n.toRange()})(c))?a.add(d,a.create("br",{"data-mce-bogus":"1"})):(c=i,a.remove(d))),s.setRng(c)},bv=e=>{const t=e.dom,n=av(e.selection.getRng());e.selection.setRng(n);const r=t.getParent(n.startContainer,gv);((e,t,n)=>{if(C(n))return n===e.getParent(t.endContainer,gv)&&Md(dn.fromDom(n),t);return!1})(t,n,r)?Lg(e,n,dn.fromDom(r)):e.getDoc().execCommand("Delete",!1)},yv=(e,t,n)=>{var r,o,i;const a=e.selection,s=e.dom,l=e.parser,c=n.merge,u=Hh({validate:!0},e.schema),d='<span id="mce_marker" data-mce-type="bookmark">&#xFEFF;</span>';-1===t.indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,d);let f=a.getRng();const p=f.startContainer,h=e.getBody();p===h&&a.isCollapsed()&&s.isBlock(h.firstChild)&&((e,t)=>C(t)&&!e.schema.getVoidElements()[t.nodeName])(e,h.firstChild)&&s.isEmpty(h.firstChild)&&(f=s.createRng(),f.setStart(h.firstChild,0),f.setEnd(h.firstChild,0),a.setRng(f)),a.isCollapsed()||bv(e);const m=a.getNode(),g={context:m.nodeName.toLowerCase(),data:n.data,insert:!0},v=l.parse(t,g);if(!0===n.paste&&lv(e.schema,v)&&((e,t)=>!!dv(e,t))(s,m))return f=hv(u,s,a.getRng(),v),f&&a.setRng(f),t;!0===n.paste&&((e,t,n,r)=>{var o;const i=t.firstChild,a=t.lastChild,s=i===("bookmark"===a.attr("data-mce-type")?a.prev:a),l=H(mv,i.name);if(s&&l){const t="false"!==i.attr("contenteditable"),a=(null===(o=e.getParent(n,e.isBlock))||void 0===o?void 0:o.nodeName.toLowerCase())===i.name,s=N.from(Zg(r,n)).forall(Dr);return t&&a&&s}return!1})(s,v,m,e.getBody())&&(null===(r=v.firstChild)||void 0===r||r.unwrap()),(e=>{let t=e;for(;t=t.walk();)1===t.type&&t.attr("data-mce-fragment","1")})(v);let b=v.lastChild;if(b&&"mce_marker"===b.attr("id")){const t=b;for(b=b.prev;b;b=b.walk(!0))if(3===b.type||!s.isBlock(b.name)){b.parent&&e.schema.isValidChild(b.parent.name,"span")&&b.parent.insert(t,b,"br"===b.name);break}}if(e._selectionOverrides.showBlockCaretContainer(m),g.invalid){e.selection.setContent(d);let n,r=a.getNode();const c=e.getBody();for(jr(r)?r=n=c:n=r;n&&n!==c;)r=n,n=n.parentNode;t=r===c?c.innerHTML:s.getOuterHTML(r);const f=l.parse(t);for(let e=f;e;e=e.walk())if("mce_marker"===e.attr("id")){e.replace(v);break}const p=v.children(),h=null!==(i=null===(o=v.parent)||void 0===o?void 0:o.name)&&void 0!==i?i:f.name;v.unwrap();const m=K(p,(t=>!e.schema.isValidChild(h,t.name)));ov(m,e.schema),Jg(l.getNodeFilters(),l.getAttributeFilters(),f),t=u.serialize(f),r===c?s.setHTML(c,t):s.setOuterHTML(r,t)}else t=u.serialize(v),((e,t,n)=>{var r;if("all"===n.getAttribute("data-mce-bogus"))null===(r=n.parentNode)||void 0===r||r.insertBefore(e.dom.createFragment(t),n);else{const r=n.firstChild,o=n.lastChild;!r||r===o&&"BR"===r.nodeName?e.dom.setHTML(n,t):e.selection.setContent(t,{no_events:!0})}})(e,t,m);var y;return((e,t)=>{const n=e.schema.getTextInlineElements(),r=e.dom;if(t){const t=e.getBody(),o=$g(e);Pt.each(r.select("*[data-mce-fragment]"),(e=>{if(C(n[e.nodeName.toLowerCase()])&&Zh(r,e))for(let n=e.parentElement;C(n)&&n!==t&&!Gh(r,e,n);n=n.parentElement)if(o.compare(n,e)){r.remove(e,!0);break}}))}})(e,c),vv(e,s.get("mce_marker")),y=e.getBody(),Pt.each(y.getElementsByTagName("*"),(e=>{e.removeAttribute("data-mce-fragment")})),((e,t)=>{N.from(e.getParent(t,"td,th")).map(dn.fromDom).each(So)})(s,a.getStart()),t},Av=e=>e instanceof Dh,xv=(e,t,n)=>{e.dom.setHTML(e.getBody(),t),!0!==n&&(e=>{hh(e)&&Xu(e.getBody()).each((t=>{const n=t.getNode(),r=_r(n)?Xu(n).getOr(t):t;e.selection.setRng(r.toRange())}))})(e)},Cv=(e,t,n)=>N.from(e.getBody()).map((r=>Av(t)?((e,t,n,r)=>{Jg(e.parser.getNodeFilters(),e.parser.getAttributeFilters(),n);const o=Hh({validate:!1},e.schema).serialize(n),i=uo(dn.fromDom(t))?o:Pt.trim(o);return xv(e,i,r.no_selection),{content:n,html:i}})(e,r,t,n):((e,t,n,r)=>{if(0===n.length||/^\s+$/.test(n)){const o='<br data-mce-bogus="1">';"TABLE"===t.nodeName?n="<tr><td>"+o+"</td></tr>":/^(UL|OL)$/.test(t.nodeName)&&(n="<li>"+o+"</li>");const i=cl(e);return e.schema.isValidChild(t.nodeName.toLowerCase(),i.toLowerCase())?(n=o,n=e.dom.createHTML(i,ul(e),n)):n||(n=o),xv(e,n,r.no_selection),{content:n,html:n}}{"raw"!==r.format&&(n=Hh({validate:!1},e.schema).serialize(e.parser.parse(n,{isRootContent:!0,insert:!0})));const o=uo(dn.fromDom(t))?n:Pt.trim(n);return xv(e,o,r.no_selection),{content:o,html:o}}})(e,r,t,n))).getOr({content:t,html:Av(n.content)?"":n.content}),_v=(e,t)=>((e,t)=>{const n=e.dom;return n.parentNode?Zr(dn.fromDom(n.parentNode),(n=>!mn(e,n)&&t(n))):N.none()})(e,t).isSome(),wv=e=>_(e)?e:L,kv=(e,t,n)=>{const r=t(e),o=wv(n);return r.orThunk((()=>o(e)?N.none():((e,t,n)=>{let r=e.dom;const o=wv(n);for(;r.parentNode;){r=r.parentNode;const e=dn.fromDom(r),n=t(e);if(n.isSome())return n;if(o(e))break}return N.none()})(e,t,o)))},Sv=Kd,Ev=(e,t,n)=>{const r=e.formatter.get(n);if(r)for(let n=0;n<r.length;n++){const o=r[n];if(rf(o)&&!1===o.inherit&&e.dom.is(t,o.selector))return!0}return!1},Bv=(e,t,n,r,o)=>{const i=e.dom.getRoot();if(t===i)return!1;const a=e.dom.getParent(t,(t=>!!Ev(e,t,n)||(t.parentNode===i||!!Tv(e,t,n,r,!0))));return!!Tv(e,a,n,r,o)},Ov=(e,t,n)=>!(!of(n)||!Sv(t,n.inline))||(!(!nf(n)||!Sv(t,n.block))||!!rf(n)&&(vr(t)&&e.is(t,n.selector))),jv=(e,t,n,r,o,i)=>{const a=n[r],s="attributes"===r;if(_(n.onmatch))return n.onmatch(t,n,r);if(a)if(Ee(a)){for(let n=0;n<a.length;n++)if(s?e.getAttrib(t,a[n]):Xd(e,t,a[n]))return!0}else for(const r in a)if(we(a,r)){const l=s?e.getAttrib(t,r):Xd(e,t,r),c=Gd(a[r],i),u=x(l)||Ke(l);if(u&&x(c))continue;if(o&&u&&!n.exact)return!1;if((!o||n.exact)&&!Sv(l,$d(c,r)))return!1}return!0},Tv=(e,t,n,r,o)=>{const i=e.formatter.get(n),a=e.dom;if(i&&vr(t))for(let n=0;n<i.length;n++){const s=i[n];if(Ov(e.dom,t,s)&&jv(a,t,s,"attributes",o,r)&&jv(a,t,s,"styles",o,r)){const n=s.classes;if(n)for(let o=0;o<n.length;o++)if(!e.dom.hasClass(t,Gd(n[o],r)))return;return s}}},Pv=(e,t,n,r,o)=>{if(r)return Bv(e,r,t,n,o);if(r=e.selection.getNode(),Bv(e,r,t,n,o))return!0;const i=e.selection.getStart();return!(i===r||!Bv(e,i,t,n,o))},Mv=(e,t)=>{const n=t=>mn(t,dn.fromDom(e.getBody()));return N.from(e.selection.getStart(!0)).bind((r=>kv(dn.fromDom(r),(n=>fe(t,(t=>((t,n)=>Tv(e,t.dom,n)?N.some(n):N.none())(n,t)))),n))).getOrNull()},Dv=(e,t,n)=>X(n,((n,r)=>{const o=((e,t)=>ef(e,t,(e=>{const t=e=>_(e)||e.length>1&&"%"===e.charAt(0);return W(["styles","attributes"],(n=>_e(e,n).exists((e=>{const n=v(e)?e:Ce(e);return W(n,t)}))))})))(e,r);return e.formatter.matchNode(t,r,{},o)?n.concat([r]):n}),[]),Rv=Eo,Lv=e=>(e=>{const t=[];let n=e;for(;n;){if(Sr(n)&&n.data!==Rv||n.childNodes.length>1)return[];vr(n)&&t.push(n),n=n.firstChild}return t})(e).length>0,Iv=e=>{if(e){const t=new Jr(e,e);for(let e=t.current();e;e=t.next())if(Sr(e))return e}return null},Nv=e=>{const t=dn.fromTag("span");return Yt(t,{id:Ju,"data-mce-bogus":"1","data-mce-type":"format-caret"}),e&&$n(t,dn.fromText(Rv)),t},Fv=(e,t,n=!0)=>{const r=e.dom,o=e.selection;if(Lv(t))rg(e,!1,dn.fromDom(t),n);else{const e=o.getRng(),n=r.getParent(t,r.isBlock),i=e.startContainer,a=e.startOffset,s=e.endContainer,l=e.endOffset,c=(e=>{const t=Iv(e);return t&&t.data.charAt(0)===Rv&&t.deleteData(0,1),t})(t);r.remove(t,!0),i===c&&a>0&&e.setStart(c,a-1),s===c&&l>0&&e.setEnd(c,l-1),n&&r.isEmpty(n)&&ko(dn.fromDom(n)),o.setRng(e)}},zv=(e,t,n=!0)=>{const r=e.dom,o=e.selection;if(t)Fv(e,t,n);else if(!(t=td(e.getBody(),o.getStart())))for(;t=r.get(Ju);)Fv(e,t,!1)},qv=(e,t)=>(e.appendChild(t),t),Uv=(e,t)=>{var n;const r=$(e,((e,t)=>qv(e,t.cloneNode(!1))),t),o=null!==(n=r.ownerDocument)&&void 0!==n?n:document;return qv(r,o.createTextNode(Rv))},Hv=(e,t,n,r)=>{const o=e.dom,i=e.selection;let a=!1;const s=e.formatter.get(t);if(!s)return;const l=i.getRng(),c=l.startContainer,u=l.startOffset;let d=c;Sr(c)&&(u!==c.data.length&&(a=!0),d=d.parentNode);const f=[];let p;for(;d;){if(Tv(e,d,t,n,r)){p=d;break}d.nextSibling&&(a=!0),f.push(d),d=d.parentNode}if(p)if(a){const o=i.getBookmark();l.collapse(!0);let a=xf(e,l,s,!0);a=Ap(a),e.formatter.remove(t,n,a,r),i.moveToBookmark(o)}else{const a=td(e.getBody(),p),s=Nv(!1).dom;((e,t,n)=>{var r,o;const i=e.dom,a=i.getParent(n,P(Wd,e));a&&i.isEmpty(a)?null===(r=n.parentNode)||void 0===r||r.replaceChild(t,n):(_o(dn.fromDom(n)),i.isEmpty(n)?null===(o=n.parentNode)||void 0===o||o.replaceChild(t,n):i.insertAfter(t,n))})(e,s,null!=a?a:p);const l=((e,t,n,r,o,i)=>{const a=e.formatter,s=e.dom,l=K(pe(a.get()),(e=>e!==r&&!qe(e,"removeformat"))),c=Dv(e,n,l);if(K(c,(t=>!tf(e,t,r))).length>0){const e=n.cloneNode(!1);return s.add(t,e),a.remove(r,o,e,i),s.remove(e),N.some(e)}return N.none()})(e,s,p,t,n,r),c=Uv(f.concat(l.toArray()),s);a&&Fv(e,a,!1),i.setCursorLocation(c,1),o.isEmpty(p)&&o.remove(p)}},Wv=e=>{e.on("mouseup keydown",(t=>{((e,t)=>{const n=e.selection,r=e.getBody();zv(e,null,!1),8!==t&&46!==t||!n.isCollapsed()||n.getStart().innerHTML!==Rv||zv(e,td(r,n.getStart())),37!==t&&39!==t||zv(e,td(r,n.getStart()))})(e,t.keyCode)}))},Vv=(e,t)=>{const n=e.schema.getTextInlineElements();return we(n,Lt(t))&&!ed(t.dom)&&!Cr(t.dom)},Yv={},Zv=yr(["pre"]);((e,t)=>{Yv[e]||(Yv[e]=[]),Yv[e].push(t)})("pre",(e=>{const t=e.selection.getRng();if(!t.collapsed){const t=e.selection.getSelectedBlocks(),n=K(K(t,Zv),(e=>t=>{const n=t.previousSibling;return Zv(n)&&H(e,n)})(t));Y(n,(e=>{((e,t)=>{const n=dn.fromDom(t),r=bn(n).dom;Jn(n),Xn(dn.fromDom(e),[dn.fromTag("br",r),dn.fromTag("br",r),...kn(n)])})(e.previousSibling,e)}))}}));const Gv=["fontWeight","fontStyle","color","fontSize","fontFamily"],Kv=e=>J(e,(e=>of(e)&&"span"===e.inline&&(e=>m(e.styles)&&W(pe(e.styles),(e=>H(Gv,e))))(e))),$v=(e,t)=>{const n=e.get(t);return v(n)?Kv(n):N.none()},Xv=(e,t)=>$u(t,gs.fromRangeStart(e)).isNone(),Qv=(e,t)=>!1===Ku(t,gs.fromRangeEnd(e)).exists((e=>!Pr(e.getNode())||Ku(t,e).isSome())),Jv=e=>t=>Fr(t)&&"false"!==e.getContentEditableParent(t),eb=e=>K((e=>{const t=e.getSelectedBlocks(),n=e.getRng();if(e.isCollapsed())return[];if(1===t.length)return Xv(n,t[0])&&Qv(n,t[0])?t:[];{const e=ce(t).filter((e=>Xv(n,e))).toArray(),r=ue(t).filter((e=>Qv(n,e))).toArray(),o=t.slice(1,-1);return e.concat(o).concat(r)}})(e),Jv(e.dom)),tb=e=>K(e.getSelectedBlocks(),Jv(e.dom)),nb=Pt.each,rb=e=>vr(e)&&!hd(e)&&!ed(e)&&!Cr(e),ob=(e,t)=>{for(let n=e;n;n=n[t]){if(Sr(n)&&Ge(n.data))return e;if(vr(n)&&!hd(n))return n}return e},ib=(e,t,n)=>{const r=$g(e),o=vr(t)&&zd(t),i=vr(n)&&zd(n);if(o&&i){const o=ob(t,"previousSibling"),i=ob(n,"nextSibling");if(r.compare(o,i)){for(let e=o.nextSibling;e&&e!==i;){const t=e;e=e.nextSibling,o.appendChild(t)}return e.dom.remove(i),Pt.each(Pt.grep(i.childNodes),(e=>{o.appendChild(e)})),o}}return n},ab=(e,t,n,r)=>{var o;if(r&&!1!==t.merge_siblings){const t=null!==(o=ib(e,Hd(r),r))&&void 0!==o?o:r;ib(e,t,Hd(t,!0))}},sb=(e,t,n)=>{nb(e.childNodes,(e=>{rb(e)&&(t(e)&&n(e),e.hasChildNodes()&&sb(e,t,n))}))},lb=(e,t)=>n=>!(!n||!Xd(e,n,t)),cb=(e,t,n)=>r=>{e.setStyle(r,t,n),""===r.getAttribute("style")&&r.removeAttribute("style"),((e,t)=>{"SPAN"===t.nodeName&&0===e.getAttribs(t).length&&e.remove(t,!0)})(e,r)},ub=Us([{keep:[]},{rename:["name"]},{removed:[]}]),db=/^(src|href|style)$/,fb=Pt.each,pb=Kd,hb=(e,t,n)=>e.isChildOf(t,n)&&t!==n&&!e.isBlock(n),mb=(e,t,n)=>{let r=t[n?"startContainer":"endContainer"],o=t[n?"startOffset":"endOffset"];if(vr(r)){const e=r.childNodes.length-1;!n&&o&&o--,r=r.childNodes[o>e?e:o]}return Sr(r)&&n&&o>=r.data.length&&(r=new Jr(r,e.getBody()).next()||r),Sr(r)&&!n&&0===o&&(r=new Jr(r,e.getBody()).prev()||r),r},gb=(e,t)=>{const n=t?"firstChild":"lastChild",r=e[n];return(e=>/^(TR|TH|TD)$/.test(e.nodeName))(e)&&r?"TR"===e.nodeName&&r[n]||r:e},vb=(e,t,n,r)=>{var o;const i=e.create(n,r);return null===(o=t.parentNode)||void 0===o||o.insertBefore(i,t),i.appendChild(t),i},bb=(e,t,n,r,o)=>{const i=dn.fromDom(t),a=dn.fromDom(e.create(r,o)),s=n?wn(i):_n(i);return Xn(a,s),n?(Zn(i,a),Kn(a,i)):(Gn(i,a),$n(a,i)),a.dom},yb=(e,t,n)=>{const r=t.parentNode;let o;const i=e.dom,a=cl(e);nf(n)&&r===i.getRoot()&&(n.list_block&&pb(t,n.list_block)||Y(de(t.childNodes),(t=>{Vd(e,a,t.nodeName.toLowerCase())?o?o.appendChild(t):(o=vb(i,t,a),i.setAttribs(o,ul(e))):o=null}))),(e=>rf(e)&&of(e)&&Mt(_e(e,"mixed"),!0))(n)&&!pb(n.inline,t)||i.remove(t,!0)},Ab=(e,t,n)=>w(e)?{name:t,value:null}:{name:e,value:Gd(t,n)},xb=(e,t)=>{""===e.getAttrib(t,"style")&&(t.removeAttribute("style"),t.removeAttribute("data-mce-style"))},Cb=(e,t,n,r,o)=>{let i=!1;fb(n.styles,((a,s)=>{const{name:l,value:c}=Ab(s,a,r),u=$d(c,l);(n.remove_similar||b(c)||!vr(o)||pb(Xd(e,o,l),u))&&e.setStyle(t,l,""),i=!0})),i&&xb(e,t)},_b=(e,t,n,r,o)=>{const i=e.dom,a=$g(e);if(!t.ceFalseOverride&&r&&"false"===i.getContentEditableParent(r))return ub.keep();if(r&&!Ov(i,r,t)&&!((e,t)=>t.links&&"A"===e.nodeName)(r,t))return ub.keep();const s=r,l=t.preserve_attributes;if(of(t)&&"all"===t.remove&&v(l)){const e=K(i.getAttribs(s),(e=>H(l,e.name.toLowerCase())));if(i.removeAllAttribs(s),Y(e,(e=>i.setAttrib(s,e.name,e.value))),e.length>0)return ub.rename("span")}if("all"!==t.remove){Cb(i,s,t,n,o),fb(t.attributes,((e,r)=>{const{name:a,value:l}=Ab(r,e,n);if(t.remove_similar||b(l)||!vr(o)||pb(i.getAttrib(o,a),l)){if("class"===a){const e=i.getAttrib(s,a);if(e){let t="";if(Y(e.split(/\s+/),(e=>{/mce\-\w+/.test(e)&&(t+=(t?" ":"")+e)})),t)return void i.setAttrib(s,a,t)}}if(db.test(a)&&s.removeAttribute("data-mce-"+a),"style"===a&&yr(["li"])(s)&&"none"===i.getStyle(s,"list-style-type"))return s.removeAttribute(a),void i.setStyle(s,"list-style-type","none");"class"===a&&s.removeAttribute("className"),s.removeAttribute(a)}})),fb(t.classes,(e=>{e=Gd(e,n),vr(o)&&!i.hasClass(o,e)||i.removeClass(s,e)}));const e=i.getAttribs(s);for(let t=0;t<e.length;t++){const n=e[t].nodeName;if(!a.isAttributeInternal(n))return ub.keep()}}return"none"!==t.remove?(yb(e,s,t),ub.removed()):ub.keep()},wb=(e,t,n,r,o)=>_b(e,t,n,r,o).fold(L,(t=>(e.dom.rename(r,t),!0)),I),kb=(e,t,n,r)=>_b(e,t,n,r,r).fold(O(r),(t=>(e.dom.createFragment().appendChild(r),e.dom.rename(r,t))),O(null)),Sb=(e,t,n,r,o)=>{const i=e.formatter.get(t),a=i[0],s=e.dom,l=e.selection,c=r=>{const s=((e,t,n,r,o)=>{let i;return t.parentNode&&Y(Jd(e.dom,t.parentNode).reverse(),(t=>{if(!i&&vr(t)&&"_start"!==t.id&&"_end"!==t.id){const a=Tv(e,t,n,r,o);a&&!1!==a.split&&(i=t)}})),i})(e,r,t,n,o);return((e,t,n,r,o,i,a,s)=>{var l,c;let u,d;const f=e.dom;if(n){const p=n.parentNode;for(let n=r.parentNode;n&&n!==p;n=n.parentNode){let r=f.clone(n,!1);for(let n=0;n<t.length&&(r=kb(e,t[n],s,r),null!==r);n++);r&&(u&&r.appendChild(u),d||(d=r),u=r)}!i||a.mixed&&f.isBlock(n)||(r=null!==(l=f.split(n,r))&&void 0!==l?l:r),u&&d&&(null===(c=o.parentNode)||void 0===c||c.insertBefore(u,o),d.appendChild(o),of(a)&&ab(e,a,0,u))}return r})(e,i,s,r,r,!0,a,n)},u=t=>W(i,(r=>wb(e,r,n,t,t))),d=t=>{const n=de(t.childNodes),r=u(t)||W(i,(e=>Ov(s,t,e))),o=t.parentNode;if(!r&&C(o)&&af(a)&&u(o),a.deep&&n.length)for(let e=0;e<n.length;e++)d(n[e]);Y(["underline","line-through","overline"],(n=>{vr(t)&&e.dom.getStyle(t,"text-decoration")===n&&t.parentNode&&Qd(s,t.parentNode)===n&&wb(e,{deep:!1,exact:!0,inline:"span",styles:{textDecoration:n}},void 0,t)}))},f=e=>{const t=s.get(e?"_start":"_end");if(t){let n=t[e?"firstChild":"lastChild"];return(e=>hd(e)&&vr(e)&&("_start"===e.id||"_end"===e.id))(n)&&(n=n[e?"firstChild":"lastChild"]),Sr(n)&&0===n.data.length&&(n=e?t.previousSibling||t.nextSibling:t.nextSibling||t.previousSibling),s.remove(t,!0),n}return null},p=t=>{let n,r,o=xf(e,t,i,t.collapsed);if(a.split){if(o=Ap(o),n=mb(e,o,!0),r=mb(e,o),n!==r){if(n=gb(n,!0),r=gb(r,!1),hb(s,n,r)){const e=N.from(n.firstChild).getOr(n);return c(bb(s,e,!0,"span",{id:"_start","data-mce-type":"bookmark"})),void f(!0)}if(hb(s,r,n)){const e=N.from(r.lastChild).getOr(r);return c(bb(s,e,!1,"span",{id:"_end","data-mce-type":"bookmark"})),void f(!1)}n=vb(s,n,"span",{id:"_start","data-mce-type":"bookmark"}),r=vb(s,r,"span",{id:"_end","data-mce-type":"bookmark"});const e=s.createRng();e.setStartAfter(n),e.setEndBefore(r),Cf(s,e,(e=>{Y(e,(e=>{hd(e)||hd(e.parentNode)||c(e)}))})),c(n),c(r),n=f(!0),r=f()}else n=r=c(n);o.startContainer=n.parentNode?n.parentNode:n,o.startOffset=s.nodeIndex(n),o.endContainer=r.parentNode?r.parentNode:r,o.endOffset=s.nodeIndex(r)+1}Cf(s,o,(e=>{Y(e,d)}))};if(r){if(Nd(r)){const e=s.createRng();e.setStartBefore(r),e.setEndAfter(r),p(e)}else p(r);Rf(e,t,r,n)}else l.isCollapsed()&&of(a)&&!Od(e).length?Hv(e,t,n,o):(qd(e,(()=>Ld(e,p)),(r=>of(a)&&Pv(e,t,n,r))),e.nodeChanged()),((e,t,n)=>{"removeformat"===t?Y(tb(e.selection),(t=>{Y(Gv,(n=>e.dom.setStyle(t,n,""))),xb(e.dom,t)})):$v(e.formatter,t).each((t=>{Y(tb(e.selection),(r=>Cb(e.dom,r,t,n,null)))}))})(e,t,n),Rf(e,t,r,n)},Eb=Pt.each,Bb=(e,t,n,r)=>{Eb(t,(t=>{of(t)&&Eb(e.dom.select(t.inline,r),(r=>{rb(r)&&wb(e,t,n,r,t.exact?r:null)})),((e,t,n)=>{if(t.clear_child_styles){const r=t.links?"*:not(a)":"*";nb(e.select(r,n),(n=>{rb(n)&&zd(n)&&nb(t.styles,((t,r)=>{e.setStyle(n,r,"")}))}))}})(e.dom,t,r)}))},Ob=Pt.each,jb=(e,t,n,r)=>{if(Ob(n.styles,((n,o)=>{e.setStyle(t,o,Gd(n,r))})),n.styles){const n=e.getAttrib(t,"style");n&&e.setAttrib(t,"data-mce-style",n)}},Tb=(e,t,n,r)=>{const o=e.formatter.get(t),i=o[0],a=!r&&e.selection.isCollapsed(),s=e.dom,l=e.selection,c=(e,t=i)=>{_(t.onformat)&&t.onformat(e,t,n,r),jb(s,e,t,n),Ob(t.attributes,((t,r)=>{s.setAttrib(e,r,Gd(t,n))})),Ob(t.classes,(t=>{const r=Gd(t,n);s.hasClass(e,r)||s.addClass(e,r)}))},u=(e,t)=>{let n=!1;return Ob(e,(e=>!!rf(e)&&("false"===s.getContentEditable(t)&&!e.ceFalseOverride||(!(!C(e.collapsed)||e.collapsed===a)||(!(s.is(t,e.selector)&&!ed(t))||(c(t,e),n=!0,!1)))))),n},d=e=>{if(h(e)){const t=s.create(e);return c(t),t}return null},f=(r,a,s)=>{const l=[];let f=!0;const p=i.inline||i.block,h=d(p),m=r=>(e=>nf(e)&&!0===e.wrapper)(i)&&Tv(e,r,t,n),g=(t,n,r)=>{const o=(e=>nf(e)&&!0!==e.wrapper)(i)&&Wd(e,t)&&Vd(e,n,p);return r&&o};Cf(r,a,(t=>{let n;const a=t=>{let d=!1,v=f,b=!1;const y=t.nodeName.toLowerCase(),A=t.parentNode,x=A.nodeName.toLowerCase(),_=r.getContentEditable(t);C(_)&&(v=f,f="true"===_,d=!0,b=Zd(e,t));const w=f&&!d;if(Pr(t)&&!((e,t,n,r)=>{if(Gl(e)&&of(t)&&n.parentNode){const t=Fi(e.schema),o=_v(dn.fromDom(n),(e=>ed(e.dom)));return ke(t,r)&&ui(dn.fromDom(n.parentNode),!1)&&!o}return!1})(e,i,t,x))return n=null,void(nf(i)&&r.remove(t));if(m(t))n=null;else{if(g(y,x,w)){const e=r.rename(t,p);return c(e),l.push(e),void(n=null)}if(rf(i)){let e=u(o,t);if(!e&&C(A)&&af(i)&&(e=u(o,A)),!of(i)||e)return void(n=null)}C(h)&&((t,n,o,a)=>{const l=t.nodeName.toLowerCase(),c=Vd(e,p,l)&&Vd(e,n,p),u=!s&&Sr(t)&&Bo(t.data),d=ed(t),f=!of(i)||!r.isBlock(t);return(o||a)&&c&&!u&&!d&&f})(t,x,w,b)?(n||(n=r.clone(h,!1),A.insertBefore(n,t),l.push(n)),b&&d&&(f=v),n.appendChild(t)):(n=null,Y(de(t.childNodes),a),d&&(f=v),n=null)}};Y(t,a)})),!0===i.links&&Y(l,(e=>{const t=e=>{"A"===e.nodeName&&c(e,i),Y(de(e.childNodes),t)};t(e)})),Y(l,(a=>{const s=(e=>{let t=0;return Y(e.childNodes,(e=>{(e=>C(e)&&Sr(e)&&0===e.length)(e)||hd(e)||t++})),t})(a);!(l.length>1)&&r.isBlock(a)||0!==s?(of(i)||nf(i)&&i.wrapper)&&(i.exact||1!==s||(a=(e=>{const t=J(e.childNodes,Fd).filter((e=>"false"!==r.getContentEditable(e)&&Ov(r,e,i)));return t.map((t=>{const n=r.clone(t,!1);return c(n),r.replace(n,e,!0),r.remove(t,!0),n})).getOr(e)})(a)),Bb(e,o,n,a),((e,t,n,r,o)=>{const i=o.parentNode;Tv(e,i,n,r)&&wb(e,t,r,o)||t.merge_with_parents&&i&&e.dom.getParent(i,(i=>!!Tv(e,i,n,r)&&(wb(e,t,r,o),!0)))})(e,i,t,n,a),((e,t,n,r)=>{if(t.styles&&t.styles.backgroundColor){const o=lb(e,"fontSize");sb(r,(e=>o(e)&&zd(e)),cb(e,"backgroundColor",Gd(t.styles.backgroundColor,n)))}})(r,i,n,a),((e,t,n,r)=>{const o=t=>{if(vr(t)&&vr(t.parentNode)&&zd(t)){const n=Qd(e,t.parentNode);e.getStyle(t,"color")&&n?e.setStyle(t,"text-decoration",n):e.getStyle(t,"text-decoration")===n&&e.setStyle(t,"text-decoration",null)}};t.styles&&(t.styles.color||t.styles.textDecoration)&&(Pt.walk(r,o,"childNodes"),o(r))})(r,i,0,a),((e,t,n,r)=>{if(of(t)&&("sub"===t.inline||"sup"===t.inline)){const n=lb(e,"fontSize");sb(r,(e=>n(e)&&zd(e)),cb(e,"fontSize",""));const o=K(e.select("sup"===t.inline?"sub":"sup",r),zd);e.remove(o,!0)}})(r,i,0,a),ab(e,i,0,a)):r.remove(a,!0)}))},p=Nd(r)?r:l.getNode();if("false"===s.getContentEditable(p)&&!Zd(e,p))return u(o,r=p),void Df(e,t,r,n);if(i){if(r)if(Nd(r)){if(!u(o,r)){const t=s.createRng();t.setStartBefore(r),t.setEndAfter(r),f(s,xf(e,t,o),!0)}}else f(s,r,!0);else a&&of(i)&&!Od(e).length?((e,t,n)=>{let r;const o=e.selection,i=e.formatter.get(t);if(!i)return;const a=o.getRng();let s=a.startOffset;const l=a.startContainer.nodeValue;r=td(e.getBody(),o.getStart());const c=/[^\s\u00a0\u00ad\u200b\ufeff]/;if(l&&s>0&&s<l.length&&c.test(l.charAt(s))&&c.test(l.charAt(s-1))){const r=o.getBookmark();a.collapse(!0);let s=xf(e,a,i);s=Ap(s),e.formatter.apply(t,n,s),o.moveToBookmark(r)}else{let i=r?Iv(r):null;r&&(null==i?void 0:i.data)===Rv||(u=e.getDoc(),d=Nv(!0).dom,r=u.importNode(d,!0),i=r.firstChild,a.insertNode(r),s=1),e.formatter.apply(t,n,r),o.setCursorLocation(i,s)}var u,d})(e,t,n):(l.setRng(av(l.getRng())),qd(e,(()=>{Ld(e,((t,n)=>{const r=n?t:xf(e,t,o);f(s,r,!1)}))}),I),e.nodeChanged()),$v(e.formatter,t).each((t=>{Y(eb(e.selection),(e=>jb(s,e,t,n)))}));((e,t)=>{we(Yv,e)&&Y(Yv[e],(e=>{e(t)}))})(t,e)}Df(e,t,r,n)},Pb=e=>we(e,"vars"),Mb=e=>e.selection.getStart(),Db=(e,t,n,r,o)=>Q(t,(t=>{const i=e.formatter.matchNode(t,n,null!=o?o:{},r);return!A(i)}),(t=>!!Ev(e,t,n)||!r&&C(e.formatter.matchNode(t,n,o,!0)))),Rb=(e,t)=>{const n=null!=t?t:Mb(e);return K(Jd(e.dom,n),(e=>vr(e)&&!Cr(e)))},Lb=(e,t,n)=>{const r=Rb(e,t);me(n,((n,o)=>{const i=n=>{const i=Db(e,r,o,n.similar,Pb(n)?n.vars:void 0),a=i.isSome();if(n.state.get()!==a){n.state.set(a);const e=i.getOr(t);Pb(n)?n.callback(a,{node:e,format:o,parents:r}):Y(n.callbacks,(t=>t(a,{node:e,format:o,parents:r})))}};Y([n.withSimilar,n.withoutSimilar],i),Y(n.withVars,i)}))},Ib=(e,t,n,r,o,i)=>(((e,t,n,r,o,i)=>{const a=t.get();Y(n.split(","),(t=>{const n=_e(a,t).getOrThunk((()=>{const e={withSimilar:{state:da(!1),similar:!0,callbacks:[]},withoutSimilar:{state:da(!1),similar:!1,callbacks:[]},withVars:[]};return a[t]=e,e})),s=()=>{const n=Rb(e);return Db(e,n,t,o,i).isSome()};if(A(i)){const e=o?n.withSimilar:n.withoutSimilar;e.callbacks.push(r),1===e.callbacks.length&&e.state.set(s())}else n.withVars.push({state:da(s()),similar:o,vars:i,callback:r})})),t.set(a)})(e,t,n,r,o,i),{unbind:()=>((e,t,n)=>{const r=e.get();Y(t.split(","),(e=>_e(r,e).each((t=>{r[e]={withSimilar:{...t.withSimilar,callbacks:K(t.withSimilar.callbacks,(e=>e!==n))},withoutSimilar:{...t.withoutSimilar,callbacks:K(t.withoutSimilar.callbacks,(e=>e!==n))},withVars:K(t.withVars,(e=>e.callback!==n))}})))),e.set(r)})(t,n,r)});function Nb(e){return Nb="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},Nb(e)}function Fb(e,t){return Fb=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},Fb(e,t)}function zb(){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 qb(e,t,n){return qb=zb()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&Fb(o,n.prototype),o},qb.apply(null,arguments)}function Ub(e){return function(e){if(Array.isArray(e))return Hb(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Hb(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 Hb(e,t)}(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 Hb(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 Wb=Object.hasOwnProperty,Vb=Object.setPrototypeOf,Yb=Object.isFrozen,Zb=Object.getPrototypeOf,Gb=Object.getOwnPropertyDescriptor,Kb=Object.freeze,$b=Object.seal,Xb=Object.create,Qb="undefined"!=typeof Reflect&&Reflect,Jb=Qb.apply,ey=Qb.construct;Jb||(Jb=function(e,t,n){return e.apply(t,n)}),Kb||(Kb=function(e){return e}),$b||($b=function(e){return e}),ey||(ey=function(e,t){return qb(e,Ub(t))});var ty,ny=fy(Array.prototype.forEach),ry=fy(Array.prototype.pop),oy=fy(Array.prototype.push),iy=fy(String.prototype.toLowerCase),ay=fy(String.prototype.match),sy=fy(String.prototype.replace),ly=fy(String.prototype.indexOf),cy=fy(String.prototype.trim),uy=fy(RegExp.prototype.test),dy=(ty=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ey(ty,t)});function fy(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 Jb(e,t,r)}}function py(e,t){Vb&&Vb(e,null);for(var n=t.length;n--;){var r=t[n];if("string"==typeof r){var o=iy(r);o!==r&&(Yb(t)||(t[n]=o),r=o)}e[r]=!0}return e}function hy(e){var t,n=Xb(null);for(t in e)Jb(Wb,e,[t])&&(n[t]=e[t]);return n}function my(e,t){for(;null!==e;){var n=Gb(e,t);if(n){if(n.get)return fy(n.get);if("function"==typeof n.value)return fy(n.value)}e=Zb(e)}return function(e){return console.warn("fallback value for",e),null}}var gy=Kb(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),vy=Kb(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),by=Kb(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),yy=Kb(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ay=Kb(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),xy=Kb(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Cy=Kb(["#text"]),_y=Kb(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),wy=Kb(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ky=Kb(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Sy=Kb(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ey=$b(/\{\{[\w\W]*|[\w\W]*\}\}/gm),By=$b(/<%[\w\W]*|[\w\W]*%>/gm),Oy=$b(/^data-[\-\w.\u00B7-\uFFFF]/),jy=$b(/^aria-[\-\w]+$/),Ty=$b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Py=$b(/^(?:\w+script|data):/i),My=$b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Dy=$b(/^html$/i),Ry=function(){return"undefined"==typeof window?null:window},Ly=function(e,t){if("object"!==Nb(e)||"function"!=typeof e.createPolicy)return null;var n=null,r="data-tt-policy-suffix";t.currentScript&&t.currentScript.hasAttribute(r)&&(n=t.currentScript.getAttribute(r));var o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:function(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};var Iy=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ry(),n=function(t){return e(t)};if(n.version="2.3.8",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;var r=t.document,o=t.document,i=t.DocumentFragment,a=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,d=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,f=t.HTMLFormElement,p=t.DOMParser,h=t.trustedTypes,m=l.prototype,g=my(m,"cloneNode"),v=my(m,"nextSibling"),b=my(m,"childNodes"),y=my(m,"parentNode");if("function"==typeof a){var A=o.createElement("template");A.content&&A.content.ownerDocument&&(o=A.content.ownerDocument)}var x=Ly(h,r),C=x?x.createHTML(""):"",_=o,w=_.implementation,k=_.createNodeIterator,S=_.createDocumentFragment,E=_.getElementsByTagName,B=r.importNode,O={};try{O=hy(o).documentMode?o.documentMode:{}}catch(e){}var j={};n.isSupported="function"==typeof y&&w&&void 0!==w.createHTMLDocument&&9!==O;var T,P,M=Ey,D=By,R=Oy,L=jy,I=Py,N=My,F=Ty,z=null,q=py({},[].concat(Ub(gy),Ub(vy),Ub(by),Ub(Ay),Ub(Cy))),U=null,H=py({},[].concat(Ub(_y),Ub(wy),Ub(ky),Ub(Sy))),W=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),V=null,Y=null,Z=!0,G=!0,K=!1,$=!1,X=!1,Q=!1,J=!1,ee=!1,te=!1,ne=!1,re=!0,oe=!0,ie=!1,ae={},se=null,le=py({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ce=null,ue=py({},["audio","video","img","source","image","track"]),de=null,fe=py({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",he="http://www.w3.org/2000/svg",me="http://www.w3.org/1999/xhtml",ge=me,ve=!1,be=["application/xhtml+xml","text/html"],ye="text/html",Ae=null,xe=o.createElement("form"),Ce=function(e){return e instanceof RegExp||e instanceof Function},_e=function(e){Ae&&Ae===e||(e&&"object"===Nb(e)||(e={}),e=hy(e),z="ALLOWED_TAGS"in e?py({},e.ALLOWED_TAGS):q,U="ALLOWED_ATTR"in e?py({},e.ALLOWED_ATTR):H,de="ADD_URI_SAFE_ATTR"in e?py(hy(fe),e.ADD_URI_SAFE_ATTR):fe,ce="ADD_DATA_URI_TAGS"in e?py(hy(ue),e.ADD_DATA_URI_TAGS):ue,se="FORBID_CONTENTS"in e?py({},e.FORBID_CONTENTS):le,V="FORBID_TAGS"in e?py({},e.FORBID_TAGS):{},Y="FORBID_ATTR"in e?py({},e.FORBID_ATTR):{},ae="USE_PROFILES"in e&&e.USE_PROFILES,Z=!1!==e.ALLOW_ARIA_ATTR,G=!1!==e.ALLOW_DATA_ATTR,K=e.ALLOW_UNKNOWN_PROTOCOLS||!1,$=e.SAFE_FOR_TEMPLATES||!1,X=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,J=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,oe=!1!==e.KEEP_CONTENT,ie=e.IN_PLACE||!1,F=e.ALLOWED_URI_REGEXP||F,ge=e.NAMESPACE||me,e.CUSTOM_ELEMENT_HANDLING&&Ce(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(W.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ce(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(W.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(W.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),T=T=-1===be.indexOf(e.PARSER_MEDIA_TYPE)?ye:e.PARSER_MEDIA_TYPE,P="application/xhtml+xml"===T?function(e){return e}:iy,$&&(G=!1),te&&(ee=!0),ae&&(z=py({},Ub(Cy)),U=[],!0===ae.html&&(py(z,gy),py(U,_y)),!0===ae.svg&&(py(z,vy),py(U,wy),py(U,Sy)),!0===ae.svgFilters&&(py(z,by),py(U,wy),py(U,Sy)),!0===ae.mathMl&&(py(z,Ay),py(U,ky),py(U,Sy))),e.ADD_TAGS&&(z===q&&(z=hy(z)),py(z,e.ADD_TAGS)),e.ADD_ATTR&&(U===H&&(U=hy(U)),py(U,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&py(de,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(se===le&&(se=hy(se)),py(se,e.FORBID_CONTENTS)),oe&&(z["#text"]=!0),X&&py(z,["html","head","body"]),z.table&&(py(z,["tbody"]),delete V.tbody),Kb&&Kb(e),Ae=e)},we=py({},["mi","mo","mn","ms","mtext"]),ke=py({},["foreignobject","desc","title","annotation-xml"]),Se=py({},["title","style","font","a","script"]),Ee=py({},vy);py(Ee,by),py(Ee,yy);var Be=py({},Ay);py(Be,xy);var Oe=function(e){var t=y(e);t&&t.tagName||(t={namespaceURI:me,tagName:"template"});var n=iy(e.tagName),r=iy(t.tagName);return e.namespaceURI===he?t.namespaceURI===me?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===r||we[r]):Boolean(Ee[n]):e.namespaceURI===pe?t.namespaceURI===me?"math"===n:t.namespaceURI===he?"math"===n&&ke[r]:Boolean(Be[n]):e.namespaceURI===me&&(!(t.namespaceURI===he&&!ke[r])&&(!(t.namespaceURI===pe&&!we[r])&&(!Be[n]&&(Se[n]||!Ee[n]))))},je=function(e){oy(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=C}catch(t){e.remove()}}},Te=function(e,t){try{oy(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){oy(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!U[e])if(ee||te)try{je(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Pe=function(e){var t,n;if(J)e="<remove></remove>"+e;else{var r=ay(e,/^[\r\n\t ]+/);n=r&&r[0]}"application/xhtml+xml"===T&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var i=x?x.createHTML(e):e;if(ge===me)try{t=(new p).parseFromString(i,T)}catch(e){}if(!t||!t.documentElement){t=w.createDocument(ge,"template",null);try{t.documentElement.innerHTML=ve?"":i}catch(e){}}var a=t.body||t.documentElement;return e&&n&&a.insertBefore(o.createTextNode(n),a.childNodes[0]||null),ge===me?E.call(t,X?"html":"body")[0]:X?t.documentElement:a},Me=function(e){return k.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},De=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)},Re=function(e){return"object"===Nb(s)?e instanceof s:e&&"object"===Nb(e)&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},Le=function(e,t,r){j[e]&&ny(j[e],(function(e){e.call(n,t,r,Ae)}))},Ie=function(e){var t;if(Le("beforeSanitizeElements",e,null),De(e))return je(e),!0;if(uy(/[\u0080-\uFFFF]/,e.nodeName))return je(e),!0;var r=P(e.nodeName);if(Le("uponSanitizeElement",e,{tagName:r,allowedTags:z}),e.hasChildNodes()&&!Re(e.firstElementChild)&&(!Re(e.content)||!Re(e.content.firstElementChild))&&uy(/<[/\w]/g,e.innerHTML)&&uy(/<[/\w]/g,e.textContent))return je(e),!0;if("select"===r&&uy(/<template/i,e.innerHTML))return je(e),!0;if(!z[r]||V[r]){if(!V[r]&&Fe(r)){if(W.tagNameCheck instanceof RegExp&&uy(W.tagNameCheck,r))return!1;if(W.tagNameCheck instanceof Function&&W.tagNameCheck(r))return!1}if(oe&&!se[r]){var o=y(e)||e.parentNode,i=b(e)||e.childNodes;if(i&&o)for(var a=i.length-1;a>=0;--a)o.insertBefore(g(i[a],!0),v(e))}return je(e),!0}return e instanceof l&&!Oe(e)?(je(e),!0):"noscript"!==r&&"noembed"!==r||!uy(/<\/no(script|embed)/i,e.innerHTML)?($&&3===e.nodeType&&(t=e.textContent,t=sy(t,M," "),t=sy(t,D," "),e.textContent!==t&&(oy(n.removed,{element:e.cloneNode()}),e.textContent=t)),Le("afterSanitizeElements",e,null),!1):(je(e),!0)},Ne=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in o||n in xe))return!1;if(G&&!Y[t]&&uy(R,t));else if(Z&&uy(L,t));else if(!U[t]||Y[t]){if(!(Fe(e)&&(W.tagNameCheck instanceof RegExp&&uy(W.tagNameCheck,e)||W.tagNameCheck instanceof Function&&W.tagNameCheck(e))&&(W.attributeNameCheck instanceof RegExp&&uy(W.attributeNameCheck,t)||W.attributeNameCheck instanceof Function&&W.attributeNameCheck(t))||"is"===t&&W.allowCustomizedBuiltInElements&&(W.tagNameCheck instanceof RegExp&&uy(W.tagNameCheck,n)||W.tagNameCheck instanceof Function&&W.tagNameCheck(n))))return!1}else if(de[t]);else if(uy(F,sy(n,N,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ly(n,"data:")||!ce[e]){if(K&&!uy(I,sy(n,N,"")));else if(n)return!1}else;return!0},Fe=function(e){return e.indexOf("-")>0},ze=function(e){var t,n,r,o;Le("beforeSanitizeAttributes",e,null);var i=e.attributes;if(i){var a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:U};for(o=i.length;o--;){var s=t=i[o],l=s.name,c=s.namespaceURI;n="value"===l?t.value:cy(t.value),r=P(l);var u=n;if(a.attrName=r,a.attrValue=n,a.keepAttr=!0,a.forceKeepAttr=void 0,Le("uponSanitizeAttribute",e,a),n=a.attrValue,!a.forceKeepAttr)if(a.keepAttr)if(uy(/\/>/i,n))Te(l,e);else{$&&(n=sy(n,M," "),n=sy(n,D," "));var d=P(e.nodeName);if(Ne(d,r,n)){if(n!==u)try{c?e.setAttributeNS(c,l,n):e.setAttribute(l,n)}catch(t){Te(l,e)}}else Te(l,e)}else Te(l,e)}Le("afterSanitizeAttributes",e,null)}},qe=function e(t){var n,r=Me(t);for(Le("beforeSanitizeShadowDOM",t,null);n=r.nextNode();)Le("uponSanitizeShadowNode",n,null),Ie(n)||(n.content instanceof i&&e(n.content),ze(n));Le("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e,o){var a,l,c,u,d;if((ve=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Re(e)){if("function"!=typeof e.toString)throw dy("toString is not a function");if("string"!=typeof(e=e.toString()))throw dy("dirty is not a string, aborting")}if(!n.isSupported){if("object"===Nb(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof e)return t.toStaticHTML(e);if(Re(e))return t.toStaticHTML(e.outerHTML)}return e}if(Q||_e(o),n.removed=[],"string"==typeof e&&(ie=!1),ie){if(e.nodeName){var f=P(e.nodeName);if(!z[f]||V[f])throw dy("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof s)1===(l=(a=Pe("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===l.nodeName||"HTML"===l.nodeName?a=l:a.appendChild(l);else{if(!ee&&!$&&!X&&-1===e.indexOf("<"))return x&&ne?x.createHTML(e):e;if(!(a=Pe(e)))return ee?null:ne?C:""}a&&J&&je(a.firstChild);for(var p=Me(ie?e:a);c=p.nextNode();)3===c.nodeType&&c===u||Ie(c)||(c.content instanceof i&&qe(c.content),ze(c),u=c);if(u=null,ie)return e;if(ee){if(te)for(d=S.call(a.ownerDocument);a.firstChild;)d.appendChild(a.firstChild);else d=a;return U.shadowroot&&(d=B.call(r,d,!0)),d}var h=X?a.outerHTML:a.innerHTML;return X&&z["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&uy(Dy,a.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+h),$&&(h=sy(h,M," "),h=sy(h,D," ")),x&&ne?x.createHTML(h):h},n.setConfig=function(e){_e(e),Q=!0},n.clearConfig=function(){Ae=null,Q=!1},n.isValidAttribute=function(e,t,n){Ae||_e({});var r=P(e),o=P(t);return Ne(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&(j[e]=j[e]||[],oy(j[e],t))},n.removeHook=function(e){if(j[e])return ry(j[e])},n.removeHooks=function(e){j[e]&&(j[e]=[])},n.removeAllHooks=function(){j={}},n}();const Ny=Pt.explode,Fy=()=>{const e={};return{addFilter:(t,n)=>{Y(Ny(t),(t=>{we(e,t)||(e[t]={name:t,callbacks:[]}),e[t].callbacks.push(n)}))},getFilters:()=>Ce(e),removeFilter:(t,n)=>{Y(Ny(t),(t=>{if(we(e,t))if(C(n)){const r=e[t],o=K(r.callbacks,(e=>e!==n));o.length>0?r.callbacks=o:delete e[t]}else delete e[t]}))}}},zy=(e,t,n)=>{e.addNodeFilter("font",(e=>{Y(e,(e=>{const r=t.parse(e.attr("style")),o=e.attr("color"),i=e.attr("face"),a=e.attr("size");o&&(r.color=o),i&&(r["font-family"]=i),a&&$e(a).each((e=>{r["font-size"]=n[e-1]})),e.name="span",e.attr("style",t.serialize(r)),((e,t)=>{Y(t,(t=>{e.attr(t,null)}))})(e,["color","face","size"])}))}))},qy=(e,t,n)=>{var r;const o=Ui();t.convert_fonts_to_spans&&zy(e,o,Pt.explode(null!==(r=t.font_size_legacy_values)&&void 0!==r?r:"")),((e,t,n)=>{e.addNodeFilter("strike",(e=>{const r="html4"!==t.type;Y(e,(e=>{if(r)e.name="s";else{const t=n.parse(e.attr("style"));t["text-decoration"]="line-through",e.name="span",e.attr("style",n.serialize(t))}}))}))})(e,n,o)},Uy=e=>{const[t,...n]=e.split(","),r=n.join(","),o=/data:([^/]+\/[^;]+)(;.+)?/.exec(t);if(o){const e=";base64"===o[2],t=e?(e=>{const t=/([a-z0-9+\/=\s]+)/i.exec(e);return t?t[1]:""})(r):decodeURIComponent(r);return N.some({type:o[1],data:t,base64Encoded:e})}return N.none()},Hy=(e,t,n=!0)=>{let r=t;if(n)try{r=atob(t)}catch(e){return N.none()}const o=new Uint8Array(r.length);for(let e=0;e<o.length;e++)o[e]=r.charCodeAt(e);return N.some(new Blob([o],{type:e}))},Wy=e=>{return Ue(e,"blob:")?(e=>fetch(e).then((e=>e.ok?e.blob():Promise.reject())).catch((()=>Promise.reject(`Cannot convert ${e} to Blob. Resource might not exist or is inaccessible.`))))(e):Ue(e,"data:")?(t=e,new Promise(((e,n)=>{Uy(t).bind((({type:e,data:t,base64Encoded:n})=>Hy(e,t,n))).fold((()=>n("Invalid data URI")),e)}))):Promise.reject("Unknown URI format");var t},Vy=e=>new Promise(((t,n)=>{const r=new FileReader;r.onloadend=()=>{t(r.result)},r.onerror=()=>{var e;n(null===(e=r.error)||void 0===e?void 0:e.message)},r.readAsDataURL(e)}));let Yy=0;const Zy=(e,t,n)=>Uy(e).bind((({data:e,type:r,base64Encoded:o})=>{if(t&&!o)return N.none();{const t=o?e:btoa(e);return n(t,r)}})),Gy=(e,t,n)=>{const r=e.create((e=>(e||"blobid")+Yy++)(),t,n);return e.add(r),r},Ky=(e,t,n=!1)=>Zy(t,n,((t,n)=>N.from(e.getByData(t,n)).orThunk((()=>Hy(n,t).map((n=>Gy(e,n,t))))))),$y=(e,t)=>{const{blob_cache:n}=t;if(n){const t=e=>{const t=e.attr("src");(e=>e.attr("src")===Bt.transparentSrc||C(e.attr("data-mce-placeholder")))(e)||(e=>C(e.attr("data-mce-bogus")))(e)||x(t)||Ky(n,t,!0).each((t=>{e.attr("src",t.blobUri())}))};e.addAttributeFilter("src",(e=>Y(e,t)))}},Xy=Pt.each,Qy=Pt.trim,Jy=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"],eA={ftp:21,http:80,https:443,mailto:25},tA=["img","video"],nA=(e,t,n)=>{const r=(e=>{try{return decodeURIComponent(e)}catch(t){return unescape(e)}})(t);return!e.allow_script_urls&&(!!/((java|vb)script|mhtml):/i.test(r)||!e.allow_html_data_urls&&(/^data:image\//i.test(r)?((e,t)=>C(e)?!e:!C(t)||!H(tA,t))(e.allow_svg_data_urls,n)&&/^data:image\/svg\+xml/i.test(r):/^data:/i.test(r)))};class rA{constructor(e,t={}){this.path="",this.directory="",e=Qy(e),this.settings=t;const n=t.base_uri,r=this;if(/^([\w\-]+):([^\/]{2})/i.test(e)||/^\s*#/.test(e))return void(r.source=e);const o=0===e.indexOf("//");if(0!==e.indexOf("/")||o||(e=(n&&n.protocol||"http")+"://mce_host"+e),!/^[\w\-]*:?\/\//.test(e)){const t=n?n.path:new rA(document.location.href).directory;if(""===(null==n?void 0:n.protocol))e="//mce_host"+r.toAbsPath(t,e);else{const o=/([^#?]*)([#?]?.*)/.exec(e);o&&(e=(n&&n.protocol||"http")+"://mce_host"+r.toAbsPath(t,o[1])+o[2])}}e=e.replace(/@@/g,"(mce_at)");const i=/^(?:(?![^:@]+:[^:@\/]*@)([^:\/?#.]+):)?(?:\/\/)?((?:(([^:@\/]*):?([^:@\/]*))?@)?(\[[a-zA-Z0-9:.%]+\]|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/.exec(e);i&&Xy(Jy,((e,t)=>{let n=i[t];n&&(n=n.replace(/\(mce_at\)/g,"@@")),r[e]=n})),n&&(r.protocol||(r.protocol=n.protocol),r.userInfo||(r.userInfo=n.userInfo),r.port||"mce_host"!==r.host||(r.port=n.port),r.host&&"mce_host"!==r.host||(r.host=n.host),r.source=""),o&&(r.protocol="")}static parseDataUri(e){let t;const n=decodeURIComponent(e).split(","),r=/data:([^;]+)/.exec(n[0]);return r&&(t=r[1]),{type:t,data:n[1]}}static isDomSafe(e,t,n={}){if(n.allow_script_urls)return!0;{const r=Bi.decode(e).replace(/[\s\u0000-\u001F]+/g,"");return!nA(n,r,t)}}static getDocumentBaseUrl(e){var t;let n;return n=0!==e.protocol.indexOf("http")&&"file:"!==e.protocol?null!==(t=e.href)&&void 0!==t?t:"":e.protocol+"//"+e.host+e.pathname,/^[^:]+:\/\/\/?[^\/]+\//.test(n)&&(n=n.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(n)||(n+="/")),n}setPath(e){const t=/^(.*?)\/?(\w+)?$/.exec(e);t&&(this.path=t[0],this.directory=t[1],this.file=t[2]),this.source="",this.getURI()}toRelative(e){if("./"===e)return e;const t=new rA(e,{base_uri:this});if("mce_host"!==t.host&&this.host!==t.host&&t.host||this.port!==t.port||this.protocol!==t.protocol&&""!==t.protocol)return t.getURI();const n=this.getURI(),r=t.getURI();if(n===r||"/"===n.charAt(n.length-1)&&n.substr(0,n.length-1)===r)return n;let o=this.toRelPath(this.path,t.path);return t.query&&(o+="?"+t.query),t.anchor&&(o+="#"+t.anchor),o}toAbsolute(e,t){const n=new rA(e,{base_uri:this});return n.getURI(t&&this.isSameOrigin(n))}isSameOrigin(e){if(this.host==e.host&&this.protocol==e.protocol){if(this.port==e.port)return!0;const t=this.protocol?eA[this.protocol]:null;if(t&&(this.port||t)==(e.port||t))return!0}return!1}toRelPath(e,t){let n,r,o=0,i="";const a=e.substring(0,e.lastIndexOf("/")).split("/"),s=t.split("/");if(a.length>=s.length)for(n=0,r=a.length;n<r;n++)if(n>=s.length||a[n]!==s[n]){o=n+1;break}if(a.length<s.length)for(n=0,r=s.length;n<r;n++)if(n>=a.length||a[n]!==s[n]){o=n+1;break}if(1===o)return t;for(n=0,r=a.length-(o-1);n<r;n++)i+="../";for(n=o-1,r=s.length;n<r;n++)i+=n!==o-1?"/"+s[n]:s[n];return i}toAbsPath(e,t){let n=0;const r=/\/$/.test(t)?"/":"",o=e.split("/"),i=t.split("/"),a=[];Xy(o,(e=>{e&&a.push(e)}));const s=[];for(let e=i.length-1;e>=0;e--)0!==i[e].length&&"."!==i[e]&&(".."!==i[e]?n>0?n--:s.push(i[e]):n++);const l=a.length-n;let c;return c=l<=0?oe(s).join("/"):a.slice(0,l).join("/")+"/"+oe(s).join("/"),0!==c.indexOf("/")&&(c="/"+c),r&&c.lastIndexOf("/")!==c.length-1&&(c+=r),c}getURI(e=!1){let t;return this.source&&!e||(t="",e||(this.protocol?t+=this.protocol+"://":t+="//",this.userInfo&&(t+=this.userInfo+"@"),this.host&&(t+=this.host),this.port&&(t+=":"+this.port)),this.path&&(t+=this.path),this.query&&(t+="?"+this.query),this.anchor&&(t+="#"+this.anchor),this.source=t),this.source}}const oA=Pt.makeMap,iA=Pt.extend,aA={IN_PLACE:!0,ALLOW_UNKNOWN_PROTOCOLS:!0,ALLOWED_TAGS:["#comment","#cdata-section","body"],ALLOWED_ATTR:[]},sA=Pt.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),lA="data-mce-type",cA=(e,t)=>{const n=Iy(),r=t.getSpecialElements(),o=e.validate;let i=0;return n.addHook("uponSanitizeElement",((n,a)=>{var s,l,c;8===n.nodeType&&!e.allow_conditional_comments&&/^\[if/i.test(null!==(s=n.nodeValue)&&void 0!==s?s:"")&&(n.nodeValue=" "+n.nodeValue);const u=a.tagName;if(1!==n.nodeType||"body"===u)return;const d=dn.fromDom(n),f=u.toLowerCase(),p=Kt(d,lA),m=Zt(d,"data-mce-bogus");if(!p&&h(m))return void("all"===m?Jn(d):er(d));const g=t.getElementRule(f);if(!o||g){if(a.allowedTags[u]=!0,o&&g&&!p){if(Y(null!==(l=g.attributesForced)&&void 0!==l?l:[],(e=>{Vt(d,e.name,"{$uid}"===e.value?"mce_"+i++:e.value)})),Y(null!==(c=g.attributesDefault)&&void 0!==c?c:[],(e=>{Kt(d,e.name)||Vt(d,e.name,"{$uid}"===e.value?"mce_"+i++:e.value)})),g.attributesRequired&&!W(g.attributesRequired,(e=>Kt(d,e))))return void er(d);if(g.removeEmptyAttrs&&(e=>{const t=e.dom.attributes;return null==t||0===t.length})(d))return void er(d);g.outputName&&g.outputName!==f&&Na(d,g.outputName)}}else we(r,f)?Jn(d):er(d)})),n.addHook("uponSanitizeAttribute",((n,r)=>{const i=n.tagName.toLowerCase(),{attrName:a,attrValue:s}=r;r.keepAttr=!o||t.isValid(i,a)||Ue(a,"data-")||Ue(a,"aria-"),a in sA&&nA(e,s,i)&&(r.keepAttr=!1),r.keepAttr?(r.allowedAttributes[a]=!0,a in t.getBoolAttrs()&&(r.attrValue=a),e.allow_svg_data_urls&&Ue(s,"data:image/svg+xml")&&(r.forceKeepAttr=!0)):!n.hasAttribute(lA)||"id"!==a&&"class"!==a&&"style"!==a||(r.forceKeepAttr=!0)})),n},uA=(e,t,n)=>{const r=e.name,o=r in n&&"title"!==r&&"textarea"!==r,i=t.childNodes;for(let t=0,r=i.length;t<r;t++){const r=i[t],a=new Dh(r.nodeName.toLowerCase(),r.nodeType);if(vr(r)){const e=r.attributes;for(let t=0,n=e.length;t<n;t++){const n=e[t];a.attr(n.name,n.value)}}else Sr(r)?(a.value=r.data,o&&(a.raw=!0)):(Or(r)||Er(r)||Br(r))&&(a.value=r.data);uA(a,r,n),e.append(a)}},dA=(e,t,n,r)=>{const o=n.validate,i=t.getNonEmptyElements(),a=t.getWhitespaceElements(),s=iA(oA("script,style,head,html,body,title,meta,param"),t.getBlockElements()),l=Fi(t),c=/[ \t\r\n]+/g,u=/^[ \t\r\n]+/,d=/[ \t\r\n]+$/,f=e=>{let t=e.parent;for(;C(t);){if(t.name in a)return!0;t=t.parent}return!1},p=(t,n)=>{const o=n?t.prev:t.next;return!C(o)&&!x(t.parent)&&(t.parent.name in s&&(t.parent!==e||!0===r.isRootContent))};return[e=>{var t;if(3===e.type&&!f(e)){let n=null!==(t=e.value)&&void 0!==t?t:"";n=n.replace(c," "),(((e,t)=>C(e)&&(e.name in t||"br"===e.name))(e.prev,s)||p(e,!0))&&(n=n.replace(u,"")),0===n.length?e.remove():e.value=n}},e=>{var n;if(1===e.type){const n=t.getElementRule(e.name);if(o&&n){const o=nv(t,i,a,e);n.paddInEmptyBlock&&o&&(e=>{let n=e;for(;C(n);){if(n.name in l)return nv(t,i,a,n);n=n.parent}return!1})(e)?ev(0,r,s,e):n.removeEmpty&&o?s[e.name]?e.remove():e.unwrap():n.paddEmpty&&(o||(e=>{var t;return tv(e,"#text")&&(null===(t=null==e?void 0:e.firstChild)||void 0===t?void 0:t.value)===go})(e))&&ev(0,r,s,e)}}else if(3===e.type&&!f(e)){let t=null!==(n=e.value)&&void 0!==n?n:"";(e.next&&s[e.next.name]||p(e,!1))&&(t=t.replace(d,"")),0===t.length?e.remove():e.value=t}}]},fA=(e={},t=qi())=>{const n=Fy(),r=Fy(),o={validate:!0,root_name:"body",...e},i=new DOMParser,a=cA(o,t),s=(e,n,r="html")=>{const s="xhtml"===r?"application/xhtml+xml":"text/html",l=we(t.getSpecialElements(),n.toLowerCase()),c=l?`<${n}>${e}</${n}>`:e,u="xhtml"===r?`<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>${c}</body></html>`:`<body>${c}</body>`,d=i.parseFromString(u,s).body;return a.sanitize(d,((e,t)=>{const n={...aA};return n.PARSER_MEDIA_TYPE=t,e.allow_script_urls?n.ALLOWED_URI_REGEXP=/.*/:e.allow_html_data_urls&&(n.ALLOWED_URI_REGEXP=/^(?!(\w+script|mhtml):)/i),n})(o,s)),a.removed=[],l?d.firstChild:d},l=n.addFilter,c=n.getFilters,u=n.removeFilter,d=r.addFilter,f=r.getFilters,p=r.removeFilter,h={schema:t,addAttributeFilter:d,getAttributeFilters:f,removeAttributeFilter:p,addNodeFilter:l,getNodeFilters:c,removeNodeFilter:u,parse:(e,n={})=>{var r;const i=o.validate,a=null!==(r=n.context)&&void 0!==r?r:o.root_name,l=s(e,a,n.format),u=new Dh(a,11);uA(u,l,t.getSpecialElements());const[d,p]=dA(u,t,o,n),h=[],m=i?e=>((e,n)=>{const r=e.parent;r&&t.children[e.name]&&!t.isValidChild(r.name,e.name)&&n.push(e)})(e,h):S,g={nodes:{},attributes:{}},v=e=>Xg(c(),f(),e,g);if(((e,t,n)=>{const r=[];for(let n=e,o=n;n;o=n,n=n.walk()){const i=n;Y(t,(e=>e(i))),x(i.parent)&&i!==e?n=o:r.push(i)}for(let e=r.length-1;e>=0;e--){const t=r[e];Y(n,(e=>e(t)))}})(u,[d,v],[p,m]),h.reverse(),i&&h.length>0)if(n.context){const{pass:e,fail:r}=G(h,(e=>e.parent===u));ov(r,t,v),n.invalid=e.length>0}else ov(h,t,v);const b=((e,t)=>{var n;const r=null!==(n=t.forced_root_block)&&void 0!==n?n:e.forced_root_block;return!1===r?"":!0===r?"p":r})(o,n);return b&&("body"===u.name||n.isRootContent)&&((e,n)=>{const r=iA(oA("script,style,head,html,body,title,meta,param"),t.getBlockElements()),i=/^[ \t\r\n]+/,a=/[ \t\r\n]+$/;let s=e.firstChild,l=null;const c=e=>{var t,n;e&&(s=e.firstChild,s&&3===s.type&&(s.value=null===(t=s.value)||void 0===t?void 0:t.replace(i,"")),s=e.lastChild,s&&3===s.type&&(s.value=null===(n=s.value)||void 0===n?void 0:n.replace(a,"")))};if(t.isValidChild(e.name,n.toLowerCase())){for(;s;){const t=s.next;3===s.type||1===s.type&&"p"!==s.name&&!r[s.name]&&!s.attr(lA)?(l||(l=new Dh(n,1),l.attr(o.forced_root_block_attrs),e.insert(l,s)),l.append(s)):(c(l),l=null),s=t}c(l)}})(u,b),n.invalid||Qg(g,n),u}};return((e,t)=>{const n=e.schema;t.remove_trailing_brs&&e.addNodeFilter("br",((e,t,r)=>{const o=Pt.extend({},n.getBlockElements()),i=n.getNonEmptyElements(),a=n.getWhitespaceElements();o.body=1;for(let t=0,s=e.length;t<s;t++){let s=e[t],l=s.parent;if(l&&o[l.name]&&s===l.lastChild){let e=s.prev;for(;e;){const t=e.name;if("span"!==t||"bookmark"!==e.attr("data-mce-type")){"br"===t&&(s=null);break}e=e.prev}if(s&&(s.remove(),nv(n,i,a,l))){const e=n.getElementRule(l.name);e&&(e.removeEmpty?l.remove():e.paddEmpty&&ev(0,r,o,l))}}else{let e=s;for(;l&&l.firstChild===e&&l.lastChild===e&&(e=l,!o[l.name]);)l=l.parent;if(e===l){const e=new Dh("#text",3);e.value=go,s.replace(e)}}}})),e.addAttributeFilter("href",(e=>{let n=e.length;const r=e=>{const t=e?Pt.trim(e):"";return/\b(noopener)\b/g.test(t)?t:(e=>e.split(" ").filter((e=>e.length>0)).concat(["noopener"]).sort().join(" "))(t)};if(!t.allow_unsafe_link_target)for(;n--;){const t=e[n];"a"===t.name&&"_blank"===t.attr("target")&&t.attr("rel",r(t.attr("rel")))}})),t.allow_html_in_named_anchor||e.addAttributeFilter("id,name",(e=>{let t,n,r,o,i=e.length;for(;i--;)if(o=e[i],"a"===o.name&&o.firstChild&&!o.attr("href"))for(r=o.parent,t=o.lastChild;t&&r;)n=t.prev,r.insert(t,o),t=n})),t.fix_list_elements&&e.addNodeFilter("ul,ol",(e=>{let t,n,r=e.length;for(;r--;)if(t=e[r],n=t.parent,n&&("ul"===n.name||"ol"===n.name))if(t.prev&&"li"===t.prev.name)t.prev.append(t);else{const e=new Dh("li",1);e.attr("style","list-style-type: none"),t.wrap(e)}}));const r=n.getValidClasses();t.validate&&r&&e.addAttributeFilter("class",(e=>{var t;let n=e.length;for(;n--;){const o=e[n],i=null!==(t=o.attr("class"))&&void 0!==t?t:"",a=Pt.explode(i," ");let s="";for(let e=0;e<a.length;e++){const t=a[e];let n=!1,i=r["*"];i&&i[t]&&(n=!0),i=r[o.name],!n&&i&&i[t]&&(n=!0),n&&(s&&(s+=" "),s+=t)}s.length||(s=null),o.attr("class",s)}})),$y(e,t)})(h,o),((e,t,n)=>{t.inline_styles&&qy(e,t,n)})(h,o,t),h},pA=(e,t)=>{const n=(e=>Av(e)?Hh({validate:!1}).serialize(e):e)(e),r=t(n);if(r.isDefaultPrevented())return r;if(Av(e)){if(r.content!==n){const t=fA({validate:!1,forced_root_block:!1}).parse(r.content,{context:e.name});return{...r,content:t}}return{...r,content:e}}return r},hA=(e,t)=>{if(t.no_events)return qs.value(t);{const n=((e,t)=>e.dispatch("BeforeGetContent",t))(e,t);return n.isDefaultPrevented()?qs.error(If(e,{content:"",...n}).content):qs.value(n)}},mA=(e,t,n)=>{if(n.no_events)return t;return pA(t,(t=>If(e,{...n,content:t}))).content},gA=(e,t)=>{if(t.no_events)return qs.value(t);{const n=pA(t.content,(n=>((e,t)=>e.dispatch("BeforeSetContent",t))(e,{...t,content:n})));return n.isDefaultPrevented()?(Lf(e,n),qs.error(void 0)):qs.value(n)}},vA=(e,t,n)=>{n.no_events||Lf(e,{...n,content:t})},bA=(e,t,n)=>({element:e,width:t,rows:n}),yA=(e,t)=>({element:e,cells:t}),AA=(e,t)=>({x:e,y:t}),xA=(e,t)=>Gt(e,t).bind($e).getOr(1),CA=(e,t,n)=>{const r=e.rows;return!!(r[n]?r[n].cells:[])[t]},_A=e=>X(e,((e,t)=>t.cells.length>e?t.cells.length:e),0),wA=(e,t)=>{const n=e.rows;for(let e=0;e<n.length;e++){const r=n[e].cells;for(let n=0;n<r.length;n++)if(mn(r[n],t))return N.some(AA(n,e))}return N.none()},kA=(e,t,n,r,o)=>{const i=[],a=e.rows;for(let e=n;e<=o;e++){const n=a[e].cells,o=t<r?n.slice(t,r+1):n.slice(r,t+1);i.push(yA(a[e].element,o))}return i},SA=e=>{const t=bA(La(e),0,[]);return Y(yo(e,"tr"),((e,n)=>{Y(yo(e,"td,th"),((r,o)=>{((e,t,n,r,o)=>{const i=xA(o,"rowspan"),a=xA(o,"colspan"),s=e.rows;for(let e=n;e<n+i;e++){s[e]||(s[e]=yA(Ia(r),[]));for(let r=t;r<t+a;r++)s[e].cells[r]=e===n&&r===t?o:La(o)}})(t,((e,t,n)=>{for(;CA(e,t,n);)t++;return t})(t,o,n),n,e,r)}))})),bA(t.element,_A(t.rows),t.rows)},EA=e=>((e,t)=>{const n=La(e.element),r=dn.fromTag("tbody");return Xn(r,t),$n(n,r),n})(e,(e=>V(e.rows,(e=>{const t=V(e.cells,(e=>{const t=Ia(e);return $t(t,"colspan"),$t(t,"rowspan"),t})),n=La(e.element);return Xn(n,t),n})))(e)),BA=(e,t,n)=>wA(e,t).bind((t=>wA(e,n).map((n=>((e,t,n)=>{const r=t.x,o=t.y,i=n.x,a=n.y,s=o<a?kA(e,r,o,i,a):kA(e,r,a,i,o);return bA(e.element,_A(s),s)})(e,t,n))))),OA=(e,t)=>J(e,(e=>"li"===Lt(e)&&Md(e,t))).fold(O([]),(t=>(e=>J(e,(e=>"ul"===Lt(e)||"ol"===Lt(e))))(e).map((e=>{const t=dn.fromTag(Lt(e)),n=Ae(Vn(e),((e,t)=>Ue(t,"list-style")));return qn(t,n),[dn.fromTag("li"),t]})).getOr([]))),jA=(e,t)=>{const n=dn.fromDom(t.commonAncestorContainer),r=fm(n,e),o=K(r,po),i=OA(r,t),a=o.concat(i.length?i:(e=>so(e)?An(e).filter(ao).fold(O([]),(t=>[e,t])):ao(e)?[e]:[])(n));return V(a,La)},TA=()=>sp([]),PA=(e,t)=>((e,t)=>{const n=X(t,((e,t)=>($n(t,e),t)),e);return t.length>0?sp([n]):n})(dn.fromDom(t.cloneContents()),jA(e,t)),MA=(e,t)=>((e,t)=>Gr(t,"table",P(mn,e)))(e,t[0]).bind((e=>{const n=t[0],r=t[t.length-1],o=SA(e);return BA(o,n,r).map((e=>sp([EA(e)])))})).getOrThunk(TA),DA=(e,t)=>{const n=Bd(t,e);return n.length>0?MA(e,n):((e,t)=>t.length>0&&t[0].collapsed?TA():PA(e,t[0]))(e,t)},RA=(e,t)=>t>=0&&t<e.length&&vd(e.charAt(t)),LA=e=>Oo(e.innerText),IA=(e,t)=>{if("text"===t.format)return(e=>N.from(e.selection.getRng()).map((t=>{var n;const r=N.from(e.dom.getParent(t.commonAncestorContainer,e.dom.isBlock)),o=e.getBody(),i=(e=>e.map((e=>e.nodeName)).getOr("div").toLowerCase())(r),a=e.dom.add(o,i,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},t.cloneContents()),s=LA(a),l=Oo(null!==(n=a.textContent)&&void 0!==n?n:"");if(e.dom.remove(a),RA(l,0)||RA(l,l.length-1)){const e=r.getOr(o),t=LA(e),n=t.indexOf(s);return-1===n?s:(RA(t,n-1)?" ":"")+s+(RA(t,n+s.length)?" ":"")}return s})).getOr(""))(e);{const n=((e,t)=>{const n=e.selection.getRng(),r=e.dom.create("body"),o=e.selection.getSel(),i=Ch(e,Sd(o)),a=t.contextual?DA(dn.fromDom(e.getBody()),i).dom:n.cloneContents();return a&&r.appendChild(a),e.selection.serializer.serialize(r,t)})(e,t);return"tree"===t.format?n:e.selection.isCollapsed()?"":n}},NA=e=>vr(e)?e.outerHTML:Sr(e)?Bi.encodeRaw(e.data,!1):Or(e)?"\x3c!--"+e.data+"--\x3e":"",FA=(e,t,n)=>{const r=(e=>{let t;const n=document.createElement("div"),r=document.createDocumentFragment();for(e&&(n.innerHTML=e);t=n.firstChild;)r.appendChild(t);return r})(t);if(e.hasChildNodes()&&n<e.childNodes.length){const t=e.childNodes[n];e.insertBefore(r,t)}else e.appendChild(r)},zA=(e,t)=>(((e,t)=>{let n=0;Y(e,(e=>{0===e[0]?n++:1===e[0]?(FA(t,e[1],n),n++):2===e[0]&&((e,t)=>{if(e.hasChildNodes()&&t<e.childNodes.length){const n=e.childNodes[t];e.removeChild(n)}})(t,n)}))})(((e,t)=>{const n=e.length+t.length+2,r=new Array(n),o=new Array(n),i=(n,r,o,a,l)=>{const c=s(n,r,o,a);if(null===c||c.start===r&&c.diag===r-a||c.end===n&&c.diag===n-o){let i=n,s=o;for(;i<r||s<a;)i<r&&s<a&&e[i]===t[s]?(l.push([0,e[i]]),++i,++s):r-n>a-o?(l.push([2,e[i]]),++i):(l.push([1,t[s]]),++s)}else{i(n,c.start,o,c.start-c.diag,l);for(let t=c.start;t<c.end;++t)l.push([0,e[t]]);i(c.end,r,c.end-c.diag,a,l)}},a=(n,r,o,i)=>{let a=n;for(;a-r<i&&a<o&&e[a]===t[a-r];)++a;return((e,t,n)=>({start:e,end:t,diag:n}))(n,a,r)},s=(n,i,s,l)=>{const c=i-n,u=l-s;if(0===c||0===u)return null;const d=c-u,f=u+c,p=(f%2==0?f:f+1)/2;let h,m,g,v,b;for(r[1+p]=n,o[1+p]=i+1,h=0;h<=p;++h){for(m=-h;m<=h;m+=2){for(g=m+p,m===-h||m!==h&&r[g-1]<r[g+1]?r[g]=r[g+1]:r[g]=r[g-1]+1,v=r[g],b=v-n+s-m;v<i&&b<l&&e[v]===t[b];)r[g]=++v,++b;if(d%2!=0&&d-h<=m&&m<=d+h&&o[g-d]<=r[g])return a(o[g-d],m+n-s,i,l)}for(m=d-h;m<=d+h;m+=2){for(g=m+p-d,m===d-h||m!==d+h&&o[g+1]<=o[g-1]?o[g]=o[g+1]-1:o[g]=o[g-1],v=o[g]-1,b=v-n+s-m;v>=n&&b>=s&&e[v]===t[b];)o[g]=v--,b--;if(d%2==0&&-h<=m&&m<=h&&o[g]<=r[g+d])return a(o[g],m+n-s,i,l)}}return null},l=[];return i(0,e.length,0,t.length,l),l})(V(de(t.childNodes),NA),e),t),t),qA=Re((()=>document.implementation.createHTMLDocument("undo"))),UA=e=>{const t=(n=e.getBody(),K(V(de(n.childNodes),NA),(e=>e.length>0)));var n;const r=ne(t,(t=>{const n=Ih(e.serializer,t);return n.length>0?[n]:[]})),o=r.join("");return(e=>-1!==e.indexOf("</iframe>"))(o)?(e=>({type:"fragmented",fragments:e,content:"",bookmark:null,beforeBookmark:null}))(r):(e=>({type:"complete",fragments:null,content:e,bookmark:null,beforeBookmark:null}))(o)},HA=(e,t,n)=>{const r=n?t.beforeBookmark:t.bookmark;"fragmented"===t.type?zA(t.fragments,e.getBody()):e.setContent(t.content,{format:"raw",no_selection:!C(r)||!rd(r)||!r.isFakeCaret}),r&&e.selection.moveToBookmark(r)},WA=e=>"fragmented"===e.type?e.fragments.join(""):e.content,VA=e=>{const t=dn.fromTag("body",qA());return nr(t,WA(e)),Y(yo(t,"*[data-mce-bogus]"),er),tr(t)},YA=(e,t)=>!(!e||!t)&&(!!((e,t)=>WA(e)===WA(t))(e,t)||((e,t)=>VA(e)===VA(t))(e,t)),ZA=e=>0===e.get(),GA=(e,t,n)=>{ZA(n)&&(e.typing=t)},KA=(e,t)=>{e.typing&&(GA(e,!1,t),e.add())},$A=e=>({init:{bindEvents:S},undoManager:{beforeChange:(t,n)=>((e,t,n)=>{ZA(t)&&n.set(Ns(e.selection))})(e,t,n),add:(t,n,r,o,i,a)=>((e,t,n,r,o,i,a)=>{const s=UA(e),l=Pt.extend(i||{},s);if(!ZA(r)||e.removed)return null;const c=t.data[n.get()];if(e.dispatch("BeforeAddUndo",{level:l,lastLevel:c,originalEvent:a}).isDefaultPrevented())return null;if(c&&YA(c,l))return null;t.data[n.get()]&&o.get().each((e=>{t.data[n.get()].beforeBookmark=e}));const u=nc(e);if(u&&t.data.length>u){for(let e=0;e<t.data.length-1;e++)t.data[e]=t.data[e+1];t.data.length--,n.set(t.data.length)}l.bookmark=Ns(e.selection),n.get()<t.data.length-1&&(t.data.length=n.get()+1),t.data.push(l),n.set(t.data.length-1);const d={level:l,lastLevel:c,originalEvent:a};return n.get()>0?(e.setDirty(!0),e.dispatch("AddUndo",d),e.dispatch("change",d)):e.dispatch("AddUndo",d),l})(e,t,n,r,o,i,a),undo:(t,n,r)=>((e,t,n,r)=>{let o;return t.typing&&(t.add(),t.typing=!1,GA(t,!1,n)),r.get()>0&&(r.set(r.get()-1),o=t.data[r.get()],HA(e,o,!0),e.setDirty(!0),e.dispatch("Undo",{level:o})),o})(e,t,n,r),redo:(t,n)=>((e,t,n)=>{let r;return t.get()<n.length-1&&(t.set(t.get()+1),r=n[t.get()],HA(e,r,!1),e.setDirty(!0),e.dispatch("Redo",{level:r})),r})(e,t,n),clear:(t,n)=>((e,t,n)=>{t.data=[],n.set(0),t.typing=!1,e.dispatch("ClearUndos")})(e,t,n),reset:e=>(e=>{e.clear(),e.add()})(e),hasUndo:(t,n)=>((e,t,n)=>n.get()>0||t.typing&&t.data[0]&&!YA(UA(e),t.data[0]))(e,t,n),hasRedo:(e,t)=>((e,t)=>t.get()<e.data.length-1&&!e.typing)(e,t),transact:(e,t,n)=>((e,t,n)=>(KA(e,t),e.beforeChange(),e.ignore(n),e.add()))(e,t,n),ignore:(e,t)=>((e,t)=>{try{e.set(e.get()+1),t()}finally{e.set(e.get()-1)}})(e,t),extra:(t,n,r,o)=>((e,t,n,r,o)=>{if(t.transact(r)){const r=t.data[n.get()].bookmark,i=t.data[n.get()-1];HA(e,i,!0),t.transact(o)&&(t.data[n.get()-1].beforeBookmark=r)}})(e,t,n,r,o)},formatter:{match:(t,n,r,o)=>Pv(e,t,n,r,o),matchAll:(t,n)=>((e,t,n)=>{const r=[],o={},i=e.selection.getStart();return e.dom.getParent(i,(i=>{for(let a=0;a<t.length;a++){const s=t[a];!o[s]&&Tv(e,i,s,n)&&(o[s]=!0,r.push(s))}}),e.dom.getRoot()),r})(e,t,n),matchNode:(t,n,r,o)=>Tv(e,t,n,r,o),canApply:t=>((e,t)=>{const n=e.formatter.get(t),r=e.dom;if(n){const t=e.selection.getStart(),o=Jd(r,t);for(let e=n.length-1;e>=0;e--){const t=n[e];if(!rf(t))return!0;for(let e=o.length-1;e>=0;e--)if(r.is(o[e],t.selector))return!0}}return!1})(e,t),closest:t=>Mv(e,t),apply:(t,n,r)=>Tb(e,t,n,r),remove:(t,n,r,o)=>Sb(e,t,n,r,o),toggle:(t,n,r)=>((e,t,n,r)=>{const o=e.formatter.get(t);o&&(!Pv(e,t,n,r)||"toggle"in o[0]&&!o[0].toggle?Tb(e,t,n,r):Sb(e,t,n,r))})(e,t,n,r),formatChanged:(t,n,r,o,i)=>Ib(e,t,n,r,o,i)},editor:{getContent:t=>((e,t)=>N.from(e.getBody()).fold(O("tree"===t.format?new Dh("body",11):""),(n=>zh(e,t,n))))(e,t),setContent:(t,n)=>Cv(e,t,n),insertContent:(t,n)=>yv(e,t,n),addVisual:t=>((e,t)=>{const n=e.dom,r=C(t)?t:e.getBody();Y(n.select("table,a",r),(t=>{switch(t.nodeName){case"TABLE":const r=uc(e),o=n.getAttrib(t,"border");o&&"0"!==o||!e.hasVisual?n.removeClass(t,r):n.addClass(t,r);break;case"A":if(!n.getAttrib(t,"href")){const r=n.getAttrib(t,"name")||t.id,o=dc(e);r&&e.hasVisual?n.addClass(t,o):n.removeClass(t,o)}}})),e.dispatch("VisualAid",{element:t,hasVisual:e.hasVisual})})(e,t)},selection:{getContent:(t,n)=>((e,t,n={})=>{const r=((e,t)=>({...e,format:t,get:!0,selection:!0,getInner:!0}))(n,t);return hA(e,r).fold(j,(t=>{const n=IA(e,t);return mA(e,n,t)}))})(e,t,n)},autocompleter:{addDecoration:t=>Bh(e,t),removeDecoration:()=>((e,t)=>Oh(t).each((t=>{const n=e.selection.getBookmark();er(t),e.selection.moveToBookmark(n)})))(e,dn.fromDom(e.getBody()))},raw:{getModel:()=>N.none()}}),XA=e=>we(e.plugins,"rtc"),QA=e=>{const t=e;return(e=>_e(e.plugins,"rtc").bind((e=>N.from(e.setup))))(e).fold((()=>(t.rtcInstance=$A(e),N.none())),(e=>(t.rtcInstance=(()=>{const e=O(null),t=O("");return{init:{bindEvents:S},undoManager:{beforeChange:S,add:e,undo:e,redo:e,clear:S,reset:S,hasUndo:L,hasRedo:L,transact:e,ignore:S,extra:S},formatter:{match:L,matchAll:O([]),matchNode:O(void 0),canApply:L,closest:t,apply:S,remove:S,toggle:S,formatChanged:O({unbind:S})},editor:{getContent:t,setContent:O({content:"",html:""}),insertContent:O(""),addVisual:S},selection:{getContent:t},autocompleter:{addDecoration:S,removeDecoration:S},raw:{getModel:O(N.none())}}})(),N.some((()=>e().then((e=>(t.rtcInstance=(e=>{const t=e=>m(e)?e:{},{init:n,undoManager:r,formatter:o,editor:i,selection:a,autocompleter:s,raw:l}=e;return{init:{bindEvents:n.bindEvents},undoManager:{beforeChange:r.beforeChange,add:r.add,undo:r.undo,redo:r.redo,clear:r.clear,reset:r.reset,hasUndo:r.hasUndo,hasRedo:r.hasRedo,transact:(e,t,n)=>r.transact(n),ignore:(e,t)=>r.ignore(t),extra:(e,t,n,o)=>r.extra(n,o)},formatter:{match:(e,n,r,i)=>o.match(e,t(n),i),matchAll:o.matchAll,matchNode:o.matchNode,canApply:e=>o.canApply(e),closest:e=>o.closest(e),apply:(e,n,r)=>o.apply(e,t(n)),remove:(e,n,r,i)=>o.remove(e,t(n)),toggle:(e,n,r)=>o.toggle(e,t(n)),formatChanged:(e,t,n,r,i)=>o.formatChanged(t,n,r,i)},editor:{getContent:e=>i.getContent(e),setContent:(e,t)=>({content:i.setContent(e,t),html:""}),insertContent:(e,t)=>(i.insertContent(e),""),addVisual:i.addVisual},selection:{getContent:(e,t)=>a.getContent(t)},autocompleter:{addDecoration:s.addDecoration,removeDecoration:s.removeDecoration},raw:{getModel:()=>N.some(l.getRawModel())}}})(e),e.rtc.isRemote))))))))},JA=e=>e.rtcInstance?e.rtcInstance:$A(e),ex=e=>{const t=e.rtcInstance;if(t)return t;throw new Error("Failed to get RTC instance not yet initialized.")},tx=e=>ex(e).init.bindEvents(),nx=(e,t={})=>((e,t,n)=>ex(e).selection.getContent(t,n))(e,t.format?t.format:"html",t),rx=e=>0===e.dom.length?(Jn(e),N.none()):N.some(e),ox=(e,t,n,r)=>{e.bind((e=>((r?Vm:Wm)(e.dom,r?e.dom.length:0),t.filter(zt).map((t=>((e,t,n,r)=>{const o=e.dom,i=t.dom,a=r?o.length:i.length;r?(Ym(o,i,!1,!r),n.setStart(i,a)):(Ym(i,o,!1,!r),n.setEnd(i,a))})(e,t,n,r)))))).orThunk((()=>{const e=((e,t)=>e.filter((e=>Tf.isBookmarkNode(e.dom))).bind(t?Cn:xn))(t,r).or(t).filter(zt);return e.map((e=>((e,t)=>{An(e).each((n=>{const r=e.dom;t&&Dm(n,gs(r,0))?Wm(r,0):!t&&Rm(n,gs(r,r.length))&&Vm(r,r.length)}))})(e,r)))}))},ix=(e,t,n={})=>{const r=((e,t)=>({format:"html",...e,set:!0,selection:!0,content:t}))(n,t);gA(e,r).each((t=>{const n=((e,t)=>{if("raw"!==t.format){const n=e.selection.getRng(),r=e.dom.getParent(n.commonAncestorContainer,e.dom.isBlock),o=r?{context:r.nodeName.toLowerCase()}:{},i=e.parser.parse(t.content,{forced_root_block:!1,...o,...t});return Hh({validate:!1},e.schema).serialize(i)}return t.content})(e,t),r=e.selection.getRng();((e,t)=>{const n=N.from(t.firstChild).map(dn.fromDom),r=N.from(t.lastChild).map(dn.fromDom);e.deleteContents(),e.insertNode(t);const o=n.bind(xn).filter(zt).bind(rx),i=r.bind(Cn).filter(zt).bind(rx);ox(o,n,e,!0),ox(i,r,e,!1),e.collapse(!1)})(r,r.createContextualFragment(n)),e.selection.setRng(r),Hp(e,r),vA(e,n,t)}))},ax=(e,t,n)=>{if(we(e,t)){const r=K(e[t],(e=>e!==n));0===r.length?delete e[t]:e[t]=r}};var sx=(e,t)=>{let n,r;const o=(t,n)=>J(n,(n=>e.is(n,t))),i=t=>e.getParents(t,void 0,e.getRoot());return{selectorChangedWithUnbind:(e,a)=>(n||(n={},r={},t.on("NodeChange",(e=>{const t=e.element,a=i(t),s={};me(n,((e,t)=>{o(t,a).each((n=>{r[t]||(Y(e,(e=>{e(!0,{node:n,selector:t,parents:a})})),r[t]=e),s[t]=e}))})),me(r,((e,n)=>{s[n]||(delete r[n],Y(e,(e=>{e(!1,{node:t,selector:n,parents:a})})))}))}))),n[e]||(n[e]=[]),n[e].push(a),o(e,i(t.selection.getStart())).each((()=>{r[e]=n[e]})),{unbind:()=>{ax(n,e,a),ax(r,e,a)}})}};const lx=e=>!(!e||!e.ownerDocument)&&gn(dn.fromDom(e.ownerDocument),dn.fromDom(e)),cx=(e,t,n,r)=>{let o,i;const{selectorChangedWithUnbind:a}=sx(e,r),s=(e,t)=>ix(r,e,t),l=e=>{const t=u();t.collapse(!!e),d(t)},c=()=>t.getSelection?t.getSelection():t.document.selection,u=()=>{let n;const a=(e,t,n)=>{try{return t.compareBoundaryPoints(e,n)}catch(e){return-1}},s=t.document;if(C(r.bookmark)&&!hh(r)){const e=th(r);if(e.isSome())return e.map((e=>Ch(r,[e])[0])).getOr(s.createRange())}try{const e=c();e&&!gr(e.anchorNode)&&(n=e.rangeCount>0?e.getRangeAt(0):s.createRange(),n=Ch(r,[n])[0])}catch(e){}if(n||(n=s.createRange()),jr(n.startContainer)&&n.collapsed){const t=e.getRoot();n.setStart(t,0),n.setEnd(t,0)}return o&&i&&(0===a(n.START_TO_START,n,o)&&0===a(n.END_TO_END,n,o)?n=i:(o=null,i=null)),n},d=(e,t)=>{if(!(e=>!!e&&lx(e.startContainer)&&lx(e.endContainer))(e))return;const n=c();if(e=r.dispatch("SetSelectionRange",{range:e,forward:t}).range,n){i=e;try{n.removeAllRanges(),n.addRange(e)}catch(e){}!1===t&&n.extend&&(n.collapse(e.endContainer,e.endOffset),n.extend(e.startContainer,e.startOffset)),o=n.rangeCount>0?n.getRangeAt(0):null}if(!e.collapsed&&e.startContainer===e.endContainer&&(null==n?void 0:n.setBaseAndExtent)&&e.endOffset-e.startOffset<2&&e.startContainer.hasChildNodes()){const t=e.startContainer.childNodes[e.startOffset];t&&"IMG"===t.nodeName&&(n.setBaseAndExtent(e.startContainer,e.startOffset,e.endContainer,e.endOffset),n.anchorNode===e.startContainer&&n.focusNode===e.endContainer||n.setBaseAndExtent(t,0,t,1))}r.dispatch("AfterSetSelectionRange",{range:e,forward:t})},f=()=>{const t=c(),n=null==t?void 0:t.anchorNode,r=null==t?void 0:t.focusNode;if(!t||!n||!r||gr(n)||gr(r))return!0;const o=e.createRng(),i=e.createRng();try{o.setStart(n,t.anchorOffset),o.collapse(!0),i.setStart(r,t.focusOffset),i.collapse(!0)}catch(e){return!0}return o.compareBoundaryPoints(o.START_TO_START,i)<=0},p={dom:e,win:t,serializer:n,editor:r,collapse:l,setCursorLocation:(t,n)=>{const o=e.createRng();C(t)&&C(n)?(o.setStart(t,n),o.setEnd(t,n),d(o),l(!1)):(Dd(e,o,r.getBody(),!0),d(o))},getContent:e=>nx(r,e),setContent:s,getBookmark:(e,t)=>h.getBookmark(e,t),moveToBookmark:e=>h.moveToBookmark(e),select:(t,n)=>(((e,t,n)=>N.from(t).bind((t=>N.from(t.parentNode).map((r=>{const o=e.nodeIndex(t),i=e.createRng();return i.setStart(r,o),i.setEnd(r,o+1),n&&(Dd(e,i,t,!0),Dd(e,i,t,!1)),i})))))(e,t,n).each(d),t),isCollapsed:()=>{const e=u(),t=c();return!(!e||e.item)&&(e.compareEndPoints?0===e.compareEndPoints("StartToEnd",e):!t||e.collapsed)},isForward:f,setNode:t=>(s(e.getOuterHTML(t)),t),getNode:()=>((e,t)=>{if(!t)return e;let n=t.startContainer,r=t.endContainer;const o=t.startOffset,i=t.endOffset;let a=t.commonAncestorContainer;t.collapsed||(n===r&&i-o<2&&n.hasChildNodes()&&(a=n.childNodes[o]),Sr(n)&&Sr(r)&&(n=n.length===o?xh(n.nextSibling,!0):n.parentNode,r=0===i?xh(r.previousSibling,!1):r.parentNode,n&&n===r&&(a=n)));const s=Sr(a)?a.parentNode:a;return vr(s)?s:e})(r.getBody(),u()),getSel:c,setRng:d,getRng:u,getStart:e=>yh(r.getBody(),u(),e),getEnd:e=>Ah(r.getBody(),u(),e),getSelectedBlocks:(t,n)=>((e,t,n,r)=>{const o=[],i=e.getRoot(),a=e.getParent(n||yh(i,t,t.collapsed),e.isBlock),s=e.getParent(r||Ah(i,t,t.collapsed),e.isBlock);if(a&&a!==i&&o.push(a),a&&s&&a!==s){let t=a;const n=new Jr(a,i);for(;(t=n.next())&&t!==s;)e.isBlock(t)&&o.push(t)}return s&&a!==s&&s!==i&&o.push(s),o})(e,u(),t,n),normalize:()=>{const t=u(),n=c();if(!(Sd(n).length>1)&&Rd(r)){const n=bp(e,t);return n.each((e=>{d(e,f())})),n.getOr(t)}return t},selectorChanged:(e,t)=>(a(e,t),p),selectorChangedWithUnbind:a,getScrollContainer:()=>{let t,n=e.getRoot();for(;n&&"BODY"!==n.nodeName;){if(n.scrollHeight>n.clientHeight){t=n;break}n=n.parentNode}return t},scrollIntoView:(e,t)=>{C(e)?((e,t,n)=>{(e.inline?zp:Up)(e,t,n)})(r,e,t):Hp(r,u(),t)},placeCaretAt:(e,t)=>d(up(e,t,r.getDoc())),getBoundingClientRect:()=>{const e=u();return e.collapsed?gs.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:()=>{t=o=i=null,m.destroy()}},h=Tf(p),m=Wf(p,r);return p.bookmarkManager=h,p.controlSelection=m,p},ux=(e,t,n)=>((e,t)=>C(e)&&e.hasEventListeners("PreProcess")&&!t.no_events)(e,n)?((e,t,n)=>{let r;const o=e.dom;let i=t.cloneNode(!0);const a=document.implementation;if(a.createHTMLDocument){const e=a.createHTMLDocument("");Pt.each("BODY"===i.nodeName?i.childNodes:[i],(t=>{e.body.appendChild(e.importNode(t,!0))})),i="BODY"!==i.nodeName?e.body.firstChild:e.body,r=o.doc,o.doc=e}return((e,t)=>{e.dispatch("PreProcess",t)})(e,{...n,node:i}),r&&(o.doc=r),i})(e,t,n):t,dx=(e,t,n)=>{-1===Pt.inArray(t,n)&&(e.addAttributeFilter(n,((e,t)=>{let n=e.length;for(;n--;)e[n].attr(t,null)})),t.push(n))},fx=(e,t,n,r,o)=>{const i=((e,t,n)=>Hh(e,t).serialize(n))(t,n,r);return((e,t,n)=>{if(!t.no_events&&e){const r=((e,t)=>e.dispatch("PostProcess",t))(e,{...t,content:n});return r.content}return n})(e,o,i)},px=(e,t)=>{const n=["data-mce-selected"],r=t&&t.dom?t.dom:la.DOM,o=t&&t.schema?t.schema:qi(e);e.entity_encoding=e.entity_encoding||"named",e.remove_trailing_brs=!("remove_trailing_brs"in e)||e.remove_trailing_brs;const i=fA(e,o);((e,t,n)=>{e.addAttributeFilter("data-mce-tabindex",((e,t)=>{let n=e.length;for(;n--;){const r=e[n];r.attr("tabindex",r.attr("data-mce-tabindex")),r.attr(t,null)}})),e.addAttributeFilter("src,href,style",((e,r)=>{const o="data-mce-"+r,i=t.url_converter,a=t.url_converter_scope;let s=e.length;for(;s--;){const t=e[s];let l=t.attr(o);void 0!==l?(t.attr(r,l.length>0?l:null),t.attr(o,null)):(l=t.attr(r),"style"===r?l=n.serializeStyle(n.parseStyle(l),t.name):i&&(l=i.call(a,l,r,t.name)),t.attr(r,l.length>0?l:null))}})),e.addAttributeFilter("class",(e=>{let t=e.length;for(;t--;){const n=e[t];let r=n.attr("class");r&&(r=r.replace(/(?:^|\s)mce-item-\w+(?!\S)/g,""),n.attr("class",r.length>0?r:null))}})),e.addAttributeFilter("data-mce-type",((e,t,n)=>{let r=e.length;for(;r--;){const t=e[r];if("bookmark"===t.attr("data-mce-type")&&!n.cleanup){const e=N.from(t.firstChild).exists((e=>{var t;return!Bo(null!==(t=e.value)&&void 0!==t?t:"")}));e?t.unwrap():t.remove()}}})),e.addNodeFilter("noscript",(e=>{var t;let n=e.length;for(;n--;){const r=e[n].firstChild;r&&(r.value=Bi.decode(null!==(t=r.value)&&void 0!==t?t:""))}})),e.addNodeFilter("script,style",((e,n)=>{var r;const o=e=>e.replace(/(<!--\[CDATA\[|\]\]-->)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*((<!--)?(\s*\/\/)?\s*<!\[CDATA\[|(<!--\s*)?\/\*\s*<!\[CDATA\[\s*\*\/|(\/\/)?\s*<!--|\/\*\s*<!--\s*\*\/)\s*[\r\n]*/gi,"").replace(/\s*(\/\*\s*\]\]>\s*\*\/(-->)?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"");let i=e.length;for(;i--;){const a=e[i],s=a.firstChild,l=null!==(r=null==s?void 0:s.value)&&void 0!==r?r:"";if("script"===n){const e=a.attr("type");e&&a.attr("type","mce-no/type"===e?null:e.replace(/^mce\-/,"")),"xhtml"===t.element_format&&s&&l.length>0&&(s.value="// <![CDATA[\n"+o(l)+"\n// ]]>")}else"xhtml"===t.element_format&&s&&l.length>0&&(s.value="\x3c!--\n"+o(l)+"\n--\x3e")}})),e.addNodeFilter("#comment",(e=>{let r=e.length;for(;r--;){const o=e[r],i=o.value;t.preserve_cdata&&0===(null==i?void 0:i.indexOf("[CDATA["))?(o.name="#cdata",o.type=4,o.value=n.decode(i.replace(/^\[CDATA\[|\]\]$/g,""))):0===(null==i?void 0:i.indexOf("mce:protected "))&&(o.name="#text",o.type=3,o.raw=!0,o.value=unescape(i).substr(14))}})),e.addNodeFilter("xml:namespace,input",((e,t)=>{let n=e.length;for(;n--;){const r=e[n];7===r.type?r.remove():1===r.type&&("input"!==t||r.attr("type")||r.attr("type","text"))}})),e.addAttributeFilter("data-mce-type",(t=>{Y(t,(t=>{"format-caret"===t.attr("data-mce-type")&&(t.isEmpty(e.schema.getNonEmptyElements())?t.remove():t.unwrap())}))})),e.addAttributeFilter("data-mce-src,data-mce-href,data-mce-style,data-mce-selected,data-mce-expando,data-mce-type,data-mce-resize,data-mce-placeholder",((e,t)=>{let n=e.length;for(;n--;)e[n].attr(t,null)}))})(i,e,r);return{schema:o,addNodeFilter:i.addNodeFilter,addAttributeFilter:i.addAttributeFilter,serialize:(n,a={})=>{const s={format:"html",...a},l=ux(t,n,s),c=((e,t,n)=>{const r=Oo(n.getInner?t.innerHTML:e.getOuterHTML(t));return n.selection||uo(dn.fromDom(t))?r:Pt.trim(r)})(r,l,s),u=((e,t,n)=>{const r=n.selection?{forced_root_block:!1,...n}:n,o=e.parse(t,r);return(e=>{const t=e=>"br"===(null==e?void 0:e.name),n=e.lastChild;if(t(n)){const e=n.prev;t(e)&&(n.remove(),e.remove())}})(o),o})(i,c,s);return"tree"===s.format?u:fx(t,e,o,u,s)},addRules:o.addValidElements,setRules:o.setValidElements,addTempAttr:P(dx,i,n),getTempAttrs:O(n),getNodeFilters:i.getNodeFilters,getAttributeFilters:i.getAttributeFilters,removeNodeFilter:i.removeNodeFilter,removeAttributeFilter:i.removeAttributeFilter}},hx=(e,t)=>{const n=px(e,t);return{schema:n.schema,addNodeFilter:n.addNodeFilter,addAttributeFilter:n.addAttributeFilter,serialize:n.serialize,addRules:n.addRules,setRules:n.setRules,addTempAttr:n.addTempAttr,getTempAttrs:n.getTempAttrs,getNodeFilters:n.getNodeFilters,getAttributeFilters:n.getAttributeFilters,removeNodeFilter:n.removeNodeFilter,removeAttributeFilter:n.removeAttributeFilter}},mx=(e,t={})=>{const n=((e,t)=>({...e,format:t,get:!0,getInner:!0}))(t,t.format?t.format:"html");return hA(e,n).fold(j,(t=>{const n=((e,t)=>JA(e).editor.getContent(t))(e,t);return mA(e,n,t)}))},gx=(e,t,n={})=>{const r=((e,t)=>({format:"html",...e,set:!0,content:t}))(n,t);return gA(e,r).map((t=>{const n=((e,t,n)=>JA(e).editor.setContent(t,n))(e,t.content,t);return vA(e,n.html,t),n.content})).getOr(t)},vx="autoresize_on_init,content_editable_state,padd_empty_with_br,block_elements,boolean_attributes,editor_deselector,editor_selector,elements,file_browser_callback_types,filepicker_validator_handler,force_hex_style_colors,force_p_newlines,gecko_spellcheck,images_dataimg_filter,media_scripts,mode,move_caret_before_on_enter_elements,non_empty_elements,self_closing_elements,short_ended_elements,special,spellchecker_select_languages,spellchecker_whitelist,tab_focus,tabfocus_elements,table_responsive_width,text_block_elements,text_inline_elements,toolbar_drawer,types,validate,whitespace_elements,paste_enable_default_filters,paste_filter_drop,paste_word_valid_elements,paste_retain_style_properties,paste_convert_word_fake_lists".split(","),bx="bbcode,colorpicker,contextmenu,fullpage,legacyoutput,spellchecker,textcolor".split(","),yx=e=>{const t=K(vx,(t=>we(e,t))),n=e.forced_root_block;return!1!==n&&""!==n||t.push("forced_root_block (false only)"),se(t)},Ax=e=>{const t=Pt.makeMap(e.plugins," "),n=K(bx,(e=>we(t,e)));return se(n)},xx=(e,t)=>{((e,t)=>{const n=yx(e),r=Ax(t),o=r.length>0,i=n.length>0,a="mobile"===t.theme;if(o||i||a){const e="\n- ",t=a?`\n\nThemes:${e}mobile`:"",s=o?`\n\nPlugins:${e}${r.join(e)}`:"",l=i?`\n\nOptions:${e}${n.join(e)}`:"";console.warn("The following deprecated features are currently enabled and have been removed in TinyMCE 6.0. These features will no longer work and should be removed from the TinyMCE configuration. See https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/ for more information."+t+s+l)}})(e,t)},Cx=la.DOM,_x=e=>N.from(e).each((e=>e.destroy())),wx=e=>{if(!e.removed){const{_selectionOverrides:t,editorUpload:n}=e,r=e.getBody(),o=e.getElement();r&&e.save({is_removing:!0}),e.removed=!0,e.unbindAllNativeEvents(),e.hasHiddenInput&&C(null==o?void 0:o.nextSibling)&&Cx.remove(o.nextSibling),(e=>{e.dispatch("remove")})(e),e.editorManager.remove(e),!e.inline&&r&&(e=>{Cx.setStyle(e.id,"display",e.orgDisplay)})(e),(e=>{e.dispatch("detach")})(e),Cx.remove(e.getContainer()),_x(t),_x(n),e.destroy()}},kx=(e,t)=>{const{selection:n,dom:r}=e;e.destroyed||(t||e.removed?(t||(e.editorManager.off("beforeunload",e._beforeUnload),e.theme&&e.theme.destroy&&e.theme.destroy(),_x(n),_x(r)),(e=>{const t=e.formElement;t&&(t._mceOldSubmit&&(t.submit=t._mceOldSubmit,delete t._mceOldSubmit),Cx.unbind(t,"submit reset",e.formEventDelegate))})(e),(e=>{const t=e;t.contentAreaContainer=t.formElement=t.container=t.editorContainer=null,t.bodyElement=t.contentDocument=t.contentWindow=null,t.iframeElement=t.targetElm=null;const n=e.selection;if(n){const e=n.dom;t.selection=n.win=n.dom=e.doc=null}})(e),e.destroyed=!0):e.remove())},Sx=(()=>{const e={};return{add:(t,n)=>{e[t]=n},get:t=>e[t]?e[t]:{icons:{}},has:t=>we(e,t)}})(),Ex=ga.ModelManager,Bx=(e,t)=>t.dom[e],Ox=(e,t)=>parseInt(Un(t,e),10),jx=P(Bx,"clientWidth"),Tx=P(Bx,"clientHeight"),Px=P(Ox,"margin-top"),Mx=P(Ox,"margin-left"),Dx=(e,t,n)=>{const r=dn.fromDom(e.getBody()),o=e.inline?r:(i=r,dn.fromDom(bn(i).dom.documentElement));var i;const a=((e,t,n,r)=>{const o=(e=>e.dom.getBoundingClientRect())(t);return{x:n-(e?o.left+t.dom.clientLeft+Mx(t):0),y:r-(e?o.top+t.dom.clientTop+Px(t):0)}})(e.inline,o,t,n);return((e,t,n)=>{const r=jx(e),o=Tx(e);return t>=0&&n>=0&&t<=r&&n<=o})(o,a.x,a.y)},Rx=e=>{const t=e.inline?e.getBody():e.getContentAreaContainer();return(n=t,N.from(n).map(dn.fromDom)).map(Nn).getOr(!1);var n};const Lx=e=>{const t=[],n=()=>{const t=e.theme;return t&&t.getNotificationManagerImpl?t.getNotificationManagerImpl():(()=>{const e=()=>{throw new Error("Theme did not provide a NotificationManager implementation.")};return{open:e,close:e,getArgs:e}})()},r=()=>N.from(t[0]),o=()=>{Y(t,(e=>{e.reposition()}))},i=e=>{ee(t,(t=>t===e)).each((e=>{t.splice(e,1)}))},a=(a,s=!0)=>e.removed||!Rx(e)?{}:(s&&e.dispatch("BeforeOpenNotification",{notification:a}),J(t,(e=>((e,t)=>!(e.type!==t.type||e.text!==t.text||e.progressBar||e.timeout||t.progressBar||t.timeout))(n().getArgs(e),a))).getOrThunk((()=>{e.editorManager.setActive(e);const s=n().open(a,(()=>{i(s),o(),r().fold((()=>e.focus()),(e=>Wp(dn.fromDom(e.getEl()))))}));return(e=>{t.push(e)})(s),o(),e.dispatch("OpenNotification",{notification:{...s}}),s}))),s=O(t);return(e=>{e.on("SkinLoaded",(()=>{const t=zl(e);t&&a({text:t,type:"warning",timeout:0},!1),o()})),e.on("show ResizeEditor ResizeWindow NodeChange",(()=>{requestAnimationFrame(o)})),e.on("remove",(()=>{Y(t.slice(),(e=>{n().close(e)}))}))})(e),{open:a,close:()=>{r().each((e=>{n().close(e),i(e),o()}))},getNotifications:s}},Ix=ga.PluginManager,Nx=ga.ThemeManager;const Fx=e=>{let t=[];const n=()=>{const t=e.theme;return t&&t.getWindowManagerImpl?t.getWindowManagerImpl():(()=>{const e=()=>{throw new Error("Theme did not provide a WindowManager implementation.")};return{open:e,openUrl:e,alert:e,confirm:e,close:e}})()},r=(e,t)=>(...n)=>t?t.apply(e,n):void 0,o=n=>{t.push(n),(t=>{e.dispatch("OpenWindow",{dialog:t})})(n)},i=n=>{(t=>{e.dispatch("CloseWindow",{dialog:t})})(n),t=K(t,(e=>e!==n)),0===t.length&&e.focus()},a=t=>{e.editorManager.setActive(e),eh(e),e.ui.show();const n=t();return o(n),n};return e.on("remove",(()=>{Y(t,(e=>{n().close(e)}))})),{open:(e,t)=>a((()=>n().open(e,t,i))),openUrl:e=>a((()=>n().openUrl(e,i))),alert:(e,t,o)=>{const i=n();i.alert(e,r(o||i,t))},confirm:(e,t,o)=>{const i=n();i.confirm(e,r(o||i,t))},close:()=>{N.from(t[t.length-1]).each((e=>{n().close(e),i(e)}))}}},zx=(e,t)=>{e.notificationManager.open({type:"error",text:t})},qx=(e,t)=>{e._skinLoaded?zx(e,t):e.on("SkinLoaded",(()=>{zx(e,t)}))},Ux=(e,t,n)=>{Mf(e,t,{message:n}),console.error(n)},Hx=(e,t,n)=>n?`Failed to load ${e}: ${n} from url ${t}`:`Failed to load ${e} url: ${t}`,Wx=(e,...t)=>{const n=window.console;n&&(n.error?n.error(e,...t):n.log(e,...t))},Vx=(e,t)=>{const n=e.editorManager.baseURL+"/skins/content",r=`content${e.editorManager.suffix}.css`;return V(t,(t=>(e=>/^[a-z0-9\-]+$/i.test(e))(t)&&!e.inline?`${n}/${t}/${r}`:e.documentBaseURI.toAbsolute(t)))},Yx=e=>{e.contentCSS=e.contentCSS.concat((e=>Vx(e,Tl(e)))(e),(e=>Vx(e,Ml(e)))(e))},Zx=I,Gx=(e,t)=>{const n={};return{findAll:(r,o=I)=>{const i=K((e=>e?de(e.getElementsByTagName("img")):[])(r),(t=>{const n=t.src;return!t.hasAttribute("data-mce-bogus")&&(!t.hasAttribute("data-mce-placeholder")&&(!(!n||n===Bt.transparentSrc)&&(Ue(n,"blob:")?!e.isUploaded(n)&&o(t):!!Ue(n,"data:")&&o(t))))})),a=V(i,(e=>{const r=e.src;if(we(n,r))return n[r].then((t=>h(t)?t:{image:e,blobInfo:t.blobInfo}));{const o=((e,t)=>{const n=()=>Promise.reject("Invalid data URI");if(Ue(t,"blob:")){const r=e.getByUri(t);return C(r)?Promise.resolve(r):Wy(t).then((t=>Vy(t).then((r=>Zy(r,!1,(n=>N.some(Gy(e,t,n)))).getOrThunk(n)))))}return Ue(t,"data:")?Ky(e,t).fold(n,(e=>Promise.resolve(e))):Promise.reject("Unknown image data format")})(t,r).then((t=>(delete n[r],{image:e,blobInfo:t}))).catch((e=>(delete n[r],e)));return n[r]=o,o}}));return Promise.all(a)}}},Kx=()=>{let e={};const t=(e,t)=>({status:e,resultUri:t}),n=t=>t in e;return{hasBlobUri:n,getResultUri:t=>{const n=e[t];return n?n.resultUri:null},isPending:t=>!!n(t)&&1===e[t].status,isUploaded:t=>!!n(t)&&2===e[t].status,markPending:n=>{e[n]=t(1,null)},markUploaded:(n,r)=>{e[n]=t(2,r)},removeFailed:t=>{delete e[t]},destroy:()=>{e={}}}};let $x=0;const Xx=e=>e+$x+++(()=>{const e=()=>Math.round(4294967295*Math.random()).toString(36);return"s"+(new Date).getTime().toString(36)+e()+e()+e()})(),Qx=(e,t)=>{const n={},r=(e,n)=>new Promise(((r,o)=>{const i=new XMLHttpRequest;i.open("POST",t.url),i.withCredentials=t.credentials,i.upload.onprogress=e=>{n(e.loaded/e.total*100)},i.onerror=()=>{o("Image upload failed due to a XHR Transport error. Code: "+i.status)},i.onload=()=>{if(i.status<200||i.status>=300)return void o("HTTP Error: "+i.status);const e=JSON.parse(i.responseText);var n,a;e&&h(e.location)?r((n=t.basePath,a=e.location,n?n.replace(/\/$/,"")+"/"+a.replace(/^\//,""):a)):o("Invalid JSON: "+i.responseText)};const a=new FormData;a.append("file",e.blob(),e.filename()),i.send(a)})),o=_(t.handler)?t.handler:r,i=(e,t)=>({url:t,blobInfo:e,status:!0}),a=(e,t)=>({url:"",blobInfo:e,status:!1,error:t}),s=(e,t)=>{Pt.each(n[e],(e=>{e(t)})),delete n[e]},l=(t,r)=>(t=Pt.grep(t,(t=>!e.isUploaded(t.blobUri()))),Promise.all(Pt.map(t,(t=>e.isPending(t.blobUri())?(e=>{const t=e.blobUri();return new Promise((e=>{n[t]=n[t]||[],n[t].push(e)}))})(t):((t,n,r)=>(e.markPending(t.blobUri()),new Promise((o=>{let l,c;try{const u=()=>{l&&(l.close(),c=S)},d=n=>{u(),e.markUploaded(t.blobUri(),n),s(t.blobUri(),i(t,n)),o(i(t,n))},f=n=>{u(),e.removeFailed(t.blobUri()),s(t.blobUri(),a(t,n)),o(a(t,n))};c=e=>{e<0||e>100||N.from(l).orThunk((()=>N.from(r).map(D))).each((t=>{l=t,t.progressBar.value(e)}))},n(t,c).then(d,(e=>{f(h(e)?{message:e}:e)}))}catch(e){o(a(t,e))}}))))(t,o,r)))));return{upload:(e,n)=>t.url||o!==r?l(e,n):new Promise((e=>{e([])}))}},Jx=e=>()=>e.notificationManager.open({text:e.translate("Image uploading..."),type:"info",timeout:-1,progressBar:!0}),eC=(e,t)=>Qx(t,{url:xl(e),basePath:Cl(e),credentials:_l(e),handler:wl(e)}),tC=e=>{const t=(()=>{let e=[];const t=e=>{if(!e.blob||!e.base64)throw new Error("blob and base64 representations of the image are required for BlobInfo to be created");const t=e.id||Xx("blobid"),n=e.name||t,r=e.blob;return{id:O(t),name:O(n),filename:O(e.filename||n+"."+(o=r.type,{"image/jpeg":"jpg","image/jpg":"jpg","image/gif":"gif","image/png":"png","image/apng":"apng","image/avif":"avif","image/svg+xml":"svg","image/webp":"webp","image/bmp":"bmp","image/tiff":"tiff"}[o.toLowerCase()]||"dat")),blob:O(r),base64:O(e.base64),blobUri:O(e.blobUri||URL.createObjectURL(r)),uri:O(e.uri)};var o},n=t=>J(e,t).getOrUndefined(),r=e=>n((t=>t.id()===e));return{create:(e,n,r,o,i)=>{if(h(e))return t({id:e,name:o,filename:i,blob:n,base64:r});if(m(e))return t(e);throw new Error("Unknown input type")},add:t=>{r(t.id())||e.push(t)},get:r,getByUri:e=>n((t=>t.blobUri()===e)),getByData:(e,t)=>n((n=>n.base64()===e&&n.blob().type===t)),findFirst:n,removeByUri:t=>{e=K(e,(e=>e.blobUri()!==t||(URL.revokeObjectURL(e.blobUri()),!1)))},destroy:()=>{Y(e,(e=>{URL.revokeObjectURL(e.blobUri())})),e=[]}}})();let n,r;const o=Kx(),i=[],a=t=>n=>e.selection?t(n):[],s=(e,t,n)=>{let r=0;do{r=e.indexOf(t,r),-1!==r&&(e=e.substring(0,r)+n+e.substr(r+t.length),r+=n.length-t.length+1)}while(-1!==r);return e},l=(e,t,n)=>{const r=`src="${n}"${n===Bt.transparentSrc?' data-mce-placeholder="1"':""}`;return e=s(e,`src="${t}"`,r),e=s(e,'data-mce-src="'+t+'"','data-mce-src="'+n+'"')},c=(t,n)=>{Y(e.undoManager.data,(e=>{"fragmented"===e.type?e.fragments=V(e.fragments,(e=>l(e,t,n))):e.content=l(e.content,t,n)}))},u=()=>(n||(n=eC(e,o)),p().then(a((r=>{const o=V(r,(e=>e.blobInfo));return n.upload(o,Jx(e)).then(a((n=>{const o=[];let i=!1;const a=V(n,((n,a)=>{const{blobInfo:s,image:l}=r[a];let u=!1;return n.status&&bl(e)?(n.url&&!qe(l.src,n.url)&&(i=!0),t.removeByUri(l.src),XA(e)||((t,n)=>{const r=e.convertURL(n,"src");var o;c(t.src,n),Yt(dn.fromDom(t),{src:vl(e)?(o=n,o+(-1===o.indexOf("?")?"?":"&")+(new Date).getTime()):n,"data-mce-src":r})})(l,n.url)):n.error&&(n.error.remove&&(c(l.src,Bt.transparentSrc),o.push(l),u=!0),((e,t)=>{qx(e,ma.translate(["Failed to upload image: {0}",t]))})(e,n.error.message)),{element:l,status:n.status,uploadUri:n.url,blobInfo:s,removed:u}}));return o.length>0&&!XA(e)?e.undoManager.transact((()=>{Y(o,(n=>{e.dom.remove(n),t.removeByUri(n.src)}))})):i&&e.undoManager.dispatchChange(),a})))})))),d=()=>gl(e)?u():Promise.resolve([]),f=e=>re(i,(t=>t(e))),p=()=>(r||(r=Gx(o,t)),r.findAll(e.getBody(),f).then(a((t=>{const n=K(t,(t=>!h(t)||(qx(e,t),!1)));return XA(e)||Y(n,(e=>{c(e.image.src,e.blobInfo.blobUri()),e.image.src=e.blobInfo.blobUri(),e.image.removeAttribute("data-mce-src")})),n})))),g=n=>n.replace(/src="(blob:[^"]+)"/g,((n,r)=>{const i=o.getResultUri(r);if(i)return'src="'+i+'"';let a=t.getByUri(r);if(a||(a=X(e.editorManager.get(),((e,t)=>e||t.editorUpload&&t.editorUpload.blobCache.getByUri(r)),void 0)),a){return'src="data:'+a.blob().type+";base64,"+a.base64()+'"'}return n}));return e.on("SetContent",(()=>{gl(e)?d():p()})),e.on("RawSaveContent",(e=>{e.content=g(e.content)})),e.on("GetContent",(e=>{e.source_view||"raw"===e.format||"tree"===e.format||(e.content=g(e.content))})),e.on("PostRender",(()=>{e.parser.addNodeFilter("img",(e=>{Y(e,(e=>{const n=e.attr("src");if(!n||t.getByUri(n))return;const r=o.getResultUri(n);r&&e.attr("src",r)}))}))})),{blobCache:t,addFilter:e=>{i.push(e)},uploadImages:u,uploadImagesAuto:d,scanForImages:p,destroy:()=>{t.destroy(),o.destroy(),r=n=null}}},nC={remove_similar:!0,inherit:!1},rC={selector:"td,th",...nC},oC={tablecellbackgroundcolor:{styles:{backgroundColor:"%value"},...rC},tablecellverticalalign:{styles:{"vertical-align":"%value"},...rC},tablecellbordercolor:{styles:{borderColor:"%value"},...rC},tablecellclass:{classes:["%value"],...rC},tableclass:{selector:"table",classes:["%value"],...nC},tablecellborderstyle:{styles:{borderStyle:"%value"},...rC},tablecellborderwidth:{styles:{borderWidth:"%value"},...rC}},iC=O(oC),aC=e=>{const t={},n=(e,r)=>{e&&(h(e)?(v(r)||(r=[r]),Y(r,(e=>{A(e.deep)&&(e.deep=!rf(e)),A(e.split)&&(e.split=!rf(e)||of(e)),A(e.remove)&&rf(e)&&!of(e)&&(e.remove="none"),rf(e)&&of(e)&&(e.mixed=!0,e.block_expand=!0),h(e.classes)&&(e.classes=e.classes.split(/\s+/))})),t[e]=r):me(e,((e,t)=>{n(t,e)})))};return n((e=>{const t=e.dom,n=e.schema.type,r={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"left"},inherit:!1,preview:!1},{selector:"img,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"},{selector:"table",collapsed:!1,styles:{marginLeft:"0px",marginRight:"auto"},onformat:e=>{t.setStyle(e,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{float:"left"}}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"},{selector:".mce-preview-object",ceFalseOverride:!0,styles:{display:"table",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{marginLeft:"auto",marginRight:"auto"},preview:!1}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"},{selector:"table",collapsed:!1,styles:{marginRight:"0px",marginLeft:"auto"},onformat:e=>{t.setStyle(e,"float",null)},preview:"font-family font-size"},{selector:".mce-preview-object,[data-ephox-embed-iri]",ceFalseOverride:!0,styles:{float:"right"},preview:!1}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li,pre",styles:{textAlign:"justify"},inherit:!1,preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:(()=>{const e={inline:"span",styles:{textDecoration:"line-through"},exact:!0},t={inline:"strike",remove:"all",preserve_attributes:["class","style"]},r={inline:"s",remove:"all",preserve_attributes:["class","style"]};return"html4"!==n?[r,e,t]:[e,r,t]})(),forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:(e,t,n)=>vr(e)&&e.hasAttribute("href"),onformat:(e,n,r)=>{Pt.each(r,((n,r)=>{t.setAttrib(e,r,n)}))}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":e=>{var t;return null!==(t=null==e?void 0:e.customValue)&&void 0!==t?t:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]};return Pt.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),(e=>{r[e]={block:e,remove:"all"}})),r})(e)),n(iC()),n(Yl(e)),{get:e=>C(e)?t[e]:t,has:e=>we(t,e),register:n,unregister:e=>(e&&t[e]&&delete t[e],t)}},sC=Pt.each,lC=la.DOM,cC=e=>C(e)&&m(e),uC=(e,t)=>{const n=t&&t.schema||qi({}),r=e=>{const t=h(e)?{name:e,classes:[],attrs:{}}:e,n=lC.create(t.name);return((e,t)=>{t.classes.length>0&&lC.addClass(e,t.classes.join(" ")),lC.setAttribs(e,t.attrs)})(n,t),n},o=(e,t,i)=>{let a;const s=t[0],l=cC(s)?s.name:void 0,c=((e,t)=>{const r=n.getElementRule(e.nodeName.toLowerCase()),o=null==r?void 0:r.parentsRequired;return!(!o||!o.length)&&(t&&H(o,t)?t:o[0])})(e,l);if(c)l===c?(a=s,t=t.slice(1)):a=c;else if(s)a=s,t=t.slice(1);else if(!i)return e;const u=a?r(a):lC.create("div");u.appendChild(e),i&&Pt.each(i,(t=>{const n=r(t);u.insertBefore(n,e)}));const d=cC(a)?a.siblings:void 0;return o(u,t,d)},i=lC.create("div");if(e.length>0){const t=e[0],n=r(t),a=cC(t)?t.siblings:void 0;i.appendChild(o(n,e.slice(1),a))}return i},dC=e=>{let t="div";const n={name:t,classes:[],attrs:{},selector:e=Pt.trim(e)};return"*"!==e&&(t=e.replace(/(?:([#\.]|::?)([\w\-]+)|(\[)([^\]]+)\]?)/g,((e,t,r,o,i)=>{switch(t){case"#":n.attrs.id=r;break;case".":n.classes.push(r);break;case":":-1!==Pt.inArray("checked disabled enabled read-only required".split(" "),r)&&(n.attrs[r]=r)}if("["===o){const e=i.match(/([\w\-]+)(?:\=\"([^\"]+))?/);e&&(n.attrs[e[1]]=e[2])}return""}))),n.name=t||"div",n},fC=(e,t)=>{let n="",r=Zl(e);if(""===r)return"";const o=e=>h(e)?e.replace(/%(\w+)/g,""):"",i=(t,n)=>lC.getStyle(null!=n?n:e.getBody(),t,!0);if(h(t)){const n=e.formatter.get(t);if(!n)return"";t=n[0]}if("preview"in t){const e=t.preview;if(!1===e)return"";r=e||r}let a,s=t.block||t.inline||"span";const l=(c=t.selector,h(c)?(c=(c=c.split(/\s*,\s*/)[0]).replace(/\s*(~\+|~|\+|>)\s*/g,"$1"),Pt.map(c.split(/(?:>|\s+(?![^\[\]]+\]))/),(e=>{const t=Pt.map(e.split(/(?:~\+|~|\+)/),dC),n=t.pop();return t.length&&(n.siblings=t),n})).reverse()):[]);var c;l.length>0?(l[0].name||(l[0].name=s),s=t.selector,a=uC(l,e)):a=uC([s],e);const u=lC.select(s,a)[0]||a.firstChild;sC(t.styles,((e,t)=>{const n=o(e);n&&lC.setStyle(u,t,n)})),sC(t.attributes,((e,t)=>{const n=o(e);n&&lC.setAttrib(u,t,n)})),sC(t.classes,(e=>{const t=o(e);lC.hasClass(u,t)||lC.addClass(u,t)})),e.dispatch("PreviewFormats"),lC.setStyles(a,{position:"absolute",left:-65535}),e.getBody().appendChild(a);const d=i("fontSize"),f=/px$/.test(d)?parseInt(d,10):0;return sC(r.split(" "),(e=>{let t=i(e,u);if(!("background-color"===e&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(t)&&(t=i(e),"#ffffff"===kd(t).toLowerCase())||"color"===e&&"#000000"===kd(t).toLowerCase())){if("font-size"===e&&/em|%$/.test(t)){if(0===f)return;t=parseFloat(t)/(/%$/.test(t)?100:1)*f+"px"}"border"===e&&t&&(n+="padding:0 2px;"),n+=e+":"+t+";"}})),e.dispatch("AfterPreviewFormats"),lC.remove(a),n},pC=e=>{const t=aC(e),n=da({});return(e=>{e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(let t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])})(e),Wv(e),XA(e)||((e,t)=>{e.set({}),t.on("NodeChange",(n=>{Lb(t,n.element,e.get())})),t.on("FormatApply FormatRemove",(n=>{const r=N.from(n.node).map((e=>Nd(e)?e:e.startContainer)).bind((e=>vr(e)?N.some(e):N.from(e.parentElement))).getOrThunk((()=>Mb(t)));Lb(t,r,e.get())}))})(n,e),{get:t.get,has:t.has,register:t.register,unregister:t.unregister,apply:(t,n,r)=>{((e,t,n,r)=>{ex(e).formatter.apply(t,n,r)})(e,t,n,r)},remove:(t,n,r,o)=>{((e,t,n,r,o)=>{ex(e).formatter.remove(t,n,r,o)})(e,t,n,r,o)},toggle:(t,n,r)=>{((e,t,n,r)=>{ex(e).formatter.toggle(t,n,r)})(e,t,n,r)},match:(t,n,r,o)=>((e,t,n,r,o)=>ex(e).formatter.match(t,n,r,o))(e,t,n,r,o),closest:t=>((e,t)=>ex(e).formatter.closest(t))(e,t),matchAll:(t,n)=>((e,t,n)=>ex(e).formatter.matchAll(t,n))(e,t,n),matchNode:(t,n,r,o)=>((e,t,n,r,o)=>ex(e).formatter.matchNode(t,n,r,o))(e,t,n,r,o),canApply:t=>((e,t)=>ex(e).formatter.canApply(t))(e,t),formatChanged:(t,r,o,i)=>((e,t,n,r,o,i)=>ex(e).formatter.formatChanged(t,n,r,o,i))(e,n,t,r,o,i),getCssText:P(fC,e)}},hC=e=>{switch(e.toLowerCase()){case"undo":case"redo":case"mcefocus":return!0;default:return!1}},mC=e=>{const t=ba(),n=da(0),r=da(0),o={data:[],typing:!1,beforeChange:()=>{((e,t,n)=>{ex(e).undoManager.beforeChange(t,n)})(e,n,t)},add:(i,a)=>((e,t,n,r,o,i,a)=>ex(e).undoManager.add(t,n,r,o,i,a))(e,o,r,n,t,i,a),dispatchChange:()=>{e.setDirty(!0);const t=UA(e);t.bookmark=Ns(e.selection),e.dispatch("change",{level:t,lastLevel:le(o.data,r.get()).getOrUndefined()})},undo:()=>((e,t,n,r)=>ex(e).undoManager.undo(t,n,r))(e,o,n,r),redo:()=>((e,t,n)=>ex(e).undoManager.redo(t,n))(e,r,o.data),clear:()=>{((e,t,n)=>{ex(e).undoManager.clear(t,n)})(e,o,r)},reset:()=>{((e,t)=>{ex(e).undoManager.reset(t)})(e,o)},hasUndo:()=>((e,t,n)=>ex(e).undoManager.hasUndo(t,n))(e,o,r),hasRedo:()=>((e,t,n)=>ex(e).undoManager.hasRedo(t,n))(e,o,r),transact:t=>((e,t,n,r)=>ex(e).undoManager.transact(t,n,r))(e,o,n,t),ignore:t=>{((e,t,n)=>{ex(e).undoManager.ignore(t,n)})(e,n,t)},extra:(t,n)=>{((e,t,n,r,o)=>{ex(e).undoManager.extra(t,n,r,o)})(e,o,r,t,n)}};return XA(e)||((e,t,n)=>{const r=da(!1),o=e=>{GA(t,!1,n),t.add({},e)};e.on("init",(()=>{t.add()})),e.on("BeforeExecCommand",(e=>{const r=e.command;hC(r)||(KA(t,n),t.beforeChange())})),e.on("ExecCommand",(e=>{const t=e.command;hC(t)||o(e)})),e.on("ObjectResizeStart cut",(()=>{t.beforeChange()})),e.on("SaveContent ObjectResized blur",o),e.on("dragend",o),e.on("keyup",(n=>{const i=n.keyCode;n.isDefaultPrevented()||((i>=33&&i<=36||i>=37&&i<=40||45===i||n.ctrlKey)&&(o(),e.nodeChanged()),46!==i&&8!==i||e.nodeChanged(),r.get()&&t.typing&&!YA(UA(e),t.data[0])&&(e.isDirty()||e.setDirty(!0),e.dispatch("TypingUndo"),r.set(!1),e.nodeChanged()))})),e.on("keydown",(e=>{const i=e.keyCode;if(e.isDefaultPrevented())return;if(i>=33&&i<=36||i>=37&&i<=40||45===i)return void(t.typing&&o(e));const a=e.ctrlKey&&!e.altKey||e.metaKey;!(i<16||i>20)||224===i||91===i||t.typing||a||(t.beforeChange(),GA(t,!0,n),t.add({},e),r.set(!0))})),e.on("mousedown",(e=>{t.typing&&o(e)})),e.on("input",(e=>{e.inputType&&((e=>"insertReplacementText"===e.inputType)(e)||(e=>"insertText"===e.inputType&&null===e.data)(e)||(e=>"insertFromPaste"===e.inputType||"insertFromDrop"===e.inputType)(e))&&o(e)})),e.on("AddUndo Undo Redo ClearUndos",(t=>{t.isDefaultPrevented()||e.nodeChanged()}))})(e,o,n),(e=>{e.addShortcut("meta+z","","Undo"),e.addShortcut("meta+y,meta+shift+z","","Redo")})(e),o},gC=[9,27,Ff.HOME,Ff.END,19,20,44,144,145,33,34,45,16,17,18,91,92,93,Ff.DOWN,Ff.UP,Ff.LEFT,Ff.RIGHT].concat(Bt.browser.isFirefox()?[224]:[]),vC="data-mce-placeholder",bC=e=>"keydown"===e.type||"keyup"===e.type,yC=e=>{const t=e.keyCode;return t===Ff.BACKSPACE||t===Ff.DELETE},AC=e=>{var t;const n=e.dom,r=cl(e),o=null!==(t=Nl(e))&&void 0!==t?t:"",i=(t,a)=>{if((e=>{if(bC(e)){const t=e.keyCode;return!yC(e)&&(Ff.metaKeyPressed(e)||e.altKey||t>=112&&t<=123||H(gC,t))}return!1})(t))return;const s=e.getBody(),l=!(e=>bC(e)&&!(yC(e)||"keyup"===e.type&&229===e.keyCode))(t)&&((e,t,n)=>{if(ui(dn.fromDom(t),!1)){const r=t.firstElementChild;return!r||!e.getStyle(t.firstElementChild,"padding-left")&&!e.getStyle(t.firstElementChild,"padding-right")&&n===r.nodeName.toLowerCase()}return!1})(n,s,r);(""!==n.getAttrib(s,vC)!==l||a)&&(n.setAttrib(s,vC,l?o:null),n.setAttrib(s,"aria-placeholder",l?o:null),((e,t)=>{e.dispatch("PlaceholderToggle",{state:t})})(e,l),e.on(l?"keydown":"keyup",i),e.off(l?"keyup":"keydown",i))};Ge(o)&&e.on("init",(t=>{i(t,!0),e.on("change SetContent ExecCommand",i),e.on("paste",(t=>rh.setEditorTimeout(e,(()=>i(t)))))}))},xC=(e,t)=>({from:e,to:t}),CC=(e,t)=>{const n=dn.fromDom(e),r=dn.fromDom(t.container());return hg(n,r).map((e=>((e,t)=>({block:e,position:t}))(e,t)))},_C=(e,t,n)=>{const r=CC(e,gs.fromRangeStart(n)),o=r.bind((n=>Vu(t,e,n.position).bind((n=>CC(e,n).map((n=>((e,t,n)=>Pr(n.position.getNode())&&!ui(n.block)?Gu(!1,n.block.dom).bind((r=>r.isEqual(n.position)?Vu(t,e,r).bind((t=>CC(e,t))):N.some(n))).getOr(n):n)(e,t,n)))))));return Dt(r,o,xC).filter((e=>(e=>!mn(e.from.block,e.to.block))(e)&&(e=>An(e.from.block).bind((t=>An(e.to.block).filter((e=>mn(t,e))))).isSome())(e)&&(e=>!1===Rr(e.from.block.dom)&&!1===Rr(e.to.block.dom))(e)))},wC=e=>{const t=kn(e);return ee(t,no).fold(O(t),(e=>t.slice(0,e)))},kC=e=>{const t=wC(e);return Y(t,Jn),t},SC=(e,t)=>{const n=fm(t,e);return J(n.reverse(),(e=>ui(e))).each(Jn)},EC=(e,t,n,r)=>{if(ui(n))return ko(n),Xu(n.dom);0===K(_n(r),(e=>!ui(e))).length&&ui(t)&&Zn(r,dn.fromTag("br"));const o=$u(n.dom,gs.before(r.dom));return Y(kC(t),(e=>{Zn(r,e)})),SC(e,t),o},BC=(e,t,n)=>{if(ui(n))return Jn(n),ui(t)&&ko(t),Xu(t.dom);const r=Qu(n.dom);return Y(kC(t),(e=>{$n(n,e)})),SC(e,t),r},OC=(e,t)=>gn(t,e)?((e,t)=>{const n=fm(t,e);return N.from(n[n.length-1])})(t,e):N.none(),jC=(e,t)=>{Gu(e,t.dom).bind((e=>N.from(e.getNode()))).map(dn.fromDom).filter(oo).each(Jn)},TC=(e,t,n)=>(jC(!0,t),jC(!1,n),OC(t,n).fold(P(BC,e,t,n),P(EC,e,t,n))),PC=(e,t,n,r)=>t?TC(e,r,n):TC(e,n,r),MC=(e,t)=>{const n=dn.fromDom(e.getBody()),r=((e,t,n)=>n.collapsed?_C(e,t,n):N.none())(n.dom,t,e.selection.getRng()).map((r=>()=>{PC(n,t,r.from.block,r.to.block).each((t=>{e.selection.setRng(t.toRange())}))}));return r},DC=(e,t)=>{const n=dn.fromDom(t),r=P(mn,e);return Vr(n,co,r).isSome()},RC=(e,t)=>{const n=$u(e.dom,gs.fromRangeStart(t)).isNone(),r=Ku(e.dom,gs.fromRangeEnd(t)).isNone();return!((e,t)=>DC(e,t.startContainer)||DC(e,t.endContainer))(e,t)&&n&&r},LC=e=>{const t=dn.fromDom(e.getBody()),n=e.selection.getRng();return RC(t,n)?(e=>N.some((()=>{e.setContent(""),e.selection.setCursorLocation()})))(e):((e,t)=>{const n=t.getRng();return Dt(hg(e,dn.fromDom(n.startContainer)),hg(e,dn.fromDom(n.endContainer)),((r,o)=>mn(r,o)?N.none():N.some((()=>{n.deleteContents(),PC(e,!0,r,o).each((e=>{t.setRng(e.toRange())}))})))).getOr(N.none())})(t,e.selection)},IC=(e,t)=>e.selection.isCollapsed()?N.none():LC(e),NC=(e,t,n,r,o)=>N.from(t._selectionOverrides.showCaret(e,n,r,o)),FC=(e,t)=>e.dispatch("BeforeObjectSelected",{target:t}).isDefaultPrevented()?N.none():N.some((e=>{const t=e.ownerDocument.createRange();return t.selectNode(e),t})(t)),zC=(e,t,n)=>t.collapsed?((e,t,n)=>{const r=_u(1,e.getBody(),t),o=gs.fromRangeStart(r),i=o.getNode();if(eu(i))return NC(1,e,i,!o.isAtEnd(),!1);const a=o.getNode(!0);if(eu(a))return NC(1,e,a,!1,!1);const s=Zg(e.dom.getRoot(),o.getNode());return eu(s)?NC(1,e,s,!1,n):N.none()})(e,t,n).getOr(t):t,qC=e=>lm(e)||om(e),UC=e=>cm(e)||im(e),HC=(e,t,n,r,o,i)=>{NC(r,e,i.getNode(!o),o,!0).each((n=>{if(t.collapsed){const e=t.cloneRange();o?e.setEnd(n.startContainer,n.startOffset):e.setStart(n.endContainer,n.endOffset),e.deleteContents()}else t.deleteContents();e.selection.setRng(n)})),((e,t)=>{Sr(t)&&0===t.data.length&&e.remove(t)})(e.dom,n)},WC=(e,t)=>((e,t)=>{const n=e.selection.getRng();if(!Sr(n.commonAncestorContainer))return N.none();const r=t?Ou.Forwards:Ou.Backwards,o=zu(e.getBody()),i=P(Eu,t?o.next:o.prev),a=t?qC:UC,s=ku(r,e.getBody(),n),l=i(s),c=l?lg(t,l):l;if(!c||!Bu(s,c))return N.none();if(a(c))return N.some((()=>HC(e,n,s.getNode(),r,t,c)));const u=i(c);return u&&a(u)&&Bu(c,u)?N.some((()=>HC(e,n,s.getNode(),r,t,u))):N.none()})(e,t),VC=(e,t)=>{const n=e.getBody();return t?Xu(n).filter(lm):Qu(n).filter(cm)},YC=e=>{const t=e.selection.getRng();return!t.collapsed&&(VC(e,!0).exists((e=>e.isEqual(gs.fromRangeStart(t))))||VC(e,!1).exists((e=>e.isEqual(gs.fromRangeEnd(t)))))},ZC=Us([{remove:["element"]},{moveToElement:["element"]},{moveToPosition:["position"]}]),GC=(e,t,n,r)=>{const o=r.getNode(!t);return hg(dn.fromDom(e),dn.fromDom(n.getNode())).map((e=>ui(e)?ZC.remove(e.dom):ZC.moveToElement(o))).orThunk((()=>N.some(ZC.moveToElement(o))))},KC=(e,t,n)=>Vu(t,e,n).bind((r=>{return o=r.getNode(),C(o)&&(co(dn.fromDom(o))||so(dn.fromDom(o)))||((e,t,n,r)=>{const o=t=>ro(dn.fromDom(t))&&!gu(n,r,e);return wu(!t,n).fold((()=>wu(t,r).fold(L,o)),o)})(e,t,n,r)?N.none():t&&Rr(r.getNode())||!t&&Rr(r.getNode(!0))?GC(e,t,n,r):t&&cm(n)||!t&&lm(n)?N.some(ZC.moveToPosition(r)):N.none();var o})),$C=(e,t,n)=>((e,t)=>{const n=t.getNode(!e),r=e?"after":"before";return vr(n)&&n.getAttribute("data-mce-caret")===r})(t,n)?((e,t)=>x(t)?N.none():e&&Rr(t.nextSibling)?N.some(ZC.moveToElement(t.nextSibling)):!e&&Rr(t.previousSibling)?N.some(ZC.moveToElement(t.previousSibling)):N.none())(t,n.getNode(!t)).orThunk((()=>KC(e,t,n))):KC(e,t,n).bind((t=>((e,t,n)=>n.fold((e=>N.some(ZC.remove(e))),(e=>N.some(ZC.moveToElement(e))),(n=>gu(t,n,e)?N.none():N.some(ZC.moveToPosition(n)))))(e,n,t))),XC=(e,t)=>N.from(Zg(e.getBody(),t)),QC=(e,t)=>{const n=e.selection.getNode();return XC(e,n).filter(Rr).fold((()=>((e,t,n)=>{const r=_u(t?1:-1,e,n),o=gs.fromRangeStart(r),i=dn.fromDom(e);return!t&&cm(o)?N.some(ZC.remove(o.getNode(!0))):t&&lm(o)?N.some(ZC.remove(o.getNode())):!t&&lm(o)&&wm(i,o)?km(i,o).map((e=>ZC.remove(e.getNode()))):t&&cm(o)&&_m(i,o)?Sm(i,o).map((e=>ZC.remove(e.getNode()))):$C(e,t,o)})(e.getBody(),t,e.selection.getRng()).map((n=>()=>n.fold(((e,t)=>n=>(e._selectionOverrides.hideFakeCaret(),rg(e,t,dn.fromDom(n)),!0))(e,t),((e,t)=>n=>{const r=t?gs.before(n):gs.after(n);return e.selection.setRng(r.toRange()),!0})(e,t),(e=>t=>(e.selection.setRng(t.toRange()),!0))(e))))),(()=>N.some(S)))},JC=(e,t)=>{const n=e.selection.getNode();if(Rr(n)&&!Lr(n)){return XC(e,n.parentNode).filter(Rr).fold((()=>N.some((()=>{var n;n=dn.fromDom(e.getBody()),Y(yo(n,".mce-offscreen-selection"),Jn),rg(e,t,dn.fromDom(e.selection.getNode())),mg(e)}))),(()=>N.some(S)))}return YC(e)?N.some((()=>{vg(e,e.selection.getRng(),dn.fromDom(e.getBody()))})):N.none()},e_=e=>{const t=e.dom,n=e.selection,r=Zg(e.getBody(),n.getNode());if(Dr(r)&&t.isBlock(r)&&t.isEmpty(r)){const e=t.create("br",{"data-mce-bogus":"1"});t.setHTML(r,""),r.appendChild(e),n.setRng(gs.before(e).toRange())}return!0},t_=(e,t)=>e.selection.isCollapsed()?QC(e,t):JC(e,t),n_=(e,t)=>e.selection.isCollapsed()?((e,t)=>{const n=gs.fromRangeStart(e.selection.getRng());return Vu(t,e.getBody(),n).filter((e=>t?nm(e):rm(e))).bind((e=>vu(t?0:-1,e))).map((t=>()=>e.selection.select(t)))})(e,t):N.none(),r_=Sr,o_=e=>r_(e)&&e.data[0]===Eo,i_=e=>r_(e)&&e.data[e.data.length-1]===Eo,a_=e=>{var t;return(null!==(t=e.ownerDocument)&&void 0!==t?t:document).createTextNode(Eo)},s_=(e,t)=>e?(e=>{var t;if(r_(e.previousSibling))return i_(e.previousSibling)||e.previousSibling.appendData(Eo),e.previousSibling;if(r_(e))return o_(e)||e.insertData(0,Eo),e;{const n=a_(e);return null===(t=e.parentNode)||void 0===t||t.insertBefore(n,e),n}})(t):(e=>{var t,n;if(r_(e.nextSibling))return o_(e.nextSibling)||e.nextSibling.insertData(0,Eo),e.nextSibling;if(r_(e))return i_(e)||e.appendData(Eo),e;{const r=a_(e);return e.nextSibling?null===(t=e.parentNode)||void 0===t||t.insertBefore(r,e.nextSibling):null===(n=e.parentNode)||void 0===n||n.appendChild(r),r}})(t),l_=P(s_,!0),c_=P(s_,!1),u_=(e,t)=>Sr(e.container())?s_(t,e.container()):s_(t,e.getNode()),d_=(e,t)=>{const n=t.get();return n&&e.container()===n&&Mo(n)},f_=(e,t)=>t.fold((t=>{Zc(e.get());const n=l_(t);return e.set(n),N.some(gs(n,n.length-1))}),(t=>Xu(t).map((t=>{if(d_(t,e)){const t=e.get();return gs(t,1)}{Zc(e.get());const n=u_(t,!0);return e.set(n),gs(n,1)}}))),(t=>Qu(t).map((t=>{if(d_(t,e)){const t=e.get();return gs(t,t.length-1)}{Zc(e.get());const n=u_(t,!1);return e.set(n),gs(n,n.length-1)}}))),(t=>{Zc(e.get());const n=c_(t);return e.set(n),N.some(gs(n,1))})),p_=(e,t)=>{for(let n=0;n<e.length;n++){const r=e[n].apply(null,t);if(r.isSome())return r}return N.none()},h_=Us([{before:["element"]},{start:["element"]},{end:["element"]},{after:["element"]}]),m_=(e,t)=>{const n=mu(t,e);return n||e},g_=(e,t,n)=>{const r=cg(n),o=m_(t,r.container());return sg(e,o,r).fold((()=>Ku(o,r).bind(P(sg,e,o)).map((e=>h_.before(e)))),N.none)},v_=(e,t)=>null===td(e,t),b_=(e,t,n)=>sg(e,t,n).filter(P(v_,t)),y_=(e,t,n)=>{const r=ug(n);return b_(e,t,r).bind((e=>$u(e,r).isNone()?N.some(h_.start(e)):N.none()))},A_=(e,t,n)=>{const r=cg(n);return b_(e,t,r).bind((e=>Ku(e,r).isNone()?N.some(h_.end(e)):N.none()))},x_=(e,t,n)=>{const r=ug(n),o=m_(t,r.container());return sg(e,o,r).fold((()=>$u(o,r).bind(P(sg,e,o)).map((e=>h_.after(e)))),N.none)},C_=e=>!ag(w_(e)),__=(e,t,n)=>p_([g_,y_,A_,x_],[e,t,n]).filter(C_),w_=e=>e.fold(j,j,j,j),k_=e=>e.fold(O("before"),O("start"),O("end"),O("after")),S_=e=>e.fold(h_.before,h_.before,h_.after,h_.after),E_=e=>e.fold(h_.start,h_.start,h_.end,h_.end),B_=(e,t,n,r,o,i)=>Dt(sg(t,n,r),sg(t,n,o),((t,r)=>t!==r&&((e,t,n)=>{const r=mu(t,e),o=mu(n,e);return C(r)&&r===o})(n,t,r)?h_.after(e?t:r):i)).getOr(i),O_=(e,t)=>e.fold(I,(e=>{return r=t,!(k_(n=e)===k_(r)&&w_(n)===w_(r));var n,r})),j_=(e,t)=>e?t.fold(E(N.some,h_.start),N.none,E(N.some,h_.after),N.none):t.fold(N.none,E(N.some,h_.before),N.none,E(N.some,h_.end)),T_=(e,t,n,r)=>{const o=lg(e,r),i=__(t,n,o);return __(t,n,o).bind(P(j_,e)).orThunk((()=>((e,t,n,r,o)=>{const i=lg(e,o);return Vu(e,n,i).map(P(lg,e)).fold((()=>r.map(S_)),(o=>__(t,n,o).map(P(B_,e,t,n,i,o)).filter(P(O_,r)))).filter(C_)})(e,t,n,i,r)))},P_=(e,t,n)=>{const r=e?1:-1;return t.setRng(gs(n.container(),n.offset()+r).toRange()),t.getSel().modify("move",e?"forward":"backward","word"),!0},M_=(e,t)=>{const n=t.selection.getRng(),r=e?gs.fromRangeEnd(n):gs.fromRangeStart(n);return!!(e=>_(e.selection.getSel().modify))(t)&&(e&&Lo(r)?P_(!0,t.selection,r):!(e||!Io(r))&&P_(!1,t.selection,r))};var D_;!function(e){e[e.Br=0]="Br",e[e.Block=1]="Block",e[e.Wrap=2]="Wrap",e[e.Eol=3]="Eol"}(D_||(D_={}));const R_=(e,t)=>e===Ou.Backwards?oe(t):t,L_=(e,t,n)=>e===Ou.Forwards?t.next(n):t.prev(n),I_=(e,t,n,r)=>Pr(r.getNode(t===Ou.Forwards))?D_.Br:!1===gu(n,r)?D_.Block:D_.Wrap,N_=(e,t,n,r)=>{const o=zu(n);let i=r;const a=[];for(;i;){const n=L_(t,o,i);if(!n)break;if(Pr(n.getNode(!1)))return t===Ou.Forwards?{positions:R_(t,a).concat([n]),breakType:D_.Br,breakAt:N.some(n)}:{positions:R_(t,a),breakType:D_.Br,breakAt:N.some(n)};if(n.isVisible()){if(e(i,n)){const e=I_(0,t,i,n);return{positions:R_(t,a),breakType:e,breakAt:N.some(n)}}a.push(n),i=n}else i=n}return{positions:R_(t,a),breakType:D_.Eol,breakAt:N.none()}},F_=(e,t,n,r)=>t(n,r).breakAt.map((r=>{const o=t(n,r).positions;return e===Ou.Backwards?o.concat(r):[r].concat(o)})).getOr([]),z_=(e,t)=>X(e,((e,n)=>e.fold((()=>N.some(n)),(r=>Dt(ce(r.getClientRects()),ce(n.getClientRects()),((e,o)=>{const i=Math.abs(t-e.left);return Math.abs(t-o.left)<=i?n:r})).or(e)))),N.none()),q_=(e,t)=>ce(t.getClientRects()).bind((t=>z_(e,t.left))),U_=P(N_,gs.isAbove,-1),H_=P(N_,gs.isBelow,1),W_=P(F_,-1,U_),V_=P(F_,1,H_),Y_=(e,t)=>q_(W_(e,t),t),Z_=(e,t)=>q_(V_(e,t),t),G_=Rr,K_=(e,t)=>Math.abs(e.left-t),$_=(e,t)=>Math.abs(e.right-t),X_=(e,t)=>Pe(e,((e,n)=>{const r=Math.min(K_(e,t),$_(e,t)),o=Math.min(K_(n,t),$_(n,t));return o===r&&ke(n,"node")&&G_(n.node)||o<r?n:e})),Q_=e=>{const t=t=>V(t,(t=>{const n=Ua(t);return n.node=e,n}));if(vr(e))return t(e.getClientRects());if(Sr(e)){const n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.data.length),t(n.getClientRects())}return[]},J_=e=>ne(e,Q_);var ew;!function(e){e[e.Up=-1]="Up",e[e.Down=1]="Down"}(ew||(ew={}));const tw=(e,t,n,r,o,i)=>{let a=0;const s=[],l=r=>{let i=J_([r]);-1===e&&(i=i.reverse());for(let e=0;e<i.length;e++){const r=i[e];if(!n(r,c)){if(s.length>0&&t(r,De(s))&&a++,r.line=a,o(r))return!0;s.push(r)}}return!1},c=De(i.getClientRects());if(!c)return s;const u=i.getNode();return u&&(l(u),((e,t,n,r)=>{let o=r;for(;o=hu(o,e,Qo,t);)if(n(o))return})(e,r,l,u)),s},nw=P(tw,ew.Up,Va,Ya),rw=P(tw,ew.Down,Ya,Va),ow=e=>De(e.getClientRects()),iw=e=>t=>((e,t)=>t.line>e)(e,t),aw=e=>t=>((e,t)=>t.line===e)(e,t),sw=(e,t)=>{e.selection.setRng(t),Hp(e,e.selection.getRng())},lw=(e,t,n)=>N.some(zC(e,t,n)),cw=(e,t,n,r,o,i)=>{const a=t===Ou.Forwards,s=zu(e.getBody()),l=P(Eu,a?s.next:s.prev),c=a?r:o;if(!n.collapsed){const r=Ga(n);if(i(r))return NC(t,e,r,t===Ou.Backwards,!1);if(YC(e)){const e=n.cloneRange();return e.collapse(t===Ou.Backwards),N.from(e)}}const u=ku(t,e.getBody(),n);if(c(u))return FC(e,u.getNode(!a));let d=l(u);const f=qo(n);if(!d)return f?N.some(n):N.none();if(d=lg(a,d),c(d))return NC(t,e,d.getNode(!a),a,!1);const p=l(d);return p&&c(p)&&Bu(d,p)?NC(t,e,p.getNode(!a),a,!1):f?lw(e,d.toRange(),!1):N.none()},uw=(e,t,n,r,o,i)=>{const a=ku(t,e.getBody(),n),s=De(a.getClientRects()),l=t===ew.Down,c=e.getBody();if(!s)return N.none();if(YC(e)){const e=l?gs.fromRangeEnd(n):gs.fromRangeStart(n);return(l?Z_:Y_)(c,e).orThunk((()=>N.from(e))).map((e=>e.toRange()))}const u=(l?rw:nw)(c,iw(1),a),d=K(u,aw(1)),f=s.left,p=X_(d,f);if(p&&i(p.node)){const n=Math.abs(f-p.left),r=Math.abs(f-p.right);return NC(t,e,p.node,n<r,!1)}let h;if(h=r(a)?a.getNode():o(a)?a.getNode(!0):Ga(n),h){const n=((e,t,n,r)=>{const o=zu(t);let i,a,s,l;const c=[];let u=0;1===e?(i=o.next,a=Ya,s=Va,l=gs.after(r)):(i=o.prev,a=Va,s=Ya,l=gs.before(r));const d=ow(l);do{if(!l.isVisible())continue;const e=ow(l);if(s(e,d))continue;c.length>0&&a(e,De(c))&&u++;const t=Ua(e);if(t.position=l,t.line=u,n(t))return c;c.push(t)}while(l=i(l));return c})(t,c,iw(1),h);let r=X_(K(n,aw(1)),f);if(r)return lw(e,r.position.toRange(),!1);if(r=De(K(n,aw(0))),r)return lw(e,r.position.toRange(),!1)}return 0===d.length?dw(e,l).filter(l?o:r).map((t=>zC(e,t.toRange(),!1))):N.none()},dw=(e,t)=>{const n=e.selection.getRng(),r=t?gs.fromRangeEnd(n):gs.fromRangeStart(n),o=(i=r.container(),a=e.getBody(),Vr(dn.fromDom(i),(e=>nu(e.dom)),(e=>e.dom===a)).map((e=>e.dom)).getOr(a));var i,a;if(t){const e=H_(o,r);return ue(e.positions)}{const e=U_(o,r);return ce(e.positions)}},fw=(e,t,n)=>dw(e,t).filter(n).exists((t=>(e.selection.setRng(t.toRange()),!0))),pw=(e,t)=>{const n=e.dom.createRng();n.setStart(t.container(),t.offset()),n.setEnd(t.container(),t.offset()),e.selection.setRng(n)},hw=(e,t)=>{e?t.setAttribute("data-mce-selected","inline-boundary"):t.removeAttribute("data-mce-selected")},mw=(e,t,n)=>f_(t,n).map((t=>(pw(e,t),n))),gw=(e,t,n)=>{const r=e.getBody(),o=((e,t,n)=>{const r=gs.fromRangeStart(e);if(e.collapsed)return r;{const o=gs.fromRangeEnd(e);return n?$u(t,o).getOr(o):Ku(t,r).getOr(r)}})(e.selection.getRng(),r,n),i=P(ig,e);return T_(n,i,r,o).bind((n=>mw(e,t,n)))},vw=(e,t)=>{const n=t.get();if(e.selection.isCollapsed()&&!e.composing&&n){const r=gs.fromRangeStart(e.selection.getRng());gs.isTextPosition(r)&&!(e=>Lo(e)||Io(e))(r)&&(pw(e,Yc(n,r)),t.set(null))}},bw=(e,t,n)=>!!Vl(e)&&gw(e,t,n).isSome(),yw=(e,t,n)=>!!Vl(t)&&M_(e,t),Aw=e=>{const t=da(null),n=P(ig,e);return e.on("NodeChange",(r=>{Vl(e)&&(((e,t,n)=>{const r=V(yo(dn.fromDom(t.getRoot()),'*[data-mce-selected="inline-boundary"]'),(e=>e.dom)),o=K(r,e),i=K(n,e);Y(ie(o,i),P(hw,!1)),Y(ie(i,o),P(hw,!0))})(n,e.dom,r.parents),vw(e,t),((e,t,n,r)=>{if(t.selection.isCollapsed()){const o=K(r,e);Y(o,(r=>{const o=gs.fromRangeStart(t.selection.getRng());__(e,t.getBody(),o).bind((e=>mw(t,n,e)))}))}})(n,e,t,r.parents))})),t},xw=P(yw,!0),Cw=P(yw,!1),_w=(e,t,n)=>{if(Vl(e)){const r=dw(e,t).getOrThunk((()=>{const n=e.selection.getRng();return t?gs.fromRangeEnd(n):gs.fromRangeStart(n)}));return __(P(ig,e),e.getBody(),r).exists((t=>{const r=S_(t);return f_(n,r).exists((t=>(pw(e,t),!0)))}))}return!1},ww=(e,t)=>n=>f_(t,n).map((t=>()=>pw(e,t))),kw=(e,t,n,r)=>{const o=e.getBody(),i=P(ig,e);e.undoManager.ignore((()=>{e.selection.setRng(((e,t)=>{const n=document.createRange();return n.setStart(e.container(),e.offset()),n.setEnd(t.container(),t.offset()),n})(n,r)),fg(e),__(i,o,gs.fromRangeStart(e.selection.getRng())).map(E_).bind(ww(e,t)).each(R)})),e.nodeChanged()},Sw=(e,t,n,r)=>{const o=((e,t)=>mu(t,e)||e)(e.getBody(),r.container()),i=P(ig,e),a=__(i,o,r);return a.bind((e=>n?e.fold(O(N.some(E_(e))),N.none,O(N.some(S_(e))),N.none):e.fold(N.none,O(N.some(S_(e))),N.none,O(N.some(E_(e)))))).map(ww(e,t)).getOrThunk((()=>{const s=Yu(n,o,r),l=s.bind((e=>__(i,o,e)));return Dt(a,l,(()=>sg(i,o,r).bind((t=>(e=>Dt(Xu(e),Qu(e),((t,n)=>{const r=lg(!0,t),o=lg(!1,n);return Ku(e,r).forall((e=>e.isEqual(o)))})).getOr(!0))(t)?N.some((()=>{rg(e,n,dn.fromDom(t))})):N.none())))).getOrThunk((()=>l.bind((()=>s.map((o=>()=>{n?kw(e,t,r,o):kw(e,t,o,r)}))))))}))},Ew=(e,t,n)=>{if(e.selection.isCollapsed()&&Vl(e)){const r=gs.fromRangeStart(e.selection.getRng());return Sw(e,t,n,r)}return N.none()},Bw=e=>1===On(e),Ow=(e,t,n,r)=>{const o=P(Vv,t),i=V(K(r,o),(e=>e.dom));if(0===i.length)rg(t,e,n);else{const e=((e,t)=>{const n=Nv(!1),r=Uv(t,n.dom);return Zn(dn.fromDom(e),n),Jn(dn.fromDom(e)),gs(r,0)})(n.dom,i);t.selection.setRng(e.toRange())}},jw=(e,t)=>{const n=dn.fromDom(e.getBody()),r=dn.fromDom(e.selection.getStart()),o=K(((e,t)=>{const n=fm(t,e);return ee(n,no).fold(O(n),(e=>n.slice(0,e)))})(n,r),Bw);return ue(o).bind((n=>{const r=gs.fromRangeStart(e.selection.getRng());return!((e,t,n)=>Dt(Xu(n),Qu(n),((r,o)=>{const i=lg(!0,r),a=lg(!1,o),s=lg(!1,t);return e?Ku(n,s).exists((e=>e.isEqual(a)&&t.isEqual(i))):$u(n,s).exists((e=>e.isEqual(i)&&t.isEqual(a)))})).getOr(!0))(t,r,n.dom)||ed((i=n).dom)&&Lv(i.dom)?N.none():N.some((()=>Ow(t,e,n,o)));var i}))},Tw=(e,t)=>e.selection.isCollapsed()?jw(e,t):N.none(),Pw=(e,t,n)=>C(n)?N.some((()=>{e._selectionOverrides.hideFakeCaret(),rg(e,t,dn.fromDom(n))})):N.none(),Mw=(e,t)=>e.selection.isCollapsed()?((e,t)=>{const n=t?om:im,r=t?Ou.Forwards:Ou.Backwards,o=ku(r,e.getBody(),e.selection.getRng());return n(o)?Pw(e,t,o.getNode(!t)):N.from(lg(t,o)).filter((e=>n(e)&&Bu(o,e))).bind((n=>Pw(e,t,n.getNode(!t))))})(e,t):((e,t)=>{const n=e.selection.getNode();return Nr(n)?Pw(e,t,n):N.none()})(e,t),Dw=e=>$e(null!=e?e:"").getOr(0),Rw=(e,t)=>(e||"table"===Lt(t)?"margin":"padding")+("rtl"===Un(t,"direction")?"-right":"-left"),Lw=e=>{const t=Nw(e);return!e.mode.isReadOnly()&&(t.length>1||((e,t)=>re(t,(t=>{const n=Rw(Ol(e),t),r=Wn(t,n).map(Dw).getOr(0);return"false"!==e.dom.getContentEditable(t.dom)&&r>0})))(e,t))},Iw=e=>ao(e)||so(e),Nw=e=>{return K((t=e.selection.getSelectedBlocks(),V(t,dn.fromDom)),(e=>!Iw(e)&&!(e=>An(e).exists(Iw))(e)&&Yr(e,(e=>Dr(e.dom)||Rr(e.dom))).exists((e=>Dr(e.dom)))));var t},Fw=(e,t)=>{var n,r;const{dom:o}=e,i=jl(e),a=null!==(r=null===(n=/[a-z%]+$/i.exec(i))||void 0===n?void 0:n[0])&&void 0!==r?r:"px",s=Dw(i),l=Ol(e);Y(Nw(e),(e=>{((e,t,n,r,o,i)=>{const a=Rw(n,dn.fromDom(i)),s=Dw(e.getStyle(i,a));if("outdent"===t){const t=Math.max(0,s-r);e.setStyle(i,a,t?t+o:"")}else{const t=s+r+o;e.setStyle(i,a,t)}})(o,t,l,s,a,e.dom)}))},zw=e=>Fw(e,"outdent"),qw=e=>{if(e.selection.isCollapsed()&&Lw(e)){const t=e.dom,n=e.selection.getRng(),r=gs.fromRangeStart(n),o=t.getParent(n.startContainer,t.isBlock);if(null!==o&&vm(dn.fromDom(o),r))return N.some((()=>zw(e)))}return N.none()},Uw=(e,t,n)=>fe([qw,t_,WC,(e,n)=>Ew(e,t,n),MC,Yg,n_,Mw,IC,Tw],(t=>t(e,n))),Hw=(e,t)=>{Uw(e,t,!0).fold((()=>(e=>dg(e,"ForwardDelete"))(e)),R)},Ww=(e,t)=>{e.addCommand("delete",(()=>{((e,t)=>{Uw(e,t,!1).fold((()=>{fg(e),mg(e)}),R)})(e,t)})),e.addCommand("forwardDelete",(()=>{Hw(e,t)}))},Vw=e=>void 0===e.touches||1!==e.touches.length?N.none():N.some(e.touches[0]),Yw=e=>{const t=ba(),n=da(!1),r=Aa((t=>{e.dispatch("longpress",{...t,type:"longpress"}),n.set(!0)}),400);e.on("touchstart",(e=>{Vw(e).each((o=>{r.cancel();const i={x:o.clientX,y:o.clientY,target:e.target};r.throttle(e),n.set(!1),t.set(i)}))}),!0),e.on("touchmove",(o=>{r.cancel(),Vw(o).each((r=>{t.on((o=>{((e,t)=>{const n=Math.abs(e.clientX-t.x),r=Math.abs(e.clientY-t.y);return n>5||r>5})(r,o)&&(t.clear(),n.set(!1),e.dispatch("longpresscancel"))}))}))}),!0),e.on("touchend touchcancel",(o=>{r.cancel(),"touchcancel"!==o.type&&t.get().filter((e=>e.target.isEqualNode(o.target))).each((()=>{n.get()?o.preventDefault():e.dispatch("tap",{...o,type:"tap"})}))}),!0)},Zw=(e,t)=>we(e,t.nodeName),Gw=(e,t)=>!!Sr(t)||!!vr(t)&&(!Zw(e,t)&&!hd(t)),Kw=(e,t)=>{if(Sr(t)){if(0===t.data.length)return!0;if(/^\s+$/.test(t.data)&&(!t.nextSibling||Zw(e,t.nextSibling)))return!0}return!1},$w=e=>e.dom.create(cl(e),ul(e)),Xw=e=>{const t=e.dom,n=e.selection,r=e.schema,o=r.getBlockElements(),i=n.getStart(),a=e.getBody();let s,l,c=!1;const u=cl(e);if(!i||!vr(i))return;const d=a.nodeName.toLowerCase();if(!r.isValidChild(d,u.toLowerCase())||((e,t,n)=>W(dm(dn.fromDom(n),dn.fromDom(t)),(t=>Zw(e,t.dom))))(o,a,i))return;const f=n.getRng(),{startContainer:p,startOffset:h,endContainer:m,endOffset:g}=f,v=hh(e);let b=a.firstChild;for(;b;)if(Gw(o,b)){if(Kw(o,b)){l=b,b=b.nextSibling,t.remove(l);continue}s||(s=$w(e),a.insertBefore(s,b),c=!0),l=b,b=b.nextSibling,s.appendChild(l)}else s=null,b=b.nextSibling;c&&v&&(f.setStart(p,h),f.setEnd(m,g),n.setRng(f),e.nodeChanged())},Qw=(e,t,n)=>{const r=dn.fromDom($w(e)),o=wo();$n(r,o),n(t,r);const i=document.createRange();return i.setStartBefore(o.dom),i.setEndBefore(o.dom),i},Jw=e=>t=>-1!==(" "+t.attr("class")+" ").indexOf(e),ek=(e,t,n)=>function(r){const o=arguments,i=o[o.length-2],a=i>0?t.charAt(i-1):"";if('"'===a)return r;if(">"===a){const e=t.lastIndexOf("<",i);if(-1!==e){if(-1!==t.substring(e,i).indexOf('contenteditable="false"'))return r}}return'<span class="'+n+'" data-mce-content="'+e.dom.encode(o[0])+'">'+e.dom.encode("string"==typeof o[1]?o[1]:o[0])+"</span>"},tk=e=>{const t="contenteditable",n=" "+Pt.trim(Mc(e))+" ",r=" "+Pt.trim(Pc(e))+" ",o=Jw(n),i=Jw(r),a=Dc(e);a.length>0&&e.on("BeforeSetContent",(t=>{((e,t,n)=>{let r=t.length,o=n.content;if("raw"!==n.format){for(;r--;)o=o.replace(t[r],ek(e,o,Pc(e)));n.content=o}})(e,a,t)})),e.parser.addAttributeFilter("class",(e=>{let n=e.length;for(;n--;){const r=e[n];o(r)?r.attr(t,"true"):i(r)&&r.attr(t,"false")}})),e.serializer.addAttributeFilter(t,(e=>{let n=e.length;for(;n--;){const r=e[n];(o(r)||i(r))&&(a.length>0&&r.attr("data-mce-content")?(r.name="#text",r.type=3,r.raw=!0,r.value=r.attr("data-mce-content")):r.attr(t,null))}}))},nk=(e,t)=>{t.hasAttribute("data-mce-caret")&&(zo(t),e.selection.setRng(e.selection.getRng()),e.selection.scrollIntoView(t))},rk=(e,t)=>{const n=(e=>Kr(dn.fromDom(e.getBody()),"*[data-mce-caret]").map((e=>e.dom)).getOrNull())(e);if(n)return"compositionstart"===t.type?(t.preventDefault(),t.stopPropagation(),void nk(e,n)):void(Ro(n)&&(nk(e,n),e.undoManager.add()))},ok=Rr,ik=(e,t,n)=>{const r=zu(e.getBody()),o=P(Eu,1===t?r.next:r.prev);if(n.collapsed){const r=e.dom.getParent(n.startContainer,"PRE");if(!r)return;if(!o(gs.fromRangeStart(n))){const n=dn.fromDom((e=>{const t=e.dom.create(cl(e));return t.innerHTML='<br data-mce-bogus="1">',t})(e));1===t?Gn(dn.fromDom(r),n):Zn(dn.fromDom(r),n),e.selection.select(n.dom,!0),e.selection.collapse()}}},ak=(e,t)=>{const n=t?Ou.Forwards:Ou.Backwards,r=e.selection.getRng();return((e,t,n)=>cw(t,e,n,lm,cm,ok))(n,e,r).orThunk((()=>(ik(e,n,r),N.none())))},sk=(e,t)=>{const n=t?1:-1,r=e.selection.getRng();return((e,t,n)=>uw(t,e,n,(e=>lm(e)||am(e)),(e=>cm(e)||sm(e)),ok))(n,e,r).orThunk((()=>(ik(e,n,r),N.none())))},lk=(e,t)=>ak(e,t).exists((t=>(sw(e,t),!0))),ck=(e,t)=>sk(e,t).exists((t=>(sw(e,t),!0))),uk=(e,t)=>fw(e,t,t?cm:lm),dk=(e,t)=>VC(e,!t).map((n=>{const r=n.toRange(),o=e.selection.getRng();return t?r.setStart(o.startContainer,o.startOffset):r.setEnd(o.endContainer,o.endOffset),r})).exists((t=>(sw(e,t),!0))),fk=e=>H(["figcaption"],Lt(e)),pk=(e,t,n)=>t?((e,t)=>H_(e,t).breakAt.isNone())(e.dom,n):((e,t)=>U_(e,t).breakAt.isNone())(e.dom,n),hk=(e,t)=>{const n=dn.fromDom(e.getBody()),r=gs.fromRangeStart(e.selection.getRng());return((e,t)=>{const n=P(mn,t);return Yr(dn.fromDom(e.container()),no,n).filter(fk)})(r,n).exists((()=>{if(pk(n,t,r)){const r=Qw(e,n,t?$n:Kn);return e.selection.setRng(r),!0}return!1}))},mk=(e,t)=>!!e.selection.isCollapsed()&&hk(e,t),gk={shiftKey:!1,altKey:!1,ctrlKey:!1,metaKey:!1,keyCode:0},vk=(e,t)=>t.keyCode===e.keyCode&&t.shiftKey===e.shiftKey&&t.altKey===e.altKey&&t.ctrlKey===e.ctrlKey&&t.metaKey===e.metaKey,bk=(e,t)=>ne((e=>V(e,(e=>({...gk,...e}))))(e),(e=>vk(e,t)?[e]:[])),yk=(e,t)=>ne((e=>V(e,(e=>({...gk,...e}))))(e),(e=>vk(e,t)?[e]:[])),Ak=(e,...t)=>()=>e.apply(null,t),xk=(e,t)=>J(bk(e,t),(e=>e.action())),Ck=(e,t)=>fe(yk(e,t),(e=>e.action())),_k=(e,t)=>{const n=t?Ou.Forwards:Ou.Backwards,r=e.selection.getRng();return cw(e,n,r,om,im,Nr).exists((t=>(sw(e,t),!0)))},wk=(e,t)=>{const n=t?1:-1,r=e.selection.getRng();return uw(e,n,r,om,im,Nr).exists((t=>(sw(e,t),!0)))},kk=(e,t)=>fw(e,t,t?im:om),Sk=Us([{none:["current"]},{first:["current"]},{middle:["current","target"]},{last:["current"]}]),Ek={...Sk,none:e=>Sk.none(e)},Bk=(e,t,n)=>ne(kn(e),(e=>pn(e,t)?n(e)?[e]:[]:Bk(e,t,n))),Ok=(e,t)=>((e,t,n=L)=>n(t)?N.none():H(e,Lt(t))?N.some(t):Gr(t,e.join(","),(e=>pn(e,"table")||n(e))))(["td","th"],e,t),jk=e=>Bk(e,"th,td",I),Tk=(e,t)=>$r(e,"table",t),Pk=(e,t,n,r,o=I)=>{const i=1===r;if(!i&&n<=0)return Ek.first(e[0]);if(i&&n>=e.length-1)return Ek.last(e[e.length-1]);{const i=n+r,a=e[i];return o(a)?Ek.middle(t,a):Pk(e,t,i,r,o)}},Mk=(e,t)=>Tk(e,t).bind((t=>{const n=jk(t);return ee(n,(t=>mn(e,t))).map((e=>({index:e,all:n})))})),Dk=(e,t=!1)=>{return Nn(e)?e.dom.isContentEditable:(n=e,$r(n,"[contenteditable]")).fold(O(t),(e=>"true"===Rk(e)));var n},Rk=e=>e.dom.contentEditable,Lk=(e,t,n,r,o)=>{const i=yo(dn.fromDom(n),"td,th,caption").map((e=>e.dom)),a=K(((e,t)=>ne(t,(t=>{const n=((e,t)=>({left:e.left-t,top:e.top-t,right:e.right+2*t,bottom:e.bottom+2*t,width:e.width+t,height:e.height+t}))(Ua(t.getBoundingClientRect()),-1);return[{x:n.left,y:e(n),cell:t},{x:n.right,y:e(n),cell:t}]})))(e,i),(e=>t(e,o)));return((e,t,n)=>X(e,((e,r)=>e.fold((()=>N.some(r)),(e=>{const o=Math.sqrt(Math.abs(e.x-t)+Math.abs(e.y-n)),i=Math.sqrt(Math.abs(r.x-t)+Math.abs(r.y-n));return N.some(i<o?r:e)}))),N.none()))(a,r,o).map((e=>e.cell))},Ik=P(Lk,(e=>e.bottom),((e,t)=>e.y<t)),Nk=P(Lk,(e=>e.top),((e,t)=>e.y>t)),Fk=(e,t)=>ce(t.getClientRects()).bind((t=>Ik(e,t.left,t.top))).bind((e=>{return q_(Qu(n=e).map((e=>U_(n,e).positions.concat(e))).getOr([]),t);var n})),zk=(e,t)=>ue(t.getClientRects()).bind((t=>Nk(e,t.left,t.top))).bind((e=>{return q_(Xu(n=e).map((e=>[e].concat(H_(n,e).positions))).getOr([]),t);var n})),qk=(e,t,n)=>{const r=e(t,n);return(e=>e.breakType===D_.Wrap&&0===e.positions.length)(r)||!Pr(n.getNode())&&(e=>e.breakType===D_.Br&&1===e.positions.length)(r)?!((e,t,n)=>n.breakAt.exists((n=>e(t,n).breakAt.isSome())))(e,t,r):r.breakAt.isNone()},Uk=P(qk,U_),Hk=P(qk,H_),Wk=(e,t,n,r)=>{const o=e.selection.getRng(),i=t?1:-1;return!(!Jc()||!((e,t,n)=>{const r=gs.fromRangeStart(t);return Gu(!e,n).exists((e=>e.isEqual(r)))})(t,o,n))&&(NC(i,e,n,!t,!1).each((t=>{sw(e,t)})),!0)},Vk=(e,t)=>{const n=t.getNode(e);return _r(n)?N.some(n):N.none()},Yk=(e,t,n)=>{const r=Vk(!!t,n),o=!1===t;r.fold((()=>sw(e,n.toRange())),(r=>Gu(o,e.getBody()).filter((e=>e.isEqual(n))).fold((()=>sw(e,n.toRange())),(n=>((e,t,n)=>{t.undoManager.transact((()=>{const r=e?Gn:Zn,o=Qw(t,dn.fromDom(n),r);sw(t,o)}))})(t,e,r)))))},Zk=(e,t,n,r)=>{const o=e.selection.getRng(),i=gs.fromRangeStart(o),a=e.getBody();if(!t&&Uk(r,i)){const r=((e,t,n)=>Fk(t,n).orThunk((()=>ce(n.getClientRects()).bind((n=>z_(W_(e,gs.before(t)),n.left))))).getOr(gs.before(t)))(a,n,i);return Yk(e,t,r),!0}if(t&&Hk(r,i)){const r=((e,t,n)=>zk(t,n).orThunk((()=>ce(n.getClientRects()).bind((n=>z_(V_(e,gs.after(t)),n.left))))).getOr(gs.after(t)))(a,n,i);return Yk(e,t,r),!0}return!1},Gk=(e,t,n)=>N.from(e.dom.getParent(e.selection.getNode(),"td,th")).bind((r=>N.from(e.dom.getParent(r,"table")).map((o=>n(e,t,o,r))))).getOr(!1),Kk=(e,t)=>Gk(e,t,Wk),$k=(e,t)=>Gk(e,t,Zk),Xk=(e,t,n)=>n.fold(N.none,N.none,((e,t)=>kh(t).map((e=>(e=>{const t=rp.exact(e,0,e,0);return lp(t)})(e)))),(n=>(e.execCommand("mceTableInsertRowAfter"),Qk(e,t,n)))),Qk=(e,t,n)=>Xk(e,t,((e,t,n)=>Mk(e,n).fold((()=>Ek.none(e)),(n=>Pk(n.all,e,n.index,1,t))))(n,Dk)),Jk=(e,t,n)=>Xk(e,t,((e,t,n)=>Mk(e,n).fold((()=>Ek.none()),(n=>Pk(n.all,e,n.index,-1,t))))(n,Dk)),eS=(e,t)=>{const n=["table","li","dl"],r=dn.fromDom(e.getBody()),o=e=>{const t=Lt(e);return mn(e,r)||H(n,t)},i=e.selection.getRng(),a=dn.fromDom(t?i.endContainer:i.startContainer);return Ok(a,o).map((n=>{Tk(n,o).each((t=>{e.model.table.clearSelectedCells(t.dom)})),e.selection.collapse(!t);return(t?Qk:Jk)(e,o,n).each((t=>{e.selection.setRng(t)})),!0})).getOr(!1)},tS=(e,t)=>{e.on("keydown",(n=>{n.isDefaultPrevented()||((e,t,n)=>{const r=Bt.os.isMacOS()||Bt.os.isiOS();xk([{keyCode:Ff.RIGHT,action:Ak(lk,e,!0)},{keyCode:Ff.LEFT,action:Ak(lk,e,!1)},{keyCode:Ff.UP,action:Ak(ck,e,!1)},{keyCode:Ff.DOWN,action:Ak(ck,e,!0)},...r?[{keyCode:Ff.UP,action:Ak(dk,e,!1),metaKey:!0,shiftKey:!0},{keyCode:Ff.DOWN,action:Ak(dk,e,!0),metaKey:!0,shiftKey:!0}]:[],{keyCode:Ff.RIGHT,action:Ak(Kk,e,!0)},{keyCode:Ff.LEFT,action:Ak(Kk,e,!1)},{keyCode:Ff.UP,action:Ak($k,e,!1)},{keyCode:Ff.DOWN,action:Ak($k,e,!0)},{keyCode:Ff.RIGHT,action:Ak(_k,e,!0)},{keyCode:Ff.LEFT,action:Ak(_k,e,!1)},{keyCode:Ff.UP,action:Ak(wk,e,!1)},{keyCode:Ff.DOWN,action:Ak(wk,e,!0)},{keyCode:Ff.RIGHT,action:Ak(bw,e,t,!0)},{keyCode:Ff.LEFT,action:Ak(bw,e,t,!1)},{keyCode:Ff.RIGHT,ctrlKey:!r,altKey:r,action:Ak(xw,e,t)},{keyCode:Ff.LEFT,ctrlKey:!r,altKey:r,action:Ak(Cw,e,t)},{keyCode:Ff.UP,action:Ak(mk,e,!1)},{keyCode:Ff.DOWN,action:Ak(mk,e,!0)}],n).each((e=>{n.preventDefault()}))})(e,t,n)}))},nS=(e,t)=>({container:e,offset:t}),rS=la.DOM,oS=e=>t=>e===t?-1:0,iS=(e,t,n)=>{if(Sr(e)&&t>=0)return N.some(nS(e,t));{const r=za(rS);return N.from(r.backwards(e,t,oS(e),n)).map((e=>nS(e.container,e.container.data.length)))}},aS=(e,t,n)=>{if(!Sr(e))return N.none();const r=e.data;if(t>=0&&t<=r.length)return N.some(nS(e,t));{const r=za(rS);return N.from(r.backwards(e,t,oS(e),n)).bind((e=>{const r=e.container.data;return aS(e.container,t+r.length,n)}))}},sS=(e,t,n)=>{if(!Sr(e))return N.none();const r=e.data;if(t<=r.length)return N.some(nS(e,t));{const o=za(rS);return N.from(o.forwards(e,t,oS(e),n)).bind((e=>sS(e.container,t-r.length,n)))}},lS=(e,t,n,r,o)=>{const i=za(e,(e=>t=>e.isBlock(t)||H(["BR","IMG","HR","INPUT"],t.nodeName)||"false"===e.getContentEditable(t))(e));return N.from(i.backwards(t,n,r,o))},cS=e=>Oo(e.toString().replace(/\u00A0/g," ")),uS=e=>""!==e&&-1!=="  \f\n\r\t\v".indexOf(e),dS=(e,t)=>e.substring(t.length),fS=(e,t,n,r=0)=>{if(!(o=t).collapsed||!Sr(o.startContainer))return N.none();var o;const i={text:"",offset:0},a=e.getParent(t.startContainer,e.isBlock)||e.getRoot();return lS(e,t.startContainer,t.startOffset,((e,t,r)=>(i.text=r+i.text,i.offset+=t,((e,t,n)=>{let r;const o=n.charAt(0);for(r=t-1;r>=0;r--){const i=e.charAt(r);if(uS(i))return N.none();if(o===i&&qe(e,n,r,t))break}return N.some(r)})(i.text,i.offset,n).getOr(t))),a).bind((e=>{const o=t.cloneRange();if(o.setStart(e.container,e.offset),o.setEnd(t.endContainer,t.endOffset),o.collapsed)return N.none();const i=cS(o);return 0!==i.lastIndexOf(n)||dS(i,n).length<r?N.none():N.some({text:dS(i,n),range:o,trigger:n})}))},pS=(e,t,n,r=0)=>{return(o=dn.fromDom(t.startContainer),$r(o,Eh)).fold((()=>fS(e,t,n,r)),(t=>{const r=e.createRng();r.selectNode(t.dom);const o=cS(r);return N.some({range:r,text:dS(o,n),trigger:n})}));var o},hS=e=>{if((e=>3===e.nodeType)(e))return nS(e,e.data.length);{const t=e.childNodes;return t.length>0?hS(t[t.length-1]):nS(e,t.length)}},mS=(e,t)=>{const n=e.childNodes;return n.length>0&&t<n.length?mS(n[t],0):n.length>0&&(e=>1===e.nodeType)(e)&&n.length===t?hS(n[n.length-1]):nS(e,t)},gS=e=>t=>{const n=mS(t.startContainer,t.startOffset);return!((e,t)=>{var n;const r=null!==(n=e.getParent(t.container,e.isBlock))&&void 0!==n?n:e.getRoot();return lS(e,t.container,t.offset,((e,t)=>0===t?-1:t),r).filter((e=>{const t=e.container.data.charAt(e.offset-1);return!uS(t)})).isSome()})(e,n)},vS=(e,t)=>{const n=t(),r=e.selection.getRng();return((e,t,n)=>fe(n.triggers,(n=>pS(e,t,n))))(e.dom,r,n).bind((n=>bS(e,t,n)))},bS=(e,t,n,r={})=>{var o;const i=t(),a=null!==(o=e.selection.getRng().startContainer.nodeValue)&&void 0!==o?o:"",s=K(i.lookupByTrigger(n.trigger),(t=>n.text.length>=t.minChars&&t.matches.getOrThunk((()=>gS(e.dom)))(n.range,a,n.text)));if(0===s.length)return N.none();const l=Promise.all(V(s,(e=>e.fetch(n.text,e.maxResults,r).then((t=>({matchText:n.text,items:t,columns:e.columns,onAction:e.onAction,highlightOn:e.highlightOn}))))));return N.some({lookupData:l,context:n})};var yS;!function(e){e[e.Error=0]="Error",e[e.Value=1]="Value"}(yS||(yS={}));const AS=(e,t,n)=>e.stype===yS.Error?t(e.serror):n(e.svalue),xS=e=>({stype:yS.Value,svalue:e}),CS=e=>({stype:yS.Error,serror:e}),_S=e=>AS(e,qs.error,qs.value),wS=xS,kS=e=>{const t=[],n=[];return Y(e,(e=>{AS(e,(e=>n.push(e)),(e=>t.push(e)))})),{values:t,errors:n}},SS=CS,ES=(e,t)=>e.stype===yS.Error?t(e.serror):e,BS=(e,t)=>e.stype===yS.Value?{stype:yS.Value,svalue:t(e.svalue)}:e,OS=(e,t)=>e.stype===yS.Error?{stype:yS.Error,serror:t(e.serror)}:e,jS=AS,TS=e=>m(e)&&pe(e).length>100?" removed due to size":JSON.stringify(e,null,2),PS=(e,t)=>SS([{path:e,getErrorInfo:t}]),MS=(e,t,n,r)=>_e(n,r).fold((()=>((e,t,n)=>PS(e,(()=>'The chosen schema: "'+n+'" did not exist in branches: '+TS(t))))(e,n,r)),(n=>n.extract(e.concat(["branch: "+r]),t))),DS=(e,t)=>({extract:(n,r)=>_e(r,e).fold((()=>((e,t)=>PS(e,(()=>'Choice schema did not contain choice key: "'+t+'"')))(n,e)),(e=>MS(n,r,t,e))),toString:()=>"chooseOn("+e+"). Possible values: "+pe(t)}),RS=e=>(...t)=>{if(0===t.length)throw new Error("Can't merge zero objects");const n={};for(let r=0;r<t.length;r++){const o=t[r];for(const t in o)we(o,t)&&(n[t]=e(n[t],o[t]))}return n},LS=RS(((e,t)=>g(e)&&g(t)?LS(e,t):t)),IS=(RS(((e,t)=>t)),e=>({tag:"defaultedThunk",process:O(e)})),NS=e=>E(SS,te)(e),FS=e=>{const t=kS(e);return t.errors.length>0?NS(t.errors):wS(t.values)},zS=(e,t,n)=>{switch(e.tag){case"field":return t(e.key,e.newKey,e.presence,e.prop);case"custom":return n(e.newKey,e.instantiator)}},qS=e=>({extract:(t,n)=>ES(e(n),(e=>((e,t)=>PS(e,O(t)))(t,e))),toString:O("val")}),US=qS(wS),HS=(e,t,n,r)=>_e(t,n).fold((()=>((e,t,n)=>PS(e,(()=>'Could not find valid *required* value for "'+t+'" in '+TS(n))))(e,n,t)),r),WS=(e,t,n,r)=>r(_e(e,t).getOrThunk((()=>n(e)))),VS=(e,t,n,r,o)=>{const i=e=>o.extract(t.concat([r]),e),a=e=>e.fold((()=>wS(N.none())),(e=>{const n=o.extract(t.concat([r]),e);return BS(n,N.some)}));switch(e.tag){case"required":return HS(t,n,r,i);case"defaultedThunk":return WS(n,r,e.process,i);case"option":return((e,t,n)=>n(_e(e,t)))(n,r,a);case"defaultedOptionThunk":return((e,t,n,r)=>r(_e(e,t).map((t=>!0===t?n(e):t))))(n,r,e.process,a);case"mergeWithThunk":return WS(n,r,O({}),(t=>{const r=LS(e.process(n),t);return i(r)}))}},YS=e=>({extract:(t,n)=>((e,t,n)=>{const r={},o=[];for(const i of n)zS(i,((n,i,a,s)=>{const l=VS(a,e,t,n,s);jS(l,(e=>{o.push(...e)}),(e=>{r[i]=e}))}),((e,n)=>{r[e]=n(t)}));return o.length>0?SS(o):wS(r)})(t,n,e),toString:()=>{const t=V(e,(e=>zS(e,((e,t,n,r)=>e+" -> "+r.toString()),((e,t)=>"state("+e+")"))));return"obj{\n"+t.join("\n")+"}"}}),ZS=e=>({extract:(t,n)=>{const r=V(n,((n,r)=>e.extract(t.concat(["["+r+"]"]),n)));return FS(r)},toString:()=>"array("+e.toString()+")"}),GS=(e,t,n)=>_S(((e,t,n)=>{const r=t.extract([e],n);return OS(r,(e=>({input:n,errors:e})))})(e,t,n)),KS=e=>"Errors: \n"+(e=>{const t=e.length>10?e.slice(0,10).concat([{path:[],getErrorInfo:O("... (only showing first ten failures)")}]):e;return V(t,(e=>"Failed path: ("+e.path.join(" > ")+")\n"+e.getErrorInfo()))})(e.errors).join("\n")+"\n\nInput object: "+TS(e.input),$S=(e,t)=>DS(e,ge(t,YS)),XS=O(US),QS=(e,t)=>qS((n=>{const r=typeof n;return e(n)?wS(n):SS(`Expected type: ${t} but got: ${r}`)})),JS=QS(w,"number"),eE=QS(h,"string"),tE=QS(y,"boolean"),nE=QS(_,"function"),rE=(e,t,n,r)=>({tag:"field",key:e,newKey:t,presence:n,prop:r}),oE=(e,t)=>({tag:"custom",newKey:e,instantiator:t}),iE=e=>{return t=t=>H(e,t)?qs.value(t):qs.error(`Unsupported value: "${t}", choose one of "${e.join(", ")}".`),qS((e=>t(e).fold(SS,wS)));var t},aE=(e,t)=>rE(e,e,{tag:"required",process:{}},t),sE=e=>aE(e,eE),lE=e=>aE(e,nE),cE=(e,t)=>rE(e,e,{tag:"option",process:{}},t),uE=e=>cE(e,eE),dE=(e,t,n)=>rE(e,e,IS(t),n),fE=(e,t)=>dE(e,t,JS),pE=(e,t,n)=>dE(e,t,iE(n)),hE=(e,t)=>dE(e,t,tE),mE=(e,t)=>dE(e,t,nE),gE=sE("type"),vE=lE("fetch"),bE=lE("onAction"),yE=mE("onSetup",(()=>S)),AE=uE("text"),xE=uE("icon"),CE=uE("tooltip"),_E=uE("label"),wE=hE("active",!1),kE=hE("enabled",!0),SE=hE("primary",!1),EE=e=>((e,t)=>dE(e,t,eE))("type",e),BE=YS([gE,sE("trigger"),fE("minChars",1),(jE=1,((e,t)=>rE(e,e,IS(t),XS()))("columns",jE)),fE("maxResults",10),(OE="matches",cE(OE,nE)),vE,bE,((e,t,n)=>dE(e,t,ZS(n)))("highlightOn",[],eE)]);var OE,jE;const TE=[kE,CE,xE,AE,yE],PE=[wE].concat(TE),ME=[mE("predicate",L),pE("scope","node",["node","editor"]),pE("position","selection",["node","selection","line"])],DE=TE.concat([EE("contextformbutton"),SE,bE,oE("original",j)]),RE=PE.concat([EE("contextformbutton"),SE,bE,oE("original",j)]),LE=TE.concat([EE("contextformbutton")]),IE=PE.concat([EE("contextformtogglebutton")]),NE=$S("type",{contextformbutton:DE,contextformtogglebutton:RE});YS([EE("contextform"),mE("initValue",O("")),_E,((e,t)=>rE(e,e,{tag:"required",process:{}},ZS(t)))("commands",NE),cE("launch",$S("type",{contextformbutton:LE,contextformtogglebutton:IE}))].concat(ME));const FE=e=>{const t=e.ui.registry.getAll().popups,n=ge(t,(e=>{return(t=e,GS("Autocompleter",BE,{trigger:t.ch,...t})).fold((e=>{throw new Error(KS(e))}),j);var t})),r=Se(xe(n,(e=>e.trigger))),o=Ce(n);return{dataset:n,triggers:r,lookupByTrigger:e=>K(o,(t=>t.trigger===e))}},zE=e=>{const t=ba(),n=da(!1),r=t.isSet,o=()=>{r()&&((e=>{ex(e).autocompleter.removeDecoration()})(e),(e=>{e.dispatch("AutocompleterEnd")})(e),n.set(!1),t.clear())},i=n=>{r()||(((e,t)=>{ex(e).autocompleter.addDecoration(t)})(e,n.range),t.set({trigger:n.trigger,matchLength:n.text.length}))},a=Re((()=>FE(e))),s=r=>{(n=>t.get().map((t=>pS(e.dom,e.selection.getRng(),t.trigger).bind((t=>bS(e,a,t,n))))).getOrThunk((()=>vS(e,a))))(r).fold(o,(r=>{i(r.context),r.lookupData.then((i=>{t.get().map((a=>{const s=r.context;a.trigger===s.trigger&&(s.text.length-a.matchLength>=10?o():(t.set({...a,matchLength:s.text.length}),n.get()?((e,t)=>{e.dispatch("AutocompleterUpdate",t)})(e,{lookupData:i}):(n.set(!0),((e,t)=>{e.dispatch("AutocompleterStart",t)})(e,{lookupData:i}))))}))}))}))};e.addCommand("mceAutocompleterReload",((e,t)=>{const n=m(t)?t.fetchOptions:{};s(n)})),e.addCommand("mceAutocompleterClose",o),((e,t)=>{const n=Aa(t.load,50);e.on("keypress compositionend",(e=>{27!==e.which&&n.throttle()})),e.on("keydown",(e=>{const r=e.which;8===r?n.throttle():27===r&&t.cancelIfNecessary()})),e.on("remove",n.cancel)})(e,{cancelIfNecessary:o,load:s})},qE=e=>(t,n,r={})=>{const o=t.getBody(),i={bubbles:!0,composed:!0,data:null,isComposing:!1,detail:0,view:null,target:o,currentTarget:o,eventPhase:Event.AT_TARGET,originalTarget:o,explicitOriginalTarget:o,isTrusted:!1,srcElement:o,cancelable:!1,preventDefault:S,inputType:n},a=Vi(new InputEvent(e));return t.dispatch(e,{...a,...i,...r})},UE=qE("input"),HE=qE("beforeinput"),WE=(e,t)=>{e.on("keydown",(n=>{n.isDefaultPrevented()||((e,t,n)=>{const r=n.keyCode===Ff.BACKSPACE?"deleteContentBackward":"deleteContentForward";Ck([{keyCode:Ff.BACKSPACE,action:Ak(qw,e)},{keyCode:Ff.BACKSPACE,action:Ak(t_,e,!1)},{keyCode:Ff.DELETE,action:Ak(t_,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(WC,e,!1)},{keyCode:Ff.DELETE,action:Ak(WC,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(Ew,e,t,!1)},{keyCode:Ff.DELETE,action:Ak(Ew,e,t,!0)},{keyCode:Ff.BACKSPACE,action:Ak(Yg,e,!1)},{keyCode:Ff.DELETE,action:Ak(Yg,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(n_,e,!1)},{keyCode:Ff.DELETE,action:Ak(n_,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(Mw,e,!1)},{keyCode:Ff.DELETE,action:Ak(Mw,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(IC,e,!1)},{keyCode:Ff.DELETE,action:Ak(IC,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(MC,e,!1)},{keyCode:Ff.DELETE,action:Ak(MC,e,!0)},{keyCode:Ff.BACKSPACE,action:Ak(Tw,e,!1)},{keyCode:Ff.DELETE,action:Ak(Tw,e,!0)}],n).each((t=>{n.preventDefault(),HE(e,r).isDefaultPrevented()||(t(),UE(e,r))}))})(e,t,n)})),e.on("keyup",(t=>{t.isDefaultPrevented()||((e,t)=>{xk([{keyCode:Ff.BACKSPACE,action:Ak(e_,e)},{keyCode:Ff.DELETE,action:Ak(e_,e)}],t)})(e,t)}))},VE=(e,t)=>{const n=e.dom,r=e.schema.getMoveCaretBeforeOnEnterElements();if(!t)return;if(/^(LI|DT|DD)$/.test(t.nodeName)){const e=(e=>{for(;e;){if(vr(e)||Sr(e)&&e.data&&/[\r\n\s]/.test(e.data))return e;e=e.nextSibling}return null})(t.firstChild);e&&/^(UL|OL|DL)$/.test(e.nodeName)&&t.insertBefore(n.doc.createTextNode(go),t.firstChild)}const o=n.createRng();if(t.normalize(),t.hasChildNodes()){const e=new Jr(t,t);let n,i=t;for(;n=e.current();){if(Sr(n)){o.setStart(n,0),o.setEnd(n,0);break}if(r[n.nodeName.toLowerCase()]){o.setStartBefore(n),o.setEndBefore(n);break}i=n,n=e.next()}n||(o.setStart(i,0),o.setEnd(i,0))}else Pr(t)?t.nextSibling&&n.isBlock(t.nextSibling)?(o.setStartBefore(t),o.setEndBefore(t)):(o.setStartAfter(t),o.setEndAfter(t)):(o.setStart(t,0),o.setEnd(t,0));e.selection.setRng(o),Hp(e,o)},YE=(e,t)=>{const n=e.getRoot();let r,o=t;for(;o!==n&&o&&"false"!==e.getContentEditable(o);)"true"===e.getContentEditable(o)&&(r=o),o=o.parentNode;return o!==n?r:n},ZE=e=>N.from(e.dom.getParent(e.selection.getStart(!0),e.dom.isBlock)),GE=(e,t)=>{const n=null==e?void 0:e.parentNode;return C(n)&&n.nodeName===t},KE=e=>C(e)&&/^(OL|UL|LI)$/.test(e.nodeName),$E=e=>{const t=e.parentNode;return C(n=t)&&/^(LI|DT|DD)$/.test(n.nodeName)?t:e;var n},XE=(e,t,n)=>{let r=e[n?"firstChild":"lastChild"];for(;r&&!vr(r);)r=r[n?"nextSibling":"previousSibling"];return r===t},QE=(e,t,n,r,o)=>{const i=e.dom,a=e.selection.getRng(),s=n.parentNode;if(n===e.getBody()||!s)return;var l;KE(l=n)&&KE(l.parentNode)&&(o="LI");let c=t(o);if(XE(n,r,!0)&&XE(n,r,!1))if(GE(n,"LI")){const e=$E(n);i.insertAfter(c,e),(e=>{var t;return(null===(t=e.parentNode)||void 0===t?void 0:t.firstChild)===e})(n)?i.remove(e):i.remove(n)}else i.replace(c,n);else if(XE(n,r,!0))GE(n,"LI")?(i.insertAfter(c,$E(n)),c.appendChild(i.doc.createTextNode(" ")),c.appendChild(n)):s.insertBefore(c,n),i.remove(r);else if(XE(n,r,!1))i.insertAfter(c,$E(n)),i.remove(r);else{n=$E(n);const e=a.cloneRange();e.setStartAfter(r),e.setEndAfter(n);const t=e.extractContents();"LI"===o&&((e,t)=>e.firstChild&&e.firstChild.nodeName===t)(t,"LI")?(c=t.firstChild,i.insertAfter(t,n)):(i.insertAfter(t,n),i.insertAfter(c,n)),i.remove(r)}VE(e,c)},JE=(e,t)=>t&&"A"===t.nodeName&&e.isEmpty(t),eB=e=>{e.innerHTML='<br data-mce-bogus="1">'},tB=(e,t)=>e.nodeName===t||e.previousSibling&&e.previousSibling.nodeName===t,nB=(e,t)=>C(t)&&e.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&!/^(fixed|absolute)/i.test(t.style.position)&&"true"!==e.getContentEditable(t),rB=(e,t,n)=>Sr(t)?e?1===n&&t.data.charAt(n-1)===Eo?0:n:n===t.data.length-1&&t.data.charAt(n)===Eo?t.data.length:n:n,oB=(e,t)=>{if(cl(e).toLowerCase()===t.tagName.toLowerCase()){((e,t,n)=>{const r=e.dom;N.from(n.style).map(r.parseStyle).each((e=>{const n={...Vn(dn.fromDom(t)),...e};r.setStyles(t,n)}));const o=N.from(n.class).map((e=>e.split(/\s+/))),i=N.from(t.className).map((e=>K(e.split(/\s+/),(e=>""!==e))));Dt(o,i,((e,n)=>{const o=K(n,(t=>!H(e,t))),i=[...e,...o];r.setAttrib(t,"class",i.join(" "))}));const a=["style","class"],s=Ae(n,((e,t)=>!H(a,t)));r.setAttribs(t,s)})(e,t,ul(e))}},iB={insert:(e,t)=>{let n,r,o,i,a=!1;const s=e.dom,l=e.schema,c=l.getNonEmptyElements(),u=e.selection.getRng(),d=cl(e),f=t=>{let r=n;const i=l.getTextInlineElements();let a;a=t||"TABLE"===o||"HR"===o?s.create(t||d):y.cloneNode(!1);let c=a;if(!1===hl(e))s.setAttrib(a,"style",null),s.setAttrib(a,"class",null);else do{if(i[r.nodeName]){if(ed(r)||hd(r))continue;const e=r.cloneNode(!1);s.setAttrib(e,"id",""),a.hasChildNodes()?(e.appendChild(a.firstChild),a.appendChild(e)):(c=e,a.appendChild(e))}}while((r=r.parentNode)&&r!==b);return oB(e,a),eB(c),a},p=e=>{const t=rB(e,n,r);if(Sr(n)&&(e?t>0:t<n.data.length))return!1;if(n.parentNode===y&&a&&!e)return!0;if(e&&vr(n)&&n===y.firstChild)return!0;if(tB(n,"TABLE")||tB(n,"HR"))return a&&!e||!a&&e;const o=new Jr(n,y);let i;for(Sr(n)&&(e&&0===t?o.prev():e||t!==n.data.length||o.next());i=o.current();){if(vr(i)){if(!i.getAttribute("data-mce-bogus")){const e=i.nodeName.toLowerCase();if(c[e]&&"br"!==e)return!1}}else if(Sr(i)&&!ei(i.data))return!1;e?o.prev():o.next()}return!0},m=()=>{let t;return t=/^(H[1-6]|PRE|FIGURE)$/.test(o)&&"HGROUP"!==A?f(d):f(),((e,t)=>{const n=ml(e);return!x(t)&&(h(n)?H(Pt.explode(n),t.nodeName.toLowerCase()):n)})(e,i)&&nB(s,i)&&s.isEmpty(y)?t=s.split(i,y):s.insertAfter(t,y),VE(e,t),t};bp(s,u).each((e=>{u.setStart(e.startContainer,e.startOffset),u.setEnd(e.endContainer,e.endOffset)})),n=u.startContainer,r=u.startOffset;const g=!(!t||!t.shiftKey),v=!(!t||!t.ctrlKey);vr(n)&&n.hasChildNodes()&&(a=r>n.childNodes.length-1,n=n.childNodes[Math.min(r,n.childNodes.length-1)]||n,r=a&&Sr(n)?n.data.length:0);const b=YE(s,n);if(!b||((e,t)=>{const n=e.dom.getParent(t,"ol,ul,dl");return null!==n&&"false"===e.dom.getContentEditableParent(n)})(e,n))return;g||(n=((e,t,n,r,o)=>{var i;const a=e.dom,s=null!==(i=YE(a,r))&&void 0!==i?i:a.getRoot();let l=a.getParent(r,a.isBlock);if(!l||!nB(a,l)){let i;if(l=l||s,i=l===e.getBody()||Ir(l)?l.nodeName.toLowerCase():l.parentNode?l.parentNode.nodeName.toLowerCase():"",!l.hasChildNodes()){const r=a.create(t);return oB(e,r),l.appendChild(r),n.setStart(r,0),n.setEnd(r,0),r}let c,u=r;for(;u&&u.parentNode!==l;)u=u.parentNode;for(;u&&!a.isBlock(u);)c=u,u=u.previousSibling;if(c&&e.schema.isValidChild(i,t.toLowerCase())){const i=c.parentNode,s=a.create(t);for(oB(e,s),i.insertBefore(s,c),u=c;u&&!a.isBlock(u);){const e=u.nextSibling;s.appendChild(u),u=e}n.setStart(r,o),n.setEnd(r,o)}}return r})(e,d,u,n,r));let y=s.getParent(n,s.isBlock)||s.getRoot();i=C(null==y?void 0:y.parentNode)?s.getParent(y.parentNode,s.isBlock):null,o=y?y.nodeName.toUpperCase():"";const A=i?i.nodeName.toUpperCase():"";if("LI"===A&&!v){y=i,i=i.parentNode,o=A}if(/^(LI|DT|DD)$/.test(o)&&vr(i)&&s.isEmpty(y))return void QE(e,f,i,y,d);if(y===e.getBody())return;const _=y.parentNode;let w;if(Po(y))w=zo(y),s.isEmpty(y)&&eB(y),oB(e,w),VE(e,w);else if(p(!1))w=m();else if(p(!0)&&_)w=_.insertBefore(f(),y),VE(e,tB(y,"HR")?w:y);else{const t=(e=>{const t=e.cloneRange();return t.setStart(e.startContainer,rB(!0,e.startContainer,e.startOffset)),t.setEnd(e.endContainer,rB(!1,e.endContainer,e.endOffset)),t})(u).cloneRange();t.setEndAfter(y);const n=t.extractContents();(e=>{Y(bo(dn.fromDom(e),zt),(e=>{const t=e.dom;t.nodeValue=Oo(t.data)}))})(n),(e=>{let t=e;do{Sr(t)&&(t.data=t.data.replace(/^[\r\n]+/,"")),t=t.firstChild}while(t)})(n),w=n.firstChild,s.insertAfter(n,y),((e,t,n)=>{var r;const o=[];if(!n)return;let i=n;for(;i=i.firstChild;){if(e.isBlock(i))return;vr(i)&&!t[i.nodeName.toLowerCase()]&&o.push(i)}let a=o.length;for(;a--;)i=o[a],(!i.hasChildNodes()||i.firstChild===i.lastChild&&""===(null===(r=i.firstChild)||void 0===r?void 0:r.nodeValue)||JE(e,i))&&e.remove(i)})(s,c,w),((e,t)=>{t.normalize();const n=t.lastChild;(!n||vr(n)&&/^(left|right)$/gi.test(e.getStyle(n,"float",!0)))&&e.add(t,"br")})(s,y),s.isEmpty(y)&&eB(y),w.normalize(),s.isEmpty(w)?(s.remove(w),m()):(oB(e,w),VE(e,w))}s.setAttrib(w,"id",""),e.dispatch("NewBlock",{newBlock:w})},fakeEventName:"insertParagraph"},aB=(e,t,n)=>{const r=e.dom.createRng();n?(r.setStartBefore(t),r.setEndBefore(t)):(r.setStartAfter(t),r.setEndAfter(t)),e.selection.setRng(r),Hp(e,r)},sB=(e,t)=>{const n=e.selection,r=e.dom,o=n.getRng();let i,a=!1;bp(r,o).each((e=>{o.setStart(e.startContainer,e.startOffset),o.setEnd(e.endContainer,e.endOffset)}));let s=o.startOffset,l=o.startContainer;if(vr(l)&&l.hasChildNodes()){const e=s>l.childNodes.length-1;l=l.childNodes[Math.min(s,l.childNodes.length-1)]||l,s=e&&Sr(l)?l.data.length:0}let c=r.getParent(l,r.isBlock);const u=c&&c.parentNode?r.getParent(c.parentNode,r.isBlock):null,d=u?u.nodeName.toUpperCase():"",f=!(!t||!t.ctrlKey);"LI"!==d||f||(c=u),Sr(l)&&s>=l.data.length&&(((e,t,n)=>{const r=new Jr(t,n);let o;const i=e.getNonEmptyElements();for(;o=r.next();)if(i[o.nodeName.toLowerCase()]||Sr(o)&&o.length>0)return!0;return!1})(e.schema,l,c||r.getRoot())||(i=r.create("br"),o.insertNode(i),o.setStartAfter(i),o.setEndAfter(i),a=!0)),i=r.create("br"),bs(r,o,i),aB(e,i,a),e.undoManager.add()},lB=(e,t)=>{const n=dn.fromTag("br");Zn(dn.fromDom(t),n),e.undoManager.add()},cB=(e,t)=>{uB(e.getBody(),t)||Gn(dn.fromDom(t),dn.fromTag("br"));const n=dn.fromTag("br");Gn(dn.fromDom(t),n),aB(e,n.dom,!1),e.undoManager.add()},uB=(e,t)=>{return n=gs.after(t),!!Pr(n.getNode())||Ku(e,gs.after(t)).map((e=>Pr(e.getNode()))).getOr(!1);var n},dB=e=>e&&"A"===e.nodeName&&"href"in e,fB=e=>e.fold(L,dB,dB,L),pB=(e,t)=>{t.fold(S,P(lB,e),P(cB,e),S)},hB={insert:(e,t)=>{const n=(e=>{const t=P(ig,e),n=gs.fromRangeStart(e.selection.getRng());return __(t,e.getBody(),n).filter(fB)})(e);n.isSome()?n.each(P(pB,e)):sB(e,t)},fakeEventName:"insertLineBreak"},mB=(e,t)=>ZE(e).filter((e=>t.length>0&&pn(dn.fromDom(e),t))).isSome(),gB=Us([{br:[]},{block:[]},{none:[]}]),vB=(e,t)=>(e=>mB(e,pl(e)))(e),bB=e=>(t,n)=>(e=>ZE(e).filter((e=>so(dn.fromDom(e)))).isSome())(t)===e,yB=(e,t)=>(n,r)=>{const o=(e=>ZE(e).fold(O(""),(e=>e.nodeName.toUpperCase())))(n)===e.toUpperCase();return o===t},AB=e=>{const t=YE(e.dom,e.selection.getStart());return x(t)},xB=e=>yB("pre",e),CB=e=>(t,n)=>ll(t)===e,_B=(e,t)=>(e=>mB(e,fl(e)))(e),wB=(e,t)=>t,kB=e=>{const t=cl(e),n=YE(e.dom,e.selection.getStart());return C(n)&&e.schema.isValidChild(n.nodeName,t)},SB=(e,t)=>(n,r)=>X(e,((e,t)=>e&&t(n,r)),!0)?N.some(t):N.none(),EB=(e,t,n)=>{if(t.selection.isCollapsed()||(e=>{e.execCommand("delete")})(t),C(n)){if(HE(t,e.fakeEventName).isDefaultPrevented())return}e.insert(t,n),C(n)&&UE(t,e.fakeEventName)},BB=(e,t)=>{const n=()=>EB(hB,e,t),r=()=>EB(iB,e,t),o=((e,t)=>p_([SB([vB],gB.none()),SB([xB(!0),AB],gB.none()),SB([yB("summary",!0)],gB.br()),SB([xB(!0),CB(!1),wB],gB.br()),SB([xB(!0),CB(!1)],gB.block()),SB([xB(!0),CB(!0),wB],gB.block()),SB([xB(!0),CB(!0)],gB.br()),SB([bB(!0),wB],gB.br()),SB([bB(!0)],gB.block()),SB([_B],gB.br()),SB([wB],gB.br()),SB([kB],gB.block())],[e,!(!t||!t.shiftKey)]).getOr(gB.none()))(e,t);switch(dl(e)){case"linebreak":o.fold(n,n,S);break;case"block":o.fold(r,r,S);break;case"invert":o.fold(r,n,S);break;default:o.fold(n,r,S)}},OB=e=>{e.on("keydown",(t=>{t.keyCode===Ff.ENTER&&((e,t)=>{var n;t.isDefaultPrevented()||(t.preventDefault(),(n=e.undoManager).typing&&(n.typing=!1,n.add()),e.undoManager.transact((()=>{BB(e,t)})))})(e,t)}))},jB=(e,t)=>{e.on("keydown",(n=>{n.isDefaultPrevented()||((e,t,n)=>{const r=Bt.os.isMacOS()||Bt.os.isiOS();xk([{keyCode:Ff.END,action:Ak(uk,e,!0)},{keyCode:Ff.HOME,action:Ak(uk,e,!1)},...r?[]:[{keyCode:Ff.HOME,action:Ak(dk,e,!1),ctrlKey:!0,shiftKey:!0},{keyCode:Ff.END,action:Ak(dk,e,!0),ctrlKey:!0,shiftKey:!0}],{keyCode:Ff.END,action:Ak(kk,e,!0)},{keyCode:Ff.HOME,action:Ak(kk,e,!1)},{keyCode:Ff.END,action:Ak(_w,e,!0,t)},{keyCode:Ff.HOME,action:Ak(_w,e,!1,t)}],n).each((e=>{n.preventDefault()}))})(e,t,n)}))},TB=e=>{e.on("input",(t=>{t.isComposing||(e=>{const t=dn.fromDom(e.getBody());e.selection.isCollapsed()&&Um(t,gs.fromRangeStart(e.selection.getRng())).each((t=>{e.selection.setRng(t.toRange())}))})(e)}))},PB=xt(),MB=e=>e.stopImmediatePropagation(),DB=e=>e.keyCode===Ff.PAGE_UP||e.keyCode===Ff.PAGE_DOWN,RB=(e,t,n)=>{n&&!e.get()?t.on("NodeChange",MB,!0):!n&&e.get()&&t.off("NodeChange",MB),e.set(n)},LB=(e,t)=>{if(PB.os.isMacOS())return;const n=da(!1);e.on("keydown",(t=>{DB(t)&&RB(n,e,!0)})),e.on("keyup",(r=>{r.isDefaultPrevented()||((e,t,n)=>{xk([{keyCode:Ff.PAGE_UP,action:Ak(_w,e,!1,t)},{keyCode:Ff.PAGE_DOWN,action:Ak(_w,e,!0,t)}],n)})(e,t,r),DB(r)&&n.get()&&(RB(n,e,!1),e.nodeChanged())}))},IB=(e,t)=>{const n=t.container(),r=t.offset();return Sr(n)?(n.insertData(r,e),N.some(gs(n,r+e.length))):Su(t).map((n=>{const r=dn.fromText(e);return t.isAtEnd()?Gn(n,r):Zn(n,r),gs(r.dom,e.length)}))},NB=P(IB,go),FB=P(IB," "),zB=(e,t)=>n=>((e,t)=>!Tm(t)&&(Pm(e,t)||Om(e,t)||jm(e,t)))(e,n)?NB(t):FB(t),qB=e=>{const t=gs.fromRangeStart(e.selection.getRng()),n=dn.fromDom(e.getBody());if(e.selection.isCollapsed()){const r=P(ig,e),o=gs.fromRangeStart(e.selection.getRng());return __(r,e.getBody(),o).bind((e=>t=>t.fold((t=>$u(e.dom,gs.before(t))),(e=>Xu(e)),(e=>Qu(e)),(t=>Ku(e.dom,gs.after(t)))))(n)).map((r=>()=>zB(n,t)(r).each((e=>t=>(e.selection.setRng(t.toRange()),e.nodeChanged(),!0))(e))))}return N.none()},UB=e=>{e.on("keydown",(t=>{t.isDefaultPrevented()||((e,t)=>{Ck([{keyCode:Ff.SPACEBAR,action:Ak(qB,e)}],t).each((n=>{t.preventDefault(),HE(e,"insertText",{data:" "}).isDefaultPrevented()||(n(),UE(e,"insertText",{data:" "}))}))})(e,t)}))},HB=e=>Ic(e)?[{keyCode:Ff.TAB,action:Ak(eS,e,!0)},{keyCode:Ff.TAB,shiftKey:!0,action:Ak(eS,e,!1)}]:[],WB=e=>{e.on("keydown",(t=>{t.isDefaultPrevented()||((e,t)=>{xk([...HB(e)],t).each((e=>{t.preventDefault()}))})(e,t)}))},VB=e=>{if(e.addShortcut("Meta+P","","mcePrint"),zE(e),XA(e))return da(null);{const t=Aw(e);return(e=>{e.on("keyup compositionstart",P(rk,e))})(e),tS(e,t),WE(e,t),OB(e),UB(e),TB(e),WB(e),jB(e,t),LB(e,t),t}};class YB{constructor(e){let t;this.lastPath=[],this.editor=e;const n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",(n=>{const r=e.selection.getRng(),o={startContainer:r.startContainer,startOffset:r.startOffset,endContainer:r.endContainer,endOffset:r.endOffset};"nodechange"!==n.type&&dp(o,t)||e.dispatch("SelectionChange"),t=o})),e.on("contextmenu",(()=>{e.dispatch("SelectionChange")})),e.on("SelectionChange",(()=>{const t=e.selection.getStart(!0);t&&Rd(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})})),e.on("mouseup",(t=>{!t.isDefaultPrevented()&&Rd(e)&&("IMG"===e.selection.getNode().nodeName?rh.setEditorTimeout(e,(()=>{e.nodeChanged()})):e.nodeChanged())}))}nodeChanged(e={}){const t=this.editor.selection;let n;if(this.editor.initialized&&t&&!rc(this.editor)&&!this.editor.mode.isReadOnly()){const r=this.editor.getBody();n=t.getStart(!0)||r,n.ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(n,r)||(n=r);const o=[];this.editor.dom.getParent(n,(e=>e===r||(o.push(e),!1))),this.editor.dispatch("NodeChange",{...e,element:n,parents:o})}}isSameElementPath(e){let t;const n=this.editor,r=oe(n.dom.getParents(e,I,n.getBody()));if(r.length===this.lastPath.length){for(t=r.length;t>=0&&r[t]===this.lastPath[t];t--);if(-1===t)return this.lastPath=r,!0}return this.lastPath=r,!1}}const ZB="x-tinymce/html",GB=O(ZB),KB="\x3c!-- x-tinymce/html --\x3e",$B=e=>KB+e,XB=e=>-1!==e.indexOf(KB),QB=(e,t,n)=>{const r=e.split(/\n\n/),o=((e,t)=>{let n="<"+e;const r=xe(t,((e,t)=>t+'="'+Bi.encodeAllRaw(e)+'"'));return r.length&&(n+=" "+r.join(" ")),n+">"})(t,n),i="</"+t+">",a=V(r,(e=>e.split(/\n/).join("<br />")));return 1===a.length?a[0]:V(a,(e=>o+e+i)).join("")},JB="%MCEPASTEBIN%",eO=e=>e.dom.get("mcepastebin"),tO=e=>C(e)&&"mcepastebin"===e.id,nO=e=>e===JB,rO=e=>{const t=da(null);return{create:()=>((e,t)=>{const{dom:n,selection:r}=e,o=e.getBody();t.set(r.getRng());const i=n.add(e.getBody(),"div",{id:"mcepastebin",class:"mce-pastebin",contentEditable:!0,"data-mce-bogus":"all",style:"position: fixed; top: 50%; width: 10px; height: 10px; overflow: hidden; opacity: 0"},JB);Bt.browser.isFirefox()&&n.setStyle(i,"left","rtl"===n.getStyle(o,"direction",!0)?65535:-65535),n.bind(i,"beforedeactivate focusin focusout",(e=>{e.stopPropagation()})),i.focus(),r.select(i,!0)})(e,t),remove:()=>((e,t)=>{const n=e.dom;if(eO(e)){let r;const o=t.get();for(;r=eO(e);)n.remove(r),n.unbind(r);o&&e.selection.setRng(o)}t.set(null)})(e,t),getEl:()=>eO(e),getHtml:()=>(e=>{const t=e.dom,n=(e,n)=>{e.appendChild(n),t.remove(n,!0)},[r,...o]=K(e.getBody().childNodes,tO);Y(o,(e=>{n(r,e)}));const i=t.select("div[id=mcepastebin]",r);for(let e=i.length-1;e>=0;e--){const o=t.create("div");r.insertBefore(o,i[e]),n(o,i[e])}return r?r.innerHTML:""})(e),getLastRng:t.get}},oO=(e,t)=>(Pt.each(t,(t=>{e=p(t,RegExp)?e.replace(t,""):e.replace(t[0],t[1])})),e),iO=e=>e=oO(e,[/^[\s\S]*<body[^>]*>\s*|\s*<\/body[^>]*>[\s\S]*$/gi,/<!--StartFragment-->|<!--EndFragment-->/g,[/( ?)<span class="Apple-converted-space">\u00a0<\/span>( ?)/g,(e,t,n)=>t||n?go:" "],/<br class="Apple-interchange-newline">/g,/<br>$/i]),aO=(e,t)=>({content:e,cancelled:t}),sO=(e,t,n)=>{const r=((e,t,n)=>e.dispatch("PastePreProcess",{content:t,internal:n}))(e,t,n),o=((e,t)=>{const n=fA({},e.schema);n.addNodeFilter("meta",(e=>{Pt.each(e,(e=>{e.remove()}))}));const r=n.parse(t,{forced_root_block:!1,isRootContent:!0});return Hh({validate:!0},e.schema).serialize(r)})(e,r.content);return e.hasEventListeners("PastePostProcess")&&!r.isDefaultPrevented()?((e,t,n)=>{const r=e.dom.create("div",{style:"display:none"},t),o=((e,t,n)=>e.dispatch("PastePostProcess",{node:t,internal:n}))(e,r,n);return aO(o.node.innerHTML,o.isDefaultPrevented())})(e,o,n):aO(o,r.isDefaultPrevented())},lO=(e,t)=>(e.insertContent(t,{merge:kc(e),paste:!0}),!0),cO=e=>/^https?:\/\/[\w\-\/+=.,!;:&%@^~(){}?#]+$/i.test(e),uO=(e,t,n)=>!(e.selection.isCollapsed()||!cO(t))&&((e,t,n)=>(e.undoManager.extra((()=>{n(e,t)}),(()=>{e.execCommand("mceInsertLink",!1,t)})),!0))(e,t,n),dO=(e,t,n)=>!!((e,t)=>cO(t)&&W(Lc(e),(e=>He(t.toLowerCase(),`.${e.toLowerCase()}`))))(e,t)&&((e,t,n)=>(e.undoManager.extra((()=>{n(e,t)}),(()=>{e.insertContent('<img src="'+t+'">')})),!0))(e,t,n),fO=(e,t,n)=>{n||!Sc(e)?lO(e,t):((e,t)=>{Pt.each([uO,dO,lO],(n=>!n(e,t,lO)))})(e,t)},pO=(e=>{let t=0;return()=>e+t++})("mceclip"),hO=(e,t,n,r)=>{const o=((e,t,n)=>sO(e,t,n))(e,t,n);o.cancelled||fO(e,o.content,r)},mO=(e,t,n)=>{const r=n||XB(t);hO(e,(e=>e.replace(KB,""))(t),r,!1)},gO=(e,t)=>{const n=e.dom.encode(t).replace(/\r\n/g,"\n"),r=ni(n,Bc(e)),o=QB(r,cl(e),ul(e));hO(e,o,!1,!0)},vO=e=>{const t={};if(e&&e.types)for(let n=0;n<e.types.length;n++){const r=e.types[n];try{t[r]=e.getData(r)}catch(e){t[r]=""}}return t},bO=(e,t)=>t in e&&e[t].length>0,yO=e=>bO(e,"text/html")||bO(e,"text/plain"),AO=(e,t,n,r)=>{const o=pO(),i=vl(e)&&C(n.name),a=i?((e,t)=>{const n=t.match(/([\s\S]+?)(?:\.[a-z0-9.]+)$/i);return C(n)?e.dom.encode(n[1]):void 0})(e,n.name):o,s=i?n.name:void 0,l=t.create(o,n,r,a,s);return t.add(l),l},xO=e=>{const t=Lc(e);return e=>Ue(e.type,"image/")&&W(t,(t=>(e=>{const t=e.toLowerCase(),n={jpg:"jpeg",jpe:"jpeg",jfi:"jpeg",jif:"jpeg",jfif:"jpeg",pjpeg:"jpeg",pjp:"jpeg",svg:"svg+xml"};return Pt.hasOwn(n,t)?"image/"+n[t]:"image/"+t})(t)===e.type))},CO=(e,t,n)=>{const r=(e=>"paste"===e.type)(t)?t.clipboardData:t.dataTransfer;if(Ac(e)&&r){const i=((e,t)=>{const n=t.items?ne(de(t.items),(e=>"file"===e.kind?[e.getAsFile()]:[])):[],r=t.files?de(t.files):[];return K(n.length>0?n:r,xO(e))})(e,r);if(i.length>0)return t.preventDefault(),(o=i,Promise.all(V(o,(e=>Vy(e).then((t=>({file:e,uri:t}))))))).then((t=>{n&&e.selection.setRng(n),Y(t,(t=>{((e,t)=>{Uy(t.uri).each((({data:n,type:r,base64Encoded:o})=>{const i=o?n:btoa(n),a=t.file,s=e.editorUpload.blobCache,l=s.getByData(i,r),c=null!=l?l:AO(e,s,a,i);mO(e,`<img src="${c.blobUri()}">`,!1)}))})(e,t)}))})),!0}var o;return!1},_O=(e,t,n,r)=>{let o=iO(n);const i=bO(t,GB())||XB(n),a=!i&&(e=>!/<(?:\/?(?!(?:div|p|br|span)>)\w+|(?:(?!(?:span style="white-space:\s?pre;?">)|br\s?\/>))\w+\s[^>]+)>/i.test(e))(o),s=cO(o);(nO(o)||!o.length||a&&!s)&&(r=!0),(r||s)&&(o=bO(t,"text/plain")&&a?t["text/plain"]:(e=>{const t=qi(),n=fA({},t);let r="";const o=t.getVoidElements(),i=Pt.makeMap("script noscript style textarea video audio iframe object"," "),a=t.getBlockElements(),s=e=>{const n=e.name,l=e;if("br"!==n){if("wbr"!==n)if(o[n]&&(r+=" "),i[n])r+=" ";else{if(3===e.type&&(r+=e.value),!(e.name in t.getVoidElements())){let t=e.firstChild;if(t)do{s(t)}while(t=t.next)}a[n]&&l.next&&(r+="\n","p"===n&&(r+="\n"))}}else r+="\n"};return e=oO(e,[/<!\[[^\]]+\]>/g]),s(n.parse(e)),r})(o)),nO(o)||(r?gO(e,o):mO(e,o,i))},wO=(e,t,n)=>{let r;e.on("keydown",(e=>{(e=>Ff.metaKeyPressed(e)&&86===e.keyCode||e.shiftKey&&45===e.keyCode)(e)&&!e.isDefaultPrevented()&&(r=e.shiftKey&&86===e.keyCode)})),e.on("paste",(o=>{if(o.isDefaultPrevented()||(e=>{var t,n;return Bt.os.isAndroid()&&0===(null===(n=null===(t=e.clipboardData)||void 0===t?void 0:t.items)||void 0===n?void 0:n.length)})(o))return;const i="text"===n.get()||r;r=!1;const a=vO(o.clipboardData);!yO(a)&&CO(e,o,t.getLastRng()||e.selection.getRng())||(bO(a,"text/html")?(o.preventDefault(),_O(e,a,a["text/html"],i)):(t.create(),rh.setEditorTimeout(e,(()=>{const n=t.getHtml();t.remove(),_O(e,a,n,i)}),0)))}))},kO=(e,t,n)=>{wO(e,t,n),(e=>{const t=e=>Ue(e,"webkit-fake-url"),n=e=>Ue(e,"data:");e.parser.addNodeFilter("img",((r,o,i)=>{if(!Ac(e)&&(e=>{var t;return!0===(null===(t=e.data)||void 0===t?void 0:t.paste)})(i))for(const o of r){const r=o.attr("src");h(r)&&!o.attr("data-mce-object")&&r!==Bt.transparentSrc&&(t(r)||!Oc(e)&&n(r))&&o.remove()}}))})(e)},SO=(e,t)=>{e.addCommand("mceTogglePlainTextPaste",(()=>{((e,t)=>{"text"===t.get()?(t.set("html"),Nf(e,!1)):(t.set("text"),Nf(e,!0)),e.focus()})(e,t)})),e.addCommand("mceInsertClipboardContent",((t,n)=>{n.html&&mO(e,n.html,n.internal),n.text&&gO(e,n.text)}))},EO=(e,t,n,r)=>{((e,t,n)=>{if(!e)return!1;try{return e.clearData(),e.setData("text/html",t),e.setData("text/plain",n),e.setData(GB(),t),!0}catch(e){return!1}})(e.clipboardData,t.html,t.text)?(e.preventDefault(),r()):n(t.html,r)},BO=e=>(t,n)=>{const{dom:r,selection:o}=e,i=r.create("div",{contenteditable:"false","data-mce-bogus":"all"}),a=r.create("div",{contenteditable:"true"},t);r.setStyles(i,{position:"fixed",top:"0",left:"-3000px",width:"1000px",overflow:"hidden"}),i.appendChild(a),r.add(e.getBody(),i);const s=o.getRng();a.focus();const l=r.createRng();l.selectNodeContents(a),o.setRng(l),rh.setEditorTimeout(e,(()=>{o.setRng(s),r.remove(i),n()}),0)},OO=e=>({html:$B(e.selection.getContent({contextual:!0})),text:e.selection.getContent({format:"text"})}),jO=e=>!e.selection.isCollapsed()||(e=>!!e.dom.getParent(e.selection.getStart(),"td[data-mce-selected],th[data-mce-selected]",e.getBody()))(e),TO=e=>{e.on("cut",(e=>t=>{!t.isDefaultPrevented()&&jO(e)&&EO(t,OO(e),BO(e),(()=>{if(Bt.browser.isChromium()||Bt.browser.isFirefox()){const t=e.selection.getRng();rh.setEditorTimeout(e,(()=>{e.selection.setRng(t),e.execCommand("Delete")}),0)}else e.execCommand("Delete")}))})(e)),e.on("copy",(e=>t=>{!t.isDefaultPrevented()&&jO(e)&&EO(t,OO(e),BO(e),S)})(e))},PO=(e,t)=>{var n,r;return xp.getCaretRangeFromPoint(null!==(n=t.clientX)&&void 0!==n?n:0,null!==(r=t.clientY)&&void 0!==r?r:0,e.getDoc())},MO=(e,t)=>{e.focus(),t&&e.selection.setRng(t)},DO=(e,t)=>{yc(e)&&e.on("dragend dragover draggesture dragdrop drop drag",(e=>{e.preventDefault(),e.stopPropagation()})),Ac(e)||e.on("drop",(e=>{const t=e.dataTransfer;t&&(e=>W(e.files,(e=>/^image\//.test(e.type))))(t)&&e.preventDefault()})),e.on("drop",(n=>{if(n.isDefaultPrevented()||t.get())return;const r=PO(e,n);if(x(r))return;const o=vO(n.dataTransfer),i=bO(o,GB());if((!yO(o)||(e=>{const t=e["text/plain"];return!!t&&0===t.indexOf("file://")})(o))&&CO(e,n,r))return;const a=o[GB()],s=a||o["text/html"]||o["text/plain"];s&&(n.preventDefault(),rh.setEditorTimeout(e,(()=>{e.undoManager.transact((()=>{a&&e.execCommand("Delete"),MO(e,r);const t=iO(s);o["text/html"]?mO(e,t,i):gO(e,t)}))})))})),e.on("dragstart",(e=>{t.set(!0)})),e.on("dragover dragend",(n=>{Ac(e)&&!t.get()&&(n.preventDefault(),MO(e,PO(e,n))),"dragend"===n.type&&t.set(!1)}))},RO=/rgb\s*\(\s*([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+)\s*\)/gi,LO=e=>Pt.trim(e).replace(RO,kd).toLowerCase(),IO=(e,t,n)=>{const r=_c(e);if(n||"all"===r||!wc(e))return t;const o=r?r.split(/[, ]/):[];if(o&&"none"!==r){const n=e.dom,r=e.selection.getNode();t=t.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,((e,t,i,a)=>{const s=n.parseStyle(n.decode(i)),l={};for(let e=0;e<o.length;e++){const t=s[o[e]];let i=t,a=n.getStyle(r,o[e],!0);/color/.test(o[e])&&(i=LO(i),a=LO(a)),a!==i&&(l[o[e]]=t)}const c=n.serializeStyle(l,"span");return c?t+' style="'+c+'"'+a:t+a}))}else t=t.replace(/(<[^>]+) style="([^"]*)"([^>]*>)/gi,"$1$3");return t=t.replace(/(<[^>]+) data-mce-style="([^"]+)"([^>]*>)/gi,((e,t,n,r)=>t+' style="'+n+'"'+r)),t},NO=e=>{const t=da(!1),n=da(Ec(e)?"text":"html"),r=rO(e);(e=>{(Bt.browser.isChromium()||Bt.browser.isSafari())&&((e,t)=>{e.on("PastePreProcess",(n=>{n.content=t(e,n.content,n.internal)}))})(e,IO)})(e),SO(e,n),(e=>{const t=t=>n=>{t(e,n)},n=xc(e);_(n)&&e.on("PastePreProcess",t(n));const r=Cc(e);_(r)&&e.on("PastePostProcess",t(r))})(e),e.on("PreInit",(()=>{TO(e),DO(e,t),kO(e,r,n)}))},FO=e=>{(e=>{e.on("click",(t=>{e.dom.getParent(t.target,"details")&&t.preventDefault()}))})(e),(e=>{e.parser.addNodeFilter("details",(e=>{Y(e,(e=>{e.attr("data-mce-open",e.attr("open")),e.attr("open","open")}))})),e.serializer.addNodeFilter("details",(e=>{Y(e,(e=>{const t=e.attr("data-mce-open");e.attr("open",h(t)?t:null),e.attr("data-mce-open",null)}))}))})(e)},zO=Pr,qO=Sr,UO=e=>Rr(e.dom),HO=e=>t=>mn(dn.fromDom(e),t),WO=(e,t)=>Yr(dn.fromDom(e),(e=>(e=>Dr(e.dom))(e)||no(e)),HO(t)).getOr(dn.fromDom(t)).dom,VO=(e,t)=>Yr(dn.fromDom(e),UO,HO(t)),YO=(e,t,n)=>{const r=new Jr(e,t),o=n?r.next.bind(r):r.prev.bind(r);let i=e;for(let t=n?e:o();t&&!zO(t);t=o())$o(t)&&(i=t);return i},ZO=e=>{const t=((e,t)=>{const n=gs.fromRangeStart(e).getNode(),r=WO(n,t),o=YO(n,r,!1),i=YO(n,r,!0),a=document.createRange();return VO(o,r).fold((()=>{qO(o)?a.setStart(o,0):a.setStartBefore(o)}),(e=>a.setStartBefore(e.dom))),VO(i,r).fold((()=>{qO(i)?a.setEnd(i,i.data.length):a.setEndAfter(i)}),(e=>a.setEndAfter(e.dom))),a})(e.selection.getRng(),e.getBody());e.selection.setRng(av(t))};var GO;!function(e){e.Before="before",e.After="after"}(GO||(GO={}));const KO=(e,t)=>Math.abs(e.left-t),$O=(e,t)=>Math.abs(e.right-t),XO=(e,t)=>{const n=((e,t)=>Math.max(0,Math.min(e.bottom,t.bottom)-Math.max(e.top,t.top)))(e,t)/Math.min(e.height,t.height);return((e,t)=>e.top<t.bottom&&e.bottom>t.top)(e,t)&&n>.5},QO=(e,t)=>(e=>X(e,((e,t)=>e.fold((()=>N.some(t)),(e=>{const n=Math.min(t.left,e.left),r=Math.min(t.top,e.top),o=Math.max(t.right,e.right),i=Math.max(t.bottom,e.bottom);return N.some({top:r,right:o,bottom:i,left:n,width:o-n,height:i-r})}))),N.none()))(K(e,(e=>{return(n=t)>=(r=e).top&&n<=r.bottom;var n,r}))).fold((()=>[[],e]),(t=>{const{pass:n,fail:r}=G(e,(e=>XO(e,t)));return[n,r]})),JO=(e,t,n)=>t>e.left&&t<e.right?0:Math.min(Math.abs(e.left-t),Math.abs(e.right-t)),ej=(e,t,n)=>{const r=e=>$o(e.node)?N.some(e):vr(e.node)?ej(de(e.node.childNodes),t,n):N.none(),o=(e,o)=>{const i=se(e,((e,r)=>o(e,t,n)-o(r,t,n)));return((e,o)=>{if(e.length>=2){const i=r(e[0]).getOr(e[0]),a=r(e[1]).getOr(e[1]);if(Math.abs(o(i,t,n)-o(a,t,n))<2){if(Sr(i.node))return N.some(i);if(Sr(a.node))return N.some(a)}}return N.none()})(i,o).orThunk((()=>fe(i,r)))},[i,a]=QO(J_(e),n),{pass:s,fail:l}=G(a,(e=>e.top<n));return o(i,JO).orThunk((()=>o(l,Za))).orThunk((()=>o(s,Za)))},tj=(e,t,n,r)=>{const o=(t,i)=>i.fold((()=>ej(de(t.dom.childNodes),n,r)),(e=>{const o=K(de(t.dom.childNodes),(t=>t!==e.dom));return ej(o,n,r)})).orThunk((()=>{var n;return(mn(t,e)?N.none():(n=t,N.from(n.dom.parentElement).map(dn.fromDom))).bind((e=>o(e,N.some(t))))}));return o(t,N.none())},nj=(e,t,n)=>((e,t,n)=>{const r=dn.fromDom(e),o=bn(r),i=dn.fromPoint(o,t,n).filter((e=>gn(r,e))).getOr(r);return tj(r,i,t,n)})(e,t,n).filter((e=>tu(e.node))).map((e=>((e,t)=>({node:e.node,position:KO(e,t)<$O(e,t)?GO.Before:GO.After}))(e,t))),rj=e=>{var t,n;const r=e.getBoundingClientRect(),o=e.ownerDocument,i=o.documentElement,a=o.defaultView;return{top:r.top+(null!==(t=null==a?void 0:a.scrollY)&&void 0!==t?t:0)-i.clientTop,left:r.left+(null!==(n=null==a?void 0:a.scrollX)&&void 0!==n?n:0)-i.clientLeft}},oj=(e,t)=>{return n=(e=>e.inline?rj(e.getBody()):{left:0,top:0})(e),r=(e=>{const t=e.getBody();return e.inline?{left:t.scrollLeft,top:t.scrollTop}:{left:0,top:0}})(e),o=((e,t)=>{if(t.target.ownerDocument!==e.getDoc()){const n=rj(e.getContentAreaContainer()),r=(e=>{const t=e.getBody(),n=e.getDoc().documentElement,r={left:t.scrollLeft,top:t.scrollTop},o={left:t.scrollLeft||n.scrollLeft,top:t.scrollTop||n.scrollTop};return e.inline?r:o})(e);return{left:t.pageX-n.left+r.left,top:t.pageY-n.top+r.top}}return{left:t.pageX,top:t.pageY}})(e,t),{pageX:o.left-n.left+r.left,pageY:o.top-n.top+r.top};var n,r,o},ij=Rr,aj=((...e)=>t=>{for(let n=0;n<e.length;n++)if(e[n](t))return!0;return!1})(ij,Dr),sj=(e,t,n,r)=>{const o=e.dom,i=t.cloneNode(!0);o.setStyles(i,{width:n,height:r}),o.setAttrib(i,"data-mce-selected",null);const a=o.create("div",{class:"mce-drag-container","data-mce-bogus":"all",unselectable:"on",contenteditable:"false"});return o.setStyles(a,{position:"absolute",opacity:.5,overflow:"hidden",border:0,padding:0,margin:0,width:n,height:r}),o.setStyles(i,{margin:0,boxSizing:"border-box"}),a.appendChild(i),a},lj=(e,t)=>n=>()=>{const r="left"===e?n.scrollX:n.scrollY;n.scroll({[e]:r+t,behavior:"smooth"})},cj=lj("left",-32),uj=lj("left",32),dj=lj("top",-32),fj=lj("top",32),pj=e=>{e&&e.parentNode&&e.parentNode.removeChild(e)},hj=(e,t)=>n=>{if((e=>0===e.button)(n)){const i=J(t.dom.getParents(n.target),aj).getOr(null);if(C(i)&&(r=t.getBody(),ij(o=i)&&o!==r)){const r=t.dom.getPos(i),o=t.getBody(),a=t.getDoc().documentElement;e.set({element:i,dragging:!1,screenX:n.screenX,screenY:n.screenY,maxX:(t.inline?o.scrollWidth:a.offsetWidth)-2,maxY:(t.inline?o.scrollHeight:a.offsetHeight)-2,relX:n.pageX-r.x,relY:n.pageY-r.y,width:i.offsetWidth,height:i.offsetHeight,ghost:sj(t,i,i.offsetWidth,i.offsetHeight),intervalId:va(100)})}}var r,o},mj=(e,t)=>{const n=ya(((e,n)=>{t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)}),0);t.on("remove",n.cancel);const r=e;return o=>e.on((e=>{const i=Math.max(Math.abs(o.screenX-e.screenX),Math.abs(o.screenY-e.screenY));if(!e.dragging&&i>10){if(t.dispatch("dragstart",{target:e.element}).isDefaultPrevented())return;e.dragging=!0,t.focus()}if(e.dragging){const i=((e,t)=>({pageX:t.pageX-e.relX,pageY:t.pageY+5}))(e,oj(t,o));a=e.ghost,s=t.getBody(),a.parentNode!==s&&s.appendChild(a),((e,t,n,r,o,i,a,s,l,c,u)=>{let d=0,f=0;e.style.left=t.pageX+"px",e.style.top=t.pageY+"px",t.pageX+n>o&&(d=t.pageX+n-o),t.pageY+r>i&&(f=t.pageY+r-i),e.style.width=n-d+"px",e.style.height=r-f+"px";const p=l.clientHeight,h=l.clientWidth,m=a+l.getBoundingClientRect().top,g=s+l.getBoundingClientRect().left;u.on((e=>{e.intervalId.clear(),e.dragging&&(a+8>=p?e.intervalId.set(fj(c)):a-8<=0?e.intervalId.set(dj(c)):s+8>=h?e.intervalId.set(uj(c)):s-8<=0?e.intervalId.set(cj(c)):m+16>=window.innerHeight?e.intervalId.set(fj(window)):m-16<=0?e.intervalId.set(dj(window)):g+16>=window.innerWidth?e.intervalId.set(uj(window)):g-16<=0&&e.intervalId.set(cj(window)))}))})(e.ghost,i,e.width,e.height,e.maxX,e.maxY,o.clientY,o.clientX,t.getContentAreaContainer(),t.getWin(),r),n.throttle(o.clientX,o.clientY)}var a,s}))},gj=(e,t)=>n=>{e.on((e=>{if(e.intervalId.clear(),e.dragging){if(((e,t,n)=>!x(t)&&t!==n&&!e.dom.isChildOf(t,n)&&!ij(t))(t,(e=>{const t=e.getSel();if(C(t)){const e=t.getRangeAt(0).startContainer;return Sr(e)?e.parentNode:e}return null})(t.selection),e.element)){const r=(e=>{const t=e.cloneNode(!0);return t.removeAttribute("data-mce-selected"),t})(e.element);t.dispatch("drop",{clientX:n.clientX,clientY:n.clientY}).isDefaultPrevented()||t.undoManager.transact((()=>{pj(e.element),t.insertContent(t.dom.getOuterHTML(r)),t._selectionOverrides.hideFakeCaret()}))}t.dispatch("dragend")}})),vj(e)},vj=e=>{e.on((e=>{e.intervalId.clear(),pj(e.ghost)})),e.clear()},bj=e=>{const t=ba(),n=la.DOM,r=document,o=hj(t,e),i=mj(t,e),a=gj(t,e),s=((e,t)=>()=>{e.on((e=>{e.intervalId.clear(),e.dragging&&t.dispatch("dragend")})),vj(e)})(t,e);e.on("mousedown",o),e.on("mousemove",i),e.on("mouseup",a),n.bind(r,"mousemove",i),n.bind(r,"mouseup",s),e.on("remove",(()=>{n.unbind(r,"mousemove",i),n.unbind(r,"mouseup",s)})),e.on("keydown",(e=>{e.keyCode===Ff.ESC&&s()}))},yj=e=>{bj(e),lc(e)&&(e=>{const t=t=>{if(!t.isDefaultPrevented()){const n=t.dataTransfer;n&&(H(n.types,"Files")||n.files.length>0)&&(t.preventDefault(),"drop"===t.type&&qx(e,"Dropped file type is not supported"))}},n=n=>{sh(e,n.target)&&t(n)},r=()=>{const r=la.DOM,o=e.dom,i=document,a=e.inline?e.getBody():e.getDoc(),s=["drop","dragover"];Y(s,(e=>{r.bind(i,e,n),o.bind(a,e,t)})),e.on("remove",(()=>{Y(s,(e=>{r.unbind(i,e,n),o.unbind(a,e,t)}))}))};e.on("init",(()=>{rh.setEditorTimeout(e,r,0)}))})(e)},Aj=Rr,xj=(e,t)=>Zg(e.getBody(),t),Cj=e=>{const t=e.selection,n=e.dom,r=e.getBody(),o=Qc(e,r,n.isBlock,(()=>hh(e))),i="sel-"+n.uniqueId(),a="data-mce-selected";let s;const l=e=>e!==r&&(Aj(e)||Nr(e))&&n.isChildOf(e,r),c=(n,r,i,a=!0)=>e.dispatch("ShowCaret",{target:r,direction:n,before:i}).isDefaultPrevented()?null:(a&&t.scrollIntoView(r,-1===n),o.show(i,r)),u=()=>{e.on("click",(t=>{const n=xj(e,t.target);n&&Aj(n)&&(t.preventDefault(),e.focus())})),e.on("blur NewBlock",g),e.on("ResizeWindow FullscreenStateChanged",o.reposition),e.on("tap",(t=>{const n=t.target,r=xj(e,n);Aj(r)?(t.preventDefault(),FC(e,r).each(m)):l(n)&&FC(e,n).each(m)}),!0),e.on("mousedown",(o=>{const i=o.target;if(i!==r&&"HTML"!==i.nodeName&&!n.isChildOf(i,r))return;if(!Dx(e,o.clientX,o.clientY))return;g(),v();const a=xj(e,i);Aj(a)?(o.preventDefault(),FC(e,a).each(m)):nj(r,o.clientX,o.clientY).each((n=>{o.preventDefault();(e=>{e&&t.setRng(e)})(c(1,n.node,n.position===GO.Before,!1)),vr(a)?a.focus():e.getBody().focus()}))})),e.on("keypress",(e=>{Ff.modifierPressed(e)||Aj(t.getNode())&&e.preventDefault()})),e.on("GetSelectionRange",(e=>{let t=e.range;if(s){if(!s.parentNode)return void(s=null);t=t.cloneRange(),t.selectNode(s),e.range=t}})),e.on("SetSelectionRange",(e=>{e.range=p(e.range);const t=m(e.range,e.forward);t&&(e.range=t)}));e.on("AfterSetSelectionRange",(e=>{const t=e.range,r=t.startContainer.parentElement;var o;f(t)||vr(o=r)&&"mcepastebin"===o.id||v(),(e=>C(e)&&n.hasClass(e,"mce-offscreen-selection"))(r)||g()})),yj(e),(e=>{const t=ya((()=>{if(!e.removed&&e.getBody().contains(document.activeElement)){const t=e.selection.getRng();if(t.collapsed){const n=zC(e,t,!1);e.selection.setRng(n)}}}),0);e.on("focus",(()=>{t.throttle()})),e.on("blur",(()=>{t.cancel()}))})(e),(e=>{e.on("init",(()=>{e.on("focusin",(t=>{const n=t.target;if(Nr(n)){const t=Zg(e.getBody(),n),r=Rr(t)?t:n;e.selection.getNode()!==r&&FC(e,r).each((t=>e.selection.setRng(t)))}}))}))})(e)},d=e=>Do(e)||No(e)||Fo(e),f=e=>d(e.startContainer)||d(e.endContainer),p=t=>{const r=e.schema.getVoidElements(),o=n.createRng(),i=t.startContainer,a=t.startOffset,s=t.endContainer,l=t.endOffset;return we(r,i.nodeName.toLowerCase())?0===a?o.setStartBefore(i):o.setStartAfter(i):o.setStart(i,a),we(r,s.nodeName.toLowerCase())?0===l?o.setEndBefore(s):o.setEndAfter(s):o.setEnd(s,l),o},h=r=>{const o=r.cloneNode(!0),l=e.dispatch("ObjectSelected",{target:r,targetClone:o});if(l.isDefaultPrevented())return null;const c=((r,o)=>{const a=dn.fromDom(e.getBody()),s=e.getDoc(),l=Kr(a,"#"+i).getOrThunk((()=>{const e=dn.fromHtml('<div data-mce-bogus="all" class="mce-offscreen-selection"></div>',s);return Vt(e,"id",i),$n(a,e),e})),c=n.createRng();Qn(l),Xn(l,[dn.fromText(go,s),dn.fromDom(o),dn.fromText(go,s)]),c.setStart(l.dom.firstChild,1),c.setEnd(l.dom.lastChild,0),qn(l,{top:n.getPos(r,e.getBody()).y+"px"}),Wp(l);const u=t.getSel();return u&&(u.removeAllRanges(),u.addRange(c)),c})(r,l.targetClone),u=dn.fromDom(r);return Y(yo(dn.fromDom(e.getBody()),"*[data-mce-selected]"),(e=>{mn(u,e)||$t(e,a)})),n.getAttrib(r,a)||r.setAttribute(a,"1"),s=r,v(),c},m=(e,t)=>{if(!e)return null;if(e.collapsed){if(!f(e)){const n=t?1:-1,o=ku(n,r,e),i=o.getNode(!t);if(tu(i))return c(n,i,!!t&&!o.isAtEnd(),!1);const a=o.getNode(t);if(tu(a))return c(n,a,!t&&!o.isAtEnd(),!1)}return null}let o=e.startContainer,i=e.startOffset;const a=e.endOffset;if(Sr(o)&&0===i&&Aj(o.parentNode)&&(o=o.parentNode,i=n.nodeIndex(o),o=o.parentNode),!vr(o))return null;if(a===i+1&&o===e.endContainer){const e=o.childNodes[i];if(l(e))return h(e)}return null},g=()=>{s&&s.removeAttribute(a),Kr(dn.fromDom(e.getBody()),"#"+i).each(Jn),s=null},v=()=>{o.hide()};return XA(e)||u(),{showCaret:c,showBlockCaretContainer:e=>{e.hasAttribute("data-mce-caret")&&(zo(e),t.scrollIntoView(e))},hideFakeCaret:v,destroy:()=>{o.destroy(),s=null}}},_j=(e,t)=>{let n=t;for(let t=e.previousSibling;Sr(t);t=t.previousSibling)n+=t.data.length;return n},wj=(e,t,n,r,o)=>{if(Sr(n)&&(r<0||r>n.data.length))return[];const i=o&&Sr(n)?[_j(n,r)]:[r];let a=n;for(;a!==t&&a.parentNode;)i.push(e.nodeIndex(a,o)),a=a.parentNode;return a===t?i.reverse():[]},kj=(e,t,n,r,o,i,a=!1)=>({start:wj(e,t,n,r,a),end:wj(e,t,o,i,a)}),Sj=(e,t)=>{const n=t.slice(),r=n.pop();if(w(r)){return X(n,((e,t)=>e.bind((e=>N.from(e.childNodes[t])))),N.some(e)).bind((e=>Sr(e)&&(r<0||r>e.data.length)?N.none():N.some({node:e,offset:r})))}return N.none()},Ej=(e,t)=>Sj(e,t.start).bind((({node:n,offset:r})=>Sj(e,t.end).map((({node:e,offset:t})=>{const o=document.createRange();return o.setStart(n,r),o.setEnd(e,t),o})))),Bj=(e,t,n)=>{if(t&&e.isEmpty(t)&&!n(t)){const r=t.parentNode;e.remove(t),Bj(e,r,n)}},Oj=(e,t,n,r=!0)=>{const o=t.startContainer.parentNode,i=t.endContainer.parentNode;t.deleteContents(),r&&!n(t.startContainer)&&(Sr(t.startContainer)&&0===t.startContainer.data.length&&e.remove(t.startContainer),Sr(t.endContainer)&&0===t.endContainer.data.length&&e.remove(t.endContainer),Bj(e,o,n),o!==i&&Bj(e,i,n))},jj=(e,t)=>N.from(e.dom.getParent(t.startContainer,e.dom.isBlock)),Tj=(e,t,n)=>{const r=e.dynamicPatternsLookup({text:n,block:t});return{...e,blockPatterns:Ys(r).concat(e.blockPatterns),inlinePatterns:Zs(r).concat(e.inlinePatterns)}},Pj=(e,t,n,r)=>{const o=e.createRng();return o.setStart(t,0),o.setEnd(n,r),o.toString()},Mj=(e,t,n)=>{const r=((e,t,n)=>{if(Sr(e)&&t>=e.length)return N.some(nS(e,t));{const r=za(rS);return N.from(r.forwards(e,t,oS(e),n)).map((e=>nS(e.container,0)))}})(t,0,t);r.each((r=>{const o=r.container;sS(o,n.start.length,t).each((n=>{const r=e.createRng();r.setStart(o,0),r.setEnd(n.container,n.offset),Oj(e,r,(e=>e===t))}))}))},Dj=(e,t)=>{const n=e.dom,r=t.pattern,o=Ej(n.getRoot(),t.range).getOrDie("Unable to resolve path range");return jj(e,o).each((t=>{"block-format"===r.type?((e,t)=>{const n=t.get(e);return v(n)&&ce(n).exists((e=>we(e,"block")))})(r.format,e.formatter)&&e.undoManager.transact((()=>{Mj(e.dom,t,r),e.formatter.apply(r.format)})):"block-command"===r.type&&e.undoManager.transact((()=>{Mj(e.dom,t,r),e.execCommand(r.cmd,!1,r.value)}))})),!0},Rj=(e,t)=>{const n=(e=>se(e,((e,t)=>t.start.length-e.start.length)))(e),r=t.replace(go," ");return J(n,(e=>0===t.indexOf(e.start)||0===r.indexOf(e.start)))},Lj=(e,t)=>e.create("span",{"data-mce-type":"bookmark",id:t}),Ij=(e,t)=>{const n=e.createRng();return n.setStartAfter(t.start),n.setEndBefore(t.end),n},Nj=(e,t,n)=>{const r=Ej(e.getRoot(),n).getOrDie("Unable to resolve path range"),o=r.startContainer,i=r.endContainer,a=0===r.endOffset?i:i.splitText(r.endOffset),s=0===r.startOffset?o:o.splitText(r.startOffset),l=s.parentNode;return{prefix:t,end:a.parentNode.insertBefore(Lj(e,t+"-end"),a),start:l.insertBefore(Lj(e,t+"-start"),s)}},Fj=(e,t,n)=>{Bj(e,e.get(t.prefix+"-end"),n),Bj(e,e.get(t.prefix+"-start"),n)},zj=e=>0===e.start.length,qj=(e,t,n,r)=>{const o=t.start;var i;return lS(e,r.container,r.offset,(i=o,(e,t)=>{const n=e.data.substring(0,t),r=n.lastIndexOf(i.charAt(i.length-1)),o=n.lastIndexOf(i);return-1!==o?o+i.length:-1!==r?r+1:-1}),n).bind((r=>{if(r.offset>=o.length){const t=e.createRng();return t.setStart(r.container,r.offset-o.length),t.setEnd(r.container,r.offset),N.some(t)}{const i=r.offset-o.length;return aS(r.container,i,n).map((t=>{const n=e.createRng();return n.setStart(t.container,t.offset),n.setEnd(r.container,r.offset),n})).filter((e=>e.toString()===o)).orThunk((()=>qj(e,t,n,nS(r.container,0))))}}))},Uj=(e,t,n,r)=>{const o=e.dom,i=o.getRoot(),a=n.pattern,s=n.position.container,l=n.position.offset;return aS(s,l-n.pattern.end.length,t).bind((c=>{const u=kj(o,i,c.container,c.offset,s,l,r);if(zj(a))return N.some({matches:[{pattern:a,startRng:u,endRng:u}],position:c});{const s=Hj(e,n.remainingPatterns,c.container,c.offset,t,r),l=s.getOr({matches:[],position:c}),d=l.position,f=((e,t,n,r,o,i=!1)=>{if(0===t.start.length&&!i){const t=e.createRng();return t.setStart(n,r),t.setEnd(n,r),N.some(t)}return iS(n,r,o).bind((n=>qj(e,t,o,n).bind((e=>{var t;if(i){if(e.endContainer===n.container&&e.endOffset===n.offset)return N.none();if(0===n.offset&&(null===(t=e.endContainer.textContent)||void 0===t?void 0:t.length)===e.endOffset)return N.none()}return N.some(e)}))))})(o,a,d.container,d.offset,t,s.isNone());return f.map((e=>{const t=((e,t,n,r=!1)=>kj(e,t,n.startContainer,n.startOffset,n.endContainer,n.endOffset,r))(o,i,e,r);return{matches:l.matches.concat([{pattern:a,startRng:t,endRng:u}]),position:nS(e.startContainer,e.startOffset)}}))}}))},Hj=(e,t,n,r,o,i)=>{const a=e.dom;return iS(n,r,a.getRoot()).bind((s=>{const l=Pj(a,o,n,r);for(let n=0;n<t.length;n++){const r=t[n];if(!He(l,r.end))continue;const a=t.slice();a.splice(n,1);const c=Uj(e,o,{pattern:r,remainingPatterns:a,position:s},i);if(c.isSome())return c}return N.none()}))},Wj=(e,t,n)=>{e.selection.setRng(n),"inline-format"===t.type?Y(t.format,(t=>{e.formatter.apply(t)})):e.execCommand(t.cmd,!1,t.value)},Vj=(e,t,n,r,o,i)=>Hj(e,o.inlinePatterns,n,r,t,i).fold((()=>[]),(e=>e.matches)),Yj=(e,t)=>{if(0===t.length)return;const n=e.dom,r=e.selection.getBookmark(),o=((e,t)=>{const n=Da("mce_textpattern"),r=$(t,((t,r)=>{const o=Nj(e,n+`_end${t.length}`,r.endRng);return t.concat([{...r,endMarker:o}])}),[]);return $(r,((t,o)=>{const i=r.length-t.length-1,a=zj(o.pattern)?o.endMarker:Nj(e,n+`_start${i}`,o.startRng);return t.concat([{...o,startMarker:a}])}),[])})(n,t);Y(o,(t=>{const r=n.getParent(t.startMarker.start,n.isBlock),o=e=>e===r;zj(t.pattern)?((e,t,n,r)=>{const o=Ij(e.dom,n);Oj(e.dom,o,r),Wj(e,t,o)})(e,t.pattern,t.endMarker,o):((e,t,n,r,o)=>{const i=e.dom,a=Ij(i,r),s=Ij(i,n);Oj(i,s,o),Oj(i,a,o);const l={prefix:n.prefix,start:n.end,end:r.start},c=Ij(i,l);Wj(e,t,c)})(e,t.pattern,t.startMarker,t.endMarker,o),Fj(n,t.endMarker,o),Fj(n,t.startMarker,o)})),e.selection.moveToBookmark(r)},Zj=(e,t)=>{const n=e.selection.getRng();return jj(e,n).map((r=>{var o;const i=Math.max(0,n.startOffset),a=Tj(t,r,null!==(o=r.textContent)&&void 0!==o?o:""),s=Vj(e,r,n.startContainer,i,a,!0),l=((e,t,n,r)=>{var o;const i=e.dom,a=cl(e);if(!i.is(t,a))return[];const s=null!==(o=t.textContent)&&void 0!==o?o:"";return Rj(n.blockPatterns,s).map((e=>Pt.trim(s).length===e.start.length?[]:[{pattern:e,range:kj(i,i.getRoot(),t,0,t,0,r)}])).getOr([])})(e,r,a,!0);return(l.length>0||s.length>0)&&(e.undoManager.add(),e.undoManager.extra((()=>{e.execCommand("mceInsertNewLine")}),(()=>{e.insertContent(mo),Yj(e,s),((e,t)=>{if(0===t.length)return;const n=e.selection.getBookmark();Y(t,(t=>Dj(e,t))),e.selection.moveToBookmark(n)})(e,l);const t=e.selection.getRng(),n=iS(t.startContainer,t.startOffset,e.dom.getRoot());e.execCommand("mceInsertNewLine"),n.each((t=>{const n=t.container;n.data.charAt(t.offset-1)===mo&&(n.deleteData(t.offset-1,1),Bj(e.dom,n.parentNode,(t=>t===e.dom.getRoot())))}))})),!0)})).getOr(!1)},Gj=(e,t,n)=>{for(let r=0;r<e.length;r++)if(n(e[r],t))return!0;return!1},Kj=e=>{const t=[",",".",";",":","!","?"],n=[32],r=()=>{return t=jc(e),n=Tc(e),{inlinePatterns:Zs(t),blockPatterns:Ys(t),dynamicPatternsLookup:n};var t,n},o=()=>(e=>e.options.isSet("text_patterns_lookup"))(e);e.on("keydown",(t=>{if(13===t.keyCode&&!Ff.modifierPressed(t)&&e.selection.isCollapsed()){const n=r();(n.inlinePatterns.length>0||n.blockPatterns.length>0||o())&&Zj(e,n)&&t.preventDefault()}}),!0);const i=()=>{if(e.selection.isCollapsed()){const t=r();(t.inlinePatterns.length>0||o())&&((e,t)=>{const n=e.selection.getRng();jj(e,n).map((r=>{const o=Math.max(0,n.startOffset-1),i=Pj(e.dom,r,n.startContainer,o),a=Tj(t,r,i),s=Vj(e,r,n.startContainer,o,a,!1);s.length>0&&e.undoManager.transact((()=>{Yj(e,s)}))}))})(e,t)}};e.on("keyup",(e=>{((e,t)=>Gj(e,t,((e,t)=>e===t.keyCode&&!Ff.modifierPressed(t))))(n,e)&&i()})),e.on("keypress",(n=>{((e,t)=>Gj(e,t,((e,t)=>e.charCodeAt(0)===t.charCode)))(t,n)&&rh.setEditorTimeout(e,i)}))},$j=e=>{const t=Pt.each,n=Ff.BACKSPACE,r=Ff.DELETE,o=e.dom,i=e.selection,a=e.parser,s=Bt.browser,l=s.isFirefox(),c=s.isChromium()||s.isSafari(),u=Bt.deviceType.isiPhone()||Bt.deviceType.isiPad(),d=Bt.os.isMacOS()||Bt.os.isiOS(),f=(t,n)=>{try{e.getDoc().execCommand(t,!1,String(n))}catch(e){}},p=e=>e.isDefaultPrevented(),h=()=>{const t=e=>{const t=o.create("body"),n=e.cloneContents();return t.appendChild(n),i.serializer.serialize(t,{format:"html"})};e.on("keydown",(i=>{const a=i.keyCode;if(!p(i)&&(a===r||a===n)){const n=e.selection.isCollapsed(),r=e.getBody();if(n&&!o.isEmpty(r))return;if(!n&&!(n=>{const r=t(n),i=o.createRng();return i.selectNode(e.getBody()),r===t(i)})(e.selection.getRng()))return;i.preventDefault(),e.setContent(""),r.firstChild&&o.isBlock(r.firstChild)?e.selection.setCursorLocation(r.firstChild,0):e.selection.setCursorLocation(r,0),e.nodeChanged()}}))},m=()=>{e.shortcuts.add("meta+a",null,"SelectAll")},g=()=>{e.inline||o.bind(e.getDoc(),"mousedown mouseup",(t=>{let n;if(t.target===e.getDoc().documentElement)if(n=i.getRng(),e.getBody().focus(),"mousedown"===t.type){if(Do(n.startContainer))return;i.placeCaretAt(t.clientX,t.clientY)}else i.setRng(n)}))},v=()=>{Range.prototype.getClientRects||e.on("mousedown",(t=>{if(!p(t)&&"HTML"===t.target.nodeName){const t=e.getBody();t.blur(),rh.setEditorTimeout(e,(()=>{t.focus()}))}}))},b=()=>{const t=dc(e);e.on("click",(n=>{const r=n.target;/^(IMG|HR)$/.test(r.nodeName)&&"false"!==o.getContentEditableParent(r)&&(n.preventDefault(),e.selection.select(r),e.nodeChanged()),"A"===r.nodeName&&o.hasClass(r,t)&&0===r.childNodes.length&&(n.preventDefault(),i.select(r))}))},y=()=>{e.on("keydown",(e=>{if(!p(e)&&e.keyCode===n&&i.isCollapsed()&&0===i.getRng().startOffset){const t=i.getNode().previousSibling;if(t&&t.nodeName&&"table"===t.nodeName.toLowerCase())return e.preventDefault(),!1}return!0}))},A=()=>{const t=()=>{f("StyleWithCSS",!1),f("enableInlineTableEditing",!1),Ll(e)||f("enableObjectResizing",!1)};oc(e)||e.on("BeforeExecCommand mousedown",t)},x=()=>{e.on("SetContent ExecCommand",(e=>{"setcontent"!==e.type&&"mceInsertLink"!==e.command||t(o.select("a"),(e=>{var t;let n=e.parentNode;const r=o.getRoot();if((null==n?void 0:n.lastChild)===e){for(;n&&!o.isBlock(n);){if((null===(t=n.parentNode)||void 0===t?void 0:t.lastChild)!==n||n===r)return;n=n.parentNode}o.add(n,"br",{"data-mce-bogus":1})}}))}))},C=()=>{e.contentStyles.push("img:-moz-broken {-moz-force-broken-image-icon:1;min-width:24px;min-height:24px}")},_=()=>{e.inline||e.on("keydown",(()=>{document.activeElement===document.body&&e.getWin().focus()}))},w=()=>{e.inline||(e.contentStyles.push("body {min-height: 150px}"),e.on("click",(t=>{let n;"HTML"===t.target.nodeName&&(n=e.selection.getRng(),e.getBody().focus(),e.selection.setRng(n),e.selection.normalize(),e.nodeChanged())})))},k=()=>{d&&e.on("keydown",(t=>{if(Ff.metaKeyPressed(t)&&!t.shiftKey&&(37===t.keyCode||39===t.keyCode)){t.preventDefault();e.selection.getSel().modify("move",37===t.keyCode?"backward":"forward","lineboundary")}}))},E=()=>{e.on("click",(e=>{let t=e.target;do{if("A"===t.tagName)return void e.preventDefault()}while(t=t.parentNode)})),e.contentStyles.push(".mce-content-body {-webkit-touch-callout: none}")},B=()=>{e.on("init",(()=>{e.dom.bind(e.getBody(),"submit",(e=>{e.preventDefault()}))}))},O=S,j=()=>{e.on("keydown",(t=>{if(p(t)||t.keyCode!==Ff.BACKSPACE)return;let n=i.getRng();const r=n.startContainer,a=n.startOffset,s=o.getRoot();let l=r;if(n.collapsed&&0===a){for(;l.parentNode&&l.parentNode.firstChild===l&&l.parentNode!==s;)l=l.parentNode;"BLOCKQUOTE"===l.nodeName&&(e.formatter.toggle("blockquote",void 0,l),n=o.createRng(),n.setStart(r,0),n.setEnd(r,0),i.setRng(n))}})),h(),Bt.windowsPhone||e.on("keyup focusin mouseup",(t=>{Ff.modifierPressed(t)||(e=>{const t=e.getBody(),n=e.selection.getRng();return n.startContainer===n.endContainer&&n.startContainer===t&&0===n.startOffset&&n.endOffset===t.childNodes.length})(e)||i.normalize()}),!0),c&&(g(),b(),e.on("init",(()=>{f("DefaultParagraphSeparator",cl(e))})),B(),y(),a.addNodeFilter("br",(e=>{let t=e.length;for(;t--;)"Apple-interchange-newline"===e[t].attr("class")&&e[t].remove()})),u?(_(),w(),E()):m()),l&&(e.on("keydown",(t=>{if(!p(t)&&t.keyCode===n){if(!e.getBody().getElementsByTagName("hr").length)return;if(i.isCollapsed()&&0===i.getRng().startOffset){const e=i.getNode(),n=e.previousSibling;if("HR"===e.nodeName)return o.remove(e),void t.preventDefault();n&&n.nodeName&&"hr"===n.nodeName.toLowerCase()&&(o.remove(n),t.preventDefault())}}})),v(),(()=>{const n=()=>{const n=o.getAttribs(i.getStart().cloneNode(!1));return()=>{const r=i.getStart();r!==e.getBody()&&(o.setAttrib(r,"style",null),t(n,(e=>{r.setAttributeNode(e.cloneNode(!0))})))}},r=()=>!i.isCollapsed()&&o.getParent(i.getStart(),o.isBlock)!==o.getParent(i.getEnd(),o.isBlock);e.on("keypress",(t=>{let o;return!(!(p(t)||8!==t.keyCode&&46!==t.keyCode)&&r()&&(o=n(),e.getDoc().execCommand("delete",!1),o(),t.preventDefault(),1))})),o.bind(e.getDoc(),"cut",(t=>{if(!p(t)&&r()){const t=n();rh.setEditorTimeout(e,(()=>{t()}))}}))})(),A(),x(),C(),k(),y())};return XA(e)?(c&&(g(),b(),B(),m(),u&&(_(),w(),E())),l&&(v(),A(),C(),k())):j(),{refreshContentEditable:O,isHidden:()=>{if(!l||e.removed)return!1;const t=e.selection.getSel();return!t||!t.rangeCount||0===t.rangeCount}}},Xj=la.DOM,Qj=e=>e.inline?e.getElement().nodeName.toLowerCase():void 0,Jj=e=>Ae(e,(e=>!1===A(e))),eT=e=>{const t=e.options.get,n=e.editorUpload.blobCache;return Jj({allow_conditional_comments:t("allow_conditional_comments"),allow_html_data_urls:t("allow_html_data_urls"),allow_svg_data_urls:t("allow_svg_data_urls"),allow_html_in_named_anchor:t("allow_html_in_named_anchor"),allow_script_urls:t("allow_script_urls"),allow_unsafe_link_target:t("allow_unsafe_link_target"),convert_fonts_to_spans:t("convert_fonts_to_spans"),fix_list_elements:t("fix_list_elements"),font_size_legacy_values:t("font_size_legacy_values"),forced_root_block:t("forced_root_block"),forced_root_block_attrs:t("forced_root_block_attrs"),preserve_cdata:t("preserve_cdata"),remove_trailing_brs:t("remove_trailing_brs"),inline_styles:t("inline_styles"),root_name:Qj(e),validate:!0,blob_cache:n,document:e.getDoc()})},tT=e=>{const t=e.options.get;return Jj({custom_elements:t("custom_elements"),extended_valid_elements:t("extended_valid_elements"),invalid_elements:t("invalid_elements"),invalid_styles:t("invalid_styles"),schema:t("schema"),valid_children:t("valid_children"),valid_classes:t("valid_classes"),valid_elements:t("valid_elements"),valid_styles:t("valid_styles"),verify_html:t("verify_html"),padd_empty_block_inline_children:t("format_empty_lines")})},nT=e=>{e.bindPendingEventDelegates(),e.initialized=!0,(e=>{e.dispatch("Init")})(e),e.focus(!0),(e=>{const t=e.dom.getRoot();e.inline||Rd(e)&&e.selection.getStart(!0)!==t||Xu(t).each((t=>{const n=t.getNode(),r=_r(n)?Xu(n).getOr(t):t;e.selection.setRng(r.toRange())}))})(e),e.nodeChanged({initial:!0});const t=hc(e);_(t)&&t.call(e,e),(e=>{const t=gc(e);t&&rh.setEditorTimeout(e,(()=>{let n;n=!0===t?e:e.editorManager.get(t),n&&!n.destroyed&&(n.focus(),n.selection.scrollIntoView())}),100)})(e)},rT=e=>e.inline?e.ui.styleSheetLoader:e.dom.styleSheetLoader,oT=e=>{const t=rT(e),n=Ml(e),r=e.contentCSS,o=()=>{t.unloadAll(r),e.inline||e.ui.styleSheetLoader.unloadAll(n)},i=()=>{e.removed?o():e.on("remove",o)};if(e.contentStyles.length>0){let t="";Pt.each(e.contentStyles,(e=>{t+=e+"\r\n"})),e.dom.addStyle(t)}const a=Promise.all(((e,t,n)=>{const r=[rT(e).loadAll(t)];return e.inline?r:r.concat([e.ui.styleSheetLoader.loadAll(n)])})(e,r,n)).then(i).catch(i),s=Pl(e);return s&&((e,t)=>{const n=dn.fromDom(e.getBody()),r=Dn(Mn(n)),o=dn.fromTag("style");Vt(o,"type","text/css"),$n(o,dn.fromText(t)),$n(r,o),e.on("remove",(()=>{Jn(o)}))})(e,s),a},iT=e=>{!0!==e.removed&&((e=>{XA(e)||e.load({initial:!0,format:"html"}),e.startContent=e.getContent({format:"raw"})})(e),nT(e))},aT=e=>{const t=e.getElement();let n=e.getDoc();e.inline&&(Xj.addClass(t,"mce-content-body"),e.contentDocument=n=document,e.contentWindow=window,e.bodyElement=t,e.contentAreaContainer=t);const r=e.getBody();r.disabled=!0,e.readonly=oc(e),e.readonly||(e.inline&&"static"===Xj.getStyle(r,"position",!0)&&(r.style.position="relative"),r.contentEditable="true"),r.disabled=!1,e.editorUpload=tC(e),e.schema=qi(tT(e)),e.dom=la(n,{keep_values:!0,url_converter:e.convertURL,url_converter_scope:e,update_styles:!0,root_element:e.inline?e.getBody():null,collect:e.inline,schema:e.schema,contentCssCors:kl(e),referrerPolicy:Sl(e),onSetAttrib:t=>{e.dispatch("SetAttrib",t)}}),e.parser=(e=>{const t=fA(eT(e),e.schema);return t.addAttributeFilter("src,href,style,tabindex",((t,n)=>{const r=e.dom,o="data-mce-"+n;let i=t.length;for(;i--;){const a=t[i];let s=a.attr(n);if(s&&!a.attr(o)){if(0===s.indexOf("data:")||0===s.indexOf("blob:"))continue;"style"===n?(s=r.serializeStyle(r.parseStyle(s),a.name),s.length||(s=null),a.attr(o,s),a.attr(n,s)):"tabindex"===n?(a.attr(o,s),a.attr(n,null)):a.attr(o,e.convertURL(s,n,a.name))}}})),t.addNodeFilter("script",(e=>{let t=e.length;for(;t--;){const n=e[t],r=n.attr("type")||"no/type";0!==r.indexOf("mce-")&&n.attr("type","mce-"+r)}})),Rc(e)&&t.addNodeFilter("#cdata",(t=>{var n;let r=t.length;for(;r--;){const o=t[r];o.type=8,o.name="#comment",o.value="[CDATA["+e.dom.encode(null!==(n=o.value)&&void 0!==n?n:"")+"]]"}})),t.addNodeFilter("p,h1,h2,h3,h4,h5,h6,div",(t=>{let n=t.length;const r=e.schema.getNonEmptyElements();for(;n--;){const e=t[n];e.isEmpty(r)&&0===e.getAll("br").length&&e.append(new Dh("br",1))}})),t})(e),e.serializer=hx((e=>{const t=e.options.get;return{...eT(e),...tT(e),...Jj({url_converter:t("url_converter"),url_converter_scope:t("url_converter_scope"),element_format:t("element_format"),entities:t("entities"),entity_encoding:t("entity_encoding"),indent:t("indent"),indent_after:t("indent_after"),indent_before:t("indent_before")})}})(e),e),e.selection=cx(e.dom,e.getWin(),e.serializer,e),e.annotator=jf(e),e.formatter=pC(e),e.undoManager=mC(e),e._nodeChangeDispatcher=new YB(e),e._selectionOverrides=Cj(e),Yw(e),FO(e),tk(e),XA(e)||((e=>{e.on("mousedown",(t=>{t.detail>=3&&(t.preventDefault(),ZO(e))}))})(e),(e=>{Kj(e)})(e));const o=VB(e);Ww(e,o),(e=>{e.on("NodeChange",P(Xw,e))})(e),AC(e),NO(e);const i=QA(e);(e=>{const t=e.getDoc(),n=e.getBody();(e=>{e.dispatch("PreInit")})(e),vc(e)||(t.body.spellcheck=!1,Xj.setAttrib(n,"spellcheck","false")),e.quirks=$j(e),(e=>{e.dispatch("PostRender")})(e);const r=Dl(e);void 0!==r&&(n.dir=r);const o=bc(e);o&&e.on("BeforeSetContent",(e=>{Pt.each(o,(t=>{e.content=e.content.replace(t,(e=>"\x3c!--mce:protected "+escape(e)+"--\x3e"))}))})),e.on("SetContent",(()=>{e.addVisual(e.getBody())})),e.on("compositionstart compositionend",(t=>{e.composing="compositionstart"===t.type}))})(e),i.fold((()=>{oT(e).then((()=>iT(e)))}),(t=>{e.setProgressState(!0),oT(e).then((()=>{t().then((t=>{e.setProgressState(!1),iT(e),tx(e)}),(t=>{e.notificationManager.open({type:"error",text:String(t)}),iT(e),tx(e)}))}))}))},sT=(e,t)=>{if(e.inline||(e.getElement().style.visibility=e.orgVisibility),t||e.inline)aT(e);else{const t=e.iframeElement,n=((e,t,n)=>or(e,t,Zx,n))(dn.fromDom(t),"load",(()=>{n.unbind(),e.contentDocument=t.contentDocument,aT(e)}));if(Bt.browser.isFirefox()){const t=e.getDoc();t.open(),t.write(e.iframeHTML),t.close()}else t.srcdoc=e.iframeHTML}},lT=la.DOM,cT=(e,t)=>{const n=e.translate("Rich Text Area"),r=Gt(dn.fromDom(e.getElement()),"tabindex").bind($e),o=((e,t,n,r)=>{const o=dn.fromTag("iframe");return r.each((e=>Vt(o,"tabindex",e))),Yt(o,n),Yt(o,{id:e+"_ifr",frameBorder:"0",allowTransparency:"true",title:t}),rn(o,"tox-edit-area__iframe"),o})(e.id,n,nl(e),r).dom;o.onload=()=>{o.onload=null,e.dispatch("load")},e.contentAreaContainer=t.iframeContainer,e.iframeElement=o,e.iframeHTML=(e=>{let t=rl(e)+"<html><head>";ol(e)!==e.documentBaseUrl&&(t+='<base href="'+e.documentBaseURI.getURI()+'" />'),t+='<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';const n=il(e),r=al(e),o=e.translate(fc(e));return sl(e)&&(t+='<meta http-equiv="Content-Security-Policy" content="'+sl(e)+'" />'),t+=`</head><body id="${n}" class="mce-content-body ${r}" data-id="${e.id}" aria-label="${o}"><br></body></html>`,t})(e),lT.add(t.iframeContainer,o)},uT=la.DOM,dT=(e,t,n)=>{const r=Ix.get(n),o=Ix.urls[n]||e.documentBaseUrl.replace(/\/$/,"");if(n=Pt.trim(n),r&&-1===Pt.inArray(t,n)){if(e.plugins[n])return;try{const i=r(e,o)||{};e.plugins[n]=i,_(i.init)&&(i.init(e,o),t.push(n))}catch(t){((e,t,n)=>{const r=ma.translate(["Failed to initialize plugin: {0}",t]);Mf(e,"PluginLoadError",{message:r}),Wx(r,n),qx(e,r)})(e,n,t)}}},fT=(e,t)=>({editorContainer:e,iframeContainer:t,api:{}}),pT=e=>{const t=e.getElement();return e.inline?fT(null):(e=>{const t=uT.create("div");return uT.insertAfter(t,e),fT(t,t)})(t)},hT=e=>{const t=e.getElement();return e.orgDisplay=t.style.display,h(ql(e))?(e=>{const t=e.theme.renderUI;return t?t():pT(e)})(e):_(ql(e))?(e=>{const t=e.getElement(),n=ql(e)(e,t);return n.editorContainer.nodeType&&(n.editorContainer.id=n.editorContainer.id||e.id+"_parent"),n.iframeContainer&&n.iframeContainer.nodeType&&(n.iframeContainer.id=n.iframeContainer.id||e.id+"_iframecontainer"),n.height=n.iframeHeight?n.iframeHeight:t.offsetHeight,n})(e):pT(e)},mT=e=>{e.dispatch("ScriptsLoaded"),(e=>{const t=Pt.trim(yl(e)),n=e.ui.registry.getAll().icons,r={...Sx.get("default").icons,...Sx.get(t).icons};me(r,((t,r)=>{we(n,r)||e.ui.registry.addIcon(r,t)}))})(e),(e=>{const t=ql(e);if(h(t)){const n=Nx.get(t);e.theme=n(e,Nx.urls[t])||{},_(e.theme.init)&&e.theme.init(e,Nx.urls[t]||e.documentBaseUrl.replace(/\/$/,""))}else e.theme={}})(e),(e=>{const t=Hl(e),n=Ex.get(t);e.model=n(e,Ex.urls[t])})(e),(e=>{const t=[];Y(ac(e),(n=>{dT(e,t,(e=>e.replace(/^\-/,""))(n))}))})(e);const t=hT(e);((e,t)=>{const n={show:N.from(t.show).getOr(S),hide:N.from(t.hide).getOr(S),isEnabled:N.from(t.isEnabled).getOr(I),setEnabled:n=>{e.mode.isReadOnly()||N.from(t.setEnabled).each((e=>e(n)))}};e.ui={...e.ui,...n}})(e,N.from(t.api).getOr({})),e.editorContainer=t.editorContainer,Yx(e),e.inline?sT(e):((e,t)=>{cT(e,t),t.editorContainer&&(t.editorContainer.style.display=e.orgDisplay,e.hidden=lT.isHidden(t.editorContainer)),e.getElement().style.display="none",lT.setAttrib(e.id,"aria-hidden","true"),sT(e)})(e,{editorContainer:t.editorContainer,iframeContainer:t.iframeContainer})},gT=la.DOM,vT=e=>"-"===e.charAt(0),bT=(e,t)=>{const n=El(t),r=Bl(t);if(!ma.hasCode(n)&&"en"!==n){const o=Ge(r)?r:`${t.editorManager.baseURL}/langs/${n}.js`;e.add(o).catch((()=>{((e,t,n)=>{Ux(e,"LanguageLoadError",Hx("language",t,n))})(t,o,n)}))}},yT=(e,t)=>{const n=ql(e);if(h(n)&&!vT(n)&&!we(Nx.urls,n)){const r=Ul(e),o=r?e.documentBaseURI.toAbsolute(r):`themes/${n}/theme${t}.js`;Nx.load(n,o).catch((()=>{((e,t,n)=>{Ux(e,"ThemeLoadError",Hx("theme",t,n))})(e,o,n)}))}},AT=(e,t)=>{const n=Hl(e);if("plugin"!==n&&!we(Ex.urls,n)){const r=Wl(e),o=h(r)?e.documentBaseURI.toAbsolute(r):`models/${n}/model${t}.js`;Ex.load(n,o).catch((()=>{((e,t,n)=>{Ux(e,"ModelLoadError",Hx("model",t,n))})(e,o,n)}))}},xT=(e,t,n)=>N.from(t).filter((e=>Ge(e)&&!Sx.has(e))).map((t=>({url:`${e.editorManager.baseURL}/icons/${t}/icons${n}.js`,name:N.some(t)}))),CT=(e,t,n)=>{const r=xT(t,"default",n),o=(e=>N.from(Al(e)).filter(Ge).map((e=>({url:e,name:N.none()}))))(t).orThunk((()=>xT(t,yl(t),"")));Y((e=>{const t=[],n=e=>{t.push(e)};for(let t=0;t<e.length;t++)e[t].each(n);return t})([r,o]),(n=>{e.add(n.url).catch((()=>{((e,t,n)=>{Ux(e,"IconsLoadError",Hx("icons",t,n))})(t,n.url,n.name.getOrUndefined())}))}))},_T=(e,t)=>{const n=(t,n)=>{Ix.load(t,n).catch((()=>{((e,t,n)=>{Ux(e,"PluginLoadError",Hx("plugin",t,n))})(e,n,t)}))};me(sc(e),((t,r)=>{n(r,t),e.options.set("plugins",ac(e).concat(r))})),Y(ac(e),(e=>{!(e=Pt.trim(e))||Ix.urls[e]||vT(e)||n(e,`plugins/${e}/plugin${t}.js`)}))},wT=(e,t)=>{const n=ua.ScriptLoader,r=()=>{!e.removed&&(e=>{const t=ql(e);return!h(t)||C(Nx.get(t))})(e)&&(e=>{const t=Hl(e);return C(Ex.get(t))})(e)&&mT(e)};yT(e,t),AT(e,t),bT(n,e),CT(n,e,t),_T(e,t),n.loadQueue().then(r,r)},kT=e=>{const t=e.id;ma.setCode(El(e));const n=()=>{gT.unbind(window,"ready",n),e.render()};if(!Qi.Event.domLoaded)return void gT.bind(window,"ready",n);if(!e.getElement())return;const r=dn.fromDom(e.getElement()),o=Xt(r);e.on("remove",(()=>{Z(r.dom.attributes,(e=>$t(r,e.name))),Yt(r,o)})),e.ui.styleSheetLoader=((e,t)=>Qr.forElement(e,{contentCssCors:ic(t),referrerPolicy:Sl(t)}))(r,e),Xl(e)?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden");const i=e.getElement().form||gT.getParent(t,"form");i&&(e.formElement=i,Ql(e)&&!kr(e.getElement())&&(gT.insertAfter(gT.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=t=>{e.dispatch(t.type,t)},gT.bind(i,"submit reset",e.formEventDelegate),e.on("reset",(()=>{e.resetContent()})),!Jl(e)||i.submit.nodeType||i.submit.length||i._mceOldSubmit||(i._mceOldSubmit=i.submit,i.submit=()=>(e.editorManager.triggerSave(),e.setDirty(!1),i._mceOldSubmit(i)))),e.windowManager=Fx(e),e.notificationManager=Lx(e),(e=>"xml"===e.options.get("encoding"))(e)&&e.on("GetContent",(e=>{e.save&&(e.content=gT.encode(e.content))})),ec(e)&&e.on("submit",(()=>{e.initialized&&e.save()})),tc(e)&&(e._beforeUnload=()=>{!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),wT(e,e.suffix)},ST=xt().deviceType,ET=ST.isPhone(),BT=ST.isTablet(),OT=e=>{if(x(e))return[];{const t=v(e)?e:e.split(/[ ,]/),n=V(t,Ve);return K(n,Ge)}},jT=(e,t)=>{const n=((e,t)=>{const n={},r={};return ye(e,t,be(n),be(r)),{t:n,f:r}})(t,((t,n)=>H(e,n)));return r=n.t,o=n.f,{sections:O(r),options:O(o)};var r,o},TT=(e,t)=>we(e.sections(),t),PT=(e,t)=>({...{table_grid:!1,object_resizing:!1,resize:!1,toolbar_mode:_e(e,"toolbar_mode").getOr("scrolling"),toolbar_sticky:!1},...t?{menubar:!1}:{}}),MT=(e,t)=>{var n;const r=null!==(n=t.external_plugins)&&void 0!==n?n:{};return e&&e.external_plugins?Pt.extend({},e.external_plugins,r):r},DT=(e,t,n,r)=>{const o=OT(n.forced_plugins),i=OT(r.plugins),a=((e,t)=>TT(e,t)?e.sections()[t]:{})(t,"mobile"),s=((e,t,n,r)=>e&&TT(t,"mobile")?r:n)(e,t,i,a.plugins?OT(a.plugins):i),l=((e,t)=>[...OT(e),...OT(t)])(o,s);return Pt.extend(r,{forced_plugins:o,plugins:l})},RT=(e,t,n,r,o)=>{var i;const a=e?{mobile:PT(null!==(i=o.mobile)&&void 0!==i?i:{},t)}:{},s=jT(["mobile"],LS(a,o)),l=Pt.extend(n,r,s.options(),((e,t)=>e&&TT(t,"mobile"))(e,s)?((e,t,n={})=>{const r=e.sections(),o=_e(r,t).getOr({});return Pt.extend({},n,o)})(s,"mobile"):{},{external_plugins:MT(r,s.options())});return DT(e,s,r,l)},LT=(e,t)=>((e,t)=>ex(e).editor.addVisual(t))(e,t),IT=e=>{const t=t=>()=>{Y("left,center,right,justify".split(","),(n=>{t!==n&&e.formatter.remove("align"+n)})),"none"!==t&&((t,n)=>{e.formatter.toggle(t,n),e.nodeChanged()})("align"+t)};e.editorCommands.addCommands({JustifyLeft:t("left"),JustifyCenter:t("center"),JustifyRight:t("right"),JustifyFull:t("justify"),JustifyNone:t("none")})},NT=e=>{IT(e),(e=>{const t=t=>()=>{const n=e.selection,r=n.isCollapsed()?[e.dom.getParent(n.getNode(),e.dom.isBlock)]:n.getSelectedBlocks();return W(r,(n=>C(e.formatter.matchNode(n,t))))};e.editorCommands.addCommands({JustifyLeft:t("alignleft"),JustifyCenter:t("aligncenter"),JustifyRight:t("alignright"),JustifyFull:t("alignjustify")},"state")})(e)},FT=(e,t)=>{const n=e.selection,r=e.dom;return/^ | $/.test(t)?((e,t,n)=>{const r=dn.fromDom(e.getRoot());return n=Dm(r,gs.fromRangeStart(t))?n.replace(/^ /,"&nbsp;"):n.replace(/^&nbsp;/," "),Rm(r,gs.fromRangeEnd(t))?n.replace(/(&nbsp;| )(<br( \/)>)?$/,"&nbsp;"):n.replace(/&nbsp;(<br( \/)?>)?$/," ")})(r,n.getRng(),t):t},zT=(e,t)=>{const{content:n,details:r}=(e=>{if("string"!=typeof e){const t=Pt.extend({paste:e.paste,data:{paste:e.paste}},e);return{content:e.content,details:t}}return{content:e,details:{}}})(t);gA(e,{...r,content:FT(e,n),format:"html",set:!1,selection:!0}).each((t=>{const n=((e,t,n)=>JA(e).editor.insertContent(t,n))(e,t.content,r);vA(e,n,t),e.addVisual()}))},qT={"font-size":"size","font-family":"face"},UT=Ht("font"),HT=(e,t,n)=>kv(dn.fromDom(n),(t=>(t=>Wn(t,e).orThunk((()=>UT(t)?_e(qT,e).bind((e=>Gt(t,e))):N.none())))(t)),(e=>mn(dn.fromDom(t),e))),WT=e=>(t,n)=>N.from(n).map(dn.fromDom).filter(Ft).bind((n=>HT(e,t,n.dom).or(((e,t)=>N.from(la.DOM.getStyle(t,e,!0)))(e,n.dom)))).getOr(""),VT=WT("font-size"),YT=E((e=>e.replace(/[\'\"\\]/g,"").replace(/,\s+/g,",")),WT("font-family")),ZT=e=>Xu(e.getBody()).bind((e=>{const t=e.container();return N.from(Sr(t)?t.parentNode:t)})),GT=(e,t)=>(e=>N.from(e.selection.getRng()).bind((t=>{const n=e.getBody();return t.startContainer===n&&0===t.startOffset?N.none():N.from(e.selection.getStart(!0))})))(e).orThunk(P(ZT,e)).map(dn.fromDom).filter(Ft).bind(t),KT=(e,t)=>GT(e,B(N.some,t)),$T=(e,t)=>{if(/^[0-9.]+$/.test(t)){const n=parseInt(t,10);if(n>=1&&n<=7){const r=(e=>Pt.explode(e.options.get("font_size_style_values")))(e),o=(e=>Pt.explode(e.options.get("font_size_classes")))(e);return o.length>0?o[n-1]||t:r[n-1]||t}return t}return t},XT=e=>{const t=e.split(/\s*,\s*/);return V(t,(e=>-1===e.indexOf(" ")||Ue(e,'"')||Ue(e,"'")?e:`'${e}'`)).join(",")},QT=e=>{const t=(t,n)=>{e.formatter.toggle(t,n),e.nodeChanged()};e.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":e=>{t(e)},"ForeColor,HiliteColor":(e,n,r)=>{t(e,{value:r})},BackColor:(e,n,r)=>{t("hilitecolor",{value:r})},FontName:(t,n,r)=>{((e,t)=>{const n=$T(e,t);e.formatter.toggle("fontname",{value:XT(n)}),e.nodeChanged()})(e,r)},FontSize:(t,n,r)=>{((e,t)=>{e.formatter.toggle("fontsize",{value:$T(e,t)}),e.nodeChanged()})(e,r)},LineHeight:(t,n,r)=>{((e,t)=>{e.formatter.toggle("lineheight",{value:String(t)}),e.nodeChanged()})(e,r)},Lang:(e,n,r)=>{var o;t(e,{value:r.code,customValue:null!==(o=r.customCode)&&void 0!==o?o:null})},RemoveFormat:t=>{e.formatter.remove(t)},mceBlockQuote:()=>{t("blockquote")},FormatBlock:(e,n,r)=>{t(h(r)?r:"p")},mceToggleFormat:(e,n,r)=>{t(r)}})},JT=e=>{const t=t=>e.formatter.match(t);e.editorCommands.addCommands({"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":e=>t(e),mceBlockQuote:()=>t("blockquote")},"state"),e.editorCommands.addQueryValueHandler("FontName",(()=>(e=>KT(e,(t=>YT(e.getBody(),t.dom))).getOr(""))(e))),e.editorCommands.addQueryValueHandler("FontSize",(()=>(e=>KT(e,(t=>VT(e.getBody(),t.dom))).getOr(""))(e))),e.editorCommands.addQueryValueHandler("LineHeight",(()=>(e=>KT(e,(t=>{const n=dn.fromDom(e.getBody()),r=kv(t,(e=>Wn(e,"line-height")),P(mn,n));return r.getOrThunk((()=>{const e=parseFloat(Un(t,"line-height")),n=parseFloat(Un(t,"font-size"));return String(e/n)}))})).getOr(""))(e)))},eP=e=>{e.editorCommands.addCommands({Indent:()=>{(e=>{Fw(e,"indent")})(e)},Outdent:()=>{zw(e)}}),e.editorCommands.addCommands({Outdent:()=>Lw(e)},"state")},tP=e=>{NT(e),(e=>{e.editorCommands.addCommands({"Cut,Copy,Paste":t=>{const n=e.getDoc();let r;try{n.execCommand(t)}catch(e){r=!0}if("paste"!==t||n.queryCommandEnabled(t)||(r=!0),r||!n.queryCommandSupported(t)){let t=e.translate("Your browser doesn't support direct access to the clipboard. Please use the Ctrl+X/C/V keyboard shortcuts instead.");(Bt.os.isMacOS()||Bt.os.isiOS())&&(t=t.replace(/Ctrl\+/g,"⌘+")),e.notificationManager.open({text:t,type:"error"})}}})})(e),(e=>{e.editorCommands.addCommands({mceAddUndoLevel:()=>{e.undoManager.add()},mceEndUndoLevel:()=>{e.undoManager.add()},Undo:()=>{e.undoManager.undo()},Redo:()=>{e.undoManager.redo()}})})(e),(e=>{e.editorCommands.addCommands({mceSelectNodeDepth:(t,n,r)=>{let o=0;e.dom.getParent(e.selection.getNode(),(t=>!vr(t)||o++!==r||(e.selection.select(t),!1)),e.getBody())},mceSelectNode:(t,n,r)=>{e.selection.select(r)},selectAll:()=>{const t=e.dom.getParent(e.selection.getStart(),Dr);if(t){const n=e.dom.createRng();n.selectNodeContents(t),e.selection.setRng(n)}}})})(e),(e=>{e.editorCommands.addCommands({mceCleanup:()=>{const t=e.selection.getBookmark();e.setContent(e.getContent()),e.selection.moveToBookmark(t)},insertImage:(t,n,r)=>{zT(e,e.dom.createHTML("img",{src:r}))},insertHorizontalRule:()=>{e.execCommand("mceInsertContent",!1,"<hr>")},insertText:(t,n,r)=>{zT(e,e.dom.encode(r))},insertHTML:(t,n,r)=>{zT(e,r)},mceInsertContent:(t,n,r)=>{zT(e,r)},mceSetContent:(t,n,r)=>{e.setContent(r)},mceReplaceContent:(t,n,r)=>{e.execCommand("mceInsertContent",!1,r.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceNewDocument:()=>{e.setContent("")}})})(e),(e=>{const t=(t,n,r)=>{const o=h(r)?{href:r}:r,i=e.dom.getParent(e.selection.getNode(),"a");m(o)&&h(o.href)&&(o.href=o.href.replace(/ /g,"%20"),i&&o.href||e.formatter.remove("link"),o.href&&e.formatter.apply("link",o,i))};e.editorCommands.addCommands({unlink:()=>{if(e.selection.isCollapsed()){const t=e.dom.getParent(e.selection.getStart(),"a");t&&e.dom.remove(t,!0)}else e.formatter.remove("link")},mceInsertLink:t,createLink:t})})(e),eP(e),(e=>{e.editorCommands.addCommands({insertParagraph:()=>{EB(iB,e)},mceInsertNewLine:(t,n,r)=>{BB(e,r)},InsertLineBreak:(t,n,r)=>{EB(hB,e)}})})(e),(e=>{(e=>{e.editorCommands.addCommands({"InsertUnorderedList,InsertOrderedList":t=>{e.getDoc().execCommand(t);const n=e.dom.getParent(e.selection.getNode(),"ol,ul");if(n){const t=n.parentNode;if(t&&/^(H[1-6]|P|ADDRESS|PRE)$/.test(t.nodeName)){const r=e.selection.getBookmark();e.dom.split(t,n),e.selection.moveToBookmark(r)}}}})})(e),(e=>{e.editorCommands.addCommands({"InsertUnorderedList,InsertOrderedList":t=>{const n=e.dom.getParent(e.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===t&&"UL"===n.tagName||"insertorderedlist"===t&&"OL"===n.tagName)}},"state")})(e)})(e),(e=>{QT(e),JT(e)})(e),(e=>{e.editorCommands.addCommands({mceRemoveNode:(t,n,r)=>{const o=null!=r?r:e.selection.getNode();if(o!==e.getBody()){const t=e.selection.getBookmark();e.dom.remove(o,!0),e.selection.moveToBookmark(t)}},mcePrint:()=>{e.getWin().print()},mceFocus:(t,n,r)=>{vh(e,!0===r)},mceToggleVisualAid:()=>{e.hasVisual=!e.hasVisual,e.addVisual()}})})(e)};class nP{constructor(e){this.commands={state:{},exec:{},value:{}},this.editor=e}execCommand(e,t=!1,n,r){const o=this.editor,i=e.toLowerCase(),a=null==r?void 0:r.skip_focus;if(o.removed)return!1;"mcefocus"!==i&&(/^(mceAddUndoLevel|mceEndUndoLevel)$/i.test(i)||a?(e=>{th(e).each((t=>e.selection.setRng(t)))})(o):o.focus());if(o.dispatch("BeforeExecCommand",{command:e,ui:t,value:n}).isDefaultPrevented())return!1;const s=this.commands.exec[i];return!!_(s)&&(s(i,t,n),o.dispatch("ExecCommand",{command:e,ui:t,value:n}),!0)}queryCommandState(e){if(this.editor.quirks.isHidden()||this.editor.removed)return!1;const t=e.toLowerCase(),n=this.commands.state[t];return!!_(n)&&n(t)}queryCommandValue(e){if(this.editor.quirks.isHidden()||this.editor.removed)return"";const t=e.toLowerCase(),n=this.commands.value[t];return _(n)?n(t):""}addCommands(e,t="exec"){const n=this.commands;me(e,((e,r)=>{Y(r.toLowerCase().split(","),(r=>{n[t][r]=e}))}))}addCommand(e,t,n){const r=e.toLowerCase();this.commands.exec[r]=(e,r,o)=>t.call(null!=n?n:this.editor,r,o)}queryCommandSupported(e){const t=e.toLowerCase();return!!this.commands.exec[t]}addQueryStateHandler(e,t,n){this.commands.state[e.toLowerCase()]=()=>t.call(null!=n?n:this.editor)}addQueryValueHandler(e,t,n){this.commands.value[e.toLowerCase()]=()=>t.call(null!=n?n:this.editor)}}const rP="data-mce-contenteditable",oP=(e,t,n)=>{try{e.getDoc().execCommand(t,!1,String(n))}catch(e){}},iP=(e,t)=>{e.dom.contentEditable=t?"true":"false"},aP=(e,t)=>{const n=dn.fromDom(e.getBody());((e,t,n)=>{ln(e,t)&&!n?an(e,t):n&&rn(e,t)})(n,"mce-content-readonly",t),t?(e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),(e=>{N.from(e.selection.getNode()).each((e=>{e.removeAttribute("data-mce-selected")}))})(e),e.readonly=!0,iP(n,!1),Y(yo(n,'*[contenteditable="true"]'),(e=>{Vt(e,rP,"true"),iP(e,!1)}))):(e.readonly=!1,iP(n,!0),(e=>{Y(yo(e,'*[data-mce-contenteditable="true"]'),(e=>{$t(e,rP),iP(e,!0)}))})(n),oP(e,"StyleWithCSS",!1),oP(e,"enableInlineTableEditing",!1),oP(e,"enableObjectResizing",!1),mh(e)&&e.focus(),(e=>{e.selection.setRng(e.selection.getRng())})(e),e.nodeChanged())},sP=e=>e.readonly,lP=e=>{e.parser.addAttributeFilter("contenteditable",(t=>{sP(e)&&Y(t,(e=>{e.attr(rP,e.attr("contenteditable")),e.attr("contenteditable","false")}))})),e.serializer.addAttributeFilter(rP,(t=>{sP(e)&&Y(t,(e=>{e.attr("contenteditable",e.attr(rP))}))})),e.serializer.addTempAttr(rP)},cP=["copy"],uP=(e,t)=>{if((e=>"click"===e.type)(t)&&!Ff.metaKeyPressed(t)){const n=dn.fromDom(t.target);((e,t)=>$r(t,"a",(t=>mn(t,dn.fromDom(e.getBody())))).bind((e=>Gt(e,"href"))))(e,n).each((n=>{if(t.preventDefault(),/^#/.test(n)){const t=e.dom.select(`${n},[name="${((e,t)=>Ue(e,t)?((e,t)=>e.substring(t))(e,t.length):e)(n,"#")}"]`);t.length&&e.selection.scrollIntoView(t[0],!0)}else window.open(n,"_blank","rel=noopener noreferrer,menubar=yes,toolbar=yes,location=yes,status=yes,resizable=yes,scrollbars=yes")}))}else(e=>H(cP,e.type))(t)&&e.dispatch(t.type,t)},dP=Pt.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," ");class fP{constructor(e){this.bindings={},this.settings=e||{},this.scope=this.settings.scope||this,this.toggleEvent=this.settings.toggleEvent||L}static isNative(e){return!!dP[e.toLowerCase()]}fire(e,t){return this.dispatch(e,t)}dispatch(e,t){const n=e.toLowerCase(),r=Yi(n,null!=t?t:{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(r);const o=this.bindings[n];if(o)for(let e=0,t=o.length;e<t;e++){const t=o[e];if(!t.removed){if(t.once&&this.off(n,t.func),r.isImmediatePropagationStopped())return r;if(!1===t.func.call(this.scope,r))return r.preventDefault(),r}}return r}on(e,t,n,r){if(!1===t&&(t=L),t){const o={func:t,removed:!1};r&&Pt.extend(o,r);const i=e.toLowerCase().split(" ");let a=i.length;for(;a--;){const e=i[a];let t=this.bindings[e];t||(t=[],this.toggleEvent(e,!0)),t=n?[o,...t]:[...t,o],this.bindings[e]=t}}return this}off(e,t){if(e){const n=e.toLowerCase().split(" ");let r=n.length;for(;r--;){const o=n[r];let i=this.bindings[o];if(!o)return me(this.bindings,((e,t)=>{this.toggleEvent(t,!1),delete this.bindings[t]})),this;if(i){if(t){const e=G(i,(e=>e.func===t));i=e.fail,this.bindings[o]=i,Y(e.pass,(e=>{e.removed=!0}))}else i.length=0;i.length||(this.toggleEvent(e,!1),delete this.bindings[o])}}}else me(this.bindings,((e,t)=>{this.toggleEvent(t,!1)})),this.bindings={};return this}once(e,t,n){return this.on(e,t,n,{once:!0})}has(e){e=e.toLowerCase();const t=this.bindings[e];return!(!t||0===t.length)}}const pP=e=>(e._eventDispatcher||(e._eventDispatcher=new fP({scope:e,toggleEvent:(t,n)=>{fP.isNative(t)&&e.toggleNativeEvent&&e.toggleNativeEvent(t,n)}})),e._eventDispatcher),hP={fire(e,t,n){return this.dispatch(e,t,n)},dispatch(e,t,n){const r=this;if(r.removed&&"remove"!==e&&"detach"!==e)return Yi(e.toLowerCase(),null!=t?t:{},r);const o=pP(r).dispatch(e,t);if(!1!==n&&r.parent){let t=r.parent();for(;t&&!o.isPropagationStopped();)t.dispatch(e,o,!1),t=t.parent?t.parent():void 0}return o},on(e,t,n){return pP(this).on(e,t,n)},off(e,t){return pP(this).off(e,t)},once(e,t){return pP(this).once(e,t)},hasEventListeners(e){return pP(this).has(e)}},mP=la.DOM;let gP;const vP=(e,t)=>{if("selectionchange"===t)return e.getDoc();if(!e.inline&&/^mouse|touch|click|contextmenu|drop|dragover|dragend/.test(t))return e.getDoc().documentElement;const n=Fl(e);return n?(e.eventRoot||(e.eventRoot=mP.select(n)[0]),e.eventRoot):e.getBody()},bP=(e,t,n)=>{(e=>!e.hidden&&!sP(e))(e)?e.dispatch(t,n):sP(e)&&uP(e,n)},yP=(e,t)=>{if(e.delegates||(e.delegates={}),e.delegates[t]||e.removed)return;const n=vP(e,t);if(Fl(e)){if(gP||(gP={},e.editorManager.on("removeEditor",(()=>{e.editorManager.activeEditor||gP&&(me(gP,((t,n)=>{e.dom.unbind(vP(e,n))})),gP=null)}))),gP[t])return;const r=n=>{const r=n.target,o=e.editorManager.get();let i=o.length;for(;i--;){const e=o[i].getBody();(e===r||mP.isChildOf(r,e))&&bP(o[i],t,n)}};gP[t]=r,mP.bind(n,t,r)}else{const r=n=>{bP(e,t,n)};mP.bind(n,t,r),e.delegates[t]=r}},AP={...hP,bindPendingEventDelegates(){const e=this;Pt.each(e._pendingNativeEvents,(t=>{yP(e,t)}))},toggleNativeEvent(e,t){const n=this;"focus"!==e&&"blur"!==e&&(n.removed||(t?n.initialized?yP(n,e):n._pendingNativeEvents?n._pendingNativeEvents.push(e):n._pendingNativeEvents=[e]:n.initialized&&n.delegates&&(n.dom.unbind(vP(n,e),e,n.delegates[e]),delete n.delegates[e])))},unbindAllNativeEvents(){const e=this,t=e.getBody(),n=e.dom;e.delegates&&(me(e.delegates,((t,n)=>{e.dom.unbind(vP(e,n),n,t)})),delete e.delegates),!e.inline&&t&&n&&(t.onload=null,n.unbind(e.getWin()),n.unbind(e.getDoc())),n&&(n.unbind(t),n.unbind(e.getContainer()))}},xP=e=>h(e)?{value:e.split(/[ ,]/),valid:!0}:k(e,h)?{value:e,valid:!0}:{valid:!1,message:"The value must be a string[] or a comma/space separated string."},CP=(e,t)=>e+(Ke(t.message)?"":`. ${t.message}`),_P=e=>e.valid,wP=(e,t,n="")=>{const r=t(e);return y(r)?r?{value:e,valid:!0}:{valid:!1,message:n}:r},kP=(e,t)=>{const n={},r={},o=(e,t,n)=>{const o=wP(t,n);return _P(o)?(r[e]=o.value,!0):(console.warn(CP(`Invalid value passed for the ${e} option`,o)),!1)},i=e=>we(n,e);return{register:(e,i)=>{const a=(e=>h(e.processor))(i)?(e=>{const t=(()=>{switch(e){case"array":return v;case"boolean":return y;case"function":return _;case"number":return w;case"object":return m;case"string":return h;case"string[]":return xP;case"object[]":return e=>k(e,m);case"regexp":return e=>p(e,RegExp);default:return I}})();return n=>wP(n,t,`The value must be a ${e}.`)})(i.processor):i.processor,s=((e,t,n)=>{if(!A(t)){const r=wP(t,n);if(_P(r))return r.value;console.error(CP(`Invalid default value passed for the "${e}" option`,r))}})(e,i.default,a);n[e]={...i,default:s,processor:a};_e(r,e).orThunk((()=>_e(t,e))).each((t=>o(e,t,a)))},isRegistered:i,get:e=>_e(r,e).orThunk((()=>_e(n,e).map((e=>e.default)))).getOrUndefined(),set:(e,t)=>{if(i(e)){const r=n[e];return r.immutable?(console.error(`"${e}" is an immutable option and cannot be updated`),!1):o(e,t,r.processor)}return console.warn(`"${e}" is not a registered option. Ensure the option has been registered before setting a value.`),!1},unset:e=>{const t=i(e);return t&&delete r[e],t},isSet:e=>we(r,e)}},SP=["design","readonly"],EP=(e,t,n,r)=>{const o=n[t.get()],i=n[r];try{i.activate()}catch(e){return void console.error(`problem while activating editor mode ${r}:`,e)}o.deactivate(),o.editorReadOnly!==i.editorReadOnly&&aP(e,i.editorReadOnly),t.set(r),((e,t)=>{e.dispatch("SwitchMode",{mode:t})})(e,r)},BP=e=>{const t=da("design"),n=da({design:{activate:S,deactivate:S,editorReadOnly:!1},readonly:{activate:S,deactivate:S,editorReadOnly:!0}});return(e=>{e.serializer?lP(e):e.on("PreInit",(()=>{lP(e)}))})(e),(e=>{e.on("ShowCaret",(t=>{sP(e)&&t.preventDefault()})),e.on("ObjectSelected",(t=>{sP(e)&&t.preventDefault()}))})(e),{isReadOnly:()=>sP(e),set:r=>((e,t,n,r)=>{if(r!==n.get()){if(!we(t,r))throw new Error(`Editor mode '${r}' is invalid`);e.initialized?EP(e,n,t,r):e.on("init",(()=>EP(e,n,t,r)))}})(e,n.get(),t,r),get:()=>t.get(),register:(e,t)=>{n.set(((e,t,n)=>{if(H(SP,t))throw new Error(`Cannot override default mode ${t}`);return{...e,[t]:{...n,deactivate:()=>{try{n.deactivate()}catch(e){console.error(`problem while deactivating editor mode ${t}:`,e)}}}}})(n.get(),e,t))}}},OP=Pt.each,jP=Pt.explode,TP={f1:112,f2:113,f3:114,f4:115,f5:116,f6:117,f7:118,f8:119,f9:120,f10:121,f11:122,f12:123},PP=Pt.makeMap("alt,ctrl,shift,meta,access"),MP=e=>{const t={},n=Bt.os.isMacOS()||Bt.os.isiOS();OP(jP(e.toLowerCase(),"+"),(e=>{(e=>e in PP)(e)?t[e]=!0:/^[0-9]{2,}$/.test(e)?t.keyCode=parseInt(e,10):(t.charCode=e.charCodeAt(0),t.keyCode=TP[e]||e.toUpperCase().charCodeAt(0))}));const r=[t.keyCode];let o;for(o in PP)t[o]?r.push(o):t[o]=!1;return t.id=r.join(","),t.access&&(t.alt=!0,n?t.ctrl=!0:t.shift=!0),t.meta&&(n?t.meta=!0:(t.ctrl=!0,t.meta=!1)),t};class DP{constructor(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;const t=this;e.on("keyup keypress keydown",(e=>{!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(OP(t.shortcuts,(n=>{t.matchShortcut(e,n)&&(t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n))})),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))}))}add(e,t,n,r){const o=this,i=o.normalizeCommandFunc(n);return OP(jP(Pt.trim(e)),(e=>{const n=o.createShortcut(e,t,i,r);o.shortcuts[n.id]=n})),!0}remove(e){const t=this.createShortcut(e);return!!this.shortcuts[t.id]&&(delete this.shortcuts[t.id],!0)}normalizeCommandFunc(e){const t=this,n=e;return"string"==typeof n?()=>{t.editor.execCommand(n,!1,null)}:Pt.isArray(n)?()=>{t.editor.execCommand(n[0],n[1],n[2])}:n}createShortcut(e,t,n,r){const o=Pt.map(jP(e,">"),MP);return o[o.length-1]=Pt.extend(o[o.length-1],{func:n,scope:r||this.editor}),Pt.extend(o[0],{desc:this.editor.translate(t),subpatterns:o.slice(1)})}hasModifier(e){return e.altKey||e.ctrlKey||e.metaKey}isFunctionKey(e){return"keydown"===e.type&&e.keyCode>=112&&e.keyCode<=123}matchShortcut(e,t){return!!t&&(t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&(t.alt===e.altKey&&t.shift===e.shiftKey&&(!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0))))}executeShortcutAction(e){return e.func?e.func.call(e.scope):null}}const RP=()=>{const e=(()=>{const e={},t={},n={},r={},o={},i={},a={},s=(e,t)=>(n,r)=>{e[n.toLowerCase()]={...r,type:t}};return{addButton:s(e,"button"),addGroupToolbarButton:s(e,"grouptoolbarbutton"),addToggleButton:s(e,"togglebutton"),addMenuButton:s(e,"menubutton"),addSplitButton:s(e,"splitbutton"),addMenuItem:s(t,"menuitem"),addNestedMenuItem:s(t,"nestedmenuitem"),addToggleMenuItem:s(t,"togglemenuitem"),addAutocompleter:s(n,"autocompleter"),addContextMenu:s(o,"contextmenu"),addContextToolbar:s(i,"contexttoolbar"),addContextForm:s(i,"contextform"),addSidebar:s(a,"sidebar"),addIcon:(e,t)=>r[e.toLowerCase()]=t,getAll:()=>({buttons:e,menuItems:t,icons:r,popups:n,contextMenus:o,contextToolbars:i,sidebars:a})}})();return{addAutocompleter:e.addAutocompleter,addButton:e.addButton,addContextForm:e.addContextForm,addContextMenu:e.addContextMenu,addContextToolbar:e.addContextToolbar,addIcon:e.addIcon,addMenuButton:e.addMenuButton,addMenuItem:e.addMenuItem,addNestedMenuItem:e.addNestedMenuItem,addSidebar:e.addSidebar,addSplitButton:e.addSplitButton,addToggleButton:e.addToggleButton,addGroupToolbarButton:e.addGroupToolbarButton,addToggleMenuItem:e.addToggleMenuItem,getAll:e.getAll}},LP=la.DOM,IP=Pt.extend,NP=Pt.each;class FP{constructor(e,t,n){this.plugins={},this.contentCSS=[],this.contentStyles=[],this.loadedCSS={},this.isNotDirty=!1,this.composing=!1,this.destroyed=!1,this.hasHiddenInput=!1,this.iframeElement=null,this.initialized=!1,this.readonly=!1,this.removed=!1,this.startContent="",this._pendingNativeEvents=[],this._skinLoaded=!1,this.editorManager=n,this.documentBaseUrl=n.documentBaseURL,IP(this,AP);const r=this;this.id=e,this.hidden=!1;const o=((e,t)=>RT(ET||BT,ET,t,e,t))(n.defaultOptions,t);this.options=kP(0,o),(e=>{const t=e.options.register;t("id",{processor:"string",default:e.id}),t("selector",{processor:"string"}),t("target",{processor:"object"}),t("suffix",{processor:"string"}),t("cache_suffix",{processor:"string"}),t("base_url",{processor:"string"}),t("referrer_policy",{processor:"string",default:""}),t("language_load",{processor:"boolean",default:!0}),t("inline",{processor:"boolean",default:!1}),t("iframe_attrs",{processor:"object",default:{}}),t("doctype",{processor:"string",default:"<!DOCTYPE html>"}),t("document_base_url",{processor:"string",default:e.documentBaseUrl}),t("body_id",{processor:tl(e,"tinymce"),default:"tinymce"}),t("body_class",{processor:tl(e),default:""}),t("content_security_policy",{processor:"string",default:""}),t("br_in_pre",{processor:"boolean",default:!0}),t("forced_root_block",{processor:e=>{const t=h(e)&&Ge(e);return t?{value:e,valid:t}:{valid:!1,message:"Must be a non-empty string."}},default:"p"}),t("forced_root_block_attrs",{processor:"object",default:{}}),t("newline_behavior",{processor:e=>{const t=H(["block","linebreak","invert","default"],e);return t?{value:e,valid:t}:{valid:!1,message:"Must be one of: block, linebreak, invert or default."}},default:"default"}),t("br_newline_selector",{processor:"string",default:".mce-toc h2,figcaption,caption"}),t("no_newline_selector",{processor:"string",default:""}),t("keep_styles",{processor:"boolean",default:!0}),t("end_container_on_empty_block",{processor:e=>y(e)||h(e)?{valid:!0,value:e}:{valid:!1,message:"Must be boolean or a string"},default:"blockquote"}),t("font_size_style_values",{processor:"string",default:"xx-small,x-small,small,medium,large,x-large,xx-large"}),t("font_size_legacy_values",{processor:"string",default:"xx-small,small,medium,large,x-large,xx-large,300%"}),t("font_size_classes",{processor:"string",default:""}),t("automatic_uploads",{processor:"boolean",default:!0}),t("images_reuse_filename",{processor:"boolean",default:!1}),t("images_replace_blob_uris",{processor:"boolean",default:!0}),t("icons",{processor:"string",default:""}),t("icons_url",{processor:"string",default:""}),t("images_upload_url",{processor:"string",default:""}),t("images_upload_base_path",{processor:"string",default:""}),t("images_upload_credentials",{processor:"boolean",default:!1}),t("images_upload_handler",{processor:"function"}),t("language",{processor:"string",default:"en"}),t("language_url",{processor:"string",default:""}),t("entity_encoding",{processor:"string",default:"named"}),t("indent",{processor:"boolean",default:!0}),t("indent_before",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),t("indent_after",{processor:"string",default:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist"}),t("indent_use_margin",{processor:"boolean",default:!1}),t("indentation",{processor:"string",default:"40px"}),t("content_css",{processor:e=>{const t=!1===e||h(e)||k(e,h);return t?h(e)?{value:V(e.split(","),Ve),valid:t}:v(e)?{value:e,valid:t}:!1===e?{value:[],valid:t}:{value:e,valid:t}:{valid:!1,message:"Must be false, a string or an array of strings."}},default:Xl(e)?[]:["default"]}),t("content_style",{processor:"string"}),t("content_css_cors",{processor:"boolean",default:!1}),t("font_css",{processor:e=>{const t=h(e)||k(e,h);return t?{value:v(e)?e:V(e.split(","),Ve),valid:t}:{valid:!1,message:"Must be a string or an array of strings."}},default:[]}),t("inline_boundaries",{processor:"boolean",default:!0}),t("inline_boundaries_selector",{processor:"string",default:"a[href],code,span.mce-annotation"}),t("object_resizing",{processor:e=>{const t=y(e)||h(e);return t?!1===e||Ks.isiPhone()||Ks.isiPad()?{value:"",valid:t}:{value:!0===e?"table,img,figure.image,div,video,iframe":e,valid:t}:{valid:!1,message:"Must be boolean or a string"}},default:!$s}),t("resize_img_proportional",{processor:"boolean",default:!0}),t("event_root",{processor:"object"}),t("service_message",{processor:"string"}),t("theme",{processor:e=>!1===e||h(e)||_(e),default:"silver"}),t("theme_url",{processor:"string"}),t("formats",{processor:"object"}),t("format_empty_lines",{processor:"boolean",default:!1}),t("format_noneditable_selector",{processor:"string",default:""}),t("preview_styles",{processor:e=>{const t=!1===e||h(e);return t?{value:!1===e?"":e,valid:t}:{valid:!1,message:"Must be false or a string"}},default:"font-family font-size font-weight font-style text-decoration text-transform color background-color border border-radius outline text-shadow"}),t("custom_ui_selector",{processor:"string",default:""}),t("hidden_input",{processor:"boolean",default:!0}),t("submit_patch",{processor:"boolean",default:!0}),t("encoding",{processor:"string"}),t("add_form_submit_trigger",{processor:"boolean",default:!0}),t("add_unload_trigger",{processor:"boolean",default:!0}),t("custom_undo_redo_levels",{processor:"number",default:0}),t("disable_nodechange",{processor:"boolean",default:!1}),t("readonly",{processor:"boolean",default:!1}),t("plugins",{processor:"string[]",default:[]}),t("external_plugins",{processor:"object"}),t("forced_plugins",{processor:"string[]"}),t("model",{processor:"string",default:e.hasPlugin("rtc")?"plugin":"dom"}),t("model_url",{processor:"string"}),t("block_unsupported_drop",{processor:"boolean",default:!0}),t("visual",{processor:"boolean",default:!0}),t("visual_table_class",{processor:"string",default:"mce-item-table"}),t("visual_anchor_class",{processor:"string",default:"mce-item-anchor"}),t("iframe_aria_text",{processor:"string",default:"Rich Text Area. Press ALT-0 for help."}),t("setup",{processor:"function"}),t("init_instance_callback",{processor:"function"}),t("url_converter",{processor:"function",default:e.convertURL}),t("url_converter_scope",{processor:"object",default:e}),t("urlconverter_callback",{processor:"function"}),t("allow_conditional_comments",{processor:"boolean",default:!1}),t("allow_html_data_urls",{processor:"boolean",default:!1}),t("allow_svg_data_urls",{processor:"boolean"}),t("allow_html_in_named_anchor",{processor:"boolean",default:!1}),t("allow_script_urls",{processor:"boolean",default:!1}),t("allow_unsafe_link_target",{processor:"boolean",default:!1}),t("convert_fonts_to_spans",{processor:"boolean",default:!0,deprecated:!0}),t("fix_list_elements",{processor:"boolean",default:!1}),t("preserve_cdata",{processor:"boolean",default:!1}),t("remove_trailing_brs",{processor:"boolean"}),t("inline_styles",{processor:"boolean",default:!0,deprecated:!0}),t("element_format",{processor:"string",default:"html"}),t("entities",{processor:"string"}),t("schema",{processor:"string",default:"html5"}),t("convert_urls",{processor:"boolean",default:!0}),t("relative_urls",{processor:"boolean",default:!0}),t("remove_script_host",{processor:"boolean",default:!0}),t("custom_elements",{processor:"string"}),t("extended_valid_elements",{processor:"string"}),t("invalid_elements",{processor:"string"}),t("invalid_styles",{processor:el}),t("valid_children",{processor:"string"}),t("valid_classes",{processor:el}),t("valid_elements",{processor:"string"}),t("valid_styles",{processor:el}),t("verify_html",{processor:"boolean",default:!0}),t("auto_focus",{processor:e=>h(e)||!0===e}),t("browser_spellcheck",{processor:"boolean",default:!1}),t("protect",{processor:"array"}),t("images_file_types",{processor:"string",default:"jpeg,jpg,jpe,jfi,jif,jfif,png,gif,bmp,webp"}),t("deprecation_warnings",{processor:"boolean",default:!0}),t("a11y_advanced_options",{processor:"boolean",default:!1}),t("api_key",{processor:"string"}),t("paste_block_drop",{processor:"boolean",default:!1}),t("paste_data_images",{processor:"boolean",default:!0}),t("paste_preprocess",{processor:"function"}),t("paste_postprocess",{processor:"function"}),t("paste_webkit_styles",{processor:"string",default:"none"}),t("paste_remove_styles_if_webkit",{processor:"boolean",default:!0}),t("paste_merge_formats",{processor:"boolean",default:!0}),t("smart_paste",{processor:"boolean",default:!0}),t("paste_as_text",{processor:"boolean",default:!1}),t("paste_tab_spaces",{processor:"number",default:4}),t("text_patterns",{processor:e=>k(e,m)||!1===e?{value:Gs(!1===e?[]:e),valid:!0}:{valid:!1,message:"Must be an array of objects or false."},default:[{start:"*",end:"*",format:"italic"},{start:"**",end:"**",format:"bold"},{start:"#",format:"h1"},{start:"##",format:"h2"},{start:"###",format:"h3"},{start:"####",format:"h4"},{start:"#####",format:"h5"},{start:"######",format:"h6"},{start:"1. ",cmd:"InsertOrderedList"},{start:"* ",cmd:"InsertUnorderedList"},{start:"- ",cmd:"InsertUnorderedList"}]}),t("text_patterns_lookup",{processor:e=>{return _(e)?{value:(t=e,e=>{const n=t(e);return Gs(n)}),valid:!0}:{valid:!1,message:"Must be a single function"};var t},default:e=>[]}),t("noneditable_class",{processor:"string",default:"mceNonEditable"}),t("editable_class",{processor:"string",default:"mceEditable"}),t("noneditable_regexp",{processor:e=>k(e,Qs)?{value:e,valid:!0}:Qs(e)?{value:[e],valid:!0}:{valid:!1,message:"Must be a RegExp or an array of RegExp."},default:[]}),t("table_tab_navigation",{processor:"boolean",default:!0}),e.on("ScriptsLoaded",(()=>{t("directionality",{processor:"string",default:ma.isRtl()?"rtl":void 0}),t("placeholder",{processor:"string",default:Xs.getAttrib(e.getElement(),"placeholder")})}))})(r);const i=this.options.get;i("deprecation_warnings")&&xx(t,o);const a=i("suffix");a&&(n.suffix=a),this.suffix=n.suffix;const s=i("base_url");s&&n._setBaseUrl(s),this.baseUri=n.baseURI;const l=Sl(r);l&&(ua.ScriptLoader._setReferrerPolicy(l),la.DOM.styleSheetLoader._setReferrerPolicy(l)),ga.languageLoad=i("language_load"),ga.baseURL=n.baseURL,this.setDirty(!1),this.documentBaseURI=new rA(ol(r),{base_uri:this.baseUri}),this.baseURI=this.baseUri,this.inline=Xl(r),this.hasVisual=cc(r),this.shortcuts=new DP(this),this.editorCommands=new nP(this),tP(this);const c=i("cache_suffix");c&&(Bt.cacheSuffix=c.replace(/^[\?\&]+/,"")),this.ui={registry:RP(),styleSheetLoader:void 0,show:S,hide:S,setEnabled:S,isEnabled:I},this.mode=BP(r),n.dispatch("SetupEditor",{editor:this});const u=pc(r);_(u)&&u.call(r,r)}render(){kT(this)}focus(e){this.execCommand("mceFocus",!1,e)}hasFocus(){return hh(this)}translate(e){return ma.translate(e)}getParam(e,t,n){const r=this.options;return r.isRegistered(e)||(C(n)?r.register(e,{processor:n,default:t}):r.register(e,{processor:I,default:t})),r.isSet(e)||A(t)?r.get(e):t}hasPlugin(e,t){return!!H(ac(this),e)&&(!t||void 0!==Ix.get(e))}nodeChanged(e){this._nodeChangeDispatcher.nodeChanged(e)}addCommand(e,t,n){this.editorCommands.addCommand(e,t,n)}addQueryStateHandler(e,t,n){this.editorCommands.addQueryStateHandler(e,t,n)}addQueryValueHandler(e,t,n){this.editorCommands.addQueryValueHandler(e,t,n)}addShortcut(e,t,n,r){this.shortcuts.add(e,t,n,r)}execCommand(e,t,n,r){return this.editorCommands.execCommand(e,t,n,r)}queryCommandState(e){return this.editorCommands.queryCommandState(e)}queryCommandValue(e){return this.editorCommands.queryCommandValue(e)}queryCommandSupported(e){return this.editorCommands.queryCommandSupported(e)}show(){const e=this;e.hidden&&(e.hidden=!1,e.inline?e.getBody().contentEditable="true":(LP.show(e.getContainer()),LP.hide(e.id)),e.load(),e.dispatch("show"))}hide(){const e=this;e.hidden||(e.save(),e.inline?(e.getBody().contentEditable="false",e===e.editorManager.focusedEditor&&(e.editorManager.focusedEditor=null)):(LP.hide(e.getContainer()),LP.setStyle(e.id,"display",e.orgDisplay)),e.hidden=!0,e.dispatch("hide"))}isHidden(){return this.hidden}setProgressState(e,t){this.dispatch("ProgressState",{state:e,time:t})}load(e={}){const t=this,n=t.getElement();if(t.removed)return"";if(n){const r={...e,load:!0},o=kr(n)?n.value:n.innerHTML,i=t.setContent(o,r);return r.no_events||t.dispatch("LoadContent",{...r,element:n}),i}return""}save(e={}){const t=this;let n=t.getElement();if(!n||!t.initialized||t.removed)return"";const r={...e,save:!0,element:n};let o=t.getContent(r);const i={...r,content:o};if(i.no_events||t.dispatch("SaveContent",i),"raw"===i.format&&t.dispatch("RawSaveContent",i),o=i.content,kr(n))n.value=o;else{!e.is_removing&&t.inline||(n.innerHTML=o);const r=LP.getParent(t.id,"form");r&&NP(r.elements,(e=>e.name!==t.id||(e.value=o,!1)))}return i.element=r.element=n=null,!1!==i.set_dirty&&t.setDirty(!1),o}setContent(e,t){return gx(this,e,t)}getContent(e){return mx(this,e)}insertContent(e,t){t&&(e=IP({content:e},t)),this.execCommand("mceInsertContent",!1,e)}resetContent(e){void 0===e?gx(this,this.startContent,{format:"raw"}):gx(this,e),this.undoManager.reset(),this.setDirty(!1),this.nodeChanged()}isDirty(){return!this.isNotDirty}setDirty(e){const t=!this.isNotDirty;this.isNotDirty=!e,e&&e!==t&&this.dispatch("dirty")}getContainer(){const e=this;return e.container||(e.container=e.editorContainer||LP.get(e.id+"_parent")),e.container}getContentAreaContainer(){return this.contentAreaContainer}getElement(){return this.targetElm||(this.targetElm=LP.get(this.id)),this.targetElm}getWin(){const e=this;if(!e.contentWindow){const t=e.iframeElement;t&&(e.contentWindow=t.contentWindow)}return e.contentWindow}getDoc(){const e=this;if(!e.contentDocument){const t=e.getWin();t&&(e.contentDocument=t.document)}return e.contentDocument}getBody(){var e,t;const n=this.getDoc();return null!==(t=null!==(e=this.bodyElement)&&void 0!==e?e:null==n?void 0:n.body)&&void 0!==t?t:null}convertURL(e,t,n){const r=this,o=r.options.get,i=mc(r);return _(i)?i.call(r,e,n,!0,t):!o("convert_urls")||"link"===n||m(n)&&"LINK"===n.nodeName||0===e.indexOf("file:")||0===e.length?e:o("relative_urls")?r.documentBaseURI.toRelative(e):e=r.documentBaseURI.toAbsolute(e,o("remove_script_host"))}addVisual(e){LT(this,e)}remove(){wx(this)}destroy(e){kx(this,e)}uploadImages(){return this.editorUpload.uploadImages()}_scanForImages(){return this.editorUpload.scanForImages()}}const zP=la.DOM,qP=Pt.each;let UP,HP=!1,WP=[];const VP=e=>{const t=e.type;qP(KP.get(),(n=>{switch(t){case"scroll":n.dispatch("ScrollWindow",e);break;case"resize":n.dispatch("ResizeWindow",e)}}))},YP=e=>{if(e!==HP){const t=la.DOM;e?(t.bind(window,"resize",VP),t.bind(window,"scroll",VP)):(t.unbind(window,"resize",VP),t.unbind(window,"scroll",VP)),HP=e}},ZP=e=>{const t=WP;return WP=K(WP,(t=>e!==t)),KP.activeEditor===e&&(KP.activeEditor=WP.length>0?WP[0]:null),KP.focusedEditor===e&&(KP.focusedEditor=null),t.length!==WP.length},GP="CSS1Compat"!==document.compatMode,KP={...hP,baseURI:null,baseURL:null,defaultOptions:{},documentBaseURL:null,suffix:null,majorVersion:"6",minorVersion:"2.0",releaseDate:"2022-09-08",i18n:ma,activeEditor:null,focusedEditor:null,setup(){const e=this;let t="",n="",r=rA.getDocumentBaseUrl(document.location);/^[^:]+:\/\/\/?[^\/]+\//.test(r)&&(r=r.replace(/[\?#].*$/,"").replace(/[\/\\][^\/]+$/,""),/[\/\\]$/.test(r)||(r+="/"));const o=window.tinymce||window.tinyMCEPreInit;if(o)t=o.base||o.baseURL,n=o.suffix;else{const e=document.getElementsByTagName("script");for(let r=0;r<e.length;r++){const o=e[r].src||"";if(""===o)continue;const i=o.substring(o.lastIndexOf("/"));if(/tinymce(\.full|\.jquery|)(\.min|\.dev|)\.js/.test(o)){-1!==i.indexOf(".min")&&(n=".min"),t=o.substring(0,o.lastIndexOf("/"));break}}if(!t&&document.currentScript){const e=document.currentScript.src;-1!==e.indexOf(".min")&&(n=".min"),t=e.substring(0,e.lastIndexOf("/"))}}var i;e.baseURL=new rA(r).toAbsolute(t),e.documentBaseURL=r,e.baseURI=new rA(e.baseURL),e.suffix=n,(i=e).on("AddEditor",P(lh,i)),i.on("RemoveEditor",P(ch,i))},overrideDefaults(e){const t=e.base_url;t&&this._setBaseUrl(t);const n=e.suffix;n&&(this.suffix=n),this.defaultOptions=e;const r=e.plugin_base_urls;void 0!==r&&me(r,((e,t)=>{ga.PluginManager.urls[t]=e}))},init(e){const t=this;let n;const r=Pt.makeMap("area base basefont br col frame hr img input isindex link meta param embed source wbr track colgroup option table tbody tfoot thead tr th td script noscript style textarea video audio iframe object menu"," ");let o=e=>{n=e};const i=()=>{let n=0;const a=[];let s;zP.unbind(window,"ready",i),(n=>{const r=e[n];if(r)r.apply(t,[])})("onpageload"),s=((e,t)=>{const n=[],r=_(t)?e=>W(n,(n=>t(n,e))):e=>H(n,e);for(let t=0,o=e.length;t<o;t++){const o=e[t];r(o)||n.push(o)}return n})((e=>Bt.browser.isIE()||Bt.browser.isEdge()?(Wx("TinyMCE does not support the browser you are using. For a list of supported browsers please see: https://www.tiny.cloud/docs/tinymce/6/support/#supportedwebbrowsers"),[]):GP?(Wx("Failed to initialize the editor as the document is not in standards mode. TinyMCE requires standards mode."),[]):h(e.selector)?zP.select(e.selector):C(e.target)?[e.target]:[])(e)),Pt.each(s,(e=>{var n;(n=t.get(e.id))&&n.initialized&&!(n.getContainer()||n.getBody()).parentNode&&(ZP(n),n.unbindAllNativeEvents(),n.destroy(!0),n.removed=!0)})),s=Pt.grep(s,(e=>!t.get(e.id))),0===s.length?o([]):qP(s,(i=>{((e,t)=>e.inline&&t.tagName.toLowerCase()in r)(e,i)?Wx("Could not initialize inline editor on invalid inline target element",i):((e,r,i)=>{const l=new FP(e,r,t);a.push(l),l.on("init",(()=>{++n===s.length&&o(a)})),l.targetElm=l.targetElm||i,l.render()})((e=>{let t=e.id;return t||(t=_e(e,"name").filter((e=>!zP.get(e))).getOrThunk(zP.uniqueId),e.setAttribute("id",t)),t})(i),e,i)}))};return zP.bind(window,"ready",i),new Promise((e=>{n?e(n):o=t=>{e(t)}}))},get(e){return 0===arguments.length?WP.slice(0):h(e)?J(WP,(t=>t.id===e)).getOr(null):w(e)&&WP[e]?WP[e]:null},add(e){const t=this,n=t.get(e.id);return n===e||(null===n&&WP.push(e),YP(!0),t.activeEditor=e,t.dispatch("AddEditor",{editor:e}),UP||(UP=e=>{const n=t.dispatch("BeforeUnload");if(n.returnValue)return e.preventDefault(),e.returnValue=n.returnValue,n.returnValue},window.addEventListener("beforeunload",UP))),e},createEditor(e,t){return this.add(new FP(e,t,this))},remove(e){const t=this;let n;if(e){if(!h(e))return n=e,b(t.get(n.id))?null:(ZP(n)&&t.dispatch("RemoveEditor",{editor:n}),0===WP.length&&window.removeEventListener("beforeunload",UP),n.remove(),YP(WP.length>0),n);qP(zP.select(e),(e=>{n=t.get(e.id),n&&t.remove(n)}))}else for(let e=WP.length-1;e>=0;e--)t.remove(WP[e])},execCommand(e,t,n){var r;const o=this,i=m(n)?null!==(r=n.id)&&void 0!==r?r:n.index:n;switch(e){case"mceAddEditor":if(!o.get(i)){const e=n.options;new FP(i,e,o).render()}return!0;case"mceRemoveEditor":{const e=o.get(i);return e&&e.remove(),!0}case"mceToggleEditor":{const e=o.get(i);return e?(e.isHidden()?e.show():e.hide(),!0):(o.execCommand("mceAddEditor",!1,n),!0)}}return!!o.activeEditor&&o.activeEditor.execCommand(e,t,n)},triggerSave:()=>{qP(WP,(e=>{e.save()}))},addI18n:(e,t)=>{ma.add(e,t)},translate:e=>ma.translate(e),setActive(e){const t=this.activeEditor;this.activeEditor!==e&&(t&&t.dispatch("deactivate",{relatedTarget:e}),e.dispatch("activate",{relatedTarget:t})),this.activeEditor=e},_setBaseUrl(e){this.baseURL=new rA(this.documentBaseURL).toAbsolute(e.replace(/\/+$/,"")),this.baseURI=new rA(this.baseURL)}};KP.setup();const $P=(()=>{const e=ba();return{FakeClipboardItem:e=>({items:e,types:pe(e),getType:t=>_e(e,t).getOrUndefined()}),write:t=>{e.set(t)},read:()=>e.get().getOrUndefined(),clear:e.clear}})(),XP=Math.min,QP=Math.max,JP=Math.round,eM=(e,t,n)=>{let r=t.x,o=t.y;const i=e.w,a=e.h,s=t.w,l=t.h,c=(n||"").split("");return"b"===c[0]&&(o+=l),"r"===c[1]&&(r+=s),"c"===c[0]&&(o+=JP(l/2)),"c"===c[1]&&(r+=JP(s/2)),"b"===c[3]&&(o-=a),"r"===c[4]&&(r-=i),"c"===c[3]&&(o-=JP(a/2)),"c"===c[4]&&(r-=JP(i/2)),tM(r,o,i,a)},tM=(e,t,n,r)=>({x:e,y:t,w:n,h:r}),nM={inflate:(e,t,n)=>tM(e.x-t,e.y-n,e.w+2*t,e.h+2*n),relativePosition:eM,findBestRelativePosition:(e,t,n,r)=>{for(let o=0;o<r.length;o++){const i=eM(e,t,r[o]);if(i.x>=n.x&&i.x+i.w<=n.w+n.x&&i.y>=n.y&&i.y+i.h<=n.h+n.y)return r[o]}return null},intersect:(e,t)=>{const n=QP(e.x,t.x),r=QP(e.y,t.y),o=XP(e.x+e.w,t.x+t.w),i=XP(e.y+e.h,t.y+t.h);return o-n<0||i-r<0?null:tM(n,r,o-n,i-r)},clamp:(e,t,n)=>{let r=e.x,o=e.y,i=e.x+e.w,a=e.y+e.h;const s=t.x+t.w,l=t.y+t.h,c=QP(0,t.x-r),u=QP(0,t.y-o),d=QP(0,i-s),f=QP(0,a-l);return r+=c,o+=u,n&&(i+=c,a+=u,r-=d,o-=f),i-=d,a-=f,tM(r,o,i-r,a-o)},create:tM,fromClientRect:e=>tM(e.left,e.top,e.width,e.height)},rM=(()=>{const e={},t={};return{load:(n,r)=>{const o=`Script at URL "${r}" failed to load`,i=`Script at URL "${r}" did not call \`tinymce.Resource.add('${n}', data)\` within 1 second`;if(void 0!==e[n])return e[n];{const a=new Promise(((e,a)=>{const s=((e,t,n=1e3)=>{let r=!1,o=null;const i=e=>(...t)=>{r||(r=!0,null!==o&&(clearTimeout(o),o=null),e.apply(null,t))},a=i(e),s=i(t);return{start:(...e)=>{r||null!==o||(o=setTimeout((()=>s.apply(null,e)),n))},resolve:a,reject:s}})(e,a);t[n]=s.resolve,ua.ScriptLoader.loadScript(r).then((()=>s.start(i)),(()=>s.reject(o)))}));return e[n]=a,a}},add:(n,r)=>{void 0!==t[n]&&(t[n](r),delete t[n]),e[n]=Promise.resolve(r)},unload:t=>{delete e[t]}}})();let oM;try{const e="__storage_test__";oM=window.localStorage,oM.setItem(e,e),oM.removeItem(e)}catch(e){oM=(()=>{let e={},t=[];const n={getItem:t=>e[t]||null,setItem:(n,r)=>{t.push(n),e[n]=String(r)},key:e=>t[e],removeItem:n=>{t=t.filter((e=>e===n)),delete e[n]},clear:()=>{t=[],e={}},length:0};return Object.defineProperty(n,"length",{get:()=>t.length,configurable:!1,enumerable:!1}),n})()}const iM={geom:{Rect:nM},util:{Delay:rh,Tools:Pt,VK:Ff,URI:rA,EventDispatcher:fP,Observable:hP,I18n:ma,LocalStorage:oM,ImageUploader:e=>{const t=Kx(),n=eC(e,t);return{upload:(t,r=!0)=>n.upload(t,r?Jx(e):void 0)}}},dom:{EventUtils:Qi,TreeWalker:Jr,TextSeeker:za,DOMUtils:la,ScriptLoader:ua,RangeUtils:xp,Serializer:hx,StyleSheetLoader:Xr,ControlSelection:Wf,BookmarkManager:Tf,Selection:cx,Event:Qi.Event},html:{Styles:Ui,Entities:Bi,Node:Dh,Schema:qi,DomParser:fA,Writer:Uh,Serializer:Hh},Env:Bt,AddOnManager:ga,Annotator:jf,Formatter:pC,UndoManager:mC,EditorCommands:nP,WindowManager:Fx,NotificationManager:Lx,EditorObservable:AP,Shortcuts:DP,Editor:FP,FocusManager:nh,EditorManager:KP,DOM:la.DOM,ScriptLoader:ua.ScriptLoader,PluginManager:Ix,ThemeManager:Nx,ModelManager:Ex,IconManager:Sx,Resource:rM,FakeClipboard:$P,trim:Pt.trim,isArray:Pt.isArray,is:Pt.is,toArray:Pt.toArray,makeMap:Pt.makeMap,each:Pt.each,map:Pt.map,grep:Pt.grep,inArray:Pt.inArray,extend:Pt.extend,walk:Pt.walk,resolve:Pt.resolve,explode:Pt.explode,_addCacheSuffix:Pt._addCacheSuffix},aM=Pt.extend(KP,iM);(e=>{window.tinymce=e,window.tinyMCE=e})(aM),(t=>{try{e.exports=t}catch(e){}})(aM)}()},36250:function(e,t,n){var r,o;(function(){}).call(this),function(){null==window.Set&&(window.Set=function(){function e(){this.clear()}return e.prototype.clear=function(){return this.values=[]},e.prototype.has=function(e){return-1!==this.values.indexOf(e)},e.prototype.add=function(e){return this.has(e)||this.values.push(e),this},e.prototype.delete=function(e){var t;return-1!==(t=this.values.indexOf(e))&&(this.values.splice(t,1),!0)},e.prototype.forEach=function(){var e;return(e=this.values).forEach.apply(e,arguments)},e}())}.call(this),function(t){function n(){}function r(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],c(e,this)}function o(e,t){for(;3===e._state;)e=e._value;return 0===e._state?void e._deferreds.push(t):(e._handled=!0,void d((function(){var n=1===e._state?t.onFulfilled:t.onRejected;if(null!==n){var r;try{r=n(e._value)}catch(e){return void a(t.promise,e)}i(t.promise,r)}else(1===e._state?i:a)(t.promise,e._value)})))}function i(e,t){try{if(t===e)throw new TypeError("A promise cannot be resolved with itself.");if(t&&("object"==typeof t||"function"==typeof t)){var n=t.then;if(t instanceof r)return e._state=3,e._value=t,void s(e);if("function"==typeof n)return void c(function(e,t){return function(){e.apply(t,arguments)}}(n,t),e)}e._state=1,e._value=t,s(e)}catch(t){a(e,t)}}function a(e,t){e._state=2,e._value=t,s(e)}function s(e){2===e._state&&0===e._deferreds.length&&setTimeout((function(){e._handled||f(e._value)}),1);for(var t=0,n=e._deferreds.length;n>t;t++)o(e,e._deferreds[t]);e._deferreds=null}function l(e,t,n){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof t?t:null,this.promise=n}function c(e,t){var n=!1;try{e((function(e){n||(n=!0,i(t,e))}),(function(e){n||(n=!0,a(t,e))}))}catch(e){if(n)return;n=!0,a(t,e)}}var u=setTimeout,d="function"==typeof setImmediate&&setImmediate||function(e){u(e,1)},f=function(e){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",e)};r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var i=new r(n);return o(this,new l(e,t,i)),i},r.all=function(e){var t=Array.prototype.slice.call(e);return new r((function(e,n){function r(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,(function(e){r(i,e)}),n)}t[i]=a,0==--o&&e(t)}catch(e){n(e)}}if(0===t.length)return e([]);for(var o=t.length,i=0;i<t.length;i++)r(i,t[i])}))},r.resolve=function(e){return e&&"object"==typeof e&&e.constructor===r?e:new r((function(t){t(e)}))},r.reject=function(e){return new r((function(t,n){n(e)}))},r.race=function(e){return new r((function(t,n){for(var r=0,o=e.length;o>r;r++)e[r].then(t,n)}))},r._setImmediateFn=function(e){d=e},r._setUnhandledRejectionFn=function(e){f=e},e.exports?e.exports=r:t.Promise||(t.Promise=r)}(this),function(){var e="object"==typeof window.customElements,t="function"==typeof document.registerElement;e||t||("undefined"==typeof WeakMap&&function(){var e=Object.defineProperty,t=Date.now()%1e9,n=function(){this.name="__st"+(1e9*Math.random()>>>0)+t+++"__"};n.prototype={set:function(t,n){var r=t[this.name];return r&&r[0]===t?r[1]=n:e(t,this.name,{value:[t,n],writable:!0}),this},get:function(e){var t;return(t=e[this.name])&&t[0]===e?t[1]:void 0},delete:function(e){var t=e[this.name];return!(!t||t[0]!==e)&&(t[0]=t[1]=void 0,!0)},has:function(e){var t=e[this.name];return!!t&&t[0]===e}},window.WeakMap=n}(),function(e){function t(e){v.push(e),g||(g=!0,u(n))}function n(){g=!1;var e=v;v=[],e.sort((function(e,t){return e.uid_-t.uid_}));var t=!1;e.forEach((function(e){var n=e.takeRecords();(function(e){e.nodes_.forEach((function(t){var n=d.get(t);n&&n.forEach((function(t){t.observer===e&&t.removeTransientObservers()}))}))})(e),n.length&&(e.callback_(n,e),t=!0)})),t&&n()}function r(e,t){for(var n=e;n;n=n.parentNode){var r=d.get(n);if(r)for(var o=0;o<r.length;o++){var i=r[o],a=i.options;if(n===e||a.subtree){var s=t(a);s&&i.enqueue(s)}}}}function o(e){this.callback_=e,this.nodes_=[],this.records_=[],this.uid_=++b}function i(e,t){this.type=e,this.target=t,this.addedNodes=[],this.removedNodes=[],this.previousSibling=null,this.nextSibling=null,this.attributeName=null,this.attributeNamespace=null,this.oldValue=null}function a(e,t){return h=new i(e,t)}function s(e){return m||(m=function(e){var t=new i(e.type,e.target);return t.addedNodes=e.addedNodes.slice(),t.removedNodes=e.removedNodes.slice(),t.previousSibling=e.previousSibling,t.nextSibling=e.nextSibling,t.attributeName=e.attributeName,t.attributeNamespace=e.attributeNamespace,t.oldValue=e.oldValue,t}(h),m.oldValue=e,m)}function l(e,t){return e===t?e:m&&function(e){return e===m||e===h}(e)?m:null}function c(e,t,n){this.observer=e,this.target=t,this.options=n,this.transientObservedNodes=[]}if(!e.JsMutationObserver){var u,d=new WeakMap;if(/Trident|Edge/.test(navigator.userAgent))u=setTimeout;else if(window.setImmediate)u=window.setImmediate;else{var f=[],p=String(Math.random());window.addEventListener("message",(function(e){if(e.data===p){var t=f;f=[],t.forEach((function(e){e()}))}})),u=function(e){f.push(e),window.postMessage(p,"*")}}var h,m,g=!1,v=[],b=0;o.prototype={observe:function(e,t){if(e=function(e){return window.ShadowDOMPolyfill&&window.ShadowDOMPolyfill.wrapIfNeeded(e)||e}(e),!t.childList&&!t.attributes&&!t.characterData||t.attributeOldValue&&!t.attributes||t.attributeFilter&&t.attributeFilter.length&&!t.attributes||t.characterDataOldValue&&!t.characterData)throw new SyntaxError;var n=d.get(e);n||d.set(e,n=[]);for(var r,o=0;o<n.length;o++)if(n[o].observer===this){(r=n[o]).removeListeners(),r.options=t;break}r||(r=new c(this,e,t),n.push(r),this.nodes_.push(e)),r.addListeners()},disconnect:function(){this.nodes_.forEach((function(e){for(var t=d.get(e),n=0;n<t.length;n++){var r=t[n];if(r.observer===this){r.removeListeners(),t.splice(n,1);break}}}),this),this.records_=[]},takeRecords:function(){var e=this.records_;return this.records_=[],e}},c.prototype={enqueue:function(e){var n=this.observer.records_,r=n.length;if(n.length>0){var o=l(n[r-1],e);if(o)return void(n[r-1]=o)}else t(this.observer);n[r]=e},addListeners:function(){this.addListeners_(this.target)},addListeners_:function(e){var t=this.options;t.attributes&&e.addEventListener("DOMAttrModified",this,!0),t.characterData&&e.addEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.addEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.addEventListener("DOMNodeRemoved",this,!0)},removeListeners:function(){this.removeListeners_(this.target)},removeListeners_:function(e){var t=this.options;t.attributes&&e.removeEventListener("DOMAttrModified",this,!0),t.characterData&&e.removeEventListener("DOMCharacterDataModified",this,!0),t.childList&&e.removeEventListener("DOMNodeInserted",this,!0),(t.childList||t.subtree)&&e.removeEventListener("DOMNodeRemoved",this,!0)},addTransientObserver:function(e){if(e!==this.target){this.addListeners_(e),this.transientObservedNodes.push(e);var t=d.get(e);t||d.set(e,t=[]),t.push(this)}},removeTransientObservers:function(){var e=this.transientObservedNodes;this.transientObservedNodes=[],e.forEach((function(e){this.removeListeners_(e);for(var t=d.get(e),n=0;n<t.length;n++)if(t[n]===this){t.splice(n,1);break}}),this)},handleEvent:function(e){switch(e.stopImmediatePropagation(),e.type){case"DOMAttrModified":var t=e.attrName,n=e.relatedNode.namespaceURI,o=e.target;(l=new a("attributes",o)).attributeName=t,l.attributeNamespace=n;var i=e.attrChange===MutationEvent.ADDITION?null:e.prevValue;r(o,(function(e){return!e.attributes||e.attributeFilter&&e.attributeFilter.length&&-1===e.attributeFilter.indexOf(t)&&-1===e.attributeFilter.indexOf(n)?void 0:e.attributeOldValue?s(i):l}));break;case"DOMCharacterDataModified":var l=a("characterData",o=e.target);i=e.prevValue;r(o,(function(e){return e.characterData?e.characterDataOldValue?s(i):l:void 0}));break;case"DOMNodeRemoved":this.addTransientObserver(e.target);case"DOMNodeInserted":var c,u,d=e.target;"DOMNodeInserted"===e.type?(c=[d],u=[]):(c=[],u=[d]);var f=d.previousSibling,p=d.nextSibling;(l=a("childList",e.target.parentNode)).addedNodes=c,l.removedNodes=u,l.previousSibling=f,l.nextSibling=p,r(e.relatedNode,(function(e){return e.childList?l:void 0}))}h=m=void 0}},e.JsMutationObserver=o,e.MutationObserver||(e.MutationObserver=o,o._isPolyfilled=!0)}}(self),function(){"use strict";if(!window.performance||!window.performance.now){var e=Date.now();window.performance={now:function(){return Date.now()-e}}}window.requestAnimationFrame||(window.requestAnimationFrame=function(){var e=window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame;return e?function(t){return e((function(){t(performance.now())}))}:function(e){return window.setTimeout(e,1e3/60)}}()),window.cancelAnimationFrame||(window.cancelAnimationFrame=window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(e){clearTimeout(e)});var t=function(){var e=document.createEvent("Event");return e.initEvent("foo",!0,!0),e.preventDefault(),e.defaultPrevented}();if(!t){var n=Event.prototype.preventDefault;Event.prototype.preventDefault=function(){this.cancelable&&(n.call(this),Object.defineProperty(this,"defaultPrevented",{get:function(){return!0},configurable:!0}))}}var r=/Trident/.test(navigator.userAgent);if((!window.CustomEvent||r&&"function"!=typeof window.CustomEvent)&&(window.CustomEvent=function(e,t){t=t||{};var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,Boolean(t.bubbles),Boolean(t.cancelable),t.detail),n},window.CustomEvent.prototype=window.Event.prototype),!window.Event||r&&"function"!=typeof window.Event){var o=window.Event;window.Event=function(e,t){t=t||{};var n=document.createEvent("Event");return n.initEvent(e,Boolean(t.bubbles),Boolean(t.cancelable)),n},window.Event.prototype=o.prototype}}(window.WebComponents),window.CustomElements=window.CustomElements||{flags:{}},function(e){var t=e.flags,n=[];e.addModule=function(e){n.push(e)},e.initializeModules=function(){n.forEach((function(t){t(e)}))},e.hasNative=Boolean(document.registerElement),e.isIE=/Trident/.test(navigator.userAgent),e.useNative=!t.register&&e.hasNative&&!window.ShadowDOMPolyfill&&(!window.HTMLImports||window.HTMLImports.useNative)}(window.CustomElements),window.CustomElements.addModule((function(e){function t(e,t){n(e,(function(e){return!!t(e)||void r(e,t)})),r(e,t)}function n(e,t,r){var o=e.firstElementChild;if(!o)for(o=e.firstChild;o&&o.nodeType!==Node.ELEMENT_NODE;)o=o.nextSibling;for(;o;)!0!==t(o,r)&&n(o,t,r),o=o.nextElementSibling;return null}function r(e,n){for(var r=e.shadowRoot;r;)t(r,n),r=r.olderShadowRoot}function o(e,t,n){if(e=window.wrap(e),!(n.indexOf(e)>=0)){n.push(e);for(var r,a=e.querySelectorAll("link[rel="+i+"]"),s=0,l=a.length;l>s&&(r=a[s]);s++)r.import&&o(r.import,t,n);t(e)}}var i=window.HTMLImports?window.HTMLImports.IMPORT_LINK_TYPE:"none";e.forDocumentTree=function(e,t){o(e,t,[])},e.forSubtree=t})),window.CustomElements.addModule((function(e){function t(e,t){return n(e,t)||r(e,t)}function n(t,n){return!!e.upgrade(t,n)||void(n&&a(t))}function r(e,t){h(e,(function(e){return!!n(e,t)||void 0}))}function o(e){b.push(e),v||(v=!0,setTimeout(i))}function i(){v=!1;for(var e,t=b,n=0,r=t.length;r>n&&(e=t[n]);n++)e();b=[]}function a(e){g?o((function(){s(e)})):s(e)}function s(e){e.__upgraded__&&!e.__attached&&(e.__attached=!0,e.attachedCallback&&e.attachedCallback())}function l(e){g?o((function(){c(e)})):c(e)}function c(e){e.__upgraded__&&e.__attached&&(e.__attached=!1,e.detachedCallback&&e.detachedCallback())}function u(e,n){if(p.dom){var r=n[0];if(r&&"childList"===r.type&&r.addedNodes&&r.addedNodes){for(var o=r.addedNodes[0];o&&o!==document&&!o.host;)o=o.parentNode;var i=o&&(o.URL||o._URL||o.host&&o.host.localName)||"";i=i.split("/?").shift().split("/").pop()}console.group("mutations (%d) [%s]",n.length,i||"")}var a=function(e){for(var t=e,n=window.wrap(document);t;){if(t==n)return!0;t=t.parentNode||t.nodeType===Node.DOCUMENT_FRAGMENT_NODE&&t.host}}(e);n.forEach((function(e){"childList"===e.type&&(y(e.addedNodes,(function(e){e.localName&&t(e,a)})),y(e.removedNodes,(function(e){e.localName&&function(e){l(e),h(e,(function(e){l(e)}))}(e)})))})),p.dom&&console.groupEnd()}function d(e){if(!e.__observer){var t=new MutationObserver(u.bind(this,e));t.observe(e,{childList:!0,subtree:!0}),e.__observer=t}}function f(e){e=window.wrap(e),p.dom&&console.group("upgradeDocument: ",e.baseURI.split("/").pop()),t(e,e===window.wrap(document)),d(e),p.dom&&console.groupEnd()}var p=e.flags,h=e.forSubtree,m=e.forDocumentTree,g=window.MutationObserver._isPolyfilled&&p["throttle-attached"];e.hasPolyfillMutations=g,e.hasThrottledAttached=g;var v=!1,b=[],y=Array.prototype.forEach.call.bind(Array.prototype.forEach),A=Element.prototype.createShadowRoot;A&&(Element.prototype.createShadowRoot=function(){var e=A.call(this);return window.CustomElements.watchShadow(this),e}),e.watchShadow=function(e){if(e.shadowRoot&&!e.shadowRoot.__watched){p.dom&&console.log("watching shadow-root for: ",e.localName);for(var t=e.shadowRoot;t;)d(t),t=t.olderShadowRoot}},e.upgradeDocumentTree=function(e){m(e,f)},e.upgradeDocument=f,e.upgradeSubtree=r,e.upgradeAll=t,e.attached=a,e.takeRecords=function(e){for((e=window.wrap(e))||(e=window.wrap(document));e.parentNode;)e=e.parentNode;var t=e.__observer;t&&(u(e,t.takeRecords()),i())}})),window.CustomElements.addModule((function(e){function t(t,o,i){return r.upgrade&&console.group("upgrade:",t.localName),o.is&&t.setAttribute("is",o.is),n(t,o),t.__upgraded__=!0,function(e){e.createdCallback&&e.createdCallback()}(t),i&&e.attached(t),e.upgradeSubtree(t,i),r.upgrade&&console.groupEnd(),t}function n(e,t){Object.__proto__||function(e,t,n){for(var r={},o=t;o!==n&&o!==HTMLElement.prototype;){for(var i,a=Object.getOwnPropertyNames(o),s=0;i=a[s];s++)r[i]||(Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(o,i)),r[i]=1);o=Object.getPrototypeOf(o)}}(e,t.prototype,t.native),e.__proto__=t.prototype}var r=e.flags;e.upgrade=function(n,r){if("template"===n.localName&&window.HTMLTemplateElement&&HTMLTemplateElement.decorate&&HTMLTemplateElement.decorate(n),!n.__upgraded__&&n.nodeType===Node.ELEMENT_NODE){var o=n.getAttribute("is"),i=e.getRegisteredDefinition(n.localName)||e.getRegisteredDefinition(o);if(i&&(o&&i.tag==n.localName||!o&&!i.extends))return t(n,i,r)}},e.upgradeWithDefinition=t,e.implementPrototype=n})),window.CustomElements.addModule((function(e){function t(e){if(!e.setAttribute._polyfilled){var t=e.setAttribute;e.setAttribute=function(e,r){n.call(this,e,r,t)};var r=e.removeAttribute;e.removeAttribute=function(e){n.call(this,e,null,r)},e.setAttribute._polyfilled=!0}}function n(e,t,n){e=e.toLowerCase();var r=this.getAttribute(e);n.apply(this,arguments);var o=this.getAttribute(e);this.attributeChangedCallback&&o!==r&&this.attributeChangedCallback(e,r,o)}function r(e){var t=o(e);return t?r(t.extends).concat([t]):[]}function o(e){return e?m[e.toLowerCase()]:void 0}function i(e){return function(){return function(e){return d(v(e.tag),e)}(e)}}function a(e,t){e&&(e=e.toLowerCase()),t&&(t=t.toLowerCase());var n,r=o(t||e);if(r){if(e==r.tag&&t==r.is)return new r.ctor;if(!t&&!r.is)return new r.ctor}return t?((n=a(e)).setAttribute("is",t),n):(n=v(e),e.indexOf("-")>=0&&f(n,HTMLElement),n)}function s(e,t){var n=e[t];e[t]=function(){var e=n.apply(this,arguments);return u(e),e}}var l,c=(e.isIE,e.upgradeDocumentTree),u=e.upgradeAll,d=e.upgradeWithDefinition,f=e.implementPrototype,p=e.useNative,h=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"],m={},g="http://www.w3.org/1999/xhtml",v=document.createElement.bind(document),b=document.createElementNS.bind(document);l=Object.__proto__||p?function(e,t){return e instanceof t}:function(e,t){if(e instanceof t)return!0;for(var n=e;n;){if(n===t.prototype)return!0;n=n.__proto__}return!1},s(Node.prototype,"cloneNode"),s(document,"importNode"),document.registerElement=function(n,a){var s=a||{};if(!n)throw new Error("document.registerElement: first argument `name` must not be empty");if(n.indexOf("-")<0)throw new Error("document.registerElement: first argument ('name') must contain a dash ('-'). Argument provided was '"+String(n)+"'.");if(function(e){for(var t=0;t<h.length;t++)if(e===h[t])return!0}(n))throw new Error("Failed to execute 'registerElement' on 'Document': Registration failed for type '"+String(n)+"'. The type name is invalid.");if(o(n))throw new Error("DuplicateDefinitionError: a type with name '"+String(n)+"' is already registered");return s.prototype||(s.prototype=Object.create(HTMLElement.prototype)),s.__name=n.toLowerCase(),s.extends&&(s.extends=s.extends.toLowerCase()),s.lifecycle=s.lifecycle||{},s.ancestry=r(s.extends),function(e){for(var t,n=e.extends,r=0;t=e.ancestry[r];r++)n=t.is&&t.tag;e.tag=n||e.__name,n&&(e.is=e.__name)}(s),function(e){if(!Object.__proto__){var t=HTMLElement.prototype;if(e.is){var n=document.createElement(e.tag);t=Object.getPrototypeOf(n)}for(var r,o=e.prototype,i=!1;o;)o==t&&(i=!0),(r=Object.getPrototypeOf(o))&&(o.__proto__=r),o=r;i||console.warn(e.tag+" prototype not found in prototype chain for "+e.is),e.native=t}}(s),t(s.prototype),function(e,t){m[e]=t}(s.__name,s),s.ctor=i(s),s.ctor.prototype=s.prototype,s.prototype.constructor=s.ctor,e.ready&&c(document),s.ctor},document.createElement=a,document.createElementNS=function(e,t,n){return e===g?a(t,n):b(e,t)},e.registry=m,e.instanceof=l,e.reservedTagList=h,e.getRegisteredDefinition=o,document.register=document.registerElement})),function(e){function t(){i(window.wrap(document)),window.CustomElements.ready=!0,(window.requestAnimationFrame||function(e){setTimeout(e,16)})((function(){setTimeout((function(){window.CustomElements.readyTime=Date.now(),window.HTMLImports&&(window.CustomElements.elapsed=window.CustomElements.readyTime-window.HTMLImports.readyTime),document.dispatchEvent(new CustomEvent("WebComponentsReady",{bubbles:!0}))}))}))}var n=e.useNative,r=e.initializeModules;if(e.isIE,n){var o=function(){};e.watchShadow=o,e.upgrade=o,e.upgradeAll=o,e.upgradeDocumentTree=o,e.upgradeSubtree=o,e.takeRecords=o,e.instanceof=function(e,t){return e instanceof t}}else r();var i=e.upgradeDocumentTree,a=e.upgradeDocument;if(window.wrap||(window.ShadowDOMPolyfill?(window.wrap=window.ShadowDOMPolyfill.wrapIfNeeded,window.unwrap=window.ShadowDOMPolyfill.unwrapIfNeeded):window.wrap=window.unwrap=function(e){return e}),window.HTMLImports&&(window.HTMLImports.__importsParsingHook=function(e){e.import&&a(wrap(e.import))}),"complete"===document.readyState||e.flags.eager)t();else if("interactive"!==document.readyState||window.attachEvent||window.HTMLImports&&!window.HTMLImports.ready){var s=window.HTMLImports&&!window.HTMLImports.ready?"HTMLImportsLoaded":"DOMContentLoaded";window.addEventListener(s,t)}else t()}(window.CustomElements))}.call(this),function(){}.call(this),function(){(function(){(function(){this.Trix={VERSION:"1.3.1",ZERO_WIDTH_SPACE:"\ufeff",NON_BREAKING_SPACE:" ",OBJECT_REPLACEMENT_CHARACTER:"￼",browser:{composesExistingText:/Android.*Chrome/.test(navigator.userAgent),forcesObjectResizing:/Trident.*rv:11/.test(navigator.userAgent),supportsInputEvents:function(){var e,t,n;if("undefined"==typeof InputEvent)return!1;for(e=0,t=(n=["data","getTargetRanges","inputType"]).length;t>e;e++)if(!(n[e]in InputEvent.prototype))return!1;return!0}()},config:{}}}).call(this)}).call(this);var i=this.Trix;(function(){(function(){i.BasicObject=function(){function e(){}var t,n,r;return e.proxyMethod=function(e){var r,o,i,a,s;return i=n(e),r=i.name,a=i.toMethod,s=i.toProperty,o=i.optional,this.prototype[r]=function(){var e,n;return e=null!=a?o?"function"==typeof this[a]?this[a]():void 0:this[a]():null!=s?this[s]:void 0,o?null!=(n=null!=e?e[r]:void 0)?t.call(n,e,arguments):void 0:(n=e[r],t.call(n,e,arguments))}},n=function(e){var t,n;if(!(n=e.match(r)))throw new Error("can't parse @proxyMethod expression: "+e);return t={name:n[4]},null!=n[2]?t.toMethod=n[1]:t.toProperty=n[1],null!=n[3]&&(t.optional=!0),t},t=Function.prototype.apply,r=/^(.+?)(\(\))?(\?)?\.(.+?)$/,e}()}).call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.Object=function(t){function n(){this.id=++r}var r;return e(n,t),r=0,n.fromJSONString=function(e){return this.fromJSON(JSON.parse(e))},n.prototype.hasSameConstructorAs=function(e){return this.constructor===(null!=e?e.constructor:void 0)},n.prototype.isEqualTo=function(e){return this===e},n.prototype.inspect=function(){var e,t,n;return e=function(){var e,r,o;for(t in o=[],r=null!=(e=this.contentsForInspection())?e:{})n=r[t],o.push(t+"="+n);return o}.call(this),"#<"+this.constructor.name+":"+this.id+(e.length?" "+e.join(", "):"")+">"},n.prototype.contentsForInspection=function(){},n.prototype.toJSONString=function(){return JSON.stringify(this)},n.prototype.toUTF16String=function(){return i.UTF16String.box(this)},n.prototype.getCacheKey=function(){return this.id.toString()},n}(i.BasicObject)}.call(this),function(){i.extend=function(e){var t,n;for(t in e)n=e[t],this[t]=n;return this}}.call(this),function(){i.extend({defer:function(e){return setTimeout(e,1)}})}.call(this),function(){var e,t;i.extend({normalizeSpaces:function(e){return e.replace(RegExp(""+i.ZERO_WIDTH_SPACE,"g"),"").replace(RegExp(""+i.NON_BREAKING_SPACE,"g")," ")},normalizeNewlines:function(e){return e.replace(/\r\n/g,"\n")},breakableWhitespacePattern:RegExp("[^\\S"+i.NON_BREAKING_SPACE+"]"),squishBreakableWhitespace:function(e){return e.replace(RegExp(""+i.breakableWhitespacePattern.source,"g")," ").replace(/\ {2,}/g," ")},summarizeStringChange:function(e,n){var r,o,a,s;return e=i.UTF16String.box(e),(n=i.UTF16String.box(n)).length<e.length?(s=(o=t(e,n))[0],r=o[1]):(r=(a=t(n,e))[0],s=a[1]),{added:r,removed:s}}}),t=function(t,n){var r,o,a,s,l;return t.isEqualTo(n)?["",""]:(a=(s=(o=e(t,n)).utf16String.length)?(l=o.offset,r=t.codepoints.slice(0,l).concat(t.codepoints.slice(l+s)),e(n,i.UTF16String.fromCodepoints(r))):e(n,t),[o.utf16String.toString(),a.utf16String.toString()])},e=function(e,t){var n,r,o;for(n=0,r=e.length,o=t.length;r>n&&e.charAt(n).isEqualTo(t.charAt(n));)n++;for(;r>n+1&&e.charAt(r-1).isEqualTo(t.charAt(o-1));)r--,o--;return{utf16String:e.slice(n,r),offset:n}}}.call(this),function(){i.extend({copyObject:function(e){var t,n,r;for(t in null==e&&(e={}),n={},e)r=e[t],n[t]=r;return n},objectsAreEqual:function(e,t){var n;if(null==e&&(e={}),null==t&&(t={}),Object.keys(e).length!==Object.keys(t).length)return!1;for(n in e)if(e[n]!==t[n])return!1;return!0}})}.call(this),function(){var e=[].slice;i.extend({arraysAreEqual:function(e,t){var n,r,o;if(null==e&&(e=[]),null==t&&(t=[]),e.length!==t.length)return!1;for(r=n=0,o=e.length;o>n;r=++n)if(e[r]!==t[r])return!1;return!0},arrayStartsWith:function(e,t){return null==e&&(e=[]),null==t&&(t=[]),i.arraysAreEqual(e.slice(0,t.length),t)},spliceArray:function(){var t,n,r;return n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],(r=n.slice(0)).splice.apply(r,t),r},summarizeArrayChange:function(e,t){var n,r,o,i,a,s,l,c,u,d,f;for(null==e&&(e=[]),null==t&&(t=[]),n=[],d=[],o=new Set,i=0,l=e.length;l>i;i++)f=e[i],o.add(f);for(r=new Set,a=0,c=t.length;c>a;a++)f=t[a],r.add(f),o.has(f)||n.push(f);for(s=0,u=e.length;u>s;s++)f=e[s],r.has(f)||d.push(f);return{added:n,removed:d}}})}.call(this),function(){var e,t,n,r;e=null,t=null,r=null,n=null,i.extend({getAllAttributeNames:function(){return null!=e?e:e=i.getTextAttributeNames().concat(i.getBlockAttributeNames())},getBlockConfig:function(e){return i.config.blockAttributes[e]},getBlockAttributeNames:function(){return null!=t?t:t=Object.keys(i.config.blockAttributes)},getTextConfig:function(e){return i.config.textAttributes[e]},getTextAttributeNames:function(){return null!=r?r:r=Object.keys(i.config.textAttributes)},getListAttributeNames:function(){var e,t;return null!=n?n:n=function(){var n,r;for(e in r=[],n=i.config.blockAttributes)null!=(t=n[e].listAttribute)&&r.push(t);return r}()}})}.call(this),function(){var e,t,n,r,o,a=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=document.documentElement,t=null!=(n=null!=(r=null!=(o=e.matchesSelector)?o:e.webkitMatchesSelector)?r:e.msMatchesSelector)?n:e.mozMatchesSelector,i.extend({handleEvent:function(t,n){var r,o,a,s,l,c,u,d,f,p,h;return l=(u=null!=n?n:{}).onElement,s=u.matchingSelector,h=u.withCallback,a=u.inPhase,c=u.preventDefault,f=u.times,r=null!=l?l:e,d=s,h,p="capturing"===a,o=function(e){var t;return null!=f&&0==--f&&o.destroy(),null!=(t=i.findClosestElementFromNode(e.target,{matchingSelector:d}))&&(null!=h&&h.call(t,e,t),c)?e.preventDefault():void 0},o.destroy=function(){return r.removeEventListener(t,o,p)},r.addEventListener(t,o,p),o},handleEventOnce:function(e,t){return null==t&&(t={}),t.times=1,i.handleEvent(e,t)},triggerEvent:function(t,n){var r,o,a,s,l,c,u;return c=(u=null!=n?n:{}).onElement,o=u.bubbles,a=u.cancelable,r=u.attributes,s=null!=c?c:e,o=!1!==o,a=!1!==a,(l=document.createEvent("Events")).initEvent(t,o,a),null!=r&&i.extend.call(l,r),s.dispatchEvent(l)},elementMatchesSelector:function(e,n){return 1===(null!=e?e.nodeType:void 0)?t.call(e,n):void 0},findClosestElementFromNode:function(e,t){var n,r,o;for(n=(r=null!=t?t:{}).matchingSelector,o=r.untilNode;null!=e&&e.nodeType!==Node.ELEMENT_NODE;)e=e.parentNode;if(null!=e){if(null==n)return e;if(e.closest&&null==o)return e.closest(n);for(;e&&e!==o;){if(i.elementMatchesSelector(e,n))return e;e=e.parentNode}}},findInnerElement:function(e){for(;null!=e?e.firstElementChild:void 0;)e=e.firstElementChild;return e},innerElementIsActive:function(e){return document.activeElement!==e&&i.elementContainsNode(e,document.activeElement)},elementContainsNode:function(e,t){if(e&&t)for(;t;){if(t===e)return!0;t=t.parentNode}},findNodeFromContainerAndOffset:function(e,t){var n;if(e)return e.nodeType===Node.TEXT_NODE?e:0===t?null!=(n=e.firstChild)?n:e:e.childNodes.item(t-1)},findElementFromContainerAndOffset:function(e,t){var n;return n=i.findNodeFromContainerAndOffset(e,t),i.findClosestElementFromNode(n)},findChildIndexOfNode:function(e){var t;if(null!=e?e.parentNode:void 0){for(t=0;e=e.previousSibling;)t++;return t}},removeNode:function(e){var t;return null!=e&&null!=(t=e.parentNode)?t.removeChild(e):void 0},walkTree:function(e,t){var n,r,o,i,a;return r=(o=null!=t?t:{}).onlyNodesOfType,i=o.usingFilter,n=o.expandEntityReferences,a=function(){switch(r){case"element":return NodeFilter.SHOW_ELEMENT;case"text":return NodeFilter.SHOW_TEXT;case"comment":return NodeFilter.SHOW_COMMENT;default:return NodeFilter.SHOW_ALL}}(),document.createTreeWalker(e,a,null!=i?i:null,!0===n)},tagName:function(e){var t;return null!=e&&null!=(t=e.tagName)?t.toLowerCase():void 0},makeElement:function(e,t){var n,r,o,i,a,s,l,c,u,d,f,p,h,m;if(null==t&&(t={}),"object"==typeof e?e=(t=e).tagName:t={attributes:t},o=document.createElement(e),null!=t.editable&&(null==t.attributes&&(t.attributes={}),t.attributes.contenteditable=t.editable),t.attributes)for(s in u=t.attributes)m=u[s],o.setAttribute(s,m);if(t.style)for(s in d=t.style)m=d[s],o.style[s]=m;if(t.data)for(s in f=t.data)m=f[s],o.dataset[s]=m;if(t.className)for(i=0,l=(p=t.className.split(" ")).length;l>i;i++)r=p[i],o.classList.add(r);if(t.textContent&&(o.textContent=t.textContent),t.childNodes)for(a=0,c=(h=[].concat(t.childNodes)).length;c>a;a++)n=h[a],o.appendChild(n);return o},getBlockTagNames:function(){var e,t;return null!=i.blockTagNames?i.blockTagNames:i.blockTagNames=function(){var n,r;for(e in r=[],n=i.config.blockAttributes)(t=n[e].tagName)&&r.push(t);return r}()},nodeIsBlockContainer:function(e){return i.nodeIsBlockStartComment(null!=e?e.firstChild:void 0)},nodeProbablyIsBlockContainer:function(e){var t,n;return t=i.tagName(e),a.call(i.getBlockTagNames(),t)>=0&&(n=i.tagName(e.firstChild),a.call(i.getBlockTagNames(),n)<0)},nodeIsBlockStart:function(e,t){return(null!=t?t:{strict:!0}).strict?i.nodeIsBlockStartComment(e):i.nodeIsBlockStartComment(e)||!i.nodeIsBlockStartComment(e.firstChild)&&i.nodeProbablyIsBlockContainer(e)},nodeIsBlockStartComment:function(e){return i.nodeIsCommentNode(e)&&"block"===(null!=e?e.data:void 0)},nodeIsCommentNode:function(e){return(null!=e?e.nodeType:void 0)===Node.COMMENT_NODE},nodeIsCursorTarget:function(e,t){var n;return n=(null!=t?t:{}).name,e?i.nodeIsTextNode(e)?e.data===i.ZERO_WIDTH_SPACE?!n||e.parentNode.dataset.trixCursorTarget===n:void 0:i.nodeIsCursorTarget(e.firstChild):void 0},nodeIsAttachmentElement:function(e){return i.elementMatchesSelector(e,i.AttachmentView.attachmentSelector)},nodeIsEmptyTextNode:function(e){return i.nodeIsTextNode(e)&&""===(null!=e?e.data:void 0)},nodeIsTextNode:function(e){return(null!=e?e.nodeType:void 0)===Node.TEXT_NODE}})}.call(this),function(){var e,t,n,r,o;e=i.copyObject,r=i.objectsAreEqual,i.extend({normalizeRange:n=function(e){var n;if(null!=e)return Array.isArray(e)||(e=[e,e]),[t(e[0]),t(null!=(n=e[1])?n:e[0])]},rangeIsCollapsed:function(e){var t,r,i;if(null!=e)return i=(r=n(e))[0],t=r[1],o(i,t)},rangesAreEqual:function(e,t){var r,i,a,s,l,c;if(null!=e&&null!=t)return i=(a=n(e))[0],r=a[1],c=(s=n(t))[0],l=s[1],o(i,c)&&o(r,l)}}),t=function(t){return"number"==typeof t?t:e(t)},o=function(e,t){return"number"==typeof e?e===t:r(e,t)}}.call(this),function(){var e,t,n,r,o,a,s;i.registerElement=function(e,t){var n,i;return null==t&&(t={}),e=e.toLowerCase(),t=s(t),(n=(i=a(t)).defaultCSS)&&(delete i.defaultCSS,r(n,e)),o(e,i)},r=function(e,t){return n(t).textContent=e.replace(/%t/g,t)},n=function(t){var n,r;return(n=document.createElement("style")).setAttribute("type","text/css"),n.setAttribute("data-tag-name",t.toLowerCase()),(r=e())&&n.setAttribute("nonce",r),document.head.insertBefore(n,document.head.firstChild),n},e=function(){var e;return(e=t("trix-csp-nonce")||t("csp-nonce"))?e.getAttribute("content"):void 0},t=function(e){return document.head.querySelector("meta[name="+e+"]")},a=function(e){var t,n,r;for(t in n={},e)r=e[t],n[t]="function"==typeof r?{value:r}:r;return n},s=function(){var e;return e=function(e){var t,n,r,o,i;for(t={},n=0,o=(i=["initialize","connect","disconnect"]).length;o>n;n++)t[r=i[n]]=e[r],delete e[r];return t},window.customElements?function(t){var n,r,o,i,a;return a=e(t),o=a.initialize,n=a.connect,r=a.disconnect,o&&(i=n,n=function(){return this.initialized||(this.initialized=!0,o.call(this)),null!=i?i.call(this):void 0}),n&&(t.connectedCallback=n),r&&(t.disconnectedCallback=r),t}:function(t){var n,r,o,i;return o=(i=e(t)).initialize,n=i.connect,r=i.disconnect,o&&(t.createdCallback=o),n&&(t.attachedCallback=n),r&&(t.detachedCallback=r),t}}(),o=window.customElements?function(e,t){var n;return n=function(){return"object"==typeof Reflect?Reflect.construct(HTMLElement,[],n):HTMLElement.apply(this)},Object.setPrototypeOf(n.prototype,HTMLElement.prototype),Object.setPrototypeOf(n,HTMLElement),Object.defineProperties(n.prototype,t),window.customElements.define(e,n),n}:function(e,t){var n,r;return r=Object.create(HTMLElement.prototype,t),n=document.registerElement(e,{prototype:r}),Object.defineProperty(r,"constructor",{value:n}),n}}.call(this),function(){var e,t;i.extend({getDOMSelection:function(){var e;return(e=window.getSelection()).rangeCount>0?e:void 0},getDOMRange:function(){var t,n;return(t=null!=(n=i.getDOMSelection())?n.getRangeAt(0):void 0)&&!e(t)?t:void 0},setDOMRange:function(e){var t;return(t=window.getSelection()).removeAllRanges(),t.addRange(e),i.selectionChangeObserver.update()}}),e=function(e){return t(e.startContainer)||t(e.endContainer)},t=function(e){return!Object.getPrototypeOf(e)}}.call(this),function(){var e;e={"application/x-trix-feature-detection":"test"},i.extend({dataTransferIsPlainText:function(e){var t,n,r;return r=e.getData("text/plain"),n=e.getData("text/html"),r&&n?(t=(new DOMParser).parseFromString(n,"text/html").body).textContent===r?!t.querySelector("*"):void 0:null!=r?r.length:void 0},dataTransferIsWritable:function(t){var n,r;if(null!=(null!=t?t.setData:void 0)){for(n in e)if(r=e[n],!function(){try{return t.setData(n,r),t.getData(n)===r}catch(e){}}())return;return!0}},keyEventIsKeyboardCommand:/Mac|^iP/.test(navigator.platform)?function(e){return e.metaKey}:function(e){return e.ctrlKey}})}.call(this),function(){i.extend({RTL_PATTERN:/[\u05BE\u05C0\u05C3\u05D0-\u05EA\u05F0-\u05F4\u061B\u061F\u0621-\u063A\u0640-\u064A\u066D\u0671-\u06B7\u06BA-\u06BE\u06C0-\u06CE\u06D0-\u06D5\u06E5\u06E6\u200F\u202B\u202E\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE72\uFE74\uFE76-\uFEFC]/,getDirection:function(){var e,t,n,r;return t=i.makeElement("input",{dir:"auto",name:"x",dirName:"x.dir"}),(e=i.makeElement("form")).appendChild(t),n=function(){try{return new FormData(e).has(t.dirName)}catch(e){}}(),r=function(){try{return t.matches(":dir(ltr),:dir(rtl)")}catch(e){}}(),n?function(n){return t.value=n,new FormData(e).get(t.dirName)}:r?function(e){return t.value=e,t.matches(":dir(rtl)")?"rtl":"ltr"}:function(e){var t;return t=e.trim().charAt(0),i.RTL_PATTERN.test(t)?"rtl":"ltr"}}()})}.call(this),function(){}.call(this),function(){var e,t=function(e,t){function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;e=i.arraysAreEqual,i.Hash=function(n){function r(e){null==e&&(e={}),this.values=a(e),r.__super__.constructor.apply(this,arguments)}var o,a,s,l,c;return t(r,n),r.fromCommonAttributesOfObjects=function(e){var t,n,r,i,a,s;if(null==e&&(e=[]),!e.length)return new this;for(r=(t=o(e[0])).getKeys(),n=0,i=(s=e.slice(1)).length;i>n;n++)a=s[n],r=t.getKeysCommonToHash(o(a)),t=t.slice(r);return t},r.box=function(e){return o(e)},r.prototype.add=function(e,t){return this.merge(l(e,t))},r.prototype.remove=function(e){return new i.Hash(a(this.values,e))},r.prototype.get=function(e){return this.values[e]},r.prototype.has=function(e){return e in this.values},r.prototype.merge=function(e){return new i.Hash(s(this.values,c(e)))},r.prototype.slice=function(e){var t,n,r,o;for(o={},t=0,r=e.length;r>t;t++)n=e[t],this.has(n)&&(o[n]=this.values[n]);return new i.Hash(o)},r.prototype.getKeys=function(){return Object.keys(this.values)},r.prototype.getKeysCommonToHash=function(e){var t,n,r,i,a;for(e=o(e),a=[],t=0,r=(i=this.getKeys()).length;r>t;t++)n=i[t],this.values[n]===e.values[n]&&a.push(n);return a},r.prototype.isEqualTo=function(t){return e(this.toArray(),o(t).toArray())},r.prototype.isEmpty=function(){return 0===this.getKeys().length},r.prototype.toArray=function(){var e,t,n;return(null!=this.array?this.array:this.array=function(){var r;for(e in t=[],r=this.values)n=r[e],t.push(e,n);return t}.call(this)).slice(0)},r.prototype.toObject=function(){return a(this.values)},r.prototype.toJSON=function(){return this.toObject()},r.prototype.contentsForInspection=function(){return{values:JSON.stringify(this.values)}},l=function(e,t){var n;return(n={})[e]=t,n},s=function(e,t){var n,r,o;for(n in r=a(e),t)o=t[n],r[n]=o;return r},a=function(e,t){var n,r,o,i,a;for(i={},n=0,o=(a=Object.keys(e).sort()).length;o>n;n++)(r=a[n])!==t&&(i[r]=e[r]);return i},o=function(e){return e instanceof i.Hash?e:new i.Hash(e)},c=function(e){return e instanceof i.Hash?e.values:e},r}(i.Object)}.call(this),function(){i.ObjectGroup=function(){function e(e,t){var n,r;this.objects=null!=e?e:[],r=t.depth,(n=t.asTree)&&(this.depth=r,this.objects=this.constructor.groupObjects(this.objects,{asTree:n,depth:this.depth+1}))}return e.groupObjects=function(e,t){var n,r,o,i,a,s,l,c,u;for(null==e&&(e=[]),o=(u=null!=t?t:{}).depth,(n=u.asTree)&&null==o&&(o=0),c=[],a=0,s=e.length;s>a;a++){if(l=e[a],i){if(("function"==typeof l.canBeGrouped?l.canBeGrouped(o):void 0)&&("function"==typeof(r=i[i.length-1]).canBeGroupedWith?r.canBeGroupedWith(l,o):void 0)){i.push(l);continue}c.push(new this(i,{depth:o,asTree:n})),i=null}("function"==typeof l.canBeGrouped?l.canBeGrouped(o):void 0)?i=[l]:c.push(l)}return i&&c.push(new this(i,{depth:o,asTree:n})),c},e.prototype.getObjects=function(){return this.objects},e.prototype.getDepth=function(){return this.depth},e.prototype.getCacheKey=function(){var e,t,n,r,o;for(t=["objectGroup"],e=0,n=(o=this.getObjects()).length;n>e;e++)r=o[e],t.push(r.getCacheKey());return t.join("/")},e}()}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.ObjectMap=function(t){function n(e){var t,n,r,o,i;for(null==e&&(e=[]),this.objects={},r=0,o=e.length;o>r;r++)i=e[r],n=JSON.stringify(i),null==(t=this.objects)[n]&&(t[n]=i)}return e(n,t),n.prototype.find=function(e){var t;return t=JSON.stringify(e),this.objects[t]},n}(i.BasicObject)}.call(this),function(){i.ElementStore=function(){function e(e){this.reset(e)}var t;return e.prototype.add=function(e){var n;return n=t(e),this.elements[n]=e},e.prototype.remove=function(e){var n,r;return n=t(e),(r=this.elements[n])?(delete this.elements[n],r):void 0},e.prototype.reset=function(e){var t,n,r;for(null==e&&(e=[]),this.elements={},n=0,r=e.length;r>n;n++)t=e[n],this.add(t);return e},t=function(e){return e.dataset.trixStoreKey},e}()}.call(this),function(){}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.Operation=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n.prototype.isPerforming=function(){return!0===this.performing},n.prototype.hasPerformed=function(){return!0===this.performed},n.prototype.hasSucceeded=function(){return this.performed&&this.succeeded},n.prototype.hasFailed=function(){return this.performed&&!this.succeeded},n.prototype.getPromise=function(){return null!=this.promise?this.promise:this.promise=new Promise(function(e){return function(t,n){return e.performing=!0,e.perform((function(r,o){return e.succeeded=r,e.performing=!1,e.performed=!0,e.succeeded?t(o):n(o)}))}}(this))},n.prototype.perform=function(e){return e(!1)},n.prototype.release=function(){var e;return null!=(e=this.promise)&&"function"==typeof e.cancel&&e.cancel(),this.promise=null,this.performing=null,this.performed=null,this.succeeded=null},n.proxyMethod("getPromise().then"),n.proxyMethod("getPromise().catch"),n}(i.BasicObject)}.call(this),function(){var e,t,n,r,o,a={}.hasOwnProperty;i.UTF16String=function(e){function t(e,t){this.ucs2String=e,this.codepoints=t,this.length=this.codepoints.length,this.ucs2Length=this.ucs2String.length}return function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype}(t,e),t.box=function(e){return null==e&&(e=""),e instanceof this?e:this.fromUCS2String(null!=e?e.toString():void 0)},t.fromUCS2String=function(e){return new this(e,r(e))},t.fromCodepoints=function(e){return new this(o(e),e)},t.prototype.offsetToUCS2Offset=function(e){return o(this.codepoints.slice(0,Math.max(0,e))).length},t.prototype.offsetFromUCS2Offset=function(e){return r(this.ucs2String.slice(0,Math.max(0,e))).length},t.prototype.slice=function(){var e;return this.constructor.fromCodepoints((e=this.codepoints).slice.apply(e,arguments))},t.prototype.charAt=function(e){return this.slice(e,e+1)},t.prototype.isEqualTo=function(e){return this.constructor.box(e).ucs2String===this.ucs2String},t.prototype.toJSON=function(){return this.ucs2String},t.prototype.getCacheKey=function(){return this.ucs2String},t.prototype.toString=function(){return this.ucs2String},t}(i.BasicObject),e=1===("function"==typeof Array.from?Array.from("👼").length:void 0),t=null!=("function"==typeof" ".codePointAt?" ".codePointAt(0):void 0),n=" 👼"===("function"==typeof String.fromCodePoint?String.fromCodePoint(32,128124):void 0),r=e&&t?function(e){return Array.from(e).map((function(e){return e.codePointAt(0)}))}:function(e){var t,n,r,o,i;for(o=[],t=0,r=e.length;r>t;)(i=e.charCodeAt(t++))>=55296&&56319>=i&&r>t&&(56320==(64512&(n=e.charCodeAt(t++)))?i=((1023&i)<<10)+(1023&n)+65536:t--),o.push(i);return o},o=n?function(e){return String.fromCodePoint.apply(String,e)}:function(e){var t,n,r;return t=function(){var t,o,i;for(i=[],t=0,o=e.length;o>t;t++)r=e[t],n="",r>65535&&(r-=65536,n+=String.fromCharCode(r>>>10&1023|55296),r=56320|1023&r),i.push(n+String.fromCharCode(r));return i}(),t.join("")}}.call(this),function(){}.call(this),function(){}.call(this),function(){i.config.lang={attachFiles:"Attach Files",bold:"Bold",bullets:"Bullets",byte:"Byte",bytes:"Bytes",captionPlaceholder:"Add a caption…",code:"Code",heading1:"Heading",indent:"Increase Level",italic:"Italic",link:"Link",numbers:"Numbers",outdent:"Decrease Level",quote:"Quote",redo:"Redo",remove:"Remove",strike:"Strikethrough",undo:"Undo",unlink:"Unlink",url:"URL",urlPlaceholder:"Enter a URL…",GB:"GB",KB:"KB",MB:"MB",PB:"PB",TB:"TB"}}.call(this),function(){i.config.css={attachment:"attachment",attachmentCaption:"attachment__caption",attachmentCaptionEditor:"attachment__caption-editor",attachmentMetadata:"attachment__metadata",attachmentMetadataContainer:"attachment__metadata-container",attachmentName:"attachment__name",attachmentProgress:"attachment__progress",attachmentSize:"attachment__size",attachmentToolbar:"attachment__toolbar",attachmentGallery:"attachment-gallery"}}.call(this),function(){var e;i.config.blockAttributes=e={default:{tagName:"div",parse:!1},quote:{tagName:"blockquote",nestable:!0},heading1:{tagName:"h1",terminal:!0,breakOnReturn:!0,group:!1},code:{tagName:"pre",terminal:!0,text:{plaintext:!0}},bulletList:{tagName:"ul",parse:!1},bullet:{tagName:"li",listAttribute:"bulletList",group:!1,nestable:!0,test:function(t){return i.tagName(t.parentNode)===e[this.listAttribute].tagName}},numberList:{tagName:"ol",parse:!1},number:{tagName:"li",listAttribute:"numberList",group:!1,nestable:!0,test:function(t){return i.tagName(t.parentNode)===e[this.listAttribute].tagName}},attachmentGallery:{tagName:"div",exclusive:!0,terminal:!0,parse:!1,group:!1}}}.call(this),function(){var e,t;e=i.config.lang,t=[e.bytes,e.KB,e.MB,e.GB,e.TB,e.PB],i.config.fileSize={prefix:"IEC",precision:2,formatter:function(n){var r,o;switch(n){case 0:return"0 "+e.bytes;case 1:return"1 "+e.byte;default:return r=function(){switch(this.prefix){case"SI":return 1e3;case"IEC":return 1024}}.call(this),o=Math.floor(Math.log(n)/Math.log(r)),(n/Math.pow(r,o)).toFixed(this.precision).replace(/0*$/,"").replace(/\.$/,"")+" "+t[o]}}}}.call(this),function(){i.config.textAttributes={bold:{tagName:"strong",inheritable:!0,parser:function(e){var t;return"bold"===(t=window.getComputedStyle(e)).fontWeight||t.fontWeight>=600}},italic:{tagName:"em",inheritable:!0,parser:function(e){return"italic"===window.getComputedStyle(e).fontStyle}},href:{groupTagName:"a",parser:function(e){var t,n;return n="a:not("+i.AttachmentView.attachmentSelector+")",(t=i.findClosestElementFromNode(e,{matchingSelector:n}))?t.getAttribute("href"):void 0}},strike:{tagName:"del",inheritable:!0},frozen:{style:{backgroundColor:"highlight"}}}}.call(this),function(){var e,t,n;n=["contenteditable","data-trix-id","data-trix-store-key","data-trix-mutable","data-trix-placeholder","tabindex"],t="data-trix-serialized-attributes",e=new RegExp("\x3c!--block--\x3e","g"),i.extend({serializers:{"application/json":function(e){var t;if(e instanceof i.Document)t=e;else{if(!(e instanceof HTMLElement))throw new Error("unserializable object");t=i.Document.fromHTML(e.innerHTML)}return t.toSerializableDocument().toJSONString()},"text/html":function(r){var o,a,s,l,c,u,d,f,p,h,m,g,v,b,y,A,x;if(r instanceof i.Document)l=i.DocumentView.render(r);else{if(!(r instanceof HTMLElement))throw new Error("unserializable object");l=r.cloneNode(!0)}for(c=0,p=(b=l.querySelectorAll("[data-trix-serialize=false]")).length;p>c;c++)s=b[c],i.removeNode(s);for(u=0,h=n.length;h>u;u++)for(o=n[u],d=0,m=(y=l.querySelectorAll("["+o+"]")).length;m>d;d++)(s=y[d]).removeAttribute(o);for(f=0,g=(A=l.querySelectorAll("[data-trix-serialized-attributes]")).length;g>f;f++){s=A[f];try{for(v in a=JSON.parse(s.getAttribute(t)),s.removeAttribute(t),a)x=a[v],s.setAttribute(v,x)}catch(e){}}return l.innerHTML.replace(e,"")}},deserializers:{"application/json":function(e){return i.Document.fromJSONString(e)},"text/html":function(e){return i.Document.fromHTML(e)}},serializeToContentType:function(e,t){var n;if(n=i.serializers[t])return n(e);throw new Error("unknown content type: "+t)},deserializeFromContentType:function(e,t){var n;if(n=i.deserializers[t])return n(e);throw new Error("unknown content type: "+t)}})}.call(this),function(){var e;e=i.config.lang,i.config.toolbar={getDefaultHTML:function(){return'<div class="trix-button-row">\n  <span class="trix-button-group trix-button-group--text-tools" data-trix-button-group="text-tools">\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-bold" data-trix-attribute="bold" data-trix-key="b" title="'+e.bold+'" tabindex="-1">'+e.bold+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-italic" data-trix-attribute="italic" data-trix-key="i" title="'+e.italic+'" tabindex="-1">'+e.italic+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-strike" data-trix-attribute="strike" title="'+e.strike+'" tabindex="-1">'+e.strike+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-link" data-trix-attribute="href" data-trix-action="link" data-trix-key="k" title="'+e.link+'" tabindex="-1">'+e.link+'</button>\n  </span>\n\n  <span class="trix-button-group trix-button-group--block-tools" data-trix-button-group="block-tools">\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-heading-1" data-trix-attribute="heading1" title="'+e.heading1+'" tabindex="-1">'+e.heading1+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-quote" data-trix-attribute="quote" title="'+e.quote+'" tabindex="-1">'+e.quote+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-code" data-trix-attribute="code" title="'+e.code+'" tabindex="-1">'+e.code+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-bullet-list" data-trix-attribute="bullet" title="'+e.bullets+'" tabindex="-1">'+e.bullets+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-number-list" data-trix-attribute="number" title="'+e.numbers+'" tabindex="-1">'+e.numbers+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-decrease-nesting-level" data-trix-action="decreaseNestingLevel" title="'+e.outdent+'" tabindex="-1">'+e.outdent+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-increase-nesting-level" data-trix-action="increaseNestingLevel" title="'+e.indent+'" tabindex="-1">'+e.indent+'</button>\n  </span>\n\n  <span class="trix-button-group trix-button-group--file-tools" data-trix-button-group="file-tools">\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-attach" data-trix-action="attachFiles" title="'+e.attachFiles+'" tabindex="-1">'+e.attachFiles+'</button>\n  </span>\n\n  <span class="trix-button-group-spacer"></span>\n\n  <span class="trix-button-group trix-button-group--history-tools" data-trix-button-group="history-tools">\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-undo" data-trix-action="undo" data-trix-key="z" title="'+e.undo+'" tabindex="-1">'+e.undo+'</button>\n    <button type="button" class="trix-button trix-button--icon trix-button--icon-redo" data-trix-action="redo" data-trix-key="shift+z" title="'+e.redo+'" tabindex="-1">'+e.redo+'</button>\n  </span>\n</div>\n\n<div class="trix-dialogs" data-trix-dialogs>\n  <div class="trix-dialog trix-dialog--link" data-trix-dialog="href" data-trix-dialog-attribute="href">\n    <div class="trix-dialog__link-fields">\n      <input type="url" name="href" class="trix-input trix-input--dialog" placeholder="'+e.urlPlaceholder+'" aria-label="'+e.url+'" required data-trix-input>\n      <div class="trix-button-group">\n        <input type="button" class="trix-button trix-button--dialog" value="'+e.link+'" data-trix-method="setAttribute">\n        <input type="button" class="trix-button trix-button--dialog" value="'+e.unlink+'" data-trix-method="removeAttribute">\n      </div>\n    </div>\n  </div>\n</div>'}}}.call(this),function(){i.config.undoInterval=5e3}.call(this),function(){i.config.attachments={preview:{presentation:"gallery",caption:{name:!0,size:!0}},file:{caption:{size:!0}}}}.call(this),function(){i.config.keyNames={8:"backspace",9:"tab",13:"return",27:"escape",37:"left",39:"right",46:"delete",68:"d",72:"h",79:"o"}}.call(this),function(){i.config.input={level2Enabled:!0,getLevel:function(){return this.level2Enabled&&i.browser.supportsInputEvents?2:0},pickFiles:function(e){var t;return(t=i.makeElement("input",{type:"file",multiple:!0,hidden:!0,id:this.fileInputId})).addEventListener("change",(function(){return e(t.files),i.removeNode(t)})),i.removeNode(document.getElementById(this.fileInputId)),document.body.appendChild(t),t.click()},fileInputId:"trix-file-input-"+Date.now().toString(16)}}.call(this),function(){}.call(this),function(){i.registerElement("trix-toolbar",{defaultCSS:"%t {\n  display: block;\n}\n\n%t {\n  white-space: nowrap;\n}\n\n%t [data-trix-dialog] {\n  display: none;\n}\n\n%t [data-trix-dialog][data-trix-active] {\n  display: block;\n}\n\n%t [data-trix-dialog] [data-trix-validate]:invalid {\n  background-color: #ffdddd;\n}",initialize:function(){return""===this.innerHTML?this.innerHTML=i.config.toolbar.getDefaultHTML():void 0}})}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty,n=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};i.ObjectView=function(t){function r(e,t){this.object=e,this.options=null!=t?t:{},this.childViews=[],this.rootView=this}return e(r,t),r.prototype.getNodes=function(){var e,t,n,r,o;for(null==this.nodes&&(this.nodes=this.createNodes()),o=[],e=0,t=(r=this.nodes).length;t>e;e++)n=r[e],o.push(n.cloneNode(!0));return o},r.prototype.invalidate=function(){var e;return this.nodes=null,this.childViews=[],null!=(e=this.parentView)?e.invalidate():void 0},r.prototype.invalidateViewForObject=function(e){var t;return null!=(t=this.findViewForObject(e))?t.invalidate():void 0},r.prototype.findOrCreateCachedChildView=function(e,t){var n;return(n=this.getCachedViewForObject(t))?this.recordChildView(n):(n=this.createChildView.apply(this,arguments),this.cacheViewForObject(n,t)),n},r.prototype.createChildView=function(e,t,n){var r;return null==n&&(n={}),t instanceof i.ObjectGroup&&(n.viewClass=e,e=i.ObjectGroupView),r=new e(t,n),this.recordChildView(r)},r.prototype.recordChildView=function(e){return e.parentView=this,e.rootView=this.rootView,this.childViews.push(e),e},r.prototype.getAllChildViews=function(){var e,t,n,r,o;for(o=[],t=0,n=(r=this.childViews).length;n>t;t++)e=r[t],o.push(e),o=o.concat(e.getAllChildViews());return o},r.prototype.findElement=function(){return this.findElementForObject(this.object)},r.prototype.findElementForObject=function(e){var t;return(t=null!=e?e.id:void 0)?this.rootView.element.querySelector("[data-trix-id='"+t+"']"):void 0},r.prototype.findViewForObject=function(e){var t,n,r,o;for(t=0,n=(r=this.getAllChildViews()).length;n>t;t++)if((o=r[t]).object===e)return o},r.prototype.getViewCache=function(){return this.rootView!==this?this.rootView.getViewCache():this.isViewCachingEnabled()?null!=this.viewCache?this.viewCache:this.viewCache={}:void 0},r.prototype.isViewCachingEnabled=function(){return!1!==this.shouldCacheViews},r.prototype.enableViewCaching=function(){return this.shouldCacheViews=!0},r.prototype.disableViewCaching=function(){return this.shouldCacheViews=!1},r.prototype.getCachedViewForObject=function(e){var t;return null!=(t=this.getViewCache())?t[e.getCacheKey()]:void 0},r.prototype.cacheViewForObject=function(e,t){var n;return null!=(n=this.getViewCache())?n[t.getCacheKey()]=e:void 0},r.prototype.garbageCollectCachedViews=function(){var e,t,r,o,i,a;if(e=this.getViewCache()){for(t in a=this.getAllChildViews().concat(this),r=function(){var e,t,n;for(n=[],e=0,t=a.length;t>e;e++)i=a[e],n.push(i.object.getCacheKey());return n}(),o=[],e)n.call(r,t)<0&&o.push(delete e[t]);return o}},r}(i.BasicObject)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.ObjectGroupView=function(t){function n(){n.__super__.constructor.apply(this,arguments),this.objectGroup=this.object,this.viewClass=this.options.viewClass,delete this.options.viewClass}return e(n,t),n.prototype.getChildViews=function(){var e,t,n,r;if(!this.childViews.length)for(e=0,t=(r=this.objectGroup.getObjects()).length;t>e;e++)n=r[e],this.findOrCreateCachedChildView(this.viewClass,n,this.options);return this.childViews},n.prototype.createNodes=function(){var e,t,n,r,o,i,a,s;for(e=this.createContainerElement(),t=0,r=(a=this.getChildViews()).length;r>t;t++)for(n=0,o=(s=a[t].getNodes()).length;o>n;n++)i=s[n],e.appendChild(i);return[e]},n.prototype.createContainerElement=function(e){return null==e&&(e=this.objectGroup.getDepth()),this.getChildViews()[0].createContainerElement(e)},n}(i.ObjectView)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.Controller=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return e(n,t),n}(i.BasicObject)}.call(this),function(){var e,t,n,r,o,a,s=function(e,t){function n(){this.constructor=e}for(var r in t)l.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},l={}.hasOwnProperty,c=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=i.findClosestElementFromNode,n=i.nodeIsEmptyTextNode,t=i.nodeIsBlockStartComment,r=i.normalizeSpaces,o=i.summarizeStringChange,a=i.tagName,i.MutationObserver=function(i){function l(e){this.element=e,this.didMutate=function(e,t){return function(){return e.apply(t,arguments)}}(this.didMutate,this),this.observer=new window.MutationObserver(this.didMutate),this.start()}var u,d,f;return s(l,i),"["+(d="data-trix-mutable")+"]",f={attributes:!0,childList:!0,characterData:!0,characterDataOldValue:!0,subtree:!0},l.prototype.start=function(){return this.reset(),this.observer.observe(this.element,f)},l.prototype.stop=function(){return this.observer.disconnect()},l.prototype.didMutate=function(e){var t,n;return(t=this.mutations).push.apply(t,this.findSignificantMutations(e)),this.mutations.length?(null!=(n=this.delegate)&&"function"==typeof n.elementDidMutate&&n.elementDidMutate(this.getMutationSummary()),this.reset()):void 0},l.prototype.reset=function(){return this.mutations=[]},l.prototype.findSignificantMutations=function(e){var t,n,r,o;for(o=[],t=0,n=e.length;n>t;t++)r=e[t],this.mutationIsSignificant(r)&&o.push(r);return o},l.prototype.mutationIsSignificant=function(e){var t,n,r,o;if(this.nodeIsMutable(e.target))return!1;for(t=0,n=(o=this.nodesModifiedByMutation(e)).length;n>t;t++)if(r=o[t],this.nodeIsSignificant(r))return!0;return!1},l.prototype.nodeIsSignificant=function(e){return e!==this.element&&!this.nodeIsMutable(e)&&!n(e)},l.prototype.nodeIsMutable=function(t){return e(t,{matchingSelector:"[data-trix-mutable]"})},l.prototype.nodesModifiedByMutation=function(e){var t;switch(t=[],e.type){case"attributes":e.attributeName!==d&&t.push(e.target);break;case"characterData":t.push(e.target.parentNode),t.push(e.target);break;case"childList":t.push.apply(t,e.addedNodes),t.push.apply(t,e.removedNodes)}return t},l.prototype.getMutationSummary=function(){return this.getTextMutationSummary()},l.prototype.getTextMutationSummary=function(){var e,t,n,r,o,i,a,s,l,u,d;for(n=(s=this.getTextChangesFromCharacterData()).additions,o=s.deletions,i=0,a=(l=(d=this.getTextChangesFromChildList()).additions).length;a>i;i++)t=l[i],c.call(n,t)<0&&n.push(t);return o.push.apply(o,d.deletions),u={},(e=n.join(""))&&(u.textAdded=e),(r=o.join(""))&&(u.textDeleted=r),u},l.prototype.getMutationsByType=function(e){var t,n,r,o,i;for(i=[],t=0,n=(o=this.mutations).length;n>t;t++)(r=o[t]).type===e&&i.push(r);return i},l.prototype.getTextChangesFromChildList=function(){var e,n,o,i,a,s,l,c,d,f;for(e=[],l=[],n=0,i=(s=this.getMutationsByType("childList")).length;i>n;n++)a=s[n],e.push.apply(e,a.addedNodes),l.push.apply(l,a.removedNodes);return 0===e.length&&1===l.length&&t(l[0])?(d=[],f=["\n"]):(d=u(e),f=u(l)),{additions:function(){var e,t,n;for(n=[],o=e=0,t=d.length;t>e;o=++e)(c=d[o])!==f[o]&&n.push(r(c));return n}(),deletions:function(){var e,t,n;for(n=[],o=e=0,t=f.length;t>e;o=++e)(c=f[o])!==d[o]&&n.push(r(c));return n}()}},l.prototype.getTextChangesFromCharacterData=function(){var e,t,n,i,a,s,l,c;return(t=this.getMutationsByType("characterData")).length&&(c=t[0],n=t[t.length-1],a=r(c.oldValue),i=r(n.target.data),e=(s=o(a,i)).added,l=s.removed),{additions:e?[e]:[],deletions:l?[l]:[]}},u=function(e){var t,n,r,o;for(null==e&&(e=[]),o=[],t=0,n=e.length;n>t;t++)switch(r=e[t],r.nodeType){case Node.TEXT_NODE:o.push(r.data);break;case Node.ELEMENT_NODE:"br"===a(r)?o.push("\n"):o.push.apply(o,u(r.childNodes))}return o},l}(i.BasicObject)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.FileVerificationOperation=function(t){function n(e){this.file=e}return e(n,t),n.prototype.perform=function(e){var t;return(t=new FileReader).onerror=function(){return e(!1)},t.onload=function(n){return function(){t.onerror=null;try{t.abort()}catch(e){}return e(!0,n.file)}}(this),t.readAsArrayBuffer(this.file)},n}(i.Operation)}.call(this),function(){var e,t,n=function(e,t){function n(){this.constructor=e}for(var o in t)r.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=i.handleEvent,t=i.innerElementIsActive,i.InputController=function(r){function o(t){var n;for(n in this.element=t,this.mutationObserver=new i.MutationObserver(this.element),this.mutationObserver.delegate=this,this.events)e(n,{onElement:this.element,withCallback:this.handlerFor(n)})}return n(o,r),o.prototype.events={},o.prototype.elementDidMutate=function(){},o.prototype.editorWillSyncDocumentView=function(){return this.mutationObserver.stop()},o.prototype.editorDidSyncDocumentView=function(){return this.mutationObserver.start()},o.prototype.requestRender=function(){var e;return null!=(e=this.delegate)&&"function"==typeof e.inputControllerDidRequestRender?e.inputControllerDidRequestRender():void 0},o.prototype.requestReparse=function(){var e;return null!=(e=this.delegate)&&"function"==typeof e.inputControllerDidRequestReparse&&e.inputControllerDidRequestReparse(),this.requestRender()},o.prototype.attachFiles=function(e){var t,n;return n=function(){var n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],o.push(new i.FileVerificationOperation(t));return o}(),Promise.all(n).then(function(e){return function(t){return e.handleInput((function(){var e,n;return null!=(e=this.delegate)&&e.inputControllerWillAttachFiles(),null!=(n=this.responder)&&n.insertFiles(t),this.requestRender()}))}}(this))},o.prototype.handlerFor=function(e){return function(n){return function(r){return r.defaultPrevented?void 0:n.handleInput((function(){return t(this.element)?void 0:(this.eventName=e,this.events[e].call(this,r))}))}}(this)},o.prototype.handleInput=function(e){var t,n;try{return null!=(t=this.delegate)&&t.inputControllerWillHandleInput(),e.call(this)}finally{null!=(n=this.delegate)&&n.inputControllerDidHandleInput()}},o.prototype.createLinkHTML=function(e,t){var n;return(n=document.createElement("a")).href=e,n.textContent=null!=t?t:e,n.outerHTML},o}(i.BasicObject)}.call(this),function(){var e,t,n,r,o,a,s,l,c,u,d,f,p=function(e,t){function n(){this.constructor=e}for(var r in t)h.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},h={}.hasOwnProperty,m=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};c=i.makeElement,u=i.objectsAreEqual,i.tagName,t=i.browser,s=i.keyEventIsKeyboardCommand,r=i.dataTransferIsWritable,n=i.dataTransferIsPlainText,l=i.config.keyNames,i.Level0InputController=function(t){function a(){a.__super__.constructor.apply(this,arguments),this.resetInputSummary()}var h;return p(a,t),h=0,a.prototype.setInputSummary=function(e){var t,n;for(t in null==e&&(e={}),this.inputSummary.eventName=this.eventName,e)n=e[t],this.inputSummary[t]=n;return this.inputSummary},a.prototype.resetInputSummary=function(){return this.inputSummary={}},a.prototype.reset=function(){return this.resetInputSummary(),i.selectionChangeObserver.reset()},a.prototype.elementDidMutate=function(e){var t;return this.isComposing()?null!=(t=this.delegate)&&"function"==typeof t.inputControllerDidAllowUnhandledInput?t.inputControllerDidAllowUnhandledInput():void 0:this.handleInput((function(){return this.mutationIsSignificant(e)&&(this.mutationIsExpected(e)?this.requestRender():this.requestReparse()),this.reset()}))},a.prototype.mutationIsExpected=function(e){var t,n,r,o,i,a,s,l,c;return a=e.textAdded,s=e.textDeleted,!!this.inputSummary.preferDocument||(t=null!=a?a===this.inputSummary.textAdded:!this.inputSummary.textAdded,n=null!=s?this.inputSummary.didDelete:!this.inputSummary.didDelete,c="\n"===s&&!n,!!(((l=("\n"===a||" \n"===a)&&!t)&&!c||c&&!l)&&(o=this.getSelectedRange())&&(r=l?a.replace(/\n$/,"").length||-1:(null!=a?a.length:void 0)||1,null!=(i=this.responder)?i.positionIsBlockBreak(o[1]+r):void 0))||t&&n)},a.prototype.mutationIsSignificant=function(e){var t,n,r;return r=Object.keys(e).length>0,t=""===(null!=(n=this.compositionInput)?n.getEndData():void 0),r||!t},a.prototype.events={keydown:function(e){var t,n,r,o,a,c,u,d,f;if(this.isComposing()||this.resetInputSummary(),this.inputSummary.didInput=!0,o=l[e.keyCode]){for(n=this.keys,r=0,c=(d=["ctrl","alt","shift","meta"]).length;c>r;r++)e[(u=d[r])+"Key"]&&("ctrl"===u&&(u="control"),n=null!=n?n[u]:void 0);null!=(null!=n?n[o]:void 0)&&(this.setInputSummary({keyName:o}),i.selectionChangeObserver.reset(),n[o].call(this,e))}return s(e)&&(t=String.fromCharCode(e.keyCode).toLowerCase())&&(a=function(){var t,n,r,o;for(o=[],t=0,n=(r=["alt","shift"]).length;n>t;t++)e[(u=r[t])+"Key"]&&o.push(u);return o}(),a.push(t),null!=(f=this.delegate)?f.inputControllerDidReceiveKeyboardCommand(a):void 0)?e.preventDefault():void 0},keypress:function(e){var t,n,r;if(null==this.inputSummary.eventName&&!e.metaKey&&(!e.ctrlKey||e.altKey))return(r=f(e))?(null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),null!=(n=this.responder)&&n.insertString(r),this.setInputSummary({textAdded:r,didDelete:this.selectionIsExpanded()})):void 0},textInput:function(e){var t,n,r,o;return t=e.data,(o=this.inputSummary.textAdded)&&o!==t&&o.toUpperCase()===t?(n=this.getSelectedRange(),this.setSelectedRange([n[0],n[1]+o.length]),null!=(r=this.responder)&&r.insertString(t),this.setInputSummary({textAdded:t}),this.setSelectedRange(n)):void 0},dragenter:function(e){return e.preventDefault()},dragstart:function(e){var t;return e.target,this.serializeSelectionToDataTransfer(e.dataTransfer),this.draggedRange=this.getSelectedRange(),null!=(t=this.delegate)&&"function"==typeof t.inputControllerDidStartDrag?t.inputControllerDidStartDrag():void 0},dragover:function(e){var t,n;return!this.draggedRange&&!this.canAcceptDataTransfer(e.dataTransfer)||(e.preventDefault(),t={x:e.clientX,y:e.clientY},u(t,this.draggingPoint))?void 0:(this.draggingPoint=t,null!=(n=this.delegate)&&"function"==typeof n.inputControllerDidReceiveDragOverPoint?n.inputControllerDidReceiveDragOverPoint(this.draggingPoint):void 0)},dragend:function(){var e;return null!=(e=this.delegate)&&"function"==typeof e.inputControllerDidCancelDrag&&e.inputControllerDidCancelDrag(),this.draggedRange=null,this.draggingPoint=null},drop:function(e){var t,n,r,o,a,s,l,c,u;return e.preventDefault(),r=null!=(a=e.dataTransfer)?a.files:void 0,o={x:e.clientX,y:e.clientY},null!=(s=this.responder)&&s.setLocationRangeFromPointRange(o),(null!=r?r.length:void 0)?this.attachFiles(r):this.draggedRange?(null!=(l=this.delegate)&&l.inputControllerWillMoveText(),null!=(c=this.responder)&&c.moveTextFromRange(this.draggedRange),this.draggedRange=null,this.requestRender()):(n=e.dataTransfer.getData("application/x-trix-document"))&&(t=i.Document.fromJSONString(n),null!=(u=this.responder)&&u.insertDocument(t),this.requestRender()),this.draggedRange=null,this.draggingPoint=null},cut:function(e){var t,n;return(null!=(t=this.responder)?t.selectionIsExpanded():void 0)&&(this.serializeSelectionToDataTransfer(e.clipboardData)&&e.preventDefault(),null!=(n=this.delegate)&&n.inputControllerWillCutText(),this.deleteInDirection("backward"),e.defaultPrevented)?this.requestRender():void 0},copy:function(e){var t;return(null!=(t=this.responder)?t.selectionIsExpanded():void 0)&&this.serializeSelectionToDataTransfer(e.clipboardData)?e.preventDefault():void 0},paste:function(e){var t,r,a,s,l,c,u,f,p,g,v,b,y,A,x,C,_,w,k,S,E,B,O;return t=null!=(f=e.clipboardData)?f:e.testClipboardData,u={clipboard:t},null==t||d(e)?void this.getPastedHTMLUsingHiddenElement(function(e){return function(t){var n,r,o;return u.type="text/html",u.html=t,null!=(n=e.delegate)&&n.inputControllerWillPaste(u),null!=(r=e.responder)&&r.insertHTML(u.html),e.requestRender(),null!=(o=e.delegate)?o.inputControllerDidPaste(u):void 0}}(this)):((s=t.getData("URL"))?(u.type="text/html",O=(c=t.getData("public.url-name"))?i.squishBreakableWhitespace(c).trim():s,u.html=this.createLinkHTML(s,O),null!=(p=this.delegate)&&p.inputControllerWillPaste(u),this.setInputSummary({textAdded:O,didDelete:this.selectionIsExpanded()}),null!=(x=this.responder)&&x.insertHTML(u.html),this.requestRender(),null!=(C=this.delegate)&&C.inputControllerDidPaste(u)):n(t)?(u.type="text/plain",u.string=t.getData("text/plain"),null!=(_=this.delegate)&&_.inputControllerWillPaste(u),this.setInputSummary({textAdded:u.string,didDelete:this.selectionIsExpanded()}),null!=(w=this.responder)&&w.insertString(u.string),this.requestRender(),null!=(k=this.delegate)&&k.inputControllerDidPaste(u)):(l=t.getData("text/html"))?(u.type="text/html",u.html=l,null!=(S=this.delegate)&&S.inputControllerWillPaste(u),null!=(E=this.responder)&&E.insertHTML(u.html),this.requestRender(),null!=(B=this.delegate)&&B.inputControllerDidPaste(u)):m.call(t.types,"Files")>=0&&(a=null!=(g=t.items)&&null!=(v=g[0])&&"function"==typeof v.getAsFile?v.getAsFile():void 0)&&(!a.name&&(r=o(a))&&(a.name="pasted-file-"+ ++h+"."+r),u.type="File",u.file=a,null!=(b=this.delegate)&&b.inputControllerWillAttachFiles(),null!=(y=this.responder)&&y.insertFile(u.file),this.requestRender(),null!=(A=this.delegate)&&A.inputControllerDidPaste(u)),e.preventDefault())},compositionstart:function(e){return this.getCompositionInput().start(e.data)},compositionupdate:function(e){return this.getCompositionInput().update(e.data)},compositionend:function(e){return this.getCompositionInput().end(e.data)},beforeinput:function(){return this.inputSummary.didInput=!0},input:function(e){return this.inputSummary.didInput=!0,e.stopPropagation()}},a.prototype.keys={backspace:function(e){var t;return null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),this.deleteInDirection("backward",e)},delete:function(e){var t;return null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),this.deleteInDirection("forward",e)},return:function(){var e,t;return this.setInputSummary({preferDocument:!0}),null!=(e=this.delegate)&&e.inputControllerWillPerformTyping(),null!=(t=this.responder)?t.insertLineBreak():void 0},tab:function(e){var t,n;return(null!=(t=this.responder)?t.canIncreaseNestingLevel():void 0)?(null!=(n=this.responder)&&n.increaseNestingLevel(),this.requestRender(),e.preventDefault()):void 0},left:function(e){var t;return this.selectionIsInCursorTarget()?(e.preventDefault(),null!=(t=this.responder)?t.moveCursorInDirection("backward"):void 0):void 0},right:function(e){var t;return this.selectionIsInCursorTarget()?(e.preventDefault(),null!=(t=this.responder)?t.moveCursorInDirection("forward"):void 0):void 0},control:{d:function(e){var t;return null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),this.deleteInDirection("forward",e)},h:function(e){var t;return null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),this.deleteInDirection("backward",e)},o:function(e){var t,n;return e.preventDefault(),null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),null!=(n=this.responder)&&n.insertString("\n",{updatePosition:!1}),this.requestRender()}},shift:{return:function(e){var t,n;return null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),null!=(n=this.responder)&&n.insertString("\n"),this.requestRender(),e.preventDefault()},tab:function(e){var t,n;return(null!=(t=this.responder)?t.canDecreaseNestingLevel():void 0)?(null!=(n=this.responder)&&n.decreaseNestingLevel(),this.requestRender(),e.preventDefault()):void 0},left:function(e){return this.selectionIsInCursorTarget()?(e.preventDefault(),this.expandSelectionInDirection("backward")):void 0},right:function(e){return this.selectionIsInCursorTarget()?(e.preventDefault(),this.expandSelectionInDirection("forward")):void 0}},alt:{backspace:function(){var e;return this.setInputSummary({preferDocument:!1}),null!=(e=this.delegate)?e.inputControllerWillPerformTyping():void 0}},meta:{backspace:function(){var e;return this.setInputSummary({preferDocument:!1}),null!=(e=this.delegate)?e.inputControllerWillPerformTyping():void 0}}},a.prototype.getCompositionInput=function(){return this.isComposing()?this.compositionInput:this.compositionInput=new e(this)},a.prototype.isComposing=function(){return null!=this.compositionInput&&!this.compositionInput.isEnded()},a.prototype.deleteInDirection=function(e,t){var n;return!1!==(null!=(n=this.responder)?n.deleteInDirection(e):void 0)?this.setInputSummary({didDelete:!0}):t?(t.preventDefault(),this.requestRender()):void 0},a.prototype.serializeSelectionToDataTransfer=function(e){var t,n;if(r(e))return t=null!=(n=this.responder)?n.getSelectedDocument().toSerializableDocument():void 0,e.setData("application/x-trix-document",JSON.stringify(t)),e.setData("text/html",i.DocumentView.render(t).innerHTML),e.setData("text/plain",t.toString().replace(/\n$/,"")),!0},a.prototype.canAcceptDataTransfer=function(e){var t,n,r,o,i;for(i={},t=0,n=(o=null!=(r=null!=e?e.types:void 0)?r:[]).length;n>t;t++)i[o[t]]=!0;return i.Files||i["application/x-trix-document"]||i["text/html"]||i["text/plain"]},a.prototype.getPastedHTMLUsingHiddenElement=function(e){var t,n,r;return n=this.getSelectedRange(),r={position:"absolute",left:window.pageXOffset+"px",top:window.pageYOffset+"px",opacity:0},t=c({style:r,tagName:"div",editable:!0}),document.body.appendChild(t),t.focus(),requestAnimationFrame(function(r){return function(){var o;return o=t.innerHTML,i.removeNode(t),r.setSelectedRange(n),e(o)}}(this))},a.proxyMethod("responder?.getSelectedRange"),a.proxyMethod("responder?.setSelectedRange"),a.proxyMethod("responder?.expandSelectionInDirection"),a.proxyMethod("responder?.selectionIsInCursorTarget"),a.proxyMethod("responder?.selectionIsExpanded"),a}(i.InputController),o=function(e){var t,n;return null!=(t=e.type)&&null!=(n=t.match(/\/(\w+)$/))?n[1]:void 0},a=null!=("function"==typeof" ".codePointAt?" ".codePointAt(0):void 0),f=function(e){var t;return e.key&&a&&e.key.codePointAt(0)===e.keyCode?e.key:(null===e.which?t=e.keyCode:0!==e.which&&0!==e.charCode&&(t=e.charCode),null!=t&&"escape"!==l[t]?i.UTF16String.fromCodepoints([t]).toString():void 0)},d=function(e){var t,n,r,o,i,a,s,l,c;if(s=e.clipboardData){if(m.call(s.types,"text/html")>=0){for(r=0,a=(l=s.types).length;a>r;r++)if(c=l[r],t=/^CorePasteboardFlavorType/.test(c),n=/^dyn\./.test(c)&&s.getData(c),t||n)return!0;return!1}return o=m.call(s.types,"com.apple.webarchive")>=0,i=m.call(s.types,"com.apple.flat-rtfd")>=0,o||i}},e=function(e){function n(e){var t;this.inputController=e,t=this.inputController,this.responder=t.responder,this.delegate=t.delegate,this.inputSummary=t.inputSummary,this.data={}}return p(n,e),n.prototype.start=function(e){var t,n;return this.data.start=e,this.isSignificant()?("keypress"===this.inputSummary.eventName&&this.inputSummary.textAdded&&null!=(t=this.responder)&&t.deleteInDirection("left"),this.selectionIsExpanded()||(this.insertPlaceholder(),this.requestRender()),this.range=null!=(n=this.responder)?n.getSelectedRange():void 0):void 0},n.prototype.update=function(e){var t;return this.data.update=e,this.isSignificant()&&(t=this.selectPlaceholder())?(this.forgetPlaceholder(),this.range=t):void 0},n.prototype.end=function(e){var t,n,r,o;return this.data.end=e,this.isSignificant()?(this.forgetPlaceholder(),this.canApplyToDocument()?(this.setInputSummary({preferDocument:!0,didInput:!1}),null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),null!=(n=this.responder)&&n.setSelectedRange(this.range),null!=(r=this.responder)&&r.insertString(this.data.end),null!=(o=this.responder)?o.setSelectedRange(this.range[0]+this.data.end.length):void 0):null!=this.data.start||null!=this.data.update?(this.requestReparse(),this.inputController.reset()):void 0):this.inputController.reset()},n.prototype.getEndData=function(){return this.data.end},n.prototype.isEnded=function(){return null!=this.getEndData()},n.prototype.isSignificant=function(){return!t.composesExistingText||this.inputSummary.didInput},n.prototype.canApplyToDocument=function(){var e,t;return 0===(null!=(e=this.data.start)?e.length:void 0)&&(null!=(t=this.data.end)?t.length:void 0)>0&&null!=this.range},n.proxyMethod("inputController.setInputSummary"),n.proxyMethod("inputController.requestRender"),n.proxyMethod("inputController.requestReparse"),n.proxyMethod("responder?.selectionIsExpanded"),n.proxyMethod("responder?.insertPlaceholder"),n.proxyMethod("responder?.selectPlaceholder"),n.proxyMethod("responder?.forgetPlaceholder"),n}(i.BasicObject)}.call(this),function(){var e,t,n,r=function(e,t){return function(){return e.apply(t,arguments)}},o=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty,s=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=i.dataTransferIsPlainText,t=i.keyEventIsKeyboardCommand,n=i.objectsAreEqual,i.Level2InputController=function(a){function l(){return this.render=r(this.render,this),l.__super__.constructor.apply(this,arguments)}var c,u,d,f,p,h;return o(l,a),l.prototype.elementDidMutate=function(){var e;return this.scheduledRender?this.composing&&null!=(e=this.delegate)&&"function"==typeof e.inputControllerDidAllowUnhandledInput?e.inputControllerDidAllowUnhandledInput():void 0:this.reparse()},l.prototype.scheduleRender=function(){return null!=this.scheduledRender?this.scheduledRender:this.scheduledRender=requestAnimationFrame(this.render)},l.prototype.render=function(){var e;return cancelAnimationFrame(this.scheduledRender),this.scheduledRender=null,this.composing||null!=(e=this.delegate)&&e.render(),"function"==typeof this.afterRender&&this.afterRender(),this.afterRender=null},l.prototype.reparse=function(){var e;return null!=(e=this.delegate)?e.reparse():void 0},l.prototype.events={keydown:function(e){var n,r,o,i;if(t(e)){if(n=u(e),null!=(i=this.delegate)?i.inputControllerDidReceiveKeyboardCommand(n):void 0)return e.preventDefault()}else if(o=e.key,e.altKey&&(o+="+Alt"),e.shiftKey&&(o+="+Shift"),r=this.keys[o])return this.withEvent(e,r)},paste:function(e){var t,n,r,o,i,a,s,l,c;return d(e)?(e.preventDefault(),this.attachFiles(e.clipboardData.files)):f(e)?(e.preventDefault(),n={type:"text/plain",string:e.clipboardData.getData("text/plain")},null!=(r=this.delegate)&&r.inputControllerWillPaste(n),null!=(o=this.responder)&&o.insertString(n.string),this.render(),null!=(i=this.delegate)?i.inputControllerDidPaste(n):void 0):(t=null!=(a=e.clipboardData)?a.getData("URL"):void 0)?(e.preventDefault(),n={type:"text/html",html:this.createLinkHTML(t)},null!=(s=this.delegate)&&s.inputControllerWillPaste(n),null!=(l=this.responder)&&l.insertHTML(n.html),this.render(),null!=(c=this.delegate)?c.inputControllerDidPaste(n):void 0):void 0},beforeinput:function(e){var t;return(t=this.inputTypes[e.inputType])?(this.withEvent(e,t),this.scheduleRender()):void 0},input:function(){return i.selectionChangeObserver.reset()},dragstart:function(e){var t,n;return(null!=(t=this.responder)?t.selectionContainsAttachments():void 0)?(e.dataTransfer.setData("application/x-trix-dragging",!0),this.dragging={range:null!=(n=this.responder)?n.getSelectedRange():void 0,point:p(e)}):void 0},dragenter:function(e){return c(e)?e.preventDefault():void 0},dragover:function(e){var t,r;if(this.dragging){if(e.preventDefault(),t=p(e),!n(t,this.dragging.point))return this.dragging.point=t,null!=(r=this.responder)?r.setLocationRangeFromPointRange(t):void 0}else if(c(e))return e.preventDefault()},drop:function(e){var t,n,r,o;return this.dragging?(e.preventDefault(),null!=(n=this.delegate)&&n.inputControllerWillMoveText(),null!=(r=this.responder)&&r.moveTextFromRange(this.dragging.range),this.dragging=null,this.scheduleRender()):c(e)?(e.preventDefault(),t=p(e),null!=(o=this.responder)&&o.setLocationRangeFromPointRange(t),this.attachFiles(e.dataTransfer.files)):void 0},dragend:function(){var e;return this.dragging?(null!=(e=this.responder)&&e.setSelectedRange(this.dragging.range),this.dragging=null):void 0},compositionend:function(){return this.composing?(this.composing=!1,this.scheduleRender()):void 0}},l.prototype.keys={ArrowLeft:function(){var e,t;return(null!=(e=this.responder)?e.shouldManageMovingCursorInDirection("backward"):void 0)?(this.event.preventDefault(),null!=(t=this.responder)?t.moveCursorInDirection("backward"):void 0):void 0},ArrowRight:function(){var e,t;return(null!=(e=this.responder)?e.shouldManageMovingCursorInDirection("forward"):void 0)?(this.event.preventDefault(),null!=(t=this.responder)?t.moveCursorInDirection("forward"):void 0):void 0},Backspace:function(){var e,t,n;return(null!=(e=this.responder)?e.shouldManageDeletingInDirection("backward"):void 0)?(this.event.preventDefault(),null!=(t=this.delegate)&&t.inputControllerWillPerformTyping(),null!=(n=this.responder)&&n.deleteInDirection("backward"),this.render()):void 0},Tab:function(){var e,t;return(null!=(e=this.responder)?e.canIncreaseNestingLevel():void 0)?(this.event.preventDefault(),null!=(t=this.responder)&&t.increaseNestingLevel(),this.render()):void 0},"Tab+Shift":function(){var e,t;return(null!=(e=this.responder)?e.canDecreaseNestingLevel():void 0)?(this.event.preventDefault(),null!=(t=this.responder)&&t.decreaseNestingLevel(),this.render()):void 0}},l.prototype.inputTypes={deleteByComposition:function(){return this.deleteInDirection("backward",{recordUndoEntry:!1})},deleteByCut:function(){return this.deleteInDirection("backward")},deleteByDrag:function(){return this.event.preventDefault(),this.withTargetDOMRange((function(){var e;return this.deleteByDragRange=null!=(e=this.responder)?e.getSelectedRange():void 0}))},deleteCompositionText:function(){return this.deleteInDirection("backward",{recordUndoEntry:!1})},deleteContent:function(){return this.deleteInDirection("backward")},deleteContentBackward:function(){return this.deleteInDirection("backward")},deleteContentForward:function(){return this.deleteInDirection("forward")},deleteEntireSoftLine:function(){return this.deleteInDirection("forward")},deleteHardLineBackward:function(){return this.deleteInDirection("backward")},deleteHardLineForward:function(){return this.deleteInDirection("forward")},deleteSoftLineBackward:function(){return this.deleteInDirection("backward")},deleteSoftLineForward:function(){return this.deleteInDirection("forward")},deleteWordBackward:function(){return this.deleteInDirection("backward")},deleteWordForward:function(){return this.deleteInDirection("forward")},formatBackColor:function(){return this.activateAttributeIfSupported("backgroundColor",this.event.data)},formatBold:function(){return this.toggleAttributeIfSupported("bold")},formatFontColor:function(){return this.activateAttributeIfSupported("color",this.event.data)},formatFontName:function(){return this.activateAttributeIfSupported("font",this.event.data)},formatIndent:function(){var e;return(null!=(e=this.responder)?e.canIncreaseNestingLevel():void 0)?this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.increaseNestingLevel():void 0})):void 0},formatItalic:function(){return this.toggleAttributeIfSupported("italic")},formatJustifyCenter:function(){return this.toggleAttributeIfSupported("justifyCenter")},formatJustifyFull:function(){return this.toggleAttributeIfSupported("justifyFull")},formatJustifyLeft:function(){return this.toggleAttributeIfSupported("justifyLeft")},formatJustifyRight:function(){return this.toggleAttributeIfSupported("justifyRight")},formatOutdent:function(){var e;return(null!=(e=this.responder)?e.canDecreaseNestingLevel():void 0)?this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.decreaseNestingLevel():void 0})):void 0},formatRemove:function(){return this.withTargetDOMRange((function(){var e,t,n,r;for(e in r=[],null!=(t=this.responder)?t.getCurrentAttributes():void 0)r.push(null!=(n=this.responder)?n.removeCurrentAttribute(e):void 0);return r}))},formatSetBlockTextDirection:function(){return this.activateAttributeIfSupported("blockDir",this.event.data)},formatSetInlineTextDirection:function(){return this.activateAttributeIfSupported("textDir",this.event.data)},formatStrikeThrough:function(){return this.toggleAttributeIfSupported("strike")},formatSubscript:function(){return this.toggleAttributeIfSupported("sub")},formatSuperscript:function(){return this.toggleAttributeIfSupported("sup")},formatUnderline:function(){return this.toggleAttributeIfSupported("underline")},historyRedo:function(){var e;return null!=(e=this.delegate)?e.inputControllerWillPerformRedo():void 0},historyUndo:function(){var e;return null!=(e=this.delegate)?e.inputControllerWillPerformUndo():void 0},insertCompositionText:function(){return this.composing=!0,this.insertString(this.event.data)},insertFromComposition:function(){return this.composing=!1,this.insertString(this.event.data)},insertFromDrop:function(){var e,t;return(e=this.deleteByDragRange)?(this.deleteByDragRange=null,null!=(t=this.delegate)&&t.inputControllerWillMoveText(),this.withTargetDOMRange((function(){var t;return null!=(t=this.responder)?t.moveTextFromRange(e):void 0}))):void 0},insertFromPaste:function(){var t,n,r,o,a,s,l,c,u,d,f;return t=this.event.dataTransfer,a={dataTransfer:t},(n=t.getData("URL"))?(this.event.preventDefault(),a.type="text/html",f=(o=t.getData("public.url-name"))?i.squishBreakableWhitespace(o).trim():n,a.html=this.createLinkHTML(n,f),null!=(s=this.delegate)&&s.inputControllerWillPaste(a),this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.insertHTML(a.html):void 0})),this.afterRender=function(e){return function(){var t;return null!=(t=e.delegate)?t.inputControllerDidPaste(a):void 0}}(this)):e(t)?(a.type="text/plain",a.string=t.getData("text/plain"),null!=(l=this.delegate)&&l.inputControllerWillPaste(a),this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.insertString(a.string):void 0})),this.afterRender=function(e){return function(){var t;return null!=(t=e.delegate)?t.inputControllerDidPaste(a):void 0}}(this)):(r=t.getData("text/html"))?(this.event.preventDefault(),a.type="text/html",a.html=r,null!=(c=this.delegate)&&c.inputControllerWillPaste(a),this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.insertHTML(a.html):void 0})),this.afterRender=function(e){return function(){var t;return null!=(t=e.delegate)?t.inputControllerDidPaste(a):void 0}}(this)):(null!=(u=t.files)?u.length:void 0)?(a.type="File",a.file=t.files[0],null!=(d=this.delegate)&&d.inputControllerWillPaste(a),this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.insertFile(a.file):void 0})),this.afterRender=function(e){return function(){var t;return null!=(t=e.delegate)?t.inputControllerDidPaste(a):void 0}}(this)):void 0},insertFromYank:function(){return this.insertString(this.event.data)},insertLineBreak:function(){return this.insertString("\n")},insertLink:function(){return this.activateAttributeIfSupported("href",this.event.data)},insertOrderedList:function(){return this.toggleAttributeIfSupported("number")},insertParagraph:function(){var e;return null!=(e=this.delegate)&&e.inputControllerWillPerformTyping(),this.withTargetDOMRange((function(){var e;return null!=(e=this.responder)?e.insertLineBreak():void 0}))},insertReplacementText:function(){return this.insertString(this.event.dataTransfer.getData("text/plain"),{updatePosition:!1})},insertText:function(){var e,t;return this.insertString(null!=(e=this.event.data)?e:null!=(t=this.event.dataTransfer)?t.getData("text/plain"):void 0)},insertTranspose:function(){return this.insertString(this.event.data)},insertUnorderedList:function(){return this.toggleAttributeIfSupported("bullet")}},l.prototype.insertString=function(e,t){var n;return null==e&&(e=""),null!=(n=this.delegate)&&n.inputControllerWillPerformTyping(),this.withTargetDOMRange((function(){var n;return null!=(n=this.responder)?n.insertString(e,t):void 0}))},l.prototype.toggleAttributeIfSupported=function(e){var t;return s.call(i.getAllAttributeNames(),e)>=0?(null!=(t=this.delegate)&&t.inputControllerWillPerformFormatting(e),this.withTargetDOMRange((function(){var t;return null!=(t=this.responder)?t.toggleCurrentAttribute(e):void 0}))):void 0},l.prototype.activateAttributeIfSupported=function(e,t){var n;return s.call(i.getAllAttributeNames(),e)>=0?(null!=(n=this.delegate)&&n.inputControllerWillPerformFormatting(e),this.withTargetDOMRange((function(){var n;return null!=(n=this.responder)?n.setCurrentAttribute(e,t):void 0}))):void 0},l.prototype.deleteInDirection=function(e,t){var n,r,o;return(null!=t?t:{recordUndoEntry:!0}).recordUndoEntry&&null!=(o=this.delegate)&&o.inputControllerWillPerformTyping(),r=function(t){return function(){var n;return null!=(n=t.responder)?n.deleteInDirection(e):void 0}}(this),(n=this.getTargetDOMRange({minLength:2}))?this.withTargetDOMRange(n,r):r()},l.prototype.withTargetDOMRange=function(e,t){var n;return"function"==typeof e&&(t=e,e=this.getTargetDOMRange()),e?null!=(n=this.responder)?n.withTargetDOMRange(e,t.bind(this)):void 0:(i.selectionChangeObserver.reset(),t.call(this))},l.prototype.getTargetDOMRange=function(e){var t,n,r,o;return r=(null!=e?e:{minLength:0}).minLength,(o="function"==typeof(t=this.event).getTargetRanges?t.getTargetRanges():void 0)&&o.length&&(n=h(o[0]),0===r||n.toString().length>=r)?n:void 0},h=function(e){var t;return(t=document.createRange()).setStart(e.startContainer,e.startOffset),t.setEnd(e.endContainer,e.endOffset),t},l.prototype.withEvent=function(e,t){var n;this.event=e;try{n=t.call(this)}finally{this.event=null}return n},c=function(e){var t,n;return s.call(null!=(t=null!=(n=e.dataTransfer)?n.types:void 0)?t:[],"Files")>=0},d=function(e){var t;return(t=e.clipboardData)?s.call(t.types,"Files")>=0&&1===t.types.length&&t.files.length>=1:void 0},f=function(e){var t;return(t=e.clipboardData)?s.call(t.types,"text/plain")>=0&&1===t.types.length:void 0},u=function(e){var t;return t=[],e.altKey&&t.push("alt"),e.shiftKey&&t.push("shift"),t.push(e.key),t},p=function(e){return{x:e.clientX,y:e.clientY}},l}(i.InputController)}.call(this),function(){var e,t,n,r,o,a,s,l,c=function(e,t){return function(){return e.apply(t,arguments)}},u=function(e,t){function n(){this.constructor=e}for(var r in t)d.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},d={}.hasOwnProperty;t=i.defer,n=i.handleEvent,a=i.makeElement,l=i.tagName,s=i.config,o=s.lang,e=s.css,r=s.keyNames,i.AttachmentEditorController=function(s){function d(e,t,n,r){this.attachmentPiece=e,this.element=t,this.container=n,this.options=null!=r?r:{},this.didBlurCaption=c(this.didBlurCaption,this),this.didChangeCaption=c(this.didChangeCaption,this),this.didInputCaption=c(this.didInputCaption,this),this.didKeyDownCaption=c(this.didKeyDownCaption,this),this.didClickActionButton=c(this.didClickActionButton,this),this.didClickToolbar=c(this.didClickToolbar,this),this.attachment=this.attachmentPiece.attachment,"a"===l(this.element)&&(this.element=this.element.firstChild),this.install()}var f;return u(d,s),f=function(e){return function(){var t;return(t=e.apply(this,arguments)).do(),null==this.undos&&(this.undos=[]),this.undos.push(t.undo)}},d.prototype.install=function(){return this.makeElementMutable(),this.addToolbar(),this.attachment.isPreviewable()?this.installCaptionEditor():void 0},d.prototype.uninstall=function(){var e,t;for(this.savePendingCaption();t=this.undos.pop();)t();return null!=(e=this.delegate)?e.didUninstallAttachmentEditor(this):void 0},d.prototype.savePendingCaption=function(){var e,t,n;return null!=this.pendingCaption?(e=this.pendingCaption,this.pendingCaption=null,e?null!=(t=this.delegate)&&"function"==typeof t.attachmentEditorDidRequestUpdatingAttributesForAttachment?t.attachmentEditorDidRequestUpdatingAttributesForAttachment({caption:e},this.attachment):void 0:null!=(n=this.delegate)&&"function"==typeof n.attachmentEditorDidRequestRemovingAttributeForAttachment?n.attachmentEditorDidRequestRemovingAttributeForAttachment("caption",this.attachment):void 0):void 0},d.prototype.makeElementMutable=f((function(){return{do:function(e){return function(){return e.element.dataset.trixMutable=!0}}(this),undo:function(e){return function(){return delete e.element.dataset.trixMutable}}(this)}})),d.prototype.addToolbar=f((function(){var t;return t=a({tagName:"div",className:e.attachmentToolbar,data:{trixMutable:!0},childNodes:a({tagName:"div",className:"trix-button-row",childNodes:a({tagName:"span",className:"trix-button-group trix-button-group--actions",childNodes:a({tagName:"button",className:"trix-button trix-button--remove",textContent:o.remove,attributes:{title:o.remove},data:{trixAction:"remove"}})})})}),this.attachment.isPreviewable()&&t.appendChild(a({tagName:"div",className:e.attachmentMetadataContainer,childNodes:a({tagName:"span",className:e.attachmentMetadata,childNodes:[a({tagName:"span",className:e.attachmentName,textContent:this.attachment.getFilename(),attributes:{title:this.attachment.getFilename()}}),a({tagName:"span",className:e.attachmentSize,textContent:this.attachment.getFormattedFilesize()})]})})),n("click",{onElement:t,withCallback:this.didClickToolbar}),n("click",{onElement:t,matchingSelector:"[data-trix-action]",withCallback:this.didClickActionButton}),{do:function(e){return function(){return e.element.appendChild(t)}}(this),undo:function(){return i.removeNode(t)}}})),d.prototype.installCaptionEditor=f((function(){var r,s,l,c,u;return(c=a({tagName:"textarea",className:e.attachmentCaptionEditor,attributes:{placeholder:o.captionPlaceholder},data:{trixMutable:!0}})).value=this.attachmentPiece.getCaption(),(u=c.cloneNode()).classList.add("trix-autoresize-clone"),u.tabIndex=-1,r=function(){return u.value=c.value,c.style.height=u.scrollHeight+"px"},n("input",{onElement:c,withCallback:r}),n("input",{onElement:c,withCallback:this.didInputCaption}),n("keydown",{onElement:c,withCallback:this.didKeyDownCaption}),n("change",{onElement:c,withCallback:this.didChangeCaption}),n("blur",{onElement:c,withCallback:this.didBlurCaption}),l=this.element.querySelector("figcaption"),s=l.cloneNode(),{do:function(n){return function(){return l.style.display="none",s.appendChild(c),s.appendChild(u),s.classList.add(e.attachmentCaption+"--editing"),l.parentElement.insertBefore(s,l),r(),n.options.editCaption?t((function(){return c.focus()})):void 0}}(this),undo:function(){return i.removeNode(s),l.style.display=null}}})),d.prototype.didClickToolbar=function(e){return e.preventDefault(),e.stopPropagation()},d.prototype.didClickActionButton=function(e){var t;if("remove"===e.target.getAttribute("data-trix-action"))return null!=(t=this.delegate)?t.attachmentEditorDidRequestRemovalOfAttachment(this.attachment):void 0},d.prototype.didKeyDownCaption=function(e){var t;return"return"===r[e.keyCode]?(e.preventDefault(),this.savePendingCaption(),null!=(t=this.delegate)&&"function"==typeof t.attachmentEditorDidRequestDeselectingAttachment?t.attachmentEditorDidRequestDeselectingAttachment(this.attachment):void 0):void 0},d.prototype.didInputCaption=function(e){return this.pendingCaption=e.target.value.replace(/\s/g," ").trim()},d.prototype.didChangeCaption=function(){return this.savePendingCaption()},d.prototype.didBlurCaption=function(){return this.savePendingCaption()},d}(i.BasicObject)}.call(this),function(){var e,t,n,r=function(e,t){function n(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=i.makeElement,e=i.config.css,i.AttachmentView=function(o){function a(){a.__super__.constructor.apply(this,arguments),this.attachment=this.object,this.attachment.uploadProgressDelegate=this,this.attachmentPiece=this.options.piece}var s;return r(a,o),a.attachmentSelector="[data-trix-attachment]",a.prototype.createContentNodes=function(){return[]},a.prototype.createNodes=function(){var t,r,o,i,a,l,c;if(t=i=n({tagName:"figure",className:this.getClassName(),data:this.getData(),editable:!1}),(r=this.getHref())&&(i=n({tagName:"a",editable:!1,attributes:{href:r,tabindex:-1}}),t.appendChild(i)),this.attachment.hasContent())i.innerHTML=this.attachment.getContent();else for(o=0,a=(c=this.createContentNodes()).length;a>o;o++)l=c[o],i.appendChild(l);return i.appendChild(this.createCaptionElement()),this.attachment.isPending()&&(this.progressElement=n({tagName:"progress",attributes:{class:e.attachmentProgress,value:this.attachment.getUploadProgress(),max:100},data:{trixMutable:!0,trixStoreKey:["progressElement",this.attachment.id].join("/")}}),t.appendChild(this.progressElement)),[s("left"),t,s("right")]},a.prototype.createCaptionElement=function(){var t,r,o,i,a,s,l;return o=n({tagName:"figcaption",className:e.attachmentCaption}),(t=this.attachmentPiece.getCaption())?(o.classList.add(e.attachmentCaption+"--edited"),o.textContent=t):((r=this.getCaptionConfig()).name&&(i=this.attachment.getFilename()),r.size&&(s=this.attachment.getFormattedFilesize()),i&&(a=n({tagName:"span",className:e.attachmentName,textContent:i}),o.appendChild(a)),s&&(i&&o.appendChild(document.createTextNode(" ")),l=n({tagName:"span",className:e.attachmentSize,textContent:s}),o.appendChild(l))),o},a.prototype.getClassName=function(){var t,n;return n=[e.attachment,e.attachment+"--"+this.attachment.getType()],(t=this.attachment.getExtension())&&n.push(e.attachment+"--"+t),n.join(" ")},a.prototype.getData=function(){var e,t;return t={trixAttachment:JSON.stringify(this.attachment),trixContentType:this.attachment.getContentType(),trixId:this.attachment.id},(e=this.attachmentPiece.attributes).isEmpty()||(t.trixAttributes=JSON.stringify(e)),this.attachment.isPending()&&(t.trixSerialize=!1),t},a.prototype.getHref=function(){return t(this.attachment.getContent(),"a")?void 0:this.attachment.getHref()},a.prototype.getCaptionConfig=function(){var e,t,n;return n=this.attachment.getType(),e=i.copyObject(null!=(t=i.config.attachments[n])?t.caption:void 0),"file"===n&&(e.name=!0),e},a.prototype.findProgressElement=function(){var e;return null!=(e=this.findElement())?e.querySelector("progress"):void 0},s=function(e){return n({tagName:"span",textContent:i.ZERO_WIDTH_SPACE,data:{trixCursorTarget:e,trixSerialize:!1}})},a.prototype.attachmentDidChangeUploadProgress=function(){var e,t;return t=this.attachment.getUploadProgress(),null!=(e=this.findProgressElement())?e.value=t:void 0},a}(i.ObjectView),t=function(e,t){var r;return(r=n("div")).innerHTML=null!=e?e:"",r.querySelector(t)}}.call(this),function(){var e,t=function(e,t){function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;e=i.makeElement,i.PreviewableAttachmentView=function(n){function r(){r.__super__.constructor.apply(this,arguments),this.attachment.previewDelegate=this}return t(r,n),r.prototype.createContentNodes=function(){return this.image=e({tagName:"img",attributes:{src:""},data:{trixMutable:!0}}),this.refresh(this.image),[this.image]},r.prototype.createCaptionElement=function(){var e;return(e=r.__super__.createCaptionElement.apply(this,arguments)).textContent||e.setAttribute("data-trix-placeholder",i.config.lang.captionPlaceholder),e},r.prototype.refresh=function(e){var t;return null==e&&(e=null!=(t=this.findElement())?t.querySelector("img"):void 0),e?this.updateAttributesForImage(e):void 0},r.prototype.updateAttributesForImage=function(e){var t,n,r,o,i,a;return i=this.attachment.getURL(),n=this.attachment.getPreviewURL(),e.src=n||i,n===i?e.removeAttribute("data-trix-serialized-attributes"):(r=JSON.stringify({src:i}),e.setAttribute("data-trix-serialized-attributes",r)),a=this.attachment.getWidth(),t=this.attachment.getHeight(),null!=a&&(e.width=a),null!=t&&(e.height=t),o=["imageElement",this.attachment.id,e.src,e.width,e.height].join("/"),e.dataset.trixStoreKey=o},r.prototype.attachmentDidChangeAttributes=function(){return this.refresh(this.image),this.refresh()},r}(i.AttachmentView)}.call(this),function(){var e,t,n,r=function(e,t){function n(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=i.makeElement,e=i.findInnerElement,t=i.getTextConfig,i.PieceView=function(o){function a(){var e;a.__super__.constructor.apply(this,arguments),this.piece=this.object,this.attributes=this.piece.getAttributes(),e=this.options,this.textConfig=e.textConfig,this.context=e.context,this.piece.attachment?this.attachment=this.piece.attachment:this.string=this.piece.toString()}var s;return r(a,o),a.prototype.createNodes=function(){var t,n,r,o,i,a;if(a=this.attachment?this.createAttachmentNodes():this.createStringNodes(),t=this.createElement()){for(r=e(t),n=0,o=a.length;o>n;n++)i=a[n],r.appendChild(i);a=[t]}return a},a.prototype.createAttachmentNodes=function(){var e;return e=this.attachment.isPreviewable()?i.PreviewableAttachmentView:i.AttachmentView,this.createChildView(e,this.piece.attachment,{piece:this.piece}).getNodes()},a.prototype.createStringNodes=function(){var e,t,r,o,i,a,s,l,c;if(null!=(s=this.textConfig)?s.plaintext:void 0)return[document.createTextNode(this.string)];for(a=[],r=t=0,o=(l=this.string.split("\n")).length;o>t;r=++t)c=l[r],r>0&&(e=n("br"),a.push(e)),c.length&&(i=document.createTextNode(this.preserveSpaces(c)),a.push(i));return a},a.prototype.createElement=function(){var e,r,o,i,a,s,l,c,u;for(i in c={},s=this.attributes)if(u=s[i],(e=t(i))&&(e.tagName&&(a=n(e.tagName),o?(o.appendChild(a),o=a):r=o=a),e.styleProperty&&(c[e.styleProperty]=u),e.style))for(i in l=e.style)u=l[i],c[i]=u;if(Object.keys(c).length)for(i in null==r&&(r=n("span")),c)u=c[i],r.style[i]=u;return r},a.prototype.createContainerElement=function(){var e,r,o,i,a;for(o in i=this.attributes)if(a=i[o],(r=t(o))&&r.groupTagName)return(e={})[o]=a,n(r.groupTagName,e)},s=i.NON_BREAKING_SPACE,a.prototype.preserveSpaces=function(e){return this.context.isLast&&(e=e.replace(/\ $/,s)),e=e.replace(/(\S)\ {3}(\S)/g,"$1 "+s+" $2").replace(/\ {2}/g,s+" ").replace(/\ {2}/g," "+s),(this.context.isFirst||this.context.followsWhitespace)&&(e=e.replace(/^\ /,s)),e},a}(i.ObjectView)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.TextView=function(t){function n(){n.__super__.constructor.apply(this,arguments),this.text=this.object,this.textConfig=this.options.textConfig}var r;return e(n,t),n.prototype.createNodes=function(){var e,t,n,o,a,s,l,c,u,d;for(s=[],o=(c=i.ObjectGroup.groupObjects(this.getPieces())).length-1,n=t=0,a=c.length;a>t;n=++t)l=c[n],e={},0===n&&(e.isFirst=!0),n===o&&(e.isLast=!0),r(u)&&(e.followsWhitespace=!0),d=this.findOrCreateCachedChildView(i.PieceView,l,{textConfig:this.textConfig,context:e}),s.push.apply(s,d.getNodes()),u=l;return s},n.prototype.getPieces=function(){var e,t,n,r,o;for(o=[],e=0,t=(r=this.text.getPieces()).length;t>e;e++)(n=r[e]).hasAttribute("blockBreak")||o.push(n);return o},r=function(e){return/\s$/.test(null!=e?e.toString():void 0)},n}(i.ObjectView)}.call(this),function(){var e,t,n,r=function(e,t){function n(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty;n=i.makeElement,t=i.getBlockConfig,e=i.config.css,i.BlockView=function(o){function a(){a.__super__.constructor.apply(this,arguments),this.block=this.object,this.attributes=this.block.getAttributes()}return r(a,o),a.prototype.createNodes=function(){var e,r,o,a,s,l,c,u,d,f;if(l=[document.createComment("block")],this.block.isEmpty()?l.push(n("br")):(d=null!=(c=t(this.block.getLastAttribute()))?c.text:void 0,f=this.findOrCreateCachedChildView(i.TextView,this.block.text,{textConfig:d}),l.push.apply(l,f.getNodes()),this.shouldAddExtraNewlineElement()&&l.push(n("br"))),this.attributes.length)return l;for(u=i.config.blockAttributes.default.tagName,this.block.isRTL()&&(e={dir:"rtl"}),r=n({tagName:u,attributes:e}),o=0,a=l.length;a>o;o++)s=l[o],r.appendChild(s);return[r]},a.prototype.createContainerElement=function(r){var o,i,a,s,l;return o=this.attributes[r],l=t(o).tagName,0===r&&this.block.isRTL()&&(i={dir:"rtl"}),"attachmentGallery"===o&&(s=this.block.getBlockBreakPosition(),a=e.attachmentGallery+" "+e.attachmentGallery+"--"+s),n({tagName:l,className:a,attributes:i})},a.prototype.shouldAddExtraNewlineElement=function(){return/\n\n$/.test(this.block.toString())},a}(i.ObjectView)}.call(this),function(){var e,t,n=function(e,t){function n(){this.constructor=e}for(var o in t)r.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty;e=i.defer,t=i.makeElement,i.DocumentView=function(r){function o(){o.__super__.constructor.apply(this,arguments),this.element=this.options.element,this.elementStore=new i.ElementStore,this.setDocument(this.object)}var a,s,l;return n(o,r),o.render=function(e){var n,r;return(r=new this(e,{element:n=t("div")})).render(),r.sync(),n},o.prototype.setDocument=function(e){return e.isEqualTo(this.document)?void 0:this.document=this.object=e},o.prototype.render=function(){var e,n,r,o,a,s,l;if(this.childViews=[],this.shadowElement=t("div"),!this.document.isEmpty()){for(s=[],e=0,n=(a=i.ObjectGroup.groupObjects(this.document.getBlocks(),{asTree:!0})).length;n>e;e++)o=a[e],l=this.findOrCreateCachedChildView(i.BlockView,o),s.push(function(){var e,t,n,o;for(o=[],e=0,t=(n=l.getNodes()).length;t>e;e++)r=n[e],o.push(this.shadowElement.appendChild(r));return o}.call(this));return s}},o.prototype.isSynced=function(){return a(this.shadowElement,this.element)},o.prototype.sync=function(){var e;for(e=this.createDocumentFragmentForSync();this.element.lastChild;)this.element.removeChild(this.element.lastChild);return this.element.appendChild(e),this.didSync()},o.prototype.didSync=function(){return this.elementStore.reset(s(this.element)),e(function(e){return function(){return e.garbageCollectCachedViews()}}(this))},o.prototype.createDocumentFragmentForSync=function(){var e,t,n,r,o,i,a,l,c,u;for(t=document.createDocumentFragment(),n=0,o=(l=this.shadowElement.childNodes).length;o>n;n++)a=l[n],t.appendChild(a.cloneNode(!0));for(r=0,i=(c=s(t)).length;i>r;r++)e=c[r],(u=this.elementStore.remove(e))&&e.parentNode.replaceChild(u,e);return t},s=function(e){return e.querySelectorAll("[data-trix-store-key]")},a=function(e,t){return l(e.innerHTML)===l(t.innerHTML)},l=function(e){return e.replace(/&nbsp;/g," ")},o}(i.ObjectView)}.call(this),function(){var e,t,n,r,o,a=function(e,t){return function(){return e.apply(t,arguments)}},s=function(e,t){function n(){this.constructor=e}for(var r in t)l.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},l={}.hasOwnProperty;n=i.findClosestElementFromNode,r=i.handleEvent,o=i.innerElementIsActive,t=i.defer,e=i.AttachmentView.attachmentSelector,i.CompositionController=function(l){function c(t,n){this.element=t,this.composition=n,this.didClickAttachment=a(this.didClickAttachment,this),this.didBlur=a(this.didBlur,this),this.didFocus=a(this.didFocus,this),this.documentView=new i.DocumentView(this.composition.document,{element:this.element}),r("focus",{onElement:this.element,withCallback:this.didFocus}),r("blur",{onElement:this.element,withCallback:this.didBlur}),r("click",{onElement:this.element,matchingSelector:"a[contenteditable=false]",preventDefault:!0}),r("mousedown",{onElement:this.element,matchingSelector:e,withCallback:this.didClickAttachment}),r("click",{onElement:this.element,matchingSelector:"a"+e,preventDefault:!0})}return s(c,l),c.prototype.didFocus=function(){var e,t,n;return e=function(e){return function(){var t;return e.focused?void 0:(e.focused=!0,null!=(t=e.delegate)&&"function"==typeof t.compositionControllerDidFocus?t.compositionControllerDidFocus():void 0)}}(this),null!=(t=null!=(n=this.blurPromise)?n.then(e):void 0)?t:e()},c.prototype.didBlur=function(){return this.blurPromise=new Promise(function(e){return function(n){return t((function(){var t;return o(e.element)||(e.focused=null,null!=(t=e.delegate)&&"function"==typeof t.compositionControllerDidBlur&&t.compositionControllerDidBlur()),e.blurPromise=null,n()}))}}(this))},c.prototype.didClickAttachment=function(e,t){var r,o,i;return r=this.findAttachmentForElement(t),o=null!=n(e.target,{matchingSelector:"figcaption"}),null!=(i=this.delegate)&&"function"==typeof i.compositionControllerDidSelectAttachment?i.compositionControllerDidSelectAttachment(r,{editCaption:o}):void 0},c.prototype.getSerializableElement=function(){return this.isEditingAttachment()?this.documentView.shadowElement:this.element},c.prototype.render=function(){var e,t,n;return this.revision!==this.composition.revision&&(this.documentView.setDocument(this.composition.document),this.documentView.render(),this.revision=this.composition.revision),this.canSyncDocumentView()&&!this.documentView.isSynced()&&(null!=(e=this.delegate)&&"function"==typeof e.compositionControllerWillSyncDocumentView&&e.compositionControllerWillSyncDocumentView(),this.documentView.sync(),null!=(t=this.delegate)&&"function"==typeof t.compositionControllerDidSyncDocumentView&&t.compositionControllerDidSyncDocumentView()),null!=(n=this.delegate)&&"function"==typeof n.compositionControllerDidRender?n.compositionControllerDidRender():void 0},c.prototype.rerenderViewForObject=function(e){return this.invalidateViewForObject(e),this.render()},c.prototype.invalidateViewForObject=function(e){return this.documentView.invalidateViewForObject(e)},c.prototype.isViewCachingEnabled=function(){return this.documentView.isViewCachingEnabled()},c.prototype.enableViewCaching=function(){return this.documentView.enableViewCaching()},c.prototype.disableViewCaching=function(){return this.documentView.disableViewCaching()},c.prototype.refreshViewCache=function(){return this.documentView.garbageCollectCachedViews()},c.prototype.isEditingAttachment=function(){return null!=this.attachmentEditor},c.prototype.installAttachmentEditorForAttachment=function(e,t){var n,r,o;if((null!=(o=this.attachmentEditor)?o.attachment:void 0)!==e&&(r=this.documentView.findElementForObject(e)))return this.uninstallAttachmentEditor(),n=this.composition.document.getAttachmentPieceForAttachment(e),this.attachmentEditor=new i.AttachmentEditorController(n,r,this.element,t),this.attachmentEditor.delegate=this},c.prototype.uninstallAttachmentEditor=function(){var e;return null!=(e=this.attachmentEditor)?e.uninstall():void 0},c.prototype.didUninstallAttachmentEditor=function(){return this.attachmentEditor=null,this.render()},c.prototype.attachmentEditorDidRequestUpdatingAttributesForAttachment=function(e,t){var n;return null!=(n=this.delegate)&&"function"==typeof n.compositionControllerWillUpdateAttachment&&n.compositionControllerWillUpdateAttachment(t),this.composition.updateAttributesForAttachment(e,t)},c.prototype.attachmentEditorDidRequestRemovingAttributeForAttachment=function(e,t){var n;return null!=(n=this.delegate)&&"function"==typeof n.compositionControllerWillUpdateAttachment&&n.compositionControllerWillUpdateAttachment(t),this.composition.removeAttributeForAttachment(e,t)},c.prototype.attachmentEditorDidRequestRemovalOfAttachment=function(e){var t;return null!=(t=this.delegate)&&"function"==typeof t.compositionControllerDidRequestRemovalOfAttachment?t.compositionControllerDidRequestRemovalOfAttachment(e):void 0},c.prototype.attachmentEditorDidRequestDeselectingAttachment=function(e){var t;return null!=(t=this.delegate)&&"function"==typeof t.compositionControllerDidRequestDeselectingAttachment?t.compositionControllerDidRequestDeselectingAttachment(e):void 0},c.prototype.canSyncDocumentView=function(){return!this.isEditingAttachment()},c.prototype.findAttachmentForElement=function(e){return this.composition.document.getAttachmentById(parseInt(e.dataset.trixId,10))},c}(i.BasicObject)}.call(this),function(){var e,t,n,r=function(e,t){return function(){return e.apply(t,arguments)}},o=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty;t=i.handleEvent,n=i.triggerEvent,e=i.findClosestElementFromNode,i.ToolbarController=function(i){function a(e){this.element=e,this.didKeyDownDialogInput=r(this.didKeyDownDialogInput,this),this.didClickDialogButton=r(this.didClickDialogButton,this),this.didClickAttributeButton=r(this.didClickAttributeButton,this),this.didClickActionButton=r(this.didClickActionButton,this),this.attributes={},this.actions={},this.resetDialogInputs(),t("mousedown",{onElement:this.element,matchingSelector:s,withCallback:this.didClickActionButton}),t("mousedown",{onElement:this.element,matchingSelector:l,withCallback:this.didClickAttributeButton}),t("click",{onElement:this.element,matchingSelector:g,preventDefault:!0}),t("click",{onElement:this.element,matchingSelector:c,withCallback:this.didClickDialogButton}),t("keydown",{onElement:this.element,matchingSelector:u,withCallback:this.didKeyDownDialogInput})}var s,l,c,u,d,f,p,h,m,g;return o(a,i),g=(l="[data-trix-attribute]")+", "+(s="[data-trix-action]"),(d="[data-trix-dialog]")+"[data-trix-active]",c=d+" [data-trix-method]",u=d+" [data-trix-input]",a.prototype.didClickActionButton=function(e,t){var n,r,o;return null!=(r=this.delegate)&&r.toolbarDidClickButton(),e.preventDefault(),n=f(t),this.getDialog(n)?this.toggleDialog(n):null!=(o=this.delegate)?o.toolbarDidInvokeAction(n):void 0},a.prototype.didClickAttributeButton=function(e,t){var n,r,o;return null!=(r=this.delegate)&&r.toolbarDidClickButton(),e.preventDefault(),n=p(t),this.getDialog(n)?this.toggleDialog(n):null!=(o=this.delegate)&&o.toolbarDidToggleAttribute(n),this.refreshAttributeButtons()},a.prototype.didClickDialogButton=function(t,n){var r;return r=e(n,{matchingSelector:d}),this[n.getAttribute("data-trix-method")].call(this,r)},a.prototype.didKeyDownDialogInput=function(e,t){var n,r;return 13===e.keyCode&&(e.preventDefault(),n=t.getAttribute("name"),r=this.getDialog(n),this.setAttribute(r)),27===e.keyCode?(e.preventDefault(),this.hideDialog()):void 0},a.prototype.updateActions=function(e){return this.actions=e,this.refreshActionButtons()},a.prototype.refreshActionButtons=function(){return this.eachActionButton(function(e){return function(t,n){return t.disabled=!1===e.actions[n]}}(this))},a.prototype.eachActionButton=function(e){var t,n,r,o,i;for(i=[],n=0,r=(o=this.element.querySelectorAll(s)).length;r>n;n++)t=o[n],i.push(e(t,f(t)));return i},a.prototype.updateAttributes=function(e){return this.attributes=e,this.refreshAttributeButtons()},a.prototype.refreshAttributeButtons=function(){return this.eachAttributeButton(function(e){return function(t,n){return t.disabled=!1===e.attributes[n],e.attributes[n]||e.dialogIsVisible(n)?(t.setAttribute("data-trix-active",""),t.classList.add("trix-active")):(t.removeAttribute("data-trix-active"),t.classList.remove("trix-active"))}}(this))},a.prototype.eachAttributeButton=function(e){var t,n,r,o,i;for(i=[],n=0,r=(o=this.element.querySelectorAll(l)).length;r>n;n++)t=o[n],i.push(e(t,p(t)));return i},a.prototype.applyKeyboardCommand=function(e){var t,r,o,i,a,s;for(i=JSON.stringify(e.sort()),o=0,a=(s=this.element.querySelectorAll("[data-trix-key]")).length;a>o;o++)if(r=(t=s[o]).getAttribute("data-trix-key").split("+"),JSON.stringify(r.sort())===i)return n("mousedown",{onElement:t}),!0;return!1},a.prototype.dialogIsVisible=function(e){var t;return(t=this.getDialog(e))?t.hasAttribute("data-trix-active"):void 0},a.prototype.toggleDialog=function(e){return this.dialogIsVisible(e)?this.hideDialog():this.showDialog(e)},a.prototype.showDialog=function(e){var t,n,r,o,i,a,s,l,c;for(this.hideDialog(),null!=(a=this.delegate)&&a.toolbarWillShowDialog(),(n=this.getDialog(e)).setAttribute("data-trix-active",""),n.classList.add("trix-active"),r=0,i=(s=n.querySelectorAll("input[disabled]")).length;i>r;r++)s[r].removeAttribute("disabled");return(t=p(n))&&(o=m(n,e))&&(o.value=null!=(l=this.attributes[t])?l:"",o.select()),null!=(c=this.delegate)?c.toolbarDidShowDialog(e):void 0},a.prototype.setAttribute=function(e){var t,n,r;return t=p(e),(n=m(e,t)).willValidate&&!n.checkValidity()?(n.setAttribute("data-trix-validate",""),n.classList.add("trix-validate"),n.focus()):(null!=(r=this.delegate)&&r.toolbarDidUpdateAttribute(t,n.value),this.hideDialog())},a.prototype.removeAttribute=function(e){var t,n;return t=p(e),null!=(n=this.delegate)&&n.toolbarDidRemoveAttribute(t),this.hideDialog()},a.prototype.hideDialog=function(){var e,t;return(e=this.element.querySelector("[data-trix-dialog][data-trix-active]"))?(e.removeAttribute("data-trix-active"),e.classList.remove("trix-active"),this.resetDialogInputs(),null!=(t=this.delegate)?t.toolbarDidHideDialog(h(e)):void 0):void 0},a.prototype.resetDialogInputs=function(){var e,t,n,r,o;for(o=[],e=0,n=(r=this.element.querySelectorAll(u)).length;n>e;e++)(t=r[e]).setAttribute("disabled","disabled"),t.removeAttribute("data-trix-validate"),o.push(t.classList.remove("trix-validate"));return o},a.prototype.getDialog=function(e){return this.element.querySelector("[data-trix-dialog="+e+"]")},m=function(e,t){return null==t&&(t=p(e)),e.querySelector("[data-trix-input][name='"+t+"']")},f=function(e){return e.getAttribute("data-trix-action")},p=function(e){var t;return null!=(t=e.getAttribute("data-trix-attribute"))?t:e.getAttribute("data-trix-dialog-attribute")},h=function(e){return e.getAttribute("data-trix-dialog")},a}(i.BasicObject)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.ImagePreloadOperation=function(t){function n(e){this.url=e}return e(n,t),n.prototype.perform=function(e){var t;return(t=new Image).onload=function(n){return function(){return t.width=n.width=t.naturalWidth,t.height=n.height=t.naturalHeight,e(!0,t)}}(this),t.onerror=function(){return e(!1)},t.src=this.url},n}(i.Operation)}.call(this),function(){var e=function(e,t){return function(){return e.apply(t,arguments)}},t=function(e,t){function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;i.Attachment=function(n){function r(t){null==t&&(t={}),this.releaseFile=e(this.releaseFile,this),r.__super__.constructor.apply(this,arguments),this.attributes=i.Hash.box(t),this.didChangeAttributes()}return t(r,n),r.previewablePattern=/^image(\/(gif|png|jpe?g)|$)/,r.attachmentForFile=function(e){var t;return(t=new this(this.attributesForFile(e))).setFile(e),t},r.attributesForFile=function(e){return new i.Hash({filename:e.name,filesize:e.size,contentType:e.type})},r.fromJSON=function(e){return new this(e)},r.prototype.getAttribute=function(e){return this.attributes.get(e)},r.prototype.hasAttribute=function(e){return this.attributes.has(e)},r.prototype.getAttributes=function(){return this.attributes.toObject()},r.prototype.setAttributes=function(e){var t,n,r;return null==e&&(e={}),t=this.attributes.merge(e),this.attributes.isEqualTo(t)?void 0:(this.attributes=t,this.didChangeAttributes(),null!=(n=this.previewDelegate)&&"function"==typeof n.attachmentDidChangeAttributes&&n.attachmentDidChangeAttributes(this),null!=(r=this.delegate)&&"function"==typeof r.attachmentDidChangeAttributes?r.attachmentDidChangeAttributes(this):void 0)},r.prototype.didChangeAttributes=function(){return this.isPreviewable()?this.preloadURL():void 0},r.prototype.isPending=function(){return null!=this.file&&!(this.getURL()||this.getHref())},r.prototype.isPreviewable=function(){return this.attributes.has("previewable")?this.attributes.get("previewable"):this.constructor.previewablePattern.test(this.getContentType())},r.prototype.getType=function(){return this.hasContent()?"content":this.isPreviewable()?"preview":"file"},r.prototype.getURL=function(){return this.attributes.get("url")},r.prototype.getHref=function(){return this.attributes.get("href")},r.prototype.getFilename=function(){var e;return null!=(e=this.attributes.get("filename"))?e:""},r.prototype.getFilesize=function(){return this.attributes.get("filesize")},r.prototype.getFormattedFilesize=function(){var e;return"number"==typeof(e=this.attributes.get("filesize"))?i.config.fileSize.formatter(e):""},r.prototype.getExtension=function(){var e;return null!=(e=this.getFilename().match(/\.(\w+)$/))?e[1].toLowerCase():void 0},r.prototype.getContentType=function(){return this.attributes.get("contentType")},r.prototype.hasContent=function(){return this.attributes.has("content")},r.prototype.getContent=function(){return this.attributes.get("content")},r.prototype.getWidth=function(){return this.attributes.get("width")},r.prototype.getHeight=function(){return this.attributes.get("height")},r.prototype.getFile=function(){return this.file},r.prototype.setFile=function(e){return this.file=e,this.isPreviewable()?this.preloadFile():void 0},r.prototype.releaseFile=function(){return this.releasePreloadedFile(),this.file=null},r.prototype.getUploadProgress=function(){var e;return null!=(e=this.uploadProgress)?e:0},r.prototype.setUploadProgress=function(e){var t;return this.uploadProgress!==e?(this.uploadProgress=e,null!=(t=this.uploadProgressDelegate)&&"function"==typeof t.attachmentDidChangeUploadProgress?t.attachmentDidChangeUploadProgress(this):void 0):void 0},r.prototype.toJSON=function(){return this.getAttributes()},r.prototype.getCacheKey=function(){return[r.__super__.getCacheKey.apply(this,arguments),this.attributes.getCacheKey(),this.getPreviewURL()].join("/")},r.prototype.getPreviewURL=function(){return this.previewURL||this.preloadingURL},r.prototype.setPreviewURL=function(e){var t,n;return e!==this.getPreviewURL()?(this.previewURL=e,null!=(t=this.previewDelegate)&&"function"==typeof t.attachmentDidChangeAttributes&&t.attachmentDidChangeAttributes(this),null!=(n=this.delegate)&&"function"==typeof n.attachmentDidChangePreviewURL?n.attachmentDidChangePreviewURL(this):void 0):void 0},r.prototype.preloadURL=function(){return this.preload(this.getURL(),this.releaseFile)},r.prototype.preloadFile=function(){return this.file?(this.fileObjectURL=URL.createObjectURL(this.file),this.preload(this.fileObjectURL)):void 0},r.prototype.releasePreloadedFile=function(){return this.fileObjectURL?(URL.revokeObjectURL(this.fileObjectURL),this.fileObjectURL=null):void 0},r.prototype.preload=function(e,t){return e&&e!==this.getPreviewURL()?(this.preloadingURL=e,new i.ImagePreloadOperation(e).then(function(n){return function(r){var o,i;return i=r.width,o=r.height,n.getWidth()&&n.getHeight()||n.setAttributes({width:i,height:o}),n.preloadingURL=null,n.setPreviewURL(e),"function"==typeof t?t():void 0}}(this)).catch(function(e){return function(){return e.preloadingURL=null,"function"==typeof t?t():void 0}}(this))):void 0},r}(i.Object)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.Piece=function(t){function n(e,t){null==t&&(t={}),n.__super__.constructor.apply(this,arguments),this.attributes=i.Hash.box(t)}return e(n,t),n.types={},n.registerType=function(e,t){return t.type=e,this.types[e]=t},n.fromJSON=function(e){var t;return(t=this.types[e.type])?t.fromJSON(e):void 0},n.prototype.copyWithAttributes=function(e){return new this.constructor(this.getValue(),e)},n.prototype.copyWithAdditionalAttributes=function(e){return this.copyWithAttributes(this.attributes.merge(e))},n.prototype.copyWithoutAttribute=function(e){return this.copyWithAttributes(this.attributes.remove(e))},n.prototype.copy=function(){return this.copyWithAttributes(this.attributes)},n.prototype.getAttribute=function(e){return this.attributes.get(e)},n.prototype.getAttributesHash=function(){return this.attributes},n.prototype.getAttributes=function(){return this.attributes.toObject()},n.prototype.getCommonAttributes=function(){var e,t,n;return(n=pieceList.getPieceAtIndex(0))?(e=n.attributes,t=e.getKeys(),pieceList.eachPiece((function(n){return t=e.getKeysCommonToHash(n.attributes),e=e.slice(t)})),e.toObject()):{}},n.prototype.hasAttribute=function(e){return this.attributes.has(e)},n.prototype.hasSameStringValueAsPiece=function(e){return null!=e&&this.toString()===e.toString()},n.prototype.hasSameAttributesAsPiece=function(e){return null!=e&&(this.attributes===e.attributes||this.attributes.isEqualTo(e.attributes))},n.prototype.isBlockBreak=function(){return!1},n.prototype.isEqualTo=function(e){return n.__super__.isEqualTo.apply(this,arguments)||this.hasSameConstructorAs(e)&&this.hasSameStringValueAsPiece(e)&&this.hasSameAttributesAsPiece(e)},n.prototype.isEmpty=function(){return 0===this.length},n.prototype.isSerializable=function(){return!0},n.prototype.toJSON=function(){return{type:this.constructor.type,attributes:this.getAttributes()}},n.prototype.contentsForInspection=function(){return{type:this.constructor.type,attributes:this.attributes.inspect()}},n.prototype.canBeGrouped=function(){return this.hasAttribute("href")},n.prototype.canBeGroupedWith=function(e){return this.getAttribute("href")===e.getAttribute("href")},n.prototype.getLength=function(){return this.length},n.prototype.canBeConsolidatedWith=function(){return!1},n}(i.Object)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.Piece.registerType("attachment",i.AttachmentPiece=function(t){function n(e){this.attachment=e,n.__super__.constructor.apply(this,arguments),this.length=1,this.ensureAttachmentExclusivelyHasAttribute("href"),this.attachment.hasContent()||this.removeProhibitedAttributes()}return e(n,t),n.fromJSON=function(e){return new this(i.Attachment.fromJSON(e.attachment),e.attributes)},n.permittedAttributes=["caption","presentation"],n.prototype.ensureAttachmentExclusivelyHasAttribute=function(e){return this.hasAttribute(e)?(this.attachment.hasAttribute(e)||this.attachment.setAttributes(this.attributes.slice(e)),this.attributes=this.attributes.remove(e)):void 0},n.prototype.removeProhibitedAttributes=function(){var e;return(e=this.attributes.slice(this.constructor.permittedAttributes)).isEqualTo(this.attributes)?void 0:this.attributes=e},n.prototype.getValue=function(){return this.attachment},n.prototype.isSerializable=function(){return!this.attachment.isPending()},n.prototype.getCaption=function(){var e;return null!=(e=this.attributes.get("caption"))?e:""},n.prototype.isEqualTo=function(e){var t;return n.__super__.isEqualTo.apply(this,arguments)&&this.attachment.id===(null!=e&&null!=(t=e.attachment)?t.id:void 0)},n.prototype.toString=function(){return i.OBJECT_REPLACEMENT_CHARACTER},n.prototype.toJSON=function(){var e;return(e=n.__super__.toJSON.apply(this,arguments)).attachment=this.attachment,e},n.prototype.getCacheKey=function(){return[n.__super__.getCacheKey.apply(this,arguments),this.attachment.getCacheKey()].join("/")},n.prototype.toConsole=function(){return JSON.stringify(this.toString())},n}(i.Piece))}.call(this),function(){var e,t=function(e,t){function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty;e=i.normalizeNewlines,i.Piece.registerType("string",i.StringPiece=function(n){function r(t){r.__super__.constructor.apply(this,arguments),this.string=e(t),this.length=this.string.length}return t(r,n),r.fromJSON=function(e){return new this(e.string,e.attributes)},r.prototype.getValue=function(){return this.string},r.prototype.toString=function(){return this.string.toString()},r.prototype.isBlockBreak=function(){return"\n"===this.toString()&&!0===this.getAttribute("blockBreak")},r.prototype.toJSON=function(){var e;return(e=r.__super__.toJSON.apply(this,arguments)).string=this.string,e},r.prototype.canBeConsolidatedWith=function(e){return null!=e&&this.hasSameConstructorAs(e)&&this.hasSameAttributesAsPiece(e)},r.prototype.consolidateWith=function(e){return new this.constructor(this.toString()+e.toString(),this.attributes)},r.prototype.splitAtOffset=function(e){var t,n;return 0===e?(t=null,n=this):e===this.length?(t=this,n=null):(t=new this.constructor(this.string.slice(0,e),this.attributes),n=new this.constructor(this.string.slice(e),this.attributes)),[t,n]},r.prototype.toConsole=function(){var e;return(e=this.string).length>15&&(e=e.slice(0,14)+"…"),JSON.stringify(e.toString())},r}(i.Piece))}.call(this),function(){var e,t=function(e,t){function r(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return r.prototype=t.prototype,e.prototype=new r,e.__super__=t.prototype,e},n={}.hasOwnProperty,r=[].slice;e=i.spliceArray,i.SplittableList=function(n){function o(e){null==e&&(e=[]),o.__super__.constructor.apply(this,arguments),this.objects=e.slice(0),this.length=this.objects.length}var i,a,s;return t(o,n),o.box=function(e){return e instanceof this?e:new this(e)},o.prototype.indexOf=function(e){return this.objects.indexOf(e)},o.prototype.splice=function(){var t;return t=1<=arguments.length?r.call(arguments,0):[],new this.constructor(e.apply(null,[this.objects].concat(r.call(t))))},o.prototype.eachObject=function(e){var t,n,r,o,i,a;for(a=[],n=t=0,r=(i=this.objects).length;r>t;n=++t)o=i[n],a.push(e(o,n));return a},o.prototype.insertObjectAtIndex=function(e,t){return this.splice(t,0,e)},o.prototype.insertSplittableListAtIndex=function(e,t){return this.splice.apply(this,[t,0].concat(r.call(e.objects)))},o.prototype.insertSplittableListAtPosition=function(e,t){var n,r,o;return r=(o=this.splitObjectAtPosition(t))[0],n=o[1],new this.constructor(r).insertSplittableListAtIndex(e,n)},o.prototype.editObjectAtIndex=function(e,t){return this.replaceObjectAtIndex(t(this.objects[e]),e)},o.prototype.replaceObjectAtIndex=function(e,t){return this.splice(t,1,e)},o.prototype.removeObjectAtIndex=function(e){return this.splice(e,1)},o.prototype.getObjectAtIndex=function(e){return this.objects[e]},o.prototype.getSplittableListInRange=function(e){var t,n,r,o;return n=(r=this.splitObjectsAtRange(e))[0],t=r[1],o=r[2],new this.constructor(n.slice(t,o+1))},o.prototype.selectSplittableList=function(e){var t,n;return n=function(){var n,r,o,i;for(i=[],n=0,r=(o=this.objects).length;r>n;n++)t=o[n],e(t)&&i.push(t);return i}.call(this),new this.constructor(n)},o.prototype.removeObjectsInRange=function(e){var t,n,r,o;return n=(r=this.splitObjectsAtRange(e))[0],t=r[1],o=r[2],new this.constructor(n).splice(t,o-t+1)},o.prototype.transformObjectsInRange=function(e,t){var n,r,o,i,a,s,l;return a=this.splitObjectsAtRange(e),i=a[0],r=a[1],s=a[2],l=function(){var e,a,l;for(l=[],n=e=0,a=i.length;a>e;n=++e)o=i[n],l.push(n>=r&&s>=n?t(o):o);return l}(),new this.constructor(l)},o.prototype.splitObjectsAtRange=function(e){var t,n,r,o,a;return n=(o=this.splitObjectAtPosition(s(e)))[0],t=o[1],r=o[2],[n=(a=new this.constructor(n).splitObjectAtPosition(i(e)+r))[0],t,a[1]-1]},o.prototype.getObjectAtPosition=function(e){var t,n;return t=(n=this.findIndexAndOffsetAtPosition(e)).index,n.offset,this.objects[t]},o.prototype.splitObjectAtPosition=function(e){var t,n,r,o,i,a,s,l,c;return t=(i=this.findIndexAndOffsetAtPosition(e)).index,o=i.offset,r=this.objects.slice(0),null!=t?0===o?(l=t,c=0):(n=(a=this.getObjectAtIndex(t).splitAtOffset(o))[0],s=a[1],r.splice(t,1,n,s),l=t+1,c=n.getLength()-o):(l=r.length,c=0),[r,l,c]},o.prototype.consolidate=function(){var e,t,n,r,o,i;for(r=[],o=this.objects[0],e=0,t=(i=this.objects.slice(1)).length;t>e;e++)n=i[e],("function"==typeof o.canBeConsolidatedWith?o.canBeConsolidatedWith(n):void 0)?o=o.consolidateWith(n):(r.push(o),o=n);return null!=o&&r.push(o),new this.constructor(r)},o.prototype.consolidateFromIndexToIndex=function(e,t){var n,o;return o=this.objects.slice(0).slice(e,t+1),n=new this.constructor(o).consolidate().toArray(),this.splice.apply(this,[e,o.length].concat(r.call(n)))},o.prototype.findIndexAndOffsetAtPosition=function(e){var t,n,r,o,i,a;for(t=0,r=n=0,o=(a=this.objects).length;o>n;r=++n){if(i=t+a[r].getLength(),e>=t&&i>e)return{index:r,offset:e-t};t=i}return{index:null,offset:null}},o.prototype.findPositionAtIndexAndOffset=function(e,t){var n,r,o,i,a,s;for(a=0,n=r=0,o=(s=this.objects).length;o>r;n=++r)if(i=s[n],e>n)a+=i.getLength();else if(n===e){a+=t;break}return a},o.prototype.getEndPosition=function(){var e,t;return null!=this.endPosition?this.endPosition:this.endPosition=function(){var n,r,o;for(t=0,n=0,r=(o=this.objects).length;r>n;n++)e=o[n],t+=e.getLength();return t}.call(this)},o.prototype.toString=function(){return this.objects.join("")},o.prototype.toArray=function(){return this.objects.slice(0)},o.prototype.toJSON=function(){return this.toArray()},o.prototype.isEqualTo=function(e){return o.__super__.isEqualTo.apply(this,arguments)||a(this.objects,null!=e?e.objects:void 0)},a=function(e,t){var n,r,o,i,a;if(null==t&&(t=[]),e.length!==t.length)return!1;for(a=!0,r=n=0,o=e.length;o>n;r=++n)i=e[r],a&&!i.isEqualTo(t[r])&&(a=!1);return a},o.prototype.contentsForInspection=function(){var e;return{objects:"["+function(){var t,n,r,o;for(o=[],t=0,n=(r=this.objects).length;n>t;t++)e=r[t],o.push(e.inspect());return o}.call(this).join(", ")+"]"}},s=function(e){return e[0]},i=function(e){return e[1]},o}(i.Object)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.Text=function(t){function n(e){var t;null==e&&(e=[]),n.__super__.constructor.apply(this,arguments),this.pieceList=new i.SplittableList(function(){var n,r,o;for(o=[],n=0,r=e.length;r>n;n++)(t=e[n]).isEmpty()||o.push(t);return o}())}return e(n,t),n.textForAttachmentWithAttributes=function(e,t){return new this([new i.AttachmentPiece(e,t)])},n.textForStringWithAttributes=function(e,t){return new this([new i.StringPiece(e,t)])},n.fromJSON=function(e){var t;return new this(function(){var n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],o.push(i.Piece.fromJSON(t));return o}())},n.prototype.copy=function(){return this.copyWithPieceList(this.pieceList)},n.prototype.copyWithPieceList=function(e){return new this.constructor(e.consolidate().toArray())},n.prototype.copyUsingObjectMap=function(e){var t,n;return n=function(){var n,r,o,i,a;for(a=[],n=0,r=(o=this.getPieces()).length;r>n;n++)t=o[n],a.push(null!=(i=e.find(t))?i:t);return a}.call(this),new this.constructor(n)},n.prototype.appendText=function(e){return this.insertTextAtPosition(e,this.getLength())},n.prototype.insertTextAtPosition=function(e,t){return this.copyWithPieceList(this.pieceList.insertSplittableListAtPosition(e.pieceList,t))},n.prototype.removeTextAtRange=function(e){return this.copyWithPieceList(this.pieceList.removeObjectsInRange(e))},n.prototype.replaceTextAtRange=function(e,t){return this.removeTextAtRange(t).insertTextAtPosition(e,t[0])},n.prototype.moveTextFromRangeToPosition=function(e,t){var n,r;if(!(e[0]<=t&&t<=e[1]))return n=(r=this.getTextAtRange(e)).getLength(),e[0]<t&&(t-=n),this.removeTextAtRange(e).insertTextAtPosition(r,t)},n.prototype.addAttributeAtRange=function(e,t,n){var r;return(r={})[e]=t,this.addAttributesAtRange(r,n)},n.prototype.addAttributesAtRange=function(e,t){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(t,(function(t){return t.copyWithAdditionalAttributes(e)})))},n.prototype.removeAttributeAtRange=function(e,t){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(t,(function(t){return t.copyWithoutAttribute(e)})))},n.prototype.setAttributesAtRange=function(e,t){return this.copyWithPieceList(this.pieceList.transformObjectsInRange(t,(function(t){return t.copyWithAttributes(e)})))},n.prototype.getAttributesAtPosition=function(e){var t,n;return null!=(t=null!=(n=this.pieceList.getObjectAtPosition(e))?n.getAttributes():void 0)?t:{}},n.prototype.getCommonAttributes=function(){var e,t;return e=function(){var e,n,r,o;for(o=[],e=0,n=(r=this.pieceList.toArray()).length;n>e;e++)t=r[e],o.push(t.getAttributes());return o}.call(this),i.Hash.fromCommonAttributesOfObjects(e).toObject()},n.prototype.getCommonAttributesAtRange=function(e){var t;return null!=(t=this.getTextAtRange(e).getCommonAttributes())?t:{}},n.prototype.getExpandedRangeForAttributeAtOffset=function(e,t){var n,r,o;for(n=o=t,r=this.getLength();n>0&&this.getCommonAttributesAtRange([n-1,o])[e];)n--;for(;r>o&&this.getCommonAttributesAtRange([t,o+1])[e];)o++;return[n,o]},n.prototype.getTextAtRange=function(e){return this.copyWithPieceList(this.pieceList.getSplittableListInRange(e))},n.prototype.getStringAtRange=function(e){return this.pieceList.getSplittableListInRange(e).toString()},n.prototype.getStringAtPosition=function(e){return this.getStringAtRange([e,e+1])},n.prototype.startsWithString=function(e){return this.getStringAtRange([0,e.length])===e},n.prototype.endsWithString=function(e){var t;return t=this.getLength(),this.getStringAtRange([t-e.length,t])===e},n.prototype.getAttachmentPieces=function(){var e,t,n,r,o;for(o=[],e=0,t=(r=this.pieceList.toArray()).length;t>e;e++)null!=(n=r[e]).attachment&&o.push(n);return o},n.prototype.getAttachments=function(){var e,t,n,r,o;for(o=[],e=0,t=(r=this.getAttachmentPieces()).length;t>e;e++)n=r[e],o.push(n.attachment);return o},n.prototype.getAttachmentAndPositionById=function(e){var t,n,r,o,i,a;for(o=0,t=0,n=(i=this.pieceList.toArray()).length;n>t;t++){if((null!=(a=(r=i[t]).attachment)?a.id:void 0)===e)return{attachment:r.attachment,position:o};o+=r.length}return{attachment:null,position:null}},n.prototype.getAttachmentById=function(e){var t,n;return t=(n=this.getAttachmentAndPositionById(e)).attachment,n.position,t},n.prototype.getRangeOfAttachment=function(e){var t,n;return e=(n=this.getAttachmentAndPositionById(e.id)).attachment,t=n.position,null!=e?[t,t+1]:void 0},n.prototype.updateAttributesForAttachment=function(e,t){var n;return(n=this.getRangeOfAttachment(t))?this.addAttributesAtRange(e,n):this},n.prototype.getLength=function(){return this.pieceList.getEndPosition()},n.prototype.isEmpty=function(){return 0===this.getLength()},n.prototype.isEqualTo=function(e){var t;return n.__super__.isEqualTo.apply(this,arguments)||(null!=e&&null!=(t=e.pieceList)?t.isEqualTo(this.pieceList):void 0)},n.prototype.isBlockBreak=function(){return 1===this.getLength()&&this.pieceList.getObjectAtIndex(0).isBlockBreak()},n.prototype.eachPiece=function(e){return this.pieceList.eachObject(e)},n.prototype.getPieces=function(){return this.pieceList.toArray()},n.prototype.getPieceAtPosition=function(e){return this.pieceList.getObjectAtPosition(e)},n.prototype.contentsForInspection=function(){return{pieceList:this.pieceList.inspect()}},n.prototype.toSerializableText=function(){var e;return e=this.pieceList.selectSplittableList((function(e){return e.isSerializable()})),this.copyWithPieceList(e)},n.prototype.toString=function(){return this.pieceList.toString()},n.prototype.toJSON=function(){return this.pieceList.toJSON()},n.prototype.toConsole=function(){var e;return JSON.stringify(function(){var t,n,r,o;for(o=[],t=0,n=(r=this.pieceList.toArray()).length;n>t;t++)e=r[t],o.push(JSON.parse(e.toConsole()));return o}.call(this))},n.prototype.getDirection=function(){return i.getDirection(this.toString())},n.prototype.isRTL=function(){return"rtl"===this.getDirection()},n}(i.Object)}.call(this),function(){var e,t,n,r,o=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty,s=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},l=[].slice;e=i.arraysAreEqual,r=i.spliceArray,t=i.getBlockConfig,i.getBlockAttributeNames,n=i.getListAttributeNames,i.Block=function(a){function c(e,t){null==e&&(e=new i.Text),null==t&&(t=[]),c.__super__.constructor.apply(this,arguments),this.text=d(e),this.attributes=t}var u,d,f,p,h,m,g,v,b;return o(c,a),c.fromJSON=function(e){return new this(i.Text.fromJSON(e.text),e.attributes)},c.prototype.isEmpty=function(){return this.text.isBlockBreak()},c.prototype.isEqualTo=function(t){return c.__super__.isEqualTo.apply(this,arguments)||this.text.isEqualTo(null!=t?t.text:void 0)&&e(this.attributes,null!=t?t.attributes:void 0)},c.prototype.copyWithText=function(e){return new this.constructor(e,this.attributes)},c.prototype.copyWithoutText=function(){return this.copyWithText(null)},c.prototype.copyWithAttributes=function(e){return new this.constructor(this.text,e)},c.prototype.copyWithoutAttributes=function(){return this.copyWithAttributes(null)},c.prototype.copyUsingObjectMap=function(e){var t;return this.copyWithText((t=e.find(this.text))?t:this.text.copyUsingObjectMap(e))},c.prototype.addAttribute=function(e){var t;return t=this.attributes.concat(p(e)),this.copyWithAttributes(t)},c.prototype.removeAttribute=function(e){var n,r;return r=t(e).listAttribute,n=m(m(this.attributes,e),r),this.copyWithAttributes(n)},c.prototype.removeLastAttribute=function(){return this.removeAttribute(this.getLastAttribute())},c.prototype.getLastAttribute=function(){return h(this.attributes)},c.prototype.getAttributes=function(){return this.attributes.slice(0)},c.prototype.getAttributeLevel=function(){return this.attributes.length},c.prototype.getAttributeAtLevel=function(e){return this.attributes[e-1]},c.prototype.hasAttribute=function(e){return s.call(this.attributes,e)>=0},c.prototype.hasAttributes=function(){return this.getAttributeLevel()>0},c.prototype.getLastNestableAttribute=function(){return h(this.getNestableAttributes())},c.prototype.getNestableAttributes=function(){var e,n,r,o,i;for(i=[],n=0,r=(o=this.attributes).length;r>n;n++)e=o[n],t(e).nestable&&i.push(e);return i},c.prototype.getNestingLevel=function(){return this.getNestableAttributes().length},c.prototype.decreaseNestingLevel=function(){var e;return(e=this.getLastNestableAttribute())?this.removeAttribute(e):this},c.prototype.increaseNestingLevel=function(){var e,t,n;return(e=this.getLastNestableAttribute())?(n=this.attributes.lastIndexOf(e),t=r.apply(null,[this.attributes,n+1,0].concat(l.call(p(e)))),this.copyWithAttributes(t)):this},c.prototype.getListItemAttributes=function(){var e,n,r,o,i;for(i=[],n=0,r=(o=this.attributes).length;r>n;n++)e=o[n],t(e).listAttribute&&i.push(e);return i},c.prototype.isListItem=function(){var e;return null!=(e=t(this.getLastAttribute()))?e.listAttribute:void 0},c.prototype.isTerminalBlock=function(){var e;return null!=(e=t(this.getLastAttribute()))?e.terminal:void 0},c.prototype.breaksOnReturn=function(){var e;return null!=(e=t(this.getLastAttribute()))?e.breakOnReturn:void 0},c.prototype.findLineBreakInDirectionFromPosition=function(e,t){var n,r;return r=this.toString(),-1!==(n=function(){switch(e){case"forward":return r.indexOf("\n",t);case"backward":return r.slice(0,t).lastIndexOf("\n")}}())?n:void 0},c.prototype.contentsForInspection=function(){return{text:this.text.inspect(),attributes:this.attributes}},c.prototype.toString=function(){return this.text.toString()},c.prototype.toJSON=function(){return{text:this.text,attributes:this.attributes}},c.prototype.getDirection=function(){return this.text.getDirection()},c.prototype.isRTL=function(){return this.text.isRTL()},c.prototype.getLength=function(){return this.text.getLength()},c.prototype.canBeConsolidatedWith=function(e){return!this.hasAttributes()&&!e.hasAttributes()&&this.getDirection()===e.getDirection()},c.prototype.consolidateWith=function(e){var t,n;return t=i.Text.textForStringWithAttributes("\n"),n=this.getTextWithoutBlockBreak().appendText(t),this.copyWithText(n.appendText(e.text))},c.prototype.splitAtOffset=function(e){var t,n;return 0===e?(t=null,n=this):e===this.getLength()?(t=this,n=null):(t=this.copyWithText(this.text.getTextAtRange([0,e])),n=this.copyWithText(this.text.getTextAtRange([e,this.getLength()]))),[t,n]},c.prototype.getBlockBreakPosition=function(){return this.text.getLength()-1},c.prototype.getTextWithoutBlockBreak=function(){return g(this.text)?this.text.getTextAtRange([0,this.getBlockBreakPosition()]):this.text.copy()},c.prototype.canBeGrouped=function(e){return this.attributes[e]},c.prototype.canBeGroupedWith=function(e,r){var o,i,a,l;return i=(a=e.getAttributes())[r],!((o=this.attributes[r])!==i||!1===t(o).group&&(l=a[r+1],s.call(n(),l)<0)||this.getDirection()!==e.getDirection()&&!e.isEmpty())},d=function(e){return e=b(e),u(e)},b=function(e){var t,n,r,o,a,s;return o=!1,s=e.getPieces(),n=2<=s.length?l.call(s,0,t=s.length-1):(t=0,[]),null==(r=s[t++])?e:(n=function(){var e,t,r;for(r=[],e=0,t=n.length;t>e;e++)(a=n[e]).isBlockBreak()?(o=!0,r.push(v(a))):r.push(a);return r}(),o?new i.Text(l.call(n).concat([r])):e)},f=i.Text.textForStringWithAttributes("\n",{blockBreak:!0}),u=function(e){return g(e)?e:e.appendText(f)},g=function(e){var t;return 0!==(t=e.getLength())&&e.getTextAtRange([t-1,t]).isBlockBreak()},v=function(e){return e.copyWithoutAttribute("blockBreak")},p=function(e){var n;return null!=(n=t(e).listAttribute)?[n,e]:[e]},h=function(e){return e.slice(-1)[0]},m=function(e,t){var n;return-1===(n=e.lastIndexOf(t))?e:r(e,n,1)},c}(i.Object)}.call(this),function(){var e,t,n,r=function(e,t){function n(){this.constructor=e}for(var r in t)o.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},o={}.hasOwnProperty,a=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},s=[].slice;t=i.tagName,n=i.walkTree,e=i.nodeIsAttachmentElement,i.HTMLSanitizer=function(o){function l(e,t){var n;n=null!=t?t:{},this.allowedAttributes=n.allowedAttributes,this.forbiddenProtocols=n.forbiddenProtocols,this.forbiddenElements=n.forbiddenElements,null==this.allowedAttributes&&(this.allowedAttributes=c),null==this.forbiddenProtocols&&(this.forbiddenProtocols=d),null==this.forbiddenElements&&(this.forbiddenElements=u),this.body=f(e)}var c,u,d,f;return r(l,o),c="style href src width height class".split(" "),d="javascript:".split(" "),u="script iframe".split(" "),l.sanitize=function(e,t){var n;return(n=new this(e,t)).sanitize(),n},l.prototype.sanitize=function(){return this.sanitizeElements(),this.normalizeListElementNesting()},l.prototype.getHTML=function(){return this.body.innerHTML},l.prototype.getBody=function(){return this.body},l.prototype.sanitizeElements=function(){var e,t,r,o,a;for(a=n(this.body),o=[];a.nextNode();)switch(r=a.currentNode,r.nodeType){case Node.ELEMENT_NODE:this.elementIsRemovable(r)?o.push(r):this.sanitizeElement(r);break;case Node.COMMENT_NODE:o.push(r)}for(e=0,t=o.length;t>e;e++)r=o[e],i.removeNode(r);return this.body},l.prototype.sanitizeElement=function(e){var t,n,r,o,i;for(e.hasAttribute("href")&&(o=e.protocol,a.call(this.forbiddenProtocols,o)>=0&&e.removeAttribute("href")),t=0,n=(i=s.call(e.attributes)).length;n>t;t++)r=i[t].name,a.call(this.allowedAttributes,r)>=0||0===r.indexOf("data-trix")||e.removeAttribute(r);return e},l.prototype.normalizeListElementNesting=function(){var e,n,r,o,i;for(e=0,n=(i=s.call(this.body.querySelectorAll("ul,ol"))).length;n>e;e++)(o=(r=i[e]).previousElementSibling)&&"li"===t(o)&&o.appendChild(r);return this.body},l.prototype.elementIsRemovable=function(e){return(null!=e?e.nodeType:void 0)===Node.ELEMENT_NODE?this.elementIsForbidden(e)||this.elementIsntSerializable(e):void 0},l.prototype.elementIsForbidden=function(e){var n;return n=t(e),a.call(this.forbiddenElements,n)>=0},l.prototype.elementIsntSerializable=function(t){return"false"===t.getAttribute("data-trix-serialize")&&!e(t)},f=function(e){var t,n,r,o,i;for(null==e&&(e=""),e=e.replace(/<\/html[^>]*>[^]*$/i,"</html>"),(t=document.implementation.createHTMLDocument("")).documentElement.innerHTML=e,r=0,o=(i=t.head.querySelectorAll("style")).length;o>r;r++)n=i[r],t.body.appendChild(n);return t.body},l}(i.BasicObject)}.call(this),function(){var e,t,n,r,o,a,s,l,c,u,d,f=function(e,t){function n(){this.constructor=e}for(var r in t)p.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},p={}.hasOwnProperty,h=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=i.arraysAreEqual,a=i.makeElement,u=i.tagName,o=i.getBlockTagNames,d=i.walkTree,r=i.findClosestElementFromNode,n=i.elementContainsNode,s=i.nodeIsAttachmentElement,l=i.normalizeSpaces,t=i.breakableWhitespacePattern,c=i.squishBreakableWhitespace,i.HTMLParser=function(p){function m(e,t){this.html=e,this.referenceElement=(null!=t?t:{}).referenceElement,this.blocks=[],this.blockElements=[],this.processedElements=[]}var g,v,b,y,A,x,C,_,w,k,S,E;return f(m,p),m.parse=function(e,t){var n;return(n=new this(e,t)).parse(),n},m.prototype.getDocument=function(){return i.Document.fromJSON(this.blocks)},m.prototype.parse=function(){var e,t;try{for(this.createHiddenContainer(),e=i.HTMLSanitizer.sanitize(this.html).getHTML(),this.containerElement.innerHTML=e,t=d(this.containerElement,{usingFilter:C});t.nextNode();)this.processNode(t.currentNode);return this.translateBlockElementMarginsToNewlines()}finally{this.removeHiddenContainer()}},m.prototype.createHiddenContainer=function(){return this.referenceElement?(this.containerElement=this.referenceElement.cloneNode(!1),this.containerElement.removeAttribute("id"),this.containerElement.setAttribute("data-trix-internal",""),this.containerElement.style.display="none",this.referenceElement.parentNode.insertBefore(this.containerElement,this.referenceElement.nextSibling)):(this.containerElement=a({tagName:"div",style:{display:"none"}}),document.body.appendChild(this.containerElement))},m.prototype.removeHiddenContainer=function(){return i.removeNode(this.containerElement)},C=function(e){return"style"===u(e)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},m.prototype.processNode=function(e){switch(e.nodeType){case Node.TEXT_NODE:if(!this.isInsignificantTextNode(e))return this.appendBlockForTextNode(e),this.processTextNode(e);break;case Node.ELEMENT_NODE:return this.appendBlockForElement(e),this.processElement(e)}},m.prototype.appendBlockForTextNode=function(t){var n,r,o;return(r=t.parentNode)===this.currentBlockElement&&this.isBlockElement(t.previousSibling)?this.appendStringWithAttributes("\n"):r!==this.containerElement&&!this.isBlockElement(r)||(n=this.getBlockAttributes(r),e(n,null!=(o=this.currentBlock)?o.attributes:void 0))?void 0:(this.currentBlock=this.appendBlockForAttributesWithElement(n,r),this.currentBlockElement=r)},m.prototype.appendBlockForElement=function(t){var r,o,i,a;if(i=this.isBlockElement(t),o=n(this.currentBlockElement,t),i&&!this.isBlockElement(t.firstChild)){if((!this.isInsignificantTextNode(t.firstChild)||!this.isBlockElement(t.firstElementChild))&&(r=this.getBlockAttributes(t),t.firstChild))return o&&e(r,this.currentBlock.attributes)?this.appendStringWithAttributes("\n"):(this.currentBlock=this.appendBlockForAttributesWithElement(r,t),this.currentBlockElement=t)}else if(this.currentBlockElement&&!o&&!i)return(a=this.findParentBlockElement(t))?this.appendBlockForElement(a):(this.currentBlock=this.appendEmptyBlock(),this.currentBlockElement=null)},m.prototype.findParentBlockElement=function(e){var t;for(t=e.parentElement;t&&t!==this.containerElement;){if(this.isBlockElement(t)&&h.call(this.blockElements,t)>=0)return t;t=t.parentElement}return null},m.prototype.processTextNode=function(e){var t,n;return n=e.data,v(e.parentNode)||(n=c(n),S(null!=(t=e.previousSibling)?t.textContent:void 0)&&(n=A(n))),this.appendStringWithAttributes(n,this.getTextAttributes(e.parentNode))},m.prototype.processElement=function(e){var t,n,r,o,i;if(s(e))return t=_(e,"attachment"),Object.keys(t).length&&(o=this.getTextAttributes(e),this.appendAttachmentWithAttributes(t,o),e.innerHTML=""),this.processedElements.push(e);switch(u(e)){case"br":return this.isExtraBR(e)||this.isBlockElement(e.nextSibling)||this.appendStringWithAttributes("\n",this.getTextAttributes(e)),this.processedElements.push(e);case"img":for(n in t={url:e.getAttribute("src"),contentType:"image"},r=y(e))i=r[n],t[n]=i;return this.appendAttachmentWithAttributes(t,this.getTextAttributes(e)),this.processedElements.push(e);case"tr":if(e.parentNode.firstChild!==e)return this.appendStringWithAttributes("\n");break;case"td":if(e.parentNode.firstChild!==e)return this.appendStringWithAttributes(" | ")}},m.prototype.appendBlockForAttributesWithElement=function(e,t){var n;return this.blockElements.push(t),n=g(e),this.blocks.push(n),n},m.prototype.appendEmptyBlock=function(){return this.appendBlockForAttributesWithElement([],null)},m.prototype.appendStringWithAttributes=function(e,t){return this.appendPiece(k(e,t))},m.prototype.appendAttachmentWithAttributes=function(e,t){return this.appendPiece(w(e,t))},m.prototype.appendPiece=function(e){return 0===this.blocks.length&&this.appendEmptyBlock(),this.blocks[this.blocks.length-1].text.push(e)},m.prototype.appendStringToTextAtIndex=function(e,t){var n,r;return"string"===(null!=(n=(r=this.blocks[t].text)[r.length-1])?n.type:void 0)?n.string+=e:r.push(k(e))},m.prototype.prependStringToTextAtIndex=function(e,t){var n,r;return"string"===(null!=(n=(r=this.blocks[t].text)[0])?n.type:void 0)?n.string=e+n.string:r.unshift(k(e))},k=function(e,t){return null==t&&(t={}),"string",{string:e=l(e),attributes:t,type:"string"}},w=function(e,t){return null==t&&(t={}),"attachment",{attachment:e,attributes:t,type:"attachment"}},g=function(e){return null==e&&(e={}),{text:[],attributes:e}},m.prototype.getTextAttributes=function(e){var t,n,o,a,l,c,u,d,f,p,h,m;for(t in o={},f=i.config.textAttributes)if((l=f[t]).tagName&&r(e,{matchingSelector:l.tagName,untilNode:this.containerElement}))o[t]=!0;else if(l.parser){if(m=l.parser(e)){for(n=!1,c=0,d=(p=this.findBlockElementAncestors(e)).length;d>c;c++)if(a=p[c],l.parser(a)===m){n=!0;break}n||(o[t]=m)}}else l.styleProperty&&(m=e.style[l.styleProperty])&&(o[t]=m);if(s(e))for(u in h=_(e,"attributes"))m=h[u],o[u]=m;return o},m.prototype.getBlockAttributes=function(e){var t,n,r,o;for(n=[];e&&e!==this.containerElement;){for(t in o=i.config.blockAttributes)!1!==(r=o[t]).parse&&u(e)===r.tagName&&(("function"==typeof r.test?r.test(e):void 0)||!r.test)&&(n.push(t),r.listAttribute&&n.push(r.listAttribute));e=e.parentNode}return n.reverse()},m.prototype.findBlockElementAncestors=function(e){var t,n;for(t=[];e&&e!==this.containerElement;)n=u(e),h.call(o(),n)>=0&&t.push(e),e=e.parentNode;return t},_=function(e,t){try{return JSON.parse(e.getAttribute("data-trix-"+t))}catch(e){return{}}},y=function(e){var t,n,r;return r=e.getAttribute("width"),n=e.getAttribute("height"),t={},r&&(t.width=parseInt(r,10)),n&&(t.height=parseInt(n,10)),t},m.prototype.isBlockElement=function(e){var t;if((null!=e?e.nodeType:void 0)===Node.ELEMENT_NODE&&!s(e)&&!r(e,{matchingSelector:"td",untilNode:this.containerElement}))return t=u(e),h.call(o(),t)>=0||"block"===window.getComputedStyle(e).display},m.prototype.isInsignificantTextNode=function(e){var t,n,r;if((null!=e?e.nodeType:void 0)===Node.TEXT_NODE&&E(e.data)&&(n=e.parentNode,r=e.previousSibling,t=e.nextSibling,(!x(n.previousSibling)||this.isBlockElement(n.previousSibling))&&!v(n)))return!r||this.isBlockElement(r)||!t||this.isBlockElement(t)},m.prototype.isExtraBR=function(e){return"br"===u(e)&&this.isBlockElement(e.parentNode)&&e.parentNode.lastChild===e},v=function(e){var t;return"pre"===(t=window.getComputedStyle(e).whiteSpace)||"pre-wrap"===t||"pre-line"===t},x=function(e){return e&&!S(e.textContent)},m.prototype.translateBlockElementMarginsToNewlines=function(){var e,t,n,r,o,i,a;for(e=this.getMarginOfDefaultBlockElement(),a=[],n=t=0,r=(i=this.blocks).length;r>t;n=++t)i[n],(o=this.getMarginOfBlockElementAtIndex(n))&&(o.top>2*e.top&&this.prependStringToTextAtIndex("\n",n),a.push(o.bottom>2*e.bottom?this.appendStringToTextAtIndex("\n",n):void 0));return a},m.prototype.getMarginOfBlockElementAtIndex=function(e){var t,n;return!(t=this.blockElements[e])||!t.textContent||(n=u(t),h.call(o(),n)>=0||h.call(this.processedElements,t)>=0)?void 0:b(t)},m.prototype.getMarginOfDefaultBlockElement=function(){var e;return e=a(i.config.blockAttributes.default.tagName),this.containerElement.appendChild(e),b(e)},b=function(e){var t;return"block"===(t=window.getComputedStyle(e)).display?{top:parseInt(t.marginTop),bottom:parseInt(t.marginBottom)}:void 0},A=function(e){return e.replace(RegExp("^"+t.source+"+"),"")},E=function(e){return RegExp("^"+t.source+"*$").test(e)},S=function(e){return/\s$/.test(e)},m}(i.BasicObject)}.call(this),function(){var e,t,n,r,o=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty,s=[].slice,l=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=i.arraysAreEqual,n=i.normalizeRange,r=i.rangeIsCollapsed,t=i.getBlockConfig,i.Document=function(a){function c(e){null==e&&(e=[]),c.__super__.constructor.apply(this,arguments),0===e.length&&(e=[new i.Block]),this.blockList=i.SplittableList.box(e)}var u;return o(c,a),c.fromJSON=function(e){var t,n;return n=function(){var n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],o.push(i.Block.fromJSON(t));return o}(),new this(n)},c.fromHTML=function(e,t){return i.HTMLParser.parse(e,t).getDocument()},c.fromString=function(e,t){var n;return n=i.Text.textForStringWithAttributes(e,t),new this([new i.Block(n)])},c.prototype.isEmpty=function(){var e;return 1===this.blockList.length&&((e=this.getBlockAtIndex(0)).isEmpty()&&!e.hasAttributes())},c.prototype.copy=function(e){var t;return null==e&&(e={}),t=e.consolidateBlocks?this.blockList.consolidate().toArray():this.blockList.toArray(),new this.constructor(t)},c.prototype.copyUsingObjectsFromDocument=function(e){var t;return t=new i.ObjectMap(e.getObjects()),this.copyUsingObjectMap(t)},c.prototype.copyUsingObjectMap=function(e){var t,n,r;return n=function(){var n,o,i,a;for(a=[],n=0,o=(i=this.getBlocks()).length;o>n;n++)t=i[n],a.push((r=e.find(t))?r:t.copyUsingObjectMap(e));return a}.call(this),new this.constructor(n)},c.prototype.copyWithBaseBlockAttributes=function(e){var t,n,r;return null==e&&(e=[]),r=function(){var r,o,i,a;for(a=[],r=0,o=(i=this.getBlocks()).length;o>r;r++)n=i[r],t=e.concat(n.getAttributes()),a.push(n.copyWithAttributes(t));return a}.call(this),new this.constructor(r)},c.prototype.replaceBlock=function(e,t){var n;return-1===(n=this.blockList.indexOf(e))?this:new this.constructor(this.blockList.replaceObjectAtIndex(t,n))},c.prototype.insertDocumentAtRange=function(e,t){var o,i,a,s,l,c,u;return i=e.blockList,l=(t=n(t))[0],a=(c=this.locationFromPosition(l)).index,s=c.offset,u=this,o=this.getBlockAtPosition(l),r(t)&&o.isEmpty()&&!o.hasAttributes()?u=new this.constructor(u.blockList.removeObjectAtIndex(a)):o.getBlockBreakPosition()===s&&l++,u=u.removeTextAtRange(t),new this.constructor(u.blockList.insertSplittableListAtPosition(i,l))},c.prototype.mergeDocumentAtRange=function(t,r){var o,i,a,s,l,c,u,d,f,p,h,m;return h=(r=n(r))[0],p=this.locationFromPosition(h),i=this.getBlockAtIndex(p.index).getAttributes(),o=t.getBaseBlockAttributes(),m=i.slice(-o.length),e(o,m)?(u=i.slice(0,-o.length),c=t.copyWithBaseBlockAttributes(u)):c=t.copy({consolidateBlocks:!0}).copyWithBaseBlockAttributes(i),a=c.getBlockCount(),s=c.getBlockAtIndex(0),e(i,s.getAttributes())?(l=s.getTextWithoutBlockBreak(),f=this.insertTextAtRange(l,r),a>1&&(c=new this.constructor(c.getBlocks().slice(1)),d=h+l.getLength(),f=f.insertDocumentAtRange(c,d))):f=this.insertDocumentAtRange(c,r),f},c.prototype.insertTextAtRange=function(e,t){var r,o,i,a,s;return s=(t=n(t))[0],o=(a=this.locationFromPosition(s)).index,i=a.offset,r=this.removeTextAtRange(t),new this.constructor(r.blockList.editObjectAtIndex(o,(function(t){return t.copyWithText(t.text.insertTextAtPosition(e,i))})))},c.prototype.removeTextAtRange=function(e){var t,o,i,a,s,l,c,u,d,f,p,h,m,g,v,b,y,A;return u=(f=e=n(e))[0],b=f[1],r(e)?this:(l=(p=this.locationRangeFromRange(e))[0],g=p[1],s=l.index,c=l.offset,a=this.getBlockAtIndex(s),m=g.index,v=g.offset,h=this.getBlockAtIndex(m),b-u==1&&a.getBlockBreakPosition()===c&&h.getBlockBreakPosition()!==v&&"\n"===h.text.getStringAtPosition(v)?i=this.blockList.editObjectAtIndex(m,(function(e){return e.copyWithText(e.text.removeTextAtRange([v,v+1]))})):(d=a.text.getTextAtRange([0,c]),y=h.text.getTextAtRange([v,h.getLength()]),A=d.appendText(y),o=s!==m&&0===c&&a.getAttributeLevel()>=h.getAttributeLevel()?h.copyWithText(A):a.copyWithText(A),t=m+1-s,i=this.blockList.splice(s,t,o)),new this.constructor(i))},c.prototype.moveTextFromRangeToPosition=function(e,t){var r,o,i,a,l,c,u,d,f,p;return f=(c=e=n(e))[0],i=c[1],t>=f&&i>=t?this:(o=this.getDocumentAtRange(e),d=this.removeTextAtRange(e),(l=t>f)&&(t-=o.getLength()),a=(u=o.getBlocks())[0],0===(r=2<=u.length?s.call(u,1):[]).length?(p=a.getTextWithoutBlockBreak(),l&&(t+=1)):p=a.text,d=d.insertTextAtRange(p,t),0===r.length?d:(o=new this.constructor(r),t+=p.getLength(),d.insertDocumentAtRange(o,t)))},c.prototype.addAttributeAtRange=function(e,n,r){var o;return o=this.blockList,this.eachBlockAtRange(r,(function(r,i,a){return o=o.editObjectAtIndex(a,(function(){return t(e)?r.addAttribute(e,n):i[0]===i[1]?r:r.copyWithText(r.text.addAttributeAtRange(e,n,i))}))})),new this.constructor(o)},c.prototype.addAttribute=function(e,t){var n;return n=this.blockList,this.eachBlock((function(r,o){return n=n.editObjectAtIndex(o,(function(){return r.addAttribute(e,t)}))})),new this.constructor(n)},c.prototype.removeAttributeAtRange=function(e,n){var r;return r=this.blockList,this.eachBlockAtRange(n,(function(n,o,i){return t(e)?r=r.editObjectAtIndex(i,(function(){return n.removeAttribute(e)})):o[0]!==o[1]?r=r.editObjectAtIndex(i,(function(){return n.copyWithText(n.text.removeAttributeAtRange(e,o))})):void 0})),new this.constructor(r)},c.prototype.updateAttributesForAttachment=function(e,t){var n,r,o;return r=this.getRangeOfAttachment(t)[0],n=this.locationFromPosition(r).index,o=this.getTextAtIndex(n),new this.constructor(this.blockList.editObjectAtIndex(n,(function(n){return n.copyWithText(o.updateAttributesForAttachment(e,t))})))},c.prototype.removeAttributeForAttachment=function(e,t){var n;return n=this.getRangeOfAttachment(t),this.removeAttributeAtRange(e,n)},c.prototype.insertBlockBreakAtRange=function(e){var t,r,o,a;return a=(e=n(e))[0],o=this.locationFromPosition(a).offset,r=this.removeTextAtRange(e),0===o&&(t=[new i.Block]),new this.constructor(r.blockList.insertSplittableListAtPosition(new i.SplittableList(t),a))},c.prototype.applyBlockAttributeAtRange=function(e,n,r){var o,i,a,s;return i=(a=this.expandRangeToLineBreaksAndSplitBlocks(r)).document,r=a.range,(o=t(e)).listAttribute?(s=(i=i.removeLastListAttributeAtRange(r,{exceptAttributeName:e})).convertLineBreaksToBlockBreaksInRange(r),i=s.document,r=s.range):i=o.exclusive?i.removeBlockAttributesAtRange(r):o.terminal?i.removeLastTerminalAttributeAtRange(r):i.consolidateBlocksAtRange(r),i.addAttributeAtRange(e,n,r)},c.prototype.removeLastListAttributeAtRange=function(e,n){var r;return null==n&&(n={}),r=this.blockList,this.eachBlockAtRange(e,(function(e,o,i){var a;if((a=e.getLastAttribute())&&t(a).listAttribute&&a!==n.exceptAttributeName)return r=r.editObjectAtIndex(i,(function(){return e.removeAttribute(a)}))})),new this.constructor(r)},c.prototype.removeLastTerminalAttributeAtRange=function(e){var n;return n=this.blockList,this.eachBlockAtRange(e,(function(e,r,o){var i;if((i=e.getLastAttribute())&&t(i).terminal)return n=n.editObjectAtIndex(o,(function(){return e.removeAttribute(i)}))})),new this.constructor(n)},c.prototype.removeBlockAttributesAtRange=function(e){var t;return t=this.blockList,this.eachBlockAtRange(e,(function(e,n,r){return e.hasAttributes()?t=t.editObjectAtIndex(r,(function(){return e.copyWithoutAttributes()})):void 0})),new this.constructor(t)},c.prototype.expandRangeToLineBreaksAndSplitBlocks=function(e){var t,r,o,i,a,s,l,c,u;return u=(s=e=n(e))[0],i=s[1],c=this.locationFromPosition(u),o=this.locationFromPosition(i),l=(t=this).getBlockAtIndex(c.index),null!=(c.offset=l.findLineBreakInDirectionFromPosition("backward",c.offset))&&(a=t.positionFromLocation(c),t=t.insertBlockBreakAtRange([a,a+1]),o.index+=1,o.offset-=t.getBlockAtIndex(c.index).getLength(),c.index+=1),c.offset=0,0===o.offset&&o.index>c.index?(o.index-=1,o.offset=t.getBlockAtIndex(o.index).getBlockBreakPosition()):("\n"===(r=t.getBlockAtIndex(o.index)).text.getStringAtRange([o.offset-1,o.offset])?o.offset-=1:o.offset=r.findLineBreakInDirectionFromPosition("forward",o.offset),o.offset!==r.getBlockBreakPosition()&&(a=t.positionFromLocation(o),t=t.insertBlockBreakAtRange([a,a+1]))),u=t.positionFromLocation(c),i=t.positionFromLocation(o),{document:t,range:e=n([u,i])}},c.prototype.convertLineBreaksToBlockBreaksInRange=function(e){var t,r,o;return r=(e=n(e))[0],o=this.getStringAtRange(e).slice(0,-1),t=this,o.replace(/.*?\n/g,(function(e){return r+=e.length,t=t.insertBlockBreakAtRange([r-1,r])})),{document:t,range:e}},c.prototype.consolidateBlocksAtRange=function(e){var t,r,o,i,a;return a=(o=e=n(e))[0],r=o[1],i=this.locationFromPosition(a).index,t=this.locationFromPosition(r).index,new this.constructor(this.blockList.consolidateFromIndexToIndex(i,t))},c.prototype.getDocumentAtRange=function(e){var t;return e=n(e),t=this.blockList.getSplittableListInRange(e).toArray(),new this.constructor(t)},c.prototype.getStringAtRange=function(e){var t,r;return(r=e=n(e))[r.length-1]!==this.getLength()&&(t=-1),this.getDocumentAtRange(e).toString().slice(0,t)},c.prototype.getBlockAtIndex=function(e){return this.blockList.getObjectAtIndex(e)},c.prototype.getBlockAtPosition=function(e){var t;return t=this.locationFromPosition(e).index,this.getBlockAtIndex(t)},c.prototype.getTextAtIndex=function(e){var t;return null!=(t=this.getBlockAtIndex(e))?t.text:void 0},c.prototype.getTextAtPosition=function(e){var t;return t=this.locationFromPosition(e).index,this.getTextAtIndex(t)},c.prototype.getPieceAtPosition=function(e){var t,n,r;return t=(r=this.locationFromPosition(e)).index,n=r.offset,this.getTextAtIndex(t).getPieceAtPosition(n)},c.prototype.getCharacterAtPosition=function(e){var t,n,r;return t=(r=this.locationFromPosition(e)).index,n=r.offset,this.getTextAtIndex(t).getStringAtRange([n,n+1])},c.prototype.getLength=function(){return this.blockList.getEndPosition()},c.prototype.getBlocks=function(){return this.blockList.toArray()},c.prototype.getBlockCount=function(){return this.blockList.length},c.prototype.getEditCount=function(){return this.editCount},c.prototype.eachBlock=function(e){return this.blockList.eachObject(e)},c.prototype.eachBlockAtRange=function(e,t){var r,o,i,a,s,l,c,u,d,f,p,h;if(p=(l=e=n(e))[0],i=l[1],f=this.locationFromPosition(p),o=this.locationFromPosition(i),f.index===o.index)return r=this.getBlockAtIndex(f.index),h=[f.offset,o.offset],t(r,h,f.index);for(d=[],s=a=c=f.index,u=o.index;u>=c?u>=a:a>=u;s=u>=c?++a:--a)(r=this.getBlockAtIndex(s))?(h=function(){switch(s){case f.index:return[f.offset,r.text.getLength()];case o.index:return[0,o.offset];default:return[0,r.text.getLength()]}}(),d.push(t(r,h,s))):d.push(void 0);return d},c.prototype.getCommonAttributesAtRange=function(e){var t,o,a;return o=(e=n(e))[0],r(e)?this.getCommonAttributesAtPosition(o):(a=[],t=[],this.eachBlockAtRange(e,(function(e,n){return n[0]!==n[1]?(a.push(e.text.getCommonAttributesAtRange(n)),t.push(u(e))):void 0})),i.Hash.fromCommonAttributesOfObjects(a).merge(i.Hash.fromCommonAttributesOfObjects(t)).toObject())},c.prototype.getCommonAttributesAtPosition=function(e){var t,n,r,o,a,s,c,d,f,p;if(a=(f=this.locationFromPosition(e)).index,d=f.offset,!(r=this.getBlockAtIndex(a)))return{};for(c in o=u(r),t=r.text.getAttributesAtPosition(d),n=r.text.getAttributesAtPosition(d-1),s=function(){var e,t;for(c in t=[],e=i.config.textAttributes)(p=e[c]).inheritable&&t.push(c);return t}(),n)((p=n[c])===t[c]||l.call(s,c)>=0)&&(o[c]=p);return o},c.prototype.getRangeOfCommonAttributeAtPosition=function(e,t){var r,o,i,a,s,l,c,u;return i=(s=this.locationFromPosition(t)).index,a=s.offset,u=(l=this.getTextAtIndex(i).getExpandedRangeForAttributeAtOffset(e,a))[0],o=l[1],c=this.positionFromLocation({index:i,offset:u}),r=this.positionFromLocation({index:i,offset:o}),n([c,r])},c.prototype.getBaseBlockAttributes=function(){var e,t,n,r,o,i,a;for(e=this.getBlockAtIndex(0).getAttributes(),n=r=1,a=this.getBlockCount();a>=1?a>r:r>a;n=a>=1?++r:--r)t=this.getBlockAtIndex(n).getAttributes(),i=Math.min(e.length,t.length),e=function(){var n,r,a;for(a=[],o=n=0,r=i;(r>=0?r>n:n>r)&&t[o]===e[o];o=r>=0?++n:--n)a.push(t[o]);return a}();return e},u=function(e){var t,n;return n={},(t=e.getLastAttribute())&&(n[t]=!0),n},c.prototype.getAttachmentById=function(e){var t,n,r,o;for(n=0,r=(o=this.getAttachments()).length;r>n;n++)if((t=o[n]).id===e)return t},c.prototype.getAttachmentPieces=function(){var e;return e=[],this.blockList.eachObject((function(t){var n;return n=t.text,e=e.concat(n.getAttachmentPieces())})),e},c.prototype.getAttachments=function(){var e,t,n,r,o;for(o=[],e=0,t=(r=this.getAttachmentPieces()).length;t>e;e++)n=r[e],o.push(n.attachment);return o},c.prototype.getRangeOfAttachment=function(e){var t,r,o,i,a,s,l;for(i=0,r=t=0,o=(a=this.blockList.toArray()).length;o>t;r=++t){if(l=(s=a[r].text).getRangeOfAttachment(e))return n([i+l[0],i+l[1]]);i+=s.getLength()}},c.prototype.getLocationRangeOfAttachment=function(e){var t;return t=this.getRangeOfAttachment(e),this.locationRangeFromRange(t)},c.prototype.getAttachmentPieceForAttachment=function(e){var t,n,r,o;for(t=0,n=(o=this.getAttachmentPieces()).length;n>t;t++)if((r=o[t]).attachment===e)return r},c.prototype.findRangesForBlockAttribute=function(e){var t,n,r,o,i,a,s;for(i=0,a=[],n=0,r=(s=this.getBlocks()).length;r>n;n++)o=(t=s[n]).getLength(),t.hasAttribute(e)&&a.push([i,i+o]),i+=o;return a},c.prototype.findRangesForTextAttribute=function(e,t){var n,r,o,i,a,s,l,c,u,d;for(d=(null!=t?t:{}).withValue,s=0,l=[],c=[],i=function(t){return null!=d?t.getAttribute(e)===d:t.hasAttribute(e)},n=0,r=(u=this.getPieces()).length;r>n;n++)o=(a=u[n]).getLength(),i(a)&&(l[1]===s?l[1]=s+o:c.push(l=[s,s+o])),s+=o;return c},c.prototype.locationFromPosition=function(e){var t,n;return null!=(n=this.blockList.findIndexAndOffsetAtPosition(Math.max(0,e))).index?n:{index:(t=this.getBlocks()).length-1,offset:t[t.length-1].getLength()}},c.prototype.positionFromLocation=function(e){return this.blockList.findPositionAtIndexAndOffset(e.index,e.offset)},c.prototype.locationRangeFromPosition=function(e){return n(this.locationFromPosition(e))},c.prototype.locationRangeFromRange=function(e){var t,r,o,i;if(e=n(e))return i=e[0],r=e[1],o=this.locationFromPosition(i),t=this.locationFromPosition(r),n([o,t])},c.prototype.rangeFromLocationRange=function(e){var t,o;return e=n(e),t=this.positionFromLocation(e[0]),r(e)||(o=this.positionFromLocation(e[1])),n([t,o])},c.prototype.isEqualTo=function(e){return this.blockList.isEqualTo(null!=e?e.blockList:void 0)},c.prototype.getTexts=function(){var e,t,n,r,o;for(o=[],t=0,n=(r=this.getBlocks()).length;n>t;t++)e=r[t],o.push(e.text);return o},c.prototype.getPieces=function(){var e,t,n,r,o;for(n=[],e=0,t=(r=this.getTexts()).length;t>e;e++)o=r[e],n.push.apply(n,o.getPieces());return n},c.prototype.getObjects=function(){return this.getBlocks().concat(this.getTexts()).concat(this.getPieces())},c.prototype.toSerializableDocument=function(){var e;return e=[],this.blockList.eachObject((function(t){return e.push(t.copyWithText(t.text.toSerializableText()))})),new this.constructor(e)},c.prototype.toString=function(){return this.blockList.toString()},c.prototype.toJSON=function(){return this.blockList.toJSON()},c.prototype.toConsole=function(){var e;return JSON.stringify(function(){var t,n,r,o;for(o=[],t=0,n=(r=this.blockList.toArray()).length;n>t;t++)e=r[t],o.push(JSON.parse(e.text.toConsole()));return o}.call(this))},c}(i.Object)}.call(this),function(){i.LineBreakInsertion=function(){function e(e){var t;this.composition=e,this.document=this.composition.document,t=this.composition.getSelectedRange(),this.startPosition=t[0],this.endPosition=t[1],this.startLocation=this.document.locationFromPosition(this.startPosition),this.endLocation=this.document.locationFromPosition(this.endPosition),this.block=this.document.getBlockAtIndex(this.endLocation.index),this.breaksOnReturn=this.block.breaksOnReturn(),this.previousCharacter=this.block.text.getStringAtPosition(this.endLocation.offset-1),this.nextCharacter=this.block.text.getStringAtPosition(this.endLocation.offset)}return e.prototype.shouldInsertBlockBreak=function(){return this.block.hasAttributes()&&this.block.isListItem()&&!this.block.isEmpty()?0!==this.startLocation.offset:this.breaksOnReturn&&"\n"!==this.nextCharacter},e.prototype.shouldBreakFormattedBlock=function(){return this.block.hasAttributes()&&!this.block.isListItem()&&(this.breaksOnReturn&&"\n"===this.nextCharacter||"\n"===this.previousCharacter)},e.prototype.shouldDecreaseListLevel=function(){return this.block.hasAttributes()&&this.block.isListItem()&&this.block.isEmpty()},e.prototype.shouldPrependListItem=function(){return this.block.isListItem()&&0===this.startLocation.offset&&!this.block.isEmpty()},e.prototype.shouldRemoveLastBlockAttribute=function(){return this.block.hasAttributes()&&!this.block.isListItem()&&this.block.isEmpty()},e}()}.call(this),function(){var e,t,n,r,o,a,s,l,c,u,d=function(e,t){function n(){this.constructor=e}for(var r in t)f.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},f={}.hasOwnProperty;a=i.normalizeRange,c=i.rangesAreEqual,l=i.rangeIsCollapsed,s=i.objectsAreEqual,e=i.arrayStartsWith,u=i.summarizeArrayChange,n=i.getAllAttributeNames,r=i.getBlockConfig,o=i.getTextConfig,t=i.extend,i.Composition=function(f){function p(){this.document=new i.Document,this.attachments=[],this.currentAttributes={},this.revision=0}return d(p,f),p.prototype.setDocument=function(e){var t;return e.isEqualTo(this.document)?void 0:(this.document=e,this.refreshAttachments(),this.revision++,null!=(t=this.delegate)&&"function"==typeof t.compositionDidChangeDocument?t.compositionDidChangeDocument(e):void 0)},p.prototype.getSnapshot=function(){return{document:this.document,selectedRange:this.getSelectedRange()}},p.prototype.loadSnapshot=function(e){var t,n,r,o;return t=e.document,o=e.selectedRange,null!=(n=this.delegate)&&"function"==typeof n.compositionWillLoadSnapshot&&n.compositionWillLoadSnapshot(),this.setDocument(null!=t?t:new i.Document),this.setSelection(null!=o?o:[0,0]),null!=(r=this.delegate)&&"function"==typeof r.compositionDidLoadSnapshot?r.compositionDidLoadSnapshot():void 0},p.prototype.insertText=function(e,t){var n,r,o,i;return i=(null!=t?t:{updatePosition:!0}).updatePosition,r=this.getSelectedRange(),this.setDocument(this.document.insertTextAtRange(e,r)),n=(o=r[0])+e.getLength(),i&&this.setSelection(n),this.notifyDelegateOfInsertionAtRange([o,n])},p.prototype.insertBlock=function(e){var t;return null==e&&(e=new i.Block),t=new i.Document([e]),this.insertDocument(t)},p.prototype.insertDocument=function(e){var t,n,r;return null==e&&(e=new i.Document),n=this.getSelectedRange(),this.setDocument(this.document.insertDocumentAtRange(e,n)),t=(r=n[0])+e.getLength(),this.setSelection(t),this.notifyDelegateOfInsertionAtRange([r,t])},p.prototype.insertString=function(e,t){var n,r;return n=this.getCurrentTextAttributes(),r=i.Text.textForStringWithAttributes(e,n),this.insertText(r,t)},p.prototype.insertBlockBreak=function(){var e,t,n;return t=this.getSelectedRange(),this.setDocument(this.document.insertBlockBreakAtRange(t)),e=(n=t[0])+1,this.setSelection(e),this.notifyDelegateOfInsertionAtRange([n,e])},p.prototype.insertLineBreak=function(){var e,t;return(t=new i.LineBreakInsertion(this)).shouldDecreaseListLevel()?(this.decreaseListLevel(),this.setSelection(t.startPosition)):t.shouldPrependListItem()?(e=new i.Document([t.block.copyWithoutText()]),this.insertDocument(e)):t.shouldInsertBlockBreak()?this.insertBlockBreak():t.shouldRemoveLastBlockAttribute()?this.removeLastBlockAttribute():t.shouldBreakFormattedBlock()?this.breakFormattedBlock(t):this.insertString("\n")},p.prototype.insertHTML=function(e){var t,n,r,o;return t=i.Document.fromHTML(e),r=this.getSelectedRange(),this.setDocument(this.document.mergeDocumentAtRange(t,r)),n=(o=r[0])+t.getLength()-1,this.setSelection(n),this.notifyDelegateOfInsertionAtRange([o,n])},p.prototype.replaceHTML=function(e){var t,n,r;return t=i.Document.fromHTML(e).copyUsingObjectsFromDocument(this.document),n=this.getLocationRange({strict:!1}),r=this.document.rangeFromLocationRange(n),this.setDocument(t),this.setSelection(r)},p.prototype.insertFile=function(e){return this.insertFiles([e])},p.prototype.insertFiles=function(e){var t,n,r,o,a,s;for(n=[],o=0,a=e.length;a>o;o++)r=e[o],(null!=(s=this.delegate)?s.compositionShouldAcceptFile(r):void 0)&&(t=i.Attachment.attachmentForFile(r),n.push(t));return this.insertAttachments(n)},p.prototype.insertAttachment=function(e){return this.insertAttachments([e])},p.prototype.insertAttachments=function(e){var t,n,r,o,a,s,l,c,u;for(c=new i.Text,o=0,a=e.length;a>o;o++)u=(t=e[o]).getType(),s=null!=(l=i.config.attachments[u])?l.presentation:void 0,r=this.getCurrentTextAttributes(),s&&(r.presentation=s),n=i.Text.textForAttachmentWithAttributes(t,r),c=c.appendText(n);return this.insertText(c)},p.prototype.shouldManageDeletingInDirection=function(e){var t;if(t=this.getLocationRange(),l(t)){if("backward"===e&&0===t[0].offset)return!0;if(this.shouldManageMovingCursorInDirection(e))return!0}else if(t[0].index!==t[1].index)return!0;return!1},p.prototype.deleteInDirection=function(e,t){var n,r,o,i,a,s,c,u;return i=(null!=t?t:{}).length,a=this.getLocationRange(),s=this.getSelectedRange(),(c=l(s))?o="backward"===e&&0===a[0].offset:u=a[0].index!==a[1].index,!(o&&this.canDecreaseBlockAttributeLevel()&&(r=this.getBlock(),r.isListItem()?this.decreaseListLevel():this.decreaseBlockAttributeLevel(),this.setSelection(s[0]),r.isEmpty()))&&(c&&(s=this.getExpandedRangeInDirection(e,{length:i}),"backward"===e&&(n=this.getAttachmentAtRange(s))),n?(this.editAttachment(n),!1):(this.setDocument(this.document.removeTextAtRange(s)),this.setSelection(s[0]),!o&&!u&&void 0))},p.prototype.moveTextFromRange=function(e){var t;return t=this.getSelectedRange()[0],this.setDocument(this.document.moveTextFromRangeToPosition(e,t)),this.setSelection(t)},p.prototype.removeAttachment=function(e){var t;return(t=this.document.getRangeOfAttachment(e))?(this.stopEditingAttachment(),this.setDocument(this.document.removeTextAtRange(t)),this.setSelection(t[0])):void 0},p.prototype.removeLastBlockAttribute=function(){var e,t,n,r;return r=(n=this.getSelectedRange())[0],t=n[1],e=this.document.getBlockAtPosition(t),this.removeCurrentAttribute(e.getLastAttribute()),this.setSelection(r)}," ",p.prototype.insertPlaceholder=function(){return this.placeholderPosition=this.getPosition(),this.insertString(" ")},p.prototype.selectPlaceholder=function(){return null!=this.placeholderPosition?(this.setSelectedRange([this.placeholderPosition,this.placeholderPosition+" ".length]),this.getSelectedRange()):void 0},p.prototype.forgetPlaceholder=function(){return this.placeholderPosition=null},p.prototype.hasCurrentAttribute=function(e){var t;return null!=(t=this.currentAttributes[e])&&!1!==t},p.prototype.toggleCurrentAttribute=function(e){var t;return(t=!this.currentAttributes[e])?this.setCurrentAttribute(e,t):this.removeCurrentAttribute(e)},p.prototype.canSetCurrentAttribute=function(e){return r(e)?this.canSetCurrentBlockAttribute(e):this.canSetCurrentTextAttribute(e)},p.prototype.canSetCurrentTextAttribute=function(){var e,t,n,r;if(e=this.getSelectedDocument()){for(t=0,n=(r=e.getAttachments()).length;n>t;t++)if(!r[t].hasContent())return!1;return!0}},p.prototype.canSetCurrentBlockAttribute=function(){var e;if(e=this.getBlock())return!e.isTerminalBlock()},p.prototype.setCurrentAttribute=function(e,t){return r(e)?this.setBlockAttribute(e,t):(this.setTextAttribute(e,t),this.currentAttributes[e]=t,this.notifyDelegateOfCurrentAttributesChange())},p.prototype.setTextAttribute=function(e,t){var n,r;if(n=this.getSelectedRange())return n[0]!==n[1]?this.setDocument(this.document.addAttributeAtRange(e,t,n)):"href"===e?(r=i.Text.textForStringWithAttributes(t,{href:t}),this.insertText(r)):void 0},p.prototype.setBlockAttribute=function(e,t){var n;if(n=this.getSelectedRange())return this.canSetCurrentAttribute(e)?(this.getBlock(),this.setDocument(this.document.applyBlockAttributeAtRange(e,t,n)),this.setSelection(n)):void 0},p.prototype.removeCurrentAttribute=function(e){return r(e)?(this.removeBlockAttribute(e),this.updateCurrentAttributes()):(this.removeTextAttribute(e),delete this.currentAttributes[e],this.notifyDelegateOfCurrentAttributesChange())},p.prototype.removeTextAttribute=function(e){var t;if(t=this.getSelectedRange())return this.setDocument(this.document.removeAttributeAtRange(e,t))},p.prototype.removeBlockAttribute=function(e){var t;if(t=this.getSelectedRange())return this.setDocument(this.document.removeAttributeAtRange(e,t))},p.prototype.canDecreaseNestingLevel=function(){var e;return(null!=(e=this.getBlock())?e.getNestingLevel():void 0)>0},p.prototype.canIncreaseNestingLevel=function(){var t,n,o;if(t=this.getBlock())return null!=(o=r(t.getLastNestableAttribute()))&&o.listAttribute?(n=this.getPreviousBlock())?e(n.getListItemAttributes(),t.getListItemAttributes()):void 0:t.getNestingLevel()>0},p.prototype.decreaseNestingLevel=function(){var e;if(e=this.getBlock())return this.setDocument(this.document.replaceBlock(e,e.decreaseNestingLevel()))},p.prototype.increaseNestingLevel=function(){var e;if(e=this.getBlock())return this.setDocument(this.document.replaceBlock(e,e.increaseNestingLevel()))},p.prototype.canDecreaseBlockAttributeLevel=function(){var e;return(null!=(e=this.getBlock())?e.getAttributeLevel():void 0)>0},p.prototype.decreaseBlockAttributeLevel=function(){var e,t;return(e=null!=(t=this.getBlock())?t.getLastAttribute():void 0)?this.removeCurrentAttribute(e):void 0},p.prototype.decreaseListLevel=function(){var e,t,n,r,o,i;for(i=this.getSelectedRange()[0],n=o=this.document.locationFromPosition(i).index,e=this.getBlock().getAttributeLevel();(t=this.document.getBlockAtIndex(n+1))&&t.isListItem()&&t.getAttributeLevel()>e;)n++;return i=this.document.positionFromLocation({index:o,offset:0}),r=this.document.positionFromLocation({index:n,offset:0}),this.setDocument(this.document.removeLastListAttributeAtRange([i,r]))},p.prototype.updateCurrentAttributes=function(){var e,t,r,o,i,a;if(a=this.getSelectedRange({ignoreLock:!0})){for(t=this.document.getCommonAttributesAtRange(a),r=0,o=(i=n()).length;o>r;r++)t[e=i[r]]||this.canSetCurrentAttribute(e)||(t[e]=!1);if(!s(t,this.currentAttributes))return this.currentAttributes=t,this.notifyDelegateOfCurrentAttributesChange()}},p.prototype.getCurrentAttributes=function(){return t.call({},this.currentAttributes)},p.prototype.getCurrentTextAttributes=function(){var e,t,n,r;for(t in e={},n=this.currentAttributes)!1!==(r=n[t])&&o(t)&&(e[t]=r);return e},p.prototype.freezeSelection=function(){return this.setCurrentAttribute("frozen",!0)},p.prototype.thawSelection=function(){return this.removeCurrentAttribute("frozen")},p.prototype.hasFrozenSelection=function(){return this.hasCurrentAttribute("frozen")},p.proxyMethod("getSelectionManager().getPointRange"),p.proxyMethod("getSelectionManager().setLocationRangeFromPointRange"),p.proxyMethod("getSelectionManager().createLocationRangeFromDOMRange"),p.proxyMethod("getSelectionManager().locationIsCursorTarget"),p.proxyMethod("getSelectionManager().selectionIsExpanded"),p.proxyMethod("delegate?.getSelectionManager"),p.prototype.setSelection=function(e){var t,n;return t=this.document.locationRangeFromRange(e),null!=(n=this.delegate)?n.compositionDidRequestChangingSelectionToLocationRange(t):void 0},p.prototype.getSelectedRange=function(){var e;return(e=this.getLocationRange())?this.document.rangeFromLocationRange(e):void 0},p.prototype.setSelectedRange=function(e){var t;return t=this.document.locationRangeFromRange(e),this.getSelectionManager().setLocationRange(t)},p.prototype.getPosition=function(){var e;return(e=this.getLocationRange())?this.document.positionFromLocation(e[0]):void 0},p.prototype.getLocationRange=function(e){var t,n;return null!=(t=null!=(n=this.targetLocationRange)?n:this.getSelectionManager().getLocationRange(e))?t:a({index:0,offset:0})},p.prototype.withTargetLocationRange=function(e,t){var n;this.targetLocationRange=e;try{n=t()}finally{this.targetLocationRange=null}return n},p.prototype.withTargetRange=function(e,t){var n;return n=this.document.locationRangeFromRange(e),this.withTargetLocationRange(n,t)},p.prototype.withTargetDOMRange=function(e,t){var n;return n=this.createLocationRangeFromDOMRange(e,{strict:!1}),this.withTargetLocationRange(n,t)},p.prototype.getExpandedRangeInDirection=function(e,t){var n,r,o,i;return r=(null!=t?t:{}).length,i=(o=this.getSelectedRange())[0],n=o[1],"backward"===e?r?i-=r:i=this.translateUTF16PositionFromOffset(i,-1):r?n+=r:n=this.translateUTF16PositionFromOffset(n,1),a([i,n])},p.prototype.shouldManageMovingCursorInDirection=function(e){var t;return!!this.editingAttachment||(t=this.getExpandedRangeInDirection(e),null!=this.getAttachmentAtRange(t))},p.prototype.moveCursorInDirection=function(e){var t,n,r,o;return this.editingAttachment?r=this.document.getRangeOfAttachment(this.editingAttachment):(o=this.getSelectedRange(),r=this.getExpandedRangeInDirection(e),n=!c(o,r)),this.setSelectedRange("backward"===e?r[0]:r[1]),n&&(t=this.getAttachmentAtRange(r))?this.editAttachment(t):void 0},p.prototype.expandSelectionInDirection=function(e,t){var n,r;return n=(null!=t?t:{}).length,r=this.getExpandedRangeInDirection(e,{length:n}),this.setSelectedRange(r)},p.prototype.expandSelectionForEditing=function(){return this.hasCurrentAttribute("href")?this.expandSelectionAroundCommonAttribute("href"):void 0},p.prototype.expandSelectionAroundCommonAttribute=function(e){var t,n;return t=this.getPosition(),n=this.document.getRangeOfCommonAttributeAtPosition(e,t),this.setSelectedRange(n)},p.prototype.selectionContainsAttachments=function(){var e;return(null!=(e=this.getSelectedAttachments())?e.length:void 0)>0},p.prototype.selectionIsInCursorTarget=function(){return this.editingAttachment||this.positionIsCursorTarget(this.getPosition())},p.prototype.positionIsCursorTarget=function(e){var t;return(t=this.document.locationFromPosition(e))?this.locationIsCursorTarget(t):void 0},p.prototype.positionIsBlockBreak=function(e){var t;return null!=(t=this.document.getPieceAtPosition(e))?t.isBlockBreak():void 0},p.prototype.getSelectedDocument=function(){var e;return(e=this.getSelectedRange())?this.document.getDocumentAtRange(e):void 0},p.prototype.getSelectedAttachments=function(){var e;return null!=(e=this.getSelectedDocument())?e.getAttachments():void 0},p.prototype.getAttachments=function(){return this.attachments.slice(0)},p.prototype.refreshAttachments=function(){var e,t,n,r,o,i,a,s,l,c,d,f;for(n=this.document.getAttachments(),e=(s=u(this.attachments,n)).added,d=s.removed,this.attachments=n,r=0,i=d.length;i>r;r++)(t=d[r]).delegate=null,null!=(l=this.delegate)&&"function"==typeof l.compositionDidRemoveAttachment&&l.compositionDidRemoveAttachment(t);for(f=[],o=0,a=e.length;a>o;o++)(t=e[o]).delegate=this,f.push(null!=(c=this.delegate)&&"function"==typeof c.compositionDidAddAttachment?c.compositionDidAddAttachment(t):void 0);return f},p.prototype.attachmentDidChangeAttributes=function(e){var t;return this.revision++,null!=(t=this.delegate)&&"function"==typeof t.compositionDidEditAttachment?t.compositionDidEditAttachment(e):void 0},p.prototype.attachmentDidChangePreviewURL=function(e){var t;return this.revision++,null!=(t=this.delegate)&&"function"==typeof t.compositionDidChangeAttachmentPreviewURL?t.compositionDidChangeAttachmentPreviewURL(e):void 0},p.prototype.editAttachment=function(e,t){var n;if(e!==this.editingAttachment)return this.stopEditingAttachment(),this.editingAttachment=e,null!=(n=this.delegate)&&"function"==typeof n.compositionDidStartEditingAttachment?n.compositionDidStartEditingAttachment(this.editingAttachment,t):void 0},p.prototype.stopEditingAttachment=function(){var e;if(this.editingAttachment)return null!=(e=this.delegate)&&"function"==typeof e.compositionDidStopEditingAttachment&&e.compositionDidStopEditingAttachment(this.editingAttachment),this.editingAttachment=null},p.prototype.updateAttributesForAttachment=function(e,t){return this.setDocument(this.document.updateAttributesForAttachment(e,t))},p.prototype.removeAttributeForAttachment=function(e,t){return this.setDocument(this.document.removeAttributeForAttachment(e,t))},p.prototype.breakFormattedBlock=function(e){var t,n,r,o,a;return n=e.document,t=e.block,a=[(o=e.startPosition)-1,o],t.getBlockBreakPosition()===e.startLocation.offset?(t.breaksOnReturn()&&"\n"===e.nextCharacter?o+=1:n=n.removeTextAtRange(a),a=[o,o]):"\n"===e.nextCharacter?"\n"===e.previousCharacter?a=[o-1,o+1]:(a=[o,o+1],o+=1):e.startLocation.offset-1!=0&&(o+=1),r=new i.Document([t.removeLastAttribute().copyWithoutText()]),this.setDocument(n.insertDocumentAtRange(r,a)),this.setSelection(o)},p.prototype.getPreviousBlock=function(){var e,t;return(t=this.getLocationRange())&&(e=t[0].index)>0?this.document.getBlockAtIndex(e-1):void 0},p.prototype.getBlock=function(){var e;return(e=this.getLocationRange())?this.document.getBlockAtIndex(e[0].index):void 0},p.prototype.getAttachmentAtRange=function(e){var t;return(t=this.document.getDocumentAtRange(e)).toString()===i.OBJECT_REPLACEMENT_CHARACTER+"\n"?t.getAttachments()[0]:void 0},p.prototype.notifyDelegateOfCurrentAttributesChange=function(){var e;return null!=(e=this.delegate)&&"function"==typeof e.compositionDidChangeCurrentAttributes?e.compositionDidChangeCurrentAttributes(this.currentAttributes):void 0},p.prototype.notifyDelegateOfInsertionAtRange=function(e){var t;return null!=(t=this.delegate)&&"function"==typeof t.compositionDidPerformInsertionAtRange?t.compositionDidPerformInsertionAtRange(e):void 0},p.prototype.translateUTF16PositionFromOffset=function(e,t){var n,r;return n=(r=this.document.toUTF16String()).offsetFromUCS2Offset(e),r.offsetToUCS2Offset(n+t)},p}(i.BasicObject)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.UndoManager=function(t){function n(e){this.composition=e,this.undoEntries=[],this.redoEntries=[]}var r;return e(n,t),n.prototype.recordUndoEntry=function(e,t){var n,o,i,a,s;return o=(a=null!=t?t:{}).context,n=a.consolidatable,i=this.undoEntries.slice(-1)[0],n&&r(i,e,o)?void 0:(s=this.createEntry({description:e,context:o}),this.undoEntries.push(s),this.redoEntries=[])},n.prototype.undo=function(){var e,t;return(t=this.undoEntries.pop())?(e=this.createEntry(t),this.redoEntries.push(e),this.composition.loadSnapshot(t.snapshot)):void 0},n.prototype.redo=function(){var e,t;return(e=this.redoEntries.pop())?(t=this.createEntry(e),this.undoEntries.push(t),this.composition.loadSnapshot(e.snapshot)):void 0},n.prototype.canUndo=function(){return this.undoEntries.length>0},n.prototype.canRedo=function(){return this.redoEntries.length>0},n.prototype.createEntry=function(e){var t,n,r;return n=(r=null!=e?e:{}).description,t=r.context,{description:null!=n?n.toString():void 0,context:JSON.stringify(t),snapshot:this.composition.getSnapshot()}},r=function(e,t,n){return(null!=e?e.description:void 0)===(null!=t?t.toString():void 0)&&(null!=e?e.context:void 0)===JSON.stringify(n)},n}(i.BasicObject)}.call(this),function(){var e;i.attachmentGalleryFilter=function(t){var n;return(n=new e(t)).perform(),n.getSnapshot()},e=function(){function e(e){this.document=e.document,this.selectedRange=e.selectedRange}var t;return t="attachmentGallery","presentation","gallery",e.prototype.perform=function(){return this.removeBlockAttribute(),this.applyBlockAttribute()},e.prototype.getSnapshot=function(){return{document:this.document,selectedRange:this.selectedRange}},e.prototype.removeBlockAttribute=function(){var e,n,r,o,i;for(i=[],e=0,n=(o=this.findRangesOfBlocks()).length;n>e;e++)r=o[e],i.push(this.document=this.document.removeAttributeAtRange(t,r));return i},e.prototype.applyBlockAttribute=function(){var e,n,r,o,i,a;for(r=0,a=[],e=0,n=(i=this.findRangesOfPieces()).length;n>e;e++)(o=i[e])[1]-o[0]>1&&(o[0]+=r,o[1]+=r,"\n"!==this.document.getCharacterAtPosition(o[1])&&(this.document=this.document.insertBlockBreakAtRange(o[1]),o[1]<this.selectedRange[1]&&this.moveSelectedRangeForward(),o[1]++,r++),0!==o[0]&&"\n"!==this.document.getCharacterAtPosition(o[0]-1)&&(this.document=this.document.insertBlockBreakAtRange(o[0]),o[0]<this.selectedRange[0]&&this.moveSelectedRangeForward(),o[0]++,r++),a.push(this.document=this.document.applyBlockAttributeAtRange(t,!0,o)));return a},e.prototype.findRangesOfBlocks=function(){return this.document.findRangesForBlockAttribute(t)},e.prototype.findRangesOfPieces=function(){return this.document.findRangesForTextAttribute("presentation",{withValue:"gallery"})},e.prototype.moveSelectedRangeForward=function(){return this.selectedRange[0]+=1,this.selectedRange[1]+=1},e}()}.call(this),function(){i.Editor=function(){function e(e,n,r){this.composition=e,this.selectionManager=n,this.element=r,this.insertFiles=function(e,t){return function(){return e.apply(t,arguments)}}(this.insertFiles,this),this.undoManager=new i.UndoManager(this.composition),this.filters=t.slice(0)}var t;return t=[i.attachmentGalleryFilter],e.prototype.loadDocument=function(e){return this.loadSnapshot({document:e,selectedRange:[0,0]})},e.prototype.loadHTML=function(e){return null==e&&(e=""),this.loadDocument(i.Document.fromHTML(e,{referenceElement:this.element}))},e.prototype.loadJSON=function(e){var t,n;return t=e.document,n=e.selectedRange,t=i.Document.fromJSON(t),this.loadSnapshot({document:t,selectedRange:n})},e.prototype.loadSnapshot=function(e){return this.undoManager=new i.UndoManager(this.composition),this.composition.loadSnapshot(e)},e.prototype.getDocument=function(){return this.composition.document},e.prototype.getSelectedDocument=function(){return this.composition.getSelectedDocument()},e.prototype.getSnapshot=function(){return this.composition.getSnapshot()},e.prototype.toJSON=function(){return this.getSnapshot()},e.prototype.deleteInDirection=function(e){return this.composition.deleteInDirection(e)},e.prototype.insertAttachment=function(e){return this.composition.insertAttachment(e)},e.prototype.insertAttachments=function(e){return this.composition.insertAttachments(e)},e.prototype.insertDocument=function(e){return this.composition.insertDocument(e)},e.prototype.insertFile=function(e){return this.composition.insertFile(e)},e.prototype.insertFiles=function(e){return this.composition.insertFiles(e)},e.prototype.insertHTML=function(e){return this.composition.insertHTML(e)},e.prototype.insertString=function(e){return this.composition.insertString(e)},e.prototype.insertText=function(e){return this.composition.insertText(e)},e.prototype.insertLineBreak=function(){return this.composition.insertLineBreak()},e.prototype.getSelectedRange=function(){return this.composition.getSelectedRange()},e.prototype.getPosition=function(){return this.composition.getPosition()},e.prototype.getClientRectAtPosition=function(e){var t;return t=this.getDocument().locationRangeFromRange([e,e+1]),this.selectionManager.getClientRectAtLocationRange(t)},e.prototype.expandSelectionInDirection=function(e){return this.composition.expandSelectionInDirection(e)},e.prototype.moveCursorInDirection=function(e){return this.composition.moveCursorInDirection(e)},e.prototype.setSelectedRange=function(e){return this.composition.setSelectedRange(e)},e.prototype.activateAttribute=function(e,t){return null==t&&(t=!0),this.composition.setCurrentAttribute(e,t)},e.prototype.attributeIsActive=function(e){return this.composition.hasCurrentAttribute(e)},e.prototype.canActivateAttribute=function(e){return this.composition.canSetCurrentAttribute(e)},e.prototype.deactivateAttribute=function(e){return this.composition.removeCurrentAttribute(e)},e.prototype.canDecreaseNestingLevel=function(){return this.composition.canDecreaseNestingLevel()},e.prototype.canIncreaseNestingLevel=function(){return this.composition.canIncreaseNestingLevel()},e.prototype.decreaseNestingLevel=function(){return this.canDecreaseNestingLevel()?this.composition.decreaseNestingLevel():void 0},e.prototype.increaseNestingLevel=function(){return this.canIncreaseNestingLevel()?this.composition.increaseNestingLevel():void 0},e.prototype.canRedo=function(){return this.undoManager.canRedo()},e.prototype.canUndo=function(){return this.undoManager.canUndo()},e.prototype.recordUndoEntry=function(e,t){var n,r,o;return r=(o=null!=t?t:{}).context,n=o.consolidatable,this.undoManager.recordUndoEntry(e,{context:r,consolidatable:n})},e.prototype.redo=function(){return this.canRedo()?this.undoManager.redo():void 0},e.prototype.undo=function(){return this.canUndo()?this.undoManager.undo():void 0},e}()}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.ManagedAttachment=function(t){function n(e,t){var n;this.attachmentManager=e,this.attachment=t,n=this.attachment,this.id=n.id,this.file=n.file}return e(n,t),n.prototype.remove=function(){return this.attachmentManager.requestRemovalOfAttachment(this.attachment)},n.proxyMethod("attachment.getAttribute"),n.proxyMethod("attachment.hasAttribute"),n.proxyMethod("attachment.setAttribute"),n.proxyMethod("attachment.getAttributes"),n.proxyMethod("attachment.setAttributes"),n.proxyMethod("attachment.isPending"),n.proxyMethod("attachment.isPreviewable"),n.proxyMethod("attachment.getURL"),n.proxyMethod("attachment.getHref"),n.proxyMethod("attachment.getFilename"),n.proxyMethod("attachment.getFilesize"),n.proxyMethod("attachment.getFormattedFilesize"),n.proxyMethod("attachment.getExtension"),n.proxyMethod("attachment.getContentType"),n.proxyMethod("attachment.getFile"),n.proxyMethod("attachment.setFile"),n.proxyMethod("attachment.releaseFile"),n.proxyMethod("attachment.getUploadProgress"),n.proxyMethod("attachment.setUploadProgress"),n}(i.BasicObject)}.call(this),function(){var e=function(e,n){function r(){this.constructor=e}for(var o in n)t.call(n,o)&&(e[o]=n[o]);return r.prototype=n.prototype,e.prototype=new r,e.__super__=n.prototype,e},t={}.hasOwnProperty;i.AttachmentManager=function(t){function n(e){var t,n,r;for(null==e&&(e=[]),this.managedAttachments={},n=0,r=e.length;r>n;n++)t=e[n],this.manageAttachment(t)}return e(n,t),n.prototype.getAttachments=function(){var e,t,n,r;for(t in r=[],n=this.managedAttachments)e=n[t],r.push(e);return r},n.prototype.manageAttachment=function(e){var t,n;return null!=(t=this.managedAttachments)[n=e.id]?t[n]:t[n]=new i.ManagedAttachment(this,e)},n.prototype.attachmentIsManaged=function(e){return e.id in this.managedAttachments},n.prototype.requestRemovalOfAttachment=function(e){var t;return this.attachmentIsManaged(e)&&null!=(t=this.delegate)&&"function"==typeof t.attachmentManagerDidRequestRemovalOfAttachment?t.attachmentManagerDidRequestRemovalOfAttachment(e):void 0},n.prototype.unmanageAttachment=function(e){var t;return t=this.managedAttachments[e.id],delete this.managedAttachments[e.id],t},n}(i.BasicObject)}.call(this),function(){var e,t,n,r,o,a,s,l,c,u,d;e=i.elementContainsNode,t=i.findChildIndexOfNode,o=i.nodeIsBlockStart,a=i.nodeIsBlockStartComment,r=i.nodeIsBlockContainer,s=i.nodeIsCursorTarget,l=i.nodeIsEmptyTextNode,c=i.nodeIsTextNode,n=i.nodeIsAttachmentElement,u=i.tagName,d=i.walkTree,i.LocationMapper=function(){function i(e){this.element=e}var f,p,h,m;return i.prototype.findLocationFromContainerAndOffset=function(n,r,i){var a,l,u,f,m,g,v;for(g=(null!=i?i:{strict:!0}).strict,l=0,u=!1,f={index:0,offset:0},(a=this.findAttachmentElementParentForNode(n))&&(n=a.parentNode,r=t(a)),v=d(this.element,{usingFilter:h});v.nextNode();){if((m=v.currentNode)===n&&c(n)){s(m)||(f.offset+=r);break}if(m.parentNode===n){if(l++===r)break}else if(!e(n,m)&&l>0)break;o(m,{strict:g})?(u&&f.index++,f.offset=0,u=!0):f.offset+=p(m)}return f},i.prototype.findContainerAndOffsetFromLocation=function(e){var n,i,a,l,u;if(0===e.index&&0===e.offset){for(n=this.element,l=0;n.firstChild;)if(n=n.firstChild,r(n)){l=1;break}return[n,l]}if(i=(u=this.findNodeAndOffsetFromLocation(e))[0],a=u[1],i){if(c(i))0===p(i)?(n=i.parentNode.parentNode,l=t(i.parentNode),s(i,{name:"right"})&&l++):(n=i,l=e.offset-a);else{if(n=i.parentNode,!o(i.previousSibling)&&!r(n))for(;i===n.lastChild&&(i=n,n=n.parentNode,!r(n)););l=t(i),0!==e.offset&&l++}return[n,l]}},i.prototype.findNodeAndOffsetFromLocation=function(e){var t,n,r,o,i,a,l,u;for(l=0,n=0,r=(u=this.getSignificantNodesForIndex(e.index)).length;r>n;n++){if(t=u[n],o=p(t),e.offset<=l+o)if(c(t)){if(i=t,a=l,e.offset===a&&s(i))break}else i||(i=t,a=l);if((l+=o)>e.offset)break}return[i,a]},i.prototype.findAttachmentElementParentForNode=function(e){for(;e&&e!==this.element;){if(n(e))return e;e=e.parentNode}},i.prototype.getSignificantNodesForIndex=function(e){var t,n,r,o,i;for(r=[],i=d(this.element,{usingFilter:f}),o=!1;i.nextNode();)if(n=i.currentNode,a(n)){if(null!=t?t++:t=0,t===e)o=!0;else if(o)break}else o&&r.push(n);return r},p=function(e){return e.nodeType===Node.TEXT_NODE?s(e)?0:e.textContent.length:"br"===u(e)||n(e)?1:0},f=function(e){return m(e)===NodeFilter.FILTER_ACCEPT?h(e):NodeFilter.FILTER_REJECT},m=function(e){return l(e)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},h=function(e){return n(e.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},i}()}.call(this),function(){var e,t,n=[].slice;e=i.getDOMRange,t=i.setDOMRange,i.PointMapper=function(){function r(){}return r.prototype.createDOMRangeFromPoint=function(n){var r,o,i,a,s,l,c,u;if(c=n.x,u=n.y,document.caretPositionFromPoint)return i=(s=document.caretPositionFromPoint(c,u)).offsetNode,o=s.offset,(r=document.createRange()).setStart(i,o),r;if(document.caretRangeFromPoint)return document.caretRangeFromPoint(c,u);if(document.body.createTextRange){a=e();try{(l=document.body.createTextRange()).moveToPoint(c,u),l.select()}catch(e){}return r=e(),t(a),r}},r.prototype.getClientRectsForDOMRange=function(e){var t;return[(t=n.call(e.getClientRects()))[0],t[t.length-1]]},r}()}.call(this),function(){var e,t=function(e,t){return function(){return e.apply(t,arguments)}},n=function(e,t){function n(){this.constructor=e}for(var o in t)r.call(t,o)&&(e[o]=t[o]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},r={}.hasOwnProperty,o=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=i.getDOMRange,i.SelectionChangeObserver=function(r){function i(){this.run=t(this.run,this),this.update=t(this.update,this),this.selectionManagers=[]}var a;return n(i,r),i.prototype.start=function(){return this.started?void 0:(this.started=!0,"onselectionchange"in document?document.addEventListener("selectionchange",this.update,!0):this.run())},i.prototype.stop=function(){return this.started?(this.started=!1,document.removeEventListener("selectionchange",this.update,!0)):void 0},i.prototype.registerSelectionManager=function(e){return o.call(this.selectionManagers,e)<0?(this.selectionManagers.push(e),this.start()):void 0},i.prototype.unregisterSelectionManager=function(e){var t;return this.selectionManagers=function(){var n,r,o,i;for(i=[],n=0,r=(o=this.selectionManagers).length;r>n;n++)(t=o[n])!==e&&i.push(t);return i}.call(this),0===this.selectionManagers.length?this.stop():void 0},i.prototype.notifySelectionManagersOfSelectionChange=function(){var e,t,n,r,o;for(r=[],e=0,t=(n=this.selectionManagers).length;t>e;e++)o=n[e],r.push(o.selectionDidChange());return r},i.prototype.update=function(){var t;return t=e(),a(t,this.domRange)?void 0:(this.domRange=t,this.notifySelectionManagersOfSelectionChange())},i.prototype.reset=function(){return this.domRange=null,this.update()},i.prototype.run=function(){return this.started?(this.update(),requestAnimationFrame(this.run)):void 0},a=function(e,t){return(null!=e?e.startContainer:void 0)===(null!=t?t.startContainer:void 0)&&(null!=e?e.startOffset:void 0)===(null!=t?t.startOffset:void 0)&&(null!=e?e.endContainer:void 0)===(null!=t?t.endContainer:void 0)&&(null!=e?e.endOffset:void 0)===(null!=t?t.endOffset:void 0)},i}(i.BasicObject),null==i.selectionChangeObserver&&(i.selectionChangeObserver=new i.SelectionChangeObserver)}.call(this),function(){var e,t,n,r,o,a,s,l,c,u,d=function(e,t){return function(){return e.apply(t,arguments)}},f=function(e,t){function n(){this.constructor=e}for(var r in t)p.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},p={}.hasOwnProperty;n=i.getDOMSelection,t=i.getDOMRange,u=i.setDOMRange,e=i.elementContainsNode,a=i.nodeIsCursorTarget,o=i.innerElementIsActive,r=i.handleEvent,s=i.normalizeRange,l=i.rangeIsCollapsed,c=i.rangesAreEqual,i.SelectionManager=function(p){function h(e){this.element=e,this.selectionDidChange=d(this.selectionDidChange,this),this.didMouseDown=d(this.didMouseDown,this),this.locationMapper=new i.LocationMapper(this.element),this.pointMapper=new i.PointMapper,this.lockCount=0,r("mousedown",{onElement:this.element,withCallback:this.didMouseDown})}return f(h,p),h.prototype.getLocationRange=function(e){var n;return null==e&&(e={}),!1===e.strict?this.createLocationRangeFromDOMRange(t(),{strict:!1}):e.ignoreLock?this.currentLocationRange:null!=(n=this.lockedLocationRange)?n:this.currentLocationRange},h.prototype.setLocationRange=function(e){var t;if(!this.lockedLocationRange)return e=s(e),(t=this.createDOMRangeFromLocationRange(e))?(u(t),this.updateCurrentLocationRange(e)):void 0},h.prototype.setLocationRangeFromPointRange=function(e){var t,n;return e=s(e),n=this.getLocationAtPoint(e[0]),t=this.getLocationAtPoint(e[1]),this.setLocationRange([n,t])},h.prototype.getClientRectAtLocationRange=function(e){var t;return(t=this.createDOMRangeFromLocationRange(e))?this.getClientRectsForDOMRange(t)[1]:void 0},h.prototype.locationIsCursorTarget=function(e){var t,n;return t=(n=this.findNodeAndOffsetFromLocation(e))[0],n[1],a(t)},h.prototype.lock=function(){return 0==this.lockCount++?(this.updateCurrentLocationRange(),this.lockedLocationRange=this.getLocationRange()):void 0},h.prototype.unlock=function(){var e;return 0==--this.lockCount&&(e=this.lockedLocationRange,this.lockedLocationRange=null,null!=e)?this.setLocationRange(e):void 0},h.prototype.clearSelection=function(){var e;return null!=(e=n())?e.removeAllRanges():void 0},h.prototype.selectionIsCollapsed=function(){var e;return!0===(null!=(e=t())?e.collapsed:void 0)},h.prototype.selectionIsExpanded=function(){return!this.selectionIsCollapsed()},h.prototype.createLocationRangeFromDOMRange=function(e,t){var n,r;if(null!=e&&this.domRangeWithinElement(e)&&(r=this.findLocationFromContainerAndOffset(e.startContainer,e.startOffset,t)))return e.collapsed||(n=this.findLocationFromContainerAndOffset(e.endContainer,e.endOffset,t)),s([r,n])},h.proxyMethod("locationMapper.findLocationFromContainerAndOffset"),h.proxyMethod("locationMapper.findContainerAndOffsetFromLocation"),h.proxyMethod("locationMapper.findNodeAndOffsetFromLocation"),h.proxyMethod("pointMapper.createDOMRangeFromPoint"),h.proxyMethod("pointMapper.getClientRectsForDOMRange"),h.prototype.didMouseDown=function(){return this.pauseTemporarily()},h.prototype.pauseTemporarily=function(){var t,n,o,i;return this.paused=!0,n=function(t){return function(){var n,r;for(t.paused=!1,clearTimeout(i),n=0,r=o.length;r>n;n++)o[n].destroy();return e(document,t.element)?t.selectionDidChange():void 0}}(this),i=setTimeout(n,200),o=function(){var e,o,i,a;for(a=[],e=0,o=(i=["mousemove","keydown"]).length;o>e;e++)t=i[e],a.push(r(t,{onElement:document,withCallback:n}));return a}()},h.prototype.selectionDidChange=function(){return this.paused||o(this.element)?void 0:this.updateCurrentLocationRange()},h.prototype.updateCurrentLocationRange=function(e){var n;return(null!=e?e:e=this.createLocationRangeFromDOMRange(t()))&&!c(e,this.currentLocationRange)?(this.currentLocationRange=e,null!=(n=this.delegate)&&"function"==typeof n.locationRangeDidChange?n.locationRangeDidChange(this.currentLocationRange.slice(0)):void 0):void 0},h.prototype.createDOMRangeFromLocationRange=function(e){var t,n,r,o;return r=this.findContainerAndOffsetFromLocation(e[0]),n=l(e)?r:null!=(o=this.findContainerAndOffsetFromLocation(e[1]))?o:r,null!=r&&null!=n?((t=document.createRange()).setStart.apply(t,r),t.setEnd.apply(t,n),t):void 0},h.prototype.getLocationAtPoint=function(e){var t,n;return(t=this.createDOMRangeFromPoint(e))&&null!=(n=this.createLocationRangeFromDOMRange(t))?n[0]:void 0},h.prototype.domRangeWithinElement=function(t){return t.collapsed?e(this.element,t.startContainer):e(this.element,t.startContainer)&&e(this.element,t.endContainer)},h}(i.BasicObject)}.call(this),function(){var e,t,n,r,o=function(e,t){function n(){this.constructor=e}for(var r in t)a.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},a={}.hasOwnProperty,s=[].slice;n=i.rangeIsCollapsed,r=i.rangesAreEqual,t=i.objectsAreEqual,e=i.getBlockConfig,i.EditorController=function(a){function l(e){var t,n;this.editorElement=e.editorElement,t=e.document,n=e.html,this.selectionManager=new i.SelectionManager(this.editorElement),this.selectionManager.delegate=this,this.composition=new i.Composition,this.composition.delegate=this,this.attachmentManager=new i.AttachmentManager(this.composition.getAttachments()),this.attachmentManager.delegate=this,this.inputController=new(i["Level"+i.config.input.getLevel()+"InputController"])(this.editorElement),this.inputController.delegate=this,this.inputController.responder=this.composition,this.compositionController=new i.CompositionController(this.editorElement,this.composition),this.compositionController.delegate=this,this.toolbarController=new i.ToolbarController(this.editorElement.toolbarElement),this.toolbarController.delegate=this,this.editor=new i.Editor(this.composition,this.selectionManager,this.editorElement),null!=t?this.editor.loadDocument(t):this.editor.loadHTML(n)}var c;return o(l,a),l.prototype.registerSelectionManager=function(){return i.selectionChangeObserver.registerSelectionManager(this.selectionManager)},l.prototype.unregisterSelectionManager=function(){return i.selectionChangeObserver.unregisterSelectionManager(this.selectionManager)},l.prototype.render=function(){return this.compositionController.render()},l.prototype.reparse=function(){return this.composition.replaceHTML(this.editorElement.innerHTML)},l.prototype.compositionDidChangeDocument=function(){return this.notifyEditorElement("document-change"),this.handlingInput?void 0:this.render()},l.prototype.compositionDidChangeCurrentAttributes=function(e){return this.currentAttributes=e,this.toolbarController.updateAttributes(this.currentAttributes),this.updateCurrentActions(),this.notifyEditorElement("attributes-change",{attributes:this.currentAttributes})},l.prototype.compositionDidPerformInsertionAtRange=function(e){return this.pasting?this.pastedRange=e:void 0},l.prototype.compositionShouldAcceptFile=function(e){return this.notifyEditorElement("file-accept",{file:e})},l.prototype.compositionDidAddAttachment=function(e){var t;return t=this.attachmentManager.manageAttachment(e),this.notifyEditorElement("attachment-add",{attachment:t})},l.prototype.compositionDidEditAttachment=function(e){var t;return this.compositionController.rerenderViewForObject(e),t=this.attachmentManager.manageAttachment(e),this.notifyEditorElement("attachment-edit",{attachment:t}),this.notifyEditorElement("change")},l.prototype.compositionDidChangeAttachmentPreviewURL=function(e){return this.compositionController.invalidateViewForObject(e),this.notifyEditorElement("change")},l.prototype.compositionDidRemoveAttachment=function(e){var t;return t=this.attachmentManager.unmanageAttachment(e),this.notifyEditorElement("attachment-remove",{attachment:t})},l.prototype.compositionDidStartEditingAttachment=function(e,t){return this.attachmentLocationRange=this.composition.document.getLocationRangeOfAttachment(e),this.compositionController.installAttachmentEditorForAttachment(e,t),this.selectionManager.setLocationRange(this.attachmentLocationRange)},l.prototype.compositionDidStopEditingAttachment=function(){return this.compositionController.uninstallAttachmentEditor(),this.attachmentLocationRange=null},l.prototype.compositionDidRequestChangingSelectionToLocationRange=function(e){return!this.loadingSnapshot||this.isFocused()?(this.requestedLocationRange=e,this.compositionRevisionWhenLocationRangeRequested=this.composition.revision,this.handlingInput?void 0:this.render()):void 0},l.prototype.compositionWillLoadSnapshot=function(){return this.loadingSnapshot=!0},l.prototype.compositionDidLoadSnapshot=function(){return this.compositionController.refreshViewCache(),this.render(),this.loadingSnapshot=!1},l.prototype.getSelectionManager=function(){return this.selectionManager},l.proxyMethod("getSelectionManager().setLocationRange"),l.proxyMethod("getSelectionManager().getLocationRange"),l.prototype.attachmentManagerDidRequestRemovalOfAttachment=function(e){return this.removeAttachment(e)},l.prototype.compositionControllerWillSyncDocumentView=function(){return this.inputController.editorWillSyncDocumentView(),this.selectionManager.lock(),this.selectionManager.clearSelection()},l.prototype.compositionControllerDidSyncDocumentView=function(){return this.inputController.editorDidSyncDocumentView(),this.selectionManager.unlock(),this.updateCurrentActions(),this.notifyEditorElement("sync")},l.prototype.compositionControllerDidRender=function(){return null!=this.requestedLocationRange&&(this.compositionRevisionWhenLocationRangeRequested===this.composition.revision&&this.selectionManager.setLocationRange(this.requestedLocationRange),this.requestedLocationRange=null,this.compositionRevisionWhenLocationRangeRequested=null),this.renderedCompositionRevision!==this.composition.revision&&(this.runEditorFilters(),this.composition.updateCurrentAttributes(),this.notifyEditorElement("render")),this.renderedCompositionRevision=this.composition.revision},l.prototype.compositionControllerDidFocus=function(){return this.isFocusedInvisibly()&&this.setLocationRange({index:0,offset:0}),this.toolbarController.hideDialog(),this.notifyEditorElement("focus")},l.prototype.compositionControllerDidBlur=function(){return this.notifyEditorElement("blur")},l.prototype.compositionControllerDidSelectAttachment=function(e,t){return this.toolbarController.hideDialog(),this.composition.editAttachment(e,t)},l.prototype.compositionControllerDidRequestDeselectingAttachment=function(e){var t,n;return t=null!=(n=this.attachmentLocationRange)?n:this.composition.document.getLocationRangeOfAttachment(e),this.selectionManager.setLocationRange(t[1])},l.prototype.compositionControllerWillUpdateAttachment=function(e){return this.editor.recordUndoEntry("Edit Attachment",{context:e.id,consolidatable:!0})},l.prototype.compositionControllerDidRequestRemovalOfAttachment=function(e){return this.removeAttachment(e)},l.prototype.inputControllerWillHandleInput=function(){return this.handlingInput=!0,this.requestedRender=!1},l.prototype.inputControllerDidRequestRender=function(){return this.requestedRender=!0},l.prototype.inputControllerDidHandleInput=function(){return this.handlingInput=!1,this.requestedRender?(this.requestedRender=!1,this.render()):void 0},l.prototype.inputControllerDidAllowUnhandledInput=function(){return this.notifyEditorElement("change")},l.prototype.inputControllerDidRequestReparse=function(){return this.reparse()},l.prototype.inputControllerWillPerformTyping=function(){return this.recordTypingUndoEntry()},l.prototype.inputControllerWillPerformFormatting=function(e){return this.recordFormattingUndoEntry(e)},l.prototype.inputControllerWillCutText=function(){return this.editor.recordUndoEntry("Cut")},l.prototype.inputControllerWillPaste=function(e){return this.editor.recordUndoEntry("Paste"),this.pasting=!0,this.notifyEditorElement("before-paste",{paste:e})},l.prototype.inputControllerDidPaste=function(e){return e.range=this.pastedRange,this.pastedRange=null,this.pasting=null,this.notifyEditorElement("paste",{paste:e})},l.prototype.inputControllerWillMoveText=function(){return this.editor.recordUndoEntry("Move")},l.prototype.inputControllerWillAttachFiles=function(){return this.editor.recordUndoEntry("Drop Files")},l.prototype.inputControllerWillPerformUndo=function(){return this.editor.undo()},l.prototype.inputControllerWillPerformRedo=function(){return this.editor.redo()},l.prototype.inputControllerDidReceiveKeyboardCommand=function(e){return this.toolbarController.applyKeyboardCommand(e)},l.prototype.inputControllerDidStartDrag=function(){return this.locationRangeBeforeDrag=this.selectionManager.getLocationRange()},l.prototype.inputControllerDidReceiveDragOverPoint=function(e){return this.selectionManager.setLocationRangeFromPointRange(e)},l.prototype.inputControllerDidCancelDrag=function(){return this.selectionManager.setLocationRange(this.locationRangeBeforeDrag),this.locationRangeBeforeDrag=null},l.prototype.locationRangeDidChange=function(e){return this.composition.updateCurrentAttributes(),this.updateCurrentActions(),this.attachmentLocationRange&&!r(this.attachmentLocationRange,e)&&this.composition.stopEditingAttachment(),this.notifyEditorElement("selection-change")},l.prototype.toolbarDidClickButton=function(){return this.getLocationRange()?void 0:this.setLocationRange({index:0,offset:0})},l.prototype.toolbarDidInvokeAction=function(e){return this.invokeAction(e)},l.prototype.toolbarDidToggleAttribute=function(e){return this.recordFormattingUndoEntry(e),this.composition.toggleCurrentAttribute(e),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},l.prototype.toolbarDidUpdateAttribute=function(e,t){return this.recordFormattingUndoEntry(e),this.composition.setCurrentAttribute(e,t),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},l.prototype.toolbarDidRemoveAttribute=function(e){return this.recordFormattingUndoEntry(e),this.composition.removeCurrentAttribute(e),this.render(),this.selectionFrozen?void 0:this.editorElement.focus()},l.prototype.toolbarWillShowDialog=function(){return this.composition.expandSelectionForEditing(),this.freezeSelection()},l.prototype.toolbarDidShowDialog=function(e){return this.notifyEditorElement("toolbar-dialog-show",{dialogName:e})},l.prototype.toolbarDidHideDialog=function(e){return this.thawSelection(),this.editorElement.focus(),this.notifyEditorElement("toolbar-dialog-hide",{dialogName:e})},l.prototype.freezeSelection=function(){return this.selectionFrozen?void 0:(this.selectionManager.lock(),this.composition.freezeSelection(),this.selectionFrozen=!0,this.render())},l.prototype.thawSelection=function(){return this.selectionFrozen?(this.composition.thawSelection(),this.selectionManager.unlock(),this.selectionFrozen=!1,this.render()):void 0},l.prototype.actions={undo:{test:function(){return this.editor.canUndo()},perform:function(){return this.editor.undo()}},redo:{test:function(){return this.editor.canRedo()},perform:function(){return this.editor.redo()}},link:{test:function(){return this.editor.canActivateAttribute("href")}},increaseNestingLevel:{test:function(){return this.editor.canIncreaseNestingLevel()},perform:function(){return this.editor.increaseNestingLevel()&&this.render()}},decreaseNestingLevel:{test:function(){return this.editor.canDecreaseNestingLevel()},perform:function(){return this.editor.decreaseNestingLevel()&&this.render()}},attachFiles:{test:function(){return!0},perform:function(){return i.config.input.pickFiles(this.editor.insertFiles)}}},l.prototype.canInvokeAction=function(e){var t,n;return!!this.actionIsExternal(e)||!!(null!=(t=this.actions[e])&&null!=(n=t.test)?n.call(this):void 0)},l.prototype.invokeAction=function(e){var t,n;return this.actionIsExternal(e)?this.notifyEditorElement("action-invoke",{actionName:e}):null!=(t=this.actions[e])&&null!=(n=t.perform)?n.call(this):void 0},l.prototype.actionIsExternal=function(e){return/^x-./.test(e)},l.prototype.getCurrentActions=function(){var e,t;for(e in t={},this.actions)t[e]=this.canInvokeAction(e);return t},l.prototype.updateCurrentActions=function(){var e;return e=this.getCurrentActions(),t(e,this.currentActions)?void 0:(this.currentActions=e,this.toolbarController.updateActions(this.currentActions),this.notifyEditorElement("actions-change",{actions:this.currentActions}))},l.prototype.runEditorFilters=function(){var e,t,n,r,o,i,a,s;for(s=this.composition.getSnapshot(),n=0,r=(o=this.editor.filters).length;r>n;n++)t=o[n],e=s.document,a=s.selectedRange,null==(s=null!=(i=t.call(this.editor,s))?i:{}).document&&(s.document=e),null==s.selectedRange&&(s.selectedRange=a);return c(s,this.composition.getSnapshot())?void 0:this.composition.loadSnapshot(s)},c=function(e,t){return r(e.selectedRange,t.selectedRange)&&e.document.isEqualTo(t.document)},l.prototype.updateInputElement=function(){var e,t;return e=this.compositionController.getSerializableElement(),t=i.serializeToContentType(e,"text/html"),this.editorElement.setInputElementValue(t)},l.prototype.notifyEditorElement=function(e,t){switch(e){case"document-change":this.documentChangedSinceLastRender=!0;break;case"render":this.documentChangedSinceLastRender&&(this.documentChangedSinceLastRender=!1,this.notifyEditorElement("change"));break;case"change":case"attachment-add":case"attachment-edit":case"attachment-remove":this.updateInputElement()}return this.editorElement.notify(e,t)},l.prototype.removeAttachment=function(e){return this.editor.recordUndoEntry("Delete Attachment"),this.composition.removeAttachment(e),this.render()},l.prototype.recordFormattingUndoEntry=function(t){var r,o;return r=e(t),o=this.selectionManager.getLocationRange(),r||!n(o)?this.editor.recordUndoEntry("Formatting",{context:this.getUndoContext(),consolidatable:!0}):void 0},l.prototype.recordTypingUndoEntry=function(){return this.editor.recordUndoEntry("Typing",{context:this.getUndoContext(this.currentAttributes),consolidatable:!0})},l.prototype.getUndoContext=function(){var e;return e=1<=arguments.length?s.call(arguments,0):[],[this.getLocationContext(),this.getTimeContext()].concat(s.call(e))},l.prototype.getLocationContext=function(){var e;return e=this.selectionManager.getLocationRange(),n(e)?e[0].index:e},l.prototype.getTimeContext=function(){return i.config.undoInterval>0?Math.floor((new Date).getTime()/i.config.undoInterval):0},l.prototype.isFocused=function(){var e;return this.editorElement===(null!=(e=this.editorElement.ownerDocument)?e.activeElement:void 0)},l.prototype.isFocusedInvisibly=function(){return this.isFocused()&&!this.getLocationRange()},l}(i.Controller)}.call(this),function(){var e,t,n,r,o,a,s,l=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};t=i.browser,a=i.makeElement,s=i.triggerEvent,r=i.handleEvent,o=i.handleEventOnce,n=i.findClosestElementFromNode,e=i.AttachmentView.attachmentSelector,i.registerElement("trix-editor",function(){var c,u,d,f,p,h,m,g,v;return m=0,u=function(e){return!document.querySelector(":focus")&&e.hasAttribute("autofocus")&&document.querySelector("[autofocus]")===e?e.focus():void 0},g=function(e){return e.hasAttribute("contenteditable")?void 0:(e.setAttribute("contenteditable",""),o("focus",{onElement:e,withCallback:function(){return d(e)}}))},d=function(e){return p(e),v(e)},p=function(e){return("function"==typeof document.queryCommandSupported?document.queryCommandSupported("enableObjectResizing"):void 0)?(document.execCommand("enableObjectResizing",!1,!1),r("mscontrolselect",{onElement:e,preventDefault:!0})):void 0},v=function(){var e;return("function"==typeof document.queryCommandSupported?document.queryCommandSupported("DefaultParagraphSeparator"):void 0)&&("div"===(e=i.config.blockAttributes.default.tagName)||"p"===e)?document.execCommand("DefaultParagraphSeparator",!1,e):void 0},c=function(e){return e.hasAttribute("role")?void 0:e.setAttribute("role","textbox")},h=function(e){var t;if(!e.hasAttribute("aria-label")&&!e.hasAttribute("aria-labelledby"))return(t=function(){var t,n,r;return r=function(){var n,r,o,i;for(i=[],n=0,r=(o=e.labels).length;r>n;n++)(t=o[n]).contains(e)||i.push(t.textContent);return i}(),(n=r.join(" "))?e.setAttribute("aria-label",n):e.removeAttribute("aria-label")})(),r("focus",{onElement:e,withCallback:t})},f=t.forcesObjectResizing?{display:"inline",width:"auto"}:{display:"inline-block",width:"1px"},{defaultCSS:"%t {\n  display: block;\n}\n\n%t:empty:not(:focus)::before {\n  content: attr(placeholder);\n  color: graytext;\n  cursor: text;\n  pointer-events: none;\n}\n\n%t a[contenteditable=false] {\n  cursor: text;\n}\n\n%t img {\n  max-width: 100%;\n  height: auto;\n}\n\n%t "+e+" figcaption textarea {\n  resize: none;\n}\n\n%t "+e+" figcaption textarea.trix-autoresize-clone {\n  position: absolute;\n  left: -9999px;\n  max-height: 0px;\n}\n\n%t "+e+" figcaption[data-trix-placeholder]:empty::before {\n  content: attr(data-trix-placeholder);\n  color: graytext;\n}\n\n%t [data-trix-cursor-target] {\n  display: "+f.display+" !important;\n  width: "+f.width+" !important;\n  padding: 0 !important;\n  margin: 0 !important;\n  border: none !important;\n}\n\n%t [data-trix-cursor-target=left] {\n  vertical-align: top !important;\n  margin-left: -1px !important;\n}\n\n%t [data-trix-cursor-target=right] {\n  vertical-align: bottom !important;\n  margin-right: -1px !important;\n}",trixId:{get:function(){return this.hasAttribute("trix-id")?this.getAttribute("trix-id"):(this.setAttribute("trix-id",++m),this.trixId)}},labels:{get:function(){var e,t,r;return t=[],this.id&&this.ownerDocument&&t.push.apply(t,this.ownerDocument.querySelectorAll("label[for='"+this.id+"']")),(e=n(this,{matchingSelector:"label"}))&&((r=e.control)===this||null===r)&&t.push(e),t}},toolbarElement:{get:function(){var e,t,n;return this.hasAttribute("toolbar")?null!=(t=this.ownerDocument)?t.getElementById(this.getAttribute("toolbar")):void 0:this.parentNode?(n="trix-toolbar-"+this.trixId,this.setAttribute("toolbar",n),e=a("trix-toolbar",{id:n}),this.parentNode.insertBefore(e,this),e):void 0}},inputElement:{get:function(){var e,t,n;return this.hasAttribute("input")?null!=(n=this.ownerDocument)?n.getElementById(this.getAttribute("input")):void 0:this.parentNode?(t="trix-input-"+this.trixId,this.setAttribute("input",t),e=a("input",{type:"hidden",id:t}),this.parentNode.insertBefore(e,this.nextElementSibling),e):void 0}},editor:{get:function(){var e;return null!=(e=this.editorController)?e.editor:void 0}},name:{get:function(){var e;return null!=(e=this.inputElement)?e.name:void 0}},value:{get:function(){var e;return null!=(e=this.inputElement)?e.value:void 0},set:function(e){var t;return this.defaultValue=e,null!=(t=this.editor)?t.loadHTML(this.defaultValue):void 0}},notify:function(e,t){return this.editorController?s("trix-"+e,{onElement:this,attributes:t}):void 0},setInputElementValue:function(e){var t;return null!=(t=this.inputElement)?t.value=e:void 0},initialize:function(){return this.hasAttribute("data-trix-internal")?void 0:(g(this),c(this),h(this))},connect:function(){return this.hasAttribute("data-trix-internal")?void 0:(this.editorController||(s("trix-before-initialize",{onElement:this}),this.editorController=new i.EditorController({editorElement:this,html:this.defaultValue=this.value}),requestAnimationFrame(function(e){return function(){return s("trix-initialize",{onElement:e})}}(this))),this.editorController.registerSelectionManager(),this.registerResetListener(),this.registerClickListener(),u(this))},disconnect:function(){var e;return null!=(e=this.editorController)&&e.unregisterSelectionManager(),this.unregisterResetListener(),this.unregisterClickListener()},registerResetListener:function(){return this.resetListener=this.resetBubbled.bind(this),window.addEventListener("reset",this.resetListener,!1)},unregisterResetListener:function(){return window.removeEventListener("reset",this.resetListener,!1)},registerClickListener:function(){return this.clickListener=this.clickBubbled.bind(this),window.addEventListener("click",this.clickListener,!1)},unregisterClickListener:function(){return window.removeEventListener("click",this.clickListener,!1)},resetBubbled:function(e){var t;if(!e.defaultPrevented&&e.target===(null!=(t=this.inputElement)?t.form:void 0))return this.reset()},clickBubbled:function(e){var t;if(!(e.defaultPrevented||this.contains(e.target)||!(t=n(e.target,{matchingSelector:"label"}))||l.call(this.labels,t)<0))return this.focus()},reset:function(){return this.value=this.defaultValue}}}())}.call(this),function(){}.call(this)}).call(this),e.exports?e.exports=i:void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)}.call(this)},80789:function(e,t,n){"use strict";n.d(t,{Ch:function(){return c},$c:function(){return l}});var r=n(87462),o=n(63366),i=n(67294);n(41143);function a(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}function l(e,t,n){var r=(0,i.useRef)(void 0!==e),o=(0,i.useState)(t),a=o[0],s=o[1],l=void 0!==e,c=r.current;return r.current=l,!l&&c&&a!==t&&s(t),[l?e:a,(0,i.useCallback)((function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];n&&n.apply(void 0,[e].concat(r)),s(e)}),[n])]}function c(e,t){return Object.keys(t).reduce((function(n,i){var c,u=n,d=u[a(i)],f=u[i],p=(0,o.Z)(u,[a(i),i].map(s)),h=t[i],m=l(f,d,e[h]),g=m[0],v=m[1];return(0,r.Z)({},p,((c={})[i]=g,c[h]=v,c))}),e)}n(46871)},73469:function(e,t,n){"use strict";var r=n(67294).useLayoutEffect;t.Z=r},48966: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.default=void 0;var o=Ve(n(8469)),i=Ve(n(77536)),a=Ve(n(21359)),s=Ve(n(557)),l=Ve(n(2315)),c=Ve(n(89466)),u=Ve(n(30661)),d=Ve(n(83868)),f=Ve(n(66823)),p=Ve(n(28999)),h=Ve(n(61028)),m=Ve(n(27795)),g=Ve(n(10221)),v=Ve(n(82549)),b=Ve(n(99493)),y=Ve(n(67380)),A=We(n(19234)),x=We(n(94583)),C=Ve(n(24986)),_=Ve(n(40542)),w=Ve(n(24595)),k=Ve(n(43928)),S=Ve(n(57245)),E=Ve(n(15566)),B=Ve(n(64094)),O=Ve(n(77146)),j=Ve(n(82941)),T=Ve(n(49019)),P=Ve(n(13590)),M=Ve(n(86826)),D=Ve(n(72828)),R=Ve(n(20937)),L=We(n(79146)),I=Ve(n(85218)),N=Ve(n(77117)),F=Ve(n(66090)),z=Ve(n(58335)),q=Ve(n(96298)),U=Ve(n(20481)),H=Ve(n(16648)),W=Ve(n(34339)),V=We(n(88177)),Y=Ve(n(42438)),Z=Ve(n(90368)),G=Ve(n(18874)),K=Ve(n(74979)),$=Ve(n(81008)),X=Ve(n(54069)),Q=Ve(n(20661)),J=Ve(n(93235)),ee=Ve(n(57278)),te=Ve(n(19131)),ne=Ve(n(93315)),re=Ve(n(51464)),oe=Ve(n(27228)),ie=Ve(n(682)),ae=Ve(n(49396)),se=Ve(n(35807)),le=Ve(n(57148)),ce=Ve(n(87612)),ue=Ve(n(29887)),de=Ve(n(53058)),fe=We(n(28355)),pe=Ve(n(82129)),he=Ve(n(90094)),me=Ve(n(88021)),ge=Ve(n(65061)),ve=Ve(n(94611)),be=Ve(n(21727)),ye=Ve(n(86776)),Ae=Ve(n(19963)),xe=Ve(n(2782)),Ce=Ve(n(65008)),_e=Ve(n(2689)),we=Ve(n(98983)),ke=Ve(n(72776)),Se=Ve(n(44554)),Ee=Ve(n(90478)),Be=We(n(78140)),Oe=Ve(n(14959)),je=Ve(n(29778)),Te=Ve(n(24790)),Pe=Ve(n(5152)),Me=Ve(n(94816)),De=Ve(n(8035)),Re=Ve(n(34714)),Le=Ve(n(44928)),Ie=Ve(n(88346)),Ne=Ve(n(2900)),Fe=Ve(n(68220)),ze=Ve(n(82786)),qe=Ve(n(17633)),Ue=Ve(n(55977));function He(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return He=function(){return e},e}function We(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=He();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,t&&t.set(e,n),n}function Ve(e){return e&&e.__esModule?e:{default:e}}var Ye={version:"13.7.0",toDate:o.default,toFloat:i.default,toInt:a.default,toBoolean:s.default,equals:l.default,contains:c.default,matches:u.default,isEmail:d.default,isURL:f.default,isMACAddress:p.default,isIP:h.default,isIPRange:m.default,isFQDN:g.default,isBoolean:b.default,isIBAN:V.default,isBIC:Y.default,isAlpha:A.default,isAlphaLocales:A.locales,isAlphanumeric:x.default,isAlphanumericLocales:x.locales,isNumeric:C.default,isPassportNumber:_.default,isPort:w.default,isLowercase:k.default,isUppercase:S.default,isAscii:B.default,isFullWidth:O.default,isHalfWidth:j.default,isVariableWidth:T.default,isMultibyte:P.default,isSemVer:M.default,isSurrogatePair:D.default,isInt:R.default,isIMEI:E.default,isFloat:L.default,isFloatLocales:L.locales,isDecimal:I.default,isHexadecimal:N.default,isOctal:F.default,isDivisibleBy:z.default,isHexColor:q.default,isRgbColor:U.default,isHSL:H.default,isISRC:W.default,isMD5:Z.default,isHash:G.default,isJWT:K.default,isJSON:$.default,isEmpty:X.default,isLength:Q.default,isLocale:y.default,isByteLength:J.default,isUUID:ee.default,isMongoId:te.default,isAfter:ne.default,isBefore:re.default,isIn:oe.default,isCreditCard:ie.default,isIdentityCard:ae.default,isEAN:se.default,isISIN:le.default,isISBN:ce.default,isISSN:ue.default,isMobilePhone:fe.default,isMobilePhoneLocales:fe.locales,isPostalCode:Be.default,isPostalCodeLocales:Be.locales,isEthereumAddress:pe.default,isCurrency:he.default,isBtcAddress:me.default,isISO8601:ge.default,isRFC3339:ve.default,isISO31661Alpha2:be.default,isISO31661Alpha3:ye.default,isISO4217:Ae.default,isBase32:xe.default,isBase58:Ce.default,isBase64:_e.default,isDataURI:we.default,isMagnetURI:ke.default,isMimeType:Se.default,isLatLong:Ee.default,ltrim:Oe.default,rtrim:je.default,trim:Te.default,escape:Pe.default,unescape:Me.default,stripLow:De.default,whitelist:Re.default,blacklist:Le.default,isWhitelisted:Ie.default,normalizeEmail:Ne.default,toString:toString,isSlug:Fe.default,isStrongPassword:qe.default,isTaxID:de.default,isDate:v.default,isLicensePlate:ze.default,isVAT:Ue.default,ibanLocales:V.locales};t.default=Ye,e.exports=t.default,e.exports.default=t.default},60079:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.commaDecimal=t.dotDecimal=t.farsiLocales=t.arabicLocales=t.englishLocales=t.decimal=t.alphanumeric=t.alpha=void 0;var n={"en-US":/^[A-Z]+$/i,"az-AZ":/^[A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[А-Я]+$/i,"cs-CZ":/^[A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[A-ZÆØÅ]+$/i,"de-DE":/^[A-ZÄÖÜß]+$/i,"el-GR":/^[Α-ώ]+$/i,"es-ES":/^[A-ZÁÉÍÑÓÚÜ]+$/i,"fa-IR":/^[ابپتثجچحخدذرزژسشصضطظعغفقکگلمنوهی]+$/i,"fi-FI":/^[A-ZÅÄÖ]+$/i,"fr-FR":/^[A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[A-ZÀÉÈÌÎÓÒÙ]+$/i,"nb-NO":/^[A-ZÆØÅ]+$/i,"nl-NL":/^[A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[A-ZÆØÅ]+$/i,"hu-HU":/^[A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"pl-PL":/^[A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[А-ЯЁ]+$/i,"sl-SI":/^[A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๐\s]+$/i,"tr-TR":/^[A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[А-ЩЬЮЯЄIЇҐі]+$/i,"vi-VN":/^[A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,"ku-IQ":/^[ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,ar:/^[ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[א-ת]+$/,fa:/^['آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی']+$/i,"hi-IN":/^[\u0900-\u0961]+[\u0972-\u097F]*$/i};t.alpha=n;var r={"en-US":/^[0-9A-Z]+$/i,"az-AZ":/^[0-9A-VXYZÇƏĞİıÖŞÜ]+$/i,"bg-BG":/^[0-9А-Я]+$/i,"cs-CZ":/^[0-9A-ZÁČĎÉĚÍŇÓŘŠŤÚŮÝŽ]+$/i,"da-DK":/^[0-9A-ZÆØÅ]+$/i,"de-DE":/^[0-9A-ZÄÖÜß]+$/i,"el-GR":/^[0-9Α-ω]+$/i,"es-ES":/^[0-9A-ZÁÉÍÑÓÚÜ]+$/i,"fi-FI":/^[0-9A-ZÅÄÖ]+$/i,"fr-FR":/^[0-9A-ZÀÂÆÇÉÈÊËÏÎÔŒÙÛÜŸ]+$/i,"it-IT":/^[0-9A-ZÀÉÈÌÎÓÒÙ]+$/i,"hu-HU":/^[0-9A-ZÁÉÍÓÖŐÚÜŰ]+$/i,"nb-NO":/^[0-9A-ZÆØÅ]+$/i,"nl-NL":/^[0-9A-ZÁÉËÏÓÖÜÚ]+$/i,"nn-NO":/^[0-9A-ZÆØÅ]+$/i,"pl-PL":/^[0-9A-ZĄĆĘŚŁŃÓŻŹ]+$/i,"pt-PT":/^[0-9A-ZÃÁÀÂÄÇÉÊËÍÏÕÓÔÖÚÜ]+$/i,"ru-RU":/^[0-9А-ЯЁ]+$/i,"sl-SI":/^[0-9A-ZČĆĐŠŽ]+$/i,"sk-SK":/^[0-9A-ZÁČĎÉÍŇÓŠŤÚÝŽĹŔĽÄÔ]+$/i,"sr-RS@latin":/^[0-9A-ZČĆŽŠĐ]+$/i,"sr-RS":/^[0-9А-ЯЂЈЉЊЋЏ]+$/i,"sv-SE":/^[0-9A-ZÅÄÖ]+$/i,"th-TH":/^[ก-๙\s]+$/i,"tr-TR":/^[0-9A-ZÇĞİıÖŞÜ]+$/i,"uk-UA":/^[0-9А-ЩЬЮЯЄIЇҐі]+$/i,"ku-IQ":/^[٠١٢٣٤٥٦٧٨٩0-9ئابپتجچحخدرڕزژسشعغفڤقکگلڵمنوۆھەیێيطؤثآإأكضصةظذ]+$/i,"vi-VN":/^[0-9A-ZÀÁẠẢÃÂẦẤẬẨẪĂẰẮẶẲẴĐÈÉẸẺẼÊỀẾỆỂỄÌÍỊỈĨÒÓỌỎÕÔỒỐỘỔỖƠỜỚỢỞỠÙÚỤỦŨƯỪỨỰỬỮỲÝỴỶỸ]+$/i,ar:/^[٠١٢٣٤٥٦٧٨٩0-9ءآأؤإئابةتثجحخدذرزسشصضطظعغفقكلمنهوىيًٌٍَُِّْٰ]+$/,he:/^[0-9א-ת]+$/,fa:/^['0-9آاءأؤئبپتثجچحخدذرزژسشصضطظعغفقکگلمنوهةی۱۲۳۴۵۶۷۸۹۰']+$/i,"hi-IN":/^[\u0900-\u0963]+[\u0966-\u097F]*$/i};t.alphanumeric=r;var o={"en-US":".",ar:"٫"};t.decimal=o;var i=["AU","GB","HK","IN","NZ","ZA","ZM"];t.englishLocales=i;for(var a,s=0;s<i.length;s++)n[a="en-".concat(i[s])]=n["en-US"],r[a]=r["en-US"],o[a]=o["en-US"];var l=["AE","BH","DZ","EG","IQ","JO","KW","LB","LY","MA","QM","QA","SA","SD","SY","TN","YE"];t.arabicLocales=l;for(var c,u=0;u<l.length;u++)n[c="ar-".concat(l[u])]=n.ar,r[c]=r.ar,o[c]=o.ar;var d=["IR","AF"];t.farsiLocales=d;for(var f,p=0;p<d.length;p++)r[f="fa-".concat(d[p])]=r.fa,o[f]=o.ar;var h=["ar-EG","ar-LB","ar-LY"];t.dotDecimal=h;var m=["bg-BG","cs-CZ","da-DK","de-DE","el-GR","en-ZM","es-ES","fr-CA","fr-FR","id-ID","it-IT","ku-IQ","hi-IN","hu-HU","nb-NO","nn-NO","nl-NL","pl-PL","pt-PT","ru-RU","sl-SI","sr-RS@latin","sr-RS","sv-SE","tr-TR","uk-UA","vi-VN"];t.commaDecimal=m;for(var g=0;g<h.length;g++)o[h[g]]=o["en-US"];for(var v=0;v<m.length;v++)o[m[v]]=",";n["fr-CA"]=n["fr-FR"],r["fr-CA"]=r["fr-FR"],n["pt-BR"]=n["pt-PT"],r["pt-BR"]=r["pt-PT"],o["pt-BR"]=o["pt-PT"],n["pl-Pl"]=n["pl-PL"],r["pl-Pl"]=r["pl-PL"],o["pl-Pl"]=o["pl-PL"],n["fa-AF"]=n.fa},44928:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[".concat(t,"]+"),"g"),"")};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},89466:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if((0,r.default)(e),(n=(0,i.default)(n,s)).ignoreCase)return e.toLowerCase().split((0,o.default)(t).toLowerCase()).length>n.minOccurrences;return e.split((0,o.default)(t)).length>n.minOccurrences};var r=a(n(65571)),o=a(n(31913)),i=a(n(84808));function a(e){return e&&e.__esModule?e:{default:e}}var s={ignoreCase:!1,minOccurrences:1};e.exports=t.default,e.exports.default=t.default},2315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e===t};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},5152:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/\//g,"&#x2F;").replace(/\\/g,"&#x5C;").replace(/`/g,"&#96;")};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},93315:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var n=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&n&&i>n)};var r=i(n(65571)),o=i(n(8469));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},19234:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var r=e,a=n.ignore;if(a)if(a instanceof RegExp)r=r.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");r=r.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alpha)return i.alpha[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r},i=n(60079);var a=Object.keys(i.alpha);t.locales=a},94583:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(0,o.default)(e);var r=e,a=n.ignore;if(a)if(a instanceof RegExp)r=r.replace(a,"");else{if("string"!=typeof a)throw new Error("ignore should be instance of a String or RegExp");r=r.replace(new RegExp("[".concat(a.replace(/[-[\]{}()*+?.,\\^$|#\\s]/g,"\\$&"),"]"),"g"),"")}if(t in i.alphanumeric)return i.alphanumeric[t].test(r);throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r},i=n(60079);var a=Object.keys(i.alphanumeric);t.locales=a},64094:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[\x00-\x7F]+$/;e.exports=t.default,e.exports.default=t.default},42438:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.CountryCodes.has(e.slice(4,6).toUpperCase()))return!1;return a.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r},i=n(21727);var a=/^[A-Za-z]{6}[A-Za-z0-9]{2}([A-Za-z0-9]{3})?$/;e.exports=t.default,e.exports.default=t.default},2782:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),e.length%8==0&&i.test(e))return!0;return!1};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[A-Z2-7]+=*$/;e.exports=t.default,e.exports.default=t.default},65008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),i.test(e))return!0;return!1};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[A-HJ-NP-Za-km-z1-9]*$/;e.exports=t.default,e.exports.default=t.default},2689:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),t=(0,o.default)(t,l);var n=e.length;if(t.urlSafe)return s.test(e);if(n%4!=0||a.test(e))return!1;var i=e.indexOf("=");return-1===i||i===n-1||i===n-2&&"="===e[n-1]};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a=/[^A-Z0-9+\/=]/i,s=/^[A-Z0-9_\-]*$/i,l={urlSafe:!1};e.exports=t.default,e.exports.default=t.default},51464:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:String(new Date);(0,r.default)(e);var n=(0,o.default)(t),i=(0,o.default)(e);return!!(i&&n&&i<n)};var r=i(n(65571)),o=i(n(8469));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},99493:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;if((0,o.default)(e),t.loose)return s.includes(e.toLowerCase());return a.includes(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={loose:!1},a=["true","false","1","0"],s=[].concat(a,["yes","no"]);e.exports=t.default,e.exports.default=t.default},88021:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),e.startsWith("bc1"))return i.test(e);return a.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(bc1)[a-z0-9]{25,39}$/,a=/^(1|3)[A-HJ-NP-Za-km-z1-9]{25,39}$/;e.exports=t.default,e.exports.default=t.default},93235:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===i(t)?(n=t.min||0,r=t.max):(n=arguments[1],r=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=n&&(void 0===r||a<=r)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}e.exports=t.default,e.exports.default=t.default},682:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var n,r,a,s=0,l=t.length-1;l>=0;l--)n=t.substring(l,l+1),r=parseInt(n,10),s+=a&&(r*=2)>=10?r%10+1:r,a=!a;return!(s%10!=0||!t)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(?:4[0-9]{12}(?:[0-9]{3,6})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12,15}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14}|^(81[0-9]{14,17}))$/;e.exports=t.default,e.exports.default=t.default},90094:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),function(e){var t="\\d{".concat(e.digits_after_decimal[0],"}");e.digits_after_decimal.forEach((function(e,n){0!==n&&(t="".concat(t,"|\\d{").concat(e,"}"))}));var n="(".concat(e.symbol.replace(/\W/,(function(e){return"\\".concat(e)})),")").concat(e.require_symbol?"":"?"),r="-?",o="[1-9]\\d{0,2}(\\".concat(e.thousands_separator,"\\d{3})*"),i="(".concat(["0","[1-9]\\d*",o].join("|"),")?"),a="(\\".concat(e.decimal_separator,"(").concat(t,"))").concat(e.require_decimal?"":"?"),s=i+(e.allow_decimal||e.require_decimal?a:"");e.allow_negatives&&!e.parens_for_negatives&&(e.negative_sign_after_digits?s+=r:e.negative_sign_before_digits&&(s=r+s));e.allow_negative_sign_placeholder?s="( (?!\\-))?".concat(s):e.allow_space_after_symbol?s=" ?".concat(s):e.allow_space_after_digits&&(s+="( (?!$))?");e.symbol_after_digits?s+=n:s=n+s;e.allow_negatives&&(e.parens_for_negatives?s="(\\(".concat(s,"\\)|").concat(s,")"):e.negative_sign_before_digits||e.negative_sign_after_digits||(s=r+s));return new RegExp("^(?!-? )(?=.*\\d)".concat(s,"$"))}(t=(0,r.default)(t,a)).test(e)};var r=i(n(84808)),o=i(n(65571));function i(e){return e&&e.__esModule?e:{default:e}}var a={symbol:"$",require_symbol:!1,allow_space_after_symbol:!1,symbol_after_digits:!1,allow_negatives:!0,parens_for_negatives:!1,negative_sign_before_digits:!1,negative_sign_after_digits:!1,allow_negative_sign_placeholder:!1,thousands_separator:",",decimal_separator:".",allow_decimal:!0,require_decimal:!1,digits_after_decimal:[2],allow_space_after_digits:!1};e.exports=t.default,e.exports.default=t.default},98983:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.split(",");if(t.length<2)return!1;var n=t.shift().trim().split(";"),r=n.shift();if("data:"!==r.substr(0,5))return!1;var l=r.substr(5);if(""!==l&&!i.test(l))return!1;for(var c=0;c<n.length;c++)if((c!==n.length-1||"base64"!==n[c].toLowerCase())&&!a.test(n[c]))return!1;for(var u=0;u<t.length;u++)if(!s.test(t[u]))return!1;return!0};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[a-z]+\/[a-z0-9\-\+]+$/i,a=/^[a-z\-]+=[a-z0-9\-]+$/i,s=/^[a-z0-9!\$&'\(\)\*\+,;=\-\._~:@\/\?%\s]*$/i;e.exports=t.default,e.exports.default=t.default},82549:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t="string"==typeof t?(0,o.default)({format:t},l):(0,o.default)(t,l);if("string"==typeof e&&(m=t.format,/(^(y{4}|y{2})[.\/-](m{1,2})[.\/-](d{1,2})$)|(^(m{1,2})[.\/-](d{1,2})[.\/-]((y{4}|y{2})$))|(^(d{1,2})[.\/-](m{1,2})[.\/-]((y{4}|y{2})$))/gi.test(m))){var n,r=t.delimiters.find((function(e){return-1!==t.format.indexOf(e)})),s=t.strictMode?r:t.delimiters.find((function(t){return-1!==e.indexOf(t)})),c=function(e,t){for(var n=[],r=Math.min(e.length,t.length),o=0;o<r;o++)n.push([e[o],t[o]]);return n}(e.split(s),t.format.toLowerCase().split(r)),u={},d=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=a(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}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 i,s=!0,l=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return s=e.done,e},e:function(e){l=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw i}}}}(c);try{for(d.s();!(n=d.n()).done;){var f=i(n.value,2),p=f[0],h=f[1];if(p.length!==h.length)return!1;u[h.charAt(0)]=p}}catch(e){d.e(e)}finally{d.f()}return new Date("".concat(u.m,"/").concat(u.d,"/").concat(u.y)).getDate()===+u.d}var m;if(!t.strictMode)return"[object Date]"===Object.prototype.toString.call(e)&&isFinite(e);return!1};var r,o=(r=n(84808))&&r.__esModule?r:{default:r};function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||a(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 a(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}function s(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 l={format:"YYYY/MM/DD",delimiters:["/","-"],strictMode:!1};e.exports=t.default,e.exports.default=t.default},85218:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(t=(0,r.default)(t,l)).locale in a.decimal)return!(0,i.default)(c,e.replace(/ /g,""))&&function(e){return new RegExp("^[-+]?([0-9]+)?(\\".concat(a.decimal[e.locale],"[0-9]{").concat(e.decimal_digits,"})").concat(e.force_decimal?"":"?","$"))}(t).test(e);throw new Error("Invalid locale '".concat(t.locale,"'"))};var r=s(n(84808)),o=s(n(65571)),i=s(n(18343)),a=n(60079);function s(e){return e&&e.__esModule?e:{default:e}}var l={force_decimal:!1,decimal_digits:"1,",locale:"en-US"},c=["","-","+"];e.exports=t.default,e.exports.default=t.default},58335:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),(0,o.default)(e)%parseInt(t,10)==0};var r=i(n(65571)),o=i(n(77536));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},35807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=Number(e.slice(-1));return i.test(e)&&t===(n=e,r=10-n.slice(0,-1).split("").map((function(e,t){return Number(e)*function(e,t){return 8===e||14===e?t%2==0?3:1:t%2==0?1:3}(n.length,t)})).reduce((function(e,t){return e+t}),0)%10,r<10?r:0);var n,r};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(\d{8}|\d{13}|\d{14})$/;e.exports=t.default,e.exports.default=t.default},83868:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),(t=(0,o.default)(t,c)).require_display_name||t.allow_display_name){var n=e.match(u);if(n){var l=n[1];if(e=e.replace(l,"").replace(/(^<|>$)/g,""),l.endsWith(" ")&&(l=l.substr(0,l.length-1)),!function(e){var t=e.replace(/^"(.+)"$/,"$1");if(!t.trim())return!1;if(/[\.";<>]/.test(t)){if(t===e)return!1;if(!(t.split('"').length===t.split('\\"').length))return!1}return!0}(l))return!1}else if(t.require_display_name)return!1}if(!t.ignore_max_length&&e.length>254)return!1;var g=e.split("@"),v=g.pop(),b=v.toLowerCase();if(t.host_blacklist.includes(b))return!1;var y=g.join("@");if(t.domain_specific_validation&&("gmail.com"===b||"googlemail.com"===b)){var A=(y=y.toLowerCase()).split("+")[0];if(!(0,i.default)(A.replace(/\./g,""),{min:6,max:30}))return!1;for(var x=A.split("."),C=0;C<x.length;C++)if(!f.test(x[C]))return!1}if(!(!1!==t.ignore_max_length||(0,i.default)(y,{max:64})&&(0,i.default)(v,{max:254})))return!1;if(!(0,a.default)(v,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,s.default)(v)){if(!v.startsWith("[")||!v.endsWith("]"))return!1;var _=v.substr(1,v.length-2);if(0===_.length||!(0,s.default)(_))return!1}}if('"'===y[0])return y=y.slice(1,y.length-1),t.allow_utf8_local_part?m.test(y):p.test(y);for(var w=t.allow_utf8_local_part?h:d,k=y.split("."),S=0;S<k.length;S++)if(!w.test(k[S]))return!1;if(t.blacklisted_chars&&-1!==y.search(new RegExp("[".concat(t.blacklisted_chars,"]+"),"g")))return!1;return!0};var r=l(n(65571)),o=l(n(84808)),i=l(n(93235)),a=l(n(10221)),s=l(n(61028));function l(e){return e&&e.__esModule?e:{default:e}}var c={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0,blacklisted_chars:"",ignore_max_length:!1,host_blacklist:[]},u=/^([^\x00-\x1F\x7F-\x9F\cX]+)</i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,h=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,m=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default,e.exports.default=t.default},54069:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)(e),0===((t=(0,o.default)(t,a)).ignore_whitespace?e.trim().length:e.length)};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a={ignore_whitespace:!1};e.exports=t.default,e.exports.default=t.default},82129:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(0x)[0-9a-f]{40}$/i;e.exports=t.default,e.exports.default=t.default},10221:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e),(t=(0,o.default)(t,a)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));!0===t.allow_wildcard&&0===e.indexOf("*.")&&(e=e.substring(2));var n=e.split("."),i=n[n.length-1];if(t.require_tld){if(n.length<2)return!1;if(!/^([a-z\u00A1-\u00A8\u00AA-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}|xn[a-z0-9-]{2,})$/i.test(i))return!1;if(/\s/.test(i))return!1}if(!t.allow_numeric_tld&&/^\d+$/.test(i))return!1;return n.every((function(e){return!(e.length>63)&&(!!/^[a-z_\u00a1-\uffff0-9-]+$/i.test(e)&&(!/[\uff01-\uff5e]/.test(e)&&(!/^-|-$/.test(e)&&!(!t.allow_underscores&&/_/.test(e)))))}))};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a={require_tld:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_numeric_tld:!1,allow_wildcard:!1};e.exports=t.default,e.exports.default=t.default},79146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e),t=t||{};var n=new RegExp("^(?:[-+])?(?:[0-9]+)?(?:\\".concat(t.locale?i.decimal[t.locale]:".","[0-9]*)?(?:[eE][\\+\\-]?(?:[0-9]+))?$"));if(""===e||"."===e||"-"===e||"+"===e)return!1;var r=parseFloat(e.replace(",","."));return n.test(e)&&(!t.hasOwnProperty("min")||r>=t.min)&&(!t.hasOwnProperty("max")||r<=t.max)&&(!t.hasOwnProperty("lt")||r<t.lt)&&(!t.hasOwnProperty("gt")||r>t.gt)},t.locales=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r},i=n(60079);var a=Object.keys(i.decimal);t.locales=a},77146:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.fullWidth=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/[^\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.fullWidth=i},16648:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,o.default)(e);var t=e.replace(/\s+/g," ").replace(/\s?(hsla?\(|\)|,)\s?/gi,"$1");if(-1!==t.indexOf(","))return i.test(t);return a.test(t)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(,(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}(,((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?))?\)$/i,a=/^hsla?\(((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?))(deg|grad|rad|turn)?(\s(\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%){2}\s?(\/\s((\+|\-)?([0-9]+(\.[0-9]+)?(e(\+|\-)?[0-9]+)?|\.[0-9]+(e(\+|\-)?[0-9]+)?)%?)\s?)?\)$/i;e.exports=t.default,e.exports.default=t.default},82941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)},t.halfWidth=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/[\u0020-\u007E\uFF61-\uFF9F\uFFA0-\uFFDC\uFFE8-\uFFEE0-9a-zA-Z]/;t.halfWidth=i},18874:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),new RegExp("^[a-fA-F0-9]{".concat(i[t],"}$")).test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={md5:32,md4:32,sha1:40,sha256:64,sha384:96,sha512:128,ripemd128:32,ripemd160:40,tiger128:32,tiger160:40,tiger192:48,crc32:8,crc32b:8};e.exports=t.default,e.exports.default=t.default},96298:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^#?([0-9A-F]{3}|[0-9A-F]{4}|[0-9A-F]{6}|[0-9A-F]{8})$/i;e.exports=t.default,e.exports.default=t.default},77117:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(0x|0h)?[0-9A-F]+$/i;e.exports=t.default,e.exports.default=t.default},88177:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),function(e){var t=e.replace(/[\s\-]+/gi,"").toUpperCase(),n=t.slice(0,2).toUpperCase();return n in i&&i[n].test(t)}(e)&&function(e){var t=e.replace(/[^A-Z0-9]+/gi,"").toUpperCase();return 1===(t.slice(4)+t.slice(0,4)).replace(/[A-Z]/g,(function(e){return e.charCodeAt(0)-55})).match(/\d{1,7}/g).reduce((function(e,t){return Number(e+t)%97}),"")}(e)},t.locales=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={AD:/^(AD[0-9]{2})\d{8}[A-Z0-9]{12}$/,AE:/^(AE[0-9]{2})\d{3}\d{16}$/,AL:/^(AL[0-9]{2})\d{8}[A-Z0-9]{16}$/,AT:/^(AT[0-9]{2})\d{16}$/,AZ:/^(AZ[0-9]{2})[A-Z0-9]{4}\d{20}$/,BA:/^(BA[0-9]{2})\d{16}$/,BE:/^(BE[0-9]{2})\d{12}$/,BG:/^(BG[0-9]{2})[A-Z]{4}\d{6}[A-Z0-9]{8}$/,BH:/^(BH[0-9]{2})[A-Z]{4}[A-Z0-9]{14}$/,BR:/^(BR[0-9]{2})\d{23}[A-Z]{1}[A-Z0-9]{1}$/,BY:/^(BY[0-9]{2})[A-Z0-9]{4}\d{20}$/,CH:/^(CH[0-9]{2})\d{5}[A-Z0-9]{12}$/,CR:/^(CR[0-9]{2})\d{18}$/,CY:/^(CY[0-9]{2})\d{8}[A-Z0-9]{16}$/,CZ:/^(CZ[0-9]{2})\d{20}$/,DE:/^(DE[0-9]{2})\d{18}$/,DK:/^(DK[0-9]{2})\d{14}$/,DO:/^(DO[0-9]{2})[A-Z]{4}\d{20}$/,EE:/^(EE[0-9]{2})\d{16}$/,EG:/^(EG[0-9]{2})\d{25}$/,ES:/^(ES[0-9]{2})\d{20}$/,FI:/^(FI[0-9]{2})\d{14}$/,FO:/^(FO[0-9]{2})\d{14}$/,FR:/^(FR[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,GB:/^(GB[0-9]{2})[A-Z]{4}\d{14}$/,GE:/^(GE[0-9]{2})[A-Z0-9]{2}\d{16}$/,GI:/^(GI[0-9]{2})[A-Z]{4}[A-Z0-9]{15}$/,GL:/^(GL[0-9]{2})\d{14}$/,GR:/^(GR[0-9]{2})\d{7}[A-Z0-9]{16}$/,GT:/^(GT[0-9]{2})[A-Z0-9]{4}[A-Z0-9]{20}$/,HR:/^(HR[0-9]{2})\d{17}$/,HU:/^(HU[0-9]{2})\d{24}$/,IE:/^(IE[0-9]{2})[A-Z0-9]{4}\d{14}$/,IL:/^(IL[0-9]{2})\d{19}$/,IQ:/^(IQ[0-9]{2})[A-Z]{4}\d{15}$/,IR:/^(IR[0-9]{2})0\d{2}0\d{18}$/,IS:/^(IS[0-9]{2})\d{22}$/,IT:/^(IT[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,JO:/^(JO[0-9]{2})[A-Z]{4}\d{22}$/,KW:/^(KW[0-9]{2})[A-Z]{4}[A-Z0-9]{22}$/,KZ:/^(KZ[0-9]{2})\d{3}[A-Z0-9]{13}$/,LB:/^(LB[0-9]{2})\d{4}[A-Z0-9]{20}$/,LC:/^(LC[0-9]{2})[A-Z]{4}[A-Z0-9]{24}$/,LI:/^(LI[0-9]{2})\d{5}[A-Z0-9]{12}$/,LT:/^(LT[0-9]{2})\d{16}$/,LU:/^(LU[0-9]{2})\d{3}[A-Z0-9]{13}$/,LV:/^(LV[0-9]{2})[A-Z]{4}[A-Z0-9]{13}$/,MC:/^(MC[0-9]{2})\d{10}[A-Z0-9]{11}\d{2}$/,MD:/^(MD[0-9]{2})[A-Z0-9]{20}$/,ME:/^(ME[0-9]{2})\d{18}$/,MK:/^(MK[0-9]{2})\d{3}[A-Z0-9]{10}\d{2}$/,MR:/^(MR[0-9]{2})\d{23}$/,MT:/^(MT[0-9]{2})[A-Z]{4}\d{5}[A-Z0-9]{18}$/,MU:/^(MU[0-9]{2})[A-Z]{4}\d{19}[A-Z]{3}$/,MZ:/^(MZ[0-9]{2})\d{21}$/,NL:/^(NL[0-9]{2})[A-Z]{4}\d{10}$/,NO:/^(NO[0-9]{2})\d{11}$/,PK:/^(PK[0-9]{2})[A-Z0-9]{4}\d{16}$/,PL:/^(PL[0-9]{2})\d{24}$/,PS:/^(PS[0-9]{2})[A-Z0-9]{4}\d{21}$/,PT:/^(PT[0-9]{2})\d{21}$/,QA:/^(QA[0-9]{2})[A-Z]{4}[A-Z0-9]{21}$/,RO:/^(RO[0-9]{2})[A-Z]{4}[A-Z0-9]{16}$/,RS:/^(RS[0-9]{2})\d{18}$/,SA:/^(SA[0-9]{2})\d{2}[A-Z0-9]{18}$/,SC:/^(SC[0-9]{2})[A-Z]{4}\d{20}[A-Z]{3}$/,SE:/^(SE[0-9]{2})\d{20}$/,SI:/^(SI[0-9]{2})\d{15}$/,SK:/^(SK[0-9]{2})\d{20}$/,SM:/^(SM[0-9]{2})[A-Z]{1}\d{10}[A-Z0-9]{12}$/,SV:/^(SV[0-9]{2})[A-Z0-9]{4}\d{20}$/,TL:/^(TL[0-9]{2})\d{19}$/,TN:/^(TN[0-9]{2})\d{20}$/,TR:/^(TR[0-9]{2})\d{5}[A-Z0-9]{17}$/,UA:/^(UA[0-9]{2})\d{6}[A-Z0-9]{19}$/,VA:/^(VA[0-9]{2})\d{18}$/,VG:/^(VG[0-9]{2})[A-Z0-9]{4}\d{16}$/,XK:/^(XK[0-9]{2})\d{16}$/};var a=Object.keys(i);t.locales=a},15566:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=i;(t=t||{}).allow_hyphens&&(n=a);if(!n.test(e))return!1;e=e.replace(/-/g,"");for(var r=0,s=2,l=0;l<14;l++){var c=e.substring(14-l-1,14-l),u=parseInt(c,10)*s;r+=u>=10?u%10+1:u,1===s?s+=1:s-=1}if((10-r%10)%10!==parseInt(e.substring(14,15),10))return!1;return!0};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[0-9]{15}$/,a=/^\d{2}-\d{6}-\d{6}-\d{1}$/;e.exports=t.default,e.exports.default=t.default},61028:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(n=String(n)))return e(t,4)||e(t,6);if("4"===n){if(!s.test(t))return!1;var r=t.split(".").sort((function(e,t){return e-t}));return r[3]<=255}if("6"===n)return!!c.test(t);return!1};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i="(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])",a="(".concat(i,"[.]){3}").concat(i),s=new RegExp("^".concat(a,"$")),l="(?:[0-9a-fA-F]{1,4})",c=new RegExp("^("+"(?:".concat(l,":){7}(?:").concat(l,"|:)|")+"(?:".concat(l,":){6}(?:").concat(a,"|:").concat(l,"|:)|")+"(?:".concat(l,":){5}(?::").concat(a,"|(:").concat(l,"){1,2}|:)|")+"(?:".concat(l,":){4}(?:(:").concat(l,"){0,1}:").concat(a,"|(:").concat(l,"){1,3}|:)|")+"(?:".concat(l,":){3}(?:(:").concat(l,"){0,2}:").concat(a,"|(:").concat(l,"){1,4}|:)|")+"(?:".concat(l,":){2}(?:(:").concat(l,"){0,3}:").concat(a,"|(:").concat(l,"){1,5}|:)|")+"(?:".concat(l,":){1}(?:(:").concat(l,"){0,4}:").concat(a,"|(:").concat(l,"){1,6}|:)|")+"(?::((?::".concat(l,"){0,5}:").concat(a,"|(?::").concat(l,"){1,7}|:))")+")(%[0-9a-zA-Z-.:]{1,})?$");e.exports=t.default,e.exports.default=t.default},27795:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";(0,r.default)(e);var n=e.split("/");if(2!==n.length)return!1;if(!a.test(n[1]))return!1;if(n[1].length>1&&n[1].startsWith("0"))return!1;var i=(0,o.default)(n[0],t);if(!i)return!1;var l=null;switch(String(t)){case"4":l=32;break;case"6":l=s;break;default:l=(0,o.default)(n[0],"6")?s:32}return n[1]<=l&&n[1]>=0};var r=i(n(65571)),o=i(n(61028));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\d{1,3}$/,s=128;e.exports=t.default,e.exports.default=t.default},87612:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";if((0,o.default)(t),!(n=String(n)))return e(t,10)||e(t,13);var r,l=t.replace(/[\s-]+/g,""),c=0;if("10"===n){if(!i.test(l))return!1;for(r=0;r<9;r++)c+=(r+1)*l.charAt(r);if("X"===l.charAt(9)?c+=100:c+=10*l.charAt(9),c%11==0)return!!l}else if("13"===n){if(!a.test(l))return!1;for(r=0;r<12;r++)c+=s[r%2]*l.charAt(r);if(l.charAt(12)-(10-c%10)%10==0)return!!l}return!1};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(?:[0-9]{9}X|[0-9]{10})$/,a=/^(?:[0-9]{13})$/,s=[1,3];e.exports=t.default,e.exports.default=t.default},57148:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),!i.test(e))return!1;for(var t=!0,n=0,r=e.length-2;r>=0;r--)if(e[r]>="A"&&e[r]<="Z")for(var a=e[r].charCodeAt(0)-55,s=a%10,l=Math.trunc(a/10),c=0,u=[s,l];c<u.length;c++){var d=u[c];n+=t?d>=5?1+2*(d-5):2*d:d,t=!t}else{var f=e[r].charCodeAt(0)-"0".charCodeAt(0);n+=t?f>=5?1+2*(f-5):2*f:f,t=!t}var p=10*Math.trunc((n+9)/10)-n;return+e[e.length-1]===p};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[A-Z]{2}[0-9A-Z]{9}[0-9]$/;e.exports=t.default,e.exports.default=t.default},21727:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.has(e.toUpperCase())},t.CountryCodes=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=new Set(["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"]);var a=i;t.CountryCodes=a},86776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.has(e.toUpperCase())};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=new Set(["AFG","ALA","ALB","DZA","ASM","AND","AGO","AIA","ATA","ATG","ARG","ARM","ABW","AUS","AUT","AZE","BHS","BHR","BGD","BRB","BLR","BEL","BLZ","BEN","BMU","BTN","BOL","BES","BIH","BWA","BVT","BRA","IOT","BRN","BGR","BFA","BDI","KHM","CMR","CAN","CPV","CYM","CAF","TCD","CHL","CHN","CXR","CCK","COL","COM","COG","COD","COK","CRI","CIV","HRV","CUB","CUW","CYP","CZE","DNK","DJI","DMA","DOM","ECU","EGY","SLV","GNQ","ERI","EST","ETH","FLK","FRO","FJI","FIN","FRA","GUF","PYF","ATF","GAB","GMB","GEO","DEU","GHA","GIB","GRC","GRL","GRD","GLP","GUM","GTM","GGY","GIN","GNB","GUY","HTI","HMD","VAT","HND","HKG","HUN","ISL","IND","IDN","IRN","IRQ","IRL","IMN","ISR","ITA","JAM","JPN","JEY","JOR","KAZ","KEN","KIR","PRK","KOR","KWT","KGZ","LAO","LVA","LBN","LSO","LBR","LBY","LIE","LTU","LUX","MAC","MKD","MDG","MWI","MYS","MDV","MLI","MLT","MHL","MTQ","MRT","MUS","MYT","MEX","FSM","MDA","MCO","MNG","MNE","MSR","MAR","MOZ","MMR","NAM","NRU","NPL","NLD","NCL","NZL","NIC","NER","NGA","NIU","NFK","MNP","NOR","OMN","PAK","PLW","PSE","PAN","PNG","PRY","PER","PHL","PCN","POL","PRT","PRI","QAT","REU","ROU","RUS","RWA","BLM","SHN","KNA","LCA","MAF","SPM","VCT","WSM","SMR","STP","SAU","SEN","SRB","SYC","SLE","SGP","SXM","SVK","SVN","SLB","SOM","ZAF","SGS","SSD","ESP","LKA","SDN","SUR","SJM","SWZ","SWE","CHE","SYR","TWN","TJK","TZA","THA","TLS","TGO","TKL","TON","TTO","TUN","TUR","TKM","TCA","TUV","UGA","UKR","ARE","GBR","USA","UMI","URY","UZB","VUT","VEN","VNM","VGB","VIR","WLF","ESH","YEM","ZMB","ZWE"]);e.exports=t.default,e.exports.default=t.default},19963:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.has(e.toUpperCase())},t.CurrencyCodes=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=new Set(["AED","AFN","ALL","AMD","ANG","AOA","ARS","AUD","AWG","AZN","BAM","BBD","BDT","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRL","BSD","BTN","BWP","BYN","BZD","CAD","CDF","CHE","CHF","CHW","CLF","CLP","CNY","COP","COU","CRC","CUC","CUP","CVE","CZK","DJF","DKK","DOP","DZD","EGP","ERN","ETB","EUR","FJD","FKP","GBP","GEL","GHS","GIP","GMD","GNF","GTQ","GYD","HKD","HNL","HRK","HTG","HUF","IDR","ILS","INR","IQD","IRR","ISK","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LYD","MAD","MDL","MGA","MKD","MMK","MNT","MOP","MRU","MUR","MVR","MWK","MXN","MXV","MYR","MZN","NAD","NGN","NIO","NOK","NPR","NZD","OMR","PAB","PEN","PGK","PHP","PKR","PLN","PYG","QAR","RON","RSD","RUB","RWF","SAR","SBD","SCR","SDG","SEK","SGD","SHP","SLL","SOS","SRD","SSP","STN","SVC","SYP","SZL","THB","TJS","TMT","TND","TOP","TRY","TTD","TWD","TZS","UAH","UGX","USD","USN","UYI","UYU","UYW","UZS","VES","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XOF","XPD","XPF","XPT","XSU","XTS","XUA","XXX","YER","ZAR","ZMW","ZWL"]);var a=i;t.CurrencyCodes=a},65061:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var n=t.strictSeparator?a.test(e):i.test(e);return n&&t.strict?s(e):n};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,a=/^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-3])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T]((([01]\d|2[0-3])((:?)[0-5]\d)?|24:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$/,s=function(e){var t=e.match(/^(\d{4})-?(\d{3})([ T]{1}\.*|$)/);if(t){var n=Number(t[1]),r=Number(t[2]);return n%4==0&&n%100!=0||n%400==0?r<=366:r<=365}var o=e.match(/(\d{4})-?(\d{0,2})-?(\d*)/).map(Number),i=o[1],a=o[2],s=o[3],l=a?"0".concat(a).slice(-2):a,c=s?"0".concat(s).slice(-2):s,u=new Date("".concat(i,"-").concat(l||"01","-").concat(c||"01"));return!a||!s||u.getUTCFullYear()===i&&u.getUTCMonth()+1===a&&u.getUTCDate()===s};e.exports=t.default,e.exports.default=t.default},34339:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[A-Z]{2}[0-9A-Z]{3}\d{2}\d{5}$/;e.exports=t.default,e.exports.default=t.default},29887:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(0,o.default)(e);var n=i;if(n=t.require_hyphen?n.replace("?",""):n,!(n=t.case_sensitive?new RegExp(n):new RegExp(n,"i")).test(e))return!1;for(var r=e.replace("-","").toUpperCase(),a=0,s=0;s<r.length;s++){var l=r[s];a+=("X"===l?10:+l)*(8-s)}return a%11==0};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i="^\\d{4}-?\\d{3}[\\dX]$";e.exports=t.default,e.exports.default=t.default},49396:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),t in a)return a[t](e);if("any"===t){for(var n in a){if(a.hasOwnProperty(n))if((0,a[n])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r=i(n(65571)),o=i(n(20937));function i(e){return e&&e.__esModule?e:{default:e}}var a={PL:function(e){(0,r.default)(e);var t={1:1,2:3,3:7,4:9,5:1,6:3,7:7,8:9,9:1,10:3,11:0};if(null!=e&&11===e.length&&(0,o.default)(e,{allow_leading_zeroes:!0})){var n=e.split("").slice(0,-1).reduce((function(e,n,r){return e+Number(n)*t[r+1]}),0)%10,i=Number(e.charAt(e.length-1));if(0===n&&0===i||i===10-n)return!0}return!1},ES:function(e){(0,r.default)(e);var t={X:0,Y:1,Z:2},n=e.trim().toUpperCase();if(!/^[0-9X-Z][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/.test(n))return!1;var o=n.slice(0,-1).replace(/[X,Y,Z]/g,(function(e){return t[e]}));return n.endsWith(["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][o%23])},FI:function(e){if((0,r.default)(e),11!==e.length)return!1;if(!e.match(/^\d{6}[\-A\+]\d{3}[0-9ABCDEFHJKLMNPRSTUVWXY]{1}$/))return!1;return"0123456789ABCDEFHJKLMNPRSTUVWXY"[(1e3*parseInt(e.slice(0,6),10)+parseInt(e.slice(7,10),10))%31]===e.slice(10,11)},IN:function(e){var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],r=e.trim();if(!/^[1-9]\d{3}\s?\d{4}\s?\d{4}$/.test(r))return!1;var o=0;return r.replace(/\s/g,"").split("").map(Number).reverse().forEach((function(e,r){o=t[o][n[r%8][e]]})),0===o},IR:function(e){if(!e.match(/^\d{10}$/))return!1;if(e="0000".concat(e).substr(e.length-6),0===parseInt(e.substr(3,6),10))return!1;for(var t=parseInt(e.substr(9,1),10),n=0,r=0;r<9;r++)n+=parseInt(e.substr(r,1),10)*(10-r);return(n%=11)<2&&t===n||n>=2&&t===11-n},IT:function(e){return 9===e.length&&("CA00000AA"!==e&&e.search(/C[A-Z][0-9]{5}[A-Z]{2}/i)>-1)},NO:function(e){var t=e.trim();if(isNaN(Number(t)))return!1;if(11!==t.length)return!1;if("00000000000"===t)return!1;var n=t.split("").map(Number),r=(11-(3*n[0]+7*n[1]+6*n[2]+1*n[3]+8*n[4]+9*n[5]+4*n[6]+5*n[7]+2*n[8])%11)%11,o=(11-(5*n[0]+4*n[1]+3*n[2]+2*n[3]+7*n[4]+6*n[5]+5*n[6]+4*n[7]+3*n[8]+2*r)%11)%11;return r===n[9]&&o===n[10]},TH:function(e){if(!e.match(/^[1-8]\d{12}$/))return!1;for(var t=0,n=0;n<12;n++)t+=parseInt(e[n],10)*(13-n);return e[12]===((11-t%11)%10).toString()},LK:function(e){return!(10!==e.length||!/^[1-9]\d{8}[vx]$/i.test(e))||!(12!==e.length||!/^[1-9]\d{11}$/i.test(e))},"he-IL":function(e){var t=e.trim();if(!/^\d{9}$/.test(t))return!1;for(var n,r=t,o=0,i=0;i<r.length;i++)o+=(n=Number(r[i])*(i%2+1))>9?n-9:n;return o%10==0},"ar-LY":function(e){var t=e.trim();return!!/^(1|2)\d{11}$/.test(t)},"ar-TN":function(e){var t=e.trim();return!!/^\d{8}$/.test(t)},"zh-CN":function(e){var t,n=["11","12","13","14","15","21","22","23","31","32","33","34","35","36","37","41","42","43","44","45","46","50","51","52","53","54","61","62","63","64","65","71","81","82","91"],r=["7","9","10","5","8","4","2","1","6","3","7","9","10","5","8","4","2"],o=["1","0","X","9","8","7","6","5","4","3","2"],i=function(e){return n.includes(e)},a=function(e){var t=parseInt(e.substring(0,4),10),n=parseInt(e.substring(4,6),10),r=parseInt(e.substring(6),10),o=new Date(t,n-1,r);return!(o>new Date)&&(o.getFullYear()===t&&o.getMonth()===n-1&&o.getDate()===r)},s=function(e){return function(e){for(var t=e.substring(0,17),n=0,i=0;i<17;i++)n+=parseInt(t.charAt(i),10)*parseInt(r[i],10);return o[n%11]}(e)===e.charAt(17).toUpperCase()};return!!/^\d{15}|(\d{17}(\d|x|X))$/.test(t=e)&&(15===t.length?function(e){var t=/^[1-9]\d{7}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}$/.test(e);if(!t)return!1;var n=e.substring(0,2);if(!(t=i(n)))return!1;var r="19".concat(e.substring(6,12));return!!(t=a(r))}(t):function(e){var t=/^[1-9]\d{5}[1-9]\d{3}((0[1-9])|(1[0-2]))((0[1-9])|([1-2][0-9])|(3[0-1]))\d{3}(\d|x|X)$/.test(e);if(!t)return!1;var n=e.substring(0,2);if(!(t=i(n)))return!1;var r=e.substring(6,14);return!!(t=a(r))&&s(e)}(t))},"zh-TW":function(e){var t={A:10,B:11,C:12,D:13,E:14,F:15,G:16,H:17,I:34,J:18,K:19,L:20,M:21,N:22,O:35,P:23,Q:24,R:25,S:26,T:27,U:28,V:29,W:32,X:30,Y:31,Z:33},n=e.trim().toUpperCase();return!!/^[A-Z][0-9]{9}$/.test(n)&&Array.from(n).reduce((function(e,n,r){if(0===r){var o=t[n];return o%10*9+Math.floor(o/10)}return 9===r?(10-e%10-Number(n))%10==0:e+Number(n)*(9-r)}),0)}};e.exports=t.default,e.exports.default=t.default},27228:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n;if((0,r.default)(e),"[object Array]"===Object.prototype.toString.call(t)){var i=[];for(n in t)({}).hasOwnProperty.call(t,n)&&(i[n]=(0,o.default)(t[n]));return i.indexOf(e)>=0}if("object"===a(t))return t.hasOwnProperty(e);if(t&&"function"==typeof t.indexOf)return t.indexOf(e)>=0;return!1};var r=i(n(65571)),o=i(n(31913));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}e.exports=t.default,e.exports.default=t.default},20937:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=(t=t||{}).hasOwnProperty("allow_leading_zeroes")&&!t.allow_leading_zeroes?i:a,r=!t.hasOwnProperty("min")||e>=t.min,s=!t.hasOwnProperty("max")||e<=t.max,l=!t.hasOwnProperty("lt")||e<t.lt,c=!t.hasOwnProperty("gt")||e>t.gt;return n.test(e)&&r&&s&&l&&c};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(?:[-+]?(?:0|[1-9][0-9]*))$/,a=/^[-+]?[0-9]+$/;e.exports=t.default,e.exports.default=t.default},81008:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e);try{t=(0,o.default)(t,s);var n=[];t.allow_primitives&&(n=[null,!1,!0]);var i=JSON.parse(e);return n.includes(i)||!!i&&"object"===a(i)}catch(e){}return!1};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return a="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},a(e)}var s={allow_primitives:!1};e.exports=t.default,e.exports.default=t.default},74979:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,r.default)(e);var t=e.split("."),n=t.length;if(n>3||n<2)return!1;return t.reduce((function(e,t){return e&&(0,o.default)(t,{urlSafe:!0})}),!0)};var r=i(n(65571)),o=i(n(2689));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},90478:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),t=(0,o.default)(t,u),!e.includes(","))return!1;var n=e.split(",");if(n[0].startsWith("(")&&!n[1].endsWith(")")||n[1].endsWith(")")&&!n[0].startsWith("("))return!1;if(t.checkDMS)return l.test(n[0])&&c.test(n[1]);return a.test(n[0])&&s.test(n[1])};var r=i(n(65571)),o=i(n(84808));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^\(?[+-]?(90(\.0+)?|[1-8]?\d(\.\d+)?)$/,s=/^\s?[+-]?(180(\.0+)?|1[0-7]\d(\.\d+)?|\d{1,2}(\.\d+)?)\)?$/,l=/^(([1-8]?\d)\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|90\D+0\D+0)\D+[NSns]?$/i,c=/^\s*([1-7]?\d{1,2}\D+([1-5]?\d|60)\D+([1-5]?\d|60)(\.\d+)?|180\D+0\D+0)\D+[EWew]?$/i,u={checkDMS:!1};e.exports=t.default,e.exports.default=t.default},20661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r;(0,o.default)(e),"object"===i(t)?(n=t.min||0,r=t.max):(n=arguments[1]||0,r=arguments[2]);var a=e.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g)||[],s=e.length-a.length;return s>=n&&(void 0===r||s<=r)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}e.exports=t.default,e.exports.default=t.default},82786:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in i)return i[t](e);if("any"===t){for(var n in i){if((0,i[n])(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={"cs-CZ":function(e){return/^(([ABCDEFHKIJKLMNPRSTUVXYZ]|[0-9])-?){5,8}$/.test(e)},"de-DE":function(e){return/^((AW|UL|AK|GA|AÖ|LF|AZ|AM|AS|ZE|AN|AB|A|KG|KH|BA|EW|BZ|HY|KM|BT|HP|B|BC|BI|BO|FN|TT|ÜB|BN|AH|BS|FR|HB|ZZ|BB|BK|BÖ|OC|OK|CW|CE|C|CO|LH|CB|KW|LC|LN|DA|DI|DE|DH|SY|NÖ|DO|DD|DU|DN|D|EI|EA|EE|FI|EM|EL|EN|PF|ED|EF|ER|AU|ZP|E|ES|NT|EU|FL|FO|FT|FF|F|FS|FD|FÜ|GE|G|GI|GF|GS|ZR|GG|GP|GR|NY|ZI|GÖ|GZ|GT|HA|HH|HM|HU|WL|HZ|WR|RN|HK|HD|HN|HS|GK|HE|HF|RZ|HI|HG|HO|HX|IK|IL|IN|J|JL|KL|KA|KS|KF|KE|KI|KT|KO|KN|KR|KC|KU|K|LD|LL|LA|L|OP|LM|LI|LB|LU|LÖ|HL|LG|MD|GN|MZ|MA|ML|MR|MY|AT|DM|MC|NZ|RM|RG|MM|ME|MB|MI|FG|DL|HC|MW|RL|MK|MG|MÜ|WS|MH|M|MS|NU|NB|ND|NM|NK|NW|NR|NI|NF|DZ|EB|OZ|TG|TO|N|OA|GM|OB|CA|EH|FW|OF|OL|OE|OG|BH|LR|OS|AA|GD|OH|KY|NP|WK|PB|PA|PE|PI|PS|P|PM|PR|RA|RV|RE|R|H|SB|WN|RS|RD|RT|BM|NE|GV|RP|SU|GL|RO|GÜ|RH|EG|RW|PN|SK|MQ|RU|SZ|RI|SL|SM|SC|HR|FZ|VS|SW|SN|CR|SE|SI|SO|LP|SG|NH|SP|IZ|ST|BF|TE|HV|OD|SR|S|AC|DW|ZW|TF|TS|TR|TÜ|UM|PZ|TP|UE|UN|UH|MN|KK|VB|V|AE|PL|RC|VG|GW|PW|VR|VK|KB|WA|WT|BE|WM|WE|AP|MO|WW|FB|WZ|WI|WB|JE|WF|WO|W|WÜ|BL|Z|GC)[- ]?[A-Z]{1,2}[- ]?\d{1,4}|(AIC|FDB|ABG|SLN|SAW|KLZ|BUL|ESB|NAB|SUL|WST|ABI|AZE|BTF|KÖT|DKB|FEU|ROT|ALZ|SMÜ|WER|AUR|NOR|DÜW|BRK|HAB|TÖL|WOR|BAD|BAR|BER|BIW|EBS|KEM|MÜB|PEG|BGL|BGD|REI|WIL|BKS|BIR|WAT|BOR|BOH|BOT|BRB|BLK|HHM|NEB|NMB|WSF|LEO|HDL|WMS|WZL|BÜS|CHA|KÖZ|ROD|WÜM|CLP|NEC|COC|ZEL|COE|CUX|DAH|LDS|DEG|DEL|RSL|DLG|DGF|LAN|HEI|MED|DON|KIB|ROK|JÜL|MON|SLE|EBE|EIC|HIG|WBS|BIT|PRÜ|LIB|EMD|WIT|ERH|HÖS|ERZ|ANA|ASZ|MAB|MEK|STL|SZB|FDS|HCH|HOR|WOL|FRG|GRA|WOS|FRI|FFB|GAP|GER|BRL|CLZ|GTH|NOH|HGW|GRZ|LÖB|NOL|WSW|DUD|HMÜ|OHA|KRU|HAL|HAM|HBS|QLB|HVL|NAU|HAS|EBN|GEO|HOH|HDH|ERK|HER|WAN|HEF|ROF|HBN|ALF|HSK|USI|NAI|REH|SAN|KÜN|ÖHR|HOL|WAR|ARN|BRG|GNT|HOG|WOH|KEH|MAI|PAR|RID|ROL|KLE|GEL|KUS|KYF|ART|SDH|LDK|DIL|MAL|VIB|LER|BNA|GHA|GRM|MTL|WUR|LEV|LIF|STE|WEL|LIP|VAI|LUP|HGN|LBZ|LWL|PCH|STB|DAN|MKK|SLÜ|MSP|TBB|MGH|MTK|BIN|MSH|EIL|HET|SGH|BID|MYK|MSE|MST|MÜR|WRN|MEI|GRH|RIE|MZG|MIL|OBB|BED|FLÖ|MOL|FRW|SEE|SRB|AIB|MOS|BCH|ILL|SOB|NMS|NEA|SEF|UFF|NEW|VOH|NDH|TDO|NWM|GDB|GVM|WIS|NOM|EIN|GAN|LAU|HEB|OHV|OSL|SFB|ERB|LOS|BSK|KEL|BSB|MEL|WTL|OAL|FÜS|MOD|OHZ|OPR|BÜR|PAF|PLÖ|CAS|GLA|REG|VIT|ECK|SIM|GOA|EMS|DIZ|GOH|RÜD|SWA|NES|KÖN|MET|LRO|BÜZ|DBR|ROS|TET|HRO|ROW|BRV|HIP|PAN|GRI|SHK|EIS|SRO|SOK|LBS|SCZ|MER|QFT|SLF|SLS|HOM|SLK|ASL|BBG|SBK|SFT|SHG|MGN|MEG|ZIG|SAD|NEN|OVI|SHA|BLB|SIG|SON|SPN|FOR|GUB|SPB|IGB|WND|STD|STA|SDL|OBG|HST|BOG|SHL|PIR|FTL|SEB|SÖM|SÜW|TIR|SAB|TUT|ANG|SDT|LÜN|LSZ|MHL|VEC|VER|VIE|OVL|ANK|OVP|SBG|UEM|UER|WLG|GMN|NVP|RDG|RÜG|DAU|FKB|WAF|WAK|SLZ|WEN|SOG|APD|WUG|GUN|ESW|WIZ|WES|DIN|BRA|BÜD|WHV|HWI|GHC|WTM|WOB|WUN|MAK|SEL|OCH|HOT|WDA)[- ]?(([A-Z][- ]?\d{1,4})|([A-Z]{2}[- ]?\d{1,3})))[- ]?(E|H)?$/.test(e)},"de-LI":function(e){return/^FL[- ]?\d{1,5}[UZ]?$/.test(e)},"fi-FI":function(e){return/^(?=.{4,7})(([A-Z]{1,3}|[0-9]{1,3})[\s-]?([A-Z]{1,3}|[0-9]{1,5}))$/.test(e)},"pt-PT":function(e){return/^([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})[ -·]?([A-Z]{2}|[0-9]{2})$/.test(e)},"sq-AL":function(e){return/^[A-Z]{2}[- ]?((\d{3}[- ]?(([A-Z]{2})|T))|(R[- ]?\d{3}))$/.test(e)},"pt-BR":function(e){return/^[A-Z]{3}[ -]?[0-9][A-Z][0-9]{2}|[A-Z]{3}[ -]?[0-9]{4}$/.test(e)}};e.exports=t.default,e.exports.default=t.default},67380:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,o.default)(e),"en_US_POSIX"===e||"ca_ES_VALENCIA"===e)return!0;return i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[A-Za-z]{2,4}([_-]([A-Za-z]{4}|[\d]{3}))?([_-]([A-Za-z]{2}|[\d]{3}))?$/;e.exports=t.default,e.exports.default=t.default},43928:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toLowerCase()};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},28999:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&(t.no_colons||t.no_separators))return a.test(e);return i.test(e)||s.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(?:[0-9a-fA-F]{2}([-:\s]))([0-9a-fA-F]{2}\1){4}([0-9a-fA-F]{2})$/,a=/^([0-9a-fA-F]){12}$/,s=/^([0-9a-fA-F]{4}\.){2}([0-9a-fA-F]{4})$/;e.exports=t.default,e.exports.default=t.default},90368:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[a-f0-9]{32}$/;e.exports=t.default,e.exports.default=t.default},72776:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e.trim())};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^magnet:\?xt(?:\.1)?=urn:(?:aich|bitprint|btih|ed2k|ed2khash|kzhash|md5|sha1|tree:tiger):[a-z0-9]{32}(?:[a-z0-9]{8})?($|&)/i;e.exports=t.default,e.exports.default=t.default},44554:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)||a.test(e)||s.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(application|audio|font|image|message|model|multipart|text|video)\/[a-zA-Z0-9\.\-\+]{1,100}$/i,a=/^text\/[a-zA-Z0-9\.\-\+]{1,100};\s?charset=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?$/i,s=/^multipart\/[a-zA-Z0-9\.\-\+]{1,100}(;\s?(boundary|charset)=("[a-zA-Z0-9\.\-\+\s]{0,70}"|[a-zA-Z0-9\.\-\+]{0,70})(\s?\([a-zA-Z0-9\.\-\+\s]{1,20}\))?){0,2}$/i;e.exports=t.default,e.exports.default=t.default},28355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){if((0,o.default)(e),n&&n.strictMode&&!e.startsWith("+"))return!1;if(Array.isArray(t))return t.some((function(t){if(i.hasOwnProperty(t)&&i[t].test(e))return!0;return!1}));if(t in i)return i[t].test(e);if(!t||"any"===t){for(var r in i){if(i.hasOwnProperty(r))if(i[r].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={"am-AM":/^(\+?374|0)((10|[9|7][0-9])\d{6}$|[2-4]\d{7}$)/,"ar-AE":/^((\+?971)|0)?5[024568]\d{7}$/,"ar-BH":/^(\+?973)?(3|6)\d{7}$/,"ar-DZ":/^(\+?213|0)(5|6|7)\d{8}$/,"ar-LB":/^(\+?961)?((3|81)\d{6}|7\d{7})$/,"ar-EG":/^((\+?20)|0)?1[0125]\d{8}$/,"ar-IQ":/^(\+?964|0)?7[0-9]\d{8}$/,"ar-JO":/^(\+?962|0)?7[789]\d{7}$/,"ar-KW":/^(\+?965)[569]\d{7}$/,"ar-LY":/^((\+?218)|0)?(9[1-6]\d{7}|[1-8]\d{7,9})$/,"ar-MA":/^(?:(?:\+|00)212|0)[5-7]\d{8}$/,"ar-OM":/^((\+|00)968)?(9[1-9])\d{6}$/,"ar-PS":/^(\+?970|0)5[6|9](\d{7})$/,"ar-SA":/^(!?(\+?966)|0)?5\d{8}$/,"ar-SY":/^(!?(\+?963)|0)?9\d{8}$/,"ar-TN":/^(\+?216)?[2459]\d{7}$/,"az-AZ":/^(\+994|0)(5[015]|7[07]|99)\d{7}$/,"bs-BA":/^((((\+|00)3876)|06))((([0-3]|[5-6])\d{6})|(4\d{7}))$/,"be-BY":/^(\+?375)?(24|25|29|33|44)\d{7}$/,"bg-BG":/^(\+?359|0)?8[789]\d{7}$/,"bn-BD":/^(\+?880|0)1[13456789][0-9]{8}$/,"ca-AD":/^(\+376)?[346]\d{5}$/,"cs-CZ":/^(\+?420)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"da-DK":/^(\+?45)?\s?\d{2}\s?\d{2}\s?\d{2}\s?\d{2}$/,"de-DE":/^((\+49|0)[1|3])([0|5][0-45-9]\d|6([23]|0\d?)|7([0-57-9]|6\d))\d{7,9}$/,"de-AT":/^(\+43|0)\d{1,4}\d{3,12}$/,"de-CH":/^(\+41|0)([1-9])\d{1,9}$/,"de-LU":/^(\+352)?((6\d1)\d{6})$/,"dv-MV":/^(\+?960)?(7[2-9]|91|9[3-9])\d{7}$/,"el-GR":/^(\+?30|0)?(69\d{8})$/,"en-AU":/^(\+?61|0)4\d{8}$/,"en-BM":/^(\+?1)?441(((3|7)\d{6}$)|(5[0-3][0-9]\d{4}$)|(59\d{5}))/,"en-GB":/^(\+?44|0)7\d{9}$/,"en-GG":/^(\+?44|0)1481\d{6}$/,"en-GH":/^(\+233|0)(20|50|24|54|27|57|26|56|23|28|55|59)\d{7}$/,"en-GY":/^(\+592|0)6\d{6}$/,"en-HK":/^(\+?852[-\s]?)?[456789]\d{3}[-\s]?\d{4}$/,"en-MO":/^(\+?853[-\s]?)?[6]\d{3}[-\s]?\d{4}$/,"en-IE":/^(\+?353|0)8[356789]\d{7}$/,"en-IN":/^(\+?91|0)?[6789]\d{9}$/,"en-KE":/^(\+?254|0)(7|1)\d{8}$/,"en-KI":/^((\+686|686)?)?( )?((6|7)(2|3|8)[0-9]{6})$/,"en-MT":/^(\+?356|0)?(99|79|77|21|27|22|25)[0-9]{6}$/,"en-MU":/^(\+?230|0)?\d{8}$/,"en-NA":/^(\+?264|0)(6|8)\d{7}$/,"en-NG":/^(\+?234|0)?[789]\d{9}$/,"en-NZ":/^(\+?64|0)[28]\d{7,9}$/,"en-PK":/^((00|\+)?92|0)3[0-6]\d{8}$/,"en-PH":/^(09|\+639)\d{9}$/,"en-RW":/^(\+?250|0)?[7]\d{8}$/,"en-SG":/^(\+65)?[3689]\d{7}$/,"en-SL":/^(\+?232|0)\d{8}$/,"en-TZ":/^(\+?255|0)?[67]\d{8}$/,"en-UG":/^(\+?256|0)?[7]\d{8}$/,"en-US":/^((\+1|1)?( |-)?)?(\([2-9][0-9]{2}\)|[2-9][0-9]{2})( |-)?([2-9][0-9]{2}( |-)?[0-9]{4})$/,"en-ZA":/^(\+?27|0)\d{9}$/,"en-ZM":/^(\+?26)?09[567]\d{7}$/,"en-ZW":/^(\+263)[0-9]{9}$/,"en-BW":/^(\+?267)?(7[1-8]{1})\d{6}$/,"es-AR":/^\+?549(11|[2368]\d)\d{8}$/,"es-BO":/^(\+?591)?(6|7)\d{7}$/,"es-CO":/^(\+?57)?3(0(0|1|2|4|5)|1\d|2[0-4]|5(0|1))\d{7}$/,"es-CL":/^(\+?56|0)[2-9]\d{1}\d{7}$/,"es-CR":/^(\+506)?[2-8]\d{7}$/,"es-CU":/^(\+53|0053)?5\d{7}/,"es-DO":/^(\+?1)?8[024]9\d{7}$/,"es-HN":/^(\+?504)?[9|8]\d{7}$/,"es-EC":/^(\+?593|0)([2-7]|9[2-9])\d{7}$/,"es-ES":/^(\+?34)?[6|7]\d{8}$/,"es-PE":/^(\+?51)?9\d{8}$/,"es-MX":/^(\+?52)?(1|01)?\d{10,11}$/,"es-PA":/^(\+?507)\d{7,8}$/,"es-PY":/^(\+?595|0)9[9876]\d{7}$/,"es-SV":/^(\+?503)?[67]\d{7}$/,"es-UY":/^(\+598|0)9[1-9][\d]{6}$/,"es-VE":/^(\+?58)?(2|4)\d{9}$/,"et-EE":/^(\+?372)?\s?(5|8[1-4])\s?([0-9]\s?){6,7}$/,"fa-IR":/^(\+?98[\-\s]?|0)9[0-39]\d[\-\s]?\d{3}[\-\s]?\d{4}$/,"fi-FI":/^(\+?358|0)\s?(4(0|1|2|4|5|6)?|50)\s?(\d\s?){4,8}\d$/,"fj-FJ":/^(\+?679)?\s?\d{3}\s?\d{4}$/,"fo-FO":/^(\+?298)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"fr-BF":/^(\+226|0)[67]\d{7}$/,"fr-CM":/^(\+?237)6[0-9]{8}$/,"fr-FR":/^(\+?33|0)[67]\d{8}$/,"fr-GF":/^(\+?594|0|00594)[67]\d{8}$/,"fr-GP":/^(\+?590|0|00590)[67]\d{8}$/,"fr-MQ":/^(\+?596|0|00596)[67]\d{8}$/,"fr-PF":/^(\+?689)?8[789]\d{6}$/,"fr-RE":/^(\+?262|0|00262)[67]\d{8}$/,"he-IL":/^(\+972|0)([23489]|5[012345689]|77)[1-9]\d{6}$/,"hu-HU":/^(\+?36|06)(20|30|31|50|70)\d{7}$/,"id-ID":/^(\+?62|0)8(1[123456789]|2[1238]|3[1238]|5[12356789]|7[78]|9[56789]|8[123456789])([\s?|\d]{5,11})$/,"it-IT":/^(\+?39)?\s?3\d{2} ?\d{6,7}$/,"it-SM":/^((\+378)|(0549)|(\+390549)|(\+3780549))?6\d{5,9}$/,"ja-JP":/^(\+81[ \-]?(\(0\))?|0)[6789]0[ \-]?\d{4}[ \-]?\d{4}$/,"ka-GE":/^(\+?995)?(5|79)\d{7}$/,"kk-KZ":/^(\+?7|8)?7\d{9}$/,"kl-GL":/^(\+?299)?\s?\d{2}\s?\d{2}\s?\d{2}$/,"ko-KR":/^((\+?82)[ \-]?)?0?1([0|1|6|7|8|9]{1})[ \-]?\d{3,4}[ \-]?\d{4}$/,"lt-LT":/^(\+370|8)\d{8}$/,"lv-LV":/^(\+?371)2\d{7}$/,"ms-MY":/^(\+?6?01){1}(([0145]{1}(\-|\s)?\d{7,8})|([236789]{1}(\s|\-)?\d{7}))$/,"mz-MZ":/^(\+?258)?8[234567]\d{7}$/,"nb-NO":/^(\+?47)?[49]\d{7}$/,"ne-NP":/^(\+?977)?9[78]\d{8}$/,"nl-BE":/^(\+?32|0)4\d{8}$/,"nl-NL":/^(((\+|00)?31\(0\))|((\+|00)?31)|0)6{1}\d{8}$/,"nn-NO":/^(\+?47)?[49]\d{7}$/,"pl-PL":/^(\+?48)? ?[5-8]\d ?\d{3} ?\d{2} ?\d{2}$/,"pt-BR":/^((\+?55\ ?[1-9]{2}\ ?)|(\+?55\ ?\([1-9]{2}\)\ ?)|(0[1-9]{2}\ ?)|(\([1-9]{2}\)\ ?)|([1-9]{2}\ ?))((\d{4}\-?\d{4})|(9[2-9]{1}\d{3}\-?\d{4}))$/,"pt-PT":/^(\+?351)?9[1236]\d{7}$/,"pt-AO":/^(\+244)\d{9}$/,"ro-RO":/^(\+?4?0)\s?7\d{2}(\/|\s|\.|\-)?\d{3}(\s|\.|\-)?\d{3}$/,"ru-RU":/^(\+?7|8)?9\d{9}$/,"si-LK":/^(?:0|94|\+94)?(7(0|1|2|4|5|6|7|8)( |-)?)\d{7}$/,"sl-SI":/^(\+386\s?|0)(\d{1}\s?\d{3}\s?\d{2}\s?\d{2}|\d{2}\s?\d{3}\s?\d{3})$/,"sk-SK":/^(\+?421)? ?[1-9][0-9]{2} ?[0-9]{3} ?[0-9]{3}$/,"sq-AL":/^(\+355|0)6[789]\d{6}$/,"sr-RS":/^(\+3816|06)[- \d]{5,9}$/,"sv-SE":/^(\+?46|0)[\s\-]?7[\s\-]?[02369]([\s\-]?\d){7}$/,"tg-TJ":/^(\+?992)?[5][5]\d{7}$/,"th-TH":/^(\+66|66|0)\d{9}$/,"tr-TR":/^(\+?90|0)?5\d{9}$/,"tk-TM":/^(\+993|993|8)\d{8}$/,"uk-UA":/^(\+?38|8)?0\d{9}$/,"uz-UZ":/^(\+?998)?(6[125-79]|7[1-69]|88|9\d)\d{7}$/,"vi-VN":/^((\+?84)|0)((3([2-9]))|(5([25689]))|(7([0|6-9]))|(8([1-9]))|(9([0-9])))([0-9]{7})$/,"zh-CN":/^((\+|00)86)?(1[3-9]|9[28])\d{9}$/,"zh-TW":/^(\+?886\-?|0)?9\d{8}$/,"dz-BT":/^(\+?975|0)?(17|16|77|02)\d{6}$/};i["en-CA"]=i["en-US"],i["fr-CA"]=i["en-CA"],i["fr-BE"]=i["nl-BE"],i["zh-HK"]=i["en-HK"],i["zh-MO"]=i["en-MO"],i["ga-IE"]=i["en-IE"],i["fr-CH"]=i["de-CH"],i["it-CH"]=i["fr-CH"];var a=Object.keys(i);t.locales=a},19131:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),(0,o.default)(e)&&24===e.length};var r=i(n(65571)),o=i(n(77117));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},13590:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/[^\x00-\x7F]/;e.exports=t.default,e.exports.default=t.default},24986:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t&&t.no_symbols)return a.test(e);return new RegExp("^[+-]?([0-9]*[".concat((t||{}).locale?i.decimal[t.locale]:".","])?[0-9]+$")).test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r},i=n(60079);var a=/^[0-9]+$/;e.exports=t.default,e.exports.default=t.default},66090:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^(0o)?[0-7]+$/i;e.exports=t.default,e.exports.default=t.default},40542:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=e.replace(/\s/g,"").toUpperCase();return t.toUpperCase()in i&&i[t].test(n)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={AM:/^[A-Z]{2}\d{7}$/,AR:/^[A-Z]{3}\d{6}$/,AT:/^[A-Z]\d{7}$/,AU:/^[A-Z]\d{7}$/,BE:/^[A-Z]{2}\d{6}$/,BG:/^\d{9}$/,BR:/^[A-Z]{2}\d{6}$/,BY:/^[A-Z]{2}\d{7}$/,CA:/^[A-Z]{2}\d{6}$/,CH:/^[A-Z]\d{7}$/,CN:/^G\d{8}$|^E(?![IO])[A-Z0-9]\d{7}$/,CY:/^[A-Z](\d{6}|\d{8})$/,CZ:/^\d{8}$/,DE:/^[CFGHJKLMNPRTVWXYZ0-9]{9}$/,DK:/^\d{9}$/,DZ:/^\d{9}$/,EE:/^([A-Z]\d{7}|[A-Z]{2}\d{7})$/,ES:/^[A-Z0-9]{2}([A-Z0-9]?)\d{6}$/,FI:/^[A-Z]{2}\d{7}$/,FR:/^\d{2}[A-Z]{2}\d{5}$/,GB:/^\d{9}$/,GR:/^[A-Z]{2}\d{7}$/,HR:/^\d{9}$/,HU:/^[A-Z]{2}(\d{6}|\d{7})$/,IE:/^[A-Z0-9]{2}\d{7}$/,IN:/^[A-Z]{1}-?\d{7}$/,ID:/^[A-C]\d{7}$/,IR:/^[A-Z]\d{8}$/,IS:/^(A)\d{7}$/,IT:/^[A-Z0-9]{2}\d{7}$/,JP:/^[A-Z]{2}\d{7}$/,KR:/^[MS]\d{8}$/,LT:/^[A-Z0-9]{8}$/,LU:/^[A-Z0-9]{8}$/,LV:/^[A-Z0-9]{2}\d{7}$/,LY:/^[A-Z0-9]{8}$/,MT:/^\d{7}$/,MZ:/^([A-Z]{2}\d{7})|(\d{2}[A-Z]{2}\d{5})$/,MY:/^[AHK]\d{8}$/,NL:/^[A-Z]{2}[A-Z0-9]{6}\d$/,PL:/^[A-Z]{2}\d{7}$/,PT:/^[A-Z]\d{6}$/,RO:/^\d{8,9}$/,RU:/^\d{9}$/,SE:/^\d{8}$/,SL:/^(P)[A-Z]\d{7}$/,SK:/^[0-9A-Z]\d{7}$/,TR:/^[A-Z]\d{8}$/,UA:/^[A-Z]{2}\d{6}$/,US:/^\d{9}$/};e.exports=t.default,e.exports.default=t.default},24595:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e,{min:0,max:65535})};var r,o=(r=n(20937))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},78140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t in l)return l[t].test(e);if("any"===t){for(var n in l){if(l.hasOwnProperty(n))if(l[n].test(e))return!0}return!1}throw new Error("Invalid locale '".concat(t,"'"))},t.locales=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^\d{4}$/,a=/^\d{5}$/,s=/^\d{6}$/,l={AD:/^AD\d{3}$/,AT:i,AU:i,AZ:/^AZ\d{4}$/,BE:i,BG:i,BR:/^\d{5}-\d{3}$/,BY:/2[1-4]{1}\d{4}$/,CA:/^[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][\s\-]?\d[ABCEGHJ-NPRSTV-Z]\d$/i,CH:i,CN:/^(0[1-7]|1[012356]|2[0-7]|3[0-6]|4[0-7]|5[1-7]|6[1-7]|7[1-5]|8[1345]|9[09])\d{4}$/,CZ:/^\d{3}\s?\d{2}$/,DE:a,DK:i,DO:a,DZ:a,EE:a,ES:/^(5[0-2]{1}|[0-4]{1}\d{1})\d{3}$/,FI:a,FR:/^\d{2}\s?\d{3}$/,GB:/^(gir\s?0aa|[a-z]{1,2}\d[\da-z]?\s?(\d[a-z]{2})?)$/i,GR:/^\d{3}\s?\d{2}$/,HR:/^([1-5]\d{4}$)/,HT:/^HT\d{4}$/,HU:i,ID:a,IE:/^(?!.*(?:o))[A-Za-z]\d[\dw]\s\w{4}$/i,IL:/^(\d{5}|\d{7})$/,IN:/^((?!10|29|35|54|55|65|66|86|87|88|89)[1-9][0-9]{5})$/,IR:/\b(?!(\d)\1{3})[13-9]{4}[1346-9][013-9]{5}\b/,IS:/^\d{3}$/,IT:a,JP:/^\d{3}\-\d{4}$/,KE:a,KR:/^(\d{5}|\d{6})$/,LI:/^(948[5-9]|949[0-7])$/,LT:/^LT\-\d{5}$/,LU:i,LV:/^LV\-\d{4}$/,LK:a,MX:a,MT:/^[A-Za-z]{3}\s{0,1}\d{4}$/,MY:a,NL:/^\d{4}\s?[a-z]{2}$/i,NO:i,NP:/^(10|21|22|32|33|34|44|45|56|57)\d{3}$|^(977)$/i,NZ:i,PL:/^\d{2}\-\d{3}$/,PR:/^00[679]\d{2}([ -]\d{4})?$/,PT:/^\d{4}\-\d{3}?$/,RO:s,RU:s,SA:a,SE:/^[1-9]\d{2}\s?\d{2}$/,SG:s,SI:i,SK:/^\d{3}\s?\d{2}$/,TH:a,TN:i,TW:/^\d{3}(\d{2})?$/,UA:a,US:/^\d{5}(-\d{4})?$/,ZA:i,ZM:a},c=Object.keys(l);t.locales=c},94611:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),f.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/([01][0-9]|2[0-3])/,a=/[0-5][0-9]/,s=new RegExp("[-+]".concat(i.source,":").concat(a.source)),l=new RegExp("([zZ]|".concat(s.source,")")),c=new RegExp("".concat(i.source,":").concat(a.source,":").concat(/([0-5][0-9]|60)/.source).concat(/(\.[0-9]+)?/.source)),u=new RegExp("".concat(/[0-9]{4}/.source,"-").concat(/(0[1-9]|1[0-2])/.source,"-").concat(/([12]\d|0[1-9]|3[01])/.source)),d=new RegExp("".concat(c.source).concat(l.source)),f=new RegExp("^".concat(u.source,"[ tT]").concat(d.source,"$"));e.exports=t.default,e.exports.default=t.default},20481:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if((0,o.default)(e),!t)return i.test(e)||a.test(e);return i.test(e)||a.test(e)||s.test(e)||l.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^rgb\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){2}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\)$/,a=/^rgba\((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)$/,s=/^rgb\((([0-9]%|[1-9][0-9]%|100%),){2}([0-9]%|[1-9][0-9]%|100%)\)/,l=/^rgba\((([0-9]%|[1-9][0-9]%|100%),){3}(0?\.\d|1(\.0)?|0(\.0)?)\)/;e.exports=t.default,e.exports.default=t.default},86826:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,r.default)(e),i.test(e)};var r=o(n(65571));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,o(n(24731)).default)(["^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)","(?:-((?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-z-][0-9a-z-]*))*))","?(?:\\+([0-9a-z-]+(?:\\.[0-9a-z-]+)*))?$"],"i");e.exports=t.default,e.exports.default=t.default},68220:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/^[^\s-_](?!.*?[-_]{2,})[a-z0-9-\\][^\s]*[^-_\s]$/;e.exports=t.default,e.exports.default=t.default},17633:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;(0,o.default)(e);var n=d(e);if((t=(0,r.default)(t||{},u)).returnScore)return f(n,t);return n.length>=t.minLength&&n.lowercaseCount>=t.minLowercase&&n.uppercaseCount>=t.minUppercase&&n.numberCount>=t.minNumbers&&n.symbolCount>=t.minSymbols};var r=i(n(84808)),o=i(n(65571));function i(e){return e&&e.__esModule?e:{default:e}}var a=/^[A-Z]$/,s=/^[a-z]$/,l=/^[0-9]$/,c=/^[-#!$@%^&*()_+|~=`{}\[\]:";'<>?,.\/ ]$/,u={minLength:8,minLowercase:1,minUppercase:1,minNumbers:1,minSymbols:1,returnScore:!1,pointsPerUnique:1,pointsPerRepeat:.5,pointsForContainingLower:10,pointsForContainingUpper:10,pointsForContainingNumber:10,pointsForContainingSymbol:10};function d(e){var t,n,r=(t=e,n={},Array.from(t).forEach((function(e){n[e]?n[e]+=1:n[e]=1})),n),o={length:e.length,uniqueChars:Object.keys(r).length,uppercaseCount:0,lowercaseCount:0,numberCount:0,symbolCount:0};return Object.keys(r).forEach((function(e){a.test(e)?o.uppercaseCount+=r[e]:s.test(e)?o.lowercaseCount+=r[e]:l.test(e)?o.numberCount+=r[e]:c.test(e)&&(o.symbolCount+=r[e])})),o}function f(e,t){var n=0;return n+=e.uniqueChars*t.pointsPerUnique,n+=(e.length-e.uniqueChars)*t.pointsPerRepeat,e.lowercaseCount>0&&(n+=t.pointsForContainingLower),e.uppercaseCount>0&&(n+=t.pointsForContainingUpper),e.numberCount>0&&(n+=t.pointsForContainingNumber),e.symbolCount>0&&(n+=t.pointsForContainingSymbol),n}e.exports=t.default,e.exports.default=t.default},72828:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i=/[\uD800-\uDBFF][\uDC00-\uDFFF]/;e.exports=t.default,e.exports.default=t.default},53058: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.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en-US";(0,o.default)(e);var n=e.slice(0);if(t in p)return t in g&&(n=n.replace(g[t],"")),!!p[t].test(n)&&(!(t in h)||h[t](n));throw new Error("Invalid locale '".concat(t,"'"))};var o=l(n(65571)),i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==r(e)&&"function"!=typeof e)return{default:e};var t=s();if(t&&t.has(e))return t.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}n.default=e,t&&t.set(e,n);return n}(n(83672)),a=l(n(82549));function s(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return s=function(){return e},e}function l(e){return e&&e.__esModule?e:{default:e}}function c(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return u(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 u(e,t)}(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 u(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 d={andover:["10","12"],atlanta:["60","67"],austin:["50","53"],brookhaven:["01","02","03","04","05","06","11","13","14","16","21","22","23","25","34","51","52","54","55","56","57","58","59","65"],cincinnati:["30","32","35","36","37","38","61"],fresno:["15","24"],internet:["20","26","27","45","46","47"],kansas:["40","44"],memphis:["94","95"],ogden:["80","90"],philadelphia:["33","39","41","42","43","46","48","62","63","64","66","68","71","72","73","74","75","76","77","81","82","83","84","85","86","87","88","91","92","93","98","99"],sba:["31"]};function f(e){for(var t=!1,n=!1,r=0;r<3;r++)if(!t&&/[AEIOU]/.test(e[r]))t=!0;else if(!n&&t&&"X"===e[r])n=!0;else if(r>0){if(t&&!n&&!/[AEIOU]/.test(e[r]))return!1;if(n&&!/X/.test(e[r]))return!1}return!0}var p={"bg-BG":/^\d{10}$/,"cs-CZ":/^\d{6}\/{0,1}\d{3,4}$/,"de-AT":/^\d{9}$/,"de-DE":/^[1-9]\d{10}$/,"dk-DK":/^\d{6}-{0,1}\d{4}$/,"el-CY":/^[09]\d{7}[A-Z]$/,"el-GR":/^([0-4]|[7-9])\d{8}$/,"en-GB":/^\d{10}$|^(?!GB|NK|TN|ZZ)(?![DFIQUV])[A-Z](?![DFIQUVO])[A-Z]\d{6}[ABCD ]$/i,"en-IE":/^\d{7}[A-W][A-IW]{0,1}$/i,"en-US":/^\d{2}[- ]{0,1}\d{7}$/,"es-ES":/^(\d{0,8}|[XYZKLM]\d{7})[A-HJ-NP-TV-Z]$/i,"et-EE":/^[1-6]\d{6}(00[1-9]|0[1-9][0-9]|[1-6][0-9]{2}|70[0-9]|710)\d$/,"fi-FI":/^\d{6}[-+A]\d{3}[0-9A-FHJ-NPR-Y]$/i,"fr-BE":/^\d{11}$/,"fr-FR":/^[0-3]\d{12}$|^[0-3]\d\s\d{2}(\s\d{3}){3}$/,"fr-LU":/^\d{13}$/,"hr-HR":/^\d{11}$/,"hu-HU":/^8\d{9}$/,"it-IT":/^[A-Z]{6}[L-NP-V0-9]{2}[A-EHLMPRST][L-NP-V0-9]{2}[A-ILMZ][L-NP-V0-9]{3}[A-Z]$/i,"lv-LV":/^\d{6}-{0,1}\d{5}$/,"mt-MT":/^\d{3,7}[APMGLHBZ]$|^([1-8])\1\d{7}$/i,"nl-NL":/^\d{9}$/,"pl-PL":/^\d{10,11}$/,"pt-BR":/(?:^\d{11}$)|(?:^\d{14}$)/,"pt-PT":/^\d{9}$/,"ro-RO":/^\d{13}$/,"sk-SK":/^\d{6}\/{0,1}\d{3,4}$/,"sl-SI":/^[1-9]\d{7}$/,"sv-SE":/^(\d{6}[-+]{0,1}\d{4}|(18|19|20)\d{6}[-+]{0,1}\d{4})$/};p["lb-LU"]=p["fr-LU"],p["lt-LT"]=p["et-EE"],p["nl-BE"]=p["fr-BE"];var h={"bg-BG":function(e){var t=e.slice(0,2),n=parseInt(e.slice(2,4),10);n>40?(n-=40,t="20".concat(t)):n>20?(n-=20,t="18".concat(t)):t="19".concat(t),n<10&&(n="0".concat(n));var r="".concat(t,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;for(var o=e.split("").map((function(e){return parseInt(e,10)})),i=[2,4,8,5,10,9,7,3,6],s=0,l=0;l<i.length;l++)s+=o[l]*i[l];return(s=s%11==10?0:s%11)===o[9]},"cs-CZ":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(0,2),10);if(10===e.length)t=t<54?"20".concat(t):"19".concat(t);else{if("000"===e.slice(6))return!1;if(!(t<54))return!1;t="19".concat(t)}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var n=parseInt(e.slice(2,4),10);if(n>50&&(n-=50),n>20){if(parseInt(t,10)<2004)return!1;n-=20}n<10&&(n="0".concat(n));var r="".concat(t,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1;if(10===e.length&&parseInt(e,10)%11!=0){var o=parseInt(e.slice(0,9),10)%11;if(!(parseInt(t,10)<1986&&10===o))return!1;if(0!==parseInt(e.slice(9),10))return!1}return!0},"de-AT":function(e){return i.luhnCheck(e)},"de-DE":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),n=[],r=0;r<t.length-1;r++){n.push("");for(var o=0;o<t.length-1;o++)t[r]===t[o]&&(n[r]+=o)}if(2!==(n=n.filter((function(e){return e.length>1}))).length&&3!==n.length)return!1;if(3===n[0].length){for(var a=n[0].split("").map((function(e){return parseInt(e,10)})),s=0,l=0;l<a.length-1;l++)a[l]+1===a[l+1]&&(s+=1);if(2===s)return!1}return i.iso7064Check(e)},"dk-DK":function(e){e=e.replace(/\W/,"");var t=parseInt(e.slice(4,6),10);switch(e.slice(6,7)){case"0":case"1":case"2":case"3":t="19".concat(t);break;case"4":case"9":t=t<37?"20".concat(t):"19".concat(t);break;default:if(t<37)t="20".concat(t);else{if(!(t>58))return!1;t="18".concat(t)}}3===t.length&&(t=[t.slice(0,2),"0",t.slice(2)].join(""));var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),o=0,i=4,s=0;s<9;s++)o+=r[s]*i,1===(i-=1)&&(i=7);return 1!==(o%=11)&&(0===o?0===r[9]:r[9]===11-o)},"el-CY":function(e){for(var t=e.slice(0,8).split("").map((function(e){return parseInt(e,10)})),n=0,r=1;r<t.length;r+=2)n+=t[r];for(var o=0;o<t.length;o+=2)t[o]<2?n+=1-t[o]:(n+=2*(t[o]-2)+5,t[o]>4&&(n+=2));return String.fromCharCode(n%26+65)===e.charAt(8)},"el-GR":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),n=0,r=0;r<8;r++)n+=t[r]*Math.pow(2,8-r);return n%11%10===t[8]},"en-IE":function(e){var t=i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8);return 9===e.length&&"W"!==e[8]&&(t+=9*(e[8].charCodeAt(0)-64)),0===(t%=23)?"W"===e[7].toUpperCase():e[7].toUpperCase()===String.fromCharCode(64+t)},"en-US":function(e){return-1!==function(){var e=[];for(var t in d)d.hasOwnProperty(t)&&e.push.apply(e,c(d[t]));return e}().indexOf(e.substr(0,2))},"es-ES":function(e){var t=e.toUpperCase().split("");if(isNaN(parseInt(t[0],10))&&t.length>1){var n=0;switch(t[0]){case"Y":n=1;break;case"Z":n=2}t.splice(0,1,n)}else for(;t.length<9;)t.unshift(0);t=t.join("");var r=parseInt(t.slice(0,8),10)%23;return t[8]===["T","R","W","A","G","M","Y","F","P","D","X","B","N","J","Z","S","Q","V","H","L","C","K","E"][r]},"et-EE":function(e){var t=e.slice(1,3);switch(e.slice(0,1)){case"1":case"2":t="18".concat(t);break;case"3":case"4":t="19".concat(t);break;default:t="20".concat(t)}var n="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),o=0,i=1,s=0;s<10;s++)o+=r[s]*i,10===(i+=1)&&(i=1);if(o%11==10){o=0,i=3;for(var l=0;l<10;l++)o+=r[l]*i,10===(i+=1)&&(i=1);if(o%11==10)return 0===r[10]}return o%11===r[10]},"fi-FI":function(e){var t=e.slice(4,6);switch(e.slice(6,7)){case"+":t="18".concat(t);break;case"-":t="19".concat(t);break;default:t="20".concat(t)}var n="".concat(t,"/").concat(e.slice(2,4),"/").concat(e.slice(0,2));if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;var r=parseInt(e.slice(0,6)+e.slice(7,10),10)%31;return r<10?r===parseInt(e.slice(10),10):["A","B","C","D","E","F","H","J","K","L","M","N","P","R","S","T","U","V","W","X","Y"][r-=10]===e.slice(10)},"fr-BE":function(e){if("00"!==e.slice(2,4)||"00"!==e.slice(4,6)){var t="".concat(e.slice(0,2),"/").concat(e.slice(2,4),"/").concat(e.slice(4,6));if(!(0,a.default)(t,"YY/MM/DD"))return!1}var n=97-parseInt(e.slice(0,9),10)%97,r=parseInt(e.slice(9,11),10);return n===r||(n=97-parseInt("2".concat(e.slice(0,9)),10)%97)===r},"fr-FR":function(e){return e=e.replace(/\s/g,""),parseInt(e.slice(0,10),10)%511===parseInt(e.slice(10,13),10)},"fr-LU":function(e){var t="".concat(e.slice(0,4),"/").concat(e.slice(4,6),"/").concat(e.slice(6,8));return!!(0,a.default)(t,"YYYY/MM/DD")&&(!!i.luhnCheck(e.slice(0,12))&&i.verhoeffCheck("".concat(e.slice(0,11)).concat(e[12])))},"hr-HR":function(e){return i.iso7064Check(e)},"hu-HU":function(e){for(var t=e.split("").map((function(e){return parseInt(e,10)})),n=8,r=1;r<9;r++)n+=t[r]*(r+1);return n%11===t[9]},"it-IT":function(e){var t=e.toUpperCase().split("");if(!f(t.slice(0,3)))return!1;if(!f(t.slice(3,6)))return!1;for(var n={L:"0",M:"1",N:"2",P:"3",Q:"4",R:"5",S:"6",T:"7",U:"8",V:"9"},r=0,o=[6,7,9,10,12,13,14];r<o.length;r++){var i=o[r];t[i]in n&&t.splice(i,1,n[t[i]])}var s={A:"01",B:"02",C:"03",D:"04",E:"05",H:"06",L:"07",M:"08",P:"09",R:"10",S:"11",T:"12"}[t[8]],l=parseInt(t[9]+t[10],10);l>40&&(l-=40),l<10&&(l="0".concat(l));var c="".concat(t[6]).concat(t[7],"/").concat(s,"/").concat(l);if(!(0,a.default)(c,"YY/MM/DD"))return!1;for(var u=0,d=1;d<t.length-1;d+=2){var p=parseInt(t[d],10);isNaN(p)&&(p=t[d].charCodeAt(0)-65),u+=p}for(var h={A:1,B:0,C:5,D:7,E:9,F:13,G:15,H:17,I:19,J:21,K:2,L:4,M:18,N:20,O:11,P:3,Q:6,R:8,S:12,T:14,U:16,V:10,W:22,X:25,Y:24,Z:23,0:1,1:0},m=0;m<t.length-1;m+=2){var g=0;if(t[m]in h)g=h[t[m]];else{var v=parseInt(t[m],10);g=2*v+1,v>4&&(g+=2)}u+=g}return String.fromCharCode(65+u%26)===t[15]},"lv-LV":function(e){var t=(e=e.replace(/\W/,"")).slice(0,2);if("32"!==t){if("00"!==e.slice(2,4)){var n=e.slice(4,6);switch(e[6]){case"0":n="18".concat(n);break;case"1":n="19".concat(n);break;default:n="20".concat(n)}var r="".concat(n,"/").concat(e.slice(2,4),"/").concat(t);if(!(0,a.default)(r,"YYYY/MM/DD"))return!1}for(var o=1101,i=[1,6,3,7,9,10,5,8,4,2],s=0;s<e.length-1;s++)o-=parseInt(e[s],10)*i[s];return parseInt(e[10],10)===o%11}return!0},"mt-MT":function(e){if(9!==e.length){for(var t=e.toUpperCase().split("");t.length<8;)t.unshift(0);switch(e[7]){case"A":case"P":if(0===parseInt(t[6],10))return!1;break;default:var n=parseInt(t.join("").slice(0,5),10);if(n>32e3)return!1;if(n===parseInt(t.join("").slice(5,7),10))return!1}}return!0},"nl-NL":function(e){return i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11===parseInt(e[8],10)},"pl-PL":function(e){if(10===e.length){for(var t=[6,5,7,2,3,4,5,6,7],n=0,r=0;r<t.length;r++)n+=parseInt(e[r],10)*t[r];return 10!==(n%=11)&&n===parseInt(e[9],10)}var o=e.slice(0,2),i=parseInt(e.slice(2,4),10);i>80?(o="18".concat(o),i-=80):i>60?(o="22".concat(o),i-=60):i>40?(o="21".concat(o),i-=40):i>20?(o="20".concat(o),i-=20):o="19".concat(o),i<10&&(i="0".concat(i));var s="".concat(o,"/").concat(i,"/").concat(e.slice(4,6));if(!(0,a.default)(s,"YYYY/MM/DD"))return!1;for(var l=0,c=1,u=0;u<e.length-1;u++)l+=parseInt(e[u],10)*c%10,(c+=2)>10?c=1:5===c&&(c+=2);return(l=10-l%10)===parseInt(e[10],10)},"pt-BR":function(e){if(11===e.length){var t,n;if(t=0,"11111111111"===e||"22222222222"===e||"33333333333"===e||"44444444444"===e||"55555555555"===e||"66666666666"===e||"77777777777"===e||"88888888888"===e||"99999999999"===e||"00000000000"===e)return!1;for(var r=1;r<=9;r++)t+=parseInt(e.substring(r-1,r),10)*(11-r);if(10===(n=10*t%11)&&(n=0),n!==parseInt(e.substring(9,10),10))return!1;t=0;for(var o=1;o<=10;o++)t+=parseInt(e.substring(o-1,o),10)*(12-o);return 10===(n=10*t%11)&&(n=0),n===parseInt(e.substring(10,11),10)}if("00000000000000"===e||"11111111111111"===e||"22222222222222"===e||"33333333333333"===e||"44444444444444"===e||"55555555555555"===e||"66666666666666"===e||"77777777777777"===e||"88888888888888"===e||"99999999999999"===e)return!1;for(var i=e.length-2,a=e.substring(0,i),s=e.substring(i),l=0,c=i-7,u=i;u>=1;u--)l+=a.charAt(i-u)*c,(c-=1)<2&&(c=9);var d=l%11<2?0:11-l%11;if(d!==parseInt(s.charAt(0),10))return!1;i+=1,a=e.substring(0,i),l=0,c=i-7;for(var f=i;f>=1;f--)l+=a.charAt(i-f)*c,(c-=1)<2&&(c=9);return(d=l%11<2?0:11-l%11)===parseInt(s.charAt(1),10)},"pt-PT":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,8).map((function(e){return parseInt(e,10)})),9)%11;return t>9?0===parseInt(e[8],10):t===parseInt(e[8],10)},"ro-RO":function(e){if("9000"!==e.slice(0,4)){var t=e.slice(1,3);switch(e[0]){case"1":case"2":t="19".concat(t);break;case"3":case"4":t="18".concat(t);break;case"5":case"6":t="20".concat(t)}var n="".concat(t,"/").concat(e.slice(3,5),"/").concat(e.slice(5,7));if(8===n.length){if(!(0,a.default)(n,"YY/MM/DD"))return!1}else if(!(0,a.default)(n,"YYYY/MM/DD"))return!1;for(var r=e.split("").map((function(e){return parseInt(e,10)})),o=[2,7,9,1,4,6,3,5,8,2,7,9],i=0,s=0;s<o.length;s++)i+=r[s]*o[s];return i%11==10?1===r[12]:r[12]===i%11}return!0},"sk-SK":function(e){if(9===e.length){if("000"===(e=e.replace(/\W/,"")).slice(6))return!1;var t=parseInt(e.slice(0,2),10);if(t>53)return!1;t=t<10?"190".concat(t):"19".concat(t);var n=parseInt(e.slice(2,4),10);n>50&&(n-=50),n<10&&(n="0".concat(n));var r="".concat(t,"/").concat(n,"/").concat(e.slice(4,6));if(!(0,a.default)(r,"YYYY/MM/DD"))return!1}return!0},"sl-SI":function(e){var t=11-i.reverseMultiplyAndSum(e.split("").slice(0,7).map((function(e){return parseInt(e,10)})),8)%11;return 10===t?0===parseInt(e[7],10):t===parseInt(e[7],10)},"sv-SE":function(e){var t=e.slice(0);e.length>11&&(t=t.slice(2));var n="",r=t.slice(2,4),o=parseInt(t.slice(4,6),10);if(e.length>11)n=e.slice(0,4);else if(n=e.slice(0,2),11===e.length&&o<60){var s=(new Date).getFullYear().toString(),l=parseInt(s.slice(0,2),10);if(s=parseInt(s,10),"-"===e[6])n=parseInt("".concat(l).concat(n),10)>s?"".concat(l-1).concat(n):"".concat(l).concat(n);else if(n="".concat(l-1).concat(n),s-parseInt(n,10)<100)return!1}o>60&&(o-=60),o<10&&(o="0".concat(o));var c="".concat(n,"/").concat(r,"/").concat(o);if(8===c.length){if(!(0,a.default)(c,"YY/MM/DD"))return!1}else if(!(0,a.default)(c,"YYYY/MM/DD"))return!1;return i.luhnCheck(e.replace(/\W/,""))}};h["lb-LU"]=h["fr-LU"],h["lt-LT"]=h["et-EE"],h["nl-BE"]=h["fr-BE"];var m=/[-\\\/!@#$%\^&\*\(\)\+\=\[\]]+/g,g={"de-AT":m,"de-DE":/[\/\\]/g,"fr-BE":m};g["nl-BE"]=g["fr-BE"],e.exports=t.default,e.exports.default=t.default},66823:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,r.default)(e),!e||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;if((t=(0,a.default)(t,c)).validate_length&&e.length>=2083)return!1;if(!t.allow_fragments&&e.includes("#"))return!1;if(!t.allow_query_components&&(e.includes("?")||e.includes("&")))return!1;var n,s,f,p,h,m,g,v;if(g=e.split("#"),e=g.shift(),g=e.split("?"),e=g.shift(),(g=e.split("://")).length>1){if(n=g.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(n))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;g[0]=e.substr(2)}}if(""===(e=g.join("://")))return!1;if(g=e.split("/"),""===(e=g.shift())&&!t.require_host)return!0;if((g=e.split("@")).length>1){if(t.disallow_auth)return!1;if(""===g[0])return!1;if((s=g.shift()).indexOf(":")>=0&&s.split(":").length>2)return!1;var b=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;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(e){o=!0,i=e}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return l(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 l(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.")}()}(s.split(":"),2),y=b[0],A=b[1];if(""===y&&""===A)return!1}p=g.join("@"),m=null,v=null;var x=p.match(u);x?(f="",v=x[1],m=x[2]||null):(g=p.split(":"),f=g.shift(),g.length&&(m=g.join(":")));if(null!==m&&m.length>0){if(h=parseInt(m,10),!/^[0-9]+$/.test(m)||h<=0||h>65535)return!1}else if(t.require_port)return!1;if(t.host_whitelist)return d(f,t.host_whitelist);if(!((0,i.default)(f)||(0,o.default)(f,t)||v&&(0,i.default)(v,6)))return!1;if(f=f||v,t.host_blacklist&&d(f,t.host_blacklist))return!1;return!0};var r=s(n(65571)),o=s(n(10221)),i=s(n(61028)),a=s(n(84808));function s(e){return e&&e.__esModule?e:{default:e}}function l(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 c={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_port:!1,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1,allow_fragments:!0,allow_query_components:!0,validate_length:!0},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];if(e===r||(o=r,"[object RegExp]"===Object.prototype.toString.call(o)&&r.test(e)))return!0}var o;return!1}e.exports=t.default,e.exports.default=t.default},57278:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=i[[void 0,null].includes(t)?"all":t];return!!n&&n.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={1:/^[0-9A-F]{8}-[0-9A-F]{4}-1[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,2:/^[0-9A-F]{8}-[0-9A-F]{4}-2[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,3:/^[0-9A-F]{8}-[0-9A-F]{4}-3[0-9A-F]{3}-[0-9A-F]{4}-[0-9A-F]{12}$/i,4:/^[0-9A-F]{8}-[0-9A-F]{4}-4[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,5:/^[0-9A-F]{8}-[0-9A-F]{4}-5[0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i,all:/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/i};e.exports=t.default,e.exports.default=t.default},57245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e===e.toUpperCase()};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},55977:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),(0,o.default)(t),t in i)return i[t].test(e);throw new Error("Invalid country code: '".concat(t,"'"))},t.vatMatchers=void 0;var r,o=(r=n(65571))&&r.__esModule?r:{default:r};var i={GB:/^GB((\d{3} \d{4} ([0-8][0-9]|9[0-6]))|(\d{9} \d{3})|(((GD[0-4])|(HA[5-9]))[0-9]{2}))$/,IT:/^(IT)?[0-9]{11}$/,NL:/^(NL)?[0-9]{9}B[0-9]{2}$/};t.vatMatchers=i},49019:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),i.fullWidth.test(e)&&a.halfWidth.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r},i=n(77146),a=n(82941);e.exports=t.default,e.exports.default=t.default},88346:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);for(var n=e.length-1;n>=0;n--)if(-1===t.indexOf(e[n]))return!1;return!0};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},14959:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,o.default)(e);var n=t?new RegExp("^[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+"),"g"):/^\s+/g;return e.replace(n,"")};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},30661:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){(0,o.default)(e),"[object RegExp]"!==Object.prototype.toString.call(t)&&(t=new RegExp(t,n));return t.test(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},2900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t=(0,o.default)(t,i);var n=e.split("@"),r=n.pop(),d=[n.join("@"),r];if(d[1]=d[1].toLowerCase(),"gmail.com"===d[1]||"googlemail.com"===d[1]){if(t.gmail_remove_subaddress&&(d[0]=d[0].split("+")[0]),t.gmail_remove_dots&&(d[0]=d[0].replace(/\.+/g,u)),!d[0].length)return!1;(t.all_lowercase||t.gmail_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]=t.gmail_convert_googlemaildotcom?"gmail.com":d[1]}else if(a.indexOf(d[1])>=0){if(t.icloud_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(t.all_lowercase||t.icloud_lowercase)&&(d[0]=d[0].toLowerCase())}else if(s.indexOf(d[1])>=0){if(t.outlookdotcom_remove_subaddress&&(d[0]=d[0].split("+")[0]),!d[0].length)return!1;(t.all_lowercase||t.outlookdotcom_lowercase)&&(d[0]=d[0].toLowerCase())}else if(l.indexOf(d[1])>=0){if(t.yahoo_remove_subaddress){var f=d[0].split("-");d[0]=f.length>1?f.slice(0,-1).join("-"):f[0]}if(!d[0].length)return!1;(t.all_lowercase||t.yahoo_lowercase)&&(d[0]=d[0].toLowerCase())}else c.indexOf(d[1])>=0?((t.all_lowercase||t.yandex_lowercase)&&(d[0]=d[0].toLowerCase()),d[1]="yandex.ru"):t.all_lowercase&&(d[0]=d[0].toLowerCase());return d.join("@")};var r,o=(r=n(84808))&&r.__esModule?r:{default:r};var i={all_lowercase:!0,gmail_lowercase:!0,gmail_remove_dots:!0,gmail_remove_subaddress:!0,gmail_convert_googlemaildotcom:!0,outlookdotcom_lowercase:!0,outlookdotcom_remove_subaddress:!0,yahoo_lowercase:!0,yahoo_remove_subaddress:!0,yandex_lowercase:!0,icloud_lowercase:!0,icloud_remove_subaddress:!0},a=["icloud.com","me.com"],s=["hotmail.at","hotmail.be","hotmail.ca","hotmail.cl","hotmail.co.il","hotmail.co.nz","hotmail.co.th","hotmail.co.uk","hotmail.com","hotmail.com.ar","hotmail.com.au","hotmail.com.br","hotmail.com.gr","hotmail.com.mx","hotmail.com.pe","hotmail.com.tr","hotmail.com.vn","hotmail.cz","hotmail.de","hotmail.dk","hotmail.es","hotmail.fr","hotmail.hu","hotmail.id","hotmail.ie","hotmail.in","hotmail.it","hotmail.jp","hotmail.kr","hotmail.lv","hotmail.my","hotmail.ph","hotmail.pt","hotmail.sa","hotmail.sg","hotmail.sk","live.be","live.co.uk","live.com","live.com.ar","live.com.mx","live.de","live.es","live.eu","live.fr","live.it","live.nl","msn.com","outlook.at","outlook.be","outlook.cl","outlook.co.il","outlook.co.nz","outlook.co.th","outlook.com","outlook.com.ar","outlook.com.au","outlook.com.br","outlook.com.gr","outlook.com.pe","outlook.com.tr","outlook.com.vn","outlook.cz","outlook.de","outlook.dk","outlook.es","outlook.fr","outlook.hu","outlook.id","outlook.ie","outlook.in","outlook.it","outlook.jp","outlook.kr","outlook.lv","outlook.my","outlook.ph","outlook.pt","outlook.sa","outlook.sg","outlook.sk","passport.com"],l=["rocketmail.com","yahoo.ca","yahoo.co.uk","yahoo.com","yahoo.de","yahoo.fr","yahoo.in","yahoo.it","ymail.com"],c=["yandex.ru","yandex.ua","yandex.kz","yandex.com","yandex.by","ya.ru"];function u(e){return e.length>1?e:""}e.exports=t.default,e.exports.default=t.default},29778:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t){var n=new RegExp("[".concat(t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"]+$"),"g");return e.replace(n,"")}var r=e.length-1;for(;/\s/.test(e.charAt(r));)r-=1;return e.slice(0,r+1)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},8035:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,r.default)(e);var n=t?"\\x00-\\x09\\x0B\\x0C\\x0E-\\x1F\\x7F":"\\x00-\\x1F\\x7F";return(0,o.default)(e,n)};var r=i(n(65571)),o=i(n(44928));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},557:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,o.default)(e),t)return"1"===e||/^true$/i.test(e);return"0"!==e&&!/^false$/i.test(e)&&""!==e};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},8469:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e=Date.parse(e),isNaN(e)?null:new Date(e)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},77536:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e)?parseFloat(e):NaN};var r,o=(r=n(79146))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},21359:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),parseInt(e,t||10)};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},24790:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,r.default)((0,o.default)(e,t),t)};var r=i(n(29778)),o=i(n(14959));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default,e.exports.default=t.default},94816:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,o.default)(e),e.replace(/&quot;/g,'"').replace(/&#x27;/g,"'").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&#x2F;/g,"/").replace(/&#x5C;/g,"\\").replace(/&#96;/g,"`").replace(/&amp;/g,"&")};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},83672:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iso7064Check=function(e){for(var t=10,n=0;n<e.length-1;n++)t=(parseInt(e[n],10)+t)%10==0?9:(parseInt(e[n],10)+t)%10*2%11;return(t=1===t?0:11-t)===parseInt(e[10],10)},t.luhnCheck=function(e){for(var t=0,n=!1,r=e.length-1;r>=0;r--){if(n){var o=2*parseInt(e[r],10);t+=o>9?o.toString().split("").map((function(e){return parseInt(e,10)})).reduce((function(e,t){return e+t}),0):o}else t+=parseInt(e[r],10);n=!n}return t%10==0},t.reverseMultiplyAndSum=function(e,t){for(var n=0,r=0;r<e.length;r++)n+=e[r]*(t-r);return n},t.verhoeffCheck=function(e){for(var t=[[0,1,2,3,4,5,6,7,8,9],[1,2,3,4,0,6,7,8,9,5],[2,3,4,0,1,7,8,9,5,6],[3,4,0,1,2,8,9,5,6,7],[4,0,1,2,3,9,5,6,7,8],[5,9,8,7,6,0,4,3,2,1],[6,5,9,8,7,1,0,4,3,2],[7,6,5,9,8,2,1,0,4,3],[8,7,6,5,9,3,2,1,0,4],[9,8,7,6,5,4,3,2,1,0]],n=[[0,1,2,3,4,5,6,7,8,9],[1,5,7,6,2,8,3,0,9,4],[5,8,0,3,7,9,6,1,4,2],[8,9,1,6,0,4,3,5,2,7],[9,4,5,3,1,2,6,8,7,0],[4,2,8,6,5,7,3,9,0,1],[2,7,9,3,8,0,6,4,1,5],[7,0,4,6,9,1,3,2,5,8]],r=e.split("").reverse().join(""),o=0,i=0;i<r.length;i++)o=t[o][n[i%8][parseInt(r[i],10)]];return 0===o}},65571:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=n(e);throw null===e?t="null":"object"===t&&(t=e.constructor.name),new TypeError("Expected a string but received a ".concat(t))}},e.exports=t.default,e.exports.default=t.default},18343:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e,t){return e.some((function(e){return t===e}))};t.default=n,e.exports=t.default,e.exports.default=t.default},84808:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default,e.exports.default=t.default},24731:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=e.join("");return new RegExp(n,t)},e.exports=t.default,e.exports.default=t.default},31913:function(e,t){"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){"object"===n(e)&&null!==e?e="function"==typeof e.toString?e.toString():"[object Object]":(null==e||isNaN(e)&&!e.length)&&(e="");return String(e)},e.exports=t.default,e.exports.default=t.default},34714:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,o.default)(e),e.replace(new RegExp("[^".concat(t,"]+"),"g"),"")};var r,o=(r=n(65571))&&r.__esModule?r:{default:r};e.exports=t.default,e.exports.default=t.default},42473:function(e){"use strict";var t=function(){};e.exports=t},66006:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(22275),i=(r=o)&&r.__esModule?r:{default:r};t.default={pauseVideo:{acceptableStates:[i.default.ENDED,i.default.PAUSED],stateChangeRequired:!1},playVideo:{acceptableStates:[i.default.ENDED,i.default.PLAYING],stateChangeRequired:!1},seekTo:{acceptableStates:[i.default.ENDED,i.default.PLAYING,i.default.PAUSED],stateChangeRequired:!0,timeout:3e3}},e.exports=t.default},89125:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(9215)),o=s(n(28255)),i=s(n(65279)),a=s(n(66006));function s(e){return e&&e.__esModule?e:{default:e}}var l=(0,r.default)("youtube-player"),c={proxyEvents:function(e){var t={},n=function(n){var r="on"+n.slice(0,1).toUpperCase()+n.slice(1);t[r]=function(t){l('event "%s"',r,t),e.trigger(n,t)}},r=!0,o=!1,a=void 0;try{for(var s,c=i.default[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){n(s.value)}}catch(e){o=!0,a=e}finally{try{!r&&c.return&&c.return()}finally{if(o)throw a}}return t},promisifyPlayer:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n={},r=function(r){t&&a.default[r]?n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.then((function(e){var t=a.default[r],o=e.getPlayerState(),i=e[r].apply(e,n);return t.stateChangeRequired||Array.isArray(t.acceptableStates)&&-1===t.acceptableStates.indexOf(o)?new Promise((function(n){e.addEventListener("onStateChange",(function r(){var o=e.getPlayerState(),i=void 0;"number"==typeof t.timeout&&(i=setTimeout((function(){e.removeEventListener("onStateChange",r),n()}),t.timeout)),Array.isArray(t.acceptableStates)&&-1!==t.acceptableStates.indexOf(o)&&(e.removeEventListener("onStateChange",r),clearTimeout(i),n())}))})).then((function(){return i})):i}))}:n[r]=function(){for(var t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return e.then((function(e){return e[r].apply(e,n)}))}},i=!0,s=!1,l=void 0;try{for(var c,u=o.default[Symbol.iterator]();!(i=(c=u.next()).done);i=!0){var d=c.value;r(d)}}catch(e){s=!0,l=e}finally{try{!i&&u.return&&u.return()}finally{if(s)throw l}}return n}};t.default=c,e.exports=t.default},22275:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={BUFFERING:3,ENDED:0,PAUSED:2,PLAYING:1,UNSTARTED:-1,VIDEO_CUED:5},e.exports=t.default},65279:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["ready","stateChange","playbackQualityChange","playbackRateChange","error","apiChange","volumeChange"],e.exports=t.default},28255:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["cueVideoById","loadVideoById","cueVideoByUrl","loadVideoByUrl","playVideo","pauseVideo","stopVideo","getVideoLoadedFraction","cuePlaylist","loadPlaylist","nextVideo","previousVideo","playVideoAt","setShuffle","setLoop","getPlaylist","getPlaylistIndex","setOption","mute","unMute","isMuted","setVolume","getVolume","seekTo","getPlayerState","getPlaybackRate","setPlaybackRate","getAvailablePlaybackRates","getPlaybackQuality","setPlaybackQuality","getAvailableQualityLevels","getCurrentTime","getDuration","removeEventListener","getVideoUrl","getVideoEmbedCode","getOptions","getOption","addEventListener","destroy","setSize","getIframe"],e.exports=t.default},11062:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var 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},o=s(n(33988)),i=s(n(55900)),a=s(n(89125));function s(e){return e&&e.__esModule?e:{default:e}}var l=void 0;t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=(0,o.default)();if(l||(l=(0,i.default)(s)),t.events)throw new Error("Event handlers cannot be overwritten.");if("string"==typeof e&&!document.getElementById(e))throw new Error('Element "'+e+'" does not exist.');t.events=a.default.proxyEvents(s);var c=new Promise((function(n){"object"===(void 0===e?"undefined":r(e))&&e.playVideo instanceof Function?n(e):l.then((function(r){var o=new r.Player(e,t);return s.on("ready",(function(){n(o)})),null}))})),u=a.default.promisifyPlayer(c,n);return u.on=s.on,u.off=s.off,u},e.exports=t.default},55900:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(49090),i=(r=o)&&r.__esModule?r:{default:r};t.default=function(e){return new Promise((function(t){if(window.YT&&window.YT.Player&&window.YT.Player instanceof Function)t(window.YT);else{var n="http:"===window.location.protocol?"http:":"https:";(0,i.default)(n+"//www.youtube.com/iframe_api",(function(t){t&&e.trigger("error",t)}));var r=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=function(){r&&r(),t(window.YT)}}}))},e.exports=t.default},9215:function(e,t,n){var r=n(34155);function o(){var e;try{e=t.storage.debug}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e}(t=e.exports=n(55046)).log=function(){return"object"==typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},t.formatArgs=function(e){var n=this.useColors;if(e[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+e[0]+(n?"%c ":" ")+"+"+t.humanize(this.diff),!n)return;var r="color: "+this.color;e.splice(1,0,r,"color: inherit");var o=0,i=0;e[0].replace(/%[a-zA-Z%]/g,(function(e){"%%"!==e&&(o++,"%c"===e&&(i=o))})),e.splice(i,0,r)},t.save=function(e){try{null==e?t.storage.removeItem("debug"):t.storage.debug=e}catch(e){}},t.load=o,t.useColors=function(){if("undefined"!=typeof window&&window.process&&"renderer"===window.process.type)return!0;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="undefined"!=typeof chrome&&void 0!==chrome.storage?chrome.storage.local:function(){try{return window.localStorage}catch(e){}}(),t.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],t.formatters.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},t.enable(o())},55046:function(e,t,n){var r;function o(e){function n(){if(n.enabled){var e=n,o=+new Date,i=o-(r||o);e.diff=i,e.prev=r,e.curr=o,r=o;for(var a=new Array(arguments.length),s=0;s<a.length;s++)a[s]=arguments[s];a[0]=t.coerce(a[0]),"string"!=typeof a[0]&&a.unshift("%O");var l=0;a[0]=a[0].replace(/%([a-zA-Z%])/g,(function(n,r){if("%%"===n)return n;l++;var o=t.formatters[r];if("function"==typeof o){var i=a[l];n=o.call(e,i),a.splice(l,1),l--}return n})),t.formatArgs.call(e,a);var c=n.log||t.log||console.log.bind(console);c.apply(e,a)}}return n.namespace=e,n.enabled=t.enabled(e),n.useColors=t.useColors(),n.color=function(e){var n,r=0;for(n in e)r=(r<<5)-r+e.charCodeAt(n),r|=0;return t.colors[Math.abs(r)%t.colors.length]}(e),"function"==typeof t.init&&t.init(n),n}(t=e.exports=o.debug=o.default=o).coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){t.enable("")},t.enable=function(e){t.save(e),t.names=[],t.skips=[];for(var n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length,o=0;o<r;o++)n[o]&&("-"===(e=n[o].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){var n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(14680),t.names=[],t.skips=[],t.formatters={}},14680:function(e){var t=1e3,n=60*t,r=60*n,o=24*r,i=365.25*o;function a(e,t,n){if(!(e<t))return e<1.5*t?Math.floor(e/t)+" "+n:Math.ceil(e/t)+" "+n+"s"}e.exports=function(e,s){s=s||{};var l,c=typeof e;if("string"===c&&e.length>0)return function(e){if((e=String(e)).length>100)return;var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(e);if(!a)return;var s=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}(e);if("number"===c&&!1===isNaN(e))return s.long?a(l=e,o,"day")||a(l,r,"hour")||a(l,n,"minute")||a(l,t,"second")||l+" ms":function(e){if(e>=o)return Math.round(e/o)+"d";if(e>=r)return Math.round(e/r)+"h";if(e>=n)return Math.round(e/n)+"m";if(e>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},66115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},38416:function(e,t,n){var r=n(64062);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},10434:function(e){function t(){return e.exports=t=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},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7867:function(e,t,n){var r=n(6015);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},64836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},7071:function(e){e.exports=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.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},95036:function(e,t,n){var r=n(18698).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},64062:function(e,t,n){var r=n(18698).default,o=n(95036);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function t(n){return e.exports=t="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.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},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}},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}})},61120: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 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]:{};t%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}})},82963:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(71002),o=n(97326);function i(e,t){if(t&&("object"===(0,r.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,o.Z)(e)}},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=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)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)||!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}}},2269:function(e,t,n){"use strict";n.d(t,{rU:function(){return jt},yP:function(){return Et},Nd:function(){return Dt},cI:function(){return Pt},qt:function(){return Mt}});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:function(){return oe},hasStandardBrowserEnv:function(){return ie},hasStandardBrowserWebWorkerEnv:function(){return se}});const{toString:i}=Object.prototype,{getPrototypeOf:a}=Object,s=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const c=e=>(e=e.toLowerCase(),t=>s(t)===e),u=e=>t=>typeof t===e,{isArray:d}=Array,f=u("undefined");const p=c("ArrayBuffer");const h=u("string"),m=u("function"),g=u("number"),v=e=>null!==e&&"object"==typeof e,b=e=>{if("object"!==s(e))return!1;const t=a(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},y=c("Date"),A=c("File"),x=c("Blob"),C=c("FileList"),_=c("URLSearchParams");function w(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),i=o.length;let a;for(r=0;r<i;r++)a=o[r],t.call(null,e[a],a,e)}}function k(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,o=n.length;for(;o-- >0;)if(r=n[o],t===r.toLowerCase())return r;return null}const S="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,E=e=>!f(e)&&e!==S;const B=(O="undefined"!=typeof Uint8Array&&a(Uint8Array),e=>O&&e instanceof O);var O;const j=c("HTMLFormElement"),T=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),P=c("RegExp"),M=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};w(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},D="abcdefghijklmnopqrstuvwxyz",R="0123456789",L={DIGIT:R,ALPHA:D,ALPHA_DIGIT:D+D.toUpperCase()+R};const I=c("AsyncFunction");var N={isArray:d,isArrayBuffer:p,isBuffer:function(e){return null!==e&&!f(e)&&null!==e.constructor&&!f(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=s(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&p(e.buffer),t},isString:h,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:v,isPlainObject:b,isUndefined:f,isDate:y,isFile:A,isBlob:x,isRegExp:P,isFunction:m,isStream:e=>v(e)&&m(e.pipe),isURLSearchParams:_,isTypedArray:B,isFileList:C,forEach:w,merge:function e(){const{caseless:t}=E(this)&&this||{},n={},r=(r,o)=>{const i=t&&k(n,o)||o;b(n[i])&&b(r)?n[i]=e(n[i],r):b(r)?n[i]=e({},r):d(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&w(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(w(t,((t,r)=>{n&&m(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,s;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)s=o[i],r&&!r(s,e,t)||l[s]||(t[s]=e[s],l[s]=!0);e=!1!==n&&a(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:s,kindOfTest:c,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:j,hasOwnProperty:T,hasOwnProp:T,reduceDescriptors:M,freezeMethods:e=>{M(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:k,global:S,isContextDefined:E,ALPHABET:L,generateString:(e=16,t=L.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(v(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return w(e,((e,t)=>{const i=n(e,r+1);!f(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:I,isThenable:e=>e&&(v(e)||m(e))&&m(e.then)&&m(e.catch)};function F(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}N.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const z=F.prototype,q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{q[e]={value:e}})),Object.defineProperties(F,q),Object.defineProperty(z,"isAxiosError",{value:!0}),F.from=(e,t,n,r,o,i)=>{const a=Object.create(z);return N.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),F.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};var U=F,H=n(48764).lW;function W(e){return N.isPlainObject(e)||N.isArray(e)}function V(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function Y(e,t,n){return e?e.concat(t).map((function(e,t){return e=V(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const Z=N.toFlatObject(N,{},null,(function(e){return/^is[A-Z]/.test(e)}));var G=function(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!N.isUndefined(t[e])}))).metaTokens,o=n.visitor||c,i=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(N.isDate(e))return e.toISOString();if(!s&&N.isBlob(e))throw new U("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(e)||N.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):H.from(e):e}function c(e,n,o){let s=e;if(e&&!o&&"object"==typeof e)if(N.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(N.isArray(e)&&function(e){return N.isArray(e)&&!e.some(W)}(e)||(N.isFileList(e)||N.endsWith(n,"[]"))&&(s=N.toArray(e)))return n=V(n),s.forEach((function(e,r){!N.isUndefined(e)&&null!==e&&t.append(!0===a?Y([n],r,i):null===a?n:n+"[]",l(e))})),!1;return!!W(e)||(t.append(Y(o,n,i),l(e)),!1)}const u=[],d=Object.assign(Z,{defaultVisitor:c,convertValue:l,isVisitable:W});if(!N.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!N.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),N.forEach(n,(function(n,i){!0===(!(N.isUndefined(n)||null===n)&&o.call(t,n,N.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),u.pop()}}(e),t};function K(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function $(e,t){this._pairs=[],e&&G(e,this,t)}const X=$.prototype;X.append=function(e,t){this._pairs.push([e,t])},X.toString=function(e){const t=e?function(t){return e.call(this,t,K)}:K;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Q=$;function J(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ee(e,t,n){if(!t)return e;const r=n&&n.encode||J,o=n&&n.serialize;let i;if(i=o?o(t,n):N.isURLSearchParams(t)?t.toString():new Q(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}var te=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){N.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ne={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},re={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Q,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const oe="undefined"!=typeof window&&"undefined"!=typeof document,ie=(ae="undefined"!=typeof navigator&&navigator.product,oe&&["ReactNative","NativeScript","NS"].indexOf(ae)<0);var ae;const se="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts;var le={...r,...re};var ce=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const a=Number.isFinite(+i),s=o>=e.length;if(i=!i&&N.isArray(r)?r.length:i,s)return N.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a;r[i]&&N.isObject(r[i])||(r[i]=[]);return t(e,n,r[i],o)&&N.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],t[i]=e[i];return t}(r[i])),!a}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,((e,r)=>{t(function(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const ue={transitional:ne,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=N.isObject(e);o&&N.isHTMLForm(e)&&(e=new FormData(e));if(N.isFormData(e))return r?JSON.stringify(ce(e)):e;if(N.isArrayBuffer(e)||N.isBuffer(e)||N.isStream(e)||N.isFile(e)||N.isBlob(e))return e;if(N.isArrayBufferView(e))return e.buffer;if(N.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return G(e,new le.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return le.isNode&&N.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=N.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return G(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ue.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&N.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw U.from(e,U.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:le.classes.FormData,Blob:le.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],(e=>{ue.headers[e]={}}));var de=ue;const fe=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const pe=Symbol("internals");function he(e){return e&&String(e).trim().toLowerCase()}function me(e){return!1===e||null==e?e:N.isArray(e)?e.map(me):String(e)}function ge(e,t,n,r,o){return N.isFunction(r)?r.call(this,t,n):(o&&(t=n),N.isString(t)?N.isString(r)?-1!==t.indexOf(r):N.isRegExp(r)?r.test(t):void 0:void 0)}class ve{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=he(t);if(!o)throw new Error("header name must be a non-empty string");const i=N.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=me(e))}const i=(e,t)=>N.forEach(e,((e,n)=>o(e,n,t)));return N.isPlainObject(e)||e instanceof this.constructor?i(e,t):N.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&fe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&o(t,e,n),this}get(e,t){if(e=he(e)){const n=N.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(N.isFunction(t))return t.call(this,e,n);if(N.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=he(e)){const n=N.findKey(this,e);return!(!n||void 0===this[n]||t&&!ge(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=he(e)){const o=N.findKey(n,e);!o||t&&!ge(0,n[o],o,t)||(delete n[o],r=!0)}}return N.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!ge(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return N.forEach(this,((r,o)=>{const i=N.findKey(n,o);if(i)return t[i]=me(r),void delete t[o];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();a!==o&&delete t[o],t[a]=me(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return N.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&N.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[pe]=this[pe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=he(e);t[r]||(!function(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return N.isArray(e)?e.forEach(r):r(e),this}}ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),N.reduceDescriptors(ve.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),N.freezeMethods(ve);var be=ve;function ye(e,t){const n=this||de,r=t||n,o=be.from(r.headers);let i=r.data;return N.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Ae(e){return!(!e||!e.__CANCEL__)}function xe(e,t,n){U.call(this,null==e?"canceled":e,U.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(xe,U,{__CANCEL__:!0});var Ce=xe;var _e=le.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const a=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),N.isString(r)&&a.push("path="+r),N.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function we(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var ke=le.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=N.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};var Se=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[a];o||(o=l),n[i]=s,r[i]=l;let u=a,d=0;for(;u!==i;)d+=n[u++],u%=e;if(i=(i+1)%e,i===a&&(a=(a+1)%e),l-o<t)return;const f=c&&l-c;return f?Math.round(1e3*d/f):void 0}};function Ee(e,t){let n=0;const r=Se(50,250);return o=>{const i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,l=r(s);n=i;const c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:l||void 0,estimated:l&&a&&i<=a?(a-i)/l:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}const Be={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const o=be.from(e.headers).normalize();let i,a,{responseType:s,withXSRFToken:l}=e;function c(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}if(N.isFormData(r))if(le.hasStandardBrowserEnv||le.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if(!1!==(a=o.getContentType())){const[e,...t]=a?a.split(";").map((e=>e.trim())).filter(Boolean):[];o.setContentType([e||"multipart/form-data",...t].join("; "))}let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(t+":"+n))}const d=we(e.baseURL,e.url);function f(){if(!u)return;const r=be.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new U("Request failed with status code "+n.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),c()}),(function(e){n(e),c()}),{data:s&&"text"!==s&&"json"!==s?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),ee(d,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=f:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(f)},u.onabort=function(){u&&(n(new U("Request aborted",U.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||ne;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new U(t,r.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,u)),u=null},le.hasStandardBrowserEnv&&(l&&N.isFunction(l)&&(l=l(e)),l||!1!==l&&ke(d))){const t=e.xsrfHeaderName&&e.xsrfCookieName&&_e.read(e.xsrfCookieName);t&&o.set(e.xsrfHeaderName,t)}void 0===r&&o.setContentType(null),"setRequestHeader"in u&&N.forEach(o.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),N.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),s&&"json"!==s&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",Ee(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",Ee(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{u&&(n(!t||t.type?new Ce(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const p=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(d);p&&-1===le.protocols.indexOf(p)?n(new U("Unsupported protocol "+p+":",U.ERR_BAD_REQUEST,e)):u.send(r||null)}))}};N.forEach(Be,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Oe=e=>`- ${e}`,je=e=>N.isFunction(e)||null===e||!1===e;var Te=e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i<t;i++){let t;if(n=e[i],r=n,!je(n)&&(r=Be[(t=String(n)).toLowerCase()],void 0===r))throw new U(`Unknown adapter '${t}'`);if(r)break;o[t||"#"+i]=r}if(!r){const e=Object.entries(o).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Oe).join("\n"):" "+Oe(e[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function Pe(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ce(null,e)}function Me(e){Pe(e),e.headers=be.from(e.headers),e.data=ye.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Te(e.adapter||de.adapter)(e).then((function(t){return Pe(e),t.data=ye.call(e,e.transformResponse,t),t.headers=be.from(t.headers),t}),(function(t){return Ae(t)||(Pe(e),t&&t.response&&(t.response.data=ye.call(e,e.transformResponse,t.response),t.response.headers=be.from(t.response.headers))),Promise.reject(t)}))}const De=e=>e instanceof be?e.toJSON():e;function Re(e,t){t=t||{};const n={};function r(e,t,n){return N.isPlainObject(e)&&N.isPlainObject(t)?N.merge.call({caseless:n},e,t):N.isPlainObject(t)?N.merge({},t):N.isArray(t)?t.slice():t}function o(e,t,n){return N.isUndefined(t)?N.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!N.isUndefined(t))return r(void 0,t)}function a(e,t){return N.isUndefined(t)?N.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t)=>o(De(e),De(t),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,a=i(e[r],t[r],r);N.isUndefined(a)&&i!==s||(n[r]=a)})),n}const Le="1.6.7",Ie={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Ie[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ne={};Ie.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.7] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new U(r(o," has been removed"+(t?" in "+t:"")),U.ERR_DEPRECATED);return t&&!Ne[o]&&(Ne[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Fe={assertOptions:function(e,t,n){if("object"!=typeof e)throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],a=t[i];if(a){const t=e[i],n=void 0===t||a(t,i,e);if(!0!==n)throw new U("option "+i+" must be "+n,U.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new U("Unknown option "+i,U.ERR_BAD_OPTION)}},validators:Ie};const ze=Fe.validators;class qe{constructor(e){this.defaults=e,this.interceptors={request:new te,response:new te}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Re(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&Fe.assertOptions(n,{silentJSONParsing:ze.transitional(ze.boolean),forcedJSONParsing:ze.transitional(ze.boolean),clarifyTimeoutError:ze.transitional(ze.boolean)},!1),null!=r&&(N.isFunction(r)?t.paramsSerializer={serialize:r}:Fe.assertOptions(r,{encode:ze.function,serialize:ze.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&N.merge(o.common,o[t.method]);o&&N.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=be.concat(i,o);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const l=[];let c;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let u,d=0;if(!s){const e=[Me.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let f=t;for(d=0;d<u;){const e=a[d++],t=a[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{c=Me.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return ee(we((e=Re(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}N.forEach(["delete","get","head","options"],(function(e){qe.prototype[e]=function(t,n){return this.request(Re(n||{},{method:e,url:t,data:(n||{}).data}))}})),N.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(Re(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}qe.prototype[e]=t(),qe.prototype[e+"Form"]=t(!0)}));var Ue=qe;class He{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Ce(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new He((function(t){e=t})),cancel:e}}}var We=He;const Ve={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ve).forEach((([e,t])=>{Ve[t]=e}));var Ye=Ve;const Ze=function e(t){const n=new Ue(t),r=o(Ue.prototype.request,n);return N.extend(r,Ue.prototype,n,{allOwnKeys:!0}),N.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Re(t,n))},r}(de);Ze.Axios=Ue,Ze.CanceledError=Ce,Ze.CancelToken=We,Ze.isCancel=Ae,Ze.VERSION=Le,Ze.toFormData=G,Ze.AxiosError=U,Ze.Cancel=Ze.CanceledError,Ze.all=function(e){return Promise.all(e)},Ze.spread=function(e){return function(t){return e.apply(null,t)}},Ze.isAxiosError=function(e){return N.isObject(e)&&!0===e.isAxiosError},Ze.mergeConfig=Re,Ze.AxiosHeaders=be,Ze.formToJSON=e=>ce(N.isHTMLForm(e)?new FormData(e):e),Ze.getAdapter=Te,Ze.HttpStatusCode=Ye,Ze.default=Ze;var Ge=Ze,Ke=n(9996),$e=n(80129),Xe=n(74865);function Qe(e,t){let n;return function(...r){clearTimeout(n),n=setTimeout((()=>e.apply(this,r)),t)}}function Je(e,t){return document.dispatchEvent(new CustomEvent(`inertia:${e}`,t))}var et=e=>Je("finish",{detail:{visit:e}}),tt=e=>Je("navigate",{detail:{page:e}});function nt(e){return e instanceof File||e instanceof Blob||e instanceof FileList&&e.length>0||e instanceof FormData&&Array.from(e.values()).some((e=>nt(e)))||"object"==typeof e&&null!==e&&Object.values(e).some((e=>nt(e)))}function rt(e,t=new FormData,n=null){e=e||{};for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&it(t,ot(n,r),e[r]);return t}function ot(e,t){return e?e+"["+t+"]":t}function it(e,t,n){return Array.isArray(n)?Array.from(n.keys()).forEach((r=>it(e,ot(t,r.toString()),n[r]))):n instanceof Date?e.append(t,n.toISOString()):n instanceof File?e.append(t,n,n.name):n instanceof Blob?e.append(t,n):"boolean"==typeof n?e.append(t,n?"1":"0"):"string"==typeof n?e.append(t,n):"number"==typeof n?e.append(t,`${n}`):null==n?e.append(t,""):void rt(n,e,t)}var at={modal:null,listener:null,show(e){"object"==typeof e&&(e=`All Inertia requests must receive a valid Inertia response, however a plain JSON response was received.<hr>${JSON.stringify(e)}`);let t=document.createElement("html");t.innerHTML=e,t.querySelectorAll("a").forEach((e=>e.setAttribute("target","_top"))),this.modal=document.createElement("div"),this.modal.style.position="fixed",this.modal.style.width="100vw",this.modal.style.height="100vh",this.modal.style.padding="50px",this.modal.style.boxSizing="border-box",this.modal.style.backgroundColor="rgba(0, 0, 0, .6)",this.modal.style.zIndex=2e5,this.modal.addEventListener("click",(()=>this.hide()));let n=document.createElement("iframe");if(n.style.backgroundColor="white",n.style.borderRadius="5px",n.style.width="100%",n.style.height="100%",this.modal.appendChild(n),document.body.prepend(this.modal),document.body.style.overflow="hidden",!n.contentWindow)throw new Error("iframe not yet ready.");n.contentWindow.document.open(),n.contentWindow.document.write(t.outerHTML),n.contentWindow.document.close(),this.listener=this.hideOnEscape.bind(this),document.addEventListener("keydown",this.listener)},hide(){this.modal.outerHTML="",this.modal=null,document.body.style.overflow="visible",document.removeEventListener("keydown",this.listener)},hideOnEscape(e){27===e.keyCode&&this.hide()}};function st(e){return new URL(e.toString(),window.location.toString())}function lt(e,t,n,r="brackets"){let o=/^https?:\/\//.test(t.toString()),i=o||t.toString().startsWith("/"),a=!i&&!t.toString().startsWith("#")&&!t.toString().startsWith("?"),s=t.toString().includes("?")||"get"===e&&Object.keys(n).length,l=t.toString().includes("#"),c=new URL(t.toString(),"http://localhost");return"get"===e&&Object.keys(n).length&&(c.search=$e.stringify(Ke($e.parse(c.search,{ignoreQueryPrefix:!0}),n),{encodeValuesOnly:!0,arrayFormat:r}),n={}),[[o?`${c.protocol}//${c.host}`:"",i?c.pathname:"",a?c.pathname.substring(1):"",s?c.search:"",l?c.hash:""].join(""),n]}function ct(e){return(e=new URL(e.href)).hash="",e}var ut=typeof window>"u",dt={buildDOMElement(e){let t=document.createElement("template");t.innerHTML=e;let n=t.content.firstChild;if(!e.startsWith("<script "))return n;let r=document.createElement("script");return r.innerHTML=n.innerHTML,n.getAttributeNames().forEach((e=>{r.setAttribute(e,n.getAttribute(e)||"")})),r},isInertiaManagedElement(e){return e.nodeType===Node.ELEMENT_NODE&&null!==e.getAttribute("inertia")},findMatchingElementIndex(e,t){let n=e.getAttribute("inertia");return null!==n?t.findIndex((e=>e.getAttribute("inertia")===n)):-1},update:Qe((function(e){let t=e.map((e=>this.buildDOMElement(e)));Array.from(document.head.childNodes).filter((e=>this.isInertiaManagedElement(e))).forEach((e=>{let n=this.findMatchingElementIndex(e,t);if(-1===n)return void e?.parentNode?.removeChild(e);let r=t.splice(n,1)[0];r&&!e.isEqualNode(r)&&e?.parentNode?.replaceChild(r,e)})),t.forEach((e=>document.head.appendChild(e)))}),1)};function ft(e,t,n){let r={},o=0;function i(){let e=t(""),n={...e?{title:`<title inertia="">${e}</title>`}:{}},o=Object.values(r).reduce(((e,t)=>e.concat(t)),[]).reduce(((e,n)=>{if(-1===n.indexOf("<"))return e;if(0===n.indexOf("<title ")){let r=n.match(/(<title [^>]+>)(.*?)(<\/title>)/);return e.title=r?`${r[1]}${t(r[2])}${r[3]}`:n,e}let r=n.match(/ inertia="[^"]+"/);return r?e[r[0]]=n:e[Object.keys(e).length]=n,e}),n);return Object.values(o)}function a(){e?n(i()):dt.update(i())}return a(),{forceUpdate:a,createProvider:function(){let e=function(){let e=o+=1;return r[e]=[],e.toString()}();return{update:t=>function(e,t=[]){null!==e&&Object.keys(r).indexOf(e)>-1&&(r[e]=t),a()}(e,t),disconnect:()=>function(e){null===e||-1===Object.keys(r).indexOf(e)||(delete r[e],a())}(e)}}}}var pt=null;function ht(e){document.addEventListener("inertia:start",mt.bind(null,e)),document.addEventListener("inertia:progress",gt),document.addEventListener("inertia:finish",vt)}function mt(e){pt=setTimeout((()=>Xe.start()),e)}function gt(e){Xe.isStarted()&&e.detail.progress?.percentage&&Xe.set(Math.max(Xe.status,e.detail.progress.percentage/100*.9))}function vt(e){clearTimeout(pt),Xe.isStarted()&&(e.detail.visit.completed?Xe.done():e.detail.visit.interrupted?Xe.set(0):e.detail.visit.cancelled&&(Xe.done(),Xe.remove()))}function bt({delay:e=250,color:t="#29d",includeCSS:n=!0,showSpinner:r=!1}={}){ht(e),Xe.configure({showSpinner:r}),n&&function(e){let t=document.createElement("style");t.type="text/css",t.textContent=`\n    #nprogress {\n      pointer-events: none;\n    }\n\n    #nprogress .bar {\n      background: ${e};\n\n      position: fixed;\n      z-index: 1031;\n      top: 0;\n      left: 0;\n\n      width: 100%;\n      height: 2px;\n    }\n\n    #nprogress .peg {\n      display: block;\n      position: absolute;\n      right: 0px;\n      width: 100px;\n      height: 100%;\n      box-shadow: 0 0 10px ${e}, 0 0 5px ${e};\n      opacity: 1.0;\n\n      -webkit-transform: rotate(3deg) translate(0px, -4px);\n          -ms-transform: rotate(3deg) translate(0px, -4px);\n              transform: rotate(3deg) translate(0px, -4px);\n    }\n\n    #nprogress .spinner {\n      display: block;\n      position: fixed;\n      z-index: 1031;\n      top: 15px;\n      right: 15px;\n    }\n\n    #nprogress .spinner-icon {\n      width: 18px;\n      height: 18px;\n      box-sizing: border-box;\n\n      border: solid 2px transparent;\n      border-top-color: ${e};\n      border-left-color: ${e};\n      border-radius: 50%;\n\n      -webkit-animation: nprogress-spinner 400ms linear infinite;\n              animation: nprogress-spinner 400ms linear infinite;\n    }\n\n    .nprogress-custom-parent {\n      overflow: hidden;\n      position: relative;\n    }\n\n    .nprogress-custom-parent #nprogress .spinner,\n    .nprogress-custom-parent #nprogress .bar {\n      position: absolute;\n    }\n\n    @-webkit-keyframes nprogress-spinner {\n      0%   { -webkit-transform: rotate(0deg); }\n      100% { -webkit-transform: rotate(360deg); }\n    }\n    @keyframes nprogress-spinner {\n      0%   { transform: rotate(0deg); }\n      100% { transform: rotate(360deg); }\n    }\n  `,document.head.appendChild(t)}(t)}var yt=new class{constructor(){this.visitId=null}init({initialPage:e,resolveComponent:t,swapComponent:n}){this.page=e,this.resolveComponent=t,this.swapComponent=n,this.setNavigationType(),this.clearRememberedStateOnReload(),this.isBackForwardVisit()?this.handleBackForwardVisit(this.page):this.isLocationVisit()?this.handleLocationVisit(this.page):this.handleInitialPageVisit(this.page),this.setupEventListeners()}setNavigationType(){this.navigationType=window.performance&&window.performance.getEntriesByType("navigation").length>0?window.performance.getEntriesByType("navigation")[0].type:"navigate"}clearRememberedStateOnReload(){"reload"===this.navigationType&&window.history.state?.rememberedState&&delete window.history.state.rememberedState}handleInitialPageVisit(e){this.page.url+=window.location.hash,this.setPage(e,{preserveState:!0}).then((()=>tt(e)))}setupEventListeners(){window.addEventListener("popstate",this.handlePopstateEvent.bind(this)),document.addEventListener("scroll",Qe(this.handleScrollEvent.bind(this),100),!0)}scrollRegions(){return document.querySelectorAll("[scroll-region]")}handleScrollEvent(e){"function"==typeof e.target.hasAttribute&&e.target.hasAttribute("scroll-region")&&this.saveScrollPositions()}saveScrollPositions(){this.replaceState({...this.page,scrollRegions:Array.from(this.scrollRegions()).map((e=>({top:e.scrollTop,left:e.scrollLeft})))})}resetScrollPositions(){window.scrollTo(0,0),this.scrollRegions().forEach((e=>{"function"==typeof e.scrollTo?e.scrollTo(0,0):(e.scrollTop=0,e.scrollLeft=0)})),this.saveScrollPositions(),window.location.hash&&setTimeout((()=>document.getElementById(window.location.hash.slice(1))?.scrollIntoView()))}restoreScrollPositions(){this.page.scrollRegions&&this.scrollRegions().forEach(((e,t)=>{let n=this.page.scrollRegions[t];n&&("function"==typeof e.scrollTo?e.scrollTo(n.left,n.top):(e.scrollTop=n.top,e.scrollLeft=n.left))}))}isBackForwardVisit(){return window.history.state&&"back_forward"===this.navigationType}handleBackForwardVisit(e){window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then((()=>{this.restoreScrollPositions(),tt(e)}))}locationVisit(e,t){try{let n={preserveScroll:t};window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify(n)),window.location.href=e.href,ct(window.location).href===ct(e).href&&window.location.reload()}catch{return!1}}isLocationVisit(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch{return!1}}handleLocationVisit(e){let t=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=window.history.state?.rememberedState??{},e.scrollRegions=window.history.state?.scrollRegions??[],this.setPage(e,{preserveScroll:t.preserveScroll,preserveState:!0}).then((()=>{t.preserveScroll&&this.restoreScrollPositions(),tt(e)}))}isLocationVisitResponse(e){return!(!e||409!==e.status||!e.headers["x-inertia-location"])}isInertiaResponse(e){return!!e?.headers["x-inertia"]}createVisitId(){return this.visitId={},this.visitId}cancelVisit(e,{cancelled:t=!1,interrupted:n=!1}){e&&!e.completed&&!e.cancelled&&!e.interrupted&&(e.cancelToken.abort(),e.onCancel(),e.completed=!1,e.cancelled=t,e.interrupted=n,et(e),e.onFinish(e))}finishVisit(e){!e.cancelled&&!e.interrupted&&(e.completed=!0,e.cancelled=!1,e.interrupted=!1,et(e),e.onFinish(e))}resolvePreserveOption(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e}cancel(){this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}visit(e,{method:t="get",data:n={},replace:r=!1,preserveScroll:o=!1,preserveState:i=!1,only:a=[],headers:s={},errorBag:l="",forceFormData:c=!1,onCancelToken:u=(()=>{}),onBefore:d=(()=>{}),onStart:f=(()=>{}),onProgress:p=(()=>{}),onFinish:h=(()=>{}),onCancel:m=(()=>{}),onSuccess:g=(()=>{}),onError:v=(()=>{}),queryStringArrayFormat:b="brackets"}={}){let y="string"==typeof e?st(e):e;if((nt(n)||c)&&!(n instanceof FormData)&&(n=rt(n)),!(n instanceof FormData)){let[e,r]=lt(t,y,n,b);y=st(e),n=r}let A={url:y,method:t,data:n,replace:r,preserveScroll:o,preserveState:i,only:a,headers:s,errorBag:l,forceFormData:c,queryStringArrayFormat:b,cancelled:!1,completed:!1,interrupted:!1};if(!1===d(A)||!(e=>Je("before",{cancelable:!0,detail:{visit:e}}))(A))return;this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();let x=this.createVisitId();this.activeVisit={...A,onCancelToken:u,onBefore:d,onStart:f,onProgress:p,onFinish:h,onCancel:m,onSuccess:g,onError:v,queryStringArrayFormat:b,cancelToken:new AbortController},u({cancel:()=>{this.activeVisit&&this.cancelVisit(this.activeVisit,{cancelled:!0})}}),(e=>{Je("start",{detail:{visit:e}})})(A),f(A),Ge({method:t,url:ct(y).href,data:"get"===t?{}:n,params:"get"===t?n:{},signal:this.activeVisit.cancelToken.signal,headers:{...s,Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0,...a.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":a.join(",")}:{},...l&&l.length?{"X-Inertia-Error-Bag":l}:{},...this.page.version?{"X-Inertia-Version":this.page.version}:{}},onUploadProgress:e=>{n instanceof FormData&&(e.percentage=e.progress?Math.round(100*e.progress):0,(e=>{Je("progress",{detail:{progress:e}})})(e),p(e))}}).then((e=>{if(!this.isInertiaResponse(e))return Promise.reject({response:e});let t=e.data;a.length&&t.component===this.page.component&&(t.props={...this.page.props,...t.props}),o=this.resolvePreserveOption(o,t),(i=this.resolvePreserveOption(i,t))&&window.history.state?.rememberedState&&t.component===this.page.component&&(t.rememberedState=window.history.state.rememberedState);let n=y,s=st(t.url);return n.hash&&!s.hash&&ct(n).href===s.href&&(s.hash=n.hash,t.url=s.href),this.setPage(t,{visitId:x,replace:r,preserveScroll:o,preserveState:i})})).then((()=>{let e=this.page.props.errors||{};if(Object.keys(e).length>0){let t=l?e[l]?e[l]:{}:e;return(e=>{Je("error",{detail:{errors:e}})})(t),v(t)}return(e=>{Je("success",{detail:{page:e}})})(this.page),g(this.page)})).catch((e=>{if(this.isInertiaResponse(e.response))return this.setPage(e.response.data,{visitId:x});if(this.isLocationVisitResponse(e.response)){let t=st(e.response.headers["x-inertia-location"]),n=y;n.hash&&!t.hash&&ct(n).href===t.href&&(t.hash=n.hash),this.locationVisit(t,!0===o)}else{if(!e.response)return Promise.reject(e);(e=>Je("invalid",{cancelable:!0,detail:{response:e}}))(e.response)&&at.show(e.response.data)}})).then((()=>{this.activeVisit&&this.finishVisit(this.activeVisit)})).catch((e=>{if(!Ge.isCancel(e)){let t=(e=>Je("exception",{cancelable:!0,detail:{exception:e}}))(e);if(this.activeVisit&&this.finishVisit(this.activeVisit),t)return Promise.reject(e)}}))}setPage(e,{visitId:t=this.createVisitId(),replace:n=!1,preserveScroll:r=!1,preserveState:o=!1}={}){return Promise.resolve(this.resolveComponent(e.component)).then((i=>{t===this.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(n=n||st(e.url).href===window.location.href)?this.replaceState(e):this.pushState(e),this.swapComponent({component:i,page:e,preserveState:o}).then((()=>{r||this.resetScrollPositions(),n||tt(e)})))}))}pushState(e){this.page=e,window.history.pushState(e,"",e.url)}replaceState(e){this.page=e,window.history.replaceState(e,"",e.url)}handlePopstateEvent(e){if(null!==e.state){let t=e.state,n=this.createVisitId();Promise.resolve(this.resolveComponent(t.component)).then((e=>{n===this.visitId&&(this.page=t,this.swapComponent({component:e,page:t,preserveState:!1}).then((()=>{this.restoreScrollPositions(),tt(t)})))}))}else{let e=st(this.page.url);e.hash=window.location.hash,this.replaceState({...this.page,url:e.href}),this.resetScrollPositions()}}get(e,t={},n={}){return this.visit(e,{...n,method:"get",data:t})}reload(e={}){return this.visit(window.location.href,{...e,preserveScroll:!0,preserveState:!0})}replace(e,t={}){return console.warn(`Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia.${t.method??"get"}() instead.`),this.visit(e,{preserveState:!0,...t,replace:!0})}post(e,t={},n={}){return this.visit(e,{preserveState:!0,...n,method:"post",data:t})}put(e,t={},n={}){return this.visit(e,{preserveState:!0,...n,method:"put",data:t})}patch(e,t={},n={}){return this.visit(e,{preserveState:!0,...n,method:"patch",data:t})}delete(e,t={}){return this.visit(e,{preserveState:!0,...t,method:"delete"})}remember(e,t="default"){ut||this.replaceState({...this.page,rememberedState:{...this.page?.rememberedState,[t]:e}})}restore(e="default"){if(!ut)return window.history.state?.rememberedState?.[e]}on(e,t){let n=e=>{let n=t(e);e.cancelable&&!e.defaultPrevented&&!1===n&&e.preventDefault()};return document.addEventListener(`inertia:${e}`,n),()=>document.removeEventListener(`inertia:${e}`,n)}},At=n(67294),xt=n(72307),Ct=(0,At.createContext)(void 0);Ct.displayName="InertiaHeadContext";var _t=Ct,wt=(0,At.createContext)(void 0);wt.displayName="InertiaPageContext";var kt=wt;function St({children:e,initialPage:t,initialComponent:n,resolveComponent:r,titleCallback:o,onHeadUpdate:i}){let[a,s]=(0,At.useState)({component:n||null,page:t,key:null}),l=(0,At.useMemo)((()=>ft(typeof window>"u",o||(e=>e),i||(()=>{}))),[]);if((0,At.useEffect)((()=>{yt.init({initialPage:t,resolveComponent:r,swapComponent:async({component:e,page:t,preserveState:n})=>{s((r=>({component:e,page:t,key:n?r.key:Date.now()})))}}),yt.on("navigate",(()=>l.forceUpdate()))}),[]),!a.component)return(0,At.createElement)(_t.Provider,{value:l},(0,At.createElement)(kt.Provider,{value:a.page},null));let c=e||(({Component:e,props:t,key:n})=>{let r=(0,At.createElement)(e,{key:n,...t});return"function"==typeof e.layout?e.layout(r):Array.isArray(e.layout)?e.layout.concat(r).reverse().reduce(((e,n)=>(0,At.createElement)(n,{children:e,...t}))):r});return(0,At.createElement)(_t.Provider,{value:l},(0,At.createElement)(kt.Provider,{value:a.page},c({Component:a.component,key:a.key,props:a.page.props})))}async function Et({id:e="app",resolve:t,setup:n,title:r,progress:o={},page:i,render:a}){let s=typeof window>"u",l=s?null:document.getElementById(e),c=i||JSON.parse(l.dataset.page),u=e=>Promise.resolve(t(e)).then((e=>e.default||e)),d=[],f=await u(c.component).then((e=>n({el:l,App:St,props:{initialPage:c,initialComponent:e,resolveComponent:u,titleCallback:r,onHeadUpdate:s?e=>d=e:null}})));if(!s&&o&&bt(o),s){let t=await a((0,At.createElement)("div",{id:e,"data-page":JSON.stringify(c)},f));return{head:d,body:t}}}St.displayName="Inertia";var Bt=()=>{},Ot=(0,At.forwardRef)((({children:e,as:t="a",data:n={},href:r,method:o="get",preserveScroll:i=!1,preserveState:a=null,replace:s=!1,only:l=[],headers:c={},queryStringArrayFormat:u="brackets",onClick:d=Bt,onCancelToken:f=Bt,onBefore:p=Bt,onStart:h=Bt,onProgress:m=Bt,onFinish:g=Bt,onCancel:v=Bt,onSuccess:b=Bt,onError:y=Bt,...A},x)=>{let C=(0,At.useCallback)((e=>{d(e),function(e){let t="a"===e.currentTarget.tagName.toLowerCase();return!(e.target&&e?.target.isContentEditable||e.defaultPrevented||t&&e.which>1||t&&e.altKey||t&&e.ctrlKey||t&&e.metaKey||t&&e.shiftKey)}(e)&&(e.preventDefault(),yt.visit(r,{data:n,method:o,preserveScroll:i,preserveState:a??"get"!==o,replace:s,only:l,headers:c,onCancelToken:f,onBefore:p,onStart:h,onProgress:m,onFinish:g,onCancel:v,onSuccess:b,onError:y}))}),[n,r,o,i,a,s,l,c,d,f,p,h,m,g,v,b,y]);t=t.toLowerCase(),o=o.toLowerCase();let[_,w]=lt(o,r||"",n,u);return r=_,n=w,"a"===t&&"get"!==o&&console.warn(`Creating POST/PUT/PATCH/DELETE <a> links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n<Link href="${r}" method="${o}" as="button">...</Link>`),(0,At.createElement)(t,{...A,..."a"===t?{href:r}:{},ref:x,onClick:C},e)}));Ot.displayName="InertiaLink";var jt=Ot;function Tt(e,t){let[n,r]=(0,At.useState)((()=>{let n=yt.restore(t);return void 0!==n?n:e}));return(0,At.useEffect)((()=>{yt.remember(n,t)}),[n,t]),[n,r]}function Pt(e,t){let n=(0,At.useRef)(null),r="string"==typeof e?e:null,[o,i]=(0,At.useState)(("string"==typeof e?t:e)||{}),a=(0,At.useRef)(null),s=(0,At.useRef)(null),[l,c]=r?Tt(o,`${r}:data`):(0,At.useState)(o),[u,d]=r?Tt({},`${r}:errors`):(0,At.useState)({}),[f,p]=(0,At.useState)(!1),[h,m]=(0,At.useState)(!1),[g,v]=(0,At.useState)(null),[b,y]=(0,At.useState)(!1),[A,x]=(0,At.useState)(!1),C=e=>e;(0,At.useEffect)((()=>(n.current=!0,()=>{n.current=!1})),[]);let _=(0,At.useCallback)(((e,t,r={})=>{let o={...r,onCancelToken:e=>{if(a.current=e,r.onCancelToken)return r.onCancelToken(e)},onBefore:e=>{if(y(!1),x(!1),clearTimeout(s.current),r.onBefore)return r.onBefore(e)},onStart:e=>{if(m(!0),r.onStart)return r.onStart(e)},onProgress:e=>{if(v(e),r.onProgress)return r.onProgress(e)},onSuccess:e=>{if(n.current&&(m(!1),v(null),d({}),p(!1),y(!0),x(!0),s.current=setTimeout((()=>{n.current&&x(!1)}),2e3)),r.onSuccess)return r.onSuccess(e)},onError:e=>{if(n.current&&(m(!1),v(null),d(e),p(!0)),r.onError)return r.onError(e)},onCancel:()=>{if(n.current&&(m(!1),v(null)),r.onCancel)return r.onCancel()},onFinish:()=>{if(n.current&&(m(!1),v(null)),a.current=null,r.onFinish)return r.onFinish()}};"delete"===e?yt.delete(t,{...o,data:C(l)}):yt[e](t,C(l),o)}),[l,d]);return{data:l,setData(e,t){c("string"==typeof e?{...l,[e]:t}:"function"==typeof e?t=>e(t):e)},isDirty:!xt(l,o),errors:u,hasErrors:f,processing:h,progress:g,wasSuccessful:b,recentlySuccessful:A,transform(e){C=e},setDefaults(e,t){i(typeof e>"u"?()=>l:n=>({...n,..."string"==typeof e?{[e]:t}:e}))},reset(...e){0===e.length?c(o):c(Object.keys(o).filter((t=>e.includes(t))).reduce(((e,t)=>(e[t]=o[t],e)),{...l}))},setError(e,t){d((n=>{let r={...n,..."string"==typeof e?{[e]:t}:e};return p(Object.keys(r).length>0),r}))},clearErrors(...e){d((t=>{let n=Object.keys(t).reduce(((n,r)=>({...n,...e.length>0&&!e.includes(r)?{[r]:t[r]}:{}})),{});return p(Object.keys(n).length>0),n}))},submit:_,get(e,t){_("get",e,t)},post(e,t){_("post",e,t)},put(e,t){_("put",e,t)},patch(e,t){_("patch",e,t)},delete(e,t){_("delete",e,t)},cancel(){a.current&&a.current.cancel()}}}function Mt(){let e=(0,At.useContext)(kt);if(!e)throw new Error("usePage must be used within the Inertia component");return e}var Dt=yt},16769:function(e,t,n){"use strict";n.d(t,{gP:function(){return u}});var r=n(67294);const o={prefix:String(Math.round(1e10*Math.random())),current:0},i=r.createContext(o),a=r.createContext(!1);let s=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement),l=new WeakMap;function c(e=!1){let t=(0,r.useContext)(i),n=(0,r.useRef)(null);if(null===n.current&&!e){var o,a;let e=null===(a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===a||null===(o=a.ReactCurrentOwner)||void 0===o?void 0:o.current;if(e){let n=l.get(e);null==n?l.set(e,{id:t.current,state:e.memoizedState}):e.memoizedState!==n.state&&(t.current=n.id,l.delete(e))}n.current=++t.current}return n.current}const u="function"==typeof r.useId?function(e){let t=r.useId(),[n]=(0,r.useState)("function"==typeof r.useSyncExternalStore?r.useSyncExternalStore(p,d,f):(0,r.useContext)(a));return e||`${n?"react-aria":`react-aria${o.prefix}`}-${t}`}:function(e){let t=(0,r.useContext)(i);t!==o||s||console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");let n=c(!!e),a=`react-aria${t.prefix}`;return e||`${a}-${n}`};function d(){return!1}function f(){return!0}function p(e){return()=>{}}},3191:function(e,t,n){"use strict";n.d(t,{Z:function(){return A}});var r=n(45697),o=n(67294),i=n(64063),a=n(11062),s=Object.defineProperty,l=Object.defineProperties,c=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,d=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,p=(e,t,n)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,h=(e,t)=>{for(var n in t||(t={}))d.call(t,n)&&p(e,n,t[n]);if(u)for(var n of u(t))f.call(t,n)&&p(e,n,t[n]);return e},m=(e,t)=>l(e,c(t));function g(e={}){return m(h({},e),{height:0,width:0,playerVars:m(h({},e.playerVars),{autoplay:0,start:0,end:0})})}var v={videoId:r.string,id:r.string,className:r.string,iframeClassName:r.string,style:r.object,title:r.string,loading:r.oneOf(["lazy","eager"]),opts:r.objectOf(r.any),onReady:r.func,onError:r.func,onPlay:r.func,onPause:r.func,onEnd:r.func,onStateChange:r.func,onPlaybackRateChange:r.func,onPlaybackQualityChange:r.func},b=class extends o.Component{constructor(e){super(e),this.destroyPlayerPromise=void 0,this.onPlayerReady=e=>{var t,n;return null==(n=(t=this.props).onReady)?void 0:n.call(t,e)},this.onPlayerError=e=>{var t,n;return null==(n=(t=this.props).onError)?void 0:n.call(t,e)},this.onPlayerStateChange=e=>{var t,n,r,o,i,a,s,l;switch(null==(n=(t=this.props).onStateChange)||n.call(t,e),e.data){case b.PlayerState.ENDED:null==(o=(r=this.props).onEnd)||o.call(r,e);break;case b.PlayerState.PLAYING:null==(a=(i=this.props).onPlay)||a.call(i,e);break;case b.PlayerState.PAUSED:null==(l=(s=this.props).onPause)||l.call(s,e)}},this.onPlayerPlaybackRateChange=e=>{var t,n;return null==(n=(t=this.props).onPlaybackRateChange)?void 0:n.call(t,e)},this.onPlayerPlaybackQualityChange=e=>{var t,n;return null==(n=(t=this.props).onPlaybackQualityChange)?void 0:n.call(t,e)},this.destroyPlayer=()=>this.internalPlayer?(this.destroyPlayerPromise=this.internalPlayer.destroy().then((()=>this.destroyPlayerPromise=void 0)),this.destroyPlayerPromise):Promise.resolve(),this.createPlayer=()=>{if("undefined"==typeof document)return;if(this.destroyPlayerPromise)return void this.destroyPlayerPromise.then(this.createPlayer);const e=m(h({},this.props.opts),{videoId:this.props.videoId});this.internalPlayer=a(this.container,e),this.internalPlayer.on("ready",this.onPlayerReady),this.internalPlayer.on("error",this.onPlayerError),this.internalPlayer.on("stateChange",this.onPlayerStateChange),this.internalPlayer.on("playbackRateChange",this.onPlayerPlaybackRateChange),this.internalPlayer.on("playbackQualityChange",this.onPlayerPlaybackQualityChange),(this.props.title||this.props.loading)&&this.internalPlayer.getIframe().then((e=>{this.props.title&&e.setAttribute("title",this.props.title),this.props.loading&&e.setAttribute("loading",this.props.loading)}))},this.resetPlayer=()=>this.destroyPlayer().then(this.createPlayer),this.updatePlayer=()=>{var e;null==(e=this.internalPlayer)||e.getIframe().then((e=>{this.props.id?e.setAttribute("id",this.props.id):e.removeAttribute("id"),this.props.iframeClassName?e.setAttribute("class",this.props.iframeClassName):e.removeAttribute("class"),this.props.opts&&this.props.opts.width?e.setAttribute("width",this.props.opts.width.toString()):e.removeAttribute("width"),this.props.opts&&this.props.opts.height?e.setAttribute("height",this.props.opts.height.toString()):e.removeAttribute("height"),this.props.title?e.setAttribute("title",this.props.title):e.setAttribute("title","YouTube video player"),this.props.loading?e.setAttribute("loading",this.props.loading):e.removeAttribute("loading")}))},this.getInternalPlayer=()=>this.internalPlayer,this.updateVideo=()=>{var e,t,n,r;if(void 0===this.props.videoId||null===this.props.videoId)return void(null==(e=this.internalPlayer)||e.stopVideo());let o=!1;const i={videoId:this.props.videoId};(null==(t=this.props.opts)?void 0:t.playerVars)&&(o=1===this.props.opts.playerVars.autoplay,"start"in this.props.opts.playerVars&&(i.startSeconds=this.props.opts.playerVars.start),"end"in this.props.opts.playerVars&&(i.endSeconds=this.props.opts.playerVars.end)),o?null==(n=this.internalPlayer)||n.loadVideoById(i):null==(r=this.internalPlayer)||r.cueVideoById(i)},this.refContainer=e=>{this.container=e},this.container=null,this.internalPlayer=null}componentDidMount(){this.createPlayer()}async componentDidUpdate(e){(function(e,t){var n,r,o,i;return e.id!==t.id||e.className!==t.className||(null==(n=e.opts)?void 0:n.width)!==(null==(r=t.opts)?void 0:r.width)||(null==(o=e.opts)?void 0:o.height)!==(null==(i=t.opts)?void 0:i.height)||e.iframeClassName!==t.iframeClassName||e.title!==t.title})(e,this.props)&&this.updatePlayer(),function(e,t){return e.videoId!==t.videoId||!i(g(e.opts),g(t.opts))}(e,this.props)&&await this.resetPlayer(),function(e,t){var n,r;if(e.videoId!==t.videoId)return!0;const o=(null==(n=e.opts)?void 0:n.playerVars)||{},i=(null==(r=t.opts)?void 0:r.playerVars)||{};return o.start!==i.start||o.end!==i.end}(e,this.props)&&this.updateVideo()}componentWillUnmount(){this.destroyPlayer()}render(){return o.createElement("div",{className:this.props.className,style:this.props.style},o.createElement("div",{id:this.props.id,className:this.props.iframeClassName,ref:this.refContainer}))}},y=b;y.propTypes=v,y.defaultProps={videoId:"",id:"",className:"",iframeClassName:"",style:{},title:"",loading:void 0,opts:{},onReady:()=>{},onError:()=>{},onPlay:()=>{},onPause:()=>{},onEnd:()=>{},onStateChange:()=>{},onPlaybackRateChange:()=>{},onPlaybackQualityChange:()=>{}},y.PlayerState={UNSTARTED:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3,CUED:5};var A=y},27856:function(e,t,n){"use strict";function r(e,t,n,r){var o,i=!1,a=0;function s(){o&&clearTimeout(o)}function l(){for(var l=arguments.length,c=new Array(l),u=0;u<l;u++)c[u]=arguments[u];var d=this,f=Date.now()-a;function p(){a=Date.now(),n.apply(d,c)}function h(){o=void 0}i||(r&&!o&&p(),s(),void 0===r&&f>e?p():!0!==t&&(o=setTimeout(r?h:p,void 0===r?e-f:e)))}return"boolean"!=typeof t&&(r=n,n=t,t=void 0),l.cancel=function(){s(),i=!0},l}function o(e,t,n){return void 0===n?r(e,t,!1):r(e,n,!1!==t)}n.d(t,{D:function(){return o}})},38776:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r="Invariant failed";function o(e,t){if(!e)throw new Error(r)}},88593:function(e){"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')}}]);
//# sourceMappingURL=vendor.js.map