티스토리 수익 글 보기
(self.webpackChunksubstack=self.webpackChunksubstack||[]).push([[“5754”],{19251:function(e,t,n){“use strict”;n.d(t,{Aw:()=>o,L4:()=>s,bO:()=>a});var r=n(17402);let i={display:”none”};function o(e){let{id:t,value:n}=e;return r.default.createElement(“div”,{id:t,style:i},n)}function s(e){let{id:t,announcement:n,ariaLiveType:i=”assertive”}=e;return r.default.createElement(“div”,{id:t,style:{position:”fixed”,top:0,left:0,width:1,height:1,margin:-1,border:0,padding:0,overflow:”hidden”,clip:”rect(0 0 0 0)”,clipPath:”inset(100%)”,whiteSpace:”nowrap”},role:”status”,”aria-live”:i,”aria-atomic”:!0},n)}function a(){let[e,t]=(0,r.useState)(“”);return{announce:(0,r.useCallback)(e=>{null!=e&&t(e)},[]),announcement:e}}},67604:function(e,t,n){“use strict”;function r(e){return e?(e.nodeName||””).toLowerCase():null}n.d(t,{A:()=>r})},58979:function(e,t,n){“use strict”;function r(e){if(null==e)return window;if(“[object Window]”!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:()=>r})},5581:function(e,t,n){“use strict”;n.d(t,{Ng:()=>s,sb:()=>o,vq:()=>i});var r=n(58979);function i(e){var t=(0,r.A)(e).Element;return e instanceof t||e instanceof Element}function o(e){var t=(0,r.A)(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function s(e){if(“undefined”==typeof ShadowRoot)return!1;var t=(0,r.A)(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}},16607:function(e,t,n){“use strict”;n.d(t,{A:()=>o});var r=n(67604),i=n(5581);let o={name:”applyStyles”,enabled:!0,phase:”write”,fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},s=t.elements[e];(0,i.sb)(s)&&(0,r.A)(s)&&(Object.assign(s.style,n),Object.keys(o).forEach(function(e){var t=o[e];!1===t?s.removeAttribute(e):s.setAttribute(e,!0===t?””:t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:”0″,top:”0″,margin:”0″},arrow:{position:”absolute”},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var o=t.elements[e],s=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]=””,e},{});(0,i.sb)(o)&&(0,r.A)(o)&&(Object.assign(o.style,a),Object.keys(s).forEach(function(e){o.removeAttribute(e)}))})}},requires:[“computeStyles”]}},4363:function(e,t,n){“use strict”;n.d(t,{n:()=>el});var r,i,o,s,a,l=n(5581),u=Math.max,c=Math.min,h=Math.round,d=n(58979);function p(){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 f(){return!/^((?!chrome|android).)*safari/i.test(p())}function m(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&(0,l.sb)(e)&&(i=e.offsetWidth>0&&h(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&h(r.height)/e.offsetHeight||1);var s=((0,l.vq)(e)?(0,d.A)(e):window).visualViewport,a=!f()&&n,u=(r.left+(a&&s?s.offsetLeft:0))/i,c=(r.top+(a&&s?s.offsetTop:0))/o,p=r.width/i,m=r.height/o;return{width:p,height:m,top:c,right:u+p,bottom:c+m,left:u,x:u,y:c}}function g(e){var t=(0,d.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}var y=n(67604);function b(e){return(((0,l.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}function v(e){return m(b(e)).left+g(e).scrollLeft}function w(e){return(0,d.A)(e).getComputedStyle(e)}function x(e){var t=w(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function k(e){var t=m(e),n=e.offsetWidth,r=e.offsetHeight;return 1>=Math.abs(t.width-n)&&(n=t.width),1>=Math.abs(t.height-r)&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function _(e){return”html”===(0,y.A)(e)?e:e.assignedSlot||e.parentNode||((0,l.Ng)(e)?e.host:null)||b(e)}function E(e,t){void 0===t&&(t=[]);var n,r=function e(t){return[“html”,”body”,”#document”].indexOf((0,y.A)(t))>=0?t.ownerDocument.body:(0,l.sb)(t)&&x(t)?t:e(_(t))}(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=(0,d.A)(r),s=i?[o].concat(o.visualViewport||[],x(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(E(_(s)))}function S(e){return(0,l.sb)(e)&&”fixed”!==w(e).position?e.offsetParent:null}function C(e){for(var t,n=(0,d.A)(e),r=S(e);r&&(t=r,[“table”,”td”,”th”].indexOf((0,y.A)(t))>=0)&&”static”===w(r).position;)r=S(r);return r&&(“html”===(0,y.A)(r)||”body”===(0,y.A)(r)&&”static”===w(r).position)?n:r||function(e){var t=/firefox/i.test(p());if(/Trident/i.test(p())&&(0,l.sb)(e)&&”fixed”===w(e).position)return null;var n=_(e);for((0,l.Ng)(n)&&(n=n.host);(0,l.sb)(n)&&0>[“html”,”body”].indexOf((0,y.A)(n));){var r=w(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)||n}var A=”bottom”,O=”right”,T=”left”,M=”auto”,D=[“top”,A,O,T],L=”start”,N=”viewport”,R=”popper”,P=D.reduce(function(e,t){return e.concat([t+”-“+L,t+”-end”])},[]),I=[].concat(D,[M]).reduce(function(e,t){return e.concat([t,t+”-“+L,t+”-end”])},[]),z=[“beforeRead”,”read”,”afterRead”,”beforeMain”,”main”,”afterMain”,”beforeWrite”,”write”,”afterWrite”],F={placement:”bottom”,modifiers:[],strategy:”absolute”};function j(){for(var e=arguments.length,t=Array(e),n=0;n=0?”x”:”y”}function H(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?q(i):null,s=i?$(i):null,a=n.x+n.width/2-r.width/2,l=n.y+n.height/2-r.height/2;switch(o){case”top”:t={x:a,y:n.y-r.height};break;case A:t={x:a,y:n.y+n.height};break;case O:t={x:n.x+n.width,y:l};break;case T:t={x:n.x-r.width,y:l};break;default:t={x:n.x,y:n.y}}var u=o?U(o):null;if(null!=u){var c=”y”===u?”height”:”width”;switch(s){case L:t[u]=t[u]-(n[c]/2-r[c]/2);break;case”end”:t[u]=t[u]+(n[c]/2-r[c]/2)}}return t}var V={top:”auto”,right:”auto”,bottom:”auto”,left:”auto”};function W(e){var t,n,r,i,o,s,a,l=e.popper,u=e.popperRect,c=e.placement,p=e.variation,f=e.offsets,m=e.position,g=e.gpuAcceleration,y=e.adaptive,v=e.roundOffsets,x=e.isFixed,k=f.x,_=void 0===k?0:k,E=f.y,S=void 0===E?0:E,M=”function”==typeof v?v({x:_,y:S}):{x:_,y:S};_=M.x,S=M.y;var D=f.hasOwnProperty(“x”),L=f.hasOwnProperty(“y”),N=T,R=”top”,P=window;if(y){var I=C(l),z=”clientHeight”,F=”clientWidth”;I===(0,d.A)(l)&&”static”!==w(I=b(l)).position&&”absolute”===m&&(z=”scrollHeight”,F=”scrollWidth”),(“top”===c||(c===T||c===O)&&”end”===p)&&(R=A,S-=(x&&I===P&&P.visualViewport?P.visualViewport.height:I[z])-u.height,S*=g?1:-1),(c===T||(“top”===c||c===A)&&”end”===p)&&(N=O,_-=(x&&I===P&&P.visualViewport?P.visualViewport.width:I[F])-u.width,_*=g?1:-1)}var j=Object.assign({position:m},y&&V),B=!0===v?(t={x:_,y:S},n=(0,d.A)(l),r=t.x,i=t.y,{x:h(r*(o=n.devicePixelRatio||1))/o||0,y:h(i*o)/o||0}):{x:_,y:S};return(_=B.x,S=B.y,g)?Object.assign({},j,((a={})[R]=L?”0″:””,a[N]=D?”0″:””,a.transform=1>=(P.devicePixelRatio||1)?”translate(“+_+”px, “+S+”px)”:”translate3d(“+_+”px, “+S+”px, 0)”,a)):Object.assign({},j,((s={})[R]=L?S+”px”:””,s[N]=D?_+”px”:””,s.transform=””,s))}var Z=n(16607),K={left:”right”,right:”left”,bottom:”top”,top:”bottom”};function G(e){return e.replace(/left|right|bottom|top/g,function(e){return K[e]})}var J={start:”end”,end:”start”};function Y(e){return e.replace(/start|end/g,function(e){return J[e]})}function X(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,l.Ng)(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Q(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ee(e,t,n){var r,i,o,s,a,c,h,p,y,x;return t===N?Q(function(e,t){var n=(0,d.A)(e),r=b(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,l=0;if(i){o=i.width,s=i.height;var u=f();(u||!u&&”fixed”===t)&&(a=i.offsetLeft,l=i.offsetTop)}return{width:o,height:s,x:a+v(e),y:l}}(e,n)):(0,l.vq)(t)?((r=m(t,!1,”fixed”===n)).top=r.top+t.clientTop,r.left=r.left+t.clientLeft,r.bottom=r.top+t.clientHeight,r.right=r.left+t.clientWidth,r.width=t.clientWidth,r.height=t.clientHeight,r.x=r.left,r.y=r.top,r):Q((i=b(e),s=b(i),a=g(i),c=null==(o=i.ownerDocument)?void 0:o.body,h=u(s.scrollWidth,s.clientWidth,c?c.scrollWidth:0,c?c.clientWidth:0),p=u(s.scrollHeight,s.clientHeight,c?c.scrollHeight:0,c?c.clientHeight:0),y=-a.scrollLeft+v(i),x=-a.scrollTop,”rtl”===w(c||s).direction&&(y+=u(s.clientWidth,c?c.clientWidth:0)-h),{width:h,height:p,x:y,y:x}))}function et(){return{top:0,right:0,bottom:0,left:0}}function en(e){return Object.assign({},et(),e)}function er(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ei(e,t){void 0===t&&(t={});var n,r,i,o,s,a,h,d,p=t,f=p.placement,g=void 0===f?e.placement:f,v=p.strategy,x=void 0===v?e.strategy:v,k=p.boundary,S=p.rootBoundary,T=p.elementContext,M=void 0===T?R:T,L=p.altBoundary,P=p.padding,I=void 0===P?0:P,z=en(“number”!=typeof I?I:er(I,D)),F=e.rects.popper,j=e.elements[void 0!==L&&L?M===R?”reference”:R:M],B=(n=(0,l.vq)(j)?j:j.contextElement||b(e.elements.popper),r=void 0===k?”clippingParents”:k,i=void 0===S?N:S,h=(a=[].concat(“clippingParents”===r?(o=E(_(n)),s=[“absolute”,”fixed”].indexOf(w(n).position)>=0&&(0,l.sb)(n)?C(n):n,!(0,l.vq)(s)?[]:o.filter(function(e){return(0,l.vq)(e)&&X(e,s)&&”body”!==(0,y.A)(e)})):[].concat(r),[i]))[0],(d=a.reduce(function(e,t){var r=ee(n,t,x);return e.top=u(r.top,e.top),e.right=c(r.right,e.right),e.bottom=c(r.bottom,e.bottom),e.left=u(r.left,e.left),e},ee(n,h,x))).width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d),q=m(e.elements.reference),$=H({reference:q,element:F,strategy:”absolute”,placement:g}),U=Q(Object.assign({},F,$)),V=M===R?U:q,W={top:B.top-V.top+z.top,bottom:V.bottom-B.bottom+z.bottom,left:B.left-V.left+z.left,right:V.right-B.right+z.right},Z=e.modifiersData.offset;if(M===R&&Z){var K=Z[g];Object.keys(W).forEach(function(e){var t=[O,A].indexOf(e)>=0?1:-1,n=[“top”,A].indexOf(e)>=0?”y”:”x”;W[e]+=K[n]*t})}return W}function eo(e,t,n){return u(e,c(t,n))}function es(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 ea(e){return[“top”,O,A,T].some(function(t){return e[t]>=0})}var el=(o=void 0===(i=(r={defaultModifiers:[{name:”eventListeners”,enabled:!0,phase:”write”,fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,l=(0,d.A)(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach(function(e){e.addEventListener(“scroll”,n.update,B)}),a&&l.addEventListener(“resize”,n.update,B),function(){o&&u.forEach(function(e){e.removeEventListener(“scroll”,n.update,B)}),a&&l.removeEventListener(“resize”,n.update,B)}},data:{}},{name:”popperOffsets”,enabled:!0,phase:”read”,fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=H({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,i=n.adaptive,o=n.roundOffsets,s=void 0===o||o,a={placement:q(t.placement),variation:$(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r,isFixed:”fixed”===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,W(Object.assign({},a,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===i||i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,W(Object.assign({},a,{offsets:t.modifiersData.arrow,position:”absolute”,adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{“data-popper-placement”:t.placement})},data:{}},Z.A,{name:”offset”,enabled:!0,phase:”main”,requires:[“popperOffsets”],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=I.reduce(function(e,n){var r,i,s,a,l,u;return e[n]=(r=t.rects,s=[T,”top”].indexOf(i=q(n))>=0?-1:1,l=(a=”function”==typeof o?o(Object.assign({},r,{placement:n})):o)[0],u=a[1],l=l||0,u=(u||0)*s,[T,O].indexOf(i)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),a=s[t.placement],l=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=s}},{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 i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,u=n.padding,c=n.boundary,h=n.rootBoundary,d=n.altBoundary,p=n.flipVariations,f=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,y=q(g)===g,b=l||(y||!f?[G(g)]:function(e){if(q(e)===M)return[];var t=G(e);return[Y(e),t,Y(t)]}(g)),v=[g].concat(b).reduce(function(e,n){var r,i,o,s,a,l,d,p,g,y,b,v;return e.concat(q(n)===M?(i=(r={placement:n,boundary:c,rootBoundary:h,padding:u,flipVariations:f,allowedAutoPlacements:m}).placement,o=r.boundary,s=r.rootBoundary,a=r.padding,l=r.flipVariations,p=void 0===(d=r.allowedAutoPlacements)?I:d,0===(b=(y=(g=$(i))?l?P:P.filter(function(e){return $(e)===g}):D).filter(function(e){return p.indexOf(e)>=0})).length&&(b=y),Object.keys(v=b.reduce(function(e,n){return e[n]=ei(t,{placement:n,boundary:o,rootBoundary:s,padding:a})[q(n)],e},{})).sort(function(e,t){return v[e]-v[t]})):n)},[]),w=t.rects.reference,x=t.rects.popper,k=new Map,_=!0,E=v[0],S=0;S=0,F=z?”width”:”height”,j=ei(t,{placement:C,boundary:c,rootBoundary:h,altBoundary:d,padding:u}),B=z?R?O:T:R?A:”top”;w[F]>x[F]&&(B=G(B));var U=G(B),H=[];if(o&&H.push(j[N]<=0),a&&H.push(j[B]<=0,j[U]<=0),H.every(function(e){return e})){E=C,_=!1;break}k.set(C,H)}if(_)for(var V=f?3:1,W=function(e){var t=v.find(function(t){var n=k.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return E=t,"break"},Z=V;Z>0&&”break”!==W(Z);Z–);t.placement!==E&&(t.modifiersData[r]._skip=!0,t.placement=E,t.reset=!0)}},requiresIfExists:[“offset”],data:{_skip:!1}},{name:”preventOverflow”,enabled:!0,phase:”main”,fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=n.altAxis,s=n.boundary,a=n.rootBoundary,l=n.altBoundary,h=n.padding,d=n.tether,p=void 0===d||d,f=n.tetherOffset,m=void 0===f?0:f,g=ei(t,{boundary:s,rootBoundary:a,padding:h,altBoundary:l}),y=q(t.placement),b=$(t.placement),v=!b,w=U(y),x=”x”===w?”y”:”x”,_=t.modifiersData.popperOffsets,E=t.rects.reference,S=t.rects.popper,M=”function”==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,D=”number”==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(_){if(void 0===i||i){var P,I=”y”===w?”top”:T,z=”y”===w?A:O,F=”y”===w?”height”:”width”,j=_[w],B=j+g[I],H=j-g[z],V=p?-S[F]/2:0,W=b===L?E[F]:S[F],Z=b===L?-S[F]:-E[F],K=t.elements.arrow,G=p&&K?k(K):{width:0,height:0},J=t.modifiersData[“arrow#persistent”]?t.modifiersData[“arrow#persistent”].padding:et(),Y=J[I],X=J[z],Q=eo(0,E[F],G[F]),ee=v?E[F]/2-V-Q-Y-D.mainAxis:W-Q-Y-D.mainAxis,en=v?-E[F]/2+V+Q+X+D.mainAxis:Z+Q+X+D.mainAxis,er=t.elements.arrow&&C(t.elements.arrow),es=er?”y”===w?er.clientTop||0:er.clientLeft||0:0,ea=null!=(P=null==N?void 0:N[w])?P:0,el=eo(p?c(B,j+ee-ea-es):B,j,p?u(H,j+en-ea):H);_[w]=el,R[w]=el-j}if(void 0!==o&&o){var eu,ec,eh=”x”===w?”top”:T,ed=”x”===w?A:O,ep=_[x],ef=”y”===x?”height”:”width”,em=ep+g[eh],eg=ep-g[ed],ey=-1!==[“top”,T].indexOf(y),eb=null!=(ec=null==N?void 0:N[x])?ec:0,ev=ey?em:ep-E[ef]-S[ef]-eb+D.altAxis,ew=ey?ep+E[ef]+S[ef]-eb-D.altAxis:eg,ex=p&&ey?(eu=eo(ev,ep,ew))>ew?ew:eu:eo(p?ev:em,ep,p?ew:eg);_[x]=ex,R[x]=ex-ep}t.modifiersData[r]=R}},requiresIfExists:[“offset”]},{name:”arrow”,enabled:!0,phase:”main”,fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=q(n.placement),l=U(a),u=[T,O].indexOf(a)>=0?”height”:”width”;if(o&&s){var c,h=(c=i.padding,en(“number”!=typeof(c=”function”==typeof c?c(Object.assign({},n.rects,{placement:n.placement})):c)?c:er(c,D))),d=k(o),p=”y”===l?”top”:T,f=”y”===l?A:O,m=n.rects.reference[u]+n.rects.reference[l]-s[l]-n.rects.popper[u],g=s[l]-n.rects.reference[l],y=C(o),b=y?”y”===l?y.clientHeight||0:y.clientWidth||0:0,v=h[p],w=b-d[u]-h[f],x=b/2-d[u]/2+(m/2-g/2),_=eo(v,x,w);n.modifiersData[r]=((t={})[l]=_,t.centerOffset=_-x,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”]},{name:”hide”,enabled:!0,phase:”main”,requiresIfExists:[“preventOverflow”],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=ei(t,{elementContext:”reference”}),a=ei(t,{altBoundary:!0}),l=es(s,r),u=es(a,i,o),c=ea(l),h=ea(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{“data-popper-reference-hidden”:c,”data-popper-escaped”:h})}}]}).defaultModifiers)?[]:i,a=void 0===(s=r.defaultOptions)?F:s,function(e,t,n){void 0===n&&(n=a);var r,i,s={placement:”bottom”,orderedModifiers:[],options:Object.assign({},F,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},u=[],c=!1,p={state:s,setOptions:function(n){var r,i,c,h,d,m,g=”function”==typeof n?n(s.options):n;f(),s.options=Object.assign({},a,s.options,g),s.scrollParents={reference:(0,l.vq)(e)?E(e):e.contextElement?E(e.contextElement):[],popper:E(t)};var y=(i=Object.keys(r=[].concat(o,s.options.modifiers).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},{})).map(function(e){return r[e]}),c=new Map,h=new Set,d=[],i.forEach(function(e){c.set(e.name,e)}),i.forEach(function(e){h.has(e.name)||function e(t){h.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!h.has(t)){var n=c.get(t);n&&e(n)}}),d.push(t)}(e)}),m=d,z.reduce(function(e,t){return e.concat(m.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=y.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if(“function”==typeof r){var i=r({state:s,name:t,instance:p,options:void 0===n?{}:n});u.push(i||function(){})}}),p.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,n=e.popper;if(j(t,n)){s.rects={reference:(r=C(n),i=”fixed”===s.options.strategy,o=(0,l.sb)(r),w=(0,l.sb)(r)&&(u=h((a=r.getBoundingClientRect()).width)/r.offsetWidth||1,f=h(a.height)/r.offsetHeight||1,1!==u||1!==f),_=b(r),E=m(t,w,i),S={scrollLeft:0,scrollTop:0},A={x:0,y:0},(o||!o&&!i)&&((“body”!==(0,y.A)(r)||x(_))&&(S=function(e){return e!==(0,d.A)(e)&&(0,l.sb)(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:g(e)}(r)),(0,l.sb)(r)?(A=m(r,!0),A.x+=r.clientLeft,A.y+=r.clientTop):_&&(A.x=v(_))),{x:E.left+S.scrollLeft-A.x,y:E.top+S.scrollTop-A.y,width:E.width,height:E.height}),popper:k(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,i,o,a,u,f,w,_,E,S,A,O=0;Ol});var r=n(17402),i=n(93576),o=function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(i)&&(n[i]=e[i]);if(null!=e&&”function”==typeof Object.getOwnPropertySymbols)for(var r=0,i=Object.getOwnPropertySymbols(e);rt.indexOf(i[r])&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]]);return n},a=function(e){return”Typesetting failed: “.concat(void 0!==e.message?e.message:e.toString())};let l=function(e){function t(){var e;”every”===w&&_&&”post”===x&&null!==b.current&&(b.current.style.visibility=null!=(e=null==(e=g.style)?void 0:e.visibility)?e:”visible”),E.current||(“first”===w&&null!==b.current&&(b.current.style.visibility=”visible”),u&&u(),E.current=!0),c&&c(),S.current=!1}var n=e.inline,l=void 0!==n&&n,n=e.hideUntilTypeset,u=e.onInitTypeset,c=e.onTypeset,h=e.text,d=e.dynamic,p=e.typesettingOptions,f=e.renderMode,m=e.children,g=s(e,[“inline”,”hideUntilTypeset”,”onInitTypeset”,”onTypeset”,”text”,”dynamic”,”typesettingOptions”,”renderMode”,”children”]),y=(0,r.useRef)(“”),b=(0,r.useRef)(null),v=(0,r.useContext)(i.k),w=null!=n?n:null==v?void 0:v.hideUntilTypeset,x=null!=f?f:null==v?void 0:v.renderMode,k=null!=p?p:null==v?void 0:v.typesettingOptions,_=!1!==d&&(d||!1),E=(0,r.useRef)(!1),S=(0,r.useRef)(!1);return!S.current&&null!==b.current&&_&&”every”===w&&”post”===x&&(b.current.style.visibility=”hidden”),(“undefined”!=typeof window?r.useLayoutEffect:r.useEffect)(function(){if((_||!E.current)&&null!==b.current){if(!v)throw Error(“MathJax was not loaded, did you use the MathJax component outside of a MathJaxContext?”);if(“pre”===x){if(!(“string”==typeof h&&0c,k:()=>a});var r,i,o=n(17402),s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n
* @license MIT
*/let r=n(67526),i=n(251),o=”function”==typeof Symbol&&”function”==typeof Symbol.for?Symbol.for(“nodejs.util.inspect.custom”):null;function s(e){if(e>0x7fffffff)throw RangeError(‘The value “‘+e+'” is invalid for option “size”‘);let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,n){if(“number”==typeof e){if(“string”==typeof t)throw TypeError(‘The “string” argument must be of type string. Received type number’);return c(e)}return l(e,t,n)}function l(e,t,n){if(“string”==typeof e){var r=e,i=t;if((“string”!=typeof i||””===i)&&(i=”utf8″),!a.isEncoding(i))throw TypeError(“Unknown encoding: “+i);let n=0|f(r,i),o=s(n),l=o.write(r,i);return l!==n&&(o=o.slice(0,l)),o}if(ArrayBuffer.isView(e)){var o=e;if(z(o,Uint8Array)){let e=new Uint8Array(o);return d(e.buffer,e.byteOffset,e.byteLength)}return h(o)}if(null==e)throw TypeError(“The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type “+typeof e);if(z(e,ArrayBuffer)||e&&z(e.buffer,ArrayBuffer)||”undefined”!=typeof SharedArrayBuffer&&(z(e,SharedArrayBuffer)||e&&z(e.buffer,SharedArrayBuffer)))return d(e,t,n);if(“number”==typeof e)throw TypeError(‘The “value” argument must not be of type number. Received type number’);let l=e.valueOf&&e.valueOf();if(null!=l&&l!==e)return a.from(l,t,n);let u=function(e){if(a.isBuffer(e)){let t=0|p(e.length),n=s(t);return 0===n.length||e.copy(n,0,0,t),n}return void 0!==e.length?”number”!=typeof e.length||function(e){return e!=e}(e.length)?s(0):h(e):”Buffer”===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(u)return u;if(“undefined”!=typeof Symbol&&null!=Symbol.toPrimitive&&”function”==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive](“string”),t,n);throw TypeError(“The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type “+typeof e)}function u(e){if(“number”!=typeof e)throw TypeError(‘”size” argument must be of type number’);if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function c(e){return u(e),s(e<0?0:0|p(e))}function h(e){let t=e.length<0?0:0|p(e.length),n=s(t);for(let r=0;r=0x7fffffff)throw RangeError(“Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes”);return 0|e}function f(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||z(e,ArrayBuffer))return e.byteLength;if(“string”!=typeof e)throw TypeError(‘The “string” argument must be one of type string, Buffer, or ArrayBuffer. Received type ‘+typeof e);let n=e.length,r=arguments.length>2&&!0===arguments[2];if(!r&&0===n)return 0;let i=!1;for(;;)switch(t){case”ascii”:case”latin1″:case”binary”:return n;case”utf8″:case”utf-8″:return R(e).length;case”ucs2″:case”ucs-2″:case”utf16le”:case”utf-16le”:return 2*n;case”hex”:return n>>>1;case”base64″:return P(e).length;default:if(i)return r?-1:R(e).length;t=(“”+t).toLowerCase(),i=!0}}function m(e,t,n){let i=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===n||n>this.length)&&(n=this.length),n<=0||(n>>>=0)<=(t>>>=0)))return””;for(e||(e=”utf8″);;)switch(e){case”hex”:return function(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=””;for(let r=t;r0x7fffffff?n=0x7fffffff:n<-0x80000000&&(n=-0x80000000),(o=n*=1)!=o&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length)if(i)return -1;else n=e.length-1;else if(n<0)if(!i)return -1;else n=0;if("string"==typeof t&&(t=a.from(t,r)),a.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,n);else return Uint8Array.prototype.lastIndexOf.call(e,t,n);return b(e,[t],n,r,i)}throw TypeError("val must be string, number or Buffer")}function b(e,t,n,r,i){let o,s=1,a=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;s=2,a/=2,l/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){let r=-1;for(o=n;oa&&(n=a-l),o=n;o>=0;o–){let n=!0;for(let r=0;r239?4:t>223?3:t>191?2:1;if(i+s<=n){let n,r,a,l;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(n=e[i+1]))==128&&(l=(31&t)<<6|63&n)>127&&(o=l);break;case 3:n=e[i+1],r=e[i+2],(192&n)==128&&(192&r)==128&&(l=(15&t)<<12|(63&n)<<6|63&r)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:n=e[i+1],r=e[i+2],a=e[i+3],(192&n)==128&&(192&r)==128&&(192&a)==128&&(l=(15&t)<<18|(63&n)<<12|(63&r)<<6|63&a)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,r.push(o>>>10&1023|55296),o=56320|1023&o),r.push(o),i+=s}var o=r;let s=o.length;if(s<=4096)return String.fromCharCode.apply(String,o);let a="",l=0;for(;ln)throw RangeError(“Trying to access beyond buffer length”)}function x(e,t,n,r,i,o){if(!a.isBuffer(e))throw TypeError(‘”buffer” argument must be a Buffer instance’);if(t>i||te.length)throw RangeError(“Index out of range”)}function k(e,t,n,r,i){M(t,r,i,e,n,7);let o=Number(t&BigInt(0xffffffff));e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,s>>=8,e[n++]=s,n}function _(e,t,n,r,i){M(t,r,i,e,n,7);let o=Number(t&BigInt(0xffffffff));e[n+7]=o,o>>=8,e[n+6]=o,o>>=8,e[n+5]=o,o>>=8,e[n+4]=o;let s=Number(t>>BigInt(32)&BigInt(0xffffffff));return e[n+3]=s,s>>=8,e[n+2]=s,s>>=8,e[n+1]=s,s>>=8,e[n]=s,n+8}function E(e,t,n,r,i,o){if(n+r>e.length||n<0)throw RangeError("Index out of range")}function S(e,t,n,r,o){return t*=1,n>>>=0,o||E(e,t,n,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,n,r,23,4),n+4}function C(e,t,n,r,o){return t*=1,n>>>=0,o||E(e,t,n,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,n,r,52,8),n+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||”undefined”==typeof console||”function”!=typeof console.error||console.error(“This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.”),Object.defineProperty(a.prototype,”parent”,{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,”offset”,{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,n){return l(e,t,n)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,n){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof n?s(e).fill(t,n):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return c(e)},a.allocUnsafeSlow=function(e){return c(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(z(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),z(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,o=Math.min(n,r);ir.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(a.isBuffer(t))t.copy(r,i);else throw TypeError(‘”list” argument must be an Array of Buffers’);i+=t.length}return r},a.byteLength=f,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError(“Buffer size must be a multiple of 16-bits”);for(let t=0;tn&&(e+=” … “),”“},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,n,r,i){if(z(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError(‘The “target” argument must be one of type Buffer or Uint8Array. Received type ‘+typeof e);if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(“out of range index”);if(r>=i&&t>=n)return 0;if(r>=i)return -1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let o=i-r,s=n-t,l=Math.min(o,s),u=this.slice(r,i),c=e.slice(t,n);for(let e=0;e>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r=”utf8″)):(r=n,n=void 0);else throw Error(“Buffer.write(string, encoding, offset[, length]) is no longer supported”);let d=this.length-t;if((void 0===n||n>d)&&(n=d),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(“Attempt to write outside buffer bounds”);r||(r=”utf8″);let p=!1;for(;;)switch(r){case”hex”:return function(e,t,n,r){let i;n=Number(n)||0;let o=e.length-n;r?(r=Number(r))>o&&(r=o):r=o;let s=t.length;for(r>s/2&&(r=s/2),i=0;i>8,i.push(n%256),i.push(r);return i}(e,this.length-c),this,c,h);default:if(p)throw TypeError(“Unknown encoding: “+r);r=(“”+r).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:”Buffer”,data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){let n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,o=0;for(;++o>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e+–t],i=1;for(;t>0&&(i*=256);)r+=this[e+–t]*i;return r},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||w(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||w(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=j(function(e){D(e>>>=0,”offset”);let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&L(e,this.length-8);let r=t+256*this[++e]+65536*this[++e]+0x1000000*this[++e],i=this[++e]+256*this[++e]+65536*this[++e]+0x1000000*n;return BigInt(r)+(BigInt(i)<>>=0,”offset”);let t=this[e],n=this[e+7];(void 0===t||void 0===n)&&L(e,this.length-8);let r=0x1000000*t+65536*this[++e]+256*this[++e]+this[++e],i=0x1000000*this[++e]+65536*this[++e]+256*this[++e]+n;return(BigInt(r)<>>=0,t>>>=0,n||w(e,t,this.length);let r=this[e],i=1,o=0;for(;++o=(i*=128)&&(r-=Math.pow(2,8*t)),r},a.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||w(e,t,this.length);let r=t,i=1,o=this[e+–r];for(;r>0&&(i*=256);)o+=this[e+–r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||w(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e]|this[e+1]<<8;return 32768&n?0xffff0000|n:n},a.prototype.readInt16BE=function(e,t){e>>>=0,t||w(e,2,this.length);let n=this[e+1]|this[e]<<8;return 32768&n?0xffff0000|n:n},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||w(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=j(function(e){D(e>>>=0,”offset”);let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&L(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(n<<24))<>>=0,”offset”);let t=this[e],n=this[e+7];return(void 0===t||void 0===n)&&L(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||w(e,4,this.length),i.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||w(e,4,this.length),i.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||w(e,8,this.length),i.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,n,r){if(e*=1,t>>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;x(this,e,t,n,r,0)}let i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){let r=Math.pow(2,8*n)-1;x(this,e,t,n,r,0)}let i=n-1,o=1;for(this[t+i]=255&e;–i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=j(function(e,t=0){return k(this,e,t,BigInt(0),BigInt(“0xffffffffffffffff”))}),a.prototype.writeBigUInt64BE=j(function(e,t=0){return _(this,e,t,BigInt(0),BigInt(“0xffffffffffffffff”))}),a.prototype.writeIntLE=function(e,t,n,r){if(e*=1,t>>>=0,!r){let r=Math.pow(2,8*n-1);x(this,e,t,n,r-1,-r)}let i=0,o=1,s=0;for(this[t]=255&e;++i>>=0,!r){let r=Math.pow(2,8*n-1);x(this,e,t,n,r-1,-r)}let i=n-1,o=1,s=0;for(this[t+i]=255&e;–i>=0&&(o*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/o|0)-s&255;return t+n},a.prototype.writeInt8=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,n){return e*=1,t>>>=0,n||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=j(function(e,t=0){return k(this,e,t,-BigInt(“0x8000000000000000”),BigInt(“0x7fffffffffffffff”))}),a.prototype.writeBigInt64BE=j(function(e,t=0){return _(this,e,t,-BigInt(“0x8000000000000000”),BigInt(“0x7fffffffffffffff”))}),a.prototype.writeFloatLE=function(e,t,n){return S(this,e,t,!0,n)},a.prototype.writeFloatBE=function(e,t,n){return S(this,e,t,!1,n)},a.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},a.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},a.prototype.copy=function(e,t,n,r){if(!a.isBuffer(e))throw TypeError(“argument should be a Buffer”);if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw RangeError(“Index out of range”);if(r<0)throw RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),”number”==typeof e)for(i=t;i=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function M(e,t,n,r,i,o){if(e>n||e3?0===t||t===BigInt(0)?`>= 0${i} and < 2${i} ** ${(o+1)*8}${i}`:`>= -(2${i} ** ${(o+1)*8-1}${i}) and < 2 ** ${(o+1)*8-1}${i}`:`>= ${t}${i} and <= ${n}${i}`,new A.ERR_OUT_OF_RANGE("value",r,e)}D(i,"offset"),(void 0===r[i]||void 0===r[i+o])&&L(i,r.length-(o+1))}function D(e,t){if("number"!=typeof e)throw new A.ERR_INVALID_ARG_TYPE(t,"number",e)}function L(e,t,n){if(Math.floor(e)!==e)throw D(e,n),new A.ERR_OUT_OF_RANGE(n||"offset","an integer",e);if(t<0)throw new A.ERR_BUFFER_OUT_OF_BOUNDS;throw new A.ERR_OUT_OF_RANGE(n||"offset",`>= ${+!!n} and <= ${t}`,e)}O("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),O("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),O("ERR_OUT_OF_RANGE",function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>0x100000000?i=T(String(n)):”bigint”==typeof n&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=T(i)),i+="n"),r+=` It must be ${t}. Received ${i}`},RangeError);let N=/[^+/0-9A-Za-z-_]/g;function R(e,t){let n;t=t||1/0;let r=e.length,i=null,o=[];for(let s=0;s55295&&n<57344){if(!i){if(n>56319||s+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else if(n<1114112){if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}else throw Error(“Invalid code point”)}return o}function P(e){return r.toByteArray(function(e){if((e=(e=e.split(“=”)[0]).trim().replace(N,””)).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function I(e,t,n,r){let i;for(i=0;i=t.length)&&!(i>=e.length);++i)t[i+n]=e[i];return i}function z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let F=function(){let e=”0123456789abcdef”,t=Array(256);for(let n=0;n<16;++n){let r=16*n;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t}();function j(e){return"undefined"==typeof BigInt?B:e}function B(){throw Error("BigInt not supported")}},14744:function(e){"use strict";var t=function(e){var t,r,i;return!!(t=e)&&"object"==typeof t&&(r=e,"[object RegExp]"!==(i=Object.prototype.toString.call(r))&&"[object Date]"!==i&&r.$$typeof!==n)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?a(Array.isArray(e)?[]:{},e,t):e}function i(e,t,n){return e.concat(t).map(function(e){return r(e,n)})}function o(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[])}function s(e,t){try{return t in e}catch(e){return!1}}function a(e,n,l){(l=l||{}).arrayMerge=l.arrayMerge||i,l.isMergeableObject=l.isMergeableObject||t,l.cloneUnlessOtherwiseSpecified=r;var u,c,h=Array.isArray(n);return h!==Array.isArray(e)?r(n,l):h?l.arrayMerge(e,n,l):(c={},(u=l).isMergeableObject(e)&&o(e).forEach(function(t){c[t]=r(e[t],u)}),o(n).forEach(function(t){s(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))||(s(e,t)&&u.isMergeableObject(n[t])?c[t]=(function(e,t){if(!t.customMerge)return a;var n=t.customMerge(e);return"function"==typeof n?n:a})(t,u)(e[t],n[t],u):c[t]=r(n[t],u))}),c)}a.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,n){return a(e,n,t)},{})},e.exports=a},94460:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.attributeNames=t.elementNames=void 0,t.elementNames=new Map([["altglyph","altGlyph"],["altglyphdef","altGlyphDef"],["altglyphitem","altGlyphItem"],["animatecolor","animateColor"],["animatemotion","animateMotion"],["animatetransform","animateTransform"],["clippath","clipPath"],["feblend","feBlend"],["fecolormatrix","feColorMatrix"],["fecomponenttransfer","feComponentTransfer"],["fecomposite","feComposite"],["feconvolvematrix","feConvolveMatrix"],["fediffuselighting","feDiffuseLighting"],["fedisplacementmap","feDisplacementMap"],["fedistantlight","feDistantLight"],["fedropshadow","feDropShadow"],["feflood","feFlood"],["fefunca","feFuncA"],["fefuncb","feFuncB"],["fefuncg","feFuncG"],["fefuncr","feFuncR"],["fegaussianblur","feGaussianBlur"],["feimage","feImage"],["femerge","feMerge"],["femergenode","feMergeNode"],["femorphology","feMorphology"],["feoffset","feOffset"],["fepointlight","fePointLight"],["fespecularlighting","feSpecularLighting"],["fespotlight","feSpotLight"],["fetile","feTile"],["feturbulence","feTurbulence"],["foreignobject","foreignObject"],["glyphref","glyphRef"],["lineargradient","linearGradient"],["radialgradient","radialGradient"],["textpath","textPath"]]),t.attributeNames=new Map([["definitionurl","definitionURL"],["attributename","attributeName"],["attributetype","attributeType"],["basefrequency","baseFrequency"],["baseprofile","baseProfile"],["calcmode","calcMode"],["clippathunits","clipPathUnits"],["diffuseconstant","diffuseConstant"],["edgemode","edgeMode"],["filterunits","filterUnits"],["glyphref","glyphRef"],["gradienttransform","gradientTransform"],["gradientunits","gradientUnits"],["kernelmatrix","kernelMatrix"],["kernelunitlength","kernelUnitLength"],["keypoints","keyPoints"],["keysplines","keySplines"],["keytimes","keyTimes"],["lengthadjust","lengthAdjust"],["limitingconeangle","limitingConeAngle"],["markerheight","markerHeight"],["markerunits","markerUnits"],["markerwidth","markerWidth"],["maskcontentunits","maskContentUnits"],["maskunits","maskUnits"],["numoctaves","numOctaves"],["pathlength","pathLength"],["patterncontentunits","patternContentUnits"],["patterntransform","patternTransform"],["patternunits","patternUnits"],["pointsatx","pointsAtX"],["pointsaty","pointsAtY"],["pointsatz","pointsAtZ"],["preservealpha","preserveAlpha"],["preserveaspectratio","preserveAspectRatio"],["primitiveunits","primitiveUnits"],["refx","refX"],["refy","refY"],["repeatcount","repeatCount"],["repeatdur","repeatDur"],["requiredextensions","requiredExtensions"],["requiredfeatures","requiredFeatures"],["specularconstant","specularConstant"],["specularexponent","specularExponent"],["spreadmethod","spreadMethod"],["startoffset","startOffset"],["stddeviation","stdDeviation"],["stitchtiles","stitchTiles"],["surfacescale","surfaceScale"],["systemlanguage","systemLanguage"],["tablevalues","tableValues"],["targetx","targetX"],["targety","targetY"],["textlength","textLength"],["viewbox","viewBox"],["viewtarget","viewTarget"],["xchannelselector","xChannelSelector"],["ychannelselector","yChannelSelector"],["zoomandpan","zoomAndPan"]])},53806:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n“;case a.Comment:return”\x3c!–“+t.data+”–\x3e”;case a.CDATA:return”“):(o+=”>”,t.children.length>0&&(o+=e(t.children,n)),(n.xmlMode||!h.has(t.name))&&(o+=”"+t.name+">“)),o}(t,n);case a.Text:return function(e,t){var n=e.data||””;return!1===t.decodeEntities||!t.xmlMode&&e.parent&&c.has(e.parent.name)||(n=l.encodeXML(n)),n}(t,n)}}(i[s],n);return o};var d=new Set([“mi”,”mo”,”mn”,”ms”,”mtext”,”annotation-xml”,”foreignObject”,”desc”,”title”]),p=new Set([“svg”,”math”])},45413:function(e,t){“use strict”;var n,r;Object.defineProperty(t,”__esModule”,{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,(r=n=t.ElementType||(t.ElementType={})).Root=”root”,r.Text=”text”,r.Directive=”directive”,r.Comment=”comment”,r.Script=”script”,r.Style=”style”,r.Tag=”tag”,r.CDATA=”cdata”,r.Doctype=”doctype”,t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},41141:function(e,t,n){“use strict”;var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)”default”===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,”__esModule”,{value:!0}),t.DomHandler=void 0;var o=n(36957);i(n(36957),t);var s=/\s+/g,a={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1},l=function(){function e(e,t,n){this.dom=[],this._done=!1,this._tagStack=[],this._lastNode=null,this._parser=null,”function”==typeof t&&(n=t,t=a),”object”==typeof e&&(t=e,e=void 0),this._callback=null!=e?e:null,this._options=null!=t?t:a,this._elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this._parser=e},e.prototype.onreset=function(){var e;this.dom=[],this._done=!1,this._tagStack=[],this._lastNode=null,this._parser=null!=(e=this._parser)?e:null},e.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this._lastNode=null;var e=this._tagStack.pop();e&&this._parser&&(this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e))},e.prototype.onopentag=function(e,t){var n=new o.Element(e,t);this.addNode(n),this._tagStack.push(n)},e.prototype.ontext=function(e){var t=this._options.normalizeWhitespace,n=this._lastNode;if(n&&”text”===n.type)t?n.data=(n.data+e).replace(s,” “):n.data+=e;else{t&&(e=e.replace(s,” “));var r=new o.Text(e);this.addNode(r),this._lastNode=r}},e.prototype.oncomment=function(e){if(this._lastNode&&”comment”===this._lastNode.type){this._lastNode.data+=e;return}var t=new o.Comment(e);this.addNode(t),this._lastNode=t},e.prototype.oncommentend=function(){this._lastNode=null},e.prototype.oncdatastart=function(){var e=new o.Text(“”),t=new o.NodeWithChildren(“cdata”,[e]);this.addNode(t),e.parent=t,this._lastNode=e},e.prototype.oncdataend=function(){this._lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new o.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if(“function”==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this._tagStack[this._tagStack.length-1],n=t?t.children:this.dom,r=n[n.length-1];this._parser&&(this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex)),n.push(e),r&&(e.prev=r,r.next=e),t&&(e.parent=t),this._lastNode=null},e.prototype.addDataNode=function(e){this.addNode(e),this._lastNode=e},e}();t.DomHandler=l,t.default=l},36957:function(e,t){“use strict”;var n,r=this&&this.__extends||(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])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,”childNodes”,{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=h;var d=function(e){function t(t,n,r){void 0===r&&(r=[]);var i=e.call(this,”script”===t?”script”:”style”===t?”style”:”tag”,r)||this;return i.name=t,i.attribs=n,i.attribs=n,i}return r(t,e),Object.defineProperty(t.prototype,”tagName”,{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,”attributes”,{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){return{name:t,value:e.attribs[t]}})},enumerable:!1,configurable:!0}),t}(h);function p(e,t){switch(void 0===t&&(t=!1),e.type){case”text”:return new l(e.data);case”directive”:return new c(e.name,e.data);case”comment”:return new u(e.data);case”tag”:case”script”:case”style”:var n=t?f(e.children):[],r=new d(e.name,i({},e.attribs),n);return n.forEach(function(e){return e.parent=r}),r;case”cdata”:var n=t?f(e.children):[],o=new h(“cdata”,n);return n.forEach(function(e){return e.parent=o}),o;case”doctype”:throw Error(“Not implemented yet: ElementType.Doctype case”)}}function f(e){for(var t=e.map(function(e){return p(e,!0)}),n=1;nu.indexOf(h)?l===t?20:4:l===e?10:2}t.removeSubsets=function(e){for(var t=e.length;–t>=0;){var n=e[t];if(t>0&&e.lastIndexOf(n,t-1)>=0){e.splice(t,1);continue}for(var r=n.parent;r;r=r.parent)if(e.includes(r)){e.splice(t,1);break}}return e},t.compareDocumentPosition=i,t.uniqueSort=function(e){return(e=e.filter(function(e,t,n){return!n.includes(e,t+1)})).sort(function(e,t){var n=i(e,t);return 2&n?-1:4&n?1:0}),e}},98888:function(e,t,n){“use strict”;var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)”default”===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,”__esModule”,{value:!0}),t.hasChildren=t.isDocument=t.isComment=t.isText=t.isCDATA=t.isTag=void 0,i(n(76037),t),i(n(8938),t),i(n(73403),t),i(n(90718),t),i(n(43209),t),i(n(45397),t),i(n(54437),t);var o=n(73540);Object.defineProperty(t,”isTag”,{enumerable:!0,get:function(){return o.isTag}}),Object.defineProperty(t,”isCDATA”,{enumerable:!0,get:function(){return o.isCDATA}}),Object.defineProperty(t,”isText”,{enumerable:!0,get:function(){return o.isText}}),Object.defineProperty(t,”isComment”,{enumerable:!0,get:function(){return o.isComment}}),Object.defineProperty(t,”isDocument”,{enumerable:!0,get:function(){return o.isDocument}}),Object.defineProperty(t,”hasChildren”,{enumerable:!0,get:function(){return o.hasChildren}})},43209:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.getElementsByTagType=t.getElementsByTagName=t.getElementById=t.getElements=t.testElement=void 0;var r=n(73540),i=n(90718),o={tag_name:function(e){return”function”==typeof e?function(t){return(0,r.isTag)(t)&&e(t.name)}:”*”===e?r.isTag:function(t){return(0,r.isTag)(t)&&t.name===e}},tag_type:function(e){return”function”==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return”function”==typeof e?function(t){return(0,r.isText)(t)&&e(t.data)}:function(t){return(0,r.isText)(t)&&t.data===e}}};function s(e,t){return”function”==typeof t?function(n){return(0,r.isTag)(n)&&t(n.attribs[e])}:function(n){return(0,r.isTag)(n)&&n.attribs[e]===t}}function a(e,t){return function(n){return e(n)||t(n)}}function l(e){var t=Object.keys(e).map(function(t){var n=e[t];return Object.prototype.hasOwnProperty.call(o,t)?o[t](n):s(t,n)});return 0===t.length?null:t.reduce(a)}t.testElement=function(e,t){var n=l(e);return!n||n(t)},t.getElements=function(e,t,n,r){void 0===r&&(r=1/0);var o=l(e);return o?(0,i.filter)(o,t,n,r):[]},t.getElementById=function(e,t,n){return void 0===n&&(n=!0),Array.isArray(t)||(t=[t]),(0,i.findOne)(s(“id”,e),t,n)},t.getElementsByTagName=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_name(e),t,n,r)},t.getElementsByTagType=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),(0,i.filter)(o.tag_type(e),t,n,r)}},73403:function(e,t){“use strict”;function n(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}}Object.defineProperty(t,”__esModule”,{value:!0}),t.prepend=t.prependChild=t.append=t.appendChild=t.replaceElement=t.removeElement=void 0,t.removeElement=n,t.replaceElement=function(e,t){var n=t.prev=e.prev;n&&(n.next=t);var r=t.next=e.next;r&&(r.prev=t);var i=t.parent=e.parent;if(i){var o=i.children;o[o.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(n(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null},t.append=function(e,t){n(t);var r=e.parent,i=e.next;if(t.next=i,t.prev=e,e.next=t,t.parent=r,i){if(i.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(i),0,t)}}else r&&r.children.push(t)},t.prependChild=function(e,t){if(n(t),t.parent=e,t.prev=null,1!==e.children.unshift(t)){var r=e.children[1];r.prev=t,t.next=r}else t.next=null},t.prepend=function(e,t){n(t);var r=e.parent;if(r){var i=r.children;i.splice(i.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},90718:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.findAll=t.existsOne=t.findOne=t.findOneChild=t.find=t.filter=void 0;var r=n(73540);function i(e,t,n,o){for(var s=[],a=0;a0){var u=i(e,l.children,n,o);if(s.push.apply(s,u),(o-=u.length)<=0)break}}return s}t.filter=function(e,t,n,r){return void 0===n&&(n=!0),void 0===r&&(r=1/0),Array.isArray(t)||(t=[t]),i(e,t,n,r)},t.find=i,t.findOneChild=function(e,t){return t.find(e)},t.findOne=function e(t,n,i){void 0===i&&(i=!0);for(var o=null,s=0;s0&&(o=e(t,a.children)))}return o},t.existsOne=function e(t,n){return n.some(function(n){return(0,r.isTag)(n)&&(t(n)||n.children.length>0&&e(t,n.children))})},t.findAll=function(e,t){for(var n,i,o=[],s=t.filter(r.isTag);i=s.shift();){var a=null==(n=i.children)?void 0:n.filter(r.isTag);a&&a.length>0&&s.unshift.apply(s,a),e(i)&&o.push(i)}return o}},76037:function(e,t,n){“use strict”;var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0}),t.innerText=t.textContent=t.getText=t.getInnerHTML=t.getOuterHTML=void 0;var i=n(73540),o=r(n(53806)),s=n(45413);function a(e,t){return(0,o.default)(e,t)}t.getOuterHTML=a,t.getInnerHTML=function(e,t){return(0,i.hasChildren)(e)?e.children.map(function(e){return a(e,t)}).join(“”):””},t.getText=function e(t){return Array.isArray(t)?t.map(e).join(“”):(0,i.isTag)(t)?”br”===t.name?”\n”:e(t.children):(0,i.isCDATA)(t)?e(t.children):(0,i.isText)(t)?t.data:””},t.textContent=function e(t){return Array.isArray(t)?t.map(e).join(“”):(0,i.hasChildren)(t)&&!(0,i.isComment)(t)?e(t.children):(0,i.isText)(t)?t.data:””},t.innerText=function e(t){return Array.isArray(t)?t.map(e).join(“”):(0,i.hasChildren)(t)&&(t.type===s.ElementType.Tag||(0,i.isCDATA)(t))?e(t.children):(0,i.isText)(t)?t.data:””}},8938:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.prevElementSibling=t.nextElementSibling=t.getName=t.hasAttrib=t.getAttributeValue=t.getSiblings=t.getParent=t.getChildren=void 0;var r=n(73540),i=[];function o(e){var t;return null!=(t=e.children)?t:i}function s(e){return e.parent||null}t.getChildren=o,t.getParent=s,t.getSiblings=function(e){var t=s(e);if(null!=t)return o(t);for(var n=[e],r=e.prev,i=e.next;null!=r;)n.unshift(r),r=r.prev;for(;null!=i;)n.push(i),i=i.next;return n},t.getAttributeValue=function(e,t){var n;return null==(n=e.attribs)?void 0:n[t]},t.hasAttrib=function(e,t){return null!=e.attribs&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&null!=e.attribs[t]},t.getName=function(e){return e.name},t.nextElementSibling=function(e){for(var t=e.next;null!==t&&!(0,r.isTag)(t);)t=t.next;return t},t.prevElementSibling=function(e){for(var t=e.prev;null!==t&&!(0,r.isTag)(t);)t=t.prev;return t}},73540:function(e,t,n){“use strict”;var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(“get”in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)”default”===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,”__esModule”,{value:!0}),t.DomHandler=void 0;var o=n(45413),s=n(4018);i(n(4018),t);var a=/\s+/g,l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,”function”==typeof t&&(n=t,t=l),”object”==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:l,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?o.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.options.normalizeWhitespace,n=this.lastNode;if(n&&n.type===o.ElementType.Text)t?n.data=(n.data+e).replace(a,” “):n.data+=e,this.options.withEndIndices&&(n.endIndex=this.parser.endIndex);else{t&&(e=e.replace(a,” “));var r=new s.Text(e);this.addNode(r),this.lastNode=r}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===o.ElementType.Comment){this.lastNode.data+=e;return}var t=new s.Comment(e);this.addNode(t),this.lastNode=t},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(“”),t=new s.NodeWithChildren(o.ElementType.CDATA,[e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if(“function”==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=u,t.default=u},4018:function(e,t,n){“use strict”;var r,i=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])})(e,t)},function(e,t){if(“function”!=typeof t&&null!==t)throw TypeError(“Class extends value “+String(t)+” is not a constructor or null”);function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,”childNodes”,{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(l);t.NodeWithChildren=p;var f=function(e){function t(t){return e.call(this,s.ElementType.Root,t)||this}return i(t,e),t}(p);t.Document=f;var m=function(e){function t(t,n,r,i){void 0===r&&(r=[]),void 0===i&&(i=”script”===t?s.ElementType.Script:”style”===t?s.ElementType.Style:s.ElementType.Tag);var o=e.call(this,i,r)||this;return o.name=t,o.attribs=n,o}return i(t,e),Object.defineProperty(t.prototype,”tagName”,{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,”attributes”,{get:function(){var e=this;return Object.keys(this.attribs).map(function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null==(n=e[“x-attribsNamespace”])?void 0:n[t],prefix:null==(r=e[“x-attribsPrefix”])?void 0:r[t]}})},enumerable:!1,configurable:!0}),t}(p);function g(e){return(0,s.isTag)(e)}function y(e){return e.type===s.ElementType.CDATA}function b(e){return e.type===s.ElementType.Text}function v(e){return e.type===s.ElementType.Comment}function w(e){return e.type===s.ElementType.Directive}function x(e){return e.type===s.ElementType.Root}function k(e,t){if(void 0===t&&(t=!1),b(e))n=new c(e.data);else if(v(e))n=new h(e.data);else if(g(e)){var n,r=t?_(e.children):[],i=new m(e.name,o({},e.attribs),r);r.forEach(function(e){return e.parent=i}),null!=e.namespace&&(i.namespace=e.namespace),e[“x-attribsNamespace”]&&(i[“x-attribsNamespace”]=o({},e[“x-attribsNamespace”])),e[“x-attribsPrefix”]&&(i[“x-attribsPrefix”]=o({},e[“x-attribsPrefix”])),n=i}else if(y(e)){var r=t?_(e.children):[],a=new p(s.ElementType.CDATA,r);r.forEach(function(e){return e.parent=a}),n=a}else if(x(e)){var r=t?_(e.children):[],l=new f(r);r.forEach(function(e){return e.parent=l}),e[“x-mode”]&&(l[“x-mode”]=e[“x-mode”]),n=l}else if(w(e)){var u=new d(e.name,e.data);null!=e[“x-name”]&&(u[“x-name”]=e[“x-name”],u[“x-publicId”]=e[“x-publicId”],u[“x-systemId”]=e[“x-systemId”]),n=u}else throw Error(“Not implemented yet: “.concat(e.type));return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function _(e){for(var t=e.map(function(e){return k(e,!0)}),n=1;n65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?”�”:(e in i.default&&(e=i.default[e]),o(e))}},71818:function(e,t,n){“use strict”;var r,i,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var s=c(o(n(36632)).default),a=h(s);t.encodeXML=g(s);var l=c(o(n(99144)).default),u=h(l);function c(e){return Object.keys(e).sort().reduce(function(t,n){return t[e[n]]=”&”+n+”;”,t},{})}function h(e){for(var t=[],n=[],r=0,i=Object.keys(e);r1?p(e):e.charCodeAt(0)).toString(16).toUpperCase()+”;”}var m=RegExp(a.source+”|”+d.source,”g”);function g(e){return function(t){return t.replace(m,function(t){return e[t]||f(t)})}}t.escape=function(e){return e.replace(m,f)},t.escapeUTF8=function(e){return e.replace(a,f)}},72730:function(e,t,n){“use strict”;Object.defineProperty(t,”__esModule”,{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var r=n(79878),i=n(71818);t.decode=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?r.decodeXML:r.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?i.encodeXML:i.encodeHTML)(e)};var o=n(71818);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return o.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return o.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return o.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return o.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return o.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return o.encodeHTML}});var s=n(79878);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})},37007:function(e){"use strict";var t,n="object"==typeof Reflect?Reflect:null,r=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(n,r){var i,o,s;function a(n){e.removeListener(t,l),r(n)}function l(){"function"==typeof e.removeListener&&e.removeListener("error",a),n([].slice.call(arguments))}m(e,t,l,{once:!0}),"error"!==t&&(i=e,o=a,s={once:!0},"function"==typeof i.on&&m(i,"error",o,s))})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,n,r){if(a(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),s=o[t]),void 0===s)s=o[t]=n,++e._eventsCount;else if("function"==typeof s?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),(i=l(e))>0&&s.length>i&&!s.warned){s.warned=!0;var i,o,s,u=Error(“Possible EventEmitter memory leak detected. “+s.length+” “+String(t)+” listeners added. Use emitter.setMaxListeners() to increase limit”);u.name=”MaxListenersExceededWarning”,u.emitter=e,u.type=t,u.count=s.length,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function h(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=c.bind(r);return i.listener=n,r.wrapFn=i,i}function d(e,t,n){var r=e._events;if(void 0===r)return[];var i=r[t];return void 0===i?[]:”function”==typeof i?n?[i.listener||i]:[i]:n?function(e){for(var t=Array(e.length),n=0;n0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error(“Unhandled error.”+(s?” (“+s.message+”)”:””));throw a.context=s,a}var l=o[e];if(void 0===l)return!1;if(“function”==typeof l)r(l,this,t);else for(var u=l.length,c=f(l,u),n=0;n=0;o–)if(n[o]===t||n[o].listener===t){s=n[o].listener,i=o;break}if(i<0)return this;0===i?n.shift():function(e,t){for(;t+1=0;r–)this.removeListener(e,t[r]);return this},o.prototype.listeners=function(e){return d(this,e,!0)},o.prototype.rawListeners=function(e){return d(this,e,!1)},o.listenerCount=function(e,t){return”function”==typeof e.listenerCount?e.listenerCount(t):p.call(e,t)},o.prototype.listenerCount=p,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},66405:function(e,t,n){“use strict”;n.d(t,{A:()=>u});var r={fullscreenEnabled:0,fullscreenElement:1,requestFullscreen:2,exitFullscreen:3,fullscreenchange:4,fullscreenerror:5,fullscreen:6},i=[“webkitFullscreenEnabled”,”webkitFullscreenElement”,”webkitRequestFullscreen”,”webkitExitFullscreen”,”webkitfullscreenchange”,”webkitfullscreenerror”,”-webkit-full-screen”],o=[“mozFullScreenEnabled”,”mozFullScreenElement”,”mozRequestFullScreen”,”mozCancelFullScreen”,”mozfullscreenchange”,”mozfullscreenerror”,”-moz-full-screen”],s=[“msFullscreenEnabled”,”msFullscreenElement”,”msRequestFullscreen”,”msExitFullscreen”,”MSFullscreenChange”,”MSFullscreenError”,”-ms-fullscreen”],a=”undefined”!=typeof window&&void 0!==window.document?window.document:{},l=”fullscreenEnabled”in a&&Object.keys(r)||i[0]in a&&i||o[0]in a&&o||s[0]in a&&s||[];let u={requestFullscreen:function(e){return e[l[r.requestFullscreen]]()},requestFullscreenFunction:function(e){return e[l[r.requestFullscreen]]},get exitFullscreen(){return a[l[r.exitFullscreen]].bind(a)},get fullscreenPseudoClass(){return”:”+l[r.fullscreen]},addEventListener:function(e,t,n){return a.addEventListener(l[r[e]],t,n)},removeEventListener:function(e,t,n){return a.removeEventListener(l[r[e]],t,n)},get fullscreenEnabled(){return!!a[l[r.fullscreenEnabled]]},set fullscreenEnabled(val){},get fullscreenElement(){return a[l[r.fullscreenElement]]},set fullscreenElement(val){},get onfullscreenchange(){return a[(“on”+l[r.fullscreenchange]).toLowerCase()]},set onfullscreenchange(handler){return a[(“on”+l[r.fullscreenchange]).toLowerCase()]=handler},get onfullscreenerror(){return a[(“on”+l[r.fullscreenerror]).toLowerCase()]},set onfullscreenerror(handler){return a[(“on”+l[r.fullscreenerror]).toLowerCase()]=handler}}},56698:function(e){“function”==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},51079:function(e,t){t.klona=function e(t){if(“object”!=typeof t)return t;var n,r,i=Object.prototype.toString.call(t);if(“[object Object]”===i){if(t.constructor!==Object&&”function”==typeof t.constructor)for(n in r=new t.constructor,t)t.hasOwnProperty(n)&&r[n]!==t[n]&&(r[n]=e(t[n]));else for(n in r={},t)”__proto__”===n?Object.defineProperty(r,n,{value:e(t[n]),configurable:!0,enumerable:!0,writable:!0}):r[n]=e(t[n]);return r}if(“[object Array]”===i){for(r=Array(n=t.length);n–;)r[n]=e(t[n]);return r}return”[object Set]”===i?(r=new Set,t.forEach(function(t){r.add(e(t))}),r):”[object Map]”===i?(r=new Map,t.forEach(function(t,n){r.set(e(n),e(t))}),r):”[object Date]”===i?new Date(+t):”[object RegExp]”===i?((r=new RegExp(t.source,t.flags)).lastIndex=t.lastIndex,r):”[object DataView]”===i?new t.constructor(e(t.buffer)):”[object ArrayBuffer]”===i?t.slice(0):”Array]”===i.slice(-6)?new t.constructor(t):t}},99472:function(e,t,n){“use strict”;t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n(48482),i=n(14427),o=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}(i),s=n(68283),a=function(e){return new r.TokenState(e)},l=a(),u=a(),c=a(),h=a(),d=a(),p=a(),f=a(),m=a(i.URL),g=a(),y=a(i.URL),b=a(i.URL),v=a(),w=a(),x=a(),k=a(),_=a(),E=a(i.URL),S=a(i.URL),C=a(i.URL),A=a(i.URL),O=a(),T=a(),M=a(),D=a(),L=a(),N=a(),R=a(i.EMAIL),P=a(),I=a(i.EMAIL),z=a(i.MAILTOEMAIL),F=a(),j=a(),B=a(),q=a(),$=a(i.NL);l.on(s.NL,$).on(s.PROTOCOL,u).on(s.MAILTO,c).on(s.SLASH,h),u.on(s.SLASH,h),h.on(s.SLASH,d),l.on(s.TLD,p).on(s.DOMAIN,p).on(s.LOCALHOST,m).on(s.NUM,p),d.on(s.TLD,b).on(s.DOMAIN,b).on(s.NUM,b).on(s.LOCALHOST,b),p.on(s.DOT,f),L.on(s.DOT,N),f.on(s.TLD,m).on(s.DOMAIN,p).on(s.NUM,p).on(s.LOCALHOST,p),N.on(s.TLD,R).on(s.DOMAIN,L).on(s.NUM,L).on(s.LOCALHOST,L),m.on(s.DOT,f),R.on(s.DOT,N),m.on(s.COLON,g).on(s.SLASH,b),g.on(s.NUM,y),y.on(s.SLASH,b),R.on(s.COLON,P),P.on(s.NUM,I);var U=[s.DOMAIN,s.AT,s.LOCALHOST,s.NUM,s.PLUS,s.POUND,s.PROTOCOL,s.SLASH,s.TLD,s.UNDERSCORE,s.SYM,s.AMPERSAND],H=[s.COLON,s.DOT,s.QUERY,s.PUNCTUATION,s.CLOSEBRACE,s.CLOSEBRACKET,s.CLOSEANGLEBRACKET,s.CLOSEPAREN,s.OPENBRACE,s.OPENBRACKET,s.OPENANGLEBRACKET,s.OPENPAREN];b.on(s.OPENBRACE,w).on(s.OPENBRACKET,x).on(s.OPENANGLEBRACKET,k).on(s.OPENPAREN,_),v.on(s.OPENBRACE,w).on(s.OPENBRACKET,x).on(s.OPENANGLEBRACKET,k).on(s.OPENPAREN,_),w.on(s.CLOSEBRACE,b),x.on(s.CLOSEBRACKET,b),k.on(s.CLOSEANGLEBRACKET,b),_.on(s.CLOSEPAREN,b),E.on(s.CLOSEBRACE,b),S.on(s.CLOSEBRACKET,b),C.on(s.CLOSEANGLEBRACKET,b),A.on(s.CLOSEPAREN,b),O.on(s.CLOSEBRACE,b),T.on(s.CLOSEBRACKET,b),M.on(s.CLOSEANGLEBRACKET,b),D.on(s.CLOSEPAREN,b),w.on(U,E),x.on(U,S),k.on(U,C),_.on(U,A),w.on(H,O),x.on(H,T),k.on(H,M),_.on(H,D),E.on(U,E),S.on(U,S),C.on(U,C),A.on(U,A),E.on(H,E),S.on(H,S),C.on(H,C),A.on(H,A),O.on(U,E),T.on(U,S),M.on(U,C),D.on(U,A),O.on(H,O),T.on(H,T),M.on(H,M),D.on(H,D),b.on(U,b),v.on(U,b),b.on(H,v),v.on(H,v),c.on(s.TLD,z).on(s.DOMAIN,z).on(s.NUM,z).on(s.LOCALHOST,z),z.on(U,z).on(H,F),F.on(U,z).on(H,F);var V=[s.DOMAIN,s.NUM,s.PLUS,s.POUND,s.QUERY,s.UNDERSCORE,s.SYM,s.AMPERSAND,s.TLD];p.on(V,j).on(s.AT,B),m.on(V,j).on(s.AT,B),f.on(V,j),j.on(V,j).on(s.AT,B).on(s.DOT,q),q.on(V,j),B.on(s.TLD,L).on(s.DOMAIN,L).on(s.LOCALHOST,R),t.State=r.TokenState,t.TOKENS=o,t.run=function(e){for(var t=e.length,n=0,r=[],o=[];n=0&&d++,n++,c++;if(d<0)for(var p=n-c;p0&&(r.push(new i.TEXT(o)),o=[]),n-=d,c-=d;var f=h.emit();r.push(new f(e.slice(n-c,n)))}}return o.length>0&&r.push(new i.TEXT(o)),r},t.start=l},39741:function(e,t,n){“use strict”;t.__esModule=!0,t.start=t.run=t.TOKENS=t.State=void 0;var r=n(48482),i=n(68283),o=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}(i),s=”aaa|aarp|abarth|abb|abbott|abbvie|abc|able|abogado|abudhabi|ac|academy|accenture|accountant|accountants|aco|active|actor|ad|adac|ads|adult|ae|aeg|aero|aetna|af|afamilycompany|afl|africa|ag|agakhan|agency|ai|aig|aigo|airbus|airforce|airtel|akdn|al|alfaromeo|alibaba|alipay|allfinanz|allstate|ally|alsace|alstom|am|americanexpress|americanfamily|amex|amfam|amica|amsterdam|analytics|android|anquan|anz|ao|aol|apartments|app|apple|aq|aquarelle|ar|arab|aramco|archi|army|arpa|art|arte|as|asda|asia|associates|at|athleta|attorney|au|auction|audi|audible|audio|auspost|author|auto|autos|avianca|aw|aws|ax|axa|az|azure|ba|baby|baidu|banamex|bananarepublic|band|bank|bar|barcelona|barclaycard|barclays|barefoot|bargains|baseball|basketball|bauhaus|bayern|bb|bbc|bbt|bbva|bcg|bcn|bd|be|beats|beauty|beer|bentley|berlin|best|bestbuy|bet|bf|bg|bh|bharti|bi|bible|bid|bike|bing|bingo|bio|biz|bj|black|blackfriday|blanco|blockbuster|blog|bloomberg|blue|bm|bms|bmw|bn|bnl|bnpparibas|bo|boats|boehringer|bofa|bom|bond|boo|book|booking|boots|bosch|bostik|boston|bot|boutique|box|br|bradesco|bridgestone|broadway|broker|brother|brussels|bs|bt|budapest|bugatti|build|builders|business|buy|buzz|bv|bw|by|bz|bzh|ca|cab|cafe|cal|call|calvinklein|cam|camera|camp|cancerresearch|canon|capetown|capital|capitalone|car|caravan|cards|care|career|careers|cars|cartier|casa|case|caseih|cash|casino|cat|catering|catholic|cba|cbn|cbre|cbs|cc|cd|ceb|center|ceo|cern|cf|cfa|cfd|cg|ch|chanel|channel|chase|chat|cheap|chintai|chloe|christmas|chrome|chrysler|church|ci|cipriani|circle|cisco|citadel|citi|citic|city|cityeats|ck|cl|claims|cleaning|click|clinic|clinique|clothing|cloud|club|clubmed|cm|cn|co|coach|codes|coffee|college|cologne|com|comcast|commbank|community|company|compare|computer|comsec|condos|construction|consulting|contact|contractors|cooking|cookingchannel|cool|coop|corsica|country|coupon|coupons|courses|cr|credit|creditcard|creditunion|cricket|crown|crs|cruise|cruises|csc|cu|cuisinella|cv|cw|cx|cy|cymru|cyou|cz|dabur|dad|dance|data|date|dating|datsun|day|dclk|dds|de|deal|dealer|deals|degree|delivery|dell|deloitte|delta|democrat|dental|dentist|desi|design|dev|dhl|diamonds|diet|digital|direct|directory|discount|discover|dish|diy|dj|dk|dm|dnp|do|docs|doctor|dodge|dog|doha|domains|dot|download|drive|dtv|dubai|duck|dunlop|duns|dupont|durban|dvag|dvr|dz|earth|eat|ec|eco|edeka|edu|education|ee|eg|email|emerck|energy|engineer|engineering|enterprises|epost|epson|equipment|er|ericsson|erni|es|esq|estate|esurance|et|etisalat|eu|eurovision|eus|events|everbank|exchange|expert|exposed|express|extraspace|fage|fail|fairwinds|faith|family|fan|fans|farm|farmers|fashion|fast|fedex|feedback|ferrari|ferrero|fi|fiat|fidelity|fido|film|final|finance|financial|fire|firestone|firmdale|fish|fishing|fit|fitness|fj|fk|flickr|flights|flir|florist|flowers|fly|fm|fo|foo|food|foodnetwork|football|ford|forex|forsale|forum|foundation|fox|fr|free|fresenius|frl|frogans|frontdoor|frontier|ftr|fujitsu|fujixerox|fun|fund|furniture|futbol|fyi|ga|gal|gallery|gallo|gallup|game|games|gap|garden|gb|gbiz|gd|gdn|ge|gea|gent|genting|george|gf|gg|ggee|gh|gi|gift|gifts|gives|giving|gl|glade|glass|gle|global|globo|gm|gmail|gmbh|gmo|gmx|gn|godaddy|gold|goldpoint|golf|goo|goodhands|goodyear|goog|google|gop|got|gov|gp|gq|gr|grainger|graphics|gratis|green|gripe|grocery|group|gs|gt|gu|guardian|gucci|guge|guide|guitars|guru|gw|gy|hair|hamburg|hangout|haus|hbo|hdfc|hdfcbank|health|healthcare|help|helsinki|here|hermes|hgtv|hiphop|hisamitsu|hitachi|hiv|hk|hkt|hm|hn|hockey|holdings|holiday|homedepot|homegoods|homes|homesense|honda|honeywell|horse|hospital|host|hosting|hot|hoteles|hotels|hotmail|house|how|hr|hsbc|ht|htc|hu|hughes|hyatt|hyundai|ibm|icbc|ice|icu|id|ie|ieee|ifm|ikano|il|im|imamat|imdb|immo|immobilien|in|industries|infiniti|info|ing|ink|institute|insurance|insure|int|intel|international|intuit|investments|io|ipiranga|iq|ir|irish|is|iselect|ismaili|ist|istanbul|it|itau|itv|iveco|iwc|jaguar|java|jcb|jcp|je|jeep|jetzt|jewelry|jio|jlc|jll|jm|jmp|jnj|jo|jobs|joburg|jot|joy|jp|jpmorgan|jprs|juegos|juniper|kaufen|kddi|ke|kerryhotels|kerrylogistics|kerryproperties|kfh|kg|kh|ki|kia|kim|kinder|kindle|kitchen|kiwi|km|kn|koeln|komatsu|kosher|kp|kpmg|kpn|kr|krd|kred|kuokgroup|kw|ky|kyoto|kz|la|lacaixa|ladbrokes|lamborghini|lamer|lancaster|lancia|lancome|land|landrover|lanxess|lasalle|lat|latino|latrobe|law|lawyer|lb|lc|lds|lease|leclerc|lefrak|legal|lego|lexus|lgbt|li|liaison|lidl|life|lifeinsurance|lifestyle|lighting|like|lilly|limited|limo|lincoln|linde|link|lipsy|live|living|lixil|lk|loan|loans|locker|locus|loft|lol|london|lotte|lotto|love|lpl|lplfinancial|lr|ls|lt|ltd|ltda|lu|lundbeck|lupin|luxe|luxury|lv|ly|ma|macys|madrid|maif|maison|makeup|man|management|mango|map|market|marketing|markets|marriott|marshalls|maserati|mattel|mba|mc|mckinsey|md|me|med|media|meet|melbourne|meme|memorial|men|menu|meo|merckmsd|metlife|mg|mh|miami|microsoft|mil|mini|mint|mit|mitsubishi|mk|ml|mlb|mls|mm|mma|mn|mo|mobi|mobile|mobily|moda|moe|moi|mom|monash|money|monster|mopar|mormon|mortgage|moscow|moto|motorcycles|mov|movie|movistar|mp|mq|mr|ms|msd|mt|mtn|mtr|mu|museum|mutual|mv|mw|mx|my|mz|na|nab|nadex|nagoya|name|nationwide|natura|navy|nba|nc|ne|nec|net|netbank|netflix|network|neustar|new|newholland|news|next|nextdirect|nexus|nf|nfl|ng|ngo|nhk|ni|nico|nike|nikon|ninja|nissan|nissay|nl|no|nokia|northwesternmutual|norton|now|nowruz|nowtv|np|nr|nra|nrw|ntt|nu|nyc|nz|obi|observer|off|office|okinawa|olayan|olayangroup|oldnavy|ollo|om|omega|one|ong|onl|online|onyourside|ooo|open|oracle|orange|org|organic|origins|osaka|otsuka|ott|ovh|pa|page|panasonic|panerai|paris|pars|partners|parts|party|passagens|pay|pccw|pe|pet|pf|pfizer|pg|ph|pharmacy|phd|philips|phone|photo|photography|photos|physio|piaget|pics|pictet|pictures|pid|pin|ping|pink|pioneer|pizza|pk|pl|place|play|playstation|plumbing|plus|pm|pn|pnc|pohl|poker|politie|porn|post|pr|pramerica|praxi|press|prime|pro|prod|productions|prof|progressive|promo|properties|property|protection|pru|prudential|ps|pt|pub|pw|pwc|py|qa|qpon|quebec|quest|qvc|racing|radio|raid|re|read|realestate|realtor|realty|recipes|red|redstone|redumbrella|rehab|reise|reisen|reit|reliance|ren|rent|rentals|repair|report|republican|rest|restaurant|review|reviews|rexroth|rich|richardli|ricoh|rightathome|ril|rio|rip|rmit|ro|rocher|rocks|rodeo|rogers|room|rs|rsvp|ru|rugby|ruhr|run|rw|rwe|ryukyu|sa|saarland|safe|safety|sakura|sale|salon|samsclub|samsung|sandvik|sandvikcoromant|sanofi|sap|sapo|sarl|sas|save|saxo|sb|sbi|sbs|sc|sca|scb|schaeffler|schmidt|scholarships|school|schule|schwarz|science|scjohnson|scor|scot|sd|se|search|seat|secure|security|seek|select|sener|services|ses|seven|sew|sex|sexy|sfr|sg|sh|shangrila|sharp|shaw|shell|shia|shiksha|shoes|shop|shopping|shouji|show|showtime|shriram|si|silk|sina|singles|site|sj|sk|ski|skin|sky|skype|sl|sling|sm|smart|smile|sn|sncf|so|soccer|social|softbank|software|sohu|solar|solutions|song|sony|soy|space|spiegel|spot|spreadbetting|sr|srl|srt|st|stada|staples|star|starhub|statebank|statefarm|statoil|stc|stcgroup|stockholm|storage|store|stream|studio|study|style|su|sucks|supplies|supply|support|surf|surgery|suzuki|sv|swatch|swiftcover|swiss|sx|sy|sydney|symantec|systems|sz|tab|taipei|talk|taobao|target|tatamotors|tatar|tattoo|tax|taxi|tc|tci|td|tdk|team|tech|technology|tel|telecity|telefonica|temasek|tennis|teva|tf|tg|th|thd|theater|theatre|tiaa|tickets|tienda|tiffany|tips|tires|tirol|tj|tjmaxx|tjx|tk|tkmaxx|tl|tm|tmall|tn|to|today|tokyo|tools|top|toray|toshiba|total|tours|town|toyota|toys|tr|trade|trading|training|travel|travelchannel|travelers|travelersinsurance|trust|trv|tt|tube|tui|tunes|tushu|tv|tvs|tw|tz|ua|ubank|ubs|uconnect|ug|uk|unicom|university|uno|uol|ups|us|uy|uz|va|vacations|vana|vanguard|vc|ve|vegas|ventures|verisign|versicherung|vet|vg|vi|viajes|video|vig|viking|villas|vin|vip|virgin|visa|vision|vista|vistaprint|viva|vivo|vlaanderen|vn|vodka|volkswagen|volvo|vote|voting|voto|voyage|vu|vuelos|wales|walmart|walter|wang|wanggou|warman|watch|watches|weather|weatherchannel|webcam|weber|website|wed|wedding|weibo|weir|wf|whoswho|wien|wiki|williamhill|win|windows|wine|winners|wme|wolterskluwer|woodside|work|works|world|wow|ws|wtc|wtf|xbox|xerox|xfinity|xihuan|xin|xn--11b4c3d|xn--1ck2e1b|xn--1qqw23a|xn--2scrj9c|xn--30rr7y|xn--3bst00m|xn--3ds443g|xn--3e0b707e|xn--3hcrj9c|xn--3oq18vl8pn36a|xn--3pxu8k|xn--42c2d9a|xn--45br5cyl|xn--45brj9c|xn--45q11c|xn--4gbrim|xn--54b7fta0cc|xn--55qw42g|xn--55qx5d|xn--5su34j936bgsg|xn--5tzm5g|xn--6frz82g|xn--6qq986b3xl|xn--80adxhks|xn--80ao21a|xn--80aqecdr1a|xn--80asehdb|xn--80aswg|xn--8y0a063a|xn--90a3ac|xn--90ae|xn--90ais|xn--9dbq2a|xn--9et52u|xn--9krt00a|xn--b4w605ferd|xn--bck1b9a5dre4c|xn--c1avg|xn--c2br7g|xn--cck2b3b|xn--cg4bki|xn--clchc0ea0b2g2a9gcd|xn--czr694b|xn--czrs0t|xn--czru2d|xn--d1acj3b|xn--d1alf|xn--e1a4c|xn--eckvdtc9d|xn--efvy88h|xn--estv75g|xn--fct429k|xn--fhbei|xn--fiq228c5hs|xn--fiq64b|xn--fiqs8s|xn--fiqz9s|xn--fjq720a|xn--flw351e|xn--fpcrj9c3d|xn--fzc2c9e2c|xn--fzys8d69uvgm|xn--g2xx48c|xn--gckr3f0f|xn--gecrj9c|xn--gk3at1e|xn--h2breg3eve|xn--h2brj9c|xn--h2brj9c8c|xn--hxt814e|xn--i1b6b1a6a2e|xn--imr513n|xn--io0a7i|xn--j1aef|xn--j1amh|xn--j6w193g|xn--jlq61u9w7b|xn--jvr189m|xn--kcrx77d1x4a|xn--kprw13d|xn--kpry57d|xn--kpu716f|xn--kput3i|xn--l1acc|xn--lgbbat1ad8j|xn--mgb9awbf|xn--mgba3a3ejt|xn--mgba3a4f16a|xn--mgba7c0bbn0a|xn--mgbaakc7dvf|xn--mgbaam7a8h|xn--mgbab2bd|xn--mgbai9azgqp6j|xn--mgbayh7gpa|xn--mgbb9fbpob|xn--mgbbh1a|xn--mgbbh1a71e|xn--mgbc0a9azcg|xn--mgbca7dzdo|xn--mgberp4a5d4ar|xn--mgbgu82a|xn--mgbi4ecexp|xn--mgbpl2fh|xn--mgbt3dhd|xn--mgbtx2b|xn--mgbx4cd0ab|xn--mix891f|xn--mk1bu44c|xn--mxtq1m|xn--ngbc5azd|xn--ngbe9e0a|xn--ngbrx|xn--node|xn--nqv7f|xn--nqv7fs00ema|xn--nyqy26a|xn--o3cw4h|xn--ogbpf8fl|xn--p1acf|xn--p1ai|xn--pbt977c|xn--pgbs0dh|xn--pssy2u|xn--q9jyb4c|xn--qcka1pmc|xn--qxam|xn--rhqv96g|xn--rovu88b|xn--rvc1e0am3e|xn--s9brj9c|xn--ses554g|xn--t60b56a|xn--tckwe|xn--tiq49xqyj|xn--unup4y|xn--vermgensberater-ctb|xn--vermgensberatung-pwb|xn--vhquv|xn--vuq861b|xn--w4r85el8fhu5dnra|xn--w4rs40l|xn--wgbh1c|xn--wgbl6a|xn--xhq521b|xn--xkc2al3hye2a|xn--xkc2dl3a5ee0h|xn--y9a3aq|xn--yfro4i67o|xn--ygbi2ammx|xn--zfr164b|xperia|xxx|xyz|yachts|yahoo|yamaxun|yandex|ye|yodobashi|yoga|yokohama|you|youtube|yt|yun|za|zappos|zara|zero|zip|zippo|zm|zone|zuerich|zw”.split(“|”),a=”0123456789″.split(“”),l=”0123456789abcdefghijklmnopqrstuvwxyz”.split(“”),u=[” “,”\f”,”\r”,” “,”\v”,”\xa0″,” ”,””],c=[],h=function(e){return new r.CharacterState(e)},d=h(),p=h(i.NUM),f=h(i.DOMAIN),m=h(),g=h(i.WS);d.on(“@”,h(i.AT)).on(“.”,h(i.DOT)).on(“+”,h(i.PLUS)).on(“#”,h(i.POUND)).on(“?”,h(i.QUERY)).on(“/”,h(i.SLASH)).on(“_”,h(i.UNDERSCORE)).on(“:”,h(i.COLON)).on(“{“,h(i.OPENBRACE)).on(“[“,h(i.OPENBRACKET)).on(“<",h(i.OPENANGLEBRACKET)).on("(",h(i.OPENPAREN)).on("}",h(i.CLOSEBRACE)).on("]",h(i.CLOSEBRACKET)).on(">“,h(i.CLOSEANGLEBRACKET)).on(“)”,h(i.CLOSEPAREN)).on(“&”,h(i.AMPERSAND)).on([“,”,”;”,”!”,'”‘,”‘”],h(i.PUNCTUATION)),d.on(“\n”,h(i.NL)).on(u,g),g.on(u,g);for(var y=0;y=0&&u++,a++,i++;if(!(u<0)){i-=u,a-=u;var c=l.emit();r.push(new c(e.substr(i-a,a)))}}return r},t.start=d},48482:function(e,t,n){"use strict";t.__esModule=!0,t.stateify=t.TokenState=t.CharacterState=void 0;var r=n(9773);function i(){return function(e){this.j=[],this.T=e||null}}var o=i();o.prototype={defaultTransition:!1,on:function(e,t){if(e instanceof Array){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=this.next(new e(“”));return n===this.defaultTransition?(n=new this.constructor(t),this.on(e,n)):t&&(n.T=t),n},test:function(e,t){return e instanceof t}});t.CharacterState=s,t.TokenState=a,t.stateify=function(e,t,n,r){for(var i=0,o=e.length,a=t,l=[],u=void 0;i=o)return[];for(;i0&&void 0!==arguments[0]?arguments[0]:”http”;return{type:this.type,value:this.toString(),href:this.toHref(e)}}};var a=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:”email”,isLink:!0}),l=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:”email”,isLink:!0,toHref:function(){return”mailto:”+this.toString()}}),u=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:”text”}),c=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:”nl”}),h=(0,i.inherits)(s,(0,r.createTokenClass)(),{type:”url”,isLink:!0,toHref:function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:”http”,n=!1,r=!1,i=this.v,s=[],a=0;i[a]instanceof o.PROTOCOL;)n=!0,s.push(i[a].toString().toLowerCase()),a++;for(;i[a]instanceof o.SLASH;)r=!0,s.push(i[a].toString()),a++;for(;(e=i[a])instanceof o.DOMAIN||e instanceof o.TLD;)s.push(i[a].toString().toLowerCase()),a++;for(;a“),L=s(“)”),N=s(“&”);t.Base=o,t.DOMAIN=a,t.AT=l,t.COLON=u,t.DOT=c,t.PUNCTUATION=h,t.LOCALHOST=d,t.NL=p,t.NUM=f,t.PLUS=m,t.POUND=g,t.QUERY=v,t.PROTOCOL=y,t.MAILTO=b,t.SLASH=w,t.UNDERSCORE=x,t.SYM=k,t.TLD=_,t.WS=E,t.OPENBRACE=S,t.OPENBRACKET=C,t.OPENANGLEBRACKET=A,t.OPENPAREN=O,t.CLOSEBRACE=T,t.CLOSEBRACKET=M,t.CLOSEANGLEBRACKET=D,t.CLOSEPAREN=L,t.AMPERSAND=N},9773:function(e,t){“use strict”;t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var i in n)r[i]=n[i];return r.constructor=t,t.prototype=r,t}},85747:function(e,t){“use strict”;t.__esModule=!0;var n=”function”==typeof Symbol&&”symbol”==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&”function”==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?”symbol”:typeof e},r={defaultProtocol:”http”,events:null,format:o,formatHref:o,nl2br:!1,tagName:”a”,target:function(e,t){return”url”===t?”_blank”:null},validate:!0,ignoreTags:[],attributes:null,className:”linkified”};function i(e){e=e||{},this.defaultProtocol=e.hasOwnProperty(“defaultProtocol”)?e.defaultProtocol:r.defaultProtocol,this.events=e.hasOwnProperty(“events”)?e.events:r.events,this.format=e.hasOwnProperty(“format”)?e.format:r.format,this.formatHref=e.hasOwnProperty(“formatHref”)?e.formatHref:r.formatHref,this.nl2br=e.hasOwnProperty(“nl2br”)?e.nl2br:r.nl2br,this.tagName=e.hasOwnProperty(“tagName”)?e.tagName:r.tagName,this.target=e.hasOwnProperty(“target”)?e.target:r.target,this.validate=e.hasOwnProperty(“validate”)?e.validate:r.validate,this.ignoreTags=[],this.attributes=e.attributes||e.linkAttributes||r.attributes,this.className=e.hasOwnProperty(“className”)?e.className:e.linkClass||r.className;for(var t=e.hasOwnProperty(“ignoreTags”)?e.ignoreTags:r.ignoreTags,n=0;n=t?e:t)),e}},17721:function(e){e.exports=function(e,t){for(var n,r=-1,i=e.length;++r-1;);return n}},36800:function(e,t,n){var r=n(75288),i=n(64894),o=n(30361),s=n(23805);e.exports=function(e,t,n){if(!s(n))return!1;var a=typeof t;return(“number”==a?!!(i(n)&&o(t,n.length)):”string”==a&&t in n)&&r(n[t],e)}},11741:function(e,t,n){var r=n(98023);e.exports=function(e){return r(e)&&e!=+e}},98023:function(e,t,n){var r=n(72552),i=n(40346);e.exports=function(e){return”number”==typeof e||i(e)&&”[object Number]”==r(e)}},38970:function(e,t,n){var r=n(43360);e.exports=n(42e3)(function(e,t,n){r(e,n,t)})},7350:function(e,t,n){var r=n(38221),i=n(23805);e.exports=function(e,t,n){var o=!0,s=!0;if(“function”!=typeof e)throw TypeError(“Expected a function”);return i(n)&&(o=”leading”in n?!!n.leading:o,s=”trailing”in n?!!n.trailing:s),r(e,t,{leading:o,maxWait:t,trailing:s})}},63375:function(e,t,n){var r=n(55765);e.exports=function(e){return e&&e.length?r(e):[]}},87332:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“align-center”,[[“path”,{d:”M17 12H7″,key:”16if0g”}],[“path”,{d:”M19 18H5″,key:”18s9l3″}],[“path”,{d:”M21 6H3″,key:”1jwq7v”}]])},69308:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“align-left”,[[“path”,{d:”M15 12H3″,key:”6jk70r”}],[“path”,{d:”M17 18H3″,key:”1amg6g”}],[“path”,{d:”M21 6H3″,key:”1jwq7v”}]])},92919:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“align-right”,[[“path”,{d:”M21 12H9″,key:”dn1m92″}],[“path”,{d:”M21 18H7″,key:”1ygte8″}],[“path”,{d:”M21 6H3″,key:”1jwq7v”}]])},90232:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“arrow-left”,[[“path”,{d:”m12 19-7-7 7-7″,key:”1l729n”}],[“path”,{d:”M19 12H5″,key:”x3x0zl”}]])},48635:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“arrow-right”,[[“path”,{d:”M5 12h14″,key:”1ays0h”}],[“path”,{d:”m12 5 7 7-7 7″,key:”xquz4c”}]])},47796:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“bookmark-minus”,[[“path”,{d:”m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z”,key:”1fy3hk”}],[“line”,{x1:”15″,x2:”9″,y1:”10″,y2:”10″,key:”1gty7f”}]])},57157:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“bookmark”,[[“path”,{d:”m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z”,key:”1fy3hk”}]])},75107:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“chevron-down”,[[“path”,{d:”m6 9 6 6 6-6″,key:”qrunsl”}]])},37946:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“circle-alert”,[[“circle”,{cx:”12″,cy:”12″,r:”10″,key:”1mglay”}],[“line”,{x1:”12″,x2:”12″,y1:”8″,y2:”12″,key:”1pkeuh”}],[“line”,{x1:”12″,x2:”12.01″,y1:”16″,y2:”16″,key:”4dfq90″}]])},44471:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“circle-check-big”,[[“path”,{d:”M21.801 10A10 10 0 1 1 17 3.335″,key:”yps3ct”}],[“path”,{d:”m9 11 3 3L22 4″,key:”1pflzl”}]])},64997:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“circle-help”,[[“circle”,{cx:”12″,cy:”12″,r:”10″,key:”1mglay”}],[“path”,{d:”M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3″,key:”1u773s”}],[“path”,{d:”M12 17h.01″,key:”p32p05″}]])},50180:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“circle-x”,[[“circle”,{cx:”12″,cy:”12″,r:”10″,key:”1mglay”}],[“path”,{d:”m15 9-6 6″,key:”1uzhvr”}],[“path”,{d:”m9 9 6 6″,key:”z0biqf”}]])},71464:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“cloud-upload”,[[“path”,{d:”M12 13v8″,key:”1l5pq0″}],[“path”,{d:”M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242″,key:”1pljnt”}],[“path”,{d:”m8 17 4-4 4 4″,key:”1quai1″}]])},93164:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“code”,[[“polyline”,{points:”16 18 22 12 16 6″,key:”z7tu5w”}],[“polyline”,{points:”8 6 2 12 8 18″,key:”1eg1df”}]])},35404:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“copy”,[[“rect”,{width:”14″,height:”14″,x:”8″,y:”8″,rx:”2″,ry:”2″,key:”17jyea”}],[“path”,{d:”M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2″,key:”zix9uf”}]])},822:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“corner-down-right”,[[“polyline”,{points:”15 10 20 15 15 20″,key:”1q7qjw”}],[“path”,{d:”M4 4v7a4 4 0 0 0 4 4h12″,key:”z08zvw”}]])},48309:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“download”,[[“path”,{d:”M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4″,key:”ih7n3h”}],[“polyline”,{points:”7 10 12 15 17 10″,key:”2ggqvy”}],[“line”,{x1:”12″,x2:”12″,y1:”15″,y2:”3″,key:”1vk2je”}]])},3213:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“ellipsis-vertical”,[[“circle”,{cx:”12″,cy:”12″,r:”1″,key:”41hilf”}],[“circle”,{cx:”12″,cy:”5″,r:”1″,key:”gxeob9″}],[“circle”,{cx:”12″,cy:”19″,r:”1″,key:”lyex9k”}]])},51745:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“expand”,[[“path”,{d:”m15 15 6 6″,key:”1s409w”}],[“path”,{d:”m15 9 6-6″,key:”ko1vev”}],[“path”,{d:”M21 16.2V21h-4.8″,key:”1hrera”}],[“path”,{d:”M21 7.8V3h-4.8″,key:”ul1q53″}],[“path”,{d:”M3 16.2V21h4.8″,key:”1x04uo”}],[“path”,{d:”m3 21 6-6″,key:”wwnumi”}],[“path”,{d:”M3 7.8V3h4.8″,key:”1ijppm”}],[“path”,{d:”M9 9 3 3″,key:”v551iv”}]])},93540:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“eye-off”,[[“path”,{d:”M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49″,key:”ct8e1f”}],[“path”,{d:”M14.084 14.158a3 3 0 0 1-4.242-4.242″,key:”151rxh”}],[“path”,{d:”M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143″,key:”13bj9a”}],[“path”,{d:”m2 2 20 20″,key:”1ooewy”}]])},80827:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“file-text”,[[“path”,{d:”M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z”,key:”1rqfz7″}],[“path”,{d:”M14 2v4a2 2 0 0 0 2 2h4″,key:”tnqrlb”}],[“path”,{d:”M10 9H8″,key:”b1mrlr”}],[“path”,{d:”M16 13H8″,key:”t4e002″}],[“path”,{d:”M16 17H8″,key:”z1uh3a”}]])},23681:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“file-up”,[[“path”,{d:”M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z”,key:”1rqfz7″}],[“path”,{d:”M14 2v4a2 2 0 0 0 2 2h4″,key:”tnqrlb”}],[“path”,{d:”M12 12v6″,key:”3ahymv”}],[“path”,{d:”m15 15-3-3-3 3″,key:”15xj92″}]])},44202:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“gauge”,[[“path”,{d:”m12 14 4-4″,key:”9kzdfg”}],[“path”,{d:”M3.34 19a10 10 0 1 1 17.32 0″,key:”19p75a”}]])},21436:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“grip-vertical”,[[“circle”,{cx:”9″,cy:”12″,r:”1″,key:”1vctgf”}],[“circle”,{cx:”9″,cy:”5″,r:”1″,key:”hp0tcf”}],[“circle”,{cx:”9″,cy:”19″,r:”1″,key:”fkjjf6″}],[“circle”,{cx:”15″,cy:”12″,r:”1″,key:”1tmaij”}],[“circle”,{cx:”15″,cy:”5″,r:”1″,key:”19l28e”}],[“circle”,{cx:”15″,cy:”19″,r:”1″,key:”f4zoj3″}]])},23345:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“heart”,[[“path”,{d:”M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z”,key:”c3ymky”}]])},64296:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“image-off”,[[“line”,{x1:”2″,x2:”22″,y1:”2″,y2:”22″,key:”a6p6uj”}],[“path”,{d:”M10.41 10.41a2 2 0 1 1-2.83-2.83″,key:”1bzlo9″}],[“line”,{x1:”13.5″,x2:”6″,y1:”13.5″,y2:”21″,key:”1q0aeu”}],[“line”,{x1:”18″,x2:”21″,y1:”12″,y2:”15″,key:”5mozeu”}],[“path”,{d:”M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59″,key:”mmje98″}],[“path”,{d:”M21 15V5a2 2 0 0 0-2-2H9″,key:”43el77″}]])},59612:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“image”,[[“rect”,{width:”18″,height:”18″,x:”3″,y:”3″,rx:”2″,ry:”2″,key:”1m3agn”}],[“circle”,{cx:”9″,cy:”9″,r:”2″,key:”af1f0g”}],[“path”,{d:”m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21″,key:”1xmnt7″}]])},91378:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“languages”,[[“path”,{d:”m5 8 6 6″,key:”1wu5hv”}],[“path”,{d:”m4 14 6-6 2-3″,key:”1k1g8d”}],[“path”,{d:”M2 5h12″,key:”or177f”}],[“path”,{d:”M7 2h1″,key:”1t2jsx”}],[“path”,{d:”m22 22-5-10-5 10″,key:”don7ne”}],[“path”,{d:”M14 18h6″,key:”1m8k6r”}]])},82853:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“link”,[[“path”,{d:”M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71″,key:”1cjeqo”}],[“path”,{d:”M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71″,key:”19qd67″}]])},67078:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“lock”,[[“rect”,{width:”18″,height:”11″,x:”3″,y:”11″,rx:”2″,ry:”2″,key:”1w4ew1″}],[“path”,{d:”M7 11V7a5 5 0 0 1 10 0v4″,key:”fwvmzm”}]])},43954:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“mail”,[[“rect”,{width:”20″,height:”16″,x:”2″,y:”4″,rx:”2″,key:”18n3k1″}],[“path”,{d:”m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7″,key:”1ocrg3″}]])},63324:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“maximize-2”,[[“polyline”,{points:”15 3 21 3 21 9″,key:”mznyad”}],[“polyline”,{points:”9 21 3 21 3 15″,key:”1avn1i”}],[“line”,{x1:”21″,x2:”14″,y1:”3″,y2:”10″,key:”ota7mn”}],[“line”,{x1:”3″,x2:”10″,y1:”21″,y2:”14″,key:”1atl0r”}]])},77079:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“maximize”,[[“path”,{d:”M8 3H5a2 2 0 0 0-2 2v3″,key:”1dcmit”}],[“path”,{d:”M21 8V5a2 2 0 0 0-2-2h-3″,key:”1e4gt3″}],[“path”,{d:”M3 16v3a2 2 0 0 0 2 2h3″,key:”wsl5sc”}],[“path”,{d:”M16 21h3a2 2 0 0 0 2-2v-3″,key:”18trek”}]])},48587:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“message-circle-off”,[[“path”,{d:”M20.5 14.9A9 9 0 0 0 9.1 3.5″,key:”1iebmn”}],[“path”,{d:”m2 2 20 20″,key:”1ooewy”}],[“path”,{d:”M5.6 5.6C3 8.3 2.2 12.5 4 16l-2 6 6-2c3.4 1.8 7.6 1.1 10.3-1.7″,key:”1ov8ce”}]])},54687:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“message-circle”,[[“path”,{d:”M7.9 20A9 9 0 1 0 4 16.1L2 22Z”,key:”vv11sd”}]])},46845:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“minimize”,[[“path”,{d:”M8 3v3a2 2 0 0 1-2 2H3″,key:”hohbtr”}],[“path”,{d:”M21 8h-3a2 2 0 0 1-2-2V3″,key:”5jw1f3″}],[“path”,{d:”M3 16h3a2 2 0 0 1 2 2v3″,key:”198tvr”}],[“path”,{d:”M16 21v-3a2 2 0 0 1 2-2h3″,key:”ph8mxp”}]])},4885:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“move-diagonal-2”,[[“path”,{d:”M19 13v6h-6″,key:”1hxl6d”}],[“path”,{d:”M5 11V5h6″,key:”12e2xe”}],[“path”,{d:”m5 5 14 14″,key:”11anup”}]])},13558:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“palette”,[[“circle”,{cx:”13.5″,cy:”6.5″,r:”.5″,fill:”currentColor”,key:”1okk4w”}],[“circle”,{cx:”17.5″,cy:”10.5″,r:”.5″,fill:”currentColor”,key:”f64h9f”}],[“circle”,{cx:”8.5″,cy:”7.5″,r:”.5″,fill:”currentColor”,key:”fotxhn”}],[“circle”,{cx:”6.5″,cy:”12.5″,r:”.5″,fill:”currentColor”,key:”qy21gx”}],[“path”,{d:”M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z”,key:”12rzf8″}]])},7611:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“pause”,[[“rect”,{x:”14″,y:”4″,width:”4″,height:”16″,rx:”1″,key:”zuxfzm”}],[“rect”,{x:”6″,y:”4″,width:”4″,height:”16″,rx:”1″,key:”1okwgv”}]])},84934:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“pen”,[[“path”,{d:”M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z”,key:”1a8usu”}]])},65892:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“pencil”,[[“path”,{d:”M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z”,key:”1a8usu”}],[“path”,{d:”m15 5 4 4″,key:”1mk7zo”}]])},91743:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“picture-in-picture-2”,[[“path”,{d:”M21 9V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v10c0 1.1.9 2 2 2h4″,key:”daa4of”}],[“rect”,{width:”10″,height:”7″,x:”12″,y:”13″,rx:”2″,key:”1nb8gs”}]])},85731:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“play”,[[“polygon”,{points:”6 3 20 12 6 21 6 3″,key:”1oa8hb”}]])},80697:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“plus”,[[“path”,{d:”M5 12h14″,key:”1ays0h”}],[“path”,{d:”M12 5v14″,key:”s699le”}]])},85353:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“podcast”,[[“path”,{d:”M16.85 18.58a9 9 0 1 0-9.7 0″,key:”d71mpg”}],[“path”,{d:”M8 14a5 5 0 1 1 8 0″,key:”fc81rn”}],[“circle”,{cx:”12″,cy:”11″,r:”1″,key:”1gvufo”}],[“path”,{d:”M13 17a1 1 0 1 0-2 0l.5 4.5a.5.5 0 1 0 1 0Z”,key:”za5kbj”}]])},57209:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“rectangle-horizontal”,[[“rect”,{width:”20″,height:”12″,x:”2″,y:”6″,rx:”2″,key:”9lu3g6″}]])},70511:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“rectangle-vertical”,[[“rect”,{width:”12″,height:”20″,x:”6″,y:”2″,rx:”2″,key:”1oxtiu”}]])},15977:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“refresh-cw”,[[“path”,{d:”M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8″,key:”v9h5vc”}],[“path”,{d:”M21 3v5h-5″,key:”1q7to0″}],[“path”,{d:”M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16″,key:”3uifl3″}],[“path”,{d:”M8 16H3v5″,key:”1cv678″}]])},99609:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“reply”,[[“polyline”,{points:”9 17 4 12 9 7″,key:”hvgpf2″}],[“path”,{d:”M20 18v-2a4 4 0 0 0-4-4H4″,key:”5vmcpk”}]])},59492:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“rotate-ccw”,[[“path”,{d:”M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8″,key:”1357e3″}],[“path”,{d:”M3 3v5h5″,key:”1xhq8a”}]])},18409:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“rss”,[[“path”,{d:”M4 11a9 9 0 0 1 9 9″,key:”pv89mb”}],[“path”,{d:”M4 4a16 16 0 0 1 16 16″,key:”k0647b”}],[“circle”,{cx:”5″,cy:”19″,r:”1″,key:”bfqh0e”}]])},16858:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“scissors”,[[“circle”,{cx:”6″,cy:”6″,r:”3″,key:”1lh9wr”}],[“path”,{d:”M8.12 8.12 12 12″,key:”1alkpv”}],[“path”,{d:”M20 4 8.12 15.88″,key:”xgtan2″}],[“circle”,{cx:”6″,cy:”18″,r:”3″,key:”fqmcym”}],[“path”,{d:”M14.8 14.8 20 20″,key:”ptml3r”}]])},98445:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“search”,[[“circle”,{cx:”11″,cy:”11″,r:”8″,key:”4ej97u”}],[“path”,{d:”m21 21-4.3-4.3″,key:”1qie3q”}]])},27775:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“send”,[[“path”,{d:”M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z”,key:”1ffxy3″}],[“path”,{d:”m21.854 2.147-10.94 10.939″,key:”12cjpa”}]])},56195:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“settings-2”,[[“path”,{d:”M20 7h-9″,key:”3s1dr2″}],[“path”,{d:”M14 17H5″,key:”gfn3mx”}],[“circle”,{cx:”17″,cy:”17″,r:”3″,key:”18b49y”}],[“circle”,{cx:”7″,cy:”7″,r:”3″,key:”dfmy0x”}]])},80964:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“settings”,[[“path”,{d:”M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z”,key:”1qme2f”}],[“circle”,{cx:”12″,cy:”12″,r:”3″,key:”1v7zrd”}]])},72170:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“share”,[[“path”,{d:”M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8″,key:”1b2hhj”}],[“polyline”,{points:”16 6 12 2 8 6″,key:”m901s6″}],[“line”,{x1:”12″,x2:”12″,y1:”2″,y2:”15″,key:”1p0rca”}]])},22492:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“shield”,[[“path”,{d:”M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z”,key:”oel41y”}]])},48858:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“skip-forward”,[[“polygon”,{points:”5 4 15 12 5 20 5 4″,key:”16p6eg”}],[“line”,{x1:”19″,x2:”19″,y1:”5″,y2:”19″,key:”futhcm”}]])},12203:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“sparkle”,[[“path”,{d:”M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z”,key:”4pj2yx”}]])},46110:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“sparkles”,[[“path”,{d:”M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z”,key:”4pj2yx”}],[“path”,{d:”M20 3v4″,key:”1olli1″}],[“path”,{d:”M22 5h-4″,key:”1gvqau”}],[“path”,{d:”M4 17v2″,key:”vumght”}],[“path”,{d:”M5 18H3″,key:”zchphs”}]])},98188:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“square-pen”,[[“path”,{d:”M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7″,key:”1m0v6g”}],[“path”,{d:”M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z”,key:”ohrbg2″}]])},32708:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“trash-2”,[[“path”,{d:”M3 6h18″,key:”d0wm0j”}],[“path”,{d:”M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6″,key:”4alrt4″}],[“path”,{d:”M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2″,key:”v07s0e”}],[“line”,{x1:”10″,x2:”10″,y1:”11″,y2:”17″,key:”1uufr5″}],[“line”,{x1:”14″,x2:”14″,y1:”11″,y2:”17″,key:”xtxkd”}]])},16079:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“user-x”,[[“path”,{d:”M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2″,key:”1yyitq”}],[“circle”,{cx:”9″,cy:”7″,r:”4″,key:”nufk8″}],[“line”,{x1:”17″,x2:”22″,y1:”8″,y2:”13″,key:”3nzzx3″}],[“line”,{x1:”22″,x2:”17″,y1:”8″,y2:”13″,key:”1swrse”}]])},48686:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“user”,[[“path”,{d:”M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2″,key:”975kel”}],[“circle”,{cx:”12″,cy:”7″,r:”4″,key:”17ys0d”}]])},43850:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“video-off”,[[“path”,{d:”M10.66 6H14a2 2 0 0 1 2 2v2.5l5.248-3.062A.5.5 0 0 1 22 7.87v8.196″,key:”w8jjjt”}],[“path”,{d:”M16 16a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2″,key:”1xawa7″}],[“path”,{d:”m2 2 20 20″,key:”1ooewy”}]])},72985:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“volume-1”,[[“path”,{d:”M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z”,key:”uqj9uw”}],[“path”,{d:”M16 9a5 5 0 0 1 0 6″,key:”1q6k2b”}]])},55584:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“volume-2”,[[“path”,{d:”M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z”,key:”uqj9uw”}],[“path”,{d:”M16 9a5 5 0 0 1 0 6″,key:”1q6k2b”}],[“path”,{d:”M19.364 18.364a9 9 0 0 0 0-12.728″,key:”ijwkga”}]])},25027:function(e,t,n){“use strict”;n.d(t,{A:()=>r});let r=(0,n(81315).A)(“volume”,[[“path”,{d:”M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z”,key:”uqj9uw”}]])},29466:function(e){var t;t=function(){return function(e){function t(e){return” “===e||” “===e||”\n”===e||”\f”===e||”\r”===e}function n(t){var n,r=t.exec(e.substring(m));if(r)return n=r[0],m+=n.length,n}for(var r,i,o,s,a,l=e.length,u=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,h=/^[^ \t\n\r\u000c]+/,d=/[,]+$/,p=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m=0,g=[];;){if(n(c),m>=l)return g;r=n(h),i=[],”,”===r.slice(-1)?(r=r.replace(d,””),y()):function(){for(n(u),o=””,s=”in descriptor”;;){if(a=e.charAt(m),”in descriptor”===s)if(t(a))o&&(i.push(o),o=””,s=”after descriptor”);else if(“,”===a){m+=1,o&&i.push(o),y();return}else if(“(“===a)o+=a,s=”in parens”;else if(“”===a){o&&i.push(o),y();return}else o+=a;else if(“in parens”===s)if(“)”===a)o+=a,s=”in descriptor”;else if(“”===a){i.push(o),y();return}else o+=a;else if(“after descriptor”===s)if(t(a));else{if(“”===a)return void y();s=”in descriptor”,m-=1}m+=1}}()}function y(){var t,n,o,s,a,l,u,c,h,d=!1,m={};for(s=0;s2){var l=r.lastIndexOf(“/”);if(l!==r.length-1){-1===l?(r=””,i=0):i=(r=r.slice(0,l)).length-1-r.lastIndexOf(“/”),o=a,s=0;continue}}else if(2===r.length||1===r.length){r=””,i=0,o=a,s=0;continue}}t&&(r.length>0?r+=”/..”:r=”..”,i=2)}else r.length>0?r+=”/”+e.slice(o+1,a):r=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===n&&-1!==s?++s:s=-1}return r}var s={resolve:function(){for(var e,t,n=””,s=!1,a=arguments.length-1;a>=-1&&!s;a–)a>=0?t=arguments[a]:(void 0===e&&(e=r.cwd()),t=e),i(t),0!==t.length&&(n=t+”/”+n,s=47===t.charCodeAt(0));if(n=o(n,!s),s)if(n.length>0)return”/”+n;else return”/”;return n.length>0?n:”.”},normalize:function(e){if(i(e),0===e.length)return”.”;var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return(0!==(e=o(e,!t)).length||t||(e=”.”),e.length>0&&n&&(e+=”/”),t)?”/”+e:e},isAbsolute:function(e){return i(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return”.”;for(var e,t=0;t0&&(void 0===e?e=n:e+=”/”+n)}return void 0===e?”.”:s.normalize(e)},relative:function(e,t){if(i(e),i(t),e===t||(e=s.resolve(e))===(t=s.resolve(t)))return””;for(var n=1;nu){if(47===t.charCodeAt(a+h))return t.slice(a+h+1);else if(0===h)return t.slice(a+h)}else o>u&&(47===e.charCodeAt(n+h)?c=h:0===h&&(c=0));break}var d=e.charCodeAt(n+h);if(d!==t.charCodeAt(a+h))break;47===d&&(c=h)}var p=””;for(h=n+c+1;h<=r;++h)(h===r||47===e.charCodeAt(h))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(a+c):(a+=c,47===t.charCodeAt(a)&&++a,t.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(i(e),0===e.length)return”.”;for(var t=e.charCodeAt(0),n=47===t,r=-1,o=!0,s=e.length-1;s>=1;–s)if(47===(t=e.charCodeAt(s))){if(!o){r=s;break}}else o=!1;return -1===r?n?”/”:”.”:n&&1===r?”//”:e.slice(0,r)},basename:function(e,t){if(void 0!==t&&”string”!=typeof t)throw TypeError(‘”ext” argument must be a string’);i(e);var n,r=0,o=-1,s=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var a=t.length-1,l=-1;for(n=e.length-1;n>=0;–n){var u=e.charCodeAt(n);if(47===u){if(!s){r=n+1;break}}else -1===l&&(s=!1,l=n+1),a>=0&&(u===t.charCodeAt(a)?-1==–a&&(o=n):(a=-1,o=l))}return r===o?o=l:-1===o&&(o=e.length),e.slice(r,o)}for(n=e.length-1;n>=0;–n)if(47===e.charCodeAt(n)){if(!s){r=n+1;break}}else -1===o&&(s=!1,o=n+1);return -1===o?””:e.slice(r,o)},extname:function(e){i(e);for(var t=-1,n=0,r=-1,o=!0,s=0,a=e.length-1;a>=0;–a){var l=e.charCodeAt(a);if(47===l){if(!o){n=a+1;break}continue}-1===r&&(o=!1,r=a+1),46===l?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1)}return -1===t||-1===r||0===s||1===s&&t===r-1&&t===n+1?””:e.slice(t,r)},format:function(e){var t,n;if(null===e||”object”!=typeof e)throw TypeError(‘The “pathObject” argument must be of type Object. Received type ‘+typeof e);return t=e.dir||e.root,n=e.base||(e.name||””)+(e.ext||””),t?t===e.root?t+n:t+”/”+n:n},parse:function(e){i(e);var t,n={root:””,dir:””,base:””,ext:””,name:””};if(0===e.length)return n;var r=e.charCodeAt(0),o=47===r;o?(n.root=”/”,t=1):t=0;for(var s=-1,a=0,l=-1,u=!0,c=e.length-1,h=0;c>=t;–c){if(47===(r=e.charCodeAt(c))){if(!u){a=c+1;break}continue}-1===l&&(u=!1,l=c+1),46===r?-1===s?s=c:1!==h&&(h=1):-1!==s&&(h=-1)}return -1===s||-1===l||0===h||1===h&&s===l-1&&s===a+1?-1!==l&&(0===a&&o?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(a,l)):(0===a&&o?(n.name=e.slice(1,s),n.base=e.slice(1,l)):(n.name=e.slice(a,s),n.base=e.slice(a,l)),n.ext=e.slice(s,l)),a>0?n.dir=e.slice(0,a-1):o&&(n.dir=”/”),n},sep:”/”,delimiter:”:”,win32:null,posix:null};s.posix=s,e.exports=s},48633:function(e){var t=String,n=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=n(),e.exports.createColors=n},40396:function(e,t,n){“use strict”;let r=n(77793);class i extends r{constructor(e){super(e),this.type=”atrule”}append(…e){return this.proxyOf.nodes||(this.nodes=[]),super.append(…e)}prepend(…e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(…e)}}e.exports=i,i.default=i,r.registerAtRule(i)},49371:function(e,t,n){“use strict”;let r=n(63152);class i extends r{constructor(e){super(e),this.type=”comment”}}e.exports=i,i.default=i},77793:function(e,t,n){“use strict”;let r,i,o,s,a=n(49371),l=n(35238),u=n(63152),{isClean:c,my:h}=n(84151);class d extends u{append(…e){for(let t of e)for(let e of this.normalize(t,this.last))this.proxyOf.nodes.push(e);return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){let t,n;if(!this.proxyOf.nodes)return;let r=this.getIterator();for(;this.indexes[r]e[t](…n.map(e=>”function”==typeof e?(t,n)=>e(t.toProxy(),n):e));if(“every”===t||”some”===t)return n=>e[t]((e,…t)=>n(e.toProxy(),…t));if(“root”===t)return()=>e.root().toProxy();else if(“nodes”===t)return e.nodes.map(e=>e.toProxy());else if(“first”===t||”last”===t)return e[t].toProxy();else return e[t]},set:(e,t,n)=>e[t]===n||(e[t]=n,(“name”===t||”params”===t||”selector”===t)&&e.markDirty(),!0)}}index(e){return”number”==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();for(let t of(r=this.index(e),i))this.proxyOf.nodes.splice(r+1,0,t);for(let e in this.indexes)r<(n=this.indexes[e])&&(this.indexes[e]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let n,r=this.index(e),i=0===r&&"prepend",o=this.normalize(t,this.proxyOf.nodes[r],i).reverse();for(let t of(r=this.index(e),o))this.proxyOf.nodes.splice(r,0,t);for(let e in this.indexes)r<=(n=this.indexes[e])&&(this.indexes[e]=n+o.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=function e(t){return t.map(t=>(t.nodes&&(t.nodes=e(t.nodes)),delete t.source,t))}(i(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(let t of e=e.slice(0))t.parent&&t.parent.removeChild(t,”ignore”);else if(“root”===e.type&&”document”!==this.type)for(let t of e=e.nodes.slice(0))t.parent&&t.parent.removeChild(t,”ignore”);else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw Error(“Value field is missed in node creation”);”string”!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector||e.selectors)e=[new s(e)];else if(e.name)e=[new r(e)];else if(e.text)e=[new a(e)];else throw Error(“Unknown node type in node creation”);return e.map(e=>(e[h]||d.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[c]&&function e(t){if(t[c]=!1,t.proxyOf.nodes)for(let n of t.proxyOf.nodes)e(n)}(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,””)),e.parent=this.proxyOf,e))}prepend(…e){for(let t of e=e.reverse()){let e=this.normalize(t,this.first,”prepend”).reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;for(let n in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(r=>{t.props&&!t.props.includes(r.prop)||(!t.fast||r.value.includes(t.fast))&&(r.value=r.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,n)=>{let r;try{r=e(t,n)}catch(e){throw t.addToError(e)}return!1!==r&&t.walk&&(r=t.walk(e)),r})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(“atrule”===n.type&&e.test(n.name))return t(n,r)}):this.walk((n,r)=>{if(“atrule”===n.type&&n.name===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(“atrule”===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if(“comment”===t.type)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(“decl”===n.type&&e.test(n.prop))return t(n,r)}):this.walk((n,r)=>{if(“decl”===n.type&&n.prop===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(“decl”===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,r)=>{if(“rule”===n.type&&e.test(n.selector))return t(n,r)}):this.walk((n,r)=>{if(“rule”===n.type&&n.selector===e)return t(n,r)}):(t=e,this.walk((e,n)=>{if(“rule”===e.type)return t(e,n)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}d.registerParse=e=>{i=e},d.registerRule=e=>{s=e},d.registerAtRule=e=>{r=e},d.registerRoot=e=>{o=e},e.exports=d,d.default=d,d.rebuild=e=>{“atrule”===e.type?Object.setPrototypeOf(e,r.prototype):”rule”===e.type?Object.setPrototypeOf(e,s.prototype):”decl”===e.type?Object.setPrototypeOf(e,l.prototype):”comment”===e.type?Object.setPrototypeOf(e,a.prototype):”root”===e.type&&Object.setPrototypeOf(e,o.prototype),e[h]=!0,e.nodes&&e.nodes.forEach(e=>{d.rebuild(e)})}},53614:function(e,t,n){“use strict”;let r=n(48633),i=n(26506);class o extends Error{constructor(e,t,n,r,i,s){super(e),this.name=”CssSyntaxError”,this.reason=e,i&&(this.file=i),r&&(this.source=r),s&&(this.plugin=s),void 0!==t&&void 0!==n&&(“number”==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,o)}setMessage(){this.message=this.plugin?this.plugin+”: “:””,this.message+=this.file?this.file:”“,void 0!==this.line&&(this.message+=”:”+this.line+”:”+this.column),this.message+=”: “+this.reason}showSourceCode(e){if(!this.source)return””;let t=this.source;null==e&&(e=r.isColorSupported);let n=e=>e,o=e=>e,s=e=>e;if(e){let{bold:e,gray:t,red:a}=r.createColors(!0);o=t=>e(a(t)),n=e=>t(e),i&&(s=e=>i(e))}let a=t.split(/\r?\n/),l=Math.max(this.line-3,0),u=Math.min(this.line+2,a.length),c=String(u).length;return a.slice(l,u).map((e,t)=>{let r=l+1+t,i=” “+(” “+r).slice(-c)+” | “;if(r===this.line){if(e.length>160){let t=Math.max(0,this.column-20),r=Math.max(this.column+20,this.endColumn+20),a=e.slice(t,r),l=n(i.replace(/\d/g,” “))+e.slice(0,Math.min(this.column-1,19)).replace(/[^\t]/g,” “);return o(“>”)+n(i)+s(a)+”\n “+l+o(“^”)}let t=n(i.replace(/\d/g,” “))+e.slice(0,this.column-1).replace(/[^\t]/g,” “);return o(“>”)+n(i)+s(e)+”\n “+t+o(“^”)}return” “+n(i)+s(e)}).join(“\n”)}toString(){let e=this.showSourceCode();return e&&(e=”\n\n”+e+”\n”),this.name+”: “+this.message+e}}e.exports=o,o.default=o},35238:function(e,t,n){“use strict”;let r=n(63152);class i extends r{constructor(e){e&&void 0!==e.value&&”string”!=typeof e.value&&(e={…e,value:String(e.value)}),super(e),this.type=”decl”}get variable(){return this.prop.startsWith(“–“)||”$”===this.prop[0]}}e.exports=i,i.default=i},40145:function(e,t,n){“use strict”;let r,i,o=n(77793);class s extends o{constructor(e){super({type:”document”,…e}),this.nodes||(this.nodes=[])}toResult(e={}){return new r(new i,this,e).stringify()}}s.registerLazyResult=e=>{r=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s},33438:function(e,t,n){“use strict”;let r=n(40396),i=n(49371),o=n(35238),s=n(61106),a=n(93878),l=n(25644),u=n(61534);function c(e,t){if(Array.isArray(e))return e.map(e=>c(e));let{inputs:n,…h}=e;if(n)for(let e of(t=[],n)){let n={…e,__proto__:s.prototype};n.map&&(n.map={…n.map,__proto__:a.prototype}),t.push(n)}if(h.nodes&&(h.nodes=e.nodes.map(e=>c(e,t))),h.source){let{inputId:e,…n}=h.source;h.source=n,null!=e&&(h.source.input=t[e])}if(“root”===h.type)return new l(h);if(“decl”===h.type)return new o(h);if(“rule”===h.type)return new u(h);if(“comment”===h.type)return new i(h);if(“atrule”===h.type)return new r(h);else throw Error(“Unknown node type: “+e.type)}e.exports=c,c.default=c},61106:function(e,t,n){“use strict”;let{nanoid:r}=n(40574),{isAbsolute:i,resolve:o}=n(57975),{SourceMapConsumer:s,SourceMapGenerator:a}=n(89705),{fileURLToPath:l,pathToFileURL:u}=n(60624),c=n(53614),h=n(93878),d=n(26506),p=Symbol(“fromOffsetCache”),f=!!(s&&a),m=!!(o&&i);class g{constructor(e,t={}){if(null==e||”object”==typeof e&&!e.toString)throw Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),”\uFEFF”===this.css[0]||””===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!m||/^\w+:\/\//.test(t.from)||i(t.from)?this.file=t.from:this.file=o(t.from)),m&&f){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id=”“),this.map&&(this.map.file=this.from)}error(e,t,n,r={}){let i,o,s;if(t&&”object”==typeof t){let e=t,r=n;if(“number”==typeof e.offset){let r=this.fromOffset(e.offset);t=r.line,n=r.col}else t=e.line,n=e.column;if(“number”==typeof r.offset){let e=this.fromOffset(r.offset);o=e.line,i=e.col}else o=r.line,i=r.column}else if(!n){let e=this.fromOffset(t);t=e.line,n=e.col}let a=this.origin(t,n,o,i);return(s=a?new c(e,void 0===a.endLine?a.line:{column:a.column,line:a.line},void 0===a.endLine?a.column:{column:a.endColumn,line:a.endLine},a.source,a.file,r.plugin):new c(e,void 0===o?t:{column:n,line:t},void 0===o?n:{column:i,line:o},this.css,this.file,r.plugin)).input={column:n,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(u&&(s.input.url=u(this.file).toString()),s.input.file=this.file),s}fromOffset(e){let t,n;if(this[p])n=this[p];else{let e=this.css.split(“\n”);n=Array(e.length);let t=0;for(let r=0,i=e.length;r=t)r=n.length-1;else{let t,i=n.length-2;for(;r>1)])i=t-1;else if(e>=n[t+1])r=t+1;else{r=t;break}}return{col:e-n[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:o(this.map.consumer().sourceRoot||this.map.root||”.”,e)}origin(e,t,n,r){let o,s;if(!this.map)return!1;let a=this.map.consumer(),c=a.originalPositionFor({column:t,line:e});if(!c.source)return!1;”number”==typeof n&&(o=a.originalPositionFor({column:r,line:n})),s=i(c.source)?u(c.source):new URL(c.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let h={column:c.column,endColumn:o&&o.column,endLine:o&&o.line,line:c.line,url:s.toString()};if(“file:”===s.protocol)if(l)h.file=l(s);else throw Error(“file: protocol is not available in this PostCSS build”);let d=a.sourceContentFor(c.source);return d&&(h.source=d),h}toJSON(){let e={};for(let t of[“hasBOM”,”css”,”file”,”id”])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={…this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}}e.exports=g,g.default=g,d&&d.registerInput&&d.registerInput(g)},96966:function(e,t,n){“use strict”;let r=n(77793),i=n(40145),o=n(13604),s=n(69577),a=n(33717),l=n(25644),u=n(83303),{isClean:c,my:h}=n(84151);n(6156);let d={atrule:”AtRule”,comment:”Comment”,decl:”Declaration”,document:”Document”,root:”Root”,rule:”Rule”},p={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function m(e){return”object”==typeof e&&”function”==typeof e.then}function g(e){let t=!1,n=d[e.type];return(“decl”===e.type?t=e.prop.toLowerCase():”atrule”===e.type&&(t=e.name.toLowerCase()),t&&e.append)?[n,n+”-“+t,0,n+”Exit”,n+”Exit-“+t]:t?[n,n+”-“+t,n+”Exit”,n+”Exit-“+t]:e.append?[n,0,n+”Exit”]:[n,n+”Exit”]}function y(e){return{eventIndex:0,events:”document”===e.type?[“Document”,0,”DocumentExit”]:”root”===e.type?[“Root”,0,”RootExit”]:g(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function b(e){return e[c]=!1,e.nodes&&e.nodes.forEach(e=>b(e)),e}let v={};class w{constructor(e,t,n){let i;if(this.stringified=!1,this.processed=!1,”object”==typeof t&&null!==t&&(“root”===t.type||”document”===t.type))i=b(t);else if(t instanceof w||t instanceof a)i=b(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=s;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{i=e(t,n)}catch(e){this.processed=!0,this.error=e}i&&!i[h]&&r.rebuild(i)}this.result=new a(e,i,n),this.helpers={…v,postcss:v,result:this.result},this.plugins=this.processor.plugins.map(e=>”object”==typeof e&&e.prepare?{…e,…e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw Error(“Use process(css).then(cb) to work with async plugins”)}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,”CssSyntaxError”!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if(“object”==typeof t)for(let n in t){if(!p[n]&&/^[A-Z]/.test(n))throw Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[n])if(“object”==typeof t[n])for(let r in t[n])e(t,”*”===r?n:n+”-“+r.toLowerCase(),t[n][r]);else”function”==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(n){let e=t[t.length-1].node;throw this.handleError(n,e)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(“document”===e.type){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(“object”==typeof e&&e.Once){if(“document”===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));if(m(t[0]))return Promise.all(t);return t}return e.Once(this.result.root,this.helpers)}if(“function”==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new o(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[c];)e[c]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(“document”===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,r]of e){let e;this.result.lastPlugin=n;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(“root”!==t.type&&”document”!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:r}=t;if(“root”!==n.type&&”document”!==n.type&&!n.parent)return void e.pop();if(r.length>0&&t.visitorIndex{e[c]||this.walkSync(e)});else{let n=this.listeners[t];if(n&&this.visitSync(n,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return”LazyResult”}}w.registerPostcss=e=>{v=e},e.exports=w,w.default=w,l.registerLazyResult(w),i.registerLazyResult(w)},81752:function(e){“use strict”;let t={comma:e=>t.split(e,[“,”],!0),space:e=>t.split(e,[” “,”\n”,” “]),split(e,t,n){let r=[],i=””,o=!1,s=0,a=!1,l=””,u=!1;for(let n of e)u?u=!1:”\\”===n?u=!0:a?n===l&&(a=!1):'”‘===n||”‘”===n?(a=!0,l=n):”(“===n?s+=1:”)”===n?s>0&&(s-=1):0===s&&t.includes(n)&&(o=!0),o?(“”!==i&&r.push(i.trim()),i=””,o=!1):i+=n;return(n||””!==i)&&r.push(i.trim()),r}};e.exports=t,t.default=t},13604:function(e,t,n){“use strict”;var r=n(49705).Buffer;let{dirname:i,relative:o,resolve:s,sep:a}=n(57975),{SourceMapConsumer:l,SourceMapGenerator:u}=n(89705),{pathToFileURL:c}=n(60624),h=n(61106),d=!!(l&&u),p=!!(i&&s&&o&&a);e.exports=class{constructor(e,t,n,r){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=r,this.originalCSS=r,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?”data:application/json;base64,”+this.toBase64(this.map.toString()):”string”==typeof this.mapOpts.annotation?this.mapOpts.annotation:”function”==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+”.map”;let t=”\n”;this.css.includes(“\r\n”)&&(t=”\r\n”),this.css+=t+”/*# sourceMappingURL=”+e+” */”}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),r=e.root||i(e.file);!1===this.mapOpts.sourcesContent?(t=new l(e.text)).sourcesContent&&(t.sourcesContent=null):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t–)”comment”===(e=this.root.nodes[t]).type&&e.text.startsWith(“# sourceMappingURL=”)&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,””))}generate(){if(this.clearAnnotation(),p&&d&&this.isMap())return this.generateMap();{let e=””;return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=u.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):”“});return(this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline())?[this.css]:[this.css,this.map]}generateString(){let e,t;this.css=””,this.map=new u({file:this.outputFile(),ignoreInvalidMapping:!0});let n=1,r=1,i=”“,o={generated:{column:0,line:0},original:{column:0,line:0},source:””};this.stringify(this.root,(s,a,l)=>{if(this.css+=s,a&&”end”!==l&&(o.generated.line=n,o.generated.column=r-1,a.source&&a.source.start?(o.source=this.sourcePath(a),o.original.line=a.source.start.line,o.original.column=a.source.start.column-1):(o.source=i,o.original.line=1,o.original.column=0),this.map.addMapping(o)),(t=s.match(/\n/g))?(n+=t.length,e=s.lastIndexOf(“\n”),r=s.length-e):r+=s.length,a&&”start”!==l){let e=a.parent||{raws:{}};(!(“decl”===a.type||”atrule”===a.type&&!a.nodes)||a!==e.last||e.raws.semicolon)&&(a.source&&a.source.end?(o.source=this.sourcePath(a),o.original.line=a.source.end.line,o.original.column=a.source.end.column-1,o.generated.line=n,o.generated.column=r-2):(o.source=i,o.original.line=1,o.original.column=0,o.generated.line=n,o.generated.column=r-1),this.map.addMapping(o))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):”to.css”}path(e){if(this.mapOpts.absolute||60===e.charCodeAt(0)||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?i(this.opts.to):”.”;”string”==typeof this.mapOpts.annotation&&(n=i(s(n,this.mapOpts.annotation)));let r=o(n,e);return this.memoizedPaths.set(e,r),r}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new h(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let r=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(r,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):”“;this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return r?r.from(e).toString(“base64”):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw Error(“`map.absolute` option is not available in this PostCSS build”)}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;”\\”===a&&(e=e.replace(/\\/g,”/”));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}},84211:function(e,t,n){“use strict”;let r=n(13604),i=n(69577),o=n(33717),s=n(83303);n(6156);class a{constructor(e,t,n){let i;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0,this.result=new o(this._processor,i,this._opts),this.result.css=t;let a=this;Object.defineProperty(this.result,”root”,{get:()=>a.root});let l=new r(s,i,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){let e;if(this._root)return this._root;try{e=i(this._css,this._opts)}catch(e){this.error=e}if(!this.error)return this._root=e,e;throw this.error}get[Symbol.toStringTag](){return”NoWorkResult”}}e.exports=a,a.default=a},63152:function(e,t,n){“use strict”;let r=n(53614),i=n(47668),o=n(83303),{isClean:s,my:a}=n(84151);function l(e,t){if(t&&void 0!==t.offset)return t.offset;let n=1,r=1,i=0;for(let o=0;oe(t,r)):(“object”===s&&null!==o&&(o=e(o)),r[i]=o)}return r}(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:r}=this.rangeBy(t);return this.source.input.error(e,{column:r.column,line:r.line},{column:n.column,line:n.line},t)}return new r(e)}getProxyProcessor(){return{get:(e,t)=>”proxyOf”===t?e:”root”===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>e[t]===n||(e[t]=n,(“prop”===t||”value”===t||”name”===t||”params”===t||”important”===t||”text”===t)&&e.markDirty(),!0)}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;let e=this;for(;e=e.parent;)e[s]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n=this.source.input.css.slice(l(this.source.input.css,this.source.start),l(this.source.input.css,this.source.end)).indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}positionInside(e){let t=this.source.start.column,n=this.source.start.line,r=l(this.source.input.css,this.source.start),i=r+e;for(let e=r;e“object”==typeof e&&e.toJSON?e.toJSON(null,t):e);else if(“object”==typeof r&&r.toJSON)n[e]=r.toJSON(null,t);else if(“source”===e){let o=t.get(r.input);null==o&&(o=i,t.set(r.input,i),i++),n[e]={end:r.end,inputId:o,start:r.start}}else n[e]=r}return r&&(n.inputs=[…t.keys()].map(e=>e.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=o){e.stringify&&(e=e.stringify);let t=””;return e(this,e=>{t+=e}),t}warn(e,t,n){let r={node:this};for(let e in n)r[e]=n[e];return e.warn(t,r)}get proxyOf(){return this}}e.exports=u,u.default=u},69577:function(e,t,n){“use strict”;let r=n(77793),i=n(61106),o=n(68339);function s(e,t){let n=new o(new i(e,t));try{n.parse()}catch(e){throw e}return n.root}e.exports=s,s.default=s,r.registerParse(s)},68339:function(e,t,n){“use strict”;let r=n(40396),i=n(49371),o=n(35238),s=n(25644),a=n(61534),l=n(45781),u={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new s,this.current=this.root,this.spaces=””,this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,n,i,o=new r;o.name=e[1].slice(1),””===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);let s=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(“(“===(t=(e=this.tokenizer.nextToken())[0])||”[“===t?u.push(“(“===t?”)”:”]”):”{“===t&&u.length>0?u.push(“}”):t===u[u.length-1]&&u.pop(),0===u.length)if(“;”===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}else if(“{“===t){a=!0;break}else if(“}”===t){if(l.length>0){for(i=l.length-1,n=l[i];n&&”space”===n[0];)n=l[–i];n&&(o.source.end=this.getPosition(n[3]||n[2]),o.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(o.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(o,”params”,l),s&&(e=l[l.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between=””)):(o.raws.afterName=””,o.params=””),a&&(o.nodes=[],this.current=o)}checkMissedSemicolon(e){let t,n=this.colon(e);if(!1===n)return;let r=0;for(let i=n-1;i>=0&&(“space”===(t=e[i])[0]||2!==(r+=1));i–);throw this.input.error(“Missed semicolon”,”word”===t[0]?t[3]+1:t[2])}colon(e){let t,n,r=0;for(let[i,o]of e.entries()){if(“(“===(n=o[0])&&(r+=1),”)”===n&&(r-=1),0===r&&”:”===n)if(t)if(“word”===t[0]&&”progid”===t[1])continue;else return i;else this.doubleColon(o);t=o}return!1}comment(e){let t=new i;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text=””,t.raws.left=n,t.raws.right=””;else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let n,r,i=new o;this.init(i,e[0][2]);let s=e[e.length-1];for(“;”===s[0]&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(s[3]||s[2]||function(e){for(let t=e.length-1;t>=0;t–){let n=e[t],r=n[3]||n[2];if(r)return r}}(e)),i.source.end.offset++;”word”!==e[0][0];)1===e.length&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop=””;e.length;){let t=e[0][0];if(“:”===t||”space”===t||”comment”===t)break;i.prop+=e.shift()[1]}for(i.raws.between=””;e.length;){if(“:”===(n=e.shift())[0]){i.raws.between+=n[1];break}”word”===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),i.raws.between+=n[1]}(“_”===i.prop[0]||”*”===i.prop[0])&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let a=[];for(;e.length&&(“space”===(r=e[0][0])||”comment”===r);)a.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t–){if(“!important”===(n=e[t])[1].toLowerCase()){i.important=!0;let n=this.stringFrom(e,t);” !important”!==(n=this.spacesFromEnd(e)+n)&&(i.raws.important=n);break}if(“important”===n[1].toLowerCase()){let n=e.slice(0),r=””;for(let e=t;e>0;e–){let t=n[e][0];if(r.trim().startsWith(“!”)&&”space”!==t)break;r=n.pop()[1]+r}r.trim().startsWith(“!”)&&(i.important=!0,i.raws.important=r,e=n)}if(“space”!==n[0]&&”comment”!==n[0])break}e.some(e=>”space”!==e[0]&&”comment”!==e[0])&&(i.raws.between+=a.map(e=>e[1]).join(“”),a=[]),this.raw(i,”value”,a.concat(e),t),i.value.includes(“:”)&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error(“Double colon”,{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]),t.selector=””,t.raws.between=””,this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||””)+this.spaces,this.spaces=””,this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||””)+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];e&&”rule”===e.type&&!e.raws.ownSemicolon&&(e.raws.ownSemicolon=this.spaces,this.spaces=””)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces=””,”comment”!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,r=!1,i=null,o=[],s=e[1].startsWith(“–“),a=[],l=e;for(;l;){if(n=l[0],a.push(l),”(“===n||”[“===n)i||(i=l),o.push(“(“===n?”)”:”]”);else if(s&&r&&”{“===n)i||(i=l),o.push(“}”);else if(0===o.length)if(“;”===n)if(r)return void this.decl(a,s);else break;else if(“{“===n)return void this.rule(a);else if(“}”===n){this.tokenizer.back(a.pop()),t=!0;break}else”:”===n&&(r=!0);else n===o[o.length-1]&&(o.pop(),0===o.length&&(i=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&r){if(!s)for(;a.length&&(“space”===(l=a[a.length-1][0])||”comment”===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case”space”:this.spaces+=e[1];break;case”;”:this.freeSemicolon(e);break;case”}”:this.end(e);break;case”comment”:this.comment(e);break;case”at-word”:this.atrule(e);break;case”{“:this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,r){let i,o,s,a,l=n.length,c=””,h=!0;for(let e=0;ee+t[1],””);e.raws[t]={raw:r,value:c}}e[t]=c}rule(e){e.pop();let t=new a;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,”selector”,e),this.current=t}spacesAndCommentsFromEnd(e){let t,n=””;for(;e.length&&(“space”===(t=e[e.length-1][0])||”comment”===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n=””;for(;e.length&&(“space”===(t=e[0][0])||”comment”===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t=””;for(;e.length&&”space”===e[e.length-1][0];)t=e.pop()[1]+t;return t}stringFrom(e,t){let n=””;for(let r=t;r(n||(n=o()),n)}),o.process=function(e,t,n){return k([o(n)]).process(e,t)},o},k.stringify=w,k.parse=m,k.fromJSON=c,k.list=p,k.comment=e=>new o(e),k.atRule=e=>new i(e),k.decl=e=>new l(e),k.rule=e=>new v(e),k.root=e=>new b(e),k.document=e=>new u(e),k.CssSyntaxError=a,k.Declaration=l,k.Container=s,k.Processor=g,k.Document=u,k.Comment=o,k.Warning=x,k.AtRule=i,k.Result=y,k.Input=h,k.Rule=v,k.Root=b,k.Node=f,d.registerPostcss(k),e.exports=k,k.default=k},93878:function(e,t,n){“use strict”;var r=n(49705).Buffer;let{existsSync:i,readFileSync:o}=n(67792),{dirname:s,join:a}=n(57975),{SourceMapConsumer:l,SourceMapGenerator:u}=n(89705);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,”data:”);let n=t.map?t.map.prev:void 0,r=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),r&&(this.text=r)}consumer(){return this.consumerCache||(this.consumerCache=new l(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let n=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(n){var i;return i=e.substr(n[0].length),r?r.from(i,”base64″).toString():window.atob(i)}throw Error(“Unsupported source map encoding “+e.match(/data:application\/json;([^,]+),/)[1])}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,””).trim()}isMap(e){return”object”==typeof e&&(“string”==typeof e.mappings||”string”==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),r=e.indexOf(“*/”,n);n>-1&&r>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,r)))}loadFile(e){if(this.root=s(e),i(e))return this.mapFile=e,o(e,”utf-8″).toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t)if(“string”==typeof t)return t;else if(“function”==typeof t){let n=t(e);if(n){let e=this.loadFile(n);if(!e)throw Error(“Unable to load previous source map: “+n.toString());return e}}else if(t instanceof l)return u.fromSourceMap(t).toString();else if(t instanceof u)return t.toString();else if(this.isMap(t))return JSON.stringify(t);else throw Error(“Unsupported previous source map format: “+t.toString());else if(this.inline)return this.decodeInline(this.annotation);else if(this.annotation){let t=this.annotation;return e&&(t=a(s(e),t)),this.loadFile(t)}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},96846:function(e,t,n){“use strict”;let r=n(40145),i=n(96966),o=n(84211),s=n(25644);class a{constructor(e=[]){this.version=”8.4.49″,this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),”object”==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if(“object”==typeof n&&n.postcssPlugin)t.push(n);else if(“function”==typeof n)t.push(n);else if(“object”==typeof n&&(n.parse||n.stringify));else throw Error(n+” is not a PostCSS plugin”);return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new i(this,e,t):new o(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=a,a.default=a,s.registerProcessor(a),r.registerProcessor(a)},33717:function(e,t,n){“use strict”;let r=n(60038);class i{constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){!t.plugin&&this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new r(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>”warning”===e.type)}get content(){return this.css}}e.exports=i,i.default=i},25644:function(e,t,n){“use strict”;let r,i,o=n(77793);class s extends o{constructor(e){super(e),this.type=”root”,this.nodes||(this.nodes=[])}normalize(e,t,n){let r=super.normalize(e);if(t){if(“prepend”===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of r)e.raws.before=t.raws.before}return r}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new r(new i,this,e).stringify()}}s.registerLazyResult=e=>{r=e},s.registerProcessor=e=>{i=e},e.exports=s,s.default=s,o.registerRoot(s)},61534:function(e,t,n){“use strict”;let r=n(77793),i=n(81752);class o extends r{constructor(e){super(e),this.type=”rule”,this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:”,”+this.raw(“between”,”beforeOpen”);this.selector=e.join(n)}}e.exports=o,o.default=o,r.registerRule(o)},47668:function(e){“use strict”;let t={after:”\n”,beforeClose:”\n”,beforeComment:”\n”,beforeDecl:”\n”,beforeOpen:” “,beforeRule:”\n”,colon:”: “,commentLeft:” “,commentRight:” “,emptyBody:””,indent:” “,semicolon:!1};class n{constructor(e){this.builder=e}atrule(e,t){let n=”@”+e.name,r=e.params?this.rawValue(e,”params”):””;if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=” “),e.nodes)this.block(e,n+r);else{let i=(e.raws.between||””)+(t?”;”:””);this.builder(n+r+i,e)}}beforeAfter(e,t){let n;n=”decl”===e.type?this.raw(e,null,”beforeDecl”):”comment”===e.type?this.raw(e,null,”beforeComment”):”before”===t?this.raw(e,null,”beforeRule”):this.raw(e,null,”beforeClose”);let r=e.parent,i=0;for(;r&&”root”!==r.type;)i+=1,r=r.parent;if(n.includes(“\n”)){let t=this.raw(e,null,”indent”);if(t.length)for(let e=0;e0&&”comment”===e.nodes[t].type;)t-=1;let n=this.raw(e,”semicolon”);for(let r=0;r{if(void 0!==(i=e.raws[n]))return!1})}return void 0===i&&(i=t[r]),s.rawCache[r]=i,i}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes(“\n”)&&(t=t.replace(/[^\n]+$/,””)),!1}),t&&(t=t.replace(/\S/g,””)),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return(n=e.raws.before).includes(“\n”)&&(n=n.replace(/[^\n]+$/,””)),!1}),void 0===n?n=this.raw(t,null,”beforeDecl”):n&&(n=n.replace(/\S/g,””)),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return(n=e.raws.before).includes(“\n”)&&(n=n.replace(/[^\n]+$/,””)),!1}),void 0===n?n=this.raw(t,null,”beforeRule”):n&&(n=n.replace(/\S/g,””)),n}rawBeforeOpen(e){let t;return e.walk(e=>{if(“decl”!==e.type&&void 0!==(t=e.raws.between))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return(t=n.raws.before).includes(“\n”)&&(t=t.replace(/[^\n]+$/,””)),!1}),t&&(t=t.replace(/\S/g,””)),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,””),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t}rawIndent(e){let t;return e.raws.indent?e.raws.indent:(e.walk(n=>{let r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split(“\n”);return t=(t=e[e.length-1]).replace(/\S/g,””),!1}}),t)}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&”decl”===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t}rawValue(e,t){let n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,”selector”)),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,”end”)}stringify(e,t){if(!this[e.type])throw Error(“Unknown AST node type “+e.type+”. Maybe you need to change PostCSS stringifier.”);this[e.type](e,t)}}e.exports=n,n.default=n},83303:function(e,t,n){“use strict”;let r=n(47668);function i(e,t){new r(t).stringify(e)}e.exports=i,i.default=i},84151:function(e){“use strict”;e.exports.isClean=Symbol(“isClean”),e.exports.my=Symbol(“my”)},45781:function(e){“use strict”;let t=/[\t\n\f\r “#'()/;[\\\]{}]/g,n=/[\t\n\f\r !”#'():;@[\\\]{}]|\/(?=\*)/g,r=/.[\r\n”‘(/\\]/,i=/[\da-f]/i;e.exports=function(e,o={}){let s,a,l,u,c,h,d,p,f,m,g=e.css.valueOf(),y=o.ignoreErrors,b=g.length,v=0,w=[],x=[];function k(t){throw e.error(“Unclosed “+t,v)}return{back:function(e){x.push(e)},endOfFile:function(){return 0===x.length&&v>=b},nextToken:function(e){if(x.length)return x.pop();if(v>=b)return;let o=!!e&&e.ignoreUnclosed;switch(s=g.charCodeAt(v)){case 10:case 32:case 9:case 13:case 12:u=v;do u+=1,s=g.charCodeAt(u);while(32===s||10===s||9===s||13===s||12===s);h=[“space”,g.slice(v,u)],v=u-1;break;case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let e=String.fromCharCode(s);h=[e,e,v];break}case 40:if(m=w.length?w.pop()[1]:””,f=g.charCodeAt(v+1),”url”===m&&39!==f&&34!==f&&32!==f&&10!==f&&9!==f&&12!==f&&13!==f){u=v;do{if(d=!1,-1===(u=g.indexOf(“)”,u+1)))if(y||o){u=v;break}else k(“bracket”);for(p=u;92===g.charCodeAt(p-1);)p-=1,d=!d}while(d);h=[“brackets”,g.slice(v,u+1),v,u],v=u}else u=g.indexOf(“)”,v+1),a=g.slice(v,u+1),-1===u||r.test(a)?h=[“(“,”(“,v]:(h=[“brackets”,a,v,u],v=u);break;case 39:case 34:c=39===s?”‘”:'”‘,u=v;do{if(d=!1,-1===(u=g.indexOf(c,u+1)))if(y||o){u=v+1;break}else k(“string”);for(p=u;92===g.charCodeAt(p-1);)p-=1,d=!d}while(d);h=[“string”,g.slice(v,u+1),v,u],v=u;break;case 64:t.lastIndex=v+1,t.test(g),u=0===t.lastIndex?g.length-1:t.lastIndex-2,h=[“at-word”,g.slice(v,u+1),v,u],v=u;break;case 92:for(u=v,l=!0;92===g.charCodeAt(u+1);)u+=1,l=!l;if(s=g.charCodeAt(u+1),l&&47!==s&&32!==s&&10!==s&&9!==s&&13!==s&&12!==s&&(u+=1,i.test(g.charAt(u)))){for(;i.test(g.charAt(u+1));)u+=1;32===g.charCodeAt(u+1)&&(u+=1)}h=[“word”,g.slice(v,u+1),v,u],v=u;break;default:47===s&&42===g.charCodeAt(v+1)?(0===(u=g.indexOf(“*/”,v+2)+1)&&(y||o?u=g.length:k(“comment”)),h=[“comment”,g.slice(v,u+1),v,u]):(n.lastIndex=v+1,n.test(g),u=0===n.lastIndex?g.length-1:n.lastIndex-2,h=[“word”,g.slice(v,u+1),v,u],w.push(h)),v=u}return v++,h},position:function(){return v}}}},6156:function(e){“use strict”;let t={};e.exports=function(e){!t[e]&&(t[e]=!0,”undefined”!=typeof console&&console.warn&&console.warn(e))}},60038:function(e){“use strict”;class t{constructor(e,t={}){if(this.type=”warning”,this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+”: “+this.text:this.text}}e.exports=t,t.default=t},92861:function(e,t,n){var r=n(48287),i=r.Buffer;function o(e,t){for(var n in e)t[n]=e[n]}function s(e,t,n){return i(e,t,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=r:(o(r,t),t.Buffer=s),o(i,s),s.from=function(e,t,n){if(“number”==typeof e)throw TypeError(“Argument must not be a number”);return i(e,t,n)},s.alloc=function(e,t,n){if(“number”!=typeof e)throw TypeError(“Argument must be a number”);var r=i(e);return void 0!==t?”string”==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},s.allocUnsafe=function(e){if(“number”!=typeof e)throw TypeError(“Argument must be a number”);return i(e)},s.allocUnsafeSlow=function(e){if(“number”!=typeof e)throw TypeError(“Argument must be a number”);return r.SlowBuffer(e)}},74728:function(e,t,n){let r=n(86808),i=n(87151),{klona:o}=n(51079),{isPlainObject:s}=n(6191),a=n(14744),l=n(29466),{parse:u}=n(12895),c=n(88835),h=[“img”,”audio”,”video”,”picture”,”svg”,”object”,”map”,”iframe”,”embed”],d=[“script”,”style”];function p(e,t){e&&Object.keys(e).forEach(function(n){t(e[n],n)})}function f(e,t){return({}).hasOwnProperty.call(e,t)}function m(e,t){let n=[];return p(e,function(e){t(e)&&n.push(e)}),n}e.exports=y;let g=/^[^\0\t\n\f\r /<=>]+$/;function y(e,t,n){let v,w,x,k,_,E,S,C,A,O=””,T=””;function M(e,t){let n=this;this.tag=e,this.attribs=t||{},this.tagPosition=O.length,this.text=””,this.mediaChildren=[],this.updateParentNodeText=function(){if(_.length){let e=_[_.length-1];e.text+=n.text}},this.updateParentNodeMediaChildren=function(){_.length&&h.includes(this.tag)&&_[_.length-1].mediaChildren.push(this.tag)}}t?(t=Object.assign({},y.defaults,t)).parser?t.parser=Object.assign({},b,t.parser):t.parser=b:(t=y.defaults).parser=b,d.forEach(function(e){t.allowedTags&&t.allowedTags.indexOf(e)>-1&&!t.allowVulnerableTags&&console.warn(`
⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
Or, to disable this warning, add the \`allowVulnerableTags\` option
and ensure you are accounting for this risk.
`)});let D=t.nonTextTags||[“script”,”style”,”textarea”,”option”];t.allowedAttributes&&(v={},w={},p(t.allowedAttributes,function(e,t){v[t]=[];let n=[];e.forEach(function(e){“string”==typeof e&&e.indexOf(“*”)>=0?n.push(i(e).replace(/\\\*/g,”.*”)):v[t].push(e)}),w[t]=RegExp(“^(“+n.join(“|”)+”)$”)}));let L={};p(t.allowedClasses,function(e,t){v&&(f(v,t)||(v[t]=[]),v[t].push(“class”)),L[t]=e});let N={};p(t.transformTags,function(e,t){let n;”function”==typeof e?n=e:”string”==typeof e&&(n=y.simpleTransform(e)),”*”===t?x=n:N[t]=n});let R=!1;I();let P=new r.Parser({onopentag:function(e,n){let r;if(t.enforceHtmlBoundary&&”html”===e&&I(),C)return void A++;let i=new M(e,n);_.push(i);let h=!1,d=!!i.text;if(f(N,e)&&(i.attribs=n=(r=N[e](e,n)).attribs,void 0!==r.text&&(i.innerText=r.text),e!==r.tagName&&(i.name=e=r.tagName,S[k]=r.tagName)),x&&(i.attribs=n=(r=x(e,n)).attribs,e!==r.tagName&&(i.name=e=r.tagName,S[k]=r.tagName)),(t.allowedTags&&-1===t.allowedTags.indexOf(e)||”recursiveEscape”===t.disallowedTagsMode&&!function(e){for(let t in e)if(f(e,t))return!1;return!0}(E)||null!=t.nestingLimit&&k>=t.nestingLimit)&&(h=!0,E[k]=!0,”discard”===t.disallowedTagsMode&&-1!==D.indexOf(e)&&(C=!0,A=1),E[k]=!0),k++,h){if(“discard”===t.disallowedTagsMode)return;T=O,O=””}O+=”<"+e,(!v||f(v,e)||v["*"])&&p(n,function(n,r){let h;if(!g.test(r))return void delete i.attribs[r];let d=!1;if(!v||f(v,e)&&-1!==v[e].indexOf(r)||v["*"]&&-1!==v["*"].indexOf(r)||f(w,e)&&w[e].test(r)||w["*"]&&w["*"].test(r))d=!0;else if(v&&v[e]){for(let t of v[e])if(s(t)&&t.name&&t.name===r){d=!0;let e="";if(!0===t.multiple)for(let r of n.split(" "))-1!==t.values.indexOf(r)&&(""===e?e=r:e+=" "+r);else t.values.indexOf(n)>=0&&(e=n);n=e}}if(d){if(-1!==t.allowedSchemesAppliedToAttributes.indexOf(r)&&F(e,n))return void delete i.attribs[r];if(“iframe”===e&&”src”===r){let e=!0;try{if((h=c.parse(n,!1,!0))&&null===h.host&&null===h.protocol)e=f(t,”allowIframeRelativeUrls”)?t.allowIframeRelativeUrls:!t.allowedIframeHostnames&&!t.allowedIframeDomains;else if(t.allowedIframeHostnames||t.allowedIframeDomains){let n=(t.allowedIframeHostnames||[]).find(function(e){return e===h.hostname}),r=(t.allowedIframeDomains||[]).find(function(e){return h.hostname===e||h.hostname.endsWith(`.${e}`)});e=n||r}}catch(t){e=!1}if(!e)return void delete i.attribs[r]}if(“srcset”===r)try{if((h=l(n)).forEach(function(e){F(“srcset”,e.url)&&(e.evil=!0)}),!(h=m(h,function(e){return!e.evil})).length)return void delete i.attribs[r];n=m(h,function(e){return!e.evil}).map(function(e){if(!e.url)throw Error(“URL missing”);return e.url+(e.w?` ${e.w}w`:””)+(e.h?` ${e.h}h`:””)+(e.d?` ${e.d}x`:””)}).join(“, “),i.attribs[r]=n}catch(e){delete i.attribs[r];return}if(“class”===r){let t=L[e],o=L[“*”];if(!(n=t&&o?j(n,a(t,o)):j(n,t||o)).length)return void delete i.attribs[r]}if(“style”===r)try{let s=u(e+” {“+n+”}”);if(n=(function(e,t){var n;let r;if(!t)return e;let i=o(e),s=e.nodes[0];return(r=t[s.selector]&&t[“*”]?a(t[s.selector],t[“*”]):t[s.selector]||t[“*”])&&(i.nodes[0].nodes=s.nodes.reduce((n=r,function(e,t){return f(n,t.prop)&&n[t.prop].some(function(e){return e.test(t.value)})&&e.push(t),e}),[])),i})(s,t.allowedStyles).nodes[0].nodes.reduce(function(e,t){return e.push(t.prop+”:”+t.value),e},[]).join(“;”),0===n.length)return void delete i.attribs[r]}catch(e){delete i.attribs[r];return}O+=” “+r,n&&n.length&&(O+=’=”‘+z(n,!0)+'”‘)}else delete i.attribs[r]}),-1!==t.selfClosing.indexOf(e)?O+=” />”:(O+=”>”,!i.innerText||d||t.textFilter||(O+=z(i.innerText),R=!0)),h&&(O=T+z(O),T=””)},ontext:function(e){let n;if(C)return;let r=_[_.length-1];if(r&&(n=r.tag,e=void 0!==r.innerText?r.innerText:e),”discard”===t.disallowedTagsMode&&(“script”===n||”style”===n))O+=e;else{let r=z(e,!1);t.textFilter&&!R?O+=t.textFilter(r,n):R||(O+=r)}if(_.length){let t=_[_.length-1];t.text+=e}},onclosetag:function(e){if(C){if(–A)return;C=!1}let n=_.pop();if(!n)return;C=!!t.enforceHtmlBoundary&&”html”===e;let r=E[–k];if(r){if(delete E[k],”discard”===t.disallowedTagsMode)return void n.updateParentNodeText();T=O,O=””}if(S[k]&&(e=S[k],delete S[k]),t.exclusiveFilter&&t.exclusiveFilter(n)){O=O.substr(0,n.tagPosition);return}if(n.updateParentNodeMediaChildren(),n.updateParentNodeText(),-1!==t.selfClosing.indexOf(e)){r&&(O=T,T=””);return}O+=”"+e+">“,r&&(O=T+z(O),T=””)}},t.parser);return P.write(e),P.end(),O;function I(){O=””,k=0,_=[],E={},S={},C=!1,A=0}function z(e,n){return”string”!=typeof e&&(e+=””),t.parser.decodeEntities&&(e=e.replace(/&/g,”&”).replace(//g,”>”),n&&(e=e.replace(/”/g,”"”))),e=e.replace(/&(?![a-zA-Z0-9#]{1,20};)/g,”&”).replace(//g,”>”),n&&(e=e.replace(/”/g,”"”)),e}function F(e,n){let r=(n=(n=n.replace(/[\x00-\x20]+/g,””)).replace(//g,””)).match(/^([a-zA-Z]+):/);if(!r)return!!n.match(/^[/\\]{2}/)&&!t.allowProtocolRelative;let i=r[1].toLowerCase();return f(t.allowedSchemesByTag,e)?-1===t.allowedSchemesByTag[e].indexOf(i):!t.allowedSchemes||-1===t.allowedSchemes.indexOf(i)}function j(e,t){return t?(e=e.split(/\s+/)).filter(function(e){return -1!==t.indexOf(e)}).join(” “):e}}let b={decodeEntities:!0};y.defaults={allowedTags:[“address”,”article”,”aside”,”footer”,”header”,”h1″,”h2″,”h3″,”h4″,”h5″,”h6″,”hgroup”,”main”,”nav”,”section”,”blockquote”,”dd”,”div”,”dl”,”dt”,”figcaption”,”figure”,”hr”,”li”,”main”,”ol”,”p”,”pre”,”ul”,”a”,”abbr”,”b”,”bdi”,”bdo”,”br”,”cite”,”code”,”data”,”dfn”,”em”,”i”,”kbd”,”mark”,”q”,”rb”,”rp”,”rt”,”rtc”,”ruby”,”s”,”samp”,”small”,”span”,”strong”,”sub”,”sup”,”time”,”u”,”var”,”wbr”,”caption”,”col”,”colgroup”,”table”,”tbody”,”td”,”tfoot”,”th”,”thead”,”tr”],disallowedTagsMode:”discard”,allowedAttributes:{a:[“href”,”name”,”target”],img:[“src”]},selfClosing:[“img”,”br”,”hr”,”area”,”base”,”basefont”,”input”,”link”,”meta”],allowedSchemes:[“http”,”https”,”ftp”,”mailto”,”tel”],allowedSchemesByTag:{},allowedSchemesAppliedToAttributes:[“href”,”src”,”cite”],allowProtocolRelative:!0,enforceHtmlBoundary:!1},y.simpleTransform=function(e,t,n){return n=void 0===n||n,t=t||{},function(r,i){let o;if(n)for(o in t)i[o]=t[o];else i=t;return{tagName:e,attribs:i}}}},87151:function(e){“use strict”;e.exports=e=>{if(“string”!=typeof e)throw TypeError(“Expected a string”);return e.replace(/[|\\{}()[\]^$+*?.]/g,”\\$&”).replace(/-/g,”\\x2d”)}},54202:function(e,t,n){“use strict”;var r,i=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])})(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)}),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0}),t.CollectingHandler=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,function(e){for(var t,r=[],i=1;i0;this._cbs.onclosetag(this._stack[–e]));this._cbs.onend&&this._cbs.onend()},t.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname=””,this._attribname=””,this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},t.prototype.parseComplete=function(e){this.reset(),this.end(e)},t.prototype.write=function(e){this._tokenizer.write(e)},t.prototype.end=function(e){this._tokenizer.end(e)},t.prototype.pause=function(){this._tokenizer.pause()},t.prototype.resume=function(){this._tokenizer.resume()},t}(a.EventEmitter)},92738:function(e,t,n){“use strict”;var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,”__esModule”,{value:!0});var i=r(n(55096)),o=r(n(99144)),s=r(n(56508)),a=r(n(36632));function l(e){return” “===e||”\n”===e||” “===e||”\f”===e||”\r”===e}function u(e,t,n){var r=e.toLowerCase();return e===r?function(e,i){i===r?e._state=t:(e._state=n,e._index–)}:function(i,o){o===r||o===e?i._state=t:(i._state=n,i._index–)}}function c(e,t){var n=e.toLowerCase();return function(r,i){i===n||i===e?r._state=t:(r._state=3,r._index–)}}var h=u(“C”,23,16),d=u(“D”,24,16),p=u(“A”,25,16),f=u(“T”,26,16),m=u(“A”,27,16),g=c(“R”,34),y=c(“I”,35),b=c(“P”,36),v=c(“T”,37),w=u(“R”,39,1),x=u(“I”,40,1),k=u(“P”,41,1),_=u(“T”,42,1),E=c(“Y”,44),S=c(“L”,45),C=c(“E”,46),A=u(“Y”,48,1),O=u(“L”,49,1),T=u(“E”,50,1),M=u(“#”,52,53),D=u(“X”,55,54);t.default=function(){function e(e,t){this._state=1,this._buffer=””,this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=1,this._special=1,this._running=!0,this._ended=!1,this._cbs=t,this._xmlMode=!!(e&&e.xmlMode),this._decodeEntities=!!(e&&e.decodeEntities)}return e.prototype.reset=function(){this._state=1,this._buffer=””,this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=1,this._special=1,this._running=!0,this._ended=!1},e.prototype._stateText=function(e){“<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=2,this._sectionStart=this._index):this._decodeEntities&&1===this._special&&”&”===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=1,this._state=51,this._sectionStart=this._index)},e.prototype._stateBeforeTagName=function(e){“/”===e?this._state=5:”<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">“===e||1!==this._special||l(e)?this._state=1:”!”===e?(this._state=15,this._sectionStart=this._index+1):”?”===e?(this._state=17,this._sectionStart=this._index+1):(this._state=this._xmlMode||”s”!==e&&”S”!==e?3:31,this._sectionStart=this._index)},e.prototype._stateInTagName=function(e){(“/”===e||”>”===e||l(e))&&(this._emitToken(“onopentagname”),this._state=8,this._index–)},e.prototype._stateBeforeClosingTagName=function(e){l(e)||(“>”===e?this._state=1:1!==this._special?”s”===e||”S”===e?this._state=32:(this._state=1,this._index–):(this._state=6,this._sectionStart=this._index))},e.prototype._stateInClosingTagName=function(e){(“>”===e||l(e))&&(this._emitToken(“onclosetag”),this._state=7,this._index–)},e.prototype._stateAfterClosingTagName=function(e){“>”===e&&(this._state=1,this._sectionStart=this._index+1)},e.prototype._stateBeforeAttributeName=function(e){“>”===e?(this._cbs.onopentagend(),this._state=1,this._sectionStart=this._index+1):”/”===e?this._state=4:l(e)||(this._state=9,this._sectionStart=this._index)},e.prototype._stateInSelfClosingTag=function(e){“>”===e?(this._cbs.onselfclosingtag(),this._state=1,this._sectionStart=this._index+1):!l(e)&&(this._state=8,this._index–)},e.prototype._stateInAttributeName=function(e){(“=”===e||”/”===e||”>”===e||l(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=10,this._index–)},e.prototype._stateAfterAttributeName=function(e){“=”===e?this._state=11:”/”===e||”>”===e?(this._cbs.onattribend(),this._state=8,this._index–):l(e)||(this._cbs.onattribend(),this._state=9,this._sectionStart=this._index)},e.prototype._stateBeforeAttributeValue=function(e){‘”‘===e?(this._state=12,this._sectionStart=this._index+1):”‘”===e?(this._state=13,this._sectionStart=this._index+1):!l(e)&&(this._state=14,this._sectionStart=this._index,this._index–)},e.prototype._stateInAttributeValueDoubleQuotes=function(e){‘”‘===e?(this._emitToken(“onattribdata”),this._cbs.onattribend(),this._state=8):this._decodeEntities&&”&”===e&&(this._emitToken(“onattribdata”),this._baseState=this._state,this._state=51,this._sectionStart=this._index)},e.prototype._stateInAttributeValueSingleQuotes=function(e){“‘”===e?(this._emitToken(“onattribdata”),this._cbs.onattribend(),this._state=8):this._decodeEntities&&”&”===e&&(this._emitToken(“onattribdata”),this._baseState=this._state,this._state=51,this._sectionStart=this._index)},e.prototype._stateInAttributeValueNoQuotes=function(e){l(e)||”>”===e?(this._emitToken(“onattribdata”),this._cbs.onattribend(),this._state=8,this._index–):this._decodeEntities&&”&”===e&&(this._emitToken(“onattribdata”),this._baseState=this._state,this._state=51,this._sectionStart=this._index)},e.prototype._stateBeforeDeclaration=function(e){this._state=”[“===e?22:”-“===e?18:16},e.prototype._stateInDeclaration=function(e){“>”===e&&(this._cbs.ondeclaration(this._getSection()),this._state=1,this._sectionStart=this._index+1)},e.prototype._stateInProcessingInstruction=function(e){“>”===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=1,this._sectionStart=this._index+1)},e.prototype._stateBeforeComment=function(e){“-“===e?(this._state=19,this._sectionStart=this._index+1):this._state=16},e.prototype._stateInComment=function(e){“-“===e&&(this._state=20)},e.prototype._stateAfterComment1=function(e){“-“===e?this._state=21:this._state=19},e.prototype._stateAfterComment2=function(e){“>”===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=1,this._sectionStart=this._index+1):”-“!==e&&(this._state=19)},e.prototype._stateBeforeCdata6=function(e){“[“===e?(this._state=28,this._sectionStart=this._index+1):(this._state=16,this._index–)},e.prototype._stateInCdata=function(e){“]”===e&&(this._state=29)},e.prototype._stateAfterCdata1=function(e){“]”===e?this._state=30:this._state=28},e.prototype._stateAfterCdata2=function(e){“>”===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=1,this._sectionStart=this._index+1):”]”!==e&&(this._state=28)},e.prototype._stateBeforeSpecial=function(e){“c”===e||”C”===e?this._state=33:”t”===e||”T”===e?this._state=43:(this._state=3,this._index–)},e.prototype._stateBeforeSpecialEnd=function(e){2===this._special&&(“c”===e||”C”===e)?this._state=38:3===this._special&&(“t”===e||”T”===e)?this._state=47:this._state=1},e.prototype._stateBeforeScript5=function(e){(“/”===e||”>”===e||l(e))&&(this._special=2),this._state=3,this._index–},e.prototype._stateAfterScript5=function(e){“>”===e||l(e)?(this._special=1,this._state=6,this._sectionStart=this._index-6,this._index–):this._state=1},e.prototype._stateBeforeStyle4=function(e){(“/”===e||”>”===e||l(e))&&(this._special=3),this._state=3,this._index–},e.prototype._stateAfterStyle4=function(e){“>”===e||l(e)?(this._special=1,this._state=6,this._sectionStart=this._index-5,this._index–):this._state=1},e.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+16&&(t=6);t>=2;){var n=this._buffer.substr(e,t);if(Object.prototype.hasOwnProperty.call(s.default,n)){this._emitPartial(s.default[n]),this._sectionStart+=t+1;return}t–}},e.prototype._stateInNamedEntity=function(e){“;”===e?(this._parseNamedEntityStrict(),this._sectionStart+1“z”)&&(e<"A"||e>“Z”)&&(e<"0"||e>“9”)&&(this._xmlMode||this._sectionStart+1===this._index||(1!==this._baseState?”=”!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index–)},e.prototype._decodeNumericEntity=function(e,t){var n=this._sectionStart+e;if(n!==this._index){var r=parseInt(this._buffer.substring(n,this._index),t);this._emitPartial(i.default(r)),this._sectionStart=this._index}else this._sectionStart–;this._state=this._baseState},e.prototype._stateInNumericEntity=function(e){“;”===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>“9”)&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index–)},e.prototype._stateInHexEntity=function(e){“;”===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>“f”)&&(e<"A"||e>“F”)&&(e<"0"||e>“9”)&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index–)},e.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(1===this._state?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},e.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},e.prototype._parse=function(){for(;this._index
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function n(e){return”[object Object]”===Object.prototype.toString.call(e)}Object.defineProperty(t,”__esModule”,{value:!0}),t.isPlainObject=function(e){var t,r;return!1!==n(e)&&(void 0===(t=e.constructor)||!1!==n(r=t.prototype)&&!1!==r.hasOwnProperty(“isPrototypeOf”))}},88310:function(e,t,n){e.exports=i;var r=n(37007).EventEmitter;function i(){r.call(this)}n(56698)(i,r),i.Readable=n(46891),i.Writable=n(81999),i.Duplex=n(88101),i.Transform=n(59083),i.PassThrough=n(3681),i.finished=n(14257),i.pipeline=n(5267),i.Stream=i,i.prototype.pipe=function(e,t){var n=this;function i(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function o(){n.readable&&n.resume&&n.resume()}n.on(“data”,i),e.on(“drain”,o),e._isStdio||t&&!1===t.end||(n.on(“end”,a),n.on(“close”,l));var s=!1;function a(){s||(s=!0,e.end())}function l(){s||(s=!0,”function”==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===r.listenerCount(this,”error”))throw e}function c(){n.removeListener(“data”,i),e.removeListener(“drain”,o),n.removeListener(“end”,a),n.removeListener(“close”,l),n.removeListener(“error”,u),e.removeListener(“error”,u),n.removeListener(“end”,c),n.removeListener(“close”,c),e.removeListener(“close”,c)}return n.on(“error”,u),e.on(“error”,u),n.on(“end”,c),n.on(“close”,c),e.on(“close”,c),e.emit(“pipe”,n),e}},12463:function(e){“use strict”;var t={};function n(e,n,r){r||(r=Error);var i=function(e){function t(t,r,i){return e.call(this,”string”==typeof n?n:n(t,r,i))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(r);i.prototype.name=r.name,i.prototype.code=e,t[e]=i}function r(e,t){if(!Array.isArray(e))return”of “.concat(t,” “).concat(String(e));var n=e.length;return(e=e.map(function(e){return String(e)}),n>2)?”one of “.concat(t,” “).concat(e.slice(0,n-1).join(“, “),”, or “)+e[n-1]:2===n?”one of “.concat(t,” “).concat(e[0],” or “).concat(e[1]):”of “.concat(t,” “).concat(e[0])}n(“ERR_INVALID_OPT_VALUE”,function(e,t){return’The value “‘+t+'” is invalid for option “‘+e+'”‘},TypeError),n(“ERR_INVALID_ARG_TYPE”,function(e,t,n){if(“string”==typeof t&&(i=”not “,t.substr(0,i.length)===i)?(l=”must not be”,t=t.replace(/^not /,””)):l=”must be”,o=” argument”,(void 0===s||s>e.length)&&(s=e.length),e.substring(s-o.length,s)===o)u=”The “.concat(e,” “).concat(l,” “).concat(r(t,”type”));else{var i,o,s,a,l,u,c=(“number”!=typeof a&&(a=0),a+1>e.length||-1===e.indexOf(“.”,a))?”argument”:”property”;u=’The “‘.concat(e,'” ‘).concat(c,” “).concat(l,” “).concat(r(t,”type”))}return u+”. Received type “.concat(typeof n)},TypeError),n(“ERR_STREAM_PUSH_AFTER_EOF”,”stream.push() after EOF”),n(“ERR_METHOD_NOT_IMPLEMENTED”,function(e){return”The “+e+” method is not implemented”}),n(“ERR_STREAM_PREMATURE_CLOSE”,”Premature close”),n(“ERR_STREAM_DESTROYED”,function(e){return”Cannot call “+e+” after a stream was destroyed”}),n(“ERR_MULTIPLE_CALLBACK”,”Callback called multiple times”),n(“ERR_STREAM_CANNOT_PIPE”,”Cannot pipe, not readable”),n(“ERR_STREAM_WRITE_AFTER_END”,”write after end”),n(“ERR_STREAM_NULL_VALUES”,”May not write null values to stream”,TypeError),n(“ERR_UNKNOWN_ENCODING”,function(e){return”Unknown encoding: “+e},TypeError),n(“ERR_STREAM_UNSHIFT_AFTER_END_EVENT”,”stream.unshift() after end event”),e.exports.codes=t},88101:function(e,t,n){“use strict”;var r=n(65606),i=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=c;var o=n(46891),s=n(81999);n(56698)(c,o);for(var a=i(s.prototype),l=0;l0)if(“string”==typeof t||l.objectMode||Object.getPrototypeOf(t)===h.prototype||(s=t,t=h.from(s)),r)l.endEmitted?k(e,new x):A(e,l,t,!0);else if(l.ended)k(e,new v);else{if(l.destroyed)return!1;l.reading=!1,l.decoder&&!n?(t=l.decoder.write(t),l.objectMode||0!==t.length?A(e,l,t,!1):D(e,l)):A(e,l,t,!1)}else r||(l.reading=!1,D(e,l));return!l.ended&&(l.lengtht.highWaterMark&&((n=e)>=0x40000000?n=0x40000000:(n–,n|=n>>>1,n|=n>>>2,n|=n>>>4,n|=n>>>8,n|=n>>>16,n++),t.highWaterMark=n),e<=t.length)?e:t.ended?t.length:(t.needReadable=!0,0)}function T(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(M,e))}function M(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,I(e)}function D(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(L,e,t))}function L(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount(“data”)>0&&e.resume()}function R(e){i(“readable nexttick read 0”),e.read(0)}function P(e,t){i(“resume”,t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(“resume”),I(e),t.flowing&&!t.reading&&e.read(0)}function I(e){var t=e._readableState;for(i(“flow”,t.flowing);t.flowing&&null!==e.read(););}function z(e,t){var n;return 0===t.length?null:(t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(“”):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n)}function F(e){var t=e._readableState;i(“endReadable”,t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(j,t,e))}function j(e,t){if(i(“endReadableNT”,e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit(“end”),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}function B(e,t){for(var n=0,r=e.length;n=n.highWaterMark:n.length>0)||n.ended))return i(“read: emitReadable”,n.length,n.ended),0===n.length&&n.ended?F(this):T(this),null;if(0===(e=O(e,n))&&n.ended)return 0===n.length&&F(this),null;var o=n.needReadable;return i(“need readable”,o),(0===n.length||n.length-e0?z(e,n):null)?(n.needReadable=n.length<=n.highWaterMark,e=0):(n.length-=e,n.awaitDrain=0),0===n.length&&(n.ended||(n.needReadable=!0),r!==e&&n.ended&&F(this)),null!==t&&this.emit("data",t),t},S.prototype._read=function(e){k(this,new w("_read()"))},S.prototype.pipe=function(e,t){var n,r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,i("pipe count=%d opts=%j",o.pipesCount,t);var s=t&&!1===t.end||e===l.stdout||e===l.stderr?g:a;function a(){i("onend"),e.end()}o.endEmitted?l.nextTick(s):r.once("end",s),e.on("unpipe",function t(n,s){i("onunpipe"),n===r&&s&&!1===s.hasUnpiped&&(s.hasUnpiped=!0,i("cleanup"),e.removeListener("close",f),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",p),e.removeListener("unpipe",t),r.removeListener("end",a),r.removeListener("end",g),r.removeListener("data",d),h=!0,o.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c())});var c=(n=r,function(){var e=n._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&u(n,"data")&&(e.flowing=!0,I(n))});e.on("drain",c);var h=!1;function d(t){i("ondata");var n=e.write(t);i("dest.write",n),!1===n&&((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==B(o.pipes,e))&&!h&&(i(“false write response, pause”,o.awaitDrain),o.awaitDrain++),r.pause())}function p(t){i(“onerror”,t),g(),e.removeListener(“error”,p),0===u(e,”error”)&&k(e,t)}function f(){e.removeListener(“finish”,m),g()}function m(){i(“onfinish”),e.removeListener(“close”,f),g()}function g(){i(“unpipe”),r.unpipe(e)}return r.on(“data”,d),!function(e,t,n){if(“function”==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,”error”,p),e.once(“close”,f),e.once(“finish”,m),e.emit(“pipe”,r),o.flowing||(i(“pipe resume”),r.resume()),e},S.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(“unpipe”,this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==r.flowing&&this.resume()):”readable”!==e||r.endEmitted||r.readableListening||(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,i(“on readable”,r.length,r.reading),r.length?T(this):r.reading||l.nextTick(R,this)),n},S.prototype.addListener=S.prototype.on,S.prototype.removeListener=function(e,t){var n=c.prototype.removeListener.call(this,e,t);return”readable”===e&&l.nextTick(N,this),n},S.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return(“readable”===e||void 0===e)&&l.nextTick(N,this),t},S.prototype.resume=function(){var e,t,n=this._readableState;return n.flowing||(i(“resume”),n.flowing=!n.readableListening,e=this,(t=n).resumeScheduled||(t.resumeScheduled=!0,l.nextTick(P,e,t))),n.paused=!1,this},S.prototype.pause=function(){return i(“call pause flowing=%j”,this._readableState.flowing),!1!==this._readableState.flowing&&(i(“pause”),this._readableState.flowing=!1,this.emit(“pause”)),this._readableState.paused=!0,this},S.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var o in e.on(“end”,function(){if(i(“wrapped end”),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on(“data”,function(o){i(“wrapped data”),n.decoder&&(o=n.decoder.write(o)),n.objectMode&&null==o||(n.objectMode||o&&o.length)&&(t.push(o)||(r=!0,e.pause()))}),e)void 0===this[o]&&”function”==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var s=0;s<_.length;s++)e.on(_[s],this.emit.bind(this,_[s]));return this._read=function(t){i("wrapped _read",t),r&&(r=!1,e.resume())},this},"function"==typeof Symbol&&(S.prototype[Symbol.asyncIterator]=function(){return void 0===s&&(s=n(65034)),s(this)}),Object.defineProperty(S.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(S.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(S.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),S._fromList=z,Object.defineProperty(S.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(S.from=function(e,t){return void 0===a&&(a=n(90968)),a(S,e,t)})},59083:function(e,t,n){"use strict";e.exports=c;var r=n(12463).codes,i=r.ERR_METHOD_NOT_IMPLEMENTED,o=r.ERR_MULTIPLE_CALLBACK,s=r.ERR_TRANSFORM_ALREADY_TRANSFORMING,a=r.ERR_TRANSFORM_WITH_LENGTH_0,l=n(88101);function u(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(null===r)return this.emit("error",new o);n.writechunk=null,n.writecb=null,null!=t&&this.push(t),r(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(S.prototype,”writableBuffer”,{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(S.prototype,”writableHighWaterMark”,{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),S.prototype._write=function(e,t,n){n(new m(“_write()”))},S.prototype._writev=null,S.prototype.end=function(e,t,n){var r,i,s,a=this._writableState;return”function”==typeof e?(n=e,e=null,t=null):”function”==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),a.corked&&(a.corked=1,this.uncork()),a.ending||(r=this,i=a,s=n,i.ending=!0,D(r,i),s&&(i.finished?o.nextTick(s):r.once(“finish”,s)),i.ended=!0,r.writable=!1),this},Object.defineProperty(S.prototype,”writableLength”,{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(S.prototype,”destroyed”,{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),S.prototype.destroy=h.destroy,S.prototype._undestroy=h.undestroy,S.prototype._destroy=function(e,t){t(e)}},65034:function(e,t,n){“use strict”;var r,i=n(65606);function o(e,t,n){var r;return(t=”symbol”==typeof(r=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 TypeError(“@@toPrimitive must return a primitive value.”)}return(“string”===t?String:Number)(e)}(t,”string”))?r:String(r))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=n(14257),a=Symbol(“lastResolve”),l=Symbol(“lastReject”),u=Symbol(“error”),c=Symbol(“ended”),h=Symbol(“lastPromise”),d=Symbol(“handlePromise”),p=Symbol(“stream”);function f(e,t){return{value:e,done:t}}function m(e){var t=e[a];if(null!==t){var n=e[p].read();null!==n&&(e[h]=null,e[a]=null,e[l]=null,t(f(n,!1)))}}function g(e){i.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),b=Object.setPrototypeOf((o(r={get stream(){return this[p]},next:function(){var e,t,n=this,r=this[u];if(null!==r)return Promise.reject(r);if(this[c])return Promise.resolve(f(void 0,!0));if(this[p].destroyed)return new Promise(function(e,t){i.nextTick(function(){n[u]?t(n[u]):e(f(void 0,!0))})});var o=this[h];if(o)t=new Promise((e=this,function(t,n){o.then(function(){e[c]?t(f(void 0,!0)):e[d](t,n)},n)}));else{var s=this[p].read();if(null!==s)return Promise.resolve(f(s,!1));t=new Promise(this[d])}return this[h]=t,t}},Symbol.asyncIterator,function(){return this}),o(r,”return”,function(){var e=this;return new Promise(function(t,n){e[p].destroy(null,function(e){e?n(e):t(f(void 0,!0))})})}),r),y);e.exports=function(e){var t,n=Object.create(b,(o(t={},p,{value:e,writable:!0}),o(t,a,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,d,{value:function(e,t){var r=n[p].read();r?(n[h]=null,n[a]=null,n[l]=null,e(f(r,!1))):(n[a]=e,n[l]=t)},writable:!0}),t));return n[h]=null,s(e,function(e){if(e&&”ERR_STREAM_PREMATURE_CLOSE”!==e.code){var t=n[l];null!==t&&(n[h]=null,n[a]=null,n[l]=null,t(e)),n[u]=e;return}var r=n[a];null!==r&&(n[h]=null,n[a]=null,n[l]=null,r(f(void 0,!0))),n[c]=!0}),e.on(“readable”,g.bind(null,n)),n}},81766: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 i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:”unshift”,value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:”shift”,value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,–this.length,e}}},{key:”clear”,value:function(){this.head=this.tail=null,this.length=0}},{key:”join”,value:function(e){if(0===this.length)return””;for(var t=this.head,n=””+t.data;t=t.next;)n+=e+t.data;return n}},{key:”concat”,value:function(e){if(0===this.length)return s.alloc(0);for(var t,n,r=s.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,n=o,s.prototype.copy.call(t,r,n),o+=i.data.length,i=i.next;return r}},{key:”consume”,value:function(e,t){var n;return ei.length?i.length:e;if(o===i.length?r+=i:r+=i.slice(0,e),0==(e-=o)){o===i.length?(++n,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++n}return this.length-=n,r}},{key:”_getBuffer”,value:function(e){var t=s.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++r,n.next?this.head=n.next:this.head=this.tail=null):(this.head=n,n.data=i.slice(o));break}++r}return this.length-=r,t}},{key:l,value:function(e,t){return a(this,i(i({},t),{},{depth:0,customInspect:!1}))}}],function(e,t){for(var n=0;n0,u=a=function(e){t||(t=e),e&&p.forEach(l),g||(p.forEach(l),d(t))},h=!1,a=function(){h||(h=!0,u.apply(void 0,arguments))},f=!1,e.on(“close”,function(){f=!0}),void 0===r&&(r=n(14257)),r(e,{readable:g,writable:o},function(e){if(e)return a(e);f=!0,a()}),m=!1,function(t){if(!f&&!m){if(m=!0,e.setHeader&&”function”==typeof e.abort)return e.abort();if(“function”==typeof e.destroy)return e.destroy();a(t||new s(“pipe”))}}});return c.reduce(u)}},66644:function(e,t,n){“use strict”;var r=n(12463).codes.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,n,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[n]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new r(i?n:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},41396:function(e,t,n){e.exports=n(37007).EventEmitter},83141:function(e,t,n){"use strict";var r=n(92861).Buffer,i=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=a,t=4;break;case"base64":this.text=c,this.end=h,t=3;break;default:this.write=d,this.end=p;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function s(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function a(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if((192&t[0])!=128)return e.lastNeed=0,”�”;if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,”�”;if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,”�”}}(this,e,0);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function c(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function d(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=o,o.prototype.write=function(e){var t,n;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0?(i>0&&(e.lastNeed=i-1),i):–r=0?(i>0&&(e.lastNeed=i-2),i):–r=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString(“utf8”,t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(“utf8”,t,r)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},64504:function(e,t,n){"use strict";n.d(t,{Ay:()=>U});var r=n(4363),i=n(16607),o=”tippy-content”,s=”tippy-arrow”,a=”tippy-svg-arrow”,l={passive:!0,capture:!0},u=function(){return document.body};function c(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function h(e,t){var n=({}).toString.call(e);return 0===n.indexOf(“[object”)&&n.indexOf(t+”]”)>-1}function d(e,t){return”function”==typeof e?e.apply(void 0,t):e}function p(e,t){var n;return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)}}function f(e){return[].concat(e)}function m(e,t){-1===e.indexOf(t)&&e.push(t)}function g(e){return[].slice.call(e)}function y(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function b(){return document.createElement(“div”)}function v(e){return[“Element”,”Fragment”].some(function(t){return h(e,t)})}function w(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+”ms”)})}function x(e,t){e.forEach(function(e){e&&e.setAttribute(“data-state”,t)})}function k(e,t,n){var r=t+”EventListener”;[“transitionend”,”webkitTransitionEnd”].forEach(function(t){e[r](t,n)})}function _(e,t){for(var n,r=t;r;){if(e.contains(r))return!0;r=null==r.getRootNode||null==(n=r.getRootNode())?void 0:n.host}return!1}var E={isTouch:!1},S=0;function C(){!E.isTouch&&(E.isTouch=!0,window.performance&&document.addEventListener(“mousemove”,A))}function A(){var e=performance.now();e-S<20&&(E.isTouch=!1,document.removeEventListener("mousemove",A)),S=e}function O(){var e=document.activeElement;if(e&&e._tippy&&e._tippy.reference===e){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var T="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto,M=Object.assign({appendTo:u,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),D=Object.keys(M);function L(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=M[i])?r:o),t},{});return Object.assign({},e,t)}function N(e,t){var n,r=Object.assign({},t,{content:d(t.content,[e])},t.ignoreAttributes?{}:((n=t.plugins)?Object.keys(L(Object.assign({},M,{plugins:n}))):D).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{}));return r.aria=Object.assign({},M.aria,r.aria),r.aria={expanded:"auto"===r.aria.expanded?t.interactive:r.aria.expanded,content:"auto"===r.aria.content?t.interactive?null:"describedby":r.aria.content},r}function R(e,t){e.innerHTML=t}function P(e){var t=b();return!0===e?t.className=s:(t.className=a,v(e)?t.appendChild(e):R(t,e)),t}function I(e,t){v(t.content)?(R(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?R(e,t.content):e.textContent=t.content)}function z(e){var t=e.firstElementChild,n=g(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(o)}),arrow:n.find(function(e){return e.classList.contains(s)||e.classList.contains(a)}),backdrop:n.find(function(e){return e.classList.contains("tippy-backdrop")})}}function F(e){var t=b(),n=b();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=b();function i(n,r){var i=z(t),o=i.box,s=i.content,a=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),(n.content!==r.content||n.allowHTML!==r.allowHTML)&&I(s,e.props),r.arrow?a?n.arrow!==r.arrow&&(o.removeChild(a),o.appendChild(P(r.arrow))):o.appendChild(P(r.arrow)):a&&o.removeChild(a)}return r.className=o,r.setAttribute("data-state","hidden"),I(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}F.$$tippy=!0;var j=1,B=[],q=[];function $(e,t){void 0===t&&(t={});var n,i=M.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",C,l),window.addEventListener("blur",O);var o=Object.assign({},t,{plugins:i}),s=(v(n=e)?[n]:h(n,"NodeList")?g(n):Array.isArray(n)?n:g(document.querySelectorAll(n))).reduce(function(e,t){var n=t&&function(e,t){var n,i,o,s,a,v,S,C,A=N(e,Object.assign({},M,L(y(t)))),O=!1,D=!1,R=!1,P=!1,I=[],F=p(eg,A.interactiveDebounce),$=j++,U=(n=A.plugins).filter(function(e,t){return n.indexOf(e)===t}),H={id:$,reference:e,popper:b(),popperInstance:null,props:A,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:U,clearDelayTimeouts:function(){clearTimeout(i),clearTimeout(o),cancelAnimationFrame(s)},setProps:function(t){if(!H.state.isDestroyed){en("onBeforeUpdate",[H,t]),ef();var n=H.props,r=N(e,Object.assign({},n,y(t),{ignoreAttributes:!0}));H.props=r,ep(),n.interactiveDebounce!==r.interactiveDebounce&&(eo(),F=p(eg,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?f(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),ei(),et(),Z&&Z(n,r),H.popperInstance&&(ew(),ek().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),en("onAfterUpdate",[H,t])}},setContent:function(e){H.setProps({content:e})},show:function(){var t=H.state.isVisible,n=H.state.isDestroyed,r=!H.state.isEnabled,i=E.isTouch&&!H.props.touch,o=c(H.props.duration,0,M.duration);if(!(t||n||r||i||(C||e).hasAttribute("disabled"))&&(en("onShow",[H],!1),!1!==H.props.onShow(H))){if(H.state.isVisible=!0,X()&&(W.style.visibility="visible"),et(),eu(),H.state.isMounted||(W.style.transition="none"),X()){var s,a,l,h=z(W);w([h.box,h.content],0)}S=function(){var e;if(H.state.isVisible&&!P){if(P=!0,W.offsetHeight,W.style.transition=H.props.moveTransition,X()&&H.props.animation){var t=z(W),n=t.box,r=t.content;w([n,r],o),x([n,r],"visible")}er(),ei(),m(q,H),null==(e=H.popperInstance)||e.forceUpdate(),en("onMount",[H]),H.props.animation&&X()&&eh(o,function(){H.state.isShown=!0,en("onShown",[H])})}},a=H.props.appendTo,l=C||e,(s=H.props.interactive&&a===u||"parent"===a?l.parentNode:d(a,[l])).contains(W)||s.appendChild(W),H.state.isMounted=!0,ew()}},hide:function(){var e=!H.state.isVisible,t=H.state.isDestroyed,n=!H.state.isEnabled,r=c(H.props.duration,1,M.duration);if(!e&&!t&&!n&&(en("onHide",[H],!1),!1!==H.props.onHide(H))){if(H.state.isVisible=!1,H.state.isShown=!1,P=!1,O=!1,X()&&(W.style.visibility="hidden"),eo(),ec(),et(!0),X()){var i,o=z(W),s=o.box,a=o.content;H.props.animation&&(w([s,a],r),x([s,a],"hidden"))}(er(),ei(),H.props.animation)?X()&&(i=H.unmount,eh(r,function(){!H.state.isVisible&&W.parentNode&&W.parentNode.contains(W)&&i()})):H.unmount()}},hideWithInteractivity:function(e){Q().addEventListener("mousemove",F),m(B,F),F(e)},enable:function(){H.state.isEnabled=!0},disable:function(){H.hide(),H.state.isEnabled=!1},unmount:function(){H.state.isVisible&&H.hide(),H.state.isMounted&&(ex(),ek().forEach(function(e){e._tippy.unmount()}),W.parentNode&&W.parentNode.removeChild(W),q=q.filter(function(e){return e!==H}),H.state.isMounted=!1,en("onHidden",[H]))},destroy:function(){H.state.isDestroyed||(H.clearDelayTimeouts(),H.unmount(),ef(),delete e._tippy,H.state.isDestroyed=!0,en("onDestroy",[H]))}};if(!A.render)return H;var V=A.render(H),W=V.popper,Z=V.onUpdate;W.setAttribute("data-tippy-root",""),W.id="tippy-"+H.id,H.popper=W,e._tippy=H,W._tippy=H;var K=U.map(function(e){return e.fn(H)}),G=e.hasAttribute("aria-expanded");return ep(),ei(),et(),en("onCreate",[H]),A.showOnCreate&&e_(),W.addEventListener("mouseenter",function(){H.props.interactive&&H.state.isVisible&&H.clearDelayTimeouts()}),W.addEventListener("mouseleave",function(){H.props.interactive&&H.props.trigger.indexOf("mouseenter")>=0&&Q().addEventListener(“mousemove”,F)}),H;function J(){var e=H.props.touch;return Array.isArray(e)?e:[e,0]}function Y(){return”hold”===J()[0]}function X(){var e;return!!(null!=(e=H.props.render)&&e.$$tippy)}function Q(){var t,n,r=(C||e).parentNode;return r&&null!=(n=f(r)[0])&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function ee(e){return H.state.isMounted&&!H.state.isVisible||E.isTouch||a&&”focus”===a.type?0:c(H.props.delay,+!e,M.delay)}function et(e){void 0===e&&(e=!1),W.style.pointerEvents=H.props.interactive&&!e?””:”none”,W.style.zIndex=””+H.props.zIndex}function en(e,t,n){if(void 0===n&&(n=!0),K.forEach(function(n){n[e]&&n[e].apply(n,t)}),n){var r;(r=H.props)[e].apply(r,t)}}function er(){var t=H.props.aria;if(t.content){var n=”aria-“+t.content,r=W.id;f(H.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(H.state.isVisible)e.setAttribute(n,t?t+” “+r:r);else{var i=t&&t.replace(r,””).trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function ei(){!G&&H.props.aria.expanded&&f(H.props.triggerTarget||e).forEach(function(t){H.props.interactive?t.setAttribute(“aria-expanded”,H.state.isVisible&&t===(C||e)?”true”:”false”):t.removeAttribute(“aria-expanded”)})}function eo(){Q().removeEventListener(“mousemove”,F),B=B.filter(function(e){return e!==F})}function es(t){if(!E.isTouch||!R&&”mousedown”!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!(H.props.interactive&&_(W,n))){if(f(H.props.triggerTarget||e).some(function(e){return _(e,n)})){if(E.isTouch||H.state.isVisible&&H.props.trigger.indexOf(“click”)>=0)return}else en(“onClickOutside”,[H,t]);!0===H.props.hideOnClick&&(H.clearDelayTimeouts(),H.hide(),D=!0,setTimeout(function(){D=!1}),H.state.isMounted||ec())}}}function ea(){R=!0}function el(){R=!1}function eu(){var e=Q();e.addEventListener(“mousedown”,es,!0),e.addEventListener(“touchend”,es,l),e.addEventListener(“touchstart”,el,l),e.addEventListener(“touchmove”,ea,l)}function ec(){var e=Q();e.removeEventListener(“mousedown”,es,!0),e.removeEventListener(“touchend”,es,l),e.removeEventListener(“touchstart”,el,l),e.removeEventListener(“touchmove”,ea,l)}function eh(e,t){var n=z(W).box;function r(e){e.target===n&&(k(n,”remove”,r),t())}if(0===e)return t();k(n,”remove”,v),k(n,”add”,r),v=r}function ed(t,n,r){void 0===r&&(r=!1),f(H.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),I.push({node:e,eventType:t,handler:n,options:r})})}function ep(){Y()&&(ed(“touchstart”,em,{passive:!0}),ed(“touchend”,ey,{passive:!0})),H.props.trigger.split(/\s+/).filter(Boolean).forEach(function(e){if(“manual”!==e)switch(ed(e,em),e){case”mouseenter”:ed(“mouseleave”,ey);break;case”focus”:ed(T?”focusout”:”blur”,eb);break;case”focusin”:ed(“focusout”,eb)}})}function ef(){I.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),I=[]}function em(e){var t,n=!1;if(!(!H.state.isEnabled||ev(e))&&!D){var r=(null==(t=a)?void 0:t.type)===”focus”;a=e,C=e.currentTarget,ei(),!H.state.isVisible&&h(e,”MouseEvent”)&&B.forEach(function(t){return t(e)}),”click”===e.type&&(0>H.props.trigger.indexOf(“mouseenter”)||O)&&!1!==H.props.hideOnClick&&H.state.isVisible?n=!0:e_(e),”click”===e.type&&(O=!n),n&&!r&&eE(e)}}function eg(t){var n,r,i,o=t.target,s=(C||e).contains(o)||W.contains(o);(“mousemove”!==t.type||!s)&&(n=ek().concat(W).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:A}:null}).filter(Boolean),r=t.clientX,i=t.clientY,n.every(function(e){var t=e.popperRect,n=e.popperState,o=e.props.interactiveBorder,s=n.placement.split(“-“)[0],a=n.modifiersData.offset;if(!a)return!0;var l=”bottom”===s?a.top.y:0,u=”top”===s?a.bottom.y:0,c=”right”===s?a.left.x:0,h=”left”===s?a.right.x:0,d=t.top-i+l>o,p=i-t.bottom-u>o,f=t.left-r+c>o,m=r-t.right-h>o;return d||p||f||m})&&(eo(),eE(t)))}function ey(e){if(!(ev(e)||H.props.trigger.indexOf(“click”)>=0&&O)){if(H.props.interactive)return void H.hideWithInteractivity(e);eE(e)}}function eb(t){0>H.props.trigger.indexOf(“focusin”)&&t.target!==(C||e)||H.props.interactive&&t.relatedTarget&&W.contains(t.relatedTarget)||eE(t)}function ev(e){return!!E.isTouch&&Y()!==e.type.indexOf(“touch”)>=0}function ew(){ex();var t=H.props,n=t.popperOptions,i=t.placement,o=t.offset,s=t.getReferenceClientRect,a=t.moveTransition,l=X()?z(W).arrow:null,u=s?{getBoundingClientRect:s,contextElement:s.contextElement||C||e}:e,c=[{name:”offset”,options:{offset:o}},{name:”preventOverflow”,options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:”flip”,options:{padding:5}},{name:”computeStyles”,options:{adaptive:!a}},{name:”$$tippy”,enabled:!0,phase:”beforeWrite”,requires:[“computeStyles”],fn:function(e){var t=e.state;if(X()){var n=z(W).box;[“placement”,”reference-hidden”,”escaped”].forEach(function(e){“placement”===e?n.setAttribute(“data-placement”,t.placement):t.attributes.popper[“data-popper-“+e]?n.setAttribute(“data-“+e,””):n.removeAttribute(“data-“+e)}),t.attributes.popper={}}}}];X()&&l&&c.push({name:”arrow”,options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),H.popperInstance=(0,r.n)(u,W,Object.assign({},n,{placement:i,onFirstUpdate:S,modifiers:c}))}function ex(){H.popperInstance&&(H.popperInstance.destroy(),H.popperInstance=null)}function ek(){return g(W.querySelectorAll(“[data-tippy-root]”))}function e_(e){H.clearDelayTimeouts(),e&&en(“onTrigger”,[H,e]),eu();var t=ee(!0),n=J(),r=n[0],o=n[1];E.isTouch&&”hold”===r&&o&&(t=o),t?i=setTimeout(function(){H.show()},t):H.show()}function eE(e){if(H.clearDelayTimeouts(),en(“onUntrigger”,[H,e]),!H.state.isVisible)return void ec();if(!(H.props.trigger.indexOf(“mouseenter”)>=0&&H.props.trigger.indexOf(“click”)>=0&&[“mouseleave”,”mousemove”].indexOf(e.type)>=0)||!O){var t=ee(!1);t?o=setTimeout(function(){H.state.isVisible&&H.hide()},t):s=requestAnimationFrame(function(){H.hide()})}}}(t,o);return n&&e.push(n),e},[]);return v(e)?s[0]:s}$.defaultProps=M,$.setDefaultProps=function(e){Object.keys(e).forEach(function(t){M[t]=e[t]})},$.currentInput=E,Object.assign({},i.A,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:”0″,top:”0″,margin:”0″},arrow:{position:”absolute”},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),$.setDefaultProps({render:F});let U=$},61270:function(e,t,n){e=n.nmd(e),function(r){var i=t&&!t.nodeType&&t,o=e&&!e.nodeType&&e,s=”object”==typeof n.g&&n.g;(s.global===s||s.window===s||s.self===s)&&(r=s);var a,l,u=/^xn--/,c=/[^\x20-\x7E]/,h=/[\x2E\u3002\uFF0E\uFF61]/g,d={overflow:”Overflow: input needs wider integers to process”,”not-basic”:”Illegal input >= 0x80 (not a basic code point)”,”invalid-input”:”Invalid input”},p=Math.floor,f=String.fromCharCode;function m(e){throw RangeError(d[e])}function g(e,t){for(var n=e.length,r=[];n–;)r[n]=t(e[n]);return r}function y(e,t){var n=e.split(“@”),r=””;return n.length>1&&(r=n[0]+”@”,e=n[1]),r+g((e=e.replace(h,”.”)).split(“.”),t).join(“.”)}function b(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=f(e>>>10&1023|55296),e=56320|1023&e),t+=f(e)}).join(“”)}function w(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function x(e,t,n){var r=0;for(e=n?p(e/700):e>>1,e+=p(e/t);e>455;r+=36)e=p(e/35);return p(r+36*e/(e+38))}function k(e){var t,n,r,i,o,s,a,l,u,c,h,d=[],f=e.length,g=0,y=128,b=72;for((r=e.lastIndexOf(“-“))<0&&(r=0),i=0;i=128&&m(“not-basic”),d.push(e.charCodeAt(i));for(o=r>0?r+1:0;o=f&&m(“invalid-input”),((u=(t=e.charCodeAt(o++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:36)>=36||u>p((0x7fffffff-g)/a))&&m(“overflow”),g+=u*a,!(u<(c=l<=b?1:l>=b+26?26:l-b));l+=36){;a>p(0x7fffffff/(h=36-c))&&m(“overflow”),a*=h}b=x(g-s,n=d.length+1,0==s),p(g/n)>0x7fffffff-y&&m(“overflow”),y+=p(g/n),g%=n,d.splice(g++,0,y)}return v(d)}function _(e){var t,n,r,i,o,s,a,l,u,c,h,d,g,y,v,k=[];for(s=0,d=(e=b(e)).length,t=128,n=0,o=72;s=t&&hp((0x7fffffff-n)/(g=r+1))&&m(“overflow”),n+=(a-t)*g,t=a,s=0;s0x7fffffff&&m(“overflow”),h==t){for(l=n,u=36;!(l<(c=u<=o?1:u>=o+26?26:u-o));u+=36)v=l-c,y=36-c,k.push(f(w(c+v%y,0))),l=p(v/y);k.push(f(w(l,0))),o=x(n,g,r==i),n=0,++r}++n,++t}return k.join(“”)}if(a={version:”1.4.1″,ucs2:{decode:b,encode:v},decode:k,encode:_,toASCII:function(e){return y(e,function(e){return c.test(e)?”xn--“+_(e):e})},toUnicode:function(e){return y(e,function(e){return u.test(e)?k(e.slice(4).toLowerCase()):e})}},”function”==typeof define&&”object”==typeof define.amd&&define.amd)define(“punycode”,function(){return a});else if(i&&o)if(e.exports==i)o.exports=a;else for(l in a)a.hasOwnProperty(l)&&(i[l]=a[l]);else r.punycode=a}(this)},88835:function(e,t,n){“use strict”;var r=n(61270);function i(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}var o=/^([a-z0-9.+-]+:)/i,s=/:[0-9]*$/,a=/^(\/\/?(?!\/)[^?\s]*)(\?[^\s]*)?$/,l=[“‘”].concat([“{“,”}”,”|”,”\\”,”^”,”`”].concat([“<",">“,'”‘,”`”,” “,”\r”,”\n”,” “])),u=[“%”,”/”,”?”,”;”,”#”].concat(l),c=[“/”,”?”,”#”],h=/^[+a-z0-9A-Z_-]{0,63}$/,d=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,”javascript:”:!0},f={javascript:!0,”javascript:”:!0},m={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,”http:”:!0,”https:”:!0,”ftp:”:!0,”gopher:”:!0,”file:”:!0},g=n(55373);function y(e,t,n){if(e&&”object”==typeof e&&e instanceof i)return e;var r=new i;return r.parse(e,t,n),r}i.prototype.parse=function(e,t,n){if(“string”!=typeof e)throw TypeError(“Parameter ‘url’ must be a string, not “+typeof e);var i=e.indexOf(“?”),s=-1!==i&&i127?L+=”x”:L+=D[N];if(!L.match(h)){var P=T.slice(0,C),I=T.slice(C+1),z=D.match(d);z&&(P.push(z[1]),I.unshift(z[2])),I.length&&(b=”/”+I.join(“.”)+b),this.hostname=P.join(“.”);break}}}this.hostname.length>255?this.hostname=””:this.hostname=this.hostname.toLowerCase(),O||(this.hostname=r.toASCII(this.hostname));var F=this.port?”:”+this.port:””,j=this.hostname||””;this.host=j+F,this.href+=this.host,O&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),”/”!==b[0]&&(b=”/”+b))}if(!p[x])for(var C=0,M=l.length;C0)&&n.host.split(“@”);E&&(n.auth=E.shift(),n.hostname=E.shift(),n.host=n.hostname)}return n.search=e.search,n.query=e.query,(null!==n.pathname||null!==n.search)&&(n.path=(n.pathname?n.pathname:””)+(n.search?n.search:””)),n.href=n.format(),n}if(!k.length)return n.pathname=null,n.search?n.path=”/”+n.search:n.path=null,n.href=n.format(),n;for(var S=k.slice(-1)[0],C=(n.host||e.host||k.length>1)&&(“.”===S||”..”===S)||””===S,A=0,O=k.length;O>=0;O–)”.”===(S=k[O])?k.splice(O,1):”..”===S?(k.splice(O,1),A++):A&&(k.splice(O,1),A–);if(!w&&!x)for(;A–;)k.unshift(“..”);w&&””!==k[0]&&(!k[0]||”/”!==k[0].charAt(0))&&k.unshift(“”),C&&”/”!==k.join(“/”).substr(-1)&&k.push(“”);var T=””===k[0]||k[0]&&”/”===k[0].charAt(0);if(_){n.hostname=T?””:k.length?k.shift():””,n.host=n.hostname;var E=!!(n.host&&n.host.indexOf(“@”)>0)&&n.host.split(“@”);E&&(n.auth=E.shift(),n.hostname=E.shift(),n.host=n.hostname)}return(w=w||n.host&&k.length)&&!T&&k.unshift(“”),k.length>0?n.pathname=k.join(“/”):(n.pathname=null,n.path=null),(null!==n.pathname||null!==n.search)&&(n.path=(n.pathname?n.pathname:””)+(n.search?n.search:””)),n.auth=e.auth||n.auth,n.slashes=n.slashes||e.slashes,n.href=n.format(),n},i.prototype.parseHost=function(){var e=this.host,t=s.exec(e);t&&(“:”!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.parse=y,t.resolve=function(e,t){return y(e,!1,!0).resolve(t)},t.resolveObject=function(e,t){return e?y(e,!1,!0).resolveObject(t):t},t.format=function(e){return(“string”==typeof e&&(e=y(e)),e instanceof i)?e.format():i.prototype.format.call(e)},t.Url=i},94643:function(e,t,n){e.exports=function(e,t){if(r(“noDeprecation”))return e;var n=!1;return function(){if(!n){if(r(“throwDeprecation”))throw Error(t);r(“traceDeprecation”)?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}};function r(e){try{if(!n.g.localStorage)return!1}catch(e){return!1}var t=n.g.localStorage[e];return null!=t&&”true”===String(t).toLowerCase()}},68414:function(e,t,n){var r=n(41033),i=n(12550);i.v1=r,i.v4=i,e.exports=i},41033:function(e,t,n){var r,i,o=n(25814),s=n(60471),a=0,l=0;e.exports=function(e,t,n){var u=t&&n||0,c=t||[],h=(e=e||{}).node||r,d=void 0!==e.clockseq?e.clockseq:i;if(null==h||null==d){var p=o();null==h&&(h=r=[1|p[0],p[1],p[2],p[3],p[4],p[5]]),null==d&&(d=i=(p[6]<<8|p[7])&16383)}var f=void 0!==e.msecs?e.msecs:new Date().getTime(),m=void 0!==e.nsecs?e.nsecs:l+1,g=f-a+(m-l)/1e4;if(g<0&&void 0===e.clockseq&&(d=d+1&16383),(g<0||f>a)&&void 0===e.nsecs&&(m=0),m>=1e4)throw Error(“uuid.v1(): Can’t create more than 10M uuids/sec”);a=f,l=m,i=d;var y=((0xfffffff&(f+=122192928e5))*1e4+m)%0x100000000;c[u++]=y>>>24&255,c[u++]=y>>>16&255,c[u++]=y>>>8&255,c[u++]=255&y;var b=f/0x100000000*1e4&0xfffffff;c[u++]=b>>>8&255,c[u++]=255&b,c[u++]=b>>>24&15|16,c[u++]=b>>>16&255,c[u++]=d>>>8|128,c[u++]=255&d;for(var v=0;v<6;++v)c[u+v]=h[v];return t||s(c)}},55732:function(e,t){!function(){var e={direction:"horizontal",snapToLines:!0,linePosition:"auto",lineAlign:"start",textPosition:"auto",positionAlign:"auto",size:100,alignment:"center"},n=function(t){t||(t={"&":"&","<":"<",">":">“,”&lrm”:””,”&rlm”:””,” ”:”\xa0″}),this.entities=t,this.parse=function(n,o){n=n.replace(/\0/g,”�”);var s=Date.now(),a=0,l=n.split(/\r\n|\r|\n/),u=!1,c=[],h=[],d=[];function p(e,t){d.push({message:e,line:a+1,col:t})}var f=l[a],m=f.length,g=”WEBVTT”,y=0,b=g.length;for(“\uFEFF”===f[0]&&(y=1,b+=1),(mb&&” “!==f[b]&&” “!==f[b])&&p(‘No valid signature. (File needs to start with “WEBVTT”.)’),a++;””!=l[a]&&void 0!=l[a];){if(p(“No blank line after the signature.”),-1!=l[a].indexOf(“–\x3e”)){u=!0;break}a++}for(;void 0!=l[a];){for(;!u&&””==l[a];)a++;if(!u&&void 0==l[a])break;var v=Object.assign({},e,{id:””,startTime:0,endTime:0,pauseOnExit:!1,direction:”horizontal”,snapToLines:!0,linePosition:”auto”,lineAlign:”start”,textPosition:”auto”,positionAlign:”auto”,size:100,alignment:”center”,text:””,tree:null}),w=!0;if(-1==l[a].indexOf(“–\x3e”)){if(v.id=l[a],/^NOTE($|[ \t])/.test(v.id)){for(a++;””!=l[a]&&void 0!=l[a];)-1!=l[a].indexOf(“–\x3e”)&&p(“Cannot have timestamp in a comment.”),a++;continue}if(/^STYLE($|[ \t])/.test(v.id)){var x=[],k=!1;for(a++;””!=l[a]&&void 0!=l[a];)-1!=l[a].indexOf(“–\x3e”)&&(p(“Cannot have timestamp in a style block.”),k=!0),x.push(l[a]),a++;if(h.length){p(“Style blocks cannot appear after the first cue.”);continue}k||c.push(x.join(“\n”));continue}if(“”==l[++a]||void 0==l[a]){p(“Cue identifier cannot be standalone.”);continue}if(-1==l[a].indexOf(“–\x3e”)){w=!1,p(“Cue identifier needs to be followed by timestamp.”);continue}}u=!1;var _=new r(l[a],p),E=0;if(h.length>0&&(E=h[h.length-1].startTime),w&&!_.parse(v,E)){for(v=null,a++;””!=l[a]&&void 0!=l[a];){if(-1!=l[a].indexOf(“–\x3e”)){u=!0;break}a++}continue}for(a++;””!=l[a]&&void 0!=l[a];){if(-1!=l[a].indexOf(“–\x3e”)){p(“Blank line missing before cue.”),u=!0;break}””!=v.text&&(v.text+=”\n”),v.text+=l[a],a++}var S=new i(v.text,p,o,t);v.tree=S.parse(v.startTime,v.endTime),h.push(v)}return h.sort(function(e,t){return e.startTimet.startTime?1:e.endTime>t.endTime?-1:+(e.endTime2||parseInt(t,10)>59)&&(l=”hours”),”:”!=e[i])return void o(“No time unit separator found.”);if(i++,2!=(n=a(/\d/)).length)return void o(“Must be exactly two digits.”);if(“hours”==l||”:”==e[i]){if(“:”!=e[i])return void o(“No seconds found or minutes is greater than 59.”);if(i++,2!=(r=a(/\d/)).length)return void o(“Must be exactly two digits.”)}else{if(2!=t.length)return void o(“Must be exactly two digits.”);r=n,n=t,t=”0″}return”.”!=e[i]?void o(‘No decimal separator (“.”) found.’):(i++,3!=(s=a(/\d/)).length)?void o(“Milliseconds must be given in three digits.”):parseInt(n,10)>59?void o(“You cannot have more than 59 minutes.”):parseInt(r,10)>59?void o(“You cannot have more than 59 seconds.”):60*parseInt(t,10)*60+60*parseInt(n,10)+parseInt(r,10)+parseInt(s,10)/1e3}this.parse=function(t,a){return(s(n),t.startTime=l(),void 0==t.startTime)?void 0:(t.startTime“!=e[++i])?void o(“No valid timestamp separator found.”):(i++,r.test(e[i])&&o(“‘–\x3e’ not separated from timestamp by whitespace.”),s(n),t.endTime=l(),void 0!=t.endTime)?(t.endTime<=t.startTime&&o("End timestamp is not greater than start timestamp."),r.test(e[i]),s(n),!function(e,t){for(var r=e.split(n),i=[],s=0;s100)){o(“Line position cannot be >100%.”);continue}if(“”===d||isNaN(d)||!isFinite(d)){o(“Line position needs to be a number”);continue}if(void 0!==h){if(![“start”,”center”,”end”].includes(h)){o(“Line alignment needs to be one of start, center or end”);continue}t.lineAlign=h}t.snapToLines=!p,t.linePosition=parseFloat(d),parseFloat(d).toString()!==d&&(t.nonSerializable=!0)}else if(“position”==l){if(/,/.test(u)){var c=u.split(“,”);u=c[0];var f=c[1]}if(“%”!=u[u.length-1]){o(“Text position must be a percentage.”);continue}if(parseInt(u,10)>100||0>parseInt(u,10)){o(“Text position needs to be between 0 and 100%.”);continue}if(“”===(d=u.slice(0,u.length-1))||isNaN(d)||!isFinite(d)){o(“Line position needs to be a number”);continue}if(void 0!==f){if(![“line-left”,”center”,”line-right”].includes(f)){o(“Position alignment needs to be one of line-left, center or line-right”);continue}t.positionAlign=f}t.textPosition=parseFloat(d)}else if(“size”==l){if(“%”!=u[u.length-1]){o(“Size must be a percentage.”);continue}if(parseInt(u,10)>100){o(“Size cannot be >100%.”);continue}var m=u.slice(0,u.length-1);if(void 0===m||””===m||isNaN(m)){o(“Size needs to be a number”),m=100;continue}if((m=parseFloat(m))<0||m>100){o(“Size needs to be between 0 and 100%.”);continue}t.size=m}else if(“align”==l){var g=[“start”,”center”,”end”,”left”,”right”];if(-1==g.indexOf(u)){o(“Alignment can only be set to one of “+g.join(“, “)+”.”);continue}t.alignment=u}else o(“Invalid setting.”)}}(e.substring(i),t),!0):void 0},this.parseTimestamp=function(){var t=l();return void 0!=e[i]?void o(“Timestamp must not have trailing characters.”):t}},i=function(e,t,n,i){this.entities=i;var o=this,e=e,s=0,a=function(e){“metadata”!=n&&t(e,s+1)};this.parse=function(t,l){var u={children:[]},c=u,h=[];function d(e){c.children.push({type:”object”,name:e[1],classes:e[2],children:[],parent:c}),c=c.children[c.children.length-1]}for(;void 0!=e[s];){var p=function(){for(var t=”data”,n=””,r=””,l=[];void 0!=e[s-1]||0==s;){var u=e[s];if(“data”==t)if(“&”==u)r=u,t=”escape”;else if(“<"==u&&""==n)t="tag";else{if("<"==u||void 0==u)return["text",n];n+=u}else if("escape"==t)if("<"==u||void 0==u){let e;return a("Incorrect escape."),(e=r.match(/^&#([0-9]+)$/))?n+=String.fromCharCode(e[1]):o.entities[r]?n+=o.entities[r]:n+=r,["text",n]}else if("&"==u)a("Incorrect escape."),n+=r,r=u;else if(/[a-z#0-9]/i.test(u))r+=u;else if(";"==u){let e;(e=r.match(/^&#(x?[0-9]+)$/))?n+=String.fromCharCode("0"+e[1]):o.entities[r+u]?n+=o.entities[r+u]:(e=Object.keys(i).find(e=>r.startsWith(e)))?n+=o.entities[e]+r.slice(e.length)+u:(a(“Incorrect escape.”),n+=r+”;”),t=”data”}else a(“Incorrect escape.”),n+=r+u,t=”data”;else if(“tag”==t)if(” “==u||”\n”==u||”\f”==u||” “==u)t=”start tag annotation”;else if(“.”==u)t=”start tag class”;else if(“/”==u)t=”end tag”;else if(/\d/.test(u))n=u,t=”timestamp tag”;else{if(“>”==u||void 0==u)return”>”==u&&s++,[“start tag”,””,[],””];n=u,t=”start tag”}else if(“start tag”==t)if(” “==u||”\f”==u||” “==u)t=”start tag annotation”;else if(“\n”==u)r=u,t=”start tag annotation”;else if(“.”==u)t=”start tag class”;else{if(“>”==u||void 0==u)return”>”==u&&s++,[“start tag”,n,[],””];n+=u}else if(“start tag class”==t)if(” “==u||”\f”==u||” “==u)r&&l.push(r),r=””,t=”start tag annotation”;else if(“\n”==u)r&&l.push(r),r=u,t=”start tag annotation”;else if(“.”==u)r&&l.push(r),r=””;else{if(“>”==u||void 0==u)return”>”==u&&s++,r&&l.push(r),[“start tag”,n,l,””];r+=u}else if(“start tag annotation”==t)if(“>”==u||void 0==u)return”>”==u&&s++,[“start tag”,n,l,r=r.split(/[\u0020\t\f\r\n]+/).filter(function(e){if(e)return!0}).join(” “)];else r+=u;else if(“end tag”==t)if(“>”==u||void 0==u)return”>”==u&&s++,[“end tag”,n];else n+=u;else if(“timestamp tag”==t)if(“>”==u||void 0==u)return”>”==u&&s++,[“timestamp”,n];else n+=u;else a(“Never happens.”);s++}}();if(“text”==p[0])c.children.push({type:”text”,value:p[1],parent:c});else if(“start tag”==p[0]){“chapters”==n&&a(“Start tags not allowed in chapter title text.”);var f=p[1];”v”!=f&&”lang”!=f&&””!=p[3]&&a(“Only and can have an annotation.”),”c”==f||”i”==f||”b”==f||”u”==f||”ruby”==f||”rt”==f&&”ruby”==c.name?d(p):”v”==f?(function(e){for(var t=c;t;){if(“v”==t.name)return!0;t=t.parent}}(0)&&a(“ cannot be nested inside itself.”),d(p),c.value=p[3],p[3]||a(“ requires an annotation.”)):”lang”==f?(d(p),c.value=p[3]):a(“Incorrect start tag.”)}else if(“end tag”==p[0])”chapters”==n&&a(“End tags not allowed in chapter title text.”),p[1]==c.name?c=c.parent:”ruby”==p[1]&&”rt”==c.name?c=c.parent.parent:a(“Incorrect end tag.”);else if(“timestamp”==p[0]){“chapters”==n&&a(“Timestamp not allowed in chapter title text.”);var m=new r(p[1],a).parseTimestamp();void 0!=m&&((m<=t||m>=l)&&a(“Timestamp must be between start timestamp and end timestamp.”),h.length>0&&h[h.length-1]>=m&&a(“Timestamp must be greater than any previous timestamp.”),c.children.push({type:”timestamp”,value:m,parent:c}),h.push(m))}}for(;c.parent;)”v”!=c.name&&a(“Required end tag missing.”),c=c.parent;return function e(t){let n={…t};return t.children&&(n.children=t.children.map(e)),n.parent&&delete n.parent,n}(u)}},o=function(){function t(e){let t=(“00″+1e3*(e-Math.floor(e)).toFixed(3)).slice(-3),n=0,r=0,i=0;return e>=3600&&(n=Math.floor(e/3600)),r=Math.floor((e-3600*n)/60),i=Math.floor(e-3600*n-60*r),(n?n+”:”:””)+(“”+r).padStart(2,”0″)+”:”+(“”+i).padStart(2,”0″)+”.”+t}this.serialize=function(n,r){var i=”WEBVTT\n\n”;if(r)for(var o=0;on[t]!==e[t])).includes(“direction”)&&(r+=” vertical:”+n.direction),i.includes(“alignment”)&&(r+=” align:”+n.alignment),i.includes(“size”)&&(r+=” size:”+n.size+”%”),(i.includes(“lineAlign”)||i.includes(“linePosition”))&&(r+=” line:”+n.linePosition+(n.snapToLines?””:”%”)+(n.lineAlign&&n.lineAlign!=e.lineAlign?”,”+n.lineAlign:””)),(i.includes(“textPosition”)||i.includes(“positionAlign”))&&(r+=” position:”+n.textPosition+”%”+(n.positionAlign&&n.positionAlign!==e.positionAlign?”,”+n.positionAlign:””)),r)+”\n”+function e(n){for(var r=””,i=0;i/g,”>”);else if(“object”==o.type){if(r+=”<"+o.name,o.classes)for(var s=0;s“,o.children&&(r+=e(o.children)),r+=”"+o.name+">“}else”timestamp”==o.type?r+=”<"+t(o.value)+">“:r+=”<"+o.value+">“}return r}(n.tree.children)+”\n\n”}(n[o]);return i}};function s(e){e.WebVTTParser=n,e.WebVTTCueTimingsAndSettingsParser=r,e.WebVTTCueTextParser=i,e.WebVTTSerializer=o}”undefined”!=typeof window&&s(window),s(t)}()},40574:function(e){e.exports={nanoid:(e=21)=>{let t=””,n=e;for(;n–;)t+=”useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict”[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let r=””,i=n;for(;i–;)r+=e[Math.random()*e.length|0];return r}}},37455:function(e,t,n){“use strict”;let r,i,o,s,a;/**
* react-virtual
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;tep});var u=n(17402);/**
* virtual-core
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;o–){var s=e[o];if(!n.has(s.lane)){var a=i.get(s.lane);if(null==a||s.end>a.end?i.set(s.lane,s):s.end0?Math.min.apply(Math,r.pendingMeasuredCacheIndexes):0;r.pendingMeasuredCacheIndexes=[];for(var l=r.measurementsCache.slice(0,a),u=a;u0&&t>0?function(e){for(var t=e.measurements,n=e.outerSize,r=e.scrollOffset,i=t.length-1,o=w(0,i,function(e){return t[e].start},r),s=o;s=r.scrollOffset+n?”end”:”start”),”start”===t||(“end”===t?e-=n:”center”===t&&(e-=n/2));var i=r.options.horizontal?”scrollWidth”:”scrollHeight”;return Math.max(Math.min((r.scrollElement?”document”in r.scrollElement?r.scrollElement.document.documentElement[i]:r.scrollElement[i]:0)-r.getSize(),e),0)},this.getOffsetForIndex=function(e,t){void 0===t&&(t=”auto”),e=Math.max(0,Math.min(e,r.options.count-1));var n=d(r.getMeasurements()[e]);if(“auto”===t)if(n.end>=r.scrollOffset+r.getSize()-r.options.scrollPaddingEnd)t=”end”;else{if(!(n.start<=r.scrollOffset+r.options.scrollPaddingStart))return[r.scrollOffset,t];t="start"}var i="end"===t?n.end+r.options.scrollPaddingEnd:n.start-r.options.scrollPaddingStart;return[r.getOffsetForAlignment(i,t),t]},this.isDynamicMode=function(){return r.measureElementCache.size>0},this.cancelScrollToIndex=function(){null!==r.scrollToIndexTimeoutId&&(clearTimeout(r.scrollToIndexTimeoutId),r.scrollToIndexTimeoutId=null)},this.scrollToOffset=function(e,t){var n=void 0===t?{}:t,i=n.align,o=n.behavior;r.cancelScrollToIndex(),”smooth”===o&&r.isDynamicMode()&&console.warn(“The `smooth` scroll behavior is not fully supported with dynamic size.”),r._scrollToOffset(r.getOffsetForAlignment(e,void 0===i?”start”:i),{adjustments:void 0,behavior:o})},this.scrollToIndex=function(e,t){var n=void 0===t?{}:t,i=n.align,o=n.behavior;e=Math.max(0,Math.min(e,r.options.count-1)),r.cancelScrollToIndex(),”smooth”===o&&r.isDynamicMode()&&console.warn(“The `smooth` scroll behavior is not fully supported with dynamic size.”);var s=r.getOffsetForIndex(e,void 0===i?”auto”:i),a=s[0],l=s[1];r._scrollToOffset(a,{adjustments:void 0,behavior:o}),”smooth”!==o&&r.isDynamicMode()&&(r.scrollToIndexTimeoutId=setTimeout(function(){(r.scrollToIndexTimeoutId=null,r.measureElementCache.has(r.options.getItemKey(e)))&&1>Math.abs(r.getOffsetForIndex(e,l)[0]-r.scrollOffset)||r.scrollToIndex(e,{align:l,behavior:o})}))},this.scrollBy=function(e,t){var n=(void 0===t?{}:t).behavior;r.cancelScrollToIndex(),”smooth”===n&&r.isDynamicMode()&&console.warn(“The `smooth` scroll behavior is not fully supported with dynamic size.”),r._scrollToOffset(r.scrollOffset+e,{adjustments:void 0,behavior:n})},this.getTotalSize=function(){var e;return((null==(e=r.getMeasurements()[r.options.count-1])?void 0:e.end)||r.options.paddingStart)-r.options.scrollMargin+r.options.paddingEnd},this._scrollToOffset=function(e,t){var n=t.adjustments,i=t.behavior;r.options.scrollToFn(e,{behavior:i,adjustments:n},r)},this.measure=function(){r.itemSizeCache=new Map,r.notify(!1)},this.setOptions(e),this.scrollRect=this.options.initialRect,this.scrollOffset=this.options.initialOffset,this.measurementsCache=this.options.initialMeasurementsCache,this.measurementsCache.forEach(function(e){r.itemSizeCache.set(e.key,e.size)}),this.maybeNotify()},w=function(e,t,n,r){for(;e<=t;){var i=(e+t)/2|0,o=n(i);if(or))return i;t=i-1}}return e>0?e-1:0},x=”undefined”!=typeof document?u.useLayoutEffect:u.useEffect,k=n(10027),_=n(71872);function E(e,t){let[n,r]=(0,u.useState)(e),i=(0,_.Y)(e);return(0,k.s)(()=>r(i.current),[i,r,…t]),n}var S=n(64991),C=n(44824),A=n(38878),O=n(93356),T=n(61716),M=n(65077),D=n(98231),L=n(13849),N=n(52326);function R(e,t){let n=(0,u.useRef)([]),r=(0,S._)(e);(0,u.useEffect)(()=>{let e=[…n.current];for(let[i,o]of t.entries())if(n.current[i]!==o){let i=r(t,e);return n.current=t,i}},[r,…t])}var P=n(78998),I=((r=I||{})[r.None=1]=”None”,r[r.Focusable=2]=”Focusable”,r[r.Hidden=4]=”Hidden”,r);let z=(0,P.FX)(function(e,t){var n;let{features:r=1,…i}=e,o={ref:t,”aria-hidden”:(2&r)==2||(null!=(n=i[“aria-hidden”])?n:void 0),hidden:(4&r)==4||void 0,style:{position:”fixed”,top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:”hidden”,clip:”rect(0, 0, 0, 0)”,whiteSpace:”nowrap”,borderWidth:”0″,…(4&r)==4&&(2&r)!=2&&{display:”none”}}};return(0,P.XX)({ourProps:o,theirProps:i,slot:{},defaultTag:”div”,name:”Hidden”})});var F=n(33013);let j=[];function B(){“loading”!==document.readyState&&((()=>{function e(e){e.target instanceof HTMLElement&&e.target!==document.body&&j[0]!==e.target&&(j.unshift(e.target),(j=j.filter(e=>null!=e&&e.isConnected)).splice(10))}window.addEventListener(“click”,e,{capture:!0}),window.addEventListener(“mousedown”,e,{capture:!0}),window.addEventListener(“focus”,e,{capture:!0}),document.body.addEventListener(“click”,e,{capture:!0}),document.body.addEventListener(“mousedown”,e,{capture:!0}),document.body.addEventListener(“focus”,e,{capture:!0})})(),document.removeEventListener(“DOMContentLoaded”,B))}”undefined”!=typeof window&&”undefined”!=typeof document&&(document.addEventListener(“DOMContentLoaded”,B),B());var q=n(87325),$=n(95662),U=n(28890),H=n(8130);function V(e,t){return e?e+”[“+t+”]”:t}var W=n(80385),Z=n(64885),K=n(28706),G=n(65606),J=((i=J||{})[i.Open=0]=”Open”,i[i.Closed=1]=”Closed”,i),Y=((o=Y||{})[o.Single=0]=”Single”,o[o.Multi=1]=”Multi”,o),X=((s=X||{})[s.Pointer=0]=”Pointer”,s[s.Focus=1]=”Focus”,s[s.Other=2]=”Other”,s),Q=((a=Q||{})[a.OpenCombobox=0]=”OpenCombobox”,a[a.CloseCombobox=1]=”CloseCombobox”,a[a.GoToOption=2]=”GoToOption”,a[a.RegisterOption=3]=”RegisterOption”,a[a.UnregisterOption=4]=”UnregisterOption”,a[a.RegisterLabel=5]=”RegisterLabel”,a[a.SetActivationTrigger=6]=”SetActivationTrigger”,a[a.UpdateVirtualOptions=7]=”UpdateVirtualOptions”,a);function ee(e,t=e=>e){let n=null!==e.activeOptionIndex?e.options[e.activeOptionIndex]:null,r=t(e.options.slice()),i=r.length>0&&null!==r[0].dataRef.current.order?r.sort((e,t)=>e.dataRef.current.order-t.dataRef.current.order):(0,H.wl)(r,e=>e.dataRef.current.domRef.current),o=n?i.indexOf(n):null;return -1===o&&(o=null),{options:i,activeOptionIndex:o}}let et={1(e){var t;return null!=(t=e.dataRef.current)&&t.disabled||1===e.comboboxState?e:{…e,activeOptionIndex:null,comboboxState:1}},0(e){var t,n;if(null!=(t=e.dataRef.current)&&t.disabled||0===e.comboboxState)return e;if(null!=(n=e.dataRef.current)&&n.value){let t=e.dataRef.current.calculateIndex(e.dataRef.current.value);if(-1!==t)return{…e,activeOptionIndex:t,comboboxState:0}}return{…e,comboboxState:0}},2(e,t){var n,r,i,o,s;if(null!=(n=e.dataRef.current)&&n.disabled||null!=(r=e.dataRef.current)&&r.optionsRef.current&&!(null!=(i=e.dataRef.current)&&i.optionsPropsRef.current.static)&&1===e.comboboxState)return e;if(e.virtual){let n=t.focus===$.B.Specific?t.idx:(0,$.X)(t,{resolveItems:()=>e.virtual.options,resolveActiveIndex:()=>{var t,n;return null!=(n=null!=(t=e.activeOptionIndex)?t:e.virtual.options.findIndex(t=>!e.virtual.disabled(t)))?n:null},resolveDisabled:e.virtual.disabled,resolveId(){throw Error(“Function not implemented.”)}}),r=null!=(o=t.trigger)?o:2;return e.activeOptionIndex===n&&e.activationTrigger===r?e:{…e,activeOptionIndex:n,activationTrigger:r}}let a=ee(e);if(null===a.activeOptionIndex){let e=a.options.findIndex(e=>!e.dataRef.current.disabled);-1!==e&&(a.activeOptionIndex=e)}let l=t.focus===$.B.Specific?t.idx:(0,$.X)(t,{resolveItems:()=>a.options,resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,resolveDisabled:e=>e.dataRef.current.disabled}),u=null!=(s=t.trigger)?s:2;return e.activeOptionIndex===l&&e.activationTrigger===u?e:{…e,…a,activeOptionIndex:l,activationTrigger:u}},3:(e,t)=>{var n,r,i;if(null!=(n=e.dataRef.current)&&n.virtual)return{…e,options:[…e.options,t.payload]};let o=t.payload,s=ee(e,e=>(e.push(o),e));null===e.activeOptionIndex&&null!=(r=e.dataRef.current)&&r.isSelected(t.payload.dataRef.current.value)&&(s.activeOptionIndex=s.options.indexOf(o));let a={…e,…s,activationTrigger:2};return null!=(i=e.dataRef.current)&&i.__demoMode&&void 0===e.dataRef.current.value&&(a.activeOptionIndex=0),a},4:(e,t)=>{var n;if(null!=(n=e.dataRef.current)&&n.virtual)return{…e,options:e.options.filter(e=>e.id!==t.id)};let r=ee(e,e=>{let n=e.findIndex(e=>e.id===t.id);return -1!==n&&e.splice(n,1),e});return{…e,…r,activationTrigger:2}},5:(e,t)=>e.labelId===t.id?e:{…e,labelId:t.id},6:(e,t)=>e.activationTrigger===t.trigger?e:{…e,activationTrigger:t.trigger},7:(e,t)=>{var n;if((null==(n=e.virtual)?void 0:n.options)===t.options)return e;let r=e.activeOptionIndex;if(null!==e.activeOptionIndex){let n=t.options.indexOf(e.virtual.options[e.activeOptionIndex]);r=-1!==n?n:null}return{…e,activeOptionIndex:r,virtual:Object.assign({},e.virtual,{options:t.options})}}},en=(0,u.createContext)(null);function er(e){let t=(0,u.useContext)(en);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,er),t}return t}en.displayName=”ComboboxActionsContext”;let ei=(0,u.createContext)(null);function eo(e){var t,n,r,i,o,s;let a=ea(“VirtualProvider”),[c,h]=(0,u.useMemo)(()=>{let e=a.optionsRef.current;if(!e)return[0,0];let t=window.getComputedStyle(e);return[parseFloat(t.paddingBlockStart||t.paddingTop),parseFloat(t.paddingBlockEnd||t.paddingBottom)]},[a.optionsRef.current]),d=(n={scrollPaddingStart:c,scrollPaddingEnd:h,count:a.virtual.options.length,estimateSize:()=>40,getScrollElement(){var e;return null!=(e=a.optionsRef.current)?e:null},overscan:12},r=l({observeElementRect:m,observeElementOffset:g,scrollToFn:b},n),i=u.useReducer(function(){return{}},{})[1],o=l({},r,{onChange:function(e,t){t?(0,u.flushSync)(i):i(),null==r.onChange||r.onChange(e,t)}}),(s=u.useState(function(){return new v(o)})[0]).setOptions(o),u.useEffect(function(){return s._didMount()},[]),x(function(){return s._willUpdate()}),s),[p,f]=(0,u.useState)(0);return(0,k.s)(()=>{f(e=>e+1)},[null==(t=a.virtual)?void 0:t.options]),u.default.createElement(ei.Provider,{value:d},u.default.createElement(“div”,{style:{position:”relative”,width:”100%”,height:`${d.getTotalSize()}px`},ref:e=>{e&&(void 0===G||void 0===G.env.JEST_WORKER_ID)&&0!==a.activationTrigger&&null!==a.activeOptionIndex&&a.virtual.options.length>a.activeOptionIndex&&d.scrollToIndex(a.activeOptionIndex)}},d.getVirtualItems().map(t=>{var n;return u.default.createElement(u.Fragment,{key:t.key},u.default.cloneElement(null==(n=e.children)?void 0:n.call(e,{option:a.virtual.options[t.index],open:0===a.comboboxState}),{key:`${p}-${t.key}`,”data-index”:t.index,”aria-setsize”:a.virtual.options.length,”aria-posinset”:t.index+1,style:{position:”absolute”,top:0,left:0,transform:`translateY(${t.start}px)`,overflowAnchor:”none”}}))})))}let es=(0,u.createContext)(null);function ea(e){let t=(0,u.useContext)(es);if(null===t){let t=Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,ea),t}return t}function el(e,t){return(0,W.Y)(t.type,et,e,t)}es.displayName=”ComboboxDataContext”;let eu=u.Fragment,ec=P.O5.RenderStrategy|P.O5.Static,eh=(0,P.FX)(function(e,t){let{value:n,defaultValue:r,onChange:i,form:o,name:s,by:a=null,disabled:l=!1,__demoMode:c=!1,nullable:h=!1,multiple:d=!1,immediate:p=!1,virtual:f=null,…m}=e,[g=d?[]:void 0,y]=function(e,t,n){let[r,i]=(0,u.useState)(n),o=void 0!==e,s=(0,u.useRef)(o),a=(0,u.useRef)(!1),l=(0,u.useRef)(!1);return!o||s.current||a.current?o||!s.current||l.current||(l.current=!0,s.current=o,console.error(“A component is changing from controlled to uncontrolled. This may be caused by the value changing from a defined value to undefined, which should not happen.”)):(a.current=!0,s.current=o,console.error(“A component is changing from uncontrolled to controlled. This may be caused by the value changing from undefined to a defined value, which should not happen.”)),[o?e:r,(0,S._)(e=>(o||i(e),null==t?void 0:t(e)))]}(n,i,r),[b,v]=(0,u.useReducer)(el,{dataRef:(0,u.createRef)(),comboboxState:+!c,options:[],virtual:null,activeOptionIndex:null,activationTrigger:2,labelId:null}),w=(0,u.useRef)(!1),x=(0,u.useRef)({static:!1,hold:!1}),_=(0,u.useRef)(null),E=(0,u.useRef)(null),A=(0,u.useRef)(null),T=(0,u.useRef)(null),M=(0,S._)(“string”==typeof a?(e,t)=>(null==e?void 0:e[a])===(null==t?void 0:t[a]):null!=a?a:(e,t)=>e===t),D=(0,S._)(e=>b.options.findIndex(t=>M(t.dataRef.current.value,e))),L=(0,u.useCallback)(e=>(0,W.Y)(R.mode,{1:()=>g.some(t=>M(t,e)),0:()=>M(g,e)}),[g]),N=(0,S._)(e=>b.activeOptionIndex===D(e)),R=(0,u.useMemo)(()=>({…b,immediate:!1,optionsPropsRef:x,labelRef:_,inputRef:E,buttonRef:A,optionsRef:T,value:g,defaultValue:r,disabled:l,mode:+!!d,virtual:b.virtual,get activeOptionIndex(){if(w.current&&null===b.activeOptionIndex&&b.options.length>0){let e=b.options.findIndex(e=>!e.dataRef.current.disabled);if(-1!==e)return e}return b.activeOptionIndex},calculateIndex:D,compare:M,isSelected:L,isActive:N,nullable:h,__demoMode:c}),[g,r,l,d,h,c,b,null]);(0,k.s)(()=>{},[null,void 0]),(0,k.s)(()=>{b.dataRef.current=R},[R]),(0,O.j)([R.buttonRef,R.inputRef,R.optionsRef],()=>Y.closeCombobox(),0===R.comboboxState);let j=(0,u.useMemo)(()=>{var e,t,n;return{open:0===R.comboboxState,disabled:l,activeIndex:R.activeOptionIndex,activeOption:null===R.activeOptionIndex?null:R.virtual?R.virtual.options[null!=(e=R.activeOptionIndex)?e:0]:null!=(n=null==(t=R.options[R.activeOptionIndex])?void 0:t.dataRef.current.value)?n:null,value:g}},[R,l,g]),B=(0,S._)(()=>{if(null!==R.activeOptionIndex){if(R.virtual)G(R.virtual.options[R.activeOptionIndex]);else{let{dataRef:e}=R.options[R.activeOptionIndex];G(e.current.value)}Y.goToOption($.B.Specific,R.activeOptionIndex)}}),q=(0,S._)(()=>{v({type:0}),w.current=!0}),U=(0,S._)(()=>{v({type:1}),w.current=!1}),H=(0,S._)((e,t,n)=>(w.current=!1,e===$.B.Specific?v({type:2,focus:$.B.Specific,idx:t,trigger:n}):v({type:2,focus:e,trigger:n}))),Z=(0,S._)((e,t)=>(v({type:3,payload:{id:e,dataRef:t}}),()=>{R.isActive(t.current.value)&&(w.current=!0),v({type:4,id:e})})),K=(0,S._)(e=>(v({type:5,id:e}),()=>v({type:5,id:null}))),G=(0,S._)(e=>(0,W.Y)(R.mode,{0:()=>null==y?void 0:y(e),1(){let t=R.value.slice(),n=t.findIndex(t=>M(t,e));return -1===n?t.push(e):t.splice(n,1),null==y?void 0:y(t)}})),J=(0,S._)(e=>{v({type:6,trigger:e})}),Y=(0,u.useMemo)(()=>({onChange:G,registerOption:Z,registerLabel:K,goToOption:H,closeCombobox:U,openCombobox:q,setActivationTrigger:J,selectActiveOption:B}),[]),X=(0,u.useRef)(null),Q=(0,C.L)();return(0,u.useEffect)(()=>{X.current&&void 0!==r&&Q.addEventListener(X.current,”reset”,()=>{null==y||y(r)})},[X,y]),u.default.createElement(en.Provider,{value:Y},u.default.createElement(es.Provider,{value:R},u.default.createElement(F.El,{value:(0,W.Y)(R.comboboxState,{0:F.Uw.Open,1:F.Uw.Closed})},null!=s&&null!=g&&(function e(t={},n=null,r=[]){for(let[i,o]of Object.entries(t))!function t(n,r,i){if(Array.isArray(i))for(let[e,o]of i.entries())t(n,V(r,e.toString()),o);else i instanceof Date?n.push([r,i.toISOString()]):”boolean”==typeof i?n.push([r,i?”1″:”0″]):”string”==typeof i?n.push([r,i]):”number”==typeof i?n.push([r,`${i}`]):null==i?n.push([r,””]):e(i,r,n)}(r,V(n,i),o);return r})({[s]:g}).map(([e,t],n)=>u.default.createElement(z,{features:I.Hidden,ref:0===n?e=>{var t;X.current=null!=(t=null==e?void 0:e.closest(“form”))?t:null}:void 0,…(0,P.oE)({key:e,as:”input”,type:”hidden”,hidden:!0,readOnly:!0,form:o,disabled:l,name:e,value:t})})),(0,P.XX)({ourProps:null===t?{}:{ref:t},theirProps:m,slot:j,defaultTag:eu,name:”Combobox”}))))}),ed=(0,P.FX)(function(e,t){var n;let r=ea(“Combobox.Button”),i=er(“Combobox.Button”),o=(0,D.P)(r.buttonRef,t),s=(0,A.B)(),{id:a=`headlessui-combobox-button-${s}`,…l}=e,c=(0,C.L)(),h=(0,S._)(e=>{switch(e.key){case K.D.ArrowDown:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&i.openCombobox(),c.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case K.D.ArrowUp:return e.preventDefault(),e.stopPropagation(),1===r.comboboxState&&(i.openCombobox(),c.nextFrame(()=>{r.value||i.goToOption($.B.Last)})),c.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})});case K.D.Escape:return 0!==r.comboboxState?void 0:(e.preventDefault(),r.optionsRef.current&&!r.optionsPropsRef.current.static&&e.stopPropagation(),i.closeCombobox(),c.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})}));default:return}}),d=(0,S._)(e=>{if((0,q.l)(e.currentTarget))return e.preventDefault();0===r.comboboxState?i.closeCombobox():(e.preventDefault(),i.openCombobox()),c.nextFrame(()=>{var e;return null==(e=r.inputRef.current)?void 0:e.focus({preventScroll:!0})})}),p=E(()=>{if(r.labelId)return[r.labelId,a].join(” “)},[r.labelId,a]),f=(0,u.useMemo)(()=>({open:0===r.comboboxState,disabled:r.disabled,value:r.value}),[r]),m={ref:o,id:a,type:(0,M.c)(e,r.buttonRef),tabIndex:-1,”aria-haspopup”:”listbox”,”aria-controls”:null==(n=r.optionsRef.current)?void 0:n.id,”aria-expanded”:0===r.comboboxState,”aria-labelledby”:p,disabled:r.disabled,onClick:d,onKeyDown:h};return(0,P.XX)({ourProps:m,theirProps:l,slot:f,defaultTag:”button”,name:”Combobox.Button”})}),ep=Object.assign(eh,{Input:(0,P.FX)(function(e,t){var n,r,i,o,s,a;let l=(0,A.B)(),{id:c=`headlessui-combobox-input-${l}`,onChange:h,displayValue:d,type:p=”text”,…f}=e,m=ea(“Combobox.Input”),g=er(“Combobox.Input”),y=(0,D.P)(m.inputRef,t),b=(0,T.g)(m.inputRef),v=(0,u.useRef)(!1),w=(0,C.L)(),x=(0,S._)(()=>{g.onChange(null),m.optionsRef.current&&(m.optionsRef.current.scrollTop=0),g.goToOption($.B.Nothing)});R(([e,t],[n,r])=>{if(v.current)return;let i=m.inputRef.current;i&&((0===r&&1===t||e!==n)&&(i.value=e),requestAnimationFrame(()=>{if(v.current||!i||(null==b?void 0:b.activeElement)!==i)return;let{selectionStart:e,selectionEnd:t}=i;0===Math.abs((null!=t?t:0)-(null!=e?e:0))&&0===e&&i.setSelectionRange(i.value.length,i.value.length)}))},[“function”==typeof d&&void 0!==m.value?null!=(a=d(m.value))?a:””:”string”==typeof m.value?m.value:””,m.comboboxState,b]),R(([e],[t])=>{if(0===e&&1===t){if(v.current)return;let e=m.inputRef.current;if(!e)return;let t=e.value,{selectionStart:n,selectionEnd:r,selectionDirection:i}=e;e.value=””,e.value=t,null!==i?e.setSelectionRange(n,r,i):e.setSelectionRange(n,r)}},[m.comboboxState]);let k=(0,u.useRef)(!1),_=(0,S._)(()=>{k.current=!0}),O=(0,S._)(()=>{w.nextFrame(()=>{k.current=!1})}),M=(0,S._)(e=>{switch(v.current=!0,e.key){case K.D.Enter:if(v.current=!1,0!==m.comboboxState||k.current)return;if(e.preventDefault(),e.stopPropagation(),null===m.activeOptionIndex)return void g.closeCombobox();g.selectActiveOption(),0===m.mode&&g.closeCombobox();break;case K.D.ArrowDown:return v.current=!1,e.preventDefault(),e.stopPropagation(),(0,W.Y)(m.comboboxState,{0:()=>g.goToOption($.B.Next),1:()=>g.openCombobox()});case K.D.ArrowUp:return v.current=!1,e.preventDefault(),e.stopPropagation(),(0,W.Y)(m.comboboxState,{0:()=>g.goToOption($.B.Previous),1:()=>{g.openCombobox(),w.nextFrame(()=>{m.value||g.goToOption($.B.Last)})}});case K.D.Home:if(e.shiftKey)break;return v.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption($.B.First);case K.D.PageUp:return v.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption($.B.First);case K.D.End:if(e.shiftKey)break;return v.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption($.B.Last);case K.D.PageDown:return v.current=!1,e.preventDefault(),e.stopPropagation(),g.goToOption($.B.Last);case K.D.Escape:return v.current=!1,0!==m.comboboxState?void 0:(e.preventDefault(),m.optionsRef.current&&!m.optionsPropsRef.current.static&&e.stopPropagation(),m.nullable&&0===m.mode&&null===m.value&&x(),g.closeCombobox());case K.D.Tab:if(v.current=!1,0!==m.comboboxState)return;0===m.mode&&1!==m.activationTrigger&&g.selectActiveOption(),g.closeCombobox()}}),L=(0,S._)(e=>{null==h||h(e),m.nullable&&0===m.mode&&””===e.target.value&&x(),g.openCombobox()}),N=(0,S._)(e=>{var t,n,r;let i=null!=(t=e.relatedTarget)?t:j.find(t=>t!==e.currentTarget);if(v.current=!1,!(null!=(n=m.optionsRef.current)&&n.contains(i))&&!(null!=(r=m.buttonRef.current)&&r.contains(i))&&0===m.comboboxState)return e.preventDefault(),0===m.mode&&(m.nullable&&null===m.value?x():1!==m.activationTrigger&&g.selectActiveOption()),g.closeCombobox()}),I=(0,S._)(e=>{var t,n,r;let i=null!=(t=e.relatedTarget)?t:j.find(t=>t!==e.currentTarget);null!=(n=m.buttonRef.current)&&n.contains(i)||null!=(r=m.optionsRef.current)&&r.contains(i)||m.disabled||m.immediate&&0!==m.comboboxState&&(g.openCombobox(),w.nextFrame(()=>{g.setActivationTrigger(1)}))}),z=E(()=>{if(m.labelId)return[m.labelId].join(” “)},[m.labelId]),F=(0,u.useMemo)(()=>({open:0===m.comboboxState,disabled:m.disabled}),[m]),B={ref:y,id:c,role:”combobox”,type:p,”aria-controls”:null==(n=m.optionsRef.current)?void 0:n.id,”aria-expanded”:0===m.comboboxState,”aria-activedescendant”:null===m.activeOptionIndex?void 0:m.virtual?null==(r=m.options.find(e=>{var t;return!(null!=(t=m.virtual)&&t.disabled(e.dataRef.current.value))&&m.compare(e.dataRef.current.value,m.virtual.options[m.activeOptionIndex])}))?void 0:r.id:null==(i=m.options[m.activeOptionIndex])?void 0:i.id,”aria-labelledby”:z,”aria-autocomplete”:”list”,defaultValue:null!=(s=null!=(o=e.defaultValue)?o:void 0!==m.defaultValue?null==d?void 0:d(m.defaultValue):null)?s:m.defaultValue,disabled:m.disabled,onCompositionStart:_,onCompositionEnd:O,onKeyDown:M,onChange:L,onFocus:I,onBlur:N};return(0,P.XX)({ourProps:B,theirProps:f,slot:F,defaultTag:”input”,name:”Combobox.Input”})}),Button:ed,Label:(0,P.FX)(function(e,t){let n=(0,A.B)(),{id:r=`headlessui-combobox-label-${n}`,…i}=e,o=ea(“Combobox.Label”),s=er(“Combobox.Label”),a=(0,D.P)(o.labelRef,t);(0,k.s)(()=>s.registerLabel(r),[r]);let l=(0,S._)(()=>{var e;return null==(e=o.inputRef.current)?void 0:e.focus({preventScroll:!0})}),c=(0,u.useMemo)(()=>({open:0===o.comboboxState,disabled:o.disabled}),[o]);return(0,P.XX)({ourProps:{ref:a,id:r,onClick:l},theirProps:i,slot:c,defaultTag:”label”,name:”Combobox.Label”})}),Options:(0,P.FX)(function(e,t){let n=(0,A.B)(),{id:r=`headlessui-combobox-options-${n}`,hold:i=!1,…o}=e,s=ea(“Combobox.Options”),a=(0,D.P)(s.optionsRef,t),l=(0,F.O_)(),c=null!==l?(l&F.Uw.Open)===F.Uw.Open:0===s.comboboxState;(0,k.s)(()=>{var t;s.optionsPropsRef.current.static=null!=(t=e.static)&&t},[s.optionsPropsRef,e.static]),(0,k.s)(()=>{s.optionsPropsRef.current.hold=i},[s.optionsPropsRef,i]),(0,N.i)({container:s.optionsRef.current,enabled:0===s.comboboxState,accept:e=>”option”===e.getAttribute(“role”)?NodeFilter.FILTER_REJECT:e.hasAttribute(“role”)?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT,walk(e){e.setAttribute(“role”,”none”)}});let h=E(()=>{var e,t;return null!=(t=s.labelId)?t:null==(e=s.buttonRef.current)?void 0:e.id},[s.labelId,s.buttonRef.current]),d=(0,u.useMemo)(()=>({open:0===s.comboboxState,option:void 0}),[s]),p={“aria-labelledby”:h,role:”listbox”,”aria-multiselectable”:1===s.mode||void 0,id:r,ref:a};return s.virtual&&0===s.comboboxState&&Object.assign(o,{children:u.default.createElement(eo,null,o.children)}),(0,P.XX)({ourProps:p,theirProps:o,slot:d,defaultTag:”ul”,features:ec,visible:c,name:”Combobox.Options”})}),Option:(0,P.FX)(function(e,t){var n;let r=(0,A.B)(),{id:i=`headlessui-combobox-option-${r}`,disabled:o=!1,value:s,order:a=null,…l}=e,c=ea(“Combobox.Option”),h=er(“Combobox.Option”),d=c.virtual?c.activeOptionIndex===c.calculateIndex(s):null!==c.activeOptionIndex&&(null==(n=c.options[c.activeOptionIndex])?void 0:n.id)===i,p=c.isSelected(s),f=(0,u.useRef)(null),m=(0,_.Y)({disabled:o,value:s,domRef:f,order:a}),g=(0,u.useContext)(ei),y=(0,D.P)(t,f,g?g.measureElement:null),b=(0,S._)(()=>h.onChange(s));(0,k.s)(()=>h.registerOption(i,m),[m,i]);let v=(0,u.useRef)(!(c.virtual||c.__demoMode));(0,k.s)(()=>{if(!c.virtual||!c.__demoMode)return;let e=(0,U.e)();return e.requestAnimationFrame(()=>{v.current=!0}),e.dispose},[c.virtual,c.__demoMode]),(0,k.s)(()=>{if(!v.current||0!==c.comboboxState||!d||0===c.activationTrigger)return;let e=(0,U.e)();return e.requestAnimationFrame(()=>{var e,t;null==(t=null==(e=f.current)?void 0:e.scrollIntoView)||t.call(e,{block:”nearest”})}),e.dispose},[f,d,c.comboboxState,c.activationTrigger,c.activeOptionIndex]);let w=(0,S._)(e=>{var t;if(o||null!=(t=c.virtual)&&t.disabled(s))return e.preventDefault();b(),(0,Z.Fr)()||requestAnimationFrame(()=>{var e;return null==(e=c.inputRef.current)?void 0:e.focus({preventScroll:!0})}),0===c.mode&&requestAnimationFrame(()=>h.closeCombobox())}),x=(0,S._)(()=>{var e;if(o||null!=(e=c.virtual)&&e.disabled(s))return h.goToOption($.B.Nothing);let t=c.calculateIndex(s);h.goToOption($.B.Specific,t)}),E=(0,L.J)(),C=(0,S._)(e=>E.update(e)),O=(0,S._)(e=>{var t;if(!E.wasMoved(e)||o||null!=(t=c.virtual)&&t.disabled(s)||d)return;let n=c.calculateIndex(s);h.goToOption($.B.Specific,n,0)}),T=(0,S._)(e=>{var t;E.wasMoved(e)&&(o||null!=(t=c.virtual)&&t.disabled(s)||d&&(c.optionsPropsRef.current.hold||h.goToOption($.B.Nothing)))}),M=(0,u.useMemo)(()=>({active:d,selected:p,disabled:o}),[d,p,o]);return(0,P.XX)({ourProps:{id:i,ref:y,role:”option”,tabIndex:!0===o?void 0:-1,”aria-disabled”:!0===o||void 0,”aria-selected”:p,disabled:void 0,onClick:w,onFocus:x,onPointerEnter:C,onMouseEnter:C,onPointerMove:O,onMouseMove:O,onPointerLeave:T,onMouseLeave:T},theirProps:l,slot:M,defaultTag:”li”,name:”Combobox.Option”})})})},20347:function(e,t,n){“use strict”;function r(){return(r=Object.assign||function(e){for(var t=1;tr})},3849:function(e,t,n){“use strict”;function r(e){if(null==e)throw TypeError(“Cannot destructure “+e);return e}n.d(t,{_:()=>r})},88285:function(e,t,n){“use strict”;n.d(t,{AB:()=>eH,BQ:()=>ev,CU:()=>L,Df:()=>eh,FF:()=>ep,GG:()=>eV,JJ:()=>eF,KE:()=>eP,KV:()=>y,MG:()=>ew,Nx:()=>es,OX:()=>eI,Op:()=>eb,T7:()=>eo,YY:()=>I,Yp:()=>ej,Yv:()=>e$,Zc:()=>eU,_w:()=>el,bP:()=>eq,eE:()=>V,gk:()=>w,gu:()=>ed,hO:()=>ef,iI:()=>p,jT:()=>ez,rU:()=>ee,tG:()=>eB,yQ:()=>eu,zU:()=>b});var r=n(26469),i=n(62095),o=n(95139),s=n(579),a=n(97070),l=n(52674),u=n(9204);function c(e){let{state:t,transaction:n}=e,{selection:r}=n,{doc:i}=n,{storedMarks:o}=n;return{…t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return o},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,o=n.storedMarks,n}}}class h{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){let{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:i}=n,o=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,(…e)=>{let n=t(…e)(o);return i.getMeta(“preventDispatch”)||this.hasCustomState||r.dispatch(i),n}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:o}=r,s=[],a=!!e,l=e||i.tr,u=()=>(a||!t||l.getMeta(“preventDispatch”)||this.hasCustomState||o.dispatch(l),s.every(e=>!0===e)),c={…Object.fromEntries(Object.entries(n).map(([e,n])=>[e,(…e)=>{let r=this.buildProps(l,t),i=n(…e)(r);return s.push(i),c}])),run:u};return c}createCan(e){let{rawCommands:t,state:n}=this,r=e||n.tr,i=this.buildProps(r,!1);return{…Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(…e)=>t(…e)({…i,dispatch:void 0})])),chain:()=>this.createChain(r,!1)}}buildProps(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:o}=r,s={tr:e,editor:r,view:o,state:c({state:i,transaction:e}),dispatch:t?()=>void 0:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map(([e,t])=>[e,(…e)=>t(…e)(s)]))}};return s}}class d{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,…t){let n=this.callbacks[e];return n&&n.forEach(e=>e.apply(this,t)),this}off(e,t){let n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter(e=>e!==t):delete this.callbacks[e]),this}once(e,t){let n=(…r)=>{this.off(e,n),t.apply(this,r)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}}function p(e,t,n){return void 0===e.config[t]&&e.parent?p(e.parent,t,n):”function”==typeof e.config[t]?e.config[t].bind({…n,parent:e.parent?p(e.parent,t,n):null}):e.config[t]}function f(e){let t=e.filter(e=>”extension”===e.type);return{baseExtensions:t,nodeExtensions:e.filter(e=>”node”===e.type),markExtensions:e.filter(e=>”mark”===e.type)}}function m(e){let t=[],{nodeExtensions:n,markExtensions:r}=f(e),i=[…n,…r],o={default:null,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1};return e.forEach(e=>{let n={name:e.name,options:e.options,storage:e.storage,extensions:i},r=p(e,”addGlobalAttributes”,n);r&&r().forEach(e=>{e.types.forEach(n=>{Object.entries(e.attributes).forEach(([e,r])=>{t.push({type:n,name:e,attribute:{…o,…r}})})})})}),i.forEach(e=>{let n={name:e.name,options:e.options,storage:e.storage},r=p(e,”addAttributes”,n);r&&Object.entries(r()).forEach(([n,r])=>{let i={…o,…r};”function”==typeof(null==i?void 0:i.default)&&(i.default=i.default()),(null==i?void 0:i.isRequired)&&(null==i?void 0:i.default)===void 0&&delete i.default,t.push({type:e.name,name:n,attribute:i})})}),t}function g(e,t){if(“string”==typeof e){if(!t.nodes[e])throw Error(`There is no node type named ‘${e}’. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}function y(…e){return e.filter(e=>!!e).reduce((e,t)=>{let n={…e};return Object.entries(t).forEach(([e,t])=>{if(!n[e]){n[e]=t;return}if(“class”===e){let r=t?String(t).split(” “):[],i=n[e]?n[e].split(” “):[],o=r.filter(e=>!i.includes(e));n[e]=[…i,…o].join(” “)}else if(“style”===e){let r=t?t.split(“;”).map(e=>e.trim()).filter(Boolean):[],i=n[e]?n[e].split(“;”).map(e=>e.trim()).filter(Boolean):[],o=new Map;i.forEach(e=>{let[t,n]=e.split(“:”).map(e=>e.trim());o.set(t,n)}),r.forEach(e=>{let[t,n]=e.split(“:”).map(e=>e.trim());o.set(t,n)}),n[e]=Array.from(o.entries()).map(([e,t])=>`${e}: ${t}`).join(“; “)}else n[e]=t}),n},{})}function b(e,t){return t.filter(t=>t.type===e.type.name).filter(e=>e.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]}).reduce((e,t)=>y(e,t),{})}function v(e){return”function”==typeof e}function w(e,t,…n){return v(e)?t?e.bind(t)(…n):e(…n):e}function x(e,t){return”style”in e?e:{…e,getAttrs:n=>{let r=e.getAttrs?e.getAttrs(n):e.attrs;if(!1===r)return!1;let i=t.reduce((e,t)=>{var r;let i=t.attribute.parseHTML?t.attribute.parseHTML(n):”string”!=typeof(r=n.getAttribute(t.name))?r:r.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(r):”true”===r||”false”!==r&&r;return null==i?e:{…e,[t.name]:i}},{});return{…r,…i}}}}function k(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>!(“attrs”===e&&function(e={}){return 0===Object.keys(e).length&&e.constructor===Object}(t))&&null!=t))}function _(e,t){var n;let r=m(e),{nodeExtensions:i,markExtensions:o}=f(e),a=null==(n=i.find(e=>p(e,”topNode”)))?void 0:n.name,l=Object.fromEntries(i.map(n=>{let i=r.filter(e=>e.type===n.name),o={name:n.name,options:n.options,storage:n.storage,editor:t},s=k({…e.reduce((e,t)=>{let r=p(t,”extendNodeSchema”,o);return{…e,…r?r(n):{}}},{}),content:w(p(n,”content”,o)),marks:w(p(n,”marks”,o)),group:w(p(n,”group”,o)),inline:w(p(n,”inline”,o)),atom:w(p(n,”atom”,o)),selectable:w(p(n,”selectable”,o)),draggable:w(p(n,”draggable”,o)),code:w(p(n,”code”,o)),whitespace:w(p(n,”whitespace”,o)),linebreakReplacement:w(p(n,”linebreakReplacement”,o)),defining:w(p(n,”defining”,o)),isolating:w(p(n,”isolating”,o)),attrs:Object.fromEntries(i.map(e=>{var t;return[e.name,{default:null==(t=null==e?void 0:e.attribute)?void 0:t.default}]}))}),a=w(p(n,”parseHTML”,o));a&&(s.parseDOM=a.map(e=>x(e,i)));let l=p(n,”renderHTML”,o);l&&(s.toDOM=e=>l({node:e,HTMLAttributes:b(e,i)}));let u=p(n,”renderText”,o);return u&&(s.toText=u),[n.name,s]})),u=Object.fromEntries(o.map(n=>{let i=r.filter(e=>e.type===n.name),o={name:n.name,options:n.options,storage:n.storage,editor:t},s=k({…e.reduce((e,t)=>{let r=p(t,”extendMarkSchema”,o);return{…e,…r?r(n):{}}},{}),inclusive:w(p(n,”inclusive”,o)),excludes:w(p(n,”excludes”,o)),group:w(p(n,”group”,o)),spanning:w(p(n,”spanning”,o)),code:w(p(n,”code”,o)),attrs:Object.fromEntries(i.map(e=>{var t;return[e.name,{default:null==(t=null==e?void 0:e.attribute)?void 0:t.default}]}))}),a=w(p(n,”parseHTML”,o));a&&(s.parseDOM=a.map(e=>x(e,i)));let l=p(n,”renderHTML”,o);return l&&(s.toDOM=e=>l({mark:e,HTMLAttributes:b(e,i)})),[n.name,s]}));return new s.Sj({topNode:a,nodes:l,marks:u})}function E(e,t){return t.nodes[e]||t.marks[e]||null}function S(e,t){return Array.isArray(t)?t.some(t=>(“string”==typeof t?t:t.name)===e.name):t}function C(e,t){let n=s.ZF.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement(“div”);return r.appendChild(n),r.innerHTML}function A(e){return”[object RegExp]”===Object.prototype.toString.call(e)}class O{constructor(e){this.find=e.find,this.handler=e.handler}}function T(e){var t;let{editor:n,from:r,to:i,text:o,rules:s,plugin:a}=e,{view:l}=n;if(l.composing)return!1;let u=l.state.doc.resolve(r);if(u.parent.type.spec.code||(null==(t=u.nodeBefore||u.nodeAfter)?void 0:t.marks.find(e=>e.type.spec.code)))return!1;let d=!1,p=((e,t=500)=>{let n=””,r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(e,t,i,o)=>{var s,a;let l=(null==(a=(s=e.type.spec).toText)?void 0:a.call(s,{node:e,pos:t,parent:i,index:o}))||e.textContent||”%leaf%”;n+=e.isAtom&&!e.isText?l:l.slice(0,Math.max(0,r-t))}),n})(u)+o;return s.forEach(e=>{if(d)return;let t=((e,t)=>{if(A(t))return t.exec(e);let n=t(e);if(!n)return null;let r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn(‘[tiptap warn]: “inputRuleMatch.replaceWith” must be part of “inputRuleMatch.text”.’),r.push(n.replaceWith)),r})(p,e.find);if(!t)return;let s=l.state.tr,u=c({state:l.state,transaction:s}),f={from:r-(t[0].length-o.length),to:i},{commands:m,chain:g,can:y}=new h({editor:n,state:u});null!==e.handler({state:u,range:f,match:t,commands:m,chain:g,can:y})&&s.steps.length&&(s.setMeta(a,{transform:s,from:r,to:i,text:o}),l.dispatch(s),d=!0)}),d}function M(e){return”Object”===Object.prototype.toString.call(e).slice(8,-1)&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function D(e,t){let n={…e};return M(e)&&M(t)&&Object.keys(t).forEach(r=>{M(t[r])&&M(e[r])?n[r]=D(e[r],t[r]):n[r]=t[r]}),n}class L{constructor(e={}){this.type=”mark”,this.name=”mark”,this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={…this.config,…e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: “defaultOptions” is deprecated. Please use “addOptions” instead. Found in extension: “${this.name}”.`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=w(p(this,”addOptions”,{name:this.name}))),this.storage=w(p(this,”addStorage”,{name:this.name,options:this.options}))||{}}static create(e={}){return new L(e)}configure(e={}){let t=this.extend({…this.config,addOptions:()=>D(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){let t=new L(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: “defaultOptions” is deprecated. Please use “addOptions” instead. Found in extension: “${t.name}”.`),t.options=w(p(t,”addOptions”,{name:t.name})),t.storage=w(p(t,”addStorage”,{name:t.name,options:t.options})),t}static handleExit({editor:e,mark:t}){let{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){let i=r.marks();if(!i.find(e=>(null==e?void 0:e.type.name)===t.name))return!1;let o=i.find(e=>(null==e?void 0:e.type.name)===t.name);return o&&n.removeStoredMark(o),n.insertText(” “,r.pos),e.view.dispatch(n),!0}return!1}}class N{constructor(e){this.find=e.find,this.handler=e.handler}}let R=null;class P{constructor(e,t){this.splittableMarks=[],this.editor=t,this.extensions=P.resolve(e),this.schema=_(this.extensions,t),this.setupExtensions()}static resolve(e){var t;let n=P.sort(P.flatten(e)),r=Array.from(new Set((t=n.map(e=>e.name)).filter((e,n)=>t.indexOf(e)!==n)));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(e=>`’${e}’`).join(“, “)}]. This can lead to issues.`),n}static flatten(e){return e.map(e=>{let t={name:e.name,options:e.options,storage:e.storage},n=p(e,”addExtensions”,t);return n?[e,…this.flatten(n())]:e}).flat(10)}static sort(e){return e.sort((e,t)=>{let n=p(e,”priority”)||100,r=p(t,”priority”)||100;return n>r?-1:+(n{let n={name:t.name,options:t.options,storage:t.storage,editor:this.editor,type:E(t.name,this.schema)},r=p(t,”addCommands”,n);return r?{…e,…r()}:e},{})}get plugins(){let{editor:e}=this,t=P.sort([…this.extensions].reverse()),n=[],i=[],a=t.map(t=>{let r={name:t.name,options:t.options,storage:t.storage,editor:e,type:E(t.name,this.schema)},s=[],a=p(t,”addKeyboardShortcuts”,r),l={};if(“mark”===t.type&&p(t,”exitable”,r)&&(l.ArrowRight=()=>L.handleExit({editor:e,mark:t})),a){let t=Object.fromEntries(Object.entries(a()).map(([t,n])=>[t,()=>n({editor:e})]));l={…l,…t}}let u=(0,o.w)(l);s.push(u);let c=p(t,”addInputRules”,r);S(t,e.options.enableInputRules)&&c&&n.push(…c());let h=p(t,”addPasteRules”,r);S(t,e.options.enablePasteRules)&&h&&i.push(…h());let d=p(t,”addProseMirrorPlugins”,r);if(d){let e=d();s.push(…e)}return s}).flat();return[function(e){let{editor:t,rules:n}=e,i=new r.k_({state:{init:()=>null,apply(e,r,o){let a=e.getMeta(i);if(a)return a;let l=e.getMeta(“applyInputRules”);return l&&setTimeout(()=>{let{text:e}=l;”string”==typeof e||(e=C(s.FK.from(e),o.schema));let{from:r}=l,a=r+e.length;T({editor:t,from:r,to:a,text:e,rules:n,plugin:i})}),e.selectionSet||e.docChanged?null:r}},props:{handleTextInput:(e,r,o,s)=>T({editor:t,from:r,to:o,text:s,rules:n,plugin:i}),handleDOMEvents:{compositionend:e=>(setTimeout(()=>{let{$cursor:r}=e.state.selection;r&&T({editor:t,from:r.pos,to:r.pos,text:””,rules:n,plugin:i})}),!1)},handleKeyDown(e,r){if(“Enter”!==r.key)return!1;let{$cursor:o}=e.state.selection;return!!o&&T({editor:t,from:o.pos,to:o.pos,text:”\n”,rules:n,plugin:i})}},isInputRules:!0});return i}({editor:e,rules:n}),…function(e){let t,{editor:n,rules:i}=e,o=null,a=!1,l=!1,u=”undefined”!=typeof ClipboardEvent?new ClipboardEvent(“paste”):null;try{t=”undefined”!=typeof DragEvent?new DragEvent(“drop”):null}catch{t=null}let d=({state:e,from:r,to:i,rule:o,pasteEvt:s})=>{let a=e.tr;if(function(e){let{editor:t,state:n,from:r,to:i,rule:o,pasteEvent:s,dropEvent:a}=e,{commands:l,chain:u,can:c}=new h({editor:t,state:n}),d=[];return n.doc.nodesBetween(r,i,(e,t)=>{if(!e.isTextblock||e.type.spec.code)return;let h=Math.max(r,t),p=Math.min(i,t+e.content.size);((e,t,n)=>{if(A(t))return[…e.matchAll(t)];let r=t(e,n);return r?r.map(t=>{let n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn(‘[tiptap warn]: “pasteRuleMatch.replaceWith” must be part of “pasteRuleMatch.text”.’),n.push(t.replaceWith)),n}):[]})(e.textBetween(h-t,p-t,void 0,””),o.find,s).forEach(e=>{if(void 0===e.index)return;let t=h+e.index+1,r=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},p=o.handler({state:n,range:i,match:e,commands:l,chain:u,can:c,pasteEvent:s,dropEvent:a});d.push(p)})}),d.every(e=>null!==e)}({editor:n,state:c({state:e,transaction:a}),from:Math.max(r-1,0),to:i.b-1,rule:o,pasteEvent:s,dropEvent:t})&&a.steps.length){try{t=”undefined”!=typeof DragEvent?new DragEvent(“drop”):null}catch{t=null}return u=”undefined”!=typeof ClipboardEvent?new ClipboardEvent(“paste”):null,a}};return i.map(e=>new r.k_({view(e){let t=t=>{var r;(o=(null==(r=e.dom.parentElement)?void 0:r.contains(t.target))?e.dom.parentElement:null)&&(R=n)},r=()=>{R&&(R=null)};return window.addEventListener(“dragstart”,t),window.addEventListener(“dragend”,r),{destroy(){window.removeEventListener(“dragstart”,t),window.removeEventListener(“dragend”,r)}}},props:{handleDOMEvents:{drop:(e,n)=>{if(l=o===e.dom.parentElement,t=n,!l){let e=R;(null==e?void 0:e.isEditable)&&setTimeout(()=>{let t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})},10)}return!1},paste:(e,t)=>{var n;let r=null==(n=t.clipboardData)?void 0:n.getData(“text/html”);return u=t,a=!!(null==r?void 0:r.includes(“data-pm-slice”)),!1}}},appendTransaction:(t,n,r)=>{let i=t[0],o=”paste”===i.getMeta(“uiEvent”)&&!a,c=”drop”===i.getMeta(“uiEvent”)&&!l,h=i.getMeta(“applyPasteRules”),p=!!h;if(!o&&!c&&!p)return;if(p){var f,m;let t,{text:n}=h;”string”==typeof n||(n=C(s.FK.from(n),r.schema));let{from:i}=h,o=i+n.length;return d({rule:e,state:r,from:i,to:{b:o},pasteEvt:(f=n,null==(m=(t=new ClipboardEvent(“paste”,{clipboardData:new DataTransfer})).clipboardData)||m.setData(“text/html”,f),t)})}let g=n.doc.content.findDiffStart(r.doc.content),y=n.doc.content.findDiffEnd(r.doc.content);if(“number”==typeof g&&y&&g!==y.b)return d({rule:e,state:r,from:g,to:y,pasteEvt:u})}}))}({editor:e,rules:i}),…a]}get attributes(){return m(this.extensions)}get nodeViews(){let{editor:e}=this,{nodeExtensions:t}=f(this.extensions);return Object.fromEntries(t.filter(e=>!!p(e,”addNodeView”)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r={name:t.name,options:t.options,storage:t.storage,editor:e,type:g(t.name,this.schema)},i=p(t,”addNodeView”,r);return i?[t.name,(r,o,s,a,l)=>{let u=b(r,n);return i()({node:r,view:o,getPos:s,decorations:a,innerDecorations:l,editor:e,extension:t,HTMLAttributes:u})}]:[]}))}setupExtensions(){this.extensions.forEach(e=>{var t;this.editor.extensionStorage[e.name]=e.storage;let n={name:e.name,options:e.options,storage:e.storage,editor:this.editor,type:E(e.name,this.schema)};”mark”===e.type&&(null==(t=w(p(e,”keepOnSplit”,n)))||t)&&this.splittableMarks.push(e.name);let r=p(e,”onBeforeCreate”,n),i=p(e,”onCreate”,n),o=p(e,”onUpdate”,n),s=p(e,”onSelectionUpdate”,n),a=p(e,”onTransaction”,n),l=p(e,”onFocus”,n),u=p(e,”onBlur”,n),c=p(e,”onDestroy”,n);r&&this.editor.on(“beforeCreate”,r),i&&this.editor.on(“create”,i),o&&this.editor.on(“update”,o),s&&this.editor.on(“selectionUpdate”,s),a&&this.editor.on(“transaction”,a),l&&this.editor.on(“focus”,l),u&&this.editor.on(“blur”,u),c&&this.editor.on(“destroy”,c)})}}class I{constructor(e={}){this.type=”extension”,this.name=”extension”,this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={…this.config,…e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: “defaultOptions” is deprecated. Please use “addOptions” instead. Found in extension: “${this.name}”.`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=w(p(this,”addOptions”,{name:this.name}))),this.storage=w(p(this,”addStorage”,{name:this.name,options:this.options}))||{}}static create(e={}){return new I(e)}configure(e={}){let t=this.extend({…this.config,addOptions:()=>D(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){let t=new I({…this.config,…e});return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: “defaultOptions” is deprecated. Please use “addOptions” instead. Found in extension: “${t.name}”.`),t.options=w(p(t,”addOptions”,{name:t.name})),t.storage=w(p(t,”addStorage”,{name:t.name,options:t.options})),t}}function z(e,t,n){let{from:r,to:i}=t,{blockSeparator:o=”\n\n”,textSerializers:s={}}=n||{},a=””;return e.nodesBetween(r,i,(e,n,l,u)=>{var c;e.isBlock&&n>r&&(a+=o);let h=null==s?void 0:s[e.type.name];if(h)return l&&(a+=h({node:e,pos:n,parent:l,index:u,range:t})),!1;e.isText&&(a+=null==(c=null==e?void 0:e.text)?void 0:c.slice(Math.max(r,n)-n,i-n))}),a}function F(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}let j=I.create({name:”clipboardTextSerializer”,addOptions:()=>({blockSeparator:void 0}),addProseMirrorPlugins(){return[new r.k_({key:new r.hs(“clipboardTextSerializer”),props:{clipboardTextSerializer:()=>{let{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,{ranges:o}=i,s=Math.min(…o.map(e=>e.$from.pos)),a=Math.max(…o.map(e=>e.$to.pos)),l=F(n);return z(r,{from:s,to:a},{…void 0!==this.options.blockSeparator?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}});function B(e,t,n={strict:!0}){let r=Object.keys(t);return!r.length||r.every(r=>n.strict?t[r]===e[r]:A(t[r])?t[r].test(e[r]):t[r]===e[r])}function q(e,t,n={}){return e.find(e=>e.type===t&&B(Object.fromEntries(Object.keys(n).map(t=>[t,e.attrs[t]])),n))}function $(e,t,n={}){return!!q(e,t,n)}function U(e,t,n){var r;if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if(i.node&&i.node.marks.some(e=>e.type===t)||(i=e.parent.childBefore(e.parentOffset)),!i.node||!i.node.marks.some(e=>e.type===t)||(n=n||(null==(r=i.node.marks[0])?void 0:r.attrs),!q([…i.node.marks],t,n)))return;let o=i.index,s=e.start()+i.offset,a=o+1,l=s+i.node.nodeSize;for(;o>0&&$([…e.parent.child(o-1).marks],t,n);)o-=1,s-=e.parent.child(o).nodeSize;for(;a{let t=e.childNodes;for(let n=t.length-1;n>=0;n-=1){let r=t[n];3===r.nodeType&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):1===r.nodeType&&J(r)}return e};function Y(e){let t=`${e}`;return J(new window.DOMParser().parseFromString(t,”text/html”).body)}function X(e,t,n){if(e instanceof s.bP||e instanceof s.FK)return e;n={slice:!0,parseOptions:{},…n};let r=”object”==typeof e&&null!==e,i=”string”==typeof e;if(r)try{if(Array.isArray(e)&&e.length>0)return s.FK.fromArray(e.map(e=>t.nodeFromJSON(e)));let r=t.nodeFromJSON(e);return n.errorOnInvalidContent&&r.check(),r}catch(r){if(n.errorOnInvalidContent)throw Error(“[tiptap error]: Invalid JSON content”,{cause:r});return console.warn(“[tiptap warn]: Invalid content.”,”Passed value:”,e,”Error:”,r),X(“”,t,n)}if(i){if(n.errorOnInvalidContent){let r=!1,i=””,o=new s.Sj({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:”inline*”,group:”block”,parseDOM:[{tag:”*”,getAttrs:e=>(r=!0,i=”string”==typeof e?e:e.outerHTML,null)}]}})});if(n.slice?s.S4.fromSchema(o).parseSlice(Y(e),n.parseOptions):s.S4.fromSchema(o).parse(Y(e),n.parseOptions),n.errorOnInvalidContent&&r)throw Error(“[tiptap error]: Invalid HTML content”,{cause:Error(`Invalid element found: ${i}`)})}let r=s.S4.fromSchema(t);return n.slice?r.parseSlice(Y(e),n.parseOptions).content:r.parse(Y(e),n.parseOptions)}return X(“”,t,n)}function Q(){return”undefined”!=typeof navigator&&/Mac/.test(navigator.platform)}function ee(e,t,n={}){let{from:r,to:i,empty:o}=e.selection,s=t?g(t,e.schema):null,a=[];e.doc.nodesBetween(r,i,(e,t)=>{if(e.isText)return;let n=Math.max(r,t),o=Math.min(i,t+e.nodeSize);a.push({node:e,from:n,to:o})});let l=i-r,u=a.filter(e=>!s||s.name===e.node.type.name).filter(e=>B(e.node.attrs,n,{strict:!1}));return o?!!u.length:u.reduce((e,t)=>e+t.to-t.from,0)>=l}function et(e,t){return t.nodes[e]?”node”:t.marks[e]?”mark”:null}function en(e,t){let n=”string”==typeof t?[t]:t;return Object.keys(e).reduce((t,r)=>(n.includes(r)||(t[r]=e[r]),t),{})}function er(e,t,n={},r={}){return X(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}function ei(e,t){let n=H(t,e.schema),{from:r,to:i,empty:o}=e.selection,s=[];o?(e.storedMarks&&s.push(…e.storedMarks),s.push(…e.selection.$head.marks())):e.doc.nodesBetween(r,i,e=>{s.push(…e.marks)});let a=s.find(e=>e.type.name===n.name);return a?{…a.attrs}:{}}function eo(e,t){let n=new a.dL(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}function es(e,t,n){let r=[];return e.nodesBetween(t.from,t.to,(e,t)=>{n(e)&&r.push({node:e,pos:t})}),r}function ea(e){return t=>(function(e,t){for(let n=e.depth;n>0;n-=1){let r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}})(t.$from,e)}function el(e,t){return _(P.resolve(e),t)}function eu(e,t){let n=el(t),r=Y(e);return s.S4.fromSchema(n).parse(r).toJSON()}function ec(e,t){let n={from:0,to:e.content.size};return z(e,n,t)}function eh(e,t,n){let{blockSeparator:r=”\n\n”,textSerializers:i={}}=n||{},o=el(t);return ec(s.bP.fromJSON(o,e),{blockSeparator:r,textSerializers:{…F(o),…i}})}function ed(e,t){let n=et(“string”==typeof t?t:t.name,e.schema);return”node”===n?function(e,t){let n=g(t,e.schema),{from:r,to:i}=e.selection,o=[];e.doc.nodesBetween(r,i,e=>{o.push(e)});let s=o.reverse().find(e=>e.type.name===n.name);return s?{…s.attrs}:{}}(e,t):”mark”===n?ei(e,t):{}}function ep(e){let t,{mapping:n,steps:r}=e,i=[];return n.maps.forEach((e,t)=>{let o=[];if(e.ranges.length)e.forEach((e,t)=>{o.push({from:e,to:t})});else{let{from:e,to:n}=r[t];if(void 0===e||void 0===n)return;o.push({from:e,to:n})}o.forEach(({from:e,to:r})=>{let o=n.slice(t).map(e,-1),s=n.slice(t).map(r),a=n.invert().map(o,-1),l=n.invert().map(s);i.push({oldRange:{from:a,to:l},newRange:{from:o,to:s}})})}),1===(t=function(e,t=JSON.stringify){let n={};return e.filter(e=>{let r=t(e);return!Object.prototype.hasOwnProperty.call(n,r)&&(n[r]=!0)})}(i)).length?t:t.filter((e,n)=>!t.filter((e,t)=>t!==n).some(t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))}function ef(e,t,n){let r=[];return e===t?n.resolve(e).marks().forEach(t=>{let i=U(n.resolve(e),t.type);i&&r.push({mark:t,…i})}):n.nodesBetween(e,t,(e,t)=>{e&&(null==e?void 0:e.nodeSize)!==void 0&&r.push(…e.marks.map(n=>({from:t,to:t+e.nodeSize,mark:n})))}),r}function em(e,t,n){return Object.fromEntries(Object.entries(n).filter(([n])=>{let r=e.find(e=>e.type===t&&e.name===n);return!!r&&r.attribute.keepOnSplit}))}function eg(e,t,n={}){let{empty:r,ranges:i}=e.selection,o=t?H(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(e=>!o||o.name===e.type.name).find(e=>B(e.attrs,n,{strict:!1}));let s=0,a=[];if(i.forEach(({$from:t,$to:n})=>{let r=t.pos,i=n.pos;e.doc.nodesBetween(r,i,(e,t)=>{if(!e.isText&&!e.marks.length)return;let n=Math.max(r,t),o=Math.min(i,t+e.nodeSize);s+=o-n,a.push(…e.marks.map(e=>({mark:e,from:n,to:o})))})}),0===s)return!1;let l=a.filter(e=>!o||o.name===e.mark.type.name).filter(e=>B(e.mark.attrs,n,{strict:!1})).reduce((e,t)=>e+t.to-t.from,0),u=a.filter(e=>!o||e.mark.type!==o&&e.mark.type.excludes(o)).reduce((e,t)=>e+t.to-t.from,0);return(l>0?l+u:l)>=s}function ey(e,t){let{nodeExtensions:n}=f(t),r=n.find(t=>t.name===e);if(!r)return!1;let i={name:r.name,options:r.options,storage:r.storage},o=w(p(r,”group”,i));return”string”==typeof o&&o.split(” “).includes(“list”)}function eb(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){var r;if(n){if(“hardBreak”===e.type.name)return!0;if(e.isText)return/^\s*$/m.test(null!=(r=e.text)?r:””)}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(0===e.content.childCount)return!0;if(t){let r=!0;return e.content.forEach(e=>{!1!==r&&(eb(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))}),r}return!1}function ev(e){return e instanceof r.nh}function ew(e,t,n){let r=e.state.doc.content.size,i=W(t,0,r),o=W(n,0,r),s=e.coordsAtPos(i),a=e.coordsAtPos(o,-1),l=Math.min(s.top,a.top),u=Math.max(s.bottom,a.bottom),c=Math.min(s.left,a.left),h=Math.max(s.right,a.right),d={top:l,bottom:u,left:c,right:h,width:h-c,height:u-l,x:c,y:l};return{…d,toJSON:()=>d}}function ex(e,t){let n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){let r=n.filter(e=>null==t?void 0:t.includes(e.type.name));e.tr.ensureMarks(r)}}let ek=(e,t)=>{let n=ea(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(void 0===r)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===(null==i?void 0:i.type)&&(0,a.n9)(e.doc,n.pos))||(e.join(n.pos),!0)},e_=(e,t)=>{let n=ea(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(n.start).after(n.depth);if(void 0===r)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===(null==i?void 0:i.type)&&(0,a.n9)(e.doc,r))||(e.join(r),!0)};var eE=Object.freeze({__proto__:null,blur:()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{var n;e.isDestroyed||(t.dom.blur(),null==(n=null==window?void 0:window.getSelection())||n.removeAllRanges())}),!0),clearContent:(e=!1)=>({commands:t})=>t.setContent(“”,e),clearNodes:()=>({state:e,tr:t,dispatch:n})=>{let{selection:r}=t,{ranges:i}=r;return!n||(i.forEach(({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,(e,n)=>{if(e.type.isText)return;let{doc:r,mapping:i}=t,o=r.resolve(i.map(n)),s=r.resolve(i.map(n+e.nodeSize)),l=o.blockRange(s);if(!l)return;let u=(0,a.jP)(l);if(e.type.isTextblock){let{defaultType:e}=o.parent.contentMatchAt(o.index());t.setNodeMarkup(l.start,e)}(u||0===u)&&t.lift(l,u)})}),!0)},command:e=>t=>e(t),createParagraphNear:()=>({state:e,dispatch:t})=>(0,l.Z1)(e,t),cut:(e,t)=>({editor:n,tr:i})=>{let{state:o}=n,s=o.doc.slice(e.from,e.to);i.deleteRange(e.from,e.to);let a=i.mapping.map(t);return i.insert(a,s.content),i.setSelection(new r.U3(i.doc.resolve(Math.max(a-1,0)))),!0},deleteCurrentNode:()=>({tr:e,dispatch:t})=>{let{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;let i=e.selection.$anchor;for(let n=i.depth;n>0;n-=1)if(i.node(n).type===r.type){if(t){let t=i.before(n),r=i.after(n);e.delete(t,r).scrollIntoView()}return!0}return!1},deleteNode:e=>({tr:t,state:n,dispatch:r})=>{let i=g(e,n.schema),o=t.selection.$anchor;for(let e=o.depth;e>0;e-=1)if(o.node(e).type===i){if(r){let n=o.before(e),r=o.after(e);t.delete(n,r).scrollIntoView()}return!0}return!1},deleteRange:e=>({tr:t,dispatch:n})=>{let{from:r,to:i}=e;return n&&t.delete(r,i),!0},deleteSelection:()=>({state:e,dispatch:t})=>(0,l.ic)(e,t),enter:()=>({commands:e})=>e.keyboardShortcut(“Enter”),exitCode:()=>({state:e,dispatch:t})=>(0,l.I$)(e,t),extendMarkRange:(e,t={})=>({tr:n,state:i,dispatch:o})=>{let s=H(e,i.schema),{doc:a,selection:l}=n,{$from:u,from:c,to:h}=l;if(o){let e=U(u,s,t);if(e&&e.from<=c&&e.to>=h){let t=r.U3.create(a,e.from,e.to);n.setSelection(t)}}return!0},first:e=>t=>{let n=”function”==typeof e?e(t):e;for(let e=0;e({editor:n,view:r,tr:i,dispatch:o})=>{t={scrollIntoView:!0,…t};let s=()=>{(G()||K())&&r.dom.focus(),requestAnimationFrame(()=>{!n.isDestroyed&&(r.focus(),(null==t?void 0:t.scrollIntoView)&&n.commands.scrollIntoView())})};if(r.hasFocus()&&null===e||!1===e)return!0;if(o&&null===e&&!V(n.state.selection))return s(),!0;let a=Z(i.doc,e)||n.state.selection,l=n.state.selection.eq(a);return o&&(l||i.setSelection(a),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),s()),!0},forEach:(e,t)=>n=>e.every((e,r)=>t(e,{…n,index:r})),insertContent:(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),insertContentAt:(e,t,n)=>({tr:i,dispatch:o,editor:l})=>{var u;if(o){let o,c;n={parseOptions:l.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,…n};let h=e=>{l.emit(“contentError”,{editor:l,error:e,disableCollaboration:()=>{l.storage.collaboration&&(l.storage.collaboration.isDisabled=!0)}})},d={preserveWhitespace:”full”,…n.parseOptions};if(!n.errorOnInvalidContent&&!l.options.enableContentCheck&&l.options.emitContentError)try{X(t,l.schema,{parseOptions:d,errorOnInvalidContent:!0})}catch(e){h(e)}try{o=X(t,l.schema,{parseOptions:d,errorOnInvalidContent:null!=(u=n.errorOnInvalidContent)?u:l.options.enableContentCheck})}catch(e){return h(e),!1}let{from:p,to:f}=”number”==typeof e?{from:e,to:e}:{from:e.from,to:e.to},m=!0,g=!0;if((!(“type”in o)?o:[o]).forEach(e=>{e.check(),m=!!m&&e.isText&&0===e.marks.length,g=!!g&&e.isBlock}),p===f&&g){let{parent:e}=i.doc.resolve(p);!e.isTextblock||e.type.spec.code||e.childCount||(p-=1,f+=1)}if(m){if(Array.isArray(t))c=t.map(e=>e.text||””).join(“”);else if(t instanceof s.FK){let e=””;t.forEach(t=>{t.text&&(e+=t.text)}),c=e}else c=”object”==typeof t&&t&&t.text?t.text:t;i.insertText(c,p,f)}else c=o,i.replaceWith(p,f,c);n.updateSelection&&function(e,t,n){let i=e.steps.length-1;if(i{0===l&&(l=r)}),e.setSelection(r.LN.near(e.doc.resolve(l),-1))}(i,i.steps.length-1,0),n.applyInputRules&&i.setMeta(“applyInputRules”,{from:p,text:c}),n.applyPasteRules&&i.setMeta(“applyPasteRules”,{from:p,text:c})}return!0},joinBackward:()=>({state:e,dispatch:t})=>(0,l.Qv)(e,t),joinDown:()=>({state:e,dispatch:t})=>(0,l.bh)(e,t),joinForward:()=>({state:e,dispatch:t})=>(0,l.eT)(e,t),joinItemBackward:()=>({state:e,dispatch:t,tr:n})=>{try{let r=(0,a.N0)(e.doc,e.selection.$from.pos,-1);if(null==r)return!1;return n.join(r,2),t&&t(n),!0}catch{return!1}},joinItemForward:()=>({state:e,dispatch:t,tr:n})=>{try{let r=(0,a.N0)(e.doc,e.selection.$from.pos,1);if(null==r)return!1;return n.join(r,2),t&&t(n),!0}catch{return!1}},joinTextblockBackward:()=>({state:e,dispatch:t})=>(0,l.eB)(e,t),joinTextblockForward:()=>({state:e,dispatch:t})=>(0,l._G)(e,t),joinUp:()=>({state:e,dispatch:t})=>(0,l.G2)(e,t),keyboardShortcut:e=>({editor:t,view:n,tr:r,dispatch:i})=>{let o=(function(e){let t,n,r,i,o=e.split(/-(?!$)/),s=o[o.length-1];”Space”===s&&(s=” “);for(let e=0;e![“Alt”,”Ctrl”,”Meta”,”Shift”].includes(e)),a=new KeyboardEvent(“keydown”,{key:”Space”===s?” “:s,altKey:o.includes(“Alt”),ctrlKey:o.includes(“Ctrl”),metaKey:o.includes(“Meta”),shiftKey:o.includes(“Shift”),bubbles:!0,cancelable:!0}),l=t.captureTransaction(()=>{n.someProp(“handleKeyDown”,e=>e(n,a))});return null==l||l.steps.forEach(e=>{let t=e.map(r.mapping);t&&i&&r.maybeStep(t)}),!0},lift:(e,t={})=>({state:n,dispatch:r})=>{let i=g(e,n.schema);return!!ee(n,i,t)&&(0,l.yY)(n,r)},liftEmptyBlock:()=>({state:e,dispatch:t})=>(0,l.iz)(e,t),liftListItem:e=>({state:t,dispatch:n})=>{let r=g(e,t.schema);return(0,u.T2)(r)(t,n)},newlineInCode:()=>({state:e,dispatch:t})=>(0,l.pC)(e,t),resetAttributes:(e,t)=>({tr:n,state:r,dispatch:i})=>{let o=null,s=null,a=et(“string”==typeof e?e:e.name,r.schema);return!!a&&(“node”===a&&(o=g(e,r.schema)),”mark”===a&&(s=H(e,r.schema)),i&&n.selection.ranges.forEach(e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,(e,r)=>{o&&o===e.type&&n.setNodeMarkup(r,void 0,en(e.attrs,t)),s&&e.marks.length&&e.marks.forEach(i=>{s===i.type&&n.addMark(r,r+e.nodeSize,s.create(en(i.attrs,t)))})})}),!0)},scrollIntoView:()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),selectAll:()=>({tr:e,dispatch:t})=>{if(t){let t=new r.i5(e.doc);e.setSelection(t)}return!0},selectNodeBackward:()=>({state:e,dispatch:t})=>(0,l._e)(e,t),selectNodeForward:()=>({state:e,dispatch:t})=>(0,l.Sd)(e,t),selectParentNode:()=>({state:e,dispatch:t})=>(0,l.hy)(e,t),selectTextblockEnd:()=>({state:e,dispatch:t})=>(0,l.ec)(e,t),selectTextblockStart:()=>({state:e,dispatch:t})=>(0,l.$f)(e,t),setContent:(e,t=!1,n={},r={})=>({editor:i,tr:o,dispatch:s,commands:a})=>{var l,u;let{doc:c}=o;if(“full”!==n.preserveWhitespace){let a=er(e,i.schema,n,{errorOnInvalidContent:null!=(l=r.errorOnInvalidContent)?l:i.options.enableContentCheck});return s&&o.replaceWith(0,c.content.size,a).setMeta(“preventUpdate”,!t),!0}return s&&o.setMeta(“preventUpdate”,!t),a.insertContentAt({from:0,to:c.content.size},e,{parseOptions:n,errorOnInvalidContent:null!=(u=r.errorOnInvalidContent)?u:i.options.enableContentCheck})},setMark:(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{selection:o}=n,{empty:s,ranges:a}=o,l=H(e,r.schema);if(i)if(s){let e=ei(r,l);n.addStoredMark(l.create({…e,…t}))}else a.forEach(e=>{let i=e.$from.pos,o=e.$to.pos;r.doc.nodesBetween(i,o,(e,r)=>{let s=Math.max(r,i),a=Math.min(r+e.nodeSize,o);e.marks.find(e=>e.type===l)?e.marks.forEach(e=>{l===e.type&&n.addMark(s,a,l.create({…e.attrs,…t}))}):n.addMark(s,a,l.create(t))})});return function(e,t,n){var r;let{selection:i}=t,o=null;if(V(i)&&(o=i.$cursor),o){let t=null!=(r=e.storedMarks)?r:o.marks();return!!n.isInSet(t)||!t.some(e=>e.type.excludes(n))}let{ranges:s}=i;return s.some(({$from:t,$to:r})=>{let i=0===t.depth&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,(e,t,r)=>{if(i)return!1;if(e.isInline){let t=!r||r.type.allowsMarkType(n),o=!!n.isInSet(e.marks)||!e.marks.some(e=>e.type.excludes(n));i=t&&o}return!i}),i})}(r,n,l)},setMeta:(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),setNode:(e,t={})=>({state:n,dispatch:r,chain:i})=>{let o,s=g(e,n.schema);return(n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),s.isTextblock)?i().command(({commands:e})=>!!(0,l.y_)(s,{…o,…t})(n)||e.clearNodes()).command(({state:e})=>(0,l.y_)(s,{…o,…t})(e,r)).run():(console.warn(‘[tiptap warn]: Currently “setNode()” only supports text block nodes.’),!1)},setNodeSelection:e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,i=W(e,0,n.content.size),o=r.nh.create(n,i);t.setSelection(o)}return!0},setTextSelection:e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,{from:i,to:o}=”number”==typeof e?{from:e,to:e}:e,s=r.U3.atStart(n).from,a=r.U3.atEnd(n).to,l=W(i,s,a),u=W(o,s,a),c=r.U3.create(n,l,u);t.setSelection(c)}return!0},sinkListItem:e=>({state:t,dispatch:n})=>{let r=g(e,t.schema);return(0,u.$B)(r)(t,n)},splitBlock:({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:i,editor:o})=>{let{selection:s,doc:l}=t,{$from:u,$to:c}=s,h=em(o.extensionManager.attributes,u.node().type.name,u.node().attrs);if(s instanceof r.nh&&s.node.isBlock)return!!u.parentOffset&&!!(0,a.zy)(l,u.pos)&&(i&&(e&&ex(n,o.extensionManager.splittableMarks),t.split(u.pos).scrollIntoView()),!0);if(!u.parent.isBlock)return!1;let d=c.parentOffset===c.parent.content.size,p=0===u.depth?void 0:function(e){for(let t=0;t({tr:n,state:i,dispatch:o,editor:l})=>{var u;let c=g(e,i.schema),{$from:h,$to:d}=i.selection,p=i.selection.node;if(p&&p.isBlock||h.depth<2||!h.sameParent(d))return!1;let f=h.node(-1);if(f.type!==c)return!1;let m=l.extensionManager.attributes;if(0===h.parent.content.size&&h.node(-1).childCount===h.indexAfter(-1)){if(2===h.depth||h.node(-3).type!==c||h.index(-2)!==h.node(-2).childCount-1)return!1;if(o){let e=s.FK.empty,i=h.index(-1)?1:h.index(-2)?2:3;for(let t=h.depth-i;t>=h.depth-3;t-=1)e=s.FK.from(h.node(t).copy(e));let o=h.indexAfter(-1){if(p>-1)return!1;e.isTextblock&&0===e.content.size&&(p=t+1)}),p>-1&&n.setSelection(r.U3.near(n.doc.resolve(p))),n.scrollIntoView()}return!0}let y=d.pos===h.end()?f.contentMatchAt(0).defaultType:null,b={…em(m,f.type.name,f.attrs),…t},v={…em(m,h.node().type.name,h.node().attrs),…t};n.delete(h.pos,d.pos);let w=y?[{type:c,attrs:b},{type:y,attrs:v}]:[{type:c,attrs:b}];if(!(0,a.zy)(n.doc,h.pos,2))return!1;if(o){let{selection:e,storedMarks:t}=i,{splittableMarks:r}=l.extensionManager,s=t||e.$to.parentOffset&&e.$from.marks();if(n.split(h.pos,2,w).scrollIntoView(),!s||!o)return!0;let a=s.filter(e=>r.includes(e.type.name));n.ensureMarks(a)}return!0},toggleList:(e,t,n,r={})=>({editor:i,tr:o,state:s,dispatch:a,chain:l,commands:u,can:c})=>{let{extensions:h,splittableMarks:d}=i.extensionManager,p=g(e,s.schema),f=g(t,s.schema),{selection:m,storedMarks:y}=s,{$from:b,$to:v}=m,w=b.blockRange(v),x=y||m.$to.parentOffset&&m.$from.marks();if(!w)return!1;let k=ea(e=>ey(e.type.name,h))(m);if(w.depth>=1&&k&&w.depth-k.depth<=1){if(k.node.type===p)return u.liftListItem(f);if(ey(k.node.type.name,h)&&p.validContent(k.node.content)&&a)return l().command(()=>(o.setNodeMarkup(k.pos,p),!0)).command(()=>ek(o,p)).command(()=>e_(o,p)).run()}return n&&x&&a?l().command(()=>{let e=c().wrapInList(p,r),t=x.filter(e=>d.includes(e.type.name));return o.ensureMarks(t),!!e||u.clearNodes()}).wrapInList(p,r).command(()=>ek(o,p)).command(()=>e_(o,p)).run():l().command(()=>!!c().wrapInList(p,r)||u.clearNodes()).wrapInList(p,r).command(()=>ek(o,p)).command(()=>e_(o,p)).run()},toggleMark:(e,t={},n={})=>({state:r,commands:i})=>{let{extendEmptyMarkRange:o=!1}=n,s=H(e,r.schema);return eg(r,s,t)?i.unsetMark(s,{extendEmptyMarkRange:o}):i.setMark(s,t)},toggleNode:(e,t,n={})=>({state:r,commands:i})=>{let o,s=g(e,r.schema),a=g(t,r.schema),l=ee(r,s,n);return(r.selection.$anchor.sameParent(r.selection.$head)&&(o=r.selection.$anchor.parent.attrs),l)?i.setNode(a,o):i.setNode(s,{…o,…n})},toggleWrap:(e,t={})=>({state:n,commands:r})=>{let i=g(e,n.schema);return ee(n,i,t)?r.lift(i):r.wrapIn(i,t)},undoInputRule:()=>({state:e,dispatch:t})=>{let n=e.plugins;for(let r=0;r=0;e-=1)t.step(n.steps[e].invert(n.docs[e]));if(i.text){let n=t.doc.resolve(i.from).marks();t.replaceWith(i.from,i.to,e.schema.text(i.text,n))}else t.delete(i.from,i.to)}return!0}}return!1},unsetAllMarks:()=>({tr:e,dispatch:t})=>{let{selection:n}=e,{empty:r,ranges:i}=n;return!!r||(t&&i.forEach(t=>{e.removeMark(t.$from.pos,t.$to.pos)}),!0)},unsetMark:(e,t={})=>({tr:n,state:r,dispatch:i})=>{var o;let{extendEmptyMarkRange:s=!1}=t,{selection:a}=n,l=H(e,r.schema),{$from:u,empty:c,ranges:h}=a;if(!i)return!0;if(c&&s){let{from:e,to:t}=a,r=null==(o=u.marks().find(e=>e.type===l))?void 0:o.attrs,i=U(u,l,r);i&&(e=i.from,t=i.to),n.removeMark(e,t,l)}else h.forEach(e=>{n.removeMark(e.$from.pos,e.$to.pos,l)});return n.removeStoredMark(l),!0},updateAttributes:(e,t={})=>({tr:n,state:r,dispatch:i})=>{let o=null,s=null,a=et(“string”==typeof e?e:e.name,r.schema);return!!a&&(“node”===a&&(o=g(e,r.schema)),”mark”===a&&(s=H(e,r.schema)),i&&n.selection.ranges.forEach(e=>{let i,a,l,u,c=e.$from.pos,h=e.$to.pos;n.selection.empty?r.doc.nodesBetween(c,h,(e,t)=>{o&&o===e.type&&(l=Math.max(t,c),u=Math.min(t+e.nodeSize,h),i=t,a=e)}):r.doc.nodesBetween(c,h,(e,r)=>{r=c&&r<=h&&(o&&o===e.type&&n.setNodeMarkup(r,void 0,{...e.attrs,...t}),s&&e.marks.length&&e.marks.forEach(i=>{if(s===i.type){let o=Math.max(r,c),a=Math.min(r+e.nodeSize,h);n.addMark(o,a,s.create({…i.attrs,…t}))}}))}),a&&(void 0!==i&&n.setNodeMarkup(i,void 0,{…a.attrs,…t}),s&&a.marks.length&&a.marks.forEach(e=>{s===e.type&&n.addMark(l,u,s.create({…e.attrs,…t}))}))}),!0)},wrapIn:(e,t={})=>({state:n,dispatch:r})=>{let i=g(e,n.schema);return(0,l.Im)(i,t)(n,r)},wrapInList:(e,t={})=>({state:n,dispatch:r})=>{let i=g(e,n.schema);return(0,u.Sd)(i,t)(n,r)}});let eS=I.create({name:”commands”,addCommands:()=>({…eE})}),eC=I.create({name:”drop”,addProseMirrorPlugins(){return[new r.k_({key:new r.hs(“tiptapDrop”),props:{handleDrop:(e,t,n,r)=>{this.editor.emit(“drop”,{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),eA=I.create({name:”editable”,addProseMirrorPlugins(){return[new r.k_({key:new r.hs(“editable”),props:{editable:()=>this.editor.options.editable}})]}}),eO=new r.hs(“focusEvents”),eT=I.create({name:”focusEvents”,addProseMirrorPlugins(){let{editor:e}=this;return[new r.k_({key:eO,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;let r=e.state.tr.setMeta(“focus”,{event:n}).setMeta(“addToHistory”,!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;let r=e.state.tr.setMeta(“blur”,{event:n}).setMeta(“addToHistory”,!1);return t.dispatch(r),!1}}}})]}}),eM=I.create({name:”keymap”,addKeyboardShortcuts(){let e=()=>this.editor.commands.first(({commands:e})=>[()=>e.undoInputRule(),()=>e.command(({tr:t})=>{let{selection:n,doc:i}=t,{empty:o,$anchor:s}=n,{pos:a,parent:l}=s,u=s.parent.isTextblock&&a>0?t.doc.resolve(a-1):s,c=u.parent.type.spec.isolating,h=s.pos-s.parentOffset,d=c&&1===u.parent.childCount?h===s.pos:r.LN.atStart(i).from===a;return!!o&&!!l.type.isTextblock&&!l.textContent.length&&!!d&&(!d||”paragraph”!==s.parent.type.name)&&e.clearNodes()}),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()]),”Mod-Enter”:()=>this.editor.commands.exitCode(),Backspace:e,”Mod-Backspace”:e,”Shift-Backspace”:e,Delete:t,”Mod-Delete”:t,”Mod-a”:()=>this.editor.commands.selectAll()},i={…n},o={…n,”Ctrl-h”:e,”Alt-Backspace”:e,”Ctrl-d”:t,”Ctrl-Alt-Backspace”:t,”Alt-Delete”:t,”Alt-d”:t,”Ctrl-a”:()=>this.editor.commands.selectTextblockStart(),”Ctrl-e”:()=>this.editor.commands.selectTextblockEnd()};return G()||Q()?o:i},addProseMirrorPlugins(){return[new r.k_({key:new r.hs(“clearDocument”),appendTransaction:(e,t,n)=>{if(e.some(e=>e.getMeta(“composition”)))return;let i=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),o=e.some(e=>e.getMeta(“preventClearDocument”));if(!i||o)return;let{empty:s,from:a,to:l}=t.selection,u=r.LN.atStart(t.doc).from,d=r.LN.atEnd(t.doc).to;if(s||a!==u||l!==d||!eb(n.doc))return;let p=n.tr,f=c({state:n,transaction:p}),{commands:m}=new h({editor:this.editor,state:f});if(m.clearNodes(),p.steps.length)return p}})]}}),eD=I.create({name:”paste”,addProseMirrorPlugins(){return[new r.k_({key:new r.hs(“tiptapPaste”),props:{handlePaste:(e,t,n)=>{this.editor.emit(“paste”,{editor:this.editor,event:t,slice:n})}}})]}}),eL=I.create({name:”tabindex”,addProseMirrorPlugins(){return[new r.k_({key:new r.hs(“tabindex”),props:{attributes:()=>this.editor.isEditable?{tabindex:”0″}:{}}})]}});class eN{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){var e;return null!=(e=this.actualDepth)?e:this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(0===this.content.size)return void console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+ +!this.node.isText}get parent(){if(0===this.depth)return null;let e=this.resolvedPos.start(this.resolvedPos.depth-1);return new eN(this.resolvedPos.doc.resolve(e),this.editor)}get before(){let e=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.from-3)),new eN(e,this.editor)}get after(){let e=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return e.depth!==this.depth&&(e=this.resolvedPos.doc.resolve(this.to+3)),new eN(e,this.editor)}get children(){let e=[];return this.node.content.forEach((t,n)=>{let r=t.isBlock&&!t.isTextblock,i=t.isAtom&&!t.isText,o=this.pos+n+ +!i;if(o<0||o>this.resolvedPos.doc.nodeSize-2)return;let s=this.resolvedPos.doc.resolve(o);if(!r&&s.depth<=this.depth)return;let a=new eN(s,this.editor,r,r?t:null);r&&(a.actualDepth=this.depth+1),e.push(new eN(s,this.editor,r,r?t:null))}),e}get firstChild(){return this.children[0]||null}get lastChild(){let e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===e)if(Object.keys(t).length>0){let e=r.node.attrs,n=Object.keys(t);for(let r=0;r{n&&r.length>0||(o.node.type.name===e&&i.every(e=>t[e]===o.node.attrs[e])&&r.push(o),n&&r.length>0||(r=r.concat(o.querySelectorAll(e,t,n))))}),r}setAttribute(e){let{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{…this.node.attrs,…e}),this.editor.view.dispatch(t)}}let eR=`.ProseMirror {
position: relative;
}
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
white-space: break-spaces;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
font-feature-settings: “liga” 0; /* the above doesn’t seem to work in Edge */
}
.ProseMirror [contenteditable=”false”] {
white-space: normal;
}
.ProseMirror [contenteditable=”false”] [contenteditable=”true”] {
white-space: pre-wrap;
}
.ProseMirror pre {
white-space: pre-wrap;
}
img.ProseMirror-separator {
display: inline !important;
border: none !important;
margin: 0 !important;
width: 0 !important;
height: 0 !important;
}
.ProseMirror-gapcursor {
display: none;
pointer-events: none;
position: absolute;
margin: 0;
}
.ProseMirror-gapcursor:after {
content: “”;
display: block;
position: absolute;
top: -2px;
width: 20px;
border-top: 1px solid black;
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
}
@keyframes ProseMirror-cursor-blink {
to {
visibility: hidden;
}
}
.ProseMirror-hideselection *::selection {
background: transparent;
}
.ProseMirror-hideselection *::-moz-selection {
background: transparent;
}
.ProseMirror-hideselection * {
caret-color: transparent;
}
.ProseMirror-focused .ProseMirror-gapcursor {
display: block;
}
.tippy-box[data-animation=fade][data-state=hidden] {
opacity: 0
}`;class eP extends d{constructor(e={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement(“div”),content:””,injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on(“beforeCreate”,this.options.onBeforeCreate),this.emit(“beforeCreate”,{editor:this}),this.on(“contentError”,this.options.onContentError),this.createView(),this.injectCSS(),this.on(“create”,this.options.onCreate),this.on(“update”,this.options.onUpdate),this.on(“selectionUpdate”,this.options.onSelectionUpdate),this.on(“transaction”,this.options.onTransaction),this.on(“focus”,this.options.onFocus),this.on(“blur”,this.options.onBlur),this.on(“destroy”,this.options.onDestroy),this.on(“drop”,({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n)),this.on(“paste”,({event:e,slice:t})=>this.options.onPaste(e,t)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit(“create”,{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=function(e,t,n){let r=document.querySelector(“style[data-tiptap-style]”);if(null!==r)return r;let i=document.createElement(“style”);return t&&i.setAttribute(“nonce”,t),i.setAttribute(“data-tiptap-style”,””),i.innerHTML=e,document.getElementsByTagName(“head”)[0].appendChild(i),i}(eR,this.options.injectNonce))}setOptions(e={}){this.options={…this.options,…e},this.view&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit(“update”,{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(e,t){let n=v(t)?t(e,[…this.state.plugins]):[…this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;let t=this.state.plugins,n=t;if([].concat(e).forEach(e=>{let t=”string”==typeof e?`${e}$`:e.key;n=n.filter(e=>!e.key.startsWith(t))}),t.length===n.length)return;let r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;let n=[…this.options.enableCoreExtensions?[eA,j.configure({blockSeparator:null==(t=null==(e=this.options.coreExtensionOptions)?void 0:e.clipboardTextSerializer)?void 0:t.blockSeparator}),eS,eT,eM,eL,eC,eD].filter(e=>”object”!=typeof this.options.enableCoreExtensions||!1!==this.options.enableCoreExtensions[e.name]):[],…this.options.extensions].filter(e=>[“extension”,”node”,”mark”].includes(null==e?void 0:e.type));this.extensionManager=new P(n,this)}createCommandManager(){this.commandManager=new h({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var e;let t;try{t=er(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||![“[tiptap error]: Invalid JSON content”,”[tiptap error]: Invalid HTML content”].includes(e.message))throw e;this.emit(“contentError”,{editor:this,error:e,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(e=>”collaboration”!==e.name),this.createExtensionManager()}}),t=er(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}let n=Z(t,this.options.autofocus);this.view=new i.Lz(this.options.element,{…this.options.editorProps,attributes:{role:”textbox”,…null==(e=this.options.editorProps)?void 0:e.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:r.$t.create({doc:t,selection:n||void 0})});let o=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(o),this.createNodeViews(),this.prependClass(),this.view.dom.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;let t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(e=>{var t;return null==(t=this.capturedTransaction)?void 0:t.step(e)});return}let t=this.state.apply(e),n=!this.state.selection.eq(t.selection);this.emit(“beforeTransaction”,{editor:this,transaction:e,nextState:t}),this.view.updateState(t),this.emit(“transaction”,{editor:this,transaction:e}),n&&this.emit(“selectionUpdate”,{editor:this,transaction:e});let r=e.getMeta(“focus”),i=e.getMeta(“blur”);r&&this.emit(“focus”,{editor:this,event:r.event,transaction:e}),i&&this.emit(“blur”,{editor:this,event:i.event,transaction:e}),!e.docChanged||e.getMeta(“preventUpdate”)||this.emit(“update”,{editor:this,transaction:e})}getAttributes(e){return ed(this.state,e)}isActive(e,t){let n=”string”==typeof e?e:null,r=”string”==typeof e?t:e;return function(e,t,n={}){if(!t)return ee(e,null,n)||eg(e,null,n);let r=et(t,e.schema);return”node”===r?ee(e,t,n):”mark”===r&&eg(e,t,n)}(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return C(this.state.doc.content,this.schema)}getText(e){let{blockSeparator:t=”\n\n”,textSerializers:n={}}=e||{};return ec(this.state.doc,{blockSeparator:t,textSerializers:{…F(this.schema),…n}})}get isEmpty(){return eb(this.state.doc)}getCharacterCount(){return console.warn(‘[tiptap warn]: “editor.getCharacterCount()” is deprecated. Please use “editor.storage.characterCount.characters()” instead.’),this.state.doc.content.size-2}destroy(){if(this.emit(“destroy”),this.view){let e=this.view.dom;e&&e.editor&&delete e.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var e;return!(null==(e=this.view)?void 0:e.docView)}$node(e,t){var n;return(null==(n=this.$doc)?void 0:n.querySelector(e,t))||null}$nodes(e,t){var n;return(null==(n=this.$doc)?void 0:n.querySelectorAll(e,t))||null}$pos(e){return new eN(this.state.doc.resolve(e),this)}get $doc(){return this.$pos(0)}}function eI(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{let i=w(e.getAttributes,void 0,r);if(!1===i||null===i)return null;let{tr:o}=t,s=r[r.length-1],a=r[0];if(s){let r=a.search(/\S/),l=n.from+a.indexOf(s),u=l+s.length;if(ef(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>l).length)return null;un.from&&o.delete(n.from+r,l);let c=n.from+r+s.length;o.addMark(n.from+r,c,e.type.create(i||{})),o.removeStoredMark(e.type)}}})}function ez(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{let i=w(e.getAttributes,void 0,r)||{},{tr:o}=t,s=n.from,a=n.to,l=e.type.create(i);if(r[1]){let e=s+r[0].lastIndexOf(r[1]);e>a?e=a:a=e+r[1].length;let t=r[0][r[0].length-1];o.insertText(t,s+r[0].length-1),o.replaceWith(e,a,l)}else if(r[0]){let t=e.type.isInline?s:s-1;o.insert(t,e.type.create(i)).delete(o.mapping.map(s),o.mapping.map(a))}o.scrollIntoView()}})}function eF(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{let i=t.doc.resolve(n.from),o=w(e.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,o)}})}function ej(e){return new O({find:e.find,handler:({state:t,range:n,match:r})=>{let i=e.replace,o=n.from,s=n.to;if(r[1]){let e=r[0].lastIndexOf(r[1]);i+=r[0].slice(e+r[1].length);let t=(o+=e)-s;t>0&&(i=r[0].slice(e-t,e)+i,o=s)}t.tr.insertText(i,o,s)}})}function eB(e){return new O({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{let o=w(e.getAttributes,void 0,r)||{},s=t.tr.delete(n.from,n.to),l=s.doc.resolve(n.from).blockRange(),u=l&&(0,a.oM)(l,e.type,o);if(!u)return null;if(s.wrap(l,u),e.keepMarks&&e.editor){let{selection:n,storedMarks:r}=t,{splittableMarks:i}=e.editor.extensionManager,o=r||n.$to.parentOffset&&n.$from.marks();if(o){let e=o.filter(e=>i.includes(e.type.name));s.ensureMarks(e)}}if(e.keepAttributes){let t=”bulletList”===e.type.name||”orderedList”===e.type.name?”listItem”:”taskList”;i().updateAttributes(t,o).run()}let c=s.doc.resolve(n.from-1).nodeBefore;c&&c.type===e.type&&(0,a.n9)(s.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,c))&&s.join(n.from-1)}})}class eq{constructor(e={}){this.type=”node”,this.name=”node”,this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={…this.config,…e},this.name=this.config.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: “defaultOptions” is deprecated. Please use “addOptions” instead. Found in extension: “${this.name}”.`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=w(p(this,”addOptions”,{name:this.name}))),this.storage=w(p(this,”addStorage”,{name:this.name,options:this.options}))||{}}static create(e={}){return new eq(e)}configure(e={}){let t=this.extend({…this.config,addOptions:()=>D(this.options,e)});return t.name=this.name,t.parent=this.parent,t}extend(e={}){let t=new eq(e);return t.parent=this,this.child=t,t.name=e.name?e.name:t.parent.name,e.defaultOptions&&Object.keys(e.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: “defaultOptions” is deprecated. Please use “addOptions” instead. Found in extension: “${t.name}”.`),t.options=w(p(t,”addOptions”,{name:t.name})),t.storage=w(p(t,”addStorage”,{name:t.name,options:t.options})),t}}class e${constructor(e,t,n){this.isDragging=!1,this.component=e,this.editor=t.editor,this.options={stopEvent:null,ignoreMutation:null,…n},this.extension=t.extension,this.node=t.node,this.decorations=t.decorations,this.innerDecorations=t.innerDecorations,this.view=t.view,this.HTMLAttributes=t.HTMLAttributes,this.getPos=t.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(e){var t,n,i,o,s,a,l;let{view:u}=this.editor,c=e.target,h=3===c.nodeType?null==(t=c.parentElement)?void 0:t.closest(“[data-drag-handle]”):c.closest(“[data-drag-handle]”);if(!this.dom||(null==(n=this.contentDOM)?void 0:n.contains(c))||!h)return;let d=0,p=0;if(this.dom!==h){let t=this.dom.getBoundingClientRect(),n=h.getBoundingClientRect(),r=null!=(i=e.offsetX)?i:null==(o=e.nativeEvent)?void 0:o.offsetX,l=null!=(s=e.offsetY)?s:null==(a=e.nativeEvent)?void 0:a.offsetY;d=n.x-t.x+r,p=n.y-t.y+l}let f=this.dom.cloneNode(!0);null==(l=e.dataTransfer)||l.setDragImage(f,d,p);let m=this.getPos();if(“number”!=typeof m)return;let g=r.nh.create(u.state.doc,m),y=u.state.tr.setSelection(g);u.dispatch(y)}stopEvent(e){var t;if(!this.dom)return!1;if(“function”==typeof this.options.stopEvent)return this.options.stopEvent({event:e});let n=e.target;if(!(this.dom.contains(n)&&!(null==(t=this.contentDOM)?void 0:t.contains(n))))return!1;let i=e.type.startsWith(“drag”),o=”drop”===e.type;if(([“INPUT”,”BUTTON”,”SELECT”,”TEXTAREA”].includes(n.tagName)||n.isContentEditable)&&!o&&!i)return!0;let{isEditable:s}=this.editor,{isDragging:a}=this,l=!!this.node.type.spec.draggable,u=r.nh.isSelectable(this.node),c=”copy”===e.type,h=”paste”===e.type,d=”cut”===e.type,p=”mousedown”===e.type;if(!l&&u&&i&&e.target===this.dom&&e.preventDefault(),l&&i&&!a&&e.target===this.dom)return e.preventDefault(),!1;if(l&&s&&!a&&p){let e=n.closest(“[data-drag-handle]”);e&&(this.dom===e||this.dom.contains(e))&&(this.isDragging=!0,document.addEventListener(“dragend”,()=>{this.isDragging=!1},{once:!0}),document.addEventListener(“drop”,()=>{this.isDragging=!1},{once:!0}),document.addEventListener(“mouseup”,()=>{this.isDragging=!1},{once:!0}))}return!a&&!o&&!c&&!h&&!d&&(!p||!u)}ignoreMutation(e){return!this.dom||!this.contentDOM||(“function”==typeof this.options.ignoreMutation?this.options.ignoreMutation({mutation:e}):!!this.node.isLeaf||!!this.node.isAtom||!(“selection”===e.type||this.dom.contains(e.target)&&”childList”===e.type&&(G()||K())&&this.editor.isFocused&&[…Array.from(e.addedNodes),…Array.from(e.removedNodes)].every(e=>e.isContentEditable))&&(this.contentDOM===e.target&&”attributes”===e.type||!this.contentDOM.contains(e.target)))}updateAttributes(e){this.editor.commands.command(({tr:t})=>{let n=this.getPos();return”number”==typeof n&&(t.setNodeMarkup(n,void 0,{…this.node.attrs,…e}),!0)})}deleteNode(){let e=this.getPos();if(“number”!=typeof e)return;let t=e+this.node.nodeSize;this.editor.commands.deleteRange({from:e,to:t})}}function eU(e){return new N({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{let o=w(e.getAttributes,void 0,r,i);if(!1===o||null===o)return null;let{tr:s}=t,a=r[r.length-1],l=r[0],u=n.to;if(a){let r=l.search(/\S/),i=n.from+l.indexOf(a),c=i+a.length;if(ef(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>i).length)return null;cn.from&&s.delete(n.from+r,i),u=n.from+r+a.length,s.addMark(n.from+r,u,e.type.create(o||{})),s.removeStoredMark(e.type)}}})}function eH(e,t){let{selection:n}=e,{$from:i}=n;if(n instanceof r.nh){let e=i.index();return i.parent.canReplaceWith(e,e+1,t)}let o=i.depth;for(;o>=0;){let e=i.index(o);if(i.node(o).contentMatchAt(e).matchType(t))return!0;o-=1}return!1}function eV(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,”\\$&”)}},76229:function(e,t,n){“use strict”;n.d(t,{Ay:()=>o,Cv:()=>o});var r=n(88285);let i=/^\s*>\s$/,o=r.bP.create({name:”blockquote”,addOptions:()=>({HTMLAttributes:{}}),content:”block+”,group:”block”,defining:!0,parseHTML:()=>[{tag:”blockquote”}],renderHTML({HTMLAttributes:e}){return[“blockquote”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBlockquote:()=>({commands:e})=>e.wrapIn(this.name),toggleBlockquote:()=>({commands:e})=>e.toggleWrap(this.name),unsetBlockquote:()=>({commands:e})=>e.lift(this.name)}},addKeyboardShortcuts(){return{“Mod-Shift-b”:()=>this.editor.commands.toggleBlockquote()}},addInputRules(){return[(0,r.tG)({find:i,type:this.type})]}})},93993:function(e,t,n){“use strict”;n.d(t,{Ay:()=>l,yN:()=>l});var r=n(88285);let i=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/,o=/(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g,s=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/,a=/(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g,l=r.CU.create({name:”bold”,addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:”strong”},{tag:”b”,getAttrs:e=>”normal”!==e.style.fontWeight&&null},{style:”font-weight=400″,clearMark:e=>e.type.name===this.name},{style:”font-weight”,getAttrs:e=>/^(bold(er)?|[5-9]\d{2,})$/.test(e)&&null}]},renderHTML({HTMLAttributes:e}){return[“strong”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setBold:()=>({commands:e})=>e.setMark(this.name),toggleBold:()=>({commands:e})=>e.toggleMark(this.name),unsetBold:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{“Mod-b”:()=>this.editor.commands.toggleBold(),”Mod-B”:()=>this.editor.commands.toggleBold()}},addInputRules(){return[(0,r.OX)({find:i,type:this.type}),(0,r.OX)({find:s,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:o,type:this.type}),(0,r.Zc)({find:a,type:this.type})]}})},55679:function(e,t,n){“use strict”;n.d(t,{Ay:()=>a,NG:()=>a});var r=n(88285),i=n(26469);let o=/^“`([a-z]+)?[\s\n]$/,s=/^~~~([a-z]+)?[\s\n]$/,a=r.bP.create({name:”codeBlock”,addOptions:()=>({languageClassPrefix:”language-“,exitOnTripleEnter:!0,exitOnArrowDown:!0,defaultLanguage:null,HTMLAttributes:{}}),content:”text*”,marks:””,group:”block”,code:!0,defining:!0,addAttributes(){return{language:{default:this.options.defaultLanguage,parseHTML:e=>{var t;let{languageClassPrefix:n}=this.options,r=[…(null==(t=e.firstElementChild)?void 0:t.classList)||[]].filter(e=>e.startsWith(n)).map(e=>e.replace(n,””))[0];return r||null},rendered:!1}}},parseHTML:()=>[{tag:”pre”,preserveWhitespace:”full”}],renderHTML({node:e,HTMLAttributes:t}){return[“pre”,(0,r.KV)(this.options.HTMLAttributes,t),[“code”,{class:e.attrs.language?this.options.languageClassPrefix+e.attrs.language:null},0]]},addCommands(){return{setCodeBlock:e=>({commands:t})=>t.setNode(this.name,e),toggleCodeBlock:e=>({commands:t})=>t.toggleNode(this.name,”paragraph”,e)}},addKeyboardShortcuts(){return{“Mod-Alt-c”:()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{let{empty:e,$anchor:t}=this.editor.state.selection,n=1===t.pos;return!!e&&t.parent.type.name===this.name&&(!!n||!t.parent.textContent.length)&&this.editor.commands.clearNodes()},Enter:({editor:e})=>{if(!this.options.exitOnTripleEnter)return!1;let{state:t}=e,{selection:n}=t,{$from:r,empty:i}=n;if(!i||r.parent.type!==this.type)return!1;let o=r.parentOffset===r.parent.nodeSize-2,s=r.parent.textContent.endsWith(“\n\n”);return!!o&&!!s&&e.chain().command(({tr:e})=>(e.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;let{state:t}=e,{selection:n,doc:r}=t,{$from:o,empty:s}=n;if(!s||o.parent.type!==this.type||o.parentOffset!==o.parent.nodeSize-2)return!1;let a=o.after();return void 0!==a&&(r.nodeAt(a)?e.commands.command(({tr:e})=>(e.setSelection(i.LN.near(r.resolve(a))),!0)):e.commands.exitCode())}}},addInputRules(){return[(0,r.JJ)({find:o,type:this.type,getAttributes:e=>({language:e[1]})}),(0,r.JJ)({find:s,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new i.k_({key:new i.hs(“codeBlockVSCodeHandler”),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;let n=t.clipboardData.getData(“text/plain”),r=t.clipboardData.getData(“vscode-editor-data”),o=r?JSON.parse(r):void 0,s=null==o?void 0:o.mode;if(!n||!s)return!1;let{tr:a,schema:l}=e.state,u=l.text(n.replace(/\r\n?/g,”\n”));return a.replaceSelectionWith(this.type.create({language:s},u)),a.selection.$from.parent.type!==this.type&&a.setSelection(i.U3.near(a.doc.resolve(Math.max(0,a.selection.from-2)))),a.setMeta(“paste”,!0),e.dispatch(a),!0}}})]}})},55895:function(e,t,n){“use strict”;n.d(t,{Ay:()=>s,Cy:()=>s});var r=n(88285);let i=/(^|[^`])`([^`]+)`(?!`)/,o=/(^|[^`])`([^`]+)`(?!`)/g,s=r.CU.create({name:”code”,addOptions:()=>({HTMLAttributes:{}}),excludes:”_”,code:!0,exitable:!0,parseHTML:()=>[{tag:”code”}],renderHTML({HTMLAttributes:e}){return[“code”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setCode:()=>({commands:e})=>e.setMark(this.name),toggleCode:()=>({commands:e})=>e.toggleMark(this.name),unsetCode:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{“Mod-e”:()=>this.editor.commands.toggleCode()}},addInputRules(){return[(0,r.OX)({find:i,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:o,type:this.type})]}})},31707:function(e,t,n){“use strict”;n.d(t,{A:()=>r,y:()=>r});let r=n(88285).bP.create({name:”doc”,topNode:!0,content:”block+”})},23317:function(e,t,n){“use strict”;n.d(t,{Q:()=>o});var r=n(88285),i=n(7473);let o=r.YY.create({name:”dropCursor”,addOptions:()=>({color:”currentColor”,width:1,class:void 0}),addProseMirrorPlugins(){return[(0,i.A)(this.options)]}})},96436:function(e,t,n){“use strict”;n.d(t,{D:()=>i});var r=n(88285);let i=r.bP.create({name:”heading”,addOptions:()=>({levels:[1,2,3,4,5,6],HTMLAttributes:{}}),content:”inline*”,group:”block”,defining:!0,addAttributes:()=>({level:{default:1,rendered:!1}}),parseHTML(){return this.options.levels.map(e=>({tag:`h${e}`,attrs:{level:e}}))},renderHTML({node:e,HTMLAttributes:t}){let n=this.options.levels.includes(e.attrs.level)?e.attrs.level:this.options.levels[0];return[`h${n}`,(0,r.KV)(this.options.HTMLAttributes,t),0]},addCommands(){return{setHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.setNode(this.name,e),toggleHeading:e=>({commands:t})=>!!this.options.levels.includes(e.level)&&t.toggleNode(this.name,”paragraph”,e)}},addKeyboardShortcuts(){return this.options.levels.reduce((e,t)=>({…e,…{[`Mod-Alt-${t}`]:()=>this.editor.commands.toggleHeading({level:t})}}),{})},addInputRules(){return this.options.levels.map(e=>(0,r.JJ)({find:RegExp(`^(#{${Math.min(…this.options.levels)},${e}})\\s$`),type:this.type,getAttributes:{level:e}}))}})},96282:function(e,t,n){“use strict”;n.d(t,{A:()=>o,B:()=>o});var r=n(88285),i=n(45788);let o=r.YY.create({name:”history”,addOptions:()=>({depth:100,newGroupDelay:500}),addCommands:()=>({undo:()=>({state:e,dispatch:t})=>(0,i.tN)(e,t),redo:()=>({state:e,dispatch:t})=>(0,i.ZS)(e,t)}),addProseMirrorPlugins(){return[(0,i.b6)(this.options)]},addKeyboardShortcuts(){return{“Mod-z”:()=>this.editor.commands.undo(),”Shift-Mod-z”:()=>this.editor.commands.redo(),”Mod-y”:()=>this.editor.commands.redo(),”Mod-я”:()=>this.editor.commands.undo(),”Shift-Mod-я”:()=>this.editor.commands.redo()}}})},58521:function(e,t,n){“use strict”;n.d(t,{A:()=>o,d:()=>o});var r=n(88285),i=n(26469);let o=r.bP.create({name:”horizontalRule”,addOptions:()=>({HTMLAttributes:{}}),group:”block”,parseHTML:()=>[{tag:”hr”}],renderHTML({HTMLAttributes:e}){return[“hr”,(0,r.KV)(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{if(!(0,r.AB)(t,t.schema.nodes[this.name]))return!1;let{selection:n}=t,{$from:o,$to:s}=n,a=e();return 0===o.parentOffset?a.insertContentAt({from:Math.max(o.pos-1,0),to:s.pos},{type:this.name}):(0,r.BQ)(n)?a.insertContentAt(s.pos,{type:this.name}):a.insertContent({type:this.name}),a.command(({tr:e,dispatch:t})=>{var n;if(t){let{$to:t}=e.selection,r=t.end();if(t.nodeAfter)t.nodeAfter.isTextblock?e.setSelection(i.U3.create(e.doc,t.pos+1)):t.nodeAfter.isBlock?e.setSelection(i.nh.create(e.doc,t.pos)):e.setSelection(i.U3.create(e.doc,t.pos));else{let o=null==(n=t.parent.type.contentMatch.defaultType)?void 0:n.create();o&&(e.insert(r,o),e.setSelection(i.U3.create(e.doc,r+1)))}e.scrollIntoView()}return!0}).run()}}},addInputRules(){return[(0,r.jT)({find:/^(?:—|—-|___\s|\*\*\*\s)$/,type:this.type})]}})},18708:function(e,t,n){“use strict”;n.d(t,{Ay:()=>l,J2:()=>l});var r=n(88285);let i=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/,o=/(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g,s=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/,a=/(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g,l=r.CU.create({name:”italic”,addOptions:()=>({HTMLAttributes:{}}),parseHTML(){return[{tag:”em”},{tag:”i”,getAttrs:e=>”normal”!==e.style.fontStyle&&null},{style:”font-style=normal”,clearMark:e=>e.type.name===this.name},{style:”font-style=italic”}]},renderHTML({HTMLAttributes:e}){return[“em”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setItalic:()=>({commands:e})=>e.setMark(this.name),toggleItalic:()=>({commands:e})=>e.toggleMark(this.name),unsetItalic:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{“Mod-i”:()=>this.editor.commands.toggleItalic(),”Mod-I”:()=>this.editor.commands.toggleItalic()}},addInputRules(){return[(0,r.OX)({find:i,type:this.type}),(0,r.OX)({find:s,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:o,type:this.type}),(0,r.Zc)({find:a,type:this.type})]}})},42080:function(e,t,n){“use strict”;n.d(t,{Ay:()=>eV,N_:()=>eV});var r=n(88285);let i=”numeric”,o=”ascii”,s=”alpha”,a=”asciinumeric”,l=”alphanumeric”,u=”domain”,c=”emoji”,h=”whitespace”;function d(e,t,n){for(let r in t[i]&&(t[a]=!0,t[l]=!0),t[o]&&(t[a]=!0,t[s]=!0),t[a]&&(t[l]=!0),t[s]&&(t[l]=!0),t[l]&&(t[u]=!0),t[c]&&(t[u]=!0),t){let t=(r in n||(n[r]=[]),n[r]);0>t.indexOf(e)&&t.push(e)}}function p(e=null){this.j={},this.jr=[],this.jd=null,this.t=e}p.groups={},p.prototype={accepts(){return!!this.t},go(e){let t=this.j[e];if(t)return t;for(let t=0;t=0&&(n[r]=!0);return n}(i.t,r),n),r):n&&d(t,n,r)),i.t=t),this.j[e]=i,i}};let f=(e,t,n,r,i)=>e.ta(t,n,r,i),m=(e,t,n,r,i)=>e.tr(t,n,r,i),g=(e,t,n,r,i)=>e.ts(t,n,r,i),y=(e,t,n,r,i)=>e.tt(t,n,r,i),b=”WORD”,v=”UWORD”,w=”ASCIINUMERICAL”,x=”ALPHANUMERICAL”,k=”LOCALHOST”,_=”UTLD”,E=”SCHEME”,S=”SLASH_SCHEME”,C=”OPENBRACE”,A=”CLOSEBRACE”,O=”OPENBRACKET”,T=”CLOSEBRACKET”,M=”OPENPAREN”,D=”CLOSEPAREN”,L=”OPENANGLEBRACKET”,N=”CLOSEANGLEBRACKET”,R=”FULLWIDTHLEFTPAREN”,P=”FULLWIDTHRIGHTPAREN”,I=”LEFTCORNERBRACKET”,z=”RIGHTCORNERBRACKET”,F=”LEFTWHITECORNERBRACKET”,j=”RIGHTWHITECORNERBRACKET”,B=”FULLWIDTHLESSTHAN”,q=”FULLWIDTHGREATERTHAN”,$=”AMPERSAND”,U=”APOSTROPHE”,H=”ASTERISK”,V=”BACKSLASH”,W=”BACKTICK”,Z=”CARET”,K=”COLON”,G=”COMMA”,J=”DOLLAR”,Y=”EQUALS”,X=”EXCLAMATION”,Q=”HYPHEN”,ee=”PERCENT”,et=”PIPE”,en=”PLUS”,er=”POUND”,ei=”QUERY”,eo=”QUOTE”,es=”FULLWIDTHMIDDLEDOT”,ea=”SEMI”,el=”SLASH”,eu=”TILDE”,ec=”UNDERSCORE”,eh=”EMOJI”;var ed=Object.freeze({__proto__:null,ALPHANUMERICAL:x,AMPERSAND:$,APOSTROPHE:U,ASCIINUMERICAL:w,ASTERISK:H,AT:”AT”,BACKSLASH:V,BACKTICK:W,CARET:Z,CLOSEANGLEBRACKET:N,CLOSEBRACE:A,CLOSEBRACKET:T,CLOSEPAREN:D,COLON:K,COMMA:G,DOLLAR:J,DOT:”DOT”,EMOJI:eh,EQUALS:Y,EXCLAMATION:X,FULLWIDTHGREATERTHAN:q,FULLWIDTHLEFTPAREN:R,FULLWIDTHLESSTHAN:B,FULLWIDTHMIDDLEDOT:es,FULLWIDTHRIGHTPAREN:P,HYPHEN:Q,LEFTCORNERBRACKET:I,LEFTWHITECORNERBRACKET:F,LOCALHOST:k,NL:”NL”,NUM:”NUM”,OPENANGLEBRACKET:L,OPENBRACE:C,OPENBRACKET:O,OPENPAREN:M,PERCENT:ee,PIPE:et,PLUS:en,POUND:er,QUERY:ei,QUOTE:eo,RIGHTCORNERBRACKET:z,RIGHTWHITECORNERBRACKET:j,SCHEME:E,SEMI:ea,SLASH:el,SLASH_SCHEME:S,SYM:”SYM”,TILDE:eu,TLD:”TLD”,UNDERSCORE:ec,UTLD:_,UWORD:v,WORD:b,WS:”WS”});let ep=/[a-z]/,ef=/\p{L}/u,em=/\p{Emoji}/u,eg=/\d/,ey=/\s/,eb=null,ev=null;function ew(e,t){let n=function(e){let t=[],n=e.length,r=0;for(;r56319||r+1===n||(i=e.charCodeAt(r+1))<56320||i>57343?e[r]:e.slice(r,r+2);t.push(s),r+=s.length}return t}(t.replace(/[A-Z]/g,e=>e.toLowerCase())),r=n.length,i=[],o=0,s=0;for(;s=0&&(h+=n[s].length,d++),u+=n[s].length,o+=n[s].length,s++;o-=h,s-=d,u-=h,i.push({t:c.t,v:t.slice(o-u,o),s:o-u,e:o})}return i}function ex(e,t,n,r,i){let o,s=t.length;for(let n=0;n=0;)i++;if(i>0){t.push(n.join(“”));for(let t=parseInt(e.substring(r,r+i),10);t>0;t–)n.pop();r+=i}else n.push(e[r]),r++}return t}let e_={defaultProtocol:”http”,events:null,format:eS,formatHref:eS,nl2br:!1,tagName:”a”,target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function eE(e,t=null){let n=Object.assign({},e_);e&&(n=Object.assign(n,e instanceof eE?e.o:e));let r=n.ignoreTags,i=[];for(let e=0;ee,check(e){return this.get(“validate”,e.toString(),e)},get(e,t,n){let r=null!=t,i=this.o[e];return i&&(“object”==typeof i?”function”==typeof(i=n.t in i?i[n.t]:e_[e])&&r&&(i=i(t,n)):”function”==typeof i&&r&&(i=i(t,n.t,n))),i},getObj(e,t,n){let r=this.o[e];return”function”==typeof r&&null!=t&&(r=r(t,n.t,n)),r},render(e){let t=e.render(this);return(this.get(“render”,null,e)||this.defaultRender)(t,e.t,e)}},eC.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){let t=this.toString(),n=e.get(“truncate”,t,this),r=e.get(“format”,t,this);return n&&r.length>n?r.substring(0,n)+”…”:r},toFormattedHref(e){return e.get(“formatHref”,this.toHref(e.get(“defaultProtocol”)),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=e_.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get(“validate”,this.toString(),this)},render(e){let t=this.toHref(e.get(“defaultProtocol”)),n=e.get(“formatHref”,t,this),r=e.get(“tagName”,t,this),i=this.toFormattedString(e),o={},s=e.get(“className”,t,this),a=e.get(“target”,t,this),l=e.get(“rel”,t,this),u=e.getObj(“attributes”,t,this),c=e.getObj(“events”,t,this);return o.href=n,s&&(o.class=s),a&&(o.target=a),l&&(o.rel=l),u&&Object.assign(o,u),{tagName:r,attributes:o,content:i,eventListeners:c}}};let eO=eA(“email”,{isLink:!0,toHref(){return”mailto:”+this.toString()}}),eT=eA(“text”),eM=eA(“nl”),eD=eA(“url”,{isLink:!0,toHref(e=e_.defaultProtocol){return this.hasProtocol()?this.v:`${e}://${this.v}`},hasProtocol(){let e=this.tk;return e.length>=2&&e[0].t!==k&&e[1].t===K}}),eL=e=>new p(e);function eN(e,t,n){let r=n[0].s,i=n[n.length-1].e;return new e(t.slice(r,i),n)}let eR=”undefined”!=typeof console&&console&&console.warn||(()=>{}),eP={scanner:null,parser:null,tokenQueue:[],pluginQueue:[],customSchemes:[],initialized:!1};function eI(e,t=!1){if(eP.initialized&&eR(`linkifyjs: already initialized – will not register custom scheme “${e}” until manual call of linkify.init(). Register all schemes and plugins before invoking linkify the first time.`),!/^[0-9a-z]+(-[0-9a-z]+)*$/.test(e))throw Error(`linkifyjs: incorrect scheme format.
1. Must only contain digits, lowercase ASCII letters or “-”
2. Cannot start or end with “-”
3. “-” cannot repeat`);eP.customSchemes.push([e,t])}function ez(e){return eP.initialized||function(){eP.scanner=function(e=[]){let t={};p.groups=t;let n=new p;null==eb&&(eb=ek(“aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5m\xf6gensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2”)),null==ev&&(ev=ek(“ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2″)),y(n,”‘”,U),y(n,”{“,C),y(n,”}”,A),y(n,”[“,O),y(n,”]”,T),y(n,”(“,M),y(n,”)”,D),y(n,”<",L),y(n,">“,N),y(n,”(”,R),y(n,”)”,P),y(n,”「”,I),y(n,”」”,z),y(n,”『”,F),y(n,”』”,j),y(n,”<”,B),y(n,”>”,q),y(n,”&”,$),y(n,”*”,H),y(n,”@”,”AT”),y(n,”`”,W),y(n,”^”,Z),y(n,”:”,K),y(n,”,”,G),y(n,”$”,J),y(n,”.”,”DOT”),y(n,”=”,Y),y(n,”!”,X),y(n,”-“,Q),y(n,”%”,ee),y(n,”|”,et),y(n,”+”,en),y(n,”#”,er),y(n,”?”,ei),y(n,'”‘,eo),y(n,”/”,el),y(n,”;”,ea),y(n,”~”,eu),y(n,”_”,ec),y(n,”\\”,V),y(n,”・”,es);let r=m(n,eg,”NUM”,{[i]:!0});m(r,eg,r);let f=m(r,ep,w,{[a]:!0}),ew=m(r,ef,x,{[l]:!0}),e_=m(n,ep,b,{[o]:!0});m(e_,eg,f),m(e_,ep,e_),m(f,eg,f),m(f,ep,f);let eE=m(n,ef,v,{[s]:!0});m(eE,ep),m(eE,eg,ew),m(eE,ef,eE),m(ew,eg,ew),m(ew,ep),m(ew,ef,ew);let eS=y(n,”\n”,”NL”,{[h]:!0}),eC=y(n,”\r”,”WS”,{[h]:!0}),eA=m(n,ey,”WS”,{[h]:!0});y(n,””,eA),y(eC,”\n”,eS),y(eC,””,eA),m(eC,ey,eA),y(eA,”\r”),y(eA,”\n”),m(eA,ey,eA),y(eA,””,eA);let eO=m(n,em,eh,{[c]:!0});y(eO,”#”),m(eO,em,eO),y(eO,”️”,eO);let eT=y(eO,””);y(eT,”#”),m(eT,em,eO);let eM=[[ep,e_],[eg,f]],eD=[[ep,null],[ef,eE],[eg,ew]];for(let e=0;ee[0]>t[0]?1:-1);for(let t=0;t=0?s[u]=!0:ep.test(r)?eg.test(r)?s[a]=!0:s[o]=!0:s[i]=!0,g(n,r,r,s)}return g(n,”localhost”,k,{ascii:!0}),n.jd=new p(“SYM”),{start:n,tokens:Object.assign({groups:t},ed)}}(eP.customSchemes);for(let e=0;e=0&&d++,i++,c++;if(d<0)(i-=c)0&&(o.push(eN(eT,t,s)),s=[]),i-=d,c-=d;let e=h.t,r=n.slice(i-c,i);o.push(eN(e,t,r))}}return s.length>0&&o.push(eN(eT,t,s)),o}(eP.parser.start,e,ew(eP.scanner.start,e))}function eF(e,t=null,n=null){if(t&&”object”==typeof t){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}let r=new eE(n),i=ez(e),o=[];for(let e=0;e{let t=”string”==typeof e?e:e.scheme;t&&n.push(t)}),!e||e.replace(eU,””).match(RegExp(`^(?:(?:${n.join(“|”)}):|[^a-z]|[a-z0-9+.-]+(?:[^a-z+.-:]|$))`,”i”))}let eV=r.CU.create({name:”link”,priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn(“The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.”)),this.options.protocols.forEach(e=>{“string”==typeof e?eI(e):eI(e.scheme,e.optionalSlashes)})},onDestroy(){p.groups={},eP.scanner=null,eP.parser=null,eP.tokenQueue=[],eP.pluginQueue=[],eP.customSchemes=[],eP.initialized=!1},inclusive(){return this.options.autolink},addOptions:()=>({openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:”http”,HTMLAttributes:{target:”_blank”,rel:”noopener noreferrer nofollow”,class:null},isAllowedUri:(e,t)=>!!eH(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}),addAttributes(){return{href:{default:null,parseHTML:e=>e.getAttribute(“href”)},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:”a[href]”,getAttrs:e=>{let t=e.getAttribute(“href”);return!!t&&!!this.options.isAllowedUri(t,{defaultValidate:e=>!!eH(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:e=>!!eH(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?[“a”,(0,r.KV)(this.options.HTMLAttributes,e),0]:[“a”,(0,r.KV)(this.options.HTMLAttributes,{…e,href:””}),0]},addCommands(){return{setLink:e=>({chain:t})=>{let{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!eH(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().setMark(this.name,e).setMeta(“preventAutolink”,!0).run()},toggleLink:e=>({chain:t})=>{let{href:n}=e;return!!this.options.isAllowedUri(n,{defaultValidate:e=>!!eH(e,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})&&t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta(“preventAutolink”,!0).run()},unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta(“preventAutolink”,!0).run()}},addPasteRules(){return[(0,r.Zc)({find:e=>{let t=[];if(e){let{protocols:n,defaultProtocol:r}=this.options,i=eF(e).filter(e=>e.isLink&&this.options.isAllowedUri(e.value,{defaultValidate:e=>!!eH(e,n),protocols:n,defaultProtocol:r}));i.length&&i.forEach(e=>t.push({text:e.value,data:{href:e.href},index:e.start}))}return t},type:this.type,getAttributes:e=>{var t;return{href:null==(t=e.data)?void 0:t.href}}})]},addProseMirrorPlugins(){var e,t,n;let i=[],{protocols:o,defaultProtocol:s}=this.options;return this.options.autolink&&i.push((e={type:this.type,defaultProtocol:this.options.defaultProtocol,validate:e=>this.options.isAllowedUri(e,{defaultValidate:e=>!!eH(e,o),protocols:o,defaultProtocol:s}),shouldAutoLink:this.options.shouldAutoLink},new ej.k_({key:new ej.hs(“autolink”),appendTransaction:(t,n,i)=>{let o=t.some(e=>e.docChanged)&&!n.doc.eq(i.doc),s=t.some(e=>e.getMeta(“preventAutolink”));if(!o||s)return;let{tr:a}=i,l=(0,r.T7)(n.doc,[…t]);if((0,r.FF)(l).forEach(({newRange:t})=>{let n,o,s=(0,r.Nx)(i.doc,t,e=>e.isTextblock);if(s.length>1)n=s[0],o=i.doc.textBetween(n.pos,n.pos+n.node.nodeSize,void 0,” “);else if(s.length){let e=i.doc.textBetween(t.from,t.to,” “,” “);if(!e$.test(e))return;n=s[0],o=i.doc.textBetween(n.pos,t.to,void 0,” “)}if(n&&o){let t=o.split(eq).filter(Boolean);if(t.length<=0)return!1;let s=t[t.length-1],l=n.pos+o.lastIndexOf(s);if(!s)return!1;let u=ez(s).map(t=>t.toObject(e.defaultProtocol));if(!(1===u.length?u[0].isLink:3===u.length&&!!u[1].isLink&&[“()”,”[]”].includes(u[0].value+u[2].value)))return!1;u.filter(e=>e.isLink).map(e=>({…e,from:l+e.start+1,to:l+e.end+1})).filter(e=>!i.schema.marks.code||!i.doc.rangeHasMark(e.from,e.to,i.schema.marks.code)).filter(t=>e.validate(t.value)).filter(t=>e.shouldAutoLink(t.value)).forEach(t=>{(0,r.hO)(t.from,t.to,i.doc).some(t=>t.mark.type===e.type)||a.addMark(t.from,t.to,e.type.create({href:t.href}))})}}),a.steps.length)return a}}))),!0===this.options.openOnClick&&i.push((t={type:this.type},new ej.k_({key:new ej.hs(“handleClickLink”),props:{handleClick:(e,n,i)=>{var o,s;if(0!==i.button||!e.editable)return!1;let a=i.target,l=[];for(;”DIV”!==a.nodeName;)l.push(a),a=a.parentNode;if(!l.find(e=>”A”===e.nodeName))return!1;let u=(0,r.gu)(e.state,t.type.name),c=i.target,h=null!=(o=null==c?void 0:c.href)?o:u.href,d=null!=(s=null==c?void 0:c.target)?s:u.target;return!!c&&!!h&&(window.open(h,d),!0)}}}))),this.options.linkOnPaste&&i.push((n={editor:this.editor,defaultProtocol:this.options.defaultProtocol,type:this.type},new ej.k_({key:new ej.hs(“handlePasteLink”),props:{handlePaste:(e,t,r)=>{let{state:i}=e,{selection:o}=i,{empty:s}=o;if(s)return!1;let a=””;r.content.forEach(e=>{a+=e.textContent});let l=eF(a,{defaultProtocol:n.defaultProtocol}).find(e=>e.isLink&&e.value===a);return!!a&&!!l&&n.editor.commands.setMark(n.type,{href:l.href})}}}))),i}})},60526:function(e,t,n){“use strict”;n.d(t,{A:()=>i,c:()=>i});var r=n(88285);let i=r.bP.create({name:”listItem”,addOptions:()=>({HTMLAttributes:{},bulletListTypeName:”bulletList”,orderedListTypeName:”orderedList”}),content:”paragraph block*”,defining:!0,parseHTML:()=>[{tag:”li”}],renderHTML({HTMLAttributes:e}){return[“li”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),”Shift-Tab”:()=>this.editor.commands.liftListItem(this.name)}}})},49089:function(e,t,n){“use strict”;n.d(t,{P:()=>d,A:()=>d});var r=n(88285),i=n(579),o=n(26469),s=n(62095);function a(e){var t;let{char:n,allowSpaces:i,allowToIncludeChar:o,allowedPrefixes:s,startOfLine:a,$position:l}=e,u=i&&!o,c=(0,r.GG)(n),h=RegExp(`\\s${c}$`),d=a?”^”:””,p=o?””:c,f=u?RegExp(`${d}${c}.*?(?=\\s${p}|$)`,”gm”):RegExp(`${d}(?:^)?${c}[^\\s${p}]*`,”gm”),m=(null==(t=l.nodeBefore)?void 0:t.isText)&&l.nodeBefore.text;if(!m)return null;let g=l.pos-m.length,y=Array.from(m.matchAll(f)).pop();if(!y||void 0===y.input||void 0===y.index)return null;let b=y.input.slice(Math.max(0,y.index-1),y.index),v=RegExp(`^[${null==s?void 0:s.join(“”)}\0]?$`).test(b);if(null!==s&&!v)return null;let w=g+y.index,x=w+y[0].length;return(u&&h.test(m.slice(x-1,x+1))&&(y[0]+=” “,x+=1),w=l.pos)?{range:{from:w,to:x},query:y[0].slice(n.length),text:y[0]}:null}let l=new o.hs(“suggestion”);function u({pluginKey:e=l,editor:t,char:n=”@”,allowSpaces:r=!1,allowToIncludeChar:i=!1,allowedPrefixes:u=[” “],startOfLine:c=!1,decorationTag:h=”span”,decorationClass:d=”suggestion”,decorationContent:p=””,decorationEmptyClass:f=”is-empty”,command:m=()=>null,items:g=()=>[],render:y=()=>({}),allow:b=()=>!0,findSuggestionMatch:v=a}){let w,x=null==y?void 0:y(),k=new o.k_({key:e,view(){return{update:async(e,n)=>{var r,i,o,s,a,l,u;let c=null==(r=this.key)?void 0:r.getState(n),h=null==(i=this.key)?void 0:i.getState(e.state),d=c.active&&h.active&&c.range.from!==h.range.from,p=!c.active&&h.active,f=c.active&&!h.active,y=!p&&!f&&c.query!==h.query,b=p||d&&y,v=y||d,k=f||d&&y;if(!b&&!v&&!k)return;let _=k&&!b?c:h,E=e.dom.querySelector(`[data-decoration-id=”${_.decorationId}”]`);w={editor:t,range:_.range,query:_.query,text:_.text,items:[],command:e=>m({editor:t,range:_.range,props:e}),decorationNode:E,clientRect:E?()=>{var n;let{decorationId:r}=null==(n=this.key)?void 0:n.getState(t.state),i=e.dom.querySelector(`[data-decoration-id=”${r}”]`);return(null==i?void 0:i.getBoundingClientRect())||null}:null},b&&(null==(o=null==x?void 0:x.onBeforeStart)||o.call(x,w)),v&&(null==(s=null==x?void 0:x.onBeforeUpdate)||s.call(x,w)),(v||b)&&(w.items=await g({editor:t,query:_.query})),k&&(null==(a=null==x?void 0:x.onExit)||a.call(x,w)),v&&(null==(l=null==x?void 0:x.onUpdate)||l.call(x,w)),b&&(null==(u=null==x?void 0:x.onStart)||u.call(x,w))},destroy:()=>{var e;w&&(null==(e=null==x?void 0:x.onExit)||e.call(x,w))}}},state:{init:()=>({active:!1,range:{from:0,to:0},query:null,text:null,composing:!1}),apply(e,o,s,a){let{isEditable:l}=t,{composing:h}=t.view,{selection:d}=e,{empty:p,from:f}=d,m={…o};if(m.composing=h,l&&(p||t.view.composing)){(fo.range.to)&&!h&&!o.composing&&(m.active=!1);let e=v({char:n,allowSpaces:r,allowToIncludeChar:i,allowedPrefixes:u,startOfLine:c,$position:d.$from}),s=`id_${Math.floor(0xffffffff*Math.random())}`;e&&b({editor:t,state:a,range:e.range,isActive:o.active})?(m.active=!0,m.decorationId=o.decorationId?o.decorationId:s,m.range=e.range,m.query=e.query,m.text=e.text):m.active=!1}else m.active=!1;return m.active||(m.decorationId=null,m.range={from:0,to:0},m.query=null,m.text=null),m}},props:{handleKeyDown(e,t){var n;let{active:r,range:i}=k.getState(e.state);return!!r&&((null==(n=null==x?void 0:x.onKeyDown)?void 0:n.call(x,{view:e,event:t,range:i}))||!1)},decorations(e){let{active:t,range:n,decorationId:r,query:i}=k.getState(e);if(!t)return null;let o=!(null==i?void 0:i.length),a=[d];return o&&a.push(f),s.zF.create(e.doc,[s.NZ.inline(n.from,n.to,{nodeName:h,class:a.join(” “),”data-decoration-id”:r,”data-decoration-content”:p})])}}});return k}function c(e){return(e.options.suggestions.length?e.options.suggestions:[e.options.suggestion]).map(t=>(function({editor:e,overrideSuggestionOptions:t,extensionName:n,char:r=”@”}){return{editor:e,char:r,pluginKey:new o.hs,command:({editor:e,range:t,props:i})=>{var o,s,a;let l=e.view.state.selection.$to.nodeAfter;(null==(o=null==l?void 0:l.text)?void 0:o.startsWith(” “))&&(t.to+=1),e.chain().focus().insertContentAt(t,[{type:n,attrs:{…i,mentionSuggestionChar:r}},{type:”text”,text:” “}]).run(),null==(a=null==(s=e.view.dom.ownerDocument.defaultView)?void 0:s.getSelection())||a.collapseToEnd()},allow:({state:e,range:t})=>{let r=e.doc.resolve(t.from),i=e.schema.nodes[n];return!!r.parent.type.contentMatch.matchType(i)},…t}})({editor:e.editor,overrideSuggestionOptions:t,extensionName:e.name,char:t.char}))}function h(e,t){let n=c(e),r=n.find(e=>e.char===t);return r||(n.length?n[0]:null)}let d=r.bP.create({name:”mention”,priority:101,addOptions:()=>({HTMLAttributes:{},renderText({node:e,suggestion:t}){var n,r;return`${null!=(n=null==t?void 0:t.char)?n:”@”}${null!=(r=e.attrs.label)?r:e.attrs.id}`},deleteTriggerWithBackspace:!1,renderHTML({options:e,node:t,suggestion:n}){var i,o;return[“span”,(0,r.KV)(this.HTMLAttributes,e.HTMLAttributes),`${null!=(i=null==n?void 0:n.char)?i:”@”}${null!=(o=t.attrs.label)?o:t.attrs.id}`]},suggestions:[],suggestion:{}}),group:”inline”,inline:!0,selectable:!1,atom:!0,addAttributes:()=>({id:{default:null,parseHTML:e=>e.getAttribute(“data-id”),renderHTML:e=>e.id?{“data-id”:e.id}:{}},label:{default:null,parseHTML:e=>e.getAttribute(“data-label”),renderHTML:e=>e.label?{“data-label”:e.label}:{}},mentionSuggestionChar:{default:”@”,parseHTML:e=>e.getAttribute(“data-mention-suggestion-char”),renderHTML:e=>({“data-mention-suggestion-char”:e.mentionSuggestionChar})}}),parseHTML(){return[{tag:`span[data-type=”${this.name}”]`}]},renderHTML({node:e,HTMLAttributes:t}){let n=h(this,e.attrs.mentionSuggestionChar);if(void 0!==this.options.renderLabel)return console.warn(“renderLabel is deprecated use renderText and renderHTML instead”),[“span”,(0,r.KV)({“data-type”:this.name},this.options.HTMLAttributes,t),this.options.renderLabel({options:this.options,node:e,suggestion:n})];let i={…this.options};i.HTMLAttributes=(0,r.KV)({“data-type”:this.name},this.options.HTMLAttributes,t);let o=this.options.renderHTML({options:i,node:e,suggestion:n});return”string”==typeof o?[“span”,(0,r.KV)({“data-type”:this.name},this.options.HTMLAttributes,t),o]:o},renderText({node:e}){let t={options:this.options,node:e,suggestion:h(this,e.attrs.mentionSuggestionChar)};return void 0!==this.options.renderLabel?(console.warn(“renderLabel is deprecated use renderText and renderHTML instead”),this.options.renderLabel(t)):this.options.renderText(t)},addKeyboardShortcuts(){return{Backspace:()=>this.editor.commands.command(({tr:e,state:t})=>{let n=!1,{selection:r}=t,{empty:o,anchor:s}=r;if(!o)return!1;t.doc.nodesBetween(s-1,s,(t,r)=>{if(t.type.name===this.name)return n=!0,e.insertText(this.options.deleteTriggerWithBackspace?””:this.options.suggestion.char||””,r,r+t.nodeSize),!1});let a=new i.bP,l=0;return t.doc.nodesBetween(s-1,s,(e,t)=>{if(e.type.name===this.name)return n=!0,a=e,l=t,!1}),n&&e.insertText(this.options.deleteTriggerWithBackspace?””:a.attrs.mentionSuggestionChar,l,l+a.nodeSize),n})}},addProseMirrorPlugins(){return c(this).map(u)}})},61292:function(e,t,n){“use strict”;n.d(t,{A:()=>i,f:()=>i});var r=n(88285);let i=r.bP.create({name:”paragraph”,priority:1e3,addOptions:()=>({HTMLAttributes:{}}),group:”block”,content:”inline*”,parseHTML:()=>[{tag:”p”}],renderHTML({HTMLAttributes:e}){return[“p”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setParagraph:()=>({commands:e})=>e.setNode(this.name)}},addKeyboardShortcuts(){return{“Mod-Alt-0”:()=>this.editor.commands.setParagraph()}}})},6142:function(e,t,n){“use strict”;n.d(t,{Ay:()=>s,n:()=>s});var r=n(88285);let i=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/,o=/(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g,s=r.CU.create({name:”strike”,addOptions:()=>({HTMLAttributes:{}}),parseHTML:()=>[{tag:”s”},{tag:”del”},{tag:”strike”},{style:”text-decoration”,consuming:!1,getAttrs:e=>!!e.includes(“line-through”)&&{}}],renderHTML({HTMLAttributes:e}){return[“s”,(0,r.KV)(this.options.HTMLAttributes,e),0]},addCommands(){return{setStrike:()=>({commands:e})=>e.setMark(this.name),toggleStrike:()=>({commands:e})=>e.toggleMark(this.name),unsetStrike:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{“Mod-Shift-s”:()=>this.editor.commands.toggleStrike()}},addInputRules(){return[(0,r.OX)({find:i,type:this.type})]},addPasteRules(){return[(0,r.Zc)({find:o,type:this.type})]}})},39001:function(e,t,n){“use strict”;n.d(t,{A:()=>r,E:()=>r});let r=n(88285).bP.create({name:”text”,group:”inline”})},43712:function(e,t,n){“use strict”;n.d(t,{Dr:()=>l});var r=n(52674),i=n(45788);let o=”http://www.w3.org/2000/svg”,s=”ProseMirror-icon”,a=”ProseMirror-menu”;class l{constructor(e){this.spec=e}render(e){let t=this.spec,n=t.render?t.render(e):t.icon?function(e,t){let n=(9==e.nodeType?e:e.ownerDocument)||document,r=n.createElement(“div”);if(r.className=s,t.path){let{path:i,width:a,height:l}=t,u=”pm-icon-“+(function(e){let t=0;for(let n=0;n{r.preventDefault(),n.classList.contains(a+”-disabled”)||t.run(e.state,e.dispatch,e,r)}),{dom:n,update:function(e){if(t.select){let r=t.select(e);if(n.style.display=r?””:”none”,!r)return!1}let r=!0;return t.enable&&c(n,a+”-disabled”,!(r=t.enable(e)||!1)),t.active&&c(n,a+”-active”,r&&t.active(e)||!1),!0}}}}function u(e,t){return e._props.translate?e._props.translate(t):t}function c(e,t,n){n?e.classList.add(t):e.classList.remove(t)}new l({title:”Join with above block”,run:r.G2,select:e=>(0,r.G2)(e),icon:{width:800,height:900,path:”M0 75h800v125h-800z M0 825h800v-125h-800z M250 400h100v-100h100v100h100v100h-100v100h-100v-100h-100z”}}),new l({title:”Lift out of enclosing block”,run:r.yY,select:e=>(0,r.yY)(e),icon:{width:1024,height:1024,path:”M219 310v329q0 7-5 12t-12 5q-8 0-13-5l-164-164q-5-5-5-13t5-13l164-164q5-5 13-5 7 0 12 5t5 12zM1024 749v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12zM1024 530v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 310v109q0 7-5 12t-12 5h-621q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h621q7 0 12 5t5 12zM1024 91v109q0 7-5 12t-12 5h-987q-7 0-12-5t-5-12v-109q0-7 5-12t12-5h987q7 0 12 5t5 12z”}}),new l({title:”Select parent node”,run:r.hy,select:e=>(0,r.hy)(e),icon:{text:”⬚”,css:”font-weight: bold”}}),new l({title:”Undo last change”,run:i.tN,enable:e=>(0,i.tN)(e),icon:{width:1024,height:1024,path:”M761 1024c113-206 132-520-313-509v253l-384-384 384-384v248c534-13 594 472 313 775z”}}),new l({title:”Redo last undone change”,run:i.ZS,enable:e=>(0,i.ZS)(e),icon:{width:1024,height:1024,path:”M576 248v-248l384 384-384 384v-253c-446-10-427 303-313 509-280-303-221-789 313-775z”}})},31583:function(e,t,n){“use strict”;n.d(t,{VR:()=>R,gu:()=>j,NV:()=>z,hG:()=>O,$Z:()=>b,mM:()=>M,$p:()=>N});var r,i,o,s=n(88285),a=n(26469),l=n(64504);class u{constructor({editor:e,element:t,view:n,tippyOptions:r={},updateDelay:i=250,shouldShow:o}){this.preventHide=!1,this.shouldShow=({view:e,state:t,from:n,to:r})=>{let{doc:i,selection:o}=t,{empty:a}=o,l=!i.textBetween(n,r).length&&(0,s.eE)(t.selection),u=this.element.contains(document.activeElement);return!!(e.hasFocus()||u)&&!a&&!l&&!!this.editor.isEditable},this.mousedownHandler=()=>{this.preventHide=!0},this.dragstartHandler=()=>{this.hide()},this.focusHandler=()=>{setTimeout(()=>this.update(this.editor.view))},this.blurHandler=({event:e})=>{var t;if(this.preventHide){this.preventHide=!1;return}(null==e?void 0:e.relatedTarget)&&(null==(t=this.element.parentNode)?void 0:t.contains(e.relatedTarget))||(null==e?void 0:e.relatedTarget)!==this.editor.view.dom&&this.hide()},this.tippyBlurHandler=e=>{this.blurHandler({event:e})},this.handleDebouncedUpdate=(e,t)=>{let n=!(null==t?void 0:t.selection.eq(e.state.selection)),r=!(null==t?void 0:t.doc.eq(e.state.doc));(n||r)&&(this.updateDebounceTimer&&clearTimeout(this.updateDebounceTimer),this.updateDebounceTimer=window.setTimeout(()=>{this.updateHandler(e,n,r,t)},this.updateDelay))},this.updateHandler=(e,t,n,r)=>{var i,o,a;let{state:l,composing:u}=e,{selection:c}=l;if(u||!t&&!n)return;this.createTooltip();let{ranges:h}=c,d=Math.min(…h.map(e=>e.$from.pos)),p=Math.max(…h.map(e=>e.$to.pos));(null==(i=this.shouldShow)?void 0:i.call(this,{editor:this.editor,element:this.element,view:e,state:l,oldState:r,from:d,to:p}))?(null==(o=this.tippy)||o.setProps({getReferenceClientRect:(null==(a=this.tippyOptions)?void 0:a.getReferenceClientRect)||(()=>{if((0,s.BQ)(l.selection)){let t=e.nodeDOM(d);if(t){let e=t.dataset.nodeViewWrapper?t:t.querySelector(“[data-node-view-wrapper]”);if(e&&(t=e.firstChild),t)return t.getBoundingClientRect()}}return(0,s.MG)(e,d,p)})}),this.show()):this.hide()},this.editor=e,this.element=t,this.view=n,this.updateDelay=i,o&&(this.shouldShow=o),this.element.addEventListener(“mousedown”,this.mousedownHandler,{capture:!0}),this.view.dom.addEventListener(“dragstart”,this.dragstartHandler),this.editor.on(“focus”,this.focusHandler),this.editor.on(“blur”,this.blurHandler),this.tippyOptions=r,this.element.remove(),this.element.style.visibility=”visible”}createTooltip(){let{element:e}=this.editor.options,t=!!e.parentElement;this.element.tabIndex=0,!this.tippy&&t&&(this.tippy=(0,l.Ay)(e,{duration:0,getReferenceClientRect:null,content:this.element,interactive:!0,trigger:”manual”,placement:”top”,hideOnClick:”toggle”,…this.tippyOptions}),this.tippy.popper.firstChild&&this.tippy.popper.firstChild.addEventListener(“blur”,this.tippyBlurHandler))}update(e,t){let{state:n}=e,r=n.selection.from!==n.selection.to;if(this.updateDelay>0&&r)return void this.handleDebouncedUpdate(e,t);let i=!(null==t?void 0:t.selection.eq(e.state.selection)),o=!(null==t?void 0:t.doc.eq(e.state.doc));this.updateHandler(e,i,o,t)}show(){var e;null==(e=this.tippy)||e.show()}hide(){var e;null==(e=this.tippy)||e.hide()}destroy(){var e,t;(null==(e=this.tippy)?void 0:e.popper.firstChild)&&this.tippy.popper.firstChild.removeEventListener(“blur”,this.tippyBlurHandler),null==(t=this.tippy)||t.destroy(),this.element.removeEventListener(“mousedown”,this.mousedownHandler,{capture:!0}),this.view.dom.removeEventListener(“dragstart”,this.dragstartHandler),this.editor.off(“focus”,this.focusHandler),this.editor.off(“blur”,this.blurHandler)}}let c=e=>new a.k_({key:”string”==typeof e.pluginKey?new a.hs(e.pluginKey):e.pluginKey,view:t=>new u({view:t,…e})});s.YY.create({name:”bubbleMenu”,addOptions:()=>({element:null,tippyOptions:{},pluginKey:”bubbleMenu”,updateDelay:void 0,shouldShow:null}),addProseMirrorPlugins(){return this.options.element?[c({pluginKey:this.options.pluginKey,editor:this.editor,element:this.options.element,tippyOptions:this.options.tippyOptions,updateDelay:this.options.updateDelay,shouldShow:this.options.shouldShow})]:[]}});var h=n(17402),d={exports:{}},p={};d.exports=function(){if(i)return p;i=1;var e=h.default,t=”function”==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=e.useState,r=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(e){var n=e.getSnapshot;e=e.value;try{var r=n();return!t(e,r)}catch(e){return!0}}var l=”undefined”==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var i=t(),l=n({inst:{value:i,getSnapshot:t}}),u=l[0].inst,c=l[1];return o(function(){u.value=i,u.getSnapshot=t,a(u)&&c({inst:u})},[e,i,t]),r(function(){return a(u)&&c({inst:u}),e(function(){a(u)&&c({inst:u})})},[e]),s(i),i};return p.useSyncExternalStore=void 0!==e.useSyncExternalStore?e.useSyncExternalStore:l,p}();var f=d.exports;let m=({contentComponent:e})=>{let t=f.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getServerSnapshot);return h.default.createElement(h.default.Fragment,null,Object.values(t))};class g extends h.default.Component{constructor(e){var t;super(e),this.editorContentRef=h.default.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!(null==(t=e.editor)?void 0:t.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){let e=this.props.editor;if(e&&!e.isDestroyed&&e.options.element){let t,n;if(e.contentComponent)return;let r=this.editorContentRef.current;r.append(…e.options.element.childNodes),e.setOptions({element:r}),t=new Set,n={},e.contentComponent={subscribe:e=>(t.add(e),()=>{t.delete(e)}),getSnapshot:()=>n,getServerSnapshot:()=>n,setRenderer(e,r){n={…n,[e]:h.default.createPortal(r.reactElement,r.element,e)},t.forEach(e=>e())},removeRenderer(e){let r={…n};delete r[e],n=r,t.forEach(e=>e())}},this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=e.contentComponent.subscribe(()=>{this.setState(e=>e.hasContentComponentInitialized?e:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),e.createNodeViews(),this.initialized=!0}}componentWillUnmount(){let e=this.props.editor;if(!e||(this.initialized=!1,e.isDestroyed||e.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),e.contentComponent=null,!e.options.element.firstChild))return;let t=document.createElement(“div”);t.append(…e.options.element.childNodes),e.setOptions({element:t})}render(){let{editor:e,innerRef:t,…n}=this.props;return h.default.createElement(h.default.Fragment,null,h.default.createElement(“div”,{ref:((…e)=>t=>{e.forEach(e=>{“function”==typeof e?e(t):e&&(e.current=t)})})(t,this.editorContentRef),…n}),(null==e?void 0:e.contentComponent)&&h.default.createElement(m,{contentComponent:e.contentComponent}))}}let y=(0,h.forwardRef)((e,t)=>{let n=h.default.useMemo(()=>Math.floor(0xffffffff*Math.random()).toString(),[e.editor]);return h.default.createElement(g,{key:n,innerRef:t,…e})}),b=h.default.memo(y);var v=(r=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;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i–;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(i=r;0!=i–;)if(t[i]!==n[i])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=(o=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(i=r;0!=i–;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;0!=i–;){var r,i,o,s=o[i];if((“_owner”!==s||!t.$$typeof)&&!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}).__esModule&&Object.prototype.hasOwnProperty.call(r,”default”)?r.default:r,w={exports:{}},x={};w.exports=function(){if(o)return x;o=1;var e=h.default,t=”function”==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},n=f.useSyncExternalStore,r=e.useRef,i=e.useEffect,s=e.useMemo,a=e.useDebugValue;return x.useSyncExternalStoreWithSelector=function(e,o,l,u,c){var h=r(null);if(null===h.current){var d={hasValue:!1,value:null};h.current=d}else d=h.current;var p=n(e,(h=s(function(){function e(e){if(!i){if(i=!0,n=e,e=u(e),void 0!==c&&d.hasValue){var o=d.value;if(c(o,e))return r=o}return r=e}if(o=r,t(n,e))return o;var s=u(e);return void 0!==c&&c(o,s)?o:(n=e,r=s)}var n,r,i=!1,s=void 0===l?null:l;return[function(){return e(o())},null===s?void 0:function(){return e(s())}]},[o,l,u,c]))[0],h[1]);return i(function(){d.hasValue=!0,d.value=p},[p]),a(p),p},x}();var k=w.exports;let _=”undefined”!=typeof window?h.useLayoutEffect:h.useEffect;class E{constructor(e){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=e,this.lastSnapshot={editor:e,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber||(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber}),this.lastSnapshot}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(e){return this.subscribers.add(e),()=>{this.subscribers.delete(e)}}watch(e){if(this.editor=e,this.editor){let e=()=>{this.transactionNumber+=1,this.subscribers.forEach(e=>e())},t=this.editor;return t.on(“transaction”,e),()=>{t.off(“transaction”,e)}}}}let S=”undefined”==typeof window,C=S||!!(“undefined”!=typeof window&&window.next);class A{constructor(e){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId=””,this.options=e,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(e){this.editor=e,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(e=>e())}getInitialEditor(){return void 0===this.options.current.immediatelyRender?S||C?null:this.createEditor():(this.options.current.immediatelyRender,this.options.current.immediatelyRender?this.createEditor():null)}createEditor(){let e={…this.options.current,onBeforeCreate:(…e)=>{var t,n;return null==(n=(t=this.options.current).onBeforeCreate)?void 0:n.call(t,…e)},onBlur:(…e)=>{var t,n;return null==(n=(t=this.options.current).onBlur)?void 0:n.call(t,…e)},onCreate:(…e)=>{var t,n;return null==(n=(t=this.options.current).onCreate)?void 0:n.call(t,…e)},onDestroy:(…e)=>{var t,n;return null==(n=(t=this.options.current).onDestroy)?void 0:n.call(t,…e)},onFocus:(…e)=>{var t,n;return null==(n=(t=this.options.current).onFocus)?void 0:n.call(t,…e)},onSelectionUpdate:(…e)=>{var t,n;return null==(n=(t=this.options.current).onSelectionUpdate)?void 0:n.call(t,…e)},onTransaction:(…e)=>{var t,n;return null==(n=(t=this.options.current).onTransaction)?void 0:n.call(t,…e)},onUpdate:(…e)=>{var t,n;return null==(n=(t=this.options.current).onUpdate)?void 0:n.call(t,…e)},onContentError:(…e)=>{var t,n;return null==(n=(t=this.options.current).onContentError)?void 0:n.call(t,…e)},onDrop:(…e)=>{var t,n;return null==(n=(t=this.options.current).onDrop)?void 0:n.call(t,…e)},onPaste:(…e)=>{var t,n;return null==(n=(t=this.options.current).onPaste)?void 0:n.call(t,…e)}};return new s.KE(e)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(e){return this.subscriptions.add(e),()=>{this.subscriptions.delete(e)}}static compareOptions(e,t){return Object.keys(e).every(n=>!![“onCreate”,”onBeforeCreate”,”onDestroy”,”onUpdate”,”onTransaction”,”onFocus”,”onBlur”,”onSelectionUpdate”,”onContentError”,”onDrop”,”onPaste”].includes(n)||(“extensions”===n&&e.extensions&&t.extensions?e.extensions.length===t.extensions.length&&e.extensions.every((e,n)=>{var r;return e===(null==(r=t.extensions)?void 0:r[n])}):e[n]===t[n]))}onRender(e){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&0===e.length?A.compareOptions(this.options.current,this.editor.options)||this.editor.setOptions({…this.options.current,editable:this.editor.isEditable}):this.refreshEditorInstance(e),()=>{this.isComponentMounted=!1,this.scheduleDestroy()})}refreshEditorInstance(e){if(this.editor&&!this.editor.isDestroyed){if(null===this.previousDeps){this.previousDeps=e;return}if(this.previousDeps.length===e.length&&this.previousDeps.every((t,n)=>t===e[n]))return}this.editor&&!this.editor.isDestroyed&&this.editor.destroy(),this.setEditor(this.createEditor()),this.previousDeps=e}scheduleDestroy(){let e=this.instanceId,t=this.editor;this.scheduledDestructionTimeout=setTimeout(()=>{if(this.isComponentMounted&&this.instanceId===e){t&&t.setOptions(this.options.current);return}t&&!t.isDestroyed&&(t.destroy(),this.instanceId===e&&this.setEditor(null))},1)}}function O(e={},t=[]){let n=(0,h.useRef)(e);n.current=e;let[r]=(0,h.useState)(()=>new A(n)),i=f.useSyncExternalStore(r.subscribe,r.getEditor,r.getServerSnapshot);return(0,h.useDebugValue)(i),(0,h.useEffect)(r.onRender(t)),!function(e){var t;let[n]=(0,h.useState)(()=>new E(e.editor)),r=k.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,null!=(t=e.equalityFn)?t:v);_(()=>n.watch(e.editor),[e.editor,n]),(0,h.useDebugValue)(r)}({editor:i,selector:({transactionNumber:t})=>!1===e.shouldRerenderOnTransaction?null:e.immediatelyRender&&0===t?0:t+1}),i}let T=(0,h.createContext)({editor:null});T.Consumer;let M=e=>{let[t,n]=(0,h.useState)(null),{editor:r}=(0,h.useContext)(T);return(0,h.useEffect)(()=>{var n;if(!t||(null==(n=e.editor)?void 0:n.isDestroyed)||(null==r?void 0:r.isDestroyed))return;let{pluginKey:i=”bubbleMenu”,editor:o,tippyOptions:s={},updateDelay:a,shouldShow:l=null}=e,u=o||r;if(!u)return void console.warn(“BubbleMenu component is not rendered inside of an editor component or does not have editor prop.”);let h=c({updateDelay:a,editor:u,element:t,pluginKey:i,shouldShow:l,tippyOptions:s});return u.registerPlugin(h),()=>{u.unregisterPlugin(i)}},[e.editor,r,t]),h.default.createElement(“div”,{ref:n,className:e.className,style:{visibility:”hidden”}},e.children)},D=(0,h.createContext)({onDragStart:void 0}),L=()=>(0,h.useContext)(D),N=e=>{let t=e.as||”div”,{nodeViewContentRef:n}=L();return h.default.createElement(t,{…e,ref:n,”data-node-view-content”:””,style:{whiteSpace:”pre-wrap”,…e.style}})},R=h.default.forwardRef((e,t)=>{let{onDragStart:n}=L(),r=e.as||”div”;return h.default.createElement(r,{…e,ref:t,”data-node-view-wrapper”:””,onDragStart:n,style:{whiteSpace:”normal”,…e.style}})});function P(e){return!!(“function”==typeof e&&e.prototype&&e.prototype.isReactComponent)}function I(e){return!!(“object”==typeof e&&e.$$typeof&&(“Symbol(react.forward_ref)”===e.$$typeof.toString()||”react.forward_ref”===e.$$typeof.description))}class z{constructor(e,{editor:t,props:n={},as:r=”div”,className:i=””}){this.ref=null,this.id=Math.floor(0xffffffff*Math.random()).toString(),this.component=e,this.editor=t,this.props=n,this.element=document.createElement(r),this.element.classList.add(“react-renderer”),i&&this.element.classList.add(…i.split(” “)),this.editor.isInitialized?(0,h.flushSync)(()=>{this.render()}):queueMicrotask(()=>{this.render()})}render(){var e;let t=this.component,n=this.props,r=this.editor,i=function(){try{if(h.version)return parseInt(h.version.split(“.”)[0],10)>=19}catch{}return!1}(),o=function(e){if(P(e)||I(e))return!0;if(“object”==typeof e&&e.$$typeof&&(“Symbol(react.memo)”===e.$$typeof.toString()||”react.memo”===e.$$typeof.description)){let t=e.type;if(t)return P(t)||I(t)}return!1}(t),s={…n};s.ref&&!(i||o)&&delete s.ref,!s.ref&&(i||o)&&(s.ref=e=>{this.ref=e}),this.reactElement=h.default.createElement(t,{…s}),null==(e=null==r?void 0:r.contentComponent)||e.setRenderer(this.id,this)}updateProps(e={}){this.props={…this.props,…e},this.render()}destroy(){var e;let t=this.editor;null==(e=null==t?void 0:t.contentComponent)||e.removeRenderer(this.id)}updateAttributes(e){Object.keys(e).forEach(t=>{this.element.setAttribute(t,e[t])})}}class F extends s.Yv{constructor(e,t,n){if(super(e,t,n),!this.node.isLeaf){this.options.contentDOMElementTag?this.contentDOMElement=document.createElement(this.options.contentDOMElementTag):this.contentDOMElement=document.createElement(this.node.isInline?”span”:”div”),this.contentDOMElement.dataset.nodeViewContentReact=””,this.contentDOMElement.dataset.nodeViewWrapper=””,this.contentDOMElement.style.whiteSpace=”inherit”;const e=this.dom.querySelector(“[data-node-view-content]”);if(!e)return;e.appendChild(this.contentDOMElement)}}mount(){let e={editor:this.editor,node:this.node,decorations:this.decorations,innerDecorations:this.innerDecorations,view:this.view,selected:!1,extension:this.extension,HTMLAttributes:this.HTMLAttributes,getPos:()=>this.getPos(),updateAttributes:(e={})=>this.updateAttributes(e),deleteNode:()=>this.deleteNode(),ref:(0,h.createRef)()};if(!this.component.displayName){let e;this.component.displayName=(e=this.extension.name).charAt(0).toUpperCase()+e.substring(1)}let t={onDragStart:this.onDragStart.bind(this),nodeViewContentRef:e=>{e&&this.contentDOMElement&&e.firstChild!==this.contentDOMElement&&(e.hasAttribute(“data-node-view-wrapper”)&&e.removeAttribute(“data-node-view-wrapper”),e.appendChild(this.contentDOMElement))}},n=this.component,r=(0,h.memo)(e=>h.default.createElement(D.Provider,{value:t},(0,h.createElement)(n,e)));r.displayName=”ReactNodeView”;let i=this.node.isInline?”span”:”div”;this.options.as&&(i=this.options.as);let{className:o=””}=this.options;this.handleSelectionUpdate=this.handleSelectionUpdate.bind(this),this.renderer=new z(r,{editor:this.editor,props:e,as:i,className:`node-${this.node.type.name} ${o}`.trim()}),this.editor.on(“selectionUpdate”,this.handleSelectionUpdate),this.updateElementAttributes()}get dom(){var e;if(this.renderer.element.firstElementChild&&!(null==(e=this.renderer.element.firstElementChild)?void 0:e.hasAttribute(“data-node-view-wrapper”)))throw Error(“Please use the NodeViewWrapper component for your node view.”);return this.renderer.element}get contentDOM(){return this.node.isLeaf?null:this.contentDOMElement}handleSelectionUpdate(){let{from:e,to:t}=this.editor.state.selection,n=this.getPos();if(“number”==typeof n)if(e<=n&&t>=n+this.node.nodeSize){if(this.renderer.props.selected)return;this.selectNode()}else{if(!this.renderer.props.selected)return;this.deselectNode()}}update(e,t,n){let r=e=>{this.renderer.updateProps(e),”function”==typeof this.options.attrs&&this.updateElementAttributes()};if(e.type!==this.node.type)return!1;if(“function”==typeof this.options.update){let i=this.node,o=this.decorations,s=this.innerDecorations;return this.node=e,this.decorations=t,this.innerDecorations=n,this.options.update({oldNode:i,oldDecorations:o,newNode:e,newDecorations:t,oldInnerDecorations:s,innerDecorations:n,updateProps:()=>r({node:e,decorations:t,innerDecorations:n})})}return e===this.node&&this.decorations===t&&this.innerDecorations===n||(this.node=e,this.decorations=t,this.innerDecorations=n,r({node:e,decorations:t,innerDecorations:n}),!0)}selectNode(){this.renderer.updateProps({selected:!0}),this.renderer.element.classList.add(“ProseMirror-selectednode”)}deselectNode(){this.renderer.updateProps({selected:!1}),this.renderer.element.classList.remove(“ProseMirror-selectednode”)}destroy(){this.renderer.destroy(),this.editor.off(“selectionUpdate”,this.handleSelectionUpdate),this.contentDOMElement=null}updateElementAttributes(){if(this.options.attrs){let e={};if(“function”==typeof this.options.attrs){let t=this.editor.extensionManager.attributes,n=(0,s.zU)(this.node,t);e=this.options.attrs({node:this.node,HTMLAttributes:n})}else e=this.options.attrs;this.renderer.updateAttributes(e)}}}function j(e,t){return n=>n.editor.contentComponent?new F(e,n,t):{}}},74011:function(e,t,n){“use strict”;n.d(t,{v:()=>o});var r=n(88285),i=n(96168);let o=r.YY.create({name:”gapCursor”,addProseMirrorPlugins:()=>[(0,i.z)()],extendNodeSchema(e){var t;let n={name:e.name,options:e.options,storage:e.storage};return{allowGapCursor:null!=(t=(0,r.gk)((0,r.iI)(e,”allowGapCursor”,n)))?t:null}}})},83787:function(e,t,n){“use strict”;n.d(t,{HX:()=>nt});class r{constructor(e,t,n,r,i){this.kind=e,this.input=t,this.begin=n,this.end=r,this.file=i}getText(){return this.input.slice(this.begin,this.end)}getPosition(){let[e,t]=[1,1];for(let n=0;nh(e)).join(“”):String(e)}function d(e){var t;return b(e=f(e))?e:l(e)&&e.length>0?[e]:k(t=e)&&Symbol.iterator in t?Array.from(e):k(e)?Object.keys(e).map(t=>[t,e[t]]):[]}function p(e){return y(e=f(e))?[]:b(e)?e:[e]}function f(e){return e instanceof i&&u(e.valueOf)?e.valueOf():e}function m(e){return isNaN(e=Number(e))?0:e}function g(e){return”number”==typeof e}function y(e){return null==e}function b(e){return”[object Array]”===o.call(e)}function v(e){return e&&g(e.length)}function w(e,t){for(let n in e=e||{})if(a.call(e,n)&&!1===t(e[n],n,e))break;return e}function x(e){return e[e.length-1]}function k(e){let t=typeof e;return null!==e&&(“object”===t||”function”===t)}function _(e,t,n=1){let r=[];for(let i=e;it+e)}function S(e,t,n,r){let i=t-(e=String(e)).length;for(;i– >0;)e=r(e,n);return e}function C(e){return e}function A(e,t){return null==e&&null==t?0:null==e?1:null==t||(e=s.call(e))<(t=s.call(t))?-1:+(e>t)}function O(e){return function(…t){return e.call(this,…t.map(f))}}function T(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,”\\$&”)}function*M(e){let t=new Set;for(let n of e){let e=JSON.stringify(n);t.has(e)||(t.add(e),yield n)}}let D=”__liquidClass__”;class L extends Error{constructor(e,t){super(“string”==typeof e?e:e.message),this.context=””,”string”!=typeof e&&Object.defineProperty(this,”originalError”,{value:e,enumerable:!1}),Object.defineProperty(this,”token”,{value:t,enumerable:!1}),Object.defineProperty(this,D,{value:”LiquidError”,enumerable:!1})}update(){Object.defineProperty(this,”context”,{value:function(e){let[t,n]=e.getPosition(),r=e.input.split(“\n”),i=Math.max(t-2,1),o=Math.min(t+3,r.length);return _(i,o+1).map(e=>{let i=E(String(e),String(o).length),s=`${e===t?”>> “:” “}${i}| `,a=e===t?”\n”+E(“^”,n+s.length):””;return s+=r[e-1],s+=a}).join(“\n”)}(this.token),enumerable:!1}),this.message=function(e,t){t.file&&(e+=`, file:${t.file}`);let[n,r]=t.getPosition();return e+`, line:${n}, col:${r}`}(this.message,this.token),this.stack=this.message+”\n”+this.context+”\n”+this.stack,this.originalError&&(this.stack+=”\nFrom “+this.originalError.stack)}static is(e){return(null==e?void 0:e[D])===”LiquidError”}}class N extends L{constructor(e,t){super(e,t),this.name=”TokenizationError”,super.update()}}class R extends L{constructor(e,t){super(e,t),this.name=”ParseError”,this.message=e.message,super.update()}}class P extends L{constructor(e,t){super(e,t.token),this.name=”RenderError”,this.message=e.message,super.update()}static is(e){return”RenderError”===e.name}}class I extends L{constructor(e){super(e[0],e[0].token),this.errors=e,this.name=”LiquidErrors”;const t=e.length>1?”s”:””;this.message=`${e.length} error${t} found`,super.update()}static is(e){return”LiquidErrors”===e.name}}class z extends L{constructor(e,t){super(e,t),this.name=”UndefinedVariableError”,this.message=e.message,super.update()}}class F extends Error{constructor(e){super(`undefined variable: ${e}`),this.name=”InternalUndefinedVariableError”,this.variableName=e}}class j extends Error{constructor(e){super(e),this.name=”AssertionError”,this.message=e+””}}let B=[0,0,0,0,0,0,0,0,0,20,4,4,4,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,20,2,8,0,0,0,0,8,0,0,0,64,0,65,0,0,33,33,33,33,33,33,33,33,33,33,0,0,2,2,2,1,0,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,0,0,0,0,1,0,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,0,0,0,0,0];function q(e){let t=e.charCodeAt(0);return t>=128?!B[t]:!!(1&B[t])}function $(e,t){if(!e)throw new j(“function”==typeof t?t():t||`expect ${e} to be true`)}function U(e,t=`unexpected ${JSON.stringify(e)}`){$(!e,t)}B[160]=B[5760]=B[6158]=B[8192]=B[8193]=B[8194]=B[8195]=B[8196]=B[8197]=B[8198]=B[8199]=B[8200]=B[8201]=B[8202]=B[8232]=B[8233]=B[8239]=B[8287]=B[12288]=4,B[8220]=B[8221]=128;class H extends i{equals(e){return!(e instanceof H)&&(l(e=f(e))||b(e)?0===e.length:!!k(e)&&0===Object.keys(e).length)}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return””}static is(e){return e instanceof H}}class V extends H{equals(e){return!!(!1===e||y(f(e)))||(l(e)?/^\s*$/.test(e):super.equals(e))}static is(e){return e instanceof V}}class W extends i{constructor(e,t,n){super(),this.i=0,this.length=e,this.name=`${n}-${t}`}next(){this.i++}index0(){return this.i}index(){return this.i+1}first(){return 0===this.i}last(){return this.i===this.length-1}rindex(){return this.length-this.i}rindex0(){return this.length-this.i-1}valueOf(){return JSON.stringify(this)}}class Z{constructor(){this.buffer=””}write(e){this.buffer+=h(e)}}class K{constructor(){throw this.buffer=””,this.stream=null,Error(“streaming not supported in browser”)}}class G{constructor(){this.buffer=””}write(e){“string”!=typeof(e=f(e))&&””===this.buffer?this.buffer=e:this.buffer=h(this.buffer)+h(e)}}class J extends i{constructor(e=()=>””){super(),this.superBlockRender=e}*super(){let e=new Z;return yield this.superBlockRender(e),e.buffer}}function Y(e){return e&&u(e.equals)&&u(e.gt)&&u(e.geq)&&u(e.lt)&&u(e.leq)}let X=new class extends i{equals(e){return y(f(e))}gt(){return!1}geq(){return!1}lt(){return!1}leq(){return!1}valueOf(){return null}},Q={true:!0,false:!1,nil:X,null:X,empty:new H,blank:new V};function ee(e){let t={};for(let[n,r]of Object.entries(e)){let e=t;for(let t=0;t0?”-“:”+”)+E(r,2,”0″)+(t.flags[“:”]?”:”:””)+E(n%60,2,”0″)}let ey={a:e=>e.getShortWeekdayName(),A:e=>e.getLongWeekdayName(),b:e=>e.getShortMonthName(),B:e=>e.getLongMonthName(),c:e=>e.toLocaleString(),C:e=>parseInt(e.getFullYear().toString().substring(0,2),10),d:e=>e.getDate(),e:e=>e.getDate(),H:e=>e.getHours(),I:e=>String(e.getHours()%12||12),j:e=>ed(e),k:e=>e.getHours(),l:e=>String(e.getHours()%12||12),L:e=>e.getMilliseconds(),m:e=>e.getMonth()+1,M:e=>e.getMinutes(),N:(e,t)=>{let n=Number(t.width)||9;return function(e,t,n=” “){return S(e,t,n,(e,t)=>e+t)}(String(e.getMilliseconds()).slice(0,n),n,”0″)},p:e=>12>e.getHours()?”AM”:”PM”,P:e=>12>e.getHours()?”am”:”pm”,q:e=>(function(e){let t=e.getDate();if([11,12,13].includes(t))return”th”;switch(t%10){case 1:return”st”;case 2:return”nd”;case 3:return”rd”;default:return”th”}})(e),s:e=>Math.round(e.getTime()/1e3),S:e=>e.getSeconds(),u:e=>e.getDay()||7,U:e=>ep(e,0),w:e=>e.getDay(),W:e=>ep(e,1),x:e=>e.toLocaleDateString(),X:e=>e.toLocaleTimeString(),y:e=>e.getFullYear().toString().slice(2,4),Y:e=>e.getFullYear(),z:eg,Z:(e,t)=>e.getTimeZoneName()||eg(e,t),t:()=>” “,n:()=>”\n”,”%”:()=>”%”};function eb(e,t){let n,r=””,i=t;for(;n=eh.exec(i);)r+=i.slice(0,n.index),i=i.slice(n.index+n[0].length),r+=function(e,t){let[n,r=””,i,o,s]=t,a=ey[s];if(!a)return n;let l={};for(let e of r)l[e]=!0;let u=String(a(e,{flags:l,width:i,modifier:o})),c=em.has(s)?” “:”0”,h=i||ef[s]||0;if(l[“^”])u=u.toUpperCase();else{var d;l[“#”]&&(u=[…d=u].some(e=>e>=”a”&&e<="z")?d.toUpperCase():d.toLowerCase())}return l._?c=" ":l["0"]&&(c="0"),l["-"]&&(h=0),E(u,h,c)}(e,n);return r+i}function ev(){return"undefined"!=typeof Intl?Intl.DateTimeFormat:void 0}ey.h=ey.b;let ew=/([zZ]|([+-])(\d{2}):?(\d{2}))$/,ex=["January","February","March","April","May","June","July","August","September","October","November","December"],ek=ex.map(e=>e.slice(0,3)),e_=[“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”],eE=e_.map(e=>e.slice(0,3));class eS{constructor(e,t,n){this.locale=t,this.DateTimeFormat=ev(),this.date=new Date(e),this.timezoneFixed=void 0!==n,void 0===n&&(n=this.date.getTimezoneOffset()),this.timezoneOffset=l(n)?eS.getTimezoneOffset(n,this.date):n,this.timezoneName=l(n)?n:””;const r=(this.date.getTimezoneOffset()-this.timezoneOffset)*6e4,i=this.date.getTime()+r;this.displayDate=new Date(i)}getTime(){return this.displayDate.getTime()}getMilliseconds(){return this.displayDate.getMilliseconds()}getSeconds(){return this.displayDate.getSeconds()}getMinutes(){return this.displayDate.getMinutes()}getHours(){return this.displayDate.getHours()}getDay(){return this.displayDate.getDay()}getDate(){return this.displayDate.getDate()}getMonth(){return this.displayDate.getMonth()}getFullYear(){return this.displayDate.getFullYear()}toLocaleString(e,t){return(null==t?void 0:t.timeZone)?this.date.toLocaleString(e,t):this.displayDate.toLocaleString(e,t)}toLocaleTimeString(e){return this.displayDate.toLocaleTimeString(e)}toLocaleDateString(e){return this.displayDate.toLocaleDateString(e)}getTimezoneOffset(){return this.timezoneOffset}getTimeZoneName(){return this.timezoneFixed?this.timezoneName:this.DateTimeFormat?this.DateTimeFormat().resolvedOptions().timeZone:void 0}getLongMonthName(){var e;return null!=(e=this.format({month:”long”}))?e:ex[this.getMonth()]}getShortMonthName(){var e;return null!=(e=this.format({month:”short”}))?e:ek[this.getMonth()]}getLongWeekdayName(){var e;return null!=(e=this.format({weekday:”long”}))?e:e_[this.displayDate.getDay()]}getShortWeekdayName(){var e;return null!=(e=this.format({weekday:”short”}))?e:eE[this.displayDate.getDay()]}valid(){return!isNaN(this.getTime())}format(e){return this.DateTimeFormat&&this.DateTimeFormat(this.locale,e).format(this.displayDate)}static createDateFixedToTimezone(e,t){let n=e.match(ew);if(n&&”Z”===n[1])return new eS(+new Date(e),t,0);if(n&&n[2]&&n[3]&&n[4]){let[,,r,i,o]=n,s=(“+”===r?-1:1)*(60*parseInt(i,10)+parseInt(o,10));return new eS(+new Date(e),t,s)}return new eS(e,t)}static getTimezoneOffset(e,t){let n=t.toLocaleString(“en-US”,{timeZone:e}),r=t.toLocaleString(“en-US”,{timeZone:”UTC”}),i=new Date(n);return(new Date(r)-i)/6e4}}class eC{constructor(e,t){this.base=0,this.message=`${e} limit exceeded`,this.limit=t}use(e){e=m(e),$(this.base+e<=this.limit,this.message),this.base+=e}check(e){$((e=m(e))<=this.limit,this.message)}}class eA extends r{constructor(e,[t,n],r,i,o,s,a,l){super(e,r,i,o,l),this.trimLeft=!1,this.trimRight=!1;const u="-"===r[t],c="-"===r[n-1];let h=u?t+1:t,d=c?n-1:n;for(;hh&&4&B[r.charCodeAt(d-1)];)d–;this.contentRange=[h,d],this.trimLeft=u||s,this.trimRight=c||a}get content(){return this.input.slice(this.contentRange[0],this.contentRange[1])}}class eO extends eA{constructor(e,t,n,r,i){const{trimTagLeft:o,trimTagRight:s,tagDelimiterLeft:a,tagDelimiterRight:l}=r,[u,c]=[t+a.length,n-l.length];super(eo.Tag,[u,c],e,t,n,o,s,i),this.tokenizer=new ta(e,r.operators,i,this.contentRange),this.name=this.tokenizer.readTagName(),this.tokenizer.assert(this.name,”illegal tag syntax, tag name expected”),this.tokenizer.skipBlank(),this.args=this.tokenizer.input.slice(this.tokenizer.p,this.contentRange[1])}}class eT extends eA{constructor(e,t,n,r,i){const{trimOutputLeft:o,trimOutputRight:s,outputDelimiterLeft:a,outputDelimiterRight:l}=r;super(eo.Output,[t+a.length,n-l.length],e,t,n,o,s,i)}}class eM extends r{constructor(e,t,n,r){super(eo.HTML,e,t,n,r),this.input=e,this.begin=t,this.end=n,this.file=r,this.trimLeft=0,this.trimRight=0}getContent(){return this.input.slice(this.begin+this.trimLeft,this.end-this.trimRight)}}class eD extends r{constructor(e,t,n,r){super(eo.Number,e,t,n,r),this.input=e,this.begin=t,this.end=n,this.file=r,this.content=Number(this.getText())}}class eL extends r{constructor(e,t,n,r){super(eo.Word,e,t,n,r),this.input=e,this.begin=t,this.end=n,this.file=r,this.content=this.getText()}}class eN extends r{constructor(e,t,n,r){super(eo.Literal,e,t,n,r),this.input=e,this.begin=t,this.end=n,this.file=r,this.literal=this.getText(),this.content=Q[this.literal]}}let eR={“==”:2,”!=”:2,”>”:2,”<":2,">=”:2,”<=":2,contains:2,not:1,and:0,or:0},eP={"==":0,"!=":0,">“:0,”<":0,">=”:0,”<=":0,contains:0,not:1,and:0,or:0};class eI extends r{constructor(e,t,n,r){super(eo.Operator,e,t,n,r),this.input=e,this.begin=t,this.end=n,this.file=r,this.operator=this.getText()}getPrecedence(){let e=this.getText();return e in eR?eR[e]:1}}class ez extends r{constructor(e,t,n,r,i,o){super(eo.PropertyAccess,n,r,i,o),this.variable=e,this.props=t}}class eF extends r{constructor(e,t,n,r,i,o){super(eo.Filter,n,r,i,o),this.name=e,this.args=t}}class ej extends r{constructor(e,t,n,r,i,o){super(eo.Hash,e,t,n,o),this.input=e,this.begin=t,this.end=n,this.name=r,this.value=i,this.file=o}}let eB=/[\da-fA-F]/,eq=/[0-7]/,e$={b:"\b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v"};function eU(e){let t=e.charCodeAt(0);return t>=97?t-87:t>=65?t-55:t-48}class eH extends r{constructor(e,t,n,r){super(eo.Quoted,e,t,n,r),this.input=e,this.begin=t,this.end=n,this.file=r,this.content=function(e){let t=””;for(let n=1;nDate.now()};function eG(){return”object”==typeof global&&global.performance||”object”==typeof window&&window.performance||eK}class eJ{renderTemplatesToNodeStream(e,t){let n=new K;return Promise.resolve().then(()=>eu(this.renderTemplates(e,t,n))).then(()=>n.end(),e=>n.error(e)),n.stream}*renderTemplates(e,t,n){n||(n=t.opts.keepOutputType?new G:new Z);let r=[];for(let i of e){t.renderLimit.check(eG().now());try{let e=yield i.render(t,n);if(e&&n.write(e),t.breakCalled||t.continueCalled)break}catch(n){let e=L.is(n)?n:new P(n,i);if(t.opts.catchAllErrors)r.push(e);else throw e}}if(r.length)throw new I(r);return n.buffer}}class eY{constructor(e){this.postfix=[…function*(e){let t=[];for(let n of e)if(tT(n)){for(;t.length&&t[t.length-1].getPrecedence()>n.getPrecedence();)yield t.pop();t.push(n)}else yield n;for(;t.length;)yield t.pop()}(e)]}*evaluate(e,t){$(e,”unable to evaluate: context not defined”);let n=[];for(let r of this.postfix)if(tT(r)){let t,i=n.pop();if(1===eP[r.operator])t=yield e.opts.operators[r.operator](i,e);else{let o=n.pop();t=yield e.opts.operators[r.operator](o,i,e)}n.push(t)}else n.push((yield eX(r,e,t)));return n[0]}valid(){return!!this.postfix.length}}function*eX(e,t,n=!1){if(e){if(“content”in e)return e.content;if(tR(e))return yield function*(e,t,n){let r=[];for(let n of e.props)r.push((yield eX(n,t,!1)));try{if(!e.variable)return yield t._get(r);{let i=yield eX(e.variable,t,n);return yield t._getFromScope(i,r)}}catch(t){if(n&&”InternalUndefinedVariableError”===t.name)return null;throw new z(t,e)}}(e,t,n);if(tI(e))return yield function*(e,t){let n=yield eX(e.lhs,t),r=yield eX(e.rhs,t);return t.memoryLimit.use(r-n+1),_(+n,+r+1)}(e,t)}}function eQ(e,t){return!e0(e,t)}function e0(e,t){return(e=f(e),t.opts.jsTruthy)?!e:!1===e||null==e}let e1={“==”:e2,”!=”:(e,t)=>!e2(e,t),”>”:(e,t)=>Y(e)?e.gt(t):Y(t)?t.lt(e):f(e)>f(t),”<":(e,t)=>Y(e)?e.lt(t):Y(t)?t.gt(e):f(e)=”:(e,t)=>Y(e)?e.geq(t):Y(t)?t.leq(e):f(e)>=f(t),”<=":(e,t)=>Y(e)?e.leq(t):Y(t)?t.geq(e):f(e)<=f(t),contains:(e,t)=>b(e=f(e))?e.some(e=>e2(e,t)):!!u(null==e?void 0:e.indexOf)&&e.indexOf(f(t))>-1,not:(e,t)=>e0(f(e),t),and:(e,t,n)=>eQ(f(e),n)&&eQ(f(t),n),or:(e,t,n)=>eQ(f(e),n)||eQ(f(t),n)};function e2(e,t){var n,r;return Y(e)?e.equals(t):Y(t)?t.equals(e):(e=f(e),t=f(t),b(e))?b(t)&&(n=e,r=t,n.length===r.length&&!n.some((e,t)=>!e2(e,r[t]))):e===t}class e3{constructor(e,t,n,r){this.key=e,this.value=t,this.next=n,this.prev=r}}class e5{constructor(e,t=0){this.limit=e,this.size=t,this.cache={},this.head=new e3(“HEAD”,null,null,null),this.tail=new e3(“TAIL”,null,null,null),this.head.next=this.tail,this.tail.prev=this.head}write(e,t){if(this.cache[e])this.cache[e].value=t;else{let n=new e3(e,t,this.head.next,this.head);this.head.next.prev=n,this.head.next=n,this.cache[e]=n,this.size++,this.ensureLimit()}}read(e){if(!this.cache[e])return;let{value:t}=this.cache[e];return this.remove(e),this.write(e,t),t}remove(e){let t=this.cache[e];t.prev.next=t.next,t.next.prev=t.prev,delete this.cache[e],this.size–}clear(){this.head.next=this.tail,this.tail.prev=this.head,this.size=0,this.cache={}}ensureLimit(){this.size>this.limit&&this.remove(this.tail.prev.key)}}function e4(e,t){let n=document.createElement(“base”);n.href=e;let r=document.getElementsByTagName(“head”)[0];r.insertBefore(n,r.firstChild);let i=document.createElement(“a”);i.href=t;let o=i.href;return r.removeChild(n),o}var e6=Object.freeze({__proto__:null,resolve:function(e,t,n){return e.length&&”/”!==x(e)&&(e+=”/”),e4(e,t).replace(/^(\w+:\/\/[^/]+)(\/[^?]+)/,(e,t,r)=>{let i=r.split(“/”).pop();return/\.\w+$/.test(i)?e:t+r+n})},readFile:function(e){return el(this,void 0,void 0,function*(){return new Promise((t,n)=>{let r=new XMLHttpRequest;r.onload=()=>{r.status>=200&&r.status<300?t(r.responseText):n(Error(r.statusText))},r.onerror=()=>{n(Error(“An error occurred whilst receiving the response.”))},r.open(“GET”,e),r.send()})})},readFileSync:function(e){let t=new XMLHttpRequest;if(t.open(“GET”,e,!1),t.send(),t.status<200||t.status>=300)throw Error(t.statusText);return t.responseText},exists:function(e){return el(this,void 0,void 0,function*(){return!0})},existsSync:function(e){return!0},dirname:function(e){return e4(e,”.”)},sep:”/”});function e8(e,t=0){return JSON.stringify(e,null,t)}var e9={default:function(e,t,…n){return b(e=f(e))||l(e)?e.length?e:t:!(!1===e&&new Map(n).get(“allow_false”))&&(e0(e,this.context)?t:e)},raw:{raw:!0,handler:C},jsonify:e8,to_integer:function(e){return Number(e)},json:e8,inspect:function(e,t=0){let n=[];return JSON.stringify(e,function(e,t){if(“object”!=typeof t||null===t)return t;for(;n.length>0&&n[n.length-1]!==this;)n.pop();return n.includes(t)?”[Circular]”:(n.push(t),t)},t)}};let e7={“&”:”&”,”<":"<",">“:”>”,'”‘:”"”,”‘”:”'”},te={“&”:”&”,”<“:”<",">":">“,”"”:'”‘,”'”:”‘”};function tt(e){return e=h(e),this.context.memoryLimit.use(e.length),e.replace(/&|<|>|”|’/g,e=>e7[e])}function tn(e){return e=h(e),this.context.memoryLimit.use(e.length),e.replace(/&(amp|lt|gt|#34|#39);/g,e=>te[e])}var tr=Object.freeze({__proto__:null,escape:tt,xml_escape:function(e){return tt.call(this,e)},escape_once:function(e){return tt.call(this,tn.call(this,e))},newline_to_br:function(e){let t=h(e);return this.context.memoryLimit.use(t.length),t.replace(/\r?\n/gm,”
\n”)},strip_html:function(e){let t=h(e);return this.context.memoryLimit.use(t.length),t.replace(/
\n”)},strip_html:function(e){let t=h(e);return this.context.memoryLimit.use(t.length),t.replace(/